@prokodo/ui 0.0.26 → 0.0.28

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 (251) hide show
  1. package/README.md +89 -45
  2. package/dist/_virtual/_commonjsHelpers.js +6 -3
  3. package/dist/_virtual/index.js +5 -5
  4. package/dist/_virtual/index2.js +2 -2
  5. package/dist/_virtual/index3.js +2 -2
  6. package/dist/_virtual/react-is.development.js +2 -2
  7. package/dist/_virtual/react-is.production.min.js +2 -2
  8. package/dist/assets/images/card_background_primary_1.webp.js +2 -2
  9. package/dist/assets/images/card_background_primary_2.webp.js +2 -2
  10. package/dist/assets/images/card_background_primary_3.webp.js +2 -2
  11. package/dist/assets/images/card_background_primary_4.webp.js +2 -2
  12. package/dist/assets/images/card_background_secondary_1.webp.js +2 -2
  13. package/dist/assets/images/card_background_secondary_2.webp.js +2 -2
  14. package/dist/assets/images/card_background_secondary_3.webp.js +2 -2
  15. package/dist/assets/images/card_background_secondary_4.webp.js +2 -2
  16. package/dist/components/accordion/Accordion.js +82 -74
  17. package/dist/components/accordion/Accordion.module.scss.js +11 -8
  18. package/dist/components/accordion/index.js +2 -2
  19. package/dist/components/animated/Animated.js +61 -40
  20. package/dist/components/animated/Animated.module.scss.js +8 -6
  21. package/dist/components/animated/index.js +2 -2
  22. package/dist/components/animatedText/AnimatedText.js +36 -27
  23. package/dist/components/animatedText/index.js +2 -2
  24. package/dist/components/avatar/Avatar.js +62 -54
  25. package/dist/components/avatar/Avatar.module.scss.js +8 -6
  26. package/dist/components/avatar/index.js +2 -2
  27. package/dist/components/base-link/BaseLink.js +39 -27
  28. package/dist/components/base-link/index.js +2 -2
  29. package/dist/components/button/Button.client.js +100 -0
  30. package/dist/components/button/Button.js +15 -82
  31. package/dist/components/button/Button.lazy.js +20 -0
  32. package/dist/components/button/Button.module.scss.js +8 -6
  33. package/dist/components/button/Button.server.js +77 -0
  34. package/dist/components/button/index.js +2 -2
  35. package/dist/components/calendly/Calendly.js +99 -60
  36. package/dist/components/calendly/index.js +2 -2
  37. package/dist/components/card/Card.js +167 -141
  38. package/dist/components/card/Card.module.scss.js +11 -8
  39. package/dist/components/card/index.js +2 -2
  40. package/dist/components/carousel/Carousel.js +209 -145
  41. package/dist/components/carousel/Carousel.module.scss.js +8 -6
  42. package/dist/components/carousel/Carousel.services.js +39 -20
  43. package/dist/components/carousel/index.js +2 -2
  44. package/dist/components/chip/Chip.js +44 -36
  45. package/dist/components/chip/Chip.module.scss.js +8 -6
  46. package/dist/components/chip/index.js +2 -2
  47. package/dist/components/datePicker/DatePicker.js +106 -69
  48. package/dist/components/datePicker/index.js +2 -2
  49. package/dist/components/dialog/Dialog.js +106 -93
  50. package/dist/components/dialog/Dialog.module.scss.js +8 -6
  51. package/dist/components/dialog/index.js +2 -2
  52. package/dist/components/drawer/Drawer.js +78 -64
  53. package/dist/components/drawer/Drawer.module.scss.js +20 -14
  54. package/dist/components/drawer/index.js +4 -4
  55. package/dist/components/form/Form.js +229 -165
  56. package/dist/components/form/Form.module.scss.js +8 -6
  57. package/dist/components/form/FormField.js +63 -60
  58. package/dist/components/form/FormField.module.scss.js +8 -6
  59. package/dist/components/form/FormResponse.js +37 -41
  60. package/dist/components/form/FormResponse.module.scss.js +8 -6
  61. package/dist/components/form/index.js +4 -4
  62. package/dist/components/grid/Grid.js +14 -11
  63. package/dist/components/grid/Grid.module.scss.js +8 -6
  64. package/dist/components/grid/GridRow.js +20 -17
  65. package/dist/components/grid/GridRow.module.scss.js +8 -6
  66. package/dist/components/grid/index.js +4 -4
  67. package/dist/components/headline/Headline.client.js +85 -0
  68. package/dist/components/headline/Headline.module.scss.js +8 -6
  69. package/dist/components/headline/Headline.server.js +73 -0
  70. package/dist/components/headline/Headline.variants.js +9 -0
  71. package/dist/components/headline/index.js +4 -3
  72. package/dist/components/icon/Icon.js +27 -22
  73. package/dist/components/icon/Icon.module.scss.js +8 -6
  74. package/dist/components/icon/index.js +3 -3
  75. package/dist/components/image/Image.js +30 -24
  76. package/dist/components/image/Image.module.scss.js +8 -6
  77. package/dist/components/image/index.js +2 -2
  78. package/dist/components/image-text/ImageText.js +80 -81
  79. package/dist/components/image-text/ImageText.module.scss.js +8 -6
  80. package/dist/components/image-text/index.js +2 -2
  81. package/dist/components/input/Input.js +147 -131
  82. package/dist/components/input/Input.module.scss.js +11 -8
  83. package/dist/components/input/InputValidation.js +50 -31
  84. package/dist/components/input/index.js +2 -2
  85. package/dist/components/inputOTP/InputOTP.js +90 -57
  86. package/dist/components/inputOTP/InputOTP.module.scss.js +8 -6
  87. package/dist/components/inputOTP/index.js +2 -2
  88. package/dist/components/label/Label.js +64 -63
  89. package/dist/components/label/Label.module.scss.js +8 -6
  90. package/dist/components/label/index.js +2 -2
  91. package/dist/components/link/Link.js +53 -48
  92. package/dist/components/link/Link.module.scss.js +8 -6
  93. package/dist/components/link/index.js +2 -2
  94. package/dist/components/list/List.js +120 -104
  95. package/dist/components/list/List.module.scss.js +8 -6
  96. package/dist/components/list/index.js +2 -2
  97. package/dist/components/loading/Loading.js +21 -20
  98. package/dist/components/loading/Loading.module.scss.js +11 -8
  99. package/dist/components/loading/index.js +2 -2
  100. package/dist/components/lottie/Lottie.js +47 -37
  101. package/dist/components/lottie/Lottie.module.scss.js +8 -6
  102. package/dist/components/lottie/LottieAnimations.js +2 -2
  103. package/dist/components/lottie/index.js +2 -2
  104. package/dist/components/map/Map.js +59 -42
  105. package/dist/components/map/index.js +2 -2
  106. package/dist/components/post-item/PostItem.js +81 -76
  107. package/dist/components/post-item/PostItem.module.scss.js +8 -6
  108. package/dist/components/post-item/PostItemAuthor.js +24 -23
  109. package/dist/components/post-item/PostItemAuthor.module.scss.js +8 -6
  110. package/dist/components/post-item/index.js +4 -4
  111. package/dist/components/post-teaser/PostTeaser.js +96 -92
  112. package/dist/components/post-teaser/PostTeaser.module.scss.js +8 -6
  113. package/dist/components/post-teaser/index.js +2 -2
  114. package/dist/components/post-widget/PostWidget.js +81 -80
  115. package/dist/components/post-widget/PostWidget.module.scss.js +8 -6
  116. package/dist/components/post-widget/index.js +2 -2
  117. package/dist/components/post-widget-carousel/PostWidgetCarousel.js +96 -90
  118. package/dist/components/post-widget-carousel/PostWidgetCarousel.module.scss.js +8 -6
  119. package/dist/components/post-widget-carousel/index.js +2 -2
  120. package/dist/components/quote/Quote.js +48 -47
  121. package/dist/components/quote/Quote.module.scss.js +8 -6
  122. package/dist/components/quote/index.js +2 -2
  123. package/dist/components/rich-text/RichText.js +114 -100
  124. package/dist/components/rich-text/RichText.module.scss.js +8 -6
  125. package/dist/components/rich-text/index.js +2 -2
  126. package/dist/components/select/Select.js +148 -127
  127. package/dist/components/select/Select.module.scss.js +17 -12
  128. package/dist/components/select/index.js +2 -2
  129. package/dist/components/skeleton/Skeleton.js +21 -18
  130. package/dist/components/skeleton/Skeleton.module.scss.js +8 -6
  131. package/dist/components/skeleton/index.js +2 -2
  132. package/dist/components/slider/Slider.js +74 -65
  133. package/dist/components/slider/Slider.module.scss.js +8 -6
  134. package/dist/components/slider/index.js +2 -2
  135. package/dist/components/stepper/Stepper.js +85 -69
  136. package/dist/components/stepper/Stepper.module.scss.js +8 -6
  137. package/dist/components/stepper/index.js +2 -2
  138. package/dist/components/switch/Switch.js +69 -63
  139. package/dist/components/switch/Switch.module.scss.js +8 -6
  140. package/dist/components/switch/index.js +2 -2
  141. package/dist/components/table/Table.js +48 -45
  142. package/dist/components/table/Table.module.scss.js +8 -6
  143. package/dist/components/table/index.js +2 -2
  144. package/dist/components/teaser/Teaser.js +66 -65
  145. package/dist/components/teaser/Teaser.module.scss.js +8 -6
  146. package/dist/components/teaser/index.js +2 -2
  147. package/dist/constants/project.js +2 -2
  148. package/dist/helpers/bem.js +17 -9
  149. package/dist/helpers/calculation.js +4 -2
  150. package/dist/helpers/validations.js +12 -6
  151. package/dist/hooks/useGoogleMaps.js +19 -14
  152. package/dist/hooks/useHydrationReady.js +26 -0
  153. package/dist/index.js +84 -84
  154. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +354 -251
  155. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +555 -309
  156. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +221 -141
  157. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +167 -109
  158. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -88
  159. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js +91 -77
  160. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/optionClasses.js +10 -7
  161. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Portal/Portal.js +54 -40
  162. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js +192 -163
  163. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/selectClasses.js +10 -7
  164. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/Slider.js +287 -242
  165. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/sliderClasses.js +10 -7
  166. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/Switch.js +112 -97
  167. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/switchClasses.js +10 -7
  168. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/Popup.js +135 -115
  169. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/PopupContext.js +6 -4
  170. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/popupClasses.js +10 -7
  171. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClass/index.js +15 -10
  172. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClasses/index.js +11 -7
  173. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useButton/useButton.js +160 -73
  174. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundItem.js +25 -18
  175. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundParent.js +63 -36
  176. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/ListContext.js +6 -4
  177. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listActions.types.js +2 -2
  178. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listReducer.js +233 -138
  179. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useList.js +189 -128
  180. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useListItem.js +72 -52
  181. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOption.js +72 -53
  182. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOptionContextStabilizer.js +30 -22
  183. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/SelectProvider.js +34 -28
  184. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/defaultOptionStringifier.js +15 -7
  185. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/selectReducer.js +49 -40
  186. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.js +341 -222
  187. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.types.js +2 -2
  188. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSlider/useSlider.js +550 -353
  189. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSwitch/useSwitch.js +79 -50
  190. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/TransitionContext.js +6 -4
  191. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/useTransitionTrigger.js +51 -23
  192. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/ClassNameConfigurator.js +21 -10
  193. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/areArraysEqual.js +6 -3
  194. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/combineHooksSlotProps.js +14 -10
  195. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/isHostComponent.js +6 -3
  196. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/resolveComponentProps.js +9 -3
  197. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useControllableReducer.js +91 -60
  198. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useRootElementName.js +20 -12
  199. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useTextNavigation.js +21 -10
  200. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js +16 -5
  201. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +13 -7
  202. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +11 -5
  203. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/clamp/clamp.js +6 -3
  204. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +19 -11
  205. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/exactProp/exactProp.js +17 -8
  206. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js +12 -7
  207. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +2 -2
  208. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/getReactNodeRef/getReactNodeRef.js +11 -5
  209. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +11 -7
  210. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js +6 -3
  211. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +61 -38
  212. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js +12 -7
  213. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +6 -3
  214. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js +9 -3
  215. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/setRef/setRef.js +10 -3
  216. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useControlled/useControlled.js +31 -22
  217. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +3 -3
  218. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +13 -9
  219. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +17 -9
  220. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useId/useId.js +23 -14
  221. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +30 -23
  222. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js +2 -2
  223. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -13
  224. package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +67 -38
  225. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +55 -37
  226. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +56 -43
  227. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +404 -243
  228. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +20 -14
  229. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -7
  230. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +11 -4
  231. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +170 -82
  232. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +91 -58
  233. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +17 -7
  234. package/dist/tsconfig.build.tsbuildinfo +1 -1
  235. package/dist/types/components/button/Button.client.d.ts +3 -0
  236. package/dist/types/components/button/Button.d.ts +3 -3
  237. package/dist/types/components/button/Button.lazy.d.ts +3 -0
  238. package/dist/types/components/button/Button.server.d.ts +3 -0
  239. package/dist/types/components/button/index.d.ts +1 -1
  240. package/dist/types/components/form/FormResponse.d.ts +1 -1
  241. package/dist/types/components/headline/Headline.client.d.ts +3 -0
  242. package/dist/types/components/headline/Headline.model.d.ts +1 -0
  243. package/dist/types/components/headline/Headline.server.d.ts +3 -0
  244. package/dist/types/components/headline/Headline.variants.d.ts +2 -0
  245. package/dist/types/components/headline/index.d.ts +2 -1
  246. package/dist/types/components/label/Label.d.ts +1 -1
  247. package/dist/types/hooks/useHydrationReady.d.ts +5 -0
  248. package/dist/ui.css +9592 -1
  249. package/package.json +1 -1
  250. package/dist/components/headline/Headline.js +0 -71
  251. package/dist/types/components/headline/Headline.d.ts +0 -4
@@ -1,147 +1,153 @@
1
- import { jsx as a, jsxs as l } from "react/jsx-runtime";
2
- import { memo as b, useRef as v, useState as w, useLayoutEffect as C, Fragment as u } from "react";
3
- import { create as P } from "../../helpers/bem.js";
4
- import z from "./PostWidgetCarousel.module.scss.js";
5
- import { Carousel as L } from "../carousel/Carousel.js";
6
- import { Card as W } from "../card/Card.js";
7
- import { Headline as h } from "../headline/Headline.js";
8
- import { Link as _ } from "../link/Link.js";
9
- import { Image as k } from "../image/Image.js";
10
- import { Button as p } from "../button/Button.js";
11
- const r = P(z, "PostWidgetCarousel"), x = b(
12
- ({ autoplay: N, className: g, title: o, items: i = [], ...f }) => {
13
- const s = v(null), [y, d] = w(0);
14
- return C(() => {
15
- var c, n;
16
- const e = ((n = (c = s == null ? void 0 : s.current) == null ? void 0 : c.carouselContainer) == null ? void 0 : n.offsetWidth) ?? 0;
17
- d(e);
18
- const t = () => {
19
- d(e);
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ import { memo, useRef, useState, useLayoutEffect, Fragment } from "react";
5
+ import { create } from "../../helpers/bem.js";
6
+ import styles from "./PostWidgetCarousel.module.scss.js";
7
+ import { Carousel } from "../carousel/Carousel.js";
8
+ import { Button } from "../button/Button.js";
9
+ import { Card } from "../card/Card.js";
10
+ import { Headline } from "../headline/Headline.server.js";
11
+ import { Link } from "../link/Link.js";
12
+ import { Image } from "../image/Image.js";
13
+ const bem = create(styles, "PostWidgetCarousel");
14
+ const PostWidgetCarousel = memo(
15
+ ({ autoplay, className, title, items = [], ...props }) => {
16
+ const ref = useRef(null);
17
+ const [carouselWidth, setCarouselWidth] = useState(0);
18
+ useLayoutEffect(() => {
19
+ var _a, _b;
20
+ const containerWidth = ((_b = (_a = ref == null ? void 0 : ref.current) == null ? void 0 : _a.carouselContainer) == null ? void 0 : _b.offsetWidth) ?? 0;
21
+ setCarouselWidth(containerWidth);
22
+ const handleResize = /* @__PURE__ */ __name(() => {
23
+ setCarouselWidth(containerWidth);
24
+ }, "handleResize");
25
+ window.addEventListener("resize", handleResize);
26
+ return () => {
27
+ window.removeEventListener("resize", handleResize);
20
28
  };
21
- return window.addEventListener("resize", t), () => {
22
- window.removeEventListener("resize", t);
23
- };
24
- }, [s]), /* @__PURE__ */ a(
29
+ }, [ref]);
30
+ return /* @__PURE__ */ jsx(
25
31
  "section",
26
32
  {
27
- itemScope: !0,
28
- className: r(void 0, void 0, g),
33
+ itemScope: true,
34
+ className: bem(void 0, void 0, className),
29
35
  itemType: "https://schema.org/ItemList",
30
- children: /* @__PURE__ */ l(
31
- W,
36
+ children: /* @__PURE__ */ jsxs(
37
+ Card,
32
38
  {
33
- animated: !0,
34
- enableShadow: !0,
35
- ...f,
36
- className: r("card__container"),
37
- contentClassName: r("card"),
39
+ animated: true,
40
+ enableShadow: true,
41
+ ...props,
42
+ className: bem("card__container"),
43
+ contentClassName: bem("card"),
38
44
  variant: "white",
39
45
  children: [
40
- o && /* @__PURE__ */ a(
41
- h,
46
+ title && /* @__PURE__ */ jsx(
47
+ Headline,
42
48
  {
43
- highlight: !0,
49
+ highlight: true,
44
50
  size: "md",
45
51
  type: "h2",
46
- ...o,
47
- className: r("title", o == null ? void 0 : o.className),
52
+ ...title,
53
+ className: bem("title", title == null ? void 0 : title.className),
48
54
  itemProp: "headline",
49
55
  variant: "secondary",
50
- children: o == null ? void 0 : o.content
56
+ children: title == null ? void 0 : title.content
51
57
  }
52
58
  ),
53
- i.length > 0 && /* @__PURE__ */ l(u, { children: [
54
- /* @__PURE__ */ a(
55
- L,
59
+ items.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
60
+ /* @__PURE__ */ jsx(
61
+ Carousel,
56
62
  {
57
- ref: s,
58
- autoplay: N,
59
- className: r("carousel"),
60
- classNameDots: r("carousel__dots"),
61
- classNameItem: r("carousel__item"),
63
+ ref,
64
+ autoplay,
65
+ className: bem("carousel"),
66
+ classNameDots: bem("carousel__dots"),
67
+ classNameItem: bem("carousel__item"),
62
68
  itemsToShow: 1,
63
- children: i.map((e) => {
64
- var c, n, m;
65
- const t = `carousel-item-${e.title}`;
66
- return /* @__PURE__ */ l(u, { children: [
67
- (e == null ? void 0 : e.image) && /* @__PURE__ */ a(
68
- _,
69
+ children: items.map((item) => {
70
+ var _a, _b, _c;
71
+ const key = `carousel-item-${item.title}`;
72
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
73
+ (item == null ? void 0 : item.image) && /* @__PURE__ */ jsx(
74
+ Link,
69
75
  {
70
- "aria-label": `Read more about ${e.title.content}`,
71
- ...e == null ? void 0 : e.redirect,
72
- className: r(
76
+ "aria-label": `Read more about ${item.title.content}`,
77
+ ...item == null ? void 0 : item.redirect,
78
+ className: bem(
73
79
  "carousel__item__image__link",
74
80
  void 0,
75
- (c = e == null ? void 0 : e.redirect) == null ? void 0 : c.className
81
+ (_a = item == null ? void 0 : item.redirect) == null ? void 0 : _a.className
76
82
  ),
77
83
  style: {
78
- width: y
84
+ width: carouselWidth
79
85
  },
80
- children: /* @__PURE__ */ a(
81
- k,
86
+ children: /* @__PURE__ */ jsx(
87
+ Image,
82
88
  {
83
- className: r("carousel__item__image"),
84
- ...e.image
89
+ className: bem("carousel__item__image"),
90
+ ...item.image
85
91
  },
86
- t
92
+ key
87
93
  )
88
94
  }
89
95
  ),
90
- /* @__PURE__ */ a(
91
- _,
96
+ /* @__PURE__ */ jsx(
97
+ Link,
92
98
  {
93
- ...e == null ? void 0 : e.redirect,
94
- "aria-label": `Read more about ${e.title.content}`,
95
- className: r("carousel__item__link"),
96
- children: /* @__PURE__ */ a(
97
- h,
99
+ ...item == null ? void 0 : item.redirect,
100
+ "aria-label": `Read more about ${item.title.content}`,
101
+ className: bem("carousel__item__link"),
102
+ children: /* @__PURE__ */ jsx(
103
+ Headline,
98
104
  {
99
105
  size: "md",
100
106
  type: "h3",
101
- ...e.title,
102
- className: r("headline", (n = e.title) == null ? void 0 : n.className),
107
+ ...item.title,
108
+ className: bem("headline", (_b = item.title) == null ? void 0 : _b.className),
103
109
  itemProp: "headline",
104
110
  variant: "inherit",
105
- children: (m = e.title) == null ? void 0 : m.content
111
+ children: (_c = item.title) == null ? void 0 : _c.content
106
112
  }
107
113
  )
108
114
  }
109
115
  )
110
- ] }, t);
116
+ ] }, key);
111
117
  })
112
118
  }
113
119
  ),
114
- /* @__PURE__ */ l("div", { className: r("carousel__buttons"), children: [
115
- /* @__PURE__ */ a(
116
- p,
120
+ /* @__PURE__ */ jsxs("div", { className: bem("carousel__buttons"), children: [
121
+ /* @__PURE__ */ jsx(
122
+ Button,
117
123
  {
118
124
  "aria-label": "Last category",
119
- className: r("carousel__button"),
125
+ className: bem("carousel__button"),
120
126
  color: "primary",
121
127
  iconProps: {
122
128
  name: "ArrowLeft01Icon",
123
129
  size: "sm"
124
130
  },
125
- onClick: () => {
126
- var e;
127
- return (e = s.current) == null ? void 0 : e.slidePrev();
128
- }
131
+ onClick: /* @__PURE__ */ __name(() => {
132
+ var _a;
133
+ return (_a = ref.current) == null ? void 0 : _a.slidePrev();
134
+ }, "onClick")
129
135
  }
130
136
  ),
131
- /* @__PURE__ */ a(
132
- p,
137
+ /* @__PURE__ */ jsx(
138
+ Button,
133
139
  {
134
140
  "aria-label": "Next category",
135
- className: r("carousel__button"),
141
+ className: bem("carousel__button"),
136
142
  color: "primary",
137
143
  iconProps: {
138
144
  name: "ArrowRight01Icon",
139
145
  size: "sm"
140
146
  },
141
- onClick: () => {
142
- var e;
143
- return (e = s.current) == null ? void 0 : e.slideNext();
144
- }
147
+ onClick: /* @__PURE__ */ __name(() => {
148
+ var _a;
149
+ return (_a = ref.current) == null ? void 0 : _a.slideNext();
150
+ }, "onClick")
145
151
  }
146
152
  )
147
153
  ] })
@@ -153,7 +159,7 @@ const r = P(z, "PostWidgetCarousel"), x = b(
153
159
  );
154
160
  }
155
161
  );
156
- x.displayName = "PostWidgetCarousel";
162
+ PostWidgetCarousel.displayName = "PostWidgetCarousel";
157
163
  export {
158
- x as PostWidgetCarousel
164
+ PostWidgetCarousel
159
165
  };
@@ -1,4 +1,6 @@
1
- const o = "gradientMove", e = "fadeInKeyframe", _ = {
1
+ const gradientMove = "gradientMove";
2
+ const fadeInKeyframe = "fadeInKeyframe";
3
+ const styles = {
2
4
  "prokodo-PostWidgetCarousel__carousel": "prokodo-PostWidgetCarousel__carousel",
3
5
  "prokodo-PostWidgetCarousel__carousel__item__image__link": "prokodo-PostWidgetCarousel__carousel__item__image__link",
4
6
  "prokodo-PostWidgetCarousel__carousel__item__image": "prokodo-PostWidgetCarousel__carousel__item__image",
@@ -6,11 +8,11 @@ const o = "gradientMove", e = "fadeInKeyframe", _ = {
6
8
  "prokodo-PostWidgetCarousel__carousel__dots": "prokodo-PostWidgetCarousel__carousel__dots",
7
9
  "prokodo-PostWidgetCarousel__carousel__buttons": "prokodo-PostWidgetCarousel__carousel__buttons",
8
10
  "prokodo-PostWidgetCarousel__headline": "prokodo-PostWidgetCarousel__headline",
9
- gradientMove: o,
10
- fadeInKeyframe: e
11
+ gradientMove,
12
+ fadeInKeyframe
11
13
  };
12
14
  export {
13
- _ as default,
14
- e as fadeInKeyframe,
15
- o as gradientMove
15
+ styles as default,
16
+ fadeInKeyframe,
17
+ gradientMove
16
18
  };
@@ -1,4 +1,4 @@
1
- import { PostWidgetCarousel as r } from "./PostWidgetCarousel.js";
1
+ import { PostWidgetCarousel } from "./PostWidgetCarousel.js";
2
2
  export {
3
- r as PostWidgetCarousel
3
+ PostWidgetCarousel
4
4
  };
@@ -1,76 +1,77 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import { memo as p } from "react";
3
- import { create as d } from "../../helpers/bem.js";
4
- import { isString as h } from "../../helpers/validations.js";
5
- import l from "./Quote.module.scss.js";
6
- import { Headline as r } from "../headline/Headline.js";
7
- import { Card as _ } from "../card/Card.js";
8
- import { RichText as N } from "../rich-text/RichText.js";
9
- import { Avatar as f } from "../avatar/Avatar.js";
10
- const e = d(l, "Quote"), v = p(
11
- ({ className: t, variant: c = "primary", title: i, subTitle: m, content: s, author: a }) => /* @__PURE__ */ n(
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { memo } from "react";
3
+ import { create } from "../../helpers/bem.js";
4
+ import { isString } from "../../helpers/validations.js";
5
+ import styles from "./Quote.module.scss.js";
6
+ import { Headline } from "../headline/Headline.server.js";
7
+ import { Card } from "../card/Card.js";
8
+ import { RichText } from "../rich-text/RichText.js";
9
+ import { Avatar } from "../avatar/Avatar.js";
10
+ const bem = create(styles, "Quote");
11
+ const Quote = memo(
12
+ ({ className, variant = "primary", title, subTitle, content, author }) => /* @__PURE__ */ jsxs(
12
13
  "figure",
13
14
  {
14
- itemScope: !0,
15
- className: e(void 0, void 0, t),
15
+ itemScope: true,
16
+ className: bem(void 0, void 0, className),
16
17
  itemType: "https://schema.org/Quotation",
17
18
  children: [
18
- m && /* @__PURE__ */ o(
19
- r,
19
+ subTitle && /* @__PURE__ */ jsx(
20
+ Headline,
20
21
  {
21
- highlight: !0,
22
- className: e("sub_headline", void 0, m == null ? void 0 : m.className),
22
+ highlight: true,
23
+ className: bem("sub_headline", void 0, subTitle == null ? void 0 : subTitle.className),
23
24
  size: "sm",
24
25
  type: "h3",
25
- ...m,
26
- variant: m.variant ?? c,
27
- children: m == null ? void 0 : m.content
26
+ ...subTitle,
27
+ variant: subTitle.variant ?? variant,
28
+ children: subTitle == null ? void 0 : subTitle.content
28
29
  }
29
30
  ),
30
- i && /* @__PURE__ */ o(
31
- r,
31
+ title && /* @__PURE__ */ jsx(
32
+ Headline,
32
33
  {
33
- className: e("headline", void 0, i == null ? void 0 : i.className),
34
+ className: bem("headline", void 0, title == null ? void 0 : title.className),
34
35
  size: "lg",
35
36
  type: "h2",
36
- ...i,
37
- children: i.content
37
+ ...title,
38
+ children: title.content
38
39
  }
39
40
  ),
40
- /* @__PURE__ */ n(
41
- _,
41
+ /* @__PURE__ */ jsxs(
42
+ Card,
42
43
  {
43
- animated: !0,
44
- highlight: !0,
45
- className: e("card__container"),
46
- contentClassName: e("card"),
44
+ animated: true,
45
+ highlight: true,
46
+ className: bem("card__container"),
47
+ contentClassName: bem("card"),
47
48
  customAnimation: "left-right",
48
49
  variant: "white",
49
50
  children: [
50
- /* @__PURE__ */ o("blockquote", { className: e("quote"), children: /* @__PURE__ */ o(N, { className: e("quote__content"), itemProp: "text", children: s }) }),
51
- a && /* @__PURE__ */ o("figcaption", { children: /* @__PURE__ */ n(
51
+ /* @__PURE__ */ jsx("blockquote", { className: bem("quote"), children: /* @__PURE__ */ jsx(RichText, { className: bem("quote__content"), itemProp: "text", children: content }) }),
52
+ author && /* @__PURE__ */ jsx("figcaption", { children: /* @__PURE__ */ jsxs(
52
53
  "div",
53
54
  {
54
- itemScope: !0,
55
- className: e("caption"),
55
+ itemScope: true,
56
+ className: bem("caption"),
56
57
  itemType: "https://schema.org/Person",
57
58
  children: [
58
- (a == null ? void 0 : a.avatar) && /* @__PURE__ */ o(
59
- f,
59
+ (author == null ? void 0 : author.avatar) && /* @__PURE__ */ jsx(
60
+ Avatar,
60
61
  {
61
- className: e("caption__avatar"),
62
- ...a.avatar,
63
- variant: c
62
+ className: bem("caption__avatar"),
63
+ ...author.avatar,
64
+ variant
64
65
  }
65
66
  ),
66
- /* @__PURE__ */ n("div", { className: e("caption__author"), children: [
67
- /* @__PURE__ */ o("span", { className: e("caption__author__name"), itemProp: "name", children: a.name }),
68
- h(a == null ? void 0 : a.position) && /* @__PURE__ */ o(
67
+ /* @__PURE__ */ jsxs("div", { className: bem("caption__author"), children: [
68
+ /* @__PURE__ */ jsx("span", { className: bem("caption__author__name"), itemProp: "name", children: author.name }),
69
+ isString(author == null ? void 0 : author.position) && /* @__PURE__ */ jsx(
69
70
  "span",
70
71
  {
71
- className: e("caption__author__position"),
72
+ className: bem("caption__author__position"),
72
73
  itemProp: "jobTitle",
73
- children: a.position
74
+ children: author.position
74
75
  }
75
76
  )
76
77
  ] })
@@ -84,7 +85,7 @@ const e = d(l, "Quote"), v = p(
84
85
  }
85
86
  )
86
87
  );
87
- v.displayName = "Quote";
88
+ Quote.displayName = "Quote";
88
89
  export {
89
- v as Quote
90
+ Quote
90
91
  };
@@ -1,4 +1,6 @@
1
- const o = "gradientMove", _ = "fadeInKeyframe", t = {
1
+ const gradientMove = "gradientMove";
2
+ const fadeInKeyframe = "fadeInKeyframe";
3
+ const styles = {
2
4
  "prokodo-Quote": "prokodo-Quote",
3
5
  "prokodo-Quote__headline": "prokodo-Quote__headline",
4
6
  "prokodo-Quote__quote": "prokodo-Quote__quote",
@@ -8,11 +10,11 @@ const o = "gradientMove", _ = "fadeInKeyframe", t = {
8
10
  "prokodo-Quote__caption__author": "prokodo-Quote__caption__author",
9
11
  "prokodo-Quote__caption__author__name": "prokodo-Quote__caption__author__name",
10
12
  "prokodo-Quote__caption__author__position": "prokodo-Quote__caption__author__position",
11
- gradientMove: o,
12
- fadeInKeyframe: _
13
+ gradientMove,
14
+ fadeInKeyframe
13
15
  };
14
16
  export {
15
- t as default,
16
- _ as fadeInKeyframe,
17
- o as gradientMove
17
+ styles as default,
18
+ fadeInKeyframe,
19
+ gradientMove
18
20
  };
@@ -1,4 +1,4 @@
1
- import { Quote as r } from "./Quote.js";
1
+ import { Quote } from "./Quote.js";
2
2
  export {
3
- r as Quote
3
+ Quote
4
4
  };