@prokodo/ui 0.0.7 → 0.0.8

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 (225) hide show
  1. package/README.md +1 -2
  2. package/dist/components/Accordion2.js +1 -0
  3. package/dist/components/Animated2.js +1 -0
  4. package/dist/components/AnimatedText2.js +1 -0
  5. package/dist/components/Avatar2.js +1 -0
  6. package/dist/components/BaseLink.js +1 -0
  7. package/dist/components/Button2.js +1 -0
  8. package/dist/components/Calendly2.js +1 -0
  9. package/dist/components/Card2.js +1 -0
  10. package/dist/components/Carousel2.js +1 -0
  11. package/dist/components/Chip2.js +1 -0
  12. package/dist/components/{ClassNameConfigurator-C6UbdI-d.js → ClassNameConfigurator.js} +1 -1
  13. package/dist/components/DatePicker2.js +1 -0
  14. package/dist/components/Dialog2.js +1 -0
  15. package/dist/components/Drawer2.js +1 -0
  16. package/dist/components/Form2.js +1 -0
  17. package/dist/components/GridRow.js +1 -0
  18. package/dist/components/Headline2.js +1 -0
  19. package/dist/components/Icon2.js +1 -0
  20. package/dist/components/Image2.js +1 -0
  21. package/dist/components/ImageText.js +1 -0
  22. package/dist/components/Input2.js +1 -0
  23. package/dist/components/InputOTP2.js +1 -0
  24. package/dist/components/Label2.js +1 -0
  25. package/dist/components/Link2.js +1 -0
  26. package/dist/components/List2.js +1 -0
  27. package/dist/components/Loading2.js +1 -0
  28. package/dist/components/Lottie2.js +1 -0
  29. package/dist/components/Map2.js +1 -0
  30. package/dist/components/PostItem.js +1 -0
  31. package/dist/components/PostTeaser.js +1 -0
  32. package/dist/components/PostWidget.js +1 -0
  33. package/dist/components/PostWidgetCarousel.js +1 -0
  34. package/dist/components/Quote2.js +1 -0
  35. package/dist/components/RichText.js +1 -0
  36. package/dist/components/{Select-DbjU6dlH.js → Select2.js} +1 -1
  37. package/dist/components/Skeleton2.js +1 -0
  38. package/dist/components/Slider2.js +1 -0
  39. package/dist/components/Stepper2.js +1 -0
  40. package/dist/components/Switch2.js +1 -0
  41. package/dist/components/Table2.js +1 -0
  42. package/dist/components/Teaser2.js +1 -0
  43. package/dist/components/accordion.js +1 -1
  44. package/dist/components/animated.js +1 -1
  45. package/dist/components/animatedText.js +1 -1
  46. package/dist/components/avatar.js +1 -1
  47. package/dist/components/base-link.js +1 -1
  48. package/dist/components/button.js +1 -1
  49. package/dist/components/calendly.js +1 -1
  50. package/dist/components/card.js +1 -1
  51. package/dist/components/carousel.js +1 -1
  52. package/dist/components/chip.js +1 -1
  53. package/dist/components/datePicker.js +1 -1
  54. package/dist/components/dialog.js +1 -1
  55. package/dist/components/drawer.js +1 -1
  56. package/dist/components/form.js +1 -1
  57. package/dist/components/grid.js +1 -1
  58. package/dist/components/headline.js +1 -1
  59. package/dist/components/icon.js +1 -1
  60. package/dist/components/image-text.js +1 -1
  61. package/dist/components/image.js +1 -1
  62. package/dist/components/input.js +1 -1
  63. package/dist/components/inputOTP.js +1 -1
  64. package/dist/components/label.js +1 -1
  65. package/dist/components/link.js +1 -1
  66. package/dist/components/list.js +1 -1
  67. package/dist/components/loading.js +1 -1
  68. package/dist/components/lottie.js +1 -1
  69. package/dist/components/map.js +1 -1
  70. package/dist/components/post-item.js +1 -1
  71. package/dist/components/post-teaser.js +1 -1
  72. package/dist/components/post-widget-carousel.js +1 -1
  73. package/dist/components/post-widget.js +1 -1
  74. package/dist/components/quote.js +1 -1
  75. package/dist/components/rich-text.js +1 -1
  76. package/dist/components/select.js +1 -1
  77. package/dist/components/skeleton.js +1 -1
  78. package/dist/components/slider.js +1 -1
  79. package/dist/components/stepper.js +1 -1
  80. package/dist/components/switch.js +1 -1
  81. package/dist/components/table.js +1 -1
  82. package/dist/components/teaser.js +1 -1
  83. package/dist/index.cjs.js +1 -1
  84. package/dist/index.es.js +40 -40
  85. package/dist/tsconfig.build.tsbuildinfo +1 -1
  86. package/dist/tsconfig.typecheck.tsbuildinfo +1 -0
  87. package/dist/types/components/accordion/index.d.ts +1 -1
  88. package/dist/types/components/animated/index.d.ts +1 -1
  89. package/dist/types/components/animatedText/index.d.ts +1 -1
  90. package/dist/types/components/avatar/index.d.ts +1 -1
  91. package/dist/types/components/base-link/index.d.ts +1 -1
  92. package/dist/types/components/button/index.d.ts +1 -1
  93. package/dist/types/components/calendly/index.d.ts +1 -1
  94. package/dist/types/components/card/index.d.ts +1 -1
  95. package/dist/types/components/carousel/index.d.ts +1 -1
  96. package/dist/types/components/chip/index.d.ts +1 -1
  97. package/dist/types/components/datePicker/index.d.ts +1 -1
  98. package/dist/types/components/dialog/index.d.ts +1 -1
  99. package/dist/types/components/drawer/index.d.ts +1 -1
  100. package/dist/types/components/form/Form.model.d.ts +4 -1
  101. package/dist/types/components/form/FormResponse.d.ts +2 -5
  102. package/dist/types/components/form/index.d.ts +2 -1
  103. package/dist/types/components/grid/Grid.d.ts +2 -6
  104. package/dist/types/components/grid/Grid.model.d.ts +17 -0
  105. package/dist/types/components/grid/GridRow.d.ts +2 -12
  106. package/dist/types/components/grid/index.d.ts +1 -0
  107. package/dist/types/components/headline/index.d.ts +1 -1
  108. package/dist/types/components/icon/index.d.ts +1 -1
  109. package/dist/types/components/image/index.d.ts +1 -1
  110. package/dist/types/components/image-text/index.d.ts +1 -1
  111. package/dist/types/components/input/index.d.ts +1 -1
  112. package/dist/types/components/inputOTP/index.d.ts +1 -1
  113. package/dist/types/components/label/index.d.ts +1 -1
  114. package/dist/types/components/link/index.d.ts +1 -1
  115. package/dist/types/components/list/index.d.ts +1 -1
  116. package/dist/types/components/loading/index.d.ts +1 -1
  117. package/dist/types/components/lottie/index.d.ts +1 -1
  118. package/dist/types/components/map/index.d.ts +1 -1
  119. package/dist/types/components/post-item/index.d.ts +2 -2
  120. package/dist/types/components/post-teaser/index.d.ts +1 -1
  121. package/dist/types/components/post-widget/index.d.ts +1 -1
  122. package/dist/types/components/post-widget-carousel/index.d.ts +1 -1
  123. package/dist/types/components/quote/index.d.ts +1 -1
  124. package/dist/types/components/rich-text/index.d.ts +1 -1
  125. package/dist/types/components/select/index.d.ts +1 -1
  126. package/dist/types/components/skeleton/index.d.ts +1 -1
  127. package/dist/types/components/slider/index.d.ts +1 -1
  128. package/dist/types/components/stepper/index.d.ts +1 -1
  129. package/dist/types/components/switch/index.d.ts +1 -1
  130. package/dist/types/components/table/index.d.ts +1 -1
  131. package/dist/types/components/teaser/index.d.ts +1 -1
  132. package/dist/types/index.d.ts +0 -40
  133. package/package.json +1 -1
  134. package/dist/components/Accordion-V3d_aGvZ.js +0 -130
  135. package/dist/components/Accordion-o8oKA6Tq.js +0 -1
  136. package/dist/components/Animated-BBfAgsHL.js +0 -64
  137. package/dist/components/Animated-CO4IEerF.js +0 -1
  138. package/dist/components/AnimatedText-BmB5Vkyq.js +0 -31
  139. package/dist/components/AnimatedText-Sy1jofZl.js +0 -1
  140. package/dist/components/Avatar-Ci5YNFc5.js +0 -95
  141. package/dist/components/Avatar-CjlbA5a5.js +0 -1
  142. package/dist/components/BaseLink-Dd9htNXU.js +0 -1
  143. package/dist/components/BaseLink-w1q9Qc1U.js +0 -30
  144. package/dist/components/Button-B8chVgsB.js +0 -111
  145. package/dist/components/Button-yvFLX-6Q.js +0 -1
  146. package/dist/components/Calendly-CWCAs02R.js +0 -1
  147. package/dist/components/Calendly-WBM4oHyC.js +0 -82
  148. package/dist/components/Card-BPEoLzF1.js +0 -1
  149. package/dist/components/Card-IW4R7bKr.js +0 -202
  150. package/dist/components/Carousel-CdS7SVzA.js +0 -1
  151. package/dist/components/Carousel-DpO4a3lm.js +0 -257
  152. package/dist/components/Chip-BmBxJH5M.js +0 -80
  153. package/dist/components/Chip-Q2ttDAQn.js +0 -1
  154. package/dist/components/ClassNameConfigurator-Ce5BUPXc.js +0 -860
  155. package/dist/components/DatePicker-BTenaDN8.js +0 -1
  156. package/dist/components/DatePicker-PK173UTy.js +0 -93
  157. package/dist/components/Dialog-Bq3tfZ0_.js +0 -1
  158. package/dist/components/Dialog-KlXAOdt_.js +0 -172
  159. package/dist/components/Drawer-DulO9091.js +0 -1
  160. package/dist/components/Drawer-i9X07r74.js +0 -120
  161. package/dist/components/Form-B6963dT5.js +0 -368
  162. package/dist/components/Form-DVNzITG2.js +0 -1
  163. package/dist/components/GridRow-1h1JHuDl.js +0 -114
  164. package/dist/components/GridRow-C5v0sOZZ.js +0 -1
  165. package/dist/components/Headline-CnyLLQLB.js +0 -1
  166. package/dist/components/Headline-DzEinaZi.js +0 -98
  167. package/dist/components/Icon-BMrVlROP.js +0 -4195
  168. package/dist/components/Icon-eWdA85cf.js +0 -1
  169. package/dist/components/Image-B-lyA7ym.js +0 -1
  170. package/dist/components/Image-CVgvVlLE.js +0 -33
  171. package/dist/components/ImageText-Cqp4xp9y.js +0 -113
  172. package/dist/components/ImageText-D-06_EGf.js +0 -1
  173. package/dist/components/Input-BEO9ig1R.js +0 -1
  174. package/dist/components/Input-CrNLI_OY.js +0 -258
  175. package/dist/components/InputOTP-Db7DHrhS.js +0 -88
  176. package/dist/components/InputOTP-MnmjEmPU.js +0 -1
  177. package/dist/components/Label-BvCzZIGM.js +0 -1
  178. package/dist/components/Label-DRUCdGoX.js +0 -71
  179. package/dist/components/Link-DSQ1125B.js +0 -69
  180. package/dist/components/Link-Dg7XR4uY.js +0 -1
  181. package/dist/components/List-D_dSwMx5.js +0 -1
  182. package/dist/components/List-P6xbVrBc.js +0 -196
  183. package/dist/components/Loading-C7lyHDW7.js +0 -68
  184. package/dist/components/Loading-U-CrTVTi.js +0 -1
  185. package/dist/components/Lottie-Br7PmIzX.js +0 -1
  186. package/dist/components/Lottie-CrvbxK0R.js +0 -87
  187. package/dist/components/Map-D3xbPS1S.js +0 -1
  188. package/dist/components/Map-DEIB_y-M.js +0 -64
  189. package/dist/components/PostItem-B8Vfv_sW.js +0 -183
  190. package/dist/components/PostItem-BSTn6cHD.js +0 -1
  191. package/dist/components/PostTeaser-BmZyqFL2.js +0 -186
  192. package/dist/components/PostTeaser-DLynX43c.js +0 -1
  193. package/dist/components/PostWidget-Bo4KiSsV.js +0 -170
  194. package/dist/components/PostWidget-DYWA-B8d.js +0 -1
  195. package/dist/components/PostWidgetCarousel-CZ6ptOGv.js +0 -168
  196. package/dist/components/PostWidgetCarousel-D7-p3Pwr.js +0 -1
  197. package/dist/components/Quote-6aurOanD.js +0 -1
  198. package/dist/components/Quote-CV_UYE1G.js +0 -101
  199. package/dist/components/RichText-Cg_XzkUs.js +0 -152
  200. package/dist/components/RichText-DVg1dwMV.js +0 -1
  201. package/dist/components/Select-BMyrX8V0.js +0 -3081
  202. package/dist/components/Skeleton-BuY3bttw.js +0 -1
  203. package/dist/components/Skeleton-D6olNYTG.js +0 -40
  204. package/dist/components/Slider-C-lecSwc.js +0 -957
  205. package/dist/components/Slider-GvO3Xllf.js +0 -1
  206. package/dist/components/Stepper-BV3PGCr2.js +0 -1
  207. package/dist/components/Stepper-CA1DOm4D.js +0 -135
  208. package/dist/components/Switch-C_6EUOIc.js +0 -330
  209. package/dist/components/Switch-Db3HpOhM.js +0 -1
  210. package/dist/components/Table-Csc0FIbX.js +0 -1
  211. package/dist/components/Table-Cy8bIv_C.js +0 -95
  212. package/dist/components/Teaser-CkisYOs-.js +0 -1
  213. package/dist/components/Teaser-Cl2oBeh5.js +0 -118
  214. package/dist/components/areArraysEqual-CJkStQkx.js +0 -20
  215. package/dist/components/bem-CYKrPjje.js +0 -11
  216. package/dist/components/calculation-79PhfKvq.js +0 -4
  217. package/dist/components/jsx-runtime-C5mzlN2N.js +0 -284
  218. package/dist/components/useControlled-BYdyS7Pn.js +0 -31
  219. package/dist/components/validations-B_cxltQ_.js +0 -8
  220. /package/dist/components/{areArraysEqual-6R3bBH2E.js → areArraysEqual.js} +0 -0
  221. /package/dist/components/{bem-DC5wv0dD.js → bem.js} +0 -0
  222. /package/dist/components/{calculation-D-p0iqpk.js → calculation.js} +0 -0
  223. /package/dist/components/{jsx-runtime-CITbqOLs.js → jsx-runtime.js} +0 -0
  224. /package/dist/components/{useControlled-Ysk4KqoX.js → useControlled.js} +0 -0
  225. /package/dist/components/{validations-Cnxtn28y.js → validations.js} +0 -0
@@ -1,168 +0,0 @@
1
- import { j as s } from "./jsx-runtime-C5mzlN2N.js";
2
- import { memo as P, useRef as W, useState as f, useLayoutEffect as N, Fragment as d } from "react";
3
- import { c as x } from "./bem-CYKrPjje.js";
4
- import { B as u } from "./Button-B8chVgsB.js";
5
- import { C as y } from "./Card-IW4R7bKr.js";
6
- import { C as j } from "./Carousel-DpO4a3lm.js";
7
- import { H as m } from "./Headline-DzEinaZi.js";
8
- import { I as v } from "./Image-CVgvVlLE.js";
9
- import { L as p } from "./Link-DSQ1125B.js";
10
- const b = "gradientMove", w = "fadeInKeyframe", I = {
11
- "prokodo-PostWidgetCarousel__carousel": "prokodo-PostWidgetCarousel__carousel",
12
- "prokodo-PostWidgetCarousel__carousel__item__image__link": "prokodo-PostWidgetCarousel__carousel__item__image__link",
13
- "prokodo-PostWidgetCarousel__carousel__item__image": "prokodo-PostWidgetCarousel__carousel__item__image",
14
- "prokodo-PostWidgetCarousel__carousel__item__link": "prokodo-PostWidgetCarousel__carousel__item__link",
15
- "prokodo-PostWidgetCarousel__carousel__dots": "prokodo-PostWidgetCarousel__carousel__dots",
16
- "prokodo-PostWidgetCarousel__carousel__buttons": "prokodo-PostWidgetCarousel__carousel__buttons",
17
- "prokodo-PostWidgetCarousel__headline": "prokodo-PostWidgetCarousel__headline",
18
- gradientMove: b,
19
- fadeInKeyframe: w
20
- }, o = x(I, "PostWidgetCarousel"), L = P(
21
- ({ autoplay: g, className: h, title: a, items: n = [], ...C }) => {
22
- const r = W(null), [k, c] = f(0);
23
- return N(() => {
24
- var l, i;
25
- const e = ((i = (l = r == null ? void 0 : r.current) == null ? void 0 : l.carouselContainer) == null ? void 0 : i.offsetWidth) ?? 0;
26
- c(e);
27
- const t = () => {
28
- c(e);
29
- };
30
- return window.addEventListener("resize", t), () => {
31
- window.removeEventListener("resize", t);
32
- };
33
- }, [r]), /* @__PURE__ */ s.jsx(
34
- "section",
35
- {
36
- itemScope: !0,
37
- className: o(void 0, void 0, h),
38
- itemType: "https://schema.org/ItemList",
39
- children: /* @__PURE__ */ s.jsxs(
40
- y,
41
- {
42
- animated: !0,
43
- enableShadow: !0,
44
- ...C,
45
- className: o("card__container"),
46
- contentClassName: o("card"),
47
- variant: "white",
48
- children: [
49
- a && /* @__PURE__ */ s.jsx(
50
- m,
51
- {
52
- highlight: !0,
53
- size: "md",
54
- type: "h2",
55
- ...a,
56
- className: o("title", a == null ? void 0 : a.className),
57
- itemProp: "headline",
58
- variant: "secondary",
59
- children: a == null ? void 0 : a.content
60
- }
61
- ),
62
- n.length > 0 && /* @__PURE__ */ s.jsxs(d, { children: [
63
- /* @__PURE__ */ s.jsx(
64
- j,
65
- {
66
- ref: r,
67
- autoplay: g,
68
- className: o("carousel"),
69
- classNameDots: o("carousel__dots"),
70
- classNameItem: o("carousel__item"),
71
- itemsToShow: 1,
72
- children: n.map((e) => {
73
- var l, i, _;
74
- const t = `carousel-item-${e.title}`;
75
- return /* @__PURE__ */ s.jsxs(d, { children: [
76
- (e == null ? void 0 : e.image) && /* @__PURE__ */ s.jsx(
77
- p,
78
- {
79
- "aria-label": `Read more about ${e.title.content}`,
80
- ...e == null ? void 0 : e.redirect,
81
- className: o(
82
- "carousel__item__image__link",
83
- void 0,
84
- (l = e == null ? void 0 : e.redirect) == null ? void 0 : l.className
85
- ),
86
- style: {
87
- width: k
88
- },
89
- children: /* @__PURE__ */ s.jsx(
90
- v,
91
- {
92
- className: o("carousel__item__image"),
93
- ...e.image
94
- },
95
- t
96
- )
97
- }
98
- ),
99
- /* @__PURE__ */ s.jsx(
100
- p,
101
- {
102
- ...e == null ? void 0 : e.redirect,
103
- "aria-label": `Read more about ${e.title.content}`,
104
- className: o("carousel__item__link"),
105
- children: /* @__PURE__ */ s.jsx(
106
- m,
107
- {
108
- size: "md",
109
- type: "h3",
110
- ...e.title,
111
- className: o("headline", (i = e.title) == null ? void 0 : i.className),
112
- itemProp: "headline",
113
- variant: "inherit",
114
- children: (_ = e.title) == null ? void 0 : _.content
115
- }
116
- )
117
- }
118
- )
119
- ] }, t);
120
- })
121
- }
122
- ),
123
- /* @__PURE__ */ s.jsxs("div", { className: o("carousel__buttons"), children: [
124
- /* @__PURE__ */ s.jsx(
125
- u,
126
- {
127
- "aria-label": "Last category",
128
- className: o("carousel__button"),
129
- color: "primary",
130
- iconProps: {
131
- name: "ArrowLeft01Icon",
132
- size: "sm"
133
- },
134
- onClick: () => {
135
- var e;
136
- return (e = r.current) == null ? void 0 : e.slidePrev();
137
- }
138
- }
139
- ),
140
- /* @__PURE__ */ s.jsx(
141
- u,
142
- {
143
- "aria-label": "Next category",
144
- className: o("carousel__button"),
145
- color: "primary",
146
- iconProps: {
147
- name: "ArrowRight01Icon",
148
- size: "sm"
149
- },
150
- onClick: () => {
151
- var e;
152
- return (e = r.current) == null ? void 0 : e.slideNext();
153
- }
154
- }
155
- )
156
- ] })
157
- ] })
158
- ]
159
- }
160
- )
161
- }
162
- );
163
- }
164
- );
165
- L.displayName = "PostWidgetCarousel";
166
- export {
167
- L as P
168
- };
@@ -1 +0,0 @@
1
- "use strict";const o=require("./jsx-runtime-CITbqOLs.js"),a=require("react"),k=require("./bem-DC5wv0dD.js"),_=require("./Button-yvFLX-6Q.js"),P=require("./Card-BPEoLzF1.js"),W=require("./Carousel-CdS7SVzA.js"),m=require("./Headline-CnyLLQLB.js"),N=require("./Image-B-lyA7ym.js"),x=require("./Link-Dg7XR4uY.js"),R="gradientMove",y="fadeInKeyframe",E={"prokodo-PostWidgetCarousel__carousel":"prokodo-PostWidgetCarousel__carousel","prokodo-PostWidgetCarousel__carousel__item__image__link":"prokodo-PostWidgetCarousel__carousel__item__image__link","prokodo-PostWidgetCarousel__carousel__item__image":"prokodo-PostWidgetCarousel__carousel__item__image","prokodo-PostWidgetCarousel__carousel__item__link":"prokodo-PostWidgetCarousel__carousel__item__link","prokodo-PostWidgetCarousel__carousel__dots":"prokodo-PostWidgetCarousel__carousel__dots","prokodo-PostWidgetCarousel__carousel__buttons":"prokodo-PostWidgetCarousel__carousel__buttons","prokodo-PostWidgetCarousel__headline":"prokodo-PostWidgetCarousel__headline",gradientMove:R,fadeInKeyframe:y},s=k.create(E,"PostWidgetCarousel"),g=a.memo(({autoplay:p,className:h,title:r,items:c=[],...j})=>{const t=a.useRef(null),[C,u]=a.useState(0);return a.useLayoutEffect(()=>{var i,l;const e=((l=(i=t==null?void 0:t.current)==null?void 0:i.carouselContainer)==null?void 0:l.offsetWidth)??0;u(e);const n=()=>{u(e)};return window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}},[t]),o.jsxRuntimeExports.jsx("section",{itemScope:!0,className:s(void 0,void 0,h),itemType:"https://schema.org/ItemList",children:o.jsxRuntimeExports.jsxs(P.Card,{animated:!0,enableShadow:!0,...j,className:s("card__container"),contentClassName:s("card"),variant:"white",children:[r&&o.jsxRuntimeExports.jsx(m.Headline,{highlight:!0,size:"md",type:"h2",...r,className:s("title",r==null?void 0:r.className),itemProp:"headline",variant:"secondary",children:r==null?void 0:r.content}),c.length>0&&o.jsxRuntimeExports.jsxs(a.Fragment,{children:[o.jsxRuntimeExports.jsx(W.Carousel,{ref:t,autoplay:p,className:s("carousel"),classNameDots:s("carousel__dots"),classNameItem:s("carousel__item"),itemsToShow:1,children:c.map(e=>{var i,l,d;const n=`carousel-item-${e.title}`;return o.jsxRuntimeExports.jsxs(a.Fragment,{children:[(e==null?void 0:e.image)&&o.jsxRuntimeExports.jsx(x.Link,{"aria-label":`Read more about ${e.title.content}`,...e==null?void 0:e.redirect,className:s("carousel__item__image__link",void 0,(i=e==null?void 0:e.redirect)==null?void 0:i.className),style:{width:C},children:o.jsxRuntimeExports.jsx(N.Image,{className:s("carousel__item__image"),...e.image},n)}),o.jsxRuntimeExports.jsx(x.Link,{...e==null?void 0:e.redirect,"aria-label":`Read more about ${e.title.content}`,className:s("carousel__item__link"),children:o.jsxRuntimeExports.jsx(m.Headline,{size:"md",type:"h3",...e.title,className:s("headline",(l=e.title)==null?void 0:l.className),itemProp:"headline",variant:"inherit",children:(d=e.title)==null?void 0:d.content})})]},n)})}),o.jsxRuntimeExports.jsxs("div",{className:s("carousel__buttons"),children:[o.jsxRuntimeExports.jsx(_.Button,{"aria-label":"Last category",className:s("carousel__button"),color:"primary",iconProps:{name:"ArrowLeft01Icon",size:"sm"},onClick:()=>{var e;return(e=t.current)==null?void 0:e.slidePrev()}}),o.jsxRuntimeExports.jsx(_.Button,{"aria-label":"Next category",className:s("carousel__button"),color:"primary",iconProps:{name:"ArrowRight01Icon",size:"sm"},onClick:()=>{var e;return(e=t.current)==null?void 0:e.slideNext()}})]})]})]})})});g.displayName="PostWidgetCarousel";exports.PostWidgetCarousel=g;
@@ -1 +0,0 @@
1
- "use strict";const o=require("./jsx-runtime-CITbqOLs.js"),p=require("react"),d=require("./bem-DC5wv0dD.js"),m=require("./validations-Cnxtn28y.js"),u=require("./Avatar-CjlbA5a5.js"),x=require("./Card-BPEoLzF1.js"),r=require("./Headline-CnyLLQLB.js"),h=require("./RichText-DVg1dwMV.js"),j="gradientMove",Q="fadeInKeyframe",l={"prokodo-Quote":"prokodo-Quote","prokodo-Quote__headline":"prokodo-Quote__headline","prokodo-Quote__quote":"prokodo-Quote__quote","prokodo-Quote__quote__content":"prokodo-Quote__quote__content","prokodo-Quote__caption":"prokodo-Quote__caption","prokodo-Quote__caption__avatar":"prokodo-Quote__caption__avatar","prokodo-Quote__caption__author":"prokodo-Quote__caption__author","prokodo-Quote__caption__author__name":"prokodo-Quote__caption__author__name","prokodo-Quote__caption__author__position":"prokodo-Quote__caption__author__position",gradientMove:j,fadeInKeyframe:Q},e=d.create(l,"Quote"),i=p.memo(({className:_,variant:s="primary",title:n,subTitle:a,content:c,author:t})=>o.jsxRuntimeExports.jsxs("figure",{itemScope:!0,className:e(void 0,void 0,_),itemType:"https://schema.org/Quotation",children:[a&&o.jsxRuntimeExports.jsx(r.Headline,{highlight:!0,className:e("sub_headline",void 0,a==null?void 0:a.className),size:"sm",type:"h3",...a,variant:a.variant??s,children:a==null?void 0:a.content}),n&&o.jsxRuntimeExports.jsx(r.Headline,{className:e("headline",void 0,n==null?void 0:n.className),size:"lg",type:"h2",...n,children:n.content}),o.jsxRuntimeExports.jsxs(x.Card,{animated:!0,highlight:!0,className:e("card__container"),contentClassName:e("card"),customAnimation:"left-right",variant:"white",children:[o.jsxRuntimeExports.jsx("blockquote",{className:e("quote"),children:o.jsxRuntimeExports.jsx(h.RichText,{className:e("quote__content"),itemProp:"text",children:c})}),t&&o.jsxRuntimeExports.jsx("figcaption",{children:o.jsxRuntimeExports.jsxs("div",{itemScope:!0,className:e("caption"),itemType:"https://schema.org/Person",children:[(t==null?void 0:t.avatar)&&o.jsxRuntimeExports.jsx(u.Avatar,{className:e("caption__avatar"),...t.avatar,variant:s}),o.jsxRuntimeExports.jsxs("div",{className:e("caption__author"),children:[o.jsxRuntimeExports.jsx("span",{className:e("caption__author__name"),itemProp:"name",children:t.name}),m.isString(t==null?void 0:t.position)&&o.jsxRuntimeExports.jsx("span",{className:e("caption__author__position"),itemProp:"jobTitle",children:t.position})]})]})})]})]}));i.displayName="Quote";exports.Quote=i;
@@ -1,101 +0,0 @@
1
- import { j as o } from "./jsx-runtime-C5mzlN2N.js";
2
- import { memo as p } from "react";
3
- import { c } from "./bem-CYKrPjje.js";
4
- import { i as m } from "./validations-B_cxltQ_.js";
5
- import { A as d } from "./Avatar-Ci5YNFc5.js";
6
- import { C as h } from "./Card-IW4R7bKr.js";
7
- import { H as _ } from "./Headline-DzEinaZi.js";
8
- import { R as Q } from "./RichText-Cg_XzkUs.js";
9
- const u = "gradientMove", k = "fadeInKeyframe", l = {
10
- "prokodo-Quote": "prokodo-Quote",
11
- "prokodo-Quote__headline": "prokodo-Quote__headline",
12
- "prokodo-Quote__quote": "prokodo-Quote__quote",
13
- "prokodo-Quote__quote__content": "prokodo-Quote__quote__content",
14
- "prokodo-Quote__caption": "prokodo-Quote__caption",
15
- "prokodo-Quote__caption__avatar": "prokodo-Quote__caption__avatar",
16
- "prokodo-Quote__caption__author": "prokodo-Quote__caption__author",
17
- "prokodo-Quote__caption__author__name": "prokodo-Quote__caption__author__name",
18
- "prokodo-Quote__caption__author__position": "prokodo-Quote__caption__author__position",
19
- gradientMove: u,
20
- fadeInKeyframe: k
21
- }, e = c(l, "Quote"), f = p(
22
- ({ className: i, variant: r = "primary", title: n, subTitle: t, content: s, author: a }) => /* @__PURE__ */ o.jsxs(
23
- "figure",
24
- {
25
- itemScope: !0,
26
- className: e(void 0, void 0, i),
27
- itemType: "https://schema.org/Quotation",
28
- children: [
29
- t && /* @__PURE__ */ o.jsx(
30
- _,
31
- {
32
- highlight: !0,
33
- className: e("sub_headline", void 0, t == null ? void 0 : t.className),
34
- size: "sm",
35
- type: "h3",
36
- ...t,
37
- variant: t.variant ?? r,
38
- children: t == null ? void 0 : t.content
39
- }
40
- ),
41
- n && /* @__PURE__ */ o.jsx(
42
- _,
43
- {
44
- className: e("headline", void 0, n == null ? void 0 : n.className),
45
- size: "lg",
46
- type: "h2",
47
- ...n,
48
- children: n.content
49
- }
50
- ),
51
- /* @__PURE__ */ o.jsxs(
52
- h,
53
- {
54
- animated: !0,
55
- highlight: !0,
56
- className: e("card__container"),
57
- contentClassName: e("card"),
58
- customAnimation: "left-right",
59
- variant: "white",
60
- children: [
61
- /* @__PURE__ */ o.jsx("blockquote", { className: e("quote"), children: /* @__PURE__ */ o.jsx(Q, { className: e("quote__content"), itemProp: "text", children: s }) }),
62
- a && /* @__PURE__ */ o.jsx("figcaption", { children: /* @__PURE__ */ o.jsxs(
63
- "div",
64
- {
65
- itemScope: !0,
66
- className: e("caption"),
67
- itemType: "https://schema.org/Person",
68
- children: [
69
- (a == null ? void 0 : a.avatar) && /* @__PURE__ */ o.jsx(
70
- d,
71
- {
72
- className: e("caption__avatar"),
73
- ...a.avatar,
74
- variant: r
75
- }
76
- ),
77
- /* @__PURE__ */ o.jsxs("div", { className: e("caption__author"), children: [
78
- /* @__PURE__ */ o.jsx("span", { className: e("caption__author__name"), itemProp: "name", children: a.name }),
79
- m(a == null ? void 0 : a.position) && /* @__PURE__ */ o.jsx(
80
- "span",
81
- {
82
- className: e("caption__author__position"),
83
- itemProp: "jobTitle",
84
- children: a.position
85
- }
86
- )
87
- ] })
88
- ]
89
- }
90
- ) })
91
- ]
92
- }
93
- )
94
- ]
95
- }
96
- )
97
- );
98
- f.displayName = "Quote";
99
- export {
100
- f as Q
101
- };
@@ -1,152 +0,0 @@
1
- import { j as l } from "./jsx-runtime-C5mzlN2N.js";
2
- import { memo as T, useMemo as _, useCallback as N } from "react";
3
- import v from "react-markdown";
4
- import y from "remark-breaks";
5
- import s from "remark-gfm";
6
- import { A as g } from "./AnimatedText-BmB5Vkyq.js";
7
- import { H as m } from "./Headline-DzEinaZi.js";
8
- import { I as z } from "./Icon-BMrVlROP.js";
9
- import { L as I } from "./Link-DSQ1125B.js";
10
- import { c as M } from "./bem-CYKrPjje.js";
11
- import { a as o } from "./validations-B_cxltQ_.js";
12
- const A = "gradientMove", K = "fadeInKeyframe", w = {
13
- "prokodo-RichText__p": "prokodo-RichText__p",
14
- "prokodo-RichText__pre": "prokodo-RichText__pre",
15
- "prokodo-RichText__ul": "prokodo-RichText__ul",
16
- "prokodo-RichText__ol": "prokodo-RichText__ol",
17
- "prokodo-RichText__li": "prokodo-RichText__li",
18
- "prokodo-RichText__li__icon": "prokodo-RichText__li__icon",
19
- "prokodo-RichText__ol__decimal": "prokodo-RichText__ol__decimal",
20
- gradientMove: A,
21
- fadeInKeyframe: K
22
- }, h = M(w, "RichText");
23
- function E(c) {
24
- return o(c) && "tagName" in c;
25
- }
26
- function H(c) {
27
- return !o(c) && (c == null ? void 0 : c.type) === "text" && "value" in c;
28
- }
29
- const L = T(
30
- ({
31
- className: c,
32
- animated: a,
33
- animationProps: r = {},
34
- variant: f = "primary",
35
- schema: x = {},
36
- itemProp: u,
37
- children: j,
38
- ...k
39
- }) => {
40
- const i = _(
41
- () => ({
42
- animated: a,
43
- className: c ?? void 0,
44
- ...x
45
- }),
46
- [a, x, c]
47
- ), n = _(
48
- () => ({
49
- animationProps: r
50
- }),
51
- [r]
52
- ), d = N(
53
- (e) => a === !1 || a === void 0 ? e : /* @__PURE__ */ l.jsx(g, { ...r, children: e }),
54
- [a, r]
55
- );
56
- return /* @__PURE__ */ l.jsx(
57
- v,
58
- {
59
- remarkPlugins: [s, y],
60
- components: {
61
- h1: (e) => /* @__PURE__ */ l.jsx(m, { ...i, ...n, size: "xxl", type: "h1", children: e == null ? void 0 : e.children }),
62
- h2: (e) => /* @__PURE__ */ l.jsx(m, { ...i, ...n, size: "xl", type: "h2", children: e == null ? void 0 : e.children }),
63
- h3: (e) => /* @__PURE__ */ l.jsx(m, { ...i, ...n, size: "lg", type: "h3", children: e == null ? void 0 : e.children }),
64
- h4: (e) => /* @__PURE__ */ l.jsx(m, { ...i, ...n, size: "md", type: "h4", children: e == null ? void 0 : e.children }),
65
- h5: (e) => /* @__PURE__ */ l.jsx(m, { ...i, ...n, size: "sm", type: "h5", children: e == null ? void 0 : e.children }),
66
- h6: (e) => /* @__PURE__ */ l.jsx(m, { ...i, ...n, size: "xs", type: "h6", children: e == null ? void 0 : e.children }),
67
- p: (e) => /* @__PURE__ */ l.jsx(
68
- "p",
69
- {
70
- ...i,
71
- className: h("p", void 0, i == null ? void 0 : i.className),
72
- itemProp: u,
73
- children: d(e == null ? void 0 : e.children)
74
- }
75
- ),
76
- a: (e) => {
77
- var t;
78
- return /* @__PURE__ */ l.jsx(
79
- I,
80
- {
81
- ...i,
82
- "aria-label": (t = e == null ? void 0 : e.children) == null ? void 0 : t.toString(),
83
- href: (e == null ? void 0 : e.href) ?? "#",
84
- children: d(e == null ? void 0 : e.children)
85
- }
86
- );
87
- },
88
- pre: (e) => /* @__PURE__ */ l.jsx(
89
- "pre",
90
- {
91
- ...i,
92
- className: h("pre", void 0, i == null ? void 0 : i.className),
93
- children: d(e == null ? void 0 : e.children)
94
- }
95
- ),
96
- ul: (e) => /* @__PURE__ */ l.jsx(
97
- "ul",
98
- {
99
- ...i,
100
- className: h("ul", void 0, i == null ? void 0 : i.className),
101
- children: d(e == null ? void 0 : e.children)
102
- }
103
- ),
104
- ol: ({ node: e }) => /* @__PURE__ */ l.jsx(
105
- "ol",
106
- {
107
- ...i,
108
- className: h("ol", void 0, i == null ? void 0 : i.className),
109
- children: e == null ? void 0 : e.children.map((t, R) => E(t) && t.children.length > 0 && H(t.children[0]) ? /* @__PURE__ */ l.jsxs(
110
- "li",
111
- {
112
- ...i,
113
- className: h("li", void 0, i == null ? void 0 : i.className),
114
- children: [
115
- /* @__PURE__ */ l.jsx("i", { className: h("ol__decimal"), children: R + 1 }),
116
- d(/* @__PURE__ */ l.jsx("span", { children: t.children[0].value }))
117
- ]
118
- },
119
- `item-${t.children[0].value}`
120
- ) : null)
121
- }
122
- ),
123
- li: (e) => /* @__PURE__ */ l.jsxs(
124
- "li",
125
- {
126
- ...i,
127
- className: h("li", void 0, i == null ? void 0 : i.className),
128
- children: [
129
- /* @__PURE__ */ l.jsx(
130
- z,
131
- {
132
- className: h("li__icon"),
133
- color: f,
134
- name: "ArrowRight01Icon",
135
- size: 18
136
- }
137
- ),
138
- d(/* @__PURE__ */ l.jsx("span", { children: e == null ? void 0 : e.children }))
139
- ]
140
- }
141
- )
142
- },
143
- ...k,
144
- children: j
145
- }
146
- );
147
- }
148
- );
149
- L.displayName = "RichText";
150
- export {
151
- L as R
152
- };
@@ -1 +0,0 @@
1
- "use strict";const t=require("./jsx-runtime-CITbqOLs.js"),u=require("react"),E=require("react-markdown"),N=require("remark-breaks"),v=require("remark-gfm"),f=require("./AnimatedText-Sy1jofZl.js"),r=require("./Headline-CnyLLQLB.js"),y=require("./Icon-eWdA85cf.js"),q=require("./Link-Dg7XR4uY.js"),g=require("./bem-DC5wv0dD.js"),a=require("./validations-Cnxtn28y.js"),z="gradientMove",H="fadeInKeyframe",I={"prokodo-RichText__p":"prokodo-RichText__p","prokodo-RichText__pre":"prokodo-RichText__pre","prokodo-RichText__ul":"prokodo-RichText__ul","prokodo-RichText__ol":"prokodo-RichText__ol","prokodo-RichText__li":"prokodo-RichText__li","prokodo-RichText__li__icon":"prokodo-RichText__li__icon","prokodo-RichText__ol__decimal":"prokodo-RichText__ol__decimal",gradientMove:z,fadeInKeyframe:H},c=g.create(I,"RichText");function M(l){return a.isNull(l)&&"tagName"in l}function A(l){return!a.isNull(l)&&(l==null?void 0:l.type)==="text"&&"value"in l}const R=u.memo(({className:l,animated:d,animationProps:s={},variant:_="primary",schema:m={},itemProp:j,children:o,...k})=>{const i=u.useMemo(()=>({animated:d,className:l??void 0,...m}),[d,m,l]),x=u.useMemo(()=>({animationProps:s}),[s]),h=u.useCallback(e=>d===!1||d===void 0?e:t.jsxRuntimeExports.jsx(f.AnimatedText,{...s,children:e}),[d,s]);return t.jsxRuntimeExports.jsx(E,{remarkPlugins:[v,N],components:{h1:e=>t.jsxRuntimeExports.jsx(r.Headline,{...i,...x,size:"xxl",type:"h1",children:e==null?void 0:e.children}),h2:e=>t.jsxRuntimeExports.jsx(r.Headline,{...i,...x,size:"xl",type:"h2",children:e==null?void 0:e.children}),h3:e=>t.jsxRuntimeExports.jsx(r.Headline,{...i,...x,size:"lg",type:"h3",children:e==null?void 0:e.children}),h4:e=>t.jsxRuntimeExports.jsx(r.Headline,{...i,...x,size:"md",type:"h4",children:e==null?void 0:e.children}),h5:e=>t.jsxRuntimeExports.jsx(r.Headline,{...i,...x,size:"sm",type:"h5",children:e==null?void 0:e.children}),h6:e=>t.jsxRuntimeExports.jsx(r.Headline,{...i,...x,size:"xs",type:"h6",children:e==null?void 0:e.children}),p:e=>t.jsxRuntimeExports.jsx("p",{...i,className:c("p",void 0,i==null?void 0:i.className),itemProp:j,children:h(e==null?void 0:e.children)}),a:e=>{var n;return t.jsxRuntimeExports.jsx(q.Link,{...i,"aria-label":(n=e==null?void 0:e.children)==null?void 0:n.toString(),href:(e==null?void 0:e.href)??"#",children:h(e==null?void 0:e.children)})},pre:e=>t.jsxRuntimeExports.jsx("pre",{...i,className:c("pre",void 0,i==null?void 0:i.className),children:h(e==null?void 0:e.children)}),ul:e=>t.jsxRuntimeExports.jsx("ul",{...i,className:c("ul",void 0,i==null?void 0:i.className),children:h(e==null?void 0:e.children)}),ol:({node:e})=>t.jsxRuntimeExports.jsx("ol",{...i,className:c("ol",void 0,i==null?void 0:i.className),children:e==null?void 0:e.children.map((n,T)=>M(n)&&n.children.length>0&&A(n.children[0])?t.jsxRuntimeExports.jsxs("li",{...i,className:c("li",void 0,i==null?void 0:i.className),children:[t.jsxRuntimeExports.jsx("i",{className:c("ol__decimal"),children:T+1}),h(t.jsxRuntimeExports.jsx("span",{children:n.children[0].value}))]},`item-${n.children[0].value}`):null)}),li:e=>t.jsxRuntimeExports.jsxs("li",{...i,className:c("li",void 0,i==null?void 0:i.className),children:[t.jsxRuntimeExports.jsx(y.Icon,{className:c("li__icon"),color:_,name:"ArrowRight01Icon",size:18}),h(t.jsxRuntimeExports.jsx("span",{children:e==null?void 0:e.children}))]})},...k,children:o})});R.displayName="RichText";exports.RichText=R;