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.
Files changed (108) hide show
  1. package/README.md +4 -0
  2. package/dist/AllComponents.js +130 -0
  3. package/dist/AnimatedSwiper/Slide/Slide.js +57 -0
  4. package/dist/AnimatedSwiper/Slide/index.js +4 -0
  5. package/dist/AnimatedSwiper/index.js +117 -0
  6. package/dist/AnimatedSwiper/types.js +1 -0
  7. package/dist/Banner/Banner.js +45 -49
  8. package/dist/BannerAndText/index.js +14 -13
  9. package/dist/CardIconList/CardIconList.js +23 -22
  10. package/dist/CardImageList/CardImageList.js +15 -14
  11. package/dist/CardImageSecondary/CardImageSecondary.js +50 -0
  12. package/dist/CardImageSecondary/index.js +4 -0
  13. package/dist/CardImageSecondary/types.js +1 -0
  14. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +21 -0
  15. package/dist/CardImageSecondaryList/index.js +4 -0
  16. package/dist/CardImageSecondaryList/types.js +1 -0
  17. package/dist/CardInfoTable/index.js +153 -0
  18. package/dist/CardInfoTable/types.js +1 -0
  19. package/dist/Cards/CardImage/CardImage.js +8 -7
  20. package/dist/Cards/ColoredCard/index.js +5 -4
  21. package/dist/Cards/ContentCard/ContentCard.js +17 -15
  22. package/dist/Cards/FeaturesCard/index.js +3 -3
  23. package/dist/Cards/WarningCard/WarningCard.js +27 -25
  24. package/dist/Cards/WarningCard/model.js +1 -1
  25. package/dist/ComponentContainer-0fcc2695.js +16 -0
  26. package/dist/ConfigProvider/index.js +5 -3
  27. package/dist/ContentCardList/ContentCardList.js +13 -12
  28. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +21 -15
  29. package/dist/DownloadFile/components/DownloadFileBright/index.js +103 -0
  30. package/dist/DownloadFile/components/DownloadFileBright/types.js +1 -0
  31. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +16 -14
  32. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +20 -18
  33. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +19 -17
  34. package/dist/EmptyBox/EmptyBox.js +5 -0
  35. package/dist/EmptyBox/types.js +1 -0
  36. package/dist/Faq/Faq.js +16 -15
  37. package/dist/Faq/components/Collapse/Collapse.js +9 -8
  38. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +95 -94
  39. package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
  40. package/dist/HeroPossibilityBanner/index.js +24 -16
  41. package/dist/HtmlContent/HtmlContent.js +6 -5
  42. package/dist/InfoBanner/index.js +73 -0
  43. package/dist/InfoBanner/types.js +1 -0
  44. package/dist/InfoBannerList/InfoBannerList.js +37 -0
  45. package/dist/InfoBannerList/index.js +4 -0
  46. package/dist/InfoBannerList/types.js +1 -0
  47. package/dist/InstructionList/InstructionList.js +14 -13
  48. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +13 -12
  49. package/dist/InstructionList/components/InstructionModal/InstructionModal.js +2 -2
  50. package/dist/IntroBanner/IntroBanner.js +60 -0
  51. package/dist/IntroBanner/index.js +4 -0
  52. package/dist/IntroBanner/types.js +1 -0
  53. package/dist/MainBanner/MainBanner.js +30 -21
  54. package/dist/MultiCards/index.js +33 -25
  55. package/dist/Partners/Partners.js +7 -6
  56. package/dist/PartnersColors/PartnersColors.js +20 -19
  57. package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
  58. package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
  59. package/dist/PreviewList/PreviewList.js +17 -16
  60. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +15 -13
  61. package/dist/PromoPoster/PromoPoster.js +36 -0
  62. package/dist/PromoPoster/types.js +1 -0
  63. package/dist/RenderAllComponents/RenderAllComponents.js +82 -0
  64. package/dist/RenderAllComponents/const.js +43 -0
  65. package/dist/RenderAllComponents/index.js +4 -0
  66. package/dist/Segments/Segments.js +14 -13
  67. package/dist/StandartTable/components/CardMarkedRow/index.js +75 -0
  68. package/dist/StandartTable/components/CardMarkedRow/types.js +1 -0
  69. package/dist/StandartTable/components/CardWarning/index.js +89 -0
  70. package/dist/StandartTable/components/CardWarning/types.js +1 -0
  71. package/dist/StandartTable/index.js +48 -0
  72. package/dist/StandartTable/types.js +1 -0
  73. package/dist/Stepper/Stepper.js +14 -13
  74. package/dist/SwiperList/SwiperList.js +50 -3189
  75. package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
  76. package/dist/SwiperList/components/Slide/Slide.js +2 -2
  77. package/dist/TasksBanner/TasksBanner.js +108 -0
  78. package/dist/TasksBanner/index.js +4 -0
  79. package/dist/TasksBanner/types.js +1 -0
  80. package/dist/TasksBannerList/TasksBannerList.js +17 -0
  81. package/dist/TasksBannerList/index.js +4 -0
  82. package/dist/TasksBannerList/types.js +1 -0
  83. package/dist/Video/VideoFull/VideoFull.js +4 -3
  84. package/dist/Video/VideoList/VideoList.js +10 -9
  85. package/dist/Video/VideoListMini/VideoListMini.js +8 -7
  86. package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
  87. package/dist/VideoMainBanner/VideoMainBanner.js +148 -0
  88. package/dist/VideoMainBanner/index.js +4 -0
  89. package/dist/VideoMainBanner/types.js +1 -0
  90. package/dist/assets/TasksBanner.css +1 -0
  91. package/dist/assets/index.css +1 -1
  92. package/dist/{cn-eacd4725.js → cn-d8c04b28.js} +1 -0
  93. package/dist/const-9041b93a.js +5 -0
  94. package/dist/data.mock-741c2220.js +1714 -0
  95. package/dist/{index-fb8c9446.js → index-60dfa873.js} +1 -1
  96. package/dist/{index-cd468670.js → index-6e0f7db0.js} +8 -7
  97. package/dist/index-b3d6aed3.js +52 -0
  98. package/dist/main.js +1 -1
  99. package/dist/{palette-52b06a82.js → palette-ac8c8a5f.js} +7 -2
  100. package/dist/swiper-react-c049ea66.js +3158 -0
  101. package/dist/trash/HeroLargeCards/index.js +1 -1
  102. package/dist/useScreenSize-c1b64c02.js +19 -0
  103. package/package.json +1 -1
  104. package/dist/ComponentContainer-41408843.js +0 -15
  105. package/dist/index-89dcf24f.js +0 -54
  106. package/dist/main.d.ts +0 -39
  107. /package/dist/assets/{SwiperList.css → swiper-react.css} +0 -0
  108. /package/dist/assets/{Slide.css → swiper.css} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as s } from "react/jsx-runtime";
2
2
  import { CardImage as n } from "../../Cards/CardImage/CardImage.js";
3
- import { c as x } from "../../cn-eacd4725.js";
3
+ import { c as x } from "../../cn-d8c04b28.js";
4
4
  const d = ({
5
5
  data: r,
6
6
  title: t,
@@ -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.10",
5
+ "version": "0.0.12",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",
@@ -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
- };
@@ -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