@dust-tt/sparkle 0.2.190 → 0.2.192

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.
Files changed (72) hide show
  1. package/dist/cjs/_index.d.ts +4 -4
  2. package/dist/cjs/components/Hoverable.d.ts +2 -1
  3. package/dist/cjs/components/Tree.d.ts +2 -1
  4. package/dist/cjs/icons/solid/ChatBubbleThought.d.ts +4 -0
  5. package/dist/cjs/icons/solid/Fire.d.ts +4 -0
  6. package/dist/cjs/icons/solid/Tag.d.ts +4 -0
  7. package/dist/cjs/icons/solid/index.d.ts +3 -1
  8. package/dist/cjs/icons/stroke/ChatBubbleThought.d.ts +4 -0
  9. package/dist/cjs/icons/stroke/Fire.d.ts +4 -0
  10. package/dist/cjs/icons/stroke/Tag.d.ts +4 -0
  11. package/dist/cjs/icons/stroke/index.d.ts +3 -1
  12. package/dist/cjs/index.js +57 -27
  13. package/dist/cjs/index.js.map +1 -1
  14. package/dist/esm/_index.d.ts +4 -4
  15. package/dist/esm/components/Hoverable.d.ts +2 -1
  16. package/dist/esm/components/Tree.d.ts +2 -1
  17. package/dist/esm/icons/solid/ChatBubbleThought.d.ts +4 -0
  18. package/dist/esm/icons/solid/Fire.d.ts +4 -0
  19. package/dist/esm/icons/solid/Tag.d.ts +4 -0
  20. package/dist/esm/icons/solid/index.d.ts +3 -1
  21. package/dist/esm/icons/stroke/ChatBubbleThought.d.ts +4 -0
  22. package/dist/esm/icons/stroke/Fire.d.ts +4 -0
  23. package/dist/esm/icons/stroke/Tag.d.ts +4 -0
  24. package/dist/esm/icons/stroke/index.d.ts +3 -1
  25. package/dist/esm/index.js +52 -26
  26. package/dist/esm/index.js.map +1 -1
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/package.json +1 -1
  29. package/src/_index.ts +12 -4
  30. package/src/components/Checkbox.tsx +5 -5
  31. package/src/components/Hoverable.tsx +10 -4
  32. package/src/components/Input.tsx +2 -2
  33. package/src/components/Modal.tsx +6 -1
  34. package/src/components/TextArea.tsx +1 -1
  35. package/src/components/Tree.tsx +10 -2
  36. package/src/icons/solid/ChatBubbleThought.tsx +20 -0
  37. package/src/icons/solid/ExternalLink.tsx +2 -2
  38. package/src/icons/solid/Fire.tsx +18 -0
  39. package/src/icons/solid/Tag.tsx +20 -0
  40. package/src/icons/solid/index.ts +3 -1
  41. package/src/icons/src/solid/chat-bubble-thought.svg +3 -0
  42. package/src/icons/src/solid/chevron-right.svg +1 -1
  43. package/src/icons/src/solid/external-link.svg +2 -2
  44. package/src/icons/src/solid/fire.svg +3 -0
  45. package/src/icons/src/solid/tag.svg +3 -0
  46. package/src/icons/src/solid/triangle.svg +1 -1
  47. package/src/icons/src/stroke/arrow-left.svg +1 -1
  48. package/src/icons/src/stroke/chat-bubble-thought.svg +6 -0
  49. package/src/icons/src/stroke/chevron-right.svg +1 -1
  50. package/src/icons/src/stroke/external-link.svg +2 -2
  51. package/src/icons/src/stroke/fire.svg +3 -0
  52. package/src/icons/src/stroke/list-check.svg +4 -4
  53. package/src/icons/src/stroke/tag.svg +4 -0
  54. package/src/icons/src/stroke/triangle.svg +1 -1
  55. package/src/icons/stroke/ChatBubbleThought.tsx +24 -0
  56. package/src/icons/stroke/ExternalLink.tsx +2 -2
  57. package/src/icons/stroke/Fire.tsx +18 -0
  58. package/src/icons/stroke/Tag.tsx +21 -0
  59. package/src/icons/stroke/index.ts +3 -1
  60. package/src/logo/platforms/Gpt3.tsx +2 -2
  61. package/src/logo/platforms/Gpt4.tsx +2 -2
  62. package/src/stories/Hoverable.stories.tsx +11 -1
  63. package/src/stories/TextArea.stories.tsx +1 -1
  64. package/src/stories/Tree.stories.tsx +553 -272
  65. package/dist/cjs/icons/solid/HandHeart.d.ts +0 -4
  66. package/dist/cjs/icons/stroke/HandHeart.d.ts +0 -4
  67. package/dist/esm/icons/solid/HandHeart.d.ts +0 -4
  68. package/dist/esm/icons/stroke/HandHeart.d.ts +0 -4
  69. package/src/icons/solid/HandHeart.tsx +0 -18
  70. package/src/icons/src/solid/hand-heart.svg +0 -3
  71. package/src/icons/src/stroke/hand-heart.svg +0 -3
  72. package/src/icons/stroke/HandHeart.tsx +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dust-tt/sparkle",
3
- "version": "0.2.190",
3
+ "version": "0.2.192",
4
4
  "scripts": {
5
5
  "build": "rm -rf dist && rollup -c",
6
6
  "build:with-tw-base": "rollup -c --environment INCLUDE_TW_BASE:true",
package/src/_index.ts CHANGED
@@ -264,6 +264,7 @@ import {
264
264
  ChatBubbleBottomCenterPlus as ChatBubbleBottomCenterPlusIcon,
265
265
  ChatBubbleBottomCenterText as ChatBubbleBottomCenterTextIcon,
266
266
  ChatBubbleLeftRight as ChatBubbleLeftRightIcon,
267
+ ChatBubbleThought as ChatBubbleThoughtIcon,
267
268
  Check as CheckIcon,
268
269
  CheckCircle as CheckCircleIcon,
269
270
  ChevronDown as ChevronDownIcon,
@@ -296,6 +297,7 @@ import {
296
297
  ExternalLink as ExternalLinkIcon,
297
298
  Eye as EyeIcon,
298
299
  EyeSlash as EyeSlashIcon,
300
+ Fire as FireIcon,
299
301
  Flag as FlagIcon,
300
302
  Folder as FolderIcon,
301
303
  FolderOpen as FolderOpenIcon,
@@ -303,7 +305,6 @@ import {
303
305
  FullscreenExit as FullscreenExitIcon,
304
306
  GlobeAlt as GlobeAltIcon,
305
307
  Grab as GrabIcon,
306
- HandHeart as HandHeartIcon,
307
308
  HandThumbDown as HandThumbDownIcon,
308
309
  HandThumbUp as HandThumbUpIcon,
309
310
  HeartAlt as HeartAltIcon,
@@ -350,6 +351,7 @@ import {
350
351
  Star as StarIcon,
351
352
  Stop as StopIcon,
352
353
  Table as TableIcon,
354
+ Tag as TagIcon,
353
355
  Template as TemplateIcon,
354
356
  TestTube as TestTubeIcon,
355
357
  Time as TimeIcon,
@@ -382,6 +384,7 @@ export {
382
384
  ChatBubbleBottomCenterPlusIcon,
383
385
  ChatBubbleBottomCenterTextIcon,
384
386
  ChatBubbleLeftRightIcon,
387
+ ChatBubbleThoughtIcon,
385
388
  CheckCircleIcon,
386
389
  CheckIcon,
387
390
  ChevronDownIcon,
@@ -414,6 +417,7 @@ export {
414
417
  ExternalLinkIcon,
415
418
  EyeIcon,
416
419
  EyeSlashIcon,
420
+ FireIcon,
417
421
  FlagIcon,
418
422
  FolderIcon,
419
423
  FolderOpenIcon,
@@ -421,7 +425,6 @@ export {
421
425
  FullscreenIcon,
422
426
  GlobeAltIcon,
423
427
  GrabIcon,
424
- HandHeartIcon,
425
428
  HandThumbDownIcon,
426
429
  HandThumbUpIcon,
427
430
  HeartAltIcon,
@@ -468,6 +471,7 @@ export {
468
471
  StarIcon,
469
472
  StopIcon,
470
473
  TableIcon,
474
+ TagIcon,
471
475
  TemplateIcon,
472
476
  TestTubeIcon,
473
477
  TimeIcon,
@@ -500,6 +504,7 @@ import {
500
504
  ChatBubbleBottomCenterPlus as ChatBubbleBottomCenterPlusStrokeIcon,
501
505
  ChatBubbleBottomCenterText as ChatBubbleBottomCenterTextStrokeIcon,
502
506
  ChatBubbleLeftRight as ChatBubbleLeftRightStrokeIcon,
507
+ ChatBubbleThought as ChatBubbleThoughtStrokeIcon,
503
508
  Check as CheckStrokeIcon,
504
509
  CheckCircle as CheckCircleStrokeIcon,
505
510
  ChevronDown as ChevronDownStrokeIcon,
@@ -532,6 +537,7 @@ import {
532
537
  ExternalLink as ExternalLinkStrokeIcon,
533
538
  Eye as EyeStrokeIcon,
534
539
  EyeSlash as EyeSlashStrokeIcon,
540
+ Fire as FireStrokeIcon,
535
541
  Flag as FlagStrokeIcon,
536
542
  Folder as FolderStrokeIcon,
537
543
  FolderOpen as FolderOpenStrokeIcon,
@@ -539,7 +545,6 @@ import {
539
545
  FullscreenExit as FullscreenExitStrokeIcon,
540
546
  GlobeAlt as GlobeAltStrokeIcon,
541
547
  Grab as GrabStrokeIcon,
542
- HandHeart as HandHeartStrokeIcon,
543
548
  HandThumbDown as HandThumbDownStrokeIcon,
544
549
  HandThumbUp as HandThumbUpStrokeIcon,
545
550
  HeartAlt as HeartAltStrokeIcon,
@@ -586,6 +591,7 @@ import {
586
591
  Star as StarStrokeIcon,
587
592
  Stop as StopStrokeIcon,
588
593
  Table as TableStrokeIcon,
594
+ Tag as TagStrokeIcon,
589
595
  Template as TemplateStrokeIcon,
590
596
  TestTube as TestTubeStrokeIcon,
591
597
  Time as TimeStrokeIcon,
@@ -618,6 +624,7 @@ export {
618
624
  ChatBubbleBottomCenterPlusStrokeIcon,
619
625
  ChatBubbleBottomCenterTextStrokeIcon,
620
626
  ChatBubbleLeftRightStrokeIcon,
627
+ ChatBubbleThoughtStrokeIcon,
621
628
  CheckCircleStrokeIcon,
622
629
  CheckStrokeIcon,
623
630
  ChevronDownStrokeIcon,
@@ -650,6 +657,7 @@ export {
650
657
  ExternalLinkStrokeIcon,
651
658
  EyeSlashStrokeIcon,
652
659
  EyeStrokeIcon,
660
+ FireStrokeIcon,
653
661
  FlagStrokeIcon,
654
662
  FolderOpenStrokeIcon,
655
663
  FolderStrokeIcon,
@@ -657,7 +665,6 @@ export {
657
665
  FullscreenStrokeIcon,
658
666
  GlobeAltStrokeIcon,
659
667
  GrabStrokeIcon,
660
- HandHeartStrokeIcon,
661
668
  HandThumbDownStrokeIcon,
662
669
  HandThumbUpStrokeIcon,
663
670
  HeartAltStrokeIcon,
@@ -704,6 +711,7 @@ export {
704
711
  StarStrokeIcon,
705
712
  StopStrokeIcon,
706
713
  TableStrokeIcon,
714
+ TagStrokeIcon,
707
715
  TemplateStrokeIcon,
708
716
  TestTubeStrokeIcon,
709
717
  TimeStrokeIcon,
@@ -25,7 +25,8 @@ export function Checkbox({
25
25
  const baseStyleClasses = {
26
26
  base: "s-border s-justify-center s-w-5 s-h-5 s-rounded-md s-flex s-items-center s-transition-colors s-duration-300 s-ease-out",
27
27
  idle: "s-bg-structure-50 s-border-element-600 s-cursor-pointer",
28
- hover: "hover:s-border-action-500 hover:s-bg-action-200",
28
+ hover:
29
+ "hover:s-border-action-500 hover:s-bg-action-200 hover:s-text-white/100",
29
30
  disabled: "s-bg-structure-0 s-border-structure-300 s-cursor-default",
30
31
  dark: {
31
32
  base: "dark:s-bg-structure-50-dark dark:s-border-element-500-dark",
@@ -46,6 +47,7 @@ export function Checkbox({
46
47
 
47
48
  const combinedBaseClasses = classNames(
48
49
  baseStyleClasses.base,
50
+ checked || partialChecked ? "s-text-white" : "s-text-white/0",
49
51
  disabled ? baseStyleClasses.disabled : baseStyleClasses.idle,
50
52
  !disabled ? baseStyleClasses.hover : "",
51
53
  disabled ? baseStyleClasses.dark.disabled : baseStyleClasses.dark.base,
@@ -72,13 +74,11 @@ export function Checkbox({
72
74
  className="s-hidden"
73
75
  disabled={disabled}
74
76
  />
75
- <div
76
- className={classNames(combinedBaseClasses, "s-relative s-text-white")}
77
- >
77
+ <div className={classNames(combinedBaseClasses, "s-relative")}>
78
78
  <div
79
79
  className={combinedCheckedIndicatorClasses}
80
80
  style={{ width: "14px", height: "14px", borderRadius: "3px" }}
81
- ></div>
81
+ />
82
82
  {variant === "checkable" && (
83
83
  <div className="s-absolute">
84
84
  <Icon visual={partialChecked ? Dash : Check} size="xs" />
@@ -7,19 +7,25 @@ interface HoverableProps {
7
7
  children: ReactNode;
8
8
  className?: string;
9
9
  onClick: (e: SyntheticEvent) => void;
10
+ variant?: "primary" | "invisible";
10
11
  }
11
12
 
12
13
  export function Hoverable({
13
14
  children,
14
15
  className = "",
15
16
  onClick,
17
+ variant = "invisible",
16
18
  }: HoverableProps) {
19
+ const baseClasses = "s-cursor-pointer s-duration-300";
20
+
21
+ const variantClasses = {
22
+ invisible: "hover:s-text-action-500 active:s-text-action-600",
23
+ primary: "s-font-bold s-text-blue-500 hover:active:s-text-action-600",
24
+ };
25
+
17
26
  return (
18
27
  <span
19
- className={classNames(
20
- "s-cursor-pointer s-duration-300 hover:s-text-action-500 active:s-text-action-600",
21
- className
22
- )}
28
+ className={classNames(baseClasses, variantClasses[variant], className)}
23
29
  onClick={onClick}
24
30
  >
25
31
  {children}
@@ -50,8 +50,8 @@ export function Input({
50
50
  id={name}
51
51
  className={classNames(
52
52
  "s-w-full s-border-0 s-outline-none s-ring-1 focus:s-outline-none focus:s-ring-2",
53
- "s-bg-structure-50 s-text-element-900 s-placeholder-element-600",
54
- "dark:s-bg-structure-50-dark dark:s-text-element-800-dark dark:s-placeholder-element-600-dark",
53
+ "s-bg-structure-50 s-text-element-900 s-placeholder-element-700",
54
+ "dark:s-bg-structure-50-dark dark:s-text-element-800-dark dark:s-placeholder-element-700-dark",
55
55
  sizeInputClasses[size],
56
56
  "s-transition-all s-duration-300 s-ease-out",
57
57
  className ?? "",
@@ -128,7 +128,12 @@ export function Modal({
128
128
  <Dialog
129
129
  as="div"
130
130
  className="s-fixed s-absolute s-inset-0 s-z-50 s-overflow-hidden"
131
- onClose={onClose}
131
+ onClose={() => {
132
+ // We allow closing the modal by clicking outside of it only if there are no changes
133
+ if (!hasChanged) {
134
+ onClose();
135
+ }
136
+ }}
132
137
  >
133
138
  {/* Smoke screen and transition */}
134
139
  <Transition.Child
@@ -32,7 +32,7 @@ export function TextArea({
32
32
  <textarea
33
33
  ref={textareaRef}
34
34
  className={classNames(
35
- "overflow-y-auto s-block s-min-h-60 s-w-full s-min-w-0 s-rounded-xl s-text-sm s-transition-all s-duration-200 s-scrollbar-hide",
35
+ "overflow-y-auto s-block s-min-h-60 s-w-full s-min-w-0 s-rounded-xl s-text-sm s-placeholder-element-700 s-transition-all s-duration-200 s-scrollbar-hide",
36
36
  !error
37
37
  ? "s-border-structure-100 focus:s-border-action-300 focus:s-ring-action-300"
38
38
  : "s-border-red-500 focus:s-border-red-500 focus:s-ring-red-500",
@@ -15,16 +15,24 @@ import { IconButton } from "./IconButton";
15
15
 
16
16
  export interface TreeProps {
17
17
  children?: React.ReactNode;
18
+ isBoxed?: boolean;
18
19
  isLoading?: boolean;
19
20
  }
20
21
 
21
- export function Tree({ children, isLoading }: TreeProps) {
22
+ export function Tree({ children, isLoading, isBoxed = false }: TreeProps) {
22
23
  return isLoading ? (
23
24
  <div className="s-py-2 s-pl-4">
24
25
  <Spinner size="xs" variant="dark" />
25
26
  </div>
26
27
  ) : (
27
- <div className="s-flex s-flex-col s-gap-1 s-overflow-hidden">
28
+ <div
29
+ className={classNames(
30
+ "s-flex s-flex-col s-gap-1 s-overflow-hidden",
31
+ isBoxed
32
+ ? "s- s-rounded-xl s-border s-border-structure-200 s-bg-structure-50 s-p-4"
33
+ : ""
34
+ )}
35
+ >
28
36
  {children}
29
37
  </div>
30
38
  );
@@ -0,0 +1,20 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ const SvgChatBubbleThought = (props: SVGProps<SVGSVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="1em"
7
+ height="1em"
8
+ fill="none"
9
+ viewBox="0 0 24 24"
10
+ {...props}
11
+ >
12
+ <path
13
+ fill="currentColor"
14
+ fillRule="evenodd"
15
+ d="M14 3h-4a8 8 0 0 0-8 8c0 6.5 7 9.5 12 11.5V19a8 8 0 1 0 0-16Zm-8 8c0-.825.675-1.5 1.5-1.5S9 10.175 9 11s-.675 1.5-1.5 1.5S6 11.825 6 11Zm9 0c0-.825.675-1.5 1.5-1.5s1.5.675 1.5 1.5-.675 1.5-1.5 1.5S15 11.825 15 11Zm-4.5 0c0-.825.675-1.5 1.5-1.5s1.5.675 1.5 1.5-.675 1.5-1.5 1.5-1.5-.675-1.5-1.5Z"
16
+ clipRule="evenodd"
17
+ />
18
+ </svg>
19
+ );
20
+ export default SvgChatBubbleThought;
@@ -10,10 +10,10 @@ const SvgExternalLink = (props: SVGProps<SVGSVGElement>) => (
10
10
  {...props}
11
11
  >
12
12
  <path
13
- fill="#000"
13
+ fill="currentColor"
14
14
  d="M19 11h3V3h-8v3h2.983C15.49 8.777 12.24 10.5 9 10.5v3c3.748 0 7.737-1.796 10-5.05V11Z"
15
15
  />
16
- <path fill="#000" d="M7 7h4V5H5v14h14v-5h-2v3H7V7Z" />
16
+ <path fill="currentColor" d="M7 7h4V5H5v14h14v-5h-2v3H7V7Z" />
17
17
  </svg>
18
18
  );
19
19
  export default SvgExternalLink;
@@ -0,0 +1,18 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ const SvgFire = (props: SVGProps<SVGSVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="1em"
7
+ height="1em"
8
+ fill="none"
9
+ viewBox="0 0 24 24"
10
+ {...props}
11
+ >
12
+ <path
13
+ fill="currentColor"
14
+ d="M12 23a7.5 7.5 0 0 1-5.138-12.963C8.204 8.774 11.5 6.5 11 1.5c6 4 9 8 3 14 1 0 2.5 0 5-2.47.27.773.5 1.604.5 2.47A7.5 7.5 0 0 1 12 23Z"
15
+ />
16
+ </svg>
17
+ );
18
+ export default SvgFire;
@@ -0,0 +1,20 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ const SvgTag = (props: SVGProps<SVGSVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="1em"
7
+ height="1em"
8
+ fill="none"
9
+ viewBox="0 0 24 24"
10
+ {...props}
11
+ >
12
+ <path
13
+ fill="currentColor"
14
+ fillRule="evenodd"
15
+ d="M1 12 11 2l7.558.756a3 3 0 0 1 2.686 2.686L22 13 12 23 1 12Zm14-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"
16
+ clipRule="evenodd"
17
+ />
18
+ </svg>
19
+ );
20
+ export default SvgTag;
@@ -15,6 +15,7 @@ export { default as Card } from "./Card";
15
15
  export { default as ChatBubbleBottomCenterPlus } from "./ChatBubbleBottomCenterPlus";
16
16
  export { default as ChatBubbleBottomCenterText } from "./ChatBubbleBottomCenterText";
17
17
  export { default as ChatBubbleLeftRight } from "./ChatBubbleLeftRight";
18
+ export { default as ChatBubbleThought } from "./ChatBubbleThought";
18
19
  export { default as Check } from "./Check";
19
20
  export { default as CheckCircle } from "./CheckCircle";
20
21
  export { default as ChevronDown } from "./ChevronDown";
@@ -47,6 +48,7 @@ export { default as ExclamationCircle } from "./ExclamationCircle";
47
48
  export { default as ExternalLink } from "./ExternalLink";
48
49
  export { default as Eye } from "./Eye";
49
50
  export { default as EyeSlash } from "./EyeSlash";
51
+ export { default as Fire } from "./Fire";
50
52
  export { default as Flag } from "./Flag";
51
53
  export { default as Folder } from "./Folder";
52
54
  export { default as FolderOpen } from "./FolderOpen";
@@ -54,7 +56,6 @@ export { default as Fullscreen } from "./Fullscreen";
54
56
  export { default as FullscreenExit } from "./FullscreenExit";
55
57
  export { default as GlobeAlt } from "./GlobeAlt";
56
58
  export { default as Grab } from "./Grab";
57
- export { default as HandHeart } from "./HandHeart";
58
59
  export { default as HandThumbDown } from "./HandThumbDown";
59
60
  export { default as HandThumbUp } from "./HandThumbUp";
60
61
  export { default as HeartAlt } from "./HeartAlt";
@@ -101,6 +102,7 @@ export { default as Square3Stack3D } from "./Square3Stack3D";
101
102
  export { default as Star } from "./Star";
102
103
  export { default as Stop } from "./Stop";
103
104
  export { default as Table } from "./Table";
105
+ export { default as Tag } from "./Tag";
104
106
  export { default as Template } from "./Template";
105
107
  export { default as TestTube } from "./TestTube";
106
108
  export { default as Time } from "./Time";
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M14 3H10C5.58172 3 2 6.58172 2 11C2 17.5 9 20.5 14 22.5V19C18.4183 19 22 15.4183 22 11C22 6.58172 18.4183 3 14 3ZM6 11C6 10.175 6.675 9.5 7.5 9.5C8.325 9.5 9 10.175 9 11C9 11.825 8.325 12.5 7.5 12.5C6.675 12.5 6 11.825 6 11ZM15 11C15 10.175 15.675 9.5 16.5 9.5C17.325 9.5 18 10.175 18 11C18 11.825 17.325 12.5 16.5 12.5C15.675 12.5 15 11.825 15 11ZM10.5 11C10.5 10.175 11.175 9.5 12 9.5C12.825 9.5 13.5 10.175 13.5 11C13.5 11.825 12.825 12.5 12 12.5C11.175 12.5 10.5 11.825 10.5 11Z" fill="#020617"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M12.5001 12L8.00009 7.5L10.0001 5.5L16.5 12.0003L10.0001 18.5L8.00009 16.5L12.5001 12Z" fill="#020617"/>
2
+ <path d="M12.5001 12L8.00012 7.5L10.0001 5.5L16.5 12.0003L10.0001 18.5L8.00012 16.5L12.5001 12Z" fill="#020617"/>
3
3
  </svg>
@@ -1,4 +1,4 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M19 11H22V3H14V6H16.983C15.49 8.77714 12.2396 10.5 9.00001 10.5V13.5C12.7482 13.5 16.7374 11.7035 19 8.4493V11Z" fill="black"/>
3
- <path d="M7 7H11V5H5V19H19V14H17V17H7V7Z" fill="black"/>
2
+ <path d="M19 11H22V3H14V6H16.983C15.49 8.77714 12.2396 10.5 9.00001 10.5V13.5C12.7482 13.5 16.7374 11.7035 19 8.4493V11Z" fill="#020617"/>
3
+ <path d="M7 7H11V5H5V19H19V14H17V17H7V7Z" fill="#020617"/>
4
4
  </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 23C7.85786 23 4.5 19.6421 4.5 15.5C4.5 13.3462 5.40786 11.4045 6.86179 10.0366C8.20403 8.77375 11.5 6.49951 11 1.5C17 5.5 20 9.5 14 15.5C15 15.5 16.5 15.5 19 13.0296C19.2697 13.8032 19.5 14.6345 19.5 15.5C19.5 19.6421 16.1421 23 12 23Z" fill="#020617"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M1 12L11 2L18.5576 2.75576C19.9784 2.89784 21.1022 4.0216 21.2442 5.44236L22 13L12 23L1 12ZM15 11C16.1046 11 17 10.1046 17 9C17 7.89543 16.1046 7 15 7C13.8954 7 13 7.89543 13 9C13 10.1046 13.8954 11 15 11Z" fill="#020617"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M12 3L22.3923 21H1.6077L12 3Z" fill="#020617"/>
2
+ <path d="M12 3L22.3923 21H1.60767L12 3Z" fill="#020617"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M7.8284 12.9998L13.1924 18.3638L11.7782 19.778L4 11.9998L11.7782 4.22168L13.1924 5.63588L7.8284 10.9998L20 10.9998L20 12.9998L7.8284 12.9998Z" fill="#020617"/>
2
+ <path d="M7.8284 12.9998L13.1924 18.3638L11.7782 19.778L4 11.9998L11.7782 4.22169L13.1924 5.63589L7.8284 10.9998L20 10.9998L20 12.9998L7.8284 12.9998Z" fill="#020617"/>
3
3
  </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6 11C6 10.175 6.675 9.5 7.5 9.5C8.325 9.5 9 10.175 9 11C9 11.825 8.325 12.5 7.5 12.5C6.675 12.5 6 11.825 6 11Z" fill="#020617"/>
3
+ <path d="M15 11C15 10.175 15.675 9.5 16.5 9.5C17.325 9.5 18 10.175 18 11C18 11.825 17.325 12.5 16.5 12.5C15.675 12.5 15 11.825 15 11Z" fill="#020617"/>
4
+ <path d="M10.5 11C10.5 10.175 11.175 9.5 12 9.5C12.825 9.5 13.5 10.175 13.5 11C13.5 11.825 12.825 12.5 12 12.5C11.175 12.5 10.5 11.825 10.5 11Z" fill="#020617"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M14 3H10C5.58172 3 2 6.58172 2 11C2 17.5 9 20.5 14 22.5V19C18.4183 19 22 15.4183 22 11C22 6.58172 18.4183 3 14 3ZM14 17H12V19.4798C6.46208 16.9656 4 14.61 4 11C4 7.68629 6.68629 5 10 5H14C17.3137 5 20 7.68629 20 11C20 14.3137 17.3137 17 14 17Z" fill="#020617"/>
6
+ </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M13 12L8.00003 6.99995L9.50003 5.49995L15.9999 12.0003L9.50003 18.5L8.00003 17L13 12Z" fill="#020617"/>
2
+ <path d="M13 12L8 6.99995L9.5 5.49995L15.9999 12.0003L9.5 18.5L8 17L13 12Z" fill="#020617"/>
3
3
  </svg>
@@ -1,4 +1,4 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M20 11H22V3H14V5H18.564C17.8869 6.4713 16.8101 7.81497 15.5075 8.8609C13.8341 10.2046 11.861 11 10 11V13C12.4121 13 14.8139 11.9829 16.7598 10.4204C18.0594 9.37677 19.1879 8.06456 20 6.59044V11Z" fill="black"/>
3
- <path d="M7 7H11V5H5V19H19V14H17V17H7V7Z" fill="black"/>
2
+ <path d="M20 11H22V3H14V5H18.564C17.8869 6.4713 16.8101 7.81497 15.5075 8.8609C13.8341 10.2046 11.861 11 10 11V13C12.4121 13 14.8139 11.9829 16.7598 10.4204C18.0594 9.37677 19.1879 8.06456 20 6.59044V11Z" fill="#020617"/>
3
+ <path d="M7 7H11V5H5V19H19V14H17V17H7V7Z" fill="#020617"/>
4
4
  </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 23C16.1421 23 19.5 19.6421 19.5 15.5C19.5 14.6345 19.2697 13.8032 19 13.0296C17.3333 14.6765 16.0667 15.5 15.2 15.5C19.1954 8.5 17 5.5 11 1.5C11.5 6.49951 8.20403 8.77375 6.86179 10.0366C5.40786 11.4045 4.5 13.3462 4.5 15.5C4.5 19.6421 7.85786 23 12 23ZM12.7094 5.23498C15.9511 7.98528 15.9666 10.1223 13.463 14.5086C12.702 15.8419 13.6648 17.5 15.2 17.5C15.8884 17.5 16.5841 17.2992 17.3189 16.9051C16.6979 19.262 14.5519 21 12 21C8.96243 21 6.5 18.5376 6.5 15.5C6.5 13.9608 7.13279 12.5276 8.23225 11.4932C8.35826 11.3747 8.99749 10.8081 9.02477 10.7836C9.44862 10.4021 9.7978 10.0663 10.1429 9.69677C11.3733 8.37932 12.2571 6.91631 12.7094 5.23498Z" fill="#020617"/>
3
+ </svg>
@@ -1,6 +1,6 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M3.00003 11V4H10.0001V11H3.00003ZM8.00003 9V6H5.00003V9H8.00003Z" fill="#020617"/>
3
- <path d="M21 7H13.0001V9H21V7Z" fill="#020617"/>
4
- <path d="M21 17H13.0001V19H21V17Z" fill="#020617"/>
5
- <path d="M5.99995 20.4142L10.7071 15.7071L9.29285 14.2929L5.99995 17.5858L4.20706 15.7929L2.79285 17.2071L5.99995 20.4142Z" fill="#020617"/>
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M3.00009 11V4H10.0001V11H3.00009ZM8.00009 9V6H5.00009V9H8.00009Z" fill="#020617"/>
3
+ <path d="M21.0001 7H13.0001V9H21.0001V7Z" fill="#020617"/>
4
+ <path d="M21.0001 17H13.0001V19H21.0001V17Z" fill="#020617"/>
5
+ <path d="M6.00001 20.4142L10.7071 15.7071L9.29291 14.2929L6.00001 17.5858L4.20712 15.7929L2.79291 17.2071L6.00001 20.4142Z" fill="#020617"/>
6
6
  </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M15 11C16.1046 11 17 10.1046 17 9C17 7.89543 16.1046 7 15 7C13.8954 7 13 7.89543 13 9C13 10.1046 13.8954 11 15 11Z" fill="#020617"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2L1 12L12 23L22 13L21.2442 5.44236C21.1022 4.0216 19.9784 2.89784 18.5576 2.75576L11 2ZM19.9156 12.256L12 20.1716L3.82843 12L11.744 4.08438L18.3586 4.74584C18.8322 4.7932 19.2068 5.16778 19.2542 5.64137L19.9156 12.256Z" fill="#020617"/>
4
+ </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M12 3L1.6077 21H22.3923L12 3ZM12 7L5.0718 19H18.9282L12 7Z" fill="#020617"/>
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 3L1.60767 21H22.3923L12 3ZM12 7L5.07177 19H18.9282L12 7Z" fill="#020617"/>
3
3
  </svg>
@@ -0,0 +1,24 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ const SvgChatBubbleThought = (props: SVGProps<SVGSVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="1em"
7
+ height="1em"
8
+ fill="none"
9
+ viewBox="0 0 24 24"
10
+ {...props}
11
+ >
12
+ <path
13
+ fill="currentColor"
14
+ d="M6 11c0-.825.675-1.5 1.5-1.5S9 10.175 9 11s-.675 1.5-1.5 1.5S6 11.825 6 11ZM15 11c0-.825.675-1.5 1.5-1.5s1.5.675 1.5 1.5-.675 1.5-1.5 1.5S15 11.825 15 11ZM10.5 11c0-.825.675-1.5 1.5-1.5s1.5.675 1.5 1.5-.675 1.5-1.5 1.5-1.5-.675-1.5-1.5Z"
15
+ />
16
+ <path
17
+ fill="currentColor"
18
+ fillRule="evenodd"
19
+ d="M14 3h-4a8 8 0 0 0-8 8c0 6.5 7 9.5 12 11.5V19a8 8 0 1 0 0-16Zm0 14h-2v2.48C6.462 16.966 4 14.61 4 11a6 6 0 0 1 6-6h4a6 6 0 0 1 0 12Z"
20
+ clipRule="evenodd"
21
+ />
22
+ </svg>
23
+ );
24
+ export default SvgChatBubbleThought;
@@ -10,10 +10,10 @@ const SvgExternalLink = (props: SVGProps<SVGSVGElement>) => (
10
10
  {...props}
11
11
  >
12
12
  <path
13
- fill="#000"
13
+ fill="currentColor"
14
14
  d="M20 11h2V3h-8v2h4.564c-.677 1.471-1.754 2.815-3.056 3.86C13.834 10.206 11.86 11 10 11v2c2.412 0 4.814-1.017 6.76-2.58A13.024 13.024 0 0 0 20 6.59V11Z"
15
15
  />
16
- <path fill="#000" d="M7 7h4V5H5v14h14v-5h-2v3H7V7Z" />
16
+ <path fill="currentColor" d="M7 7h4V5H5v14h14v-5h-2v3H7V7Z" />
17
17
  </svg>
18
18
  );
19
19
  export default SvgExternalLink;
@@ -0,0 +1,18 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ const SvgFire = (props: SVGProps<SVGSVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="1em"
7
+ height="1em"
8
+ fill="none"
9
+ viewBox="0 0 24 24"
10
+ {...props}
11
+ >
12
+ <path
13
+ fill="currentColor"
14
+ d="M12 23a7.5 7.5 0 0 0 7.5-7.5c0-.866-.23-1.697-.5-2.47-1.667 1.647-2.933 2.47-3.8 2.47 3.995-7 1.8-10-4.2-14 .5 5-2.796 7.274-4.138 8.537A7.5 7.5 0 0 0 12 23Zm.71-17.765c3.241 2.75 3.257 4.887.753 9.274-.761 1.333.202 2.991 1.737 2.991.688 0 1.384-.2 2.119-.595a5.5 5.5 0 1 1-9.087-5.412c.126-.118.765-.685.793-.71.424-.38.773-.717 1.118-1.086 1.23-1.318 2.114-2.78 2.566-4.462Z"
15
+ />
16
+ </svg>
17
+ );
18
+ export default SvgFire;
@@ -0,0 +1,21 @@
1
+ import type { SVGProps } from "react";
2
+ import * as React from "react";
3
+ const SvgTag = (props: SVGProps<SVGSVGElement>) => (
4
+ <svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ width="1em"
7
+ height="1em"
8
+ fill="none"
9
+ viewBox="0 0 24 24"
10
+ {...props}
11
+ >
12
+ <path fill="currentColor" d="M15 11a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" />
13
+ <path
14
+ fill="currentColor"
15
+ fillRule="evenodd"
16
+ d="M11 2 1 12l11 11 10-10-.756-7.558a3 3 0 0 0-2.686-2.686L11 2Zm8.916 10.256L12 20.172 3.828 12l7.916-7.916 6.615.662a1 1 0 0 1 .895.895l.662 6.615Z"
17
+ clipRule="evenodd"
18
+ />
19
+ </svg>
20
+ );
21
+ export default SvgTag;
@@ -15,6 +15,7 @@ export { default as Card } from "./Card";
15
15
  export { default as ChatBubbleBottomCenterPlus } from "./ChatBubbleBottomCenterPlus";
16
16
  export { default as ChatBubbleBottomCenterText } from "./ChatBubbleBottomCenterText";
17
17
  export { default as ChatBubbleLeftRight } from "./ChatBubbleLeftRight";
18
+ export { default as ChatBubbleThought } from "./ChatBubbleThought";
18
19
  export { default as Check } from "./Check";
19
20
  export { default as CheckCircle } from "./CheckCircle";
20
21
  export { default as ChevronDown } from "./ChevronDown";
@@ -47,6 +48,7 @@ export { default as ExclamationCircle } from "./ExclamationCircle";
47
48
  export { default as ExternalLink } from "./ExternalLink";
48
49
  export { default as Eye } from "./Eye";
49
50
  export { default as EyeSlash } from "./EyeSlash";
51
+ export { default as Fire } from "./Fire";
50
52
  export { default as Flag } from "./Flag";
51
53
  export { default as Folder } from "./Folder";
52
54
  export { default as FolderOpen } from "./FolderOpen";
@@ -54,7 +56,6 @@ export { default as Fullscreen } from "./Fullscreen";
54
56
  export { default as FullscreenExit } from "./FullscreenExit";
55
57
  export { default as GlobeAlt } from "./GlobeAlt";
56
58
  export { default as Grab } from "./Grab";
57
- export { default as HandHeart } from "./HandHeart";
58
59
  export { default as HandThumbDown } from "./HandThumbDown";
59
60
  export { default as HandThumbUp } from "./HandThumbUp";
60
61
  export { default as HeartAlt } from "./HeartAlt";
@@ -101,6 +102,7 @@ export { default as Square3Stack3D } from "./Square3Stack3D";
101
102
  export { default as Star } from "./Star";
102
103
  export { default as Stop } from "./Stop";
103
104
  export { default as Table } from "./Table";
105
+ export { default as Tag } from "./Tag";
104
106
  export { default as Template } from "./Template";
105
107
  export { default as TestTube } from "./TestTube";
106
108
  export { default as Time } from "./Time";
@@ -9,7 +9,7 @@ const SvgGpt3 = (props: SVGProps<SVGSVGElement>) => (
9
9
  viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
- <g clipPath="url(#gpt3_svg__a)">
12
+ <g clipPath="url(#Gpt3_svg__a)">
13
13
  <path
14
14
  fill="#6DB9A6"
15
15
  d="M0 4a4 4 0 0 1 4-4h16a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z"
@@ -20,7 +20,7 @@ const SvgGpt3 = (props: SVGProps<SVGSVGElement>) => (
20
20
  />
21
21
  </g>
22
22
  <defs>
23
- <clipPath id="gpt3_svg__a">
23
+ <clipPath id="Gpt3_svg__a">
24
24
  <path fill="#fff" d="M0 0h24v24H0z" />
25
25
  </clipPath>
26
26
  </defs>
@@ -9,7 +9,7 @@ const SvgGpt4 = (props: SVGProps<SVGSVGElement>) => (
9
9
  viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
- <g clipPath="url(#gpt4_svg__a)">
12
+ <g clipPath="url(#Gpt4_svg__a)">
13
13
  <path
14
14
  fill="#A26BF7"
15
15
  d="M0 4a4 4 0 0 1 4-4h16a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z"
@@ -20,7 +20,7 @@ const SvgGpt4 = (props: SVGProps<SVGSVGElement>) => (
20
20
  />
21
21
  </g>
22
22
  <defs>
23
- <clipPath id="gpt4_svg__a">
23
+ <clipPath id="Gpt4_svg__a">
24
24
  <path fill="#fff" d="M0 0h24v24H0z" />
25
25
  </clipPath>
26
26
  </defs>
@@ -19,7 +19,17 @@ export const HoverableExample = () => {
19
19
  alert("Clicked!");
20
20
  }}
21
21
  >
22
- You can hover me.
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>