md-components-mdigial-azamat 0.0.11 → 0.0.13
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/README.md +1 -1
- package/dist/AllComponents.js +130 -0
- package/dist/AnimatedSwiper/Slide/Slide.js +57 -0
- package/dist/AnimatedSwiper/Slide/index.js +4 -0
- package/dist/AnimatedSwiper/index.js +117 -0
- package/dist/AnimatedSwiper/types.js +1 -0
- package/dist/Banner/Banner.js +34 -48
- package/dist/BannerAndText/index.js +4 -8
- package/dist/CardIconList/CardIconList.js +4 -10
- package/dist/CardImageList/CardImageList.js +4 -9
- package/dist/CardImageSecondary/CardImageSecondary.js +50 -0
- package/dist/CardImageSecondary/index.js +4 -0
- package/dist/CardImageSecondary/types.js +1 -0
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +21 -0
- package/dist/CardImageSecondaryList/index.js +4 -0
- package/dist/CardImageSecondaryList/types.js +1 -0
- package/dist/CardInfoTable/index.js +153 -0
- package/dist/CardInfoTable/types.js +1 -0
- package/dist/Cards/CardImage/CardImage.js +3 -5
- package/dist/Cards/ColoredCard/index.js +3 -7
- package/dist/Cards/ContentCard/ContentCard.js +12 -13
- package/dist/Cards/FeaturesCard/index.js +3 -3
- package/dist/Cards/WarningCard/WarningCard.js +16 -20
- package/dist/Cards/WarningCard/model.js +1 -1
- package/dist/ComponentContainer-0fcc2695.js +16 -0
- package/dist/ConfigProvider/index.js +1 -3
- package/dist/ContentCardList/ContentCardList.js +2 -4
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +22 -19
- package/dist/DownloadFile/components/DownloadFileBright/index.js +103 -0
- package/dist/DownloadFile/components/DownloadFileBright/types.js +1 -0
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +15 -16
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +14 -15
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +12 -13
- package/dist/EmptyBox/EmptyBox.js +5 -0
- package/dist/EmptyBox/types.js +1 -0
- package/dist/Faq/Faq.js +2 -5
- package/dist/Faq/components/Collapse/Collapse.js +1 -4
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +95 -94
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
- package/dist/HeroPossibilityBanner/index.js +1 -1
- package/dist/HtmlContent/HtmlContent.js +2 -5
- package/dist/InfoBanner/index.js +73 -0
- package/dist/InfoBanner/types.js +1 -0
- package/dist/InfoBannerList/InfoBannerList.js +37 -0
- package/dist/InfoBannerList/index.js +4 -0
- package/dist/InfoBannerList/types.js +1 -0
- package/dist/InstructionList/InstructionList.js +3 -7
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +2 -4
- package/dist/InstructionList/components/InstructionModal/InstructionModal.js +2 -2
- package/dist/IntroBanner/IntroBanner.js +60 -0
- package/dist/IntroBanner/index.js +4 -0
- package/dist/IntroBanner/types.js +1 -0
- package/dist/MainBanner/MainBanner.js +4 -4
- package/dist/MultiCards/index.js +1 -1
- package/dist/PageViewer/ComponentsView.js +9 -0
- package/dist/PageViewer/PageViewer.js +6 -0
- package/dist/PageViewer/index.js +4 -0
- package/dist/PageViewer/renderComponents.js +26 -0
- package/dist/Partners/Partners.js +3 -5
- package/dist/PartnersColors/PartnersColors.js +2 -7
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
- package/dist/PreviewList/PreviewList.js +3 -9
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +13 -14
- package/dist/PromoPoster/PromoPoster.js +36 -0
- package/dist/PromoPoster/types.js +1 -0
- package/dist/RenderAllComponents/RenderAllComponents.js +16 -0
- package/dist/RenderAllComponents/const.js +43 -0
- package/dist/RenderAllComponents/index.js +4 -0
- package/dist/Segments/Segments.js +2 -5
- package/dist/StandartTable/components/CardMarkedRow/index.js +75 -0
- package/dist/StandartTable/components/CardMarkedRow/types.js +1 -0
- package/dist/StandartTable/components/CardWarning/index.js +89 -0
- package/dist/StandartTable/components/CardWarning/types.js +1 -0
- package/dist/StandartTable/index.js +48 -0
- package/dist/StandartTable/types.js +1 -0
- package/dist/Stepper/Stepper.js +4 -8
- package/dist/SwiperList/SwiperList.js +44 -3191
- package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
- package/dist/SwiperList/components/Slide/Slide.js +2 -2
- package/dist/TasksBanner/TasksBanner.js +108 -0
- package/dist/TasksBanner/index.js +4 -0
- package/dist/TasksBanner/types.js +1 -0
- package/dist/TasksBannerList/TasksBannerList.js +17 -0
- package/dist/TasksBannerList/index.js +4 -0
- package/dist/TasksBannerList/types.js +1 -0
- package/dist/Video/VideoFull/VideoFull.js +2 -4
- package/dist/Video/VideoList/VideoList.js +2 -4
- package/dist/Video/VideoListMini/VideoListMini.js +2 -4
- package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +148 -0
- package/dist/VideoMainBanner/index.js +4 -0
- package/dist/VideoMainBanner/types.js +1 -0
- package/dist/assets/TasksBanner.css +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cn-eacd4725.js → cn-d8c04b28.js} +1 -0
- package/dist/componentsMap-8af3b722.js +71 -0
- package/dist/const-9041b93a.js +5 -0
- package/dist/data.mock-741c2220.js +1714 -0
- package/dist/{index-fb8c9446.js → index-60dfa873.js} +1 -1
- package/dist/{index-b52a1a9d.js → index-6e0f7db0.js} +3 -7
- package/dist/index-b3d6aed3.js +52 -0
- package/dist/main.js +1 -1
- package/dist/{palette-52b06a82.js → palette-ac8c8a5f.js} +7 -2
- package/dist/swiper-react-c049ea66.js +3158 -0
- package/dist/trash/HeroLargeCards/index.js +1 -1
- package/dist/useScreenSize-c1b64c02.js +19 -0
- package/package.json +1 -1
- package/dist/ComponentContainer-41408843.js +0 -15
- package/dist/index-89dcf24f.js +0 -54
- /package/dist/assets/{SwiperList.css → swiper-react.css} +0 -0
- /package/dist/assets/{Slide.css → swiper.css} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useState as d, useEffect as o } from "react";
|
|
2
|
+
const w = (i = 768) => {
|
|
3
|
+
const [n, t] = d({
|
|
4
|
+
width: void 0,
|
|
5
|
+
height: void 0
|
|
6
|
+
});
|
|
7
|
+
return o(() => {
|
|
8
|
+
function e() {
|
|
9
|
+
t({
|
|
10
|
+
width: window.innerWidth,
|
|
11
|
+
height: window.innerHeight
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
return window.addEventListener("resize", e), e(), () => window.removeEventListener("resize", e);
|
|
15
|
+
}, []), n.width <= i;
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
w as u
|
|
19
|
+
};
|
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { c as l } from "./cn-eacd4725.js";
|
|
3
|
-
const e = ({ children: a, className: t }) => /* @__PURE__ */ m(
|
|
4
|
-
"section",
|
|
5
|
-
{
|
|
6
|
-
className: l(
|
|
7
|
-
"w-[1232px] max-tablet:w-full mx-auto px-4 relative max-tablet:max-w-[960px] md:max-w-full lg:max-w-full",
|
|
8
|
-
t
|
|
9
|
-
),
|
|
10
|
-
children: a
|
|
11
|
-
}
|
|
12
|
-
);
|
|
13
|
-
export {
|
|
14
|
-
e as C
|
|
15
|
-
};
|
package/dist/index-89dcf24f.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { jsxs as g, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as y } from "react";
|
|
3
|
-
import { c as h } from "./cn-eacd4725.js";
|
|
4
|
-
var l = /* @__PURE__ */ ((e) => (e.S = "s", e.M = "m", e.L = "l", e.XL = "xl", e))(l || {}), r = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.SecondaryBlue = "secondaryBlue", e.Grey = "grey", e.Static = "static", e.Brand = "brand", e))(r || {});
|
|
5
|
-
const m = y(
|
|
6
|
-
({
|
|
7
|
-
children: e,
|
|
8
|
-
size: d = l.XL,
|
|
9
|
-
variant: o = r.Primary,
|
|
10
|
-
loading: i = !1,
|
|
11
|
-
iconRight: t,
|
|
12
|
-
iconLeft: s,
|
|
13
|
-
className: p,
|
|
14
|
-
...n
|
|
15
|
-
}, b) => {
|
|
16
|
-
const x = {
|
|
17
|
-
[l.S]: "",
|
|
18
|
-
[l.M]: "px-[12px] py-[8px] rounded-[12px] text-[14px] h-[36px]",
|
|
19
|
-
[l.L]: "px-[16px] py-[10px] rounded-[16px] text-[16px] h-[44px]",
|
|
20
|
-
[l.XL]: "px-[20px] py-[16px] rounded-[16px] text-[16px] h-[56px]"
|
|
21
|
-
}, c = {
|
|
22
|
-
[r.Primary]: "bg-yellowLight hover:bg-yellowSaturated disabled:bg-yellowLight2 disabled:cursor-not-allowed",
|
|
23
|
-
[r.Secondary]: "bg-lightBlue hover:bg-grayBlue disabled:bg-white disabled:cursor-not-allowed",
|
|
24
|
-
[r.SecondaryBlue]: "bg-lightBlue text-blue hover:bg-grayBlue disabled:bg-white disabled:text-lightBlue5 disabled:cursor-not-allowed",
|
|
25
|
-
[r.Static]: "bg-white hover:bg-grayBlue disabled:bg-white disabled:cursor-not-allowed",
|
|
26
|
-
[r.Brand]: "bg-greenLight text-white hover:bg-green disabled:bg-lightGray5 disabled:cursor-not-allowed",
|
|
27
|
-
[r.Grey]: "bg-greyLight text-blackBG"
|
|
28
|
-
};
|
|
29
|
-
return /* @__PURE__ */ g(
|
|
30
|
-
"button",
|
|
31
|
-
{
|
|
32
|
-
className: h(
|
|
33
|
-
"flex items-center justify-center gap-2 border-none font-i font-medium cursor-pointer w-fit ",
|
|
34
|
-
x[d],
|
|
35
|
-
c[o],
|
|
36
|
-
p
|
|
37
|
-
),
|
|
38
|
-
ref: b,
|
|
39
|
-
...n,
|
|
40
|
-
children: [
|
|
41
|
-
i ? /* @__PURE__ */ a("span", { className: "flex justify-center items-center w-[22px] h-[22px] p-[2px] bg-transparent rounded-full border-2 border-[#0e0f11] border-t-transparent animate-spin" }) : s && /* @__PURE__ */ a("span", { className: "flex items-center", children: s }),
|
|
42
|
-
e,
|
|
43
|
-
t && /* @__PURE__ */ a("span", { className: "flex items-center", children: t })
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
);
|
|
49
|
-
m.displayName = "AppButton";
|
|
50
|
-
export {
|
|
51
|
-
m as B,
|
|
52
|
-
r as a,
|
|
53
|
-
l as b
|
|
54
|
-
};
|
|
File without changes
|
|
File without changes
|