@arthurzakharov/ui-kit 1.3.9 → 1.4.1
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/_commonjsHelpers-CqEciG1_.js +31 -0
- package/dist/animations/animation-fade-grow/animation-fade-grow.component.d.ts +2 -0
- package/dist/animations/animation-fade-grow/animation-fade-grow.component.js +34 -0
- package/dist/animations/animation-fade-grow/index.d.ts +1 -0
- package/dist/animations/animation-fade-grow/index.js +4 -0
- package/dist/animations/animation-fade-scale/animation-fade-scale.component.d.ts +2 -0
- package/dist/animations/animation-fade-scale/animation-fade-scale.component.js +33 -0
- package/dist/animations/animation-fade-scale/index.d.ts +1 -0
- package/dist/animations/animation-fade-scale/index.js +4 -0
- package/dist/animations/animation-fade-slide/animation-fade-slide.component.d.ts +6 -0
- package/dist/animations/animation-fade-slide/animation-fade-slide.component.js +33 -0
- package/dist/animations/animation-fade-slide/index.d.ts +1 -0
- package/dist/animations/animation-fade-slide/index.js +4 -0
- package/dist/animations/animation-rotate/animation-rotate.component.d.ts +8 -0
- package/dist/animations/animation-rotate/animation-rotate.component.js +38 -0
- package/dist/animations/animation-rotate/index.d.ts +1 -0
- package/dist/animations/animation-rotate/index.js +4 -0
- package/dist/animations/hook/index.d.ts +1 -0
- package/dist/animations/hook/index.js +4 -0
- package/dist/animations/hook/use-animation-lifecycle/index.d.ts +1 -0
- package/dist/animations/hook/use-animation-lifecycle/index.js +4 -0
- package/dist/animations/hook/use-animation-lifecycle/use-animation-lifecycle.hook.d.ts +12 -0
- package/dist/animations/hook/use-animation-lifecycle/use-animation-lifecycle.hook.js +31 -0
- package/dist/animations/utils/default-props.d.ts +5 -0
- package/dist/animations/utils/default-props.js +17 -0
- package/dist/animations/utils/index.d.ts +2 -0
- package/dist/animations/utils/index.js +4 -0
- package/dist/animations/utils/types.d.ts +15 -0
- package/dist/animations/utils/types.js +1 -0
- package/dist/assets/control-box-Dx-QKPgf.css +1 -0
- package/dist/assets/control-button-Tzg6F5Dp.css +1 -0
- package/dist/assets/control-button-card-Cb8_vJbQ.css +1 -0
- package/dist/assets/control-button-radio-BodzD0rU.css +1 -0
- package/dist/assets/control-button-text-BbE_5ebO.css +1 -0
- package/dist/assets/control-card-image-BYT3bzTE.css +1 -0
- package/dist/assets/control-card-text-Cvv3bL2p.css +1 -0
- package/dist/assets/control-checkbox-uLtXjmYN.css +1 -0
- package/dist/assets/control-choice-BAHN-VTm.css +1 -0
- package/dist/assets/control-dropdown-DaS5KsvG.css +1 -0
- package/dist/assets/control-error-message-CKgqmo1U.css +1 -0
- package/dist/assets/control-hidden-input-BhMdNmnP.css +1 -0
- package/dist/assets/control-input-nR0XQHHp.css +1 -0
- package/dist/assets/control-label-C8pjaWEU.css +1 -0
- package/dist/assets/control-radio-Bo1rvcg2.css +1 -0
- package/dist/assets/control-radio-label-CgZ-FNj0.css +1 -0
- package/dist/assets/control-radio-text-S7MEO4a2.css +1 -0
- package/dist/assets/control-status-DPNvkGlM.css +1 -0
- package/dist/assets/control-text-n-qi7e2Y.css +1 -0
- package/dist/assets/control-textarea-B6gWlJs3.css +1 -0
- package/dist/assets/data-protected-label-BN19_NZF.css +1 -0
- package/dist/assets/dialog-article-WnyHZI47.css +1 -0
- package/dist/assets/expenses-AU5q4idk.css +1 -0
- package/dist/assets/loader-DadlBlOF.css +1 -0
- package/dist/assets/main-DlyWXITA.css +1 -0
- package/dist/assets/message-block-DG1cePyB.css +1 -0
- package/dist/components/accordion-table/accordion-table.component.d.ts +9 -7
- package/dist/components/accordion-table/accordion-table.component.js +44 -41
- package/dist/components/bottom-bar/bottom-bar.component.js +2 -2
- package/dist/components/certifications/certifications.component.d.ts +6 -3
- package/dist/components/certifications/certifications.component.js +54 -46
- package/dist/components/data-protected-label/data-protected-label.component.d.ts +8 -3
- package/dist/components/data-protected-label/data-protected-label.component.js +31 -28
- package/dist/components/data-protected-label/index.d.ts +1 -0
- package/dist/components/data-protected-label/index.js +4 -0
- package/dist/components/dialog-article/dialog-article.component.d.ts +9 -3
- package/dist/components/dialog-article/dialog-article.component.js +51 -21
- package/dist/components/dialog-article/index.d.ts +1 -0
- package/dist/components/dialog-article/index.js +4 -0
- package/dist/components/expenses/expenses.component.d.ts +11 -7
- package/dist/components/expenses/expenses.component.js +26 -20
- package/dist/components/expenses/index.d.ts +1 -0
- package/dist/components/expenses/index.js +4 -0
- package/dist/components/flex/flex.component.d.ts +158 -158
- package/dist/components/footer/footer.component.d.ts +6 -3
- package/dist/components/footer/footer.component.js +39 -31
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/info-panel/info-panel.component.d.ts +6 -3
- package/dist/components/info-panel/info-panel.component.js +20 -12
- package/dist/components/information/index.d.ts +1 -1
- package/dist/components/information/information.component.d.ts +5 -4
- package/dist/components/information/information.component.js +21 -12
- package/dist/components/loader/index.d.ts +1 -1
- package/dist/components/loader/loader.component.d.ts +9 -5
- package/dist/components/loader/loader.component.js +42 -55
- package/dist/components/loader/loader.utils.d.ts +2 -0
- package/dist/components/loader/loader.utils.js +13 -0
- package/dist/components/main-attachment/main-attachment.component.js +2 -2
- package/dist/components/message/message.component.d.ts +6 -3
- package/dist/components/message/message.component.js +23 -22
- package/dist/components/message-block/index.d.ts +1 -0
- package/dist/components/message-block/index.js +4 -0
- package/dist/components/message-block/message-block.component.d.ts +7 -2
- package/dist/components/message-block/message-block.component.js +36 -18
- package/dist/components/not-found/not-found.component.d.ts +6 -3
- package/dist/components/not-found/not-found.component.js +35 -27
- package/dist/components/payment/components/glass/glass.component.js +1 -1
- package/dist/components/sidebar/components/step/step.component.d.ts +1 -1
- package/dist/components/sidebar/components/step/step.component.js +6 -6
- package/dist/components/sidebar/sidebar.component.d.ts +1 -1
- package/dist/components/sidebar/sidebar.component.js +9 -9
- package/dist/components/signature/index.d.ts +1 -1
- package/dist/components/signature/signature.component.d.ts +2 -2
- package/dist/components/signature/signature.component.js +255 -263
- 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.d.ts +6 -3
- package/dist/components/user-panel/user-panel.component.js +35 -27
- package/dist/components/warranty/warranty.component.d.ts +6 -3
- package/dist/components/warranty/warranty.component.js +26 -19
- package/dist/controls/control-box/control-box.component.d.ts +15 -0
- package/dist/controls/control-box/control-box.component.js +33 -0
- package/dist/controls/control-box/index.d.ts +2 -0
- package/dist/controls/control-box/index.js +4 -0
- package/dist/controls/control-button/control-button.component.d.ts +18 -0
- package/dist/controls/control-button/control-button.component.js +84 -0
- package/dist/controls/control-button/index.d.ts +2 -0
- package/dist/controls/control-button/index.js +4 -0
- package/dist/{components/control/components/button-card/button-card.component.d.ts → controls/control-button-card/control-button-card.component.d.ts} +4 -3
- package/dist/controls/control-button-card/control-button-card.component.js +65 -0
- package/dist/controls/control-button-card/index.d.ts +2 -0
- package/dist/controls/control-button-card/index.js +4 -0
- package/dist/controls/control-button-radio/control-button-radio.component.d.ts +19 -0
- package/dist/controls/control-button-radio/control-button-radio.component.js +69 -0
- package/dist/controls/control-button-radio/index.d.ts +2 -0
- package/dist/controls/control-button-radio/index.js +4 -0
- package/dist/controls/control-button-text/control-button-text.component.d.ts +20 -0
- package/dist/controls/control-button-text/control-button-text.component.js +87 -0
- package/dist/controls/control-button-text/index.d.ts +2 -0
- package/dist/controls/control-button-text/index.js +4 -0
- package/dist/controls/control-card-image/control-card-image.component.d.ts +8 -0
- package/dist/controls/control-card-image/control-card-image.component.js +53 -0
- package/dist/controls/control-card-image/index.d.ts +2 -0
- package/dist/controls/control-card-image/index.js +4 -0
- package/dist/controls/control-card-text/control-card-text.component.d.ts +7 -0
- package/dist/controls/control-card-text/control-card-text.component.js +48 -0
- package/dist/controls/control-card-text/index.d.ts +2 -0
- package/dist/controls/control-card-text/index.js +4 -0
- package/dist/controls/control-checkbox/control-checkbox.component.d.ts +11 -0
- package/dist/controls/control-checkbox/control-checkbox.component.js +96 -0
- package/dist/controls/control-checkbox/index.d.ts +2 -0
- package/dist/controls/control-checkbox/index.js +4 -0
- package/dist/controls/control-choice/control-choice.component.d.ts +12 -0
- package/dist/controls/control-choice/control-choice.component.js +64 -0
- package/dist/controls/control-choice/index.d.ts +2 -0
- package/dist/controls/control-choice/index.js +4 -0
- package/dist/{components/control/components/dropdown/dropdown.component.d.ts → controls/control-dropdown/control-dropdown.component.d.ts} +4 -3
- package/dist/controls/control-dropdown/control-dropdown.component.js +106 -0
- package/dist/controls/control-dropdown/index.d.ts +2 -0
- package/dist/controls/control-dropdown/index.js +4 -0
- package/dist/controls/control-error-message/control-error-message.component.d.ts +7 -0
- package/dist/controls/control-error-message/control-error-message.component.js +16 -0
- package/dist/controls/control-error-message/index.d.ts +1 -0
- package/dist/controls/control-error-message/index.js +4 -0
- package/dist/controls/control-hidden-input/control-hidden-input.component.d.ts +15 -0
- package/dist/controls/control-hidden-input/control-hidden-input.component.js +41 -0
- package/dist/controls/control-hidden-input/index.d.ts +2 -0
- package/dist/controls/control-hidden-input/index.js +4 -0
- package/dist/controls/control-input/control-input.component.d.ts +11 -0
- package/dist/controls/control-input/control-input.component.js +973 -0
- package/dist/controls/control-input/index.d.ts +2 -0
- package/dist/controls/control-input/index.js +4 -0
- package/dist/controls/control-label/control-label.component.d.ts +13 -0
- package/dist/controls/control-label/control-label.component.js +30 -0
- package/dist/controls/control-label/index.d.ts +1 -0
- package/dist/controls/control-label/index.js +4 -0
- package/dist/controls/control-radio/control-radio.component.d.ts +14 -0
- package/dist/controls/control-radio/control-radio.component.js +79 -0
- package/dist/controls/control-radio/index.d.ts +2 -0
- package/dist/controls/control-radio/index.js +4 -0
- package/dist/controls/control-radio-label/control-radio-label.component.d.ts +22 -0
- package/dist/controls/control-radio-label/control-radio-label.component.js +39 -0
- package/dist/controls/control-radio-label/index.d.ts +1 -0
- package/dist/controls/control-radio-label/index.js +4 -0
- package/dist/controls/control-radio-text/control-radio-text.component.d.ts +10 -0
- package/dist/controls/control-radio-text/control-radio-text.component.js +45 -0
- package/dist/controls/control-radio-text/index.d.ts +2 -0
- package/dist/controls/control-radio-text/index.js +4 -0
- package/dist/controls/control-status/control-status.component.d.ts +11 -0
- package/dist/controls/control-status/control-status.component.js +42 -0
- package/dist/controls/control-status/index.d.ts +1 -0
- package/dist/controls/control-status/index.js +4 -0
- package/dist/controls/control-text/control-text.component.d.ts +11 -0
- package/dist/controls/control-text/control-text.component.js +70 -0
- package/dist/controls/control-text/index.d.ts +2 -0
- package/dist/controls/control-text/index.js +4 -0
- package/dist/controls/control-textarea/control-textarea.component.d.ts +15 -0
- package/dist/controls/control-textarea/control-textarea.component.js +63 -0
- package/dist/controls/control-textarea/index.d.ts +1 -0
- package/dist/controls/control-textarea/index.js +4 -0
- package/dist/controls/hooks/index.d.ts +1 -0
- package/dist/controls/hooks/index.js +4 -0
- package/dist/controls/hooks/use-choice/index.d.ts +1 -0
- package/dist/controls/hooks/use-choice/index.js +4 -0
- package/dist/{components/control/hooks/useChoice/useChoice.hook.d.ts → controls/hooks/use-choice/use-choice.hook.d.ts} +2 -2
- package/dist/controls/utils/functions/index.d.ts +1 -0
- package/dist/controls/utils/functions/index.js +7 -0
- package/dist/controls/utils/index.d.ts +2 -0
- package/dist/controls/utils/index.js +7 -0
- package/dist/{components/control/control.types.d.ts → controls/utils/types.d.ts} +11 -3
- package/dist/main.d.ts +33 -11
- package/dist/main.js +101 -59
- package/dist/utils/functions/functions.util.d.ts +12 -2
- package/dist/utils/functions/functions.util.js +7 -3
- package/dist/utils/functions/index.js +5 -4
- package/dist/utils/svg/svg.component.d.ts +2 -2
- package/dist/utils/types.d.ts +6 -1
- package/package.json +6 -1
- package/dist/animations/animation.component.d.ts +0 -10
- package/dist/animations/animation.component.js +0 -13
- package/dist/animations/fade-grow/fade-grow.component.d.ts +0 -14
- package/dist/animations/fade-grow/fade-grow.component.js +0 -40
- package/dist/animations/fade-scale/fade-scale.component.d.ts +0 -14
- package/dist/animations/fade-scale/fade-scale.component.js +0 -40
- package/dist/animations/fade-slide/fade-slide.component.d.ts +0 -15
- package/dist/animations/fade-slide/fade-slide.component.js +0 -41
- package/dist/animations/rotate/rotate.component.d.ts +0 -18
- package/dist/animations/rotate/rotate.component.js +0 -43
- package/dist/assets/box-b_yPaNPs.css +0 -1
- package/dist/assets/button-4MJZ7yPE.css +0 -1
- package/dist/assets/button-text-CNXFsTky.css +0 -1
- package/dist/assets/choice-pCBafXqx.css +0 -1
- package/dist/assets/control-Dk23qyF8.css +0 -1
- package/dist/assets/data-protected-label-zRn9upL6.css +0 -1
- package/dist/assets/dialog-article-lpJC_c40.css +0 -1
- package/dist/assets/expenses-8eaHjdlH.css +0 -1
- package/dist/assets/fade-grow-B23oZuuD.css +0 -1
- package/dist/assets/hidden-input-DHJQHUKd.css +0 -1
- package/dist/assets/input-Cckwgcro.css +0 -1
- package/dist/assets/label-bo2ALC-X.css +0 -1
- package/dist/assets/loader-C0f3AvRU.css +0 -1
- package/dist/assets/main-BK_1RcKG.css +0 -1
- package/dist/assets/message-block-BVk5u9rO.css +0 -1
- package/dist/assets/radio-label-Bd5UiESO.css +0 -1
- package/dist/assets/radio-text-BI17l0wD.css +0 -1
- package/dist/assets/status-6MH80dkz.css +0 -1
- package/dist/components/control/components/box/box.component.d.ts +0 -10
- package/dist/components/control/components/box/box.component.js +0 -32
- package/dist/components/control/components/button/button.component.d.ts +0 -16
- package/dist/components/control/components/button/button.component.js +0 -82
- package/dist/components/control/components/button-card/button-card.component.js +0 -9
- package/dist/components/control/components/button-radio/button-radio.component.d.ts +0 -17
- package/dist/components/control/components/button-radio/button-radio.component.js +0 -7
- package/dist/components/control/components/button-text/button-text.component.d.ts +0 -18
- package/dist/components/control/components/button-text/button-text.component.js +0 -86
- package/dist/components/control/components/card-image/card-image.component.d.ts +0 -7
- package/dist/components/control/components/card-image/card-image.component.js +0 -7
- package/dist/components/control/components/card-text/card-text.component.d.ts +0 -6
- package/dist/components/control/components/card-text/card-text.component.js +0 -7
- package/dist/components/control/components/checkbox/checkbox.component.d.ts +0 -9
- package/dist/components/control/components/checkbox/checkbox.component.js +0 -8
- package/dist/components/control/components/choice/choice.component.d.ts +0 -10
- package/dist/components/control/components/choice/choice.component.js +0 -52
- package/dist/components/control/components/dropdown/dropdown.component.js +0 -11
- package/dist/components/control/components/hidden-input/hidden-input.component.d.ts +0 -12
- package/dist/components/control/components/hidden-input/hidden-input.component.js +0 -25
- package/dist/components/control/components/input/input.component.d.ts +0 -10
- package/dist/components/control/components/input/input.component.js +0 -7
- package/dist/components/control/components/label/label.component.d.ts +0 -7
- package/dist/components/control/components/label/label.component.js +0 -28
- package/dist/components/control/components/radio/radio.component.d.ts +0 -9
- package/dist/components/control/components/radio/radio.component.js +0 -7
- package/dist/components/control/components/radio-label/radio-label.component.d.ts +0 -17
- package/dist/components/control/components/radio-label/radio-label.component.js +0 -37
- package/dist/components/control/components/radio-text/radio-text.component.d.ts +0 -9
- package/dist/components/control/components/radio-text/radio-text.component.js +0 -29
- package/dist/components/control/components/status/status.component.d.ts +0 -6
- package/dist/components/control/components/status/status.component.js +0 -37
- package/dist/components/control/components/text/text.component.d.ts +0 -9
- package/dist/components/control/components/text/text.component.js +0 -8
- package/dist/components/control/components/textarea/textarea.component.d.ts +0 -9
- package/dist/components/control/components/textarea/textarea.component.js +0 -6
- package/dist/components/control/control.component.d.ts +0 -41
- package/dist/components/control/control.component.js +0 -14
- package/dist/control.component-B9Ao9mfl.js +0 -557
- package/dist/input.component-C5xcmnfu.js +0 -999
- /package/dist/{components/control/hooks/useChoice/useChoice.hook.js → controls/hooks/use-choice/use-choice.hook.js} +0 -0
- /package/dist/{components/control → controls}/utils/functions/functions.util.d.ts +0 -0
- /package/dist/{components/control → controls}/utils/functions/functions.util.js +0 -0
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Base } from '../../utils/types';
|
|
2
2
|
type FooterLink = {
|
|
3
3
|
text: string;
|
|
4
4
|
onClick: () => void;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
interface FooterProps extends Base {
|
|
7
7
|
name: string;
|
|
8
8
|
links: FooterLink[];
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Displays a footer with copyright text and navigational links.
|
|
12
|
+
*/
|
|
13
|
+
export declare const Footer: ({ name, links, ...base }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
14
|
export {};
|
|
@@ -1,35 +1,43 @@
|
|
|
1
1
|
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import c from "clsx";
|
|
3
|
+
import { baseProps as s } from "../../utils/functions/functions.util.js";
|
|
4
|
+
import '../../assets/footer-Dt0rYt73.css';const l = "_Footer_1qjpp_1", d = "_Copyright_1qjpp_11", _ = "_Links_1qjpp_18", m = "_Link_1qjpp_18", u = "_Button_1qjpp_32", h = "_Separator_1qjpp_44", t = {
|
|
5
|
+
Footer: l,
|
|
6
|
+
Copyright: d,
|
|
6
7
|
Links: _,
|
|
7
|
-
Link:
|
|
8
|
-
Button:
|
|
9
|
-
Separator:
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
(
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
8
|
+
Link: m,
|
|
9
|
+
Button: u,
|
|
10
|
+
Separator: h
|
|
11
|
+
}, L = ({ name: n, links: i, ...a }) => /* @__PURE__ */ e(
|
|
12
|
+
"footer",
|
|
13
|
+
{
|
|
14
|
+
"data-testid": s(a, "data-testid", "footer"),
|
|
15
|
+
className: c(t.Footer, s(a, "className")),
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ e("span", { "data-testid": "footer-copyright", className: t.Copyright, children: [
|
|
18
|
+
"© ",
|
|
19
|
+
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
20
|
+
" ",
|
|
21
|
+
n
|
|
22
|
+
] }),
|
|
23
|
+
/* @__PURE__ */ r("ul", { className: t.Links, children: i.map((o) => /* @__PURE__ */ e("li", { "data-testid": "footer-link", className: t.Link, children: [
|
|
24
|
+
/* @__PURE__ */ r(
|
|
25
|
+
"button",
|
|
26
|
+
{
|
|
27
|
+
"data-testid": "footer-button",
|
|
28
|
+
type: "button",
|
|
29
|
+
className: t.Button,
|
|
30
|
+
onClick: (p) => {
|
|
31
|
+
p.currentTarget.blur(), o.onClick();
|
|
32
|
+
},
|
|
33
|
+
children: o.text
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
/* @__PURE__ */ r("div", { "data-testid": "footer-separator", className: t.Separator })
|
|
37
|
+
] }, o.text)) })
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
);
|
|
33
41
|
export {
|
|
34
|
-
|
|
42
|
+
L as Footer
|
|
35
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Footer
|
|
1
|
+
export { Footer } from './footer.component';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface InfoPanelProps extends
|
|
1
|
+
import { Base } from '../../utils/types';
|
|
2
|
+
export interface InfoPanelProps extends Base {
|
|
3
3
|
data: [string, string][];
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Displays a key-value list of informational rows.
|
|
7
|
+
*/
|
|
8
|
+
export declare const InfoPanel: ({ data, ...base }: InfoPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import c from "clsx";
|
|
3
|
+
import { baseProps as n } from "../../utils/functions/functions.util.js";
|
|
4
|
+
import '../../assets/info-panel-BAcoIlE-.css';const m = "_InfoPanel_h5syx_1", d = "_List_h5syx_30", _ = "_Item_h5syx_40", r = "_Key_h5syx_47", f = "_Value_h5syx_51", s = {
|
|
5
|
+
InfoPanel: m,
|
|
6
|
+
List: d,
|
|
7
|
+
Item: _,
|
|
8
|
+
Key: r,
|
|
8
9
|
Value: f
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
}, y = ({ data: l, ...e }) => /* @__PURE__ */ a(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
"data-testid": n(e, "data-testid", "info-panel"),
|
|
14
|
+
className: c(s.InfoPanel, n(e, "className")),
|
|
15
|
+
children: /* @__PURE__ */ a("ul", { "data-testid": "info-panel-list", className: s.List, children: l.map(([t, i]) => /* @__PURE__ */ o("li", { className: s.Item, children: [
|
|
16
|
+
/* @__PURE__ */ a("span", { "data-testid": "info-panel-key", className: s.Key, children: t }),
|
|
17
|
+
/* @__PURE__ */ a("span", { "data-testid": "info-panel-value", className: s.Value, children: i })
|
|
18
|
+
] }, t)) })
|
|
19
|
+
}
|
|
20
|
+
);
|
|
13
21
|
export {
|
|
14
|
-
|
|
22
|
+
y as InfoPanel
|
|
15
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Information
|
|
1
|
+
export { Information } from './information.component';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Base } from '../../utils/types';
|
|
2
|
+
/**
|
|
3
|
+
* Displays informational content with an icon and rich child elements.
|
|
4
|
+
*/
|
|
5
|
+
export declare const Information: import('react').ForwardRefExoticComponent<Base & {
|
|
5
6
|
children?: import('react').ReactNode | undefined;
|
|
6
7
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as a, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as i } from "react";
|
|
3
3
|
import { Info as c } from "lucide-react";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
import f from "clsx";
|
|
5
|
+
import { baseProps as r } from "../../utils/functions/functions.util.js";
|
|
6
|
+
import '../../assets/information-D-nqKgE6.css';const e = "_Information_1g632_1", I = "_Icon_1g632_16", _ = "_Text_1g632_25", o = {
|
|
7
|
+
Information: e,
|
|
8
|
+
Icon: I,
|
|
9
|
+
Text: _
|
|
10
|
+
}, T = i(({ children: m, ...t }, s) => /* @__PURE__ */ a(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
"data-testid": r(t, "data-testid", "information"),
|
|
14
|
+
ref: s,
|
|
15
|
+
className: f(o.Information, r(t, "className")),
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ n(c, { className: o.Icon }),
|
|
18
|
+
/* @__PURE__ */ n("div", { className: o.Text, children: m })
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
));
|
|
13
22
|
export {
|
|
14
|
-
|
|
23
|
+
T as Information
|
|
15
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Loader
|
|
1
|
+
export { Loader } from './loader.component';
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type LoaderColor = 'white' | 'primary' | 'secondary'
|
|
3
|
-
export interface LoaderProps extends
|
|
4
|
-
size: Size;
|
|
1
|
+
import { Base, FontColor, Size } from '../../utils/types';
|
|
2
|
+
type LoaderColor = 'white' | Extract<FontColor, 'text-primary' | 'text-secondary' | 'accent-primary' | 'accent-secondary'>;
|
|
3
|
+
export interface LoaderProps extends Base {
|
|
5
4
|
color: LoaderColor;
|
|
5
|
+
size: Size;
|
|
6
6
|
padding?: Size;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* `Loader` renders a spinning icon and supports multiple sizes and colors. Use `padding` when
|
|
10
|
+
* the loader needs extra breathing room inside a container.
|
|
11
|
+
*/
|
|
12
|
+
export declare const Loader: ({ color, size, padding, ...base }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
13
|
export {};
|
|
@@ -1,65 +1,52 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Loader as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsxs as n, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import _ from "clsx";
|
|
3
|
+
import { Loader as x } from "lucide-react";
|
|
4
|
+
import { baseProps as o } from "../../utils/functions/functions.util.js";
|
|
5
|
+
import { getLoaderSize as X } from "./loader.utils.js";
|
|
6
|
+
import '../../assets/loader-DadlBlOF.css';const m = "_Loader_px5cg_1", i = "_Padding_px5cg_5", L = "_XXS_px5cg_10", d = "_XS_px5cg_14", S = "_SM_px5cg_18", y = "_MD_px5cg_22", p = "_LG_px5cg_26", g = "_XL_px5cg_30", P = "_XXL_px5cg_34", A = "_XXXL_px5cg_38", M = "_Icon_px5cg_42", T = "_White_px5cg_47", l = "_TextPrimary_px5cg_51", h = "_TextSecondary_px5cg_55", f = "_AccentPrimary_px5cg_59", D = "_AccentSecondary_px5cg_63", c = {
|
|
7
|
+
Loader: m,
|
|
8
|
+
Padding: i,
|
|
7
9
|
XXS: L,
|
|
8
|
-
XS:
|
|
9
|
-
SM:
|
|
10
|
-
MD:
|
|
11
|
-
LG:
|
|
12
|
-
XL:
|
|
13
|
-
XXL:
|
|
14
|
-
XXXL:
|
|
10
|
+
XS: d,
|
|
11
|
+
SM: S,
|
|
12
|
+
MD: y,
|
|
13
|
+
LG: p,
|
|
14
|
+
XL: g,
|
|
15
|
+
XXL: P,
|
|
16
|
+
XXXL: A,
|
|
15
17
|
Icon: M,
|
|
16
|
-
White:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
White: T,
|
|
19
|
+
TextPrimary: l,
|
|
20
|
+
TextSecondary: h,
|
|
21
|
+
AccentPrimary: f,
|
|
22
|
+
AccentSecondary: D
|
|
23
|
+
}, z = ({ color: e, size: a, padding: t, ...r }) => /* @__PURE__ */ n(
|
|
20
24
|
"div",
|
|
21
25
|
{
|
|
22
|
-
"data-testid": "loader",
|
|
23
|
-
className:
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
26
|
+
"data-testid": o(r, "data-testid", "loader"),
|
|
27
|
+
className: _(c.Loader, o(r, "className"), {
|
|
28
|
+
[c.Padding]: !!t,
|
|
29
|
+
[c.XXS]: t === "xxs",
|
|
30
|
+
[c.XS]: t === "xs",
|
|
31
|
+
[c.SM]: t === "sm",
|
|
32
|
+
[c.MD]: t === "md",
|
|
33
|
+
[c.LG]: t === "lg",
|
|
34
|
+
[c.XL]: t === "xl",
|
|
35
|
+
[c.XXL]: t === "xxl",
|
|
36
|
+
[c.XXXL]: t === "xxxl"
|
|
33
37
|
}),
|
|
34
38
|
children: [
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
|
|
39
|
+
/* @__PURE__ */ s(
|
|
40
|
+
x,
|
|
37
41
|
{
|
|
38
42
|
"data-testid": "loader-icon",
|
|
39
|
-
size: (
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
return 32;
|
|
47
|
-
case "md":
|
|
48
|
-
return 40;
|
|
49
|
-
case "lg":
|
|
50
|
-
return 48;
|
|
51
|
-
case "xl":
|
|
52
|
-
return 56;
|
|
53
|
-
case "xxl":
|
|
54
|
-
return 64;
|
|
55
|
-
case "xxxl":
|
|
56
|
-
return 72;
|
|
57
|
-
}
|
|
58
|
-
})(),
|
|
59
|
-
className: s(o.Icon, {
|
|
60
|
-
[o.White]: r === "white",
|
|
61
|
-
[o.Primary]: r === "primary",
|
|
62
|
-
[o.Secondary]: r === "secondary"
|
|
43
|
+
size: X(a),
|
|
44
|
+
className: _(c.Icon, {
|
|
45
|
+
[c.White]: e === "white",
|
|
46
|
+
[c.TextPrimary]: e === "text-primary",
|
|
47
|
+
[c.TextSecondary]: e === "text-secondary",
|
|
48
|
+
[c.AccentPrimary]: e === "accent-primary",
|
|
49
|
+
[c.AccentSecondary]: e === "accent-secondary"
|
|
63
50
|
})
|
|
64
51
|
}
|
|
65
52
|
),
|
|
@@ -68,5 +55,5 @@ import '../../assets/loader-C0f3AvRU.css';const n = "_Loader_11mao_1", m = "_Pad
|
|
|
68
55
|
}
|
|
69
56
|
);
|
|
70
57
|
export {
|
|
71
|
-
|
|
58
|
+
z as Loader
|
|
72
59
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import h from "clsx";
|
|
3
|
-
import {
|
|
3
|
+
import { AnimationFadeScale as o } from "../../animations/animation-fade-scale/animation-fade-scale.component.js";
|
|
4
4
|
import { Text as a } from "../text/text.component.js";
|
|
5
5
|
import '../../assets/main-attachment-Cw8AP6xv.css';const r = "_MainAttachment_1oa7f_1", s = "_MainAttachmentTitle_1oa7f_5", A = "_MainAttachmentTitleWithSubtitle_1oa7f_9", M = "_MainAttachmentSubtitle_1oa7f_13", i = {
|
|
6
6
|
MainAttachment: r,
|
|
@@ -12,7 +12,7 @@ import '../../assets/main-attachment-Cw8AP6xv.css';const r = "_MainAttachment_1o
|
|
|
12
12
|
return /* @__PURE__ */ m("div", { className: i.MainAttachment, children: [
|
|
13
13
|
e ? /* @__PURE__ */ t("div", { className: h(i.MainAttachmentTitle, { [i.MainAttachmentTitleWithSubtitle]: !!n }), children: /* @__PURE__ */ t(a.PageTitle, { children: e }) }) : null,
|
|
14
14
|
n ? /* @__PURE__ */ t("div", { className: i.MainAttachmentSubtitle, children: /* @__PURE__ */ t(a.PageSubtitle, { children: n }) }) : null,
|
|
15
|
-
/* @__PURE__ */ t(o
|
|
15
|
+
/* @__PURE__ */ t(o, { name: "attachment-main", condition: !0, animateOnStart: !0, duration: 0.2, delay: 0.1, children: l })
|
|
16
16
|
] });
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Base } from '../../utils/types';
|
|
3
3
|
type MessageType = 'success' | 'question' | 'error' | 'info';
|
|
4
|
-
export interface MessageProps extends
|
|
4
|
+
export interface MessageProps extends Base {
|
|
5
5
|
type: MessageType;
|
|
6
6
|
title: ReactNode;
|
|
7
7
|
text: ReactNode;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Displays a message with an icon, title, and text content based on the message type (`success`, `question`, `error`, or `info`).
|
|
11
|
+
*/
|
|
12
|
+
export declare const Message: ({ type, title, text, ...base }: MessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
13
|
export {};
|
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Check as
|
|
1
|
+
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Check as l, CircleQuestionMark as _, X as d, CircleAlert as m } from "lucide-react";
|
|
3
3
|
import f from "clsx";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
import { baseProps as n } from "../../utils/functions/functions.util.js";
|
|
5
|
+
import { Content as a } from "../../utils/content/content.component.js";
|
|
6
|
+
import '../../assets/message-CgGyIv5e.css';const u = "_Message_fkc6l_1", k = "_Success_fkc6l_15", I = "_Icon_fkc6l_19", x = "_Question_fkc6l_23", C = "_Info_fkc6l_39", N = "_Content_fkc6l_52", g = "_Title_fkc6l_62", T = "_Text_fkc6l_66", s = {
|
|
7
|
+
Message: u,
|
|
8
|
+
Success: k,
|
|
9
|
+
Icon: I,
|
|
10
|
+
Question: x,
|
|
10
11
|
Error: "_Error_fkc6l_31",
|
|
11
|
-
Info:
|
|
12
|
-
Content:
|
|
12
|
+
Info: C,
|
|
13
|
+
Content: N,
|
|
13
14
|
Title: g,
|
|
14
|
-
Text:
|
|
15
|
-
},
|
|
15
|
+
Text: T
|
|
16
|
+
}, E = ({ type: e, title: i, text: r, ...c }) => /* @__PURE__ */ o(
|
|
16
17
|
"div",
|
|
17
18
|
{
|
|
18
|
-
"data-testid": "message",
|
|
19
|
-
className: f(s.Message,
|
|
19
|
+
"data-testid": n(c, "data-testid", "message"),
|
|
20
|
+
className: f(s.Message, n(c, "className"), {
|
|
20
21
|
[s.Success]: e === "success",
|
|
21
22
|
[s.Question]: e === "question",
|
|
22
23
|
[s.Error]: e === "error",
|
|
23
24
|
[s.Info]: e === "info"
|
|
24
25
|
}),
|
|
25
26
|
children: [
|
|
26
|
-
e === "success" && /* @__PURE__ */ t(
|
|
27
|
-
e === "question" && /* @__PURE__ */ t(
|
|
28
|
-
e === "error" && /* @__PURE__ */ t(
|
|
29
|
-
e === "info" && /* @__PURE__ */ t(
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */ t(
|
|
32
|
-
/* @__PURE__ */ t(
|
|
27
|
+
e === "success" && /* @__PURE__ */ t(l, { "data-testid": "success-icon", className: s.Icon }),
|
|
28
|
+
e === "question" && /* @__PURE__ */ t(_, { "data-testid": "question-icon", className: s.Icon }),
|
|
29
|
+
e === "error" && /* @__PURE__ */ t(d, { "data-testid": "error-icon", className: s.Icon }),
|
|
30
|
+
e === "info" && /* @__PURE__ */ t(m, { "data-testid": "info-icon", className: s.Icon }),
|
|
31
|
+
/* @__PURE__ */ o("div", { className: s.Content, children: [
|
|
32
|
+
/* @__PURE__ */ t(a, { "data-testid": "message-title", className: s.Title, children: i }),
|
|
33
|
+
/* @__PURE__ */ t(a, { "data-testid": "message-text", className: s.Text, children: r })
|
|
33
34
|
] })
|
|
34
35
|
]
|
|
35
36
|
}
|
|
36
37
|
);
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
+
E as Message
|
|
39
40
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MessageBlock } from './message-block.component';
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
|
|
2
|
+
import { Base } from '../../utils/types';
|
|
3
|
+
interface MessageBlockProps extends PropsWithChildren<Base> {
|
|
3
4
|
emoji?: string;
|
|
4
5
|
title?: string;
|
|
5
6
|
subtitle?: string;
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Displays a message block with optional `emoji`, `title`, `subtitle`, and rich content (`children`).
|
|
10
|
+
*/
|
|
11
|
+
export declare const MessageBlock: ({ children, emoji, title, subtitle, ...base }: MessageBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,20 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import m from "clsx";
|
|
3
|
+
import { baseProps as r } from "../../utils/functions/functions.util.js";
|
|
4
|
+
import { Text as o } from "../text/text.component.js";
|
|
5
|
+
import '../../assets/message-block-DG1cePyB.css';const d = "_MessageBlock_14g5p_1", n = "_Emoji_14g5p_7", p = "_Titles_14g5p_12", _ = "_Content_14g5p_18", s = {
|
|
6
|
+
MessageBlock: d,
|
|
7
|
+
Emoji: n,
|
|
8
|
+
Titles: p,
|
|
9
|
+
Content: _
|
|
10
|
+
}, b = ({ children: g, emoji: i = "", title: t = "", subtitle: a = "", ...c }) => /* @__PURE__ */ l(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
"data-testid": r(c, "data-testid", "message-block"),
|
|
14
|
+
className: m(s.MessageBlock, r(c, "className")),
|
|
15
|
+
children: [
|
|
16
|
+
i && /* @__PURE__ */ e("div", { "data-testid": "message-block-emoji", className: s.Emoji, children: i }),
|
|
17
|
+
(t || a) && /* @__PURE__ */ l("div", { "data-testid": "message-block-titles", className: s.Titles, children: [
|
|
18
|
+
t && /* @__PURE__ */ e(o.Tag, { "data-testid": "message-block-title", tag: "h2", weight: "medium", size: "hl2", color: "primary", children: t }),
|
|
19
|
+
a && /* @__PURE__ */ e(o.Tag, { "data-testid": "message-block-subtitle", tag: "h6", weight: "regular", size: "regular", color: "secondary", children: a })
|
|
20
|
+
] }),
|
|
21
|
+
/* @__PURE__ */ e(
|
|
22
|
+
o.Tag,
|
|
23
|
+
{
|
|
24
|
+
"data-testid": "message-block-content",
|
|
25
|
+
tag: "div",
|
|
26
|
+
weight: "regular",
|
|
27
|
+
size: "regular",
|
|
28
|
+
color: "primary",
|
|
29
|
+
className: s.Content,
|
|
30
|
+
children: g
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
);
|
|
18
36
|
export {
|
|
19
|
-
|
|
37
|
+
b as MessageBlock
|
|
20
38
|
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Base } from '../../utils/types';
|
|
2
2
|
type TableRow = {
|
|
3
3
|
key: string;
|
|
4
4
|
value: string;
|
|
5
5
|
};
|
|
6
|
-
export interface NotFoundProps extends
|
|
6
|
+
export interface NotFoundProps extends Base {
|
|
7
7
|
title: string;
|
|
8
8
|
subtitle: string;
|
|
9
9
|
tableTitle: string;
|
|
10
10
|
tableRows: TableRow[];
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Displays a 404 not found page with title, subtitle, and contact information table.
|
|
14
|
+
*/
|
|
15
|
+
export declare const NotFound: ({ title, subtitle, tableTitle, tableRows, ...base }: NotFoundProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
16
|
export {};
|