@prokodo/ui 0.0.9 → 0.0.11

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 (325) hide show
  1. package/README.md +2 -0
  2. package/dist/_virtual/_commonjsHelpers.js +6 -0
  3. package/dist/_virtual/index.js +7 -0
  4. package/dist/_virtual/index2.js +4 -0
  5. package/dist/_virtual/index3.js +4 -0
  6. package/dist/_virtual/jsx-runtime.js +5 -0
  7. package/dist/_virtual/jsx-runtime2.js +4 -0
  8. package/dist/_virtual/react-is.development.js +4 -0
  9. package/dist/_virtual/react-is.production.min.js +4 -0
  10. package/dist/_virtual/react-jsx-runtime.development.js +4 -0
  11. package/dist/_virtual/react-jsx-runtime.production.js +4 -0
  12. package/dist/assets/images/card_background_primary_1.webp.js +4 -0
  13. package/dist/assets/images/card_background_primary_2.webp.js +4 -0
  14. package/dist/assets/images/card_background_primary_3.webp.js +4 -0
  15. package/dist/assets/images/card_background_primary_4.webp.js +4 -0
  16. package/dist/assets/images/card_background_secondary_1.webp.js +4 -0
  17. package/dist/assets/images/card_background_secondary_2.webp.js +4 -0
  18. package/dist/assets/images/card_background_secondary_3.webp.js +4 -0
  19. package/dist/assets/images/card_background_secondary_4.webp.js +4 -0
  20. package/dist/components/accordion/Accordion.js +115 -0
  21. package/dist/components/accordion/Accordion.module.scss.js +23 -0
  22. package/dist/components/accordion/index.js +4 -0
  23. package/dist/components/animated/Animated.js +53 -0
  24. package/dist/components/animated/Animated.module.scss.js +18 -0
  25. package/dist/components/animated/index.js +4 -0
  26. package/dist/components/animatedText/AnimatedText.js +31 -0
  27. package/dist/components/animatedText/index.js +4 -0
  28. package/dist/components/avatar/Avatar.js +78 -0
  29. package/dist/components/avatar/Avatar.module.scss.js +24 -0
  30. package/dist/components/avatar/index.js +4 -0
  31. package/dist/components/base-link/BaseLink.js +30 -0
  32. package/dist/components/base-link/index.js +4 -0
  33. package/dist/components/button/Button.js +84 -0
  34. package/dist/components/button/Button.module.scss.js +34 -0
  35. package/dist/components/button/index.js +4 -0
  36. package/dist/components/calendly/Calendly.js +82 -0
  37. package/dist/components/calendly/index.js +4 -0
  38. package/dist/components/card/Card.js +180 -0
  39. package/dist/components/card/Card.module.scss.js +38 -0
  40. package/dist/components/card/index.js +4 -0
  41. package/dist/components/carousel/Carousel.js +232 -0
  42. package/dist/components/carousel/Carousel.module.scss.js +21 -0
  43. package/dist/components/carousel/Carousel.services.js +22 -0
  44. package/dist/components/carousel/index.js +4 -0
  45. package/dist/components/chip/Chip.js +61 -0
  46. package/dist/components/chip/Chip.module.scss.js +26 -0
  47. package/dist/components/chip/index.js +4 -0
  48. package/dist/components/datePicker/DatePicker.js +93 -0
  49. package/dist/components/datePicker/index.js +4 -0
  50. package/dist/components/dialog/Dialog.js +156 -0
  51. package/dist/components/dialog/Dialog.module.scss.js +23 -0
  52. package/dist/components/dialog/index.js +4 -0
  53. package/dist/components/drawer/Drawer.js +94 -0
  54. package/dist/components/drawer/Drawer.module.scss.js +37 -0
  55. package/dist/components/drawer/index.js +6 -0
  56. package/dist/components/form/Form.js +228 -0
  57. package/dist/components/form/Form.module.scss.js +13 -0
  58. package/dist/components/form/FormField.js +96 -0
  59. package/dist/components/form/FormField.module.scss.js +10 -0
  60. package/dist/components/form/FormResponse.js +43 -0
  61. package/dist/components/form/FormResponse.module.scss.js +14 -0
  62. package/dist/components/form/index.js +6 -0
  63. package/dist/components/grid/Grid.js +21 -0
  64. package/dist/components/grid/Grid.module.scss.js +10 -0
  65. package/dist/components/grid/GridRow.js +29 -0
  66. package/dist/components/grid/GridRow.module.scss.js +73 -0
  67. package/dist/components/grid/index.js +6 -0
  68. package/dist/components/headline/Headline.js +71 -0
  69. package/dist/components/headline/Headline.module.scss.js +34 -0
  70. package/dist/components/headline/index.js +5 -0
  71. package/dist/components/icon/Icon.js +60 -0
  72. package/dist/components/icon/Icon.module.scss.js +16 -0
  73. package/dist/components/icon/iconsMap.js +4131 -0
  74. package/dist/components/icon/index.js +5 -0
  75. package/dist/components/image/Image.js +29 -0
  76. package/dist/components/image/Image.module.scss.js +11 -0
  77. package/dist/components/image/index.js +4 -0
  78. package/dist/components/image-text/ImageText.js +99 -0
  79. package/dist/components/image-text/ImageText.module.scss.js +22 -0
  80. package/dist/components/image-text/index.js +4 -0
  81. package/dist/components/input/Input.js +189 -0
  82. package/dist/components/input/Input.module.scss.js +30 -0
  83. package/dist/components/input/InputValidation.js +52 -0
  84. package/dist/components/input/index.js +4 -0
  85. package/dist/components/inputOTP/InputOTP.js +79 -0
  86. package/dist/components/inputOTP/InputOTP.module.scss.js +16 -0
  87. package/dist/components/inputOTP/index.js +4 -0
  88. package/dist/components/label/Label.js +65 -0
  89. package/dist/components/label/Label.module.scss.js +13 -0
  90. package/dist/components/label/index.js +4 -0
  91. package/dist/components/link/Link.js +58 -0
  92. package/dist/components/link/Link.module.scss.js +18 -0
  93. package/dist/components/link/index.js +4 -0
  94. package/dist/components/list/List.js +172 -0
  95. package/dist/components/list/List.module.scss.js +31 -0
  96. package/dist/components/list/index.js +4 -0
  97. package/dist/components/loading/Loading.js +57 -0
  98. package/dist/components/loading/Loading.module.scss.js +19 -0
  99. package/dist/components/loading/index.js +4 -0
  100. package/dist/components/lottie/Lottie.js +55 -0
  101. package/dist/components/lottie/Lottie.module.scss.js +10 -0
  102. package/dist/components/lottie/LottieAnimations.js +35 -0
  103. package/dist/components/lottie/index.js +4 -0
  104. package/dist/components/map/Map.js +51 -0
  105. package/dist/components/map/index.js +4 -0
  106. package/dist/components/post-item/PostItem.js +136 -0
  107. package/dist/components/post-item/PostItem.module.scss.js +22 -0
  108. package/dist/components/post-item/PostItemAuthor.js +37 -0
  109. package/dist/components/post-item/PostItemAuthor.module.scss.js +11 -0
  110. package/dist/components/post-item/index.js +4 -0
  111. package/dist/components/post-teaser/PostTeaser.js +168 -0
  112. package/dist/components/post-teaser/PostTeaser.module.scss.js +25 -0
  113. package/dist/components/post-teaser/index.js +4 -0
  114. package/dist/components/post-widget/PostWidget.js +158 -0
  115. package/dist/components/post-widget/PostWidget.module.scss.js +19 -0
  116. package/dist/components/post-widget/index.js +4 -0
  117. package/dist/components/post-widget-carousel/PostWidgetCarousel.js +159 -0
  118. package/dist/components/post-widget-carousel/PostWidgetCarousel.module.scss.js +16 -0
  119. package/dist/components/post-widget-carousel/index.js +4 -0
  120. package/dist/components/quote/Quote.js +90 -0
  121. package/dist/components/quote/Quote.module.scss.js +18 -0
  122. package/dist/components/quote/index.js +4 -0
  123. package/dist/components/rich-text/RichText.js +143 -0
  124. package/dist/components/rich-text/RichText.module.scss.js +16 -0
  125. package/dist/components/rich-text/index.js +4 -0
  126. package/dist/components/select/Select.js +199 -0
  127. package/dist/components/select/Select.module.scss.js +34 -0
  128. package/dist/components/select/index.js +4 -0
  129. package/dist/components/skeleton/Skeleton.js +29 -0
  130. package/dist/components/skeleton/Skeleton.module.scss.js +18 -0
  131. package/dist/components/skeleton/index.js +4 -0
  132. package/dist/components/slider/Slider.js +104 -0
  133. package/dist/components/slider/Slider.module.scss.js +20 -0
  134. package/dist/components/slider/index.js +4 -0
  135. package/dist/components/stepper/Stepper.js +119 -0
  136. package/dist/components/stepper/Stepper.module.scss.js +23 -0
  137. package/dist/components/stepper/index.js +4 -0
  138. package/dist/components/switch/Switch.js +102 -0
  139. package/dist/components/switch/Switch.module.scss.js +30 -0
  140. package/dist/components/switch/index.js +4 -0
  141. package/dist/components/table/Table.js +75 -0
  142. package/dist/components/table/Table.module.scss.js +27 -0
  143. package/dist/components/table/index.js +4 -0
  144. package/dist/components/teaser/Teaser.js +102 -0
  145. package/dist/components/teaser/Teaser.module.scss.js +23 -0
  146. package/dist/components/teaser/index.js +4 -0
  147. package/dist/helpers/bem.js +12 -0
  148. package/dist/helpers/calculation.js +4 -0
  149. package/dist/helpers/validations.js +8 -0
  150. package/dist/hooks/useGoogleMaps.js +19 -0
  151. package/dist/index.js +86 -0
  152. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +353 -0
  153. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +395 -0
  154. 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 +170 -0
  155. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +131 -0
  156. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
  157. 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 +119 -0
  158. 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 -0
  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/Portal/Portal.js +71 -0
  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/Select/Select.js +286 -0
  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/Select/selectClasses.js +10 -0
  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/Slider/Slider.js +414 -0
  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/Slider/sliderClasses.js +10 -0
  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/Switch/Switch.js +158 -0
  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/Switch/switchClasses.js +10 -0
  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/Unstable_Popup/Popup.js +205 -0
  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/Unstable_Popup/PopupContext.js +6 -0
  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/popupClasses.js +10 -0
  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/generateUtilityClass/index.js +15 -0
  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/generateUtilityClasses/index.js +10 -0
  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/useButton/useButton.js +79 -0
  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/useCompound/useCompoundItem.js +25 -0
  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/useCompound/useCompoundParent.js +47 -0
  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/useList/ListContext.js +6 -0
  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/useList/listActions.types.js +14 -0
  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/listReducer.js +223 -0
  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/useList.js +150 -0
  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/useListItem.js +61 -0
  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/useOption/useOption.js +63 -0
  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/useOption/useOptionContextStabilizer.js +32 -0
  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/useSelect/SelectProvider.js +34 -0
  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/useSelect/defaultOptionStringifier.js +10 -0
  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/selectReducer.js +65 -0
  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/useSelect.js +242 -0
  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/useSelect.types.js +7 -0
  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/useSlider/useSlider.js +423 -0
  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/useSwitch/useSwitch.js +58 -0
  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/useTransition/TransitionContext.js +6 -0
  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/useTransition/useTransitionTrigger.js +27 -0
  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/utils/ClassNameConfigurator.js +15 -0
  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/utils/areArraysEqual.js +6 -0
  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/combineHooksSlotProps.js +15 -0
  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/isHostComponent.js +6 -0
  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/resolveComponentProps.js +6 -0
  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/useControllableReducer.js +70 -0
  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/useRootElementName.js +17 -0
  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/useTextNavigation.js +17 -0
  198. 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 +9 -0
  199. 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 -0
  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/chainPropTypes/chainPropTypes.js +8 -0
  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/clamp/clamp.js +6 -0
  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/composeClasses/composeClasses.js +16 -0
  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/exactProp/exactProp.js +13 -0
  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/extractEventHandlers/extractEventHandlers.js +11 -0
  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/generateUtilityClass/generateUtilityClass.js +17 -0
  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/getReactNodeRef/getReactNodeRef.js +12 -0
  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/isFocusVisible/isFocusVisible.js +12 -0
  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/isHostComponent/isHostComponent.js +6 -0
  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/mergeSlotProps/mergeSlotProps.js +48 -0
  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/omitEventHandlers/omitEventHandlers.js +11 -0
  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/ownerDocument/ownerDocument.js +6 -0
  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/resolveComponentProps/resolveComponentProps.js +6 -0
  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/setRef/setRef.js +6 -0
  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/useControlled/useControlled.js +31 -0
  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/useEnhancedEffect/useEnhancedEffect.js +5 -0
  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/useEventCallback/useEventCallback.js +14 -0
  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/useForkRef/useForkRef.js +12 -0
  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/useId/useId.js +19 -0
  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/useSlotProps/useSlotProps.js +27 -0
  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/visuallyHidden/visuallyHidden.js +14 -0
  221. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -0
  222. package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +54 -0
  223. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +54 -0
  224. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
  225. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
  226. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +17 -0
  227. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
  228. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +7 -0
  229. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +95 -0
  230. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +78 -0
  231. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +10 -0
  232. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.development.js +247 -0
  233. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.production.js +35 -0
  234. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +10 -0
  235. package/dist/ui.css +1 -1
  236. package/package.json +42 -44
  237. package/dist/components/Accordion2.js +0 -1
  238. package/dist/components/Animated2.js +0 -1
  239. package/dist/components/AnimatedText2.js +0 -1
  240. package/dist/components/Avatar2.js +0 -1
  241. package/dist/components/BaseLink.js +0 -1
  242. package/dist/components/Button2.js +0 -1
  243. package/dist/components/Calendly2.js +0 -1
  244. package/dist/components/Card2.js +0 -1
  245. package/dist/components/Carousel2.js +0 -1
  246. package/dist/components/Chip2.js +0 -1
  247. package/dist/components/ClassNameConfigurator.js +0 -21
  248. package/dist/components/DatePicker2.js +0 -1
  249. package/dist/components/Dialog2.js +0 -1
  250. package/dist/components/Drawer2.js +0 -1
  251. package/dist/components/Form2.js +0 -1
  252. package/dist/components/GridRow.js +0 -1
  253. package/dist/components/Headline2.js +0 -1
  254. package/dist/components/Icon2.js +0 -1
  255. package/dist/components/Image2.js +0 -1
  256. package/dist/components/ImageText.js +0 -1
  257. package/dist/components/Input2.js +0 -1
  258. package/dist/components/InputOTP2.js +0 -1
  259. package/dist/components/Label2.js +0 -1
  260. package/dist/components/Link2.js +0 -1
  261. package/dist/components/List2.js +0 -1
  262. package/dist/components/Loading2.js +0 -1
  263. package/dist/components/Lottie2.js +0 -1
  264. package/dist/components/Map2.js +0 -1
  265. package/dist/components/PostItem.js +0 -1
  266. package/dist/components/PostTeaser.js +0 -1
  267. package/dist/components/PostWidget.js +0 -1
  268. package/dist/components/PostWidgetCarousel.js +0 -1
  269. package/dist/components/Quote2.js +0 -1
  270. package/dist/components/RichText.js +0 -1
  271. package/dist/components/Select2.js +0 -3
  272. package/dist/components/Skeleton2.js +0 -1
  273. package/dist/components/Slider2.js +0 -1
  274. package/dist/components/Stepper2.js +0 -1
  275. package/dist/components/Switch2.js +0 -1
  276. package/dist/components/Table2.js +0 -1
  277. package/dist/components/Teaser2.js +0 -1
  278. package/dist/components/accordion.js +0 -1
  279. package/dist/components/animated.js +0 -1
  280. package/dist/components/animatedText.js +0 -1
  281. package/dist/components/areArraysEqual.js +0 -1
  282. package/dist/components/avatar.js +0 -1
  283. package/dist/components/base-link.js +0 -1
  284. package/dist/components/bem.js +0 -1
  285. package/dist/components/button.js +0 -1
  286. package/dist/components/calculation.js +0 -1
  287. package/dist/components/calendly.js +0 -1
  288. package/dist/components/card.js +0 -1
  289. package/dist/components/carousel.js +0 -1
  290. package/dist/components/chip.js +0 -1
  291. package/dist/components/datePicker.js +0 -1
  292. package/dist/components/dialog.js +0 -1
  293. package/dist/components/drawer.js +0 -1
  294. package/dist/components/form.js +0 -1
  295. package/dist/components/grid.js +0 -1
  296. package/dist/components/headline.js +0 -1
  297. package/dist/components/icon.js +0 -1
  298. package/dist/components/image-text.js +0 -1
  299. package/dist/components/image.js +0 -1
  300. package/dist/components/input.js +0 -1
  301. package/dist/components/inputOTP.js +0 -1
  302. package/dist/components/jsx-runtime.js +0 -22
  303. package/dist/components/label.js +0 -1
  304. package/dist/components/link.js +0 -1
  305. package/dist/components/list.js +0 -1
  306. package/dist/components/loading.js +0 -1
  307. package/dist/components/lottie.js +0 -1
  308. package/dist/components/map.js +0 -1
  309. package/dist/components/post-item.js +0 -1
  310. package/dist/components/post-teaser.js +0 -1
  311. package/dist/components/post-widget-carousel.js +0 -1
  312. package/dist/components/post-widget.js +0 -1
  313. package/dist/components/quote.js +0 -1
  314. package/dist/components/rich-text.js +0 -1
  315. package/dist/components/select.js +0 -1
  316. package/dist/components/skeleton.js +0 -1
  317. package/dist/components/slider.js +0 -1
  318. package/dist/components/stepper.js +0 -1
  319. package/dist/components/switch.js +0 -1
  320. package/dist/components/table.js +0 -1
  321. package/dist/components/teaser.js +0 -1
  322. package/dist/components/useControlled.js +0 -3
  323. package/dist/components/validations.js +0 -1
  324. package/dist/index.cjs.js +0 -1
  325. package/dist/index.es.js +0 -84
@@ -0,0 +1,232 @@
1
+ import { j as i } from "../../_virtual/jsx-runtime.js";
2
+ import { useRef as x, useState as f, Children as ae, useEffect as P, useCallback as b, useImperativeHandle as le } from "react";
3
+ import { create as ne } from "../../helpers/bem.js";
4
+ import { Button as J } from "../button/Button.js";
5
+ import { Lottie as ce } from "../lottie/Lottie.js";
6
+ import de from "./Carousel.module.scss.js";
7
+ import { NEXT as p, PREV as R, handleTouchStart as oe, handleTouchMove as fe, handleTouchEnd as me, handleMouseUp as ue, handleMouseDown as xe } from "./Carousel.services.js";
8
+ const l = ne(de, "Carousel"), be = ({
9
+ ref: L,
10
+ autoplay: m,
11
+ enableControl: X,
12
+ itemsToShow: s = 1,
13
+ className: O,
14
+ classNameControls: Q,
15
+ classNameButtons: y,
16
+ classNameWrapper: W,
17
+ classNameItem: Y,
18
+ classNameDots: V,
19
+ classNameDot: h,
20
+ onKeyDown: j,
21
+ onMouseEnter: v,
22
+ onMouseLeave: I,
23
+ onTouchEnd: N,
24
+ onTouchMove: C,
25
+ onTouchStart: g,
26
+ onMouseDown: k,
27
+ onMouseUp: A,
28
+ children: Z,
29
+ ...K
30
+ }) => {
31
+ const B = x(null), E = x(0), $ = x(0), z = x(0), U = x(0), [w, D] = f(!0), [c, d] = f(s), [M, H] = f(!1), [q, F] = f(!!m), [u, n] = f(!1), o = ae.toArray(Z), [G, T] = f([]), r = o.length;
32
+ P(() => {
33
+ const e = [
34
+ ...o.slice(-s),
35
+ ...o,
36
+ ...o.slice(0, s)
37
+ ];
38
+ e !== G && (T(e), d(s));
39
+ }, [s]), P(() => {
40
+ const e = setTimeout(() => {
41
+ D(!1);
42
+ }, 1500);
43
+ return () => clearTimeout(e);
44
+ }, []);
45
+ const a = b(
46
+ (e) => {
47
+ if (u) return;
48
+ n(!0);
49
+ let t = c;
50
+ e === p ? t = c + 1 : e === R && (t = c - 1), d(t), setTimeout(() => {
51
+ t >= r + s ? (d(s), n(!1)) : (t < s && d(r), n(!1));
52
+ }, 300);
53
+ },
54
+ [u, c, s, r]
55
+ );
56
+ P(() => {
57
+ if (typeof m != "number" || m <= 0) return;
58
+ let e;
59
+ return q && (e = setInterval(() => {
60
+ a(p);
61
+ }, m)), () => {
62
+ clearInterval(e);
63
+ };
64
+ }, [a, q, m]);
65
+ const _ = b(
66
+ (e) => {
67
+ if (u) return;
68
+ n(!0);
69
+ const t = e + s;
70
+ d(t), setTimeout(() => {
71
+ t >= r + s ? (d(t - r), n(!1)) : (t < s && d(r + t), n(!1));
72
+ }, 300);
73
+ },
74
+ [u, s, r]
75
+ );
76
+ le(L, () => ({
77
+ slidePrev: () => a(R),
78
+ slideNext: () => a(p),
79
+ carouselContainer: B.current
80
+ }));
81
+ const S = b(
82
+ (e) => {
83
+ v == null || v(e), F(!1);
84
+ },
85
+ [v]
86
+ ), ee = b(
87
+ (e) => {
88
+ I == null || I(e), F(!0);
89
+ },
90
+ [I]
91
+ ), te = () => `translateX(${-c * (100 / s)}%)`, se = b(
92
+ () => r > 0 && /* @__PURE__ */ i.jsx("span", { className: l("dots", void 0, V), children: o.map((e, t) => {
93
+ const re = t === (c - s + r) % r;
94
+ return /* @__PURE__ */ i.jsx(
95
+ "button",
96
+ {
97
+ tabIndex: 0,
98
+ className: l(
99
+ "dots__dot",
100
+ {
101
+ "is-active": re
102
+ },
103
+ h
104
+ ),
105
+ onClick: () => _(t),
106
+ onKeyDown: (ie) => ie.key === "Enter" && _(t)
107
+ },
108
+ `carousel-dot-${t}`
109
+ );
110
+ }) }),
111
+ [
112
+ r,
113
+ o,
114
+ c,
115
+ V,
116
+ h,
117
+ s,
118
+ _
119
+ ]
120
+ );
121
+ return r === 0 ? null : /* @__PURE__ */ i.jsxs(
122
+ "div",
123
+ {
124
+ "aria-label": "Carousel",
125
+ role: "button",
126
+ tabIndex: 0,
127
+ ...K,
128
+ ref: B,
129
+ className: l(
130
+ void 0,
131
+ {
132
+ "is-active": M
133
+ },
134
+ O
135
+ ),
136
+ onMouseEnter: S,
137
+ onMouseLeave: ee,
138
+ onKeyDown: (e) => {
139
+ switch (j == null || j(e), e.key) {
140
+ case "ArrowLeft":
141
+ a("NEXT");
142
+ break;
143
+ case "ArrowRight":
144
+ a("PREV");
145
+ break;
146
+ }
147
+ },
148
+ onMouseDown: (e) => {
149
+ k == null || k(e), xe(e, z), H(!0);
150
+ },
151
+ onMouseUp: (e) => {
152
+ A == null || A(e), ue(e, z, U, a), H(!1);
153
+ },
154
+ onTouchEnd: (e) => {
155
+ N == null || N(e), me(E, $, a);
156
+ },
157
+ onTouchMove: (e) => {
158
+ C == null || C(e), fe(e, $);
159
+ },
160
+ onTouchStart: (e) => {
161
+ g == null || g(e), oe(e, E);
162
+ },
163
+ children: [
164
+ /* @__PURE__ */ i.jsx(
165
+ "div",
166
+ {
167
+ className: l("wrapper", void 0, W),
168
+ style: {
169
+ transform: te(),
170
+ transition: u ? "transform 0.3s ease-in-out" : "none"
171
+ },
172
+ children: G.map((e, t) => /* @__PURE__ */ i.jsx(
173
+ "div",
174
+ {
175
+ className: l("item", void 0, Y),
176
+ style: {
177
+ width: `${100 / s}%`
178
+ },
179
+ children: e
180
+ },
181
+ `carousel-item-${t}`
182
+ ))
183
+ }
184
+ ),
185
+ /* @__PURE__ */ i.jsx(
186
+ "div",
187
+ {
188
+ className: l("mobile__tutorial", {
189
+ "is-hidden": !w
190
+ }),
191
+ children: /* @__PURE__ */ i.jsx("div", { className: l("mobile__tutorial__animation"), children: /* @__PURE__ */ i.jsx(ce, { animationName: "Swipe" }) })
192
+ }
193
+ ),
194
+ /* @__PURE__ */ i.jsxs("footer", { className: l("controls", void 0, Q), children: [
195
+ !!X && /* @__PURE__ */ i.jsx(
196
+ J,
197
+ {
198
+ "aria-label": "Swipe one slide backwards",
199
+ className: l("button", void 0, y),
200
+ variant: "outlined",
201
+ iconProps: {
202
+ name: "ArrowLeft01Icon",
203
+ size: "md",
204
+ color: "white"
205
+ },
206
+ onClick: () => a(R)
207
+ }
208
+ ),
209
+ se(),
210
+ !!X && /* @__PURE__ */ i.jsx(
211
+ J,
212
+ {
213
+ "aria-label": "Swipe one slide forwards",
214
+ className: l("button", void 0, y),
215
+ variant: "outlined",
216
+ iconProps: {
217
+ name: "ArrowRight01Icon",
218
+ size: "md",
219
+ color: "white"
220
+ },
221
+ onClick: () => a(p)
222
+ }
223
+ )
224
+ ] })
225
+ ]
226
+ }
227
+ );
228
+ };
229
+ be.displayName = "Carousel";
230
+ export {
231
+ be as Carousel
232
+ };
@@ -0,0 +1,21 @@
1
+ const o = "gradientMove", r = "fadeInKeyframe", _ = {
2
+ "prokodo-Carousel": "prokodo-Carousel",
3
+ "prokodo-Carousel--is-active": "prokodo-Carousel--is-active",
4
+ "prokodo-Carousel__wrapper": "prokodo-Carousel__wrapper",
5
+ "prokodo-Carousel__item": "prokodo-Carousel__item",
6
+ "prokodo-Carousel__mobile__tutorial": "prokodo-Carousel__mobile__tutorial",
7
+ "prokodo-Carousel__mobile__tutorial__animation": "prokodo-Carousel__mobile__tutorial__animation",
8
+ "prokodo-Carousel__mobile__tutorial--is-hidden": "prokodo-Carousel__mobile__tutorial--is-hidden",
9
+ "prokodo-Carousel__controls": "prokodo-Carousel__controls",
10
+ "prokodo-Carousel__button": "prokodo-Carousel__button",
11
+ "prokodo-Carousel__dots": "prokodo-Carousel__dots",
12
+ "prokodo-Carousel__dots__dot": "prokodo-Carousel__dots__dot",
13
+ "prokodo-Carousel__dots__dot--is-active": "prokodo-Carousel__dots__dot--is-active",
14
+ gradientMove: o,
15
+ fadeInKeyframe: r
16
+ };
17
+ export {
18
+ _ as default,
19
+ r as fadeInKeyframe,
20
+ o as gradientMove
21
+ };
@@ -0,0 +1,22 @@
1
+ const t = "NEXT", u = "PREV", o = (r, c) => {
2
+ var n;
3
+ c.current = ((n = r.targetTouches[0]) == null ? void 0 : n.clientX) ?? 0;
4
+ }, T = (r, c) => {
5
+ var n;
6
+ c.current = ((n = r.targetTouches[0]) == null ? void 0 : n.clientX) ?? 0;
7
+ }, h = (r, c, n) => {
8
+ r.current - c.current > 50 && n("NEXT"), r.current - c.current < -50 && n("PREV");
9
+ }, l = (r, c) => {
10
+ c.current = r.clientX;
11
+ }, a = (r, c, n, e) => {
12
+ n.current = r.clientX, c.current - n.current > 50 && e("NEXT"), c.current - n.current < -50 && e("PREV");
13
+ };
14
+ export {
15
+ t as NEXT,
16
+ u as PREV,
17
+ l as handleMouseDown,
18
+ a as handleMouseUp,
19
+ h as handleTouchEnd,
20
+ T as handleTouchMove,
21
+ o as handleTouchStart
22
+ };
@@ -0,0 +1,4 @@
1
+ import { Carousel as e } from "./Carousel.js";
2
+ export {
3
+ e as Carousel
4
+ };
@@ -0,0 +1,61 @@
1
+ import { j as i } from "../../_virtual/jsx-runtime.js";
2
+ import { memo as f, useCallback as h } from "react";
3
+ import { create as u } from "../../helpers/bem.js";
4
+ import x from "./Chip.module.scss.js";
5
+ const m = u(x, "Chip"), j = f(
6
+ ({
7
+ label: r,
8
+ icon: o,
9
+ variant: p = "filled",
10
+ color: l = "primary",
11
+ className: c,
12
+ onDelete: d,
13
+ onClick: s,
14
+ onKeyDown: e
15
+ }) => {
16
+ const b = h(
17
+ (t) => {
18
+ (t.key === "Enter" || t.key === " ") && (t.preventDefault(), e == null || e(t));
19
+ },
20
+ [e]
21
+ ), a = !!s;
22
+ return (
23
+ // eslint-disable-next-line jsx-a11y/no-static-element-interactions
24
+ /* @__PURE__ */ i.jsxs(
25
+ "div",
26
+ {
27
+ "aria-label": typeof r == "string" ? r : void 0,
28
+ role: a ? "button" : void 0,
29
+ tabIndex: a ? 0 : -1,
30
+ className: m(
31
+ void 0,
32
+ { [p]: !!p, [l]: !!l },
33
+ c
34
+ ),
35
+ onClick: (t) => a && (s == null ? void 0 : s(t)),
36
+ onKeyDown: a || e ? b : void 0,
37
+ children: [
38
+ o,
39
+ /* @__PURE__ */ i.jsx("span", { className: m("label"), children: r }),
40
+ d && /* @__PURE__ */ i.jsx(
41
+ "button",
42
+ {
43
+ "aria-label": "delete",
44
+ className: m("delete"),
45
+ type: "button",
46
+ onClick: (t) => {
47
+ t.stopPropagation(), d(t);
48
+ },
49
+ children: "× "
50
+ }
51
+ )
52
+ ]
53
+ }
54
+ )
55
+ );
56
+ }
57
+ );
58
+ j.displayName = "Chip";
59
+ export {
60
+ j as Chip
61
+ };
@@ -0,0 +1,26 @@
1
+ const o = "gradientMove", i = "fadeInKeyframe", d = {
2
+ "prokodo-Chip": "prokodo-Chip",
3
+ "prokodo-Chip--filled": "prokodo-Chip--filled",
4
+ "prokodo-Chip--filled--primary": "prokodo-Chip--filled--primary",
5
+ "prokodo-Chip--filled--secondary": "prokodo-Chip--filled--secondary",
6
+ "prokodo-Chip--filled--info": "prokodo-Chip--filled--info",
7
+ "prokodo-Chip--filled--success": "prokodo-Chip--filled--success",
8
+ "prokodo-Chip--filled--error": "prokodo-Chip--filled--error",
9
+ "prokodo-Chip--filled--warning": "prokodo-Chip--filled--warning",
10
+ "prokodo-Chip--outlined": "prokodo-Chip--outlined",
11
+ "prokodo-Chip--outlined--primary": "prokodo-Chip--outlined--primary",
12
+ "prokodo-Chip--outlined--secondary": "prokodo-Chip--outlined--secondary",
13
+ "prokodo-Chip--outlined--info": "prokodo-Chip--outlined--info",
14
+ "prokodo-Chip--outlined--success": "prokodo-Chip--outlined--success",
15
+ "prokodo-Chip--outlined--error": "prokodo-Chip--outlined--error",
16
+ "prokodo-Chip--outlined--warning": "prokodo-Chip--outlined--warning",
17
+ "prokodo-Chip__label": "prokodo-Chip__label",
18
+ "prokodo-Chip__delete": "prokodo-Chip__delete",
19
+ gradientMove: o,
20
+ fadeInKeyframe: i
21
+ };
22
+ export {
23
+ d as default,
24
+ i as fadeInKeyframe,
25
+ o as gradientMove
26
+ };
@@ -0,0 +1,4 @@
1
+ import { Chip as r } from "./Chip.js";
2
+ export {
3
+ r as Chip
4
+ };
@@ -0,0 +1,93 @@
1
+ import { j as G } from "../../_virtual/jsx-runtime.js";
2
+ import y, { isDayjs as w } from "dayjs";
3
+ import { useRef as H, useState as I, useEffect as J } from "react";
4
+ import { Input as K } from "../input/Input.js";
5
+ const L = ({
6
+ name: D,
7
+ value: v,
8
+ // Dayjs | null from parent
9
+ onChange: f,
10
+ // (value: Dayjs | null) => void
11
+ onValidate: u,
12
+ // (name: string, error?: string) => void
13
+ label: S,
14
+ errorText: k,
15
+ helperText: P,
16
+ format: i = "YYYY-MM-DD",
17
+ minDate: $,
18
+ maxDate: A,
19
+ errorTranslations: t,
20
+ ...B
21
+ }) => {
22
+ const N = H(null), M = (c) => {
23
+ if (!c) return null;
24
+ if (w(c)) return c;
25
+ const s = y(c);
26
+ return s.isValid() ? s : null;
27
+ }, x = M($), Y = M(A), [R, p] = I(null), [q, m] = I(k);
28
+ J(() => {
29
+ if (!v) {
30
+ p(null), m(void 0), u == null || u(D, void 0);
31
+ return;
32
+ }
33
+ if (w(v))
34
+ p(v), m(void 0), u == null || u(D, void 0);
35
+ else {
36
+ const c = M(v);
37
+ if (c)
38
+ p(c), m(void 0), u == null || u(D, void 0);
39
+ else {
40
+ const s = "Invalid initial date.";
41
+ p(null), m(s), u == null || u(D, s);
42
+ }
43
+ }
44
+ }, [v]);
45
+ const z = (c) => {
46
+ if (x && c.isBefore(x, "day"))
47
+ return x.isSame(y(), "day") ? (t == null ? void 0 : t.minDate) ?? "Date cannot be in the past." : (t == null ? void 0 : t.minDate) ?? `Date cannot be before ${x.format(i)}.`;
48
+ if (Y && c.isAfter(Y, "day"))
49
+ return Y.isSame(y(), "day") ? (t == null ? void 0 : t.maxDate) ?? "Date cannot be in the future." : (t == null ? void 0 : t.maxDate) ?? `Date cannot be after ${Y.format(i)}.`;
50
+ }, F = (c) => {
51
+ const s = c.target.value.trim();
52
+ if (!s) {
53
+ p(null), m(void 0), u == null || u(D, void 0), f == null || f(null);
54
+ return;
55
+ }
56
+ const j = y(s, i, !0);
57
+ if (!j.isValid()) {
58
+ const E = "Invalid date format.";
59
+ p(null), m(E), u == null || u(D, E), f == null || f(null);
60
+ return;
61
+ }
62
+ const b = z(j);
63
+ if (b !== void 0) {
64
+ p(null), m(b), u == null || u(D, b), f == null || f(null);
65
+ return;
66
+ }
67
+ p(j), m(void 0), u == null || u(D, void 0), f == null || f(j);
68
+ };
69
+ return /* @__PURE__ */ G.jsx(
70
+ K,
71
+ {
72
+ ...B,
73
+ ref: N,
74
+ "aria-haspopup": "dialog",
75
+ errorText: q,
76
+ helperText: P,
77
+ id: D,
78
+ label: S,
79
+ maxRows: void 0,
80
+ minRows: void 0,
81
+ multiline: !1,
82
+ name: D,
83
+ rows: void 0,
84
+ type: "date",
85
+ value: R ? y(R).format("YYYY-MM-DD") : "",
86
+ onChange: F
87
+ }
88
+ );
89
+ };
90
+ L.displayName = "DatePicker";
91
+ export {
92
+ L as DatePicker
93
+ };
@@ -0,0 +1,4 @@
1
+ import { DatePicker as o } from "./DatePicker.js";
2
+ export {
3
+ o as DatePicker
4
+ };
@@ -0,0 +1,156 @@
1
+ import { j as e } from "../../_virtual/jsx-runtime.js";
2
+ import { Modal as E } from "@mui/base";
3
+ import { useState as u, useCallback as h, useImperativeHandle as K } from "react";
4
+ import { Button as j } from "../button/Button.js";
5
+ import { Headline as M } from "../headline/Headline.js";
6
+ import { create as O } from "../../helpers/bem.js";
7
+ import _ from "./Dialog.module.scss.js";
8
+ const i = O(_, "Dialog"), z = ({
9
+ actions: t,
10
+ children: b,
11
+ className: v,
12
+ classNameHeader: N,
13
+ containerChildren: m,
14
+ contentProps: a = {},
15
+ contentRef: D,
16
+ fullScreen: y,
17
+ hideTitle: C,
18
+ onClose: c,
19
+ open: S,
20
+ ref: k,
21
+ renderHeader: d,
22
+ scroll: n = "paper",
23
+ showCloseButton: B,
24
+ title: I,
25
+ titleProps: T = {},
26
+ translations: l,
27
+ ...$
28
+ }) => {
29
+ const [r, x] = u(S ?? !1), [g, f] = u("exiting"), o = h(() => {
30
+ f("exiting"), setTimeout(() => {
31
+ x(!1), c && c({}, "backdropClick");
32
+ }, 300);
33
+ }, [c]), w = h(
34
+ (s) => {
35
+ s.code === "Enter" && o();
36
+ },
37
+ [o]
38
+ );
39
+ K(
40
+ k,
41
+ () => ({
42
+ openDialog: () => {
43
+ x(!0), setTimeout(() => {
44
+ f("entering");
45
+ }, 300);
46
+ },
47
+ closeDialog: o
48
+ }),
49
+ [o]
50
+ );
51
+ const p = {
52
+ fullScreen: !!y
53
+ };
54
+ return /* @__PURE__ */ e.jsx(
55
+ E,
56
+ {
57
+ ...$,
58
+ "aria-labelledby": "dialog-title",
59
+ open: r,
60
+ className: i(
61
+ void 0,
62
+ {
63
+ ...p,
64
+ "fade-enter": g === "entering",
65
+ "fade-exit": g === "exiting"
66
+ },
67
+ v
68
+ ),
69
+ onClose: o,
70
+ children: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
71
+ /* @__PURE__ */ e.jsxs(
72
+ "div",
73
+ {
74
+ className: i("container", {
75
+ ...p,
76
+ "is-visible": r,
77
+ [`scroll-${n}`]: !0
78
+ }),
79
+ children: [
80
+ /* @__PURE__ */ e.jsxs("div", { className: i("header", void 0, N), children: [
81
+ /* @__PURE__ */ e.jsxs("div", { children: [
82
+ /* @__PURE__ */ e.jsx(
83
+ M,
84
+ {
85
+ ...T,
86
+ id: "dialog-title",
87
+ className: i("title", {
88
+ "is-hidden": !!C
89
+ }),
90
+ children: I
91
+ }
92
+ ),
93
+ d == null ? void 0 : d()
94
+ ] }),
95
+ !!B && /* @__PURE__ */ e.jsxs(
96
+ "div",
97
+ {
98
+ "aria-label": (l == null ? void 0 : l.close) ?? "Close dialog",
99
+ className: i("close"),
100
+ role: "button",
101
+ tabIndex: 0,
102
+ onClick: o,
103
+ onKeyDown: w,
104
+ children: [
105
+ /* @__PURE__ */ e.jsx("span", { className: i("close__label"), children: (l == null ? void 0 : l.cancel) ?? "Cancel" }),
106
+ /* @__PURE__ */ e.jsx(
107
+ j,
108
+ {
109
+ inert: !0,
110
+ color: "inherit",
111
+ tabIndex: -1,
112
+ variant: "text",
113
+ iconProps: {
114
+ name: "Cancel01Icon",
115
+ size: "sm"
116
+ }
117
+ }
118
+ )
119
+ ]
120
+ }
121
+ )
122
+ ] }),
123
+ /* @__PURE__ */ e.jsx(
124
+ "div",
125
+ {
126
+ ...a,
127
+ ref: D,
128
+ className: i(
129
+ "content",
130
+ {
131
+ [`scroll-${n}`]: !0
132
+ },
133
+ a == null ? void 0 : a.className
134
+ ),
135
+ children: b
136
+ }
137
+ ),
138
+ t && t.length > 0 && /* @__PURE__ */ e.jsx("div", { className: i("actions"), children: t.map((s) => /* @__PURE__ */ e.jsx(
139
+ j,
140
+ {
141
+ ...s
142
+ },
143
+ `dialog-action-button-${s.id}`
144
+ )) })
145
+ ]
146
+ }
147
+ ),
148
+ m !== void 0 && m
149
+ ] })
150
+ }
151
+ );
152
+ };
153
+ z.displayName = "Dialog";
154
+ export {
155
+ z as Dialog
156
+ };
@@ -0,0 +1,23 @@
1
+ const o = "gradientMove", e = "fadeInKeyframe", a = {
2
+ "prokodo-Dialog": "prokodo-Dialog",
3
+ "prokodo-Dialog__container": "prokodo-Dialog__container",
4
+ "prokodo-Dialog__container--scroll-paper": "prokodo-Dialog__container--scroll-paper",
5
+ "prokodo-Dialog__container--scroll-body": "prokodo-Dialog__container--scroll-body",
6
+ "prokodo-Dialog__header": "prokodo-Dialog__header",
7
+ "prokodo-Dialog__close": "prokodo-Dialog__close",
8
+ "prokodo-Dialog__close__label": "prokodo-Dialog__close__label",
9
+ "prokodo-Dialog__title--is-hidden": "prokodo-Dialog__title--is-hidden",
10
+ "prokodo-Dialog__content": "prokodo-Dialog__content",
11
+ "prokodo-Dialog__content--scroll-body": "prokodo-Dialog__content--scroll-body",
12
+ "prokodo-Dialog__actions": "prokodo-Dialog__actions",
13
+ "prokodo-Dialog--fade-enter": "prokodo-Dialog--fade-enter",
14
+ "prokodo-Dialog--fade-exit": "prokodo-Dialog--fade-exit",
15
+ "prokodo-Dialog--fullScreen": "prokodo-Dialog--fullScreen",
16
+ gradientMove: o,
17
+ fadeInKeyframe: e
18
+ };
19
+ export {
20
+ a as default,
21
+ e as fadeInKeyframe,
22
+ o as gradientMove
23
+ };
@@ -0,0 +1,4 @@
1
+ import { Dialog as a } from "./Dialog.js";
2
+ export {
3
+ a as Dialog
4
+ };