md-components-mdigial-azamat 0.0.10 → 0.0.11
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/README.md +4 -0
- package/dist/Banner/Banner.js +25 -15
- package/dist/BannerAndText/index.js +16 -11
- package/dist/CardIconList/CardIconList.js +27 -20
- package/dist/CardImageList/CardImageList.js +19 -13
- package/dist/Cards/CardImage/CardImage.js +9 -6
- package/dist/Cards/ColoredCard/index.js +7 -2
- package/dist/Cards/ContentCard/ContentCard.js +14 -11
- package/dist/Cards/FeaturesCard/index.js +1 -1
- package/dist/Cards/WarningCard/WarningCard.js +28 -22
- package/dist/ConfigProvider/index.js +7 -3
- package/dist/ContentCardList/ContentCardList.js +15 -12
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +14 -11
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +14 -11
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +19 -16
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +17 -14
- package/dist/Faq/Faq.js +18 -14
- package/dist/Faq/components/Collapse/Collapse.js +12 -8
- package/dist/HeroPossibilityBanner/index.js +24 -16
- package/dist/HtmlContent/HtmlContent.js +9 -5
- package/dist/InstructionList/InstructionList.js +18 -13
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +15 -12
- package/dist/MainBanner/MainBanner.js +27 -18
- package/dist/MultiCards/index.js +33 -25
- package/dist/Partners/Partners.js +8 -5
- package/dist/PartnersColors/PartnersColors.js +24 -18
- package/dist/PreviewList/PreviewList.js +23 -16
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +12 -9
- package/dist/Segments/Segments.js +17 -13
- package/dist/Stepper/Stepper.js +18 -13
- package/dist/SwiperList/SwiperList.js +10 -2
- package/dist/Video/VideoFull/VideoFull.js +5 -2
- package/dist/Video/VideoList/VideoList.js +11 -8
- package/dist/Video/VideoListMini/VideoListMini.js +9 -6
- package/dist/{index-cd468670.js → index-b52a1a9d.js} +12 -7
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/dist/main.d.ts +0 -39
package/README.md
CHANGED
|
@@ -51,3 +51,7 @@ If you are developing a production application, we recommend updating the config
|
|
|
51
51
|
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
|
|
52
52
|
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
|
53
53
|
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
npm version patch
|
|
57
|
+
npm run build
|
package/dist/Banner/Banner.js
CHANGED
|
@@ -4,13 +4,13 @@ import { B as w } from "../index-89dcf24f.js";
|
|
|
4
4
|
import { C as y } from "../ComponentContainer-41408843.js";
|
|
5
5
|
import { I as g } from "../index-fb8c9446.js";
|
|
6
6
|
import { c as a } from "../cn-eacd4725.js";
|
|
7
|
-
import { useState as
|
|
8
|
-
const
|
|
9
|
-
const [
|
|
7
|
+
import { useState as _, useEffect as z } from "react";
|
|
8
|
+
const j = (o = 768) => {
|
|
9
|
+
const [m, n] = _({
|
|
10
10
|
width: void 0,
|
|
11
11
|
height: void 0
|
|
12
12
|
});
|
|
13
|
-
return
|
|
13
|
+
return z(() => {
|
|
14
14
|
function l() {
|
|
15
15
|
n({
|
|
16
16
|
width: window.innerWidth,
|
|
@@ -18,19 +18,28 @@ const S = (m = 768) => {
|
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
return window.addEventListener("resize", l), l(), () => window.removeEventListener("resize", l);
|
|
21
|
-
}, []),
|
|
22
|
-
},
|
|
23
|
-
bg_image
|
|
24
|
-
image
|
|
21
|
+
}, []), m.width <= o;
|
|
22
|
+
}, S = [
|
|
23
|
+
"bg_image",
|
|
24
|
+
"image",
|
|
25
|
+
"title",
|
|
26
|
+
"text_color",
|
|
27
|
+
"description",
|
|
28
|
+
"buttons",
|
|
29
|
+
"variant",
|
|
30
|
+
"qr"
|
|
31
|
+
], k = ({
|
|
32
|
+
bg_image: o,
|
|
33
|
+
image: m,
|
|
25
34
|
title: n,
|
|
26
35
|
text_color: l = "inherit",
|
|
27
36
|
description: c,
|
|
28
|
-
buttons:
|
|
37
|
+
buttons: x,
|
|
29
38
|
variant: d,
|
|
30
39
|
qr: e
|
|
31
40
|
}) => {
|
|
32
41
|
var p, f, b;
|
|
33
|
-
const r =
|
|
42
|
+
const r = j(960), u = d === h.Buttons, v = d === h.Qr;
|
|
34
43
|
return /* @__PURE__ */ t(y, { children: /* @__PURE__ */ s(
|
|
35
44
|
"div",
|
|
36
45
|
{
|
|
@@ -38,7 +47,7 @@ const S = (m = 768) => {
|
|
|
38
47
|
"relative w-full h-fit flex max-tablet:flex-col justify-between gap-4 bg-cover bg-center rounded-[20px] overflow-hidden max-tablet:justify-start max-tablet:items-center"
|
|
39
48
|
),
|
|
40
49
|
style: {
|
|
41
|
-
backgroundImage: `url(${
|
|
50
|
+
backgroundImage: `url(${o})`
|
|
42
51
|
},
|
|
43
52
|
children: [
|
|
44
53
|
/* @__PURE__ */ s("div", { className: " flex flex-col gap-4 w-[40%] max-tablet:w-full justify-center p-12 max-tablet:p-8", children: [
|
|
@@ -62,7 +71,7 @@ const S = (m = 768) => {
|
|
|
62
71
|
children: c
|
|
63
72
|
}
|
|
64
73
|
),
|
|
65
|
-
u && /* @__PURE__ */ t("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children:
|
|
74
|
+
u && /* @__PURE__ */ t("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: x == null ? void 0 : x.map((i, N) => /* @__PURE__ */ t(
|
|
66
75
|
"a",
|
|
67
76
|
{
|
|
68
77
|
href: (i == null ? void 0 : i.link) || "#",
|
|
@@ -126,10 +135,10 @@ const S = (m = 768) => {
|
|
|
126
135
|
}
|
|
127
136
|
))
|
|
128
137
|
] }),
|
|
129
|
-
|
|
138
|
+
m && /* @__PURE__ */ t(
|
|
130
139
|
g,
|
|
131
140
|
{
|
|
132
|
-
src:
|
|
141
|
+
src: m,
|
|
133
142
|
alt: n,
|
|
134
143
|
width: r ? 312 : 588,
|
|
135
144
|
height: r ? 218 : 400,
|
|
@@ -141,6 +150,7 @@ const S = (m = 768) => {
|
|
|
141
150
|
}
|
|
142
151
|
) });
|
|
143
152
|
};
|
|
153
|
+
k.propsToEdit = S;
|
|
144
154
|
export {
|
|
145
|
-
|
|
155
|
+
k as Banner
|
|
146
156
|
};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { C as
|
|
1
|
+
import { jsx as o, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { C as s } from "../ComponentContainer-41408843.js";
|
|
3
3
|
import { I as p } from "../index-fb8c9446.js";
|
|
4
4
|
import { c as m } from "../cn-eacd4725.js";
|
|
5
|
-
const
|
|
5
|
+
const x = [
|
|
6
|
+
"banner_card",
|
|
7
|
+
"text_card",
|
|
8
|
+
"is_banner_first"
|
|
9
|
+
], f = ({
|
|
6
10
|
banner_card: l,
|
|
7
11
|
text_card: e,
|
|
8
|
-
is_banner_first:
|
|
9
|
-
}) => /* @__PURE__ */
|
|
10
|
-
(l == null ? void 0 : l.image) && /* @__PURE__ */
|
|
12
|
+
is_banner_first: i
|
|
13
|
+
}) => /* @__PURE__ */ o(s, { className: "p-0", children: /* @__PURE__ */ t("div", { className: "w-full h-full flex flex-col lg:flex-row items-stretch gap-[24px]", children: [
|
|
14
|
+
(l == null ? void 0 : l.image) && /* @__PURE__ */ o("div", { className: "w-auto rounded-[20px] h-full object-cover", children: /* @__PURE__ */ o(
|
|
11
15
|
p,
|
|
12
16
|
{
|
|
13
17
|
src: l == null ? void 0 : l.image,
|
|
@@ -15,22 +19,23 @@ const u = ({
|
|
|
15
19
|
className: "h-full"
|
|
16
20
|
}
|
|
17
21
|
) }),
|
|
18
|
-
e && /* @__PURE__ */
|
|
22
|
+
e && /* @__PURE__ */ t(
|
|
19
23
|
"div",
|
|
20
24
|
{
|
|
21
25
|
className: m(
|
|
22
26
|
"w-full flex flex-col bg-white justify-center gap-[11px] rounded-[20px] p-[32px]",
|
|
23
27
|
{
|
|
24
|
-
"order-[-1]": !
|
|
28
|
+
"order-[-1]": !i
|
|
25
29
|
}
|
|
26
30
|
),
|
|
27
31
|
children: [
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ o("p", { className: "font-inter text-[32px] leading-[40px] max-tablet:text-[24px] max-tablet:leading-[28px] font-bold", children: e.title }),
|
|
33
|
+
/* @__PURE__ */ o("p", { className: "text-graySoft text-[16px] leading-[24px]", children: e.description })
|
|
30
34
|
]
|
|
31
35
|
}
|
|
32
36
|
)
|
|
33
37
|
] }) });
|
|
38
|
+
f.propsToEdit = x;
|
|
34
39
|
export {
|
|
35
|
-
|
|
40
|
+
f as BannerAndText
|
|
36
41
|
};
|
|
@@ -1,39 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { F as n, S as
|
|
1
|
+
import { jsx as t, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import { F as n, S as l } from "../index-b52a1a9d.js";
|
|
3
3
|
import { C as p } from "../ComponentContainer-41408843.js";
|
|
4
4
|
import { c as s } from "../cn-eacd4725.js";
|
|
5
|
-
const
|
|
5
|
+
const d = [
|
|
6
|
+
"cards",
|
|
7
|
+
"title",
|
|
8
|
+
"size",
|
|
9
|
+
"is_cards_first",
|
|
10
|
+
"multiHasText"
|
|
11
|
+
], b = ({
|
|
6
12
|
cards: a,
|
|
7
13
|
title: o,
|
|
8
|
-
size:
|
|
9
|
-
is_cards_first:
|
|
14
|
+
size: i = l.SMALL,
|
|
15
|
+
is_cards_first: x,
|
|
10
16
|
multiHasText: r = !1
|
|
11
17
|
}) => {
|
|
12
18
|
let e;
|
|
13
|
-
switch (
|
|
14
|
-
case
|
|
19
|
+
switch (i) {
|
|
20
|
+
case l.SMALL:
|
|
15
21
|
e = "flex flex-row items-stretch max-tablet:flex-col";
|
|
16
22
|
break;
|
|
17
|
-
case
|
|
23
|
+
case l.MEDIUM:
|
|
18
24
|
e = "grid grid-cols-3 items-stretch max-tablet:grid-cols-1";
|
|
19
25
|
break;
|
|
20
|
-
case
|
|
26
|
+
case l.LARGE:
|
|
21
27
|
e = "grid grid-cols-2 items-stretch max-tablet:grid-cols-1";
|
|
22
28
|
break;
|
|
23
29
|
default:
|
|
24
30
|
e = "flex flex-row items-stretch max-tablet:flex-col";
|
|
25
31
|
break;
|
|
26
32
|
}
|
|
27
|
-
return /* @__PURE__ */
|
|
33
|
+
return /* @__PURE__ */ t(
|
|
28
34
|
p,
|
|
29
35
|
{
|
|
30
|
-
className: s("p-0", { "order-[-1]":
|
|
31
|
-
children: /* @__PURE__ */
|
|
36
|
+
className: s("p-0", { "order-[-1]": x }),
|
|
37
|
+
children: /* @__PURE__ */ f(
|
|
32
38
|
"div",
|
|
33
39
|
{
|
|
34
40
|
className: s("w-full h-full flex flex-col items-center gap-[24px]"),
|
|
35
41
|
children: [
|
|
36
|
-
o && /* @__PURE__ */
|
|
42
|
+
o && /* @__PURE__ */ t(
|
|
37
43
|
"p",
|
|
38
44
|
{
|
|
39
45
|
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
@@ -41,23 +47,23 @@ const u = ({
|
|
|
41
47
|
children: o
|
|
42
48
|
}
|
|
43
49
|
),
|
|
44
|
-
/* @__PURE__ */
|
|
50
|
+
/* @__PURE__ */ t(
|
|
45
51
|
"div",
|
|
46
52
|
{
|
|
47
53
|
className: `${e} gap-[24px] w-full ${r ? "grid grid-cols-2 max-tablet:flex h-full" : "flex flex-row max-tablet:flex-col"}`,
|
|
48
|
-
children: a == null ? void 0 : a.map((
|
|
54
|
+
children: a == null ? void 0 : a.map((m, c) => /* @__PURE__ */ t(
|
|
49
55
|
n,
|
|
50
56
|
{
|
|
51
|
-
data:
|
|
52
|
-
size:
|
|
57
|
+
data: m,
|
|
58
|
+
size: i,
|
|
53
59
|
className: s(
|
|
54
60
|
{ "h-full": r },
|
|
55
61
|
{
|
|
56
|
-
"col-span-2": r &&
|
|
62
|
+
"col-span-2": r && c === 0
|
|
57
63
|
}
|
|
58
64
|
)
|
|
59
65
|
},
|
|
60
|
-
|
|
66
|
+
c
|
|
61
67
|
))
|
|
62
68
|
}
|
|
63
69
|
)
|
|
@@ -67,6 +73,7 @@ const u = ({
|
|
|
67
73
|
}
|
|
68
74
|
);
|
|
69
75
|
};
|
|
76
|
+
b.propsToEdit = d;
|
|
70
77
|
export {
|
|
71
|
-
|
|
78
|
+
b as CardIconList
|
|
72
79
|
};
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import { CardImage as
|
|
3
|
-
import { B as
|
|
4
|
-
import { C as
|
|
1
|
+
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { CardImage as p } from "../Cards/CardImage/CardImage.js";
|
|
3
|
+
import { B as m } from "../index-89dcf24f.js";
|
|
4
|
+
import { C as c } from "../ComponentContainer-41408843.js";
|
|
5
5
|
import { c as i } from "../cn-eacd4725.js";
|
|
6
|
-
const
|
|
6
|
+
const x = [
|
|
7
|
+
"cards",
|
|
8
|
+
"title",
|
|
9
|
+
"grid",
|
|
10
|
+
"button"
|
|
11
|
+
], f = ({
|
|
7
12
|
cards: a,
|
|
8
13
|
title: n,
|
|
9
|
-
grid:
|
|
14
|
+
grid: t,
|
|
10
15
|
button: l
|
|
11
|
-
}) => /* @__PURE__ */ r(
|
|
16
|
+
}) => /* @__PURE__ */ r(c, { children: /* @__PURE__ */ s("div", { className: "w-full flex flex-col items-center gap-6", children: [
|
|
12
17
|
n && /* @__PURE__ */ r(
|
|
13
18
|
"p",
|
|
14
19
|
{
|
|
@@ -21,11 +26,11 @@ const v = ({
|
|
|
21
26
|
"div",
|
|
22
27
|
{
|
|
23
28
|
className: i(
|
|
24
|
-
`grid grid-cols-${
|
|
29
|
+
`grid grid-cols-${t} items-stretch gap-6`,
|
|
25
30
|
"max-tablet:grid-cols-1"
|
|
26
31
|
),
|
|
27
32
|
children: a == null ? void 0 : a.map((e) => /* @__PURE__ */ r(
|
|
28
|
-
|
|
33
|
+
p,
|
|
29
34
|
{
|
|
30
35
|
data: e
|
|
31
36
|
},
|
|
@@ -33,18 +38,19 @@ const v = ({
|
|
|
33
38
|
))
|
|
34
39
|
}
|
|
35
40
|
),
|
|
36
|
-
!!(l != null && l.length) && /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-4", children: l.map((e,
|
|
41
|
+
!!(l != null && l.length) && /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-4", children: l.map((e, o) => /* @__PURE__ */ r(
|
|
37
42
|
"a",
|
|
38
43
|
{
|
|
39
44
|
href: (e == null ? void 0 : e.link) || "#",
|
|
40
45
|
className: i("w-fit z-10 max-tablet:w-full"),
|
|
41
46
|
target: "_blank",
|
|
42
47
|
rel: "noopener noreferrer",
|
|
43
|
-
children: /* @__PURE__ */ r(
|
|
48
|
+
children: /* @__PURE__ */ r(m, { variant: e.variant, children: e.text })
|
|
44
49
|
},
|
|
45
|
-
|
|
50
|
+
o
|
|
46
51
|
)) })
|
|
47
52
|
] }) });
|
|
53
|
+
f.propsToEdit = x;
|
|
48
54
|
export {
|
|
49
|
-
|
|
55
|
+
f as CardImageList
|
|
50
56
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { I as
|
|
2
|
+
import { I as s } from "../../index-fb8c9446.js";
|
|
3
3
|
import { c as x } from "../../cn-eacd4725.js";
|
|
4
|
-
const
|
|
5
|
-
|
|
4
|
+
const t = [
|
|
5
|
+
"data"
|
|
6
|
+
], c = ({ data: e }) => {
|
|
7
|
+
const p = (e == null ? void 0 : e.variant) === "large" ? "h-[364px]" : "h-[264px]", r = (e == null ? void 0 : e.variant) === "small" ? "w-[364px]" : "w-[264px]";
|
|
6
8
|
return /* @__PURE__ */ i(
|
|
7
9
|
"div",
|
|
8
10
|
{
|
|
@@ -34,18 +36,19 @@ const n = ({ data: e }) => {
|
|
|
34
36
|
)
|
|
35
37
|
] }),
|
|
36
38
|
/* @__PURE__ */ l(
|
|
37
|
-
|
|
39
|
+
s,
|
|
38
40
|
{
|
|
39
41
|
src: e == null ? void 0 : e.image,
|
|
40
42
|
alt: e == null ? void 0 : e.title,
|
|
41
43
|
className: `w-full ${p} max-tablet:h-[200px] box-border`,
|
|
42
|
-
imageStyles: `${
|
|
44
|
+
imageStyles: `${r} h-full max-tablet:w-[200px] object-contain`
|
|
43
45
|
}
|
|
44
46
|
)
|
|
45
47
|
]
|
|
46
48
|
}
|
|
47
49
|
);
|
|
48
50
|
};
|
|
51
|
+
c.propsToEdit = t;
|
|
49
52
|
export {
|
|
50
|
-
|
|
53
|
+
c as CardImage
|
|
51
54
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { jsxs as t, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { I as p } from "../../index-fb8c9446.js";
|
|
3
3
|
import { c as x } from "../../cn-eacd4725.js";
|
|
4
|
-
const
|
|
4
|
+
const r = [
|
|
5
|
+
"data",
|
|
6
|
+
"cardStyle",
|
|
7
|
+
"largeCards"
|
|
8
|
+
], c = ({ data: e, cardStyle: o }) => /* @__PURE__ */ t(
|
|
5
9
|
"div",
|
|
6
10
|
{
|
|
7
11
|
className: x(
|
|
@@ -42,6 +46,7 @@ const m = ({ data: e, cardStyle: o }) => /* @__PURE__ */ t(
|
|
|
42
46
|
]
|
|
43
47
|
}
|
|
44
48
|
);
|
|
49
|
+
c.propsToEdit = r;
|
|
45
50
|
export {
|
|
46
|
-
|
|
51
|
+
c as ColoredCard
|
|
47
52
|
};
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { HtmlContent as s } from "../../HtmlContent/HtmlContent.js";
|
|
3
|
-
import { B as
|
|
4
|
-
import { I as
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import { B as p, a as i } from "../../index-89dcf24f.js";
|
|
4
|
+
import { I as x } from "../../index-fb8c9446.js";
|
|
5
|
+
const c = [
|
|
6
|
+
"data"
|
|
7
|
+
], t = ({ data: e }) => {
|
|
8
|
+
var o;
|
|
9
|
+
return /* @__PURE__ */ n("div", { className: "rounded-[20px] overflow-hidden", children: [
|
|
8
10
|
/* @__PURE__ */ r(
|
|
9
|
-
|
|
11
|
+
x,
|
|
10
12
|
{
|
|
11
13
|
src: e == null ? void 0 : e.image,
|
|
12
14
|
alt: e == null ? void 0 : e.title,
|
|
13
15
|
className: "w-full h-auto"
|
|
14
16
|
}
|
|
15
17
|
),
|
|
16
|
-
/* @__PURE__ */
|
|
18
|
+
/* @__PURE__ */ n("div", { className: "flex flex-col gap-[24px] bg-white p-[32px]", children: [
|
|
17
19
|
/* @__PURE__ */ r("p", { className: "text-[24px] leading-[32px] font-semibold", children: e == null ? void 0 : e.title }),
|
|
18
20
|
/* @__PURE__ */ r(
|
|
19
21
|
s,
|
|
@@ -22,17 +24,18 @@ const h = ({ data: e }) => {
|
|
|
22
24
|
className: "text-graySoft text-[15px] leading-[22px]"
|
|
23
25
|
}
|
|
24
26
|
),
|
|
25
|
-
/* @__PURE__ */ r("div", { className: "flex gap-12px items-center max-tablet:flex-col", children: (
|
|
27
|
+
/* @__PURE__ */ r("div", { className: "flex gap-12px items-center max-tablet:flex-col", children: (o = e == null ? void 0 : e.button) == null ? void 0 : o.map((l) => /* @__PURE__ */ r(
|
|
26
28
|
"a",
|
|
27
29
|
{
|
|
28
30
|
href: (l == null ? void 0 : l.link) || "#",
|
|
29
31
|
target: "_blank",
|
|
30
|
-
children: /* @__PURE__ */ r(
|
|
32
|
+
children: /* @__PURE__ */ r(p, { variant: i.Grey, children: l == null ? void 0 : l.text })
|
|
31
33
|
}
|
|
32
34
|
)) })
|
|
33
35
|
] })
|
|
34
36
|
] });
|
|
35
37
|
};
|
|
38
|
+
t.propsToEdit = c;
|
|
36
39
|
export {
|
|
37
|
-
|
|
40
|
+
t as ContentCard
|
|
38
41
|
};
|
|
@@ -1,34 +1,39 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { WarningCardVariant as o } from "./model.js";
|
|
3
|
-
import { I as
|
|
4
|
-
import { B as
|
|
5
|
-
import { C as
|
|
6
|
-
import { c as
|
|
7
|
-
const
|
|
3
|
+
import { I as s } from "../../Icon-70ea6cb8.js";
|
|
4
|
+
import { B as l, a as c } from "../../index-89dcf24f.js";
|
|
5
|
+
import { C as d } from "../../ComponentContainer-41408843.js";
|
|
6
|
+
import { c as m } from "../../cn-eacd4725.js";
|
|
7
|
+
const p = [
|
|
8
|
+
"title",
|
|
9
|
+
"description",
|
|
10
|
+
"button_text",
|
|
11
|
+
"variant"
|
|
12
|
+
], x = ({
|
|
8
13
|
title: n,
|
|
9
|
-
description:
|
|
10
|
-
button_text:
|
|
11
|
-
variant:
|
|
12
|
-
}) => /* @__PURE__ */ e(
|
|
14
|
+
description: i,
|
|
15
|
+
button_text: a,
|
|
16
|
+
variant: t
|
|
17
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(
|
|
13
18
|
"div",
|
|
14
19
|
{
|
|
15
20
|
className: "rounded-[24px] p-6",
|
|
16
|
-
style: { background: o[
|
|
17
|
-
children: /* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
21
|
+
style: { background: o[t].background },
|
|
22
|
+
children: /* @__PURE__ */ r("div", { className: "flex gap-4 items-center justify-between", children: [
|
|
23
|
+
/* @__PURE__ */ r("div", { className: "flex gap-4 items-center", children: [
|
|
19
24
|
/* @__PURE__ */ e(
|
|
20
|
-
|
|
25
|
+
s,
|
|
21
26
|
{
|
|
22
|
-
name: o[
|
|
27
|
+
name: o[t].icon,
|
|
23
28
|
size: 40
|
|
24
29
|
}
|
|
25
30
|
),
|
|
26
|
-
/* @__PURE__ */
|
|
31
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col gap-1", children: [
|
|
27
32
|
/* @__PURE__ */ e(
|
|
28
33
|
"p",
|
|
29
34
|
{
|
|
30
|
-
className:
|
|
31
|
-
style: { color: o[
|
|
35
|
+
className: m("text-[24px] leading-8 font-bold"),
|
|
36
|
+
style: { color: o[t].textColor },
|
|
32
37
|
children: n
|
|
33
38
|
}
|
|
34
39
|
),
|
|
@@ -36,16 +41,17 @@ const C = ({
|
|
|
36
41
|
"p",
|
|
37
42
|
{
|
|
38
43
|
className: "text-[16px] leading-6",
|
|
39
|
-
style: { color: o[
|
|
40
|
-
children:
|
|
44
|
+
style: { color: o[t].textColor },
|
|
45
|
+
children: i
|
|
41
46
|
}
|
|
42
47
|
)
|
|
43
48
|
] })
|
|
44
49
|
] }),
|
|
45
|
-
/* @__PURE__ */ e(
|
|
50
|
+
/* @__PURE__ */ e(l, { variant: c.Static, children: a })
|
|
46
51
|
] })
|
|
47
52
|
}
|
|
48
53
|
) });
|
|
54
|
+
x.propsToEdit = p;
|
|
49
55
|
export {
|
|
50
|
-
|
|
56
|
+
x as WarningCard
|
|
51
57
|
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import '../assets/index.css';
|
|
2
|
-
|
|
1
|
+
import '../assets/index.css';const r = [
|
|
2
|
+
"children"
|
|
3
|
+
];
|
|
4
|
+
function t({ children: o }) {
|
|
5
|
+
return o;
|
|
3
6
|
}
|
|
7
|
+
t.propsToEdit = r;
|
|
4
8
|
export {
|
|
5
|
-
|
|
9
|
+
t as ConfigProvider
|
|
6
10
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { ContentCard as
|
|
3
|
-
import { C as
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { ContentCard as r } from "../Cards/ContentCard/ContentCard.js";
|
|
3
|
+
import { C as i } from "../ComponentContainer-41408843.js";
|
|
4
|
+
const s = [
|
|
5
|
+
"data"
|
|
6
|
+
], x = ({ data: e }) => {
|
|
7
|
+
var n;
|
|
8
|
+
return /* @__PURE__ */ t(i, { children: /* @__PURE__ */ l("div", { className: "w-full flex flex-col items-center justify-center", children: [
|
|
9
|
+
(e == null ? void 0 : e.title) && /* @__PURE__ */ t(
|
|
8
10
|
"p",
|
|
9
11
|
{
|
|
10
12
|
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
@@ -12,15 +14,16 @@ const f = ({ data: e }) => {
|
|
|
12
14
|
children: e == null ? void 0 : e.title
|
|
13
15
|
}
|
|
14
16
|
),
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
|
|
17
|
+
/* @__PURE__ */ t("div", { className: "flex flex-row max-tablet:flex-col gap-[24px]", children: (n = e == null ? void 0 : e.cards) == null ? void 0 : n.map((o) => /* @__PURE__ */ t(
|
|
18
|
+
r,
|
|
17
19
|
{
|
|
18
|
-
data:
|
|
20
|
+
data: o
|
|
19
21
|
},
|
|
20
|
-
|
|
22
|
+
o.id
|
|
21
23
|
)) })
|
|
22
24
|
] }) });
|
|
23
25
|
};
|
|
26
|
+
x.propsToEdit = s;
|
|
24
27
|
export {
|
|
25
|
-
|
|
28
|
+
x as ContentCardList
|
|
26
29
|
};
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { I as i } from "../../../Icon-70ea6cb8.js";
|
|
3
|
-
import { p as
|
|
4
|
-
import { B as
|
|
3
|
+
import { p as r } from "../../../palette-52b06a82.js";
|
|
4
|
+
import { B as n } from "../../../index-89dcf24f.js";
|
|
5
5
|
import { C as s } from "../../../ComponentContainer-41408843.js";
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
const t = [
|
|
7
|
+
"data"
|
|
8
|
+
], m = ({ data: o }) => /* @__PURE__ */ e(s, { children: /* @__PURE__ */ l("div", { className: "p-[48px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-8", children: [
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ l("div", { children: [
|
|
10
|
+
/* @__PURE__ */ e("p", { className: "text-[32px] leading-10 font-bold mb-4", children: o == null ? void 0 : o.title }),
|
|
11
|
+
/* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: o == null ? void 0 : o.text }),
|
|
10
12
|
/* @__PURE__ */ e(
|
|
11
|
-
|
|
13
|
+
n,
|
|
12
14
|
{
|
|
13
15
|
iconRight: /* @__PURE__ */ e(
|
|
14
16
|
i,
|
|
15
17
|
{
|
|
16
18
|
name: "download",
|
|
17
19
|
size: 20,
|
|
18
|
-
color:
|
|
20
|
+
color: r.blackBG
|
|
19
21
|
}
|
|
20
22
|
),
|
|
21
23
|
className: "mt-8",
|
|
@@ -28,11 +30,12 @@ const a = ({ data: l }) => /* @__PURE__ */ e(s, { children: /* @__PURE__ */ o("d
|
|
|
28
30
|
{
|
|
29
31
|
className: "flex-shrink-0",
|
|
30
32
|
name: "file",
|
|
31
|
-
color:
|
|
33
|
+
color: r.greenLight,
|
|
32
34
|
size: 82
|
|
33
35
|
}
|
|
34
36
|
)
|
|
35
37
|
] }) });
|
|
38
|
+
m.propsToEdit = t;
|
|
36
39
|
export {
|
|
37
|
-
|
|
40
|
+
m as DownloadFileBanner
|
|
38
41
|
};
|