@dust-tt/sparkle 0.2.190-rc1 → 0.2.191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/_index.d.ts +4 -4
- package/dist/cjs/components/DropzoneOverlay.d.ts +2 -2
- package/dist/cjs/components/Hoverable.d.ts +2 -1
- package/dist/cjs/components/Tree.d.ts +2 -1
- package/dist/cjs/icons/solid/ChatBubbleThought.d.ts +4 -0
- package/dist/cjs/icons/solid/Fire.d.ts +4 -0
- package/dist/cjs/icons/solid/Tag.d.ts +4 -0
- package/dist/cjs/icons/solid/index.d.ts +3 -1
- package/dist/cjs/icons/stroke/ChatBubbleThought.d.ts +4 -0
- package/dist/cjs/icons/stroke/Fire.d.ts +4 -0
- package/dist/cjs/icons/stroke/Tag.d.ts +4 -0
- package/dist/cjs/icons/stroke/index.d.ts +3 -1
- package/dist/cjs/index.js +57 -31
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/_index.d.ts +4 -4
- package/dist/esm/components/DropzoneOverlay.d.ts +2 -2
- package/dist/esm/components/Hoverable.d.ts +2 -1
- package/dist/esm/components/Tree.d.ts +2 -1
- package/dist/esm/icons/solid/ChatBubbleThought.d.ts +4 -0
- package/dist/esm/icons/solid/Fire.d.ts +4 -0
- package/dist/esm/icons/solid/Tag.d.ts +4 -0
- package/dist/esm/icons/solid/index.d.ts +3 -1
- package/dist/esm/icons/stroke/ChatBubbleThought.d.ts +4 -0
- package/dist/esm/icons/stroke/Fire.d.ts +4 -0
- package/dist/esm/icons/stroke/Tag.d.ts +4 -0
- package/dist/esm/icons/stroke/index.d.ts +3 -1
- package/dist/esm/index.js +52 -30
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/_index.ts +12 -4
- package/src/components/Checkbox.tsx +5 -5
- package/src/components/DropzoneOverlay.tsx +6 -5
- package/src/components/Hoverable.tsx +10 -4
- package/src/components/Input.tsx +2 -2
- package/src/components/TextArea.tsx +1 -1
- package/src/components/Tree.tsx +10 -2
- package/src/icons/solid/ChatBubbleThought.tsx +20 -0
- package/src/icons/solid/ExternalLink.tsx +2 -2
- package/src/icons/solid/Fire.tsx +18 -0
- package/src/icons/solid/Tag.tsx +20 -0
- package/src/icons/solid/index.ts +3 -1
- package/src/icons/src/solid/chat-bubble-thought.svg +3 -0
- package/src/icons/src/solid/chevron-right.svg +1 -1
- package/src/icons/src/solid/external-link.svg +2 -2
- package/src/icons/src/solid/fire.svg +3 -0
- package/src/icons/src/solid/tag.svg +3 -0
- package/src/icons/src/solid/triangle.svg +1 -1
- package/src/icons/src/stroke/arrow-left.svg +1 -1
- package/src/icons/src/stroke/chat-bubble-thought.svg +6 -0
- package/src/icons/src/stroke/chevron-right.svg +1 -1
- package/src/icons/src/stroke/external-link.svg +2 -2
- package/src/icons/src/stroke/fire.svg +3 -0
- package/src/icons/src/stroke/list-check.svg +4 -4
- package/src/icons/src/stroke/tag.svg +4 -0
- package/src/icons/src/stroke/triangle.svg +1 -1
- package/src/icons/stroke/ChatBubbleThought.tsx +24 -0
- package/src/icons/stroke/ExternalLink.tsx +2 -2
- package/src/icons/stroke/Fire.tsx +18 -0
- package/src/icons/stroke/Tag.tsx +21 -0
- package/src/icons/stroke/index.ts +3 -1
- package/src/logo/platforms/Gpt3.tsx +2 -2
- package/src/logo/platforms/Gpt4.tsx +2 -2
- package/src/stories/DropzoneOverlay.stories.tsx +5 -1
- package/src/stories/Hoverable.stories.tsx +11 -1
- package/src/stories/TextArea.stories.tsx +1 -1
- package/src/stories/Tree.stories.tsx +553 -272
- package/dist/cjs/icons/solid/HandHeart.d.ts +0 -4
- package/dist/cjs/icons/stroke/HandHeart.d.ts +0 -4
- package/dist/esm/icons/solid/HandHeart.d.ts +0 -4
- package/dist/esm/icons/stroke/HandHeart.d.ts +0 -4
- package/src/icons/solid/HandHeart.tsx +0 -18
- package/src/icons/src/solid/hand-heart.svg +0 -3
- package/src/icons/src/stroke/hand-heart.svg +0 -3
- package/src/icons/stroke/HandHeart.tsx +0 -18
|
@@ -23,7 +23,11 @@ export const DropzoneOverlayExample = () => {
|
|
|
23
23
|
setIsDragActive(false);
|
|
24
24
|
}}
|
|
25
25
|
>
|
|
26
|
-
<DropzoneOverlay
|
|
26
|
+
<DropzoneOverlay
|
|
27
|
+
isDragActive={isDragActive}
|
|
28
|
+
description={"Drag and drop your files here"}
|
|
29
|
+
title={"Drag and drop"}
|
|
30
|
+
/>
|
|
27
31
|
<div className="s-flex s-min-h-96 s-items-center s-justify-center">
|
|
28
32
|
This is some placeholder content.
|
|
29
33
|
</div>
|
|
@@ -19,7 +19,17 @@ export const HoverableExample = () => {
|
|
|
19
19
|
alert("Clicked!");
|
|
20
20
|
}}
|
|
21
21
|
>
|
|
22
|
-
|
|
22
|
+
I am invisible but you can hover me.
|
|
23
|
+
</Hoverable>
|
|
24
|
+
</div>
|
|
25
|
+
<div>
|
|
26
|
+
<Hoverable
|
|
27
|
+
variant="primary"
|
|
28
|
+
onClick={() => {
|
|
29
|
+
alert("Soupinou!");
|
|
30
|
+
}}
|
|
31
|
+
>
|
|
32
|
+
I am primary, you can hover me.
|
|
23
33
|
</Hoverable>
|
|
24
34
|
</div>
|
|
25
35
|
</div>
|