chromia 0.0.1 → 0.0.2

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 (139) hide show
  1. package/.gitignore +11 -0
  2. package/.npmrc +1 -0
  3. package/.svelte-kit/__package__/index.d.ts +42 -0
  4. package/.svelte-kit/__package__/index.js +42 -0
  5. package/.svelte-kit/ambient.d.ts +389 -0
  6. package/.svelte-kit/generated/client/app.js +19 -0
  7. package/.svelte-kit/generated/client/matchers.js +1 -0
  8. package/.svelte-kit/generated/client/nodes/0.js +1 -0
  9. package/.svelte-kit/generated/client/nodes/1.js +1 -0
  10. package/.svelte-kit/generated/client/nodes/2.js +1 -0
  11. package/.svelte-kit/generated/client-optimized/app.js +19 -0
  12. package/.svelte-kit/generated/client-optimized/matchers.js +1 -0
  13. package/.svelte-kit/generated/client-optimized/nodes/0.js +1 -0
  14. package/.svelte-kit/generated/client-optimized/nodes/1.js +1 -0
  15. package/.svelte-kit/generated/client-optimized/nodes/2.js +1 -0
  16. package/.svelte-kit/generated/root.svelte +57 -0
  17. package/.svelte-kit/generated/server/internal.js +30 -0
  18. package/.svelte-kit/non-ambient.d.ts +25 -0
  19. package/.svelte-kit/output/client/.vite/manifest.json +71 -0
  20. package/.svelte-kit/output/client/_app/immutable/chunks/index.fwz0P8IJ.js +1 -0
  21. package/.svelte-kit/output/client/_app/immutable/chunks/scheduler.k-kUyWhY.js +1 -0
  22. package/.svelte-kit/output/client/_app/immutable/chunks/singletons.BTKERuC0.js +1 -0
  23. package/.svelte-kit/output/client/_app/immutable/entry/app.WGYaKRLN.js +7 -0
  24. package/.svelte-kit/output/client/_app/immutable/entry/start.aC2tJUKM.js +4 -0
  25. package/.svelte-kit/output/client/_app/immutable/nodes/0.TPefyB_B.js +1 -0
  26. package/.svelte-kit/output/client/_app/immutable/nodes/1.YWupMHx9.js +1 -0
  27. package/.svelte-kit/output/client/_app/immutable/nodes/2.sCXEpvk1.js +1 -0
  28. package/.svelte-kit/output/client/_app/version.json +1 -0
  29. package/.svelte-kit/output/client/favicon.png +0 -0
  30. package/.svelte-kit/output/server/.vite/manifest.json +52 -0
  31. package/.svelte-kit/output/server/chunks/internal.js +211 -0
  32. package/.svelte-kit/output/server/chunks/ssr.js +117 -0
  33. package/.svelte-kit/output/server/entries/fallbacks/error.svelte.js +31 -0
  34. package/.svelte-kit/output/server/entries/fallbacks/layout.svelte.js +7 -0
  35. package/.svelte-kit/output/server/entries/pages/_page.svelte.js +7 -0
  36. package/.svelte-kit/output/server/index.js +3052 -0
  37. package/.svelte-kit/output/server/internal.js +10 -0
  38. package/.svelte-kit/output/server/manifest-full.js +34 -0
  39. package/.svelte-kit/output/server/manifest.js +34 -0
  40. package/.svelte-kit/output/server/nodes/0.js +8 -0
  41. package/.svelte-kit/output/server/nodes/1.js +8 -0
  42. package/.svelte-kit/output/server/nodes/2.js +8 -0
  43. package/.svelte-kit/tsconfig.json +46 -0
  44. package/.svelte-kit/types/route_meta_data.json +3 -0
  45. package/.svelte-kit/types/src/routes/$types.d.ts +22 -0
  46. package/dist/index.d.ts +41 -41
  47. package/dist/index.js +41 -41
  48. package/package.json +1 -1
  49. package/src/app.d.ts +13 -0
  50. package/src/app.html +12 -0
  51. package/src/icons/AddImageIcon.svelte +101 -0
  52. package/src/icons/AddImageIcon.svelte.d.ts +22 -0
  53. package/src/icons/AddSquareIcon.svelte +88 -0
  54. package/src/icons/AddSquareIcon.svelte.d.ts +22 -0
  55. package/src/icons/AlertCircleIcon.svelte +88 -0
  56. package/src/icons/AlertCircleIcon.svelte.d.ts +22 -0
  57. package/src/icons/AnnotationXIcon.svelte +88 -0
  58. package/src/icons/AnnotationXIcon.svelte.d.ts +22 -0
  59. package/src/icons/ArrowCalendarIcon.svelte +88 -0
  60. package/src/icons/ArrowCalendarIcon.svelte.d.ts +22 -0
  61. package/src/icons/ArrowLeftIcon.svelte +88 -0
  62. package/src/icons/ArrowLeftIcon.svelte.d.ts +22 -0
  63. package/src/icons/ArrowSwitchIcon.svelte +88 -0
  64. package/src/icons/ArrowSwitchIcon.svelte.d.ts +22 -0
  65. package/src/icons/ArrowUpIcon.svelte +88 -0
  66. package/src/icons/ArrowUpIcon.svelte.d.ts +22 -0
  67. package/src/icons/BellIcon.svelte +87 -0
  68. package/src/icons/BellIcon.svelte.d.ts +22 -0
  69. package/src/icons/BezierIcon.svelte +88 -0
  70. package/src/icons/BezierIcon.svelte.d.ts +22 -0
  71. package/src/icons/CalendarIcon.svelte +88 -0
  72. package/src/icons/CalendarIcon.svelte.d.ts +22 -0
  73. package/src/icons/CameraIcon.svelte +88 -0
  74. package/src/icons/CameraIcon.svelte.d.ts +22 -0
  75. package/src/icons/CertificateIcon.svelte +88 -0
  76. package/src/icons/CertificateIcon.svelte.d.ts +22 -0
  77. package/src/icons/CheckCircleIcon.svelte +88 -0
  78. package/src/icons/CheckCircleIcon.svelte.d.ts +22 -0
  79. package/src/icons/CheckIcon.svelte +88 -0
  80. package/src/icons/CheckIcon.svelte.d.ts +22 -0
  81. package/src/icons/ChevronDownIcon.svelte +88 -0
  82. package/src/icons/ChevronDownIcon.svelte.d.ts +22 -0
  83. package/src/icons/ChevronUpIcon.svelte +88 -0
  84. package/src/icons/ChevronUpIcon.svelte.d.ts +22 -0
  85. package/src/icons/ClockIcon.svelte +88 -0
  86. package/src/icons/ClockIcon.svelte.d.ts +22 -0
  87. package/src/icons/CloseIcon.svelte +88 -0
  88. package/src/icons/CloseIcon.svelte.d.ts +22 -0
  89. package/src/icons/CollectionIcon.svelte +88 -0
  90. package/src/icons/CollectionIcon.svelte.d.ts +22 -0
  91. package/src/icons/CopyIcon.svelte +88 -0
  92. package/src/icons/CopyIcon.svelte.d.ts +22 -0
  93. package/src/icons/EditIcon.svelte +88 -0
  94. package/src/icons/EditIcon.svelte.d.ts +22 -0
  95. package/src/icons/FavoriteIcon.svelte +88 -0
  96. package/src/icons/FavoriteIcon.svelte.d.ts +22 -0
  97. package/src/icons/FilterIcon.svelte +88 -0
  98. package/src/icons/FilterIcon.svelte.d.ts +22 -0
  99. package/src/icons/FlameIcon.svelte +88 -0
  100. package/src/icons/FlameIcon.svelte.d.ts +22 -0
  101. package/src/icons/FolderIcon.svelte +88 -0
  102. package/src/icons/FolderIcon.svelte.d.ts +22 -0
  103. package/src/icons/FolderPlusIcon.svelte +88 -0
  104. package/src/icons/FolderPlusIcon.svelte.d.ts +22 -0
  105. package/src/icons/GridIcon.svelte +133 -0
  106. package/src/icons/GridIcon.svelte.d.ts +22 -0
  107. package/src/icons/HourglassIcon.svelte +88 -0
  108. package/src/icons/HourglassIcon.svelte.d.ts +22 -0
  109. package/src/icons/LockIcon.svelte +88 -0
  110. package/src/icons/LockIcon.svelte.d.ts +22 -0
  111. package/src/icons/LogoutIcon.svelte +88 -0
  112. package/src/icons/LogoutIcon.svelte.d.ts +22 -0
  113. package/src/icons/MenuIcon.svelte +117 -0
  114. package/src/icons/MenuIcon.svelte.d.ts +22 -0
  115. package/src/icons/NoFolder.svelte +101 -0
  116. package/src/icons/NoFolder.svelte.d.ts +22 -0
  117. package/src/icons/NotificationIcon.svelte +88 -0
  118. package/src/icons/NotificationIcon.svelte.d.ts +22 -0
  119. package/src/icons/OverlapIcon.svelte +88 -0
  120. package/src/icons/OverlapIcon.svelte.d.ts +22 -0
  121. package/src/icons/SearchIcon.svelte +88 -0
  122. package/src/icons/SearchIcon.svelte.d.ts +22 -0
  123. package/src/icons/SendIcon.svelte +88 -0
  124. package/src/icons/SendIcon.svelte.d.ts +22 -0
  125. package/src/icons/TeamUserIcon.svelte +88 -0
  126. package/src/icons/TeamUserIcon.svelte.d.ts +22 -0
  127. package/src/icons/TrashIcon.svelte +88 -0
  128. package/src/icons/TrashIcon.svelte.d.ts +22 -0
  129. package/src/icons/UploadIcon.svelte +88 -0
  130. package/src/icons/UploadIcon.svelte.d.ts +22 -0
  131. package/src/icons/UserProfileIcon.svelte +89 -0
  132. package/src/icons/UserProfileIcon.svelte.d.ts +22 -0
  133. package/src/lib/index.ts +44 -0
  134. package/src/routes/+page.svelte +0 -0
  135. package/static/favicon.png +0 -0
  136. package/svelte.config.js +18 -0
  137. package/tsconfig.json +15 -0
  138. package/vite.config.ts +6 -0
  139. package/yarn.lock +1082 -0
@@ -0,0 +1,117 @@
1
+ <script lang="ts">
2
+ interface GradientObj {
3
+ colors: [string, string];
4
+ direction: "top" | "right" | "bottom" | "left";
5
+ }
6
+ export let color = "#000";
7
+ export let gradient: GradientObj = {
8
+ colors: ["", ""],
9
+ direction: "bottom",
10
+ };
11
+ export let size: string = "1rem";
12
+ export let weight: number = 1;
13
+
14
+ const getGradientDirection = (direction: string) => {
15
+ switch (direction) {
16
+ case "top":
17
+ return { x1: "0%", y1: "100%", x2: "0%", y2: "0%" };
18
+ case "right":
19
+ return { x1: "0%", y1: "0%", x2: "100%", y2: "0%" };
20
+ case "bottom":
21
+ return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
22
+ case "left":
23
+ return { x1: "100%", y1: "0%", x2: "0%", y2: "0%" };
24
+ default:
25
+ return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
26
+ }
27
+ };
28
+ </script>
29
+
30
+ {#if gradient !== undefined}
31
+ <svg
32
+ xmlns="http://www.w3.org/2000/svg"
33
+ style="width: {size}; height: {size};"
34
+ viewBox="0 0 14 14"
35
+ fill="none"
36
+ >
37
+ <g id="id_Menu">
38
+ <path
39
+ d="M7.0001 4.20002C6.2269 4.20002 5.6001 3.57322 5.6001 2.80002C5.6001 2.02683 6.2269 1.40002 7.0001 1.40002C7.7733 1.40002 8.4001 2.02683 8.4001 2.80002C8.4001 3.57322 7.7733 4.20002 7.0001 4.20002Z"
40
+ id="icon_Menu"
41
+ stroke="url(#grad-Menu)"
42
+ stroke-width={weight}
43
+ stroke-linecap="round"
44
+ stroke-linejoin="round"
45
+ />
46
+ <path
47
+ d="M7.0001 8.40002C6.2269 8.40002 5.6001 7.77322 5.6001 7.00002C5.6001 6.22683 6.2269 5.60002 7.0001 5.60002C7.7733 5.60002 8.4001 6.22683 8.4001 7.00002C8.4001 7.77322 7.7733 8.40002 7.0001 8.40002Z"
48
+ id="icon_Menu"
49
+ stroke="url(#grad-Menu)"
50
+ stroke-width={weight}
51
+ stroke-linecap="round"
52
+ stroke-linejoin="round"
53
+ />
54
+ <path
55
+ d="M7.0001 12.6C6.2269 12.6 5.6001 11.9732 5.6001 11.2C5.6001 10.4268 6.2269 9.80002 7.0001 9.80002C7.7733 9.80003 8.4001 10.4268 8.4001 11.2C8.4001 11.9732 7.7733 12.6 7.0001 12.6Z"
56
+ id="icon_Menu"
57
+ stroke="url(#grad-Menu)"
58
+ stroke-width={weight}
59
+ stroke-linecap="round"
60
+ stroke-linejoin="round"
61
+ />
62
+ </g>
63
+
64
+ <defs>
65
+ <linearGradient
66
+ id="grad-Menu"
67
+ x1={getGradientDirection(gradient.direction).x1}
68
+ y1={getGradientDirection(gradient.direction).y1}
69
+ x2={getGradientDirection(gradient.direction).x2}
70
+ y2={getGradientDirection(gradient.direction).y2}
71
+ >
72
+ <stop
73
+ offset="0%"
74
+ style="stop-color:{gradient.colors[0]};stop-opacity:1"
75
+ />
76
+ <stop
77
+ offset="100%"
78
+ style="stop-color:{gradient.colors[1]};stop-opacity:1"
79
+ />
80
+ </linearGradient>
81
+ </defs>
82
+ </svg>
83
+ {:else}
84
+ <svg
85
+ xmlns="http://www.w3.org/2000/svg"
86
+ style="width: {size}; height: {size};"
87
+ viewBox="0 0 14 14"
88
+ fill="none"
89
+ >
90
+ <g id="id_Menu">
91
+ <path
92
+ d="M7.0001 4.20002C6.2269 4.20002 5.6001 3.57322 5.6001 2.80002C5.6001 2.02683 6.2269 1.40002 7.0001 1.40002C7.7733 1.40002 8.4001 2.02683 8.4001 2.80002C8.4001 3.57322 7.7733 4.20002 7.0001 4.20002Z"
93
+ id="icon_Menu"
94
+ stroke={color}
95
+ stroke-width={weight}
96
+ stroke-linecap="round"
97
+ stroke-linejoin="round"
98
+ />
99
+ <path
100
+ d="M7.0001 8.40002C6.2269 8.40002 5.6001 7.77322 5.6001 7.00002C5.6001 6.22683 6.2269 5.60002 7.0001 5.60002C7.7733 5.60002 8.4001 6.22683 8.4001 7.00002C8.4001 7.77322 7.7733 8.40002 7.0001 8.40002Z"
101
+ id="icon_Menu"
102
+ stroke={color}
103
+ stroke-width={weight}
104
+ stroke-linecap="round"
105
+ stroke-linejoin="round"
106
+ />
107
+ <path
108
+ d="M7.0001 12.6C6.2269 12.6 5.6001 11.9732 5.6001 11.2C5.6001 10.4268 6.2269 9.80002 7.0001 9.80002C7.7733 9.80003 8.4001 10.4268 8.4001 11.2C8.4001 11.9732 7.7733 12.6 7.0001 12.6Z"
109
+ id="icon_Menu"
110
+ stroke={color}
111
+ stroke-width={weight}
112
+ stroke-linecap="round"
113
+ stroke-linejoin="round"
114
+ />
115
+ </g>
116
+ </svg>
117
+ {/if}
@@ -0,0 +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 MenuIconProps = typeof __propDef.props;
18
+ export type MenuIconEvents = typeof __propDef.events;
19
+ export type MenuIconSlots = typeof __propDef.slots;
20
+ export default class MenuIcon extends SvelteComponent<MenuIconProps, MenuIconEvents, MenuIconSlots> {
21
+ }
22
+ export {};
@@ -0,0 +1,101 @@
1
+ <script lang="ts">
2
+ interface GradientObj {
3
+ colors: [string, string];
4
+ direction: "top" | "right" | "bottom" | "left";
5
+ }
6
+ export let color = "#000";
7
+ export let gradient: GradientObj = {
8
+ colors: ["", ""],
9
+ direction: "bottom",
10
+ };
11
+ export let size: string = "1rem";
12
+ export let weight: number = 1;
13
+
14
+ const getGradientDirection = (direction: string) => {
15
+ switch (direction) {
16
+ case "top":
17
+ return { x1: "0%", y1: "100%", x2: "0%", y2: "0%" };
18
+ case "right":
19
+ return { x1: "0%", y1: "0%", x2: "100%", y2: "0%" };
20
+ case "bottom":
21
+ return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
22
+ case "left":
23
+ return { x1: "100%", y1: "0%", x2: "0%", y2: "0%" };
24
+ default:
25
+ return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
26
+ }
27
+ };
28
+ </script>
29
+
30
+ {#if gradient !== undefined}
31
+ <svg
32
+ xmlns="http://www.w3.org/2000/svg"
33
+ style="width: {size}; height: {size};"
34
+ viewBox="0 0 46 45"
35
+ fill="none"
36
+ >
37
+ <g id="id_FolderX">
38
+ <path
39
+ d="M36.8158 19.1V14.3667C36.8158 12.7098 35.4726 11.3667 33.8158 11.3667H23.3643C22.5435 11.3667 21.7585 11.0304 21.1923 10.4361L19.2814 8.43054C18.7152 7.8363 17.9302 7.5 17.1094 7.5H8.5C6.84315 7.5 5.5 8.84315 5.5 10.5V33.7368C5.5 35.2629 6.73711 36.5 8.26316 36.5H9.37853C10.2886 36.5 11.0263 35.7623 11.0263 34.8522V34.8522C11.0263 34.6633 11.0588 34.4757 11.1224 34.2978L15.8414 21.0906C16.2679 19.8968 17.3988 19.1 18.6665 19.1H36.3995C38.4293 19.1 39.8732 21.0736 39.2588 23.0081L35.6381 34.4081C35.2424 35.6538 34.0858 36.5 32.7788 36.5H9.18421"
40
+ id="icon_FolderX"
41
+ stroke="url(#grad-FolderX)"
42
+ stroke-width={weight}
43
+ stroke-linecap="round"
44
+ stroke-linejoin="round"
45
+ />
46
+ <path
47
+ d="M21 23.5L29 32.5M29 23.5L21 32.5"
48
+ id="icon_FolderX"
49
+ stroke="url(#grad-FolderX)"
50
+ stroke-width={weight}
51
+ stroke-linecap="round"
52
+ stroke-linejoin="round"
53
+ />
54
+ </g>
55
+
56
+ <defs>
57
+ <linearGradient
58
+ id="grad-FolderX"
59
+ x1={getGradientDirection(gradient.direction).x1}
60
+ y1={getGradientDirection(gradient.direction).y1}
61
+ x2={getGradientDirection(gradient.direction).x2}
62
+ y2={getGradientDirection(gradient.direction).y2}
63
+ >
64
+ <stop
65
+ offset="0%"
66
+ style="stop-color:{gradient.colors[0]};stop-opacity:1"
67
+ />
68
+ <stop
69
+ offset="100%"
70
+ style="stop-color:{gradient.colors[1]};stop-opacity:1"
71
+ />
72
+ </linearGradient>
73
+ </defs>
74
+ </svg>
75
+ {:else}
76
+ <svg
77
+ xmlns="http://www.w3.org/2000/svg"
78
+ style="width: {size}; height: {size};"
79
+ viewBox="0 0 46 45"
80
+ fill="none"
81
+ >
82
+ <g id="id_FolderX">
83
+ <path
84
+ d="M36.8158 19.1V14.3667C36.8158 12.7098 35.4726 11.3667 33.8158 11.3667H23.3643C22.5435 11.3667 21.7585 11.0304 21.1923 10.4361L19.2814 8.43054C18.7152 7.8363 17.9302 7.5 17.1094 7.5H8.5C6.84315 7.5 5.5 8.84315 5.5 10.5V33.7368C5.5 35.2629 6.73711 36.5 8.26316 36.5H9.37853C10.2886 36.5 11.0263 35.7623 11.0263 34.8522V34.8522C11.0263 34.6633 11.0588 34.4757 11.1224 34.2978L15.8414 21.0906C16.2679 19.8968 17.3988 19.1 18.6665 19.1H36.3995C38.4293 19.1 39.8732 21.0736 39.2588 23.0081L35.6381 34.4081C35.2424 35.6538 34.0858 36.5 32.7788 36.5H9.18421"
85
+ id="icon_FolderX"
86
+ stroke={color}
87
+ stroke-width={weight}
88
+ stroke-linecap="round"
89
+ stroke-linejoin="round"
90
+ />
91
+ <path
92
+ d="M21 23.5L29 32.5M29 23.5L21 32.5"
93
+ id="icon_FolderX"
94
+ stroke={color}
95
+ stroke-width={weight}
96
+ stroke-linecap="round"
97
+ stroke-linejoin="round"
98
+ />
99
+ </g>
100
+ </svg>
101
+ {/if}
@@ -0,0 +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 NoFolderProps = typeof __propDef.props;
18
+ export type NoFolderEvents = typeof __propDef.events;
19
+ export type NoFolderSlots = typeof __propDef.slots;
20
+ export default class NoFolder extends SvelteComponent<NoFolderProps, NoFolderEvents, NoFolderSlots> {
21
+ }
22
+ export {};
@@ -0,0 +1,88 @@
1
+
2
+ <script lang="ts">
3
+ interface GradientObj {
4
+ colors: [string, string];
5
+ direction: "top" | "right" | "bottom" | "left";
6
+ }
7
+ export let color = "#000";
8
+ export let gradient: GradientObj = {
9
+ colors: ["", ""],
10
+ direction: "bottom",
11
+ };
12
+ export let size: string = "1rem";
13
+ export let weight: number = 1;
14
+
15
+ const getGradientDirection = (direction: string) => {
16
+ switch (direction) {
17
+ case "top":
18
+ return { x1: "0%", y1: "100%", x2: "0%", y2: "0%" };
19
+ case "right":
20
+ return { x1: "0%", y1: "0%", x2: "100%", y2: "0%" };
21
+ case "bottom":
22
+ return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
23
+ case "left":
24
+ return { x1: "100%", y1: "0%", x2: "0%", y2: "0%" };
25
+ default:
26
+ return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
27
+ }
28
+ };
29
+ </script>
30
+
31
+ {#if gradient !== undefined}
32
+ <svg
33
+ xmlns="http://www.w3.org/2000/svg"
34
+ style="width: {size}; height: {size};"
35
+ viewBox="0 0 16 16"
36
+ fill="none"
37
+ >
38
+ <g id="id_Notification">
39
+ <path
40
+ id="icon_Notification"
41
+ d="M7.59991 1.5999H3.19991C2.31626 1.5999 1.59991 2.31624 1.59991 3.1999V9.60016C1.59991 10.4838 2.31627 11.2002 3.19993 11.2002L6.97352 11.2001L8.66676 14.4001L10.0001 11.2002L12.8001 11.2001C13.6838 11.2001 14.4001 10.4838 14.4001 9.60015V8.00029M14.4001 3.6001C14.4001 4.70467 13.5047 5.6001 12.4001 5.6001C11.2955 5.6001 10.4001 4.70467 10.4001 3.6001C10.4001 2.49553 11.2955 1.6001 12.4001 1.6001C13.5047 1.6001 14.4001 2.49553 14.4001 3.6001Z"
42
+ stroke="url(#grad-Notification)"
43
+ stroke-width={weight}
44
+ stroke-linecap="round"
45
+ stroke-linejoin="round"
46
+ />
47
+ </g>
48
+
49
+ <defs>
50
+ <linearGradient
51
+ id="grad-Notification"
52
+ x1={getGradientDirection(gradient.direction).x1}
53
+ y1={getGradientDirection(gradient.direction).y1}
54
+ x2={getGradientDirection(gradient.direction).x2}
55
+ y2={getGradientDirection(gradient.direction).y2}
56
+ >
57
+ <stop
58
+ offset="0%"
59
+ style="stop-color:{gradient.colors[0]};stop-opacity:1"
60
+ />
61
+ <stop
62
+ offset="100%"
63
+ style="stop-color:{gradient.colors[1]};stop-opacity:1"
64
+ />
65
+ </linearGradient>
66
+ </defs>
67
+ </svg>
68
+ {:else}
69
+ <svg
70
+ xmlns="http://www.w3.org/2000/svg"
71
+ style="width: {size}; height: {size};"
72
+ viewBox="0 0 16 16"
73
+ fill="none"
74
+ >
75
+ <g id="id_Notification">
76
+ <path
77
+ id="icon_Notification"
78
+ d="M7.59991 1.5999H3.19991C2.31626 1.5999 1.59991 2.31624 1.59991 3.1999V9.60016C1.59991 10.4838 2.31627 11.2002 3.19993 11.2002L6.97352 11.2001L8.66676 14.4001L10.0001 11.2002L12.8001 11.2001C13.6838 11.2001 14.4001 10.4838 14.4001 9.60015V8.00029M14.4001 3.6001C14.4001 4.70467 13.5047 5.6001 12.4001 5.6001C11.2955 5.6001 10.4001 4.70467 10.4001 3.6001C10.4001 2.49553 11.2955 1.6001 12.4001 1.6001C13.5047 1.6001 14.4001 2.49553 14.4001 3.6001Z"
79
+ stroke={color}
80
+ stroke-width={weight}
81
+ stroke-linecap="round"
82
+ stroke-linejoin="round"
83
+ />
84
+ </g>
85
+ </svg>
86
+ {/if}
87
+
88
+
@@ -0,0 +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 NotificationIconProps = typeof __propDef.props;
18
+ export type NotificationIconEvents = typeof __propDef.events;
19
+ export type NotificationIconSlots = typeof __propDef.slots;
20
+ export default class NotificationIcon extends SvelteComponent<NotificationIconProps, NotificationIconEvents, NotificationIconSlots> {
21
+ }
22
+ export {};
@@ -0,0 +1,88 @@
1
+
2
+ <script lang="ts">
3
+ interface GradientObj {
4
+ colors: [string, string];
5
+ direction: "top" | "right" | "bottom" | "left";
6
+ }
7
+ export let color = "#000";
8
+ export let gradient: GradientObj = {
9
+ colors: ["", ""],
10
+ direction: "bottom",
11
+ };
12
+ export let size: string = "1rem";
13
+ export let weight: number = 1;
14
+
15
+ const getGradientDirection = (direction: string) => {
16
+ switch (direction) {
17
+ case "top":
18
+ return { x1: "0%", y1: "100%", x2: "0%", y2: "0%" };
19
+ case "right":
20
+ return { x1: "0%", y1: "0%", x2: "100%", y2: "0%" };
21
+ case "bottom":
22
+ return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
23
+ case "left":
24
+ return { x1: "100%", y1: "0%", x2: "0%", y2: "0%" };
25
+ default:
26
+ return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
27
+ }
28
+ };
29
+ </script>
30
+
31
+ {#if gradient !== undefined}
32
+ <svg
33
+ xmlns="http://www.w3.org/2000/svg"
34
+ style="width: {size}; height: {size};"
35
+ viewBox="0 0 16 16"
36
+ fill="none"
37
+ >
38
+ <g id="id_Overlap">
39
+ <path
40
+ id="icon_Overlap"
41
+ d="M4.80001 5.86667H3.20001C2.31635 5.86666 1.60001 6.58301 1.60001 7.46666C1.60001 8.35032 1.60001 11.9163 1.60001 12.8C1.60001 13.6837 2.31635 14.4 3.20001 14.4C3.20001 14.4 7.64968 14.4 8.53334 14.4C9.41699 14.4 10.1333 13.6837 10.1333 12.8V10.8M12.8 1.6L7.46667 1.6C6.58302 1.6 5.86667 2.31634 5.86667 3.2C5.86667 4.08365 5.86667 7.64968 5.86667 8.53333C5.86667 9.41699 6.58302 10.1333 7.46667 10.1333C7.46667 10.1333 11.9163 10.1333 12.8 10.1333C13.6837 10.1333 14.4 9.41699 14.4 8.53333V3.2C14.4 2.31634 13.6837 1.6 12.8 1.6Z"
42
+ stroke="url(#grad-Overlap)"
43
+ stroke-width={weight}
44
+ stroke-linecap="round"
45
+ stroke-linejoin="round"
46
+ />
47
+ </g>
48
+
49
+ <defs>
50
+ <linearGradient
51
+ id="grad-Overlap"
52
+ x1={getGradientDirection(gradient.direction).x1}
53
+ y1={getGradientDirection(gradient.direction).y1}
54
+ x2={getGradientDirection(gradient.direction).x2}
55
+ y2={getGradientDirection(gradient.direction).y2}
56
+ >
57
+ <stop
58
+ offset="0%"
59
+ style="stop-color:{gradient.colors[0]};stop-opacity:1"
60
+ />
61
+ <stop
62
+ offset="100%"
63
+ style="stop-color:{gradient.colors[1]};stop-opacity:1"
64
+ />
65
+ </linearGradient>
66
+ </defs>
67
+ </svg>
68
+ {:else}
69
+ <svg
70
+ xmlns="http://www.w3.org/2000/svg"
71
+ style="width: {size}; height: {size};"
72
+ viewBox="0 0 16 16"
73
+ fill="none"
74
+ >
75
+ <g id="id_Overlap">
76
+ <path
77
+ id="icon_Overlap"
78
+ d="M4.80001 5.86667H3.20001C2.31635 5.86666 1.60001 6.58301 1.60001 7.46666C1.60001 8.35032 1.60001 11.9163 1.60001 12.8C1.60001 13.6837 2.31635 14.4 3.20001 14.4C3.20001 14.4 7.64968 14.4 8.53334 14.4C9.41699 14.4 10.1333 13.6837 10.1333 12.8V10.8M12.8 1.6L7.46667 1.6C6.58302 1.6 5.86667 2.31634 5.86667 3.2C5.86667 4.08365 5.86667 7.64968 5.86667 8.53333C5.86667 9.41699 6.58302 10.1333 7.46667 10.1333C7.46667 10.1333 11.9163 10.1333 12.8 10.1333C13.6837 10.1333 14.4 9.41699 14.4 8.53333V3.2C14.4 2.31634 13.6837 1.6 12.8 1.6Z"
79
+ stroke={color}
80
+ stroke-width={weight}
81
+ stroke-linecap="round"
82
+ stroke-linejoin="round"
83
+ />
84
+ </g>
85
+ </svg>
86
+ {/if}
87
+
88
+
@@ -0,0 +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 OverlapIconProps = typeof __propDef.props;
18
+ export type OverlapIconEvents = typeof __propDef.events;
19
+ export type OverlapIconSlots = typeof __propDef.slots;
20
+ export default class OverlapIcon extends SvelteComponent<OverlapIconProps, OverlapIconEvents, OverlapIconSlots> {
21
+ }
22
+ export {};
@@ -0,0 +1,88 @@
1
+
2
+ <script lang="ts">
3
+ interface GradientObj {
4
+ colors: [string, string];
5
+ direction: "top" | "right" | "bottom" | "left";
6
+ }
7
+ export let color = "#000";
8
+ export let gradient: GradientObj = {
9
+ colors: ["", ""],
10
+ direction: "bottom",
11
+ };
12
+ export let size: string = "1rem";
13
+ export let weight: number = 1;
14
+
15
+ const getGradientDirection = (direction: string) => {
16
+ switch (direction) {
17
+ case "top":
18
+ return { x1: "0%", y1: "100%", x2: "0%", y2: "0%" };
19
+ case "right":
20
+ return { x1: "0%", y1: "0%", x2: "100%", y2: "0%" };
21
+ case "bottom":
22
+ return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
23
+ case "left":
24
+ return { x1: "100%", y1: "0%", x2: "0%", y2: "0%" };
25
+ default:
26
+ return { x1: "0%", y1: "0%", x2: "0%", y2: "100%" };
27
+ }
28
+ };
29
+ </script>
30
+
31
+ {#if gradient !== undefined}
32
+ <svg
33
+ xmlns="http://www.w3.org/2000/svg"
34
+ style="width: {size}; height: {size};"
35
+ viewBox="0 0 14 14"
36
+ fill="none"
37
+ >
38
+ <g id="id_Search">
39
+ <path
40
+ id="icon_Search"
41
+ d="M9.8741 9.9401L11.9001 11.9001M6.6501 4.2001C7.8099 4.2001 8.7501 5.1403 8.7501 6.3001M11.2468 6.67343C11.2468 9.19921 9.19921 11.2468 6.67343 11.2468C4.14765 11.2468 2.1001 9.19921 2.1001 6.67343C2.1001 4.14765 4.14765 2.1001 6.67343 2.1001C9.19921 2.1001 11.2468 4.14765 11.2468 6.67343Z"
42
+ stroke="url(#grad-Search)"
43
+ stroke-width={weight}
44
+ stroke-linecap="round"
45
+ stroke-linejoin="round"
46
+ />
47
+ </g>
48
+
49
+ <defs>
50
+ <linearGradient
51
+ id="grad-Search"
52
+ x1={getGradientDirection(gradient.direction).x1}
53
+ y1={getGradientDirection(gradient.direction).y1}
54
+ x2={getGradientDirection(gradient.direction).x2}
55
+ y2={getGradientDirection(gradient.direction).y2}
56
+ >
57
+ <stop
58
+ offset="0%"
59
+ style="stop-color:{gradient.colors[0]};stop-opacity:1"
60
+ />
61
+ <stop
62
+ offset="100%"
63
+ style="stop-color:{gradient.colors[1]};stop-opacity:1"
64
+ />
65
+ </linearGradient>
66
+ </defs>
67
+ </svg>
68
+ {:else}
69
+ <svg
70
+ xmlns="http://www.w3.org/2000/svg"
71
+ style="width: {size}; height: {size};"
72
+ viewBox="0 0 14 14"
73
+ fill="none"
74
+ >
75
+ <g id="id_Search">
76
+ <path
77
+ id="icon_Search"
78
+ d="M9.8741 9.9401L11.9001 11.9001M6.6501 4.2001C7.8099 4.2001 8.7501 5.1403 8.7501 6.3001M11.2468 6.67343C11.2468 9.19921 9.19921 11.2468 6.67343 11.2468C4.14765 11.2468 2.1001 9.19921 2.1001 6.67343C2.1001 4.14765 4.14765 2.1001 6.67343 2.1001C9.19921 2.1001 11.2468 4.14765 11.2468 6.67343Z"
79
+ stroke={color}
80
+ stroke-width={weight}
81
+ stroke-linecap="round"
82
+ stroke-linejoin="round"
83
+ />
84
+ </g>
85
+ </svg>
86
+ {/if}
87
+
88
+
@@ -0,0 +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 SearchIconProps = typeof __propDef.props;
18
+ export type SearchIconEvents = typeof __propDef.events;
19
+ export type SearchIconSlots = typeof __propDef.slots;
20
+ export default class SearchIcon extends SvelteComponent<SearchIconProps, SearchIconEvents, SearchIconSlots> {
21
+ }
22
+ export {};