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
package/README.md
CHANGED
|
@@ -52,6 +52,6 @@ If you are developing a production application, we recommend updating the config
|
|
|
52
52
|
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
|
53
53
|
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
|
54
54
|
|
|
55
|
-
|
|
56
55
|
npm version patch
|
|
57
56
|
npm run build
|
|
57
|
+
npm publish
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { M as o, B as n, C as t, S as a, a as e, V as r, b as i, c as m, d as p, e as s, f as l, P as d, g as c, W as D, F as P, D as L, h as f, i as C, j as B, I as y, k as w, l as F, A as k, m as I, T as S, n as g, E as M, o as V, p as u, q as T, r as b, s as A, t as h } from "./data.mock-741c2220.js";
|
|
2
|
+
import q from "./AnimatedSwiper/index.js";
|
|
3
|
+
import { Banner as x } from "./Banner/Banner.js";
|
|
4
|
+
import { CardIconList as E } from "./CardIconList/CardIconList.js";
|
|
5
|
+
import { CardImageList as W } from "./CardImageList/CardImageList.js";
|
|
6
|
+
import { CardImageSecondaryList as v } from "./CardImageSecondaryList/CardImageSecondaryList.js";
|
|
7
|
+
import { CardInfoTable as H } from "./CardInfoTable/index.js";
|
|
8
|
+
import { ContentCardList as j } from "./ContentCardList/ContentCardList.js";
|
|
9
|
+
import { DownloadFileBright as z } from "./DownloadFile/components/DownloadFileBright/index.js";
|
|
10
|
+
import { EmptyBox as G } from "./EmptyBox/EmptyBox.js";
|
|
11
|
+
import { Faq as J } from "./Faq/Faq.js";
|
|
12
|
+
import { InfoBannerList as K } from "./InfoBannerList/InfoBannerList.js";
|
|
13
|
+
import { IntroBanner as N } from "./IntroBanner/IntroBanner.js";
|
|
14
|
+
import { MainBanner as O } from "./MainBanner/MainBanner.js";
|
|
15
|
+
import { MultiCards as Q } from "./MultiCards/index.js";
|
|
16
|
+
import { Partners as R } from "./Partners/Partners.js";
|
|
17
|
+
import { PartnersColors as U } from "./PartnersColors/PartnersColors.js";
|
|
18
|
+
import { PromoPoster as X } from "./PromoPoster/PromoPoster.js";
|
|
19
|
+
import { Segments as Y } from "./Segments/Segments.js";
|
|
20
|
+
import { StandartTable as Z } from "./StandartTable/index.js";
|
|
21
|
+
import { Stepper as _ } from "./Stepper/Stepper.js";
|
|
22
|
+
import { SwiperList as $ } from "./SwiperList/SwiperList.js";
|
|
23
|
+
import { TasksBannerList as oo } from "./TasksBannerList/TasksBannerList.js";
|
|
24
|
+
import { VideoFull as no } from "./Video/VideoFull/VideoFull.js";
|
|
25
|
+
import { VideoList as to } from "./Video/VideoList/VideoList.js";
|
|
26
|
+
import { VideoListMini as ao } from "./Video/VideoListMini/VideoListMini.js";
|
|
27
|
+
import { VideoMainBanner as eo } from "./VideoMainBanner/VideoMainBanner.js";
|
|
28
|
+
import "./ConfigProvider/index.js";
|
|
29
|
+
import "./BannerAndText/index.js";
|
|
30
|
+
import "./HtmlContent/HtmlContent.js";
|
|
31
|
+
import { InstructionList as ro } from "./InstructionList/InstructionList.js";
|
|
32
|
+
import "./HeroPossibilityBanner/index.js";
|
|
33
|
+
import { PreviewList as io } from "./PreviewList/PreviewList.js";
|
|
34
|
+
import "./Cards/CardImage/CardImage.js";
|
|
35
|
+
import "./Cards/ContentCard/ContentCard.js";
|
|
36
|
+
import { WarningCard as mo } from "./Cards/WarningCard/WarningCard.js";
|
|
37
|
+
import "./Cards/ColoredCard/index.js";
|
|
38
|
+
import "./index-6e0f7db0.js";
|
|
39
|
+
import { DownloadFileBanner as po } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
40
|
+
import { DownloadFileFull as so } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
41
|
+
import { DownloadFileHalf as lo } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
42
|
+
import { DownloadFileMini as co } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
43
|
+
import "./Faq/components/Collapse/Collapse.js";
|
|
44
|
+
import "react/jsx-runtime";
|
|
45
|
+
import "react";
|
|
46
|
+
import "./index-b3d6aed3.js";
|
|
47
|
+
import "./InstructionList/components/InstructionCard/InstructionCard.js";
|
|
48
|
+
import "./PreviewList/components/PreviewCard/PreviewCard.js";
|
|
49
|
+
const pn = {
|
|
50
|
+
MainBanner: { key: "MainBanner", component: O },
|
|
51
|
+
Banner: { key: "Banner", component: x },
|
|
52
|
+
CardImageList: { key: "CardImageList", component: W },
|
|
53
|
+
Stepper: { key: "Stepper", component: _ },
|
|
54
|
+
Segments: { key: "Segments", component: Y },
|
|
55
|
+
VideoFull: { key: "VideoFull", component: no },
|
|
56
|
+
VideoList: { key: "VideoList", component: to },
|
|
57
|
+
VideoListMini: { key: "VideoListMini", component: ao },
|
|
58
|
+
ContentCardList: { key: "ContentCardList", component: j },
|
|
59
|
+
CardIconList: { key: "CardIconList", component: E },
|
|
60
|
+
MultiCards: { key: "MultiCards", component: Q },
|
|
61
|
+
Partners: { key: "Partners", component: R },
|
|
62
|
+
PartnersColors: { key: "PartnersColors", component: U },
|
|
63
|
+
WarningCard: { key: "WarningCard", component: mo },
|
|
64
|
+
Faq: { key: "Faq", component: J },
|
|
65
|
+
DownloadFileBanner: {
|
|
66
|
+
key: "DownloadFileBanner",
|
|
67
|
+
component: po
|
|
68
|
+
},
|
|
69
|
+
DownloadFileHalf: { key: "DownloadFileHalf", component: lo },
|
|
70
|
+
DownloadFileFull: { key: "DownloadFileFull", component: so },
|
|
71
|
+
DownloadFileMini: { key: "DownloadFileMini", component: co },
|
|
72
|
+
InstructionList: { key: "InstructionList", component: ro },
|
|
73
|
+
PreviewList: { key: "PreviewList", component: io },
|
|
74
|
+
SwiperList: { key: "SwiperList", component: $ },
|
|
75
|
+
AnimatedSwiper: { key: "AnimatedSwiper", component: q },
|
|
76
|
+
InfoBannerList: { key: "InfoBannerList", component: K },
|
|
77
|
+
TasksBannerList: { key: "TasksBannerList", component: oo },
|
|
78
|
+
VideoMainBanner: { key: "VideoMainBanner", component: eo },
|
|
79
|
+
EmptyBox: { key: "EmptyBox", component: G },
|
|
80
|
+
PromoPoster: { key: "PromoPoster", component: X },
|
|
81
|
+
CardImageSecondaryList: {
|
|
82
|
+
key: "CardImageSecondaryList",
|
|
83
|
+
component: v
|
|
84
|
+
},
|
|
85
|
+
CardInfoTable: { key: "CardInfoTable", component: H },
|
|
86
|
+
StandartTable: { key: "StandartTable", component: Z },
|
|
87
|
+
IntroBanner: { key: "IntroBanner", component: N },
|
|
88
|
+
DownloadFileBright: {
|
|
89
|
+
key: "DownloadFileBright",
|
|
90
|
+
component: z
|
|
91
|
+
}
|
|
92
|
+
}, sn = {
|
|
93
|
+
MainBanner: o.componentProps,
|
|
94
|
+
Banner: n.componentProps,
|
|
95
|
+
CardImageList: t.componentProps,
|
|
96
|
+
Stepper: a.componentProps,
|
|
97
|
+
Segments: e.componentProps,
|
|
98
|
+
VideoFull: r.componentProps,
|
|
99
|
+
VideoList: i.componentProps,
|
|
100
|
+
VideoListMini: m.componentProps,
|
|
101
|
+
ContentCardList: p.componentProps,
|
|
102
|
+
CardIconList: s.componentProps,
|
|
103
|
+
MultiCards: l.componentProps,
|
|
104
|
+
Partners: d.componentProps,
|
|
105
|
+
PartnersColors: c.componentProps,
|
|
106
|
+
WarningCard: D.componentProps,
|
|
107
|
+
Faq: P.componentProps,
|
|
108
|
+
DownloadFileBanner: L.componentProps,
|
|
109
|
+
DownloadFileHalf: f.componentProps,
|
|
110
|
+
DownloadFileFull: C.componentProps,
|
|
111
|
+
DownloadFileMini: B.componentProps,
|
|
112
|
+
InstructionList: y.componentProps,
|
|
113
|
+
PreviewList: w.componentProps,
|
|
114
|
+
SwiperList: F.componentProps,
|
|
115
|
+
AnimatedSwiper: k.componentProps,
|
|
116
|
+
InfoBannerList: I.componentProps,
|
|
117
|
+
TasksBannerList: S.componentProps,
|
|
118
|
+
VideoMainBanner: g.componentProps,
|
|
119
|
+
EmptyBox: M.componentProps,
|
|
120
|
+
PromoPoster: V.componentProps,
|
|
121
|
+
CardImageSecondaryList: u.componentProps,
|
|
122
|
+
CardInfoTable: T.componentProps,
|
|
123
|
+
StandartTable: b.componentProps,
|
|
124
|
+
IntroBanner: A.componentProps,
|
|
125
|
+
DownloadFileBright: h.componentProps
|
|
126
|
+
};
|
|
127
|
+
export {
|
|
128
|
+
pn as AllComponents,
|
|
129
|
+
sn as AllComponentsData
|
|
130
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as i, a as o } from "../../cn-d8c04b28.js";
|
|
3
|
+
import { I as p } from "../../index-60dfa873.js";
|
|
4
|
+
import '../../assets/swiper.css';/* empty css */const g = ({
|
|
5
|
+
data: e,
|
|
6
|
+
className: x,
|
|
7
|
+
isLight: l = !1,
|
|
8
|
+
imgClassName: r,
|
|
9
|
+
imgStyle: s
|
|
10
|
+
}) => /* @__PURE__ */ n(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
className: i(
|
|
14
|
+
"relative flex flex-col gap-[32px] p-[32px] h-full w-full rounded-[20px] overflow-hidden bg-black8 transition-all duration-500 ease-in-out max-tablet:p-[24px] max-tablet:gap-[24px]",
|
|
15
|
+
x,
|
|
16
|
+
{ "bg-white": l }
|
|
17
|
+
),
|
|
18
|
+
children: [
|
|
19
|
+
(e == null ? void 0 : e.icon) && /* @__PURE__ */ t(
|
|
20
|
+
p,
|
|
21
|
+
{
|
|
22
|
+
src: e == null ? void 0 : e.icon,
|
|
23
|
+
alt: e == null ? void 0 : e.title,
|
|
24
|
+
width: 80,
|
|
25
|
+
height: 80,
|
|
26
|
+
className: i("transition-all duration-500", r),
|
|
27
|
+
imageStyles: i("transition-all duration-500", s)
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ n("div", { className: "flex flex-col gap-[12px] max-tablet:gap-[8px]", children: [
|
|
31
|
+
/* @__PURE__ */ t(
|
|
32
|
+
"p",
|
|
33
|
+
{
|
|
34
|
+
className: o(
|
|
35
|
+
"text-white4 text-[24px] font-bold leading-[32px] m-0 transition-all duration-500 ease-in-ou max-tablet:text-[24px] max-tablet:leading-[28px]",
|
|
36
|
+
{ "!text-black2": l }
|
|
37
|
+
),
|
|
38
|
+
children: e == null ? void 0 : e.title
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
/* @__PURE__ */ t(
|
|
42
|
+
"p",
|
|
43
|
+
{
|
|
44
|
+
className: o(
|
|
45
|
+
"text-white4 text-[15px] font-normal leading-[24px] m-0 transition-all duration-500 [font-variant-numeric:lining-nums_tabular-nums_stacked-fractions] [font-feature-settings:'clig'_off,'liga'_off] max-tablet:text-[14px] max-tablet:leading-[20px]",
|
|
46
|
+
{ "!text-graySoft": l }
|
|
47
|
+
),
|
|
48
|
+
children: e == null ? void 0 : e.description
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
] })
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
export {
|
|
56
|
+
g as Slide
|
|
57
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as A, useRef as p } from "react";
|
|
3
|
+
import { S as N, N as C, A as I, a as z, C as R, b as B } from "../swiper-react-c049ea66.js";
|
|
4
|
+
import { Bullet as j } from "../SwiperList/components/Bullet/Bullet.js";
|
|
5
|
+
import { c as n } from "../cn-d8c04b28.js";
|
|
6
|
+
import { u as E } from "../useScreenSize-c1b64c02.js";
|
|
7
|
+
import { Slide as P } from "./Slide/Slide.js";
|
|
8
|
+
function k({
|
|
9
|
+
title: f,
|
|
10
|
+
cards: t,
|
|
11
|
+
autoplay: h = !1,
|
|
12
|
+
isLight: g = !1,
|
|
13
|
+
isButton: x = !0
|
|
14
|
+
}) {
|
|
15
|
+
const [r, c] = A(1), b = p(null), l = E(960), o = l ? 1.2 : 3, w = l ? 16 : 0, S = h ? {
|
|
16
|
+
delay: 3e3,
|
|
17
|
+
disableOnInteraction: !1,
|
|
18
|
+
waitForTransition: !0
|
|
19
|
+
} : !1, m = p(null), u = p(null), v = t.length <= o + 1 ? [...t, ...t] : t, y = t.length <= o + 1 ? r % t.length : r;
|
|
20
|
+
return /* @__PURE__ */ d("div", { className: "flex flex-col items-center gap-6 h-fit max-w-[1232px] w-full mx-auto px-4 relative max-tablet:max-w-full max-tablet:p-0", children: [
|
|
21
|
+
f && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: f }),
|
|
22
|
+
/* @__PURE__ */ d("div", { className: "relative w-full h-[346px] max-tablet:h-fit", children: [
|
|
23
|
+
/* @__PURE__ */ e(
|
|
24
|
+
N,
|
|
25
|
+
{
|
|
26
|
+
modules: [C, I],
|
|
27
|
+
className: "feature_swiper",
|
|
28
|
+
initialSlide: 0,
|
|
29
|
+
slidesPerView: o,
|
|
30
|
+
spaceBetween: w,
|
|
31
|
+
centeredSlides: !0,
|
|
32
|
+
speed: 500,
|
|
33
|
+
autoplay: S,
|
|
34
|
+
onSwiper: (a) => {
|
|
35
|
+
b.current = a, c(a.realIndex);
|
|
36
|
+
},
|
|
37
|
+
onBeforeTransitionStart: (a) => {
|
|
38
|
+
let i = a.realIndex;
|
|
39
|
+
c(i);
|
|
40
|
+
},
|
|
41
|
+
navigation: {
|
|
42
|
+
nextEl: m.current,
|
|
43
|
+
prevEl: u.current
|
|
44
|
+
},
|
|
45
|
+
loop: !0,
|
|
46
|
+
children: v.map((a, i) => {
|
|
47
|
+
const s = i === r;
|
|
48
|
+
return /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(
|
|
49
|
+
P,
|
|
50
|
+
{
|
|
51
|
+
data: a,
|
|
52
|
+
className: n(
|
|
53
|
+
"h-[314px] transition-all duration-500 transform scale-[0.85] relative max-tablet:h-[288px] max-tablet:scale-100",
|
|
54
|
+
{
|
|
55
|
+
"!h-[346px] !w-full transform scale-100 flex flex-col gap-[40px] md:h-auto md:gap-6": s && !l
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
imgClassName: n({
|
|
59
|
+
"h-[122px] w-[122px]": s && !l
|
|
60
|
+
}),
|
|
61
|
+
imgStyle: n({
|
|
62
|
+
"h-[122px] w-[122px]": s && !l
|
|
63
|
+
}),
|
|
64
|
+
isLight: g
|
|
65
|
+
}
|
|
66
|
+
) }, a.id);
|
|
67
|
+
})
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
x && /* @__PURE__ */ e(
|
|
71
|
+
"button",
|
|
72
|
+
{
|
|
73
|
+
ref: u,
|
|
74
|
+
className: n(
|
|
75
|
+
"absolute h-[40px] w-[40px] left-0 top-[200px] translate-x-[-50%] translate-y-[-50%] z-10 p-[8px] rounded-[50%] bg-graySoft border-none cursor-pointer max-tablet:hidden"
|
|
76
|
+
),
|
|
77
|
+
children: /* @__PURE__ */ e(
|
|
78
|
+
R,
|
|
79
|
+
{
|
|
80
|
+
size: 24,
|
|
81
|
+
color: "#ffffff"
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
}
|
|
85
|
+
),
|
|
86
|
+
x && /* @__PURE__ */ e(
|
|
87
|
+
"button",
|
|
88
|
+
{
|
|
89
|
+
ref: m,
|
|
90
|
+
className: n(
|
|
91
|
+
"absolute h-[40px] w-[40px] right-0 top-[200px] translate-x-[-50%] translate-y-[-50%] z-10 p-[8px] rounded-[50%] bg-graySoft border-none cursor-pointer max-tablet:hidden"
|
|
92
|
+
),
|
|
93
|
+
children: /* @__PURE__ */ e(
|
|
94
|
+
B,
|
|
95
|
+
{
|
|
96
|
+
size: 24,
|
|
97
|
+
color: "#ffffff"
|
|
98
|
+
}
|
|
99
|
+
)
|
|
100
|
+
}
|
|
101
|
+
)
|
|
102
|
+
] }),
|
|
103
|
+
t.length && /* @__PURE__ */ e(
|
|
104
|
+
j,
|
|
105
|
+
{
|
|
106
|
+
count: t.length,
|
|
107
|
+
active: y,
|
|
108
|
+
activeColor: "#16A34A",
|
|
109
|
+
anActiveColor: "#A6B2BA",
|
|
110
|
+
className: "mt-[24px]"
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
] });
|
|
114
|
+
}
|
|
115
|
+
export {
|
|
116
|
+
k as default
|
|
117
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/Banner/Banner.js
CHANGED
|
@@ -1,25 +1,11 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { BannerVariant as
|
|
3
|
-
import { B as
|
|
4
|
-
import { C as y } from "../ComponentContainer-
|
|
5
|
-
import { I as
|
|
6
|
-
import { c as a } from "../cn-
|
|
7
|
-
import {
|
|
8
|
-
const j =
|
|
9
|
-
const [m, n] = _({
|
|
10
|
-
width: void 0,
|
|
11
|
-
height: void 0
|
|
12
|
-
});
|
|
13
|
-
return z(() => {
|
|
14
|
-
function l() {
|
|
15
|
-
n({
|
|
16
|
-
width: window.innerWidth,
|
|
17
|
-
height: window.innerHeight
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
return window.addEventListener("resize", l), l(), () => window.removeEventListener("resize", l);
|
|
21
|
-
}, []), m.width <= o;
|
|
22
|
-
}, S = [
|
|
1
|
+
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { BannerVariant as d } from "./types.js";
|
|
3
|
+
import { B as g } from "../index-b3d6aed3.js";
|
|
4
|
+
import { C as y } from "../ComponentContainer-0fcc2695.js";
|
|
5
|
+
import { I as h } from "../index-60dfa873.js";
|
|
6
|
+
import { c as a } from "../cn-d8c04b28.js";
|
|
7
|
+
import { u as _ } from "../useScreenSize-c1b64c02.js";
|
|
8
|
+
const j = [
|
|
23
9
|
"bg_image",
|
|
24
10
|
"image",
|
|
25
11
|
"title",
|
|
@@ -29,35 +15,35 @@ const j = (o = 768) => {
|
|
|
29
15
|
"variant",
|
|
30
16
|
"qr"
|
|
31
17
|
], k = ({
|
|
32
|
-
bg_image:
|
|
33
|
-
image:
|
|
18
|
+
bg_image: w,
|
|
19
|
+
image: o,
|
|
34
20
|
title: n,
|
|
35
|
-
text_color:
|
|
21
|
+
text_color: r = "inherit",
|
|
36
22
|
description: c,
|
|
37
23
|
buttons: x,
|
|
38
|
-
variant:
|
|
24
|
+
variant: s,
|
|
39
25
|
qr: e
|
|
40
26
|
}) => {
|
|
41
27
|
var p, f, b;
|
|
42
|
-
const
|
|
43
|
-
return /* @__PURE__ */ t(y, { children: /* @__PURE__ */
|
|
28
|
+
const m = _(960), u = s === d.Buttons, N = s === d.Qr;
|
|
29
|
+
return /* @__PURE__ */ t(y, { children: /* @__PURE__ */ i(
|
|
44
30
|
"div",
|
|
45
31
|
{
|
|
46
32
|
className: a(
|
|
47
33
|
"relative w-full h-fit flex max-tablet:flex-col justify-between gap-4 bg-cover bg-center rounded-[20px] overflow-hidden max-tablet:justify-start max-tablet:items-center"
|
|
48
34
|
),
|
|
49
35
|
style: {
|
|
50
|
-
backgroundImage: `url(${
|
|
36
|
+
backgroundImage: `url(${w})`
|
|
51
37
|
},
|
|
52
38
|
children: [
|
|
53
|
-
/* @__PURE__ */
|
|
39
|
+
/* @__PURE__ */ i("div", { className: " flex flex-col gap-4 w-[40%] max-tablet:w-full justify-center p-12 max-tablet:p-8", children: [
|
|
54
40
|
n && /* @__PURE__ */ t(
|
|
55
41
|
"p",
|
|
56
42
|
{
|
|
57
43
|
className: a(
|
|
58
44
|
"text-[32px] font-bold leading-[40px] text-left text-black m-0 max-tablet:text-center max-tablet:text-[24px] max-tablet:leading-[28px]"
|
|
59
45
|
),
|
|
60
|
-
style: { color:
|
|
46
|
+
style: { color: r },
|
|
61
47
|
children: n
|
|
62
48
|
}
|
|
63
49
|
),
|
|
@@ -67,29 +53,29 @@ const j = (o = 768) => {
|
|
|
67
53
|
className: a(
|
|
68
54
|
"text-[18px] font-normal leading-[26px] text-left m-0 max-tablet:px-[24px] max-tablet:text-center max-tablet:text-[15px] max-tablet:leading-[22px]"
|
|
69
55
|
),
|
|
70
|
-
style: { color:
|
|
56
|
+
style: { color: r },
|
|
71
57
|
children: c
|
|
72
58
|
}
|
|
73
59
|
),
|
|
74
|
-
u && /* @__PURE__ */ t("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: x == null ? void 0 : x.map((
|
|
60
|
+
u && /* @__PURE__ */ t("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: x == null ? void 0 : x.map((l, v) => /* @__PURE__ */ t(
|
|
75
61
|
"a",
|
|
76
62
|
{
|
|
77
|
-
href: (
|
|
63
|
+
href: (l == null ? void 0 : l.link) || "#",
|
|
78
64
|
className: a("w-fit z-10 max-tablet:w-full"),
|
|
79
65
|
target: "_blank",
|
|
80
66
|
rel: "noopener noreferrer",
|
|
81
67
|
children: /* @__PURE__ */ t(
|
|
82
|
-
|
|
68
|
+
g,
|
|
83
69
|
{
|
|
84
|
-
variant:
|
|
70
|
+
variant: l.variant,
|
|
85
71
|
className: "w-[200px] max-tablet:w-full",
|
|
86
|
-
children:
|
|
72
|
+
children: l.text
|
|
87
73
|
}
|
|
88
74
|
)
|
|
89
75
|
},
|
|
90
|
-
|
|
76
|
+
v
|
|
91
77
|
)) }),
|
|
92
|
-
|
|
78
|
+
N && (m ? /* @__PURE__ */ t("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: /* @__PURE__ */ t(
|
|
93
79
|
"a",
|
|
94
80
|
{
|
|
95
81
|
href: ((p = e == null ? void 0 : e.button) == null ? void 0 : p.link) || "#",
|
|
@@ -97,7 +83,7 @@ const j = (o = 768) => {
|
|
|
97
83
|
target: "_blank",
|
|
98
84
|
rel: "noopener noreferrer",
|
|
99
85
|
children: /* @__PURE__ */ t(
|
|
100
|
-
|
|
86
|
+
g,
|
|
101
87
|
{
|
|
102
88
|
variant: (f = e == null ? void 0 : e.button) == null ? void 0 : f.variant,
|
|
103
89
|
className: "w-[200px] max-tablet:w-full",
|
|
@@ -105,7 +91,7 @@ const j = (o = 768) => {
|
|
|
105
91
|
}
|
|
106
92
|
)
|
|
107
93
|
}
|
|
108
|
-
) }) : /* @__PURE__ */
|
|
94
|
+
) }) : /* @__PURE__ */ i(
|
|
109
95
|
"div",
|
|
110
96
|
{
|
|
111
97
|
className: a(
|
|
@@ -113,7 +99,7 @@ const j = (o = 768) => {
|
|
|
113
99
|
),
|
|
114
100
|
children: [
|
|
115
101
|
/* @__PURE__ */ t(
|
|
116
|
-
|
|
102
|
+
h,
|
|
117
103
|
{
|
|
118
104
|
src: e == null ? void 0 : e.banner_qr,
|
|
119
105
|
alt: e == null ? void 0 : e.banner_qr_text,
|
|
@@ -135,13 +121,13 @@ const j = (o = 768) => {
|
|
|
135
121
|
}
|
|
136
122
|
))
|
|
137
123
|
] }),
|
|
138
|
-
|
|
139
|
-
|
|
124
|
+
o && /* @__PURE__ */ t(
|
|
125
|
+
h,
|
|
140
126
|
{
|
|
141
|
-
src:
|
|
127
|
+
src: o,
|
|
142
128
|
alt: n,
|
|
143
|
-
width:
|
|
144
|
-
height:
|
|
129
|
+
width: m ? 312 : 588,
|
|
130
|
+
height: m ? 218 : 400,
|
|
145
131
|
className: a("max-tablet:!w-full align-bottom items-end mt-auto"),
|
|
146
132
|
imageStyles: "object-contain object-bottom"
|
|
147
133
|
}
|
|
@@ -150,7 +136,7 @@ const j = (o = 768) => {
|
|
|
150
136
|
}
|
|
151
137
|
) });
|
|
152
138
|
};
|
|
153
|
-
k.propsToEdit =
|
|
139
|
+
k.propsToEdit = j;
|
|
154
140
|
export {
|
|
155
141
|
k as Banner
|
|
156
142
|
};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { jsx as o, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { C as s } from "../ComponentContainer-
|
|
3
|
-
import { I as p } from "../index-
|
|
4
|
-
import { c as m } from "../cn-
|
|
5
|
-
const x = [
|
|
6
|
-
"banner_card",
|
|
7
|
-
"text_card",
|
|
8
|
-
"is_banner_first"
|
|
9
|
-
], f = ({
|
|
2
|
+
import { C as s } from "../ComponentContainer-0fcc2695.js";
|
|
3
|
+
import { I as p } from "../index-60dfa873.js";
|
|
4
|
+
import { c as m } from "../cn-d8c04b28.js";
|
|
5
|
+
const x = ["banner_card", "text_card", "is_banner_first"], f = ({
|
|
10
6
|
banner_card: l,
|
|
11
7
|
text_card: e,
|
|
12
8
|
is_banner_first: i
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import { jsx as t, jsxs as f } from "react/jsx-runtime";
|
|
2
|
-
import { F as n, S as l } from "../index-
|
|
3
|
-
import { C as p } from "../ComponentContainer-
|
|
4
|
-
import { c as s } from "../cn-
|
|
5
|
-
const d = [
|
|
6
|
-
"cards",
|
|
7
|
-
"title",
|
|
8
|
-
"size",
|
|
9
|
-
"is_cards_first",
|
|
10
|
-
"multiHasText"
|
|
11
|
-
], b = ({
|
|
2
|
+
import { F as n, S as l } from "../index-6e0f7db0.js";
|
|
3
|
+
import { C as p } from "../ComponentContainer-0fcc2695.js";
|
|
4
|
+
import { c as s } from "../cn-d8c04b28.js";
|
|
5
|
+
const d = ["cards", "title", "size", "is_cards_first", "multiHasText"], b = ({
|
|
12
6
|
cards: a,
|
|
13
7
|
title: o,
|
|
14
8
|
size: i = l.SMALL,
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { CardImage as p } from "../Cards/CardImage/CardImage.js";
|
|
3
|
-
import { B as m } from "../index-
|
|
4
|
-
import { C as c } from "../ComponentContainer-
|
|
5
|
-
import { c as i } from "../cn-
|
|
6
|
-
const x = [
|
|
7
|
-
"cards",
|
|
8
|
-
"title",
|
|
9
|
-
"grid",
|
|
10
|
-
"button"
|
|
11
|
-
], f = ({
|
|
3
|
+
import { B as m } from "../index-b3d6aed3.js";
|
|
4
|
+
import { C as c } from "../ComponentContainer-0fcc2695.js";
|
|
5
|
+
import { c as i } from "../cn-d8c04b28.js";
|
|
6
|
+
const x = ["cards", "title", "grid", "button"], f = ({
|
|
12
7
|
cards: a,
|
|
13
8
|
title: n,
|
|
14
9
|
grid: t,
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsxs as c, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { I as p } from "../index-60dfa873.js";
|
|
3
|
+
import { c as t } from "../cn-d8c04b28.js";
|
|
4
|
+
const n = ({
|
|
5
|
+
data: e,
|
|
6
|
+
isHorizontal: x,
|
|
7
|
+
imageStyles: m
|
|
8
|
+
}) => /* @__PURE__ */ c(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
className: t(
|
|
12
|
+
"flex flex-col items-center gap-[30px] bg-white rounded-[20px] flex-1",
|
|
13
|
+
x && "flex-row max-tablet:flex-col"
|
|
14
|
+
),
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ l(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
className: t(
|
|
20
|
+
"px-[24px] pt-[24px] w-full",
|
|
21
|
+
x && "px-0 max-tablet:px-[24px]"
|
|
22
|
+
),
|
|
23
|
+
children: /* @__PURE__ */ l(
|
|
24
|
+
"p",
|
|
25
|
+
{
|
|
26
|
+
className: t(
|
|
27
|
+
"text-[24px] font-medium leading-[32px] text-bgBlack text-center m-0 break-words",
|
|
28
|
+
x && "text-left pl-[24px] max-tablet:text-center",
|
|
29
|
+
"max-tablet:text-[22px] max-tablet:leading-[26px]"
|
|
30
|
+
),
|
|
31
|
+
children: e == null ? void 0 : e.title
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
(e == null ? void 0 : e.icon) && /* @__PURE__ */ l(
|
|
37
|
+
p,
|
|
38
|
+
{
|
|
39
|
+
src: e.icon,
|
|
40
|
+
alt: e.title || "image",
|
|
41
|
+
className: t("w-full h-[164px]", m),
|
|
42
|
+
imageStyles: "object-contain object-bottom"
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
export {
|
|
49
|
+
n as CardImageSecondary
|
|
50
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { CardImageSecondary as p } from "../CardImageSecondary/CardImageSecondary.js";
|
|
3
|
+
import { C as n } from "../ComponentContainer-0fcc2695.js";
|
|
4
|
+
const c = ({
|
|
5
|
+
title: a,
|
|
6
|
+
cards: e,
|
|
7
|
+
isHorizontal: x = !1
|
|
8
|
+
}) => /* @__PURE__ */ o(n, { className: "flex flex-col items-stretch gap-[48px]", children: [
|
|
9
|
+
a && /* @__PURE__ */ t("p", { className: "text-bgBlack text-center text-[44px] font-bold leading-[52px] m-0 max-tablet:text-[26px] max-tablet:leading-[32px]", children: a }),
|
|
10
|
+
/* @__PURE__ */ t("div", { className: "flex gap-[24px] max-tablet:flex-col max-tablet:gap-[16px]", children: e == null ? void 0 : e.map((l, m) => /* @__PURE__ */ t(
|
|
11
|
+
p,
|
|
12
|
+
{
|
|
13
|
+
data: l,
|
|
14
|
+
isHorizontal: x
|
|
15
|
+
},
|
|
16
|
+
m
|
|
17
|
+
)) })
|
|
18
|
+
] });
|
|
19
|
+
export {
|
|
20
|
+
c as CardImageSecondaryList
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|