md-components-mdigial-azamat 0.0.74 → 0.0.77

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.
Files changed (49) hide show
  1. package/dist/AllComponents.js +6 -5
  2. package/dist/Banner/Banner.js +1 -1
  3. package/dist/BannerAndText/index.js +1 -1
  4. package/dist/CardIconList/CardIconList.js +10 -10
  5. package/dist/CardImageList/CardImageList.js +2 -2
  6. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +1 -1
  7. package/dist/CardInfoTable/index.js +1 -1
  8. package/dist/Cards/WarningCard/WarningCard.js +51 -45
  9. package/dist/{ComponentContainer-68340535.js → ComponentContainer-841196f9.js} +3 -3
  10. package/dist/ContentCardList/ContentCardList.js +1 -1
  11. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +15 -15
  12. package/dist/DownloadFile/components/DownloadFileBright/index.js +1 -1
  13. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +43 -39
  14. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +55 -51
  15. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
  16. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +50 -0
  17. package/dist/DownloadFile/components/FileBannerSecondary/index.js +4 -0
  18. package/dist/DownloadFile/components/FileBannerSecondary/info.js +11 -0
  19. package/dist/Faq/Faq.js +1 -1
  20. package/dist/Forms/FormDefault/index.js +1 -1
  21. package/dist/Header/Header.js +37 -34
  22. package/dist/Header/components/HeaderWeb/HeaderWeb.js +82 -76
  23. package/dist/Header/components/SelectLanguage/SelectLanguage.js +20 -16
  24. package/dist/InfoBannerList/InfoBannerList.js +1 -1
  25. package/dist/InstructionList/InstructionList.js +1 -1
  26. package/dist/IntroBanner/IntroBanner.js +1 -1
  27. package/dist/MainBanner/MainBanner.js +1 -1
  28. package/dist/MultiCards/index.js +4 -4
  29. package/dist/PageViewer/renderComponents.js +1 -1
  30. package/dist/Partners/Partners.js +14 -14
  31. package/dist/PartnersColors/PartnersColors.js +15 -8
  32. package/dist/PreviewList/PreviewList.js +16 -16
  33. package/dist/PromoPoster/PromoPoster.js +1 -1
  34. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  35. package/dist/RenderAllComponents/const.js +1 -1
  36. package/dist/StandartTable/index.js +1 -1
  37. package/dist/Stepper/Stepper.js +1 -1
  38. package/dist/SwiperList/SwiperList.js +1 -1
  39. package/dist/TasksBannerList/TasksBannerList.js +1 -1
  40. package/dist/Video/VideoFull/VideoFull.js +1 -1
  41. package/dist/Video/VideoList/VideoList.js +4 -4
  42. package/dist/Video/VideoListMini/VideoListMini.js +1 -1
  43. package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
  44. package/dist/assets/index.css +1 -1
  45. package/dist/componentsMap-ae33b476.js +99 -0
  46. package/dist/{data.mock-8db3fb9a.js → data.mock-30d53d62.js} +26 -24
  47. package/dist/main.js +21 -19
  48. package/package.json +1 -1
  49. package/dist/componentsMap-153c7a30.js +0 -97
@@ -1,7 +1,7 @@
1
- import { jsxs as s, jsx as p } from "react/jsx-runtime";
2
- import { useState as a } from "react";
1
+ import { jsxs as x, jsx as p } from "react/jsx-runtime";
2
+ import { useState as s } from "react";
3
3
  import { FieldTypes as r } from "../Types/FiledTypes.js";
4
- import { C as x } from "../ComponentContainer-68340535.js";
4
+ import { C as d } from "../ComponentContainer-841196f9.js";
5
5
  import { PartnerCard as f } from "./components/PartnerCard/PartnerCard.js";
6
6
  import { PartnerTab as c } from "./components/PartnerTab/PartnerTab.js";
7
7
  const T = {
@@ -29,16 +29,23 @@ const T = {
29
29
  cards: o
30
30
  }) => {
31
31
  var i;
32
- const [m, d] = a(((i = e == null ? void 0 : e[0]) == null ? void 0 : i.id) || 0);
33
- return /* @__PURE__ */ s(x, { children: [
32
+ const [a, m] = s(((i = e == null ? void 0 : e[0]) == null ? void 0 : i.id) || 0);
33
+ return /* @__PURE__ */ x(d, { children: [
34
34
  /* @__PURE__ */ p("p", { className: "uppercase text-[16px] leading-[24px] font-[500] text-center text-graySoft", children: n }),
35
- /* @__PURE__ */ p("h2", { className: "text-[44px] leading-[52px] font-bold text-center", children: l }),
35
+ /* @__PURE__ */ p(
36
+ "h2",
37
+ {
38
+ className: `font-bold text-[44px] max-tablet:text-[26px] max-tablet:leading-[32px] leading-[42px] text-center
39
+ mb-[24px] max-tablet:mb-[8px] font-variant-numeric font-feature-settings`,
40
+ children: l
41
+ }
42
+ ),
36
43
  /* @__PURE__ */ p("div", { className: "flex flex-wrap gap-[12px] mt-[48px]", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ p(
37
44
  c,
38
45
  {
39
46
  category: t,
40
- isActive: (t == null ? void 0 : t.id) === m,
41
- onClick: d
47
+ isActive: (t == null ? void 0 : t.id) === a,
48
+ onClick: m
42
49
  },
43
50
  t == null ? void 0 : t.id
44
51
  )) }),
@@ -1,14 +1,14 @@
1
1
  import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
2
  import { B as i } from "../index-875e92ce.js";
3
3
  import { c as o } from "../const-53dff524.js";
4
- import { C as d } from "../ComponentContainer-68340535.js";
5
- import { PreviewCardData as n, PreviewCard as c } from "./components/PreviewCard/PreviewCard.js";
4
+ import { C as n } from "../ComponentContainer-841196f9.js";
5
+ import { PreviewCardData as c, PreviewCard as d } from "./components/PreviewCard/PreviewCard.js";
6
6
  const f = {
7
7
  type: "cards",
8
8
  dataType: "array",
9
9
  label: "Карточки",
10
10
  data: {
11
- ...n
11
+ ...c
12
12
  }
13
13
  }, g = [
14
14
  "title",
@@ -17,29 +17,29 @@ const f = {
17
17
  o,
18
18
  "grid"
19
19
  ], h = ({
20
- title: r,
20
+ title: t,
21
21
  cards: x,
22
22
  button: e,
23
- grid: l = 3,
24
- description: t
25
- }) => /* @__PURE__ */ s(d, { className: "flex flex-col items-center", children: [
26
- (r == null ? void 0 : r.length) && /* @__PURE__ */ a(
23
+ grid: m = 3,
24
+ description: r
25
+ }) => /* @__PURE__ */ s(n, { className: "flex flex-col items-center", children: [
26
+ (t == null ? void 0 : t.length) && /* @__PURE__ */ a(
27
27
  "h2",
28
28
  {
29
- className: `font-bold text-[44px] max-tablet:text-[26px] max-tablet:leading-[32px] leading-[42px]
30
- mb-[24px] font-variant-numeric font-feature-settings`,
31
- children: r
29
+ className: `font-bold text-[44px] max-tablet:text-[26px] max-tablet:leading-[32px] leading-[42px] text-center
30
+ mb-[24px] max-tablet:mb-[8px] font-variant-numeric font-feature-settings`,
31
+ children: t
32
32
  }
33
33
  ),
34
- (t == null ? void 0 : t.length) && /* @__PURE__ */ a("p", { className: "text-[20px] max-tablet:text-[16px] max-tablet:leading-[20px] leading-[26px] text-graySoft text-center mb-[48px] max-tablet:mb-[32px]", children: t }),
34
+ (r == null ? void 0 : r.length) && /* @__PURE__ */ a("p", { className: "text-[20px] max-tablet:text-[16px] max-tablet:leading-[20px] leading-[26px] text-graySoft text-center mb-[36px] max-tablet:mb-[32px]", children: r }),
35
35
  /* @__PURE__ */ a(
36
36
  "div",
37
37
  {
38
- className: `w-full grid grid-cols-${l} items-stretch gap-[24px] max-tablet:grid-cols-1`,
39
- children: x == null ? void 0 : x.map((m, p) => /* @__PURE__ */ a(
40
- c,
38
+ className: `w-full grid grid-cols-${m} items-stretch gap-[24px] max-tablet:grid-cols-1`,
39
+ children: x == null ? void 0 : x.map((l, p) => /* @__PURE__ */ a(
40
+ d,
41
41
  {
42
- ...m
42
+ ...l
43
43
  },
44
44
  p
45
45
  ))
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { FieldTypes as l } from "../Types/FiledTypes.js";
3
3
  import { c as m } from "../createBoolean-56064b0d.js";
4
- import { C as s } from "../ComponentContainer-68340535.js";
4
+ import { C as s } from "../ComponentContainer-841196f9.js";
5
5
  import { c as n } from "../cn-6a4bf187.js";
6
6
  import { u as b } from "../useScreenSize-c1b64c02.js";
7
7
  const x = m({
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, Fragment as t } from "react/jsx-runtime";
2
- import { c as i } from "../componentsMap-153c7a30.js";
2
+ import { c as i } from "../componentsMap-ae33b476.js";
3
3
  const d = ({ components: o, device: p }) => /* @__PURE__ */ n(t, { children: o.map((r) => {
4
4
  const e = i[r.key];
5
5
  return e ? /* @__PURE__ */ n(
@@ -1,4 +1,4 @@
1
- import { M as a, B as t, u as s, C as n, S as D, a as r, V as e, b as i, c as o, d, P as l, e as C, f as B, g as L, W as m, v as w, w as p, F as I, h as g, D as F, i as S, j as c, I as M, x as P, k as f, l as u, A as V, m as T, T as W, n as b, E as x, o as h, p as k, q, r as v, s as y, t as A } from "../data.mock-8db3fb9a.js";
1
+ import { M as a, B as t, u as s, C as n, S as D, a as r, V as e, b as i, c as o, d, P as l, e as C, f as B, g as L, W as m, v as w, w as p, F as I, h as g, D as F, i as S, j as c, I as M, x as P, k as f, l as u, A as V, m as T, T as W, n as b, E as x, o as h, p as k, q, r as v, s as y, t as A } from "../data.mock-30d53d62.js";
2
2
  const j = [
3
3
  a,
4
4
  t,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
2
  import { FieldTypes as o } from "../Types/FiledTypes.js";
3
- import { C as l } from "../ComponentContainer-68340535.js";
3
+ import { C as l } from "../ComponentContainer-841196f9.js";
4
4
  import { c as p } from "../cn-6a4bf187.js";
5
5
  import { CardMarkedRow as c, CardMarkedRowFields as t } from "./components/CardMarkedRow/index.js";
6
6
  import { CardWarning as x } from "./components/CardWarning/index.js";
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as n } from "react/jsx-runtime";
2
2
  import { FieldTypes as r } from "../Types/FiledTypes.js";
3
3
  import { B as x } from "../index-875e92ce.js";
4
4
  import { B as c } from "../const-53dff524.js";
5
- import { C as d } from "../ComponentContainer-68340535.js";
5
+ import { C as d } from "../ComponentContainer-841196f9.js";
6
6
  import { I as f } from "../index-9384c6d6.js";
7
7
  import { c as i } from "../cn-6a4bf187.js";
8
8
  const b = {
@@ -4,7 +4,7 @@ import { A as b, C as v, a as d } from "../navigation-48c90d3b.js";
4
4
  import { FieldTypes as l } from "../Types/FiledTypes.js";
5
5
  import { S as C, N as S, a as N } from "../swiper-react-bfbb44d6.js";
6
6
  import { c as w } from "../createBoolean-56064b0d.js";
7
- import { C as E } from "../ComponentContainer-68340535.js";
7
+ import { C as E } from "../ComponentContainer-841196f9.js";
8
8
  import { Bullet as P } from "./components/Bullet/Bullet.js";
9
9
  import { Slide as A } from "./components/Slide/Slide.js";
10
10
  import '../assets/swiper.css';/* empty css */const r = ({
@@ -1,7 +1,7 @@
1
1
  import { jsxs as l, jsx as n } from "react/jsx-runtime";
2
2
  import { TasksBanner as p } from "../TasksBanner/TasksBanner.js";
3
3
  import { FieldTypes as a } from "../Types/FiledTypes.js";
4
- import { C as i } from "../ComponentContainer-68340535.js";
4
+ import { C as i } from "../ComponentContainer-841196f9.js";
5
5
  const c = {
6
6
  type: "cards",
7
7
  label: "Карточки задач",
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { VideoPlayer as e } from "../components/VideoPlayer/VideoPlayer.js";
3
- import { C as i } from "../../ComponentContainer-68340535.js";
3
+ import { C as i } from "../../ComponentContainer-841196f9.js";
4
4
  const d = ["linkVideo"], n = ({ linkVideo: r }) => /* @__PURE__ */ o(i, { children: /* @__PURE__ */ o("div", { className: "rounded-[20px] overflow-hidden", children: /* @__PURE__ */ o(
5
5
  e,
6
6
  {
@@ -1,8 +1,8 @@
1
1
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
2
  import { FieldTypes as e } from "../../Types/FiledTypes.js";
3
3
  import { VideoPlayer as s } from "../components/VideoPlayer/VideoPlayer.js";
4
- import { C as a } from "../../ComponentContainer-68340535.js";
5
- const p = {
4
+ import { C as p } from "../../ComponentContainer-841196f9.js";
5
+ const a = {
6
6
  type: "data",
7
7
  label: "Видео данные",
8
8
  dataType: "array",
@@ -10,7 +10,7 @@ const p = {
10
10
  title: e.TITLE,
11
11
  linkVideo: e.LINK
12
12
  }
13
- }, n = [p], t = ({ data: d }) => /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: d == null ? void 0 : d.map((o, l) => /* @__PURE__ */ i(
13
+ }, n = [a], t = ({ data: d }) => /* @__PURE__ */ r(p, { children: /* @__PURE__ */ r("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: d == null ? void 0 : d.map((o, l) => /* @__PURE__ */ i(
14
14
  "div",
15
15
  {
16
16
  className: "bg-white rounded-[20px] overflow-hidden",
@@ -22,7 +22,7 @@ const p = {
22
22
  className: "h-[368px]"
23
23
  }
24
24
  ),
25
- /* @__PURE__ */ r("div", { className: "p-8", children: /* @__PURE__ */ r("p", { className: "text-[24px] leading-8 font-bold", children: o == null ? void 0 : o.title }) })
25
+ /* @__PURE__ */ r("div", { className: "p-[32px]", children: /* @__PURE__ */ r("p", { className: "text-[24px] leading-8 font-bold", children: o == null ? void 0 : o.title }) })
26
26
  ]
27
27
  },
28
28
  l
@@ -1,7 +1,7 @@
1
1
  import { jsx as o, jsxs as l } from "react/jsx-runtime";
2
2
  import { FieldTypes as r } from "../../Types/FiledTypes.js";
3
3
  import { VideoPlayer as s } from "../components/VideoPlayer/VideoPlayer.js";
4
- import { C as a } from "../../ComponentContainer-68340535.js";
4
+ import { C as a } from "../../ComponentContainer-841196f9.js";
5
5
  const n = {
6
6
  type: "data",
7
7
  label: "Видео данные мини",
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { a as t, c as u } from "../cn-6a4bf187.js";
3
3
  import { FieldTypes as m } from "../Types/FiledTypes.js";
4
4
  import { B as y } from "../index-875e92ce.js";
5
- import { C as g } from "../ComponentContainer-68340535.js";
5
+ import { C as g } from "../ComponentContainer-841196f9.js";
6
6
  import { I as w } from "../index-9384c6d6.js";
7
7
  const v = {
8
8
  type: "buttons",