md-components-mdigial-azamat 0.0.33 → 0.0.35
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 +29 -5
- package/dist/AnimatedSwiper/Slide/Slide.js +2 -2
- package/dist/AnimatedSwiper/index.js +5 -3
- package/dist/Banner/Banner.js +152 -8
- package/dist/Banner/index.js +2 -2
- package/dist/BannerAndText/index.js +56 -23
- package/dist/CardIconList/CardIconList.js +81 -22
- package/dist/CardIconList/index.js +2 -2
- package/dist/CardImageList/CardImageList.js +75 -8
- package/dist/CardImageList/index.js +1 -1
- package/dist/CardImageSecondary/CardImageSecondary.js +57 -23
- package/dist/CardImageSecondary/index.js +1 -1
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +27 -4
- package/dist/CardImageSecondaryList/index.js +1 -1
- package/dist/CardInfoTable/index.js +187 -22
- package/dist/Cards/CardImage/CardImage.js +2 -2
- package/dist/Cards/ColoredCard/index.js +2 -2
- package/dist/Cards/ContentCard/ContentCard.js +38 -5
- package/dist/Cards/ContentCard/index.js +2 -2
- package/dist/Cards/FeaturesCard/index.js +3 -3
- package/dist/Cards/WarningCard/WarningCard.js +58 -6
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/model.js +39 -7
- package/dist/ComponentContainer-cdb2528c.js +16 -0
- package/dist/ContentCardList/ContentCardList.js +34 -21
- package/dist/ContentCardList/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +41 -5
- package/dist/DownloadFile/components/DownloadFileBanner/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileBright/index.js +74 -7
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +49 -6
- package/dist/DownloadFile/components/DownloadFileFull/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +46 -5
- package/dist/DownloadFile/components/DownloadFileHalf/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +56 -7
- package/dist/DownloadFile/components/DownloadFileMini/index.js +2 -2
- package/dist/Faq/Faq.js +44 -20
- package/dist/Faq/components/Collapse/Collapse.js +37 -19
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1061 -4
- package/dist/Faq/components/FeedbackForm/index.js +2 -2
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
- package/dist/Faq/index.js +2 -2
- package/dist/Footer/Footer.js +452 -0
- package/dist/Footer/components/ContactOfFooter/ContactOfFooter.js +34 -0
- package/dist/Footer/components/LinkToApp/LinkToApp.js +45 -0
- package/dist/Footer/components/LinkToAppMobile/LinkToAppMobile.js +28 -0
- package/dist/Footer/components/ListNavigation/ListNavigation.js +221 -0
- package/dist/Footer/components/NavigationFooter/NavigationFooter.js +31 -0
- package/dist/Footer/components/SocialButtonsList/SocialButtonsList.js +37 -0
- package/dist/Footer/types.js +1 -0
- package/dist/GooglePlayButton-35331c37.js +100 -0
- package/dist/Header/Header.js +8 -0
- package/dist/Header/components/HeaderCard/HeaderCard.js +37 -0
- package/dist/Header/components/HeaderCard/index.js +4 -0
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +208 -0
- package/dist/Header/components/HeaderMenu/HeaderMenu.js +41 -0
- package/dist/Header/components/HeaderMenu/index.js +1 -0
- package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +47 -0
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +11 -0
- package/dist/Header/components/HeaderMobile/index.js +4 -0
- package/dist/Header/components/HeaderResults/HeaderResults.js +46 -0
- package/dist/Header/components/HeaderResults/index.js +4 -0
- package/dist/Header/components/HeaderSearch/HeaderSearch.js +13 -0
- package/dist/Header/components/HeaderSearch/index.js +4 -0
- package/dist/Header/components/HeaderSearchMobile/HeaderSearchMobile.js +78 -0
- package/dist/Header/components/HeaderTab/HeaderTab.js +34 -0
- package/dist/Header/components/HeaderTab/index.js +4 -0
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +55 -0
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +149 -0
- package/dist/Header/components/HeaderWeb/index.js +4 -0
- package/dist/Header/components/SelectLanguage/SelectLanguage.js +79 -0
- package/dist/Header/components/SelectLanguage/index.js +4 -0
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +50 -0
- package/dist/Header/components/TabsOutlined/index.js +4 -0
- package/dist/Header/const.js +4 -0
- package/dist/Header/index.js +4 -0
- package/dist/Header/types.js +5 -0
- package/dist/HeroPossibilityBanner/index.js +1 -1
- package/dist/HtmlContent/HtmlContent.js +1 -1
- package/dist/Icon-70ea6cb8.js +187 -0
- package/dist/InfoBanner/index.js +89 -8
- package/dist/InfoBannerList/InfoBannerList.js +5 -4
- package/dist/InfoBannerList/index.js +2 -2
- package/dist/InstructionList/InstructionList.js +6 -4
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +31 -7
- package/dist/InstructionList/components/InstructionCard/index.js +2 -2
- package/dist/InstructionList/components/InstructionModal/InstructionModal.js +2 -2
- package/dist/InstructionList/index.js +1 -1
- package/dist/IntroBanner/IntroBanner.js +68 -6
- package/dist/IntroBanner/index.js +1 -1
- package/dist/MainBanner/MainBanner.js +84 -6
- package/dist/MainBanner/index.js +2 -2
- package/dist/MultiCards/index.js +88 -5
- package/dist/PageViewer/PageViewer.js +22 -4
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/Partners/Partners.js +2 -2
- package/dist/PartnersColors/PartnersColors.js +1 -1
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
- package/dist/PreviewList/PreviewList.js +4 -2
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +32 -8
- package/dist/PreviewList/components/PreviewCard/index.js +2 -2
- package/dist/PreviewList/index.js +1 -1
- package/dist/PromoPoster/PromoPoster.js +4 -4
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +11 -11
- package/dist/Segments/Segments.js +1 -1
- package/dist/StandartTable/components/CardMarkedRow/index.js +33 -9
- package/dist/StandartTable/components/CardWarning/index.js +87 -6
- package/dist/StandartTable/index.js +5 -4
- package/dist/Stepper/Stepper.js +50 -6
- package/dist/Stepper/index.js +1 -1
- package/dist/SwiperList/SwiperList.js +5 -4
- package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
- package/dist/SwiperList/index.js +1 -1
- package/dist/TasksBanner/TasksBanner.js +5 -5
- package/dist/TasksBanner/index.js +2 -2
- package/dist/TasksBannerList/TasksBannerList.js +2 -2
- package/dist/TasksBannerList/index.js +1 -1
- package/dist/Video/VideoFull/VideoFull.js +1 -1
- package/dist/Video/VideoList/VideoList.js +1 -1
- package/dist/Video/VideoListMini/VideoListMini.js +1 -1
- package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +168 -7
- package/dist/VideoMainBanner/index.js +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/{cn-d8c04b28.js → cn-6a4bf187.js} +521 -488
- package/dist/componentsMap-e2de87b6.js +68 -0
- package/dist/const-637b0dca.js +27 -0
- package/dist/data.mock-483400cb.js +1713 -0
- package/dist/header-97863d08.js +22 -0
- package/dist/{index-60dfa873.js → index-2265d593.js} +1 -1
- package/dist/index-2fb01942.js +925 -0
- package/dist/index-3a534581.js +261 -0
- package/dist/index-66837af1.js +313 -0
- package/dist/index-6af94f99.js +53 -0
- package/dist/{index-a379154f.js → index-815f0132.js} +2 -2
- package/dist/languages-list-8419e560.js +22 -0
- package/dist/logo-99aa20bd.js +27 -0
- package/dist/main.js +87 -67
- package/dist/mousewheel-865ae601.js +153 -0
- package/dist/palette-b47a76c9.js +46 -0
- package/dist/routes-382632ac.js +7 -0
- package/dist/search-dd4eb6f8.js +5 -0
- package/dist/{index-b093f70c.js → swiper-react-90953710.js} +780 -1098
- package/dist/trash/HeroLargeCards/index.js +1 -1
- package/dist/useClickOutside-197b0df2.js +12 -0
- package/dist/useScreenSize-c1b64c02.js +19 -0
- package/package.json +4 -2
- package/dist/ComponentContainer-0fcc2695.js +0 -16
- package/dist/componentsMap-6d7d63d5.js +0 -47
- package/dist/index-b999483f.js +0 -5314
- package/dist/model-9e50e351.js +0 -69
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { useRef as o, useState as i, useEffect as f } from "react";
|
|
2
|
+
function d(u, e) {
|
|
3
|
+
const t = o(null), [c, r] = i(u), s = (n) => {
|
|
4
|
+
t.current && !t.current.contains(n.target) && (r(!1), e == null || e());
|
|
5
|
+
};
|
|
6
|
+
return f(() => (document.addEventListener("click", s, !0), () => {
|
|
7
|
+
document.removeEventListener("click", s, !0);
|
|
8
|
+
}), []), { ref: t, isShow: c, setIsShow: r };
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
d as u
|
|
12
|
+
};
|
|
@@ -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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "md-components-mdigial-azamat",
|
|
3
3
|
"author": "Azamat Raimbekov",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.35",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/main.js",
|
|
8
8
|
"types": "dist/main.d.ts",
|
|
@@ -58,8 +58,10 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"clsx": "^2.1.1",
|
|
60
60
|
"react-hook-form": "^7.58.1",
|
|
61
|
+
"react-router-dom": "^6.30.2",
|
|
61
62
|
"react-youtube": "^10.1.0",
|
|
62
63
|
"swiper": "^11.2.10",
|
|
63
|
-
"tailwind-merge": "^3.3.0"
|
|
64
|
+
"tailwind-merge": "^3.3.0",
|
|
65
|
+
"use-debounce": "^10.0.6"
|
|
64
66
|
}
|
|
65
67
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "./cn-d8c04b28.js";
|
|
3
|
-
const r = ({ children: a, className: t, style: m }) => /* @__PURE__ */ l(
|
|
4
|
-
"section",
|
|
5
|
-
{
|
|
6
|
-
style: m,
|
|
7
|
-
className: o(
|
|
8
|
-
"w-[1232px] max-tablet:w-full mx-auto px-4 relative max-tablet:max-w-[960px] md:max-w-full lg:max-w-full",
|
|
9
|
-
t
|
|
10
|
-
),
|
|
11
|
-
children: a
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
export {
|
|
15
|
-
r as C
|
|
16
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { A as a } from "./index-b093f70c.js";
|
|
2
|
-
import { B as r, C as s, S as o, a as i, b as n, M as e, c as t, W as m, F as d, D as l, d as p, e as f, f as L, I as C, P as B, g as F, h as c, T as w, V as I, i as S, j as M, k as g, l as D, m as P, n as V } from "./index-b999483f.js";
|
|
3
|
-
import { Partners as u } from "./Partners/Partners.js";
|
|
4
|
-
import { PartnersColors as T } from "./PartnersColors/PartnersColors.js";
|
|
5
|
-
import { Segments as b } from "./Segments/Segments.js";
|
|
6
|
-
import { Space as h } from "./Space/Space.js";
|
|
7
|
-
import { VideoFull as k } from "./Video/VideoFull/VideoFull.js";
|
|
8
|
-
import { VideoList as A } from "./Video/VideoList/VideoList.js";
|
|
9
|
-
import { VideoListMini as W } from "./Video/VideoListMini/VideoListMini.js";
|
|
10
|
-
const J = {
|
|
11
|
-
Banner: r,
|
|
12
|
-
CardImageList: s,
|
|
13
|
-
Stepper: o,
|
|
14
|
-
Segments: b,
|
|
15
|
-
VideoFull: k,
|
|
16
|
-
VideoList: A,
|
|
17
|
-
VideoListMini: W,
|
|
18
|
-
ContentCardList: i,
|
|
19
|
-
CardIconList: n,
|
|
20
|
-
MultiCards: e,
|
|
21
|
-
Partners: u,
|
|
22
|
-
PartnersColors: T,
|
|
23
|
-
MainBanner: t,
|
|
24
|
-
WarningCard: m,
|
|
25
|
-
Faq: d,
|
|
26
|
-
DownloadFileBanner: l,
|
|
27
|
-
DownloadFileHalf: p,
|
|
28
|
-
DownloadFileFull: f,
|
|
29
|
-
DownloadFileMini: L,
|
|
30
|
-
InstructionList: C,
|
|
31
|
-
PreviewList: B,
|
|
32
|
-
SwiperList: F,
|
|
33
|
-
AnimatedSwiper: a,
|
|
34
|
-
InfoBannerList: c,
|
|
35
|
-
TasksBannerList: w,
|
|
36
|
-
VideoMainBanner: I,
|
|
37
|
-
Space: h,
|
|
38
|
-
PromoPoster: S,
|
|
39
|
-
CardImageSecondaryList: M,
|
|
40
|
-
CardInfoTable: g,
|
|
41
|
-
StandartTable: D,
|
|
42
|
-
IntroBanner: P,
|
|
43
|
-
DownloadFileBright: V
|
|
44
|
-
};
|
|
45
|
-
export {
|
|
46
|
-
J as c
|
|
47
|
-
};
|