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.
Files changed (112) hide show
  1. package/README.md +1 -1
  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 +34 -48
  8. package/dist/BannerAndText/index.js +4 -8
  9. package/dist/CardIconList/CardIconList.js +4 -10
  10. package/dist/CardImageList/CardImageList.js +4 -9
  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 +3 -5
  20. package/dist/Cards/ColoredCard/index.js +3 -7
  21. package/dist/Cards/ContentCard/ContentCard.js +12 -13
  22. package/dist/Cards/FeaturesCard/index.js +3 -3
  23. package/dist/Cards/WarningCard/WarningCard.js +16 -20
  24. package/dist/Cards/WarningCard/model.js +1 -1
  25. package/dist/ComponentContainer-0fcc2695.js +16 -0
  26. package/dist/ConfigProvider/index.js +1 -3
  27. package/dist/ContentCardList/ContentCardList.js +2 -4
  28. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +22 -19
  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 +15 -16
  32. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +14 -15
  33. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +12 -13
  34. package/dist/EmptyBox/EmptyBox.js +5 -0
  35. package/dist/EmptyBox/types.js +1 -0
  36. package/dist/Faq/Faq.js +2 -5
  37. package/dist/Faq/components/Collapse/Collapse.js +1 -4
  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 +1 -1
  41. package/dist/HtmlContent/HtmlContent.js +2 -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 +3 -7
  48. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +2 -4
  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 +4 -4
  54. package/dist/MultiCards/index.js +1 -1
  55. package/dist/PageViewer/ComponentsView.js +9 -0
  56. package/dist/PageViewer/PageViewer.js +6 -0
  57. package/dist/PageViewer/index.js +4 -0
  58. package/dist/PageViewer/renderComponents.js +26 -0
  59. package/dist/Partners/Partners.js +3 -5
  60. package/dist/PartnersColors/PartnersColors.js +2 -7
  61. package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
  62. package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
  63. package/dist/PreviewList/PreviewList.js +3 -9
  64. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +13 -14
  65. package/dist/PromoPoster/PromoPoster.js +36 -0
  66. package/dist/PromoPoster/types.js +1 -0
  67. package/dist/RenderAllComponents/RenderAllComponents.js +16 -0
  68. package/dist/RenderAllComponents/const.js +43 -0
  69. package/dist/RenderAllComponents/index.js +4 -0
  70. package/dist/Segments/Segments.js +2 -5
  71. package/dist/StandartTable/components/CardMarkedRow/index.js +75 -0
  72. package/dist/StandartTable/components/CardMarkedRow/types.js +1 -0
  73. package/dist/StandartTable/components/CardWarning/index.js +89 -0
  74. package/dist/StandartTable/components/CardWarning/types.js +1 -0
  75. package/dist/StandartTable/index.js +48 -0
  76. package/dist/StandartTable/types.js +1 -0
  77. package/dist/Stepper/Stepper.js +4 -8
  78. package/dist/SwiperList/SwiperList.js +44 -3191
  79. package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
  80. package/dist/SwiperList/components/Slide/Slide.js +2 -2
  81. package/dist/TasksBanner/TasksBanner.js +108 -0
  82. package/dist/TasksBanner/index.js +4 -0
  83. package/dist/TasksBanner/types.js +1 -0
  84. package/dist/TasksBannerList/TasksBannerList.js +17 -0
  85. package/dist/TasksBannerList/index.js +4 -0
  86. package/dist/TasksBannerList/types.js +1 -0
  87. package/dist/Video/VideoFull/VideoFull.js +2 -4
  88. package/dist/Video/VideoList/VideoList.js +2 -4
  89. package/dist/Video/VideoListMini/VideoListMini.js +2 -4
  90. package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
  91. package/dist/VideoMainBanner/VideoMainBanner.js +148 -0
  92. package/dist/VideoMainBanner/index.js +4 -0
  93. package/dist/VideoMainBanner/types.js +1 -0
  94. package/dist/assets/TasksBanner.css +1 -0
  95. package/dist/assets/index.css +1 -1
  96. package/dist/{cn-eacd4725.js → cn-d8c04b28.js} +1 -0
  97. package/dist/componentsMap-8af3b722.js +71 -0
  98. package/dist/const-9041b93a.js +5 -0
  99. package/dist/data.mock-741c2220.js +1714 -0
  100. package/dist/{index-fb8c9446.js → index-60dfa873.js} +1 -1
  101. package/dist/{index-b52a1a9d.js → index-6e0f7db0.js} +3 -7
  102. package/dist/index-b3d6aed3.js +52 -0
  103. package/dist/main.js +1 -1
  104. package/dist/{palette-52b06a82.js → palette-ac8c8a5f.js} +7 -2
  105. package/dist/swiper-react-c049ea66.js +3158 -0
  106. package/dist/trash/HeroLargeCards/index.js +1 -1
  107. package/dist/useScreenSize-c1b64c02.js +19 -0
  108. package/package.json +1 -1
  109. package/dist/ComponentContainer-41408843.js +0 -15
  110. package/dist/index-89dcf24f.js +0 -54
  111. /package/dist/assets/{SwiperList.css → swiper-react.css} +0 -0
  112. /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.11",
5
+ "version": "0.0.13",
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
- };
File without changes