md-components-mdigial-azamat 0.0.66 → 0.0.67
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.
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { CardImage as
|
|
2
|
+
import { CardImage as c } from "../Cards/CardImage/CardImage.js";
|
|
3
3
|
import { CardImageVariant as m } from "../Cards/CardImage/types.js";
|
|
4
4
|
import { FieldTypes as t } from "../Types/FiledTypes.js";
|
|
5
|
-
import { B as
|
|
5
|
+
import { B as x } from "../index-875e92ce.js";
|
|
6
6
|
import { B as d } from "../const-53dff524.js";
|
|
7
7
|
import { C as f } from "../ComponentContainer-cdb2528c.js";
|
|
8
|
-
import { c as
|
|
8
|
+
import { c as s } from "../cn-6a4bf187.js";
|
|
9
9
|
const g = {
|
|
10
10
|
type: "cards",
|
|
11
11
|
dataType: "array",
|
|
@@ -31,29 +31,29 @@ const g = {
|
|
|
31
31
|
}
|
|
32
32
|
}, b = ["title", "description", g, "grid", d], N = ({
|
|
33
33
|
cards: r,
|
|
34
|
-
title:
|
|
35
|
-
description:
|
|
36
|
-
grid:
|
|
34
|
+
title: i,
|
|
35
|
+
description: l,
|
|
36
|
+
grid: p,
|
|
37
37
|
button: o
|
|
38
38
|
}) => /* @__PURE__ */ e(f, { children: /* @__PURE__ */ n("div", { className: "w-full flex flex-col items-center gap-6", children: [
|
|
39
|
-
|
|
39
|
+
i && /* @__PURE__ */ e(
|
|
40
40
|
"p",
|
|
41
41
|
{
|
|
42
42
|
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
43
43
|
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
44
|
-
children:
|
|
44
|
+
children: i
|
|
45
45
|
}
|
|
46
46
|
),
|
|
47
|
-
|
|
47
|
+
l && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] text-graySoft text-center", children: l }),
|
|
48
48
|
/* @__PURE__ */ e(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
52
|
-
`grid grid-cols-${
|
|
51
|
+
className: s(
|
|
52
|
+
`grid grid-cols-${p} items-stretch gap-6`,
|
|
53
53
|
"max-tablet:grid-cols-1"
|
|
54
54
|
),
|
|
55
55
|
children: r == null ? void 0 : r.map((a) => /* @__PURE__ */ e(
|
|
56
|
-
|
|
56
|
+
c,
|
|
57
57
|
{
|
|
58
58
|
data: a
|
|
59
59
|
},
|
|
@@ -62,9 +62,9 @@ const g = {
|
|
|
62
62
|
}
|
|
63
63
|
),
|
|
64
64
|
o && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-4", children: /* @__PURE__ */ e(
|
|
65
|
-
|
|
65
|
+
x,
|
|
66
66
|
{
|
|
67
|
-
className:
|
|
67
|
+
className: s("w-fit z-10 max-tablet:w-full"),
|
|
68
68
|
...o
|
|
69
69
|
}
|
|
70
70
|
) })
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import { ContentCard as m } from "../Cards/ContentCard/ContentCard.js";
|
|
3
3
|
import { FieldTypes as i } from "../Types/FiledTypes.js";
|
|
4
|
-
import { c as
|
|
5
|
-
import { C as
|
|
4
|
+
import { c as x } from "../const-53dff524.js";
|
|
5
|
+
import { C as a } from "../ComponentContainer-cdb2528c.js";
|
|
6
6
|
const f = {
|
|
7
7
|
type: "cards",
|
|
8
8
|
label: "Карточки",
|
|
@@ -11,9 +11,9 @@ const f = {
|
|
|
11
11
|
title: i.TITLE,
|
|
12
12
|
image: i.FILE,
|
|
13
13
|
html_description: i.HTML_CONTENT,
|
|
14
|
-
buttons:
|
|
14
|
+
buttons: x
|
|
15
15
|
}
|
|
16
|
-
},
|
|
16
|
+
}, r = ["title", "description", f], b = ({ title: n, cards: o, description: l }) => /* @__PURE__ */ e(a, { children: /* @__PURE__ */ p("div", { className: "w-full flex flex-col items-center justify-center", children: [
|
|
17
17
|
n && /* @__PURE__ */ e(
|
|
18
18
|
"p",
|
|
19
19
|
{
|
|
@@ -22,7 +22,8 @@ const f = {
|
|
|
22
22
|
children: n
|
|
23
23
|
}
|
|
24
24
|
),
|
|
25
|
-
/* @__PURE__ */ e("
|
|
25
|
+
l && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] text-graySoft text-center", children: l }),
|
|
26
|
+
/* @__PURE__ */ e("div", { className: "flex flex-row max-tablet:flex-col gap-[24px]", children: o == null ? void 0 : o.map((t, s) => /* @__PURE__ */ e(
|
|
26
27
|
m,
|
|
27
28
|
{
|
|
28
29
|
title: t == null ? void 0 : t.title,
|
|
@@ -30,11 +31,11 @@ const f = {
|
|
|
30
31
|
html_description: t == null ? void 0 : t.html_description,
|
|
31
32
|
buttons: t == null ? void 0 : t.buttons
|
|
32
33
|
},
|
|
33
|
-
|
|
34
|
+
s
|
|
34
35
|
)) })
|
|
35
36
|
] }) });
|
|
36
|
-
|
|
37
|
+
b.propsToEdit = r;
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
b as ContentCardList,
|
|
40
|
+
r as propsToEdit
|
|
40
41
|
};
|