@crystallize/design-system 0.0.0

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 (48) hide show
  1. package/dist/index.css +926 -0
  2. package/dist/index.d.ts +123 -0
  3. package/dist/index.js +1023 -0
  4. package/dist/index.mjs +981 -0
  5. package/package.json +73 -0
  6. package/src/action-menu/ActionMenu.stories.tsx +23 -0
  7. package/src/action-menu/action-item.tsx +24 -0
  8. package/src/action-menu/action-menu.tsx +37 -0
  9. package/src/action-menu/index.tsx +1 -0
  10. package/src/button/Button.stories.tsx +63 -0
  11. package/src/button/button.tsx +50 -0
  12. package/src/button/index.ts +3 -0
  13. package/src/button copy/ButtonCopy.stories.tsx +86 -0
  14. package/src/button copy/button.tsx +61 -0
  15. package/src/button copy/index.ts +3 -0
  16. package/src/card/card.stories.tsx +24 -0
  17. package/src/card/card.tsx +25 -0
  18. package/src/card/index.ts +1 -0
  19. package/src/colors/Colors.stories.mdx +33 -0
  20. package/src/dialog/Dialog.stories.tsx +165 -0
  21. package/src/dialog/config.tsx +134 -0
  22. package/src/dialog/confirm-dialog.tsx +59 -0
  23. package/src/dialog/destroyFns.ts +1 -0
  24. package/src/dialog/dialog.tsx +85 -0
  25. package/src/dialog/index.tsx +40 -0
  26. package/src/dialog/types.ts +38 -0
  27. package/src/dropdown-menu/DropdownMenu.stories.tsx +47 -0
  28. package/src/dropdown-menu/dropdown-menu-item.tsx +24 -0
  29. package/src/dropdown-menu/dropdown-menu-label.tsx +17 -0
  30. package/src/dropdown-menu/dropdown-menu-root.tsx +20 -0
  31. package/src/dropdown-menu/index.ts +9 -0
  32. package/src/icon-button/IconButton.stories.tsx +35 -0
  33. package/src/icon-button/icon-button.tsx +42 -0
  34. package/src/icon-button/index.ts +3 -0
  35. package/src/icons/Iconography.stories.mdx +45 -0
  36. package/src/icons/arrow.tsx +15 -0
  37. package/src/icons/cancel.tsx +26 -0
  38. package/src/icons/dots.tsx +24 -0
  39. package/src/icons/error.tsx +50 -0
  40. package/src/icons/glasses.tsx +62 -0
  41. package/src/icons/graphQL.tsx +90 -0
  42. package/src/icons/index.ts +21 -0
  43. package/src/icons/info.tsx +53 -0
  44. package/src/icons/nail-polish.tsx +84 -0
  45. package/src/icons/warning.tsx +62 -0
  46. package/src/index.css +3 -0
  47. package/src/index.ts +8 -0
  48. package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,50 @@
1
+ import { forwardRef, SVGProps } from 'react';
2
+
3
+ type ErrorProps = SVGProps<SVGSVGElement>;
4
+ type ErrorRef = SVGSVGElement;
5
+
6
+ export const Error = forwardRef<ErrorRef, ErrorProps>((delegated, ref) => {
7
+ return (
8
+ <svg
9
+ ref={ref}
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ width="22"
12
+ height="22"
13
+ fill="none"
14
+ viewBox="0 0 22 22"
15
+ {...delegated}
16
+ >
17
+ <g clipPath="url(#a)">
18
+ <path
19
+ fill="#DD1367"
20
+ d="M20.83 11c0 5.43-4.4 9.83-9.83 9.83S1.17 16.43 1.17 11 5.57 1.17 11 1.17s9.83 4.4 9.83 9.83Z"
21
+ />
22
+ <path
23
+ fill="#528693"
24
+ fillRule="evenodd"
25
+ d="M21.431 11c0 5.76-4.67 10.43-10.43 10.43C5.238 21.43.568 16.76.568 11S5.24.57 11 .57C16.76.57 21.431 5.24 21.431 11Zm-10.43 9.83c5.429 0 9.83-4.4 9.83-9.83s-4.401-9.83-9.83-9.83c-5.43 0-9.832 4.4-9.832 9.83S5.571 20.83 11 20.83Z"
26
+ clipRule="evenodd"
27
+ />
28
+ <path
29
+ fill="#fff"
30
+ fillRule="evenodd"
31
+ d="m7.364 13.479 1.157 1.157L11 12.158l2.479 2.478 1.157-1.157L12.158 11l2.478-2.479-1.157-1.157-2.48 2.478-2.478-2.478L7.364 8.52 9.842 11l-2.478 2.479Z"
32
+ clipRule="evenodd"
33
+ />
34
+ <path
35
+ fill="#528693"
36
+ fillRule="evenodd"
37
+ d="M6.94 13.903a.6.6 0 0 1 0-.849L8.994 11 6.94 8.946a.6.6 0 0 1 0-.849L8.097 6.94a.6.6 0 0 1 .849 0L11 8.994l2.054-2.054a.6.6 0 0 1 .849 0l1.157 1.157a.6.6 0 0 1 0 .849L13.006 11l2.054 2.054a.6.6 0 0 1 0 .849l-1.157 1.157a.6.6 0 0 1-.849 0L11 13.006 8.946 15.06a.6.6 0 0 1-.849 0L6.94 13.903ZM11 12.158l2.479 2.478 1.157-1.157L12.158 11l2.478-2.479-1.157-1.157L11 9.842 8.521 7.364 7.364 8.52 9.842 11l-2.478 2.479 1.157 1.157L11 12.158Z"
38
+ clipRule="evenodd"
39
+ />
40
+ </g>
41
+ <defs>
42
+ <clipPath id="a">
43
+ <path fill="#fff" d="M0 0h22v22H0z" />
44
+ </clipPath>
45
+ </defs>
46
+ </svg>
47
+ );
48
+ });
49
+
50
+ Error.displayName = 'ErrorIcon';
@@ -0,0 +1,62 @@
1
+ import { forwardRef, SVGProps } from 'react';
2
+
3
+ type GlassesProps = SVGProps<SVGSVGElement>;
4
+ type GlassesRef = SVGSVGElement;
5
+
6
+ export const Glasses = forwardRef<GlassesRef, GlassesProps>((delegated, ref) => {
7
+ return (
8
+ <svg
9
+ ref={ref}
10
+ width="20"
11
+ height="15"
12
+ viewBox="0 0 20 15"
13
+ fill="none"
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ {...delegated}
16
+ >
17
+ <path
18
+ fillRule="evenodd"
19
+ clipRule="evenodd"
20
+ d="M7.4856 2.0673c-.3158-.7572-1.2453-1.0361-1.9258-.578l-3.42 2.3025c-.8613.5798-.7287 1.8856.2315 2.2806l.1216.05.2282-.5549-.1216-.05c-.517-.2127-.5884-.9158-.1246-1.228l3.42-2.3025c.3664-.2467.8669-.0965 1.037.3112l.0748.1795a.3.3 0 0 0 .5537-.231l-.0748-.1795Z"
21
+ fill="#528693"
22
+ />
23
+ <path d="m9.7363 8.289-.2116.453-.906-.4233.2116-.453.906.4234Z" fill="#528793" />
24
+ <path
25
+ d="M4.391 9.9236c1.5958.7593 3.5051.0811 4.2644-1.5148.7593-1.596.081-3.5052-1.5148-4.2644-1.5959-.7593-3.5051-.0811-4.2644 1.5148-.7593 1.5958-.0811 3.505 1.5148 4.2644Z"
26
+ fill="#BFF6F8"
27
+ />
28
+ <path
29
+ d="M3.1883 8.7645a3.2004 3.2004 0 0 1-.3446-.514l5.955-2.1168c.0388.203.0579.4094.0568.6162L3.1883 8.7644Zm4.8102-4.212L2.468 6.517a3.2001 3.2001 0 0 0 .1588 1.2118l6.0129-2.136a3.2002 3.2002 0 0 0-.6412-1.0403Z"
30
+ fill="#fff"
31
+ />
32
+ <path
33
+ fillRule="evenodd"
34
+ clipRule="evenodd"
35
+ d="M4.4255 9.3845c1.4463.6881 3.1766.0735 3.8647-1.3728.688-1.4463.0735-3.1765-1.3728-3.8646-1.4463-.6881-3.1765-.0735-3.8646 1.3728-.6882 1.4462-.0735 3.1765 1.3727 3.8646Zm-.2577.5418c1.7455.8305 3.8337.0887 4.6642-1.6568.8304-1.7455.0887-3.8338-1.6568-4.6642-1.7455-.8305-3.8338-.0887-4.6643 1.6568-.8304 1.7455-.0886 3.8337 1.6569 4.6642Z"
36
+ fill="#528793"
37
+ />
38
+ <path
39
+ d="M11.3275 12.7751c1.5959.7593 3.5051.0811 4.2644-1.5148.7593-1.5959.0811-3.5051-1.5148-4.2644-1.5959-.7593-3.5051-.081-4.2644 1.5148-.7593 1.5959-.0811 3.5052 1.5148 4.2644Z"
40
+ fill="#BFF6F8"
41
+ />
42
+ <path
43
+ d="M10.1248 11.616a3.2048 3.2048 0 0 1-.3446-.5139l5.9551-2.1168c.0388.203.0578.4094.0568.6161l-5.6673 2.0146Zm4.8102-4.212L9.4045 9.3687a3.1998 3.1998 0 0 0 .1588 1.2117l6.0129-2.1358a3.1995 3.1995 0 0 0-.6412-1.0404Z"
44
+ fill="#fff"
45
+ />
46
+ <path
47
+ fillRule="evenodd"
48
+ clipRule="evenodd"
49
+ d="M11.3621 12.2361c1.4462.6881 3.1765.0734 3.8646-1.3728.6881-1.4463.0735-3.1766-1.3728-3.8647-1.4463-.688-3.1765-.0735-3.8646 1.3728-.6881 1.4463-.0735 3.1766 1.3728 3.8647Zm-.2578.5418c1.7455.8304 3.8337.0887 4.6642-1.6568.8305-1.7455.0887-3.8338-1.6568-4.6643-1.7455-.8304-3.8338-.0887-4.6642 1.6568-.8305 1.7455-.0887 3.8338 1.6568 4.6643Z"
50
+ fill="#528793"
51
+ />
52
+ <path
53
+ fillRule="evenodd"
54
+ clipRule="evenodd"
55
+ d="M14.7461 5.0551c.7572-.3158 1.614.14 1.7751.9444l.81 4.0424c.204 1.0181-.809 1.8527-1.7692 1.4577l-.1216-.05.2283-.5549.1216.05c.517.2127 1.0625-.2367.9526-.7849l-.81-4.0424c-.0868-.4331-.5481-.6786-.9558-.5085l-.1794.0748a.3.3 0 0 1-.231-.5538l.1794-.0748Z"
56
+ fill="#528693"
57
+ />
58
+ </svg>
59
+ );
60
+ });
61
+
62
+ Glasses.displayName = 'GlassesIcon';
@@ -0,0 +1,90 @@
1
+ import { forwardRef, SVGProps } from 'react';
2
+
3
+ type GraphQLProps = SVGProps<SVGSVGElement>;
4
+ type GraphQLRef = SVGSVGElement;
5
+
6
+ export const GraphQL = forwardRef<GraphQLRef, GraphQLProps>((delegated, ref) => {
7
+ return (
8
+ <svg
9
+ ref={ref}
10
+ width="23"
11
+ height="22"
12
+ viewBox="0 0 23 22"
13
+ fill="none"
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ {...delegated}
16
+ >
17
+ <path d="M10.479 3.4a1.4 1.4 0 1 1 2.8 0 1.4 1.4 0 1 1-2.8 0Z" fill="#BFF6F8" />
18
+ <path
19
+ fillRule="evenodd"
20
+ clipRule="evenodd"
21
+ d="M11.879 5.4a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-3.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8Z"
22
+ fill="#528693"
23
+ />
24
+ <path d="M10.479 3.4a1.4 1.4 0 1 1 2.8 0 1.4 1.4 0 1 1-2.8 0Z" fill="#BFF6F8" />
25
+ <path
26
+ fillRule="evenodd"
27
+ clipRule="evenodd"
28
+ d="M11.879 5.4a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-3.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8Z"
29
+ fill="#528693"
30
+ />
31
+ <path d="M3.679 7.2a1.4 1.4 0 1 1 2.8 0 1.4 1.4 0 1 1-2.8 0Z" fill="#BFF6F8" />
32
+ <path
33
+ fillRule="evenodd"
34
+ clipRule="evenodd"
35
+ d="M5.079 9.2a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-3.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8Z"
36
+ fill="#528693"
37
+ />
38
+ <path d="M17.279 7.2a1.4 1.4 0 1 1 2.8 0 1.4 1.4 0 1 1-2.8 0Z" fill="#BFF6F8" />
39
+ <path
40
+ fillRule="evenodd"
41
+ clipRule="evenodd"
42
+ d="M18.679 9.2a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-3.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8Z"
43
+ fill="#528693"
44
+ />
45
+ <path d="M3.679 7.2a1.4 1.4 0 1 1 2.8 0 1.4 1.4 0 1 1-2.8 0Z" fill="#BFF6F8" />
46
+ <path
47
+ fillRule="evenodd"
48
+ clipRule="evenodd"
49
+ d="M5.079 9.2a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-3.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8Z"
50
+ fill="#528693"
51
+ />
52
+ <path d="M17.279 7.2a1.4 1.4 0 1 1 2.8 0 1.4 1.4 0 1 1-2.8 0Z" fill="#BFF6F8" />
53
+ <path
54
+ fillRule="evenodd"
55
+ clipRule="evenodd"
56
+ d="M18.679 9.2a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-3.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8Z"
57
+ fill="#528693"
58
+ />
59
+ <path d="M3.679 14.8a1.4 1.4 0 1 1 2.8 0 1.4 1.4 0 1 1-2.8 0Z" fill="#BFF6F8" />
60
+ <path
61
+ fillRule="evenodd"
62
+ clipRule="evenodd"
63
+ d="M5.079 16.8a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-3.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8Z"
64
+ fill="#528693"
65
+ />
66
+ <path d="M17.279 14.8a1.4 1.4 0 1 1 2.8 0 1.4 1.4 0 1 1-2.8 0Z" fill="#fff" />
67
+ <path
68
+ fillRule="evenodd"
69
+ clipRule="evenodd"
70
+ d="M18.679 16.8a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-3.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8Z"
71
+ fill="#528693"
72
+ />
73
+ <path d="M10.479 18.75a1.4 1.4 0 1 1 2.8 0 1.4 1.4 0 1 1-2.8 0Z" fill="#BFF6F8" />
74
+ <path
75
+ fillRule="evenodd"
76
+ clipRule="evenodd"
77
+ d="M11.879 20.75a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-3.4a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8ZM10.44 3.851a.3.3 0 0 1-.112.41l-3.5 2a.3.3 0 0 1-.298-.521l3.5-2a.3.3 0 0 1 .41.111ZM13.419 3.851a.3.3 0 0 0 .111.41l3.5 2a.3.3 0 0 0 .298-.521l-3.5-2a.3.3 0 0 0-.41.111Z"
78
+ fill="#528693"
79
+ />
80
+ <path
81
+ fillRule="evenodd"
82
+ clipRule="evenodd"
83
+ d="M10.44 18.149a.3.3 0 0 0-.112-.41l-3.5-2a.3.3 0 0 0-.298.521l3.5 2a.3.3 0 0 0 .41-.111ZM13.419 18.149a.3.3 0 0 1 .111-.41l3.5-2a.3.3 0 0 1 .298.521l-3.5 2a.3.3 0 0 1-.41-.111ZM5.079 8.7a.3.3 0 0 1 .3.3v4a.3.3 0 1 1-.6 0V9a.3.3 0 0 1 .3-.3ZM18.679 8.7a.3.3 0 0 1 .3.3v4a.3.3 0 1 1-.6 0V9a.3.3 0 0 1 .3-.3ZM11.033 4.743a.3.3 0 0 1 .103.411l-4.8 8a.3.3 0 1 1-.514-.308l4.8-8a.3.3 0 0 1 .411-.103ZM12.725 4.743a.3.3 0 0 0-.103.411l4.8 8a.3.3 0 1 0 .514-.308l-4.8-8a.3.3 0 0 0-.411-.103ZM6.579 14.9a.3.3 0 0 1 .3-.3h10a.3.3 0 0 1 0 .6h-10a.3.3 0 0 1-.3-.3Z"
84
+ fill="#528693"
85
+ />
86
+ </svg>
87
+ );
88
+ });
89
+
90
+ GraphQL.displayName = 'GraphQLIcon';
@@ -0,0 +1,21 @@
1
+ import { Arrow } from './arrow';
2
+ import { Cancel } from './cancel';
3
+ import { Dots } from './dots';
4
+ import { Error } from './error';
5
+ import { Glasses } from './glasses';
6
+ import { GraphQL } from './graphQL';
7
+ import { Info } from './info';
8
+ import { NailPolish } from './nail-polish';
9
+ import { Warning } from './warning';
10
+
11
+ export const Icon = {
12
+ Arrow,
13
+ Cancel,
14
+ Dots,
15
+ Error,
16
+ Glasses,
17
+ GraphQL,
18
+ Info,
19
+ NailPolish,
20
+ Warning,
21
+ };
@@ -0,0 +1,53 @@
1
+ import { forwardRef, SVGProps } from 'react';
2
+
3
+ type InfoProps = SVGProps<SVGSVGElement>;
4
+ type InfoRef = SVGSVGElement;
5
+
6
+ export const Info = forwardRef<InfoRef, InfoProps>((delegated, ref) => {
7
+ return (
8
+ <svg
9
+ ref={ref}
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ width="22"
12
+ height="22"
13
+ fill="none"
14
+ viewBox="0 0 22 22"
15
+ {...delegated}
16
+ >
17
+ <g clipPath="url(#a)">
18
+ <path
19
+ fill="#BFF6F8"
20
+ d="M20.83 11c0 5.43-4.4 9.83-9.83 9.83S1.17 16.43 1.17 11 5.57 1.17 11 1.17s9.83 4.4 9.83 9.83Z"
21
+ />
22
+ <path
23
+ fill="#528693"
24
+ fillRule="evenodd"
25
+ d="M21.431 11c0 5.76-4.67 10.43-10.43 10.43C5.238 21.43.568 16.76.568 11S5.24.57 11 .57C16.76.57 21.431 5.24 21.431 11Zm-10.43 9.83c5.429 0 9.83-4.4 9.83-9.83s-4.401-9.83-9.83-9.83c-5.43 0-9.832 4.4-9.832 9.83S5.571 20.83 11 20.83Z"
26
+ clipRule="evenodd"
27
+ />
28
+ <path fill="#fff" d="M14.814 6.317a.991.991 0 1 1-1.983 0 .991.991 0 0 1 1.983 0Z" />
29
+ <path
30
+ fill="#528693"
31
+ fillRule="evenodd"
32
+ d="M15.415 6.317a1.592 1.592 0 1 1-3.184 0 1.592 1.592 0 0 1 3.184 0Zm-1.592.991a.991.991 0 1 0 0-1.982.991.991 0 0 0 0 1.982Z"
33
+ clipRule="evenodd"
34
+ />
35
+ <path
36
+ fill="#fff"
37
+ d="m9.37 16.049 1.8.26-.22-.7-.78-.621.56-1.14 2.261-3.382-.34-1.381-1.92-1-1.261.14-.28.32 1.08.54.14.54-2.22 2.862-.821 2.36 2 1.202Z"
38
+ />
39
+ <path
40
+ fill="#528693"
41
+ d="M10.476 16.666a4.93 4.93 0 0 1-2.096-.599c-1.114-.605-1.482-1.63-.961-2.673a9.606 9.606 0 0 1 1.437-1.963l.067-.077c.252-.293.513-.595.742-.897.288-.38.538-.745.443-1.031-.056-.164-.215-.282-.485-.362a1.58 1.58 0 0 0-.247-.033l-.055-.004a.984.984 0 0 1-.481-.096c-.169-.132-.098-.51-.013-.676a.915.915 0 0 1 .701-.473c.139-.025.28-.037.42-.035.656.034 1.301.176 1.91.42 1.104.424 1.631 1.263 1.41 2.244a4.193 4.193 0 0 1-.908 1.714c-.128.161-.26.315-.392.471l-.07.083c-.282.32-.544.654-.788 1.003l-.144.206c-.161.209-.291.44-.385.687a.582.582 0 0 0 .32.743.91.91 0 0 0 .32.08c.175.021.356.044.428.21a.575.575 0 0 1-.035.477 1.144 1.144 0 0 1-1.138.581Zm-.877-8.193c.128.079.268.136.414.17.18.04.35.12.494.236.58.552.14 1.272-.318 1.903-.214.292-.47.58-.74.884l-.068.077c-.624.692-1.27 1.408-1.497 2.232a1.148 1.148 0 0 0 .163 1.06c.493.658 1.78.907 2.819.921l.035-.05-.025-.035a1.248 1.248 0 0 1-.865-.594 1.04 1.04 0 0 1 .006-.894 8.071 8.071 0 0 1 1.309-1.977l.127-.155c.171-.21.356-.437.525-.665.371-.501.844-1.245.664-1.915-.315-1.173-2.15-1.209-3.03-1.226h-.057l.044.028Z"
42
+ />
43
+ </g>
44
+ <defs>
45
+ <clipPath id="a">
46
+ <path fill="#fff" d="M0 0h22v22H0z" />
47
+ </clipPath>
48
+ </defs>
49
+ </svg>
50
+ );
51
+ });
52
+
53
+ Info.displayName = 'InfoIcon';
@@ -0,0 +1,84 @@
1
+ import { forwardRef, SVGProps } from 'react';
2
+
3
+ type NailPolishProps = SVGProps<SVGSVGElement>;
4
+ type NailPolishRef = SVGSVGElement;
5
+
6
+ export const NailPolish = forwardRef<NailPolishRef, NailPolishProps>((delegated, ref) => {
7
+ return (
8
+ <svg
9
+ ref={ref}
10
+ width="12"
11
+ height="16"
12
+ viewBox="0 0 12 16"
13
+ fill="none"
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ {...delegated}
16
+ >
17
+ <path
18
+ d="M.8573 9.7059H.4287v-.8824c0-.4873.3838-.8823.8571-.8823h4.2858c.4734 0 .8571.395.8571.8823v.8824h-.4286V15H.8573V9.7059Z"
19
+ fill="#BFF6F8"
20
+ />
21
+ <path
22
+ fillRule="evenodd"
23
+ clipRule="evenodd"
24
+ d="M1.3716 9.1765v5.2941h4.1143V9.1765h.4285v-.353c0-.195-.1535-.353-.3428-.353H1.2858c-.1893 0-.3428.158-.3428.353v.353h.4286ZM6 9.7059h.4286v-.8824c0-.4873-.3837-.8823-.8571-.8823H1.2858c-.4733 0-.857.395-.857.8823v.8824h.4285V15H6V9.7059Z"
25
+ fill="#528693"
26
+ />
27
+ <path
28
+ d="M1.2856 6.6176c0-.4873.3838-.8823.8572-.8823h2.5714c.4734 0 .8572.395.8572.8823v1.7648H1.2856V6.6176Z"
29
+ fill="#BFF6F8"
30
+ />
31
+ <path
32
+ fillRule="evenodd"
33
+ clipRule="evenodd"
34
+ d="M4.7142 6.2647H2.1428c-.1894 0-.3429.158-.3429.353v1.2352h3.2572V6.6176c0-.1949-.1535-.3529-.3429-.3529Zm-2.5714-.5294c-.4734 0-.8572.395-.8572.8823v1.7648h4.2858V6.6176c0-.4873-.3838-.8823-.8572-.8823H2.1428Z"
35
+ fill="#528693"
36
+ />
37
+ <path
38
+ d="M1.7144.6228c0-.344.2708-.6228.605-.6228 1.5594 0 2.8235 1.3013 2.8235 2.9066v3.2699H1.7144V.6228Z"
39
+ fill="#FFCCEC"
40
+ />
41
+ <path
42
+ fillRule="evenodd"
43
+ clipRule="evenodd"
44
+ d="M2.2286 5.647h2.4V2.9067c0-1.3129-1.0338-2.3772-2.3092-2.3772a.0921.0921 0 0 0-.0908.0934v5.0243ZM2.3194 0c-.3342 0-.605.2789-.605.6228v5.5537h3.4285v-3.27C5.143 1.3014 3.8788 0 2.3194 0Z"
45
+ fill="#528693"
46
+ />
47
+ <path
48
+ fillRule="evenodd"
49
+ clipRule="evenodd"
50
+ d="M2.4626 1.9929c-.432-.5148-.5769-1.1307-.5769-1.5517H2.4c0 .3142.1124.8013.4518 1.2056.3313.3947.8997.7355 1.8625.7355v.5295c-1.0943 0-1.8116-.3945-2.2517-.9189Z"
51
+ fill="#528693"
52
+ />
53
+ <path
54
+ d="M4.8708 8.6772c.245-.9414 1.185-1.5 2.0995-1.2478l2.4838.6851c.9145.2523 1.4573 1.22 1.2122 2.1613l-1.2201 4.6876c-.1225.4707-.5925.75-1.0498.6239l-4.1397-1.1418c-.4573-.1262-.7286-.61-.606-1.0807l1.22-4.6876Z"
55
+ fill="#FFCCEC"
56
+ />
57
+ <path
58
+ fillRule="evenodd"
59
+ clipRule="evenodd"
60
+ d="m9.321 8.6259-2.4838-.6851c-.6401-.1766-1.2981.2145-1.4697.8734l-1.2201 4.6876c-.049.1883.0595.3818.2424.4323l4.1397 1.1418c.1829.0505.3709-.0612.42-.2495l1.2201-4.6876c.1715-.659-.2084-1.3363-.8486-1.513ZM6.9703 7.4294c-.9145-.2523-1.8545.3064-2.0995 1.2478l-1.2202 4.6876c-.1225.4707.1489.9545.6061 1.0807l4.1397 1.1418c.4573.1261.9273-.1532 1.0498-.6239l1.2201-4.6876c.2451-.9414-.2977-1.909-1.2122-2.1613l-2.4838-.6851Z"
61
+ fill="#528693"
62
+ />
63
+ <path
64
+ d="M7.9236 3.5069c.1508-.4319.598-.6727 1.0285-.554l.9602.2649c.4306.1188.7009.5575.6217 1.009l-.6114 3.4854c-.0892.508-.581.829-1.0654.6954l-1.5121-.417c-.4844-.1337-.7544-.6649-.5848-1.1507l1.1633-3.333Z"
65
+ fill="#BFF6F8"
66
+ />
67
+ <path
68
+ fillRule="evenodd"
69
+ clipRule="evenodd"
70
+ d="m9.7792 3.7292-.9602-.2649c-.1722-.0475-.351.0488-.4114.2216l-1.1634 3.333c-.0678.1943.0402.4068.234.4603l1.5121.417c.1938.0535.3905-.075.4262-.2781l.6114-3.4853c.0316-.1806-.0765-.3561-.2487-.4036Zm-.827-.7763c-.4307-.1187-.8778.1221-1.0286.554l-1.1633 3.333c-.1696.4858.1004 1.017.5848 1.1506l1.5121.4171c.4844.1336.9762-.1875 1.0654-.6954l.6114-3.4853c.0792-.4516-.1911-.8903-.6217-1.0091l-.9602-.2649Z"
71
+ fill="#528693"
72
+ />
73
+ <path d="m5.8906 9.8713 3.3118.9135-.4437 1.7046-3.3118-.9135.4437-1.7046Z" fill="#fff" />
74
+ <path
75
+ fillRule="evenodd"
76
+ clipRule="evenodd"
77
+ d="m8.5725 11.1592-2.3182-.6395-.1775.6819 2.3182.6394.1775-.6818ZM5.8906 9.8713 5.447 11.576l3.3118.9135.4437-1.7046-3.3118-.9135Z"
78
+ fill="#528693"
79
+ />
80
+ </svg>
81
+ );
82
+ });
83
+
84
+ NailPolish.displayName = 'NailPolishIcon';
@@ -0,0 +1,62 @@
1
+ import { forwardRef, SVGProps } from 'react';
2
+
3
+ type WarningProps = SVGProps<SVGSVGElement>;
4
+ type WarningRef = SVGSVGElement;
5
+
6
+ export const Warning = forwardRef<WarningRef, WarningProps>((delegated, ref) => {
7
+ return (
8
+ <svg
9
+ ref={ref}
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ width="22"
12
+ height="22"
13
+ fill="none"
14
+ viewBox="0 0 22 22"
15
+ {...delegated}
16
+ >
17
+ <g clipPath="url(#a)">
18
+ <path
19
+ fill="#FFDE99"
20
+ d="M20.83 11c0 5.43-4.4 9.83-9.83 9.83S1.17 16.43 1.17 11 5.57 1.17 11 1.17s9.83 4.4 9.83 9.83Z"
21
+ />
22
+ <path
23
+ fill="#528693"
24
+ fillRule="evenodd"
25
+ d="M21.43 11c0 5.76-4.67 10.43-10.43 10.43S.57 16.76.57 11 5.24.57 11 .57 21.43 5.24 21.43 11ZM11 20.83c5.43 0 9.83-4.4 9.83-9.83S16.43 1.17 11 1.17 1.17 5.57 1.17 11s4.4 9.83 9.83 9.83Z"
26
+ clipRule="evenodd"
27
+ />
28
+ <path
29
+ fill="#fff"
30
+ d="M10.077 5.232c.41-.71 1.436-.71 1.846 0L17 14.025c.41.71-.103 1.599-.924 1.599H5.923c-.82 0-1.333-.889-.923-1.6l5.077-8.792Z"
31
+ />
32
+ <path
33
+ fill="#528693"
34
+ fillRule="evenodd"
35
+ d="m16.48 14.325-5.077-8.793a.466.466 0 0 0-.806 0L5.52 14.325c-.18.31.045.699.403.699h10.153a.466.466 0 0 0 .404-.7Zm-4.557-9.093a1.066 1.066 0 0 0-1.846 0L5 14.025c-.41.71.103 1.599.923 1.599h10.153c.821 0 1.334-.889.924-1.6l-5.077-8.792Z"
36
+ clipRule="evenodd"
37
+ />
38
+ <path fill="#FFDE99" d="M10.588 8.628a.5.5 0 1 1 1 0v2.475a.5.5 0 0 1-1 0V8.628Z" />
39
+ <path
40
+ fill="#528693"
41
+ fillRule="evenodd"
42
+ d="M12.188 8.628v2.475a1.1 1.1 0 0 1-2.2 0V8.628a1.1 1.1 0 1 1 2.2 0Zm-1.1-.5a.5.5 0 0 0-.5.5v2.475a.5.5 0 1 0 1 0V8.628a.5.5 0 0 0-.5-.5Z"
43
+ clipRule="evenodd"
44
+ />
45
+ <path fill="#FFDE99" d="M11.588 13.403a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z" />
46
+ <path
47
+ fill="#528693"
48
+ fillRule="evenodd"
49
+ d="M12.188 13.403a1.1 1.1 0 1 1-2.2 0 1.1 1.1 0 0 1 2.2 0Zm-1.1.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"
50
+ clipRule="evenodd"
51
+ />
52
+ </g>
53
+ <defs>
54
+ <clipPath id="a">
55
+ <path fill="#fff" d="M0 0h22v22H0z" />
56
+ </clipPath>
57
+ </defs>
58
+ </svg>
59
+ );
60
+ });
61
+
62
+ Warning.displayName = 'WarningIcon';
package/src/index.css ADDED
@@ -0,0 +1,3 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
package/src/index.ts ADDED
@@ -0,0 +1,8 @@
1
+ import './index.css';
2
+
3
+ // Components ---
4
+
5
+ export * from './action-menu';
6
+ export * from './button';
7
+ export * from './dialog';
8
+ export * from './dropdown-menu';
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />