md-components-mdigial-azamat 0.0.67 → 0.0.68
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/PreviewList/PreviewList.js +30 -22
- package/package.json +1 -1
|
@@ -1,33 +1,41 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { B as
|
|
3
|
-
import { c as
|
|
4
|
-
import { C as
|
|
5
|
-
import { PreviewCardData as
|
|
6
|
-
const
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { B as o } from "../index-875e92ce.js";
|
|
3
|
+
import { c as t } from "../const-53dff524.js";
|
|
4
|
+
import { C as c } from "../ComponentContainer-cdb2528c.js";
|
|
5
|
+
import { PreviewCardData as d, PreviewCard as f } from "./components/PreviewCard/PreviewCard.js";
|
|
6
|
+
const g = {
|
|
7
7
|
type: "cards",
|
|
8
8
|
dataType: "array",
|
|
9
9
|
label: "Карточки",
|
|
10
10
|
data: {
|
|
11
|
-
...
|
|
11
|
+
...d
|
|
12
12
|
}
|
|
13
|
-
},
|
|
14
|
-
title
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
}, n = [
|
|
14
|
+
"title",
|
|
15
|
+
"description",
|
|
16
|
+
g,
|
|
17
|
+
t,
|
|
18
|
+
"grid"
|
|
19
|
+
], h = ({
|
|
20
|
+
title: a,
|
|
21
|
+
cards: p,
|
|
22
|
+
button: e,
|
|
23
|
+
grid: m = 3,
|
|
24
|
+
description: s
|
|
25
|
+
}) => /* @__PURE__ */ i(c, { className: "flex flex-col items-center", children: [
|
|
26
|
+
(a == null ? void 0 : a.length) && /* @__PURE__ */ r("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: a }),
|
|
27
|
+
(s == null ? void 0 : s.length) && /* @__PURE__ */ r("p", { className: "text-[18px] leading-[26px] text-graySoft text-center", children: s }),
|
|
28
|
+
/* @__PURE__ */ r("div", { className: `grid grid-cols-${m} items-stretch gap-[24px]`, children: p == null ? void 0 : p.map((l, x) => /* @__PURE__ */ r(
|
|
29
|
+
f,
|
|
22
30
|
{
|
|
23
|
-
...
|
|
31
|
+
...l
|
|
24
32
|
},
|
|
25
|
-
|
|
33
|
+
x
|
|
26
34
|
)) }),
|
|
27
|
-
((
|
|
35
|
+
((e == null ? void 0 : e.title) || (e == null ? void 0 : e.children)) && /* @__PURE__ */ r(o, { ...e })
|
|
28
36
|
] });
|
|
29
|
-
|
|
37
|
+
h.propsToEdit = n;
|
|
30
38
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
39
|
+
h as PreviewList,
|
|
40
|
+
n as propsToEdit
|
|
33
41
|
};
|