@coyalabs/bts-style 1.3.2 → 1.3.3
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/dist/Base/BaseContainer.svelte +3 -1
- package/dist/Base/VariantTypes.d.ts +11 -0
- package/dist/Base/VariantTypes.js +9 -0
- package/dist/Components/Button.svelte +2 -1
- package/dist/Components/Dropdown.svelte +2 -1
- package/dist/Components/InputBox.svelte +2 -1
- package/dist/Components/Popup/AlertPopup.svelte +2 -1
- package/dist/Components/Popup/ConfirmPopup.svelte +3 -2
- package/dist/Components/Popup/Popup.svelte +2 -1
- package/dist/Components/Popup/PromptPopup.svelte +3 -2
- package/dist/Components/Separator.svelte +1 -1
- package/dist/Components/Special/SpecialAction.svelte +2 -1
- package/dist/Components/Tooltip.svelte +2 -1
- package/dist/Components/TreeDirectory.svelte +13 -16
- package/dist/Components/TreeDirectory.svelte.d.ts +2 -2
- package/dist/Structure/BG/AssetGear.d.ts +2 -2
- package/dist/Structure/BG/AssetGear.js +2 -2
- package/dist/icons.js +10 -10
- package/package.json +1 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
+
import { VARIANT_FULL } from './VariantTypes.js';
|
|
3
|
+
|
|
2
4
|
/**
|
|
3
5
|
* @typedef {import('./VariantTypes.js').BaseContainerVariant} BaseContainerVariant
|
|
4
6
|
*/
|
|
@@ -6,7 +8,7 @@
|
|
|
6
8
|
/**
|
|
7
9
|
* @type {BaseContainerVariant}
|
|
8
10
|
*/
|
|
9
|
-
export let theme =
|
|
11
|
+
export let theme = VARIANT_FULL;
|
|
10
12
|
|
|
11
13
|
/**
|
|
12
14
|
* @type {string}
|
|
@@ -1 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {'full' | 'primary' | 'secondary' | 'filled' | 'special-filled'} BaseContainerVariant
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Default variant values as constants
|
|
6
|
+
*/
|
|
7
|
+
export const VARIANT_FULL: "full";
|
|
8
|
+
export const VARIANT_PRIMARY: "primary";
|
|
9
|
+
export const VARIANT_SECONDARY: "secondary";
|
|
10
|
+
export const VARIANT_FILLED: "filled";
|
|
11
|
+
export const VARIANT_SPECIAL_FILLED: "special-filled";
|
|
1
12
|
export type BaseContainerVariant = "full" | "primary" | "secondary" | "filled" | "special-filled";
|
|
@@ -2,4 +2,13 @@
|
|
|
2
2
|
* @typedef {'full' | 'primary' | 'secondary' | 'filled' | 'special-filled'} BaseContainerVariant
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Default variant values as constants
|
|
7
|
+
*/
|
|
8
|
+
export const VARIANT_FULL = /** @type {const} */ ('full');
|
|
9
|
+
export const VARIANT_PRIMARY = /** @type {const} */ ('primary');
|
|
10
|
+
export const VARIANT_SECONDARY = /** @type {const} */ ('secondary');
|
|
11
|
+
export const VARIANT_FILLED = /** @type {const} */ ('filled');
|
|
12
|
+
export const VARIANT_SPECIAL_FILLED = /** @type {const} */ ('special-filled');
|
|
13
|
+
|
|
5
14
|
export {};
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import BaseText from '../Base/BaseText.svelte';
|
|
4
4
|
import BaseIcon from '../Base/BaseIcon.svelte';
|
|
5
5
|
import { icons } from '../icons';
|
|
6
|
+
import { VARIANT_FULL } from '../Base/VariantTypes.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @typedef {import('../Base/VariantTypes.js').BaseContainerVariant} BaseContainerVariant
|
|
@@ -11,7 +12,7 @@
|
|
|
11
12
|
/**
|
|
12
13
|
* @type {BaseContainerVariant}
|
|
13
14
|
*/
|
|
14
|
-
export let theme =
|
|
15
|
+
export let theme = VARIANT_FULL;
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* @type {string | null}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import ContextMenu from './ContextMenu.svelte';
|
|
4
4
|
import { icons } from '../icons';
|
|
5
5
|
import { slide } from 'svelte/transition';
|
|
6
|
+
import { VARIANT_FULL } from '../Base/VariantTypes.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @type {string}
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
/**
|
|
22
23
|
* @type {BaseContainerVariant}
|
|
23
24
|
*/
|
|
24
|
-
export let theme =
|
|
25
|
+
export let theme = VARIANT_FULL;
|
|
25
26
|
|
|
26
27
|
/**
|
|
27
28
|
* @type {string}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import BaseContainer from '../Base/BaseContainer.svelte';
|
|
3
3
|
import BaseIcon from '../Base/BaseIcon.svelte';
|
|
4
4
|
import { icons } from '../icons.js';
|
|
5
|
+
import { VARIANT_SECONDARY } from '../Base/VariantTypes.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @typedef {import('../Base/VariantTypes.js').BaseContainerVariant} BaseContainerVariant
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
/**
|
|
11
12
|
* @type {BaseContainerVariant}
|
|
12
13
|
*/
|
|
13
|
-
export let theme =
|
|
14
|
+
export let theme = VARIANT_SECONDARY;
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* @type {string}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import Button from '../Button.svelte';
|
|
3
3
|
import { icons } from '../../icons.js';
|
|
4
4
|
import { popupStore } from '../popupStore.js';
|
|
5
|
+
import { VARIANT_PRIMARY } from '../../Base/VariantTypes.js';
|
|
5
6
|
|
|
6
7
|
/** @type {() => void} */
|
|
7
8
|
export let onOk = () => {};
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
</script>
|
|
17
18
|
|
|
18
19
|
<div class="buttons">
|
|
19
|
-
<Button actionIcon={icons.check} theme=
|
|
20
|
+
<Button actionIcon={icons.check} theme={VARIANT_PRIMARY} on:click={handleOk}>{okText}</Button>
|
|
20
21
|
</div>
|
|
21
22
|
|
|
22
23
|
<style>
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { icons } from '../../icons.js';
|
|
3
3
|
import Button from '../Button.svelte';
|
|
4
4
|
import { popupStore } from '../popupStore.js';
|
|
5
|
+
import { VARIANT_PRIMARY, VARIANT_SECONDARY } from '../../Base/VariantTypes.js';
|
|
5
6
|
|
|
6
7
|
/** @type {() => void} */
|
|
7
8
|
export let onConfirm = () => {};
|
|
@@ -27,8 +28,8 @@
|
|
|
27
28
|
</script>
|
|
28
29
|
|
|
29
30
|
<div class="buttons">
|
|
30
|
-
<Button theme=
|
|
31
|
-
<Button theme=
|
|
31
|
+
<Button theme={VARIANT_PRIMARY} actionIcon={icons.check} on:click={handleConfirm}>{confirmText}</Button>
|
|
32
|
+
<Button theme={VARIANT_SECONDARY} actionIcon={icons.crossb} on:click={handleCancel}>{cancelText}</Button>
|
|
32
33
|
</div>
|
|
33
34
|
|
|
34
35
|
<style>
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import IconButton from '../IconButton.svelte';
|
|
7
7
|
import TextHeader from '../../Structure/TextHeader.svelte';
|
|
8
8
|
import { icons } from '../../icons.js';
|
|
9
|
+
import { VARIANT_FILLED } from '../../Base/VariantTypes.js';
|
|
9
10
|
</script>
|
|
10
11
|
|
|
11
12
|
{#if $popupStore.isOpen}
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
role="dialog"
|
|
19
20
|
tabindex="-1"
|
|
20
21
|
>
|
|
21
|
-
<BaseContainer padding="1.5rem" borderRadiusTopLeft="35px" borderRadiusTopRight="35px" borderRadiusBottomLeft="35px" borderRadiusBottomRight="35px" theme=
|
|
22
|
+
<BaseContainer padding="1.5rem" borderRadiusTopLeft="35px" borderRadiusTopRight="35px" borderRadiusBottomLeft="35px" borderRadiusBottomRight="35px" theme={VARIANT_FILLED}>
|
|
22
23
|
<header>
|
|
23
24
|
<TextHeader title={$popupStore.title} subtitle={$popupStore.subtitle || ''} />
|
|
24
25
|
<div class="close-btn">
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import BaseText from '../../Base/BaseText.svelte';
|
|
5
5
|
import { icons } from '../../icons.js';
|
|
6
6
|
import { popupStore } from '../popupStore.js';
|
|
7
|
+
import { VARIANT_PRIMARY, VARIANT_SECONDARY } from '../../Base/VariantTypes.js';
|
|
7
8
|
|
|
8
9
|
/** @type {(value: string) => void} */
|
|
9
10
|
export let onSubmit = () => {};
|
|
@@ -42,8 +43,8 @@
|
|
|
42
43
|
{/if}
|
|
43
44
|
<InputBox bind:value {placeholder} autofocus={true} />
|
|
44
45
|
<div class="buttons">
|
|
45
|
-
<Button theme=
|
|
46
|
-
<Button theme=
|
|
46
|
+
<Button theme={VARIANT_PRIMARY} actionIcon={icons.check} on:click={handleSubmit}>{submitText}</Button>
|
|
47
|
+
<Button theme={VARIANT_SECONDARY} actionIcon={icons.crossb} on:click={handleCancel}>{cancelText}</Button>
|
|
47
48
|
</div>
|
|
48
49
|
</div>
|
|
49
50
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
const svgSide = '<svg width="51" height="14" viewBox="0 0 51 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.34766 0.0117188C1.73943 0.0206734 2.04817 0.156895 2.21484 0.246094C2.40301 0.347061 2.5769 0.471392 2.71875 0.585938C3.0026 0.815356 3.30516 1.12112 3.62109 1.46484C4.13857 2.02792 4.71503 2.52735 5.34375 2.96484C6.12646 3.50981 6.96366 4.39169 7.88672 5.49609H8.48438C9.19157 5.39437 9.93448 5.3599 10.7109 5.44922C11.5804 5.54939 12.4548 5.65477 13.3242 5.75391C13.9681 5.8268 14.6202 5.75253 15.293 5.53125C16.3428 5.18618 17.4137 5.05727 18.4922 5.14453C19.3709 5.21564 20.2502 5.28987 21.1289 5.37891C22.0304 5.47028 22.9352 5.59238 23.8359 5.74219C24.6263 5.87367 25.416 5.93785 26.2031 5.94141C27.0095 5.94481 27.8211 5.89987 28.6289 5.80078C29.5372 5.68937 30.4503 5.61804 31.3594 5.57812C32.2056 5.5409 33.0559 5.47755 33.9023 5.40234C34.8753 5.3162 35.8484 5.3421 36.8203 5.46094C37.5779 5.5537 38.3368 5.55236 39.0938 5.47266C39.9604 5.3814 40.8287 5.2886 41.6953 5.19141C42.7294 5.0756 43.7635 5.12971 44.7891 5.35547C45.5064 5.51388 46.2252 5.55602 46.9336 5.48438C47.9079 5.38622 49.2439 5.3997 50.8945 5.49609H51V8.49609H50.8008C49.152 8.3975 47.9732 8.39714 47.2266 8.47266C46.1967 8.57625 45.1655 8.51061 44.1445 8.28516C43.434 8.12869 42.7253 8.10097 42.0234 8.17969C41.1525 8.27735 40.2811 8.36922 39.4102 8.46094C38.4271 8.56446 37.4395 8.5578 36.457 8.4375C35.6916 8.34387 34.9244 8.32272 34.1602 8.39062C33.2694 8.46972 32.3792 8.53898 31.4883 8.57812C30.6576 8.6146 29.8236 8.67535 28.9922 8.77734C28.0603 8.89161 27.1247 8.94535 26.1914 8.94141C25.2411 8.93721 24.2908 8.86458 23.3438 8.70703C22.5052 8.56754 21.662 8.4521 20.8242 8.36719C19.9661 8.28025 19.1041 8.20224 18.2461 8.13281C17.5864 8.07996 16.9187 8.16426 16.2305 8.39062C15.1658 8.74063 14.078 8.8547 12.9844 8.73047C12.1141 8.63124 11.
|
|
2
|
+
const svgSide = '<svg width="51" height="14" viewBox="0 0 51 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.34766 0.0117188C1.73943 0.0206734 2.04817 0.156895 2.21484 0.246094C2.40301 0.347061 2.5769 0.471392 2.71875 0.585938C3.0026 0.815356 3.30516 1.12112 3.62109 1.46484C4.13857 2.02792 4.71503 2.52735 5.34375 2.96484C6.12646 3.50981 6.96366 4.39169 7.88672 5.49609H8.48438C9.19157 5.39437 9.93448 5.3599 10.7109 5.44922C11.5804 5.54939 12.4548 5.65477 13.3242 5.75391C13.9681 5.8268 14.6202 5.75253 15.293 5.53125C16.3428 5.18618 17.4137 5.05727 18.4922 5.14453C19.3709 5.21564 20.2502 5.28987 21.1289 5.37891C22.0304 5.47028 22.9352 5.59238 23.8359 5.74219C24.6263 5.87367 25.416 5.93785 26.2031 5.94141C27.0095 5.94481 27.8211 5.89987 28.6289 5.80078C29.5372 5.68937 30.4503 5.61804 31.3594 5.57812C32.2056 5.5409 33.0559 5.47755 33.9023 5.40234C34.8753 5.3162 35.8484 5.3421 36.8203 5.46094C37.5779 5.5537 38.3368 5.55236 39.0938 5.47266C39.9604 5.3814 40.8287 5.2886 41.6953 5.19141C42.7294 5.0756 43.7635 5.12971 44.7891 5.35547C45.5064 5.51388 46.2252 5.55602 46.9336 5.48438C47.9079 5.38622 49.2439 5.3997 50.8945 5.49609H51V8.49609H50.8008C49.152 8.3975 47.9732 8.39714 47.2266 8.47266C46.1967 8.57625 45.1655 8.51061 44.1445 8.28516C43.434 8.12869 42.7253 8.10097 42.0234 8.17969C41.1525 8.27735 40.2811 8.36922 39.4102 8.46094C38.4271 8.56446 37.4395 8.5578 36.457 8.4375C35.6916 8.34387 34.9244 8.32272 34.1602 8.39062C33.2694 8.46972 32.3792 8.53898 31.4883 8.57812C30.6576 8.6146 29.8236 8.67535 28.9922 8.77734C28.0603 8.89161 27.1247 8.94535 26.1914 8.94141C25.2411 8.93721 24.2908 8.86458 23.3438 8.70703C22.5052 8.56754 21.662 8.4521 20.8242 8.36719C19.9661 8.28025 19.1041 8.20224 18.2461 8.13281C17.5864 8.07996 16.9187 8.16426 16.2305 8.39062C15.1658 8.74063 14.078 8.8547 12.9844 8.73047C12.1141 8.63124 11.2413 8.52605 10.3711 8.42578C9.62969 8.34036 9.03581 8.37464 8.57812 8.48438C8.2446 8.56426 7.92758 8.63057 7.66406 8.66016C6.72608 9.63803 5.8882 10.4341 5.09766 10.9102C4.50693 11.2662 4.00397 11.7139 3.58594 12.2695C3.30392 12.6446 3.03046 12.976 2.77734 13.2305C2.65105 13.3571 2.49298 13.4978 2.32031 13.6172C2.17514 13.7176 1.86759 13.9106 1.45312 13.957L1.26562 13.9805L1.06641 13.9453L0.84375 13.9219L1.04297 12.5508L0.996094 12.5039L0 11.3789L0.0820312 11.3086L0.609375 10.8516L0.84375 10.875C0.934721 10.7665 1.0544 10.6367 1.18359 10.4648C1.83258 9.60176 2.62756 8.88803 3.55078 8.33203C3.95922 8.08554 4.48198 7.62172 5.16797 6.9375C4.51681 6.19986 4.0219 5.69702 3.63281 5.42578C2.82398 4.86296 2.08428 4.21715 1.41797 3.49219C1.26913 3.33024 1.13246 3.21476 1.03125 3.11719L0.667969 3.21094L0.0820312 2.69531L0 2.625L0.996094 1.5L1.03125 1.45312L0.714844 0.105469L0.960938 0.046875L1.14844 0L1.34766 0.0117188Z" fill="#1D191F"/></svg>';
|
|
3
3
|
const svgStretch = '<svg width="50" height="4" viewBox="0 0 50 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.793 0.271071C20.7035 0.362386 21.6137 0.484728 22.5234 0.634352C23.3258 0.766294 24.1266 0.830205 24.9258 0.833571C25.7413 0.836979 26.5581 0.791831 27.375 0.692946C28.2931 0.581596 29.2218 0.498462 30.1406 0.458571C30.9959 0.421352 31.8515 0.369633 32.707 0.294509C33.691 0.208078 34.6773 0.222428 35.6602 0.341384C36.429 0.434456 37.2006 0.44479 37.9688 0.364821C38.8437 0.273727 39.7188 0.180578 40.5938 0.0835715C41.6386 -0.0322773 42.6862 0.021345 43.7227 0.247634C44.4507 0.406319 45.1712 0.448468 45.8906 0.37654C46.8918 0.276437 48.2776 0.286775 49.9922 0.388259H50.0039V3.38826H49.8164C48.1444 3.28929 46.9425 3.28894 46.1836 3.36482C45.1458 3.46797 44.1073 3.40201 43.0781 3.17732C42.3554 3.01977 41.6363 2.98092 40.9219 3.06013C40.0396 3.15795 39.1557 3.26125 38.2734 3.3531C37.2824 3.45608 36.2873 3.43784 35.2969 3.31794C34.5228 3.22447 33.7496 3.21526 32.9766 3.28279C32.0761 3.36188 31.1702 3.4194 30.2695 3.45857C29.4284 3.49508 28.5802 3.5674 27.7383 3.66951C26.7976 3.78349 25.8561 3.83749 24.9141 3.83357C23.9535 3.82955 22.9886 3.74493 22.0312 3.58747C21.1841 3.44827 20.3346 3.34416 19.4883 3.25935C18.6188 3.17223 17.7444 3.09453 16.875 3.02497C16.2036 2.97193 15.5232 3.044 14.8242 3.27107C13.7509 3.62006 12.656 3.74633 11.5547 3.62263C10.6741 3.52337 9.7868 3.41824 8.9062 3.31794C8.17514 3.23508 7.43857 3.26613 6.70312 3.39997C5.77106 3.56937 4.83678 3.67782 3.90234 3.73982C2.94429 3.80324 2.00452 3.78762 1.08984 3.69294C0.66932 3.6493 0.31018 3.61128 0.04688 3.56404L0 0.388259H3.86719L3.46875 0.763259C3.54583 0.759357 3.62544 0.756682 3.70312 0.75154C4.52477 0.697065 5.35175 0.596824 6.17578 0.446852C7.1966 0.261429 8.22096 0.22495 9.2461 0.341384C10.1237 0.441342 11.0053 0.535427 11.8828 0.634352C12.5405 0.708486 13.2127 0.646387 13.8984 0.423415C14.9568 0.0795105 16.0351 -0.0619009 17.1211 0.0249777C18.0107 0.0961552 18.9034 0.181928 19.793 0.271071Z" fill="#1D191F"/></svg>';
|
|
4
4
|
|
|
5
5
|
// Convert SVG to data URL
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import Button from '../Button.svelte';
|
|
3
3
|
import Tooltip from '../Tooltip.svelte';
|
|
4
4
|
import { icons } from '../../icons.js';
|
|
5
|
+
import { VARIANT_SPECIAL_FILLED } from '../../Base/VariantTypes.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @type {string}
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
</script>
|
|
16
17
|
|
|
17
18
|
<div class="special-action-wrapper">
|
|
18
|
-
<Button theme=
|
|
19
|
+
<Button theme={VARIANT_SPECIAL_FILLED}
|
|
19
20
|
icon={icons.any_ai}
|
|
20
21
|
iconToned={false}
|
|
21
22
|
actionIcon={null}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import BaseIcon from '../Base/BaseIcon.svelte';
|
|
4
4
|
import BaseText from '../Base/BaseText.svelte';
|
|
5
5
|
import { icons } from '../icons.js';
|
|
6
|
+
import { VARIANT_FILLED } from '../Base/VariantTypes.js';
|
|
6
7
|
/**
|
|
7
8
|
* @type {string}
|
|
8
9
|
*/
|
|
@@ -64,7 +65,7 @@
|
|
|
64
65
|
class:below={positionBelow}
|
|
65
66
|
bind:this={tooltipElement}
|
|
66
67
|
>
|
|
67
|
-
<BaseContainer theme=
|
|
68
|
+
<BaseContainer theme={VARIANT_FILLED} padding="0.75rem" borderRadiusTopLeft="15px" borderRadiusTopRight="15px" borderRadiusBottomLeft="15px" borderRadiusBottomRight="15px">
|
|
68
69
|
<BaseText textModifier="-5px">{text}</BaseText>
|
|
69
70
|
</BaseContainer>
|
|
70
71
|
</div>
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
import { slide } from 'svelte/transition';
|
|
3
3
|
import { createEventDispatcher, onMount } from 'svelte';
|
|
4
4
|
import Button from './Button.svelte';
|
|
5
|
-
import BaseIcon from '../Base/BaseIcon.svelte';
|
|
6
5
|
import { icons } from '../icons.js';
|
|
6
|
+
import { VARIANT_PRIMARY, VARIANT_SECONDARY } from '../Base/VariantTypes.js';
|
|
7
7
|
|
|
8
8
|
const dispatch = createEventDispatcher();
|
|
9
9
|
|
|
10
|
-
/** @
|
|
10
|
+
/** @typedef {import('../Base/VariantTypes.js').BaseContainerVariant} BaseContainerVariant */
|
|
11
|
+
|
|
12
|
+
/** @type {{ name: string, type: 'file' | 'folder', children?: any[], data?: any, variant?: BaseContainerVariant, suffixIcon?: string }[]} */
|
|
11
13
|
export let items = [];
|
|
12
14
|
|
|
13
15
|
/** @type {boolean} */
|
|
@@ -251,7 +253,7 @@
|
|
|
251
253
|
tabindex="0"
|
|
252
254
|
>
|
|
253
255
|
<Button
|
|
254
|
-
theme={item.variant ||
|
|
256
|
+
theme={item.variant || VARIANT_PRIMARY}
|
|
255
257
|
icon={icons.folder}
|
|
256
258
|
actionIcon={icons.icon_expand}
|
|
257
259
|
actionIconSize="15px"
|
|
@@ -260,12 +262,7 @@
|
|
|
260
262
|
borderRadiusTopRight={isNested ? '15px' : '25px'}
|
|
261
263
|
borderRadiusBottomRight="15px"
|
|
262
264
|
>
|
|
263
|
-
{item.name}{#if showCount && item.children} <span class="count">({countItems(item.children)})</span>{/if}
|
|
264
|
-
{#if item.suffixIcon}
|
|
265
|
-
<span style="padding-left: 8px;">
|
|
266
|
-
<BaseIcon svg={item.suffixIcon} size="15px" />
|
|
267
|
-
</span>
|
|
268
|
-
{/if}
|
|
265
|
+
{item.name}{#if showCount && item.children} <span class="count">({countItems(item.children)})</span>{/if}{#if item.suffixIcon}<span class="suffix-icon">{@html item.suffixIcon}</span>{/if}
|
|
269
266
|
</Button>
|
|
270
267
|
</div>
|
|
271
268
|
{#if open && item.children}
|
|
@@ -296,7 +293,7 @@
|
|
|
296
293
|
tabindex="0"
|
|
297
294
|
>
|
|
298
295
|
<Button
|
|
299
|
-
theme={item.variant ||
|
|
296
|
+
theme={item.variant || VARIANT_SECONDARY}
|
|
300
297
|
icon={itemIcon}
|
|
301
298
|
actionIconSize="15px"
|
|
302
299
|
borderRadiusTopLeft={isNested ? '15px' : '25px'}
|
|
@@ -304,12 +301,7 @@
|
|
|
304
301
|
borderRadiusBottomLeft={isNested && !isLast ? '15px' : '25px'}
|
|
305
302
|
borderRadiusBottomRight={isNested && !isLast ? '15px' : '25px'}
|
|
306
303
|
>
|
|
307
|
-
{item.name}
|
|
308
|
-
{#if item.suffixIcon}
|
|
309
|
-
<span style="padding-left: 8px;">
|
|
310
|
-
<BaseIcon svg={item.suffixIcon} size="15px" />
|
|
311
|
-
</span>
|
|
312
|
-
{/if}
|
|
304
|
+
{item.name}{#if item.suffixIcon}<span class="suffix-icon">{@html item.suffixIcon}</span>{/if}
|
|
313
305
|
</Button>
|
|
314
306
|
</div>
|
|
315
307
|
{/if}
|
|
@@ -334,6 +326,11 @@
|
|
|
334
326
|
margin-left: 5px;
|
|
335
327
|
opacity: 0.5;
|
|
336
328
|
}
|
|
329
|
+
:global(.suffix-icon) {
|
|
330
|
+
margin-left: 8px;
|
|
331
|
+
display: inline-flex;
|
|
332
|
+
align-items: center;
|
|
333
|
+
}
|
|
337
334
|
.file-item {
|
|
338
335
|
transition: opacity 0.15s ease;
|
|
339
336
|
}
|
|
@@ -5,7 +5,7 @@ type TreeDirectory = SvelteComponent<{
|
|
|
5
5
|
type: "file" | "folder";
|
|
6
6
|
children?: any[] | undefined;
|
|
7
7
|
data?: any;
|
|
8
|
-
variant?:
|
|
8
|
+
variant?: BaseContainerVariant | undefined;
|
|
9
9
|
suffixIcon?: string | undefined;
|
|
10
10
|
}[] | undefined;
|
|
11
11
|
showCount?: boolean | undefined;
|
|
@@ -38,7 +38,7 @@ declare const TreeDirectory: $$__sveltets_2_IsomorphicComponent<{
|
|
|
38
38
|
type: "file" | "folder";
|
|
39
39
|
children?: any[];
|
|
40
40
|
data?: any;
|
|
41
|
-
variant?: "
|
|
41
|
+
variant?: import("../Base/VariantTypes.js").BaseContainerVariant;
|
|
42
42
|
suffixIcon?: string;
|
|
43
43
|
}[] | undefined;
|
|
44
44
|
showCount?: boolean | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const gearSVGDark: "<svg width=\"220\" height=\"215\" viewBox=\"0 0 220 215\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#clip0_2265_239)\"><path d=\"M118.931 35.6283C119.659 34.1799 121.114 33.4554 122.901 33.7185C124.554 33.982 125.745 35.233 125.943 36.9449L127.135 44.9114C130.376 45.8332 133.617 46.9532 136.793 48.3358L142.748 43.1339C144.004 41.8171 145.592 41.6854 147.246 42.5414C148.701 43.3316 149.297 44.9115 148.966 46.689L147.312 54.5248C150.024 56.4339 152.737 58.6722 155.184 60.9768L162.594 58.0142C164.248 57.2897 165.77 57.6851 167.027 59.1993C168.152 60.3845 168.282 62.0966 167.357 63.4792L163.057 70.3264C165.042 73.0918 166.63 76.0544 168.152 79.2149L176.222 78.8859C177.942 78.8201 179.397 79.742 179.993 81.3878C180.521 83.0336 179.993 84.5478 178.603 85.5356L172.319 90.6053C173.179 93.8318 173.841 97.1234 174.105 100.679L181.779 103.116C183.433 103.708 184.491 104.959 184.491 106.671C184.491 108.448 183.433 109.7 181.779 110.292L174.105 112.662C173.841 116.218 173.179 119.641 172.319 122.802L178.603 127.806C179.993 128.859 180.521 130.439 179.993 132.086C179.397 133.732 177.942 134.653 176.222 134.587L168.152 134.192C166.63 137.352 165.042 140.315 163.057 143.081L167.357 149.928C168.282 151.376 168.152 153.088 167.027 154.274C165.77 155.788 164.248 156.117 162.594 155.459L155.184 152.365C152.737 154.801 150.024 156.973 147.312 158.882L148.966 166.783C149.297 168.495 148.701 170.076 147.246 170.865C145.592 171.787 144.004 171.524 142.748 170.339L136.793 165.005C133.617 166.388 130.376 167.64 127.135 168.496L125.943 176.462C125.745 178.24 124.554 179.425 122.901 179.755C121.114 180.017 119.659 179.227 118.931 177.779L115.094 170.536C113.308 170.668 111.72 170.865 110 170.865C108.214 170.865 106.56 170.668 104.773 170.536L101.003 177.779C100.275 179.227 98.8202 180.018 96.9675 179.755C95.3133 179.425 94.1894 178.24 93.9246 176.462L92.7999 168.496C89.4922 167.64 86.2508 166.388 83.0751 165.005L77.187 170.339C75.9298 171.524 74.3418 171.787 72.6881 170.865C71.
|
|
2
|
-
export const gearSVGLight: "<svg width=\"220\" height=\"215\" viewBox=\"0 0 220 215\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#clip0_2265_255)\"><path d=\"M118.931 35.6283C119.659 34.1799 121.114 33.4554 122.901 33.7185C124.554 33.982 125.745 35.233 125.943 36.9449L127.135 44.9114C130.376 45.8332 133.617 46.9532 136.793 48.3358L142.748 43.1339C144.004 41.8171 145.592 41.6854 147.246 42.5414C148.701 43.3316 149.297 44.9115 148.966 46.689L147.312 54.5248C150.024 56.4339 152.737 58.6722 155.184 60.9768L162.594 58.0142C164.248 57.2897 165.77 57.6851 167.027 59.1993C168.152 60.3845 168.282 62.0966 167.357 63.4792L163.057 70.3264C165.042 73.0918 166.63 76.0544 168.152 79.2149L176.222 78.8859C177.942 78.8201 179.397 79.742 179.993 81.3878C180.521 83.0336 179.993 84.5478 178.603 85.5356L172.319 90.6053C173.179 93.8318 173.841 97.1234 174.105 100.679L181.779 103.116C183.433 103.708 184.491 104.959 184.491 106.671C184.491 108.448 183.433 109.7 181.779 110.292L174.105 112.662C173.841 116.218 173.179 119.641 172.319 122.802L178.603 127.806C179.993 128.859 180.521 130.439 179.993 132.086C179.397 133.732 177.942 134.653 176.222 134.587L168.152 134.192C166.63 137.352 165.042 140.315 163.057 143.081L167.357 149.928C168.282 151.376 168.152 153.088 167.027 154.274C165.77 155.788 164.248 156.117 162.594 155.459L155.184 152.365C152.737 154.801 150.024 156.973 147.312 158.882L148.966 166.783C149.297 168.495 148.701 170.076 147.246 170.865C145.592 171.787 144.004 171.524 142.748 170.339L136.793 165.005C133.617 166.388 130.376 167.64 127.135 168.496L125.943 176.462C125.745 178.24 124.554 179.425 122.901 179.755C121.114 180.017 119.659 179.227 118.931 177.779L115.094 170.536C113.308 170.668 111.72 170.865 110 170.865C108.214 170.865 106.56 170.668 104.773 170.536L101.003 177.779C100.275 179.227 98.8202 180.018 96.9675 179.755C95.3133 179.425 94.1894 178.24 93.9246 176.462L92.7999 168.496C89.4922 167.64 86.2508 166.388 83.0751 165.005L77.187 170.339C75.9298 171.524 74.3418 171.787 72.6881 170.865C71.
|
|
1
|
+
export const gearSVGDark: "<svg width=\"220\" height=\"215\" viewBox=\"0 0 220 215\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#clip0_2265_239)\"><path d=\"M118.931 35.6283C119.659 34.1799 121.114 33.4554 122.901 33.7185C124.554 33.982 125.745 35.233 125.943 36.9449L127.135 44.9114C130.376 45.8332 133.617 46.9532 136.793 48.3358L142.748 43.1339C144.004 41.8171 145.592 41.6854 147.246 42.5414C148.701 43.3316 149.297 44.9115 148.966 46.689L147.312 54.5248C150.024 56.4339 152.737 58.6722 155.184 60.9768L162.594 58.0142C164.248 57.2897 165.77 57.6851 167.027 59.1993C168.152 60.3845 168.282 62.0966 167.357 63.4792L163.057 70.3264C165.042 73.0918 166.63 76.0544 168.152 79.2149L176.222 78.8859C177.942 78.8201 179.397 79.742 179.993 81.3878C180.521 83.0336 179.993 84.5478 178.603 85.5356L172.319 90.6053C173.179 93.8318 173.841 97.1234 174.105 100.679L181.779 103.116C183.433 103.708 184.491 104.959 184.491 106.671C184.491 108.448 183.433 109.7 181.779 110.292L174.105 112.662C173.841 116.218 173.179 119.641 172.319 122.802L178.603 127.806C179.993 128.859 180.521 130.439 179.993 132.086C179.397 133.732 177.942 134.653 176.222 134.587L168.152 134.192C166.63 137.352 165.042 140.315 163.057 143.081L167.357 149.928C168.282 151.376 168.152 153.088 167.027 154.274C165.77 155.788 164.248 156.117 162.594 155.459L155.184 152.365C152.737 154.801 150.024 156.973 147.312 158.882L148.966 166.783C149.297 168.495 148.701 170.076 147.246 170.865C145.592 171.787 144.004 171.524 142.748 170.339L136.793 165.005C133.617 166.388 130.376 167.64 127.135 168.496L125.943 176.462C125.745 178.24 124.554 179.425 122.901 179.755C121.114 180.017 119.659 179.227 118.931 177.779L115.094 170.536C113.308 170.668 111.72 170.865 110 170.865C108.214 170.865 106.56 170.668 104.773 170.536L101.003 177.779C100.275 179.227 98.8202 180.018 96.9675 179.755C95.3133 179.425 94.1894 178.24 93.9246 176.462L92.7999 168.496C89.4922 167.64 86.2508 166.388 83.0751 165.005L77.187 170.339C75.9298 171.524 74.3418 171.787 72.6881 170.865C71.2328 170.076 70.6378 168.495 70.9685 166.783L72.6217 158.882C69.8435 156.973 67.131 154.801 64.683 152.365L57.3399 155.459C55.686 156.117 54.0986 155.788 52.8418 154.274C51.7172 153.088 51.5848 151.376 52.5772 149.928L56.8107 143.081C54.8923 140.315 53.3048 137.352 51.7834 134.192L43.6457 134.587C41.9261 134.653 40.4707 133.732 39.9414 132.086C39.4121 130.439 39.8752 128.859 41.2644 127.806L47.6154 122.802C46.7554 119.641 46.028 116.218 45.8296 112.728L38.1547 110.292C36.4347 109.7 35.5088 108.448 35.5088 106.671C35.5088 104.892 36.4349 103.642 38.1547 103.116L45.8296 100.679C46.028 97.1234 46.7553 93.8318 47.6154 90.6053L41.2644 85.5356C39.8752 84.5478 39.4122 83.0336 39.9414 81.3878C40.4706 79.742 41.926 78.8201 43.6457 78.8859L51.7834 79.2149C53.3048 76.0544 54.8925 73.0918 56.877 70.3264L52.5109 63.4127C51.6509 62.096 51.7836 60.3844 52.8418 59.1993C54.0986 57.6852 55.686 57.2898 57.3399 58.0142L64.683 60.9768C67.131 58.6723 69.8435 56.4339 72.6217 54.5248L70.9685 46.689C70.6378 44.9116 71.233 43.3316 72.6881 42.5414C74.2757 41.6854 75.8637 41.817 77.187 43.1339L83.1407 48.3358C86.2501 46.9532 89.4922 45.8332 92.7999 44.8457L93.9246 36.9449C94.1894 35.2331 95.3133 33.982 96.9675 33.7185C98.8202 33.4554 100.275 34.1799 101.003 35.6283L104.773 42.8708C106.626 42.7392 108.214 42.6071 110 42.6071C111.72 42.6071 113.308 42.7392 115.094 42.8708L118.931 35.6283ZM110.386 64.2705C86.9378 64.2705 67.9298 83.1109 67.9298 106.352C67.9299 129.594 86.9378 148.434 110.386 148.434C133.834 148.434 152.842 129.594 152.842 106.352C152.842 83.1109 133.834 64.2705 110.386 64.2705Z\" fill=\"#130F15\"/><path d=\"M110 201.849C112.54 201.849 114.885 201.559 117.522 201.365L123.188 212.021C124.263 214.151 126.412 215.314 129.05 214.927C131.492 214.441 133.251 212.699 133.544 210.083L135.302 198.362C140.089 197.103 144.876 195.263 149.565 193.228L158.358 201.074C160.213 202.818 162.558 203.206 165 201.849C167.15 200.687 168.028 198.362 167.54 195.844L165.098 184.22C169.103 181.41 173.108 178.214 176.723 174.631L187.665 179.183C190.107 180.152 192.354 179.667 194.211 177.439C195.872 175.696 196.066 173.177 194.699 171.046L188.349 160.972C191.28 156.904 193.625 152.544 195.872 147.896L207.79 148.476C210.328 148.573 212.478 147.218 213.358 144.796C214.138 142.374 213.358 140.049 211.305 138.499L202.026 131.138C203.296 126.488 204.273 121.451 204.663 116.22L215.994 112.733C218.438 111.861 220 110.021 220 107.406C220 104.887 218.438 103.046 215.994 102.175L204.663 98.5901C204.273 93.3597 203.296 88.5165 202.026 83.7704L211.305 76.3119C213.358 74.8588 214.138 72.6307 213.358 70.2092C212.478 67.7874 210.328 66.4313 207.79 66.528L195.872 67.0128C193.625 62.3629 191.28 58.0042 188.349 53.9359L194.699 43.8618C196.066 41.8276 195.872 39.309 194.211 37.5652C192.354 35.3377 190.107 34.7561 187.665 35.822L176.723 40.181C173.108 36.7903 169.103 33.4969 165.098 30.6881L167.54 19.1609C168.028 16.5456 167.15 14.2208 165 13.0582C162.558 11.7989 160.213 11.9928 158.358 13.9303L149.565 21.5828C144.876 19.5486 140.089 17.9016 135.302 16.5456L133.544 4.82504C133.251 2.30643 131.492 0.466035 129.05 0.0783659C126.412 -0.30889 124.263 0.756579 123.188 2.88752L117.522 13.543C114.885 13.3492 112.54 13.1554 110 13.1554C107.362 13.1554 105.018 13.3492 102.283 13.543L96.7143 2.88752C95.6398 0.756579 93.4907 -0.30889 90.755 0.0783659C88.3126 0.466035 86.6522 2.30643 86.2608 4.82504L84.6004 16.4489C79.7156 17.9016 74.9292 19.5486 70.3376 21.5828L61.5457 13.9303C59.5917 11.9928 57.2471 11.7989 54.9024 13.0582C52.7534 14.2208 51.8739 16.5456 52.3624 19.1609L54.8045 30.6881C50.7018 33.4969 46.6967 36.7903 43.0816 40.181L32.2382 35.822C29.7956 34.7561 27.4511 35.3377 25.595 37.5652C24.0323 39.309 23.8368 41.8276 25.1069 43.7647L31.5542 53.9359C28.6235 58.0042 26.279 62.3629 24.0323 67.0128L12.0159 66.528C9.47629 66.4313 7.32678 67.7874 6.54525 70.2092C5.76372 72.6307 6.44771 74.8588 8.49926 76.3119L17.8776 83.7704C16.6076 88.5165 15.533 93.3597 15.24 98.5901L3.90764 102.175C1.36757 102.95 0 104.79 0 107.406C0 110.021 1.36757 111.861 3.90764 112.733L15.24 116.317C15.533 121.451 16.6076 126.488 17.8776 131.138L8.49926 138.499C6.44771 140.049 5.76372 142.374 6.54525 144.796C7.32678 147.218 9.47629 148.573 12.0159 148.476L24.0323 147.896C26.279 152.544 28.6235 156.904 31.4566 160.972L25.2044 171.046C23.7388 173.177 23.9344 175.696 25.595 177.439C27.4511 179.667 29.7956 180.152 32.2382 179.183L43.0816 174.631C46.6967 178.214 50.7018 181.41 54.8045 184.22L52.3624 195.844C51.8739 198.362 52.7534 200.687 54.9024 201.849C57.3446 203.206 59.6892 202.818 61.5457 201.074L70.2401 193.228C74.9292 195.263 79.7156 197.103 84.6004 198.362L86.2608 210.083C86.6522 212.699 88.3126 214.441 90.755 214.927C93.4907 215.314 95.6398 214.151 96.7143 212.021L102.283 201.365C104.92 201.559 107.362 201.849 110 201.849ZM134.521 101.303C129.929 89.098 120.942 82.4139 109.707 82.4139C108.046 82.4139 106.092 82.6082 102.967 83.2861L74.9292 35.822C85.3824 30.6881 97.3002 27.8789 110 27.8789C152.594 27.8789 186.003 59.9414 189.032 101.303H134.521ZM30.6751 107.502C30.6751 80.5737 43.4725 56.8416 63.6948 42.5058L91.9276 90.2602C86.6522 95.685 84.2098 101.593 84.2098 107.889C84.2098 113.992 86.5549 119.61 91.9276 125.229L63.0108 172.112C43.2771 157.678 30.6751 134.237 30.6751 107.502ZM97.9841 107.793C97.9841 101.206 103.65 96.0721 109.903 96.0721C116.546 96.0721 122.017 101.206 122.017 107.793C122.017 114.283 116.546 119.61 109.903 119.61C103.65 119.61 97.9841 114.283 97.9841 107.793ZM110 187.126C97.0076 187.126 84.8937 184.123 74.2452 178.892L102.967 132.3C105.994 133.075 108.046 133.269 109.707 133.269C121.039 133.269 130.027 126.391 134.521 113.896H189.032C185.906 155.063 152.496 187.126 110 187.126Z\" fill=\"#0F0B11\"/></g><defs><clipPath id=\"clip0_2265_239\"><rect width=\"220\" height=\"215\" fill=\"white\"/></clipPath></defs></svg>";
|
|
2
|
+
export const gearSVGLight: "<svg width=\"220\" height=\"215\" viewBox=\"0 0 220 215\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#clip0_2265_255)\"><path d=\"M118.931 35.6283C119.659 34.1799 121.114 33.4554 122.901 33.7185C124.554 33.982 125.745 35.233 125.943 36.9449L127.135 44.9114C130.376 45.8332 133.617 46.9532 136.793 48.3358L142.748 43.1339C144.004 41.8171 145.592 41.6854 147.246 42.5414C148.701 43.3316 149.297 44.9115 148.966 46.689L147.312 54.5248C150.024 56.4339 152.737 58.6722 155.184 60.9768L162.594 58.0142C164.248 57.2897 165.77 57.6851 167.027 59.1993C168.152 60.3845 168.282 62.0966 167.357 63.4792L163.057 70.3264C165.042 73.0918 166.63 76.0544 168.152 79.2149L176.222 78.8859C177.942 78.8201 179.397 79.742 179.993 81.3878C180.521 83.0336 179.993 84.5478 178.603 85.5356L172.319 90.6053C173.179 93.8318 173.841 97.1234 174.105 100.679L181.779 103.116C183.433 103.708 184.491 104.959 184.491 106.671C184.491 108.448 183.433 109.7 181.779 110.292L174.105 112.662C173.841 116.218 173.179 119.641 172.319 122.802L178.603 127.806C179.993 128.859 180.521 130.439 179.993 132.086C179.397 133.732 177.942 134.653 176.222 134.587L168.152 134.192C166.63 137.352 165.042 140.315 163.057 143.081L167.357 149.928C168.282 151.376 168.152 153.088 167.027 154.274C165.77 155.788 164.248 156.117 162.594 155.459L155.184 152.365C152.737 154.801 150.024 156.973 147.312 158.882L148.966 166.783C149.297 168.495 148.701 170.076 147.246 170.865C145.592 171.787 144.004 171.524 142.748 170.339L136.793 165.005C133.617 166.388 130.376 167.64 127.135 168.496L125.943 176.462C125.745 178.24 124.554 179.425 122.901 179.755C121.114 180.017 119.659 179.227 118.931 177.779L115.094 170.536C113.308 170.668 111.72 170.865 110 170.865C108.214 170.865 106.56 170.668 104.773 170.536L101.003 177.779C100.275 179.227 98.8202 180.018 96.9675 179.755C95.3133 179.425 94.1894 178.24 93.9246 176.462L92.7999 168.496C89.4922 167.64 86.2508 166.388 83.0751 165.005L77.187 170.339C75.9298 171.524 74.3418 171.787 72.6881 170.865C71.2328 170.076 70.6378 168.495 70.9685 166.783L72.6217 158.882C69.8435 156.973 67.131 154.801 64.683 152.365L57.3399 155.459C55.686 156.117 54.0986 155.788 52.8418 154.274C51.7172 153.088 51.5848 151.376 52.5772 149.928L56.8107 143.081C54.8923 140.315 53.3048 137.352 51.7834 134.192L43.6457 134.587C41.9261 134.653 40.4707 133.732 39.9414 132.086C39.4121 130.439 39.8752 128.859 41.2644 127.806L47.6154 122.802C46.7554 119.641 46.028 116.218 45.8296 112.728L38.1547 110.292C36.4347 109.7 35.5088 108.448 35.5088 106.671C35.5088 104.892 36.4349 103.642 38.1547 103.116L45.8296 100.679C46.028 97.1234 46.7553 93.8318 47.6154 90.6053L41.2644 85.5356C39.8752 84.5478 39.4122 83.0336 39.9414 81.3878C40.4706 79.742 41.926 78.8201 43.6457 78.8859L51.7834 79.2149C53.3048 76.0544 54.8925 73.0918 56.877 70.3264L52.5109 63.4127C51.6509 62.096 51.7836 60.3844 52.8418 59.1993C54.0986 57.6852 55.686 57.2898 57.3399 58.0142L64.683 60.9768C67.131 58.6723 69.8435 56.4339 72.6217 54.5248L70.9685 46.689C70.6378 44.9116 71.233 43.3316 72.6881 42.5414C74.2757 41.6854 75.8637 41.817 77.187 43.1339L83.1407 48.3358C86.2501 46.9532 89.4922 45.8332 92.7999 44.8457L93.9246 36.9449C94.1894 35.2331 95.3133 33.982 96.9675 33.7185C98.8202 33.4554 100.275 34.1799 101.003 35.6283L104.773 42.8708C106.626 42.7392 108.214 42.6071 110 42.6071C111.72 42.6071 113.308 42.7392 115.094 42.8708L118.931 35.6283ZM110.386 64.2705C86.9378 64.2705 67.9298 83.1109 67.9298 106.352C67.9299 129.594 86.9378 148.434 110.386 148.434C133.834 148.434 152.842 129.594 152.842 106.352C152.842 83.1109 133.834 64.2705 110.386 64.2705Z\" fill=\"#0F0B11\"/><path d=\"M110 201.849C112.54 201.849 114.885 201.559 117.522 201.365L123.188 212.021C124.263 214.151 126.412 215.314 129.05 214.927C131.492 214.441 133.251 212.699 133.544 210.083L135.302 198.362C140.089 197.103 144.876 195.263 149.565 193.228L158.358 201.074C160.213 202.818 162.558 203.206 165 201.849C167.15 200.687 168.028 198.362 167.54 195.844L165.098 184.22C169.103 181.41 173.108 178.214 176.723 174.631L187.665 179.183C190.107 180.152 192.354 179.667 194.211 177.439C195.872 175.696 196.066 173.177 194.699 171.046L188.349 160.972C191.28 156.904 193.625 152.544 195.872 147.896L207.79 148.476C210.328 148.573 212.478 147.218 213.358 144.796C214.138 142.374 213.358 140.049 211.305 138.499L202.026 131.138C203.296 126.488 204.273 121.451 204.663 116.22L215.994 112.733C218.438 111.861 220 110.021 220 107.406C220 104.887 218.438 103.046 215.994 102.175L204.663 98.5901C204.273 93.3597 203.296 88.5165 202.026 83.7704L211.305 76.3119C213.358 74.8588 214.138 72.6307 213.358 70.2092C212.478 67.7874 210.328 66.4313 207.79 66.528L195.872 67.0128C193.625 62.3629 191.28 58.0042 188.349 53.9359L194.699 43.8618C196.066 41.8276 195.872 39.309 194.211 37.5652C192.354 35.3377 190.107 34.7561 187.665 35.822L176.723 40.181C173.108 36.7903 169.103 33.4969 165.098 30.6881L167.54 19.1609C168.028 16.5456 167.15 14.2208 165 13.0582C162.558 11.7989 160.213 11.9928 158.358 13.9303L149.565 21.5828C144.876 19.5486 140.089 17.9016 135.302 16.5456L133.544 4.82504C133.251 2.30643 131.492 0.466035 129.05 0.0783659C126.412 -0.30889 124.263 0.756579 123.188 2.88752L117.522 13.543C114.885 13.3492 112.54 13.1554 110 13.1554C107.362 13.1554 105.018 13.3492 102.283 13.543L96.7143 2.88752C95.6398 0.756579 93.4907 -0.30889 90.755 0.0783659C88.3126 0.466035 86.6522 2.30643 86.2608 4.82504L84.6004 16.4489C79.7156 17.9016 74.9292 19.5486 70.3376 21.5828L61.5457 13.9303C59.5917 11.9928 57.2471 11.7989 54.9024 13.0582C52.7534 14.2208 51.8739 16.5456 52.3624 19.1609L54.8045 30.6881C50.7018 33.4969 46.6967 36.7903 43.0816 40.181L32.2382 35.822C29.7956 34.7561 27.4511 35.3377 25.595 37.5652C24.0323 39.309 23.8368 41.8276 25.1069 43.7647L31.5542 53.9359C28.6235 58.0042 26.279 62.3629 24.0323 67.0128L12.0159 66.528C9.47629 66.4313 7.32678 67.7874 6.54525 70.2092C5.76372 72.6307 6.44771 74.8588 8.49926 76.3119L17.8776 83.7704C16.6076 88.5165 15.533 93.3597 15.24 98.5901L3.90764 102.175C1.36757 102.95 0 104.79 0 107.406C0 110.021 1.36757 111.861 3.90764 112.733L15.24 116.317C15.533 121.451 16.6076 126.488 17.8776 131.138L8.49926 138.499C6.44771 140.049 5.76372 142.374 6.54525 144.796C7.32678 147.218 9.47629 148.573 12.0159 148.476L24.0323 147.896C26.279 152.544 28.6235 156.904 31.4566 160.972L25.2044 171.046C23.7388 173.177 23.9344 175.696 25.595 177.439C27.4511 179.667 29.7956 180.152 32.2382 179.183L43.0816 174.631C46.6967 178.214 50.7018 181.41 54.8045 184.22L52.3624 195.844C51.8739 198.362 52.7534 200.687 54.9024 201.849C57.3446 203.206 59.6892 202.818 61.5457 201.074L70.2401 193.228C74.9292 195.263 79.7156 197.103 84.6004 198.362L86.2608 210.083C86.6522 212.699 88.3126 214.441 90.755 214.927C93.4907 215.314 95.6398 214.151 96.7143 212.021L102.283 201.365C104.92 201.559 107.362 201.849 110 201.849ZM134.521 101.303C129.929 89.098 120.942 82.4139 109.707 82.4139C108.046 82.4139 106.092 82.6082 102.967 83.2861L74.9292 35.822C85.3824 30.6881 97.3002 27.8789 110 27.8789C152.594 27.8789 186.003 59.9414 189.032 101.303H134.521ZM30.6751 107.502C30.6751 80.5737 43.4725 56.8416 63.6948 42.5058L91.9276 90.2602C86.6522 95.685 84.2098 101.593 84.2098 107.889C84.2098 113.992 86.5549 119.61 91.9276 125.229L63.0108 172.112C43.2771 157.678 30.6751 134.237 30.6751 107.502ZM97.9841 107.793C97.9841 101.206 103.65 96.0721 109.903 96.0721C116.546 96.0721 122.017 101.206 122.017 107.793C122.017 114.283 116.546 119.61 109.903 119.61C103.65 119.61 97.9841 114.283 97.9841 107.793ZM110 187.126C97.0076 187.126 84.8937 184.123 74.2452 178.892L102.967 132.3C105.994 133.075 108.046 133.269 109.707 133.269C121.039 133.269 130.027 126.391 134.521 113.896H189.032C185.906 155.063 152.496 187.126 110 187.126Z\" fill=\"#130F15\"/></g><defs><clipPath id=\"clip0_2265_255\"><rect width=\"220\" height=\"215\" fill=\"white\"/></clipPath></defs></svg>";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const gearSVGDark = '<svg width="220" height="215" viewBox="0 0 220 215" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2265_239)"><path d="M118.931 35.6283C119.659 34.1799 121.114 33.4554 122.901 33.7185C124.554 33.982 125.745 35.233 125.943 36.9449L127.135 44.9114C130.376 45.8332 133.617 46.9532 136.793 48.3358L142.748 43.1339C144.004 41.8171 145.592 41.6854 147.246 42.5414C148.701 43.3316 149.297 44.9115 148.966 46.689L147.312 54.5248C150.024 56.4339 152.737 58.6722 155.184 60.9768L162.594 58.0142C164.248 57.2897 165.77 57.6851 167.027 59.1993C168.152 60.3845 168.282 62.0966 167.357 63.4792L163.057 70.3264C165.042 73.0918 166.63 76.0544 168.152 79.2149L176.222 78.8859C177.942 78.8201 179.397 79.742 179.993 81.3878C180.521 83.0336 179.993 84.5478 178.603 85.5356L172.319 90.6053C173.179 93.8318 173.841 97.1234 174.105 100.679L181.779 103.116C183.433 103.708 184.491 104.959 184.491 106.671C184.491 108.448 183.433 109.7 181.779 110.292L174.105 112.662C173.841 116.218 173.179 119.641 172.319 122.802L178.603 127.806C179.993 128.859 180.521 130.439 179.993 132.086C179.397 133.732 177.942 134.653 176.222 134.587L168.152 134.192C166.63 137.352 165.042 140.315 163.057 143.081L167.357 149.928C168.282 151.376 168.152 153.088 167.027 154.274C165.77 155.788 164.248 156.117 162.594 155.459L155.184 152.365C152.737 154.801 150.024 156.973 147.312 158.882L148.966 166.783C149.297 168.495 148.701 170.076 147.246 170.865C145.592 171.787 144.004 171.524 142.748 170.339L136.793 165.005C133.617 166.388 130.376 167.64 127.135 168.496L125.943 176.462C125.745 178.24 124.554 179.425 122.901 179.755C121.114 180.017 119.659 179.227 118.931 177.779L115.094 170.536C113.308 170.668 111.72 170.865 110 170.865C108.214 170.865 106.56 170.668 104.773 170.536L101.003 177.779C100.275 179.227 98.8202 180.018 96.9675 179.755C95.3133 179.425 94.1894 178.24 93.9246 176.462L92.7999 168.496C89.4922 167.64 86.2508 166.388 83.0751 165.005L77.187 170.339C75.9298 171.524 74.3418 171.787 72.6881 170.865C71.
|
|
2
|
-
export const gearSVGLight = '<svg width="220" height="215" viewBox="0 0 220 215" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2265_255)"><path d="M118.931 35.6283C119.659 34.1799 121.114 33.4554 122.901 33.7185C124.554 33.982 125.745 35.233 125.943 36.9449L127.135 44.9114C130.376 45.8332 133.617 46.9532 136.793 48.3358L142.748 43.1339C144.004 41.8171 145.592 41.6854 147.246 42.5414C148.701 43.3316 149.297 44.9115 148.966 46.689L147.312 54.5248C150.024 56.4339 152.737 58.6722 155.184 60.9768L162.594 58.0142C164.248 57.2897 165.77 57.6851 167.027 59.1993C168.152 60.3845 168.282 62.0966 167.357 63.4792L163.057 70.3264C165.042 73.0918 166.63 76.0544 168.152 79.2149L176.222 78.8859C177.942 78.8201 179.397 79.742 179.993 81.3878C180.521 83.0336 179.993 84.5478 178.603 85.5356L172.319 90.6053C173.179 93.8318 173.841 97.1234 174.105 100.679L181.779 103.116C183.433 103.708 184.491 104.959 184.491 106.671C184.491 108.448 183.433 109.7 181.779 110.292L174.105 112.662C173.841 116.218 173.179 119.641 172.319 122.802L178.603 127.806C179.993 128.859 180.521 130.439 179.993 132.086C179.397 133.732 177.942 134.653 176.222 134.587L168.152 134.192C166.63 137.352 165.042 140.315 163.057 143.081L167.357 149.928C168.282 151.376 168.152 153.088 167.027 154.274C165.77 155.788 164.248 156.117 162.594 155.459L155.184 152.365C152.737 154.801 150.024 156.973 147.312 158.882L148.966 166.783C149.297 168.495 148.701 170.076 147.246 170.865C145.592 171.787 144.004 171.524 142.748 170.339L136.793 165.005C133.617 166.388 130.376 167.64 127.135 168.496L125.943 176.462C125.745 178.24 124.554 179.425 122.901 179.755C121.114 180.017 119.659 179.227 118.931 177.779L115.094 170.536C113.308 170.668 111.72 170.865 110 170.865C108.214 170.865 106.56 170.668 104.773 170.536L101.003 177.779C100.275 179.227 98.8202 180.018 96.9675 179.755C95.3133 179.425 94.1894 178.24 93.9246 176.462L92.7999 168.496C89.4922 167.64 86.2508 166.388 83.0751 165.005L77.187 170.339C75.9298 171.524 74.3418 171.787 72.6881 170.865C71.
|
|
1
|
+
export const gearSVGDark = '<svg width="220" height="215" viewBox="0 0 220 215" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2265_239)"><path d="M118.931 35.6283C119.659 34.1799 121.114 33.4554 122.901 33.7185C124.554 33.982 125.745 35.233 125.943 36.9449L127.135 44.9114C130.376 45.8332 133.617 46.9532 136.793 48.3358L142.748 43.1339C144.004 41.8171 145.592 41.6854 147.246 42.5414C148.701 43.3316 149.297 44.9115 148.966 46.689L147.312 54.5248C150.024 56.4339 152.737 58.6722 155.184 60.9768L162.594 58.0142C164.248 57.2897 165.77 57.6851 167.027 59.1993C168.152 60.3845 168.282 62.0966 167.357 63.4792L163.057 70.3264C165.042 73.0918 166.63 76.0544 168.152 79.2149L176.222 78.8859C177.942 78.8201 179.397 79.742 179.993 81.3878C180.521 83.0336 179.993 84.5478 178.603 85.5356L172.319 90.6053C173.179 93.8318 173.841 97.1234 174.105 100.679L181.779 103.116C183.433 103.708 184.491 104.959 184.491 106.671C184.491 108.448 183.433 109.7 181.779 110.292L174.105 112.662C173.841 116.218 173.179 119.641 172.319 122.802L178.603 127.806C179.993 128.859 180.521 130.439 179.993 132.086C179.397 133.732 177.942 134.653 176.222 134.587L168.152 134.192C166.63 137.352 165.042 140.315 163.057 143.081L167.357 149.928C168.282 151.376 168.152 153.088 167.027 154.274C165.77 155.788 164.248 156.117 162.594 155.459L155.184 152.365C152.737 154.801 150.024 156.973 147.312 158.882L148.966 166.783C149.297 168.495 148.701 170.076 147.246 170.865C145.592 171.787 144.004 171.524 142.748 170.339L136.793 165.005C133.617 166.388 130.376 167.64 127.135 168.496L125.943 176.462C125.745 178.24 124.554 179.425 122.901 179.755C121.114 180.017 119.659 179.227 118.931 177.779L115.094 170.536C113.308 170.668 111.72 170.865 110 170.865C108.214 170.865 106.56 170.668 104.773 170.536L101.003 177.779C100.275 179.227 98.8202 180.018 96.9675 179.755C95.3133 179.425 94.1894 178.24 93.9246 176.462L92.7999 168.496C89.4922 167.64 86.2508 166.388 83.0751 165.005L77.187 170.339C75.9298 171.524 74.3418 171.787 72.6881 170.865C71.2328 170.076 70.6378 168.495 70.9685 166.783L72.6217 158.882C69.8435 156.973 67.131 154.801 64.683 152.365L57.3399 155.459C55.686 156.117 54.0986 155.788 52.8418 154.274C51.7172 153.088 51.5848 151.376 52.5772 149.928L56.8107 143.081C54.8923 140.315 53.3048 137.352 51.7834 134.192L43.6457 134.587C41.9261 134.653 40.4707 133.732 39.9414 132.086C39.4121 130.439 39.8752 128.859 41.2644 127.806L47.6154 122.802C46.7554 119.641 46.028 116.218 45.8296 112.728L38.1547 110.292C36.4347 109.7 35.5088 108.448 35.5088 106.671C35.5088 104.892 36.4349 103.642 38.1547 103.116L45.8296 100.679C46.028 97.1234 46.7553 93.8318 47.6154 90.6053L41.2644 85.5356C39.8752 84.5478 39.4122 83.0336 39.9414 81.3878C40.4706 79.742 41.926 78.8201 43.6457 78.8859L51.7834 79.2149C53.3048 76.0544 54.8925 73.0918 56.877 70.3264L52.5109 63.4127C51.6509 62.096 51.7836 60.3844 52.8418 59.1993C54.0986 57.6852 55.686 57.2898 57.3399 58.0142L64.683 60.9768C67.131 58.6723 69.8435 56.4339 72.6217 54.5248L70.9685 46.689C70.6378 44.9116 71.233 43.3316 72.6881 42.5414C74.2757 41.6854 75.8637 41.817 77.187 43.1339L83.1407 48.3358C86.2501 46.9532 89.4922 45.8332 92.7999 44.8457L93.9246 36.9449C94.1894 35.2331 95.3133 33.982 96.9675 33.7185C98.8202 33.4554 100.275 34.1799 101.003 35.6283L104.773 42.8708C106.626 42.7392 108.214 42.6071 110 42.6071C111.72 42.6071 113.308 42.7392 115.094 42.8708L118.931 35.6283ZM110.386 64.2705C86.9378 64.2705 67.9298 83.1109 67.9298 106.352C67.9299 129.594 86.9378 148.434 110.386 148.434C133.834 148.434 152.842 129.594 152.842 106.352C152.842 83.1109 133.834 64.2705 110.386 64.2705Z" fill="#130F15"/><path d="M110 201.849C112.54 201.849 114.885 201.559 117.522 201.365L123.188 212.021C124.263 214.151 126.412 215.314 129.05 214.927C131.492 214.441 133.251 212.699 133.544 210.083L135.302 198.362C140.089 197.103 144.876 195.263 149.565 193.228L158.358 201.074C160.213 202.818 162.558 203.206 165 201.849C167.15 200.687 168.028 198.362 167.54 195.844L165.098 184.22C169.103 181.41 173.108 178.214 176.723 174.631L187.665 179.183C190.107 180.152 192.354 179.667 194.211 177.439C195.872 175.696 196.066 173.177 194.699 171.046L188.349 160.972C191.28 156.904 193.625 152.544 195.872 147.896L207.79 148.476C210.328 148.573 212.478 147.218 213.358 144.796C214.138 142.374 213.358 140.049 211.305 138.499L202.026 131.138C203.296 126.488 204.273 121.451 204.663 116.22L215.994 112.733C218.438 111.861 220 110.021 220 107.406C220 104.887 218.438 103.046 215.994 102.175L204.663 98.5901C204.273 93.3597 203.296 88.5165 202.026 83.7704L211.305 76.3119C213.358 74.8588 214.138 72.6307 213.358 70.2092C212.478 67.7874 210.328 66.4313 207.79 66.528L195.872 67.0128C193.625 62.3629 191.28 58.0042 188.349 53.9359L194.699 43.8618C196.066 41.8276 195.872 39.309 194.211 37.5652C192.354 35.3377 190.107 34.7561 187.665 35.822L176.723 40.181C173.108 36.7903 169.103 33.4969 165.098 30.6881L167.54 19.1609C168.028 16.5456 167.15 14.2208 165 13.0582C162.558 11.7989 160.213 11.9928 158.358 13.9303L149.565 21.5828C144.876 19.5486 140.089 17.9016 135.302 16.5456L133.544 4.82504C133.251 2.30643 131.492 0.466035 129.05 0.0783659C126.412 -0.30889 124.263 0.756579 123.188 2.88752L117.522 13.543C114.885 13.3492 112.54 13.1554 110 13.1554C107.362 13.1554 105.018 13.3492 102.283 13.543L96.7143 2.88752C95.6398 0.756579 93.4907 -0.30889 90.755 0.0783659C88.3126 0.466035 86.6522 2.30643 86.2608 4.82504L84.6004 16.4489C79.7156 17.9016 74.9292 19.5486 70.3376 21.5828L61.5457 13.9303C59.5917 11.9928 57.2471 11.7989 54.9024 13.0582C52.7534 14.2208 51.8739 16.5456 52.3624 19.1609L54.8045 30.6881C50.7018 33.4969 46.6967 36.7903 43.0816 40.181L32.2382 35.822C29.7956 34.7561 27.4511 35.3377 25.595 37.5652C24.0323 39.309 23.8368 41.8276 25.1069 43.7647L31.5542 53.9359C28.6235 58.0042 26.279 62.3629 24.0323 67.0128L12.0159 66.528C9.47629 66.4313 7.32678 67.7874 6.54525 70.2092C5.76372 72.6307 6.44771 74.8588 8.49926 76.3119L17.8776 83.7704C16.6076 88.5165 15.533 93.3597 15.24 98.5901L3.90764 102.175C1.36757 102.95 0 104.79 0 107.406C0 110.021 1.36757 111.861 3.90764 112.733L15.24 116.317C15.533 121.451 16.6076 126.488 17.8776 131.138L8.49926 138.499C6.44771 140.049 5.76372 142.374 6.54525 144.796C7.32678 147.218 9.47629 148.573 12.0159 148.476L24.0323 147.896C26.279 152.544 28.6235 156.904 31.4566 160.972L25.2044 171.046C23.7388 173.177 23.9344 175.696 25.595 177.439C27.4511 179.667 29.7956 180.152 32.2382 179.183L43.0816 174.631C46.6967 178.214 50.7018 181.41 54.8045 184.22L52.3624 195.844C51.8739 198.362 52.7534 200.687 54.9024 201.849C57.3446 203.206 59.6892 202.818 61.5457 201.074L70.2401 193.228C74.9292 195.263 79.7156 197.103 84.6004 198.362L86.2608 210.083C86.6522 212.699 88.3126 214.441 90.755 214.927C93.4907 215.314 95.6398 214.151 96.7143 212.021L102.283 201.365C104.92 201.559 107.362 201.849 110 201.849ZM134.521 101.303C129.929 89.098 120.942 82.4139 109.707 82.4139C108.046 82.4139 106.092 82.6082 102.967 83.2861L74.9292 35.822C85.3824 30.6881 97.3002 27.8789 110 27.8789C152.594 27.8789 186.003 59.9414 189.032 101.303H134.521ZM30.6751 107.502C30.6751 80.5737 43.4725 56.8416 63.6948 42.5058L91.9276 90.2602C86.6522 95.685 84.2098 101.593 84.2098 107.889C84.2098 113.992 86.5549 119.61 91.9276 125.229L63.0108 172.112C43.2771 157.678 30.6751 134.237 30.6751 107.502ZM97.9841 107.793C97.9841 101.206 103.65 96.0721 109.903 96.0721C116.546 96.0721 122.017 101.206 122.017 107.793C122.017 114.283 116.546 119.61 109.903 119.61C103.65 119.61 97.9841 114.283 97.9841 107.793ZM110 187.126C97.0076 187.126 84.8937 184.123 74.2452 178.892L102.967 132.3C105.994 133.075 108.046 133.269 109.707 133.269C121.039 133.269 130.027 126.391 134.521 113.896H189.032C185.906 155.063 152.496 187.126 110 187.126Z" fill="#0F0B11"/></g><defs><clipPath id="clip0_2265_239"><rect width="220" height="215" fill="white"/></clipPath></defs></svg>';
|
|
2
|
+
export const gearSVGLight = '<svg width="220" height="215" viewBox="0 0 220 215" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2265_255)"><path d="M118.931 35.6283C119.659 34.1799 121.114 33.4554 122.901 33.7185C124.554 33.982 125.745 35.233 125.943 36.9449L127.135 44.9114C130.376 45.8332 133.617 46.9532 136.793 48.3358L142.748 43.1339C144.004 41.8171 145.592 41.6854 147.246 42.5414C148.701 43.3316 149.297 44.9115 148.966 46.689L147.312 54.5248C150.024 56.4339 152.737 58.6722 155.184 60.9768L162.594 58.0142C164.248 57.2897 165.77 57.6851 167.027 59.1993C168.152 60.3845 168.282 62.0966 167.357 63.4792L163.057 70.3264C165.042 73.0918 166.63 76.0544 168.152 79.2149L176.222 78.8859C177.942 78.8201 179.397 79.742 179.993 81.3878C180.521 83.0336 179.993 84.5478 178.603 85.5356L172.319 90.6053C173.179 93.8318 173.841 97.1234 174.105 100.679L181.779 103.116C183.433 103.708 184.491 104.959 184.491 106.671C184.491 108.448 183.433 109.7 181.779 110.292L174.105 112.662C173.841 116.218 173.179 119.641 172.319 122.802L178.603 127.806C179.993 128.859 180.521 130.439 179.993 132.086C179.397 133.732 177.942 134.653 176.222 134.587L168.152 134.192C166.63 137.352 165.042 140.315 163.057 143.081L167.357 149.928C168.282 151.376 168.152 153.088 167.027 154.274C165.77 155.788 164.248 156.117 162.594 155.459L155.184 152.365C152.737 154.801 150.024 156.973 147.312 158.882L148.966 166.783C149.297 168.495 148.701 170.076 147.246 170.865C145.592 171.787 144.004 171.524 142.748 170.339L136.793 165.005C133.617 166.388 130.376 167.64 127.135 168.496L125.943 176.462C125.745 178.24 124.554 179.425 122.901 179.755C121.114 180.017 119.659 179.227 118.931 177.779L115.094 170.536C113.308 170.668 111.72 170.865 110 170.865C108.214 170.865 106.56 170.668 104.773 170.536L101.003 177.779C100.275 179.227 98.8202 180.018 96.9675 179.755C95.3133 179.425 94.1894 178.24 93.9246 176.462L92.7999 168.496C89.4922 167.64 86.2508 166.388 83.0751 165.005L77.187 170.339C75.9298 171.524 74.3418 171.787 72.6881 170.865C71.2328 170.076 70.6378 168.495 70.9685 166.783L72.6217 158.882C69.8435 156.973 67.131 154.801 64.683 152.365L57.3399 155.459C55.686 156.117 54.0986 155.788 52.8418 154.274C51.7172 153.088 51.5848 151.376 52.5772 149.928L56.8107 143.081C54.8923 140.315 53.3048 137.352 51.7834 134.192L43.6457 134.587C41.9261 134.653 40.4707 133.732 39.9414 132.086C39.4121 130.439 39.8752 128.859 41.2644 127.806L47.6154 122.802C46.7554 119.641 46.028 116.218 45.8296 112.728L38.1547 110.292C36.4347 109.7 35.5088 108.448 35.5088 106.671C35.5088 104.892 36.4349 103.642 38.1547 103.116L45.8296 100.679C46.028 97.1234 46.7553 93.8318 47.6154 90.6053L41.2644 85.5356C39.8752 84.5478 39.4122 83.0336 39.9414 81.3878C40.4706 79.742 41.926 78.8201 43.6457 78.8859L51.7834 79.2149C53.3048 76.0544 54.8925 73.0918 56.877 70.3264L52.5109 63.4127C51.6509 62.096 51.7836 60.3844 52.8418 59.1993C54.0986 57.6852 55.686 57.2898 57.3399 58.0142L64.683 60.9768C67.131 58.6723 69.8435 56.4339 72.6217 54.5248L70.9685 46.689C70.6378 44.9116 71.233 43.3316 72.6881 42.5414C74.2757 41.6854 75.8637 41.817 77.187 43.1339L83.1407 48.3358C86.2501 46.9532 89.4922 45.8332 92.7999 44.8457L93.9246 36.9449C94.1894 35.2331 95.3133 33.982 96.9675 33.7185C98.8202 33.4554 100.275 34.1799 101.003 35.6283L104.773 42.8708C106.626 42.7392 108.214 42.6071 110 42.6071C111.72 42.6071 113.308 42.7392 115.094 42.8708L118.931 35.6283ZM110.386 64.2705C86.9378 64.2705 67.9298 83.1109 67.9298 106.352C67.9299 129.594 86.9378 148.434 110.386 148.434C133.834 148.434 152.842 129.594 152.842 106.352C152.842 83.1109 133.834 64.2705 110.386 64.2705Z" fill="#0F0B11"/><path d="M110 201.849C112.54 201.849 114.885 201.559 117.522 201.365L123.188 212.021C124.263 214.151 126.412 215.314 129.05 214.927C131.492 214.441 133.251 212.699 133.544 210.083L135.302 198.362C140.089 197.103 144.876 195.263 149.565 193.228L158.358 201.074C160.213 202.818 162.558 203.206 165 201.849C167.15 200.687 168.028 198.362 167.54 195.844L165.098 184.22C169.103 181.41 173.108 178.214 176.723 174.631L187.665 179.183C190.107 180.152 192.354 179.667 194.211 177.439C195.872 175.696 196.066 173.177 194.699 171.046L188.349 160.972C191.28 156.904 193.625 152.544 195.872 147.896L207.79 148.476C210.328 148.573 212.478 147.218 213.358 144.796C214.138 142.374 213.358 140.049 211.305 138.499L202.026 131.138C203.296 126.488 204.273 121.451 204.663 116.22L215.994 112.733C218.438 111.861 220 110.021 220 107.406C220 104.887 218.438 103.046 215.994 102.175L204.663 98.5901C204.273 93.3597 203.296 88.5165 202.026 83.7704L211.305 76.3119C213.358 74.8588 214.138 72.6307 213.358 70.2092C212.478 67.7874 210.328 66.4313 207.79 66.528L195.872 67.0128C193.625 62.3629 191.28 58.0042 188.349 53.9359L194.699 43.8618C196.066 41.8276 195.872 39.309 194.211 37.5652C192.354 35.3377 190.107 34.7561 187.665 35.822L176.723 40.181C173.108 36.7903 169.103 33.4969 165.098 30.6881L167.54 19.1609C168.028 16.5456 167.15 14.2208 165 13.0582C162.558 11.7989 160.213 11.9928 158.358 13.9303L149.565 21.5828C144.876 19.5486 140.089 17.9016 135.302 16.5456L133.544 4.82504C133.251 2.30643 131.492 0.466035 129.05 0.0783659C126.412 -0.30889 124.263 0.756579 123.188 2.88752L117.522 13.543C114.885 13.3492 112.54 13.1554 110 13.1554C107.362 13.1554 105.018 13.3492 102.283 13.543L96.7143 2.88752C95.6398 0.756579 93.4907 -0.30889 90.755 0.0783659C88.3126 0.466035 86.6522 2.30643 86.2608 4.82504L84.6004 16.4489C79.7156 17.9016 74.9292 19.5486 70.3376 21.5828L61.5457 13.9303C59.5917 11.9928 57.2471 11.7989 54.9024 13.0582C52.7534 14.2208 51.8739 16.5456 52.3624 19.1609L54.8045 30.6881C50.7018 33.4969 46.6967 36.7903 43.0816 40.181L32.2382 35.822C29.7956 34.7561 27.4511 35.3377 25.595 37.5652C24.0323 39.309 23.8368 41.8276 25.1069 43.7647L31.5542 53.9359C28.6235 58.0042 26.279 62.3629 24.0323 67.0128L12.0159 66.528C9.47629 66.4313 7.32678 67.7874 6.54525 70.2092C5.76372 72.6307 6.44771 74.8588 8.49926 76.3119L17.8776 83.7704C16.6076 88.5165 15.533 93.3597 15.24 98.5901L3.90764 102.175C1.36757 102.95 0 104.79 0 107.406C0 110.021 1.36757 111.861 3.90764 112.733L15.24 116.317C15.533 121.451 16.6076 126.488 17.8776 131.138L8.49926 138.499C6.44771 140.049 5.76372 142.374 6.54525 144.796C7.32678 147.218 9.47629 148.573 12.0159 148.476L24.0323 147.896C26.279 152.544 28.6235 156.904 31.4566 160.972L25.2044 171.046C23.7388 173.177 23.9344 175.696 25.595 177.439C27.4511 179.667 29.7956 180.152 32.2382 179.183L43.0816 174.631C46.6967 178.214 50.7018 181.41 54.8045 184.22L52.3624 195.844C51.8739 198.362 52.7534 200.687 54.9024 201.849C57.3446 203.206 59.6892 202.818 61.5457 201.074L70.2401 193.228C74.9292 195.263 79.7156 197.103 84.6004 198.362L86.2608 210.083C86.6522 212.699 88.3126 214.441 90.755 214.927C93.4907 215.314 95.6398 214.151 96.7143 212.021L102.283 201.365C104.92 201.559 107.362 201.849 110 201.849ZM134.521 101.303C129.929 89.098 120.942 82.4139 109.707 82.4139C108.046 82.4139 106.092 82.6082 102.967 83.2861L74.9292 35.822C85.3824 30.6881 97.3002 27.8789 110 27.8789C152.594 27.8789 186.003 59.9414 189.032 101.303H134.521ZM30.6751 107.502C30.6751 80.5737 43.4725 56.8416 63.6948 42.5058L91.9276 90.2602C86.6522 95.685 84.2098 101.593 84.2098 107.889C84.2098 113.992 86.5549 119.61 91.9276 125.229L63.0108 172.112C43.2771 157.678 30.6751 134.237 30.6751 107.502ZM97.9841 107.793C97.9841 101.206 103.65 96.0721 109.903 96.0721C116.546 96.0721 122.017 101.206 122.017 107.793C122.017 114.283 116.546 119.61 109.903 119.61C103.65 119.61 97.9841 114.283 97.9841 107.793ZM110 187.126C97.0076 187.126 84.8937 184.123 74.2452 178.892L102.967 132.3C105.994 133.075 108.046 133.269 109.707 133.269C121.039 133.269 130.027 126.391 134.521 113.896H189.032C185.906 155.063 152.496 187.126 110 187.126Z" fill="#130F15"/></g><defs><clipPath id="clip0_2265_255"><rect width="220" height="215" fill="white"/></clipPath></defs></svg>';
|
package/dist/icons.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export const icons = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
2
|
+
arrow: '<svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.5498 0.872253C6.03286 0.656357 6.59776 0.729738 7.00977 1.06171L7.0957 1.1369L12.0166 5.80585C12.0211 5.81013 12.0249 5.81513 12.0293 5.81952C12.034 5.82422 12.0393 5.82834 12.0439 5.83319C12.0482 5.83764 12.0516 5.84331 12.0557 5.84784C12.0645 5.85762 12.0738 5.86695 12.082 5.87714C12.0897 5.88658 12.0964 5.89672 12.1035 5.90643C12.109 5.91395 12.1149 5.92119 12.1201 5.92889C12.1269 5.93887 12.1334 5.94895 12.1396 5.95917C12.1632 5.99771 12.183 6.03822 12.1992 6.08026C12.2005 6.08354 12.2019 6.08674 12.2031 6.09003C12.2178 6.12988 12.2285 6.17107 12.2363 6.21307C12.2381 6.22283 12.2398 6.23256 12.2412 6.24237C12.2463 6.27778 12.25 6.31357 12.25 6.34979C12.25 6.35338 12.2491 6.35695 12.249 6.36053C12.2489 6.36771 12.2484 6.37485 12.248 6.38202C12.2462 6.42436 12.2412 6.46607 12.2324 6.50702C12.2319 6.50927 12.2319 6.51161 12.2314 6.51385C12.1992 6.65778 12.1253 6.79048 12.0166 6.89374L10.7666 8.08026C10.7651 8.08169 10.7632 8.08275 10.7617 8.08417L7.0957 11.5627C6.65104 11.9843 5.98473 12.0709 5.44727 11.7766C4.60866 11.3172 4.46065 10.1739 5.1543 9.51581L6.99707 7.76678H2.16699C1.38459 7.76678 0.75 7.1322 0.75 6.34979C0.75 5.56739 1.38459 4.9328 2.16699 4.9328H6.37109C6.59677 4.93263 6.70652 4.65761 6.54297 4.50214L5.1543 3.18378C4.46065 2.52564 4.60866 1.38241 5.44727 0.923035L5.5498 0.872253Z" stroke-width="1.5" stroke-linejoin="round"/></svg>',
|
|
3
|
+
folder: '<svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.0782 1C7.18817 1.00001 8.11224 1.70066 8.31604 2.62852H9.60377C11.4794 2.62852 13 3.97168 13 5.62852V8C13 9.65686 11.4795 11 9.60377 11H4.39623C2.52054 11 1 9.65686 1 8V3.82852C1.00003 2.26638 2.43364 1.00003 4.2021 1H6.0782Z" stroke-width="1.5" stroke-linecap="round"/></svg>',
|
|
4
|
+
icon_expand: '<svg width="11" height="9" viewBox="0 0 11 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.83954 0.768768C9.36489 0.85241 9.80286 1.2017 10.0466 1.69455C10.383 2.37571 10.3011 3.24666 9.79852 3.8342L6.36688 7.84299C6.15182 8.09413 5.84139 8.25021 5.49969 8.25021C5.158 8.25021 4.84757 8.09412 4.63251 7.84299L1.20087 3.8342C0.698243 3.24663 0.616432 2.37568 0.95282 1.69455C1.19652 1.20169 1.6345 0.852405 2.15985 0.768768C2.62551 0.694684 3.08998 0.841766 3.44501 1.16721L3.59052 1.3176L3.60126 1.33029L5.49969 3.65549L7.39813 1.33029L7.40887 1.3176C7.77637 0.888275 8.30735 0.684099 8.83954 0.768768Z" stroke-width="1.2" stroke-linejoin="round"/></svg>',
|
|
5
|
+
cross: '<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.7143 1.75415C12.7196 2.7595 12.7194 4.38918 11.7143 5.39464L10.3746 6.73428L11.7136 8.07322C12.719 9.07867 12.7197 10.709 11.7143 11.7144C10.7088 12.7198 9.07851 12.7192 8.07308 11.7137L6.73413 10.3748L5.39519 11.7137C4.38975 12.7192 2.75945 12.7198 1.754 11.7144C0.748549 10.709 0.749239 9.07867 1.75469 8.07322L3.09364 6.73428L1.754 5.39464C0.748851 4.38918 0.748684 2.7595 1.754 1.75415C2.75935 0.748792 4.38902 0.748985 5.39449 1.75415L6.73413 3.09378L8.07377 1.75415C9.07924 0.748985 10.7089 0.748792 11.7143 1.75415Z" stroke-width="2"/></svg>',
|
|
6
|
+
pen: '<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.5664 0.750977C12.3421 0.769347 13.0332 1.10326 13.5186 1.62793C14.5307 2.72247 14.5264 4.45398 13.2959 5.68945L5.5166 13.5C5.03819 13.9803 4.38784 14.2499 3.70996 14.25H2.70215C1.61644 14.2499 0.75 13.3655 0.75 12.2949V11.2793C0.75 10.6048 1.0171 9.95741 1.49316 9.47949L9.27441 1.66699C9.30318 1.6381 9.33331 1.61087 9.36426 1.58496L9.61621 1.38965C10.2143 0.962846 10.8833 0.734842 11.5664 0.750977Z" stroke-width="2"/></svg>',
|
|
7
|
+
check: '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.0909 7.54545C14.0909 3.9305 11.1604 1 7.54545 1C3.9305 1 1 3.9305 1 7.54545C1 11.1604 3.9305 14.0909 7.54545 14.0909C11.1604 14.0909 14.0909 11.1604 14.0909 7.54545Z" stroke-width="1.5"/><path d="M5.60596 8.05002L7.28552 9.00003L8.9999 6.09094" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',
|
|
8
|
+
crossb: '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.0909 7.54545C14.0909 3.9305 11.1604 1 7.54545 1C3.9305 1 1 3.9305 1 7.54545C1 11.1604 3.9305 14.0909 7.54545 14.0909C11.1604 14.0909 14.0909 11.1604 14.0909 7.54545Z" stroke-width="1.5"/><path d="M5.54541 9.54547L9.54541 5.54547M9.54536 9.54547L5.54536 5.54547" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',
|
|
9
|
+
help: '<svg width="14" height="18" viewBox="0 0 14 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.12598 1C8.80364 1 10.2761 1.41608 11.3467 2.30859C12.441 3.22103 13 4.53608 13 6.07031C13 8.64914 11.1429 9.84464 10.0557 10.5439L10.0498 10.5479C9.59811 10.834 9.28616 11.0529 9.08203 11.2695C8.90303 11.4596 8.86426 11.5868 8.86426 11.7109V12.0938C8.86426 12.2909 8.80556 12.474 8.70703 12.6289C9.12558 13.0883 9.38867 13.687 9.38867 14.3574C9.38856 15.8568 8.05087 17 6.60156 17C5.13309 16.9998 3.81554 15.875 3.81543 14.3574C3.81543 13.7321 4.03654 13.1746 4.39648 12.7324C4.25235 12.5591 4.16504 12.3368 4.16504 12.0938V11.7109C4.16504 9.40212 5.70071 8.25591 6.67773 7.51758C7.09258 7.20371 7.37411 6.98167 7.56445 6.75684C7.72926 6.56215 7.7763 6.42236 7.77637 6.27148C7.77637 5.9518 7.68601 5.82933 7.63672 5.78223C7.58081 5.72894 7.42619 5.62896 7.04883 5.62891C6.69244 5.62891 6.4936 5.74276 6.37793 5.86816C6.25387 6.00289 6.12603 6.25977 6.12598 6.70898C6.12598 7.26127 5.67826 7.70898 5.12598 7.70898H2C1.44772 7.70898 1 7.26127 1 6.70898C1.00007 5.04942 1.6296 3.59897 2.75098 2.57031C3.86552 1.54796 5.40077 1.00005 7.12598 1Z" stroke-width="1.5" stroke-linejoin="round"/></svg>',
|
|
10
|
+
any_ai: '<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.88735 4.12364C8.03771 0.625957 12.9862 0.625724 14.1366 4.12364C14.5667 5.43135 15.5924 6.45705 16.9001 6.88716L16.9167 6.89268L16.9319 6.89821L17.0299 6.93273L17.0423 6.93688L17.0555 6.94171C20.3467 8.17272 20.3465 12.8508 17.0555 14.0818L17.0251 14.0929L16.9277 14.1267L16.9132 14.1315L16.9001 14.1364C15.5925 14.5665 14.5667 15.5921 14.1366 16.8999C12.9862 20.3975 8.03863 20.3981 6.88804 16.9006L6.88735 16.8999C6.45723 15.5922 5.43157 14.5665 4.12383 14.1364L4.12314 14.1357C0.625653 12.9851 0.626209 8.03752 4.12383 6.88716C5.43159 6.45704 6.45725 5.43121 6.88735 4.12364ZM12.3115 10.161L12.2687 10.1472L12.2279 10.1313L12.143 10.0975L12.1023 10.0816L12.0622 10.0622C11.4966 9.79891 11.06 9.31206 10.8628 8.71224L10.512 7.64467L10.1612 8.71224C9.93579 9.39762 9.39782 9.9356 8.71243 10.161L7.64556 10.5111L8.71243 10.8626L8.83949 10.9081C9.42249 11.139 9.88476 11.6012 10.1156 12.1842L10.1612 12.3113L10.512 13.3775L10.8628 12.3113C11.06 11.7116 11.4966 11.2247 12.0622 10.9613L12.1016 10.9427L12.143 10.9261L12.2279 10.8923L12.2687 10.8764L12.3115 10.8626L13.3784 10.5111L12.3115 10.161Z" stroke-width="3"/></svg>',
|
|
11
|
+
};
|