@arthurzakharov/ui-kit 1.4.3 → 1.4.5
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/animation.module-DQXuL9kR.js +6 -0
- package/dist/animations/animation-fade-grow/animation-fade-grow.component.js +31 -24
- package/dist/animations/animation-fade-scale/animation-fade-scale.component.js +32 -24
- package/dist/animations/animation-fade-slide/animation-fade-slide.component.js +30 -21
- package/dist/animations/animation-rotate/animation-rotate.component.js +4 -3
- package/dist/assets/animation-rpq5162S.css +1 -0
- package/dist/assets/flex-BpQNkmJA.css +1 -0
- package/dist/assets/text-Bhvd-u-V.css +1 -0
- package/dist/components/accordion-table/accordion-table.component.d.ts +0 -7
- package/dist/components/bottom-bar/bottom-bar.component.js +31 -31
- package/dist/components/data-protected-label/data-protected-label.component.d.ts +3 -7
- package/dist/components/data-protected-label/data-protected-label.component.js +15 -19
- package/dist/components/flex/flex.component.d.ts +11 -11
- package/dist/components/flex/flex.component.js +9 -9
- package/dist/components/main-attachment/main-attachment.component.js +17 -10
- package/dist/components/message-block/message-block.component.d.ts +0 -3
- package/dist/components/message-block/message-block.component.js +16 -27
- package/dist/components/payment/components/text-blocks/text-blocks.component.js +3 -3
- package/dist/components/sidebar/components/info/info.component.js +10 -10
- package/dist/components/sidebar/components/step/step.component.js +4 -4
- package/dist/components/sidebar/sidebar.component.js +13 -13
- package/dist/components/signature/signature.component.js +140 -140
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/index.js +4 -0
- package/dist/components/text/text.component.d.ts +13 -540
- package/dist/components/text/text.component.js +129 -14
- package/dist/main.d.ts +1 -1
- package/dist/utils/content/content.component.d.ts +3 -1
- package/dist/utils/types.d.ts +13 -5
- package/package.json +10 -9
- package/dist/assets/flex-BhK_u9P8.css +0 -1
- package/dist/assets/page-info-Bs3RDQxp.css +0 -1
- package/dist/assets/page-subtitle-BrFA-H2S.css +0 -1
- package/dist/assets/page-title-BjnleMqb.css +0 -1
- package/dist/assets/sidebar-title-BQlVGM_v.css +0 -1
- package/dist/assets/step-title-1uG3ODlr.css +0 -1
- package/dist/assets/tag-xh8EHVuM.css +0 -1
- package/dist/components/text/components/page-info/page-info.component.d.ts +0 -2
- package/dist/components/text/components/page-info/page-info.component.js +0 -11
- package/dist/components/text/components/page-subtitle/page-subtitle.component.d.ts +0 -2
- package/dist/components/text/components/page-subtitle/page-subtitle.component.js +0 -10
- package/dist/components/text/components/page-title/page-title.component.d.ts +0 -2
- package/dist/components/text/components/page-title/page-title.component.js +0 -10
- package/dist/components/text/components/sidebar-title/sidebar-title.component.d.ts +0 -2
- package/dist/components/text/components/sidebar-title/sidebar-title.component.js +0 -10
- package/dist/components/text/components/step-title/step-title.component.d.ts +0 -2
- package/dist/components/text/components/step-title/step-title.component.js +0 -10
- package/dist/components/text/components/tag/tag.component.d.ts +0 -543
- package/dist/components/text/components/tag/tag.component.js +0 -69
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { createElement as n } from "react";
|
|
2
|
-
import s from "clsx";
|
|
3
|
-
import '../../../../assets/tag-xh8EHVuM.css';const m = "_TagLined_1xtoo_1", h = "_TagAlignLeft_1xtoo_5", z = "_TagAlignCenter_1xtoo_9", L = "_TagAlignRight_1xtoo_13", d = "_TagWeightLight_1xtoo_17", x = "_TagWeightRegular_1xtoo_21", y = "_TagWeightMedium_1xtoo_25", H = "_TagWeightBold_1xtoo_29", A = "_TagSizeRegular_1xtoo_33", C = "_TagSizeSmall_1xtoo_38", u = "_TagSizeExtraSmall_1xtoo_43", W = "_TagSizeHL1_1xtoo_48", R = "_TagSizeHL2_1xtoo_53", f = "_TagSizeHL3_1xtoo_58", p = "_TagSizeHL4_1xtoo_63", P = "_TagSizeHL5_1xtoo_68", E = "_TagColorPrimary_1xtoo_73", M = "_TagColorSecondary_1xtoo_77", B = "_TagColorAccentPrimary_1xtoo_81", N = "_TagColorAccentSecondary_1xtoo_85", a = {
|
|
4
|
-
TagLined: m,
|
|
5
|
-
TagAlignLeft: h,
|
|
6
|
-
TagAlignCenter: z,
|
|
7
|
-
TagAlignRight: L,
|
|
8
|
-
TagWeightLight: d,
|
|
9
|
-
TagWeightRegular: x,
|
|
10
|
-
TagWeightMedium: y,
|
|
11
|
-
TagWeightBold: H,
|
|
12
|
-
TagSizeRegular: A,
|
|
13
|
-
TagSizeSmall: C,
|
|
14
|
-
TagSizeExtraSmall: u,
|
|
15
|
-
TagSizeHL1: W,
|
|
16
|
-
TagSizeHL2: R,
|
|
17
|
-
TagSizeHL3: f,
|
|
18
|
-
TagSizeHL4: p,
|
|
19
|
-
TagSizeHL5: P,
|
|
20
|
-
TagColorPrimary: E,
|
|
21
|
-
TagColorSecondary: M,
|
|
22
|
-
TagColorAccentPrimary: B,
|
|
23
|
-
TagColorAccentSecondary: N
|
|
24
|
-
}, I = (c) => {
|
|
25
|
-
const {
|
|
26
|
-
tag: r = "p",
|
|
27
|
-
lined: _ = !1,
|
|
28
|
-
align: t = "left",
|
|
29
|
-
weight: e = "regular",
|
|
30
|
-
size: g = "regular",
|
|
31
|
-
color: o = "primary",
|
|
32
|
-
children: i,
|
|
33
|
-
className: S,
|
|
34
|
-
...l
|
|
35
|
-
} = c, T = s(S, {
|
|
36
|
-
[a.TagLined]: _,
|
|
37
|
-
[a.TagAlignLeft]: t === "left",
|
|
38
|
-
[a.TagAlignCenter]: t === "center",
|
|
39
|
-
[a.TagAlignRight]: t === "right",
|
|
40
|
-
[a.TagWeightLight]: e === "light",
|
|
41
|
-
[a.TagWeightRegular]: e === "regular",
|
|
42
|
-
[a.TagWeightMedium]: e === "medium",
|
|
43
|
-
[a.TagWeightBold]: e === "bold",
|
|
44
|
-
[a.TagSizeRegular]: g === "regular",
|
|
45
|
-
[a.TagSizeSmall]: g === "small",
|
|
46
|
-
[a.TagSizeExtraSmall]: g === "extra-small",
|
|
47
|
-
[a.TagSizeHL1]: g === "hl1",
|
|
48
|
-
[a.TagSizeHL2]: g === "hl2",
|
|
49
|
-
[a.TagSizeHL3]: g === "hl3",
|
|
50
|
-
[a.TagSizeHL4]: g === "hl4",
|
|
51
|
-
[a.TagSizeHL5]: g === "hl5",
|
|
52
|
-
[a.TagColorPrimary]: o === "primary",
|
|
53
|
-
[a.TagColorSecondary]: o === "secondary",
|
|
54
|
-
[a.TagColorAccentPrimary]: o === "accent-primary",
|
|
55
|
-
[a.TagColorAccentSecondary]: o === "accent-secondary"
|
|
56
|
-
});
|
|
57
|
-
return typeof i == "string" ? n(r, {
|
|
58
|
-
className: T,
|
|
59
|
-
dangerouslySetInnerHTML: { __html: i },
|
|
60
|
-
...l
|
|
61
|
-
}) : n(r, {
|
|
62
|
-
className: T,
|
|
63
|
-
children: i,
|
|
64
|
-
...l
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
export {
|
|
68
|
-
I as Tag
|
|
69
|
-
};
|