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
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { I as
|
|
3
|
-
import { c as
|
|
2
|
+
import { I as p } from "./index-60dfa873.js";
|
|
3
|
+
import { c as n } from "./cn-d8c04b28.js";
|
|
4
4
|
const s = {
|
|
5
5
|
SMALL: "small",
|
|
6
6
|
MEDIUM: "medium",
|
|
7
7
|
LARGE: "large"
|
|
8
|
-
},
|
|
8
|
+
}, m = ["data", "size", "className"], c = ({ data: e, size: l, className: o }) => {
|
|
9
9
|
const x = l === s.SMALL ? 32 : 40;
|
|
10
10
|
return /* @__PURE__ */ r(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
|
-
className:
|
|
13
|
+
className: n(
|
|
14
14
|
"bg-white rounded-[20px] flex flex-col items-start justify-between gap-[32px] w-full box-border",
|
|
15
15
|
l === s.LARGE && "min-h-[300px]",
|
|
16
16
|
l === s.SMALL ? "p-[24px]" : "p-[32px]",
|
|
17
|
-
|
|
17
|
+
o
|
|
18
18
|
),
|
|
19
19
|
children: [
|
|
20
20
|
/* @__PURE__ */ r("div", { className: "flex flex-col items-start gap-[32px]", children: [
|
|
21
21
|
(e == null ? void 0 : e.image) && /* @__PURE__ */ i(
|
|
22
|
-
|
|
22
|
+
p,
|
|
23
23
|
{
|
|
24
24
|
src: e == null ? void 0 : e.image,
|
|
25
25
|
alt: e == null ? void 0 : e.title,
|
|
@@ -45,7 +45,8 @@ const s = {
|
|
|
45
45
|
}
|
|
46
46
|
);
|
|
47
47
|
};
|
|
48
|
+
c.propsToEdit = m;
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
+
c as F,
|
|
50
51
|
s as S
|
|
51
52
|
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c } from "react";
|
|
3
|
+
import { c as h } from "./cn-d8c04b28.js";
|
|
4
|
+
import { B as t, a as e } from "./const-9041b93a.js";
|
|
5
|
+
const m = c(
|
|
6
|
+
({
|
|
7
|
+
children: o,
|
|
8
|
+
size: s = t.XL,
|
|
9
|
+
variant: d = e.Primary,
|
|
10
|
+
loading: i = !1,
|
|
11
|
+
iconRight: a,
|
|
12
|
+
iconLeft: l,
|
|
13
|
+
className: n,
|
|
14
|
+
...p
|
|
15
|
+
}, b) => {
|
|
16
|
+
const x = {
|
|
17
|
+
[t.S]: "",
|
|
18
|
+
[t.M]: "px-[12px] py-[8px] rounded-[12px] text-[14px] h-[36px]",
|
|
19
|
+
[t.L]: "px-[16px] py-[10px] rounded-[16px] text-[16px] h-[44px]",
|
|
20
|
+
[t.XL]: "px-[20px] py-[16px] rounded-[16px] text-[16px] h-[56px]"
|
|
21
|
+
}, g = {
|
|
22
|
+
[e.Primary]: "bg-yellowLight hover:bg-yellowSaturated disabled:bg-yellowLight2 disabled:cursor-not-allowed",
|
|
23
|
+
[e.Secondary]: "bg-lightBlue hover:bg-grayBlue disabled:bg-white disabled:cursor-not-allowed",
|
|
24
|
+
[e.SecondaryBlue]: "bg-lightBlue text-blue hover:bg-grayBlue disabled:bg-white disabled:text-lightBlue5 disabled:cursor-not-allowed",
|
|
25
|
+
[e.Static]: "bg-white hover:bg-grayBlue disabled:bg-white disabled:cursor-not-allowed",
|
|
26
|
+
[e.Brand]: "bg-greenLight text-white hover:bg-green disabled:bg-lightGray5 disabled:cursor-not-allowed",
|
|
27
|
+
[e.Grey]: "bg-greyLight text-blackBG"
|
|
28
|
+
};
|
|
29
|
+
return /* @__PURE__ */ u(
|
|
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[s],
|
|
35
|
+
g[d],
|
|
36
|
+
n
|
|
37
|
+
),
|
|
38
|
+
ref: b,
|
|
39
|
+
...p,
|
|
40
|
+
children: [
|
|
41
|
+
i ? /* @__PURE__ */ r("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" }) : l && /* @__PURE__ */ r("span", { className: "flex items-center", children: l }),
|
|
42
|
+
o,
|
|
43
|
+
a && /* @__PURE__ */ r("span", { className: "flex items-center", children: a })
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
m.displayName = "AppButton";
|
|
50
|
+
export {
|
|
51
|
+
m as B
|
|
52
|
+
};
|
package/dist/main.js
CHANGED
|
@@ -22,7 +22,7 @@ import { CardImage as J } from "./Cards/CardImage/CardImage.js";
|
|
|
22
22
|
import { ContentCard as N } from "./Cards/ContentCard/ContentCard.js";
|
|
23
23
|
import { WarningCard as Q } from "./Cards/WarningCard/WarningCard.js";
|
|
24
24
|
import { ColoredCard as U } from "./Cards/ColoredCard/index.js";
|
|
25
|
-
import { F as Y } from "./index-
|
|
25
|
+
import { F as Y } from "./index-6e0f7db0.js";
|
|
26
26
|
import { DownloadFileBanner as _ } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
27
27
|
import { DownloadFileFull as rr } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
28
28
|
import { DownloadFileHalf as er } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
const
|
|
1
|
+
const f = {
|
|
2
2
|
yellowLight: "#fddb2b",
|
|
3
3
|
yellowSaturated: "#f7c21c",
|
|
4
4
|
yellowLight2: "#fef08a",
|
|
5
5
|
white: "#ffffff",
|
|
6
|
+
white4: "#f4f6f7",
|
|
6
7
|
deepBlue: "#3B82F6",
|
|
7
8
|
lightBlue: "#f0f3f4",
|
|
8
9
|
lightBlue5: "#5baaff",
|
|
9
10
|
grayBlue: "#d7dce1",
|
|
10
11
|
graySoft: "#40474f",
|
|
11
12
|
graySoft2: "#4D5661",
|
|
13
|
+
graySoft3: "#3e454c",
|
|
12
14
|
greyLight: "#E0E5E8",
|
|
13
15
|
greenLight: "#16a34a",
|
|
14
16
|
green: "#189145",
|
|
@@ -18,9 +20,12 @@ const e = {
|
|
|
18
20
|
black: "#18191c",
|
|
19
21
|
blackBG: "#0e0f11",
|
|
20
22
|
black2: "#2f3137",
|
|
23
|
+
black5: "#0e0f11",
|
|
24
|
+
black7: "#1f2425",
|
|
25
|
+
black8: "#202425",
|
|
21
26
|
gray2: "#768793",
|
|
22
27
|
translucentBlack: "#00000066"
|
|
23
28
|
};
|
|
24
29
|
export {
|
|
25
|
-
|
|
30
|
+
f as p
|
|
26
31
|
};
|