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,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 FolderIconProps = typeof __propDef.props;
18
+ export type FolderIconEvents = typeof __propDef.events;
19
+ export type FolderIconSlots = typeof __propDef.slots;
20
+ export default class FolderIcon extends SvelteComponent<FolderIconProps, FolderIconEvents, FolderIconSlots> {
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_FolderPlus">
39
+ <path
40
+ id="icon_FolderPlus"
41
+ d="M7.05993 11.3836H2.51048C1.73728 11.3836 1.11047 10.7568 1.11048 9.98357L1.11053 4.66106C1.11054 4.12794 1.11034 3.3686 1.11017 2.81878C1.11005 2.43208 1.42349 2.11896 1.8102 2.11896H5.14582L6.75875 3.84191H11.6099C11.9965 3.84191 12.3099 4.15531 12.3099 4.54191V6.40133M10.9099 11.8811L10.9099 9.90117M10.9099 9.90117L10.9099 7.92127M10.9099 9.90117L8.93003 9.90117M10.9099 9.90117L12.8898 9.90117"
42
+ stroke="url(#grad-FolderPlus)"
43
+ stroke-width={weight}
44
+ stroke-linecap="round"
45
+ stroke-linejoin="round"
46
+ />
47
+ </g>
48
+
49
+ <defs>
50
+ <linearGradient
51
+ id="grad-FolderPlus"
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_FolderPlus">
76
+ <path
77
+ id="icon_FolderPlus"
78
+ d="M7.05993 11.3836H2.51048C1.73728 11.3836 1.11047 10.7568 1.11048 9.98357L1.11053 4.66106C1.11054 4.12794 1.11034 3.3686 1.11017 2.81878C1.11005 2.43208 1.42349 2.11896 1.8102 2.11896H5.14582L6.75875 3.84191H11.6099C11.9965 3.84191 12.3099 4.15531 12.3099 4.54191V6.40133M10.9099 11.8811L10.9099 9.90117M10.9099 9.90117L10.9099 7.92127M10.9099 9.90117L8.93003 9.90117M10.9099 9.90117L12.8898 9.90117"
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 FolderPlusIconProps = typeof __propDef.props;
18
+ export type FolderPlusIconEvents = typeof __propDef.events;
19
+ export type FolderPlusIconSlots = typeof __propDef.slots;
20
+ export default class FolderPlusIcon extends SvelteComponent<FolderPlusIconProps, FolderPlusIconEvents, FolderPlusIconSlots> {
21
+ }
22
+ export {};
@@ -0,0 +1,133 @@
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_Grid">
38
+ <path
39
+ d="M11.3556 1.3999C12.0429 1.3999 12.6 1.94943 12.6 2.6273L12.6 4.72253C12.6 5.4004 12.0429 5.94993 11.3556 5.94993H9.48892C8.80163 5.94993 8.24447 5.4004 8.24447 4.72253L8.24447 2.6273C8.24447 1.94943 8.80162 1.3999 9.48891 1.3999L11.3556 1.3999Z"
40
+ id="icon_Grid"
41
+ stroke="url(#grad-Grid)"
42
+ stroke-width={weight}
43
+ stroke-linecap="round"
44
+ stroke-linejoin="round"
45
+ />
46
+ <path
47
+ d="M2.64447 1.3999C1.95718 1.3999 1.40002 1.94943 1.40002 2.6273L1.40003 4.72253C1.40003 5.4004 1.95719 5.94993 2.64447 5.94993H4.51114C5.19843 5.94993 5.75558 5.4004 5.75558 4.72253L5.75558 2.6273C5.75558 1.94943 5.19842 1.3999 4.51113 1.3999L2.64447 1.3999Z"
48
+ id="icon_Grid"
49
+ stroke="url(#grad-Grid)"
50
+ stroke-width={weight}
51
+ stroke-linecap="round"
52
+ stroke-linejoin="round"
53
+ />
54
+ <path
55
+ d="M11.3556 8.04993C12.0429 8.04993 12.6 8.59945 12.6 9.27732V11.3725C12.6 12.0504 12.0429 12.5999 11.3556 12.5999H9.48892C8.80163 12.5999 8.24447 12.0504 8.24447 11.3725L8.24447 9.27732C8.24447 8.59945 8.80163 8.04993 9.48892 8.04993H11.3556Z"
56
+ id="icon_Grid"
57
+ stroke="url(#grad-Grid)"
58
+ stroke-width={weight}
59
+ stroke-linecap="round"
60
+ stroke-linejoin="round"
61
+ />
62
+ <path
63
+ d="M2.64447 8.04993C1.95719 8.04993 1.40003 8.59945 1.40003 9.27732L1.40003 11.3725C1.40003 12.0504 1.95719 12.5999 2.64448 12.5999H4.51114C5.19843 12.5999 5.75559 12.0504 5.75559 11.3725L5.75558 9.27732C5.75558 8.59945 5.19843 8.04993 4.51114 8.04993H2.64447Z"
64
+ id="icon_Grid"
65
+ stroke="url(#grad-Grid)"
66
+ stroke-width={weight}
67
+ stroke-linecap="round"
68
+ stroke-linejoin="round"
69
+ />
70
+ </g>
71
+
72
+ <defs>
73
+ <linearGradient
74
+ id="grad-Grid"
75
+ x1={getGradientDirection(gradient.direction).x1}
76
+ y1={getGradientDirection(gradient.direction).y1}
77
+ x2={getGradientDirection(gradient.direction).x2}
78
+ y2={getGradientDirection(gradient.direction).y2}
79
+ >
80
+ <stop
81
+ offset="0%"
82
+ style="stop-color:{gradient.colors[0]};stop-opacity:1"
83
+ />
84
+ <stop
85
+ offset="100%"
86
+ style="stop-color:{gradient.colors[1]};stop-opacity:1"
87
+ />
88
+ </linearGradient>
89
+ </defs>
90
+ </svg>
91
+ {:else}
92
+ <svg
93
+ xmlns="http://www.w3.org/2000/svg"
94
+ style="width: {size}; height: {size};"
95
+ viewBox="0 0 14 14"
96
+ fill="none"
97
+ >
98
+ <g id="id_Grid">
99
+ <path
100
+ d="M11.3556 1.3999C12.0429 1.3999 12.6 1.94943 12.6 2.6273L12.6 4.72253C12.6 5.4004 12.0429 5.94993 11.3556 5.94993H9.48892C8.80163 5.94993 8.24447 5.4004 8.24447 4.72253L8.24447 2.6273C8.24447 1.94943 8.80162 1.3999 9.48891 1.3999L11.3556 1.3999Z"
101
+ id="icon_Grid"
102
+ stroke={color}
103
+ stroke-width={weight}
104
+ stroke-linecap="round"
105
+ stroke-linejoin="round"
106
+ />
107
+ <path
108
+ d="M2.64447 1.3999C1.95718 1.3999 1.40002 1.94943 1.40002 2.6273L1.40003 4.72253C1.40003 5.4004 1.95719 5.94993 2.64447 5.94993H4.51114C5.19843 5.94993 5.75558 5.4004 5.75558 4.72253L5.75558 2.6273C5.75558 1.94943 5.19842 1.3999 4.51113 1.3999L2.64447 1.3999Z"
109
+ id="icon_Grid"
110
+ stroke={color}
111
+ stroke-width={weight}
112
+ stroke-linecap="round"
113
+ stroke-linejoin="round"
114
+ />
115
+ <path
116
+ d="M11.3556 8.04993C12.0429 8.04993 12.6 8.59945 12.6 9.27732V11.3725C12.6 12.0504 12.0429 12.5999 11.3556 12.5999H9.48892C8.80163 12.5999 8.24447 12.0504 8.24447 11.3725L8.24447 9.27732C8.24447 8.59945 8.80163 8.04993 9.48892 8.04993H11.3556Z"
117
+ id="icon_Grid"
118
+ stroke={color}
119
+ stroke-width={weight}
120
+ stroke-linecap="round"
121
+ stroke-linejoin="round"
122
+ />
123
+ <path
124
+ d="M2.64447 8.04993C1.95719 8.04993 1.40003 8.59945 1.40003 9.27732L1.40003 11.3725C1.40003 12.0504 1.95719 12.5999 2.64448 12.5999H4.51114C5.19843 12.5999 5.75559 12.0504 5.75559 11.3725L5.75558 9.27732C5.75558 8.59945 5.19843 8.04993 4.51114 8.04993H2.64447Z"
125
+ id="icon_Grid"
126
+ stroke={color}
127
+ stroke-width={weight}
128
+ stroke-linecap="round"
129
+ stroke-linejoin="round"
130
+ />
131
+ </g>
132
+ </svg>
133
+ {/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 GridIconProps = typeof __propDef.props;
18
+ export type GridIconEvents = typeof __propDef.events;
19
+ export type GridIconSlots = typeof __propDef.slots;
20
+ export default class GridIcon extends SvelteComponent<GridIconProps, GridIconEvents, GridIconSlots> {
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_Hourglass">
39
+ <path
40
+ id="icon_Hourglass"
41
+ d="M4.43431 14.4H11.5657C11.9697 14.4 12.2972 14.0725 12.2972 13.6686V11.7147C12.2972 11.5585 12.2472 11.4065 12.1546 11.2808L10.0453 8.41819C9.86078 8.16776 9.85484 7.82801 10.0305 7.57128L11.9865 4.71246C12.0698 4.59081 12.1143 4.44684 12.1143 4.29943V2.33143C12.1143 1.92747 11.7868 1.6 11.3829 1.6H4.43431C4.03035 1.6 3.70288 1.92747 3.70288 2.33143V4.28534C3.70288 4.44148 3.75285 4.59352 3.84547 4.71922L5.94318 7.56611C6.13329 7.82413 6.13329 8.17586 5.94318 8.43388L3.84547 11.2808C3.75285 11.4065 3.70288 11.5585 3.70288 11.7147V13.6686C3.70288 14.0725 4.03035 14.4 4.43431 14.4Z"
42
+ stroke="url(#grad-Hourglass)"
43
+ stroke-width={weight}
44
+ stroke-linecap="round"
45
+ stroke-linejoin="round"
46
+ />
47
+ </g>
48
+
49
+ <defs>
50
+ <linearGradient
51
+ id="grad-Hourglass"
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_Hourglass">
76
+ <path
77
+ id="icon_Hourglass"
78
+ d="M4.43431 14.4H11.5657C11.9697 14.4 12.2972 14.0725 12.2972 13.6686V11.7147C12.2972 11.5585 12.2472 11.4065 12.1546 11.2808L10.0453 8.41819C9.86078 8.16776 9.85484 7.82801 10.0305 7.57128L11.9865 4.71246C12.0698 4.59081 12.1143 4.44684 12.1143 4.29943V2.33143C12.1143 1.92747 11.7868 1.6 11.3829 1.6H4.43431C4.03035 1.6 3.70288 1.92747 3.70288 2.33143V4.28534C3.70288 4.44148 3.75285 4.59352 3.84547 4.71922L5.94318 7.56611C6.13329 7.82413 6.13329 8.17586 5.94318 8.43388L3.84547 11.2808C3.75285 11.4065 3.70288 11.5585 3.70288 11.7147V13.6686C3.70288 14.0725 4.03035 14.4 4.43431 14.4Z"
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 HourglassIconProps = typeof __propDef.props;
18
+ export type HourglassIconEvents = typeof __propDef.events;
19
+ export type HourglassIconSlots = typeof __propDef.slots;
20
+ export default class HourglassIcon extends SvelteComponent<HourglassIconProps, HourglassIconEvents, HourglassIconSlots> {
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_Lock">
39
+ <path
40
+ id="icon_Lock"
41
+ d="M3.85005 5.13324V4.5999C3.85005 2.8272 5.25505 1.3999 7.00005 1.3999C8.74505 1.3999 10.15 2.8272 10.15 4.5999V5.13324M3.85005 5.13324C3.27255 5.13324 2.80005 5.61324 2.80005 6.1999V11.5332C2.80005 12.1199 3.27255 12.5999 3.85005 12.5999H10.15C10.7276 12.5999 11.2001 12.1199 11.2001 11.5332V6.1999C11.2001 5.61324 10.7276 5.13324 10.15 5.13324M3.85005 5.13324H10.15M7.00005 7.7999C7.57755 7.7999 8.05005 8.2799 8.05005 8.86657C8.05005 9.45324 7.57755 9.93323 7.00005 9.93323C6.42255 9.93323 5.95005 9.45324 5.95005 8.86657C5.95005 8.2799 6.42255 7.7999 7.00005 7.7999Z"
42
+ stroke="url(#grad-Lock)"
43
+ stroke-width={weight}
44
+ stroke-linecap="round"
45
+ stroke-linejoin="round"
46
+ />
47
+ </g>
48
+
49
+ <defs>
50
+ <linearGradient
51
+ id="grad-Lock"
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_Lock">
76
+ <path
77
+ id="icon_Lock"
78
+ d="M3.85005 5.13324V4.5999C3.85005 2.8272 5.25505 1.3999 7.00005 1.3999C8.74505 1.3999 10.15 2.8272 10.15 4.5999V5.13324M3.85005 5.13324C3.27255 5.13324 2.80005 5.61324 2.80005 6.1999V11.5332C2.80005 12.1199 3.27255 12.5999 3.85005 12.5999H10.15C10.7276 12.5999 11.2001 12.1199 11.2001 11.5332V6.1999C11.2001 5.61324 10.7276 5.13324 10.15 5.13324M3.85005 5.13324H10.15M7.00005 7.7999C7.57755 7.7999 8.05005 8.2799 8.05005 8.86657C8.05005 9.45324 7.57755 9.93323 7.00005 9.93323C6.42255 9.93323 5.95005 9.45324 5.95005 8.86657C5.95005 8.2799 6.42255 7.7999 7.00005 7.7999Z"
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 LockIconProps = typeof __propDef.props;
18
+ export type LockIconEvents = typeof __propDef.events;
19
+ export type LockIconSlots = typeof __propDef.slots;
20
+ export default class LockIcon extends SvelteComponent<LockIconProps, LockIconEvents, LockIconSlots> {
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_Logout">
39
+ <path
40
+ id="icon_Logout"
41
+ d="M9.76471 10.8V12.2C9.76471 12.5713 9.61597 12.9274 9.35121 13.19C9.08645 13.4525 8.72736 13.6 8.35294 13.6L3.41177 13.6C3.03734 13.6 2.67825 13.4525 2.4135 13.19C2.14874 12.9274 2 12.5713 2 12.2L2 3.80003C2 3.42872 2.14874 3.07263 2.4135 2.81008C2.67825 2.54752 3.03734 2.40002 3.41176 2.40002L8.35294 2.40002C8.72736 2.40002 9.08645 2.54752 9.35121 2.81008C9.61597 3.07263 9.76471 3.42872 9.76471 3.80002V5.20002M5.52941 8.00002L14 8.00002M14 8.00002L11.8824 10.1M14 8.00002L11.8824 5.90002"
42
+ stroke="url(#grad-Logout)"
43
+ stroke-width={weight}
44
+ stroke-linecap="round"
45
+ stroke-linejoin="round"
46
+ />
47
+ </g>
48
+
49
+ <defs>
50
+ <linearGradient
51
+ id="grad-Logout"
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_Logout">
76
+ <path
77
+ id="icon_Logout"
78
+ d="M9.76471 10.8V12.2C9.76471 12.5713 9.61597 12.9274 9.35121 13.19C9.08645 13.4525 8.72736 13.6 8.35294 13.6L3.41177 13.6C3.03734 13.6 2.67825 13.4525 2.4135 13.19C2.14874 12.9274 2 12.5713 2 12.2L2 3.80003C2 3.42872 2.14874 3.07263 2.4135 2.81008C2.67825 2.54752 3.03734 2.40002 3.41176 2.40002L8.35294 2.40002C8.72736 2.40002 9.08645 2.54752 9.35121 2.81008C9.61597 3.07263 9.76471 3.42872 9.76471 3.80002V5.20002M5.52941 8.00002L14 8.00002M14 8.00002L11.8824 10.1M14 8.00002L11.8824 5.90002"
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 LogoutIconProps = typeof __propDef.props;
18
+ export type LogoutIconEvents = typeof __propDef.events;
19
+ export type LogoutIconSlots = typeof __propDef.slots;
20
+ export default class LogoutIcon extends SvelteComponent<LogoutIconProps, LogoutIconEvents, LogoutIconSlots> {
21
+ }
22
+ export {};