@arthurzakharov/ui-kit 1.2.9 → 1.3.0
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/assets/accordion-table-DWNXtJHt.css +1 -0
- package/dist/assets/info-panel-BAcoIlE-.css +1 -0
- package/dist/assets/information-D-nqKgE6.css +1 -0
- package/dist/components/accordion-table/accordion-table.component.d.ts +10 -8
- package/dist/components/accordion-table/accordion-table.component.js +67 -50
- package/dist/components/accordion-table/index.d.ts +1 -0
- package/dist/components/accordion-table/index.js +4 -0
- package/dist/components/animation/animation.component.d.ts +2 -0
- package/dist/components/animation/animation.component.js +8 -6
- package/dist/components/animation/fade-grow/fade-grow.component.d.ts +14 -0
- package/dist/components/animation/fade-grow/fade-grow.component.js +40 -0
- package/dist/components/animation/fade-scale/fade-scale.component.js +1 -1
- package/dist/components/animation/fade-slide/fade-slide.component.js +1 -1
- package/dist/components/bottom-bar/bottom-bar.component.js +1 -1
- package/dist/components/control/components/button-card/button-card.component.d.ts +1 -1
- package/dist/components/control/components/button-card/button-card.component.js +2 -2
- package/dist/components/control/components/button-radio/button-radio.component.js +1 -1
- package/dist/components/control/components/button-text/button-text.component.d.ts +1 -1
- package/dist/components/control/components/button-text/button-text.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/radio/radio.component.js +1 -1
- 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.js +1 -1
- package/dist/components/dialog-article/dialog-article.component.js +1 -1
- package/dist/components/flex/flex.component.d.ts +158 -158
- package/dist/components/info-panel/index.d.ts +1 -0
- package/dist/components/info-panel/index.js +4 -0
- package/dist/components/info-panel/info-panel.component.d.ts +3 -2
- package/dist/components/info-panel/info-panel.component.js +12 -13
- package/dist/components/information/index.d.ts +1 -0
- package/dist/components/information/index.js +4 -0
- package/dist/components/information/information.component.d.ts +5 -6
- package/dist/components/information/information.component.js +13 -38
- package/dist/components/sidebar/components/step/step.component.js +1 -1
- package/dist/components/signature/signature.component.js +1 -1
- package/dist/components/text/components/tag/tag.component.d.ts +316 -316
- package/dist/components/text/text.component.d.ts +316 -316
- package/dist/components/user-panel/user-panel.component.js +5 -5
- package/dist/{control.component-Cq46ev8T.js → control.component-B0Jbmunv.js} +1 -1
- package/dist/main.d.ts +4 -4
- package/dist/main.js +2 -2
- package/dist/utils/content/content.component.d.ts +8 -0
- package/dist/utils/svg/index.d.ts +1 -0
- package/dist/utils/svg/index.js +4 -0
- package/dist/utils/svg/svg.component.d.ts +10 -0
- package/dist/utils/svg/svg.component.js +12 -0
- package/package.json +1 -1
- package/dist/assets/accordion-table-dU2T0YSw.css +0 -1
- package/dist/assets/info-panel-Dv3LM7__.css +0 -1
- package/dist/assets/information-D17SaeRr.css +0 -1
- package/dist/components/svg/svg.component.d.ts +0 -6
- package/dist/components/svg/svg.component.js +0 -9
- /package/dist/assets/{fade-scale-B23oZuuD.css → fade-grow-B23oZuuD.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InfoPanel, type InfoPanelProps } from './info-panel.component';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { BaseProps } from '../../utils/types';
|
|
2
|
+
export interface InfoPanelProps extends BaseProps {
|
|
2
3
|
data: [string, string][];
|
|
3
4
|
}
|
|
4
|
-
export declare const InfoPanel: (
|
|
5
|
+
export declare const InfoPanel: ({ data, className }: InfoPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import '../../assets/info-panel-
|
|
1
|
+
import { jsx as s, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import o from "clsx";
|
|
3
|
+
import '../../assets/info-panel-BAcoIlE-.css';const c = "_InfoPanel_h5syx_1", _ = "_List_h5syx_30", d = "_Item_h5syx_40", m = "_Key_h5syx_47", f = "_Value_h5syx_51", e = {
|
|
4
4
|
InfoPanel: c,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
5
|
+
List: _,
|
|
6
|
+
Item: d,
|
|
7
|
+
Key: m,
|
|
8
|
+
Value: f
|
|
9
|
+
}, r = ({ data: n, className: t = "" }) => /* @__PURE__ */ s("div", { "data-testid": "info-panel", className: o(e.InfoPanel, t), children: /* @__PURE__ */ s("ul", { "data-testid": "info-panel-list", className: e.List, children: n.map(([a, l]) => /* @__PURE__ */ i("li", { className: e.Item, children: [
|
|
10
|
+
/* @__PURE__ */ s("span", { "data-testid": "info-panel-key", className: e.Key, children: a }),
|
|
11
|
+
/* @__PURE__ */ s("span", { "data-testid": "info-panel-value", className: e.Value, children: l })
|
|
12
|
+
] }, a)) }) });
|
|
14
13
|
export {
|
|
15
|
-
|
|
14
|
+
r as InfoPanel
|
|
16
15
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Information, type InformationProps } from './information.component';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export declare const Information: import('react').ForwardRefExoticComponent<InformationProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
2
|
+
import { BaseProps } from '../../utils/types';
|
|
3
|
+
export type InformationProps = PropsWithChildren<BaseProps>;
|
|
4
|
+
export declare const Information: import('react').ForwardRefExoticComponent<BaseProps & {
|
|
5
|
+
children?: import('react').ReactNode | undefined;
|
|
6
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,40 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { Info as
|
|
4
|
-
import
|
|
5
|
-
import '../../assets/information-
|
|
6
|
-
Information:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
InformationColorAccentSecondary: x,
|
|
14
|
-
InformationIcon: p,
|
|
15
|
-
InformationText: A
|
|
16
|
-
}, E = l((m, t) => {
|
|
17
|
-
const { children: i, size: n = "regular", color: r = "primary", className: c = "" } = m;
|
|
18
|
-
return /* @__PURE__ */ e(
|
|
19
|
-
"div",
|
|
20
|
-
{
|
|
21
|
-
ref: t,
|
|
22
|
-
className: I(o.Information, c, {
|
|
23
|
-
[o.InformationColorPrimary]: r === "primary",
|
|
24
|
-
[o.InformationSizeRegular]: n === "regular",
|
|
25
|
-
[o.InformationSizeSmall]: n === "small",
|
|
26
|
-
[o.InformationSizeExtraSmall]: n === "extra-small",
|
|
27
|
-
[o.InformationColorSecondary]: r === "secondary",
|
|
28
|
-
[o.InformationColorAccentPrimary]: r === "accent-primary",
|
|
29
|
-
[o.InformationColorAccentSecondary]: r === "accent-secondary"
|
|
30
|
-
}),
|
|
31
|
-
children: [
|
|
32
|
-
/* @__PURE__ */ a(f, { className: o.InformationIcon }),
|
|
33
|
-
/* @__PURE__ */ a("div", { className: o.InformationText, children: i })
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
});
|
|
1
|
+
import { jsxs as s, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
|
+
import { Info as c } from "lucide-react";
|
|
4
|
+
import i from "clsx";
|
|
5
|
+
import '../../assets/information-D-nqKgE6.css';const f = "_Information_1g632_1", e = "_Icon_1g632_16", I = "_Text_1g632_25", o = {
|
|
6
|
+
Information: f,
|
|
7
|
+
Icon: e,
|
|
8
|
+
Text: I
|
|
9
|
+
}, p = a(({ children: t, className: r = "" }, m) => /* @__PURE__ */ s("div", { "data-testid": "information", ref: m, className: i(o.Information, r), children: [
|
|
10
|
+
/* @__PURE__ */ n(c, { className: o.Icon }),
|
|
11
|
+
/* @__PURE__ */ n("div", { className: o.Text, children: t })
|
|
12
|
+
] }));
|
|
38
13
|
export {
|
|
39
|
-
|
|
14
|
+
p as Information
|
|
40
15
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { C as s } from "../../../../control.component-
|
|
2
|
+
import { C as s } from "../../../../control.component-B0Jbmunv.js";
|
|
3
3
|
import { Flex as a } from "../../../flex/flex.component.js";
|
|
4
4
|
import { Text as m } from "../../../text/text.component.js";
|
|
5
5
|
const d = (e) => {
|
|
@@ -5,7 +5,7 @@ import { useResizeObserver as Be } from "usehooks-ts";
|
|
|
5
5
|
import { RefreshCw as Ue, Loader as Ne, Check as Ye } from "lucide-react";
|
|
6
6
|
import He from "clsx";
|
|
7
7
|
import { Animation as ee } from "../animation/animation.component.js";
|
|
8
|
-
import { C as oe } from "../../control.component-
|
|
8
|
+
import { C as oe } from "../../control.component-B0Jbmunv.js";
|
|
9
9
|
import { Flex as ie } from "../flex/flex.component.js";
|
|
10
10
|
import { Text as Pe } from "../text/text.component.js";
|
|
11
11
|
import '../../assets/signature-CLmBTe_C.css';var le = { exports: {} }, ue = { exports: {} }, ce = { exports: {} }, I = {};
|