diff --git a/sparkle/package-lock.json b/sparkle/package-lock.json index f3529023a3d3..d4f577552302 100644 --- a/sparkle/package-lock.json +++ b/sparkle/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dust-tt/sparkle", - "version": "0.2.313", + "version": "0.2.314", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dust-tt/sparkle", - "version": "0.2.313", + "version": "0.2.314", "license": "ISC", "dependencies": { "@emoji-mart/data": "^1.1.2", @@ -88,7 +88,7 @@ "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.2", "sass-loader": "^13.3.2", - "storybook": "^7.4.6", + "storybook": "^7.6.20", "tailwindcss": "^3.2.4", "tailwindcss-animate": "^1.0.7", "tsc-alias": "^1.8.10", @@ -19351,9 +19351,9 @@ "dev": true }, "node_modules/fast-glob": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", - "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", diff --git a/sparkle/package.json b/sparkle/package.json index 99c91cb06b7f..be4ed8c03ece 100644 --- a/sparkle/package.json +++ b/sparkle/package.json @@ -1,6 +1,6 @@ { "name": "@dust-tt/sparkle", - "version": "0.2.313", + "version": "0.2.314", "scripts": { "build": "rm -rf dist && npm run tailwind && npm run build:esm && npm run build:cjs", "tailwind": "tailwindcss -i ./src/styles/tailwind.css -o dist/sparkle.css", @@ -70,7 +70,7 @@ "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.2", "sass-loader": "^13.3.2", - "storybook": "^7.4.6", + "storybook": "^7.6.20", "tailwindcss": "^3.2.4", "tailwindcss-animate": "^1.0.7", "tsc-alias": "^1.8.10", diff --git a/sparkle/src/icons/solid/ArrowDownOnSquare.tsx b/sparkle/src/icons/solid/ArrowDownOnSquare.tsx index 1b80449c6a42..8be41c4739fd 100644 --- a/sparkle/src/icons/solid/ArrowDownOnSquare.tsx +++ b/sparkle/src/icons/solid/ArrowDownOnSquare.tsx @@ -11,11 +11,11 @@ const SvgArrowDownOnSquare = (props: SVGProps) => ( > ); diff --git a/sparkle/src/icons/solid/Camera.tsx b/sparkle/src/icons/solid/Camera.tsx new file mode 100644 index 000000000000..55d47d576781 --- /dev/null +++ b/sparkle/src/icons/solid/Camera.tsx @@ -0,0 +1,18 @@ +import type { SVGProps } from "react"; +import * as React from "react"; +const SvgCamera = (props: SVGProps) => ( + + + +); +export default SvgCamera; diff --git a/sparkle/src/icons/solid/DocumentPile.tsx b/sparkle/src/icons/solid/DocumentPile.tsx index b0cb28def277..867256ee9776 100644 --- a/sparkle/src/icons/solid/DocumentPile.tsx +++ b/sparkle/src/icons/solid/DocumentPile.tsx @@ -9,13 +9,8 @@ const SvgDocumentPile = (props: SVGProps) => ( viewBox="0 0 24 24" {...props} > - - + + ); export default SvgDocumentPile; diff --git a/sparkle/src/icons/solid/ListDeselect.tsx b/sparkle/src/icons/solid/ListDeselect.tsx new file mode 100644 index 000000000000..ff67a70d8250 --- /dev/null +++ b/sparkle/src/icons/solid/ListDeselect.tsx @@ -0,0 +1,18 @@ +import type { SVGProps } from "react"; +import * as React from "react"; +const SvgListDeselect = (props: SVGProps) => ( + + + +); +export default SvgListDeselect; diff --git a/sparkle/src/icons/solid/ListSelect.tsx b/sparkle/src/icons/solid/ListSelect.tsx new file mode 100644 index 000000000000..85f7a81c8e21 --- /dev/null +++ b/sparkle/src/icons/solid/ListSelect.tsx @@ -0,0 +1,18 @@ +import type { SVGProps } from "react"; +import * as React from "react"; +const SvgListSelect = (props: SVGProps) => ( + + + +); +export default SvgListSelect; diff --git a/sparkle/src/icons/solid/Magic.tsx b/sparkle/src/icons/solid/Magic.tsx index 892a079c7834..359e7f665d4e 100644 --- a/sparkle/src/icons/solid/Magic.tsx +++ b/sparkle/src/icons/solid/Magic.tsx @@ -11,7 +11,7 @@ const SvgMagic = (props: SVGProps) => ( > ); diff --git a/sparkle/src/icons/solid/ServerLocked.tsx b/sparkle/src/icons/solid/ServerLocked.tsx new file mode 100644 index 000000000000..7ddbd35129c0 --- /dev/null +++ b/sparkle/src/icons/solid/ServerLocked.tsx @@ -0,0 +1,24 @@ +import type { SVGProps } from "react"; +import * as React from "react"; +const SvgServerLocked = (props: SVGProps) => ( + + + + +); +export default SvgServerLocked; diff --git a/sparkle/src/icons/solid/TSquare.tsx b/sparkle/src/icons/solid/TSquare.tsx new file mode 100644 index 000000000000..510c7fdff804 --- /dev/null +++ b/sparkle/src/icons/solid/TSquare.tsx @@ -0,0 +1,18 @@ +import type { SVGProps } from "react"; +import * as React from "react"; +const SvgTSquare = (props: SVGProps) => ( + + + +); +export default SvgTSquare; diff --git a/sparkle/src/icons/solid/index.ts b/sparkle/src/icons/solid/index.ts index d1e700c689fb..ff0ae98b0d19 100644 --- a/sparkle/src/icons/solid/index.ts +++ b/sparkle/src/icons/solid/index.ts @@ -15,6 +15,7 @@ export { default as BackspaceIcon } from "./Backspace"; export { default as BookmarkIcon } from "./Bookmark"; export { default as BookOpenIcon } from "./BookOpen"; export { default as BracesIcon } from "./Braces"; +export { default as CameraIcon } from "./Camera"; export { default as CardIcon } from "./Card"; export { default as ChatBubbleBottomCenterPlusIcon } from "./ChatBubbleBottomCenterPlus"; export { default as ChatBubbleBottomCenterTextIcon } from "./ChatBubbleBottomCenterText"; @@ -80,7 +81,9 @@ export { default as LinkIcon } from "./Link"; export { default as ListIcon } from "./List"; export { default as ListAddIcon } from "./ListAdd"; export { default as ListCheckIcon } from "./ListCheck"; +export { default as ListDeselectIcon } from "./ListDeselect"; export { default as ListRemoveIcon } from "./ListRemove"; +export { default as ListSelectIcon } from "./ListSelect"; export { default as LockIcon } from "./Lock"; export { default as LoginIcon } from "./Login"; export { default as LogoutIcon } from "./Logout"; @@ -107,6 +110,7 @@ export { default as RobotIcon } from "./Robot"; export { default as RocketIcon } from "./Rocket"; export { default as ScanIcon } from "./Scan"; export { default as ServerIcon } from "./Server"; +export { default as ServerLockedIcon } from "./ServerLocked"; export { default as ShakeHandsIcon } from "./ShakeHands"; export { default as ShapesIcon } from "./Shapes"; export { default as SparklesIcon } from "./Sparkles"; @@ -123,6 +127,7 @@ export { default as TimeIcon } from "./Time"; export { default as TranslateIcon } from "./Translate"; export { default as TrashIcon } from "./Trash"; export { default as TriangleIcon } from "./Triangle"; +export { default as TSquareIcon } from "./TSquare"; export { default as UserIcon } from "./User"; export { default as UserArrowIcon } from "./UserArrow"; export { default as UserGroupIcon } from "./UserGroup"; diff --git a/sparkle/src/icons/src/solid/TSquare.svg b/sparkle/src/icons/src/solid/TSquare.svg new file mode 100644 index 000000000000..11f4a7911406 --- /dev/null +++ b/sparkle/src/icons/src/solid/TSquare.svg @@ -0,0 +1,3 @@ + + + diff --git a/sparkle/src/icons/src/solid/arrow-down-on-square.svg b/sparkle/src/icons/src/solid/arrow-down-on-square.svg index 14a731b7e314..f801c99123a0 100644 --- a/sparkle/src/icons/src/solid/arrow-down-on-square.svg +++ b/sparkle/src/icons/src/solid/arrow-down-on-square.svg @@ -1,4 +1,4 @@ - - + + diff --git a/sparkle/src/icons/src/solid/camera.svg b/sparkle/src/icons/src/solid/camera.svg new file mode 100644 index 000000000000..978f46c6e0b1 --- /dev/null +++ b/sparkle/src/icons/src/solid/camera.svg @@ -0,0 +1,3 @@ + + + diff --git a/sparkle/src/icons/src/solid/chevron-up.svg b/sparkle/src/icons/src/solid/chevron-up.svg index a25346d5d9b2..c65a3fb0f36c 100644 --- a/sparkle/src/icons/src/solid/chevron-up.svg +++ b/sparkle/src/icons/src/solid/chevron-up.svg @@ -1,3 +1,3 @@ - + diff --git a/sparkle/src/icons/src/solid/document-pile.svg b/sparkle/src/icons/src/solid/document-pile.svg index 60fc8bcdd228..f406acd7969b 100644 --- a/sparkle/src/icons/src/solid/document-pile.svg +++ b/sparkle/src/icons/src/solid/document-pile.svg @@ -1,4 +1,5 @@ - - + + + diff --git a/sparkle/src/icons/src/solid/list-deselect.svg b/sparkle/src/icons/src/solid/list-deselect.svg new file mode 100644 index 000000000000..a7475fb96c9f --- /dev/null +++ b/sparkle/src/icons/src/solid/list-deselect.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/sparkle/src/icons/src/solid/list-select.svg b/sparkle/src/icons/src/solid/list-select.svg new file mode 100644 index 000000000000..b05f40262c85 --- /dev/null +++ b/sparkle/src/icons/src/solid/list-select.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/sparkle/src/icons/src/solid/magic.svg b/sparkle/src/icons/src/solid/magic.svg index 02d93b8f67c8..5b725b9e48e1 100644 --- a/sparkle/src/icons/src/solid/magic.svg +++ b/sparkle/src/icons/src/solid/magic.svg @@ -1,4 +1,4 @@ - - + + diff --git a/sparkle/src/icons/src/solid/server-locked.svg b/sparkle/src/icons/src/solid/server-locked.svg new file mode 100644 index 000000000000..e973bf05448f --- /dev/null +++ b/sparkle/src/icons/src/solid/server-locked.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/sparkle/src/icons/src/solid/server.svg b/sparkle/src/icons/src/solid/server.svg index 4fa329ceb2ce..bbb561a989e1 100644 --- a/sparkle/src/icons/src/solid/server.svg +++ b/sparkle/src/icons/src/solid/server.svg @@ -1,3 +1,3 @@ - + diff --git a/sparkle/src/icons/src/stroke/TSquare.svg b/sparkle/src/icons/src/stroke/TSquare.svg new file mode 100644 index 000000000000..11f4a7911406 --- /dev/null +++ b/sparkle/src/icons/src/stroke/TSquare.svg @@ -0,0 +1,3 @@ + + + diff --git a/sparkle/src/icons/src/stroke/arrow-down.svg b/sparkle/src/icons/src/stroke/arrow-down.svg index 675671b1e1f3..aecc5d7266a8 100644 --- a/sparkle/src/icons/src/stroke/arrow-down.svg +++ b/sparkle/src/icons/src/stroke/arrow-down.svg @@ -1,3 +1,3 @@ - + diff --git a/sparkle/src/icons/src/stroke/arrow-left.svg b/sparkle/src/icons/src/stroke/arrow-left.svg index e8db05ba9e65..eb0ee4e376bb 100644 --- a/sparkle/src/icons/src/stroke/arrow-left.svg +++ b/sparkle/src/icons/src/stroke/arrow-left.svg @@ -1,3 +1,3 @@ - + diff --git a/sparkle/src/icons/src/stroke/arrow-up.svg b/sparkle/src/icons/src/stroke/arrow-up.svg index 2a74782c364a..30d85a101e00 100644 --- a/sparkle/src/icons/src/stroke/arrow-up.svg +++ b/sparkle/src/icons/src/stroke/arrow-up.svg @@ -1,3 +1,3 @@ - + diff --git a/sparkle/src/icons/src/stroke/camera.svg b/sparkle/src/icons/src/stroke/camera.svg new file mode 100644 index 000000000000..57b5c1844de7 --- /dev/null +++ b/sparkle/src/icons/src/stroke/camera.svg @@ -0,0 +1,3 @@ + + + diff --git a/sparkle/src/icons/src/stroke/chevron-right.svg b/sparkle/src/icons/src/stroke/chevron-right.svg index 233d359961ab..3ef655329947 100644 --- a/sparkle/src/icons/src/stroke/chevron-right.svg +++ b/sparkle/src/icons/src/stroke/chevron-right.svg @@ -1,3 +1,3 @@ - + diff --git a/sparkle/src/icons/src/stroke/document-pile.svg b/sparkle/src/icons/src/stroke/document-pile.svg index 590db5b1b4c5..3549480922bd 100644 --- a/sparkle/src/icons/src/stroke/document-pile.svg +++ b/sparkle/src/icons/src/stroke/document-pile.svg @@ -1,3 +1,4 @@ - + + diff --git a/sparkle/src/icons/src/stroke/list-deselect.svg b/sparkle/src/icons/src/stroke/list-deselect.svg new file mode 100644 index 000000000000..4077061e9939 --- /dev/null +++ b/sparkle/src/icons/src/stroke/list-deselect.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/sparkle/src/icons/src/stroke/list-select.svg b/sparkle/src/icons/src/stroke/list-select.svg new file mode 100644 index 000000000000..9ecf523ec063 --- /dev/null +++ b/sparkle/src/icons/src/stroke/list-select.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/sparkle/src/icons/src/stroke/server-locked.svg b/sparkle/src/icons/src/stroke/server-locked.svg new file mode 100644 index 000000000000..7455397a6bf3 --- /dev/null +++ b/sparkle/src/icons/src/stroke/server-locked.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/sparkle/src/icons/stroke/ArrowDown.tsx b/sparkle/src/icons/stroke/ArrowDown.tsx index 654ddc538a6d..2037d055020c 100644 --- a/sparkle/src/icons/stroke/ArrowDown.tsx +++ b/sparkle/src/icons/stroke/ArrowDown.tsx @@ -11,7 +11,7 @@ const SvgArrowDown = (props: SVGProps) => ( > ); diff --git a/sparkle/src/icons/stroke/Camera.tsx b/sparkle/src/icons/stroke/Camera.tsx new file mode 100644 index 000000000000..357a32f993c4 --- /dev/null +++ b/sparkle/src/icons/stroke/Camera.tsx @@ -0,0 +1,18 @@ +import type { SVGProps } from "react"; +import * as React from "react"; +const SvgCamera = (props: SVGProps) => ( + + + +); +export default SvgCamera; diff --git a/sparkle/src/icons/stroke/DocumentPile.tsx b/sparkle/src/icons/stroke/DocumentPile.tsx index b133381cc16a..8db6cd2bc06e 100644 --- a/sparkle/src/icons/stroke/DocumentPile.tsx +++ b/sparkle/src/icons/stroke/DocumentPile.tsx @@ -12,9 +12,10 @@ const SvgDocumentPile = (props: SVGProps) => ( + ); export default SvgDocumentPile; diff --git a/sparkle/src/icons/stroke/ListDeselect.tsx b/sparkle/src/icons/stroke/ListDeselect.tsx new file mode 100644 index 000000000000..7e5380ffcfc9 --- /dev/null +++ b/sparkle/src/icons/stroke/ListDeselect.tsx @@ -0,0 +1,18 @@ +import type { SVGProps } from "react"; +import * as React from "react"; +const SvgListDeselect = (props: SVGProps) => ( + + + +); +export default SvgListDeselect; diff --git a/sparkle/src/icons/stroke/ListSelect.tsx b/sparkle/src/icons/stroke/ListSelect.tsx new file mode 100644 index 000000000000..2829c3e2044e --- /dev/null +++ b/sparkle/src/icons/stroke/ListSelect.tsx @@ -0,0 +1,18 @@ +import type { SVGProps } from "react"; +import * as React from "react"; +const SvgListSelect = (props: SVGProps) => ( + + + +); +export default SvgListSelect; diff --git a/sparkle/src/icons/stroke/ServerLocked.tsx b/sparkle/src/icons/stroke/ServerLocked.tsx new file mode 100644 index 000000000000..f522095e8d51 --- /dev/null +++ b/sparkle/src/icons/stroke/ServerLocked.tsx @@ -0,0 +1,27 @@ +import type { SVGProps } from "react"; +import * as React from "react"; +const SvgServerLocked = (props: SVGProps) => ( + + + + + +); +export default SvgServerLocked; diff --git a/sparkle/src/icons/stroke/TSquare.tsx b/sparkle/src/icons/stroke/TSquare.tsx new file mode 100644 index 000000000000..510c7fdff804 --- /dev/null +++ b/sparkle/src/icons/stroke/TSquare.tsx @@ -0,0 +1,18 @@ +import type { SVGProps } from "react"; +import * as React from "react"; +const SvgTSquare = (props: SVGProps) => ( + + + +); +export default SvgTSquare; diff --git a/sparkle/src/icons/stroke/index.ts b/sparkle/src/icons/stroke/index.ts index 5843b26b8b00..8dc617f3865f 100644 --- a/sparkle/src/icons/stroke/index.ts +++ b/sparkle/src/icons/stroke/index.ts @@ -15,6 +15,7 @@ export { default as BackspaceStrokeIcon } from "./Backspace"; export { default as BookmarkStrokeIcon } from "./Bookmark"; export { default as BookOpenStrokeIcon } from "./BookOpen"; export { default as BracesStrokeIcon } from "./Braces"; +export { default as CameraStrokeIcon } from "./Camera"; export { default as CardStrokeIcon } from "./Card"; export { default as ChatBubbleBottomCenterPlusStrokeIcon } from "./ChatBubbleBottomCenterPlus"; export { default as ChatBubbleBottomCenterTextStrokeIcon } from "./ChatBubbleBottomCenterText"; @@ -80,7 +81,9 @@ export { default as LinkStrokeIcon } from "./Link"; export { default as ListStrokeIcon } from "./List"; export { default as ListAddStrokeIcon } from "./ListAdd"; export { default as ListCheckStrokeIcon } from "./ListCheck"; +export { default as ListDeselectStrokeIcon } from "./ListDeselect"; export { default as ListRemoveStrokeIcon } from "./ListRemove"; +export { default as ListSelectStrokeIcon } from "./ListSelect"; export { default as LockStrokeIcon } from "./Lock"; export { default as LoginStrokeIcon } from "./Login"; export { default as LogoutStrokeIcon } from "./Logout"; @@ -107,6 +110,7 @@ export { default as RobotStrokeIcon } from "./Robot"; export { default as RocketStrokeIcon } from "./Rocket"; export { default as ScanStrokeIcon } from "./Scan"; export { default as ServerStrokeIcon } from "./Server"; +export { default as ServerLockedStrokeIcon } from "./ServerLocked"; export { default as ShakeHandsStrokeIcon } from "./ShakeHands"; export { default as ShapesStrokeIcon } from "./Shapes"; export { default as SparklesStrokeIcon } from "./Sparkles"; @@ -123,6 +127,7 @@ export { default as TimeStrokeIcon } from "./Time"; export { default as TranslateStrokeIcon } from "./Translate"; export { default as TrashStrokeIcon } from "./Trash"; export { default as TriangleStrokeIcon } from "./Triangle"; +export { default as TSquareStrokeIcon } from "./TSquare"; export { default as UserStrokeIcon } from "./User"; export { default as UserArrowStrokeIcon } from "./UserArrow"; export { default as UserGroupStrokeIcon } from "./UserGroup";