@prokodo/ui 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -1
- package/dist/_virtual/index.js +7 -1
- package/dist/_virtual/index2.js +4 -1
- package/dist/_virtual/index3.js +4 -1
- package/dist/_virtual/jsx-runtime.js +5 -1
- package/dist/_virtual/jsx-runtime2.js +4 -1
- package/dist/_virtual/react-is.development.js +4 -1
- package/dist/_virtual/react-is.production.min.js +4 -1
- package/dist/_virtual/react-jsx-runtime.development.js +4 -1
- package/dist/_virtual/react-jsx-runtime.production.js +4 -1
- package/dist/assets/images/card_background_primary_1.webp.js +4 -1
- package/dist/assets/images/card_background_primary_2.webp.js +4 -1
- package/dist/assets/images/card_background_primary_3.webp.js +4 -1
- package/dist/assets/images/card_background_primary_4.webp.js +4 -1
- package/dist/assets/images/card_background_secondary_1.webp.js +4 -1
- package/dist/assets/images/card_background_secondary_2.webp.js +4 -1
- package/dist/assets/images/card_background_secondary_3.webp.js +4 -1
- package/dist/assets/images/card_background_secondary_4.webp.js +4 -1
- package/dist/components/accordion/Accordion.js +115 -1
- package/dist/components/accordion/Accordion.module.scss.js +23 -1
- package/dist/components/accordion/index.js +4 -1
- package/dist/components/animated/Animated.js +53 -1
- package/dist/components/animated/Animated.module.scss.js +18 -1
- package/dist/components/animated/index.js +4 -1
- package/dist/components/animatedText/AnimatedText.js +31 -1
- package/dist/components/animatedText/index.js +4 -1
- package/dist/components/avatar/Avatar.js +78 -1
- package/dist/components/avatar/Avatar.module.scss.js +24 -1
- package/dist/components/avatar/index.js +4 -1
- package/dist/components/base-link/BaseLink.js +30 -1
- package/dist/components/base-link/index.js +4 -1
- package/dist/components/button/Button.js +84 -1
- package/dist/components/button/Button.module.scss.js +34 -1
- package/dist/components/button/index.js +4 -1
- package/dist/components/calendly/Calendly.js +82 -1
- package/dist/components/calendly/index.js +4 -1
- package/dist/components/card/Card.js +180 -1
- package/dist/components/card/Card.module.scss.js +38 -1
- package/dist/components/card/index.js +4 -1
- package/dist/components/carousel/Carousel.js +232 -1
- package/dist/components/carousel/Carousel.module.scss.js +21 -1
- package/dist/components/carousel/Carousel.services.js +22 -1
- package/dist/components/carousel/index.js +4 -1
- package/dist/components/chip/Chip.js +61 -1
- package/dist/components/chip/Chip.module.scss.js +26 -1
- package/dist/components/chip/index.js +4 -1
- package/dist/components/datePicker/DatePicker.js +93 -1
- package/dist/components/datePicker/index.js +4 -1
- package/dist/components/dialog/Dialog.js +156 -1
- package/dist/components/dialog/Dialog.module.scss.js +23 -1
- package/dist/components/dialog/index.js +4 -1
- package/dist/components/drawer/Drawer.js +94 -1
- package/dist/components/drawer/Drawer.module.scss.js +37 -1
- package/dist/components/drawer/index.js +6 -1
- package/dist/components/form/Form.js +228 -1
- package/dist/components/form/Form.module.scss.js +13 -1
- package/dist/components/form/FormField.js +96 -1
- package/dist/components/form/FormField.module.scss.js +10 -1
- package/dist/components/form/FormResponse.js +43 -1
- package/dist/components/form/FormResponse.module.scss.js +14 -1
- package/dist/components/form/index.js +6 -1
- package/dist/components/grid/Grid.js +21 -1
- package/dist/components/grid/Grid.module.scss.js +10 -1
- package/dist/components/grid/GridRow.js +29 -1
- package/dist/components/grid/GridRow.module.scss.js +73 -1
- package/dist/components/grid/index.js +6 -1
- package/dist/components/headline/Headline.js +71 -1
- package/dist/components/headline/Headline.module.scss.js +34 -1
- package/dist/components/headline/index.js +5 -1
- package/dist/components/icon/Icon.js +60 -1
- package/dist/components/icon/Icon.module.scss.js +16 -1
- package/dist/components/icon/iconsMap.js +4131 -1
- package/dist/components/icon/index.js +5 -1
- package/dist/components/image/Image.js +29 -1
- package/dist/components/image/Image.module.scss.js +11 -1
- package/dist/components/image/index.js +4 -1
- package/dist/components/image-text/ImageText.js +99 -1
- package/dist/components/image-text/ImageText.module.scss.js +22 -1
- package/dist/components/image-text/index.js +4 -1
- package/dist/components/input/Input.js +189 -1
- package/dist/components/input/Input.module.scss.js +30 -1
- package/dist/components/input/InputValidation.js +52 -1
- package/dist/components/input/index.js +4 -1
- package/dist/components/inputOTP/InputOTP.js +79 -1
- package/dist/components/inputOTP/InputOTP.module.scss.js +16 -1
- package/dist/components/inputOTP/index.js +4 -1
- package/dist/components/label/Label.js +65 -1
- package/dist/components/label/Label.module.scss.js +13 -1
- package/dist/components/label/index.js +4 -1
- package/dist/components/link/Link.js +58 -1
- package/dist/components/link/Link.module.scss.js +18 -1
- package/dist/components/link/index.js +4 -1
- package/dist/components/list/List.js +172 -1
- package/dist/components/list/List.module.scss.js +31 -1
- package/dist/components/list/index.js +4 -1
- package/dist/components/loading/Loading.js +57 -1
- package/dist/components/loading/Loading.module.scss.js +19 -1
- package/dist/components/loading/index.js +4 -1
- package/dist/components/lottie/Lottie.js +55 -1
- package/dist/components/lottie/Lottie.module.scss.js +10 -1
- package/dist/components/lottie/LottieAnimations.js +35 -1
- package/dist/components/lottie/index.js +4 -1
- package/dist/components/map/Map.js +51 -1
- package/dist/components/map/index.js +4 -1
- package/dist/components/post-item/PostItem.js +136 -1
- package/dist/components/post-item/PostItem.module.scss.js +22 -1
- package/dist/components/post-item/PostItemAuthor.js +37 -1
- package/dist/components/post-item/PostItemAuthor.module.scss.js +11 -1
- package/dist/components/post-item/index.js +4 -1
- package/dist/components/post-teaser/PostTeaser.js +168 -1
- package/dist/components/post-teaser/PostTeaser.module.scss.js +25 -1
- package/dist/components/post-teaser/index.js +4 -1
- package/dist/components/post-widget/PostWidget.js +158 -1
- package/dist/components/post-widget/PostWidget.module.scss.js +19 -1
- package/dist/components/post-widget/index.js +4 -1
- package/dist/components/post-widget-carousel/PostWidgetCarousel.js +159 -1
- package/dist/components/post-widget-carousel/PostWidgetCarousel.module.scss.js +16 -1
- package/dist/components/post-widget-carousel/index.js +4 -1
- package/dist/components/quote/Quote.js +90 -1
- package/dist/components/quote/Quote.module.scss.js +18 -1
- package/dist/components/quote/index.js +4 -1
- package/dist/components/rich-text/RichText.js +143 -1
- package/dist/components/rich-text/RichText.module.scss.js +16 -1
- package/dist/components/rich-text/index.js +4 -1
- package/dist/components/select/Select.js +199 -1
- package/dist/components/select/Select.module.scss.js +34 -1
- package/dist/components/select/index.js +4 -1
- package/dist/components/skeleton/Skeleton.js +29 -1
- package/dist/components/skeleton/Skeleton.module.scss.js +18 -1
- package/dist/components/skeleton/index.js +4 -1
- package/dist/components/slider/Slider.js +104 -1
- package/dist/components/slider/Slider.module.scss.js +20 -1
- package/dist/components/slider/index.js +4 -1
- package/dist/components/stepper/Stepper.js +119 -1
- package/dist/components/stepper/Stepper.module.scss.js +23 -1
- package/dist/components/stepper/index.js +4 -1
- package/dist/components/switch/Switch.js +102 -1
- package/dist/components/switch/Switch.module.scss.js +30 -1
- package/dist/components/switch/index.js +4 -1
- package/dist/components/table/Table.js +75 -1
- package/dist/components/table/Table.module.scss.js +27 -1
- package/dist/components/table/index.js +4 -1
- package/dist/components/teaser/Teaser.js +102 -1
- package/dist/components/teaser/Teaser.module.scss.js +23 -1
- package/dist/components/teaser/index.js +4 -1
- package/dist/helpers/bem.js +12 -1
- package/dist/helpers/calculation.js +4 -1
- package/dist/helpers/validations.js +8 -1
- package/dist/hooks/useGoogleMaps.js +19 -1
- package/dist/index.js +86 -1
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +353 -1
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +395 -1
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +170 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +131 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js +119 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/optionClasses.js +10 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Portal/Portal.js +71 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js +286 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/selectClasses.js +10 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/Slider.js +414 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/sliderClasses.js +10 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/Switch.js +158 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/switchClasses.js +10 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/Popup.js +205 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/PopupContext.js +6 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/popupClasses.js +10 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClass/index.js +15 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClasses/index.js +10 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useButton/useButton.js +79 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundItem.js +25 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundParent.js +47 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/ListContext.js +6 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listActions.types.js +14 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listReducer.js +223 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useList.js +150 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useListItem.js +61 -3
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOption.js +63 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOptionContextStabilizer.js +32 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/SelectProvider.js +34 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/defaultOptionStringifier.js +10 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/selectReducer.js +65 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.js +242 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.types.js +7 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSlider/useSlider.js +423 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSwitch/useSwitch.js +58 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/TransitionContext.js +6 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/useTransitionTrigger.js +27 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/ClassNameConfigurator.js +15 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/areArraysEqual.js +6 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/combineHooksSlotProps.js +15 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/isHostComponent.js +6 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/resolveComponentProps.js +6 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useControllableReducer.js +70 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useRootElementName.js +17 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useTextNavigation.js +17 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js +9 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +13 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +8 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/clamp/clamp.js +6 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +16 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/exactProp/exactProp.js +13 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js +11 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +17 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/getReactNodeRef/getReactNodeRef.js +12 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +12 -2
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js +6 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +48 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js +11 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +6 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js +6 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/setRef/setRef.js +6 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useControlled/useControlled.js +31 -3
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +5 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +14 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +12 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useId/useId.js +19 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +27 -1
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js +14 -1
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -1
- package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +51 -2
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +54 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +52 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +329 -2
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +17 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +7 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +89 -2
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +72 -2
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +10 -1
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.development.js +236 -3
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.production.js +28 -2
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +10 -1
- package/package.json +2 -4
|
@@ -1 +1,286 @@
|
|
|
1
|
-
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import e from "../../../../../../../_virtual/index.js";
|
|
3
|
+
import { Popup as ne } from "../Unstable_Popup/Popup.js";
|
|
4
|
+
import { getSelectUtilityClass as se } from "./selectClasses.js";
|
|
5
|
+
import { defaultOptionStringifier as le } from "../useSelect/defaultOptionStringifier.js";
|
|
6
|
+
import { useClassNamesOverride as re } from "../utils/ClassNameConfigurator.js";
|
|
7
|
+
import { SelectProvider as ae } from "../useSelect/SelectProvider.js";
|
|
8
|
+
import { j as n } from "../../../../../../../_virtual/jsx-runtime.js";
|
|
9
|
+
import pe 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";
|
|
10
|
+
import { useSelect as ie } from "../useSelect/useSelect.js";
|
|
11
|
+
import P 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";
|
|
12
|
+
import ue 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";
|
|
13
|
+
var j;
|
|
14
|
+
function ce(o) {
|
|
15
|
+
return Array.isArray(o) ? /* @__PURE__ */ n.jsx(t.Fragment, {
|
|
16
|
+
children: o.map((s) => s.label).join(", ")
|
|
17
|
+
}) : (o == null ? void 0 : o.label) ?? null;
|
|
18
|
+
}
|
|
19
|
+
function de(o) {
|
|
20
|
+
const {
|
|
21
|
+
active: s,
|
|
22
|
+
disabled: r,
|
|
23
|
+
open: p,
|
|
24
|
+
focusVisible: i
|
|
25
|
+
} = o;
|
|
26
|
+
return ue({
|
|
27
|
+
root: ["root", r && "disabled", i && "focusVisible", s && "active", p && "expanded"],
|
|
28
|
+
listbox: ["listbox", r && "disabled"],
|
|
29
|
+
popup: ["popup"]
|
|
30
|
+
}, re(se));
|
|
31
|
+
}
|
|
32
|
+
const fe = /* @__PURE__ */ t.forwardRef(function(s, r) {
|
|
33
|
+
const {
|
|
34
|
+
areOptionsEqual: p,
|
|
35
|
+
autoComplete: i,
|
|
36
|
+
autoFocus: u,
|
|
37
|
+
children: R,
|
|
38
|
+
defaultValue: T,
|
|
39
|
+
defaultListboxOpen: h = !1,
|
|
40
|
+
disabled: N,
|
|
41
|
+
getSerializedValue: F,
|
|
42
|
+
listboxId: B,
|
|
43
|
+
listboxOpen: E,
|
|
44
|
+
multiple: c = !1,
|
|
45
|
+
name: L,
|
|
46
|
+
required: A = !1,
|
|
47
|
+
onChange: q,
|
|
48
|
+
onListboxOpenChange: k,
|
|
49
|
+
getOptionAsString: w = le,
|
|
50
|
+
renderValue: D,
|
|
51
|
+
placeholder: I,
|
|
52
|
+
slotProps: d = {},
|
|
53
|
+
slots: f = {},
|
|
54
|
+
value: M,
|
|
55
|
+
...z
|
|
56
|
+
} = s, S = D ?? ce, [U, _] = t.useState(!1), m = t.useRef(null), H = t.useRef(null), y = f.root ?? "button", v = f.listbox ?? "ul", C = f.popup ?? "div", G = t.useCallback((l) => {
|
|
57
|
+
_(l != null);
|
|
58
|
+
}, []), J = pe(r, m, G);
|
|
59
|
+
t.useEffect(() => {
|
|
60
|
+
u && m.current.focus();
|
|
61
|
+
}, [u]);
|
|
62
|
+
const {
|
|
63
|
+
buttonActive: K,
|
|
64
|
+
buttonFocusVisible: Q,
|
|
65
|
+
contextValue: W,
|
|
66
|
+
disabled: X,
|
|
67
|
+
getButtonProps: Y,
|
|
68
|
+
getListboxProps: Z,
|
|
69
|
+
getHiddenInputProps: $,
|
|
70
|
+
getOptionMetadata: O,
|
|
71
|
+
value: b,
|
|
72
|
+
open: V
|
|
73
|
+
} = ie({
|
|
74
|
+
name: L,
|
|
75
|
+
required: A,
|
|
76
|
+
getSerializedValue: F,
|
|
77
|
+
areOptionsEqual: p,
|
|
78
|
+
buttonRef: J,
|
|
79
|
+
defaultOpen: h,
|
|
80
|
+
defaultValue: T,
|
|
81
|
+
disabled: N,
|
|
82
|
+
listboxId: B,
|
|
83
|
+
multiple: c,
|
|
84
|
+
open: E,
|
|
85
|
+
onChange: q,
|
|
86
|
+
onOpenChange: k,
|
|
87
|
+
getOptionAsString: w,
|
|
88
|
+
value: M,
|
|
89
|
+
componentName: "Select"
|
|
90
|
+
}), a = {
|
|
91
|
+
...s,
|
|
92
|
+
active: K,
|
|
93
|
+
defaultListboxOpen: h,
|
|
94
|
+
disabled: X,
|
|
95
|
+
focusVisible: Q,
|
|
96
|
+
open: V,
|
|
97
|
+
multiple: c,
|
|
98
|
+
renderValue: S,
|
|
99
|
+
value: b
|
|
100
|
+
}, x = de(a), ee = P({
|
|
101
|
+
elementType: y,
|
|
102
|
+
getSlotProps: Y,
|
|
103
|
+
externalSlotProps: d.root,
|
|
104
|
+
externalForwardedProps: z,
|
|
105
|
+
ownerState: a,
|
|
106
|
+
className: x.root
|
|
107
|
+
}), oe = P({
|
|
108
|
+
elementType: v,
|
|
109
|
+
getSlotProps: Z,
|
|
110
|
+
externalSlotProps: d.listbox,
|
|
111
|
+
additionalProps: {
|
|
112
|
+
ref: H
|
|
113
|
+
},
|
|
114
|
+
ownerState: a,
|
|
115
|
+
className: x.listbox
|
|
116
|
+
}), te = P({
|
|
117
|
+
elementType: C,
|
|
118
|
+
externalSlotProps: d.popup,
|
|
119
|
+
additionalProps: {
|
|
120
|
+
anchor: m.current,
|
|
121
|
+
keepMounted: !0,
|
|
122
|
+
open: V,
|
|
123
|
+
placement: "bottom-start",
|
|
124
|
+
role: void 0
|
|
125
|
+
},
|
|
126
|
+
ownerState: a,
|
|
127
|
+
className: x.popup
|
|
128
|
+
});
|
|
129
|
+
let g;
|
|
130
|
+
return c ? g = b.map((l) => O(l)).filter((l) => l !== void 0) : g = O(b) ?? null, /* @__PURE__ */ n.jsxs(t.Fragment, {
|
|
131
|
+
children: [/* @__PURE__ */ n.jsx(y, {
|
|
132
|
+
...ee,
|
|
133
|
+
children: S(g) ?? I ?? // fall back to a zero-width space to prevent layout shift
|
|
134
|
+
// from https://github.com/mui/material-ui/pull/24563
|
|
135
|
+
(j || (j = /* @__PURE__ */ n.jsx("span", {
|
|
136
|
+
className: "notranslate",
|
|
137
|
+
children: ""
|
|
138
|
+
})))
|
|
139
|
+
}), U && /* @__PURE__ */ n.jsx(ne, {
|
|
140
|
+
slots: {
|
|
141
|
+
root: C
|
|
142
|
+
},
|
|
143
|
+
...te,
|
|
144
|
+
children: /* @__PURE__ */ n.jsx(v, {
|
|
145
|
+
...oe,
|
|
146
|
+
children: /* @__PURE__ */ n.jsx(ae, {
|
|
147
|
+
value: W,
|
|
148
|
+
children: R
|
|
149
|
+
})
|
|
150
|
+
})
|
|
151
|
+
}), /* @__PURE__ */ n.jsx("input", {
|
|
152
|
+
...$(),
|
|
153
|
+
autoComplete: i
|
|
154
|
+
})]
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
process.env.NODE_ENV !== "production" && (fe.propTypes = {
|
|
158
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
159
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
160
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
161
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
162
|
+
/**
|
|
163
|
+
* A function used to determine if two options' values are equal.
|
|
164
|
+
* By default, reference equality is used.
|
|
165
|
+
*
|
|
166
|
+
* There is a performance impact when using the `areOptionsEqual` prop (proportional to the number of options).
|
|
167
|
+
* Therefore, it's recommented to use the default reference equality comparison whenever possible.
|
|
168
|
+
*/
|
|
169
|
+
areOptionsEqual: e.func,
|
|
170
|
+
/**
|
|
171
|
+
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
172
|
+
* The name can be confusing, as it's more like an autofill.
|
|
173
|
+
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
|
|
174
|
+
*/
|
|
175
|
+
autoComplete: e.string,
|
|
176
|
+
/**
|
|
177
|
+
* If `true`, the select element is focused during the first mount
|
|
178
|
+
* @default false
|
|
179
|
+
*/
|
|
180
|
+
autoFocus: e.bool,
|
|
181
|
+
/**
|
|
182
|
+
* @ignore
|
|
183
|
+
*/
|
|
184
|
+
children: e.node,
|
|
185
|
+
/**
|
|
186
|
+
* @ignore
|
|
187
|
+
*/
|
|
188
|
+
className: e.string,
|
|
189
|
+
/**
|
|
190
|
+
* If `true`, the select will be initially open.
|
|
191
|
+
* @default false
|
|
192
|
+
*/
|
|
193
|
+
defaultListboxOpen: e.bool,
|
|
194
|
+
/**
|
|
195
|
+
* The default selected value. Use when the component is not controlled.
|
|
196
|
+
*/
|
|
197
|
+
defaultValue: e.any,
|
|
198
|
+
/**
|
|
199
|
+
* If `true`, the select is disabled.
|
|
200
|
+
* @default false
|
|
201
|
+
*/
|
|
202
|
+
disabled: e.bool,
|
|
203
|
+
/**
|
|
204
|
+
* A function used to convert the option label to a string.
|
|
205
|
+
* It's useful when labels are elements and need to be converted to plain text
|
|
206
|
+
* to enable navigation using character keys on a keyboard.
|
|
207
|
+
*
|
|
208
|
+
* @default defaultOptionStringifier
|
|
209
|
+
*/
|
|
210
|
+
getOptionAsString: e.func,
|
|
211
|
+
/**
|
|
212
|
+
* A function to convert the currently selected value to a string.
|
|
213
|
+
* Used to set a value of a hidden input associated with the select,
|
|
214
|
+
* so that the selected value can be posted with a form.
|
|
215
|
+
*/
|
|
216
|
+
getSerializedValue: e.func,
|
|
217
|
+
/**
|
|
218
|
+
* `id` attribute of the listbox element.
|
|
219
|
+
*/
|
|
220
|
+
listboxId: e.string,
|
|
221
|
+
/**
|
|
222
|
+
* Controls the open state of the select's listbox.
|
|
223
|
+
* @default undefined
|
|
224
|
+
*/
|
|
225
|
+
listboxOpen: e.bool,
|
|
226
|
+
/**
|
|
227
|
+
* If `true`, selecting multiple values is allowed.
|
|
228
|
+
* This affects the type of the `value`, `defaultValue`, and `onChange` props.
|
|
229
|
+
*
|
|
230
|
+
* @default false
|
|
231
|
+
*/
|
|
232
|
+
multiple: e.bool,
|
|
233
|
+
/**
|
|
234
|
+
* Name of the element. For example used by the server to identify the fields in form submits.
|
|
235
|
+
*/
|
|
236
|
+
name: e.string,
|
|
237
|
+
/**
|
|
238
|
+
* Callback fired when an option is selected.
|
|
239
|
+
*/
|
|
240
|
+
onChange: e.func,
|
|
241
|
+
/**
|
|
242
|
+
* Callback fired when the component requests to be opened.
|
|
243
|
+
* Use in controlled mode (see listboxOpen).
|
|
244
|
+
*/
|
|
245
|
+
onListboxOpenChange: e.func,
|
|
246
|
+
/**
|
|
247
|
+
* Text to show when there is no selected value.
|
|
248
|
+
*/
|
|
249
|
+
placeholder: e.node,
|
|
250
|
+
/**
|
|
251
|
+
* Function that customizes the rendering of the selected value.
|
|
252
|
+
*/
|
|
253
|
+
renderValue: e.func,
|
|
254
|
+
/**
|
|
255
|
+
* If `true`, the Select cannot be empty when submitting form.
|
|
256
|
+
* @default false
|
|
257
|
+
*/
|
|
258
|
+
required: e.bool,
|
|
259
|
+
/**
|
|
260
|
+
* The props used for each slot inside the Input.
|
|
261
|
+
* @default {}
|
|
262
|
+
*/
|
|
263
|
+
slotProps: e.shape({
|
|
264
|
+
listbox: e.oneOfType([e.func, e.object]),
|
|
265
|
+
popup: e.oneOfType([e.func, e.object]),
|
|
266
|
+
root: e.oneOfType([e.func, e.object])
|
|
267
|
+
}),
|
|
268
|
+
/**
|
|
269
|
+
* The components used for each slot inside the Select.
|
|
270
|
+
* Either a string to use a HTML element or a component.
|
|
271
|
+
* @default {}
|
|
272
|
+
*/
|
|
273
|
+
slots: e.shape({
|
|
274
|
+
listbox: e.elementType,
|
|
275
|
+
popup: e.elementType,
|
|
276
|
+
root: e.elementType
|
|
277
|
+
}),
|
|
278
|
+
/**
|
|
279
|
+
* The selected value.
|
|
280
|
+
* Set to `null` to deselect all options.
|
|
281
|
+
*/
|
|
282
|
+
value: e.any
|
|
283
|
+
});
|
|
284
|
+
export {
|
|
285
|
+
fe as Select
|
|
286
|
+
};
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { generateUtilityClass as i } from "../generateUtilityClass/index.js";
|
|
2
|
+
import { generateUtilityClasses as o } from "../generateUtilityClasses/index.js";
|
|
3
|
+
const t = "Select";
|
|
4
|
+
function r(e) {
|
|
5
|
+
return i(t, e);
|
|
6
|
+
}
|
|
7
|
+
o(t, ["root", "button", "listbox", "popup", "active", "expanded", "disabled", "focusVisible"]);
|
|
8
|
+
export {
|
|
9
|
+
r as getSelectUtilityClass
|
|
10
|
+
};
|