Skip to content

Commit

Permalink
chore: upgrade front sparkle to 0.1.47 (#1311)
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh authored Sep 7, 2023
1 parent 30fe38c commit be08849
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion front/components/use/EventSchemaForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ function PropertiesFields({
<IconButton
icon={XCircleIcon}
tooltip="Remove Property"
type="tertiary"
variant="tertiary"
onClick={async () => {
removeProperty(index);
}}
Expand Down
4 changes: 2 additions & 2 deletions front/components/use/chat/MessageFeedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ export function MessageFeedback({
)}
>
<IconToggleButton
type="tertiary"
variant="tertiary"
icon={HandThumbUpIcon}
onClick={() => feedbackHandler(message, "positive")}
className="ml-1"
selected={message.feedback === "positive"}
/>
<IconToggleButton
type="tertiary"
variant="tertiary"
icon={HandThumbDownIcon}
onClick={() => feedbackHandler(message, "negative")}
className="ml-1"
Expand Down
8 changes: 4 additions & 4 deletions front/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"initdb": "env $(cat .env.local) npx tsx admin/db.ts"
},
"dependencies": {
"@dust-tt/sparkle": "0.1.46",
"@dust-tt/sparkle": "0.1.47",
"@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.11",
"@nangohq/frontend": "^0.16.1",
Expand Down
2 changes: 1 addition & 1 deletion front/pages/w/[wId]/builder/data-sources/[name]/upsert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export default function DataSourceUpsert({
{!readOnly ? (
<IconButton
icon={XCircleIcon}
type="tertiary"
variant="tertiary"
onClick={() => {
handleTagDelete(index);
}}
Expand Down
6 changes: 3 additions & 3 deletions front/pages/w/[wId]/u/chat/[cId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export function RetrievalsView({
<div className="flex flex-initial">
{expanded ? (
<IconButton
type="secondary"
variant="secondary"
size="sm"
icon={ChevronDownIcon}
onClick={() => {
Expand All @@ -392,7 +392,7 @@ export function RetrievalsView({
/>
) : (
<IconButton
type="secondary"
variant="secondary"
size="sm"
icon={ChevronRightIcon}
onClick={() => {
Expand Down Expand Up @@ -496,7 +496,7 @@ function CopyToClipboardElement({ message }: { message: ChatMessageType }) {
return (
<div className="invisible float-right hover:cursor-pointer group-hover:visible">
<IconButton
type="tertiary"
variant="tertiary"
icon={confirmed ? ClipboardCheckIcon : ClipboardIcon}
onClick={handleClick}
/>
Expand Down
8 changes: 4 additions & 4 deletions front/pages/w/[wId]/u/extract/templates/[sId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default function AppExtractEventsReadData({
<IconButton
icon={CheckCircleIcon}
tooltip="Accept data"
type={
variant={
event.status === "pending" ? "primary" : "tertiary"
}
onClick={async () => {
Expand All @@ -197,7 +197,7 @@ export default function AppExtractEventsReadData({
<IconButton
icon={PencilSquareIcon}
tooltip="Edit data"
type={
variant={
event.status === "pending" ? "primary" : "tertiary"
}
onClick={() =>
Expand All @@ -212,7 +212,7 @@ export default function AppExtractEventsReadData({
<IconButton
icon={XCircleIcon}
tooltip="Reject data"
type={
variant={
event.status === "pending" ? "warning" : "tertiary"
}
onClick={async () => {
Expand Down Expand Up @@ -346,7 +346,7 @@ const ExtractButtonAndModal = ({ event }: { event: ExtractedEventType }) => {
<IconButton
size="sm"
icon={ArrowUpOnSquareIcon}
type="primary"
variant="primary"
tooltip="Copy data"
onClick={() => setIsOpen(true)}
/>
Expand Down

0 comments on commit be08849

Please sign in to comment.