stone-kit 0.0.17 → 0.0.19
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/components/Button/index.js +1 -4
- package/dist/components/Button/ui/Button.js +1 -96
- package/dist/components/Button/ui/Button.types.d.ts +1 -1
- package/dist/components/Button/ui/Button.types.js +1 -11
- package/dist/components/MobileButton/index.js +1 -4
- package/dist/components/MobileButton/ui/MobileButton.js +1 -65
- package/dist/components/MobileButton/ui/MobileButton.types.js +1 -6
- package/dist/components/NewIcon/index.js +1 -4
- package/dist/components/NewIcon/ui/NewIcon.js +1 -21
- package/dist/components/NewIcon/ui/NewIcon.types.js +1 -1
- package/dist/components/Tag/index.js +1 -4
- package/dist/components/Tag/ui/Tag.js +1 -34
- package/dist/components/Tag/ui/Tag.types.js +1 -7
- package/dist/index-gDmAUrkZ.cjs +5 -0
- package/dist/main.js +1 -8
- package/package.json +1 -1
- package/dist/index-DIxK0V-G.js +0 -44
|
@@ -1,96 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { c as k } from "../../../index-DIxK0V-G.js";
|
|
3
|
-
import { NewIcon as h } from "../../NewIcon/ui/NewIcon.js";
|
|
4
|
-
const w = "_btnCommon_15ot8_1", z = "_blue_15ot8_57", $ = "_sokolniki_15ot8_71", C = "_black_15ot8_85", S = "_gray_15ot8_99", y = "_whiteStroke_15ot8_113", g = "_whiteFilled_15ot8_125", x = "_loader_15ot8_147", F = "_LoaderSpin_15ot8_1", o = {
|
|
5
|
-
btnCommon: w,
|
|
6
|
-
"auto-width": "_auto-width_15ot8_17",
|
|
7
|
-
"full-width": "_full-width_15ot8_21",
|
|
8
|
-
"large-size": "_large-size_15ot8_25",
|
|
9
|
-
"medium-size": "_medium-size_15ot8_33",
|
|
10
|
-
"small-size": "_small-size_15ot8_41",
|
|
11
|
-
"tiny-size": "_tiny-size_15ot8_49",
|
|
12
|
-
blue: z,
|
|
13
|
-
sokolniki: $,
|
|
14
|
-
black: C,
|
|
15
|
-
gray: S,
|
|
16
|
-
whiteStroke: y,
|
|
17
|
-
whiteFilled: g,
|
|
18
|
-
loader: x,
|
|
19
|
-
LoaderSpin: F
|
|
20
|
-
}, b = k.bind(o), A = ({
|
|
21
|
-
size: i = "large",
|
|
22
|
-
pre: t = !1,
|
|
23
|
-
children: a = "",
|
|
24
|
-
post: e = !1,
|
|
25
|
-
variant: r = "blue",
|
|
26
|
-
width: c = "auto",
|
|
27
|
-
additionalClass: m,
|
|
28
|
-
isLoading: l = !1,
|
|
29
|
-
...s
|
|
30
|
-
}) => {
|
|
31
|
-
if (s.as === "link") {
|
|
32
|
-
const { as: I, ...u } = s;
|
|
33
|
-
return /* @__PURE__ */ _(
|
|
34
|
-
"a",
|
|
35
|
-
{
|
|
36
|
-
className: b(
|
|
37
|
-
o.btnCommon,
|
|
38
|
-
o[`${i}-size`],
|
|
39
|
-
o[`${r}`],
|
|
40
|
-
{ [o.btnCommonInline]: t || e },
|
|
41
|
-
o[`${c}-width`],
|
|
42
|
-
`${m ?? ""}`
|
|
43
|
-
),
|
|
44
|
-
...u,
|
|
45
|
-
children: [
|
|
46
|
-
l && /* @__PURE__ */ n(
|
|
47
|
-
h,
|
|
48
|
-
{
|
|
49
|
-
name: "loader",
|
|
50
|
-
color: "#fff"
|
|
51
|
-
}
|
|
52
|
-
),
|
|
53
|
-
!l && /* @__PURE__ */ _(d, { children: [
|
|
54
|
-
t && /* @__PURE__ */ n("span", { children: t }),
|
|
55
|
-
a,
|
|
56
|
-
e && /* @__PURE__ */ n("span", { children: e })
|
|
57
|
-
] })
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
const { as: N, ...f } = s;
|
|
63
|
-
return /* @__PURE__ */ _(
|
|
64
|
-
"button",
|
|
65
|
-
{
|
|
66
|
-
className: b(
|
|
67
|
-
o.btnCommon,
|
|
68
|
-
o[`${i}-size`],
|
|
69
|
-
o[`${r}`],
|
|
70
|
-
{ [o.btnCommonInline]: t || e },
|
|
71
|
-
o[`${c}-width`],
|
|
72
|
-
`${m ?? ""}`
|
|
73
|
-
),
|
|
74
|
-
...f,
|
|
75
|
-
children: [
|
|
76
|
-
l && /* @__PURE__ */ n(
|
|
77
|
-
h,
|
|
78
|
-
{
|
|
79
|
-
name: "loader",
|
|
80
|
-
size: "24",
|
|
81
|
-
color: "#fff",
|
|
82
|
-
addClass: o.loader
|
|
83
|
-
}
|
|
84
|
-
),
|
|
85
|
-
!l && /* @__PURE__ */ _(d, { children: [
|
|
86
|
-
t && /* @__PURE__ */ n("span", { children: t }),
|
|
87
|
-
a,
|
|
88
|
-
e && /* @__PURE__ */ n("span", { children: e })
|
|
89
|
-
] })
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
);
|
|
93
|
-
};
|
|
94
|
-
export {
|
|
95
|
-
A as Button
|
|
96
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("../../../index-gDmAUrkZ.cjs"),m=require("../../NewIcon/ui/NewIcon.js"),w="_btnCommon_15ot8_1",f="_blue_15ot8_57",k="_sokolniki_15ot8_71",x="_black_15ot8_85",j="_gray_15ot8_99",z="_whiteStroke_15ot8_113",S="_whiteFilled_15ot8_125",$="_loader_15ot8_147",g="_LoaderSpin_15ot8_1",o={btnCommon:w,"auto-width":"_auto-width_15ot8_17","full-width":"_full-width_15ot8_21","large-size":"_large-size_15ot8_25","medium-size":"_medium-size_15ot8_33","small-size":"_small-size_15ot8_41","tiny-size":"_tiny-size_15ot8_49",blue:f,sokolniki:k,black:x,gray:j,whiteStroke:z,whiteFilled:S,loader:$,LoaderSpin:g},d=h.classNames.bind(o),y=({size:i="large",pre:t=!1,children:_="",post:n=!1,variant:a="blue",width:c="auto",additionalClass:r,isLoading:s=!1,...l})=>{if(l.as==="link"){const{as:N,...b}=l;return e.jsxs("a",{className:d(o.btnCommon,o[`${i}-size`],o[`${a}`],{[o.btnCommonInline]:t||n},o[`${c}-width`],`${r??""}`),...b,children:[s&&e.jsx(m.NewIcon,{name:"loader",color:"#fff"}),!s&&e.jsxs(e.Fragment,{children:[t&&e.jsx("span",{children:t}),_,n&&e.jsx("span",{children:n})]})]})}const{as:C,...u}=l;return e.jsxs("button",{className:d(o.btnCommon,o[`${i}-size`],o[`${a}`],{[o.btnCommonInline]:t||n},o[`${c}-width`],`${r??""}`),...u,children:[s&&e.jsx(m.NewIcon,{name:"loader",size:"24",color:"#fff",addClass:o.loader}),!s&&e.jsxs(e.Fragment,{children:[t&&e.jsx("span",{children:t}),_,n&&e.jsx("span",{children:n})]})]})};exports.Button=y;
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
blue: "blue",
|
|
3
|
-
gray: "gray",
|
|
4
|
-
whiteStroke: "whiteStroke",
|
|
5
|
-
sokolniki: "sokolniki",
|
|
6
|
-
black: "black",
|
|
7
|
-
whiteFilled: "whiteFilled"
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
e as BUTTON_VARIANTS
|
|
11
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={blue:"blue",gray:"gray",whiteStroke:"whiteStroke",sokolniki:"sokolniki",black:"black",whiteFilled:"whiteFilled"};exports.BUTTON_VARIANTS=e;
|
|
@@ -1,65 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { c as f } from "../../../index-DIxK0V-G.js";
|
|
3
|
-
const b = "_btnCommon_uvpf8_1", w = "_whiteFilled_uvpf8_34", n = {
|
|
4
|
-
btnCommon: b,
|
|
5
|
-
"auto-width": "_auto-width_uvpf8_18",
|
|
6
|
-
"full-width": "_full-width_uvpf8_22",
|
|
7
|
-
"small-size": "_small-size_uvpf8_26",
|
|
8
|
-
whiteFilled: w
|
|
9
|
-
}, _ = f.bind(n), x = ({
|
|
10
|
-
size: e = "small",
|
|
11
|
-
pre: l = !1,
|
|
12
|
-
children: m = "",
|
|
13
|
-
post: t = !1,
|
|
14
|
-
variant: o = "whiteFilled",
|
|
15
|
-
width: a = "auto",
|
|
16
|
-
additionalClass: c,
|
|
17
|
-
...i
|
|
18
|
-
}) => {
|
|
19
|
-
if (i.as === "link") {
|
|
20
|
-
const { as: $, ...h } = i;
|
|
21
|
-
return /* @__PURE__ */ u(
|
|
22
|
-
"a",
|
|
23
|
-
{
|
|
24
|
-
className: _(
|
|
25
|
-
n.btnCommon,
|
|
26
|
-
n[`${e}-size`],
|
|
27
|
-
n[`${o}`],
|
|
28
|
-
{ [n.btnCommonInline]: l || t },
|
|
29
|
-
n[`${a}-width`],
|
|
30
|
-
`${c ?? ""}`
|
|
31
|
-
),
|
|
32
|
-
...h,
|
|
33
|
-
children: [
|
|
34
|
-
l && /* @__PURE__ */ s("span", { children: l }),
|
|
35
|
-
m,
|
|
36
|
-
t && /* @__PURE__ */ s("span", { children: t })
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
const { as: r, ...d } = i;
|
|
42
|
-
return /* @__PURE__ */ u(
|
|
43
|
-
"button",
|
|
44
|
-
{
|
|
45
|
-
className: _(
|
|
46
|
-
n.btnCommon,
|
|
47
|
-
n[`${e}-size`],
|
|
48
|
-
n[`${o}`],
|
|
49
|
-
{ [n.btnCommonInline]: l || t },
|
|
50
|
-
n[`${a}-width`],
|
|
51
|
-
`${c ?? ""}`
|
|
52
|
-
),
|
|
53
|
-
...d,
|
|
54
|
-
children: [
|
|
55
|
-
l && /* @__PURE__ */ s("span", { children: l }),
|
|
56
|
-
m,
|
|
57
|
-
t && /* @__PURE__ */ s("span", { children: t })
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
export {
|
|
63
|
-
x as MobileButton,
|
|
64
|
-
x as default
|
|
65
|
-
};
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),b=require("../../../index-gDmAUrkZ.cjs"),f="_btnCommon_uvpf8_1",r="_whiteFilled_uvpf8_34",n={btnCommon:f,"auto-width":"_auto-width_uvpf8_18","full-width":"_full-width_uvpf8_22","small-size":"_small-size_uvpf8_26",whiteFilled:r},c=b.classNames.bind(n),d=({size:i="small",pre:e=!1,children:o="",post:t=!1,variant:u="whiteFilled",width:a="auto",additionalClass:m,...l})=>{if(l.as==="link"){const{as:x,...h}=l;return s.jsxs("a",{className:c(n.btnCommon,n[`${i}-size`],n[`${u}`],{[n.btnCommonInline]:e||t},n[`${a}-width`],`${m??""}`),...h,children:[e&&s.jsx("span",{children:e}),o,t&&s.jsx("span",{children:t})]})}const{as:w,..._}=l;return s.jsxs("button",{className:c(n.btnCommon,n[`${i}-size`],n[`${u}`],{[n.btnCommonInline]:e||t},n[`${a}-width`],`${m??""}`),..._,children:[e&&s.jsx("span",{children:e}),o,t&&s.jsx("span",{children:t})]})};exports.MobileButton=d;exports.default=d;
|
|
@@ -1,21 +1 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import * as n from "react";
|
|
3
|
-
import { forwardRef as s } from "react";
|
|
4
|
-
const l = ({
|
|
5
|
-
title: o,
|
|
6
|
-
titleId: e,
|
|
7
|
-
...r
|
|
8
|
-
}, t) => /* @__PURE__ */ n.createElement("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ref: t, "aria-labelledby": e, ...r }, o ? /* @__PURE__ */ n.createElement("title", { id: e }, o) : null, /* @__PURE__ */ n.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" })), m = s(l), p = { loader: () => /* @__PURE__ */ a(m, {}) }, w = ({ name: o, size: e = "24", color: r, addClass: t }) => {
|
|
9
|
-
const c = p[o];
|
|
10
|
-
return /* @__PURE__ */ a(
|
|
11
|
-
"div",
|
|
12
|
-
{
|
|
13
|
-
style: { color: r, width: e + "px", height: e + "px" },
|
|
14
|
-
className: t ?? "",
|
|
15
|
-
children: /* @__PURE__ */ a(c, {})
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
};
|
|
19
|
-
export {
|
|
20
|
-
w as NewIcon
|
|
21
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),a=require("react");function s(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const l in r)if(l!=="default"){const o=Object.getOwnPropertyDescriptor(r,l);Object.defineProperty(t,l,o.get?o:{enumerable:!0,get:()=>r[l]})}}return t.default=r,Object.freeze(t)}const e=s(a),w=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,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"})),d=a.forwardRef(w),m=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,e.createElement("g",{clipPath:"url(#clip0_116_47)"},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"}),e.createElement("path",{d:"M3.00015 6H5.00015",stroke:"currentColor",strokeLinecap:"square"}),e.createElement("path",{d:"M10.5335 6L21 6",stroke:"currentColor",strokeLinecap:"square"}),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"}),e.createElement("path",{d:"M21.0001 12L19.0001 12",stroke:"currentColor",strokeLinecap:"square"}),e.createElement("path",{d:"M13.4665 12L3 12",stroke:"currentColor",strokeLinecap:"square"}),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"}),e.createElement("path",{d:"M3.00013 18H5.00013",stroke:"currentColor",strokeLinecap:"square"}),e.createElement("path",{d:"M10.5335 18.0001L21 18.0001",stroke:"currentColor",strokeLinecap:"square"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_116_47"},e.createElement("rect",{width:24,height:24,fill:"none"})))),i=a.forwardRef(m),u=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M12 5H19V12",stroke:"currentColor"}),e.createElement("path",{d:"M12 19L5 19L5 12",stroke:"currentColor"})),f=a.forwardRef(u),g=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M7.42857 5L7.42857 19M7.42857 19L10.8571 15.2941M7.42857 19L4 15.2941",stroke:"currentColor"}),e.createElement("path",{d:"M16.5714 19L16.5714 5M16.5714 5L13.1429 8.70588M16.5714 5L20 8.70588",stroke:"currentColor"})),h=a.forwardRef(g),v=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,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.forwardRef(v),E=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,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.forwardRef(E),x=({title:r,titleId:t,...l},o)=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,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"})),M=a.forwardRef(x),L=({title:r,titleId:t,...l},o)=>e.createElement("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,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"})),b=a.forwardRef(L),k=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M19 7L9.66667 17L5 12",stroke:"currentColor",strokeLinecap:"square",strokeLinejoin:"round"})),R=a.forwardRef(k),y=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M5.99997 6L18 18.0001",stroke:"currentColor"}),e.createElement("path",{d:"M18.0001 6L6.00003 18.0001",stroke:"currentColor"})),j=a.forwardRef(y),S=({title:r,titleId:t,...l},o)=>e.createElement("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,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.forwardRef(S),H=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M5 12H19",stroke:"currentColor"})),$=a.forwardRef(H),B=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,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.forwardRef(B),q=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,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.forwardRef(q),P=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M5 12H19",stroke:"currentColor"}),e.createElement("path",{d:"M12.0001 5L12.0001 19",stroke:"currentColor"})),_=a.forwardRef(P),O=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,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"}),e.createElement("path",{d:"M8 15.2001L12.5714 15.2001",stroke:"currentColor"})),N=a.forwardRef(O),T=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M12 13.6875V4.0625M12 4.0625L8.5 7.45438M12 4.0625L15.5 7.45438",stroke:"currentColor"}),e.createElement("path",{d:"M7.25 7.5625L5 7.5625V18.9375H19V7.5625H16.8125",stroke:"currentColor"})),A=a.forwardRef(T),D=({title:r,titleId:t,...l},o)=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,"aria-labelledby":t,...l},r?e.createElement("title",{id:t},r):null,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.forwardRef(D),z={loader:()=>n.jsx(d,{}),filter:()=>n.jsx(i,{}),fullscreen:()=>n.jsx(f,{}),twoArrows:()=>n.jsx(h,{}),heart:()=>n.jsx(p,{}),download:()=>n.jsx(C,{}),user:()=>n.jsx(M,{}),squareMeter:()=>n.jsx(b,{}),check:()=>n.jsx(R,{}),close:()=>n.jsx(j,{}),layers:()=>n.jsx(F,{}),minus:()=>n.jsx($,{}),moon:()=>n.jsx(V,{}),play:()=>n.jsx(Z,{}),plus:()=>n.jsx(_,{}),ruble:()=>n.jsx(N,{}),share:()=>n.jsx(A,{}),sun:()=>n.jsx(U,{})},G=({name:r,size:t="24",color:l,addClass:o})=>{const c=z[r];return n.jsx("div",{style:{color:l,width:t+"px",height:t+"px"},className:o??"",children:n.jsx(c,{})})};exports.NewIcon=G;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
@@ -1,34 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { c as n } from "../../../index-DIxK0V-G.js";
|
|
3
|
-
const r = "_tagCommon_k1b5t_1", d = "_red_k1b5t_40", c = "_gray_k1b5t_46", t = {
|
|
4
|
-
tagCommon: r,
|
|
5
|
-
"auto-width": "_auto-width_k1b5t_16",
|
|
6
|
-
"full-width": "_full-width_k1b5t_20",
|
|
7
|
-
"medium-size": "_medium-size_k1b5t_24",
|
|
8
|
-
"tiny-size": "_tiny-size_k1b5t_32",
|
|
9
|
-
red: d,
|
|
10
|
-
gray: c
|
|
11
|
-
}, g = n.bind(t), k = ({
|
|
12
|
-
size: o = "medium",
|
|
13
|
-
children: _ = "",
|
|
14
|
-
variant: m = "gray",
|
|
15
|
-
width: i = "auto",
|
|
16
|
-
additionalClass: s,
|
|
17
|
-
...a
|
|
18
|
-
}) => /* @__PURE__ */ e(
|
|
19
|
-
"div",
|
|
20
|
-
{
|
|
21
|
-
className: g(
|
|
22
|
-
t.tagCommon,
|
|
23
|
-
t[`${o}-size`],
|
|
24
|
-
t[`${m}`],
|
|
25
|
-
t[`${i}-width`],
|
|
26
|
-
`${s ?? ""}`
|
|
27
|
-
),
|
|
28
|
-
...a,
|
|
29
|
-
children: _
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
export {
|
|
33
|
-
k as Tag
|
|
34
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),m=require("../../../index-gDmAUrkZ.cjs"),r="_tagCommon_k1b5t_1",d="_red_k1b5t_40",u="_gray_k1b5t_46",t={tagCommon:r,"auto-width":"_auto-width_k1b5t_16","full-width":"_full-width_k1b5t_20","medium-size":"_medium-size_k1b5t_24","tiny-size":"_tiny-size_k1b5t_32",red:d,gray:u},c=m.classNames.bind(t),g=({size:e="medium",children:i="",variant:o="gray",width:s="auto",additionalClass:_,...n})=>a.jsx("div",{className:c(t.tagCommon,t[`${e}-size`],t[`${o}`],t[`${s}-width`],`${_??""}`),...n,children:i});exports.Tag=g;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var i={exports:{}};/*!
|
|
2
|
+
Copyright (c) 2018 Jed Watson.
|
|
3
|
+
Licensed under the MIT License (MIT), see
|
|
4
|
+
http://jedwatson.github.io/classnames
|
|
5
|
+
*/(function(e){(function(){var a={}.hasOwnProperty;function s(){for(var t="",r=0;r<arguments.length;r++){var n=arguments[r];n&&(t=o(t,f(n)))}return t}function f(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return s.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var n in t)a.call(t,n)&&t[n]&&(r=o(r,n));return r}function o(t,r){return r?t?t+" "+r:t+r:t}e.exports?(s.default=s,e.exports=s):window.classNames=s})()})(i);var c=i.exports;const p=u(c);exports.classNames=p;
|
package/dist/main.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { MobileButton as f } from "./components/MobileButton/ui/MobileButton.js";
|
|
3
|
-
import { NewIcon as n } from "./components/NewIcon/ui/NewIcon.js";
|
|
4
|
-
export {
|
|
5
|
-
r as Button,
|
|
6
|
-
f as MobileButton,
|
|
7
|
-
n as NewIcon
|
|
8
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./components/Button/ui/Button.js"),t=require("./components/MobileButton/ui/MobileButton.js"),e=require("./components/NewIcon/ui/NewIcon.js");exports.Button=o.Button;exports.MobileButton=t.MobileButton;exports.NewIcon=e.NewIcon;
|
package/package.json
CHANGED
package/dist/index-DIxK0V-G.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
function u(e) {
|
|
2
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3
|
-
}
|
|
4
|
-
var f = { exports: {} };
|
|
5
|
-
/*!
|
|
6
|
-
Copyright (c) 2018 Jed Watson.
|
|
7
|
-
Licensed under the MIT License (MIT), see
|
|
8
|
-
http://jedwatson.github.io/classnames
|
|
9
|
-
*/
|
|
10
|
-
(function(e) {
|
|
11
|
-
(function() {
|
|
12
|
-
var i = {}.hasOwnProperty;
|
|
13
|
-
function s() {
|
|
14
|
-
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
15
|
-
var n = arguments[r];
|
|
16
|
-
n && (t = o(t, a(n)));
|
|
17
|
-
}
|
|
18
|
-
return t;
|
|
19
|
-
}
|
|
20
|
-
function a(t) {
|
|
21
|
-
if (typeof t == "string" || typeof t == "number")
|
|
22
|
-
return t;
|
|
23
|
-
if (typeof t != "object")
|
|
24
|
-
return "";
|
|
25
|
-
if (Array.isArray(t))
|
|
26
|
-
return s.apply(null, t);
|
|
27
|
-
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
28
|
-
return t.toString();
|
|
29
|
-
var r = "";
|
|
30
|
-
for (var n in t)
|
|
31
|
-
i.call(t, n) && t[n] && (r = o(r, n));
|
|
32
|
-
return r;
|
|
33
|
-
}
|
|
34
|
-
function o(t, r) {
|
|
35
|
-
return r ? t ? t + " " + r : t + r : t;
|
|
36
|
-
}
|
|
37
|
-
e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
|
|
38
|
-
})();
|
|
39
|
-
})(f);
|
|
40
|
-
var c = f.exports;
|
|
41
|
-
const p = /* @__PURE__ */ u(c);
|
|
42
|
-
export {
|
|
43
|
-
p as c
|
|
44
|
-
};
|