stone-kit 0.0.187 → 0.0.188
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/Modal-G1ISsPJt.js +19622 -0
- package/dist/components/Button/ui/Button.js +1 -1
- package/dist/components/CheckBox/CheckBox.d.ts +9 -0
- package/dist/components/CheckBox/CheckBox.js +38 -0
- package/dist/components/CheckBox/CheckBox.types.d.ts +17 -0
- package/dist/components/CheckBox/CheckBox.types.js +6 -0
- package/dist/components/DestinationTab/ui/DestinationTab.js +1 -1
- package/dist/components/Flex/ui/Flex.js +1 -1
- package/dist/components/FormModal/ui/ModalForm.d.ts +16 -0
- package/dist/components/FormModal/ui/ModalForm.js +2635 -0
- package/dist/components/FormModal/utils/reg.d.ts +4 -0
- package/dist/components/FormModal/utils/reg.js +6 -0
- package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
- package/dist/components/Input/ui/Input.js +56 -50
- package/dist/components/Logo/ui/Logo.js +1 -1
- package/dist/components/MetroLabel/ui/MetroLabel.js +1 -1
- package/dist/components/MetroTag/ui/MetroTag.js +1 -1
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/Modal/ui/Modal.js +4 -19619
- package/dist/components/NewIcon/ui/NewIcon.js +8 -7
- package/dist/components/RoundButton/ui/RoundButton.js +1 -1
- package/dist/components/Select/ui/Select.js +1 -1
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +1 -1
- package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
- package/dist/components/SortSelect/ui/SortSelect.js +7 -7
- package/dist/components/Switcher/ui/Switcher.js +1 -1
- package/dist/components/TabSelect/ui/TabSelect.js +1 -1
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +1 -1
- package/dist/components/Tag/ui/Tag.js +1 -1
- package/dist/components/Text/ui/Text.js +1 -1
- package/dist/components/mobileButton/ui/MobileButton.js +1 -1
- package/dist/{index-DIxK0V-G.js → index-rKuIKazb.js} +9 -8
- package/dist/main.js +10 -10
- package/dist/style.css +1 -1
- package/dist/{useSortSelect-Dy4WKDDY.js → useSortSelect-BXr8BYtw.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../../../index-
|
|
2
|
+
import { c } from "../../../index-rKuIKazb.js";
|
|
3
3
|
const m = "_root_1dq3m_1", o = {
|
|
4
4
|
root: m
|
|
5
5
|
}, n = c.bind(o), p = ({ children: s, addClassName: t }) => /* @__PURE__ */ r("div", { className: n(o.root, t), children: s });
|
|
@@ -1,57 +1,63 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as o, Fragment as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as W } from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
"auto-width": "_auto-
|
|
6
|
-
"full-width": "_full-
|
|
7
|
-
inputWrapper:
|
|
8
|
-
inputWrapperPost:
|
|
9
|
-
inputWrapperPre:
|
|
10
|
-
light:
|
|
3
|
+
import { c as k } from "../../../index-rKuIKazb.js";
|
|
4
|
+
const f = "_inputWrapper_1xym7_10", P = "_inputWrapperPost_1xym7_37", y = "_inputWrapperPre_1xym7_38", g = "_light_1xym7_54", w = "_dark_1xym7_87", $ = "_inputWrapperError_1xym7_123", B = "_checkBox_1xym7_137", r = {
|
|
5
|
+
"auto-width": "_auto-width_1xym7_1",
|
|
6
|
+
"full-width": "_full-width_1xym7_6",
|
|
7
|
+
inputWrapper: f,
|
|
8
|
+
inputWrapperPost: P,
|
|
9
|
+
inputWrapperPre: y,
|
|
10
|
+
light: g,
|
|
11
11
|
dark: w,
|
|
12
|
-
inputWrapperError:
|
|
13
|
-
|
|
12
|
+
inputWrapperError: $,
|
|
13
|
+
checkBox: B
|
|
14
|
+
}, c = k.bind(r), E = W(
|
|
14
15
|
({
|
|
15
|
-
size_s:
|
|
16
|
-
size_m:
|
|
17
|
-
size_l:
|
|
18
|
-
pre:
|
|
19
|
-
post:
|
|
20
|
-
variant:
|
|
21
|
-
width:
|
|
22
|
-
error:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
p && /* @__PURE__ */ i("span", { children: p }),
|
|
42
|
-
/* @__PURE__ */ i(
|
|
43
|
-
"input",
|
|
44
|
-
{
|
|
45
|
-
ref: m,
|
|
46
|
-
...l
|
|
47
|
-
}
|
|
16
|
+
size_s: s = "large",
|
|
17
|
+
size_m: _,
|
|
18
|
+
size_l: u,
|
|
19
|
+
pre: i = !1,
|
|
20
|
+
post: n = !1,
|
|
21
|
+
variant: m = "light",
|
|
22
|
+
width: l = "auto",
|
|
23
|
+
error: h,
|
|
24
|
+
type: p,
|
|
25
|
+
additionalClass: x = "",
|
|
26
|
+
...a
|
|
27
|
+
}, e) => /* @__PURE__ */ o(d, { children: [
|
|
28
|
+
p !== "checkbox" && /* @__PURE__ */ o(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
className: c(
|
|
32
|
+
r.inputWrapper,
|
|
33
|
+
r[`${s}-size`],
|
|
34
|
+
r[`${_}-size_m`],
|
|
35
|
+
r[`${u}-size_l`],
|
|
36
|
+
r[`${m}`],
|
|
37
|
+
{ [r.inputWrapperPre]: i },
|
|
38
|
+
{ [r.inputWrapperPost]: n },
|
|
39
|
+
r[`${l}-width`],
|
|
40
|
+
{ [r.inputWrapperError]: h },
|
|
41
|
+
x
|
|
48
42
|
),
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
43
|
+
children: [
|
|
44
|
+
i && /* @__PURE__ */ t("span", { children: i }),
|
|
45
|
+
/* @__PURE__ */ t(
|
|
46
|
+
"input",
|
|
47
|
+
{
|
|
48
|
+
ref: e,
|
|
49
|
+
type: p,
|
|
50
|
+
...a
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
n && /* @__PURE__ */ t("span", { children: n })
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
p === "checkbox" && /* @__PURE__ */ t("input", { className: c(r.checkBox), ref: e, type: p, ...a })
|
|
58
|
+
] })
|
|
53
59
|
);
|
|
54
|
-
|
|
60
|
+
E.displayName = "Input";
|
|
55
61
|
export {
|
|
56
|
-
|
|
62
|
+
E as Input
|
|
57
63
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { Text as s } from "../../Text/ui/Text.js";
|
|
3
|
-
import { c as i } from "../../../index-
|
|
3
|
+
import { c as i } from "../../../index-rKuIKazb.js";
|
|
4
4
|
const p = "_wrapper_nzllw_1", H = "_logo_nzllw_7", h = "_wrapperBetween_nzllw_12", n = "_uk_nzllw_17", r = "_uk_black_nzllw_24", V = "_uk_white_nzllw_27", C = {
|
|
5
5
|
wrapper: p,
|
|
6
6
|
logo: H,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as _ } from "../../../index-
|
|
2
|
+
import { c as _ } from "../../../index-rKuIKazb.js";
|
|
3
3
|
import { NewIcon as m } from "../../NewIcon/ui/NewIcon.js";
|
|
4
4
|
const f = "_root_1ml5t_1", d = "_metroColor_1ml5t_15", N = "_route_1ml5t_25", p = "_auto_1ml5t_35", x = "_full_1ml5t_39", t = {
|
|
5
5
|
root: f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as g } from "../../../index-
|
|
2
|
+
import { c as g } from "../../../index-rKuIKazb.js";
|
|
3
3
|
import { NewIcon as p } from "../../NewIcon/ui/NewIcon.js";
|
|
4
4
|
const f = "_root_t88nk_1", k = "_metroColor_t88nk_17", h = "_route_t88nk_27", m = "_auto_t88nk_37", w = "_full_t88nk_41", N = "_transparent_t88nk_45", x = "_long_t88nk_50", B = "_withBg_t88nk_54", n = {
|
|
5
5
|
root: f,
|