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.
- package/.gitignore +11 -0
- package/.npmrc +1 -0
- package/.svelte-kit/__package__/index.d.ts +42 -0
- package/.svelte-kit/__package__/index.js +42 -0
- package/.svelte-kit/ambient.d.ts +389 -0
- package/.svelte-kit/generated/client/app.js +19 -0
- package/.svelte-kit/generated/client/matchers.js +1 -0
- package/.svelte-kit/generated/client/nodes/0.js +1 -0
- package/.svelte-kit/generated/client/nodes/1.js +1 -0
- package/.svelte-kit/generated/client/nodes/2.js +1 -0
- package/.svelte-kit/generated/client-optimized/app.js +19 -0
- package/.svelte-kit/generated/client-optimized/matchers.js +1 -0
- package/.svelte-kit/generated/client-optimized/nodes/0.js +1 -0
- package/.svelte-kit/generated/client-optimized/nodes/1.js +1 -0
- package/.svelte-kit/generated/client-optimized/nodes/2.js +1 -0
- package/.svelte-kit/generated/root.svelte +57 -0
- package/.svelte-kit/generated/server/internal.js +30 -0
- package/.svelte-kit/non-ambient.d.ts +25 -0
- package/.svelte-kit/output/client/.vite/manifest.json +71 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/index.fwz0P8IJ.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/scheduler.k-kUyWhY.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/singletons.BTKERuC0.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/entry/app.WGYaKRLN.js +7 -0
- package/.svelte-kit/output/client/_app/immutable/entry/start.aC2tJUKM.js +4 -0
- package/.svelte-kit/output/client/_app/immutable/nodes/0.TPefyB_B.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/nodes/1.YWupMHx9.js +1 -0
- package/.svelte-kit/output/client/_app/immutable/nodes/2.sCXEpvk1.js +1 -0
- package/.svelte-kit/output/client/_app/version.json +1 -0
- package/.svelte-kit/output/client/favicon.png +0 -0
- package/.svelte-kit/output/server/.vite/manifest.json +52 -0
- package/.svelte-kit/output/server/chunks/internal.js +211 -0
- package/.svelte-kit/output/server/chunks/ssr.js +117 -0
- package/.svelte-kit/output/server/entries/fallbacks/error.svelte.js +31 -0
- package/.svelte-kit/output/server/entries/fallbacks/layout.svelte.js +7 -0
- package/.svelte-kit/output/server/entries/pages/_page.svelte.js +7 -0
- package/.svelte-kit/output/server/index.js +3052 -0
- package/.svelte-kit/output/server/internal.js +10 -0
- package/.svelte-kit/output/server/manifest-full.js +34 -0
- package/.svelte-kit/output/server/manifest.js +34 -0
- package/.svelte-kit/output/server/nodes/0.js +8 -0
- package/.svelte-kit/output/server/nodes/1.js +8 -0
- package/.svelte-kit/output/server/nodes/2.js +8 -0
- package/.svelte-kit/tsconfig.json +46 -0
- package/.svelte-kit/types/route_meta_data.json +3 -0
- package/.svelte-kit/types/src/routes/$types.d.ts +22 -0
- package/dist/index.d.ts +41 -41
- package/dist/index.js +41 -41
- package/package.json +1 -1
- package/src/app.d.ts +13 -0
- package/src/app.html +12 -0
- package/src/icons/AddImageIcon.svelte +101 -0
- package/src/icons/AddImageIcon.svelte.d.ts +22 -0
- package/src/icons/AddSquareIcon.svelte +88 -0
- package/src/icons/AddSquareIcon.svelte.d.ts +22 -0
- package/src/icons/AlertCircleIcon.svelte +88 -0
- package/src/icons/AlertCircleIcon.svelte.d.ts +22 -0
- package/src/icons/AnnotationXIcon.svelte +88 -0
- package/src/icons/AnnotationXIcon.svelte.d.ts +22 -0
- package/src/icons/ArrowCalendarIcon.svelte +88 -0
- package/src/icons/ArrowCalendarIcon.svelte.d.ts +22 -0
- package/src/icons/ArrowLeftIcon.svelte +88 -0
- package/src/icons/ArrowLeftIcon.svelte.d.ts +22 -0
- package/src/icons/ArrowSwitchIcon.svelte +88 -0
- package/src/icons/ArrowSwitchIcon.svelte.d.ts +22 -0
- package/src/icons/ArrowUpIcon.svelte +88 -0
- package/src/icons/ArrowUpIcon.svelte.d.ts +22 -0
- package/src/icons/BellIcon.svelte +87 -0
- package/src/icons/BellIcon.svelte.d.ts +22 -0
- package/src/icons/BezierIcon.svelte +88 -0
- package/src/icons/BezierIcon.svelte.d.ts +22 -0
- package/src/icons/CalendarIcon.svelte +88 -0
- package/src/icons/CalendarIcon.svelte.d.ts +22 -0
- package/src/icons/CameraIcon.svelte +88 -0
- package/src/icons/CameraIcon.svelte.d.ts +22 -0
- package/src/icons/CertificateIcon.svelte +88 -0
- package/src/icons/CertificateIcon.svelte.d.ts +22 -0
- package/src/icons/CheckCircleIcon.svelte +88 -0
- package/src/icons/CheckCircleIcon.svelte.d.ts +22 -0
- package/src/icons/CheckIcon.svelte +88 -0
- package/src/icons/CheckIcon.svelte.d.ts +22 -0
- package/src/icons/ChevronDownIcon.svelte +88 -0
- package/src/icons/ChevronDownIcon.svelte.d.ts +22 -0
- package/src/icons/ChevronUpIcon.svelte +88 -0
- package/src/icons/ChevronUpIcon.svelte.d.ts +22 -0
- package/src/icons/ClockIcon.svelte +88 -0
- package/src/icons/ClockIcon.svelte.d.ts +22 -0
- package/src/icons/CloseIcon.svelte +88 -0
- package/src/icons/CloseIcon.svelte.d.ts +22 -0
- package/src/icons/CollectionIcon.svelte +88 -0
- package/src/icons/CollectionIcon.svelte.d.ts +22 -0
- package/src/icons/CopyIcon.svelte +88 -0
- package/src/icons/CopyIcon.svelte.d.ts +22 -0
- package/src/icons/EditIcon.svelte +88 -0
- package/src/icons/EditIcon.svelte.d.ts +22 -0
- package/src/icons/FavoriteIcon.svelte +88 -0
- package/src/icons/FavoriteIcon.svelte.d.ts +22 -0
- package/src/icons/FilterIcon.svelte +88 -0
- package/src/icons/FilterIcon.svelte.d.ts +22 -0
- package/src/icons/FlameIcon.svelte +88 -0
- package/src/icons/FlameIcon.svelte.d.ts +22 -0
- package/src/icons/FolderIcon.svelte +88 -0
- package/src/icons/FolderIcon.svelte.d.ts +22 -0
- package/src/icons/FolderPlusIcon.svelte +88 -0
- package/src/icons/FolderPlusIcon.svelte.d.ts +22 -0
- package/src/icons/GridIcon.svelte +133 -0
- package/src/icons/GridIcon.svelte.d.ts +22 -0
- package/src/icons/HourglassIcon.svelte +88 -0
- package/src/icons/HourglassIcon.svelte.d.ts +22 -0
- package/src/icons/LockIcon.svelte +88 -0
- package/src/icons/LockIcon.svelte.d.ts +22 -0
- package/src/icons/LogoutIcon.svelte +88 -0
- package/src/icons/LogoutIcon.svelte.d.ts +22 -0
- package/src/icons/MenuIcon.svelte +117 -0
- package/src/icons/MenuIcon.svelte.d.ts +22 -0
- package/src/icons/NoFolder.svelte +101 -0
- package/src/icons/NoFolder.svelte.d.ts +22 -0
- package/src/icons/NotificationIcon.svelte +88 -0
- package/src/icons/NotificationIcon.svelte.d.ts +22 -0
- package/src/icons/OverlapIcon.svelte +88 -0
- package/src/icons/OverlapIcon.svelte.d.ts +22 -0
- package/src/icons/SearchIcon.svelte +88 -0
- package/src/icons/SearchIcon.svelte.d.ts +22 -0
- package/src/icons/SendIcon.svelte +88 -0
- package/src/icons/SendIcon.svelte.d.ts +22 -0
- package/src/icons/TeamUserIcon.svelte +88 -0
- package/src/icons/TeamUserIcon.svelte.d.ts +22 -0
- package/src/icons/TrashIcon.svelte +88 -0
- package/src/icons/TrashIcon.svelte.d.ts +22 -0
- package/src/icons/UploadIcon.svelte +88 -0
- package/src/icons/UploadIcon.svelte.d.ts +22 -0
- package/src/icons/UserProfileIcon.svelte +89 -0
- package/src/icons/UserProfileIcon.svelte.d.ts +22 -0
- package/src/lib/index.ts +44 -0
- package/src/routes/+page.svelte +0 -0
- package/static/favicon.png +0 -0
- package/svelte.config.js +18 -0
- package/tsconfig.json +15 -0
- package/vite.config.ts +6 -0
- package/yarn.lock +1082 -0
|
@@ -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_AlertCircle">
|
|
39
|
+
<path
|
|
40
|
+
id="icon_AlertCircle"
|
|
41
|
+
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"
|
|
42
|
+
stroke="url(#grad-AlertCircle)"
|
|
43
|
+
stroke-width={weight}
|
|
44
|
+
stroke-linecap="round"
|
|
45
|
+
stroke-linejoin="round"
|
|
46
|
+
/>
|
|
47
|
+
</g>
|
|
48
|
+
|
|
49
|
+
<defs>
|
|
50
|
+
<linearGradient
|
|
51
|
+
id="grad-AlertCircle"
|
|
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_AlertCircle">
|
|
76
|
+
<path
|
|
77
|
+
id="icon_AlertCircle"
|
|
78
|
+
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"
|
|
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 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 {};
|
|
@@ -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 46 46"
|
|
36
|
+
fill="none"
|
|
37
|
+
>
|
|
38
|
+
<g id="id_AnnotationX">
|
|
39
|
+
<path
|
|
40
|
+
id="icon_AnnotationX"
|
|
41
|
+
d="M27.6 23L23 18.5M23 18.5L18.4 14M23 18.5L18.4 23M23 18.5L27.6 14M28 31.6087L23 41L18.4 31.6087H9.20001C6.6595 31.6087 4.60001 29.594 4.60001 27.1087V9.5C4.60001 7.01472 6.6595 5 9.20001 5H36.8C39.3405 5 41.4 7.01472 41.4 9.5V27.1087C41.4 29.594 39.3405 31.6087 36.8 31.6087H28Z"
|
|
42
|
+
stroke="url(#grad-AnnotationX)"
|
|
43
|
+
stroke-width={weight}
|
|
44
|
+
stroke-linecap="round"
|
|
45
|
+
stroke-linejoin="round"
|
|
46
|
+
/>
|
|
47
|
+
</g>
|
|
48
|
+
|
|
49
|
+
<defs>
|
|
50
|
+
<linearGradient
|
|
51
|
+
id="grad-AnnotationX"
|
|
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 46 46"
|
|
73
|
+
fill="none"
|
|
74
|
+
>
|
|
75
|
+
<g id="id_AnnotationX">
|
|
76
|
+
<path
|
|
77
|
+
id="icon_AnnotationX"
|
|
78
|
+
d="M27.6 23L23 18.5M23 18.5L18.4 14M23 18.5L18.4 23M23 18.5L27.6 14M28 31.6087L23 41L18.4 31.6087H9.20001C6.6595 31.6087 4.60001 29.594 4.60001 27.1087V9.5C4.60001 7.01472 6.6595 5 9.20001 5H36.8C39.3405 5 41.4 7.01472 41.4 9.5V27.1087C41.4 29.594 39.3405 31.6087 36.8 31.6087H28Z"
|
|
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 AnnotationXIconProps = typeof __propDef.props;
|
|
18
|
+
export type AnnotationXIconEvents = typeof __propDef.events;
|
|
19
|
+
export type AnnotationXIconSlots = typeof __propDef.slots;
|
|
20
|
+
export default class AnnotationXIcon extends SvelteComponent<AnnotationXIconProps, AnnotationXIconEvents, AnnotationXIconSlots> {
|
|
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_ArrowCalendar">
|
|
39
|
+
<path
|
|
40
|
+
id="icon_ArrowCalendar"
|
|
41
|
+
d="M8.94447 6.2999L10.5 8.0499M10.5 8.0499L8.94447 9.7999M10.5 8.0499H4.20002M4.20002 3.85024H10.0334M12.6 3.4999V10.4999C12.6 11.6597 11.6598 12.5999 10.5 12.5999H3.50002C2.34023 12.5999 1.40002 11.6597 1.40002 10.4999V3.4999C1.40002 2.3401 2.34023 1.3999 3.50002 1.3999H10.5C11.6598 1.3999 12.6 2.3401 12.6 3.4999Z"
|
|
42
|
+
stroke="url(#grad-ArrowCalendar)"
|
|
43
|
+
stroke-width={weight}
|
|
44
|
+
stroke-linecap="round"
|
|
45
|
+
stroke-linejoin="round"
|
|
46
|
+
/>
|
|
47
|
+
</g>
|
|
48
|
+
|
|
49
|
+
<defs>
|
|
50
|
+
<linearGradient
|
|
51
|
+
id="grad-ArrowCalendar"
|
|
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_ArrowCalendar">
|
|
76
|
+
<path
|
|
77
|
+
id="icon_ArrowCalendar"
|
|
78
|
+
d="M8.94447 6.2999L10.5 8.0499M10.5 8.0499L8.94447 9.7999M10.5 8.0499H4.20002M4.20002 3.85024H10.0334M12.6 3.4999V10.4999C12.6 11.6597 11.6598 12.5999 10.5 12.5999H3.50002C2.34023 12.5999 1.40002 11.6597 1.40002 10.4999V3.4999C1.40002 2.3401 2.34023 1.3999 3.50002 1.3999H10.5C11.6598 1.3999 12.6 2.3401 12.6 3.4999Z"
|
|
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 ArrowCalendarIconProps = typeof __propDef.props;
|
|
18
|
+
export type ArrowCalendarIconEvents = typeof __propDef.events;
|
|
19
|
+
export type ArrowCalendarIconSlots = typeof __propDef.slots;
|
|
20
|
+
export default class ArrowCalendarIcon extends SvelteComponent<ArrowCalendarIconProps, ArrowCalendarIconEvents, ArrowCalendarIconSlots> {
|
|
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 18 18"
|
|
36
|
+
fill="none"
|
|
37
|
+
>
|
|
38
|
+
<g id="id_ArrowLeft">
|
|
39
|
+
<path
|
|
40
|
+
id="icon_ArrowLeft"
|
|
41
|
+
d="M8.125 13.5L3.75 9M3.75 9L8.125 4.5M3.75 9H14.25"
|
|
42
|
+
stroke="url(#grad-ArrowLeft)"
|
|
43
|
+
stroke-width={weight}
|
|
44
|
+
stroke-linecap="round"
|
|
45
|
+
stroke-linejoin="round"
|
|
46
|
+
/>
|
|
47
|
+
</g>
|
|
48
|
+
|
|
49
|
+
<defs>
|
|
50
|
+
<linearGradient
|
|
51
|
+
id="grad-ArrowLeft"
|
|
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 18 18"
|
|
73
|
+
fill="none"
|
|
74
|
+
>
|
|
75
|
+
<g id="id_ArrowLeft">
|
|
76
|
+
<path
|
|
77
|
+
id="icon_ArrowLeft"
|
|
78
|
+
d="M8.125 13.5L3.75 9M3.75 9L8.125 4.5M3.75 9H14.25"
|
|
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 ArrowLeftIconProps = typeof __propDef.props;
|
|
18
|
+
export type ArrowLeftIconEvents = typeof __propDef.events;
|
|
19
|
+
export type ArrowLeftIconSlots = typeof __propDef.slots;
|
|
20
|
+
export default class ArrowLeftIcon extends SvelteComponent<ArrowLeftIconProps, ArrowLeftIconEvents, ArrowLeftIconSlots> {
|
|
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_ArrowSwitch">
|
|
39
|
+
<path
|
|
40
|
+
id="icon_ArrowSwitch"
|
|
41
|
+
d="M8.40015 3.4999L10.5001 1.3999M10.5001 1.3999L12.6001 3.4999M10.5001 1.3999L10.5001 12.5999M5.60015 10.4999L3.50015 12.5999M3.50015 12.5999L1.40015 10.4999M3.50015 12.5999L3.50015 1.3999"
|
|
42
|
+
stroke="url(#grad-ArrowSwitch)"
|
|
43
|
+
stroke-width={weight}
|
|
44
|
+
stroke-linecap="round"
|
|
45
|
+
stroke-linejoin="round"
|
|
46
|
+
/>
|
|
47
|
+
</g>
|
|
48
|
+
|
|
49
|
+
<defs>
|
|
50
|
+
<linearGradient
|
|
51
|
+
id="grad-ArrowSwitch"
|
|
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_ArrowSwitch">
|
|
76
|
+
<path
|
|
77
|
+
id="icon_ArrowSwitch"
|
|
78
|
+
d="M8.40015 3.4999L10.5001 1.3999M10.5001 1.3999L12.6001 3.4999M10.5001 1.3999L10.5001 12.5999M5.60015 10.4999L3.50015 12.5999M3.50015 12.5999L1.40015 10.4999M3.50015 12.5999L3.50015 1.3999"
|
|
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 ArrowSwitchIconProps = typeof __propDef.props;
|
|
18
|
+
export type ArrowSwitchIconEvents = typeof __propDef.events;
|
|
19
|
+
export type ArrowSwitchIconSlots = typeof __propDef.slots;
|
|
20
|
+
export default class ArrowSwitchIcon extends SvelteComponent<ArrowSwitchIconProps, ArrowSwitchIconEvents, ArrowSwitchIconSlots> {
|
|
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 15"
|
|
36
|
+
fill="none"
|
|
37
|
+
>
|
|
38
|
+
<g id="id_ArrowUp">
|
|
39
|
+
<path
|
|
40
|
+
id="icon_ArrowUp"
|
|
41
|
+
d="M4.93383 4.63038L9.905 4.63031M9.905 4.63031L9.905 9.53077M9.905 4.63031L4.13029 10.405"
|
|
42
|
+
stroke="url(#grad-ArrowUp)"
|
|
43
|
+
stroke-width={weight}
|
|
44
|
+
stroke-linecap="round"
|
|
45
|
+
stroke-linejoin="round"
|
|
46
|
+
/>
|
|
47
|
+
</g>
|
|
48
|
+
|
|
49
|
+
<defs>
|
|
50
|
+
<linearGradient
|
|
51
|
+
id="grad-ArrowUp"
|
|
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 15"
|
|
73
|
+
fill="none"
|
|
74
|
+
>
|
|
75
|
+
<g id="id_ArrowUp">
|
|
76
|
+
<path
|
|
77
|
+
id="icon_ArrowUp"
|
|
78
|
+
d="M4.93383 4.63038L9.905 4.63031M9.905 4.63031L9.905 9.53077M9.905 4.63031L4.13029 10.405"
|
|
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 ArrowUpIconProps = typeof __propDef.props;
|
|
18
|
+
export type ArrowUpIconEvents = typeof __propDef.events;
|
|
19
|
+
export type ArrowUpIconSlots = typeof __propDef.slots;
|
|
20
|
+
export default class ArrowUpIcon extends SvelteComponent<ArrowUpIconProps, ArrowUpIconEvents, ArrowUpIconSlots> {
|
|
21
|
+
}
|
|
22
|
+
export {};
|