chromia 0.0.24 → 0.0.26

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 (120) hide show
  1. package/README.md +1 -1
  2. package/dist/icons/AddImageIcon.svelte +74 -74
  3. package/dist/icons/AddImageIcon.svelte.d.ts +22 -22
  4. package/dist/icons/AddSquareIcon.svelte +60 -60
  5. package/dist/icons/AddSquareIcon.svelte.d.ts +22 -22
  6. package/dist/icons/AlertCircleIcon.svelte +60 -60
  7. package/dist/icons/AlertCircleIcon.svelte.d.ts +22 -22
  8. package/dist/icons/AnnotationXIcon.svelte +58 -58
  9. package/dist/icons/AnnotationXIcon.svelte.d.ts +22 -22
  10. package/dist/icons/ArrowCalendarIcon.svelte +60 -60
  11. package/dist/icons/ArrowCalendarIcon.svelte.d.ts +22 -22
  12. package/dist/icons/ArrowLeftIcon.svelte +60 -60
  13. package/dist/icons/ArrowLeftIcon.svelte.d.ts +22 -22
  14. package/dist/icons/ArrowSwitchIcon.svelte +60 -60
  15. package/dist/icons/ArrowSwitchIcon.svelte.d.ts +22 -22
  16. package/dist/icons/ArrowUpIcon.svelte +60 -60
  17. package/dist/icons/ArrowUpIcon.svelte.d.ts +22 -22
  18. package/dist/icons/BellIcon.svelte +58 -58
  19. package/dist/icons/BellIcon.svelte.d.ts +22 -22
  20. package/dist/icons/BezierIcon.svelte +60 -60
  21. package/dist/icons/BezierIcon.svelte.d.ts +22 -22
  22. package/dist/icons/BoxIcon.svelte +51 -51
  23. package/dist/icons/BoxIcon.svelte.d.ts +24 -24
  24. package/dist/icons/BrandIcon.svelte +58 -58
  25. package/dist/icons/CalendarIcon.svelte +60 -60
  26. package/dist/icons/CalendarIcon.svelte.d.ts +22 -22
  27. package/dist/icons/CameraIcon.svelte +60 -60
  28. package/dist/icons/CameraIcon.svelte.d.ts +22 -22
  29. package/dist/icons/CategoryIcon.svelte +58 -58
  30. package/dist/icons/CertificateIcon.svelte +55 -55
  31. package/dist/icons/CertificateIcon.svelte.d.ts +22 -22
  32. package/dist/icons/ChartTrendUp.svelte +59 -59
  33. package/dist/icons/CheckCircleIcon.svelte +60 -60
  34. package/dist/icons/CheckCircleIcon.svelte.d.ts +22 -22
  35. package/dist/icons/CheckIcon.svelte +60 -60
  36. package/dist/icons/CheckIcon.svelte.d.ts +22 -22
  37. package/dist/icons/ChevronDownIcon.svelte +60 -60
  38. package/dist/icons/ChevronDownIcon.svelte.d.ts +22 -22
  39. package/dist/icons/ChevronUpIcon.svelte +60 -60
  40. package/dist/icons/ChevronUpIcon.svelte.d.ts +22 -22
  41. package/dist/icons/ClockIcon.svelte +60 -60
  42. package/dist/icons/ClockIcon.svelte.d.ts +22 -22
  43. package/dist/icons/CloseIcon.svelte +60 -60
  44. package/dist/icons/CloseIcon.svelte.d.ts +22 -22
  45. package/dist/icons/CollectionIcon.svelte +58 -58
  46. package/dist/icons/CollectionIcon.svelte.d.ts +22 -22
  47. package/dist/icons/ColumnHorizontal.svelte +76 -76
  48. package/dist/icons/CopyIcon.svelte +60 -60
  49. package/dist/icons/CopyIcon.svelte.d.ts +22 -22
  50. package/dist/icons/CrownIcon.svelte +72 -72
  51. package/dist/icons/DarkIcon.svelte +58 -58
  52. package/dist/icons/DownloadCloudIcon.svelte +58 -58
  53. package/dist/icons/DownloadIcon.svelte +58 -58
  54. package/dist/icons/EditIcon.svelte +60 -60
  55. package/dist/icons/EditIcon.svelte.d.ts +22 -22
  56. package/dist/icons/EyeClosedIcon.svelte +60 -60
  57. package/dist/icons/EyeOpenIcon.svelte +60 -60
  58. package/dist/icons/FavoriteIcon.svelte +60 -60
  59. package/dist/icons/FavoriteIcon.svelte.d.ts +22 -22
  60. package/dist/icons/FilterIcon.svelte +60 -60
  61. package/dist/icons/FilterIcon.svelte.d.ts +22 -22
  62. package/dist/icons/FlameIcon.svelte +60 -60
  63. package/dist/icons/FlameIcon.svelte.d.ts +22 -22
  64. package/dist/icons/FlipLeftIcon.svelte +58 -58
  65. package/dist/icons/FolderIcon.svelte +60 -60
  66. package/dist/icons/FolderIcon.svelte.d.ts +22 -22
  67. package/dist/icons/FolderPlusIcon.svelte +60 -60
  68. package/dist/icons/FolderPlusIcon.svelte.d.ts +22 -22
  69. package/dist/icons/GridIcon.svelte +106 -106
  70. package/dist/icons/GridIcon.svelte.d.ts +22 -22
  71. package/dist/icons/HeartIcon.svelte +55 -55
  72. package/dist/icons/HomeIcon.svelte +60 -60
  73. package/dist/icons/HourglassIcon.svelte +60 -60
  74. package/dist/icons/HourglassIcon.svelte.d.ts +22 -22
  75. package/dist/icons/Icon.svelte +60 -60
  76. package/dist/icons/LightBulb01Icon.svelte +51 -51
  77. package/dist/icons/LightBulb01Icon.svelte.d.ts +24 -24
  78. package/dist/icons/LightIcon.svelte +58 -58
  79. package/dist/icons/LockIcon.svelte +60 -60
  80. package/dist/icons/LockIcon.svelte.d.ts +22 -22
  81. package/dist/icons/LogoutIcon.svelte +60 -60
  82. package/dist/icons/LogoutIcon.svelte.d.ts +22 -22
  83. package/dist/icons/MaterialIcon.svelte +74 -74
  84. package/dist/icons/MenuIcon.svelte +90 -90
  85. package/dist/icons/MenuIcon.svelte.d.ts +22 -22
  86. package/dist/icons/NoFolder.svelte +74 -74
  87. package/dist/icons/NoFolder.svelte.d.ts +22 -22
  88. package/dist/icons/NotificationIcon.svelte +60 -60
  89. package/dist/icons/NotificationIcon.svelte.d.ts +22 -22
  90. package/dist/icons/OverlapIcon.svelte +60 -60
  91. package/dist/icons/OverlapIcon.svelte.d.ts +22 -22
  92. package/dist/icons/PinIcon.svelte +56 -56
  93. package/dist/icons/PlayIcon.svelte +58 -58
  94. package/dist/icons/ReloadIcon.svelte +58 -58
  95. package/dist/icons/ReportIcon.svelte +56 -56
  96. package/dist/icons/SearchIcon.svelte +60 -60
  97. package/dist/icons/SearchIcon.svelte.d.ts +22 -22
  98. package/dist/icons/SendIcon.svelte +60 -60
  99. package/dist/icons/SendIcon.svelte.d.ts +22 -22
  100. package/dist/icons/SettingsIcon.svelte +66 -66
  101. package/dist/icons/StarIcon.svelte +72 -72
  102. package/dist/icons/TeamUserIcon.svelte +60 -60
  103. package/dist/icons/TeamUserIcon.svelte.d.ts +22 -22
  104. package/dist/icons/TextureIcon.svelte +58 -58
  105. package/dist/icons/TrashIcon.svelte +60 -60
  106. package/dist/icons/TrashIcon.svelte.d.ts +22 -22
  107. package/dist/icons/TrendUpIcon.svelte +58 -58
  108. package/dist/icons/UpgradeIcon.svelte +56 -56
  109. package/dist/icons/UploadIcon.svelte +60 -60
  110. package/dist/icons/UploadIcon.svelte.d.ts +22 -22
  111. package/dist/icons/UserProfileIcon.svelte +61 -61
  112. package/dist/icons/UserProfileIcon.svelte.d.ts +22 -22
  113. package/dist/icons/ViewModeIcon.svelte +54 -54
  114. package/dist/icons/ZoomIcon.svelte +54 -54
  115. package/dist/icons/ZoomIcon.svelte.d.ts +27 -22
  116. package/dist/icons/ZoomSliderIcon.svelte +71 -0
  117. package/dist/icons/ZoomSliderIcon.svelte.d.ts +27 -0
  118. package/dist/index.d.ts +6 -5
  119. package/dist/index.js +6 -5
  120. package/package.json +47 -47
package/README.md CHANGED
@@ -1 +1 @@
1
- <img src="/assets/documentation.png">
1
+ <img src="/assets/documentation.png">
@@ -19,77 +19,77 @@ const getGradientDirection = (direction) => {
19
19
  return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
20
20
  }
21
21
  };
22
- </script>
23
-
24
- {#if gradient.colors[1] !== ""}
25
- <svg
26
- xmlns="http://www.w3.org/2000/svg"
27
- style="width: {size}; height: {size};"
28
- viewBox="0 0 20 20"
29
- fill="none"
30
- >
31
- <g id="id_AddImage">
32
- <path
33
- d="M7.08582 6.91424C7.08582 7.74267 6.41424 8.41424 5.58582 8.41424C4.75739 8.41424 4.08582 7.74267 4.08582 6.91424C4.08582 6.08582 4.75739 5.41424 5.58582 5.41424C6.41424 5.41424 7.08582 6.08582 7.08582 6.91424Z"
34
- id="icon_AddImage"
35
- stroke="url(#grad-AddImage)"
36
- stroke-width={weight}
37
- stroke-linecap="round"
38
- stroke-linejoin="round"
39
- />
40
- <path
41
- d="M4.08582 18.4142L11.1729 11.7441C11.9601 11.0032 13.1935 11.0219 13.9578 11.7862L16.5858 14.4142M4.08582 18.4142H14.0858C15.7427 18.4142 17.0858 17.0711 17.0858 15.4142V10.4142M4.08582 18.4142C2.42896 18.4142 1.08582 17.0711 1.08582 15.4142V5.41424C1.08582 3.75739 2.42896 2.41424 4.08582 2.41424H10.5858M16.0858 7.24267L16.0858 4.41424M16.0858 4.41424L16.0858 1.58582M16.0858 4.41424L13.2574 4.41424M16.0858 4.41424L18.9142 4.41424M7.08582 6.91424C7.08582 7.74267 6.41424 8.41424 5.58582 8.41424C4.75739 8.41424 4.08582 7.74267 4.08582 6.91424C4.08582 6.08582 4.75739 5.41424 5.58582 5.41424C6.41424 5.41424 7.08582 6.08582 7.08582 6.91424Z"
42
- id="icon_AddImage"
43
- stroke="url(#grad-AddImage)"
44
- stroke-width={weight}
45
- stroke-linecap="round"
46
- stroke-linejoin="round"
47
- />
48
- </g>
49
-
50
- <defs>
51
- <linearGradient
52
- id="grad-AddImage"
53
- x1={getGradientDirection(gradient.direction).x1}
54
- y1={getGradientDirection(gradient.direction).y1}
55
- x2={getGradientDirection(gradient.direction).x2}
56
- y2={getGradientDirection(gradient.direction).y2}
57
- >
58
- <stop
59
- offset="0%"
60
- style="stop-color:{gradient.colors[0]};stop-opacity:1"
61
- />
62
- <stop
63
- offset="100%"
64
- style="stop-color:{gradient.colors[1]};stop-opacity:1"
65
- />
66
- </linearGradient>
67
- </defs>
68
- </svg>
69
- {:else}
70
- <svg
71
- xmlns="http://www.w3.org/2000/svg"
72
- style="width: {size}; height: {size};"
73
- viewBox="0 0 20 20"
74
- fill="none"
75
- >
76
- <g id="id_AddImage">
77
- <path
78
- d="M7.08582 6.91424C7.08582 7.74267 6.41424 8.41424 5.58582 8.41424C4.75739 8.41424 4.08582 7.74267 4.08582 6.91424C4.08582 6.08582 4.75739 5.41424 5.58582 5.41424C6.41424 5.41424 7.08582 6.08582 7.08582 6.91424Z"
79
- id="icon_AddImage"
80
- stroke={color}
81
- stroke-width={weight}
82
- stroke-linecap="round"
83
- stroke-linejoin="round"
84
- />
85
- <path
86
- d="M4.08582 18.4142L11.1729 11.7441C11.9601 11.0032 13.1935 11.0219 13.9578 11.7862L16.5858 14.4142M4.08582 18.4142H14.0858C15.7427 18.4142 17.0858 17.0711 17.0858 15.4142V10.4142M4.08582 18.4142C2.42896 18.4142 1.08582 17.0711 1.08582 15.4142V5.41424C1.08582 3.75739 2.42896 2.41424 4.08582 2.41424H10.5858M16.0858 7.24267L16.0858 4.41424M16.0858 4.41424L16.0858 1.58582M16.0858 4.41424L13.2574 4.41424M16.0858 4.41424L18.9142 4.41424M7.08582 6.91424C7.08582 7.74267 6.41424 8.41424 5.58582 8.41424C4.75739 8.41424 4.08582 7.74267 4.08582 6.91424C4.08582 6.08582 4.75739 5.41424 5.58582 5.41424C6.41424 5.41424 7.08582 6.08582 7.08582 6.91424Z"
87
- id="icon_AddImage"
88
- stroke={color}
89
- stroke-width={weight}
90
- stroke-linecap="round"
91
- stroke-linejoin="round"
92
- />
93
- </g>
94
- </svg>
95
- {/if}
22
+ </script>
23
+
24
+ {#if gradient.colors[1] !== ""}
25
+ <svg
26
+ xmlns="http://www.w3.org/2000/svg"
27
+ style="width: {size}; height: {size};"
28
+ viewBox="0 0 20 20"
29
+ fill="none"
30
+ >
31
+ <g id="id_AddImage">
32
+ <path
33
+ d="M7.08582 6.91424C7.08582 7.74267 6.41424 8.41424 5.58582 8.41424C4.75739 8.41424 4.08582 7.74267 4.08582 6.91424C4.08582 6.08582 4.75739 5.41424 5.58582 5.41424C6.41424 5.41424 7.08582 6.08582 7.08582 6.91424Z"
34
+ id="icon_AddImage"
35
+ stroke="url(#grad-AddImage)"
36
+ stroke-width={weight}
37
+ stroke-linecap="round"
38
+ stroke-linejoin="round"
39
+ />
40
+ <path
41
+ d="M4.08582 18.4142L11.1729 11.7441C11.9601 11.0032 13.1935 11.0219 13.9578 11.7862L16.5858 14.4142M4.08582 18.4142H14.0858C15.7427 18.4142 17.0858 17.0711 17.0858 15.4142V10.4142M4.08582 18.4142C2.42896 18.4142 1.08582 17.0711 1.08582 15.4142V5.41424C1.08582 3.75739 2.42896 2.41424 4.08582 2.41424H10.5858M16.0858 7.24267L16.0858 4.41424M16.0858 4.41424L16.0858 1.58582M16.0858 4.41424L13.2574 4.41424M16.0858 4.41424L18.9142 4.41424M7.08582 6.91424C7.08582 7.74267 6.41424 8.41424 5.58582 8.41424C4.75739 8.41424 4.08582 7.74267 4.08582 6.91424C4.08582 6.08582 4.75739 5.41424 5.58582 5.41424C6.41424 5.41424 7.08582 6.08582 7.08582 6.91424Z"
42
+ id="icon_AddImage"
43
+ stroke="url(#grad-AddImage)"
44
+ stroke-width={weight}
45
+ stroke-linecap="round"
46
+ stroke-linejoin="round"
47
+ />
48
+ </g>
49
+
50
+ <defs>
51
+ <linearGradient
52
+ id="grad-AddImage"
53
+ x1={getGradientDirection(gradient.direction).x1}
54
+ y1={getGradientDirection(gradient.direction).y1}
55
+ x2={getGradientDirection(gradient.direction).x2}
56
+ y2={getGradientDirection(gradient.direction).y2}
57
+ >
58
+ <stop
59
+ offset="0%"
60
+ style="stop-color:{gradient.colors[0]};stop-opacity:1"
61
+ />
62
+ <stop
63
+ offset="100%"
64
+ style="stop-color:{gradient.colors[1]};stop-opacity:1"
65
+ />
66
+ </linearGradient>
67
+ </defs>
68
+ </svg>
69
+ {:else}
70
+ <svg
71
+ xmlns="http://www.w3.org/2000/svg"
72
+ style="width: {size}; height: {size};"
73
+ viewBox="0 0 20 20"
74
+ fill="none"
75
+ >
76
+ <g id="id_AddImage">
77
+ <path
78
+ d="M7.08582 6.91424C7.08582 7.74267 6.41424 8.41424 5.58582 8.41424C4.75739 8.41424 4.08582 7.74267 4.08582 6.91424C4.08582 6.08582 4.75739 5.41424 5.58582 5.41424C6.41424 5.41424 7.08582 6.08582 7.08582 6.91424Z"
79
+ id="icon_AddImage"
80
+ stroke={color}
81
+ stroke-width={weight}
82
+ stroke-linecap="round"
83
+ stroke-linejoin="round"
84
+ />
85
+ <path
86
+ d="M4.08582 18.4142L11.1729 11.7441C11.9601 11.0032 13.1935 11.0219 13.9578 11.7862L16.5858 14.4142M4.08582 18.4142H14.0858C15.7427 18.4142 17.0858 17.0711 17.0858 15.4142V10.4142M4.08582 18.4142C2.42896 18.4142 1.08582 17.0711 1.08582 15.4142V5.41424C1.08582 3.75739 2.42896 2.41424 4.08582 2.41424H10.5858M16.0858 7.24267L16.0858 4.41424M16.0858 4.41424L16.0858 1.58582M16.0858 4.41424L13.2574 4.41424M16.0858 4.41424L18.9142 4.41424M7.08582 6.91424C7.08582 7.74267 6.41424 8.41424 5.58582 8.41424C4.75739 8.41424 4.08582 7.74267 4.08582 6.91424C4.08582 6.08582 4.75739 5.41424 5.58582 5.41424C6.41424 5.41424 7.08582 6.08582 7.08582 6.91424Z"
87
+ id="icon_AddImage"
88
+ stroke={color}
89
+ stroke-width={weight}
90
+ stroke-linecap="round"
91
+ stroke-linejoin="round"
92
+ />
93
+ </g>
94
+ </svg>
95
+ {/if}
@@ -1,22 +1,22 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- color?: string | undefined;
5
- gradient?: {
6
- colors: [string, string];
7
- direction: "top" | "right" | "bottom" | "left";
8
- } | undefined;
9
- size?: string | undefined;
10
- weight?: number | undefined;
11
- };
12
- events: {
13
- [evt: string]: CustomEvent<any>;
14
- };
15
- slots: {};
16
- };
17
- export type AddImageIconProps = typeof __propDef.props;
18
- export type AddImageIconEvents = typeof __propDef.events;
19
- export type AddImageIconSlots = typeof __propDef.slots;
20
- export default class AddImageIcon extends SvelteComponent<AddImageIconProps, AddImageIconEvents, AddImageIconSlots> {
21
- }
22
- export {};
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ color?: string | undefined;
5
+ gradient?: {
6
+ colors: [string, string];
7
+ direction: "top" | "right" | "bottom" | "left";
8
+ } | undefined;
9
+ size?: string | undefined;
10
+ weight?: number | undefined;
11
+ };
12
+ events: {
13
+ [evt: string]: CustomEvent<any>;
14
+ };
15
+ slots: {};
16
+ };
17
+ export type AddImageIconProps = typeof __propDef.props;
18
+ export type AddImageIconEvents = typeof __propDef.events;
19
+ export type AddImageIconSlots = typeof __propDef.slots;
20
+ export default class AddImageIcon extends SvelteComponent<AddImageIconProps, AddImageIconEvents, AddImageIconSlots> {
21
+ }
22
+ export {};
@@ -1,4 +1,4 @@
1
-
1
+
2
2
  <script>export let color = "#000";
3
3
  export let gradient = {
4
4
  colors: ["", ""],
@@ -20,63 +20,63 @@ const getGradientDirection = (direction) => {
20
20
  return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
21
21
  }
22
22
  };
23
- </script>
24
-
25
- {#if gradient.colors[1] !== ""}
26
- <svg
27
- xmlns="http://www.w3.org/2000/svg"
28
- style="width: {size}; height: {size};"
29
- viewBox="0 0 12 12"
30
- fill="none"
31
- >
32
- <g id="id_AddSquare">
33
- <path
34
- id="icon_AddSquare"
35
- d="M5.99995 3.59995L5.99995 5.99995M5.99995 5.99995V8.39995M5.99995 5.99995H8.39995M5.99995 5.99995H3.59995M10.8 2.99995L10.8 9.00001C10.7999 9.99412 9.99406 10.8 8.99995 10.8H2.99995C2.00584 10.8 1.19995 9.99412 1.19995 9.00001V2.99995C1.19995 2.00584 2.00584 1.19995 2.99995 1.19995H8.99995C9.99406 1.19995 10.8 2.00584 10.8 2.99995Z"
36
- stroke="url(#grad-AddSquare)"
37
- stroke-width={weight}
38
- stroke-linecap="round"
39
- stroke-linejoin="round"
40
- />
41
- </g>
42
-
43
- <defs>
44
- <linearGradient
45
- id="grad-AddSquare"
46
- x1={getGradientDirection(gradient.direction).x1}
47
- y1={getGradientDirection(gradient.direction).y1}
48
- x2={getGradientDirection(gradient.direction).x2}
49
- y2={getGradientDirection(gradient.direction).y2}
50
- >
51
- <stop
52
- offset="0%"
53
- style="stop-color:{gradient.colors[0]};stop-opacity:1"
54
- />
55
- <stop
56
- offset="100%"
57
- style="stop-color:{gradient.colors[1]};stop-opacity:1"
58
- />
59
- </linearGradient>
60
- </defs>
61
- </svg>
62
- {:else}
63
- <svg
64
- xmlns="http://www.w3.org/2000/svg"
65
- style="width: {size}; height: {size};"
66
- viewBox="0 0 12 12"
67
- fill="none"
68
- >
69
- <g id="id_AddSquare">
70
- <path
71
- id="icon_AddSquare"
72
- d="M5.99995 3.59995L5.99995 5.99995M5.99995 5.99995V8.39995M5.99995 5.99995H8.39995M5.99995 5.99995H3.59995M10.8 2.99995L10.8 9.00001C10.7999 9.99412 9.99406 10.8 8.99995 10.8H2.99995C2.00584 10.8 1.19995 9.99412 1.19995 9.00001V2.99995C1.19995 2.00584 2.00584 1.19995 2.99995 1.19995H8.99995C9.99406 1.19995 10.8 2.00584 10.8 2.99995Z"
73
- stroke={color}
74
- stroke-width={weight}
75
- stroke-linecap="round"
76
- stroke-linejoin="round"
77
- />
78
- </g>
79
- </svg>
80
- {/if}
81
-
23
+ </script>
24
+
25
+ {#if gradient.colors[1] !== ""}
26
+ <svg
27
+ xmlns="http://www.w3.org/2000/svg"
28
+ style="width: {size}; height: {size};"
29
+ viewBox="0 0 12 12"
30
+ fill="none"
31
+ >
32
+ <g id="id_AddSquare">
33
+ <path
34
+ id="icon_AddSquare"
35
+ d="M5.99995 3.59995L5.99995 5.99995M5.99995 5.99995V8.39995M5.99995 5.99995H8.39995M5.99995 5.99995H3.59995M10.8 2.99995L10.8 9.00001C10.7999 9.99412 9.99406 10.8 8.99995 10.8H2.99995C2.00584 10.8 1.19995 9.99412 1.19995 9.00001V2.99995C1.19995 2.00584 2.00584 1.19995 2.99995 1.19995H8.99995C9.99406 1.19995 10.8 2.00584 10.8 2.99995Z"
36
+ stroke="url(#grad-AddSquare)"
37
+ stroke-width={weight}
38
+ stroke-linecap="round"
39
+ stroke-linejoin="round"
40
+ />
41
+ </g>
42
+
43
+ <defs>
44
+ <linearGradient
45
+ id="grad-AddSquare"
46
+ x1={getGradientDirection(gradient.direction).x1}
47
+ y1={getGradientDirection(gradient.direction).y1}
48
+ x2={getGradientDirection(gradient.direction).x2}
49
+ y2={getGradientDirection(gradient.direction).y2}
50
+ >
51
+ <stop
52
+ offset="0%"
53
+ style="stop-color:{gradient.colors[0]};stop-opacity:1"
54
+ />
55
+ <stop
56
+ offset="100%"
57
+ style="stop-color:{gradient.colors[1]};stop-opacity:1"
58
+ />
59
+ </linearGradient>
60
+ </defs>
61
+ </svg>
62
+ {:else}
63
+ <svg
64
+ xmlns="http://www.w3.org/2000/svg"
65
+ style="width: {size}; height: {size};"
66
+ viewBox="0 0 12 12"
67
+ fill="none"
68
+ >
69
+ <g id="id_AddSquare">
70
+ <path
71
+ id="icon_AddSquare"
72
+ d="M5.99995 3.59995L5.99995 5.99995M5.99995 5.99995V8.39995M5.99995 5.99995H8.39995M5.99995 5.99995H3.59995M10.8 2.99995L10.8 9.00001C10.7999 9.99412 9.99406 10.8 8.99995 10.8H2.99995C2.00584 10.8 1.19995 9.99412 1.19995 9.00001V2.99995C1.19995 2.00584 2.00584 1.19995 2.99995 1.19995H8.99995C9.99406 1.19995 10.8 2.00584 10.8 2.99995Z"
73
+ stroke={color}
74
+ stroke-width={weight}
75
+ stroke-linecap="round"
76
+ stroke-linejoin="round"
77
+ />
78
+ </g>
79
+ </svg>
80
+ {/if}
81
+
82
82
 
@@ -1,22 +1,22 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- color?: string | undefined;
5
- gradient?: {
6
- colors: [string, string];
7
- direction: "top" | "right" | "bottom" | "left";
8
- } | undefined;
9
- size?: string | undefined;
10
- weight?: number | undefined;
11
- };
12
- events: {
13
- [evt: string]: CustomEvent<any>;
14
- };
15
- slots: {};
16
- };
17
- export type AddSquareIconProps = typeof __propDef.props;
18
- export type AddSquareIconEvents = typeof __propDef.events;
19
- export type AddSquareIconSlots = typeof __propDef.slots;
20
- export default class AddSquareIcon extends SvelteComponent<AddSquareIconProps, AddSquareIconEvents, AddSquareIconSlots> {
21
- }
22
- export {};
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ color?: string | undefined;
5
+ gradient?: {
6
+ colors: [string, string];
7
+ direction: "top" | "right" | "bottom" | "left";
8
+ } | undefined;
9
+ size?: string | undefined;
10
+ weight?: number | undefined;
11
+ };
12
+ events: {
13
+ [evt: string]: CustomEvent<any>;
14
+ };
15
+ slots: {};
16
+ };
17
+ export type AddSquareIconProps = typeof __propDef.props;
18
+ export type AddSquareIconEvents = typeof __propDef.events;
19
+ export type AddSquareIconSlots = typeof __propDef.slots;
20
+ export default class AddSquareIcon extends SvelteComponent<AddSquareIconProps, AddSquareIconEvents, AddSquareIconSlots> {
21
+ }
22
+ export {};
@@ -1,4 +1,4 @@
1
-
1
+
2
2
  <script>export let color = "#000";
3
3
  export let gradient = {
4
4
  colors: ["", ""],
@@ -20,63 +20,63 @@ const getGradientDirection = (direction) => {
20
20
  return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
21
21
  }
22
22
  };
23
- </script>
24
-
25
- {#if gradient.colors[1] !== ""}
26
- <svg
27
- xmlns="http://www.w3.org/2000/svg"
28
- style="width: {size}; height: {size};"
29
- viewBox="0 0 16 16"
30
- fill="none"
31
- >
32
- <g id="id_AlertCircle">
33
- <path
34
- id="icon_AlertCircle"
35
- d="M8.00001 8V4.8M8.00001 10.3719V10.4M14.4 8C14.4 11.5346 11.5346 14.4 8.00001 14.4C4.46538 14.4 1.60001 11.5346 1.60001 8C1.60001 4.46538 4.46538 1.6 8.00001 1.6C11.5346 1.6 14.4 4.46538 14.4 8Z"
36
- stroke="url(#grad-AlertCircle)"
37
- stroke-width={weight}
38
- stroke-linecap="round"
39
- stroke-linejoin="round"
40
- />
41
- </g>
42
-
43
- <defs>
44
- <linearGradient
45
- id="grad-AlertCircle"
46
- x1={getGradientDirection(gradient.direction).x1}
47
- y1={getGradientDirection(gradient.direction).y1}
48
- x2={getGradientDirection(gradient.direction).x2}
49
- y2={getGradientDirection(gradient.direction).y2}
50
- >
51
- <stop
52
- offset="0%"
53
- style="stop-color:{gradient.colors[0]};stop-opacity:1"
54
- />
55
- <stop
56
- offset="100%"
57
- style="stop-color:{gradient.colors[1]};stop-opacity:1"
58
- />
59
- </linearGradient>
60
- </defs>
61
- </svg>
62
- {:else}
63
- <svg
64
- xmlns="http://www.w3.org/2000/svg"
65
- style="width: {size}; height: {size};"
66
- viewBox="0 0 16 16"
67
- fill="none"
68
- >
69
- <g id="id_AlertCircle">
70
- <path
71
- id="icon_AlertCircle"
72
- d="M8.00001 8V4.8M8.00001 10.3719V10.4M14.4 8C14.4 11.5346 11.5346 14.4 8.00001 14.4C4.46538 14.4 1.60001 11.5346 1.60001 8C1.60001 4.46538 4.46538 1.6 8.00001 1.6C11.5346 1.6 14.4 4.46538 14.4 8Z"
73
- stroke={color}
74
- stroke-width={weight}
75
- stroke-linecap="round"
76
- stroke-linejoin="round"
77
- />
78
- </g>
79
- </svg>
80
- {/if}
81
-
23
+ </script>
24
+
25
+ {#if gradient.colors[1] !== ""}
26
+ <svg
27
+ xmlns="http://www.w3.org/2000/svg"
28
+ style="width: {size}; height: {size};"
29
+ viewBox="0 0 16 16"
30
+ fill="none"
31
+ >
32
+ <g id="id_AlertCircle">
33
+ <path
34
+ id="icon_AlertCircle"
35
+ d="M8.00001 8V4.8M8.00001 10.3719V10.4M14.4 8C14.4 11.5346 11.5346 14.4 8.00001 14.4C4.46538 14.4 1.60001 11.5346 1.60001 8C1.60001 4.46538 4.46538 1.6 8.00001 1.6C11.5346 1.6 14.4 4.46538 14.4 8Z"
36
+ stroke="url(#grad-AlertCircle)"
37
+ stroke-width={weight}
38
+ stroke-linecap="round"
39
+ stroke-linejoin="round"
40
+ />
41
+ </g>
42
+
43
+ <defs>
44
+ <linearGradient
45
+ id="grad-AlertCircle"
46
+ x1={getGradientDirection(gradient.direction).x1}
47
+ y1={getGradientDirection(gradient.direction).y1}
48
+ x2={getGradientDirection(gradient.direction).x2}
49
+ y2={getGradientDirection(gradient.direction).y2}
50
+ >
51
+ <stop
52
+ offset="0%"
53
+ style="stop-color:{gradient.colors[0]};stop-opacity:1"
54
+ />
55
+ <stop
56
+ offset="100%"
57
+ style="stop-color:{gradient.colors[1]};stop-opacity:1"
58
+ />
59
+ </linearGradient>
60
+ </defs>
61
+ </svg>
62
+ {:else}
63
+ <svg
64
+ xmlns="http://www.w3.org/2000/svg"
65
+ style="width: {size}; height: {size};"
66
+ viewBox="0 0 16 16"
67
+ fill="none"
68
+ >
69
+ <g id="id_AlertCircle">
70
+ <path
71
+ id="icon_AlertCircle"
72
+ d="M8.00001 8V4.8M8.00001 10.3719V10.4M14.4 8C14.4 11.5346 11.5346 14.4 8.00001 14.4C4.46538 14.4 1.60001 11.5346 1.60001 8C1.60001 4.46538 4.46538 1.6 8.00001 1.6C11.5346 1.6 14.4 4.46538 14.4 8Z"
73
+ stroke={color}
74
+ stroke-width={weight}
75
+ stroke-linecap="round"
76
+ stroke-linejoin="round"
77
+ />
78
+ </g>
79
+ </svg>
80
+ {/if}
81
+
82
82
 
@@ -1,22 +1,22 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- color?: string | undefined;
5
- gradient?: {
6
- colors: [string, string];
7
- direction: "top" | "right" | "bottom" | "left";
8
- } | undefined;
9
- size?: string | undefined;
10
- weight?: number | undefined;
11
- };
12
- events: {
13
- [evt: string]: CustomEvent<any>;
14
- };
15
- slots: {};
16
- };
17
- export type AlertCircleIconProps = typeof __propDef.props;
18
- export type AlertCircleIconEvents = typeof __propDef.events;
19
- export type AlertCircleIconSlots = typeof __propDef.slots;
20
- export default class AlertCircleIcon extends SvelteComponent<AlertCircleIconProps, AlertCircleIconEvents, AlertCircleIconSlots> {
21
- }
22
- export {};
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ color?: string | undefined;
5
+ gradient?: {
6
+ colors: [string, string];
7
+ direction: "top" | "right" | "bottom" | "left";
8
+ } | undefined;
9
+ size?: string | undefined;
10
+ weight?: number | undefined;
11
+ };
12
+ events: {
13
+ [evt: string]: CustomEvent<any>;
14
+ };
15
+ slots: {};
16
+ };
17
+ export type AlertCircleIconProps = typeof __propDef.props;
18
+ export type AlertCircleIconEvents = typeof __propDef.events;
19
+ export type AlertCircleIconSlots = typeof __propDef.slots;
20
+ export default class AlertCircleIcon extends SvelteComponent<AlertCircleIconProps, AlertCircleIconEvents, AlertCircleIconSlots> {
21
+ }
22
+ export {};