@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,28 +1,31 @@
1
- import * as Q from "react";
2
- import e from "../../../../../../../_virtual/index.js";
3
- import { clsx as F } from "../../../../../clsx@2.1.1/node_modules/clsx/dist/clsx.js";
4
- import { isHostComponent as E } from "../utils/isHostComponent.js";
5
- import { getSliderUtilityClass as ke } from "./sliderClasses.js";
6
- import { resolveComponentProps as Te } from "../utils/resolveComponentProps.js";
7
- import { useClassNamesOverride as he } from "../utils/ClassNameConfigurator.js";
8
- import { jsxs as M, jsx as p } from "react/jsx-runtime";
9
- import { useSlider as Pe, valueToPercent as W } from "../useSlider/useSlider.js";
10
- import c from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js";
11
- import Le from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js";
12
- import X from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js";
13
- function Z(l) {
14
- return l;
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ import * as React from "react";
4
+ import PropTypes from "../../../../../../../_virtual/index.js";
5
+ import { clsx } from "../../../../../clsx@2.1.1/node_modules/clsx/dist/clsx.js";
6
+ import { isHostComponent } from "../utils/isHostComponent.js";
7
+ import { getSliderUtilityClass } from "./sliderClasses.js";
8
+ import { resolveComponentProps } from "../utils/resolveComponentProps.js";
9
+ import { useClassNamesOverride } from "../utils/ClassNameConfigurator.js";
10
+ import { jsxs, jsx } from "react/jsx-runtime";
11
+ import { useSlider, valueToPercent } from "../useSlider/useSlider.js";
12
+ import useSlotProps from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js";
13
+ import composeClasses from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js";
14
+ import chainPropTypes from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js";
15
+ function Identity(x) {
16
+ return x;
15
17
  }
16
- const Oe = (l) => {
18
+ __name(Identity, "Identity");
19
+ const useUtilityClasses = /* @__PURE__ */ __name((ownerState) => {
17
20
  const {
18
- disabled: m,
19
- dragging: L,
20
- marked: O,
21
- orientation: S,
22
- track: f
23
- } = l;
24
- return Le({
25
- root: ["root", m && "disabled", L && "dragging", O && "marked", S === "vertical" && "vertical", f === "inverted" && "trackInverted", f === !1 && "trackFalse"],
21
+ disabled,
22
+ dragging,
23
+ marked,
24
+ orientation,
25
+ track
26
+ } = ownerState;
27
+ const slots = {
28
+ root: ["root", disabled && "disabled", dragging && "dragging", marked && "marked", orientation === "vertical" && "vertical", track === "inverted" && "trackInverted", track === false && "trackFalse"],
26
29
  rail: ["rail"],
27
30
  track: ["track"],
28
31
  mark: ["mark"],
@@ -30,202 +33,232 @@ const Oe = (l) => {
30
33
  markLabel: ["markLabel"],
31
34
  markLabelActive: ["markLabelActive"],
32
35
  valueLabel: ["valueLabel"],
33
- thumb: ["thumb", m && "disabled"],
36
+ thumb: ["thumb", disabled && "disabled"],
34
37
  active: ["active"],
35
38
  disabled: ["disabled"],
36
39
  focusVisible: ["focusVisible"]
37
- }, he(ke));
38
- }, Se = /* @__PURE__ */ Q.forwardRef(function(m, L) {
40
+ };
41
+ return composeClasses(slots, useClassNamesOverride(getSliderUtilityClass));
42
+ }, "useUtilityClasses");
43
+ const Slider = /* @__PURE__ */ React.forwardRef(/* @__PURE__ */ __name(function Slider2(props, forwardedRef) {
39
44
  const {
40
- "aria-label": O,
41
- "aria-valuetext": S,
42
- "aria-labelledby": f,
43
- className: U,
44
- disableSwap: $ = !1,
45
- disabled: z = !1,
46
- getAriaLabel: H,
47
- getAriaValueText: Y,
48
- marks: ee = !1,
49
- max: d = 100,
50
- min: y = 0,
51
- name: xe,
52
- onChange: Ae,
53
- onChangeCommitted: Ne,
54
- orientation: ae = "horizontal",
55
- shiftStep: te = 10,
56
- scale: v = Z,
57
- step: re = 1,
58
- tabIndex: Ve,
59
- track: g = "normal",
60
- value: Ce,
61
- valueLabelFormat: b = Z,
62
- isRtl: le = !1,
63
- defaultValue: oe,
64
- slotProps: i = {},
65
- slots: u = {},
66
- ...ne
67
- } = m, q = {
68
- ...m,
69
- marks: ee,
70
- disabled: z,
71
- disableSwap: $,
72
- isRtl: le,
73
- defaultValue: oe,
74
- max: d,
75
- min: y,
76
- orientation: ae,
77
- scale: v,
78
- step: re,
79
- shiftStep: te,
80
- track: g,
81
- valueLabelFormat: b
82
- }, {
83
- axisProps: k,
84
- getRootProps: se,
85
- getHiddenInputProps: ie,
86
- getThumbProps: ue,
87
- active: x,
88
- axis: T,
89
- range: D,
90
- focusedThumbIndex: A,
91
- dragging: ce,
92
- marks: N,
93
- values: o,
94
- trackOffset: me,
95
- trackLeap: pe,
96
- getThumbStyle: be
97
- } = Pe({
98
- ...q,
99
- rootRef: L
100
- }), n = {
101
- ...q,
102
- marked: N.length > 0 && N.some((a) => a.label),
103
- dragging: ce,
104
- focusedThumbIndex: A,
105
- activeThumbIndex: x
106
- }, s = Oe(n), _ = u.root ?? "span", fe = c({
107
- elementType: _,
108
- getSlotProps: se,
109
- externalSlotProps: i.root,
110
- externalForwardedProps: ne,
111
- ownerState: n,
112
- className: [s.root, U]
113
- }), B = u.rail ?? "span", de = c({
114
- elementType: B,
115
- externalSlotProps: i.rail,
116
- ownerState: n,
117
- className: s.rail
118
- }), G = u.track ?? "span", ye = c({
119
- elementType: G,
120
- externalSlotProps: i.track,
45
+ "aria-label": ariaLabel,
46
+ "aria-valuetext": ariaValuetext,
47
+ "aria-labelledby": ariaLabelledby,
48
+ className,
49
+ disableSwap = false,
50
+ disabled = false,
51
+ getAriaLabel,
52
+ getAriaValueText,
53
+ marks: marksProp = false,
54
+ max = 100,
55
+ min = 0,
56
+ name,
57
+ onChange,
58
+ onChangeCommitted,
59
+ orientation = "horizontal",
60
+ shiftStep = 10,
61
+ scale = Identity,
62
+ step = 1,
63
+ tabIndex,
64
+ track = "normal",
65
+ value: valueProp,
66
+ valueLabelFormat = Identity,
67
+ isRtl = false,
68
+ defaultValue,
69
+ slotProps = {},
70
+ slots = {},
71
+ ...other
72
+ } = props;
73
+ const partialOwnerState = {
74
+ ...props,
75
+ marks: marksProp,
76
+ disabled,
77
+ disableSwap,
78
+ isRtl,
79
+ defaultValue,
80
+ max,
81
+ min,
82
+ orientation,
83
+ scale,
84
+ step,
85
+ shiftStep,
86
+ track,
87
+ valueLabelFormat
88
+ };
89
+ const {
90
+ axisProps,
91
+ getRootProps,
92
+ getHiddenInputProps,
93
+ getThumbProps,
94
+ active,
95
+ axis,
96
+ range,
97
+ focusedThumbIndex,
98
+ dragging,
99
+ marks,
100
+ values,
101
+ trackOffset,
102
+ trackLeap,
103
+ getThumbStyle
104
+ } = useSlider({
105
+ ...partialOwnerState,
106
+ rootRef: forwardedRef
107
+ });
108
+ const ownerState = {
109
+ ...partialOwnerState,
110
+ marked: marks.length > 0 && marks.some((mark) => mark.label),
111
+ dragging,
112
+ focusedThumbIndex,
113
+ activeThumbIndex: active
114
+ };
115
+ const classes = useUtilityClasses(ownerState);
116
+ const Root = slots.root ?? "span";
117
+ const rootProps = useSlotProps({
118
+ elementType: Root,
119
+ getSlotProps: getRootProps,
120
+ externalSlotProps: slotProps.root,
121
+ externalForwardedProps: other,
122
+ ownerState,
123
+ className: [classes.root, className]
124
+ });
125
+ const Rail = slots.rail ?? "span";
126
+ const railProps = useSlotProps({
127
+ elementType: Rail,
128
+ externalSlotProps: slotProps.rail,
129
+ ownerState,
130
+ className: classes.rail
131
+ });
132
+ const Track = slots.track ?? "span";
133
+ const trackProps = useSlotProps({
134
+ elementType: Track,
135
+ externalSlotProps: slotProps.track,
121
136
  additionalProps: {
122
137
  style: {
123
- ...k[T].offset(me),
124
- ...k[T].leap(pe)
138
+ ...axisProps[axis].offset(trackOffset),
139
+ ...axisProps[axis].leap(trackLeap)
125
140
  }
126
141
  },
127
- ownerState: n,
128
- className: s.track
129
- }), J = u.thumb ?? "span", V = c({
130
- elementType: J,
131
- getSlotProps: ue,
132
- externalSlotProps: i.thumb,
133
- ownerState: n,
134
- skipResolvingSlotProps: !0
135
- }), h = u.valueLabel, ve = c({
136
- elementType: h,
137
- externalSlotProps: i.valueLabel,
138
- ownerState: n
139
- }), C = u.mark ?? "span", w = c({
140
- elementType: C,
141
- externalSlotProps: i.mark,
142
- ownerState: n,
143
- className: s.mark
144
- }), I = u.markLabel ?? "span", R = c({
145
- elementType: I,
146
- externalSlotProps: i.markLabel,
147
- ownerState: n
148
- }), K = u.input || "input", ge = c({
149
- elementType: K,
150
- getSlotProps: ie,
151
- externalSlotProps: i.input,
152
- ownerState: n
142
+ ownerState,
143
+ className: classes.track
144
+ });
145
+ const Thumb = slots.thumb ?? "span";
146
+ const thumbProps = useSlotProps({
147
+ elementType: Thumb,
148
+ getSlotProps: getThumbProps,
149
+ externalSlotProps: slotProps.thumb,
150
+ ownerState,
151
+ skipResolvingSlotProps: true
152
+ });
153
+ const ValueLabel = slots.valueLabel;
154
+ const valueLabelProps = useSlotProps({
155
+ elementType: ValueLabel,
156
+ externalSlotProps: slotProps.valueLabel,
157
+ ownerState
153
158
  });
154
- return /* @__PURE__ */ M(_, {
155
- ...fe,
156
- children: [/* @__PURE__ */ p(B, {
157
- ...de
158
- }), /* @__PURE__ */ p(G, {
159
- ...ye
160
- }), N.filter((a) => a.value >= y && a.value <= d).map((a, t) => {
161
- const j = W(a.value, y, d), P = k[T].offset(j);
162
- let r;
163
- return g === !1 ? r = o.indexOf(a.value) !== -1 : r = g === "normal" && (D ? a.value >= o[0] && a.value <= o[o.length - 1] : a.value <= o[0]) || g === "inverted" && (D ? a.value <= o[0] || a.value >= o[o.length - 1] : a.value >= o[0]), /* @__PURE__ */ M(Q.Fragment, {
164
- children: [/* @__PURE__ */ p(C, {
165
- "data-index": t,
166
- ...w,
167
- ...!E(C) && {
168
- markActive: r
159
+ const Mark = slots.mark ?? "span";
160
+ const markProps = useSlotProps({
161
+ elementType: Mark,
162
+ externalSlotProps: slotProps.mark,
163
+ ownerState,
164
+ className: classes.mark
165
+ });
166
+ const MarkLabel = slots.markLabel ?? "span";
167
+ const markLabelProps = useSlotProps({
168
+ elementType: MarkLabel,
169
+ externalSlotProps: slotProps.markLabel,
170
+ ownerState
171
+ });
172
+ const Input = slots.input || "input";
173
+ const inputProps = useSlotProps({
174
+ elementType: Input,
175
+ getSlotProps: getHiddenInputProps,
176
+ externalSlotProps: slotProps.input,
177
+ ownerState
178
+ });
179
+ return /* @__PURE__ */ jsxs(Root, {
180
+ ...rootProps,
181
+ children: [/* @__PURE__ */ jsx(Rail, {
182
+ ...railProps
183
+ }), /* @__PURE__ */ jsx(Track, {
184
+ ...trackProps
185
+ }), marks.filter((mark) => mark.value >= min && mark.value <= max).map((mark, index) => {
186
+ const percent = valueToPercent(mark.value, min, max);
187
+ const style = axisProps[axis].offset(percent);
188
+ let markActive;
189
+ if (track === false) {
190
+ markActive = values.indexOf(mark.value) !== -1;
191
+ } else {
192
+ markActive = track === "normal" && (range ? mark.value >= values[0] && mark.value <= values[values.length - 1] : mark.value <= values[0]) || track === "inverted" && (range ? mark.value <= values[0] || mark.value >= values[values.length - 1] : mark.value >= values[0]);
193
+ }
194
+ return /* @__PURE__ */ jsxs(React.Fragment, {
195
+ children: [/* @__PURE__ */ jsx(Mark, {
196
+ "data-index": index,
197
+ ...markProps,
198
+ ...!isHostComponent(Mark) && {
199
+ markActive
169
200
  },
170
201
  style: {
171
- ...P,
172
- ...w.style
202
+ ...style,
203
+ ...markProps.style
173
204
  },
174
- className: F(w.className, r && s.markActive)
175
- }), a.label != null ? /* @__PURE__ */ p(I, {
176
- "aria-hidden": !0,
177
- "data-index": t,
178
- ...R,
179
- ...!E(I) && {
180
- markLabelActive: r
205
+ className: clsx(markProps.className, markActive && classes.markActive)
206
+ }), mark.label != null ? /* @__PURE__ */ jsx(MarkLabel, {
207
+ "aria-hidden": true,
208
+ "data-index": index,
209
+ ...markLabelProps,
210
+ ...!isHostComponent(MarkLabel) && {
211
+ markLabelActive: markActive
181
212
  },
182
213
  style: {
183
- ...P,
184
- ...R.style
214
+ ...style,
215
+ ...markLabelProps.style
185
216
  },
186
- className: F(s.markLabel, R.className, r && s.markLabelActive),
187
- children: a.label
217
+ className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
218
+ children: mark.label
188
219
  }) : null]
189
- }, t);
190
- }), o.map((a, t) => {
191
- const j = W(a, y, d), P = k[T].offset(j), r = Te(i.thumb, n, {
192
- index: t,
193
- focused: A === t,
194
- active: x === t
220
+ }, index);
221
+ }), values.map((value, index) => {
222
+ const percent = valueToPercent(value, min, max);
223
+ const style = axisProps[axis].offset(percent);
224
+ const resolvedSlotProps = resolveComponentProps(slotProps.thumb, ownerState, {
225
+ index,
226
+ focused: focusedThumbIndex === index,
227
+ active: active === index
195
228
  });
196
- return /* @__PURE__ */ M(J, {
197
- "data-index": t,
198
- ...V,
199
- ...r,
200
- className: F(s.thumb, V.className, r == null ? void 0 : r.className, x === t && s.active, A === t && s.focusVisible),
229
+ return /* @__PURE__ */ jsxs(Thumb, {
230
+ "data-index": index,
231
+ ...thumbProps,
232
+ ...resolvedSlotProps,
233
+ className: clsx(classes.thumb, thumbProps.className, resolvedSlotProps == null ? void 0 : resolvedSlotProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
201
234
  style: {
202
- ...P,
203
- ...be(t),
204
- ...V.style,
205
- ...r == null ? void 0 : r.style
235
+ ...style,
236
+ ...getThumbStyle(index),
237
+ ...thumbProps.style,
238
+ ...resolvedSlotProps == null ? void 0 : resolvedSlotProps.style
206
239
  },
207
- children: [/* @__PURE__ */ p(K, {
208
- "data-index": t,
209
- "aria-label": H ? H(t) : O,
210
- "aria-valuenow": v(a),
211
- "aria-labelledby": f,
212
- "aria-valuetext": Y ? Y(v(a), t) : S,
213
- value: o[t],
214
- ...ge
215
- }), h ? /* @__PURE__ */ p(h, {
216
- ...!E(h) && {
217
- valueLabelFormat: b,
218
- index: t,
219
- disabled: z
240
+ children: [/* @__PURE__ */ jsx(Input, {
241
+ "data-index": index,
242
+ "aria-label": getAriaLabel ? getAriaLabel(index) : ariaLabel,
243
+ "aria-valuenow": scale(value),
244
+ "aria-labelledby": ariaLabelledby,
245
+ "aria-valuetext": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,
246
+ value: values[index],
247
+ ...inputProps
248
+ }), ValueLabel ? /* @__PURE__ */ jsx(ValueLabel, {
249
+ ...!isHostComponent(ValueLabel) && {
250
+ valueLabelFormat,
251
+ index,
252
+ disabled
220
253
  },
221
- ...ve,
222
- children: typeof b == "function" ? b(v(a), t) : b
254
+ ...valueLabelProps,
255
+ children: typeof valueLabelFormat === "function" ? valueLabelFormat(scale(value), index) : valueLabelFormat
223
256
  }) : null]
224
- }, t);
257
+ }, index);
225
258
  })]
226
259
  });
227
- });
228
- process.env.NODE_ENV !== "production" && (Se.propTypes = {
260
+ }, "Slider"));
261
+ process.env.NODE_ENV !== "production" ? Slider.propTypes = {
229
262
  // ┌────────────────────────────── Warning ──────────────────────────────┐
230
263
  // │ These PropTypes are generated from the TypeScript type definitions. │
231
264
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -233,36 +266,48 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
233
266
  /**
234
267
  * The label of the slider.
235
268
  */
236
- "aria-label": X(e.string, (l) => Array.isArray(l.value || l.defaultValue) && l["aria-label"] != null ? new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.") : null),
269
+ "aria-label": chainPropTypes(PropTypes.string, (props) => {
270
+ const range = Array.isArray(props.value || props.defaultValue);
271
+ if (range && props["aria-label"] != null) {
272
+ return new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.");
273
+ }
274
+ return null;
275
+ }),
237
276
  /**
238
277
  * The id of the element containing a label for the slider.
239
278
  */
240
- "aria-labelledby": e.string,
279
+ "aria-labelledby": PropTypes.string,
241
280
  /**
242
281
  * A string value that provides a user-friendly name for the current value of the slider.
243
282
  */
244
- "aria-valuetext": X(e.string, (l) => Array.isArray(l.value || l.defaultValue) && l["aria-valuetext"] != null ? new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.") : null),
283
+ "aria-valuetext": chainPropTypes(PropTypes.string, (props) => {
284
+ const range = Array.isArray(props.value || props.defaultValue);
285
+ if (range && props["aria-valuetext"] != null) {
286
+ return new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.");
287
+ }
288
+ return null;
289
+ }),
245
290
  /**
246
291
  * The default value. Use when the component is not controlled.
247
292
  */
248
- defaultValue: e.oneOfType([e.arrayOf(e.number), e.number]),
293
+ defaultValue: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number]),
249
294
  /**
250
295
  * If `true`, the component is disabled.
251
296
  * @default false
252
297
  */
253
- disabled: e.bool,
298
+ disabled: PropTypes.bool,
254
299
  /**
255
300
  * If `true`, the active thumb doesn't swap when moving pointer over a thumb while dragging another thumb.
256
301
  * @default false
257
302
  */
258
- disableSwap: e.bool,
303
+ disableSwap: PropTypes.bool,
259
304
  /**
260
305
  * Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.
261
306
  * This is important for screen reader users.
262
307
  * @param {number} index The thumb label's index to format.
263
308
  * @returns {string}
264
309
  */
265
- getAriaLabel: e.func,
310
+ getAriaLabel: PropTypes.func,
266
311
  /**
267
312
  * Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.
268
313
  * This is important for screen reader users.
@@ -270,38 +315,38 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
270
315
  * @param {number} index The thumb label's index to format.
271
316
  * @returns {string}
272
317
  */
273
- getAriaValueText: e.func,
318
+ getAriaValueText: PropTypes.func,
274
319
  /**
275
320
  * If `true` the Slider will be rendered right-to-left (with the lowest value on the right-hand side).
276
321
  * @default false
277
322
  */
278
- isRtl: e.bool,
323
+ isRtl: PropTypes.bool,
279
324
  /**
280
325
  * Marks indicate predetermined values to which the user can move the slider.
281
326
  * If `true` the marks are spaced according the value of the `step` prop.
282
327
  * If an array, it should contain objects with `value` and an optional `label` keys.
283
328
  * @default false
284
329
  */
285
- marks: e.oneOfType([e.arrayOf(e.shape({
286
- label: e.node,
287
- value: e.number.isRequired
288
- })), e.bool]),
330
+ marks: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({
331
+ label: PropTypes.node,
332
+ value: PropTypes.number.isRequired
333
+ })), PropTypes.bool]),
289
334
  /**
290
335
  * The maximum allowed value of the slider.
291
336
  * Should not be equal to min.
292
337
  * @default 100
293
338
  */
294
- max: e.number,
339
+ max: PropTypes.number,
295
340
  /**
296
341
  * The minimum allowed value of the slider.
297
342
  * Should not be equal to max.
298
343
  * @default 0
299
344
  */
300
- min: e.number,
345
+ min: PropTypes.number,
301
346
  /**
302
347
  * Name attribute of the hidden `input` element.
303
348
  */
304
- name: e.string,
349
+ name: PropTypes.string,
305
350
  /**
306
351
  * Callback function that is fired when the slider's value changed.
307
352
  *
@@ -311,19 +356,19 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
311
356
  * @param {number | number[]} value The new value.
312
357
  * @param {number} activeThumb Index of the currently moved thumb.
313
358
  */
314
- onChange: e.func,
359
+ onChange: PropTypes.func,
315
360
  /**
316
361
  * Callback function that is fired when the `mouseup` is triggered.
317
362
  *
318
363
  * @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
319
364
  * @param {number | number[]} value The new value.
320
365
  */
321
- onChangeCommitted: e.func,
366
+ onChangeCommitted: PropTypes.func,
322
367
  /**
323
368
  * The component orientation.
324
369
  * @default 'horizontal'
325
370
  */
326
- orientation: e.oneOf(["horizontal", "vertical"]),
371
+ orientation: PropTypes.oneOf(["horizontal", "vertical"]),
327
372
  /**
328
373
  * A transformation function, to change the scale of the slider.
329
374
  * @param {any} x
@@ -332,40 +377,40 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
332
377
  * return x;
333
378
  * }
334
379
  */
335
- scale: e.func,
380
+ scale: PropTypes.func,
336
381
  /**
337
382
  * The granularity with which the slider can step through values when using Page Up/Page Down or Shift + Arrow Up/Arrow Down.
338
383
  * @default 10
339
384
  */
340
- shiftStep: e.number,
385
+ shiftStep: PropTypes.number,
341
386
  /**
342
387
  * The props used for each slot inside the Slider.
343
388
  * @default {}
344
389
  */
345
- slotProps: e.shape({
346
- input: e.oneOfType([e.func, e.object]),
347
- mark: e.oneOfType([e.func, e.object]),
348
- markLabel: e.oneOfType([e.func, e.object]),
349
- rail: e.oneOfType([e.func, e.object]),
350
- root: e.oneOfType([e.func, e.object]),
351
- thumb: e.oneOfType([e.func, e.object]),
352
- track: e.oneOfType([e.func, e.object]),
353
- valueLabel: e.oneOfType([e.any, e.func])
390
+ slotProps: PropTypes.shape({
391
+ input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
392
+ mark: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
393
+ markLabel: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
394
+ rail: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
395
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
396
+ thumb: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
397
+ track: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
398
+ valueLabel: PropTypes.oneOfType([PropTypes.any, PropTypes.func])
354
399
  }),
355
400
  /**
356
401
  * The components used for each slot inside the Slider.
357
402
  * Either a string to use a HTML element or a component.
358
403
  * @default {}
359
404
  */
360
- slots: e.shape({
361
- input: e.elementType,
362
- mark: e.elementType,
363
- markLabel: e.elementType,
364
- rail: e.elementType,
365
- root: e.elementType,
366
- thumb: e.elementType,
367
- track: e.elementType,
368
- valueLabel: e.elementType
405
+ slots: PropTypes.shape({
406
+ input: PropTypes.elementType,
407
+ mark: PropTypes.elementType,
408
+ markLabel: PropTypes.elementType,
409
+ rail: PropTypes.elementType,
410
+ root: PropTypes.elementType,
411
+ thumb: PropTypes.elementType,
412
+ track: PropTypes.elementType,
413
+ valueLabel: PropTypes.elementType
369
414
  }),
370
415
  /**
371
416
  * The granularity with which the slider can step through values. (A "discrete" slider.)
@@ -375,11 +420,11 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
375
420
  * When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop.
376
421
  * @default 1
377
422
  */
378
- step: e.number,
423
+ step: PropTypes.number,
379
424
  /**
380
425
  * Tab index attribute of the hidden `input` element.
381
426
  */
382
- tabIndex: e.number,
427
+ tabIndex: PropTypes.number,
383
428
  /**
384
429
  * The track presentation:
385
430
  *
@@ -388,12 +433,12 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
388
433
  * - `false` the track will render without a bar.
389
434
  * @default 'normal'
390
435
  */
391
- track: e.oneOf(["inverted", "normal", !1]),
436
+ track: PropTypes.oneOf(["inverted", "normal", false]),
392
437
  /**
393
438
  * The value of the slider.
394
439
  * For ranged sliders, provide an array with two values.
395
440
  */
396
- value: e.oneOfType([e.arrayOf(e.number), e.number]),
441
+ value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number]),
397
442
  /**
398
443
  * The format function the value label's value.
399
444
  *
@@ -407,8 +452,8 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
407
452
  * return x;
408
453
  * }
409
454
  */
410
- valueLabelFormat: e.oneOfType([e.func, e.string])
411
- });
455
+ valueLabelFormat: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
456
+ } : void 0;
412
457
  export {
413
- Se as Slider
458
+ Slider
414
459
  };