@prokodo/ui 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime2.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.js +4 -0
- package/dist/assets/images/card_background_primary_1.webp.js +4 -0
- package/dist/assets/images/card_background_primary_2.webp.js +4 -0
- package/dist/assets/images/card_background_primary_3.webp.js +4 -0
- package/dist/assets/images/card_background_primary_4.webp.js +4 -0
- package/dist/assets/images/card_background_secondary_1.webp.js +4 -0
- package/dist/assets/images/card_background_secondary_2.webp.js +4 -0
- package/dist/assets/images/card_background_secondary_3.webp.js +4 -0
- package/dist/assets/images/card_background_secondary_4.webp.js +4 -0
- package/dist/components/accordion/Accordion.js +115 -0
- package/dist/components/accordion/Accordion.module.scss.js +23 -0
- package/dist/components/accordion/index.js +4 -0
- package/dist/components/animated/Animated.js +53 -0
- package/dist/components/animated/Animated.module.scss.js +18 -0
- package/dist/components/animated/index.js +4 -0
- package/dist/components/animatedText/AnimatedText.js +31 -0
- package/dist/components/animatedText/index.js +4 -0
- package/dist/components/avatar/Avatar.js +78 -0
- package/dist/components/avatar/Avatar.module.scss.js +24 -0
- package/dist/components/avatar/index.js +4 -0
- package/dist/components/base-link/BaseLink.js +30 -0
- package/dist/components/base-link/index.js +4 -0
- package/dist/components/button/Button.js +84 -0
- package/dist/components/button/Button.module.scss.js +34 -0
- package/dist/components/button/index.js +4 -0
- package/dist/components/calendly/Calendly.js +82 -0
- package/dist/components/calendly/index.js +4 -0
- package/dist/components/card/Card.js +180 -0
- package/dist/components/card/Card.module.scss.js +38 -0
- package/dist/components/card/index.js +4 -0
- package/dist/components/carousel/Carousel.js +232 -0
- package/dist/components/carousel/Carousel.module.scss.js +21 -0
- package/dist/components/carousel/Carousel.services.js +22 -0
- package/dist/components/carousel/index.js +4 -0
- package/dist/components/chip/Chip.js +61 -0
- package/dist/components/chip/Chip.module.scss.js +26 -0
- package/dist/components/chip/index.js +4 -0
- package/dist/components/datePicker/DatePicker.js +93 -0
- package/dist/components/datePicker/index.js +4 -0
- package/dist/components/dialog/Dialog.js +156 -0
- package/dist/components/dialog/Dialog.module.scss.js +23 -0
- package/dist/components/dialog/index.js +4 -0
- package/dist/components/drawer/Drawer.js +94 -0
- package/dist/components/drawer/Drawer.module.scss.js +37 -0
- package/dist/components/drawer/index.js +6 -0
- package/dist/components/form/Form.js +228 -0
- package/dist/components/form/Form.module.scss.js +13 -0
- package/dist/components/form/FormField.js +96 -0
- package/dist/components/form/FormField.module.scss.js +10 -0
- package/dist/components/form/FormResponse.js +43 -0
- package/dist/components/form/FormResponse.module.scss.js +14 -0
- package/dist/components/form/index.js +6 -0
- package/dist/components/grid/Grid.js +21 -0
- package/dist/components/grid/Grid.module.scss.js +10 -0
- package/dist/components/grid/GridRow.js +29 -0
- package/dist/components/grid/GridRow.module.scss.js +73 -0
- package/dist/components/grid/index.js +6 -0
- package/dist/components/headline/Headline.js +71 -0
- package/dist/components/headline/Headline.module.scss.js +34 -0
- package/dist/components/headline/index.js +5 -0
- package/dist/components/icon/Icon.js +60 -0
- package/dist/components/icon/Icon.module.scss.js +16 -0
- package/dist/components/icon/iconsMap.js +4131 -0
- package/dist/components/icon/index.js +5 -0
- package/dist/components/image/Image.js +29 -0
- package/dist/components/image/Image.module.scss.js +11 -0
- package/dist/components/image/index.js +4 -0
- package/dist/components/image-text/ImageText.js +99 -0
- package/dist/components/image-text/ImageText.module.scss.js +22 -0
- package/dist/components/image-text/index.js +4 -0
- package/dist/components/input/Input.js +189 -0
- package/dist/components/input/Input.module.scss.js +30 -0
- package/dist/components/input/InputValidation.js +52 -0
- package/dist/components/input/index.js +4 -0
- package/dist/components/inputOTP/InputOTP.js +79 -0
- package/dist/components/inputOTP/InputOTP.module.scss.js +16 -0
- package/dist/components/inputOTP/index.js +4 -0
- package/dist/components/label/Label.js +65 -0
- package/dist/components/label/Label.module.scss.js +13 -0
- package/dist/components/label/index.js +4 -0
- package/dist/components/link/Link.js +58 -0
- package/dist/components/link/Link.module.scss.js +18 -0
- package/dist/components/link/index.js +4 -0
- package/dist/components/list/List.js +172 -0
- package/dist/components/list/List.module.scss.js +31 -0
- package/dist/components/list/index.js +4 -0
- package/dist/components/loading/Loading.js +57 -0
- package/dist/components/loading/Loading.module.scss.js +19 -0
- package/dist/components/loading/index.js +4 -0
- package/dist/components/lottie/Lottie.js +55 -0
- package/dist/components/lottie/Lottie.module.scss.js +10 -0
- package/dist/components/lottie/LottieAnimations.js +35 -0
- package/dist/components/lottie/index.js +4 -0
- package/dist/components/map/Map.js +51 -0
- package/dist/components/map/index.js +4 -0
- package/dist/components/post-item/PostItem.js +136 -0
- package/dist/components/post-item/PostItem.module.scss.js +22 -0
- package/dist/components/post-item/PostItemAuthor.js +37 -0
- package/dist/components/post-item/PostItemAuthor.module.scss.js +11 -0
- package/dist/components/post-item/index.js +4 -0
- package/dist/components/post-teaser/PostTeaser.js +168 -0
- package/dist/components/post-teaser/PostTeaser.module.scss.js +25 -0
- package/dist/components/post-teaser/index.js +4 -0
- package/dist/components/post-widget/PostWidget.js +158 -0
- package/dist/components/post-widget/PostWidget.module.scss.js +19 -0
- package/dist/components/post-widget/index.js +4 -0
- package/dist/components/post-widget-carousel/PostWidgetCarousel.js +159 -0
- package/dist/components/post-widget-carousel/PostWidgetCarousel.module.scss.js +16 -0
- package/dist/components/post-widget-carousel/index.js +4 -0
- package/dist/components/quote/Quote.js +90 -0
- package/dist/components/quote/Quote.module.scss.js +18 -0
- package/dist/components/quote/index.js +4 -0
- package/dist/components/rich-text/RichText.js +143 -0
- package/dist/components/rich-text/RichText.module.scss.js +16 -0
- package/dist/components/rich-text/index.js +4 -0
- package/dist/components/select/Select.js +199 -0
- package/dist/components/select/Select.module.scss.js +34 -0
- package/dist/components/select/index.js +4 -0
- package/dist/components/skeleton/Skeleton.js +29 -0
- package/dist/components/skeleton/Skeleton.module.scss.js +18 -0
- package/dist/components/skeleton/index.js +4 -0
- package/dist/components/slider/Slider.js +104 -0
- package/dist/components/slider/Slider.module.scss.js +20 -0
- package/dist/components/slider/index.js +4 -0
- package/dist/components/stepper/Stepper.js +119 -0
- package/dist/components/stepper/Stepper.module.scss.js +23 -0
- package/dist/components/stepper/index.js +4 -0
- package/dist/components/switch/Switch.js +102 -0
- package/dist/components/switch/Switch.module.scss.js +30 -0
- package/dist/components/switch/index.js +4 -0
- package/dist/components/table/Table.js +75 -0
- package/dist/components/table/Table.module.scss.js +27 -0
- package/dist/components/table/index.js +4 -0
- package/dist/components/teaser/Teaser.js +102 -0
- package/dist/components/teaser/Teaser.module.scss.js +23 -0
- package/dist/components/teaser/index.js +4 -0
- package/dist/helpers/bem.js +12 -0
- package/dist/helpers/calculation.js +4 -0
- package/dist/helpers/validations.js +8 -0
- package/dist/hooks/useGoogleMaps.js +19 -0
- package/dist/index.js +86 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +353 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +395 -0
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +170 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +131 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js +119 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/optionClasses.js +10 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Portal/Portal.js +71 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js +286 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/selectClasses.js +10 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/Slider.js +414 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/sliderClasses.js +10 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/Switch.js +158 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/switchClasses.js +10 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/Popup.js +205 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/PopupContext.js +6 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/popupClasses.js +10 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClass/index.js +15 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClasses/index.js +10 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useButton/useButton.js +79 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundItem.js +25 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundParent.js +47 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/ListContext.js +6 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listActions.types.js +14 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listReducer.js +223 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useList.js +150 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useListItem.js +61 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOption.js +63 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOptionContextStabilizer.js +32 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/SelectProvider.js +34 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/defaultOptionStringifier.js +10 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/selectReducer.js +65 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.js +242 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.types.js +7 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSlider/useSlider.js +423 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSwitch/useSwitch.js +58 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/TransitionContext.js +6 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/useTransitionTrigger.js +27 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/ClassNameConfigurator.js +15 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/areArraysEqual.js +6 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/combineHooksSlotProps.js +15 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/isHostComponent.js +6 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/resolveComponentProps.js +6 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useControllableReducer.js +70 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useRootElementName.js +17 -0
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useTextNavigation.js +17 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js +9 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +13 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +8 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/clamp/clamp.js +6 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +16 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/exactProp/exactProp.js +13 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js +11 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +17 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/getReactNodeRef/getReactNodeRef.js +12 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +12 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js +6 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +48 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js +11 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +6 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js +6 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/setRef/setRef.js +6 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useControlled/useControlled.js +31 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +5 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +14 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +12 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useId/useId.js +19 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +27 -0
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js +14 -0
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.development.js +247 -0
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.production.js +35 -0
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +10 -0
- package/dist/ui.css +1 -1
- package/package.json +42 -44
- package/dist/components/Accordion2.js +0 -1
- package/dist/components/Animated2.js +0 -1
- package/dist/components/AnimatedText2.js +0 -1
- package/dist/components/Avatar2.js +0 -1
- package/dist/components/BaseLink.js +0 -1
- package/dist/components/Button2.js +0 -1
- package/dist/components/Calendly2.js +0 -1
- package/dist/components/Card2.js +0 -1
- package/dist/components/Carousel2.js +0 -1
- package/dist/components/Chip2.js +0 -1
- package/dist/components/ClassNameConfigurator.js +0 -21
- package/dist/components/DatePicker2.js +0 -1
- package/dist/components/Dialog2.js +0 -1
- package/dist/components/Drawer2.js +0 -1
- package/dist/components/Form2.js +0 -1
- package/dist/components/GridRow.js +0 -1
- package/dist/components/Headline2.js +0 -1
- package/dist/components/Icon2.js +0 -1
- package/dist/components/Image2.js +0 -1
- package/dist/components/ImageText.js +0 -1
- package/dist/components/Input2.js +0 -1
- package/dist/components/InputOTP2.js +0 -1
- package/dist/components/Label2.js +0 -1
- package/dist/components/Link2.js +0 -1
- package/dist/components/List2.js +0 -1
- package/dist/components/Loading2.js +0 -1
- package/dist/components/Lottie2.js +0 -1
- package/dist/components/Map2.js +0 -1
- package/dist/components/PostItem.js +0 -1
- package/dist/components/PostTeaser.js +0 -1
- package/dist/components/PostWidget.js +0 -1
- package/dist/components/PostWidgetCarousel.js +0 -1
- package/dist/components/Quote2.js +0 -1
- package/dist/components/RichText.js +0 -1
- package/dist/components/Select2.js +0 -3
- package/dist/components/Skeleton2.js +0 -1
- package/dist/components/Slider2.js +0 -1
- package/dist/components/Stepper2.js +0 -1
- package/dist/components/Switch2.js +0 -1
- package/dist/components/Table2.js +0 -1
- package/dist/components/Teaser2.js +0 -1
- package/dist/components/accordion.js +0 -1
- package/dist/components/animated.js +0 -1
- package/dist/components/animatedText.js +0 -1
- package/dist/components/areArraysEqual.js +0 -1
- package/dist/components/avatar.js +0 -1
- package/dist/components/base-link.js +0 -1
- package/dist/components/bem.js +0 -1
- package/dist/components/button.js +0 -1
- package/dist/components/calculation.js +0 -1
- package/dist/components/calendly.js +0 -1
- package/dist/components/card.js +0 -1
- package/dist/components/carousel.js +0 -1
- package/dist/components/chip.js +0 -1
- package/dist/components/datePicker.js +0 -1
- package/dist/components/dialog.js +0 -1
- package/dist/components/drawer.js +0 -1
- package/dist/components/form.js +0 -1
- package/dist/components/grid.js +0 -1
- package/dist/components/headline.js +0 -1
- package/dist/components/icon.js +0 -1
- package/dist/components/image-text.js +0 -1
- package/dist/components/image.js +0 -1
- package/dist/components/input.js +0 -1
- package/dist/components/inputOTP.js +0 -1
- package/dist/components/jsx-runtime.js +0 -22
- package/dist/components/label.js +0 -1
- package/dist/components/link.js +0 -1
- package/dist/components/list.js +0 -1
- package/dist/components/loading.js +0 -1
- package/dist/components/lottie.js +0 -1
- package/dist/components/map.js +0 -1
- package/dist/components/post-item.js +0 -1
- package/dist/components/post-teaser.js +0 -1
- package/dist/components/post-widget-carousel.js +0 -1
- package/dist/components/post-widget.js +0 -1
- package/dist/components/quote.js +0 -1
- package/dist/components/rich-text.js +0 -1
- package/dist/components/select.js +0 -1
- package/dist/components/skeleton.js +0 -1
- package/dist/components/slider.js +0 -1
- package/dist/components/stepper.js +0 -1
- package/dist/components/switch.js +0 -1
- package/dist/components/table.js +0 -1
- package/dist/components/teaser.js +0 -1
- package/dist/components/useControlled.js +0 -3
- package/dist/components/validations.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -84
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
import * as g from "react";
|
|
2
|
+
import Ae from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useControlled/useControlled.js";
|
|
3
|
+
import R from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/clamp/clamp.js";
|
|
4
|
+
import De from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js";
|
|
5
|
+
import Ce from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js";
|
|
6
|
+
import J from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js";
|
|
7
|
+
import U from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js";
|
|
8
|
+
import Q from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js";
|
|
9
|
+
import Me from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js";
|
|
10
|
+
import { areArraysEqual as Ne } from "../utils/areArraysEqual.js";
|
|
11
|
+
import ae from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js";
|
|
12
|
+
const Re = 2;
|
|
13
|
+
function pe(n, u) {
|
|
14
|
+
return n - u;
|
|
15
|
+
}
|
|
16
|
+
function fe(n, u) {
|
|
17
|
+
const {
|
|
18
|
+
index: s
|
|
19
|
+
} = n.reduce((r, m, T) => {
|
|
20
|
+
const b = Math.abs(u - m);
|
|
21
|
+
return r === null || b < r.distance || b === r.distance ? {
|
|
22
|
+
distance: b,
|
|
23
|
+
index: T
|
|
24
|
+
} : r;
|
|
25
|
+
}, null) ?? {};
|
|
26
|
+
return s;
|
|
27
|
+
}
|
|
28
|
+
function B(n, u) {
|
|
29
|
+
if (u.current !== void 0 && n.changedTouches) {
|
|
30
|
+
const s = n;
|
|
31
|
+
for (let r = 0; r < s.changedTouches.length; r += 1) {
|
|
32
|
+
const m = s.changedTouches[r];
|
|
33
|
+
if (m.identifier === u.current)
|
|
34
|
+
return {
|
|
35
|
+
x: m.clientX,
|
|
36
|
+
y: m.clientY
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
return !1;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
x: n.clientX,
|
|
43
|
+
y: n.clientY
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function le(n, u, s) {
|
|
47
|
+
return (n - u) * 100 / (s - u);
|
|
48
|
+
}
|
|
49
|
+
function Ve(n, u, s) {
|
|
50
|
+
return (s - u) * n + u;
|
|
51
|
+
}
|
|
52
|
+
function Oe(n) {
|
|
53
|
+
if (Math.abs(n) < 1) {
|
|
54
|
+
const s = n.toExponential().split("e-"), r = s[0].split(".")[1];
|
|
55
|
+
return (r ? r.length : 0) + parseInt(s[1], 10);
|
|
56
|
+
}
|
|
57
|
+
const u = n.toString().split(".")[1];
|
|
58
|
+
return u ? u.length : 0;
|
|
59
|
+
}
|
|
60
|
+
function Pe(n, u, s) {
|
|
61
|
+
const r = Math.round((n - s) / u) * u + s;
|
|
62
|
+
return Number(r.toFixed(Oe(u)));
|
|
63
|
+
}
|
|
64
|
+
function de({
|
|
65
|
+
values: n,
|
|
66
|
+
newValue: u,
|
|
67
|
+
index: s
|
|
68
|
+
}) {
|
|
69
|
+
const r = n.slice();
|
|
70
|
+
return r[s] = u, r.sort(pe);
|
|
71
|
+
}
|
|
72
|
+
function _({
|
|
73
|
+
sliderRef: n,
|
|
74
|
+
activeIndex: u,
|
|
75
|
+
setActive: s
|
|
76
|
+
}) {
|
|
77
|
+
var m, T, b;
|
|
78
|
+
const r = U(n.current);
|
|
79
|
+
(!((m = n.current) != null && m.contains(r.activeElement)) || Number((T = r == null ? void 0 : r.activeElement) == null ? void 0 : T.getAttribute("data-index")) !== u) && ((b = n.current) == null || b.querySelector(`[type="range"][data-index="${u}"]`).focus()), s && s(u);
|
|
80
|
+
}
|
|
81
|
+
function j(n, u) {
|
|
82
|
+
return typeof n == "number" && typeof u == "number" ? n === u : typeof n == "object" && typeof u == "object" ? Ne(n, u) : !1;
|
|
83
|
+
}
|
|
84
|
+
const Fe = {
|
|
85
|
+
horizontal: {
|
|
86
|
+
offset: (n) => ({
|
|
87
|
+
left: `${n}%`
|
|
88
|
+
}),
|
|
89
|
+
leap: (n) => ({
|
|
90
|
+
width: `${n}%`
|
|
91
|
+
})
|
|
92
|
+
},
|
|
93
|
+
"horizontal-reverse": {
|
|
94
|
+
offset: (n) => ({
|
|
95
|
+
right: `${n}%`
|
|
96
|
+
}),
|
|
97
|
+
leap: (n) => ({
|
|
98
|
+
width: `${n}%`
|
|
99
|
+
})
|
|
100
|
+
},
|
|
101
|
+
vertical: {
|
|
102
|
+
offset: (n) => ({
|
|
103
|
+
bottom: `${n}%`
|
|
104
|
+
}),
|
|
105
|
+
leap: (n) => ({
|
|
106
|
+
height: `${n}%`
|
|
107
|
+
})
|
|
108
|
+
}
|
|
109
|
+
}, $e = (n) => n;
|
|
110
|
+
let q;
|
|
111
|
+
function me() {
|
|
112
|
+
return q === void 0 && (typeof CSS < "u" && typeof CSS.supports == "function" ? q = CSS.supports("touch-action", "none") : q = !0), q;
|
|
113
|
+
}
|
|
114
|
+
function Ze(n) {
|
|
115
|
+
const {
|
|
116
|
+
"aria-labelledby": u,
|
|
117
|
+
defaultValue: s,
|
|
118
|
+
disabled: r = !1,
|
|
119
|
+
disableSwap: m = !1,
|
|
120
|
+
isRtl: T = !1,
|
|
121
|
+
marks: b = !1,
|
|
122
|
+
max: y = 100,
|
|
123
|
+
min: d = 0,
|
|
124
|
+
name: Z,
|
|
125
|
+
onChange: H,
|
|
126
|
+
onChangeCommitted: V,
|
|
127
|
+
orientation: X = "horizontal",
|
|
128
|
+
rootRef: ge,
|
|
129
|
+
scale: ee = $e,
|
|
130
|
+
step: I = 1,
|
|
131
|
+
shiftStep: te = 10,
|
|
132
|
+
tabIndex: be,
|
|
133
|
+
value: ye
|
|
134
|
+
} = n, k = g.useRef(void 0), [O, A] = g.useState(-1), [xe, D] = g.useState(-1), [ne, oe] = g.useState(!1), P = g.useRef(0), [S, F] = Ae({
|
|
135
|
+
controlled: ye,
|
|
136
|
+
default: s ?? d,
|
|
137
|
+
name: "Slider"
|
|
138
|
+
}), v = H && ((e, t, o) => {
|
|
139
|
+
const c = e.nativeEvent || e, a = new c.constructor(c.type, c);
|
|
140
|
+
Object.defineProperty(a, "target", {
|
|
141
|
+
writable: !0,
|
|
142
|
+
value: {
|
|
143
|
+
value: t,
|
|
144
|
+
name: Z
|
|
145
|
+
}
|
|
146
|
+
}), H(a, t, o);
|
|
147
|
+
}), C = Array.isArray(S);
|
|
148
|
+
let f = C ? S.slice().sort(pe) : [S];
|
|
149
|
+
f = f.map((e) => e == null ? d : R(e, d, y));
|
|
150
|
+
const Y = b === !0 && I !== null ? [...Array(Math.floor((y - d) / I) + 1)].map((e, t) => ({
|
|
151
|
+
value: d + I * t
|
|
152
|
+
})) : b || [], x = Y.map((e) => e.value), [ue, $] = g.useState(-1), p = g.useRef(null), ie = De(ge, p), he = (e) => (t) => {
|
|
153
|
+
var c;
|
|
154
|
+
const o = Number(t.currentTarget.getAttribute("data-index"));
|
|
155
|
+
ae(t.target) && $(o), D(o), (c = e == null ? void 0 : e.onFocus) == null || c.call(e, t);
|
|
156
|
+
}, ve = (e) => (t) => {
|
|
157
|
+
var o;
|
|
158
|
+
ae(t.target) || $(-1), D(-1), (o = e == null ? void 0 : e.onBlur) == null || o.call(e, t);
|
|
159
|
+
}, re = (e, t) => {
|
|
160
|
+
const o = Number(e.currentTarget.getAttribute("data-index")), c = f[o], a = x.indexOf(c);
|
|
161
|
+
let i = t;
|
|
162
|
+
if (Y && I == null) {
|
|
163
|
+
const h = x[x.length - 1];
|
|
164
|
+
i > h ? i = h : i < x[0] ? i = x[0] : i = i < c ? x[a - 1] : x[a + 1];
|
|
165
|
+
}
|
|
166
|
+
if (i = R(i, d, y), C) {
|
|
167
|
+
m && (i = R(i, f[o - 1] || -1 / 0, f[o + 1] || 1 / 0));
|
|
168
|
+
const h = i;
|
|
169
|
+
i = de({
|
|
170
|
+
values: f,
|
|
171
|
+
newValue: i,
|
|
172
|
+
index: o
|
|
173
|
+
});
|
|
174
|
+
let w = o;
|
|
175
|
+
m || (w = i.indexOf(h)), _({
|
|
176
|
+
sliderRef: p,
|
|
177
|
+
activeIndex: w
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
F(i), $(o), v && !j(i, S) && v(e, i, o), V && V(e, i);
|
|
181
|
+
}, we = (e) => (t) => {
|
|
182
|
+
var o;
|
|
183
|
+
if (I !== null) {
|
|
184
|
+
const c = Number(t.currentTarget.getAttribute("data-index")), a = f[c];
|
|
185
|
+
let i = null;
|
|
186
|
+
(t.key === "ArrowLeft" || t.key === "ArrowDown") && t.shiftKey || t.key === "PageDown" ? i = Math.max(a - te, d) : ((t.key === "ArrowRight" || t.key === "ArrowUp") && t.shiftKey || t.key === "PageUp") && (i = Math.min(a + te, y)), i !== null && (re(t, i), t.preventDefault());
|
|
187
|
+
}
|
|
188
|
+
(o = e == null ? void 0 : e.onKeyDown) == null || o.call(e, t);
|
|
189
|
+
};
|
|
190
|
+
Ce(() => {
|
|
191
|
+
var e;
|
|
192
|
+
r && p.current.contains(document.activeElement) && ((e = document.activeElement) == null || e.blur());
|
|
193
|
+
}, [r]), r && O !== -1 && A(-1), r && ue !== -1 && $(-1);
|
|
194
|
+
const Ee = (e) => (t) => {
|
|
195
|
+
var o;
|
|
196
|
+
(o = e.onChange) == null || o.call(e, t), re(t, t.target.valueAsNumber);
|
|
197
|
+
}, ce = g.useRef(void 0);
|
|
198
|
+
let K = X;
|
|
199
|
+
T && X === "horizontal" && (K += "-reverse");
|
|
200
|
+
const z = ({
|
|
201
|
+
finger: e,
|
|
202
|
+
move: t = !1
|
|
203
|
+
}) => {
|
|
204
|
+
const {
|
|
205
|
+
current: o
|
|
206
|
+
} = p, {
|
|
207
|
+
width: c,
|
|
208
|
+
height: a,
|
|
209
|
+
bottom: i,
|
|
210
|
+
left: h
|
|
211
|
+
} = o.getBoundingClientRect();
|
|
212
|
+
let w;
|
|
213
|
+
K.startsWith("vertical") ? w = (i - e.y) / a : w = (e.x - h) / c, K.indexOf("-reverse") !== -1 && (w = 1 - w);
|
|
214
|
+
let l;
|
|
215
|
+
if (l = Ve(w, d, y), I)
|
|
216
|
+
l = Pe(l, I, d);
|
|
217
|
+
else {
|
|
218
|
+
const W = fe(x, l);
|
|
219
|
+
l = x[W];
|
|
220
|
+
}
|
|
221
|
+
l = R(l, d, y);
|
|
222
|
+
let E = 0;
|
|
223
|
+
if (C) {
|
|
224
|
+
t ? E = ce.current : E = fe(f, l), m && (l = R(l, f[E - 1] || -1 / 0, f[E + 1] || 1 / 0));
|
|
225
|
+
const W = l;
|
|
226
|
+
l = de({
|
|
227
|
+
values: f,
|
|
228
|
+
newValue: l,
|
|
229
|
+
index: E
|
|
230
|
+
}), m && t || (E = l.indexOf(W), ce.current = E);
|
|
231
|
+
}
|
|
232
|
+
return {
|
|
233
|
+
newValue: l,
|
|
234
|
+
activeIndex: E
|
|
235
|
+
};
|
|
236
|
+
}, M = J((e) => {
|
|
237
|
+
const t = B(e, k);
|
|
238
|
+
if (!t)
|
|
239
|
+
return;
|
|
240
|
+
if (P.current += 1, e.type === "mousemove" && e.buttons === 0) {
|
|
241
|
+
L(e);
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
const {
|
|
245
|
+
newValue: o,
|
|
246
|
+
activeIndex: c
|
|
247
|
+
} = z({
|
|
248
|
+
finger: t,
|
|
249
|
+
move: !0
|
|
250
|
+
});
|
|
251
|
+
_({
|
|
252
|
+
sliderRef: p,
|
|
253
|
+
activeIndex: c,
|
|
254
|
+
setActive: A
|
|
255
|
+
}), F(o), !ne && P.current > Re && oe(!0), v && !j(o, S) && v(e, o, c);
|
|
256
|
+
}), L = J((e) => {
|
|
257
|
+
const t = B(e, k);
|
|
258
|
+
if (oe(!1), !t)
|
|
259
|
+
return;
|
|
260
|
+
const {
|
|
261
|
+
newValue: o
|
|
262
|
+
} = z({
|
|
263
|
+
finger: t,
|
|
264
|
+
move: !0
|
|
265
|
+
});
|
|
266
|
+
A(-1), e.type === "touchend" && D(-1), V && V(e, o), k.current = void 0, N();
|
|
267
|
+
}), G = J((e) => {
|
|
268
|
+
if (r)
|
|
269
|
+
return;
|
|
270
|
+
me() || e.preventDefault();
|
|
271
|
+
const t = e.changedTouches[0];
|
|
272
|
+
t != null && (k.current = t.identifier);
|
|
273
|
+
const o = B(e, k);
|
|
274
|
+
if (o !== !1) {
|
|
275
|
+
const {
|
|
276
|
+
newValue: a,
|
|
277
|
+
activeIndex: i
|
|
278
|
+
} = z({
|
|
279
|
+
finger: o
|
|
280
|
+
});
|
|
281
|
+
_({
|
|
282
|
+
sliderRef: p,
|
|
283
|
+
activeIndex: i,
|
|
284
|
+
setActive: A
|
|
285
|
+
}), F(a), v && !j(a, S) && v(e, a, i);
|
|
286
|
+
}
|
|
287
|
+
P.current = 0;
|
|
288
|
+
const c = U(p.current);
|
|
289
|
+
c.addEventListener("touchmove", M, {
|
|
290
|
+
passive: !0
|
|
291
|
+
}), c.addEventListener("touchend", L, {
|
|
292
|
+
passive: !0
|
|
293
|
+
});
|
|
294
|
+
}), N = g.useCallback(() => {
|
|
295
|
+
const e = U(p.current);
|
|
296
|
+
e.removeEventListener("mousemove", M), e.removeEventListener("mouseup", L), e.removeEventListener("touchmove", M), e.removeEventListener("touchend", L);
|
|
297
|
+
}, [L, M]);
|
|
298
|
+
g.useEffect(() => {
|
|
299
|
+
const {
|
|
300
|
+
current: e
|
|
301
|
+
} = p;
|
|
302
|
+
return e.addEventListener("touchstart", G, {
|
|
303
|
+
passive: me()
|
|
304
|
+
}), () => {
|
|
305
|
+
e.removeEventListener("touchstart", G), N();
|
|
306
|
+
};
|
|
307
|
+
}, [N, G]), g.useEffect(() => {
|
|
308
|
+
r && N();
|
|
309
|
+
}, [r, N]);
|
|
310
|
+
const Te = (e) => (t) => {
|
|
311
|
+
var a;
|
|
312
|
+
if ((a = e.onMouseDown) == null || a.call(e, t), r || t.defaultPrevented || t.button !== 0)
|
|
313
|
+
return;
|
|
314
|
+
t.preventDefault();
|
|
315
|
+
const o = B(t, k);
|
|
316
|
+
if (o !== !1) {
|
|
317
|
+
const {
|
|
318
|
+
newValue: i,
|
|
319
|
+
activeIndex: h
|
|
320
|
+
} = z({
|
|
321
|
+
finger: o
|
|
322
|
+
});
|
|
323
|
+
_({
|
|
324
|
+
sliderRef: p,
|
|
325
|
+
activeIndex: h,
|
|
326
|
+
setActive: A
|
|
327
|
+
}), F(i), v && !j(i, S) && v(t, i, h);
|
|
328
|
+
}
|
|
329
|
+
P.current = 0;
|
|
330
|
+
const c = U(p.current);
|
|
331
|
+
c.addEventListener("mousemove", M, {
|
|
332
|
+
passive: !0
|
|
333
|
+
}), c.addEventListener("mouseup", L);
|
|
334
|
+
}, se = le(C ? f[0] : d, d, y), Ie = le(f[f.length - 1], d, y) - se, Se = (e = {}) => {
|
|
335
|
+
const t = Q(e), o = {
|
|
336
|
+
onMouseDown: Te(t || {})
|
|
337
|
+
}, c = {
|
|
338
|
+
...t,
|
|
339
|
+
...o
|
|
340
|
+
};
|
|
341
|
+
return {
|
|
342
|
+
...e,
|
|
343
|
+
ref: ie,
|
|
344
|
+
...c
|
|
345
|
+
};
|
|
346
|
+
}, ke = (e) => (t) => {
|
|
347
|
+
var c;
|
|
348
|
+
(c = e.onMouseOver) == null || c.call(e, t);
|
|
349
|
+
const o = Number(t.currentTarget.getAttribute("data-index"));
|
|
350
|
+
D(o);
|
|
351
|
+
}, Le = (e) => (t) => {
|
|
352
|
+
var o;
|
|
353
|
+
(o = e.onMouseLeave) == null || o.call(e, t), D(-1);
|
|
354
|
+
};
|
|
355
|
+
return {
|
|
356
|
+
active: O,
|
|
357
|
+
axis: K,
|
|
358
|
+
axisProps: Fe,
|
|
359
|
+
dragging: ne,
|
|
360
|
+
focusedThumbIndex: ue,
|
|
361
|
+
getHiddenInputProps: (e = {}) => {
|
|
362
|
+
const t = Q(e), o = {
|
|
363
|
+
onChange: Ee(t || {}),
|
|
364
|
+
onFocus: he(t || {}),
|
|
365
|
+
onBlur: ve(t || {}),
|
|
366
|
+
onKeyDown: we(t || {})
|
|
367
|
+
}, c = {
|
|
368
|
+
...t,
|
|
369
|
+
...o
|
|
370
|
+
};
|
|
371
|
+
return {
|
|
372
|
+
tabIndex: be,
|
|
373
|
+
"aria-labelledby": u,
|
|
374
|
+
"aria-orientation": X,
|
|
375
|
+
"aria-valuemax": ee(y),
|
|
376
|
+
"aria-valuemin": ee(d),
|
|
377
|
+
name: Z,
|
|
378
|
+
type: "range",
|
|
379
|
+
min: n.min,
|
|
380
|
+
max: n.max,
|
|
381
|
+
step: n.step === null && n.marks ? "any" : n.step ?? void 0,
|
|
382
|
+
disabled: r,
|
|
383
|
+
...e,
|
|
384
|
+
...c,
|
|
385
|
+
style: {
|
|
386
|
+
...Me,
|
|
387
|
+
direction: T ? "rtl" : "ltr",
|
|
388
|
+
// So that VoiceOver's focus indicator matches the thumb's dimensions
|
|
389
|
+
width: "100%",
|
|
390
|
+
height: "100%"
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
},
|
|
394
|
+
getRootProps: Se,
|
|
395
|
+
getThumbProps: (e = {}) => {
|
|
396
|
+
const t = Q(e), o = {
|
|
397
|
+
onMouseOver: ke(t || {}),
|
|
398
|
+
onMouseLeave: Le(t || {})
|
|
399
|
+
};
|
|
400
|
+
return {
|
|
401
|
+
...e,
|
|
402
|
+
...t,
|
|
403
|
+
...o
|
|
404
|
+
};
|
|
405
|
+
},
|
|
406
|
+
marks: Y,
|
|
407
|
+
open: xe,
|
|
408
|
+
range: C,
|
|
409
|
+
rootRef: ie,
|
|
410
|
+
trackLeap: Ie,
|
|
411
|
+
trackOffset: se,
|
|
412
|
+
values: f,
|
|
413
|
+
getThumbStyle: (e) => ({
|
|
414
|
+
// So the non active thumb doesn't show its label on hover.
|
|
415
|
+
pointerEvents: O !== -1 && O !== e ? "none" : void 0
|
|
416
|
+
})
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
export {
|
|
420
|
+
$e as Identity,
|
|
421
|
+
Ze as useSlider,
|
|
422
|
+
le as valueToPercent
|
|
423
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as g from "react";
|
|
2
|
+
import y from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useControlled/useControlled.js";
|
|
3
|
+
import H from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js";
|
|
4
|
+
import R from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js";
|
|
5
|
+
function q(b) {
|
|
6
|
+
const {
|
|
7
|
+
checked: a,
|
|
8
|
+
defaultChecked: r,
|
|
9
|
+
disabled: n,
|
|
10
|
+
onBlur: u,
|
|
11
|
+
onChange: l,
|
|
12
|
+
onFocus: d,
|
|
13
|
+
onFocusVisible: i,
|
|
14
|
+
readOnly: k,
|
|
15
|
+
required: B
|
|
16
|
+
} = b, [C, F] = y({
|
|
17
|
+
controlled: a,
|
|
18
|
+
default: !!r,
|
|
19
|
+
name: "Switch",
|
|
20
|
+
state: "checked"
|
|
21
|
+
}), I = (e) => (c) => {
|
|
22
|
+
var t;
|
|
23
|
+
c.nativeEvent.defaultPrevented || (F(c.target.checked), l == null || l(c), (t = e.onChange) == null || t.call(e, c));
|
|
24
|
+
}, [o, f] = g.useState(!1);
|
|
25
|
+
n && o && f(!1);
|
|
26
|
+
const s = g.useRef(null), S = (e) => (c) => {
|
|
27
|
+
var t;
|
|
28
|
+
s.current || (s.current = c.currentTarget), R(c.target) && (f(!0), i == null || i(c)), d == null || d(c), (t = e.onFocus) == null || t.call(e, c);
|
|
29
|
+
}, w = (e) => (c) => {
|
|
30
|
+
var t;
|
|
31
|
+
R(c.target) || f(!1), u == null || u(c), (t = e.onBlur) == null || t.call(e, c);
|
|
32
|
+
}, m = H(s);
|
|
33
|
+
return {
|
|
34
|
+
checked: C,
|
|
35
|
+
disabled: !!n,
|
|
36
|
+
focusVisible: o,
|
|
37
|
+
getInputProps: (e = {}) => ({
|
|
38
|
+
checked: a,
|
|
39
|
+
defaultChecked: r,
|
|
40
|
+
disabled: n,
|
|
41
|
+
readOnly: k,
|
|
42
|
+
ref: m,
|
|
43
|
+
required: B,
|
|
44
|
+
type: "checkbox",
|
|
45
|
+
role: "switch",
|
|
46
|
+
"aria-checked": a,
|
|
47
|
+
...e,
|
|
48
|
+
onChange: I(e),
|
|
49
|
+
onFocus: S(e),
|
|
50
|
+
onBlur: w(e)
|
|
51
|
+
}),
|
|
52
|
+
inputRef: m,
|
|
53
|
+
readOnly: !!k
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
q as useSwitch
|
|
58
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
function x(e) {
|
|
3
|
+
const [f, r] = t.useState(!0), i = t.useRef(!1), n = t.useRef(0), [l, a] = t.useState(!1), o = t.useRef(e);
|
|
4
|
+
t.useEffect(() => {
|
|
5
|
+
!e && // checking registeredTransitions.current instead of hasTransition to avoid this effect re-firing whenever hasTransition changes
|
|
6
|
+
n.current > 0 && // prevents waiting for a pending transition right after mounting
|
|
7
|
+
o.current !== e && (i.current = !0, r(!1)), o.current = e;
|
|
8
|
+
}, [e]);
|
|
9
|
+
const c = t.useCallback(() => {
|
|
10
|
+
i.current = !1, r(!0);
|
|
11
|
+
}, []), u = t.useCallback(() => (n.current += 1, a(!0), () => {
|
|
12
|
+
n.current -= 1, n.current === 0 && a(!1);
|
|
13
|
+
}), []);
|
|
14
|
+
let s;
|
|
15
|
+
return l ? e ? s = !1 : s = !i.current && f : s = !e, {
|
|
16
|
+
contextValue: t.useMemo(() => ({
|
|
17
|
+
requestedEnter: e,
|
|
18
|
+
onExited: c,
|
|
19
|
+
registerTransition: u,
|
|
20
|
+
hasExited: s
|
|
21
|
+
}), [c, e, u, s]),
|
|
22
|
+
hasExited: s
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
x as useTransitionTrigger
|
|
27
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import "../../../../../../../_virtual/jsx-runtime.js";
|
|
3
|
+
const r = {
|
|
4
|
+
disableDefaultClasses: !1
|
|
5
|
+
}, t = /* @__PURE__ */ e.createContext(r);
|
|
6
|
+
process.env.NODE_ENV !== "production" && (t.displayName = "ClassNameConfiguratorContext");
|
|
7
|
+
function l(s) {
|
|
8
|
+
const {
|
|
9
|
+
disableDefaultClasses: a
|
|
10
|
+
} = e.useContext(t);
|
|
11
|
+
return (o) => a ? "" : s(o);
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
l as useClassNamesOverride
|
|
15
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
function g(u, e) {
|
|
3
|
+
return u === e;
|
|
4
|
+
}
|
|
5
|
+
const S = {}, R = () => {
|
|
6
|
+
};
|
|
7
|
+
function m(u, e) {
|
|
8
|
+
const l = {
|
|
9
|
+
...u
|
|
10
|
+
};
|
|
11
|
+
return Object.keys(e).forEach((o) => {
|
|
12
|
+
e[o] !== void 0 && (l[o] = e[o]);
|
|
13
|
+
}), l;
|
|
14
|
+
}
|
|
15
|
+
function x(u) {
|
|
16
|
+
const {
|
|
17
|
+
nextState: e,
|
|
18
|
+
initialState: l,
|
|
19
|
+
stateComparers: o,
|
|
20
|
+
onStateChange: t,
|
|
21
|
+
controlledProps: p,
|
|
22
|
+
lastActionRef: s
|
|
23
|
+
} = u, f = c.useRef(l);
|
|
24
|
+
c.useEffect(() => {
|
|
25
|
+
if (s.current === null)
|
|
26
|
+
return;
|
|
27
|
+
const a = m(f.current, p);
|
|
28
|
+
Object.keys(e).forEach((i) => {
|
|
29
|
+
const C = o[i] ?? g, r = e[i], d = a[i];
|
|
30
|
+
(d == null && r != null || d != null && r == null || d != null && r != null && !C(r, d)) && (t == null || t(s.current.event ?? null, i, r, s.current.type ?? "", e));
|
|
31
|
+
}), f.current = e, s.current = null;
|
|
32
|
+
}, [f, e, s, t, o, p]);
|
|
33
|
+
}
|
|
34
|
+
function $(u) {
|
|
35
|
+
const e = c.useRef(null), {
|
|
36
|
+
reducer: l,
|
|
37
|
+
initialState: o,
|
|
38
|
+
controlledProps: t = S,
|
|
39
|
+
stateComparers: p = S,
|
|
40
|
+
onStateChange: s = R,
|
|
41
|
+
actionContext: f,
|
|
42
|
+
componentName: a = ""
|
|
43
|
+
} = u, i = c.useRef(t);
|
|
44
|
+
process.env.NODE_ENV !== "production" && c.useEffect(() => {
|
|
45
|
+
Object.keys(t).forEach((n) => {
|
|
46
|
+
i.current[n] !== void 0 && t[n] === void 0 && console.error(`useControllableReducer: ${a ? `The ${a} component` : "A component"} is changing a controlled prop to be uncontrolled: ${n}`), i.current[n] === void 0 && t[n] !== void 0 && console.error(`useControllableReducer: ${a ? `The ${a} component` : "A component"} is changing an uncontrolled prop to be controlled: ${n}`);
|
|
47
|
+
});
|
|
48
|
+
}, [t, a]);
|
|
49
|
+
const C = c.useCallback((n, h) => {
|
|
50
|
+
e.current = h;
|
|
51
|
+
const E = m(n, t);
|
|
52
|
+
return l(E, h);
|
|
53
|
+
}, [t, l]), [r, d] = c.useReducer(C, o), b = c.useCallback((n) => {
|
|
54
|
+
d({
|
|
55
|
+
...n,
|
|
56
|
+
context: f
|
|
57
|
+
});
|
|
58
|
+
}, [f]);
|
|
59
|
+
return x({
|
|
60
|
+
nextState: r,
|
|
61
|
+
initialState: o,
|
|
62
|
+
stateComparers: p ?? S,
|
|
63
|
+
onStateChange: s ?? R,
|
|
64
|
+
controlledProps: t,
|
|
65
|
+
lastActionRef: e
|
|
66
|
+
}), [m(r, t), b];
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
$ as useControllableReducer
|
|
70
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as m from "react";
|
|
2
|
+
function p(n) {
|
|
3
|
+
const {
|
|
4
|
+
rootElementName: e = "",
|
|
5
|
+
componentName: t
|
|
6
|
+
} = n, [o, r] = m.useState(e.toUpperCase());
|
|
7
|
+
process.env.NODE_ENV !== "production" && m.useEffect(() => {
|
|
8
|
+
e && o !== e.toUpperCase() && console.error(`useRootElementName: the \`rootElementName\` prop of ${t ? `the ${t} component` : "a component"} expected the '${e}' element, but a '${o.toLowerCase()}' was rendered instead`, "This may cause hydration issues in an SSR context, for example in a Next.js app");
|
|
9
|
+
}, [e, o, t]);
|
|
10
|
+
const s = m.useCallback((a) => {
|
|
11
|
+
r((a == null ? void 0 : a.tagName) ?? "");
|
|
12
|
+
}, []);
|
|
13
|
+
return [o, s];
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
p as useRootElementName
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
const c = 500;
|
|
3
|
+
function o(i) {
|
|
4
|
+
const a = n.useRef({
|
|
5
|
+
searchString: "",
|
|
6
|
+
lastTime: null
|
|
7
|
+
});
|
|
8
|
+
return n.useCallback((t) => {
|
|
9
|
+
if (t.key.length === 1 && t.key !== " ") {
|
|
10
|
+
const e = a.current, r = t.key.toLowerCase(), s = performance.now();
|
|
11
|
+
e.searchString.length > 0 && e.lastTime && s - e.lastTime > c ? e.searchString = r : (e.searchString.length !== 1 || r !== e.searchString) && (e.searchString += r), e.lastTime = s, i(e.searchString, t);
|
|
12
|
+
}
|
|
13
|
+
}, [i]);
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
o as useTextNavigation
|
|
17
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
function p(r, n, l, t, u) {
|
|
2
|
+
if (process.env.NODE_ENV === "production")
|
|
3
|
+
return null;
|
|
4
|
+
const e = r[n], o = u || n;
|
|
5
|
+
return e == null ? null : e && e.nodeType !== 1 ? new Error(`Invalid ${t} \`${o}\` supplied to \`${l}\`. Expected an HTMLElement.`) : null;
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
p as default
|
|
9
|
+
};
|