@arthurzakharov/ui-kit 1.1.9 → 1.1.10
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/accordion-table/accordion-table.component.js +6 -13
- package/dist/components/bottom-bar/bottom-bar.component.js +1 -1
- package/dist/components/control/components/button-card/button-card.component.js +1 -1
- package/dist/components/control/components/button-radio/button-radio.component.js +1 -1
- package/dist/components/control/components/card-image/card-image.component.js +1 -1
- package/dist/components/control/components/card-text/card-text.component.js +1 -1
- package/dist/components/control/components/checkbox/checkbox.component.js +1 -1
- package/dist/components/control/components/dropdown/dropdown.component.js +1 -1
- package/dist/components/control/components/input/input.component.d.ts +2 -1
- package/dist/components/control/components/input/input.component.js +967 -32
- package/dist/components/control/components/radio/radio.component.js +1 -1
- package/dist/components/control/components/text/text.component.d.ts +1 -0
- package/dist/components/control/components/text/text.component.js +1 -1
- package/dist/components/control/components/textarea/textarea.component.js +1 -1
- package/dist/components/control/control.component.d.ts +1 -1
- package/dist/components/control/control.component.js +1 -1
- package/dist/components/control/utils/functions/functions.util.d.ts +1 -0
- package/dist/components/control/utils/functions/functions.util.js +14 -3
- package/dist/components/dialog/dialog.component.js +60 -19108
- package/dist/components/dialog-article/dialog-article.component.js +1 -1
- package/dist/components/sidebar/components/step/step.component.js +1 -1
- package/dist/{control.component-C44to9fw.js → control.component-Bxx7oAOP.js} +210 -208
- package/dist/index-D3EuHLHH.js +19053 -0
- package/dist/main.js +1 -1
- package/package.json +4 -1
|
@@ -2,16 +2,16 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as B, useEffect as I, Fragment as v } from "react";
|
|
3
3
|
import { ChevronDown as f } from "lucide-react";
|
|
4
4
|
import b from "clsx";
|
|
5
|
-
import { C as H } from "../../control.component-
|
|
6
|
-
import '../../assets/accordion-table-D7zxeDlf.css';const S = "_AccordionTable_n93va_1", u = "_AccordionTableHeadCell_n93va_8", g = "_AccordionTableBodyCell_n93va_20", x = "_AccordionTableBodyHead_n93va_28", w = "_AccordionTableIcon_n93va_33", N = "_AccordionTableIconOpened_n93va_37",
|
|
5
|
+
import { C as H } from "../../control.component-Bxx7oAOP.js";
|
|
6
|
+
import '../../assets/accordion-table-D7zxeDlf.css';const S = "_AccordionTable_n93va_1", u = "_AccordionTableHeadCell_n93va_8", g = "_AccordionTableBodyCell_n93va_20", x = "_AccordionTableBodyHead_n93va_28", w = "_AccordionTableIcon_n93va_33", N = "_AccordionTableIconOpened_n93va_37", R = "_AccordionTableIconClosed_n93va_41", O = "_AccordionTableBodyRow_n93va_45", n = {
|
|
7
7
|
AccordionTable: S,
|
|
8
8
|
AccordionTableHeadCell: u,
|
|
9
9
|
AccordionTableBodyCell: g,
|
|
10
10
|
AccordionTableBodyHead: x,
|
|
11
11
|
AccordionTableIcon: w,
|
|
12
12
|
AccordionTableIconOpened: N,
|
|
13
|
-
AccordionTableIconClosed:
|
|
14
|
-
AccordionTableBodyRow:
|
|
13
|
+
AccordionTableIconClosed: R,
|
|
14
|
+
AccordionTableBodyRow: O
|
|
15
15
|
}, E = (A) => {
|
|
16
16
|
const {
|
|
17
17
|
table: { head: r = [], body: l = [] },
|
|
@@ -27,14 +27,7 @@ import '../../assets/accordion-table-D7zxeDlf.css';const S = "_AccordionTable_n9
|
|
|
27
27
|
const o = l.findIndex((c) => c.title === d);
|
|
28
28
|
o >= 0 && t && t(o);
|
|
29
29
|
}, [d, l, t]), /* @__PURE__ */ s("table", { id: "accordion-table", className: n.AccordionTable, children: [
|
|
30
|
-
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: r.map((o, c) => /* @__PURE__ */ e(
|
|
31
|
-
"th",
|
|
32
|
-
{
|
|
33
|
-
className: n.AccordionTableHeadCell,
|
|
34
|
-
dangerouslySetInnerHTML: { __html: o }
|
|
35
|
-
},
|
|
36
|
-
`th-${c}`
|
|
37
|
-
)) }) }),
|
|
30
|
+
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: r.map((o, c) => /* @__PURE__ */ e("th", { className: n.AccordionTableHeadCell, dangerouslySetInnerHTML: { __html: o } }, c)) }) }),
|
|
38
31
|
/* @__PURE__ */ e("tbody", { children: l.map((o, c) => /* @__PURE__ */ s(v, { children: [
|
|
39
32
|
/* @__PURE__ */ e("tr", { className: n.AccordionTableBodyRow, children: /* @__PURE__ */ e("td", { colSpan: r.length, className: b(n.AccordionTableBodyCell, n.AccordionTableBodyHead), children: /* @__PURE__ */ e(
|
|
40
33
|
H.ButtonText,
|
|
@@ -58,7 +51,7 @@ import '../../assets/accordion-table-D7zxeDlf.css';const S = "_AccordionTable_n9
|
|
|
58
51
|
}
|
|
59
52
|
) }) }),
|
|
60
53
|
C(o.title, d)
|
|
61
|
-
] },
|
|
54
|
+
] }, c)) })
|
|
62
55
|
] });
|
|
63
56
|
};
|
|
64
57
|
export {
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as p, useEffect as b, useMemo as x } from "react";
|
|
3
3
|
import f from "clsx";
|
|
4
4
|
import { useResizeObserver as y, useWindowSize as w } from "usehooks-ts";
|
|
5
|
-
import { C as z } from "../../control.component-
|
|
5
|
+
import { C as z } from "../../control.component-Bxx7oAOP.js";
|
|
6
6
|
import { Flex as n } from "../flex/flex.component.js";
|
|
7
7
|
import { Text as m } from "../text/text.component.js";
|
|
8
8
|
import '../../assets/bottom-bar-DDgm0BQh.css';const R = "_BottomBar_1ao8k_1", _ = "_BottomBarFixed_1ao8k_7", L = "_BottomBarStatic_1ao8k_16", g = {
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "usehooks-ts";
|
|
4
4
|
import "clsx";
|
|
5
|
-
import { B } from "../../../../control.component-
|
|
5
|
+
import { B } from "../../../../control.component-Bxx7oAOP.js";
|
|
6
6
|
import "../../../svg/svg.component.js";
|
|
7
7
|
export {
|
|
8
8
|
B as ButtonCard
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { b as a } from "../../../../control.component-
|
|
2
|
+
import { b as a } from "../../../../control.component-Bxx7oAOP.js";
|
|
3
3
|
import "../../hooks/useChoice/useChoice.hook.js";
|
|
4
4
|
import "../../utils/functions/functions.util.js";
|
|
5
5
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../../../control.component-
|
|
2
|
+
import { c as i } from "../../../../control.component-Bxx7oAOP.js";
|
|
3
3
|
import "../../hooks/useChoice/useChoice.hook.js";
|
|
4
4
|
import "../../utils/functions/functions.util.js";
|
|
5
5
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "usehooks-ts";
|
|
3
3
|
import "clsx";
|
|
4
|
-
import { d as e } from "../../../../control.component-
|
|
4
|
+
import { d as e } from "../../../../control.component-Bxx7oAOP.js";
|
|
5
5
|
import "../../../../utils/converter/converter.util.js";
|
|
6
6
|
export {
|
|
7
7
|
e as Checkbox
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "usehooks-ts";
|
|
4
4
|
import "lucide-react";
|
|
5
5
|
import "clsx";
|
|
6
|
-
import { D as e } from "../../../../control.component-
|
|
6
|
+
import { D as e } from "../../../../control.component-Bxx7oAOP.js";
|
|
7
7
|
import "../../utils/functions/functions.util.js";
|
|
8
8
|
import "../../../../utils/converter/converter.util.js";
|
|
9
9
|
export {
|
|
@@ -2,7 +2,8 @@ import { HTMLInputTypeAttribute } from 'react';
|
|
|
2
2
|
import { Interactive } from '../../control.types';
|
|
3
3
|
export interface InputProps extends Interactive<string> {
|
|
4
4
|
type?: HTMLInputTypeAttribute;
|
|
5
|
+
dateMask?: boolean;
|
|
5
6
|
onAutofill?: (id: string) => void;
|
|
6
7
|
onAutofillCancel?: (id: string) => void;
|
|
7
8
|
}
|
|
8
|
-
export declare const Input: ({ id, value, disabled, type, onAutofill, onAutofillCancel, onChange, onFocus, onBlur, }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const Input: ({ id, value, disabled, dateMask, type, onAutofill, onAutofillCancel, onChange, onFocus, onBlur, }: InputProps) => import("react/jsx-runtime").JSX.Element;
|