md-components-mdigial-azamat 0.0.91 → 0.0.93

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 (52) hide show
  1. package/dist/ActionIconList/ActionIconList.js +1 -1
  2. package/dist/AllComponents.js +1 -1
  3. package/dist/AllComponentsInfo.js +1 -1
  4. package/dist/Banner/Banner.js +1 -1
  5. package/dist/BannerAndText/index.js +1 -1
  6. package/dist/CardIconList/CardIconList.js +1 -1
  7. package/dist/CardImageList/CardImageList.js +1 -1
  8. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +1 -1
  9. package/dist/CardInfoTable/index.js +1 -1
  10. package/dist/Cards/WarningCard/WarningCard.js +2 -2
  11. package/dist/Cards/WarningCard/index.js +1 -1
  12. package/dist/Cards/WarningCard/info.js +1 -1
  13. package/dist/ComponentContainer-dca711c6.js +16 -0
  14. package/dist/ContentCardList/ContentCardList.js +1 -1
  15. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
  16. package/dist/DownloadFile/components/DownloadFileBright/index.js +1 -1
  17. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
  18. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
  19. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
  20. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +1 -1
  21. package/dist/Faq/Faq.js +1 -1
  22. package/dist/Forms/FormDefault/index.js +2 -2
  23. package/dist/Forms/FormDefault/info.js +1 -1
  24. package/dist/Forms/helpers/renderFormFields.js +1 -1
  25. package/dist/Forms/model/components.js +1 -1
  26. package/dist/InfoBannerList/InfoBannerList.js +1 -1
  27. package/dist/InstructionList/InstructionList.js +1 -1
  28. package/dist/IntroBanner/IntroBanner.js +1 -1
  29. package/dist/MainBanner/MainBanner.js +1 -1
  30. package/dist/ModalBody/index.js +1 -1
  31. package/dist/MultiCards/index.js +1 -1
  32. package/dist/PageViewer/renderComponents.js +1 -1
  33. package/dist/Partners/Partners.js +1 -1
  34. package/dist/PartnersColors/PartnersColors.js +1 -1
  35. package/dist/PreviewList/PreviewList.js +1 -1
  36. package/dist/PromoPoster/PromoPoster.js +1 -1
  37. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  38. package/dist/StandartTable/index.js +1 -1
  39. package/dist/Stepper/Stepper.js +1 -1
  40. package/dist/SwiperList/SwiperList.js +1 -1
  41. package/dist/TasksBannerList/TasksBannerList.js +1 -1
  42. package/dist/Video/VideoFull/VideoFull.js +1 -1
  43. package/dist/Video/VideoList/VideoList.js +1 -1
  44. package/dist/Video/VideoListMini/VideoListMini.js +1 -1
  45. package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
  46. package/dist/assets/index.css +1 -1
  47. package/dist/{componentsMap-fe7d949d.js → componentsMap-4732ea4f.js} +1 -1
  48. package/dist/{index-51282dc9.js → index-497f59a8.js} +18 -17
  49. package/dist/{info-6760fbcd.js → info-22c43f9e.js} +1 -1
  50. package/dist/main.js +2 -2
  51. package/package.json +1 -1
  52. package/dist/ComponentContainer-05e27e82.js +0 -16
@@ -10,7 +10,7 @@ import { CardImage as p } from "./Cards/CardImage/CardImage.js";
10
10
  import { ColoredCard as f } from "./Cards/ColoredCard/index.js";
11
11
  import { ContentCard as s } from "./Cards/ContentCard/ContentCard.js";
12
12
  import { FeaturesCard as d } from "./Cards/FeaturesCard/index.js";
13
- import { W as l, F as C } from "./info-6760fbcd.js";
13
+ import { W as l, F as C } from "./info-22c43f9e.js";
14
14
  import { ContentCardList as B } from "./ContentCardList/ContentCardList.js";
15
15
  import { DownloadFileBanner as F } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
16
16
  import { DownloadFileBright as L } from "./DownloadFile/components/DownloadFileBright/index.js";
@@ -1,19 +1,19 @@
1
- import { jsx as o, jsxs as u } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as u } from "react/jsx-runtime";
2
2
  import { useState as h, useEffect as c, useCallback as b } from "react";
3
3
  import { c as y } from "./cn-6a4bf187.js";
4
4
  import { createPortal as g } from "react-dom";
5
5
  const v = ({ children: n, element: r = document.body }) => g(n, r), w = (n) => {
6
- const { className: r, children: a, isOpen: e, onClose: t, lazy: p } = n, [x, m] = h(!1);
6
+ const { className: r, children: a, isOpen: e, onClose: o, lazy: p } = n, [m, x] = h(!1);
7
7
  c(() => {
8
- e && m(!0);
8
+ e && x(!0);
9
9
  }, [e]), c(() => (e ? (document.body.style.overflow = "hidden", document.body.style.paddingRight = "var(--scrollbar-width, 0px)") : (document.body.style.overflow = "", document.body.style.paddingRight = ""), () => {
10
10
  document.body.style.overflow = "", document.body.style.paddingRight = "";
11
11
  }), [e]);
12
12
  const l = b(
13
13
  (i) => {
14
- i.key === "Escape" && (t == null || t());
14
+ i.key === "Escape" && (o == null || o());
15
15
  },
16
- [t]
16
+ [o]
17
17
  );
18
18
  c(() => {
19
19
  if (e) {
@@ -30,7 +30,7 @@ const v = ({ children: n, element: r = document.body }) => g(n, r), w = (n) => {
30
30
  const f = (i) => {
31
31
  i.stopPropagation();
32
32
  };
33
- return p && !x ? null : /* @__PURE__ */ o(v, { children: /* @__PURE__ */ o(
33
+ return p && !m ? null : /* @__PURE__ */ t(v, { children: /* @__PURE__ */ t(
34
34
  "div",
35
35
  {
36
36
  className: y(
@@ -38,22 +38,22 @@ const v = ({ children: n, element: r = document.body }) => g(n, r), w = (n) => {
38
38
  e ? "opacity-100 pointer-events-auto" : "opacity-0 pointer-events-none",
39
39
  r
40
40
  ),
41
- onClick: t,
41
+ onClick: o,
42
42
  role: "dialog",
43
43
  "aria-modal": "true",
44
44
  children: /* @__PURE__ */ u(
45
45
  "div",
46
46
  {
47
47
  className: y(
48
- "relative bg-white p-6 rounded-[24px] shadow-2xl max-w-[1200px] w-[100%] max-h-[90vh] overflow-y-auto transform transition-all duration-300",
48
+ "relative bg-[#F4F6F7] p-8 rounded-[24px] shadow-2xl max-w-[1200px] w-[100%] max-h-[90vh] overflow-y-auto transform transition-all duration-300",
49
49
  e ? "scale-100 opacity-100" : "scale-95 opacity-0"
50
50
  ),
51
51
  onClick: f,
52
52
  children: [
53
- /* @__PURE__ */ o(
53
+ /* @__PURE__ */ t(
54
54
  "button",
55
55
  {
56
- onClick: t,
56
+ onClick: o,
57
57
  className: "absolute top-4 right-4 p-2 rounded-full hover:bg-gray-100 transition-colors text-gray-500",
58
58
  "aria-label": "Close",
59
59
  children: /* @__PURE__ */ u(
@@ -68,7 +68,7 @@ const v = ({ children: n, element: r = document.body }) => g(n, r), w = (n) => {
68
68
  strokeLinecap: "round",
69
69
  strokeLinejoin: "round",
70
70
  children: [
71
- /* @__PURE__ */ o(
71
+ /* @__PURE__ */ t(
72
72
  "line",
73
73
  {
74
74
  x1: "18",
@@ -77,7 +77,7 @@ const v = ({ children: n, element: r = document.body }) => g(n, r), w = (n) => {
77
77
  y2: "18"
78
78
  }
79
79
  ),
80
- /* @__PURE__ */ o(
80
+ /* @__PURE__ */ t(
81
81
  "line",
82
82
  {
83
83
  x1: "6",
@@ -91,7 +91,7 @@ const v = ({ children: n, element: r = document.body }) => g(n, r), w = (n) => {
91
91
  )
92
92
  }
93
93
  ),
94
- /* @__PURE__ */ o("div", { className: "mt-2 text-[#0e0f11]", children: a })
94
+ /* @__PURE__ */ t("div", { className: "mt-2 text-[#0e0f11]", children: a })
95
95
  ]
96
96
  }
97
97
  )
@@ -102,15 +102,16 @@ const v = ({ children: n, element: r = document.body }) => g(n, r), w = (n) => {
102
102
  title: r,
103
103
  description: a,
104
104
  isOpen: e,
105
- onClose: t
105
+ onClose: o
106
106
  }) => /* @__PURE__ */ u(
107
107
  w,
108
108
  {
109
109
  isOpen: e,
110
- onClose: t,
110
+ onClose: o,
111
111
  children: [
112
- /* @__PURE__ */ o("h2", { className: "text-[44px] leading-[52px] font-bold mb-[24px] text-center", children: r }),
113
- /* @__PURE__ */ o("p", { className: "text-[18px] leading-[26px] text-graySoft text-center", children: a }),
112
+ /* @__PURE__ */ t("div", { className: "bg-white", children: "123" }),
113
+ /* @__PURE__ */ t("h2", { className: "text-[44px] leading-[52px] font-bold mb-[24px] text-center", children: r }),
114
+ /* @__PURE__ */ t("p", { className: "text-[18px] leading-[26px] text-graySoft text-center", children: a }),
114
115
  n
115
116
  ]
116
117
  }
@@ -45,7 +45,7 @@ import { CardInfoTable as Ee } from "./CardInfoTable/index.js";
45
45
  import { DownloadFileBright as Xe } from "./DownloadFile/components/DownloadFileBright/index.js";
46
46
  import "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
47
47
  import { C as qe, u as ze } from "./index-a0ed2e4a.js";
48
- import { C as ee } from "./ComponentContainer-05e27e82.js";
48
+ import { C as ee } from "./ComponentContainer-dca711c6.js";
49
49
  import { u as Ye } from "./useScreenSize-c1b64c02.js";
50
50
  import Ke from "./FileLoader/index.js";
51
51
  import { u as X } from "./useClickOutside-197b0df2.js";
package/dist/main.js CHANGED
@@ -22,7 +22,7 @@ import { PartnersColors as $ } from "./PartnersColors/PartnersColors.js";
22
22
  import { PreviewList as ro } from "./PreviewList/PreviewList.js";
23
23
  import { CardImage as to } from "./Cards/CardImage/CardImage.js";
24
24
  import { ContentCard as po } from "./Cards/ContentCard/ContentCard.js";
25
- import { a as mo, A as fo, F as xo, W as so } from "./info-6760fbcd.js";
25
+ import { a as mo, A as fo, F as xo, W as so } from "./info-22c43f9e.js";
26
26
  import { ColoredCard as io } from "./Cards/ColoredCard/index.js";
27
27
  import { FeaturesCard as co } from "./Cards/FeaturesCard/index.js";
28
28
  import { DownloadFileBanner as Fo } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -43,7 +43,7 @@ import { FieldTypes as Ko } from "./Types/FiledTypes.js";
43
43
  import { B as Qo } from "./const-53dff524.js";
44
44
  import { Space as Uo } from "./Space/Space.js";
45
45
  import { FileBannerSecondary as Yo } from "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
46
- import { M as $o, a as or } from "./index-51282dc9.js";
46
+ import { M as $o, a as or } from "./index-497f59a8.js";
47
47
  import { useState as f, useCallback as r } from "react";
48
48
  import { S as er } from "./size-b1291031.js";
49
49
  import { TitleBlock as ar } from "./TitleBlock/TitleBlock.js";
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.91",
5
+ "version": "0.0.93",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",
@@ -1,16 +0,0 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { c as x } from "./cn-6a4bf187.js";
3
- const r = ({ children: a, className: l, style: t }) => /* @__PURE__ */ m(
4
- "section",
5
- {
6
- style: t,
7
- className: x(
8
- "max-w-[1232px] w-full max-tablet:w-full mx-auto px-0 max-tablet:px-[16px] relative max-tablet:max-w-full md:max-w-full lg:max-w-full overflow-x-hidden",
9
- l
10
- ),
11
- children: a
12
- }
13
- );
14
- export {
15
- r as C
16
- };