md-components-mdigial-azamat 0.0.76 → 0.0.79

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 (133) hide show
  1. package/dist/ActionCard/ActionCard.js +30 -0
  2. package/dist/ActionCard/index.js +4 -0
  3. package/dist/ActionCard/info.js +11 -0
  4. package/dist/ActionCard/types.js +1 -0
  5. package/dist/ActionCardList/ActionCardList.js +32 -0
  6. package/dist/ActionCardList/index.js +4 -0
  7. package/dist/ActionCardList/info.js +11 -0
  8. package/dist/ActionCardList/types.js +1 -0
  9. package/dist/ActionIconList/ActionIconList.js +174 -0
  10. package/dist/ActionIconList/index.js +4 -0
  11. package/dist/ActionIconList/info.js +11 -0
  12. package/dist/ActionIconList/types.js +1 -0
  13. package/dist/AllComponents.js +40 -127
  14. package/dist/AllComponentsInfo.js +26 -27
  15. package/dist/AnimatedSwiper/index.js +9 -3
  16. package/dist/AnimatedSwiper/info.js +1 -1
  17. package/dist/Banner/Banner.js +1 -1
  18. package/dist/Banner/info.js +1 -1
  19. package/dist/BannerAndText/index.js +1 -1
  20. package/dist/BannerAndText/info.js +1 -1
  21. package/dist/CardIconList/CardIconList.js +17 -16
  22. package/dist/CardIconList/info.js +1 -1
  23. package/dist/CardImageList/CardImageList.js +2 -2
  24. package/dist/CardImageList/info.js +1 -1
  25. package/dist/CardImageSecondary/info.js +1 -1
  26. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +1 -1
  27. package/dist/CardImageSecondaryList/info.js +1 -1
  28. package/dist/CardInfoTable/index.js +1 -1
  29. package/dist/CardInfoTable/info.js +1 -1
  30. package/dist/{index-04224eb4.js → Cards/ActionIconCard/index.js} +21 -27
  31. package/dist/Cards/ActionIconCard/info.js +11 -0
  32. package/dist/Cards/ActionIconCard/types.js +1 -0
  33. package/dist/Cards/CardImage/info.js +1 -1
  34. package/dist/Cards/ColoredCard/info.js +1 -1
  35. package/dist/Cards/ContentCard/info.js +1 -1
  36. package/dist/Cards/FeaturesCard/index.js +100 -8
  37. package/dist/Cards/FeaturesCard/info.js +2 -2
  38. package/dist/Cards/WarningCard/WarningCard.js +103 -62
  39. package/dist/Cards/WarningCard/index.js +1 -1
  40. package/dist/Cards/WarningCard/info.js +3 -9
  41. package/dist/ComponentContainer-05e27e82.js +16 -0
  42. package/dist/ContentCardList/ContentCardList.js +1 -1
  43. package/dist/ContentCardList/info.js +1 -1
  44. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +15 -15
  45. package/dist/DownloadFile/components/DownloadFileBanner/info.js +1 -1
  46. package/dist/DownloadFile/components/DownloadFileBright/index.js +1 -1
  47. package/dist/DownloadFile/components/DownloadFileBright/info.js +1 -1
  48. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +43 -39
  49. package/dist/DownloadFile/components/DownloadFileFull/info.js +1 -1
  50. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +55 -51
  51. package/dist/DownloadFile/components/DownloadFileHalf/info.js +1 -1
  52. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
  53. package/dist/DownloadFile/components/DownloadFileMini/info.js +1 -1
  54. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +50 -0
  55. package/dist/DownloadFile/components/FileBannerSecondary/index.js +4 -0
  56. package/dist/DownloadFile/components/FileBannerSecondary/info.js +11 -0
  57. package/dist/Faq/Faq.js +2 -2
  58. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +6 -55
  59. package/dist/Faq/components/FeedbackForm/index.js +1 -1
  60. package/dist/Faq/info.js +1 -1
  61. package/dist/FileLoader/fileLoader.js +22 -0
  62. package/dist/FileLoader/index.js +1787 -0
  63. package/dist/Footer/info.js +1 -1
  64. package/dist/Forms/FormDefault/componentTypes.js +31 -0
  65. package/dist/Forms/FormDefault/index.js +10 -273
  66. package/dist/Forms/FormDefault/info.js +104 -18
  67. package/dist/Forms/helpers/renderFormFields.js +7 -0
  68. package/dist/Forms/model/components.js +102 -0
  69. package/dist/Forms/types/formItems.js +1 -0
  70. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +2 -2
  71. package/dist/Header/components/TabsOutlined/TabsOutlined.js +2 -2
  72. package/dist/Header/info.js +1 -1
  73. package/dist/HeroPossibilityBanner/info.js +1 -1
  74. package/dist/InfoBanner/info.js +1 -1
  75. package/dist/InfoBannerList/InfoBannerList.js +1 -1
  76. package/dist/InfoBannerList/info.js +1 -1
  77. package/dist/InstructionList/InstructionList.js +1 -1
  78. package/dist/InstructionList/info.js +1 -1
  79. package/dist/IntroBanner/IntroBanner.js +1 -1
  80. package/dist/IntroBanner/info.js +1 -1
  81. package/dist/MainBanner/MainBanner.js +1 -1
  82. package/dist/MainBanner/info.js +1 -1
  83. package/dist/MultiCards/index.js +4 -4
  84. package/dist/MultiCards/info.js +1 -1
  85. package/dist/PageViewer/renderComponents.js +1 -1
  86. package/dist/Partners/Partners.js +14 -14
  87. package/dist/Partners/info.js +1 -1
  88. package/dist/PartnersColors/PartnersColors.js +15 -8
  89. package/dist/PartnersColors/info.js +1 -1
  90. package/dist/PreviewList/PreviewList.js +16 -16
  91. package/dist/PreviewList/info.js +1 -1
  92. package/dist/PromoPoster/PromoPoster.js +1 -1
  93. package/dist/PromoPoster/info.js +1 -1
  94. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  95. package/dist/RenderAllComponents/const.js +1 -1
  96. package/dist/Segments/info.js +1 -1
  97. package/dist/Space/info.js +1 -1
  98. package/dist/StandartTable/index.js +1 -1
  99. package/dist/StandartTable/info.js +1 -1
  100. package/dist/Stepper/Stepper.js +1 -1
  101. package/dist/Stepper/info.js +1 -1
  102. package/dist/SwiperList/SwiperList.js +7 -7
  103. package/dist/SwiperList/info.js +1 -1
  104. package/dist/TasksBanner/info.js +1 -1
  105. package/dist/TasksBannerList/TasksBannerList.js +1 -1
  106. package/dist/TasksBannerList/info.js +1 -1
  107. package/dist/TitleBlock/TitleBlock.js +15 -0
  108. package/dist/TitleBlock/index.js +4 -0
  109. package/dist/TitleBlock/info.js +11 -0
  110. package/dist/TitleBlock/types.js +1 -0
  111. package/dist/Video/VideoFull/VideoFull.js +1 -1
  112. package/dist/Video/VideoFull/info.js +1 -1
  113. package/dist/Video/VideoList/VideoList.js +4 -4
  114. package/dist/Video/VideoList/info.js +1 -1
  115. package/dist/Video/VideoListMini/VideoListMini.js +1 -1
  116. package/dist/Video/VideoListMini/info.js +1 -1
  117. package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
  118. package/dist/VideoMainBanner/info.js +1 -1
  119. package/dist/assets/index.css +1 -1
  120. package/dist/componentsMap-3d57445f.js +98 -0
  121. package/dist/{data.mock-8db3fb9a.js → data.mock-9071e4ea.js} +63 -59
  122. package/dist/{index-b826f1c7.js → index-0a5f313c.js} +1 -1
  123. package/dist/index-a0ed2e4a.js +1221 -0
  124. package/dist/info-0f7bae6b.js +1380 -0
  125. package/dist/main.js +67 -66
  126. package/dist/{mousewheel-2cf27f39.js → mousewheel-865ae601.js} +1 -1
  127. package/dist/{navigation-48c90d3b.js → navigation-b894d0cd.js} +1 -1
  128. package/dist/size-b1291031.js +8 -0
  129. package/dist/{swiper-react-bfbb44d6.js → swiper-react-90953710.js} +3 -3
  130. package/package.json +4 -1
  131. package/dist/ComponentContainer-68340535.js +0 -16
  132. package/dist/componentsMap-153c7a30.js +0 -97
  133. package/dist/index.esm-67811428.js +0 -1012
@@ -2,7 +2,7 @@ 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
4
  import { c as x } from "../const-53dff524.js";
5
- import { C as a } from "../ComponentContainer-68340535.js";
5
+ import { C as a } from "../ComponentContainer-05e27e82.js";
6
6
  const f = {
7
7
  type: "cards",
8
8
  label: "Карточки",
@@ -1,4 +1,4 @@
1
- import { C as o } from "../index-b826f1c7.js";
1
+ import { C as o } from "../index-0a5f313c.js";
2
2
  import { propsToEdit as t } from "./ContentCardList.js";
3
3
  const i = {
4
4
  title: "Список контентных карточек",
@@ -1,43 +1,43 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import { downloadFile as p } from "../../../Actions/downloadFile/downloadFile.js";
3
- import { I as o } from "../../../Icon-70ea6cb8.js";
4
- import { p as a } from "../../../palette-c2fe86ec.js";
5
- import { B as m } from "../../../index-875e92ce.js";
6
- import { C as s } from "../../../ComponentContainer-68340535.js";
2
+ import { downloadFile as m } from "../../../Actions/downloadFile/downloadFile.js";
3
+ import { I as l } from "../../../Icon-70ea6cb8.js";
4
+ import { p as o } from "../../../palette-c2fe86ec.js";
5
+ import { B as p } from "../../../index-875e92ce.js";
6
+ import { C as s } from "../../../ComponentContainer-05e27e82.js";
7
7
  import { u as x } from "../../../useScreenSize-c1b64c02.js";
8
8
  const c = ["title", "text", "link"], d = ({
9
- title: l,
9
+ title: a,
10
10
  text: i,
11
11
  link: r
12
12
  }) => {
13
13
  const n = x(960);
14
- return /* @__PURE__ */ e(s, { children: /* @__PURE__ */ t("div", { className: "p-[48px] max-tablet:py-[32px] max-tablet:px-[48px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-[32px]", children: [
14
+ return /* @__PURE__ */ e(s, { children: /* @__PURE__ */ t("div", { className: "p-[48px] max-tablet:p-[32px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-[32px]", children: [
15
15
  /* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ t("div", { children: [
16
- /* @__PURE__ */ e("p", { className: "text-[32px] max-tablet:text-[24px] leading-10 max-tablet:leading-[28px] font-bold mb-4 max-tablet:mb-[16px]", children: l }),
16
+ /* @__PURE__ */ e("p", { className: "text-[32px] max-tablet:text-[24px] leading-10 max-tablet:leading-[28px] font-bold mb-4 max-tablet:mb-[16px]", children: a }),
17
17
  /* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: i }),
18
18
  /* @__PURE__ */ e(
19
- m,
19
+ p,
20
20
  {
21
- onClick: () => p({ props: { link: r } }),
21
+ onClick: () => m({ props: { link: r } }),
22
22
  iconRight: /* @__PURE__ */ e(
23
- o,
23
+ l,
24
24
  {
25
25
  name: "download",
26
26
  size: 20,
27
- color: a.blackBG
27
+ color: o.blackBG
28
28
  }
29
29
  ),
30
- className: "mt-8",
30
+ className: "w-fit max-tablet:w-full mt-8",
31
31
  children: "Скачать"
32
32
  }
33
33
  )
34
34
  ] }) }),
35
35
  /* @__PURE__ */ e(
36
- o,
36
+ l,
37
37
  {
38
38
  className: "flex-shrink-0",
39
39
  name: "file",
40
- color: a.greenLight,
40
+ color: o.greenLight,
41
41
  size: n ? 56 : 82
42
42
  }
43
43
  )
@@ -1,4 +1,4 @@
1
- import { C as o } from "../../../index-b826f1c7.js";
1
+ import { C as o } from "../../../index-0a5f313c.js";
2
2
  import { propsToEdit as n } from "./DownloadFileBanner.js";
3
3
  const r = {
4
4
  title: "Баннер загрузки файла",
@@ -3,7 +3,7 @@ import { downloadFile as s } from "../../../Actions/downloadFile/downloadFile.js
3
3
  import { c } from "../../../createBoolean-56064b0d.js";
4
4
  import { B as n } from "../../../index-875e92ce.js";
5
5
  import { B as b } from "../../../const-53dff524.js";
6
- import { C as f } from "../../../ComponentContainer-68340535.js";
6
+ import { C as f } from "../../../ComponentContainer-05e27e82.js";
7
7
  import { I as g } from "../../../index-9384c6d6.js";
8
8
  import { c as d } from "../../../cn-6a4bf187.js";
9
9
  import { u as h } from "../../../useScreenSize-c1b64c02.js";
@@ -1,4 +1,4 @@
1
- import { C as o } from "../../../index-b826f1c7.js";
1
+ import { C as o } from "../../../index-0a5f313c.js";
2
2
  import { propsToEdit as t } from "./index.js";
3
3
  const e = {
4
4
  title: "Яркий блок загрузки",
@@ -1,12 +1,13 @@
1
- import { jsx as l, jsxs as a } from "react/jsx-runtime";
2
- import { downloadFile as s } from "../../../Actions/downloadFile/downloadFile.js";
1
+ import { jsx as o, jsxs as a } from "react/jsx-runtime";
2
+ import { downloadFile as i } from "../../../Actions/downloadFile/downloadFile.js";
3
3
  import { DataTypesEnum as p, FieldTypes as r } from "../../../Types/FiledTypes.js";
4
4
  import { I as t } from "../../../Icon-70ea6cb8.js";
5
5
  import { p as n } from "../../../palette-c2fe86ec.js";
6
- import { B as i } from "../../../index-875e92ce.js";
7
- import { b as c } from "../../../const-53dff524.js";
8
- import { C as d } from "../../../ComponentContainer-68340535.js";
9
- const x = {
6
+ import { B as c } from "../../../index-875e92ce.js";
7
+ import { b as x } from "../../../const-53dff524.js";
8
+ import { C as d } from "../../../ComponentContainer-05e27e82.js";
9
+ import { u as m } from "../../../useScreenSize-c1b64c02.js";
10
+ const f = {
10
11
  dataType: p.array,
11
12
  type: "data",
12
13
  label: "Файлы для скачивания",
@@ -15,41 +16,44 @@ const x = {
15
16
  text: r.STRING,
16
17
  file: r.FILE
17
18
  }
18
- }, f = [x], m = ({ data: o }) => /* @__PURE__ */ l(d, { children: /* @__PURE__ */ l("div", { className: "flex flex-col gap-2", children: o == null ? void 0 : o.map((e) => /* @__PURE__ */ a("div", { className: "px-[48px] py-8 bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
19
- /* @__PURE__ */ a("div", { className: "flex items-center gap-4 max-tablet:flex-col max-tablet:items-start", children: [
20
- /* @__PURE__ */ l(
21
- t,
22
- {
23
- className: "flex-shrink-0",
24
- name: "file",
25
- color: n.greenLight,
26
- size: 44
27
- }
28
- ),
29
- /* @__PURE__ */ a("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
30
- /* @__PURE__ */ l("p", { className: "text-[20px] leading-7 font-bold", children: e == null ? void 0 : e.title }),
31
- /* @__PURE__ */ l("p", { className: "text-[16px] leading-6", children: e == null ? void 0 : e.text })
32
- ] })
33
- ] }),
34
- /* @__PURE__ */ l(
35
- i,
36
- {
37
- variant: c.Secondary,
38
- onClick: () => s({ props: { link: e == null ? void 0 : e.file } }),
39
- iconRight: /* @__PURE__ */ l(
19
+ }, b = [f], h = ({ data: l }) => {
20
+ const s = m(960) ? 30 : 44;
21
+ return /* @__PURE__ */ o(d, { children: /* @__PURE__ */ o("div", { className: "flex flex-col gap-2", children: l == null ? void 0 : l.map((e) => /* @__PURE__ */ a("div", { className: "px-[48px] py-[32px] max-tablet:px-[32px] bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
22
+ /* @__PURE__ */ a("div", { className: "flex items-center gap-[16px] max-tablet:flex-col max-tablet:items-start", children: [
23
+ /* @__PURE__ */ o(
40
24
  t,
41
25
  {
42
- name: "download",
43
- size: 20,
44
- color: n.blackBG
26
+ className: "flex-shrink-0",
27
+ name: "file",
28
+ color: n.greenLight,
29
+ size: s
45
30
  }
46
- )
47
- }
48
- )
49
- ] })) }) });
50
- m.propsToEdit = f;
31
+ ),
32
+ /* @__PURE__ */ a("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
33
+ /* @__PURE__ */ o("p", { className: "text-[20px] leading-7 font-bold", children: e == null ? void 0 : e.title }),
34
+ /* @__PURE__ */ o("p", { className: "text-[16px] leading-6", children: e == null ? void 0 : e.text })
35
+ ] })
36
+ ] }),
37
+ /* @__PURE__ */ o(
38
+ c,
39
+ {
40
+ variant: x.Secondary,
41
+ onClick: () => i({ props: { link: e == null ? void 0 : e.file } }),
42
+ iconRight: /* @__PURE__ */ o(
43
+ t,
44
+ {
45
+ name: "download",
46
+ size: 20,
47
+ color: n.blackBG
48
+ }
49
+ )
50
+ }
51
+ )
52
+ ] })) }) });
53
+ };
54
+ h.propsToEdit = b;
51
55
  export {
52
- m as DownloadFileFull,
53
- x as downloadFileFullProps,
54
- f as propsToEdit
56
+ h as DownloadFileFull,
57
+ f as downloadFileFullProps,
58
+ b as propsToEdit
55
59
  };
@@ -1,4 +1,4 @@
1
- import { C as o } from "../../../index-b826f1c7.js";
1
+ import { C as o } from "../../../index-0a5f313c.js";
2
2
  import { propsToEdit as t } from "./DownloadFileFull.js";
3
3
  const p = {
4
4
  title: "Полный блок загрузки",
@@ -1,62 +1,66 @@
1
- import { jsx as l, jsxs as n } from "react/jsx-runtime";
2
- import { downloadFile as i } from "../../../Actions/downloadFile/downloadFile.js";
3
- import { DataTypesEnum as d, FieldTypes as a } from "../../../Types/FiledTypes.js";
4
- import { I as e } from "../../../Icon-70ea6cb8.js";
1
+ import { jsx as l, jsxs as r } from "react/jsx-runtime";
2
+ import { downloadFile as t } from "../../../Actions/downloadFile/downloadFile.js";
3
+ import { DataTypesEnum as c, FieldTypes as e } from "../../../Types/FiledTypes.js";
4
+ import { I as n } from "../../../Icon-70ea6cb8.js";
5
5
  import { p as s } from "../../../palette-c2fe86ec.js";
6
- import { B as c } from "../../../index-875e92ce.js";
7
- import { b as t } from "../../../const-53dff524.js";
8
- import { C as f } from "../../../ComponentContainer-68340535.js";
9
- const x = {
10
- dataType: d.array,
6
+ import { B as d } from "../../../index-875e92ce.js";
7
+ import { b as x } from "../../../const-53dff524.js";
8
+ import { C as f } from "../../../ComponentContainer-05e27e82.js";
9
+ import { u as m } from "../../../useScreenSize-c1b64c02.js";
10
+ const b = {
11
+ dataType: c.array,
11
12
  type: "data",
12
13
  label: "Файлы для скачивания",
13
14
  data: {
14
- title: a.STRING,
15
- text: a.STRING,
16
- file: a.FILE
15
+ title: e.STRING,
16
+ text: e.STRING,
17
+ file: e.FILE
17
18
  }
18
- }, h = [x, "color_icon"], m = ({ data: r, color_icon: p }) => /* @__PURE__ */ l(f, { children: /* @__PURE__ */ l("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ n(
19
- "div",
20
- {
21
- className: "p-[32px] bg-white rounded-[20px] flex justify-between gap-[40px]",
22
- children: [
23
- /* @__PURE__ */ l("div", { className: "flex flex-col ", children: /* @__PURE__ */ n("div", { children: [
24
- /* @__PURE__ */ l("p", { className: "text-[24px] leading-8 font-bold mb-4", children: o == null ? void 0 : o.title }),
25
- /* @__PURE__ */ l("p", { className: "text-[16px] leading-6", children: o == null ? void 0 : o.text }),
19
+ }, g = [b, "color_icon"], h = ({ data: a, color_icon: p }) => {
20
+ const i = m(960) ? 30 : 48;
21
+ return /* @__PURE__ */ l(f, { children: /* @__PURE__ */ l("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: a == null ? void 0 : a.map((o) => /* @__PURE__ */ r(
22
+ "div",
23
+ {
24
+ className: "p-[32px] bg-white rounded-[20px] flex max-tablet:flex-col-reverse justify-between gap-[40px] max-tablet:gap-[24px]",
25
+ children: [
26
+ /* @__PURE__ */ l("div", { className: "flex flex-col ", children: /* @__PURE__ */ r("div", { children: [
27
+ /* @__PURE__ */ l("p", { className: "text-[24px] leading-[32px] font-bold mb-[16px] max-tablet:mb-[12px]", children: o == null ? void 0 : o.title }),
28
+ /* @__PURE__ */ l("p", { className: "text-[16px] leading-[24px]", children: o == null ? void 0 : o.text }),
29
+ /* @__PURE__ */ l(
30
+ d,
31
+ {
32
+ onClick: () => t({ props: { link: o == null ? void 0 : o.file } }),
33
+ iconRight: /* @__PURE__ */ l(
34
+ n,
35
+ {
36
+ name: "download",
37
+ size: 20,
38
+ color: s.blackBG
39
+ }
40
+ ),
41
+ className: "mt-8 max-tablet:mt-[24px]",
42
+ variant: x.Secondary,
43
+ children: "Скачать"
44
+ }
45
+ )
46
+ ] }) }),
26
47
  /* @__PURE__ */ l(
27
- c,
48
+ n,
28
49
  {
29
- onClick: () => i({ props: { link: o == null ? void 0 : o.file } }),
30
- iconRight: /* @__PURE__ */ l(
31
- e,
32
- {
33
- name: "download",
34
- size: 20,
35
- color: s.blackBG
36
- }
37
- ),
38
- className: "mt-8",
39
- variant: t.Secondary,
40
- children: "Скачать"
50
+ className: "flex-shrink-0",
51
+ name: "file",
52
+ color: p || s.greenLight,
53
+ size: i
41
54
  }
42
55
  )
43
- ] }) }),
44
- /* @__PURE__ */ l(
45
- e,
46
- {
47
- className: "flex-shrink-0",
48
- name: "file",
49
- color: p || s.greenLight,
50
- size: 48
51
- }
52
- )
53
- ]
54
- },
55
- o == null ? void 0 : o.id
56
- )) }) });
57
- m.propsToEdit = h;
56
+ ]
57
+ },
58
+ o == null ? void 0 : o.id
59
+ )) }) });
60
+ };
61
+ h.propsToEdit = g;
58
62
  export {
59
- m as DownloadFileHalf,
60
- x as downloadFileFullProps,
61
- h as propsToEdit
63
+ h as DownloadFileHalf,
64
+ b as downloadFileFullProps,
65
+ g as propsToEdit
62
66
  };
@@ -1,4 +1,4 @@
1
- import { C as o } from "../../../index-b826f1c7.js";
1
+ import { C as o } from "../../../index-0a5f313c.js";
2
2
  import { propsToEdit as t } from "./DownloadFileHalf.js";
3
3
  const p = {
4
4
  title: "Половина блока загрузки",
@@ -5,7 +5,7 @@ import { I as e } from "../../../Icon-70ea6cb8.js";
5
5
  import { p } from "../../../palette-c2fe86ec.js";
6
6
  import { B as d } from "../../../index-875e92ce.js";
7
7
  import { b as c } from "../../../const-53dff524.js";
8
- import { C as t } from "../../../ComponentContainer-68340535.js";
8
+ import { C as t } from "../../../ComponentContainer-05e27e82.js";
9
9
  const y = {
10
10
  dataType: i.array,
11
11
  type: "data",
@@ -1,4 +1,4 @@
1
- import { C as o } from "../../../index-b826f1c7.js";
1
+ import { C as o } from "../../../index-0a5f313c.js";
2
2
  import { propsToEdit as t } from "./DownloadFileMini.js";
3
3
  const n = {
4
4
  title: "Мини блок загрузки",
@@ -0,0 +1,50 @@
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import { downloadFile as m } from "../../../Actions/downloadFile/downloadFile.js";
3
+ import { I as l } from "../../../Icon-70ea6cb8.js";
4
+ import { p as a } from "../../../palette-c2fe86ec.js";
5
+ import { B as p } from "../../../index-875e92ce.js";
6
+ import { C as s } from "../../../ComponentContainer-05e27e82.js";
7
+ import { u as x } from "../../../useScreenSize-c1b64c02.js";
8
+ const c = ["title", "text", "link"], d = ({
9
+ title: o,
10
+ text: i,
11
+ link: r
12
+ }) => {
13
+ const n = x(960);
14
+ return /* @__PURE__ */ e(s, { children: /* @__PURE__ */ t("div", { className: "p-[48px] max-tablet:p-[32px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-[32px]", children: [
15
+ /* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ t("div", { children: [
16
+ /* @__PURE__ */ e("p", { className: "text-[32px] max-tablet:text-[24px] leading-10 max-tablet:leading-[28px] font-bold mb-4 max-tablet:mb-[16px]", children: o }),
17
+ /* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: i }),
18
+ /* @__PURE__ */ e(
19
+ p,
20
+ {
21
+ onClick: () => m({ props: { link: r } }),
22
+ iconRight: /* @__PURE__ */ e(
23
+ l,
24
+ {
25
+ name: "download",
26
+ size: 20,
27
+ color: a.blackBG
28
+ }
29
+ ),
30
+ className: "w-fit max-tablet:w-full mt-8",
31
+ children: "Скачать"
32
+ }
33
+ )
34
+ ] }) }),
35
+ /* @__PURE__ */ e(
36
+ l,
37
+ {
38
+ className: "flex-shrink-0",
39
+ name: "file",
40
+ color: a.greenLight,
41
+ size: n ? 56 : 82
42
+ }
43
+ )
44
+ ] }) });
45
+ };
46
+ d.propsToEdit = c;
47
+ export {
48
+ d as FileBannerSecondary,
49
+ c as propsToEdit
50
+ };
@@ -0,0 +1,4 @@
1
+ import { FileBannerSecondary as n } from "./FileBannerSecondary.js";
2
+ export {
3
+ n as FileBannerSecondary
4
+ };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../../../index-0a5f313c.js";
2
+ import { propsToEdit as n } from "./FileBannerSecondary.js";
3
+ const r = {
4
+ title: "Баннер загрузки файла",
5
+ description: "Компонент баннера для скачивания файлов с заголовком, описанием и ссылкой на файл. Используется для привлечения внимания к возможности загрузки документов или файлов.",
6
+ types: [o.downloads, o.banners],
7
+ propsToEdit: n
8
+ };
9
+ export {
10
+ r as downloadFileBannerInfo
11
+ };
package/dist/Faq/Faq.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
2
  import { Collapse as e } from "./components/Collapse/Collapse.js";
3
- import { FeedbackForm as t } from "./components/FeedbackForm/FeedbackForm.js";
3
+ import { F as t } from "../index-a0ed2e4a.js";
4
4
  import { HtmlContent as x } from "../HtmlContent/HtmlContent.js";
5
5
  import { FieldTypes as p } from "../Types/FiledTypes.js";
6
- import { C as c } from "../ComponentContainer-68340535.js";
6
+ import { C as c } from "../ComponentContainer-05e27e82.js";
7
7
  const d = {
8
8
  type: "data",
9
9
  label: "Вопрос",
@@ -1,57 +1,8 @@
1
- import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
- import { useState as g } from "react";
3
- import { u as k, F as y } from "../../../index.esm-67811428.js";
4
- import { B as i } from "../../../index-875e92ce.js";
5
- import { a as c, b as d } from "../../../const-53dff524.js";
6
- const V = ({ faqId: m, percent: u }) => {
7
- const [a, s] = g(!1), l = k({
8
- defaultValues: {
9
- faq: m
10
- }
11
- }), { handleSubmit: x, setValue: p, getValues: b } = l, f = (t) => {
12
- try {
13
- s(!0), console.log("Submitted:", t);
14
- } catch (h) {
15
- console.error("Error submitting feedback:", h);
16
- } finally {
17
- s(!1);
18
- }
19
- }, o = (t) => {
20
- p("rate", t), x(f)();
21
- }, n = b("rate");
22
- return /* @__PURE__ */ e(y, { ...l, children: /* @__PURE__ */ e("form", { children: /* @__PURE__ */ r("div", { className: "mt-6 flex items-center gap-6 max-tablet:flex-col max-tablet:items-start", children: [
23
- /* @__PURE__ */ r("div", { className: "border-l-2 border-green pl-6 mr-14 shrink-0", children: [
24
- /* @__PURE__ */ e("span", { className: "text-gray2 block text-[14px] leading-5", children: `${u}% считают ответ полезным` }),
25
- /* @__PURE__ */ e("p", { className: "text-blackBG text-[15px] leading-[22px]", children: "Ответ был полезным?" })
26
- ] }),
27
- /* @__PURE__ */ r("div", { className: "flex items-center gap-4 w-full max-tablet::pt-4", children: [
28
- /* @__PURE__ */ e(
29
- i,
30
- {
31
- size: c.M,
32
- variant: d.Secondary,
33
- className: "w-[125px]",
34
- disabled: a,
35
- onClick: () => o("yes"),
36
- loading: n === "yes" && a,
37
- children: "Да"
38
- }
39
- ),
40
- /* @__PURE__ */ e(
41
- i,
42
- {
43
- size: c.M,
44
- variant: d.Secondary,
45
- className: "w-[125px]",
46
- disabled: a,
47
- onClick: () => o("no"),
48
- loading: n === "no" && a,
49
- children: "Нет"
50
- }
51
- )
52
- ] })
53
- ] }) }) });
54
- };
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import { F as e } from "../../../index-a0ed2e4a.js";
4
+ import "../../../index-875e92ce.js";
5
+ import "../../../const-53dff524.js";
55
6
  export {
56
- V as FeedbackForm
7
+ e as FeedbackForm
57
8
  };
@@ -1,4 +1,4 @@
1
- import { FeedbackForm as r } from "./FeedbackForm.js";
1
+ import { F as r } from "../../../index-a0ed2e4a.js";
2
2
  export {
3
3
  r as FeedbackForm
4
4
  };
package/dist/Faq/info.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as o } from "../index-b826f1c7.js";
1
+ import { C as o } from "../index-0a5f313c.js";
2
2
  import { propsToEdit as t } from "./Faq.js";
3
3
  const e = {
4
4
  title: "Часто задаваемые вопросы",
@@ -0,0 +1,22 @@
1
+ import { jsx as C } from "react/jsx-runtime";
2
+ const o = () => /* @__PURE__ */ C(
3
+ "svg",
4
+ {
5
+ width: "24",
6
+ height: "24",
7
+ viewBox: "0 0 24 24",
8
+ fill: "none",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ children: /* @__PURE__ */ C(
11
+ "path",
12
+ {
13
+ d: "M13 1.99939V7.49939C13 8.4422 13 8.9136 13.2929 9.2065C13.5858 9.49939 14.0572 9.49939 15 9.49939H19.5M20 10.4791V17.9994C20 19.885 20 20.8278 19.4142 21.4136C18.8284 21.9994 17.8856 21.9994 16 21.9994H8C6.11438 21.9994 5.17157 21.9994 4.58579 21.4136C4 20.8278 4 19.885 4 17.9994V5.99939C4 4.11377 4 3.17096 4.58579 2.58518C5.17157 1.99939 6.11438 1.99939 8 1.99939H12.1603C13.0654 1.99939 13.518 1.99939 13.9158 2.18236C14.3137 2.36534 14.6082 2.70897 15.1973 3.39622L19.037 7.87592C19.5134 8.43165 19.7515 8.70952 19.8758 9.04535C20 9.38117 20 9.74714 20 10.4791Z",
14
+ stroke: "#3E454C",
15
+ "stroke-width": "2"
16
+ }
17
+ )
18
+ }
19
+ );
20
+ export {
21
+ o as FileLoaderIcon
22
+ };