@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,82 +1,121 @@
1
- import { jsxs as L, jsx as x } from "react/jsx-runtime";
2
- import { useRef as R, useState as h, useMemo as S, useCallback as j, useEffect as B } from "react";
3
- import { isString as i } from "../../helpers/validations.js";
4
- import { Animated as E } from "../animated/Animated.js";
5
- import { Loading as I } from "../loading/Loading.js";
6
- let c = !1;
7
- const N = ({
8
- calendlyId: f,
9
- data: t,
10
- color: n = {
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ import { jsxs, jsx } from "react/jsx-runtime";
4
+ import { useRef, useState, useMemo, useCallback, useEffect } from "react";
5
+ import { isString } from "../../helpers/validations.js";
6
+ import { Loading } from "../loading/Loading.js";
7
+ import { Animated } from "../animated/Animated.js";
8
+ let scriptAlreadyLoaded = false;
9
+ const Calendly = /* @__PURE__ */ __name(({
10
+ calendlyId,
11
+ data,
12
+ color = {
11
13
  text: "#4D4D4D",
12
14
  button: "#1E90FF",
13
15
  background: "#FFFFFF"
14
16
  },
15
- animationProps: w,
16
- hideCookieSettings: d,
17
- hideEventTypeDetails: p,
18
- hideDetails: a,
19
- ...C
17
+ animationProps,
18
+ hideCookieSettings,
19
+ hideEventTypeDetails,
20
+ hideDetails,
21
+ ...props
20
22
  }) => {
21
- const l = R(null), [s, F] = h(!1), [g, y] = h(c), u = (e) => e == null ? void 0 : e.replaceAll("#", ""), k = (e) => {
22
- const o = {};
23
- if (!e) return o;
24
- for (const r of ["name", "email", "firstName", "lastName"])
25
- i(e[r]) && (o[r] = e[r]);
26
- return o;
27
- }, m = S(() => {
28
- const e = new URLSearchParams();
29
- return a && e.set("hide_landing_page_details", "1"), p && e.set("hide_event_type_details", "1"), d && e.set("hide_gdpr_banner", "1"), i(n.background) && e.set("background_color", u(n.background)), i(n.text) && e.set("text_color", u(n.text)), i(n.button) && e.set("primary_color", u(n.button)), i(t == null ? void 0 : t.utm_campaign) && e.set("utm_campaign", (t == null ? void 0 : t.utm_campaign) ?? ""), i(t == null ? void 0 : t.utm_source) && e.set("utm_source", (t == null ? void 0 : t.utm_source) ?? ""), `https://calendly.com/${f}?${e.toString()}`;
23
+ const calendlyRef = useRef(null);
24
+ const [widgetInitialized, setWidgetInitialized] = useState(false);
25
+ const [scriptLoaded, setScriptLoaded] = useState(scriptAlreadyLoaded);
26
+ const formatColor = /* @__PURE__ */ __name((color2) => color2 == null ? void 0 : color2.replaceAll("#", ""), "formatColor");
27
+ const getSafePrefill = /* @__PURE__ */ __name((data2) => {
28
+ const result = {};
29
+ if (!data2) return result;
30
+ for (const key of ["name", "email", "firstName", "lastName"]) {
31
+ if (isString(data2[key])) {
32
+ result[key] = data2[key];
33
+ }
34
+ }
35
+ return result;
36
+ }, "getSafePrefill");
37
+ const dataUrl = useMemo(() => {
38
+ const urlParams = new URLSearchParams();
39
+ if (Boolean(hideDetails)) urlParams.set("hide_landing_page_details", "1");
40
+ if (Boolean(hideEventTypeDetails)) urlParams.set("hide_event_type_details", "1");
41
+ if (Boolean(hideCookieSettings)) urlParams.set("hide_gdpr_banner", "1");
42
+ if (isString(color.background))
43
+ urlParams.set("background_color", formatColor(color.background));
44
+ if (isString(color.text))
45
+ urlParams.set("text_color", formatColor(color.text));
46
+ if (isString(color.button))
47
+ urlParams.set("primary_color", formatColor(color.button));
48
+ if (isString(data == null ? void 0 : data.utm_campaign))
49
+ urlParams.set("utm_campaign", (data == null ? void 0 : data.utm_campaign) ?? "");
50
+ if (isString(data == null ? void 0 : data.utm_source))
51
+ urlParams.set("utm_source", (data == null ? void 0 : data.utm_source) ?? "");
52
+ return `https://calendly.com/${calendlyId}?${urlParams.toString()}`;
30
53
  }, [
31
- f,
32
- n,
33
- t,
34
- a,
35
- p,
36
- d
37
- ]), A = j(
38
- (e) => {
39
- if (e && g && !s) {
40
- let r = 0;
41
- const _ = () => {
42
- var b;
43
- window.Calendly ? ((b = l.current) == null || b.setAttribute("data-url", m), window.Calendly.initInlineWidget({
44
- url: m,
45
- parentElement: l.current,
46
- prefill: k(t)
47
- }), F(!0)) : r < 10 ? (r += 1, setTimeout(_, 100)) : console.warn("Calendly widget failed to load.");
48
- };
49
- _();
54
+ calendlyId,
55
+ color,
56
+ data,
57
+ hideDetails,
58
+ hideEventTypeDetails,
59
+ hideCookieSettings
60
+ ]);
61
+ const handleAnimate = useCallback(
62
+ (isVisible) => {
63
+ if (isVisible && scriptLoaded && !widgetInitialized) {
64
+ const maxRetries = 10;
65
+ let retryCount = 0;
66
+ const tryInit = /* @__PURE__ */ __name(() => {
67
+ var _a;
68
+ if (window.Calendly) {
69
+ (_a = calendlyRef.current) == null ? void 0 : _a.setAttribute("data-url", dataUrl);
70
+ window.Calendly.initInlineWidget({
71
+ url: dataUrl,
72
+ parentElement: calendlyRef.current,
73
+ prefill: getSafePrefill(data)
74
+ });
75
+ setWidgetInitialized(true);
76
+ } else if (retryCount < maxRetries) {
77
+ retryCount += 1;
78
+ setTimeout(tryInit, 100);
79
+ } else {
80
+ console.warn("Calendly widget failed to load.");
81
+ }
82
+ }, "tryInit");
83
+ tryInit();
50
84
  }
51
85
  },
52
- [g, s, m, t]
86
+ [scriptLoaded, widgetInitialized, dataUrl, data]
53
87
  );
54
- return B(() => {
55
- if (c || typeof document > "u") {
56
- y(!0);
88
+ useEffect(() => {
89
+ if (scriptAlreadyLoaded || typeof document === "undefined") {
90
+ setScriptLoaded(true);
57
91
  return;
58
92
  }
59
- const e = document.createElement("script");
60
- e.src = "https://assets.calendly.com/assets/external/widget.js", e.async = !0, e.onload = () => {
61
- c = !0, y(!0);
62
- }, document.body.appendChild(e);
63
- }, []), /* @__PURE__ */ L(E, { ...w, onAnimate: A, children: [
64
- !s && /* @__PURE__ */ x(I, {}),
65
- /* @__PURE__ */ x(
93
+ const script = document.createElement("script");
94
+ script.src = "https://assets.calendly.com/assets/external/widget.js";
95
+ script.async = true;
96
+ script.onload = () => {
97
+ scriptAlreadyLoaded = true;
98
+ setScriptLoaded(true);
99
+ };
100
+ document.body.appendChild(script);
101
+ }, []);
102
+ return /* @__PURE__ */ jsxs(Animated, { ...animationProps, onAnimate: handleAnimate, children: [
103
+ !widgetInitialized && /* @__PURE__ */ jsx(Loading, {}),
104
+ /* @__PURE__ */ jsx(
66
105
  "div",
67
106
  {
68
- ...C,
69
- ref: l,
107
+ ...props,
108
+ ref: calendlyRef,
70
109
  style: {
71
- display: s ? "block" : "none",
110
+ display: widgetInitialized ? "block" : "none",
72
111
  minWidth: 320,
73
112
  height: 700
74
113
  }
75
114
  }
76
115
  )
77
116
  ] });
78
- };
79
- N.displayName = "Calendly";
117
+ }, "Calendly");
118
+ Calendly.displayName = "Calendly";
80
119
  export {
81
- N as Calendly
120
+ Calendly
82
121
  };
@@ -1,4 +1,4 @@
1
- import { Calendly as o } from "./Calendly.js";
1
+ import { Calendly } from "./Calendly.js";
2
2
  export {
3
- o as Calendly
3
+ Calendly
4
4
  };
@@ -1,180 +1,206 @@
1
- import { jsx as f, jsxs as j, Fragment as R } from "react/jsx-runtime";
2
- import { useCallback as n } from "react";
3
- import T from "../../assets/images/card_background_primary_1.webp.js";
4
- import U from "../../assets/images/card_background_primary_2.webp.js";
5
- import V from "../../assets/images/card_background_primary_3.webp.js";
6
- import W from "../../assets/images/card_background_primary_4.webp.js";
7
- import X from "../../assets/images/card_background_secondary_1.webp.js";
8
- import Y from "../../assets/images/card_background_secondary_2.webp.js";
9
- import Z from "../../assets/images/card_background_secondary_3.webp.js";
10
- import _ from "../../assets/images/card_background_secondary_4.webp.js";
11
- import { create as $ } from "../../helpers/bem.js";
12
- import { isString as A } from "../../helpers/validations.js";
13
- import D from "./Card.module.scss.js";
14
- import { Skeleton as M } from "../skeleton/Skeleton.js";
15
- import { Animated as K } from "../animated/Animated.js";
16
- import { Link as b } from "../link/Link.js";
17
- import { Image as g } from "../image/Image.js";
18
- const s = $(D, "Card"), ye = ({
19
- ref: F,
20
- variant: m = "white",
21
- loading: S,
22
- skeletonProps: u = {},
23
- highlight: q,
24
- gradiant: c,
25
- gradiantClassName: O,
26
- enableShadow: h,
27
- animated: w = !0,
28
- customAnimation: y,
29
- className: z,
30
- contentClassName: G,
31
- background: r,
32
- backgroundProps: t,
33
- disabled: l,
34
- redirect: o,
35
- onClick: i,
36
- onKeyDown: p,
37
- onMouseEnter: C,
38
- onMouseLeave: E,
39
- children: d
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
4
+ import { useCallback } from "react";
5
+ import BGprimary1 from "../../assets/images/card_background_primary_1.webp.js";
6
+ import BGprimary2 from "../../assets/images/card_background_primary_2.webp.js";
7
+ import BGprimary3 from "../../assets/images/card_background_primary_3.webp.js";
8
+ import BGprimary4 from "../../assets/images/card_background_primary_4.webp.js";
9
+ import BGsecondary1 from "../../assets/images/card_background_secondary_1.webp.js";
10
+ import BGsecondary2 from "../../assets/images/card_background_secondary_2.webp.js";
11
+ import BGsecondary3 from "../../assets/images/card_background_secondary_3.webp.js";
12
+ import BGsecondary4 from "../../assets/images/card_background_secondary_4.webp.js";
13
+ import { create } from "../../helpers/bem.js";
14
+ import { isString } from "../../helpers/validations.js";
15
+ import styles from "./Card.module.scss.js";
16
+ import { Skeleton } from "../skeleton/Skeleton.js";
17
+ import { Animated } from "../animated/Animated.js";
18
+ import { Link } from "../link/Link.js";
19
+ import { Image } from "../image/Image.js";
20
+ const bem = create(styles, "Card");
21
+ const Card = /* @__PURE__ */ __name(({
22
+ ref,
23
+ variant = "white",
24
+ loading,
25
+ skeletonProps = {},
26
+ highlight,
27
+ gradiant,
28
+ gradiantClassName,
29
+ enableShadow,
30
+ animated = true,
31
+ customAnimation,
32
+ className,
33
+ contentClassName,
34
+ background,
35
+ backgroundProps,
36
+ disabled,
37
+ redirect,
38
+ onClick,
39
+ onKeyDown,
40
+ onMouseEnter,
41
+ onMouseLeave,
42
+ children
40
43
  }) => {
41
- const v = n(
42
- (e) => !!S && /* @__PURE__ */ f(
43
- M,
44
+ const renderSkeleton = useCallback(
45
+ (modifier) => Boolean(loading) && /* @__PURE__ */ jsx(
46
+ Skeleton,
44
47
  {
45
- className: s("skeleton", e),
48
+ className: bem("skeleton", modifier),
46
49
  variant: "rectangular",
47
- ...u
50
+ ...skeletonProps
48
51
  }
49
52
  ),
50
- [S, u]
51
- ), H = n(
53
+ [loading, skeletonProps]
54
+ );
55
+ const handleKeyDown = useCallback(
52
56
  (e) => {
53
- e.code === "Enter" && (i == null || i()), p == null || p(e);
57
+ if (e.code === "Enter") {
58
+ onClick == null ? void 0 : onClick();
59
+ }
60
+ onKeyDown == null ? void 0 : onKeyDown(e);
54
61
  },
55
- [i, p]
56
- ), x = n(
57
- (e) => {
58
- const B = l === !0, J = typeof i == "function", a = J && !B || A(o == null ? void 0 : o.href), I = {
59
- [m]: !0,
60
- "has-highlight": !!q,
61
- "has-gradiant": !!c,
62
- "has-background": !!r,
63
- "has-shadow": a && h === void 0 || !!h,
64
- "has-animation": w,
65
- "is-clickable": a
66
- }, L = {
67
- ref: F,
68
- className: s(void 0, I, z),
69
- role: a ? "button" : void 0,
70
- "aria-disabled": B ? !0 : void 0,
71
- tabIndex: a && !B && !o ? 0 : -1,
72
- onMouseEnter: C,
73
- onMouseLeave: E,
74
- onKeyDown: a ? H : void 0,
75
- onClick: J && !B ? i : void 0
62
+ [onClick, onKeyDown]
63
+ );
64
+ const renderContainer = useCallback(
65
+ (card) => {
66
+ const isDisabled = disabled === true;
67
+ const onClickIsFunction = typeof onClick === "function";
68
+ const isClickable = onClickIsFunction && !isDisabled || isString(redirect == null ? void 0 : redirect.href);
69
+ const modifier = {
70
+ [variant]: true,
71
+ "has-highlight": Boolean(highlight),
72
+ "has-gradiant": Boolean(gradiant),
73
+ "has-background": Boolean(background),
74
+ "has-shadow": isClickable && enableShadow === void 0 || Boolean(enableShadow),
75
+ "has-animation": animated,
76
+ "is-clickable": isClickable
77
+ };
78
+ const cardProps = {
79
+ ref,
80
+ className: bem(void 0, modifier, className),
81
+ role: isClickable ? "button" : void 0,
82
+ "aria-disabled": isDisabled ? true : void 0,
83
+ tabIndex: isClickable && !isDisabled && !Boolean(redirect) ? 0 : -1,
84
+ onMouseEnter,
85
+ onMouseLeave,
86
+ onKeyDown: isClickable ? handleKeyDown : void 0,
87
+ onClick: onClickIsFunction && !isDisabled ? onClick : void 0
76
88
  };
77
- return y ? /* @__PURE__ */ j(K, { animation: y, ...L, children: [
78
- v(I),
79
- e
80
- ] }) : /* @__PURE__ */ j("div", { ...L, children: [
81
- v(I),
82
- e
89
+ if (customAnimation) {
90
+ return /* @__PURE__ */ jsxs(Animated, { animation: customAnimation, ...cardProps, children: [
91
+ renderSkeleton(modifier),
92
+ card
93
+ ] });
94
+ }
95
+ return /* @__PURE__ */ jsxs("div", { ...cardProps, children: [
96
+ renderSkeleton(modifier),
97
+ card
83
98
  ] });
84
99
  },
85
100
  [
86
- F,
87
- o,
88
- m,
89
- q,
90
- c,
91
- r,
92
- w,
93
- y,
94
- z,
95
- i,
96
- H,
97
- C,
98
- E,
99
- l,
100
- h,
101
- v
101
+ ref,
102
+ redirect,
103
+ variant,
104
+ highlight,
105
+ gradiant,
106
+ background,
107
+ animated,
108
+ customAnimation,
109
+ className,
110
+ onClick,
111
+ handleKeyDown,
112
+ onMouseEnter,
113
+ onMouseLeave,
114
+ disabled,
115
+ enableShadow,
116
+ renderSkeleton
102
117
  ]
103
- ), N = n(
104
- () => o !== void 0 ? /* @__PURE__ */ f(
105
- b,
118
+ );
119
+ const renderCard = useCallback(
120
+ () => redirect !== void 0 ? /* @__PURE__ */ jsx(
121
+ Link,
106
122
  {
107
- disabled: l,
108
- className: s(
123
+ disabled,
124
+ className: bem(
109
125
  "content",
110
126
  {
111
- [m]: !0,
112
- "has-link": !0
127
+ [variant]: true,
128
+ "has-link": true
113
129
  },
114
- G
130
+ contentClassName
115
131
  ),
116
- ...o,
117
- children: d
132
+ ...redirect,
133
+ children
118
134
  }
119
- ) : /* @__PURE__ */ f("div", { className: s("content", void 0, G), children: d }),
120
- [G, m, o, l, d]
121
- ), Q = n(() => {
122
- let e = T;
123
- if (m === "secondary")
124
- switch (r) {
135
+ ) : /* @__PURE__ */ jsx("div", { className: bem("content", void 0, contentClassName), children }),
136
+ [contentClassName, variant, redirect, disabled, children]
137
+ );
138
+ const renderBackground = useCallback(() => {
139
+ let backgroundSrc = BGprimary1;
140
+ if (variant === "secondary") {
141
+ switch (background) {
125
142
  case 2:
126
- e = Y;
143
+ backgroundSrc = BGsecondary2;
127
144
  break;
128
145
  case 3:
129
- e = Z;
146
+ backgroundSrc = BGsecondary3;
130
147
  break;
131
148
  case 4:
132
- e = _;
149
+ backgroundSrc = BGsecondary4;
133
150
  break;
134
151
  default:
135
- e = X;
152
+ backgroundSrc = BGsecondary1;
136
153
  }
137
- switch (r) {
154
+ }
155
+ switch (background) {
138
156
  case 2:
139
- e = U;
157
+ backgroundSrc = BGprimary2;
140
158
  break;
141
159
  case 3:
142
- e = V;
160
+ backgroundSrc = BGprimary3;
143
161
  break;
144
162
  case 4:
145
- e = W;
163
+ backgroundSrc = BGprimary4;
146
164
  break;
147
165
  }
148
- return /* @__PURE__ */ f(
149
- g,
166
+ return /* @__PURE__ */ jsx(
167
+ Image,
150
168
  {
151
169
  alt: "prokodo - background image",
152
- src: typeof r == "string" ? r : e,
153
- ...t,
154
- className: s("background", void 0, t == null ? void 0 : t.className),
155
- imageComponent: (t == null ? void 0 : t.imageComponent) ?? "img"
170
+ src: typeof background === "string" ? background : backgroundSrc,
171
+ ...backgroundProps,
172
+ className: bem("background", void 0, backgroundProps == null ? void 0 : backgroundProps.className),
173
+ imageComponent: (backgroundProps == null ? void 0 : backgroundProps.imageComponent) ?? "img"
156
174
  }
157
175
  );
158
- }, [m, r, t]);
159
- return x(
160
- c ? /* @__PURE__ */ f(
161
- "div",
162
- {
163
- className: s(
164
- "gradiant",
165
- {
166
- [m]: m !== "inherit" && m !== "white"
167
- },
168
- O
169
- ),
170
- children: N()
171
- }
172
- ) : r !== void 0 ? /* @__PURE__ */ j(R, { children: [
173
- N(),
174
- Q()
175
- ] }) : N()
176
- );
177
- };
176
+ }, [variant, background, backgroundProps]);
177
+ if (Boolean(gradiant)) {
178
+ return renderContainer(
179
+ /* @__PURE__ */ jsx(
180
+ "div",
181
+ {
182
+ className: bem(
183
+ "gradiant",
184
+ {
185
+ [variant]: variant !== "inherit" && variant !== "white"
186
+ },
187
+ gradiantClassName
188
+ ),
189
+ children: renderCard()
190
+ }
191
+ )
192
+ );
193
+ }
194
+ if (background !== void 0) {
195
+ return renderContainer(
196
+ /* @__PURE__ */ jsxs(Fragment, { children: [
197
+ renderCard(),
198
+ renderBackground()
199
+ ] })
200
+ );
201
+ }
202
+ return renderContainer(renderCard());
203
+ }, "Card");
178
204
  export {
179
- ye as Card
205
+ Card
180
206
  };
@@ -1,4 +1,7 @@
1
- const o = "fadeInMask", r = "fadeInKeyframe", d = "gradientMove", a = {
1
+ const fadeInMask = "fadeInMask";
2
+ const fadeInKeyframe = "fadeInKeyframe";
3
+ const gradientMove = "gradientMove";
4
+ const styles = {
2
5
  "prokodo-Card": "prokodo-Card",
3
6
  "prokodo-Card--inherit": "prokodo-Card--inherit",
4
7
  "prokodo-Card--white": "prokodo-Card--white",
@@ -21,18 +24,18 @@ const o = "fadeInMask", r = "fadeInKeyframe", d = "gradientMove", a = {
21
24
  "prokodo-Card__gradiant--success": "prokodo-Card__gradiant--success",
22
25
  "prokodo-Card__gradiant--warning": "prokodo-Card__gradiant--warning",
23
26
  "prokodo-Card--has-highlight": "prokodo-Card--has-highlight",
24
- fadeInMask: o,
27
+ fadeInMask,
25
28
  "prokodo-Card--has-gradiant": "prokodo-Card--has-gradiant",
26
29
  "prokodo-Card--has-background": "prokodo-Card--has-background",
27
30
  "prokodo-Card--has-shadow": "prokodo-Card--has-shadow",
28
31
  "prokodo-Card--has-animation": "prokodo-Card--has-animation",
29
- fadeInKeyframe: r,
32
+ fadeInKeyframe,
30
33
  "prokodo-Card--is-clickable": "prokodo-Card--is-clickable",
31
- gradientMove: d
34
+ gradientMove
32
35
  };
33
36
  export {
34
- a as default,
35
- r as fadeInKeyframe,
36
- o as fadeInMask,
37
- d as gradientMove
37
+ styles as default,
38
+ fadeInKeyframe,
39
+ fadeInMask,
40
+ gradientMove
38
41
  };
@@ -1,4 +1,4 @@
1
- import { Card as a } from "./Card.js";
1
+ import { Card } from "./Card.js";
2
2
  export {
3
- a as Card
3
+ Card
4
4
  };