@prokodo/ui 0.0.10 → 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 (235) hide show
  1. package/README.md +2 -0
  2. package/dist/_virtual/_commonjsHelpers.js +6 -1
  3. package/dist/_virtual/index.js +7 -1
  4. package/dist/_virtual/index2.js +4 -1
  5. package/dist/_virtual/index3.js +4 -1
  6. package/dist/_virtual/jsx-runtime.js +5 -1
  7. package/dist/_virtual/jsx-runtime2.js +4 -1
  8. package/dist/_virtual/react-is.development.js +4 -1
  9. package/dist/_virtual/react-is.production.min.js +4 -1
  10. package/dist/_virtual/react-jsx-runtime.development.js +4 -1
  11. package/dist/_virtual/react-jsx-runtime.production.js +4 -1
  12. package/dist/assets/images/card_background_primary_1.webp.js +4 -1
  13. package/dist/assets/images/card_background_primary_2.webp.js +4 -1
  14. package/dist/assets/images/card_background_primary_3.webp.js +4 -1
  15. package/dist/assets/images/card_background_primary_4.webp.js +4 -1
  16. package/dist/assets/images/card_background_secondary_1.webp.js +4 -1
  17. package/dist/assets/images/card_background_secondary_2.webp.js +4 -1
  18. package/dist/assets/images/card_background_secondary_3.webp.js +4 -1
  19. package/dist/assets/images/card_background_secondary_4.webp.js +4 -1
  20. package/dist/components/accordion/Accordion.js +115 -1
  21. package/dist/components/accordion/Accordion.module.scss.js +23 -1
  22. package/dist/components/accordion/index.js +4 -1
  23. package/dist/components/animated/Animated.js +53 -1
  24. package/dist/components/animated/Animated.module.scss.js +18 -1
  25. package/dist/components/animated/index.js +4 -1
  26. package/dist/components/animatedText/AnimatedText.js +31 -1
  27. package/dist/components/animatedText/index.js +4 -1
  28. package/dist/components/avatar/Avatar.js +78 -1
  29. package/dist/components/avatar/Avatar.module.scss.js +24 -1
  30. package/dist/components/avatar/index.js +4 -1
  31. package/dist/components/base-link/BaseLink.js +30 -1
  32. package/dist/components/base-link/index.js +4 -1
  33. package/dist/components/button/Button.js +84 -1
  34. package/dist/components/button/Button.module.scss.js +34 -1
  35. package/dist/components/button/index.js +4 -1
  36. package/dist/components/calendly/Calendly.js +82 -1
  37. package/dist/components/calendly/index.js +4 -1
  38. package/dist/components/card/Card.js +180 -1
  39. package/dist/components/card/Card.module.scss.js +38 -1
  40. package/dist/components/card/index.js +4 -1
  41. package/dist/components/carousel/Carousel.js +232 -1
  42. package/dist/components/carousel/Carousel.module.scss.js +21 -1
  43. package/dist/components/carousel/Carousel.services.js +22 -1
  44. package/dist/components/carousel/index.js +4 -1
  45. package/dist/components/chip/Chip.js +61 -1
  46. package/dist/components/chip/Chip.module.scss.js +26 -1
  47. package/dist/components/chip/index.js +4 -1
  48. package/dist/components/datePicker/DatePicker.js +93 -1
  49. package/dist/components/datePicker/index.js +4 -1
  50. package/dist/components/dialog/Dialog.js +156 -1
  51. package/dist/components/dialog/Dialog.module.scss.js +23 -1
  52. package/dist/components/dialog/index.js +4 -1
  53. package/dist/components/drawer/Drawer.js +94 -1
  54. package/dist/components/drawer/Drawer.module.scss.js +37 -1
  55. package/dist/components/drawer/index.js +6 -1
  56. package/dist/components/form/Form.js +228 -1
  57. package/dist/components/form/Form.module.scss.js +13 -1
  58. package/dist/components/form/FormField.js +96 -1
  59. package/dist/components/form/FormField.module.scss.js +10 -1
  60. package/dist/components/form/FormResponse.js +43 -1
  61. package/dist/components/form/FormResponse.module.scss.js +14 -1
  62. package/dist/components/form/index.js +6 -1
  63. package/dist/components/grid/Grid.js +21 -1
  64. package/dist/components/grid/Grid.module.scss.js +10 -1
  65. package/dist/components/grid/GridRow.js +29 -1
  66. package/dist/components/grid/GridRow.module.scss.js +73 -1
  67. package/dist/components/grid/index.js +6 -1
  68. package/dist/components/headline/Headline.js +71 -1
  69. package/dist/components/headline/Headline.module.scss.js +34 -1
  70. package/dist/components/headline/index.js +5 -1
  71. package/dist/components/icon/Icon.js +60 -1
  72. package/dist/components/icon/Icon.module.scss.js +16 -1
  73. package/dist/components/icon/iconsMap.js +4131 -1
  74. package/dist/components/icon/index.js +5 -1
  75. package/dist/components/image/Image.js +29 -1
  76. package/dist/components/image/Image.module.scss.js +11 -1
  77. package/dist/components/image/index.js +4 -1
  78. package/dist/components/image-text/ImageText.js +99 -1
  79. package/dist/components/image-text/ImageText.module.scss.js +22 -1
  80. package/dist/components/image-text/index.js +4 -1
  81. package/dist/components/input/Input.js +189 -1
  82. package/dist/components/input/Input.module.scss.js +30 -1
  83. package/dist/components/input/InputValidation.js +52 -1
  84. package/dist/components/input/index.js +4 -1
  85. package/dist/components/inputOTP/InputOTP.js +79 -1
  86. package/dist/components/inputOTP/InputOTP.module.scss.js +16 -1
  87. package/dist/components/inputOTP/index.js +4 -1
  88. package/dist/components/label/Label.js +65 -1
  89. package/dist/components/label/Label.module.scss.js +13 -1
  90. package/dist/components/label/index.js +4 -1
  91. package/dist/components/link/Link.js +58 -1
  92. package/dist/components/link/Link.module.scss.js +18 -1
  93. package/dist/components/link/index.js +4 -1
  94. package/dist/components/list/List.js +172 -1
  95. package/dist/components/list/List.module.scss.js +31 -1
  96. package/dist/components/list/index.js +4 -1
  97. package/dist/components/loading/Loading.js +57 -1
  98. package/dist/components/loading/Loading.module.scss.js +19 -1
  99. package/dist/components/loading/index.js +4 -1
  100. package/dist/components/lottie/Lottie.js +55 -1
  101. package/dist/components/lottie/Lottie.module.scss.js +10 -1
  102. package/dist/components/lottie/LottieAnimations.js +35 -1
  103. package/dist/components/lottie/index.js +4 -1
  104. package/dist/components/map/Map.js +51 -1
  105. package/dist/components/map/index.js +4 -1
  106. package/dist/components/post-item/PostItem.js +136 -1
  107. package/dist/components/post-item/PostItem.module.scss.js +22 -1
  108. package/dist/components/post-item/PostItemAuthor.js +37 -1
  109. package/dist/components/post-item/PostItemAuthor.module.scss.js +11 -1
  110. package/dist/components/post-item/index.js +4 -1
  111. package/dist/components/post-teaser/PostTeaser.js +168 -1
  112. package/dist/components/post-teaser/PostTeaser.module.scss.js +25 -1
  113. package/dist/components/post-teaser/index.js +4 -1
  114. package/dist/components/post-widget/PostWidget.js +158 -1
  115. package/dist/components/post-widget/PostWidget.module.scss.js +19 -1
  116. package/dist/components/post-widget/index.js +4 -1
  117. package/dist/components/post-widget-carousel/PostWidgetCarousel.js +159 -1
  118. package/dist/components/post-widget-carousel/PostWidgetCarousel.module.scss.js +16 -1
  119. package/dist/components/post-widget-carousel/index.js +4 -1
  120. package/dist/components/quote/Quote.js +90 -1
  121. package/dist/components/quote/Quote.module.scss.js +18 -1
  122. package/dist/components/quote/index.js +4 -1
  123. package/dist/components/rich-text/RichText.js +143 -1
  124. package/dist/components/rich-text/RichText.module.scss.js +16 -1
  125. package/dist/components/rich-text/index.js +4 -1
  126. package/dist/components/select/Select.js +199 -1
  127. package/dist/components/select/Select.module.scss.js +34 -1
  128. package/dist/components/select/index.js +4 -1
  129. package/dist/components/skeleton/Skeleton.js +29 -1
  130. package/dist/components/skeleton/Skeleton.module.scss.js +18 -1
  131. package/dist/components/skeleton/index.js +4 -1
  132. package/dist/components/slider/Slider.js +104 -1
  133. package/dist/components/slider/Slider.module.scss.js +20 -1
  134. package/dist/components/slider/index.js +4 -1
  135. package/dist/components/stepper/Stepper.js +119 -1
  136. package/dist/components/stepper/Stepper.module.scss.js +23 -1
  137. package/dist/components/stepper/index.js +4 -1
  138. package/dist/components/switch/Switch.js +102 -1
  139. package/dist/components/switch/Switch.module.scss.js +30 -1
  140. package/dist/components/switch/index.js +4 -1
  141. package/dist/components/table/Table.js +75 -1
  142. package/dist/components/table/Table.module.scss.js +27 -1
  143. package/dist/components/table/index.js +4 -1
  144. package/dist/components/teaser/Teaser.js +102 -1
  145. package/dist/components/teaser/Teaser.module.scss.js +23 -1
  146. package/dist/components/teaser/index.js +4 -1
  147. package/dist/helpers/bem.js +12 -1
  148. package/dist/helpers/calculation.js +4 -1
  149. package/dist/helpers/validations.js +8 -1
  150. package/dist/hooks/useGoogleMaps.js +19 -1
  151. package/dist/index.js +86 -1
  152. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +353 -1
  153. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +395 -1
  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 -1
  155. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +131 -1
  156. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -3
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -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/isHostComponent/isHostComponent.js +6 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -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/useEnhancedEffect/useEnhancedEffect.js +5 -1
  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 -1
  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 -1
  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 -1
  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 -1
  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 -1
  221. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -1
  222. package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +51 -2
  223. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +54 -1
  224. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +52 -1
  225. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +329 -2
  226. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +17 -1
  227. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -1
  228. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +7 -1
  229. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +89 -2
  230. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +72 -2
  231. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +10 -1
  232. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.development.js +236 -3
  233. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.production.js +28 -2
  234. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +10 -1
  235. package/package.json +2 -4
@@ -1 +1,228 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../../_virtual/jsx-runtime.js"),a=require("react"),U=require("../../helpers/bem.js"),R=require("../../helpers/validations.js"),W=require("../button/Button.js"),X=require("../grid/Grid.js"),Y=require("../headline/Headline.js"),Z=require("./Form.module.scss.js"),F=require("./FormField.js"),f=require("./FormResponse.js"),h=U.create(Z.default,"Form"),w=a.memo(({variant:C="primary",action:g,label:M,className:_,fields:$,disableFields:E,hideResponse:p,defaultFields:c,messages:q,messagesFields:l,button:D,children:G,onSubmit:j,onChangeForm:d,...z})=>{const[s,J]=a.useState($??[]),[y,T]=a.useState(q),[v,K]=a.useState("");a.useEffect(()=>{q!==void 0&&T(q)},[q]);const x=a.useCallback((r,o)=>{J(n=>{const e=[...n];return e[r]={...e[r],...o},e}),d&&d({...s[r],...o})},[s,d]),k=a.useCallback((r,o)=>r.filter(n=>o===void 0||n.equalTo===void 0||typeof n.equalTo=="boolean"&&n.equalTo===o?!0:typeof n.equalTo=="string"?n.equalTo===o:Array.isArray(n.equalTo)&&typeof o=="string"?n.equalTo.includes(o):!1),[]),A=a.useCallback((r,o)=>o!==void 0&&R.isArray(o)?o.flatMap(n=>k(r,n)):k(r,o),[k]),I=a.useCallback(r=>s.findIndex(o=>(o==null?void 0:o.name)===(r==null?void 0:r.name)),[s]),B=a.useCallback(r=>{var e,t;const o=s.findIndex(u=>(u==null?void 0:u.name)===(r==null?void 0:r.name));(c==null?void 0:c[o])!==void 0&&((t=(e=c==null?void 0:c[o])==null?void 0:e.conditions)==null||t.forEach(u=>{const i=c.findIndex(m=>(m==null?void 0:m.name)===(u==null?void 0:u.fieldId));c[i]!==void 0&&x(i,c[i])}))},[c,s,x]),N=a.useCallback((r,o)=>{const n=r==null?void 0:r.conditions;if(!n||(n==null?void 0:n.length)<=0){const t=I(r);x(t,{value:o});return}B(r),A(n,o).forEach(t=>{const u=s.findIndex(i=>(i==null?void 0:i.name)===(t==null?void 0:t.fieldId));x(u,t.updateProps)});const e=I(r);x(e,{value:o})},[s,I,B,A,x]),V=a.useCallback((r,o)=>{const n=s.findIndex(t=>(t==null?void 0:t.name)===(r==null?void 0:r.name));x(n,{errorText:o});const e=(r==null?void 0:r.label)??"";T(t=>{const u={...t==null?void 0:t.errors},i=o!==void 0?[o]:[];return i.length>0?u[e]=i:delete u[e],{...t,errors:Object.keys(u).length>0?u:void 0}})},[s,x]),H=a.useCallback(r=>b.jsxRuntimeExports.jsx(F.FormField,{...r,"aria-labelledby":`${r==null?void 0:r.label}-label`,"aria-required":r!=null&&r.required?"true":void 0,messagesFields:l,variant:C,disabled:E!==void 0?E:r==null?void 0:r.disabled,onChange:N,onValidate:V}),[C,E,l,N,V]),O=a.useCallback(()=>{var n;const r={};for(const e of s){const{required:t,visible:u,value:i,label:m,fieldType:P}=e;if(m===void 0)continue;if(r[m]||(r[m]=[]),P!=="slider"&&P!=="switch"&&R.isString(e==null?void 0:e.errorText)){r[m].push(e==null?void 0:e.errorText);continue}t&&(i===void 0||i==="")&&u!==!1&&r[m].push(((n=l==null?void 0:l.errors)==null?void 0:n.required)??"This field is required. Please fill it out.")}const o=Object.keys(r).reduce((e,t)=>(r[t]&&r[t].length>0&&(e[t]=r[t]),e),{});return{errors:Object.keys(o).length>0?o:void 0}},[s,l]),L=a.useCallback(r=>{r.preventDefault();const{errors:o}=O();T({errors:o!==void 0?o:void 0}),o===void 0&&(j==null||j(s))},[s,O,j]),Q=a.useCallback(r=>{var o;return K((o=r==null?void 0:r.target)==null?void 0:o.value)},[]),S=a.useMemo(()=>p?s.every(r=>{const{value:o}=r;return!(r!=null&&r.required&&(o===void 0||o===""||Array.isArray(o)&&(o==null?void 0:o.length)<=0)&&(r==null?void 0:r.visible)!==!1)}):!0,[s,p]);return b.jsxRuntimeExports.jsxs("form",{...z,noValidate:!0,action:g,"aria-labelledby":"form-heading",className:h(void 0,void 0,_),onSubmit:g===void 0?L:void 0,children:[b.jsxRuntimeExports.jsx(Y.Headline,{className:h("label"),id:"form-heading",type:"h2",children:M}),b.jsxRuntimeExports.jsxs(X.Grid,{spacing:2,children:[R.isArray(s)&&s.map(r=>b.jsxRuntimeExports.jsx(a.Fragment,{children:H(r)},`form-input-${r.name}`)),G,H({fieldType:"input",label:"Do not fill this field",labelProps:{"aria-hidden":"true"},name:"hp",id:"hp","aria-hidden":"true",className:h("hp"),value:v,onChange:Q})]}),b.jsxRuntimeExports.jsxs("div",{className:h("footer"),children:[(p===!1||p===void 0)&&b.jsxRuntimeExports.jsx(f.FormResponse,{messages:y}),(v==null?void 0:v.length)<=0&&b.jsxRuntimeExports.jsx(W.Button,{"aria-label":"Submit form",className:h("footer__submit"),color:C,type:"submit",...D,disabled:(y==null?void 0:y.errors)!==void 0||!S})]})]})});w.displayName="Form";exports.Form=w;
1
+ import { j as p } from "../../_virtual/jsx-runtime.js";
2
+ import { memo as X, useState as N, useEffect as Y, useCallback as m, useMemo as Z, Fragment as R } from "react";
3
+ import { create as S } from "../../helpers/bem.js";
4
+ import { isArray as M, isString as f } from "../../helpers/validations.js";
5
+ import { Button as F } from "../button/Button.js";
6
+ import { Grid as rr } from "../grid/Grid.js";
7
+ import { Headline as or } from "../headline/Headline.js";
8
+ import nr from "./Form.module.scss.js";
9
+ import { FormField as tr } from "./FormField.js";
10
+ import { FormResponse as ar } from "./FormResponse.js";
11
+ const x = S(nr, "Form"), sr = X(
12
+ ({
13
+ variant: I = "primary",
14
+ action: g,
15
+ label: _,
16
+ className: $,
17
+ fields: k,
18
+ disableFields: E,
19
+ hideResponse: y,
20
+ defaultFields: c,
21
+ messages: v,
22
+ messagesFields: b,
23
+ button: G,
24
+ children: z,
25
+ onSubmit: j,
26
+ onChangeForm: l,
27
+ ...J
28
+ }) => {
29
+ const [s, K] = N(k ?? []), [q, d] = N(
30
+ v
31
+ ), [T, L] = N("");
32
+ Y(() => {
33
+ v !== void 0 && d(v);
34
+ }, [v]);
35
+ const h = m(
36
+ (r, o) => {
37
+ K((t) => {
38
+ const a = [...t];
39
+ return a[r] = {
40
+ ...a[r],
41
+ ...o
42
+ }, a;
43
+ }), l && l({
44
+ ...s[r],
45
+ ...o
46
+ });
47
+ },
48
+ [s, l]
49
+ ), A = m(
50
+ (r, o) => r.filter((t) => o === void 0 || t.equalTo === void 0 || typeof t.equalTo == "boolean" && t.equalTo === o ? !0 : typeof t.equalTo == "string" ? t.equalTo === o : Array.isArray(t.equalTo) && typeof o == "string" ? t.equalTo.includes(o) : !1),
51
+ []
52
+ ), B = m(
53
+ (r, o) => o !== void 0 && M(o) ? o.flatMap(
54
+ (t) => A(r, t)
55
+ ) : A(r, o),
56
+ [A]
57
+ ), C = m(
58
+ (r) => s.findIndex((o) => (o == null ? void 0 : o.name) === (r == null ? void 0 : r.name)),
59
+ [s]
60
+ ), V = m(
61
+ (r) => {
62
+ var a, n;
63
+ const o = s.findIndex(
64
+ (e) => (e == null ? void 0 : e.name) === (r == null ? void 0 : r.name)
65
+ );
66
+ (c == null ? void 0 : c[o]) !== void 0 && ((n = (a = c == null ? void 0 : c[o]) == null ? void 0 : a.conditions) == null || n.forEach((e) => {
67
+ const i = c.findIndex(
68
+ (u) => (u == null ? void 0 : u.name) === (e == null ? void 0 : e.fieldId)
69
+ );
70
+ c[i] !== void 0 && h(i, c[i]);
71
+ }));
72
+ },
73
+ [c, s, h]
74
+ ), w = m(
75
+ (r, o) => {
76
+ const t = r == null ? void 0 : r.conditions;
77
+ if (!t || (t == null ? void 0 : t.length) <= 0) {
78
+ const n = C(r);
79
+ h(n, { value: o });
80
+ return;
81
+ }
82
+ V(r), B(t, o).forEach((n) => {
83
+ const e = s.findIndex(
84
+ (i) => (i == null ? void 0 : i.name) === (n == null ? void 0 : n.fieldId)
85
+ );
86
+ h(e, n.updateProps);
87
+ });
88
+ const a = C(r);
89
+ h(a, { value: o });
90
+ },
91
+ [
92
+ s,
93
+ C,
94
+ V,
95
+ B,
96
+ h
97
+ ]
98
+ ), H = m(
99
+ (r, o) => {
100
+ const t = s.findIndex((n) => (n == null ? void 0 : n.name) === (r == null ? void 0 : r.name));
101
+ h(t, {
102
+ errorText: o
103
+ });
104
+ const a = (r == null ? void 0 : r.label) ?? "";
105
+ d((n) => {
106
+ const e = { ...n == null ? void 0 : n.errors }, i = o !== void 0 ? [o] : [];
107
+ return i.length > 0 ? e[a] = i : delete e[a], {
108
+ ...n,
109
+ errors: Object.keys(e).length > 0 ? e : void 0
110
+ // Only keep errors if there are any
111
+ };
112
+ });
113
+ },
114
+ [s, h]
115
+ ), O = m(
116
+ (r) => /* @__PURE__ */ p.jsx(
117
+ tr,
118
+ {
119
+ ...r,
120
+ "aria-labelledby": `${r == null ? void 0 : r.label}-label`,
121
+ "aria-required": r != null && r.required ? "true" : void 0,
122
+ messagesFields: b,
123
+ variant: I,
124
+ disabled: E !== void 0 ? E : r == null ? void 0 : r.disabled,
125
+ onChange: w,
126
+ onValidate: H
127
+ }
128
+ ),
129
+ [
130
+ I,
131
+ E,
132
+ b,
133
+ w,
134
+ H
135
+ ]
136
+ ), P = m(() => {
137
+ var t;
138
+ const r = {};
139
+ for (const a of s) {
140
+ const { required: n, visible: e, value: i, label: u, fieldType: D } = a;
141
+ if (u === void 0)
142
+ continue;
143
+ if (r[u] || (r[u] = []), D !== "slider" && D !== "switch" && f(a == null ? void 0 : a.errorText)) {
144
+ r[u].push(a == null ? void 0 : a.errorText);
145
+ continue;
146
+ }
147
+ n && (i === void 0 || i === "") && e !== !1 && r[u].push(
148
+ ((t = b == null ? void 0 : b.errors) == null ? void 0 : t.required) ?? "This field is required. Please fill it out."
149
+ );
150
+ }
151
+ const o = Object.keys(r).reduce((a, n) => (r[n] && r[n].length > 0 && (a[n] = r[n]), a), {});
152
+ return {
153
+ errors: Object.keys(o).length > 0 ? o : void 0
154
+ };
155
+ }, [s, b]), Q = m(
156
+ (r) => {
157
+ r.preventDefault();
158
+ const { errors: o } = P();
159
+ d({
160
+ errors: o !== void 0 ? o : void 0
161
+ }), o === void 0 && (j == null || j(s));
162
+ },
163
+ [s, P, j]
164
+ ), U = m(
165
+ (r) => {
166
+ var o;
167
+ return L((o = r == null ? void 0 : r.target) == null ? void 0 : o.value);
168
+ },
169
+ []
170
+ ), W = Z(
171
+ () => y ? s.every((r) => {
172
+ const { value: o } = r;
173
+ return !(r != null && r.required && (o === void 0 || o === "" || Array.isArray(o) && (o == null ? void 0 : o.length) <= 0) && (r == null ? void 0 : r.visible) !== !1);
174
+ }) : !0,
175
+ [s, y]
176
+ );
177
+ return /* @__PURE__ */ p.jsxs(
178
+ "form",
179
+ {
180
+ ...J,
181
+ noValidate: !0,
182
+ action: g,
183
+ "aria-labelledby": "form-heading",
184
+ className: x(void 0, void 0, $),
185
+ onSubmit: g === void 0 ? Q : void 0,
186
+ children: [
187
+ /* @__PURE__ */ p.jsx(or, { className: x("label"), id: "form-heading", type: "h2", children: _ }),
188
+ /* @__PURE__ */ p.jsxs(rr, { spacing: 2, children: [
189
+ M(s) && s.map((r) => /* @__PURE__ */ p.jsx(R, { children: O(r) }, `form-input-${r.name}`)),
190
+ z,
191
+ O({
192
+ fieldType: "input",
193
+ label: "Do not fill this field",
194
+ labelProps: {
195
+ "aria-hidden": "true"
196
+ },
197
+ name: "hp",
198
+ id: "hp",
199
+ "aria-hidden": "true",
200
+ // Hide honeypot field from assistive technology
201
+ className: x("hp"),
202
+ value: T,
203
+ onChange: U
204
+ })
205
+ ] }),
206
+ /* @__PURE__ */ p.jsxs("div", { className: x("footer"), children: [
207
+ (y === !1 || y === void 0) && /* @__PURE__ */ p.jsx(ar, { messages: q }),
208
+ (T == null ? void 0 : T.length) <= 0 && /* @__PURE__ */ p.jsx(
209
+ F,
210
+ {
211
+ "aria-label": "Submit form",
212
+ className: x("footer__submit"),
213
+ color: I,
214
+ type: "submit",
215
+ ...G,
216
+ disabled: (q == null ? void 0 : q.errors) !== void 0 || !W
217
+ }
218
+ )
219
+ ] })
220
+ ]
221
+ }
222
+ );
223
+ }
224
+ );
225
+ sr.displayName = "Form";
226
+ export {
227
+ sr as Form
228
+ };
@@ -1 +1,13 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="gradientMove",e="fadeInKeyframe",r={"prokodo-Form__label":"prokodo-Form__label","prokodo-Form__hp":"prokodo-Form__hp","prokodo-Form__footer":"prokodo-Form__footer","prokodo-Form__footer__submit":"prokodo-Form__footer__submit",gradientMove:o,fadeInKeyframe:e};exports.default=r;exports.fadeInKeyframe=e;exports.gradientMove=o;
1
+ const o = "gradientMove", r = "fadeInKeyframe", e = {
2
+ "prokodo-Form__label": "prokodo-Form__label",
3
+ "prokodo-Form__hp": "prokodo-Form__hp",
4
+ "prokodo-Form__footer": "prokodo-Form__footer",
5
+ "prokodo-Form__footer__submit": "prokodo-Form__footer__submit",
6
+ gradientMove: o,
7
+ fadeInKeyframe: r
8
+ };
9
+ export {
10
+ e as default,
11
+ r as fadeInKeyframe,
12
+ o as gradientMove
13
+ };
@@ -1 +1,96 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("../../_virtual/jsx-runtime.js"),s=require("react"),f=require("../../helpers/bem.js"),w=require("../datePicker/DatePicker.js"),E=require("../grid/GridRow.js"),_=require("../input/Input.js"),b=require("../select/Select.js"),d=require("../slider/Slider.js"),y=require("../switch/Switch.js"),D=require("./FormField.module.scss.js"),T=f.create(D.default,"FormField"),R=s.memo(({fieldType:l,visible:S,variant:j="primary",messagesFields:i,onChange:r,onValidate:e,...t})=>{var o,q;const m=s.useCallback(c=>x.jsxRuntimeExports.jsx(E.GridRow,{className:T(),xs:12,children:c}),[]);if(S===!1)return null;switch(l){case"switch":return m(x.jsxRuntimeExports.jsx(y.Switch,{color:j,...t,onChange:(c,u)=>r==null?void 0:r(t,u)}));case"slider":return m(x.jsxRuntimeExports.jsx(d.Slider,{...t,onChange:(c,u)=>r==null?void 0:r(t,u==null?void 0:u.toString())}));case"select":return m(x.jsxRuntimeExports.jsx(b.Select,{color:j,...t,onChange:(c,u)=>r==null?void 0:r(t,u??void 0)}));case"input":return m(x.jsxRuntimeExports.jsx(_.Input,{color:j,errorTranslations:(o=i==null?void 0:i.errors)==null?void 0:o.input,onValidate:(c,u)=>e==null?void 0:e(t,u),onChange:c=>r==null?void 0:r(t,c.target.value),...t}));case"date":return m(x.jsxRuntimeExports.jsx(w.DatePicker,{...t,errorTranslations:(q=i==null?void 0:i.errors)==null?void 0:q.date,onValidate:(c,u)=>e==null?void 0:e(t,u),onChange:c=>r==null?void 0:r(t,c==null?void 0:c.format("YYYY-MM-DDTHH:mm:ssZ"))}));default:return null}});R.displayName="FormField";exports.FormField=R;
1
+ import { j as x } from "../../_virtual/jsx-runtime.js";
2
+ import { memo as Y, useCallback as y } from "react";
3
+ import { create as D } from "../../helpers/bem.js";
4
+ import { DatePicker as T } from "../datePicker/DatePicker.js";
5
+ import { GridRow as b } from "../grid/GridRow.js";
6
+ import { Input as k } from "../input/Input.js";
7
+ import { Select as H } from "../select/Select.js";
8
+ import { Slider as M } from "../slider/Slider.js";
9
+ import { Switch as N } from "../switch/Switch.js";
10
+ import R from "./FormField.module.scss.js";
11
+ const l = D(R, "FormField"), E = Y(
12
+ ({
13
+ fieldType: w,
14
+ visible: S,
15
+ variant: j = "primary",
16
+ messagesFields: f,
17
+ onChange: r,
18
+ onValidate: i,
19
+ ...t
20
+ }) => {
21
+ var u, _;
22
+ const o = y(
23
+ (m) => /* @__PURE__ */ x.jsx(b, { className: l(), xs: 12, children: m }),
24
+ []
25
+ );
26
+ if (S === !1) return null;
27
+ switch (w) {
28
+ case "switch":
29
+ return o(
30
+ /* @__PURE__ */ x.jsx(
31
+ N,
32
+ {
33
+ color: j,
34
+ ...t,
35
+ onChange: (m, c) => r == null ? void 0 : r(t, c)
36
+ }
37
+ )
38
+ );
39
+ case "slider":
40
+ return o(
41
+ /* @__PURE__ */ x.jsx(
42
+ M,
43
+ {
44
+ ...t,
45
+ onChange: (m, c) => r == null ? void 0 : r(t, c == null ? void 0 : c.toString())
46
+ }
47
+ )
48
+ );
49
+ case "select":
50
+ return o(
51
+ /* @__PURE__ */ x.jsx(
52
+ H,
53
+ {
54
+ color: j,
55
+ ...t,
56
+ onChange: (m, c) => r == null ? void 0 : r(t, c ?? void 0)
57
+ }
58
+ )
59
+ );
60
+ case "input":
61
+ return o(
62
+ /* @__PURE__ */ x.jsx(
63
+ k,
64
+ {
65
+ color: j,
66
+ errorTranslations: (u = f == null ? void 0 : f.errors) == null ? void 0 : u.input,
67
+ onValidate: (m, c) => i == null ? void 0 : i(t, c),
68
+ onChange: (m) => r == null ? void 0 : r(t, m.target.value),
69
+ ...t
70
+ }
71
+ )
72
+ );
73
+ case "date":
74
+ return o(
75
+ /* @__PURE__ */ x.jsx(
76
+ T,
77
+ {
78
+ ...t,
79
+ errorTranslations: (_ = f == null ? void 0 : f.errors) == null ? void 0 : _.date,
80
+ onValidate: (m, c) => i == null ? void 0 : i(t, c),
81
+ onChange: (m) => r == null ? void 0 : r(
82
+ t,
83
+ m == null ? void 0 : m.format("YYYY-MM-DDTHH:mm:ssZ")
84
+ )
85
+ }
86
+ )
87
+ );
88
+ default:
89
+ return null;
90
+ }
91
+ }
92
+ );
93
+ E.displayName = "FormField";
94
+ export {
95
+ E as FormField
96
+ };
@@ -1 +1,10 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="gradientMove",o="fadeInKeyframe",r={"prokodo-FormField":"prokodo-FormField",gradientMove:e,fadeInKeyframe:o};exports.default=r;exports.fadeInKeyframe=o;exports.gradientMove=e;
1
+ const e = "gradientMove", o = "fadeInKeyframe", a = {
2
+ "prokodo-FormField": "prokodo-FormField",
3
+ gradientMove: e,
4
+ fadeInKeyframe: o
5
+ };
6
+ export {
7
+ a as default,
8
+ o as fadeInKeyframe,
9
+ e as gradientMove
10
+ };
@@ -1 +1,43 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../_virtual/jsx-runtime.js"),l=require("react"),x=require("../list/List.js"),R=require("../../helpers/bem.js"),n=require("../../helpers/validations.js"),N=require("./FormResponse.module.scss.js"),o=R.create(N.default,"FormResponse"),d=l.memo(({className:j,messages:r,...v})=>{const c=l.useMemo(()=>Object.keys((r==null?void 0:r.errors)||{}),[r==null?void 0:r.errors]),u=l.useMemo(()=>c.map(t=>{var e,p;return{title:t.charAt(0).toUpperCase()+t.slice(1),desc:r!=null&&r.errors?(p=(e=r.errors)==null?void 0:e[t])==null?void 0:p.join(", "):"",className:o("errors__item")}}),[c,r==null?void 0:r.errors]);return n.isArray(u)?i.jsxRuntimeExports.jsxs("div",{...v,className:o(void 0,void 0,j),children:[!n.isNull(r==null?void 0:r.message)&&i.jsxRuntimeExports.jsx("p",{"aria-live":"polite",className:o("success"),children:r==null?void 0:r.message}),!n.isNull(r==null?void 0:r.errors)&&i.jsxRuntimeExports.jsx(x.List,{"aria-live":"assertive","aria-relevant":"all",className:o("errors"),classNameDesc:o("errors__desc"),items:u,role:"alert",variant:"error"})]}):null});d.displayName="FormResponse";exports.FormResponse=d;
1
+ import { j as i } from "../../_virtual/jsx-runtime.js";
2
+ import { memo as u, useMemo as d } from "react";
3
+ import { List as N } from "../list/List.js";
4
+ import { create as x } from "../../helpers/bem.js";
5
+ import { isArray as R, isNull as v } from "../../helpers/validations.js";
6
+ import _ from "./FormResponse.module.scss.js";
7
+ const o = x(_, "FormResponse"), h = u(
8
+ ({ className: f, messages: r, ...j }) => {
9
+ const l = d(
10
+ () => Object.keys((r == null ? void 0 : r.errors) || {}),
11
+ [r == null ? void 0 : r.errors]
12
+ ), c = d(
13
+ () => l.map((t) => {
14
+ var p, n;
15
+ return {
16
+ title: t.charAt(0).toUpperCase() + t.slice(1),
17
+ desc: r != null && r.errors ? (n = (p = r.errors) == null ? void 0 : p[t]) == null ? void 0 : n.join(", ") : "",
18
+ className: o("errors__item")
19
+ };
20
+ }),
21
+ [l, r == null ? void 0 : r.errors]
22
+ );
23
+ return R(c) ? /* @__PURE__ */ i.jsxs("div", { ...j, className: o(void 0, void 0, f), children: [
24
+ !v(r == null ? void 0 : r.message) && /* @__PURE__ */ i.jsx("p", { "aria-live": "polite", className: o("success"), children: r == null ? void 0 : r.message }),
25
+ !v(r == null ? void 0 : r.errors) && /* @__PURE__ */ i.jsx(
26
+ N,
27
+ {
28
+ "aria-live": "assertive",
29
+ "aria-relevant": "all",
30
+ className: o("errors"),
31
+ classNameDesc: o("errors__desc"),
32
+ items: c,
33
+ role: "alert",
34
+ variant: "error"
35
+ }
36
+ )
37
+ ] }) : null;
38
+ }
39
+ );
40
+ h.displayName = "FormResponse";
41
+ export {
42
+ h as FormResponse
43
+ };
@@ -1 +1,14 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="gradientMove",e="fadeInKeyframe",r={"prokodo-FormResponse":"prokodo-FormResponse","prokodo-FormResponse__success":"prokodo-FormResponse__success","prokodo-FormResponse__errors":"prokodo-FormResponse__errors","prokodo-FormResponse__errors__item":"prokodo-FormResponse__errors__item","prokodo-FormResponse__errors__desc":"prokodo-FormResponse__errors__desc",gradientMove:o,fadeInKeyframe:e};exports.default=r;exports.fadeInKeyframe=e;exports.gradientMove=o;
1
+ const o = "gradientMove", e = "fadeInKeyframe", r = {
2
+ "prokodo-FormResponse": "prokodo-FormResponse",
3
+ "prokodo-FormResponse__success": "prokodo-FormResponse__success",
4
+ "prokodo-FormResponse__errors": "prokodo-FormResponse__errors",
5
+ "prokodo-FormResponse__errors__item": "prokodo-FormResponse__errors__item",
6
+ "prokodo-FormResponse__errors__desc": "prokodo-FormResponse__errors__desc",
7
+ gradientMove: o,
8
+ fadeInKeyframe: e
9
+ };
10
+ export {
11
+ r as default,
12
+ e as fadeInKeyframe,
13
+ o as gradientMove
14
+ };
@@ -1 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Form.js"),o=require("./FormResponse.js");exports.Form=e.Form;exports.FormResponse=o.FormResponse;
1
+ import { Form as e } from "./Form.js";
2
+ import { FormResponse as p } from "./FormResponse.js";
3
+ export {
4
+ e as Form,
5
+ p as FormResponse
6
+ };
@@ -1 +1,21 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../_virtual/jsx-runtime.js"),d=require("react"),c=require("../../helpers/bem.js"),u=require("./Grid.module.scss.js"),a=c.create(u.default,"Grid"),e=d.memo(({spacing:r=2,className:t,children:i,...s})=>o.jsxRuntimeExports.jsx("div",{className:a(void 0,void 0,t),style:{gap:`${r*8}px`},...s,children:i}));e.displayName="Grid";exports.Grid=e;
1
+ import { j as s } from "../../_virtual/jsx-runtime.js";
2
+ import { memo as t } from "react";
3
+ import { create as e } from "../../helpers/bem.js";
4
+ import p from "./Grid.module.scss.js";
5
+ const a = e(p, "Grid"), d = t(
6
+ ({ spacing: o = 2, className: m, children: r, ...i }) => /* @__PURE__ */ s.jsx(
7
+ "div",
8
+ {
9
+ className: a(void 0, void 0, m),
10
+ style: {
11
+ gap: `${o * 8}px`
12
+ },
13
+ ...i,
14
+ children: r
15
+ }
16
+ )
17
+ );
18
+ d.displayName = "Grid";
19
+ export {
20
+ d as Grid
21
+ };
@@ -1 +1,10 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="gradientMove",o="fadeInKeyframe",r={"prokodo-Grid":"prokodo-Grid",gradientMove:e,fadeInKeyframe:o};exports.default=r;exports.fadeInKeyframe=o;exports.gradientMove=e;
1
+ const e = "gradientMove", o = "fadeInKeyframe", a = {
2
+ "prokodo-Grid": "prokodo-Grid",
3
+ gradientMove: e,
4
+ fadeInKeyframe: o
5
+ };
6
+ export {
7
+ a as default,
8
+ o as fadeInKeyframe,
9
+ e as gradientMove
10
+ };
@@ -1 +1,29 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../../_virtual/jsx-runtime.js"),u=require("react"),m=require("../../helpers/bem.js"),R=require("./GridRow.module.scss.js"),$=m.create(R.default,"GridRow"),a=u.memo(({align:e,className:s,children:l,xs:o,sm:r,md:t,lg:i,xl:n,...d})=>c.jsxRuntimeExports.jsx("div",{className:$(void 0,{[`align-${e}`]:!!e,[`xs-${o}`]:!!o,[`sm-${r}`]:!!r,[`md-${t}`]:!!t,[`lg-${i}`]:!!i,[`xl-${n}`]:!!n},s),...d,children:l}));a.displayName="GridRow";exports.GridRow=a;
1
+ import { j as n } from "../../_virtual/jsx-runtime.js";
2
+ import { memo as p } from "react";
3
+ import { create as d } from "../../helpers/bem.js";
4
+ import B from "./GridRow.module.scss.js";
5
+ const $ = d(B, "GridRow"), c = p(
6
+ ({ align: o, className: s, children: t, xs: e, sm: m, md: r, lg: a, xl: i, ...l }) => /* @__PURE__ */ n.jsx(
7
+ "div",
8
+ {
9
+ className: $(
10
+ void 0,
11
+ {
12
+ [`align-${o}`]: !!o,
13
+ [`xs-${e}`]: !!e,
14
+ [`sm-${m}`]: !!m,
15
+ [`md-${r}`]: !!r,
16
+ [`lg-${a}`]: !!a,
17
+ [`xl-${i}`]: !!i
18
+ },
19
+ s
20
+ ),
21
+ ...l,
22
+ children: t
23
+ }
24
+ )
25
+ );
26
+ c.displayName = "GridRow";
27
+ export {
28
+ c as GridRow
29
+ };
@@ -1 +1,73 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="gradientMove",d="fadeInKeyframe",r={"prokodo-GridRow":"prokodo-GridRow","prokodo-GridRow--align-left":"prokodo-GridRow--align-left","prokodo-GridRow--align-center":"prokodo-GridRow--align-center","prokodo-GridRow--align-right":"prokodo-GridRow--align-right","prokodo-GridRow--xs-1":"prokodo-GridRow--xs-1","prokodo-GridRow--xs-2":"prokodo-GridRow--xs-2","prokodo-GridRow--xs-3":"prokodo-GridRow--xs-3","prokodo-GridRow--xs-4":"prokodo-GridRow--xs-4","prokodo-GridRow--xs-5":"prokodo-GridRow--xs-5","prokodo-GridRow--xs-6":"prokodo-GridRow--xs-6","prokodo-GridRow--xs-7":"prokodo-GridRow--xs-7","prokodo-GridRow--xs-8":"prokodo-GridRow--xs-8","prokodo-GridRow--xs-9":"prokodo-GridRow--xs-9","prokodo-GridRow--xs-10":"prokodo-GridRow--xs-10","prokodo-GridRow--xs-11":"prokodo-GridRow--xs-11","prokodo-GridRow--xs-12":"prokodo-GridRow--xs-12","prokodo-GridRow--sm-1":"prokodo-GridRow--sm-1","prokodo-GridRow--sm-2":"prokodo-GridRow--sm-2","prokodo-GridRow--sm-3":"prokodo-GridRow--sm-3","prokodo-GridRow--sm-4":"prokodo-GridRow--sm-4","prokodo-GridRow--sm-5":"prokodo-GridRow--sm-5","prokodo-GridRow--sm-6":"prokodo-GridRow--sm-6","prokodo-GridRow--sm-7":"prokodo-GridRow--sm-7","prokodo-GridRow--sm-8":"prokodo-GridRow--sm-8","prokodo-GridRow--sm-9":"prokodo-GridRow--sm-9","prokodo-GridRow--sm-10":"prokodo-GridRow--sm-10","prokodo-GridRow--sm-11":"prokodo-GridRow--sm-11","prokodo-GridRow--sm-12":"prokodo-GridRow--sm-12","prokodo-GridRow--md-1":"prokodo-GridRow--md-1","prokodo-GridRow--md-2":"prokodo-GridRow--md-2","prokodo-GridRow--md-3":"prokodo-GridRow--md-3","prokodo-GridRow--md-4":"prokodo-GridRow--md-4","prokodo-GridRow--md-5":"prokodo-GridRow--md-5","prokodo-GridRow--md-6":"prokodo-GridRow--md-6","prokodo-GridRow--md-7":"prokodo-GridRow--md-7","prokodo-GridRow--md-8":"prokodo-GridRow--md-8","prokodo-GridRow--md-9":"prokodo-GridRow--md-9","prokodo-GridRow--md-10":"prokodo-GridRow--md-10","prokodo-GridRow--md-11":"prokodo-GridRow--md-11","prokodo-GridRow--md-12":"prokodo-GridRow--md-12","prokodo-GridRow--lg-1":"prokodo-GridRow--lg-1","prokodo-GridRow--lg-2":"prokodo-GridRow--lg-2","prokodo-GridRow--lg-3":"prokodo-GridRow--lg-3","prokodo-GridRow--lg-4":"prokodo-GridRow--lg-4","prokodo-GridRow--lg-5":"prokodo-GridRow--lg-5","prokodo-GridRow--lg-6":"prokodo-GridRow--lg-6","prokodo-GridRow--lg-7":"prokodo-GridRow--lg-7","prokodo-GridRow--lg-8":"prokodo-GridRow--lg-8","prokodo-GridRow--lg-9":"prokodo-GridRow--lg-9","prokodo-GridRow--lg-10":"prokodo-GridRow--lg-10","prokodo-GridRow--lg-11":"prokodo-GridRow--lg-11","prokodo-GridRow--lg-12":"prokodo-GridRow--lg-12","prokodo-GridRow--xl-1":"prokodo-GridRow--xl-1","prokodo-GridRow--xl-2":"prokodo-GridRow--xl-2","prokodo-GridRow--xl-3":"prokodo-GridRow--xl-3","prokodo-GridRow--xl-4":"prokodo-GridRow--xl-4","prokodo-GridRow--xl-5":"prokodo-GridRow--xl-5","prokodo-GridRow--xl-6":"prokodo-GridRow--xl-6","prokodo-GridRow--xl-7":"prokodo-GridRow--xl-7","prokodo-GridRow--xl-8":"prokodo-GridRow--xl-8","prokodo-GridRow--xl-9":"prokodo-GridRow--xl-9","prokodo-GridRow--xl-10":"prokodo-GridRow--xl-10","prokodo-GridRow--xl-11":"prokodo-GridRow--xl-11","prokodo-GridRow--xl-12":"prokodo-GridRow--xl-12",gradientMove:o,fadeInKeyframe:d};exports.default=r;exports.fadeInKeyframe=d;exports.gradientMove=o;
1
+ const o = "gradientMove", d = "fadeInKeyframe", r = {
2
+ "prokodo-GridRow": "prokodo-GridRow",
3
+ "prokodo-GridRow--align-left": "prokodo-GridRow--align-left",
4
+ "prokodo-GridRow--align-center": "prokodo-GridRow--align-center",
5
+ "prokodo-GridRow--align-right": "prokodo-GridRow--align-right",
6
+ "prokodo-GridRow--xs-1": "prokodo-GridRow--xs-1",
7
+ "prokodo-GridRow--xs-2": "prokodo-GridRow--xs-2",
8
+ "prokodo-GridRow--xs-3": "prokodo-GridRow--xs-3",
9
+ "prokodo-GridRow--xs-4": "prokodo-GridRow--xs-4",
10
+ "prokodo-GridRow--xs-5": "prokodo-GridRow--xs-5",
11
+ "prokodo-GridRow--xs-6": "prokodo-GridRow--xs-6",
12
+ "prokodo-GridRow--xs-7": "prokodo-GridRow--xs-7",
13
+ "prokodo-GridRow--xs-8": "prokodo-GridRow--xs-8",
14
+ "prokodo-GridRow--xs-9": "prokodo-GridRow--xs-9",
15
+ "prokodo-GridRow--xs-10": "prokodo-GridRow--xs-10",
16
+ "prokodo-GridRow--xs-11": "prokodo-GridRow--xs-11",
17
+ "prokodo-GridRow--xs-12": "prokodo-GridRow--xs-12",
18
+ "prokodo-GridRow--sm-1": "prokodo-GridRow--sm-1",
19
+ "prokodo-GridRow--sm-2": "prokodo-GridRow--sm-2",
20
+ "prokodo-GridRow--sm-3": "prokodo-GridRow--sm-3",
21
+ "prokodo-GridRow--sm-4": "prokodo-GridRow--sm-4",
22
+ "prokodo-GridRow--sm-5": "prokodo-GridRow--sm-5",
23
+ "prokodo-GridRow--sm-6": "prokodo-GridRow--sm-6",
24
+ "prokodo-GridRow--sm-7": "prokodo-GridRow--sm-7",
25
+ "prokodo-GridRow--sm-8": "prokodo-GridRow--sm-8",
26
+ "prokodo-GridRow--sm-9": "prokodo-GridRow--sm-9",
27
+ "prokodo-GridRow--sm-10": "prokodo-GridRow--sm-10",
28
+ "prokodo-GridRow--sm-11": "prokodo-GridRow--sm-11",
29
+ "prokodo-GridRow--sm-12": "prokodo-GridRow--sm-12",
30
+ "prokodo-GridRow--md-1": "prokodo-GridRow--md-1",
31
+ "prokodo-GridRow--md-2": "prokodo-GridRow--md-2",
32
+ "prokodo-GridRow--md-3": "prokodo-GridRow--md-3",
33
+ "prokodo-GridRow--md-4": "prokodo-GridRow--md-4",
34
+ "prokodo-GridRow--md-5": "prokodo-GridRow--md-5",
35
+ "prokodo-GridRow--md-6": "prokodo-GridRow--md-6",
36
+ "prokodo-GridRow--md-7": "prokodo-GridRow--md-7",
37
+ "prokodo-GridRow--md-8": "prokodo-GridRow--md-8",
38
+ "prokodo-GridRow--md-9": "prokodo-GridRow--md-9",
39
+ "prokodo-GridRow--md-10": "prokodo-GridRow--md-10",
40
+ "prokodo-GridRow--md-11": "prokodo-GridRow--md-11",
41
+ "prokodo-GridRow--md-12": "prokodo-GridRow--md-12",
42
+ "prokodo-GridRow--lg-1": "prokodo-GridRow--lg-1",
43
+ "prokodo-GridRow--lg-2": "prokodo-GridRow--lg-2",
44
+ "prokodo-GridRow--lg-3": "prokodo-GridRow--lg-3",
45
+ "prokodo-GridRow--lg-4": "prokodo-GridRow--lg-4",
46
+ "prokodo-GridRow--lg-5": "prokodo-GridRow--lg-5",
47
+ "prokodo-GridRow--lg-6": "prokodo-GridRow--lg-6",
48
+ "prokodo-GridRow--lg-7": "prokodo-GridRow--lg-7",
49
+ "prokodo-GridRow--lg-8": "prokodo-GridRow--lg-8",
50
+ "prokodo-GridRow--lg-9": "prokodo-GridRow--lg-9",
51
+ "prokodo-GridRow--lg-10": "prokodo-GridRow--lg-10",
52
+ "prokodo-GridRow--lg-11": "prokodo-GridRow--lg-11",
53
+ "prokodo-GridRow--lg-12": "prokodo-GridRow--lg-12",
54
+ "prokodo-GridRow--xl-1": "prokodo-GridRow--xl-1",
55
+ "prokodo-GridRow--xl-2": "prokodo-GridRow--xl-2",
56
+ "prokodo-GridRow--xl-3": "prokodo-GridRow--xl-3",
57
+ "prokodo-GridRow--xl-4": "prokodo-GridRow--xl-4",
58
+ "prokodo-GridRow--xl-5": "prokodo-GridRow--xl-5",
59
+ "prokodo-GridRow--xl-6": "prokodo-GridRow--xl-6",
60
+ "prokodo-GridRow--xl-7": "prokodo-GridRow--xl-7",
61
+ "prokodo-GridRow--xl-8": "prokodo-GridRow--xl-8",
62
+ "prokodo-GridRow--xl-9": "prokodo-GridRow--xl-9",
63
+ "prokodo-GridRow--xl-10": "prokodo-GridRow--xl-10",
64
+ "prokodo-GridRow--xl-11": "prokodo-GridRow--xl-11",
65
+ "prokodo-GridRow--xl-12": "prokodo-GridRow--xl-12",
66
+ gradientMove: o,
67
+ fadeInKeyframe: d
68
+ };
69
+ export {
70
+ r as default,
71
+ d as fadeInKeyframe,
72
+ o as gradientMove
73
+ };
@@ -1 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./Grid.js"),e=require("./GridRow.js");exports.Grid=r.Grid;exports.GridRow=e.GridRow;
1
+ import { Grid as d } from "./Grid.js";
2
+ import { GridRow as f } from "./GridRow.js";
3
+ export {
4
+ d as Grid,
5
+ f as GridRow
6
+ };