chromia 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icons/ZoomSliderIcon.svelte +31 -15
- package/package.json +1 -1
|
@@ -21,21 +21,24 @@ const getGradientDirection = (direction) => {
|
|
|
21
21
|
};
|
|
22
22
|
</script>
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
{#if gradient.colors[1] !== ""}
|
|
25
|
+
<svg
|
|
26
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
27
|
+
style="width: {size}; height: {size};"
|
|
28
|
+
viewBox="0 0 20 21"
|
|
29
|
+
fill="none"
|
|
30
|
+
>
|
|
31
|
+
<g id="id_ZoomSlider">
|
|
32
|
+
<path
|
|
33
|
+
d="M15.8833 17.1737L15.5304 17.5279L15.8833 17.1737ZM17.1732 15.8779L16.8204 16.2321L17.1732 15.8779ZM14.9412 13.6545L15.2941 13.3003L14.9412 13.6545ZM13.6513 14.9503L14.0041 14.5961L13.6513 14.9503ZM14.4517 7.61363H13.9517C13.9517 11.1154 11.1139 13.9538 7.61366 13.9538V14.4538V14.9538C11.6665 14.9538 14.9517 11.6674 14.9517 7.61363H14.4517ZM7.61366 14.4538V13.9538C4.11342 13.9538 1.27563 11.1154 1.27563 7.61363H0.775635H0.275635C0.275635 11.6674 3.56083 14.9538 7.61366 14.9538V14.4538ZM0.775635 7.61363H1.27563C1.27563 4.11189 4.11342 1.27344 7.61366 1.27344V0.773438V0.273438C3.56083 0.273438 0.275635 3.5599 0.275635 7.61363H0.775635ZM7.61366 0.773438V1.27344C11.1139 1.27344 13.9517 4.11189 13.9517 7.61363H14.4517H14.9517C14.9517 3.5599 11.6665 0.273438 7.61366 0.273438V0.773438ZM7.57878 11.5921H8.07878V7.57873H7.57878H7.07878V11.5921H7.57878ZM7.57878 7.57873H8.07878V3.73984H7.57878H7.07878V7.57873H7.57878ZM3.74102 7.61363L3.74557 8.11361L7.58332 8.07871L7.57878 7.57873L7.57423 7.07875L3.73647 7.11365L3.74102 7.61363ZM7.57878 7.57873L7.57443 8.07872L11.5864 8.11361L11.5908 7.61363L11.5951 7.11365L7.58312 7.07875L7.57878 7.57873ZM14.9412 13.6545L14.5883 14.0088L16.8204 16.2321L17.1732 15.8779L17.5261 15.5236L15.2941 13.3003L14.9412 13.6545ZM15.8833 17.1737L16.2362 16.8194L14.0041 14.5961L13.6513 14.9503L13.2984 15.3045L15.5304 17.5279L15.8833 17.1737ZM17.1759 17.1709L16.8216 16.8182C16.6602 16.9803 16.3982 16.9808 16.2362 16.8194L15.8833 17.1737L15.5304 17.5279C16.0838 18.0791 16.9792 18.0773 17.5303 17.5237L17.1759 17.1709ZM17.1732 15.8779L16.8204 16.2321C16.9825 16.3936 16.983 16.656 16.8216 16.8182L17.1759 17.1709L17.5303 17.5237C18.0813 16.9702 18.0794 16.0748 17.5261 15.5236L17.1732 15.8779ZM13.6485 13.6572L14.0029 14.01C14.1642 13.8479 14.4263 13.8474 14.5883 14.0088L14.9412 13.6545L15.2941 13.3003C14.7407 12.749 13.8453 12.7509 13.2942 13.3045L13.6485 13.6572ZM13.6485 13.6572L13.2942 13.3045C12.7432 13.858 12.7451 14.7534 13.2984 15.3045L13.6513 14.9503L14.0041 14.5961C13.842 14.4346 13.8415 14.1721 14.0029 14.01L13.6485 13.6572Z"
|
|
34
|
+
fill="url(#grad-Zoom)"
|
|
35
|
+
stroke-width={weight}
|
|
36
|
+
/>
|
|
37
|
+
</g>
|
|
38
|
+
|
|
36
39
|
<defs>
|
|
37
40
|
<linearGradient
|
|
38
|
-
id="grad"
|
|
41
|
+
id="grad-Zoom"
|
|
39
42
|
x1={getGradientDirection(gradient.direction).x1}
|
|
40
43
|
y1={getGradientDirection(gradient.direction).y1}
|
|
41
44
|
x2={getGradientDirection(gradient.direction).x2}
|
|
@@ -51,5 +54,18 @@ const getGradientDirection = (direction) => {
|
|
|
51
54
|
/>
|
|
52
55
|
</linearGradient>
|
|
53
56
|
</defs>
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
</svg>
|
|
58
|
+
{:else}
|
|
59
|
+
<svg
|
|
60
|
+
style="width: {size}; height: {size};"
|
|
61
|
+
viewBox="0 0 18 18"
|
|
62
|
+
fill="none"
|
|
63
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
64
|
+
>
|
|
65
|
+
<path
|
|
66
|
+
d="M15.8833 17.1737L15.5304 17.5279L15.8833 17.1737ZM17.1732 15.8779L16.8204 16.2321L17.1732 15.8779ZM14.9412 13.6545L15.2941 13.3003L14.9412 13.6545ZM13.6513 14.9503L14.0041 14.5961L13.6513 14.9503ZM14.4517 7.61363H13.9517C13.9517 11.1154 11.1139 13.9538 7.61366 13.9538V14.4538V14.9538C11.6665 14.9538 14.9517 11.6674 14.9517 7.61363H14.4517ZM7.61366 14.4538V13.9538C4.11342 13.9538 1.27563 11.1154 1.27563 7.61363H0.775635H0.275635C0.275635 11.6674 3.56083 14.9538 7.61366 14.9538V14.4538ZM0.775635 7.61363H1.27563C1.27563 4.11189 4.11342 1.27344 7.61366 1.27344V0.773438V0.273438C3.56083 0.273438 0.275635 3.5599 0.275635 7.61363H0.775635ZM7.61366 0.773438V1.27344C11.1139 1.27344 13.9517 4.11189 13.9517 7.61363H14.4517H14.9517C14.9517 3.5599 11.6665 0.273438 7.61366 0.273438V0.773438ZM7.57878 11.5921H8.07878V7.57873H7.57878H7.07878V11.5921H7.57878ZM7.57878 7.57873H8.07878V3.73984H7.57878H7.07878V7.57873H7.57878ZM3.74102 7.61363L3.74557 8.11361L7.58332 8.07871L7.57878 7.57873L7.57423 7.07875L3.73647 7.11365L3.74102 7.61363ZM7.57878 7.57873L7.57443 8.07872L11.5864 8.11361L11.5908 7.61363L11.5951 7.11365L7.58312 7.07875L7.57878 7.57873ZM14.9412 13.6545L14.5883 14.0088L16.8204 16.2321L17.1732 15.8779L17.5261 15.5236L15.2941 13.3003L14.9412 13.6545ZM15.8833 17.1737L16.2362 16.8194L14.0041 14.5961L13.6513 14.9503L13.2984 15.3045L15.5304 17.5279L15.8833 17.1737ZM17.1759 17.1709L16.8216 16.8182C16.6602 16.9803 16.3982 16.9808 16.2362 16.8194L15.8833 17.1737L15.5304 17.5279C16.0838 18.0791 16.9792 18.0773 17.5303 17.5237L17.1759 17.1709ZM17.1732 15.8779L16.8204 16.2321C16.9825 16.3936 16.983 16.656 16.8216 16.8182L17.1759 17.1709L17.5303 17.5237C18.0813 16.9702 18.0794 16.0748 17.5261 15.5236L17.1732 15.8779ZM13.6485 13.6572L14.0029 14.01C14.1642 13.8479 14.4263 13.8474 14.5883 14.0088L14.9412 13.6545L15.2941 13.3003C14.7407 12.749 13.8453 12.7509 13.2942 13.3045L13.6485 13.6572ZM13.6485 13.6572L13.2942 13.3045C12.7432 13.858 12.7451 14.7534 13.2984 15.3045L13.6513 14.9503L14.0041 14.5961C13.842 14.4346 13.8415 14.1721 14.0029 14.01L13.6485 13.6572Z"
|
|
67
|
+
fill={color}
|
|
68
|
+
stroke-width={weight}
|
|
69
|
+
/>
|
|
70
|
+
</svg>
|
|
71
|
+
{/if}
|