md-components-mdigial-azamat 0.0.108 → 0.0.112

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 (76) hide show
  1. package/dist/ActionCardList/ActionCardList.js +12 -5
  2. package/dist/ActionCardList/index.js +1 -1
  3. package/dist/ActionCardList/info.js +1 -1
  4. package/dist/ActionIconList/ActionIconList.js +9 -2
  5. package/dist/Actions/actionsGenerator.js +30 -11
  6. package/dist/Actions/handlers/download.js +10 -0
  7. package/dist/Actions/handlers/fallback.js +4 -0
  8. package/dist/Actions/handlers/index.js +10 -0
  9. package/dist/Actions/handlers/link.js +6 -0
  10. package/dist/Actions/handlers/modal.js +11 -0
  11. package/dist/Actions/index.js +9 -11
  12. package/dist/Actions/projectActions.js +13 -0
  13. package/dist/Actions/types.js +6 -1
  14. package/dist/AllComponents.js +13 -5
  15. package/dist/AllComponentsInfo.js +92 -84
  16. package/dist/ButtonsList/ButtonsList.js +38 -0
  17. package/dist/ButtonsList/index.js +4 -0
  18. package/dist/ButtonsList/info.js +11 -0
  19. package/dist/ButtonsList/schema.js +21 -0
  20. package/dist/ButtonsList/types.js +1 -0
  21. package/dist/CardImageList/CardImageList.js +87 -71
  22. package/dist/CardImageList/info.js +1 -1
  23. package/dist/CardImageList/schema.js +57 -0
  24. package/dist/Cards/CardImage/CardImage.js +104 -55
  25. package/dist/Cards/CardImage/index.js +6 -1
  26. package/dist/Cards/CardImage/info.js +1 -1
  27. package/dist/Cards/CardImage/schema.js +32 -0
  28. package/dist/Cards/CardImage/types.js +3 -2
  29. package/dist/Cards/WarningCard/WarningCard.js +11 -4
  30. package/dist/Cards/WarningCard/index.js +1 -1
  31. package/dist/Cards/WarningCard/info.js +1 -1
  32. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +28 -25
  33. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +25 -22
  34. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +21 -18
  35. package/dist/Flex-86aee720.js +78 -0
  36. package/dist/Footer/Footer.js +5 -5
  37. package/dist/Forms/FormDefault/index.js +1 -1
  38. package/dist/Forms/FormDefault/info.js +13 -6
  39. package/dist/Forms/helpers/renderFormFields.js +1 -1
  40. package/dist/Forms/model/components.js +11 -4
  41. package/dist/Header/Header.js +1 -1
  42. package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +12 -12
  43. package/dist/Header/components/HeaderMobile/HeaderMobile.js +1 -1
  44. package/dist/Header/components/HeaderSearch/HeaderSearch.js +1 -1
  45. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +10 -10
  46. package/dist/Header/components/HeaderWeb/HeaderWeb.js +15 -15
  47. package/dist/HeroIconsBanner/HeroIconsBanner.js +78 -0
  48. package/dist/HeroIconsBanner/index.js +4 -0
  49. package/dist/HeroIconsBanner/info.js +11 -0
  50. package/dist/HeroIconsBanner/schema.js +40 -0
  51. package/dist/HeroIconsBanner/types.js +1 -0
  52. package/dist/IconList/IconList.js +59 -0
  53. package/dist/IconList/index.js +4 -0
  54. package/dist/IconList/info.js +11 -0
  55. package/dist/IconList/schema.js +26 -0
  56. package/dist/IconList/types.js +1 -0
  57. package/dist/ModalBody/index.js +1 -1
  58. package/dist/PageViewer/renderComponents.js +1 -1
  59. package/dist/PreviewList/PreviewList.js +19 -19
  60. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +29 -29
  61. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  62. package/dist/RenderAllComponents/const.js +1 -1
  63. package/dist/SearchBlock/SearchBlock.js +102 -0
  64. package/dist/SearchBlock/index.js +4 -0
  65. package/dist/SearchBlock/info.js +11 -0
  66. package/dist/SearchBlock/schema.js +36 -0
  67. package/dist/assets/index.css +1 -1
  68. package/dist/{clientApi-642fea4b.js → clientApi-ccb08ba6.js} +7 -7
  69. package/dist/{componentsMap-d2b8d2d4.js → componentsMap-cac6c316.js} +4 -3
  70. package/dist/{data.mock-182979d1.js → data.mock-ebc679ec.js} +107 -27
  71. package/dist/{index-497f59a8.js → index-b795390d.js} +23 -20
  72. package/dist/{index.module-c8833286.js → index.module-8835bf96.js} +1 -1
  73. package/dist/{info-f6e88bd8.js → info-d05a1f02.js} +174 -156
  74. package/dist/main.js +100 -91
  75. package/dist/trash/HeroLargeCards/index.js +7 -6
  76. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1,118 +1,127 @@
1
- import { ConfigProvider as d } from "./ConfigProvider/index.js";
2
- import { Banner as c } from "./Banner/Banner.js";
3
- import { BannerAndText as F } from "./BannerAndText/index.js";
4
- import { Header as B } from "./Header/Header.js";
1
+ import { ConfigProvider as C } from "./ConfigProvider/index.js";
2
+ import { Banner as u } from "./Banner/Banner.js";
3
+ import { BannerAndText as B } from "./BannerAndText/index.js";
4
+ import { Header as P } from "./Header/Header.js";
5
5
  import { Footer as M } from "./Footer/Footer.js";
6
- import { Stepper as L } from "./Stepper/Stepper.js";
6
+ import { Stepper as S } from "./Stepper/Stepper.js";
7
7
  import { Segments as A } from "./Segments/Segments.js";
8
- import { VideoFull as D } from "./Video/VideoFull/VideoFull.js";
9
- import { VideoList as y } from "./Video/VideoList/VideoList.js";
10
- import { VideoListMini as H } from "./Video/VideoListMini/VideoListMini.js";
11
- import { ContentCardList as k } from "./ContentCardList/ContentCardList.js";
12
- import { CardIconList as O } from "./CardIconList/CardIconList.js";
8
+ import { VideoFull as b } from "./Video/VideoFull/VideoFull.js";
9
+ import { VideoList as H } from "./Video/VideoList/VideoList.js";
10
+ import { VideoListMini as k } from "./Video/VideoListMini/VideoListMini.js";
11
+ import { ContentCardList as v } from "./ContentCardList/ContentCardList.js";
12
+ import { CardIconList as W } from "./CardIconList/CardIconList.js";
13
13
  import { MultiCards as q } from "./MultiCards/index.js";
14
14
  import { Partners as Z } from "./Partners/Partners.js";
15
- import { CardImageList as j } from "./CardImageList/CardImageList.js";
16
- import { MainBanner as G } from "./MainBanner/MainBanner.js";
17
- import { Faq as K } from "./Faq/Faq.js";
18
- import { HtmlContent as Q } from "./HtmlContent/HtmlContent.js";
19
- import { InstructionList as U } from "./InstructionList/InstructionList.js";
20
- import { HeroPossibilityBanner as Y } from "./HeroPossibilityBanner/index.js";
21
- import { PartnersColors as $ } from "./PartnersColors/PartnersColors.js";
22
- import { PreviewList as ro } from "./PreviewList/PreviewList.js";
23
- import { CardImage as to } from "./Cards/CardImage/CardImage.js";
24
- import { ContentCard as po } from "./Cards/ContentCard/ContentCard.js";
25
- import { a as mo, b as fo, A as so, F as xo, W as lo } from "./info-f6e88bd8.js";
26
- import { ColoredCard as Co } from "./Cards/ColoredCard/index.js";
27
- import { FeaturesCard as uo } from "./Cards/FeaturesCard/index.js";
28
- import { DownloadFileBanner as Po } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
29
- import { DownloadFileFull as Io } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
15
+ import { CardImageList as z } from "./CardImageList/CardImageList.js";
16
+ import { MainBanner as J } from "./MainBanner/MainBanner.js";
17
+ import { Faq as N } from "./Faq/Faq.js";
18
+ import { HtmlContent as R } from "./HtmlContent/HtmlContent.js";
19
+ import { InstructionList as X } from "./InstructionList/InstructionList.js";
20
+ import { HeroPossibilityBanner as _ } from "./HeroPossibilityBanner/index.js";
21
+ import { PartnersColors as oo } from "./PartnersColors/PartnersColors.js";
22
+ import { PreviewList as eo } from "./PreviewList/PreviewList.js";
23
+ import { CardImage as po } from "./Cards/CardImage/CardImage.js";
24
+ import "./Cards/CardImage/info.js";
25
+ import { ContentCard as no } from "./Cards/ContentCard/ContentCard.js";
26
+ import { a as fo, b as so, A as xo, F as io, W as lo } from "./info-d05a1f02.js";
27
+ import { ColoredCard as co } from "./Cards/ColoredCard/index.js";
28
+ import { FeaturesCard as Fo } from "./Cards/FeaturesCard/index.js";
29
+ import { DownloadFileBanner as Io } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
30
+ import { DownloadFileFull as Lo } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
30
31
  import { DownloadFileHalf as go } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
31
32
  import { DownloadFileMini as wo } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
32
- import { Collapse as So } from "./Faq/components/Collapse/Collapse.js";
33
- import { F as bo } from "./index-a0ed2e4a.js";
33
+ import { Collapse as Do } from "./Faq/components/Collapse/Collapse.js";
34
+ import { F as yo } from "./index-a0ed2e4a.js";
34
35
  import { PlusMinusIcon as Vo } from "./Faq/components/PlusMinusIcon/PlusMinusIcon.js";
35
36
  import { InstructionCard as To } from "./InstructionList/components/InstructionCard/InstructionCard.js";
36
- import { InstructionModal as vo } from "./InstructionList/components/InstructionModal/InstructionModal.js";
37
- import { PartnerCard as Wo } from "./PartnersColors/components/PartnerCard/PartnerCard.js";
37
+ import { InstructionModal as Oo } from "./InstructionList/components/InstructionModal/InstructionModal.js";
38
+ import { PartnerCard as ho } from "./PartnersColors/components/PartnerCard/PartnerCard.js";
38
39
  import { PartnerTab as Eo } from "./PartnersColors/components/PartnerTab/PartnerTab.js";
39
- import { PreviewCard as ho } from "./PreviewList/components/PreviewCard/PreviewCard.js";
40
- import { VideoPlayer as zo } from "./Video/components/VideoPlayer/VideoPlayer.js";
41
- import { PageViewer as Jo } from "./PageViewer/PageViewer.js";
42
- import { FieldTypes as No } from "./Types/FiledTypes.js";
43
- import { B as Ro } from "./const-53dff524.js";
44
- import { Space as Xo } from "./Space/Space.js";
45
- import { FileBannerSecondary as _o } from "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
46
- import { M as or, a as rr } from "./index-497f59a8.js";
40
+ import { PreviewCard as jo } from "./PreviewList/components/PreviewCard/PreviewCard.js";
41
+ import { VideoPlayer as Go } from "./Video/components/VideoPlayer/VideoPlayer.js";
42
+ import { PageViewer as Ko } from "./PageViewer/PageViewer.js";
43
+ import { FieldTypes as Qo } from "./Types/FiledTypes.js";
44
+ import { B as Uo } from "./const-53dff524.js";
45
+ import { Space as Yo } from "./Space/Space.js";
46
+ import { FileBannerSecondary as $o } from "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
47
+ import { M as rr, a as er } from "./index-b795390d.js";
47
48
  import { useState as f, useCallback as r } from "react";
48
- import { S as tr } from "./size-b1291031.js";
49
- import { TitleBlock as pr } from "./TitleBlock/TitleBlock.js";
50
- import { AllComponentsInfo as mr } from "./AllComponentsInfo.js";
51
- import { Actions as sr } from "./Actions/types.js";
52
- const x = (e = !1) => {
53
- const [t, o] = f(e), a = r(() => o(!0), []), p = r(() => o(!1), []), n = r(() => o((m) => !m), []);
49
+ import { S as pr } from "./size-b1291031.js";
50
+ import { TitleBlock as nr } from "./TitleBlock/TitleBlock.js";
51
+ import { AllComponentsInfo as fr } from "./AllComponentsInfo.js";
52
+ import { Actions as xr } from "./Actions/types.js";
53
+ import { ButtonsList as lr } from "./ButtonsList/ButtonsList.js";
54
+ import { IconList as Cr } from "./IconList/IconList.js";
55
+ import { HeroIconsBanner as ur } from "./HeroIconsBanner/HeroIconsBanner.js";
56
+ import { SearchBlock as Br } from "./SearchBlock/SearchBlock.js";
57
+ const i = (e = !1) => {
58
+ const [t, o] = f(e), p = r(() => o(!0), []), a = r(() => o(!1), []), n = r(() => o((m) => !m), []);
54
59
  return {
55
60
  isOpen: t,
56
- open: a,
57
- close: p,
61
+ open: p,
62
+ close: a,
58
63
  toggle: n
59
64
  };
60
65
  };
61
66
  export {
62
- mo as ActionCardList,
63
- sr as Actions,
64
- fo as AllComponents,
65
- so as AllComponentsData,
66
- mr as AllComponentsInfo,
67
- c as Banner,
68
- F as BannerAndText,
69
- Ro as ButtonProps,
70
- O as CardIconList,
71
- to as CardImage,
72
- j as CardImageList,
73
- So as Collapse,
74
- Co as ColoredCard,
75
- d as ConfigProvider,
76
- po as ContentCard,
77
- k as ContentCardList,
78
- Po as DownloadFileBanner,
79
- Io as DownloadFileFull,
67
+ fo as ActionCardList,
68
+ xr as Actions,
69
+ so as AllComponents,
70
+ xo as AllComponentsData,
71
+ fr as AllComponentsInfo,
72
+ u as Banner,
73
+ B as BannerAndText,
74
+ Uo as ButtonProps,
75
+ lr as ButtonsList,
76
+ W as CardIconList,
77
+ po as CardImage,
78
+ z as CardImageList,
79
+ Do as Collapse,
80
+ co as ColoredCard,
81
+ C as ConfigProvider,
82
+ no as ContentCard,
83
+ v as ContentCardList,
84
+ Io as DownloadFileBanner,
85
+ Lo as DownloadFileFull,
80
86
  go as DownloadFileHalf,
81
87
  wo as DownloadFileMini,
82
- K as Faq,
83
- uo as FeaturesCard,
84
- bo as FeedbackForm,
85
- No as FieldTypes,
86
- _o as FileBannerSecondary,
88
+ N as Faq,
89
+ Fo as FeaturesCard,
90
+ yo as FeedbackForm,
91
+ Qo as FieldTypes,
92
+ $o as FileBannerSecondary,
87
93
  M as Footer,
88
- xo as FormDefault,
89
- B as Header,
90
- Y as HeroPossibilityBanner,
91
- Q as HtmlContent,
94
+ io as FormDefault,
95
+ P as Header,
96
+ ur as HeroIconsBanner,
97
+ _ as HeroPossibilityBanner,
98
+ R as HtmlContent,
99
+ Cr as IconList,
92
100
  To as InstructionCard,
93
- U as InstructionList,
94
- vo as InstructionModal,
95
- G as MainBanner,
96
- or as Modal,
97
- rr as ModalBody,
101
+ X as InstructionList,
102
+ Oo as InstructionModal,
103
+ J as MainBanner,
104
+ rr as Modal,
105
+ er as ModalBody,
98
106
  q as MultiCards,
99
- Jo as PageViewer,
100
- Wo as PartnerCard,
107
+ Ko as PageViewer,
108
+ ho as PartnerCard,
101
109
  Eo as PartnerTab,
102
110
  Z as Partners,
103
- $ as PartnersColors,
111
+ oo as PartnersColors,
104
112
  Vo as PlusMinusIcon,
105
- ho as PreviewCard,
106
- ro as PreviewList,
107
- tr as SIZE,
113
+ jo as PreviewCard,
114
+ eo as PreviewList,
115
+ pr as SIZE,
116
+ Br as SearchBlock,
108
117
  A as Segments,
109
- Xo as Space,
110
- L as Stepper,
111
- pr as TitleBlock,
112
- D as VideoFull,
113
- y as VideoList,
114
- H as VideoListMini,
115
- zo as VideoPlayer,
118
+ Yo as Space,
119
+ S as Stepper,
120
+ nr as TitleBlock,
121
+ b as VideoFull,
122
+ H as VideoList,
123
+ k as VideoListMini,
124
+ Go as VideoPlayer,
116
125
  lo as WarningCard,
117
- x as useModal
126
+ i as useModal
118
127
  };
@@ -1,26 +1,27 @@
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 "../../Cards/CardImage/info.js";
3
4
  import { c as x } from "../../cn-6a4bf187.js";
4
- const d = ({
5
+ const h = ({
5
6
  data: r,
6
7
  title: t,
7
- listStyle: i,
8
+ listStyle: c,
8
9
  cardStyle: l,
9
10
  extraButton: m,
10
- largeCards: c = !0
11
+ largeCards: i = !0
11
12
  }) => /* @__PURE__ */ o("div", { className: "w-full flex flex-col items-center gap-6", children: [
12
13
  t && /* @__PURE__ */ s("p", { className: "font-bold text-[44px] leading-[42px] mb-[24px] font-variant-numeric font-feature-settings", children: t }),
13
- /* @__PURE__ */ s("div", { className: x("gap-6", c ? "grid grid-cols-2 items-stretch max-tablet:grid-cols-1" : "flex items-stretch max-tablet:flex-col flex-wrap ", i), children: r == null ? void 0 : r.map((e) => /* @__PURE__ */ s(
14
+ /* @__PURE__ */ s("div", { className: x("gap-6", i ? "grid grid-cols-2 items-stretch max-tablet:grid-cols-1" : "flex items-stretch max-tablet:flex-col flex-wrap ", c), children: r == null ? void 0 : r.map((e) => /* @__PURE__ */ s(
14
15
  n,
15
16
  {
16
17
  data: e,
17
18
  cardStyle: l,
18
- largeCards: c
19
+ largeCards: i
19
20
  },
20
21
  e == null ? void 0 : e.id
21
22
  )) }),
22
23
  m
23
24
  ] });
24
25
  export {
25
- d as HeroCards
26
+ h as HeroCards
26
27
  };
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.108",
5
+ "version": "0.0.112",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",