md-components-mdigial-azamat 0.0.49 → 0.0.50

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,57 +1,57 @@
1
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
- import { FieldTypes as o } from "../Types/FiledTypes.js";
1
+ import { jsx as r, jsxs as a } from "react/jsx-runtime";
2
+ import { FieldTypes as t } from "../Types/FiledTypes.js";
3
3
  import { B as c } from "../index-10605794.js";
4
4
  import { B as x } from "../const-53dff524.js";
5
5
  import { C as d } from "../ComponentContainer-cdb2528c.js";
6
6
  import { I as f } from "../index-2265d593.js";
7
- import { c as g } from "../cn-6a4bf187.js";
8
- const h = {
7
+ import { c as i } from "../cn-6a4bf187.js";
8
+ const g = {
9
9
  type: "data",
10
10
  label: "Шаги",
11
11
  dataType: "array",
12
12
  data: {
13
- text: o.DESCRIPTION,
14
- icon: o.FILE,
15
- color: o.COLOR,
16
- title: o.TITLE
13
+ text: t.DESCRIPTION,
14
+ icon: t.FILE,
15
+ color: t.COLOR,
16
+ title: t.TITLE
17
17
  }
18
- }, i = ["title", h, x], b = ({ data: t, title: l, button: p }) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ a("div", { className: "flex items-center flex-col", children: [
19
- l && /* @__PURE__ */ e("p", { className: "font-bold max-tablet:text-[26px] text-[44px] mb-12 max-tablet:leading-[32px] leading-[42px] font-variant-numeric font-feature-settings", children: l }),
20
- /* @__PURE__ */ e("div", { className: "grid grid-cols-3 gap-6 max-tablet:grid-cols-1", children: t == null ? void 0 : t.map((r, n) => {
21
- const s = n + 1;
18
+ }, h = ["title", g, x], b = ({ data: o, title: l, button: s }) => /* @__PURE__ */ r(d, { children: /* @__PURE__ */ a("div", { className: "flex items-center flex-col", children: [
19
+ l && /* @__PURE__ */ r("p", { className: "font-bold max-tablet:text-[26px] text-[44px] mb-12 max-tablet:leading-[32px] leading-[42px] font-variant-numeric font-feature-settings", children: l }),
20
+ /* @__PURE__ */ r("div", { className: "grid grid-cols-3 gap-6 max-tablet:grid-cols-1", children: o == null ? void 0 : o.map((e, n) => {
21
+ const p = n + 1;
22
22
  return /* @__PURE__ */ a(
23
23
  "div",
24
24
  {
25
25
  className: "p-8 bg-white rounded-[20px] flex flex-col items-center",
26
26
  children: [
27
- r.icon ? /* @__PURE__ */ e(
27
+ e.icon ? /* @__PURE__ */ r(
28
28
  f,
29
29
  {
30
- src: r.icon,
30
+ src: e.icon,
31
31
  className: "w-[72px] h-[72px] rounded-full overflow-hidden mb-[24px]"
32
32
  }
33
- ) : /* @__PURE__ */ e(
33
+ ) : /* @__PURE__ */ r(
34
34
  "span",
35
35
  {
36
- className: g(
37
- "w-[72px] h-[72px] rounded-full font-bold overflow-hidden flex items-center justify-center text-white text-[24px] leading-8 ",
38
- r != null && r.color ? `bg-[${r == null ? void 0 : r.color}]` : "bg-greenLight"
36
+ className: i(
37
+ "w-[72px] h-[72px] rounded-full bg-greenLight font-bold overflow-hidden flex items-center justify-center text-white text-[24px] leading-8 "
39
38
  ),
40
- children: s
39
+ style: { backgroundColor: e == null ? void 0 : e.color },
40
+ children: p
41
41
  }
42
42
  ),
43
- r.text && /* @__PURE__ */ e("p", { className: "text-blackBG text-[18px] leading-[26px] text-center", children: r == null ? void 0 : r.text }),
44
- (r == null ? void 0 : r.title) && /* @__PURE__ */ e("h3", { className: "text-blackBG text-[22px] leading-[30px] font-bold text-center mb-[16px]", children: r == null ? void 0 : r.title }),
45
- (r == null ? void 0 : r.description) && /* @__PURE__ */ e("p", { className: "text-gray3 text-[15px] leading-[22px] text-center", children: r == null ? void 0 : r.description })
43
+ e.text && /* @__PURE__ */ r("p", { className: "text-blackBG text-[18px] leading-[26px] text-center", children: e == null ? void 0 : e.text }),
44
+ (e == null ? void 0 : e.title) && /* @__PURE__ */ r("h3", { className: "text-blackBG text-[22px] leading-[30px] font-bold text-center mb-[16px]", children: e == null ? void 0 : e.title }),
45
+ (e == null ? void 0 : e.description) && /* @__PURE__ */ r("p", { className: "text-gray3 text-[15px] leading-[22px] text-center", children: e == null ? void 0 : e.description })
46
46
  ]
47
47
  },
48
48
  n
49
49
  );
50
50
  }) }),
51
- /* @__PURE__ */ e(c, { ...p })
51
+ /* @__PURE__ */ r(c, { ...s })
52
52
  ] }) });
53
- b.propsToEdit = i;
53
+ b.propsToEdit = h;
54
54
  export {
55
55
  b as Stepper,
56
- i as propsToEdit
56
+ h as propsToEdit
57
57
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "md-components-mdigial-azamat",
3
3
  "author": "Azamat Raimbekov",
4
4
  "private": false,
5
- "version": "0.0.49",
5
+ "version": "0.0.50",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",