@prokodo/ui 0.0.26 → 0.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/README.md +89 -45
  2. package/dist/_virtual/_commonjsHelpers.js +6 -3
  3. package/dist/_virtual/index.js +5 -5
  4. package/dist/_virtual/index2.js +2 -2
  5. package/dist/_virtual/index3.js +2 -2
  6. package/dist/_virtual/react-is.development.js +2 -2
  7. package/dist/_virtual/react-is.production.min.js +2 -2
  8. package/dist/assets/images/card_background_primary_1.webp.js +2 -2
  9. package/dist/assets/images/card_background_primary_2.webp.js +2 -2
  10. package/dist/assets/images/card_background_primary_3.webp.js +2 -2
  11. package/dist/assets/images/card_background_primary_4.webp.js +2 -2
  12. package/dist/assets/images/card_background_secondary_1.webp.js +2 -2
  13. package/dist/assets/images/card_background_secondary_2.webp.js +2 -2
  14. package/dist/assets/images/card_background_secondary_3.webp.js +2 -2
  15. package/dist/assets/images/card_background_secondary_4.webp.js +2 -2
  16. package/dist/components/accordion/Accordion.js +82 -74
  17. package/dist/components/accordion/Accordion.module.scss.js +11 -8
  18. package/dist/components/accordion/index.js +2 -2
  19. package/dist/components/animated/Animated.js +61 -40
  20. package/dist/components/animated/Animated.module.scss.js +8 -6
  21. package/dist/components/animated/index.js +2 -2
  22. package/dist/components/animatedText/AnimatedText.js +36 -27
  23. package/dist/components/animatedText/index.js +2 -2
  24. package/dist/components/avatar/Avatar.js +62 -54
  25. package/dist/components/avatar/Avatar.module.scss.js +8 -6
  26. package/dist/components/avatar/index.js +2 -2
  27. package/dist/components/base-link/BaseLink.js +39 -27
  28. package/dist/components/base-link/index.js +2 -2
  29. package/dist/components/button/Button.client.js +100 -0
  30. package/dist/components/button/Button.js +15 -82
  31. package/dist/components/button/Button.lazy.js +20 -0
  32. package/dist/components/button/Button.module.scss.js +8 -6
  33. package/dist/components/button/Button.server.js +77 -0
  34. package/dist/components/button/index.js +2 -2
  35. package/dist/components/calendly/Calendly.js +99 -60
  36. package/dist/components/calendly/index.js +2 -2
  37. package/dist/components/card/Card.js +167 -141
  38. package/dist/components/card/Card.module.scss.js +11 -8
  39. package/dist/components/card/index.js +2 -2
  40. package/dist/components/carousel/Carousel.js +209 -145
  41. package/dist/components/carousel/Carousel.module.scss.js +8 -6
  42. package/dist/components/carousel/Carousel.services.js +39 -20
  43. package/dist/components/carousel/index.js +2 -2
  44. package/dist/components/chip/Chip.js +44 -36
  45. package/dist/components/chip/Chip.module.scss.js +8 -6
  46. package/dist/components/chip/index.js +2 -2
  47. package/dist/components/datePicker/DatePicker.js +106 -69
  48. package/dist/components/datePicker/index.js +2 -2
  49. package/dist/components/dialog/Dialog.js +106 -93
  50. package/dist/components/dialog/Dialog.module.scss.js +8 -6
  51. package/dist/components/dialog/index.js +2 -2
  52. package/dist/components/drawer/Drawer.js +78 -64
  53. package/dist/components/drawer/Drawer.module.scss.js +20 -14
  54. package/dist/components/drawer/index.js +4 -4
  55. package/dist/components/form/Form.js +229 -165
  56. package/dist/components/form/Form.module.scss.js +8 -6
  57. package/dist/components/form/FormField.js +63 -60
  58. package/dist/components/form/FormField.module.scss.js +8 -6
  59. package/dist/components/form/FormResponse.js +37 -41
  60. package/dist/components/form/FormResponse.module.scss.js +8 -6
  61. package/dist/components/form/index.js +4 -4
  62. package/dist/components/grid/Grid.js +14 -11
  63. package/dist/components/grid/Grid.module.scss.js +8 -6
  64. package/dist/components/grid/GridRow.js +20 -17
  65. package/dist/components/grid/GridRow.module.scss.js +8 -6
  66. package/dist/components/grid/index.js +4 -4
  67. package/dist/components/headline/Headline.client.js +85 -0
  68. package/dist/components/headline/Headline.module.scss.js +8 -6
  69. package/dist/components/headline/Headline.server.js +73 -0
  70. package/dist/components/headline/Headline.variants.js +9 -0
  71. package/dist/components/headline/index.js +4 -3
  72. package/dist/components/icon/Icon.js +27 -22
  73. package/dist/components/icon/Icon.module.scss.js +8 -6
  74. package/dist/components/icon/index.js +3 -3
  75. package/dist/components/image/Image.js +30 -24
  76. package/dist/components/image/Image.module.scss.js +8 -6
  77. package/dist/components/image/index.js +2 -2
  78. package/dist/components/image-text/ImageText.js +80 -81
  79. package/dist/components/image-text/ImageText.module.scss.js +8 -6
  80. package/dist/components/image-text/index.js +2 -2
  81. package/dist/components/input/Input.js +147 -131
  82. package/dist/components/input/Input.module.scss.js +11 -8
  83. package/dist/components/input/InputValidation.js +50 -31
  84. package/dist/components/input/index.js +2 -2
  85. package/dist/components/inputOTP/InputOTP.js +90 -57
  86. package/dist/components/inputOTP/InputOTP.module.scss.js +8 -6
  87. package/dist/components/inputOTP/index.js +2 -2
  88. package/dist/components/label/Label.js +64 -63
  89. package/dist/components/label/Label.module.scss.js +8 -6
  90. package/dist/components/label/index.js +2 -2
  91. package/dist/components/link/Link.js +53 -48
  92. package/dist/components/link/Link.module.scss.js +8 -6
  93. package/dist/components/link/index.js +2 -2
  94. package/dist/components/list/List.js +120 -104
  95. package/dist/components/list/List.module.scss.js +8 -6
  96. package/dist/components/list/index.js +2 -2
  97. package/dist/components/loading/Loading.js +21 -20
  98. package/dist/components/loading/Loading.module.scss.js +11 -8
  99. package/dist/components/loading/index.js +2 -2
  100. package/dist/components/lottie/Lottie.js +47 -37
  101. package/dist/components/lottie/Lottie.module.scss.js +8 -6
  102. package/dist/components/lottie/LottieAnimations.js +2 -2
  103. package/dist/components/lottie/index.js +2 -2
  104. package/dist/components/map/Map.js +59 -42
  105. package/dist/components/map/index.js +2 -2
  106. package/dist/components/post-item/PostItem.js +81 -76
  107. package/dist/components/post-item/PostItem.module.scss.js +8 -6
  108. package/dist/components/post-item/PostItemAuthor.js +24 -23
  109. package/dist/components/post-item/PostItemAuthor.module.scss.js +8 -6
  110. package/dist/components/post-item/index.js +4 -4
  111. package/dist/components/post-teaser/PostTeaser.js +96 -92
  112. package/dist/components/post-teaser/PostTeaser.module.scss.js +8 -6
  113. package/dist/components/post-teaser/index.js +2 -2
  114. package/dist/components/post-widget/PostWidget.js +81 -80
  115. package/dist/components/post-widget/PostWidget.module.scss.js +8 -6
  116. package/dist/components/post-widget/index.js +2 -2
  117. package/dist/components/post-widget-carousel/PostWidgetCarousel.js +96 -90
  118. package/dist/components/post-widget-carousel/PostWidgetCarousel.module.scss.js +8 -6
  119. package/dist/components/post-widget-carousel/index.js +2 -2
  120. package/dist/components/quote/Quote.js +48 -47
  121. package/dist/components/quote/Quote.module.scss.js +8 -6
  122. package/dist/components/quote/index.js +2 -2
  123. package/dist/components/rich-text/RichText.js +114 -100
  124. package/dist/components/rich-text/RichText.module.scss.js +8 -6
  125. package/dist/components/rich-text/index.js +2 -2
  126. package/dist/components/select/Select.js +148 -127
  127. package/dist/components/select/Select.module.scss.js +17 -12
  128. package/dist/components/select/index.js +2 -2
  129. package/dist/components/skeleton/Skeleton.js +21 -18
  130. package/dist/components/skeleton/Skeleton.module.scss.js +8 -6
  131. package/dist/components/skeleton/index.js +2 -2
  132. package/dist/components/slider/Slider.js +74 -65
  133. package/dist/components/slider/Slider.module.scss.js +8 -6
  134. package/dist/components/slider/index.js +2 -2
  135. package/dist/components/stepper/Stepper.js +85 -69
  136. package/dist/components/stepper/Stepper.module.scss.js +8 -6
  137. package/dist/components/stepper/index.js +2 -2
  138. package/dist/components/switch/Switch.js +69 -63
  139. package/dist/components/switch/Switch.module.scss.js +8 -6
  140. package/dist/components/switch/index.js +2 -2
  141. package/dist/components/table/Table.js +48 -45
  142. package/dist/components/table/Table.module.scss.js +8 -6
  143. package/dist/components/table/index.js +2 -2
  144. package/dist/components/teaser/Teaser.js +66 -65
  145. package/dist/components/teaser/Teaser.module.scss.js +8 -6
  146. package/dist/components/teaser/index.js +2 -2
  147. package/dist/constants/project.js +2 -2
  148. package/dist/helpers/bem.js +17 -9
  149. package/dist/helpers/calculation.js +4 -2
  150. package/dist/helpers/validations.js +12 -6
  151. package/dist/hooks/useGoogleMaps.js +19 -14
  152. package/dist/hooks/useHydrationReady.js +26 -0
  153. package/dist/index.js +84 -84
  154. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +354 -251
  155. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +555 -309
  156. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +221 -141
  157. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +167 -109
  158. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -88
  159. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js +91 -77
  160. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/optionClasses.js +10 -7
  161. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Portal/Portal.js +54 -40
  162. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js +192 -163
  163. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/selectClasses.js +10 -7
  164. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/Slider.js +287 -242
  165. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/sliderClasses.js +10 -7
  166. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/Switch.js +112 -97
  167. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/switchClasses.js +10 -7
  168. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/Popup.js +135 -115
  169. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/PopupContext.js +6 -4
  170. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/popupClasses.js +10 -7
  171. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClass/index.js +15 -10
  172. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClasses/index.js +11 -7
  173. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useButton/useButton.js +160 -73
  174. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundItem.js +25 -18
  175. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundParent.js +63 -36
  176. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/ListContext.js +6 -4
  177. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listActions.types.js +2 -2
  178. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listReducer.js +233 -138
  179. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useList.js +189 -128
  180. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useListItem.js +72 -52
  181. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOption.js +72 -53
  182. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOptionContextStabilizer.js +30 -22
  183. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/SelectProvider.js +34 -28
  184. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/defaultOptionStringifier.js +15 -7
  185. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/selectReducer.js +49 -40
  186. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.js +341 -222
  187. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.types.js +2 -2
  188. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSlider/useSlider.js +550 -353
  189. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSwitch/useSwitch.js +79 -50
  190. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/TransitionContext.js +6 -4
  191. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/useTransitionTrigger.js +51 -23
  192. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/ClassNameConfigurator.js +21 -10
  193. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/areArraysEqual.js +6 -3
  194. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/combineHooksSlotProps.js +14 -10
  195. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/isHostComponent.js +6 -3
  196. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/resolveComponentProps.js +9 -3
  197. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useControllableReducer.js +91 -60
  198. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useRootElementName.js +20 -12
  199. package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useTextNavigation.js +21 -10
  200. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js +16 -5
  201. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +13 -7
  202. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +11 -5
  203. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/clamp/clamp.js +6 -3
  204. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +19 -11
  205. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/exactProp/exactProp.js +17 -8
  206. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js +12 -7
  207. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +2 -2
  208. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/getReactNodeRef/getReactNodeRef.js +11 -5
  209. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +11 -7
  210. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js +6 -3
  211. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +61 -38
  212. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js +12 -7
  213. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +6 -3
  214. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js +9 -3
  215. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/setRef/setRef.js +10 -3
  216. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useControlled/useControlled.js +31 -22
  217. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +3 -3
  218. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +13 -9
  219. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +17 -9
  220. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useId/useId.js +23 -14
  221. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +30 -23
  222. package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js +2 -2
  223. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -13
  224. package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +67 -38
  225. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +55 -37
  226. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +56 -43
  227. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +404 -243
  228. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +20 -14
  229. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -7
  230. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +11 -4
  231. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +170 -82
  232. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +91 -58
  233. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +17 -7
  234. package/dist/tsconfig.build.tsbuildinfo +1 -1
  235. package/dist/types/components/button/Button.client.d.ts +3 -0
  236. package/dist/types/components/button/Button.d.ts +3 -3
  237. package/dist/types/components/button/Button.lazy.d.ts +3 -0
  238. package/dist/types/components/button/Button.server.d.ts +3 -0
  239. package/dist/types/components/button/index.d.ts +1 -1
  240. package/dist/types/components/form/FormResponse.d.ts +1 -1
  241. package/dist/types/components/headline/Headline.client.d.ts +3 -0
  242. package/dist/types/components/headline/Headline.model.d.ts +1 -0
  243. package/dist/types/components/headline/Headline.server.d.ts +3 -0
  244. package/dist/types/components/headline/Headline.variants.d.ts +2 -0
  245. package/dist/types/components/headline/index.d.ts +2 -1
  246. package/dist/types/components/label/Label.d.ts +1 -1
  247. package/dist/types/hooks/useHydrationReady.d.ts +5 -0
  248. package/dist/ui.css +9592 -1
  249. package/package.json +1 -1
  250. package/dist/components/headline/Headline.js +0 -71
  251. package/dist/types/components/headline/Headline.d.ts +0 -4
@@ -1,97 +1,106 @@
1
- import { jsx as l, jsxs as f } from "react/jsx-runtime";
2
- import { memo as j, useMemo as D, useCallback as o, Fragment as x } from "react";
3
- import { create as P } from "../../helpers/bem.js";
4
- import { isString as z } from "../../helpers/validations.js";
5
- import E from "./List.module.scss.js";
6
- import { Card as F } from "../card/Card.js";
7
- import { Link as K } from "../link/Link.js";
8
- import { Icon as I } from "../icon/Icon.js";
9
- const n = P(E, "List"), M = j(
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { memo, useMemo, useCallback, Fragment } from "react";
3
+ import { create } from "../../helpers/bem.js";
4
+ import { isString } from "../../helpers/validations.js";
5
+ import styles from "./List.module.scss.js";
6
+ import { Card } from "../card/Card.js";
7
+ import { Link } from "../link/Link.js";
8
+ import { Icon } from "../icon/Icon.js";
9
+ const bem = create(styles, "List");
10
+ const List = memo(
10
11
  ({
11
- type: a,
12
- variant: _ = "inherit",
13
- className: L,
14
- options: d = {},
15
- items: w,
16
- classNameDesc: h,
17
- ...g
12
+ type,
13
+ variant = "inherit",
14
+ className,
15
+ options = {},
16
+ items,
17
+ classNameDesc,
18
+ ...props
18
19
  }) => {
19
- const u = D(
20
+ const modifier = useMemo(
20
21
  () => ({
21
- [`${a}`]: !!a
22
+ [`${type}`]: !!type
22
23
  }),
23
- [a]
24
- ), v = o(
25
- (r, c) => /* @__PURE__ */ l(
24
+ [type]
25
+ );
26
+ const renderTitle = useCallback(
27
+ (title, item) => /* @__PURE__ */ jsx(
26
28
  "span",
27
29
  {
28
- className: n("item__title", {
29
- "is-clickable": !!(c != null && c.onClick),
30
- ...u
30
+ className: bem("item__title", {
31
+ "is-clickable": !!(item == null ? void 0 : item.onClick),
32
+ ...modifier
31
33
  }),
32
- children: r
34
+ children: title
33
35
  }
34
36
  ),
35
- [u]
36
- ), C = o(
37
- (r, c) => /* @__PURE__ */ l(
38
- K,
37
+ [modifier]
38
+ );
39
+ const renderLink = useCallback(
40
+ (props2, children) => /* @__PURE__ */ jsx(
41
+ Link,
39
42
  {
40
- className: n("item__link", void 0, r == null ? void 0 : r.className),
41
- variant: _,
42
- ...r,
43
- children: c
43
+ className: bem("item__link", void 0, props2 == null ? void 0 : props2.className),
44
+ variant,
45
+ ...props2,
46
+ children
44
47
  }
45
48
  ),
46
- [_]
47
- ), k = o(
48
- (r) => r ? /* @__PURE__ */ l("div", { className: n("item__icon__wrapper"), children: /* @__PURE__ */ l(I, { color: _, name: r, ...d == null ? void 0 : d.icon }) }) : null,
49
- [_, d == null ? void 0 : d.icon]
50
- ), N = o(
51
- (r) => z(r) && /* @__PURE__ */ l("p", { className: n("item__desc", void 0, h), children: r }),
52
- [h]
53
- ), e = o(
54
- (r) => {
55
- var s;
56
- const c = r == null ? void 0 : r.icon;
57
- return /* @__PURE__ */ l(
58
- F,
49
+ [variant]
50
+ );
51
+ const renderIcon = useCallback(
52
+ (name) => {
53
+ if (!name) return null;
54
+ return /* @__PURE__ */ jsx("div", { className: bem("item__icon__wrapper"), children: /* @__PURE__ */ jsx(Icon, { color: variant, name, ...options == null ? void 0 : options.icon }) });
55
+ },
56
+ [variant, options == null ? void 0 : options.icon]
57
+ );
58
+ const renderDesc = useCallback(
59
+ (desc) => isString(desc) && /* @__PURE__ */ jsx("p", { className: bem("item__desc", void 0, classNameDesc), children: desc }),
60
+ [classNameDesc]
61
+ );
62
+ const renderCardItem = useCallback(
63
+ (item) => {
64
+ var _a;
65
+ const icon = item == null ? void 0 : item.icon;
66
+ return /* @__PURE__ */ jsx(
67
+ Card,
59
68
  {
60
69
  variant: "white",
61
- ...r,
62
- className: n("item__card", void 0, r == null ? void 0 : r.className),
63
- contentClassName: n(
70
+ ...item,
71
+ className: bem("item__card", void 0, item == null ? void 0 : item.className),
72
+ contentClassName: bem(
64
73
  "item__card__content",
65
74
  void 0,
66
- r == null ? void 0 : r.contentClassName
75
+ item == null ? void 0 : item.contentClassName
67
76
  ),
68
- children: /* @__PURE__ */ f(
77
+ children: /* @__PURE__ */ jsxs(
69
78
  "div",
70
79
  {
71
- className: n("item__inner", void 0, r == null ? void 0 : r.innerClassName),
80
+ className: bem("item__inner", void 0, item == null ? void 0 : item.innerClassName),
72
81
  children: [
73
- c && /* @__PURE__ */ l(
82
+ icon && /* @__PURE__ */ jsx(
74
83
  "div",
75
84
  {
76
- className: n(
85
+ className: bem(
77
86
  "item__icon",
78
87
  void 0,
79
- (s = r == null ? void 0 : r.iconProps) == null ? void 0 : s.className
88
+ (_a = item == null ? void 0 : item.iconProps) == null ? void 0 : _a.className
80
89
  ),
81
- children: /* @__PURE__ */ l(
82
- I,
90
+ children: /* @__PURE__ */ jsx(
91
+ Icon,
83
92
  {
84
- ...r == null ? void 0 : r.iconProps,
85
- className: n("item__icon__svg"),
86
- name: c,
93
+ ...item == null ? void 0 : item.iconProps,
94
+ className: bem("item__icon__svg"),
95
+ name: icon,
87
96
  size: "sm"
88
97
  }
89
98
  )
90
99
  }
91
100
  ),
92
- /* @__PURE__ */ f("div", { className: n("item__content"), children: [
93
- v(r.title),
94
- N(r == null ? void 0 : r.desc)
101
+ /* @__PURE__ */ jsxs("div", { className: bem("item__content"), children: [
102
+ renderTitle(item.title),
103
+ renderDesc(item == null ? void 0 : item.desc)
95
104
  ] })
96
105
  ]
97
106
  }
@@ -99,66 +108,73 @@ const n = P(E, "List"), M = j(
99
108
  }
100
109
  );
101
110
  },
102
- [v, N]
103
- ), $ = o(
104
- (r) => {
105
- switch (a) {
111
+ [renderTitle, renderDesc]
112
+ );
113
+ const renderItem = useCallback(
114
+ (item) => {
115
+ switch (type) {
106
116
  case "card":
107
- return e(r);
117
+ return renderCardItem(item);
108
118
  default:
109
- return (r == null ? void 0 : r.redirect) !== void 0 ? C(
110
- r.redirect,
111
- /* @__PURE__ */ f(x, { children: [
112
- k(r == null ? void 0 : r.icon),
113
- v(r.title, r),
114
- N(r == null ? void 0 : r.desc)
115
- ] })
116
- ) : /* @__PURE__ */ f(x, { children: [
117
- k(r == null ? void 0 : r.icon),
118
- v(r.title, r),
119
- N(r == null ? void 0 : r.desc)
119
+ if ((item == null ? void 0 : item.redirect) !== void 0) {
120
+ return renderLink(
121
+ item.redirect,
122
+ /* @__PURE__ */ jsxs(Fragment, { children: [
123
+ renderIcon(item == null ? void 0 : item.icon),
124
+ renderTitle(item.title, item),
125
+ renderDesc(item == null ? void 0 : item.desc)
126
+ ] })
127
+ );
128
+ }
129
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
130
+ renderIcon(item == null ? void 0 : item.icon),
131
+ renderTitle(item.title, item),
132
+ renderDesc(item == null ? void 0 : item.desc)
120
133
  ] });
121
134
  }
122
135
  },
123
- [a, e, k, C, v, N]
136
+ [type, renderCardItem, renderIcon, renderLink, renderTitle, renderDesc]
124
137
  );
125
- return /* @__PURE__ */ l(
138
+ return /* @__PURE__ */ jsx(
126
139
  "ul",
127
140
  {
128
141
  "aria-live": "polite",
129
142
  "aria-relevant": "additions text",
130
- ...g,
131
- className: n(void 0, void 0, L),
132
- children: w.map((r) => {
133
- const c = !!(r != null && r.onClick) || !!(r != null && r.redirect);
143
+ ...props,
144
+ className: bem(void 0, void 0, className),
145
+ children: items.map((item) => {
146
+ const isClickable = !!(item == null ? void 0 : item.onClick) || !!(item == null ? void 0 : item.redirect);
134
147
  return (
135
148
  /* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */
136
- /* @__PURE__ */ l(
149
+ /* @__PURE__ */ jsx(
137
150
  "li",
138
151
  {
139
- "aria-pressed": c ? !1 : void 0,
140
- role: c ? "button" : void 0,
141
- tabIndex: c ? 0 : -1,
142
- className: n(
152
+ "aria-pressed": isClickable ? false : void 0,
153
+ role: isClickable ? "button" : void 0,
154
+ tabIndex: isClickable ? 0 : -1,
155
+ className: bem(
143
156
  "item",
144
157
  {
145
- "is-clickable": c,
146
- [`is-clickable--${(r == null ? void 0 : r.variant) ?? _}`]: c,
147
- ...u
158
+ "is-clickable": isClickable,
159
+ [`is-clickable--${(item == null ? void 0 : item.variant) ?? variant}`]: isClickable,
160
+ ...modifier
148
161
  },
149
- r == null ? void 0 : r.className
162
+ item == null ? void 0 : item.className
150
163
  ),
151
- onClick: a === "default" && c ? () => {
152
- var s;
153
- return (s = r.onClick) == null ? void 0 : s.call(r, r);
164
+ onClick: type === "default" && isClickable ? () => {
165
+ var _a;
166
+ return (_a = item.onClick) == null ? void 0 : _a.call(item, item);
154
167
  } : void 0,
155
- onKeyDown: c ? (s) => {
156
- var b;
157
- (s.key === "Enter" || s.key === " ") && (s.preventDefault(), (b = r == null ? void 0 : r.onClick) == null || b.call(r, r));
168
+ onKeyDown: isClickable ? (e) => {
169
+ var _a;
170
+ if (e.key === "Enter" || e.key === " ") {
171
+ e.preventDefault();
172
+ (_a = item == null ? void 0 : item.onClick) == null ? void 0 : _a.call(item, item);
173
+ }
158
174
  } : void 0,
159
- children: $(r)
175
+ children: renderItem(item)
160
176
  },
161
- `list-item-${r.title}`
177
+ `list-item-${item.title}`
162
178
  )
163
179
  );
164
180
  })
@@ -166,7 +182,7 @@ const n = P(E, "List"), M = j(
166
182
  );
167
183
  }
168
184
  );
169
- M.displayName = "List";
185
+ List.displayName = "List";
170
186
  export {
171
- M as List
187
+ List
172
188
  };
@@ -1,4 +1,6 @@
1
- const o = "gradientMove", i = "fadeInKeyframe", _ = {
1
+ const gradientMove = "gradientMove";
2
+ const fadeInKeyframe = "fadeInKeyframe";
3
+ const styles = {
2
4
  "prokodo-List": "prokodo-List",
3
5
  "prokodo-List__item": "prokodo-List__item",
4
6
  "prokodo-List__item__card": "prokodo-List__item__card",
@@ -21,11 +23,11 @@ const o = "gradientMove", i = "fadeInKeyframe", _ = {
21
23
  "prokodo-List__item--is-clickable--error": "prokodo-List__item--is-clickable--error",
22
24
  "prokodo-List__item--is-clickable--white": "prokodo-List__item--is-clickable--white",
23
25
  "prokodo-List__item--card": "prokodo-List__item--card",
24
- gradientMove: o,
25
- fadeInKeyframe: i
26
+ gradientMove,
27
+ fadeInKeyframe
26
28
  };
27
29
  export {
28
- _ as default,
29
- i as fadeInKeyframe,
30
- o as gradientMove
30
+ styles as default,
31
+ fadeInKeyframe,
32
+ gradientMove
31
33
  };
@@ -1,4 +1,4 @@
1
- import { List as t } from "./List.js";
1
+ import { List } from "./List.js";
2
2
  export {
3
- t as List
3
+ List
4
4
  };
@@ -1,11 +1,12 @@
1
- import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { memo as r } from "react";
3
- import { create as a } from "../../helpers/bem.js";
4
- import t from "./Loading.module.scss.js";
5
- const i = a(t, "Loading"), d = r(({ className: s, size: n = "sm" }) => /* @__PURE__ */ o(
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { memo } from "react";
3
+ import { create } from "../../helpers/bem.js";
4
+ import styles from "./Loading.module.scss.js";
5
+ const bem = create(styles, "Loading");
6
+ const Loading = memo(({ className, size = "sm" }) => /* @__PURE__ */ jsxs(
6
7
  "div",
7
8
  {
8
- className: i(void 0, void 0, s),
9
+ className: bem(void 0, void 0, className),
9
10
  style: {
10
11
  display: "flex",
11
12
  alignItems: "center",
@@ -13,37 +14,37 @@ const i = a(t, "Loading"), d = r(({ className: s, size: n = "sm" }) => /* @__PUR
13
14
  gap: "16px"
14
15
  },
15
16
  children: [
16
- /* @__PURE__ */ e("svg", { height: 0, style: { position: "absolute" }, width: 0, children: /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ o(
17
+ /* @__PURE__ */ jsx("svg", { height: 0, style: { position: "absolute" }, width: 0, children: /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
17
18
  "linearGradient",
18
19
  {
19
- className: i("gradient"),
20
+ className: bem("gradient"),
20
21
  id: "loading-gradient",
21
22
  x1: "0%",
22
23
  x2: "0%",
23
24
  y1: "0%",
24
25
  y2: "100%",
25
26
  children: [
26
- /* @__PURE__ */ e("stop", { offset: "0%" }),
27
- /* @__PURE__ */ e("stop", { offset: "50%" }),
28
- /* @__PURE__ */ e("stop", { offset: "100%" })
27
+ /* @__PURE__ */ jsx("stop", { offset: "0%" }),
28
+ /* @__PURE__ */ jsx("stop", { offset: "50%" }),
29
+ /* @__PURE__ */ jsx("stop", { offset: "100%" })
29
30
  ]
30
31
  }
31
32
  ) }) }),
32
- /* @__PURE__ */ e(
33
+ /* @__PURE__ */ jsx(
33
34
  "div",
34
35
  {
35
- className: i("animation", {
36
- [`size-${n}`]: !0
36
+ className: bem("animation", {
37
+ [`size-${size}`]: true
37
38
  }),
38
39
  style: {
39
40
  borderRadius: "50%",
40
- border: "4px solid transparent",
41
+ border: `4px solid transparent`,
41
42
  // Transparent border for empty space
42
- borderTop: "4px solid",
43
+ borderTop: `4px solid`,
43
44
  // Apply color for top border only
44
- animation: `${t.spin} 1s linear infinite`,
45
+ animation: `${styles.spin} 1s linear infinite`,
45
46
  // Define animation for spinning
46
- background: "conic-gradient(from 0deg at 50% 50%, url(#loading-gradient) 0deg 360deg)"
47
+ background: `conic-gradient(from 0deg at 50% 50%, url(#loading-gradient) 0deg 360deg)`
47
48
  // Create a conic gradient
48
49
  }
49
50
  }
@@ -51,7 +52,7 @@ const i = a(t, "Loading"), d = r(({ className: s, size: n = "sm" }) => /* @__PUR
51
52
  ]
52
53
  }
53
54
  ));
54
- d.displayName = "Loading";
55
+ Loading.displayName = "Loading";
55
56
  export {
56
- d as Loading
57
+ Loading
57
58
  };
@@ -1,19 +1,22 @@
1
- const o = "spin", i = "gradientMove", n = "fadeInKeyframe", a = {
1
+ const spin = "spin";
2
+ const gradientMove = "gradientMove";
3
+ const fadeInKeyframe = "fadeInKeyframe";
4
+ const styles = {
2
5
  "prokodo-Loading": "prokodo-Loading",
3
6
  "prokodo-Loading__gradient": "prokodo-Loading__gradient",
4
7
  "prokodo-Loading__animation": "prokodo-Loading__animation",
5
- spin: o,
8
+ spin,
6
9
  "prokodo-Loading__animation--size-xs": "prokodo-Loading__animation--size-xs",
7
10
  "prokodo-Loading__animation--size-sm": "prokodo-Loading__animation--size-sm",
8
11
  "prokodo-Loading__animation--size-md": "prokodo-Loading__animation--size-md",
9
12
  "prokodo-Loading__animation--size-lg": "prokodo-Loading__animation--size-lg",
10
13
  "prokodo-Loading__animation--size-xl": "prokodo-Loading__animation--size-xl",
11
- gradientMove: i,
12
- fadeInKeyframe: n
14
+ gradientMove,
15
+ fadeInKeyframe
13
16
  };
14
17
  export {
15
- a as default,
16
- n as fadeInKeyframe,
17
- i as gradientMove,
18
- o as spin
18
+ styles as default,
19
+ fadeInKeyframe,
20
+ gradientMove,
21
+ spin
19
22
  };
@@ -1,4 +1,4 @@
1
- import { Loading as a } from "./Loading.js";
1
+ import { Loading } from "./Loading.js";
2
2
  export {
3
- a as Loading
3
+ Loading
4
4
  };
@@ -1,55 +1,65 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { memo as p, useState as v, useRef as I, useEffect as R, Suspense as b, lazy as h } from "react";
3
- import { create as L } from "../../helpers/bem.js";
4
- import N from "./Lottie.module.scss.js";
5
- import { ANIMATIONS as u } from "./LottieAnimations.js";
6
- const t = L(N, "Lottie"), w = h(
7
- () => import("@lottiefiles/dotlottie-react").then((o) => ({
8
- default: o.DotLottieReact
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { memo, useState, useRef, useEffect, Suspense, lazy } from "react";
3
+ import { create } from "../../helpers/bem.js";
4
+ import styles from "./Lottie.module.scss.js";
5
+ import { ANIMATIONS } from "./LottieAnimations.js";
6
+ const bem = create(styles, "Lottie");
7
+ const DotLottieReact = lazy(
8
+ () => import("@lottiefiles/dotlottie-react").then((mod) => ({
9
+ default: mod.DotLottieReact
9
10
  }))
10
- ), x = p(
11
- ({ className: o, animationName: c, containerClassName: r, ...d }) => {
12
- var l;
13
- const [f, m] = v(!1), n = I(null);
14
- return R(() => {
15
- const i = new IntersectionObserver(([s]) => {
16
- (s == null ? void 0 : s.isIntersecting) === !0 && (m(!0), i.disconnect());
17
- }), a = n.current;
18
- return a && i.observe(a), () => i.disconnect();
19
- }, []), (l = u) != null && l[c] ? /* @__PURE__ */ e(
11
+ );
12
+ const Lottie = memo(
13
+ ({ className, animationName, containerClassName, ...props }) => {
14
+ var _a;
15
+ const [isInView, setIsInView] = useState(false);
16
+ const containerRef = useRef(null);
17
+ useEffect(() => {
18
+ const observer = new IntersectionObserver(([entry]) => {
19
+ if ((entry == null ? void 0 : entry.isIntersecting) === true) {
20
+ setIsInView(true);
21
+ observer.disconnect();
22
+ }
23
+ });
24
+ const el = containerRef.current;
25
+ if (el) observer.observe(el);
26
+ return () => observer.disconnect();
27
+ }, []);
28
+ if (!((_a = ANIMATIONS) == null ? void 0 : _a[animationName])) return null;
29
+ return /* @__PURE__ */ jsx(
20
30
  "div",
21
31
  {
22
- ref: n,
23
- className: t("container", void 0, r),
24
- children: f ? /* @__PURE__ */ e(
25
- b,
32
+ ref: containerRef,
33
+ className: bem("container", void 0, containerClassName),
34
+ children: isInView ? /* @__PURE__ */ jsx(
35
+ Suspense,
26
36
  {
27
- fallback: /* @__PURE__ */ e(
37
+ fallback: /* @__PURE__ */ jsx(
28
38
  "div",
29
39
  {
30
- className: t("placeholder", void 0, r)
40
+ className: bem("placeholder", void 0, containerClassName)
31
41
  }
32
42
  ),
33
- children: /* @__PURE__ */ e(
34
- w,
43
+ children: /* @__PURE__ */ jsx(
44
+ DotLottieReact,
35
45
  {
36
- autoplay: !0,
37
- autoResizeCanvas: !0,
38
- loop: !0,
39
- className: t(void 0, void 0, o),
46
+ autoplay: true,
47
+ autoResizeCanvas: true,
48
+ loop: true,
49
+ className: bem(void 0, void 0, className),
40
50
  renderConfig: { devicePixelRatio: 0.9 },
41
- src: u[c],
42
- useFrameInterpolation: !1,
43
- ...d
51
+ src: ANIMATIONS[animationName],
52
+ useFrameInterpolation: false,
53
+ ...props
44
54
  }
45
55
  )
46
56
  }
47
- ) : /* @__PURE__ */ e("div", { className: t("placeholder", void 0, r) })
57
+ ) : /* @__PURE__ */ jsx("div", { className: bem("placeholder", void 0, containerClassName) })
48
58
  }
49
- ) : null;
59
+ );
50
60
  }
51
61
  );
52
- x.displayName = "Lottie";
62
+ Lottie.displayName = "Lottie";
53
63
  export {
54
- x as Lottie
64
+ Lottie
55
65
  };
@@ -1,10 +1,12 @@
1
- const e = "gradientMove", o = "fadeInKeyframe", t = {
1
+ const gradientMove = "gradientMove";
2
+ const fadeInKeyframe = "fadeInKeyframe";
3
+ const styles = {
2
4
  "prokodo-Lottie__container": "prokodo-Lottie__container",
3
- gradientMove: e,
4
- fadeInKeyframe: o
5
+ gradientMove,
6
+ fadeInKeyframe
5
7
  };
6
8
  export {
7
- t as default,
8
- o as fadeInKeyframe,
9
- e as gradientMove
9
+ styles as default,
10
+ fadeInKeyframe,
11
+ gradientMove
10
12
  };
@@ -1,4 +1,4 @@
1
- const t = {
1
+ const ANIMATIONS = {
2
2
  SolutionUIUXDesign: "https://lottie.host/af0b17d4-cc93-48bb-b388-d058f579ae3a/mzzgcsHwL4.lottie",
3
3
  SolutionSoftwareDevelopment: "https://lottie.host/bf06b5a0-be40-4f2a-95e4-ae3e033006d3/pxQ7Wtj79u.lottie",
4
4
  SolutionAppDevelopment: "https://lottie.host/24da243e-b6e4-4180-abd2-fc70ece1a39c/UDS9WBtmnP.lottie",
@@ -31,5 +31,5 @@ const t = {
31
31
  NotFound: "https://lottie.host/ee63adf0-2f07-44ca-94b1-f8829aea03a5/8qjL7cSngV.lottie"
32
32
  };
33
33
  export {
34
- t as ANIMATIONS
34
+ ANIMATIONS
35
35
  };
@@ -1,4 +1,4 @@
1
- import { Lottie as e } from "./Lottie.js";
1
+ import { Lottie } from "./Lottie.js";
2
2
  export {
3
- e as Lottie
3
+ Lottie
4
4
  };