stone-kit 0.0.17 → 0.0.18
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.
|
@@ -1,21 +1,108 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
const
|
|
5
|
-
title:
|
|
6
|
-
titleId:
|
|
7
|
-
...
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import { forwardRef as a } from "react";
|
|
4
|
+
const s = ({
|
|
5
|
+
title: t,
|
|
6
|
+
titleId: r,
|
|
7
|
+
...l
|
|
8
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M11.9999 2V6.44444M19.071 4.92893L15.9283 8.07163M22 12.0002H17.5555M19.071 19.071L15.9283 15.9283M11.9999 17.5556V22M8.07154 15.9284L4.92883 19.0711M6.44446 12.0002H2", stroke: "currentColor", strokeLinecap: "round" })), w = a(s), m = ({
|
|
9
|
+
title: t,
|
|
10
|
+
titleId: r,
|
|
11
|
+
...l
|
|
12
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_116_47)" }, /* @__PURE__ */ e.createElement("rect", { x: 10.5078, y: 3.5, width: 5, height: 5, rx: 2.5, transform: "rotate(90 10.5078 3.5)", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M3.00015 6H5.00015", stroke: "currentColor", strokeLinecap: "square" }), /* @__PURE__ */ e.createElement("path", { d: "M10.5335 6L21 6", stroke: "currentColor", strokeLinecap: "square" }), /* @__PURE__ */ e.createElement("rect", { x: 13.4922, y: 14.5, width: 5, height: 5, rx: 2.5, transform: "rotate(-90 13.4922 14.5)", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M21.0001 12L19.0001 12", stroke: "currentColor", strokeLinecap: "square" }), /* @__PURE__ */ e.createElement("path", { d: "M13.4665 12L3 12", stroke: "currentColor", strokeLinecap: "square" }), /* @__PURE__ */ e.createElement("rect", { x: 10.5078, y: 15.5001, width: 5, height: 5, rx: 2.5, transform: "rotate(90 10.5078 15.5001)", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M3.00013 18H5.00013", stroke: "currentColor", strokeLinecap: "square" }), /* @__PURE__ */ e.createElement("path", { d: "M10.5335 18.0001L21 18.0001", stroke: "currentColor", strokeLinecap: "square" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_116_47" }, /* @__PURE__ */ e.createElement("rect", { width: 24, height: 24, fill: "none" })))), i = a(m), d = ({
|
|
13
|
+
title: t,
|
|
14
|
+
titleId: r,
|
|
15
|
+
...l
|
|
16
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M12 5H19V12", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M12 19L5 19L5 12", stroke: "currentColor" })), u = a(d), g = ({
|
|
17
|
+
title: t,
|
|
18
|
+
titleId: r,
|
|
19
|
+
...l
|
|
20
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M7.42857 5L7.42857 19M7.42857 19L10.8571 15.2941M7.42857 19L4 15.2941", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M16.5714 19L16.5714 5M16.5714 5L13.1429 8.70588M16.5714 5L20 8.70588", stroke: "currentColor" })), h = a(g), v = ({
|
|
21
|
+
title: t,
|
|
22
|
+
titleId: r,
|
|
23
|
+
...l
|
|
24
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.9938 5.91615C10.1944 3.81913 7.19377 3.25504 4.93923 5.17528C2.68468 7.09552 2.36727 10.3061 4.13778 12.5771C5.60984 14.4654 10.0648 18.4478 11.5249 19.7368C11.6882 19.881 11.7699 19.9531 11.8652 19.9815C11.9483 20.0062 12.0393 20.0062 12.1225 19.9815C12.2178 19.9531 12.2994 19.881 12.4628 19.7368C13.9229 18.4478 18.3778 14.4654 19.8499 12.5771C21.6204 10.3061 21.3417 7.07532 19.0484 5.17528C16.7551 3.27524 13.7933 3.81913 11.9938 5.91615Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), p = a(v), E = ({
|
|
25
|
+
title: t,
|
|
26
|
+
titleId: r,
|
|
27
|
+
...l
|
|
28
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M12 4V13M16 10L12.7071 13.2929C12.3166 13.6834 11.6834 13.6834 11.2929 13.2929L8 10M20 20H4", stroke: "currentColor", strokeLinecap: "round" })), C = a(E), M = ({
|
|
29
|
+
title: t,
|
|
30
|
+
titleId: r,
|
|
31
|
+
...l
|
|
32
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { fill: "currentColor", d: "M11.86 11.648c1.271 0 2.373-.456 3.273-1.356.9-.9 1.357-2.002 1.357-3.274 0-1.272-.457-2.374-1.357-3.274-.9-.9-2.002-1.356-3.274-1.356-1.272 0-2.374.456-3.274 1.356-.9.9-1.356 2.002-1.356 3.274 0 1.272.456 2.374 1.356 3.274.9.9 2.002 1.356 3.274 1.356ZM19.961 17.17a11.42 11.42 0 0 0-.156-1.215 9.577 9.577 0 0 0-.298-1.22 6.027 6.027 0 0 0-.503-1.14 4.296 4.296 0 0 0-.757-.987 3.339 3.339 0 0 0-1.087-.683 3.758 3.758 0 0 0-1.389-.251c-.196 0-.386.08-.752.319-.226.147-.49.317-.784.505-.252.16-.593.311-1.014.447a4.03 4.03 0 0 1-1.241.2c-.412 0-.83-.067-1.24-.2-.422-.136-.763-.286-1.015-.446-.291-.187-.555-.357-.784-.506-.366-.239-.556-.32-.753-.32-.5 0-.966.085-1.388.252a3.336 3.336 0 0 0-1.088.684c-.285.273-.54.605-.756.986-.21.367-.378.75-.502 1.14-.12.375-.221.786-.3 1.22A11.4 11.4 0 0 0 4 17.172c-.025.368-.038.75-.038 1.135 0 1.003.319 1.816.948 2.415.621.591 1.443.891 2.443.891h9.257c1 0 1.821-.3 2.443-.89.629-.6.948-1.412.948-2.416 0-.388-.013-.77-.039-1.136Z" })), f = a(M), L = ({
|
|
33
|
+
title: t,
|
|
34
|
+
titleId: r,
|
|
35
|
+
...l
|
|
36
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M7.11 17H6v-6.832h2.072l1.998 5.67h.296l1.999-5.67h2.072V17h-1.11v-5.602h-.296L11.033 17H9.404l-1.998-5.602H7.11V17ZM15.522 10.988v-.684l2.072-1.981c.158-.146.271-.278.34-.396a.826.826 0 0 0 .104-.424.72.72 0 0 0-.222-.533c-.148-.146-.345-.218-.592-.218-.267 0-.484.072-.651.218-.158.137-.237.337-.237.601h-.888c0-.446.167-.82.503-1.12.335-.3.76-.451 1.273-.451.513 0 .922.141 1.228.424.316.273.474.633.474 1.08 0 .282-.06.518-.178.71-.108.182-.296.4-.562.656l-1.332 1.298v.068H19v.752h-3.478Z", fill: "currentColor" })), k = a(L), x = ({
|
|
37
|
+
title: t,
|
|
38
|
+
titleId: r,
|
|
39
|
+
...l
|
|
40
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M19 7L9.66667 17L5 12", stroke: "currentColor", strokeLinecap: "square", strokeLinejoin: "round" })), b = a(x), y = ({
|
|
41
|
+
title: t,
|
|
42
|
+
titleId: r,
|
|
43
|
+
...l
|
|
44
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M5.99997 6L18 18.0001", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M18.0001 6L6.00003 18.0001", stroke: "currentColor" })), R = a(y), S = ({
|
|
45
|
+
title: t,
|
|
46
|
+
titleId: r,
|
|
47
|
+
...l
|
|
48
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "m16.25 10.366-4.06 2.043a.424.424 0 0 1-.38 0l-4.06-2.043m8.5 0 3.493-1.758a.427.427 0 0 0 0-.762l-7.552-3.8a.424.424 0 0 0-.382 0l-7.552 3.8a.427.427 0 0 0 0 .762l3.493 1.758m8.5 0 3.507 1.766a.41.41 0 0 1 0 .747l-3.507 1.766m-8.5-4.279-3.507 1.766a.41.41 0 0 0 0 .747l3.507 1.766m0 0L4.243 16.41a.41.41 0 0 0 0 .747l7.528 3.79a.516.516 0 0 0 .458 0l7.528-3.79a.41.41 0 0 0 0-.747l-3.507-1.765m-8.5 0 4.02 2.023a.515.515 0 0 0 .46 0l4.02-2.023", stroke: "currentColor" })), F = a(S), H = ({
|
|
49
|
+
title: t,
|
|
50
|
+
titleId: r,
|
|
51
|
+
...l
|
|
52
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M5 12H19", stroke: "currentColor" })), $ = a(H), B = ({
|
|
53
|
+
title: t,
|
|
54
|
+
titleId: r,
|
|
55
|
+
...l
|
|
56
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M20.0271 17.7683C19.4144 17.8984 18.7788 17.9669 18.1273 17.9669C13.1019 17.9669 9.02797 13.893 9.02797 8.86758C9.02797 6.63171 9.83439 4.58419 11.1722 3C7.05879 3.87373 3.97278 7.52682 3.97278 11.9007C3.97278 16.9261 8.04668 21 13.0721 21C15.8616 21 18.358 19.7447 20.0271 17.7683Z", stroke: "currentColor", strokeLinejoin: "round" })), V = a(B), q = ({
|
|
57
|
+
title: t,
|
|
58
|
+
titleId: r,
|
|
59
|
+
...l
|
|
60
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M5 12.5C5 9.13823 5 7.45734 5.71653 6.49727C6.35659 5.63964 7.34765 5.0959 8.43174 5.00756C9.64533 4.90868 11.119 5.78102 14.0664 7.52571C16.8259 9.15915 18.2056 9.97587 18.6811 11.0259C19.1063 11.9649 19.1063 13.0351 18.6811 13.9741C18.2056 15.0241 16.8259 15.8409 14.0664 17.4743C11.119 19.219 9.64533 20.0913 8.43174 19.9924C7.34765 19.9041 6.35659 19.3604 5.71653 18.5027C5 17.5427 5 15.8618 5 12.5Z", fill: "currentColor" })), Z = a(q), j = ({
|
|
61
|
+
title: t,
|
|
62
|
+
titleId: r,
|
|
63
|
+
...l
|
|
64
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M5 12H19", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M12.0001 5L12.0001 19", stroke: "currentColor" })), P = a(j), _ = ({
|
|
65
|
+
title: t,
|
|
66
|
+
titleId: r,
|
|
67
|
+
...l
|
|
68
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M9.52381 17.6V12.3111M9.52381 12.3111V6.40002H13.0444C14.6768 6.40002 16 7.72327 16 9.35558V9.35558C16 10.9879 14.6768 12.3111 13.0444 12.3111H9.52381ZM9.52381 12.3111H8", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M8 15.2001L12.5714 15.2001", stroke: "currentColor" })), A = a(_), N = ({
|
|
69
|
+
title: t,
|
|
70
|
+
titleId: r,
|
|
71
|
+
...l
|
|
72
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M12 13.6875V4.0625M12 4.0625L8.5 7.45438M12 4.0625L15.5 7.45438", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M7.25 7.5625L5 7.5625V18.9375H19V7.5625H16.8125", stroke: "currentColor" })), T = a(N), D = ({
|
|
73
|
+
title: t,
|
|
74
|
+
titleId: r,
|
|
75
|
+
...l
|
|
76
|
+
}, n) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: n, "aria-labelledby": r, ...l }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M12 2V4M19.0711 4.92893L17.6569 6.34315M22 12H20M19.0711 19.0711L17.6569 17.6569M12 20V22M6.34314 17.6569L4.92893 19.0711M4.00008 12.0001H2.00008M6.34311 6.34322L4.92889 4.92901M16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12Z", stroke: "currentColor", strokeLinecap: "round" })), U = a(D), G = {
|
|
77
|
+
loader: () => /* @__PURE__ */ o(w, {}),
|
|
78
|
+
filter: () => /* @__PURE__ */ o(i, {}),
|
|
79
|
+
fullscreen: () => /* @__PURE__ */ o(u, {}),
|
|
80
|
+
twoArrows: () => /* @__PURE__ */ o(h, {}),
|
|
81
|
+
heart: () => /* @__PURE__ */ o(p, {}),
|
|
82
|
+
download: () => /* @__PURE__ */ o(C, {}),
|
|
83
|
+
user: () => /* @__PURE__ */ o(f, {}),
|
|
84
|
+
squareMeter: () => /* @__PURE__ */ o(k, {}),
|
|
85
|
+
check: () => /* @__PURE__ */ o(b, {}),
|
|
86
|
+
close: () => /* @__PURE__ */ o(R, {}),
|
|
87
|
+
layers: () => /* @__PURE__ */ o(F, {}),
|
|
88
|
+
minus: () => /* @__PURE__ */ o($, {}),
|
|
89
|
+
moon: () => /* @__PURE__ */ o(V, {}),
|
|
90
|
+
play: () => /* @__PURE__ */ o(Z, {}),
|
|
91
|
+
plus: () => /* @__PURE__ */ o(P, {}),
|
|
92
|
+
ruble: () => /* @__PURE__ */ o(A, {}),
|
|
93
|
+
share: () => /* @__PURE__ */ o(T, {}),
|
|
94
|
+
sun: () => /* @__PURE__ */ o(U, {})
|
|
95
|
+
}, O = ({ name: t, size: r = "24", color: l, addClass: n }) => {
|
|
96
|
+
const c = G[t];
|
|
97
|
+
return /* @__PURE__ */ o(
|
|
11
98
|
"div",
|
|
12
99
|
{
|
|
13
|
-
style: { color:
|
|
14
|
-
className:
|
|
15
|
-
children: /* @__PURE__ */
|
|
100
|
+
style: { color: l, width: r + "px", height: r + "px" },
|
|
101
|
+
className: n ?? "",
|
|
102
|
+
children: /* @__PURE__ */ o(c, {})
|
|
16
103
|
}
|
|
17
104
|
);
|
|
18
105
|
};
|
|
19
106
|
export {
|
|
20
|
-
|
|
107
|
+
O as NewIcon
|
|
21
108
|
};
|