md-components-mdigial-azamat 0.0.13 → 0.0.17

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 (60) hide show
  1. package/dist/AllComponents.js +70 -86
  2. package/dist/Banner/Banner.js +8 -140
  3. package/dist/Banner/index.js +2 -2
  4. package/dist/CardImageList/CardImageList.js +8 -49
  5. package/dist/CardImageList/index.js +1 -1
  6. package/dist/CardInfoTable/index.js +6 -151
  7. package/dist/Cards/CardImage/types.js +4 -1
  8. package/dist/Cards/ContentCard/ContentCard.js +6 -38
  9. package/dist/Cards/ContentCard/index.js +1 -1
  10. package/dist/Cards/WarningCard/WarningCard.js +7 -51
  11. package/dist/Cards/WarningCard/index.js +1 -1
  12. package/dist/Cards/WarningCard/model.js +2 -22
  13. package/dist/ContentCardList/ContentCardList.js +4 -25
  14. package/dist/ContentCardList/index.js +2 -2
  15. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +5 -42
  16. package/dist/DownloadFile/components/DownloadFileBanner/index.js +2 -2
  17. package/dist/DownloadFile/components/DownloadFileBright/index.js +7 -8
  18. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +6 -39
  19. package/dist/DownloadFile/components/DownloadFileFull/index.js +2 -2
  20. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +6 -46
  21. package/dist/DownloadFile/components/DownloadFileHalf/index.js +2 -2
  22. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +6 -45
  23. package/dist/DownloadFile/components/DownloadFileMini/index.js +2 -2
  24. package/dist/Faq/Faq.js +6 -34
  25. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +5 -1032
  26. package/dist/Faq/components/FeedbackForm/index.js +1 -1
  27. package/dist/Faq/index.js +2 -2
  28. package/dist/InfoBanner/index.js +1 -1
  29. package/dist/InstructionList/InstructionList.js +5 -29
  30. package/dist/InstructionList/index.js +1 -1
  31. package/dist/IntroBanner/IntroBanner.js +1 -1
  32. package/dist/MainBanner/MainBanner.js +6 -77
  33. package/dist/MainBanner/index.js +2 -2
  34. package/dist/PageViewer/PageViewer.js +28 -4
  35. package/dist/PageViewer/renderComponents.js +1 -1
  36. package/dist/PreviewList/PreviewList.js +4 -25
  37. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +5 -32
  38. package/dist/PreviewList/components/PreviewCard/index.js +2 -2
  39. package/dist/PreviewList/index.js +1 -1
  40. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  41. package/dist/RenderAllComponents/const.js +1 -1
  42. package/dist/StandartTable/components/CardWarning/index.js +2 -2
  43. package/dist/Stepper/Stepper.js +5 -40
  44. package/dist/Stepper/index.js +1 -1
  45. package/dist/TasksBanner/TasksBanner.js +12 -13
  46. package/dist/Types/CustomType.js +1 -0
  47. package/dist/Types/FiledTypes.js +4 -0
  48. package/dist/VideoMainBanner/VideoMainBanner.js +3 -3
  49. package/dist/componentsMap-fc5d3ce6.js +58 -0
  50. package/dist/{const-9041b93a.js → const-fcf5d36a.js} +2 -2
  51. package/dist/{data.mock-741c2220.js → data.mock-97df7aa8.js} +1 -1
  52. package/dist/index-3d4883ec.js +2106 -0
  53. package/dist/main.js +64 -74
  54. package/dist/model-bc7ae7c3.js +51 -0
  55. package/package.json +1 -1
  56. package/dist/Icon-70ea6cb8.js +0 -187
  57. package/dist/componentsMap-8af3b722.js +0 -71
  58. package/dist/index-b3d6aed3.js +0 -52
  59. package/dist/palette-ac8c8a5f.js +0 -31
  60. /package/dist/assets/{TasksBanner.css → InfoBanner.css} +0 -0
@@ -1,53 +1,9 @@
1
- import { jsx as t, jsxs as r } from "react/jsx-runtime";
2
- import { WarningCardVariant as o } from "./model.js";
3
- import { I as s } from "../../Icon-70ea6cb8.js";
4
- import { B as l } from "../../index-b3d6aed3.js";
5
- import { a as c } from "../../const-9041b93a.js";
6
- import { C as d } from "../../ComponentContainer-0fcc2695.js";
7
- import { c as m } from "../../cn-d8c04b28.js";
8
- const p = ["title", "description", "button_text", "variant"], x = ({
9
- title: n,
10
- description: i,
11
- button_text: a,
12
- variant: e
13
- }) => /* @__PURE__ */ t(d, { children: /* @__PURE__ */ t(
14
- "div",
15
- {
16
- className: "rounded-[24px] p-6",
17
- style: { background: o[e].background },
18
- children: /* @__PURE__ */ r("div", { className: "flex gap-4 items-center justify-between", children: [
19
- /* @__PURE__ */ r("div", { className: "flex gap-4 items-center", children: [
20
- /* @__PURE__ */ t(
21
- s,
22
- {
23
- name: o[e].icon,
24
- size: 40
25
- }
26
- ),
27
- /* @__PURE__ */ r("div", { className: "flex flex-col gap-1", children: [
28
- /* @__PURE__ */ t(
29
- "p",
30
- {
31
- className: m("text-[24px] leading-8 font-bold"),
32
- style: { color: o[e].textColor },
33
- children: n
34
- }
35
- ),
36
- /* @__PURE__ */ t(
37
- "p",
38
- {
39
- className: "text-[16px] leading-6",
40
- style: { color: o[e].textColor },
41
- children: i
42
- }
43
- )
44
- ] })
45
- ] }),
46
- /* @__PURE__ */ t(l, { variant: c.Static, children: a })
47
- ] })
48
- }
49
- ) });
50
- x.propsToEdit = p;
1
+ import "react/jsx-runtime";
2
+ import "../../model-bc7ae7c3.js";
3
+ import { W as n } from "../../index-3d4883ec.js";
4
+ import "../../const-fcf5d36a.js";
5
+ import "../../ComponentContainer-0fcc2695.js";
6
+ import "../../cn-d8c04b28.js";
51
7
  export {
52
- x as WarningCard
8
+ n as WarningCard
53
9
  };
@@ -1,4 +1,4 @@
1
- import { WarningCard as n } from "./WarningCard.js";
1
+ import { W as n } from "../../index-3d4883ec.js";
2
2
  export {
3
3
  n as WarningCard
4
4
  };
@@ -1,24 +1,4 @@
1
- import { p as a } from "../../palette-ac8c8a5f.js";
2
- const g = {
3
- orange: {
4
- background: "linear-gradient(92deg, rgba(255, 255, 255, 0.00) -4.95%, rgba(255, 255, 255, 0.02) -4.63%, rgba(255, 255, 255, 0.20) 87.84%), var(--status-filled-bg-accent, #FDDB2B)",
5
- textColor: a.blackBG,
6
- icon: "infoDark",
7
- key: "orange"
8
- },
9
- gray: {
10
- background: "linear-gradient(92deg, rgba(255, 255, 255, 0.00) -4.95%, rgba(255, 255, 255, 0.02) -4.63%, rgba(255, 255, 255, 0.20) 87.84%), var(--supportive-ghost-1, rgba(95, 110, 123, 0.10))",
11
- textColor: a.blackBG,
12
- icon: "infoCrown",
13
- key: "gray"
14
- },
15
- black: {
16
- background: "linear-gradient(92deg, rgba(255, 255, 255, 0.00) -4.95%, rgba(255, 255, 255, 0.02) -4.63%, rgba(255, 255, 255, 0.20) 87.84%), var(--black-94-solid, #1A1C20)",
17
- textColor: a.white,
18
- icon: "infoLight",
19
- key: "black"
20
- }
21
- };
1
+ import { W as n } from "../../model-bc7ae7c3.js";
22
2
  export {
23
- g as WarningCardVariant
3
+ n as WarningCardVariant
24
4
  };
@@ -1,27 +1,6 @@
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-0fcc2695.js";
4
- const s = ["data"], x = ({ data: e }) => {
5
- var n;
6
- return /* @__PURE__ */ t(i, { children: /* @__PURE__ */ l("div", { className: "w-full flex flex-col items-center justify-center", children: [
7
- (e == null ? void 0 : e.title) && /* @__PURE__ */ t(
8
- "p",
9
- {
10
- className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
11
- mb-[24px] font-variant-numeric font-feature-settings`,
12
- children: e == null ? void 0 : e.title
13
- }
14
- ),
15
- /* @__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(
16
- r,
17
- {
18
- data: o
19
- },
20
- o.id
21
- )) })
22
- ] }) });
23
- };
24
- x.propsToEdit = s;
1
+ import "react/jsx-runtime";
2
+ import { a as i } from "../index-3d4883ec.js";
3
+ import "../ComponentContainer-0fcc2695.js";
25
4
  export {
26
- x as ContentCardList
5
+ i as ContentCardList
27
6
  };
@@ -1,4 +1,4 @@
1
- import { ContentCardList as r } from "./ContentCardList.js";
1
+ import { a as o } from "../index-3d4883ec.js";
2
2
  export {
3
- r as ContentCardList
3
+ o as ContentCardList
4
4
  };
@@ -1,44 +1,7 @@
1
- import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
- import { I as a } from "../../../Icon-70ea6cb8.js";
3
- import { p as l } from "../../../palette-ac8c8a5f.js";
4
- import { B as n } from "../../../index-b3d6aed3.js";
5
- import { C as s } from "../../../ComponentContainer-0fcc2695.js";
6
- const c = ["data"], d = ({
7
- id: m,
8
- title: r,
9
- text: t,
10
- link: i
11
- }) => /* @__PURE__ */ e(s, { children: /* @__PURE__ */ o("div", { className: "p-[48px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-8", children: [
12
- /* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ o("div", { children: [
13
- /* @__PURE__ */ e("p", { className: "text-[32px] leading-10 font-bold mb-4", children: r }),
14
- /* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: t }),
15
- /* @__PURE__ */ e("a", { href: i, children: /* @__PURE__ */ e(
16
- n,
17
- {
18
- iconRight: /* @__PURE__ */ e(
19
- a,
20
- {
21
- name: "download",
22
- size: 20,
23
- color: l.blackBG
24
- }
25
- ),
26
- className: "mt-8",
27
- children: "Скачать"
28
- }
29
- ) })
30
- ] }) }),
31
- /* @__PURE__ */ e(
32
- a,
33
- {
34
- className: "flex-shrink-0",
35
- name: "file",
36
- color: l.greenLight,
37
- size: 82
38
- }
39
- )
40
- ] }) });
41
- d.propsToEdit = c;
1
+ import "react/jsx-runtime";
2
+ import { D as t } from "../../../index-3d4883ec.js";
3
+ import "../../../model-bc7ae7c3.js";
4
+ import "../../../ComponentContainer-0fcc2695.js";
42
5
  export {
43
- d as DownloadFileBanner
6
+ t as DownloadFileBanner
44
7
  };
@@ -1,4 +1,4 @@
1
- import { DownloadFileBanner as n } from "./DownloadFileBanner.js";
1
+ import { D as e } from "../../../index-3d4883ec.js";
2
2
  export {
3
- n as DownloadFileBanner
3
+ e as DownloadFileBanner
4
4
  };
@@ -1,13 +1,12 @@
1
1
  import { jsxs as l, jsx as t } from "react/jsx-runtime";
2
- import { I as h } from "../../../Icon-70ea6cb8.js";
3
- import { p as r } from "../../../palette-ac8c8a5f.js";
4
- import { B as u } from "../../../index-b3d6aed3.js";
5
- import { a as w } from "../../../const-9041b93a.js";
2
+ import { f as h, g as u } from "../../../index-3d4883ec.js";
3
+ import { p as r } from "../../../model-bc7ae7c3.js";
4
+ import { B as w } from "../../../const-fcf5d36a.js";
6
5
  import { C as j } from "../../../ComponentContainer-0fcc2695.js";
7
6
  import { I as y } from "../../../index-60dfa873.js";
8
7
  import { c as B } from "../../../cn-d8c04b28.js";
9
8
  import { u as N } from "../../../useScreenSize-c1b64c02.js";
10
- const W = ({
9
+ const V = ({
11
10
  title: m,
12
11
  description: s,
13
12
  file: n,
@@ -60,14 +59,14 @@ const W = ({
60
59
  download: !0,
61
60
  target: "_blank",
62
61
  children: /* @__PURE__ */ l(
63
- u,
62
+ h,
64
63
  {
65
64
  className: "w-fit max-tablet:w-full flex items-center justify-center",
66
65
  variant: x,
67
66
  children: [
68
67
  b,
69
68
  /* @__PURE__ */ t(
70
- h,
69
+ u,
71
70
  {
72
71
  name: "download",
73
72
  size: 20,
@@ -99,5 +98,5 @@ const W = ({
99
98
  );
100
99
  };
101
100
  export {
102
- W as DownloadFileBright
101
+ V as DownloadFileBright
103
102
  };
@@ -1,41 +1,8 @@
1
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
- import { I as r } from "../../../Icon-70ea6cb8.js";
3
- import { p as t } from "../../../palette-ac8c8a5f.js";
4
- import { B as n } from "../../../index-b3d6aed3.js";
5
- import { a as s } from "../../../const-9041b93a.js";
6
- import { C as i } from "../../../ComponentContainer-0fcc2695.js";
7
- const p = ["data"], c = ({ data: o }) => /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: o == null ? void 0 : o.map((l) => /* @__PURE__ */ a("div", { className: "px-[48px] py-8 bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
8
- /* @__PURE__ */ a("div", { className: "flex items-center gap-4 max-tablet:flex-col max-tablet:items-start", children: [
9
- /* @__PURE__ */ e(
10
- r,
11
- {
12
- className: "flex-shrink-0",
13
- name: "file",
14
- color: t.greenLight,
15
- size: 44
16
- }
17
- ),
18
- /* @__PURE__ */ a("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
19
- /* @__PURE__ */ e("p", { className: "text-[20px] leading-7 font-bold", children: l == null ? void 0 : l.title }),
20
- /* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: l == null ? void 0 : l.text })
21
- ] })
22
- ] }),
23
- /* @__PURE__ */ e(
24
- n,
25
- {
26
- variant: s.Secondary,
27
- iconRight: /* @__PURE__ */ e(
28
- r,
29
- {
30
- name: "download",
31
- size: 20,
32
- color: t.blackBG
33
- }
34
- )
35
- }
36
- )
37
- ] })) }) });
38
- c.propsToEdit = p;
1
+ import "react/jsx-runtime";
2
+ import { c as l } from "../../../index-3d4883ec.js";
3
+ import "../../../model-bc7ae7c3.js";
4
+ import "../../../const-fcf5d36a.js";
5
+ import "../../../ComponentContainer-0fcc2695.js";
39
6
  export {
40
- c as DownloadFileFull
7
+ l as DownloadFileFull
41
8
  };
@@ -1,4 +1,4 @@
1
- import { DownloadFileFull as e } from "./DownloadFileFull.js";
1
+ import { c as a } from "../../../index-3d4883ec.js";
2
2
  export {
3
- e as DownloadFileFull
3
+ a as DownloadFileFull
4
4
  };
@@ -1,48 +1,8 @@
1
- import { jsx as r, jsxs as a } from "react/jsx-runtime";
2
- import { I as n } from "../../../Icon-70ea6cb8.js";
3
- import { p as e } from "../../../palette-ac8c8a5f.js";
4
- import { B as s } from "../../../index-b3d6aed3.js";
5
- import { a as c } from "../../../const-9041b93a.js";
6
- import { C as i } from "../../../ComponentContainer-0fcc2695.js";
7
- const p = ["data"], d = ({ data: l }) => /* @__PURE__ */ r(i, { children: /* @__PURE__ */ r("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: l == null ? void 0 : l.map((o) => /* @__PURE__ */ a(
8
- "div",
9
- {
10
- className: "p-[32px] bg-white rounded-[20px] flex justify-between gap-[40px]",
11
- children: [
12
- /* @__PURE__ */ r("div", { className: "flex flex-col ", children: /* @__PURE__ */ a("div", { children: [
13
- /* @__PURE__ */ r("p", { className: "text-[24px] leading-8 font-bold mb-4", children: o == null ? void 0 : o.title }),
14
- /* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: o == null ? void 0 : o.text }),
15
- /* @__PURE__ */ r(
16
- s,
17
- {
18
- iconRight: /* @__PURE__ */ r(
19
- n,
20
- {
21
- name: "download",
22
- size: 20,
23
- color: e.blackBG
24
- }
25
- ),
26
- className: "mt-8",
27
- variant: c.Secondary,
28
- children: "Скачать"
29
- }
30
- )
31
- ] }) }),
32
- /* @__PURE__ */ r(
33
- n,
34
- {
35
- className: "flex-shrink-0",
36
- name: "file",
37
- color: e.greenLight,
38
- size: 48
39
- }
40
- )
41
- ]
42
- },
43
- o == null ? void 0 : o.id
44
- )) }) });
45
- d.propsToEdit = p;
1
+ import "react/jsx-runtime";
2
+ import { b as a } from "../../../index-3d4883ec.js";
3
+ import "../../../model-bc7ae7c3.js";
4
+ import "../../../const-fcf5d36a.js";
5
+ import "../../../ComponentContainer-0fcc2695.js";
46
6
  export {
47
- d as DownloadFileHalf
7
+ a as DownloadFileHalf
48
8
  };
@@ -1,4 +1,4 @@
1
- import { DownloadFileHalf as a } from "./DownloadFileHalf.js";
1
+ import { b as l } from "../../../index-3d4883ec.js";
2
2
  export {
3
- a as DownloadFileHalf
3
+ l as DownloadFileHalf
4
4
  };
@@ -1,47 +1,8 @@
1
- import { jsx as r, jsxs as a } from "react/jsx-runtime";
2
- import { I as n } from "../../../Icon-70ea6cb8.js";
3
- import { p as e } from "../../../palette-ac8c8a5f.js";
4
- import { B as s } from "../../../index-b3d6aed3.js";
5
- import { a as p } from "../../../const-9041b93a.js";
6
- import { C as c } from "../../../ComponentContainer-0fcc2695.js";
7
- const i = ["data"], d = ({ data: l }) => /* @__PURE__ */ r(c, { children: /* @__PURE__ */ r("div", { className: "grid grid-cols-4 gap-6 max-tablet:grid-cols-1", children: l == null ? void 0 : l.map((o) => /* @__PURE__ */ a(
8
- "div",
9
- {
10
- className: "p-[24px] bg-white rounded-[20px] flex flex-col gap-8",
11
- children: [
12
- /* @__PURE__ */ r(
13
- n,
14
- {
15
- name: "file",
16
- color: e.greenLight,
17
- size: 44
18
- }
19
- ),
20
- /* @__PURE__ */ a("div", { className: "flex flex-col gap-4", children: [
21
- /* @__PURE__ */ r("p", { className: "text-[20px] leading-[28px] font-bold", children: o == null ? void 0 : o.title }),
22
- /* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: o == null ? void 0 : o.text })
23
- ] }),
24
- /* @__PURE__ */ r(
25
- s,
26
- {
27
- iconRight: /* @__PURE__ */ r(
28
- n,
29
- {
30
- name: "download",
31
- size: 20,
32
- color: e.blackBG
33
- }
34
- ),
35
- className: "w-full",
36
- variant: p.Secondary,
37
- children: "Скачать"
38
- }
39
- )
40
- ]
41
- },
42
- o == null ? void 0 : o.id
43
- )) }) });
44
- d.propsToEdit = i;
1
+ import "react/jsx-runtime";
2
+ import { d as a } from "../../../index-3d4883ec.js";
3
+ import "../../../model-bc7ae7c3.js";
4
+ import "../../../const-fcf5d36a.js";
5
+ import "../../../ComponentContainer-0fcc2695.js";
45
6
  export {
46
- d as DownloadFileMini
7
+ a as DownloadFileMini
47
8
  };
@@ -1,4 +1,4 @@
1
- import { DownloadFileMini as e } from "./DownloadFileMini.js";
1
+ import { d as a } from "../../../index-3d4883ec.js";
2
2
  export {
3
- e as DownloadFileMini
3
+ a as DownloadFileMini
4
4
  };
package/dist/Faq/Faq.js CHANGED
@@ -1,36 +1,8 @@
1
- import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
- import { Collapse as x } from "./components/Collapse/Collapse.js";
3
- import { FeedbackForm as a } from "./components/FeedbackForm/FeedbackForm.js";
4
- import { HtmlContent as c } from "../HtmlContent/HtmlContent.js";
5
- import { C as e } from "../ComponentContainer-0fcc2695.js";
6
- const s = ["data", "title"], d = ({ data: o, title: n }) => o != null && o.length ? /* @__PURE__ */ r(e, { children: /* @__PURE__ */ p("div", { className: "w-full mx-auto flex flex-col gap-[48px] transition-all duration-1000 max-tablet:gap-[30px]", children: [
7
- n && /* @__PURE__ */ r("p", { className: "text-[44px] leading-[55px] font-bold text-center text-black2 max-tablet:text-[24px] max-tablet:leading-[30px] m-0", children: n }),
8
- /* @__PURE__ */ r("div", { className: "flex flex-col bg-white p-12 rounded-[20px] max-tablet:p-6", children: o == null ? void 0 : o.map((l) => /* @__PURE__ */ r(
9
- x,
10
- {
11
- title: l == null ? void 0 : l.title,
12
- children: /* @__PURE__ */ p("div", { children: [
13
- /* @__PURE__ */ r(
14
- c,
15
- {
16
- data: l == null ? void 0 : l.description,
17
- className: "text-[18px] leading-[26px] text-blackBG "
18
- }
19
- ),
20
- /* @__PURE__ */ r(
21
- a,
22
- {
23
- faqId: l == null ? void 0 : l.id,
24
- percent: l == null ? void 0 : l.percentage
25
- },
26
- l == null ? void 0 : l.id
27
- )
28
- ] })
29
- },
30
- l == null ? void 0 : l.id
31
- )) })
32
- ] }) }) : null;
33
- d.propsToEdit = s;
1
+ import "react/jsx-runtime";
2
+ import "./components/Collapse/Collapse.js";
3
+ import { F as a } from "../index-3d4883ec.js";
4
+ import "../HtmlContent/HtmlContent.js";
5
+ import "../ComponentContainer-0fcc2695.js";
34
6
  export {
35
- d as Faq
7
+ a as Faq
36
8
  };