md-components-mdigial-azamat 0.0.10 → 0.0.12
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 +4 -0
- 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 +45 -49
- package/dist/BannerAndText/index.js +14 -13
- package/dist/CardIconList/CardIconList.js +23 -22
- package/dist/CardImageList/CardImageList.js +15 -14
- 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 +8 -7
- package/dist/Cards/ColoredCard/index.js +5 -4
- package/dist/Cards/ContentCard/ContentCard.js +17 -15
- package/dist/Cards/FeaturesCard/index.js +3 -3
- package/dist/Cards/WarningCard/WarningCard.js +27 -25
- package/dist/Cards/WarningCard/model.js +1 -1
- package/dist/ComponentContainer-0fcc2695.js +16 -0
- package/dist/ConfigProvider/index.js +5 -3
- package/dist/ContentCardList/ContentCardList.js +13 -12
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +21 -15
- 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 +16 -14
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +20 -18
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +19 -17
- package/dist/EmptyBox/EmptyBox.js +5 -0
- package/dist/EmptyBox/types.js +1 -0
- package/dist/Faq/Faq.js +16 -15
- package/dist/Faq/components/Collapse/Collapse.js +9 -8
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +95 -94
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
- package/dist/HeroPossibilityBanner/index.js +24 -16
- package/dist/HtmlContent/HtmlContent.js +6 -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 +14 -13
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +13 -12
- 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 +30 -21
- package/dist/MultiCards/index.js +33 -25
- package/dist/Partners/Partners.js +7 -6
- package/dist/PartnersColors/PartnersColors.js +20 -19
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
- package/dist/PreviewList/PreviewList.js +17 -16
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +15 -13
- package/dist/PromoPoster/PromoPoster.js +36 -0
- package/dist/PromoPoster/types.js +1 -0
- package/dist/RenderAllComponents/RenderAllComponents.js +82 -0
- package/dist/RenderAllComponents/const.js +43 -0
- package/dist/RenderAllComponents/index.js +4 -0
- package/dist/Segments/Segments.js +14 -13
- 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 +14 -13
- package/dist/SwiperList/SwiperList.js +50 -3189
- 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 +4 -3
- package/dist/Video/VideoList/VideoList.js +10 -9
- package/dist/Video/VideoListMini/VideoListMini.js +8 -7
- 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/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-cd468670.js → index-6e0f7db0.js} +8 -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/main.d.ts +0 -39
- /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
|
-
};
|
package/dist/main.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
export { Banner } from './Banner';
|
|
3
|
-
export { BannerAndText } from './BannerAndText';
|
|
4
|
-
export { Stepper } from './Stepper';
|
|
5
|
-
export { Segments } from './Segments';
|
|
6
|
-
export { VideoFull } from './Video';
|
|
7
|
-
export { ContentCardList } from './ContentCardList';
|
|
8
|
-
export { CardIconList } from './CardIconList';
|
|
9
|
-
export { MultiCards } from './MultiCards';
|
|
10
|
-
export { Partners } from './Partners';
|
|
11
|
-
export { CardImageList } from './CardImageList';
|
|
12
|
-
export { MainBanner } from './MainBanner';
|
|
13
|
-
export { Faq } from './Faq';
|
|
14
|
-
export { HtmlContent } from './HtmlContent';
|
|
15
|
-
export { InstructionList } from './InstructionList';
|
|
16
|
-
export { HeroPossibilityBanner } from './HeroPossibilityBanner';
|
|
17
|
-
export { PartnersColors } from './PartnersColors';
|
|
18
|
-
export { PreviewList } from './PreviewList';
|
|
19
|
-
export { CardImage } from './Cards/CardImage';
|
|
20
|
-
export { ContentCard } from './Cards/ContentCard';
|
|
21
|
-
export { WarningCard } from './Cards/WarningCard';
|
|
22
|
-
export { ColoredCard } from './Cards/ColoredCard';
|
|
23
|
-
export { FeaturesCard } from './Cards/FeaturesCard';
|
|
24
|
-
export { DownloadFileBanner } from './DownloadFile/components/DownloadFileBanner';
|
|
25
|
-
export { DownloadFileFull } from './DownloadFile/components/DownloadFileFull';
|
|
26
|
-
export { DownloadFileHalf } from './DownloadFile/components/DownloadFileHalf';
|
|
27
|
-
export { DownloadFileMini } from './DownloadFile/components/DownloadFileMini';
|
|
28
|
-
export { Collapse } from './Faq/components/Collapse';
|
|
29
|
-
export { FeedbackForm } from './Faq/components/FeedbackForm';
|
|
30
|
-
export { PlusMinusIcon } from './Faq/components/PlusMinusIcon';
|
|
31
|
-
export { InstructionCard } from './InstructionList/components/InstructionCard';
|
|
32
|
-
export { InstructionModal } from './InstructionList/components/InstructionModal';
|
|
33
|
-
export { PartnerCard } from './PartnersColors/components/PartnerCard';
|
|
34
|
-
export { PartnerTab } from './PartnersColors/components/PartnerTab';
|
|
35
|
-
export { PreviewCard } from './PreviewList/components/PreviewCard';
|
|
36
|
-
export { VideoPlayer } from './Video/components/VideoPlayer';
|
|
37
|
-
export { VideoList } from './Video/VideoList';
|
|
38
|
-
export { VideoListMini } from './Video/VideoListMini';
|
|
39
|
-
export { ConfigProvider } from './ConfigProvider';
|
|
File without changes
|
|
File without changes
|