@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,11 +1,13 @@
1
- const e = "gradientMove", o = "fadeInKeyframe", a = {
1
+ const gradientMove = "gradientMove";
2
+ const fadeInKeyframe = "fadeInKeyframe";
3
+ const styles = {
2
4
  "prokodo-Image": "prokodo-Image",
3
5
  "prokodo-Image__caption": "prokodo-Image__caption",
4
- gradientMove: e,
5
- fadeInKeyframe: o
6
+ gradientMove,
7
+ fadeInKeyframe
6
8
  };
7
9
  export {
8
- a as default,
9
- o as fadeInKeyframe,
10
- e as gradientMove
10
+ styles as default,
11
+ fadeInKeyframe,
12
+ gradientMove
11
13
  };
@@ -1,4 +1,4 @@
1
- import { Image as o } from "./Image.js";
1
+ import { Image } from "./Image.js";
2
2
  export {
3
- o as Image
3
+ Image
4
4
  };
@@ -1,99 +1,98 @@
1
- import { jsx as m, jsxs as h } from "react/jsx-runtime";
2
- import { useState as d } from "react";
3
- import { create as v } from "../../helpers/bem.js";
4
- import { isString as y } from "../../helpers/validations.js";
5
- import I from "./ImageText.module.scss.js";
6
- import { RichText as j } from "../rich-text/RichText.js";
7
- import { Grid as w } from "../grid/Grid.js";
8
- import { GridRow as o } from "../grid/GridRow.js";
9
- import { Animated as n } from "../animated/Animated.js";
10
- import { Headline as N } from "../headline/Headline.js";
11
- import { Button as z } from "../button/Button.js";
12
- import { Lottie as A } from "../lottie/Lottie.js";
13
- import { Image as G } from "../image/Image.js";
14
- const s = v(I, "ImageText"), J = ({
15
- animatedBorder: a,
16
- reverse: f,
17
- subTitle: c,
18
- title: e,
19
- content: l,
20
- animation: p,
21
- image: i,
22
- button: r
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 { useState } from "react";
5
+ import { create } from "../../helpers/bem.js";
6
+ import { isString } from "../../helpers/validations.js";
7
+ import styles from "./ImageText.module.scss.js";
8
+ import { RichText } from "../rich-text/RichText.js";
9
+ import { Button } from "../button/Button.js";
10
+ import { Grid } from "../grid/Grid.js";
11
+ import { GridRow } from "../grid/GridRow.js";
12
+ import { Animated } from "../animated/Animated.js";
13
+ import { Headline } from "../headline/Headline.server.js";
14
+ import { Lottie } from "../lottie/Lottie.js";
15
+ import { Image } from "../image/Image.js";
16
+ const bem = create(styles, "ImageText");
17
+ const ImageText = /* @__PURE__ */ __name(({
18
+ animatedBorder,
19
+ reverse,
20
+ subTitle,
21
+ title,
22
+ content,
23
+ animation,
24
+ image,
25
+ button
23
26
  }) => {
24
- const [t, _] = d(!1), g = i ? a ? 4 : 6 : a ? 10 : 12;
25
- return /* @__PURE__ */ m("div", { className: s(), children: /* @__PURE__ */ h(
26
- w,
27
+ const [lineVisible, setLineVisible] = useState(false);
28
+ const leftColumnMd = image ? animatedBorder ? 4 : 6 : animatedBorder ? 10 : 12;
29
+ return /* @__PURE__ */ jsx("div", { className: bem(), children: /* @__PURE__ */ jsxs(
30
+ Grid,
27
31
  {
28
- className: s("grid", {
29
- "is-reverse": !!f
32
+ className: bem("grid", {
33
+ "is-reverse": Boolean(reverse)
30
34
  }),
31
35
  children: [
32
- a && /* @__PURE__ */ m(o, { className: s("animated__border__wrapper"), sm: 2, xs: 3, children: /* @__PURE__ */ m(
33
- n,
36
+ animatedBorder && /* @__PURE__ */ jsx(GridRow, { className: bem("animated__border__wrapper"), sm: 2, xs: 3, children: /* @__PURE__ */ jsx(
37
+ Animated,
34
38
  {
35
- className: s("animated__border", {
36
- "is-visible": t,
37
- [`${(a == null ? void 0 : a.direction) ?? "top-to-bottom"}`]: !!(a != null && a.direction)
39
+ className: bem("animated__border", {
40
+ "is-visible": lineVisible,
41
+ [`${(animatedBorder == null ? void 0 : animatedBorder.direction) ?? "top-to-bottom"}`]: !!(animatedBorder == null ? void 0 : animatedBorder.direction)
38
42
  }),
39
- onAnimate: (x) => _(x)
43
+ onAnimate: /* @__PURE__ */ __name((visible) => setLineVisible(visible), "onAnimate")
40
44
  }
41
45
  ) }),
42
- /* @__PURE__ */ m(o, { className: s("content"), md: g, xs: 10, children: /* @__PURE__ */ h(
43
- n,
46
+ /* @__PURE__ */ jsx(GridRow, { className: bem("content"), md: leftColumnMd, xs: 10, children: /* @__PURE__ */ jsxs(Animated, { children: [
47
+ subTitle && /* @__PURE__ */ jsx(
48
+ Headline,
49
+ {
50
+ highlight: true,
51
+ className: bem("sub__headline", void 0, subTitle == null ? void 0 : subTitle.className),
52
+ size: "sm",
53
+ type: "h3",
54
+ variant: "primary",
55
+ ...subTitle,
56
+ children: subTitle == null ? void 0 : subTitle.content
57
+ }
58
+ ),
59
+ /* @__PURE__ */ jsx(
60
+ Headline,
61
+ {
62
+ className: bem("headline", void 0, title == null ? void 0 : title.className),
63
+ size: "lg",
64
+ type: "h2",
65
+ ...title,
66
+ children: title.content
67
+ }
68
+ ),
69
+ isString(content) && /* @__PURE__ */ jsx(RichText, { className: bem("content__paragraph"), children: content }),
70
+ button && /* @__PURE__ */ jsx(
71
+ Button,
72
+ {
73
+ variant: "outlined",
74
+ ...button,
75
+ className: bem("button", void 0, button == null ? void 0 : button.className)
76
+ }
77
+ )
78
+ ] }) }),
79
+ image && /* @__PURE__ */ jsx(GridRow, { className: bem("image"), md: 6, xs: 10, children: /* @__PURE__ */ jsx(
80
+ Animated,
44
81
  {
45
- children: [
46
- c && /* @__PURE__ */ m(
47
- N,
48
- {
49
- highlight: !0,
50
- className: s("sub__headline", void 0, c == null ? void 0 : c.className),
51
- size: "sm",
52
- type: "h3",
53
- variant: "primary",
54
- ...c,
55
- children: c == null ? void 0 : c.content
56
- }
57
- ),
58
- /* @__PURE__ */ m(
59
- N,
60
- {
61
- className: s("headline", void 0, e == null ? void 0 : e.className),
62
- size: "lg",
63
- type: "h2",
64
- ...e,
65
- children: e.content
66
- }
67
- ),
68
- y(l) && /* @__PURE__ */ m(j, { className: s("content__paragraph"), children: l }),
69
- r && /* @__PURE__ */ m(
70
- z,
71
- {
72
- variant: "outlined",
73
- ...r,
74
- className: s("button", void 0, r == null ? void 0 : r.className)
75
- }
76
- )
77
- ]
78
- }
79
- ) }),
80
- i && /* @__PURE__ */ m(o, { className: s("image"), md: 6, xs: 10, children: /* @__PURE__ */ m(
81
- n,
82
- {
83
- className: s("animated__container"),
84
- children: p ? /* @__PURE__ */ m(
85
- A,
82
+ className: bem("animated__container"),
83
+ children: animation ? /* @__PURE__ */ jsx(
84
+ Lottie,
86
85
  {
87
- animationName: p,
88
- className: s("animation")
86
+ animationName: animation,
87
+ className: bem("animation")
89
88
  }
90
- ) : /* @__PURE__ */ m(G, { className: s("image__src"), ...i })
89
+ ) : /* @__PURE__ */ jsx(Image, { className: bem("image__src"), ...image })
91
90
  }
92
91
  ) })
93
92
  ]
94
93
  }
95
94
  ) });
96
- };
95
+ }, "ImageText");
97
96
  export {
98
- J as ImageText
97
+ ImageText
99
98
  };
@@ -1,4 +1,6 @@
1
- const e = "gradientMove", o = "fadeInKeyframe", _ = {
1
+ const gradientMove = "gradientMove";
2
+ const fadeInKeyframe = "fadeInKeyframe";
3
+ const styles = {
2
4
  "prokodo-ImageText__grid": "prokodo-ImageText__grid",
3
5
  "prokodo-ImageText__grid--is-reverse": "prokodo-ImageText__grid--is-reverse",
4
6
  "prokodo-ImageText__animated__border": "prokodo-ImageText__animated__border",
@@ -12,11 +14,11 @@ const e = "gradientMove", o = "fadeInKeyframe", _ = {
12
14
  "prokodo-ImageText__animation": "prokodo-ImageText__animation",
13
15
  "prokodo-ImageText__image": "prokodo-ImageText__image",
14
16
  "prokodo-ImageText__image__src": "prokodo-ImageText__image__src",
15
- gradientMove: e,
16
- fadeInKeyframe: o
17
+ gradientMove,
18
+ fadeInKeyframe
17
19
  };
18
20
  export {
19
- _ as default,
20
- o as fadeInKeyframe,
21
- e as gradientMove
21
+ styles as default,
22
+ fadeInKeyframe,
23
+ gradientMove
22
24
  };
@@ -1,4 +1,4 @@
1
- import { ImageText as o } from "./ImageText.js";
1
+ import { ImageText } from "./ImageText.js";
2
2
  export {
3
- o as ImageText
3
+ ImageText
4
4
  };
@@ -1,54 +1,60 @@
1
- import { jsxs as d, jsx as l } from "react/jsx-runtime";
2
- import { Input as L } from "@mui/base";
3
- import { memo as P, useState as x, useEffect as ee, useCallback as re } from "react";
4
- import { create as ie } from "../../helpers/bem.js";
5
- import { isNull as se, isString as v } from "../../helpers/validations.js";
6
- import te from "./Input.module.scss.js";
7
- import { handleValidation as oe } from "./InputValidation.js";
8
- import { Label as ae } from "../label/Label.js";
9
- const e = ie(te, "Input"), le = P(
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ import { jsxs, jsx } from "react/jsx-runtime";
4
+ import { Input as Input$1 } from "@mui/base";
5
+ import { memo, useState, useEffect, useCallback } from "react";
6
+ import { create } from "../../helpers/bem.js";
7
+ import { isNull, isString } from "../../helpers/validations.js";
8
+ import styles from "./Input.module.scss.js";
9
+ import { handleValidation } from "./InputValidation.js";
10
+ import { Label } from "../label/Label.js";
11
+ const bem = create(styles, "Input");
12
+ const Input = memo(
10
13
  ({
11
- fullWidth: V,
12
- inputRef: W,
13
- hideCounter: _,
14
- type: t,
15
- color: f = "primary",
16
- value: o,
17
- name: i,
18
- min: z,
19
- max: n,
20
- multiline: c,
21
- maxRows: A,
22
- minRows: C,
23
- rows: D,
24
- disabled: F,
25
- maxLength: m,
26
- placeholder: I,
27
- label: $,
28
- customRegexPattern: G,
29
- errorTranslations: H,
30
- labelProps: u = {},
31
- className: J,
32
- fieldClassName: K,
33
- inputContainerClassName: M,
34
- inputClassName: O,
35
- required: R,
36
- hideLegend: Q,
37
- errorText: p,
38
- helperText: h,
39
- onFocus: N,
40
- onBlur: g,
41
- onChange: S,
42
- onValidate: T,
43
- ...U
14
+ fullWidth,
15
+ inputRef,
16
+ hideCounter,
17
+ type,
18
+ color = "primary",
19
+ value,
20
+ name,
21
+ min,
22
+ max,
23
+ multiline,
24
+ maxRows,
25
+ minRows,
26
+ rows,
27
+ disabled,
28
+ maxLength,
29
+ placeholder,
30
+ label,
31
+ customRegexPattern,
32
+ errorTranslations,
33
+ labelProps = {},
34
+ className,
35
+ fieldClassName,
36
+ inputContainerClassName,
37
+ inputClassName,
38
+ required,
39
+ hideLegend,
40
+ errorText,
41
+ helperText,
42
+ onFocus,
43
+ onBlur,
44
+ onChange,
45
+ onValidate,
46
+ ...props
44
47
  }) => {
45
- var j, E;
46
- const [a, q] = x(o), [X, B] = x(!1);
47
- ee(() => {
48
- se(o) || q(o);
49
- }, [o]);
50
- const Y = re(() => {
51
- switch (t) {
48
+ var _a, _b;
49
+ const [Value, setValue] = useState(value);
50
+ const [focused, setFocused] = useState(false);
51
+ useEffect(() => {
52
+ if (!isNull(value)) {
53
+ setValue(value);
54
+ }
55
+ }, [value]);
56
+ const renderPlaceholder = useCallback(() => {
57
+ switch (type) {
52
58
  case "url":
53
59
  return "www.example.com";
54
60
  case "email":
@@ -58,132 +64,142 @@ const e = ie(te, "Input"), le = P(
58
64
  case "color":
59
65
  return "#FFFFFF";
60
66
  default:
61
- return I;
67
+ return placeholder;
62
68
  }
63
- }, [t, I]), s = v(p), w = R === !0, Z = c ? {
64
- multiline: c,
65
- maxRows: A,
66
- minRows: C ?? 3,
67
- rows: D
69
+ }, [type, placeholder]);
70
+ const isError = isString(errorText);
71
+ const isRequired = required === true;
72
+ const inputProps = Boolean(multiline) ? {
73
+ multiline,
74
+ maxRows,
75
+ minRows: minRows ?? 3,
76
+ rows
68
77
  } : {
69
- multiline: !1,
78
+ multiline: false,
70
79
  maxRows: void 0,
71
80
  minRows: void 0,
72
- type: t
81
+ type
73
82
  };
74
- return /* @__PURE__ */ d("div", { className: e(void 0, { [f]: !!f }, J), children: [
75
- v($) && /* @__PURE__ */ l(
76
- ae,
83
+ return /* @__PURE__ */ jsxs("div", { className: bem(void 0, { [color]: !!color }, className), children: [
84
+ isString(label) && /* @__PURE__ */ jsx(
85
+ Label,
77
86
  {
78
- ...u,
79
- className: e("label", void 0, u == null ? void 0 : u.className),
80
- error: s,
81
- htmlFor: i,
82
- label: $,
83
- required: w
87
+ ...labelProps,
88
+ className: bem("label", void 0, labelProps == null ? void 0 : labelProps.className),
89
+ error: isError,
90
+ htmlFor: name,
91
+ label,
92
+ required: isRequired
84
93
  }
85
94
  ),
86
- /* @__PURE__ */ l("div", { className: e("field", void 0, K), children: /* @__PURE__ */ l(
87
- L,
95
+ /* @__PURE__ */ jsx("div", { className: bem("field", void 0, fieldClassName), children: /* @__PURE__ */ jsx(
96
+ Input$1,
88
97
  {
89
- "aria-required": w ? "true" : void 0,
90
- color: f,
91
- id: i,
92
- ...U,
93
- ...Z,
94
- "aria-invalid": s,
95
- disabled: F,
96
- error: s,
97
- name: i,
98
- placeholder: Y(),
99
- required: w,
100
- value: a ?? "",
101
- "aria-describedby": s ? `${i}-error` : v(h) ? `${i}-helper` : void 0,
102
- className: e(
98
+ "aria-required": isRequired ? "true" : void 0,
99
+ color,
100
+ id: name,
101
+ ...props,
102
+ ...inputProps,
103
+ "aria-invalid": isError,
104
+ disabled,
105
+ error: isError,
106
+ name,
107
+ placeholder: renderPlaceholder(),
108
+ required: isRequired,
109
+ value: Value ?? "",
110
+ "aria-describedby": isError ? `${name}-error` : isString(helperText) ? `${name}-helper` : void 0,
111
+ className: bem(
103
112
  "input",
104
113
  {
105
- focused: X,
106
- multiline: !!c,
107
- disabled: !!F,
108
- fullWidth: !!V
114
+ focused,
115
+ multiline: Boolean(multiline),
116
+ disabled: Boolean(disabled),
117
+ fullWidth: Boolean(fullWidth)
109
118
  },
110
- M
119
+ inputContainerClassName
111
120
  ),
112
121
  slotProps: {
113
122
  input: {
114
- ref: W,
115
- className: e(
123
+ ref: inputRef,
124
+ className: bem(
116
125
  "input__node",
117
126
  {
118
- multiline: !!c
127
+ multiline: Boolean(multiline)
119
128
  },
120
- O
129
+ inputClassName
121
130
  )
122
131
  }
123
132
  },
124
- onBlur: (r) => {
125
- g == null || g(r), B(!1);
126
- },
127
- onChange: (r) => {
128
- var b, k;
129
- const { value: y } = r.target;
130
- m !== void 0 && y.length > m || (q(r.target.value), (k = oe) == null || k(
131
- t === void 0 ? "text" : t,
132
- i,
133
- (b = r == null ? void 0 : r.target) == null ? void 0 : b.value,
134
- R,
135
- z,
136
- n,
137
- G,
138
- H,
139
- T
140
- ), S && S(r));
141
- },
142
- onFocus: (r) => {
143
- N == null || N(r), B(!0);
144
- }
133
+ onBlur: /* @__PURE__ */ __name((e) => {
134
+ onBlur == null ? void 0 : onBlur(e);
135
+ setFocused(false);
136
+ }, "onBlur"),
137
+ onChange: /* @__PURE__ */ __name((e) => {
138
+ var _a2, _b2;
139
+ const { value: value2 } = e.target;
140
+ if (maxLength !== void 0 && value2.length > maxLength) return;
141
+ setValue(e.target.value);
142
+ (_b2 = handleValidation) == null ? void 0 : _b2(
143
+ type === void 0 ? "text" : type,
144
+ name,
145
+ (_a2 = e == null ? void 0 : e.target) == null ? void 0 : _a2.value,
146
+ required,
147
+ min,
148
+ max,
149
+ customRegexPattern,
150
+ errorTranslations,
151
+ onValidate
152
+ );
153
+ if (onChange) {
154
+ onChange(e);
155
+ }
156
+ }, "onChange"),
157
+ onFocus: /* @__PURE__ */ __name((e) => {
158
+ onFocus == null ? void 0 : onFocus(e);
159
+ setFocused(true);
160
+ }, "onFocus")
145
161
  }
146
162
  ) }),
147
- /* @__PURE__ */ d("div", { className: e("footer"), children: [
148
- s || v(h) || n !== void 0 && a !== void 0 ? /* @__PURE__ */ d(
163
+ /* @__PURE__ */ jsxs("div", { className: bem("footer"), children: [
164
+ isError || isString(helperText) || max !== void 0 && Value !== void 0 ? /* @__PURE__ */ jsxs(
149
165
  "div",
150
166
  {
151
- "aria-live": s ? "assertive" : "polite",
152
- className: e("helperText"),
153
- id: s ? `${i}-error` : `${i}-helper`,
154
- role: s ? "alert" : void 0,
167
+ "aria-live": isError ? "assertive" : "polite",
168
+ className: bem("helperText"),
169
+ id: isError ? `${name}-error` : `${name}-helper`,
170
+ role: isError ? "alert" : void 0,
155
171
  children: [
156
- /* @__PURE__ */ l(
172
+ /* @__PURE__ */ jsx(
157
173
  "span",
158
174
  {
159
175
  role: "alert",
160
- className: e("helperText__content", {
161
- "is-error": !!p
176
+ className: bem("helperText__content", {
177
+ "is-error": Boolean(errorText)
162
178
  }),
163
- children: p ?? h
179
+ children: errorText ?? helperText
164
180
  }
165
181
  ),
166
- n !== void 0 && a !== void 0 && Q === !1 && /* @__PURE__ */ d("span", { className: e("helperText__legend"), children: [
167
- ((j = a == null ? void 0 : a.toString()) == null ? void 0 : j.length) ?? 0,
182
+ max !== void 0 && Value !== void 0 && hideLegend === false && /* @__PURE__ */ jsxs("span", { className: bem("helperText__legend"), children: [
183
+ ((_a = Value == null ? void 0 : Value.toString()) == null ? void 0 : _a.length) ?? 0,
168
184
  " / ",
169
- n
185
+ max
170
186
  ] })
171
187
  ]
172
188
  }
173
- ) : /* @__PURE__ */ l("div", { className: e("helperText") }),
174
- m !== void 0 && t !== "number" && (_ === void 0 || _ === !1) && /* @__PURE__ */ l("div", { className: e("counter"), children: /* @__PURE__ */ d("span", { children: [
189
+ ) : /* @__PURE__ */ jsx("div", { className: bem("helperText") }),
190
+ maxLength !== void 0 && type !== "number" && (hideCounter === void 0 || hideCounter === false) && /* @__PURE__ */ jsx("div", { className: bem("counter"), children: /* @__PURE__ */ jsxs("span", { children: [
175
191
  "(",
176
- o !== void 0 ? ((E = String(o)) == null ? void 0 : E.length) ?? 0 : 0,
192
+ value !== void 0 ? ((_b = String(value)) == null ? void 0 : _b.length) ?? 0 : 0,
177
193
  " /",
178
194
  " ",
179
- m,
195
+ maxLength,
180
196
  ")"
181
197
  ] }) })
182
198
  ] })
183
199
  ] });
184
200
  }
185
201
  );
186
- le.displayName = "Input";
202
+ Input.displayName = "Input";
187
203
  export {
188
- le as Input
204
+ Input
189
205
  };
@@ -1,8 +1,11 @@
1
- const o = "Input__field", p = "gradientMove", _ = "fadeInKeyframe", t = {
1
+ const Input__field = "Input__field";
2
+ const gradientMove = "gradientMove";
3
+ const fadeInKeyframe = "fadeInKeyframe";
4
+ const styles = {
2
5
  "prokodo-Input": "prokodo-Input",
3
6
  "prokodo-Input__label": "prokodo-Input__label",
4
7
  "prokodo-Input--primary": "prokodo-Input--primary",
5
- Input__field: o,
8
+ Input__field,
6
9
  "prokodo-Input--secondary": "prokodo-Input--secondary",
7
10
  "prokodo-Input--error": "prokodo-Input--error",
8
11
  "prokodo-Input__field": "prokodo-Input__field",
@@ -19,12 +22,12 @@ const o = "Input__field", p = "gradientMove", _ = "fadeInKeyframe", t = {
19
22
  "prokodo-Input__helperText__content--is-error": "prokodo-Input__helperText__content--is-error",
20
23
  "prokodo-Input__helperText__legend": "prokodo-Input__helperText__legend",
21
24
  "prokodo-Input__counter": "prokodo-Input__counter",
22
- gradientMove: p,
23
- fadeInKeyframe: _
25
+ gradientMove,
26
+ fadeInKeyframe
24
27
  };
25
28
  export {
26
- o as Input__field,
27
- t as default,
28
- _ as fadeInKeyframe,
29
- p as gradientMove
29
+ Input__field,
30
+ styles as default,
31
+ fadeInKeyframe,
32
+ gradientMove
30
33
  };