md-components-mdigial-azamat 0.0.85 → 0.0.86
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.
package/dist/AllComponents.js
CHANGED
|
@@ -8,7 +8,7 @@ import "./CardInfoTable/index.js";
|
|
|
8
8
|
import "./ContentCardList/ContentCardList.js";
|
|
9
9
|
import "./DownloadFile/components/DownloadFileBright/index.js";
|
|
10
10
|
import "./Faq/Faq.js";
|
|
11
|
-
import { a as
|
|
11
|
+
import { a as Wo, A as Xo } from "./info-af79abc0.js";
|
|
12
12
|
import "./InfoBannerList/InfoBannerList.js";
|
|
13
13
|
import "./IntroBanner/IntroBanner.js";
|
|
14
14
|
import "./MainBanner/MainBanner.js";
|
|
@@ -53,7 +53,6 @@ import "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
|
|
|
53
53
|
import "./InfoBanner/index.js";
|
|
54
54
|
import "./Space/Space.js";
|
|
55
55
|
import "./TasksBanner/TasksBanner.js";
|
|
56
|
-
import "./TitleBlock/TitleBlock.js";
|
|
57
56
|
import "./index-869896ab.js";
|
|
58
57
|
import "./AnimatedSwiper/info.js";
|
|
59
58
|
import "./Banner/info.js";
|
|
@@ -100,6 +99,6 @@ import "./Video/VideoListMini/info.js";
|
|
|
100
99
|
import "./VideoMainBanner/info.js";
|
|
101
100
|
import "./Actions/types.js";
|
|
102
101
|
export {
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
Wo as AllComponents,
|
|
103
|
+
Xo as AllComponentsData
|
|
105
104
|
};
|
|
@@ -29,7 +29,7 @@ import "../../PartnersColors/PartnersColors.js";
|
|
|
29
29
|
import "../../PreviewList/PreviewList.js";
|
|
30
30
|
import "../CardImage/CardImage.js";
|
|
31
31
|
import "../ContentCard/ContentCard.js";
|
|
32
|
-
import { W as
|
|
32
|
+
import { W as Yr, p as Zr } from "../../info-af79abc0.js";
|
|
33
33
|
import "../ColoredCard/index.js";
|
|
34
34
|
import "../FeaturesCard/index.js";
|
|
35
35
|
import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
@@ -54,7 +54,6 @@ import "../../SwiperList/SwiperList.js";
|
|
|
54
54
|
import "../../TasksBanner/TasksBanner.js";
|
|
55
55
|
import "../../TasksBannerList/TasksBannerList.js";
|
|
56
56
|
import "../../VideoMainBanner/VideoMainBanner.js";
|
|
57
|
-
import "../../TitleBlock/TitleBlock.js";
|
|
58
57
|
import "../../index-869896ab.js";
|
|
59
58
|
import "../../AnimatedSwiper/info.js";
|
|
60
59
|
import "../../Banner/info.js";
|
|
@@ -103,6 +102,6 @@ import "../../Actions/types.js";
|
|
|
103
102
|
import "../../Icon-70ea6cb8.js";
|
|
104
103
|
import "../../ComponentContainer-05e27e82.js";
|
|
105
104
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
Yr as WarningCard,
|
|
106
|
+
Zr as propsToEdit
|
|
108
107
|
};
|
|
@@ -27,7 +27,7 @@ import "../../PartnersColors/PartnersColors.js";
|
|
|
27
27
|
import "../../PreviewList/PreviewList.js";
|
|
28
28
|
import "../../Cards/CardImage/CardImage.js";
|
|
29
29
|
import "../../Cards/ContentCard/ContentCard.js";
|
|
30
|
-
import { e as
|
|
30
|
+
import { e as Yo, f as Zo, d as _o, i as $o } from "../../info-af79abc0.js";
|
|
31
31
|
import "../../Cards/ColoredCard/index.js";
|
|
32
32
|
import "../../Cards/FeaturesCard/index.js";
|
|
33
33
|
import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
@@ -53,7 +53,6 @@ import "../../TasksBanner/TasksBanner.js";
|
|
|
53
53
|
import "../../TasksBannerList/TasksBannerList.js";
|
|
54
54
|
import "../../VideoMainBanner/VideoMainBanner.js";
|
|
55
55
|
import "../../Types/FiledTypes.js";
|
|
56
|
-
import "../../TitleBlock/TitleBlock.js";
|
|
57
56
|
import "../../index-869896ab.js";
|
|
58
57
|
import "../../AnimatedSwiper/info.js";
|
|
59
58
|
import "../../Banner/info.js";
|
|
@@ -102,8 +101,8 @@ import "../../Actions/types.js";
|
|
|
102
101
|
import "../../index-0a5f313c.js";
|
|
103
102
|
import "./componentTypes.js";
|
|
104
103
|
export {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
104
|
+
Yo as FormFieldsProps,
|
|
105
|
+
Zo as formDefaultInfo,
|
|
106
|
+
_o as formDefaultProps,
|
|
107
|
+
$o as info
|
|
109
108
|
};
|
package/dist/ModalBody/index.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { jsx as o, jsxs as u } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useState as b, useEffect as c, useCallback as w } from "react";
|
|
2
|
+
import { useState as h, useEffect as c, useCallback as b } from "react";
|
|
4
3
|
import { c as y } from "../cn-6a4bf187.js";
|
|
5
|
-
import { r as
|
|
6
|
-
const
|
|
7
|
-
const { className: r, children: l, isOpen: e, onClose: t, lazy: m } = n, [p,
|
|
4
|
+
import { r as g } from "../index-869896ab.js";
|
|
5
|
+
const w = ({ children: n, element: r = document.body }) => g.createPortal(n, r), v = (n) => {
|
|
6
|
+
const { className: r, children: l, isOpen: e, onClose: t, lazy: m } = n, [p, x] = h(!1);
|
|
8
7
|
c(() => {
|
|
9
|
-
e &&
|
|
8
|
+
e && x(!0);
|
|
10
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 = ""), () => {
|
|
11
10
|
document.body.style.overflow = "", document.body.style.paddingRight = "";
|
|
12
11
|
}), [e]);
|
|
13
|
-
const a =
|
|
12
|
+
const a = b(
|
|
14
13
|
(i) => {
|
|
15
14
|
i.key === "Escape" && (t == null || t());
|
|
16
15
|
},
|
|
@@ -28,10 +27,10 @@ const g = ({ children: n, element: r = document.body }) => v.createPortal(n, r),
|
|
|
28
27
|
window.removeEventListener("keydown", a);
|
|
29
28
|
};
|
|
30
29
|
}, [e, a]);
|
|
31
|
-
const
|
|
30
|
+
const f = (i) => {
|
|
32
31
|
i.stopPropagation();
|
|
33
32
|
};
|
|
34
|
-
return m && !p ? null : /* @__PURE__ */ o(
|
|
33
|
+
return m && !p ? null : /* @__PURE__ */ o(w, { children: /* @__PURE__ */ o(
|
|
35
34
|
"div",
|
|
36
35
|
{
|
|
37
36
|
className: y(
|
|
@@ -49,7 +48,7 @@ const g = ({ children: n, element: r = document.body }) => v.createPortal(n, r),
|
|
|
49
48
|
"relative bg-white p-6 rounded-[24px] shadow-2xl max-w-[95%] sm:max-w-[500px] w-full max-h-[90vh] overflow-y-auto transform transition-all duration-300",
|
|
50
49
|
e ? "scale-100 opacity-100" : "scale-95 opacity-0"
|
|
51
50
|
),
|
|
52
|
-
onClick:
|
|
51
|
+
onClick: f,
|
|
53
52
|
children: [
|
|
54
53
|
/* @__PURE__ */ o(
|
|
55
54
|
"button",
|
|
@@ -98,29 +97,24 @@ const g = ({ children: n, element: r = document.body }) => v.createPortal(n, r),
|
|
|
98
97
|
)
|
|
99
98
|
}
|
|
100
99
|
) });
|
|
101
|
-
},
|
|
102
|
-
components: n,
|
|
100
|
+
}, j = ({
|
|
101
|
+
components: n = [],
|
|
103
102
|
title: r,
|
|
104
103
|
description: l,
|
|
105
104
|
isOpen: e,
|
|
106
105
|
onClose: t
|
|
107
106
|
}) => /* @__PURE__ */ u(
|
|
108
|
-
|
|
107
|
+
v,
|
|
109
108
|
{
|
|
110
109
|
isOpen: e,
|
|
111
110
|
onClose: t,
|
|
112
111
|
children: [
|
|
113
|
-
/* @__PURE__ */ o(
|
|
114
|
-
|
|
115
|
-
{
|
|
116
|
-
title: r,
|
|
117
|
-
description: l
|
|
118
|
-
}
|
|
119
|
-
),
|
|
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: l }),
|
|
120
114
|
n
|
|
121
115
|
]
|
|
122
116
|
}
|
|
123
117
|
);
|
|
124
118
|
export {
|
|
125
|
-
|
|
119
|
+
j as ModalBody
|
|
126
120
|
};
|