@skodaflow/web-library 7.11.0 → 7.11.1
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/cjs/components/accordion/accordion.js.map +1 -1
- package/cjs/components/button/button.d.ts +1 -1
- package/cjs/components/bypassBlock/bypassBlock.js +1 -1
- package/cjs/components/bypassBlock/bypassBlock.js.map +1 -1
- package/cjs/components/carousel/autoplay.js.map +1 -1
- package/cjs/components/carousel/hooks.js.map +1 -1
- package/cjs/components/carousel/navigation.js.map +1 -1
- package/cjs/components/carousel/pagination.js.map +1 -1
- package/cjs/components/chip/chipImage/chipImage.js +1 -1
- package/cjs/components/chip/chipImage/chipImage.js.map +1 -1
- package/cjs/components/common/helperText.js +1 -1
- package/cjs/components/common/helperText.js.map +1 -1
- package/cjs/components/common/menuContainer.js +1 -1
- package/cjs/components/common/menuContainer.js.map +1 -1
- package/cjs/components/customPickersActionBar/index.js.map +1 -1
- package/cjs/components/flag/flag.js +1 -1
- package/cjs/components/flag/flag.js.map +1 -1
- package/cjs/components/helperTextContent/helperTextContent.d.ts +27 -0
- package/cjs/components/helperTextContent/helperTextContent.js +2 -0
- package/cjs/components/helperTextContent/helperTextContent.js.map +1 -0
- package/cjs/components/helperTextContent/index.d.ts +1 -5
- package/cjs/components/index.d.ts +1 -0
- package/cjs/components/logo/Logo.js +1 -1
- package/cjs/components/logo/Logo.js.map +1 -1
- package/cjs/components/media/video/hooks.js.map +1 -1
- package/cjs/components/quickLink/quickLink.d.ts +16 -10
- package/cjs/components/quickLink/quickLink.js +1 -1
- package/cjs/components/quickLink/quickLink.js.map +1 -1
- package/cjs/components/search/search.js +1 -1
- package/cjs/components/search/search.js.map +1 -1
- package/cjs/components/selectInput/selectInput.js +1 -1
- package/cjs/components/selectInput/selectInput.js.map +1 -1
- package/cjs/components/skodaThemeProvider/SkodaThemeWidgetProvider.js.map +1 -1
- package/cjs/components/textAndCta/textAndCta.js +1 -1
- package/cjs/components/textAndCta/textAndCta.js.map +1 -1
- package/cjs/components/textArea/textArea.js +1 -1
- package/cjs/components/textArea/textArea.js.map +1 -1
- package/cjs/components/toggleSwitch/toggleSwitch.js.map +1 -1
- package/cjs/components/tooltipHeader/TooltipHeader.d.ts +11 -0
- package/cjs/components/tooltipHeader/TooltipHeader.js +2 -0
- package/cjs/components/tooltipHeader/TooltipHeader.js.map +1 -0
- package/cjs/components/tooltipHeader/index.d.ts +1 -0
- package/cjs/components/upload/UploadField.js.map +1 -1
- package/cjs/components/upload/UploadPreviewList.js.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/layout/Footer/Footer.js +1 -1
- package/cjs/layout/Footer/FooterLink.js +1 -1
- package/cjs/layout/Footer/FooterLink.js.map +1 -1
- package/cjs/layout/Footer/FooterMenu.js +1 -1
- package/cjs/layout/Footer/FooterMenu.js.map +1 -1
- package/cjs/layout/Footer/FooterSectionLinks.js +1 -1
- package/cjs/layout/Footer/FooterSectionLinks.js.map +1 -1
- package/cjs/layout/Header/HeaderNavigationHero.js.map +1 -1
- package/cjs/layout/Header/PredefinedHeaderButtons.js.map +1 -1
- package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +1 -1
- package/cjs/layout/cookieModal/CookieModal.js.map +1 -1
- package/cjs/layout/cookieModal/CookieModalItem.js.map +1 -1
- package/cjs/materialui/accordion/AccordionSummaryExpandIcon.d.ts +6 -0
- package/cjs/materialui/accordion/AccordionSummaryExpandIcon.js +2 -0
- package/cjs/materialui/accordion/AccordionSummaryExpandIcon.js.map +1 -0
- package/cjs/materialui/accordion/accordionSummary.theme.js +1 -1
- package/cjs/materialui/accordion/accordionSummary.theme.js.map +1 -1
- package/cjs/materialui/alert/alert.theme.js +1 -1
- package/cjs/materialui/alert/alert.theme.js.map +1 -1
- package/cjs/materialui/alert/alertTitle.theme.js +1 -1
- package/cjs/materialui/alert/alertTitle.theme.js.map +1 -1
- package/cjs/materialui/autocomplete/autocomplete.theme.js +1 -1
- package/cjs/materialui/autocomplete/autocomplete.theme.js.map +1 -1
- package/cjs/materialui/badge/badge.theme.js +1 -1
- package/cjs/materialui/badge/badge.theme.js.map +1 -1
- package/cjs/materialui/button/button.theme.js +1 -1
- package/cjs/materialui/button/button.theme.js.map +1 -1
- package/cjs/materialui/card/Card.js +1 -1
- package/cjs/materialui/card/Card.js.map +1 -1
- package/cjs/materialui/chip/chip.theme.js +1 -1
- package/cjs/materialui/chip/chip.theme.js.map +1 -1
- package/cjs/materialui/index.d.ts +1 -0
- package/cjs/materialui/link/link.theme.js +1 -1
- package/cjs/materialui/link/link.theme.js.map +1 -1
- package/cjs/materialui/list/listItemButton.theme.js +1 -1
- package/cjs/materialui/list/listItemButton.theme.js.map +1 -1
- package/cjs/materialui/list/listItemIcon.theme.js +1 -1
- package/cjs/materialui/list/listItemIcon.theme.js.map +1 -1
- package/cjs/materialui/menu/menuItem.theme.js +1 -1
- package/cjs/materialui/menu/menuItem.theme.js.map +1 -1
- package/cjs/materialui/slider/sliderValues.js.map +1 -1
- package/cjs/materialui/snackbar/snackbarContent.theme.js +1 -1
- package/cjs/materialui/snackbar/snackbarContent.theme.js.map +1 -1
- package/cjs/materialui/stepper/stepIcon/errorStepIcon.js.map +1 -1
- package/cjs/materialui/stepper/stepIcon/qontoStepIcon.js.map +1 -1
- package/cjs/materialui/svgIcon/svgIcon.theme.js +1 -1
- package/cjs/materialui/svgIcon/svgIcon.theme.js.map +1 -1
- package/cjs/materialui/tabs/tabComponent.js.map +1 -1
- package/cjs/materialui/tabs/tabs.theme.js +1 -1
- package/cjs/materialui/tabs/tabs.theme.js.map +1 -1
- package/cjs/materialui/textfield/FormControl.d.ts +6 -0
- package/cjs/materialui/textfield/FormControl.js +2 -0
- package/cjs/materialui/textfield/FormControl.js.map +1 -0
- package/cjs/materialui/textfield/filledInput.theme.js +2 -0
- package/cjs/materialui/textfield/filledInput.theme.js.map +1 -0
- package/cjs/materialui/textfield/formControl.theme.js +2 -0
- package/cjs/materialui/textfield/formControl.theme.js.map +1 -0
- package/cjs/materialui/textfield/formControlLabel.theme.js.map +1 -0
- package/cjs/materialui/textfield/formHelperText.theme.js +2 -0
- package/cjs/materialui/textfield/formHelperText.theme.js.map +1 -0
- package/cjs/materialui/textfield/formLabel.theme.js +2 -0
- package/cjs/materialui/textfield/formLabel.theme.js.map +1 -0
- package/cjs/materialui/textfield/index.d.ts +2 -0
- package/cjs/materialui/textfield/input.theme.js.map +1 -0
- package/cjs/materialui/textfield/inputAdornment.theme.js +2 -0
- package/cjs/materialui/textfield/inputAdornment.theme.js.map +1 -0
- package/cjs/materialui/textfield/inputBase.theme.js +2 -0
- package/cjs/materialui/textfield/inputBase.theme.js.map +1 -0
- package/cjs/materialui/textfield/inputLabel.theme.js +2 -0
- package/cjs/materialui/textfield/inputLabel.theme.js.map +1 -0
- package/cjs/materialui/{form → textfield}/outlinedInput.theme.js +1 -1
- package/cjs/materialui/textfield/outlinedInput.theme.js.map +1 -0
- package/cjs/materialui/textfield/select.theme.js +2 -0
- package/cjs/materialui/textfield/select.theme.js.map +1 -0
- package/cjs/materialui/textfield/textField.theme.js.map +1 -0
- package/cjs/materialui/theme/paletteLight.theme.js +1 -1
- package/cjs/materialui/theme/paletteLight.theme.js.map +1 -1
- package/cjs/materialui/theme/theme.extensions.d.ts +38 -5
- package/cjs/materialui/theme/theme.js +1 -1
- package/cjs/materialui/theme/theme.js.map +1 -1
- package/cjs/materialui/tooltip/tooltip.theme.js +1 -1
- package/cjs/materialui/tooltip/tooltip.theme.js.map +1 -1
- package/cjs/node_modules/swiper/modules/effect-fade.js +1 -1
- package/cjs/node_modules/swiper/modules/effect-fade.js.map +1 -1
- package/cjs/node_modules/swiper/modules/parallax.js.map +1 -1
- package/cjs/node_modules/swiper/shared/effect-virtual-transition-end.js +1 -1
- package/cjs/node_modules/swiper/shared/effect-virtual-transition-end.js.map +1 -1
- package/cjs/node_modules/swiper/shared/ssr-window.esm.js.map +1 -1
- package/cjs/node_modules/swiper/shared/swiper-core.js.map +1 -1
- package/cjs/node_modules/swiper/shared/update-on-virtual-data.js.map +1 -1
- package/cjs/node_modules/swiper/shared/update-swiper.js.map +1 -1
- package/cjs/node_modules/swiper/shared/utils.js +1 -1
- package/cjs/node_modules/swiper/shared/utils.js.map +1 -1
- package/cjs/node_modules/swiper/swiper-react.js.map +1 -1
- package/cjs/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js.map +1 -1
- package/cjs/organisms/cardPromoVehicle/cardPromoVehicleComponent.js.map +1 -1
- package/cjs/organisms/cardTypeOnly/cardTypeOnlyComponent.js.map +1 -1
- package/cjs/organisms/carousel2/cardCarousel/cardCarousel.js.map +1 -1
- package/cjs/organisms/carousel2/components/NavButton.js.map +1 -1
- package/cjs/organisms/carousel2/components/ScrollSnapDots.js.map +1 -1
- package/cjs/organisms/carousel2/galleryCarousel/galleryCarouselItem.js.map +1 -1
- package/cjs/organisms/carousel2/heroCarousel/heroCarousel.js.map +1 -1
- package/cjs/organisms/common/styled/cardStandardWrapperStyled.d.ts +1 -1
- package/cjs/organisms/gallery/Gallery.js.map +1 -1
- package/cjs/organisms/heroImageCard/heroImageCardComponent.js.map +1 -1
- package/cjs/organisms/maps/mapComponents/mapComponent.js +1 -1
- package/cjs/organisms/maps/mapComponents/mapComponent.js.map +1 -1
- package/cjs/organisms/notification/NotificationCenter.js.map +1 -1
- package/cjs/organisms/notification/NotificationCenterHeaderButton.js +1 -1
- package/cjs/organisms/notification/NotificationCenterHeaderButton.js.map +1 -1
- package/cjs/production/Button/Button.js +1 -1
- package/cjs/production/Button/Button.js.map +1 -1
- package/cjs/utils/ResponsiveType.js.map +1 -1
- package/components/accordion/accordion.js.map +1 -1
- package/components/button/button.d.ts +1 -1
- package/components/bypassBlock/bypassBlock.js +1 -1
- package/components/bypassBlock/bypassBlock.js.map +1 -1
- package/components/carousel/autoplay.js.map +1 -1
- package/components/carousel/hooks.js.map +1 -1
- package/components/carousel/navigation.js.map +1 -1
- package/components/carousel/pagination.js.map +1 -1
- package/components/chip/chipImage/chipImage.js +1 -1
- package/components/chip/chipImage/chipImage.js.map +1 -1
- package/components/common/helperText.js +1 -1
- package/components/common/helperText.js.map +1 -1
- package/components/common/menuContainer.js +1 -1
- package/components/common/menuContainer.js.map +1 -1
- package/components/customPickersActionBar/index.js.map +1 -1
- package/components/flag/flag.js +1 -1
- package/components/flag/flag.js.map +1 -1
- package/components/helperTextContent/helperTextContent.d.ts +27 -0
- package/components/helperTextContent/helperTextContent.js +2 -0
- package/components/helperTextContent/helperTextContent.js.map +1 -0
- package/components/helperTextContent/index.d.ts +1 -5
- package/components/index.d.ts +1 -0
- package/components/logo/Logo.js +1 -1
- package/components/logo/Logo.js.map +1 -1
- package/components/media/video/hooks.js.map +1 -1
- package/components/mobileStepper/mobileStepper.js +1 -1
- package/components/numbering/numbering.js +1 -1
- package/components/pagination/pagination.js +1 -1
- package/components/quickLink/quickLink.d.ts +16 -10
- package/components/quickLink/quickLink.js +1 -1
- package/components/quickLink/quickLink.js.map +1 -1
- package/components/search/search.js +1 -1
- package/components/search/search.js.map +1 -1
- package/components/selectInput/selectInput.js +1 -1
- package/components/selectInput/selectInput.js.map +1 -1
- package/components/skodaThemeProvider/SkodaThemeWidgetProvider.js.map +1 -1
- package/components/snackbar/snackbar.js +1 -1
- package/components/textAndCta/textAndCta.js +1 -1
- package/components/textAndCta/textAndCta.js.map +1 -1
- package/components/textArea/textArea.js +1 -1
- package/components/textArea/textArea.js.map +1 -1
- package/components/toggleSwitch/toggleSwitch.js.map +1 -1
- package/components/tooltipHeader/TooltipHeader.d.ts +11 -0
- package/components/tooltipHeader/TooltipHeader.js +2 -0
- package/components/tooltipHeader/TooltipHeader.js.map +1 -0
- package/components/tooltipHeader/index.d.ts +1 -0
- package/components/upload/UploadField.js.map +1 -1
- package/components/upload/UploadPreviewList.js.map +1 -1
- package/eula.txt +40 -24
- package/index.js +1 -1
- package/layout/Footer/Footer.js +1 -1
- package/layout/Footer/FooterLink.js +1 -1
- package/layout/Footer/FooterLink.js.map +1 -1
- package/layout/Footer/FooterMenu.js +1 -1
- package/layout/Footer/FooterMenu.js.map +1 -1
- package/layout/Footer/FooterSectionLinks.js +1 -1
- package/layout/Footer/FooterSectionLinks.js.map +1 -1
- package/layout/Header/HeaderNavigationHero.js.map +1 -1
- package/layout/Header/PredefinedHeaderButtons.js.map +1 -1
- package/layout/PageLayout/PageLayout.js +1 -1
- package/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +1 -1
- package/layout/cookieModal/CookieModal.js.map +1 -1
- package/layout/cookieModal/CookieModalItem.js.map +1 -1
- package/materialui/accordion/AccordionSummaryExpandIcon.d.ts +6 -0
- package/materialui/accordion/AccordionSummaryExpandIcon.js +2 -0
- package/materialui/accordion/AccordionSummaryExpandIcon.js.map +1 -0
- package/materialui/accordion/accordionSummary.theme.js +1 -1
- package/materialui/accordion/accordionSummary.theme.js.map +1 -1
- package/materialui/alert/alert.theme.js +1 -1
- package/materialui/alert/alert.theme.js.map +1 -1
- package/materialui/alert/alertTitle.theme.js +1 -1
- package/materialui/alert/alertTitle.theme.js.map +1 -1
- package/materialui/autocomplete/autocomplete.theme.js +1 -1
- package/materialui/autocomplete/autocomplete.theme.js.map +1 -1
- package/materialui/badge/badge.theme.js +1 -1
- package/materialui/badge/badge.theme.js.map +1 -1
- package/materialui/button/button.theme.js +1 -1
- package/materialui/button/button.theme.js.map +1 -1
- package/materialui/card/Card.js +1 -1
- package/materialui/card/Card.js.map +1 -1
- package/materialui/chip/chip.theme.js +1 -1
- package/materialui/chip/chip.theme.js.map +1 -1
- package/materialui/fab/fab.theme.js +1 -1
- package/materialui/iconButton/iconButton.theme.js +1 -1
- package/materialui/index.d.ts +1 -0
- package/materialui/link/link.theme.js +1 -1
- package/materialui/link/link.theme.js.map +1 -1
- package/materialui/list/listItemButton.theme.js +1 -1
- package/materialui/list/listItemButton.theme.js.map +1 -1
- package/materialui/list/listItemIcon.theme.js +1 -1
- package/materialui/list/listItemIcon.theme.js.map +1 -1
- package/materialui/menu/menuItem.theme.js +1 -1
- package/materialui/menu/menuItem.theme.js.map +1 -1
- package/materialui/slider/sliderValues.js +1 -1
- package/materialui/slider/sliderValues.js.map +1 -1
- package/materialui/snackbar/snackbarContent.theme.js +1 -1
- package/materialui/snackbar/snackbarContent.theme.js.map +1 -1
- package/materialui/stepper/stepIcon/errorStepIcon.js.map +1 -1
- package/materialui/stepper/stepIcon/qontoStepIcon.js.map +1 -1
- package/materialui/svgIcon/svgIcon.theme.js +1 -1
- package/materialui/svgIcon/svgIcon.theme.js.map +1 -1
- package/materialui/tabs/tabComponent.js.map +1 -1
- package/materialui/tabs/tabs.theme.js +1 -1
- package/materialui/tabs/tabs.theme.js.map +1 -1
- package/materialui/textfield/FormControl.d.ts +6 -0
- package/materialui/textfield/FormControl.js +2 -0
- package/materialui/textfield/FormControl.js.map +1 -0
- package/materialui/textfield/filledInput.theme.js +2 -0
- package/materialui/textfield/filledInput.theme.js.map +1 -0
- package/materialui/textfield/formControl.theme.js +2 -0
- package/materialui/textfield/formControl.theme.js.map +1 -0
- package/materialui/textfield/formControlLabel.theme.js.map +1 -0
- package/materialui/textfield/formHelperText.theme.js +2 -0
- package/materialui/textfield/formHelperText.theme.js.map +1 -0
- package/materialui/textfield/formLabel.theme.js +2 -0
- package/materialui/textfield/formLabel.theme.js.map +1 -0
- package/materialui/textfield/index.d.ts +2 -0
- package/materialui/textfield/input.theme.js.map +1 -0
- package/materialui/textfield/inputAdornment.theme.js +2 -0
- package/materialui/textfield/inputAdornment.theme.js.map +1 -0
- package/materialui/textfield/inputBase.theme.js +2 -0
- package/materialui/textfield/inputBase.theme.js.map +1 -0
- package/materialui/textfield/inputLabel.theme.js +2 -0
- package/materialui/textfield/inputLabel.theme.js.map +1 -0
- package/materialui/textfield/outlinedInput.theme.js +2 -0
- package/materialui/textfield/outlinedInput.theme.js.map +1 -0
- package/materialui/textfield/select.theme.js +2 -0
- package/materialui/textfield/select.theme.js.map +1 -0
- package/materialui/textfield/textField.theme.js.map +1 -0
- package/materialui/theme/paletteLight.theme.js +1 -1
- package/materialui/theme/paletteLight.theme.js.map +1 -1
- package/materialui/theme/theme.extensions.d.ts +38 -5
- package/materialui/theme/theme.js +1 -1
- package/materialui/theme/theme.js.map +1 -1
- package/materialui/tooltip/tooltip.theme.js +1 -1
- package/materialui/tooltip/tooltip.theme.js.map +1 -1
- package/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js.map +1 -1
- package/organisms/cardPromoVehicle/cardPromoVehicleComponent.js.map +1 -1
- package/organisms/cardTypeOnly/cardTypeOnlyComponent.js.map +1 -1
- package/organisms/carousel/carouselTemplate.js +1 -1
- package/organisms/carousel2/cardCarousel/cardCarousel.js.map +1 -1
- package/organisms/carousel2/components/NavButton.js.map +1 -1
- package/organisms/carousel2/components/ScrollSnapDots.js.map +1 -1
- package/organisms/carousel2/galleryCarousel/galleryCarousel.js +1 -1
- package/organisms/carousel2/galleryCarousel/galleryCarouselItem.js.map +1 -1
- package/organisms/carousel2/heroCarousel/heroCarousel.js +1 -1
- package/organisms/carousel2/heroCarousel/heroCarousel.js.map +1 -1
- package/organisms/common/styled/cardStandardWrapperStyled.d.ts +1 -1
- package/organisms/gallery/Gallery.js.map +1 -1
- package/organisms/heroImageCard/heroImageCardComponent.js.map +1 -1
- package/organisms/maps/mapComponents/mapComponent.js +1 -1
- package/organisms/maps/mapComponents/mapComponent.js.map +1 -1
- package/organisms/notification/NotificationCenter.js.map +1 -1
- package/organisms/notification/NotificationCenterHeaderButton.js +1 -1
- package/organisms/notification/NotificationCenterHeaderButton.js.map +1 -1
- package/package.json +1 -1
- package/production/Button/Button.js +3 -3
- package/production/Button/Button.js.map +1 -1
- package/utils/ResponsiveType.js.map +1 -1
- package/cjs/components/helperTextContent/index.js +0 -2
- package/cjs/components/helperTextContent/index.js.map +0 -1
- package/cjs/materialui/alignment/alignment.component.d.ts +0 -6
- package/cjs/materialui/form/filledInput.theme.js +0 -2
- package/cjs/materialui/form/filledInput.theme.js.map +0 -1
- package/cjs/materialui/form/formControl.theme.js +0 -2
- package/cjs/materialui/form/formControl.theme.js.map +0 -1
- package/cjs/materialui/form/formControlLabel.theme.js.map +0 -1
- package/cjs/materialui/form/formHelperText.theme.js +0 -2
- package/cjs/materialui/form/formHelperText.theme.js.map +0 -1
- package/cjs/materialui/form/formLabel.theme.js +0 -2
- package/cjs/materialui/form/formLabel.theme.js.map +0 -1
- package/cjs/materialui/form/input.theme.js.map +0 -1
- package/cjs/materialui/form/inputAdornment.theme.js +0 -2
- package/cjs/materialui/form/inputAdornment.theme.js.map +0 -1
- package/cjs/materialui/form/inputBase.theme.js +0 -2
- package/cjs/materialui/form/inputBase.theme.js.map +0 -1
- package/cjs/materialui/form/inputLabel.theme.js +0 -2
- package/cjs/materialui/form/inputLabel.theme.js.map +0 -1
- package/cjs/materialui/form/outlinedInput.theme.js.map +0 -1
- package/cjs/materialui/form/select.theme.js +0 -2
- package/cjs/materialui/form/select.theme.js.map +0 -1
- package/cjs/materialui/form/textField.theme.js.map +0 -1
- package/cjs/materialui/select/select.component.d.ts +0 -5
- package/components/helperTextContent/index.js +0 -2
- package/components/helperTextContent/index.js.map +0 -1
- package/materialui/alignment/alignment.component.d.ts +0 -6
- package/materialui/form/filledInput.theme.js +0 -2
- package/materialui/form/filledInput.theme.js.map +0 -1
- package/materialui/form/formControl.theme.js +0 -2
- package/materialui/form/formControl.theme.js.map +0 -1
- package/materialui/form/formControlLabel.theme.js.map +0 -1
- package/materialui/form/formHelperText.theme.js +0 -2
- package/materialui/form/formHelperText.theme.js.map +0 -1
- package/materialui/form/formLabel.theme.js +0 -2
- package/materialui/form/formLabel.theme.js.map +0 -1
- package/materialui/form/input.theme.js.map +0 -1
- package/materialui/form/inputAdornment.theme.js +0 -2
- package/materialui/form/inputAdornment.theme.js.map +0 -1
- package/materialui/form/inputBase.theme.js +0 -2
- package/materialui/form/inputBase.theme.js.map +0 -1
- package/materialui/form/inputLabel.theme.js +0 -2
- package/materialui/form/inputLabel.theme.js.map +0 -1
- package/materialui/form/outlinedInput.theme.js +0 -2
- package/materialui/form/outlinedInput.theme.js.map +0 -1
- package/materialui/form/select.theme.js +0 -2
- package/materialui/form/select.theme.js.map +0 -1
- package/materialui/form/textField.theme.js.map +0 -1
- package/materialui/select/select.component.d.ts +0 -5
- /package/cjs/materialui/{form → textfield}/filledInput.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/formControl.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/formControlLabel.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/formControlLabel.theme.js +0 -0
- /package/cjs/materialui/{form → textfield}/formHelperText.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/formLabel.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/input.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/input.theme.js +0 -0
- /package/cjs/materialui/{form → textfield}/inputAdornment.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/inputBase.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/inputLabel.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/outlinedInput.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/select.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/textField.theme.d.ts +0 -0
- /package/cjs/materialui/{form → textfield}/textField.theme.js +0 -0
- /package/materialui/{form → textfield}/filledInput.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/formControl.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/formControlLabel.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/formControlLabel.theme.js +0 -0
- /package/materialui/{form → textfield}/formHelperText.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/formLabel.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/input.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/input.theme.js +0 -0
- /package/materialui/{form → textfield}/inputAdornment.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/inputBase.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/inputLabel.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/outlinedInput.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/select.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/textField.theme.d.ts +0 -0
- /package/materialui/{form → textfield}/textField.theme.js +0 -0
package/components/logo/Logo.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as C,jsxs as t,Fragment as e}from"react/jsx-runtime";import{useTheme as r,useMediaQuery as i,Box as a,Typography as n,SvgIcon as H}from"@mui/material";import{useMemo as l}from"react";const o=e=>{const{variant:H,color:o,width:h,height:V,subbrandText:M,subbrandVariant:Z="horizontal",breakpoint:u="lg"}=e,f=r(),m=i(f.breakpoints.down(u)),x=l((()=>"symbol"===H?L:"vertical"===H?s:d),[H]),p=l((()=>{switch(o){case"emerald":return"brand.tertiary";case"electric":return"brand.secondary";case"white":return"#fff";case"black":return"#000";default:return o}}),[o]);return t(c,{wrap:!(H&&"horizontal"!==H||!M),variant:Z,children:[C(a,{"data-testid":"Logo",sx:{width:null!=h?h:"100%",height:null!=V?V:"auto",color:p,display:"flex",alignItems:"baseline"},children:C(x,{})}),!m&&(!H||"horizontal"===H)&&!!M&&C(n,{component:"div",sx:Object.assign({display:"flex",lineHeight:{xs:1},fontSize:{xs:`calc(${h} / 5.5)`},userSelect:"none",color:p,whiteSpace:"nowrap"},"vertical"===Z?{marginTop:"0.25em"}:{marginLeft:"0.25em"}),children:M})]})};function c({children:t,wrap:r,variant:i}){return r?C(a,{sx:{display:"inline-flex",alignItems:"vertical"===i?"flex-start":"baseline",justifyContent:"flex-start",flexDirection:"vertical"===i?"column":"row"},children:t}):C(e,{children:t})}const L=()=>C(H,{viewBox:"0 0 32 32",sx:{width:"100%",height:"100%",fill:"currentColor"},"data-testid":"Logo.symbol",children:C("path",{d:"M16 0C7.16345 0 0 7.16345 0 16C0 24.8366 7.16345 32 16 32C24.8366 32 32 24.8366 32 16C32 7.16345 24.8366 0 16 0ZM16 30.6181C7.92664 30.6181 1.38188 24.0734 1.38188 16C1.38188 7.92664 7.92664 1.38188 16 1.38188C24.0734 1.38188 30.6181 7.92664 30.6181 16C30.6181 24.0734 24.0734 30.6181 16 30.6181ZM22.9186 20.9748L22.5599 21.9432H21.2481C21.5987 20.998 26.0191 10.4529 17.3331 3.30067C15.5096 3.10748 13.666 3.31141 11.9289 3.89843C12.2186 4.1318 15.2275 6.60184 16.6453 9.65167L16.2293 9.76367C15.4478 8.91211 12.6085 5.78599 9.90293 4.7799C8.44709 5.57356 7.15898 6.64201 6.10992 7.92608C7.3806 8.57612 10.7008 10.5592 11.9627 12.0997C11.8904 12.1322 11.6067 12.285 11.6067 12.285C9.29207 10.5258 5.18018 9.61266 4.97001 9.56732C4.1056 11.0449 3.54923 12.6821 3.33443 14.3804C9.70223 15.6621 11.4168 18.6091 11.7101 21.9432H10.504L8.43136 21.0398C8.32338 20.9993 8.2099 20.9754 8.09477 20.9689H4.23562C4.84653 22.4112 5.7173 23.7288 6.80453 24.8563H8.44907C8.59079 24.8563 8.7148 24.8386 8.8388 24.7677L10.504 23.9174H22.5599L22.9186 24.8859C24.4165 24.7132 25.8066 24.0213 26.8475 22.9303C25.8066 21.8394 24.4165 21.1475 22.9186 20.9748ZM18.2763 20.4696C17.9639 20.4696 17.6585 20.3769 17.3987 20.2033C17.1389 20.0298 16.9365 19.7831 16.8169 19.4944C16.6974 19.2058 16.6661 18.8881 16.727 18.5817C16.788 18.2753 16.9384 17.9938 17.1593 17.7729C17.3803 17.552 17.6617 17.4015 17.9682 17.3406C18.2746 17.2796 18.5922 17.3109 18.8808 17.4305C19.1695 17.55 19.4162 17.7525 19.5898 18.0123C19.7634 18.2721 19.856 18.5775 19.856 18.8899C19.856 19.3088 19.6896 19.7106 19.3933 20.0069C19.0971 20.3031 18.6953 20.4696 18.2763 20.4696Z"})}),s=()=>t(H,{viewBox:"0 0 138 130",sx:{width:"100%",height:"100%",fill:"currentcolor"},"data-testid":"Logo.vertical",children:[C("path",{d:"M66 21C51.6406 21 40 32.6406 40 47C40 61.3594 51.6406 73 66 73C80.3594 73 92 61.3594 92 47C92 32.6406 80.3594 21 66 21ZM66 70.7544C52.8808 70.7544 42.2456 60.1192 42.2456 47C42.2456 33.8808 52.8808 23.2456 66 23.2456C79.1192 23.2456 89.7544 33.8808 89.7544 47C89.7544 60.1192 79.1192 70.7544 66 70.7544ZM77.2427 55.084L76.6598 56.6578H74.5282C75.0979 55.1218 82.281 37.9859 68.1662 26.3636C65.2032 26.0497 62.2073 26.381 59.3845 27.335C59.8553 27.7142 64.7448 31.728 67.0487 36.684L66.3727 36.866C65.1026 35.4822 60.4889 30.4023 56.0923 28.7673C53.7265 30.057 51.6333 31.7933 49.9286 33.8799C51.9935 34.9361 57.3888 38.1586 59.4393 40.6619C59.3219 40.7147 58.8608 40.9631 58.8608 40.9631C55.0996 38.1043 48.4178 36.6205 48.0763 36.5469C46.6716 38.9479 45.7675 41.6084 45.4184 44.3681C55.7661 46.4509 58.5524 51.2397 59.0289 56.6578H57.069L53.701 55.1897C53.5255 55.1239 53.3411 55.0851 53.154 55.0745H46.8829C47.8756 57.4181 49.2906 59.5594 51.0574 61.3915H53.7297C53.95 61.4023 54.1691 61.3525 54.363 61.2476L57.069 59.8658H76.6598L77.2427 61.4396C79.6768 61.1589 81.9357 60.0345 83.6271 58.2618C81.9357 56.4891 79.6768 55.3647 77.2427 55.084ZM69.699 54.263C69.1913 54.263 68.695 54.1125 68.2729 53.8304C67.8508 53.5483 67.5218 53.1474 67.3275 52.6784C67.1332 52.2093 67.0824 51.6932 67.1814 51.1953C67.2805 50.6973 67.5249 50.24 67.8839 49.881C68.2429 49.522 68.7003 49.2775 69.1982 49.1785C69.6962 49.0794 70.2123 49.1302 70.6814 49.3245C71.1504 49.5188 71.5513 49.8478 71.8334 50.27C72.1154 50.6921 72.266 51.1884 72.266 51.6961C72.266 52.3769 71.9955 53.0298 71.5141 53.5112C71.0327 53.9926 70.3798 54.263 69.699 54.263H69.699Z"}),C("path",{d:"M10 101L12.1675 97.6125H24.739C25.4511 97.6125 25.9156 97.1587 25.9156 96.4631V94.4971H15.1091C11.8888 94.4971 10.4645 93.1059 10.4645 90.0208V88.69C10.4645 86.3913 11.8579 85 14.0563 85H14.304V89.9603C14.304 90.6559 14.7685 91.1096 15.4807 91.1096H25.9466C28.3308 91.1096 29.7552 92.5009 29.7552 94.7694V96.5236C29.7552 99.5179 28.2379 101 25.1105 101L10 101ZM85.3338 97.552H95.0565C96.6666 97.552 97.6885 96.5841 97.6885 95.0718V90.9282C97.6885 89.4159 96.6666 88.448 95.0565 88.448H85.3338V97.552ZM81.4323 101V85H95.1494C99.2367 85 101.59 87.2987 101.59 91.1096V94.8903C101.59 98.7013 99.2367 101 95.1494 101H81.4323ZM62.5252 97.552H70.7308C72.217 97.552 73.1769 96.6446 73.1769 95.2231V90.7769C73.1769 89.3554 72.217 88.448 70.7308 88.448H62.5252C61.039 88.448 60.0791 89.3554 60.0791 90.7769V95.223C60.0791 96.6446 61.039 97.552 62.5252 97.552ZM70.8236 101H62.4324C58.469 101 56.1776 98.7618 56.1776 95.0416V90.9584C56.1776 87.2382 58.4689 85 62.4324 85H70.8236C74.787 85 77.0784 87.2382 77.0784 90.9584V95.0416C77.0784 98.7618 74.7871 101 70.8236 101ZM103.189 101L112.385 85H117.804L127 101H122.541L120.962 98.2476H113.128L111.022 94.9811L107.554 101H103.189ZM111.115 94.7996H118.98L115.048 87.9943L111.115 94.7996ZM18.1436 88.327L15.9142 85H29.3836L27.2161 88.327H18.1436ZM34.0483 101V85H37.9498V91.2306H43.1208L49.8401 85H55.0111L46.465 92.9546L55.1659 101H49.6852L42.966 94.6786H37.9498V101H34.0483Z"})]}),d=()=>C(H,{viewBox:"0 0 120 16",sx:{width:"100%",height:"100%",fill:"currentcolor"},"data-testid":"Logo.horizontal",children:C("path",{d:"M0 16L2.22307 12.6125H15.1169C15.8473 12.6125 16.3237 12.1587 16.3237 11.4631V9.49713H5.24009C1.93724 9.49713 0.4764 8.10585 0.4764 5.02078V3.68997C0.4764 1.3913 1.90549 0 4.16032 0H4.41438V4.96029C4.41438 5.65595 4.89078 6.10964 5.6212 6.10964H16.3554C18.8008 6.10964 20.2617 7.50094 20.2617 9.76936V11.5236C20.2617 14.5179 18.7055 16 15.498 16L0 16ZM77.2654 12.552H87.2374C88.8889 12.552 89.9369 11.5841 89.9369 10.0718V5.92816C89.9369 4.41587 88.8889 3.44801 87.2374 3.44801H77.2654V12.552ZM73.2639 16V0H87.3328C91.5248 0 93.9385 2.29867 93.9385 6.10964V9.89034C93.9385 13.7013 91.5248 16 87.3328 16H73.2639ZM53.872 12.552H62.288C63.8123 12.552 64.7968 11.6446 64.7968 10.2231V5.77693C64.7968 4.35538 63.8123 3.44801 62.288 3.44801H53.872C52.3477 3.44801 51.3632 4.35538 51.3632 5.77693V10.223C51.3632 11.6446 52.3477 12.552 53.872 12.552ZM62.3832 16H53.7768C49.7118 16 47.3616 13.7618 47.3616 10.0416V5.9584C47.3616 2.23818 49.7117 0 53.7768 0H62.3832C66.4482 0 68.7984 2.23818 68.7984 5.9584V10.0416C68.7984 13.7618 66.4483 16 62.3832 16ZM95.578 16L105.01 0H110.568L120 16H115.427L113.807 13.2476H105.772L103.613 9.98108L100.056 16H95.578ZM103.708 9.79961H111.775L107.741 2.99428L103.708 9.79961ZM8.3524 3.32702L6.06581 0H19.8806L17.6575 3.32702H8.3524ZM24.6649 16V0H28.6665V6.23062H33.9701L40.8616 0H46.1652L37.4 7.95462L46.324 16H40.7028L33.8113 9.67863H28.6665V16H24.6649Z"})});export{o as Logo};
|
|
2
2
|
//# sourceMappingURL=Logo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.js","sources":["../../../src/components/logo/Logo.tsx"],"sourcesContent":[null],"names":["Logo","props","variant","color","width","height","subbrandText","subbrandVariant","breakpoint","theme","useTheme","matches","useMediaQuery","breakpoints","down","LogoIcon","useMemo","SymbolLogoIcon","VerticalLogoIcon","HorizontalLogoIcon","logoColor","_jsxs","LogoWrapper","wrap","children","_jsx","Box","sx","display","alignItems","Typography","component","Object","assign","lineHeight","xs","fontSize","userSelect","marginTop","marginLeft","justifyContent","flexDirection","_Fragment","SvgIcon","viewBox","fill","d"],"mappings":"kMA4Ba,MAAAA,EAAQC,IACnB,MAAMC,QAAEA,EAAOC,MAAEA,EAAKC,MAAEA,EAAKC,OAAEA,EAAMC,aAAEA,EAAYC,gBAAEA,EAAkB,aAAYC,WAAEA,EAAa,MAASP,EAErGQ,EAAQC,IACRC,EAAUC,EAAcH,EAAMI,YAAYC,KAAKN,IAE/CO,EAAWC,GAAQ,IACP,WAAZd,EACKe,EAEO,aAAZf,EACKgB,EAEFC,GACN,CAACjB,IAEEkB,EAAYJ,GAAQ,KACxB,OAAQb,GACN,IAAK,UACH,MAAO,iBACT,IAAK,WACH,MAAO,kBACT,IAAK,QACH,MAAO,OACT,IAAK,QACH,MAAO,OACT,QACE,OAAOA,KAEV,CAACA,IAEJ,OACEkB,EAACC,EAAW,CAACC,OAAQrB,GAAuB,eAAZA,IAA+BI,GAAcJ,QAASK,EACpFiB,SAAA,CAAAC,EAACC,EAAG,CAAA,cACU,OACZC,GAAI,CACFvB,MAAOA,QAAAA,EAAS,OAChBC,OAAQA,QAAAA,EAAU,OAClBF,MAAOiB,EACPQ,QAAS,OACTC,WAAY,YACbL,SAEDC,EAACV,EAAW,CAAA,MAEZJ,KAAaT,GAAuB,eAAZA,MAA+BI,GACvDmB,EAACK,EAAU,CACTC,UAAU,MACVJ,
|
|
1
|
+
{"version":3,"file":"Logo.js","sources":["../../../src/components/logo/Logo.tsx"],"sourcesContent":[null],"names":["Logo","props","variant","color","width","height","subbrandText","subbrandVariant","breakpoint","theme","useTheme","matches","useMediaQuery","breakpoints","down","LogoIcon","useMemo","SymbolLogoIcon","VerticalLogoIcon","HorizontalLogoIcon","logoColor","_jsxs","LogoWrapper","wrap","children","_jsx","Box","sx","display","alignItems","Typography","component","Object","assign","lineHeight","xs","fontSize","userSelect","whiteSpace","marginTop","marginLeft","justifyContent","flexDirection","_Fragment","SvgIcon","viewBox","fill","d"],"mappings":"kMA4Ba,MAAAA,EAAQC,IACnB,MAAMC,QAAEA,EAAOC,MAAEA,EAAKC,MAAEA,EAAKC,OAAEA,EAAMC,aAAEA,EAAYC,gBAAEA,EAAkB,aAAYC,WAAEA,EAAa,MAASP,EAErGQ,EAAQC,IACRC,EAAUC,EAAcH,EAAMI,YAAYC,KAAKN,IAE/CO,EAAWC,GAAQ,IACP,WAAZd,EACKe,EAEO,aAAZf,EACKgB,EAEFC,GACN,CAACjB,IAEEkB,EAAYJ,GAAQ,KACxB,OAAQb,GACN,IAAK,UACH,MAAO,iBACT,IAAK,WACH,MAAO,kBACT,IAAK,QACH,MAAO,OACT,IAAK,QACH,MAAO,OACT,QACE,OAAOA,KAEV,CAACA,IAEJ,OACEkB,EAACC,EAAW,CAACC,OAAQrB,GAAuB,eAAZA,IAA+BI,GAAcJ,QAASK,EACpFiB,SAAA,CAAAC,EAACC,EAAG,CAAA,cACU,OACZC,GAAI,CACFvB,MAAOA,QAAAA,EAAS,OAChBC,OAAQA,QAAAA,EAAU,OAClBF,MAAOiB,EACPQ,QAAS,OACTC,WAAY,YACbL,SAEDC,EAACV,EAAW,CAAA,MAEZJ,KAAaT,GAAuB,eAAZA,MAA+BI,GACvDmB,EAACK,EAAU,CACTC,UAAU,MACVJ,GAAEK,OAAAC,OAAA,CACAL,QAAS,OACTM,WAAY,CAAEC,GAAI,GAClBC,SAAU,CAAED,GAAI,QAAQ/B,YACxBiC,WAAY,OACZlC,MAAOiB,EACPkB,WAAY,UACY,aAApB/B,EACA,CACEgC,UAAW,UAEb,CACEC,WAAY,oBAInBlC,MAGO,EAOlB,SAASgB,GAAYE,SAAEA,EAAQD,KAAEA,EAAIrB,QAAEA,IACrC,OAAOqB,EACLE,EAACC,EACC,CAAAC,GAAI,CACFC,QAAS,cACTC,WAAwB,aAAZ3B,EAAyB,aAAe,WACpDuC,eAAgB,aAChBC,cAA2B,aAAZxC,EAAyB,SAAW,OAGpDsB,SAAAA,IAGHC,EAAGkB,EAAA,CAAAnB,SAAAA,GAEP,CAEA,MAAMP,EAAiB,IACrBQ,EAACmB,EAAQ,CAAAC,QAAQ,YAAYlB,GAAI,CAAEvB,MAAO,OAAQC,OAAQ,OAAQyC,KAAM,gBAAgB,cAAc,cAAatB,SACjHC,UAAMsB,EAAE,mmDAIN7B,EAAmB,IACvBG,EAACuB,EACC,CAAAC,QAAQ,cACRlB,GAAI,CAAEvB,MAAO,OAAQC,OAAQ,OAAQyC,KAAM,8BAC/B,gBAAetB,SAAA,CAE3BC,UAAMsB,EAAE,qmDACRtB,UAAMsB,EAAE,w4CAIN5B,EAAqB,IACzBM,EAACmB,EACC,CAAAC,QAAQ,aACRlB,GAAI,CAAEvB,MAAO,OAAQC,OAAQ,OAAQyC,KAAM,gBAAgB,cAC/C,kBAAiBtB,SAE7BC,UAAMsB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sources":["../../../../src/components/media/video/hooks.ts"],"sourcesContent":[null],"names":["useVideoSoundControls","videoRef","isMuted","setIsMuted","useState","_a","current","
|
|
1
|
+
{"version":3,"file":"hooks.js","sources":["../../../../src/components/media/video/hooks.ts"],"sourcesContent":[null],"names":["useVideoSoundControls","videoRef","isMuted","setIsMuted","useState","_a","current","muted","volume","setVolume","useEffect","video","handleMuteToggle","useCallback","prevMuted","handleVolumeChange","newVolume","useVideoPlayPause","isPlaying","setIsPlaying","paused","handlePlay","handlePause","addEventListener","removeEventListener","handlePlayPause","pause","play","prevIsPlaying","useVideoTime","currentTime","setCurrentTime","duration","setDuration","handleTimeUpdate","handleSeek","newTime","handleLoadedMetadata"],"mappings":"iEAiBa,MAAAA,EAAyBC,UACpC,MAAOC,EAASC,GAAcC,EAA2B,QAAlBC,EAAAJ,EAASK,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ASK,eAAS,IAAAD,OAAA,EAAAA,EAAAyB,cACpBC,EAAe9B,EAASK,QAAQwB,eAEjC,CAAC7B,IAEEkC,EAAatB,GAChBuB,WACuB,UAAlBnC,EAASK,eAAS,IAAAD,OAAA,EAAAA,EAAAyB,eACpB7B,EAASK,QAAQwB,YAAcM,GAEjCL,EAAeK,EAAQ,GAEzB,CAACnC,IAGGoC,EAAuBxB,GAAY,YACjB,UAAlBZ,EAASK,eAAS,IAAAD,OAAA,EAAAA,EAAA2B,WACpBC,EAAYhC,EAASK,QAAQ0B,YAE9B,CAAC/B,IAeJ,OAbAS,GAAU,KACR,MAAMC,EAAQV,aAAA,EAAAA,EAAUK,QACxB,GAAIK,EAIF,OAHAA,EAAMY,iBAAiB,iBAAkBc,GACzC1B,EAAMY,iBAAiB,aAAcW,GAE9B,KACLvB,EAAMa,oBAAoB,iBAAkBa,GAC5C1B,EAAMa,oBAAoB,aAAcU,EAAiB,IAG5D,CAACG,EAAsBH,EAAkBjC,IAErC,CACL6B,cACAE,WACAG,aACD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as t}from"tslib";import{jsx as e}from"react/jsx-runtime";import i from"@mui/material/MobileStepper";import{useState as r,useEffect as n}from"react";import{
|
|
1
|
+
import{__rest as t}from"tslib";import{jsx as e}from"react/jsx-runtime";import i from"@mui/material/MobileStepper";import{useState as r,useEffect as n}from"react";import{MobileStepperButtonNext as o,MobileStepperButtonBack as a}from"./mobileStepperButton.js";const p=p=>{var{steps:s,activeStep:l,variant:c,backButton:m,nextButton:b,prevButtonLabel:x,nextButtonLabel:d,LinearProgressProps:u,sx:B}=p,v=t(p,["steps","activeStep","variant","backButton","nextButton","prevButtonLabel","nextButtonLabel","LinearProgressProps","sx"]);const[S,f]=r(l);return n((()=>{f(l)}),[l]),e(i,Object.assign({},v,{steps:s,activeStep:S,variant:c,sx:{maxWidth:380,display:"flex",alignItems:"center",position:"static",fontWeight:"400",fontSize:"16px",lineHeight:"16px",letterSpacing:"0.02em"},backButton:e(a,{"data-testid":"MobileStepper.prevBtn",disabled:S<=0,onClick:()=>f((t=>t-1)),children:x}),nextButton:e(o,{"data-testid":"MobileStepper.nextBtn",disabled:S>=s-1,onClick:()=>f((t=>t+1)),children:d}),"data-testid":"MobileStepper"}))};export{p as MobileStepper};
|
|
2
2
|
//# sourceMappingURL=mobileStepper.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e}from"tslib";import{jsxs as t,jsx as r}from"react/jsx-runtime";import{styled as a}from"@mui/material/styles";import{
|
|
1
|
+
import{__rest as e}from"tslib";import{jsxs as t,jsx as r}from"react/jsx-runtime";import{styled as a}from"@mui/material/styles";import{NumberingColors as o,NumberingSizes as i}from"../../utils/enum.js";const n=a=>{var o=e(a,[]);return t(s,Object.assign({},o,{style:o.customStyle,"data-testid":"Numbering",children:[t("span",{className:"index-container","data-testid":"Numbering.index",children:[o.index," "]}),t("span",{className:"separator-container","data-testid":"Numbering.separator",children:[o.customSeparator?o.customSeparator:"/"," "]}),r("span",{className:"total-container","data-testid":"Numbering.total",children:o.total})]}))},s=a("div",{shouldForwardProp:e=>"customSeparator"!==e&&"colorTheme"!==e})((t=>{var{theme:r}=t,a=e(t,["theme"]);return{fontWeight:"700",fontSize:a.size===i.LARGE?"18px":"16px",lineHeight:a.size===i.LARGE?"28px":"24px",letterSpacing:"0.02em","& .index-container":{color:a.colorTheme===o.DARK?r.palette.text.primary:r.palette.onSurface.os0},"& .separator-container":{color:r.palette.onSurface.os600},"& .total-container":{color:r.palette.onSurface.os600}}}));export{n as Numbering};
|
|
2
2
|
//# sourceMappingURL=numbering.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e}from"tslib";import{jsxs as t,jsx as i,Fragment as n}from"react/jsx-runtime";import{styled as o,
|
|
1
|
+
import{__rest as e}from"tslib";import{jsxs as t,jsx as i,Fragment as n}from"react/jsx-runtime";import{styled as o,Pagination as a,PaginationItem as r,TextField as l,IconButton as s}from"@mui/material";import{forwardRef as p,useState as d,useEffect as c,useCallback as m}from"react";import{ternaryCondition as u}from"../../utils/utilities.js";import{Icon as h}from"../icon/icon.js";import"../icon/icon.definitions.js";const x=(e,t)=>""===e||"number"==typeof e&&e-1>0&&e+1<=t||"number"==typeof parseInt(e)&&parseInt(e)>0&&parseInt(e)<=t,f=(e,n,o,a,r,l)=>t(s,{"aria-label":"Navigate",variant:"standard",onClick:n,disabled:o,children:["forward"===a&&!r&&l,i(h,{name:e}),"back"===a&&!r&&l]}),g=p(((o,s)=>{var{count:p,isDisabled:g,page:v,prevButtonLabel:B,nextButtonLabel:y,defaultPage:w,hideNextButton:L,hidePrevButton:C,hideFirstButton:I,hideLastButton:j,hideLabels:k,onValueChange:N}=o,P=e(o,["count","isDisabled","page","prevButtonLabel","nextButtonLabel","defaultPage","hideNextButton","hidePrevButton","hideFirstButton","hideLastButton","hideLabels","onValueChange"]);const z=w||1,[M,S]=d(z),[V,W]=d(!0),[D,O]=d();c((()=>{M&&N&&N(M)}),[M,N]),c((()=>{V?W(!1):v&&!g&&S(v)}),[g,V,v]);const F=m(((e,t)=>{S(t)}),[]);return t(b,{"data-testid":"Pagination-wrapper",children:[i(a,Object.assign({className:"desktopView"},P,{shape:"rounded",count:p,disabled:g,page:M,hideNextButton:L,hidePrevButton:C,showFirstButton:!I,showLastButton:!j,ref:s,onChange:F,renderItem:e=>i(r,Object.assign({className:u(C,!1,"MuiPagination-prev",""),components:{first:()=>i(h,{name:"previous",fontSize:"small"}),last:()=>i(h,{name:"next",fontSize:"small"}),previous:()=>t(n,{children:[i(h,{name:"chevron-left",fontSize:"small"}),i(n,{children:B})]}),next:()=>t(n,{children:[i(n,{children:y}),i(h,{name:"chevron-right",fontSize:"small"})]})}},e))}))," ",i("div",{style:{display:"flex",flexDirection:"column"},className:"mobileView "+(g?"paginationDisabled":""),children:t("div",{className:"mobileContainer",children:[f("chevron-previous",(()=>x(M-1,p)&&S(1)),!x(M-1,p)),f("chevron-left",(()=>x(M-1,p)&&S(M-1)),!x(M-1,p),"back",k,B),i(l,{className:"textFieldContainer",value:M,inputProps:{inputMode:"numeric",pattern:`[1-${p}]*`},onChange:e=>(e=>{""===e&&(O(M),S(e));const t=parseInt(e);"number"==typeof t&&x(t,p)&&(O(t),S(t))})(e.target.value),onBlur:()=>""===M&&S(D)}),f("chevron-right",(()=>x(M+1,p)&&S(M+1)),!x(M+1,p),"forward",k,y),f("chevron-next",(()=>x(M+1,p)&&S(p)),!x(M+1,p))]})})]})})),b=o("div")((({theme:e})=>{let t={};const i={alignItems:"center",display:"flex",justifyContent:"center",width:"100%"};return t={[e.breakpoints.up("md")]:{"& .mobileView":{display:"none!important"}},[e.breakpoints.down("md")]:{"& .desktopView":{display:"none!important"}},"& .desktopView":{"& .MuiButton-startIcon":{marginRight:"8px",display:"inline-flex"},"& .MuiButton-endIcon":{marginLeft:"8px",display:"inline-flex"}},"& .mobileView":Object.assign(Object.assign({},i),{flexDirection:"column",flexWrap:"nowrap","& .mobileContainer":Object.assign(Object.assign({},i),{flexWrap:"nowrap"}),"& .textFieldContainer":{height:"36px",margin:"0 34px","& input, fieldset":{backgroundColor:e.palette.transparent.primary,border:0,borderRadius:"4px",fontSize:"16px",fontWeight:"400",height:"36px",lineHeight:"36px",minWidth:"44px",maxWidth:"50px",padding:"0 4px",textAlign:"center",color:e.palette.text.primary},"& fieldset":{visibility:"hidden"},"& div":{"&::before":{borderBottom:0},"&::after":{borderBottom:0}}},"& .controllerContainer":{"& .arrowLabel":{color:e.palette.text.primary,fontSize:"16px",fontWeight:"400",lineHeight:"16px"},"& .MuiButton-startIcon":{marginRight:"8px",display:"inline-flex"},"& .MuiButton-endIcon":{marginLeft:"8px",display:"inline-flex"},"& .MuiIcon-root":{fontSize:"16px",width:"20px",height:"20px"}},"& .counter_label":{color:e.palette.text.primary,fontSize:"12px",fontWeight:"400",lineHeight:"24px",marginTop:"4px"},"&.paginationDisabled":{pointerEvents:"none","& .counter_label, .MuiIcon-root,.arrowLabel, input, fieldset":{color:e.palette.disabled.primary}}})},t}));export{g as Pagination};
|
|
2
2
|
//# sourceMappingURL=pagination.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React, { ElementType } from 'react';
|
|
1
|
+
import React, { ReactNode, ElementType } from 'react';
|
|
2
2
|
import { StackProps, TypographyProps, ButtonProps, BoxProps } from '@mui/material';
|
|
3
3
|
import { IconProps } from '@/src/components/icon';
|
|
4
|
-
export
|
|
4
|
+
export interface QuickLinkProps extends Omit<StackProps<ElementType>, 'title'> {
|
|
5
5
|
/**
|
|
6
6
|
* Name of the icon from icon set
|
|
7
7
|
*/
|
|
8
|
-
iconName?:
|
|
8
|
+
iconName?: IconProps['name'];
|
|
9
9
|
/**
|
|
10
10
|
* Props applied to Icon component
|
|
11
11
|
*/
|
|
@@ -13,7 +13,7 @@ export type QuickLinkProps<C extends ElementType = 'div'> = {
|
|
|
13
13
|
/**
|
|
14
14
|
* Title text
|
|
15
15
|
*/
|
|
16
|
-
title?:
|
|
16
|
+
title?: ReactNode;
|
|
17
17
|
/**
|
|
18
18
|
* Props applied to title Typography wrapper component
|
|
19
19
|
*/
|
|
@@ -21,19 +21,27 @@ export type QuickLinkProps<C extends ElementType = 'div'> = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Subtitle text
|
|
23
23
|
*/
|
|
24
|
-
subtitle?:
|
|
24
|
+
subtitle?: ReactNode;
|
|
25
25
|
/**
|
|
26
26
|
* Props applied to subtitle Typography wrapper component
|
|
27
27
|
*/
|
|
28
28
|
subtitleTypographyProps?: TypographyProps;
|
|
29
|
+
/**
|
|
30
|
+
* Props applied to wrapper of divider component
|
|
31
|
+
*/
|
|
32
|
+
dividerWrapperProps?: BoxProps<ElementType>;
|
|
29
33
|
/**
|
|
30
34
|
* Props applied to divider component
|
|
31
35
|
*/
|
|
32
36
|
dividerProps?: BoxProps<ElementType>;
|
|
37
|
+
/**
|
|
38
|
+
* Content wrapper
|
|
39
|
+
*/
|
|
40
|
+
contentWrapperProps?: BoxProps<ElementType>;
|
|
33
41
|
/**
|
|
34
42
|
* Button text
|
|
35
43
|
*/
|
|
36
|
-
buttonTitle?:
|
|
44
|
+
buttonTitle?: ReactNode;
|
|
37
45
|
/**
|
|
38
46
|
* Props applied to Button component
|
|
39
47
|
*/
|
|
@@ -42,16 +50,14 @@ export type QuickLinkProps<C extends ElementType = 'div'> = {
|
|
|
42
50
|
* Props applied to Icon in Button
|
|
43
51
|
*/
|
|
44
52
|
buttonIconProps?: IconProps;
|
|
45
|
-
}
|
|
46
|
-
component?: C;
|
|
47
|
-
}>;
|
|
53
|
+
}
|
|
48
54
|
/**
|
|
49
55
|
* Quick Links are used to provide immediate access to the most relevant and
|
|
50
56
|
* frequently used actions related to a product or service.
|
|
51
57
|
*
|
|
52
58
|
* Composition of title, subtitle, icon, and button
|
|
53
59
|
*/
|
|
54
|
-
export declare const QuickLink: React.
|
|
60
|
+
export declare const QuickLink: React.FC<QuickLinkProps>;
|
|
55
61
|
export interface QuickLinkWrapperProps extends BoxProps<ElementType> {
|
|
56
62
|
}
|
|
57
63
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as t}from"tslib";import{jsxs as i,jsx as
|
|
1
|
+
import{__rest as t}from"tslib";import{jsxs as i,jsx as s}from"react/jsx-runtime";import{forwardRef as r}from"react";import{Stack as n,Box as o,Typography as e,Button as a}from"@mui/material";import{Icon as c}from"../icon/icon.js";import"../icon/icon.definitions.js";const p=r(((r,p)=>{var{iconName:x,iconProps:l,title:d,titleTypographyProps:m,subtitle:b,subtitleTypographyProps:u,dividerWrapperProps:g,dividerProps:h,contentWrapperProps:j,buttonTitle:f,buttonProps:k,buttonIconProps:O,onClick:P,sx:y}=r,v=t(r,["iconName","iconProps","title","titleTypographyProps","subtitle","subtitleTypographyProps","dividerWrapperProps","dividerProps","contentWrapperProps","buttonTitle","buttonProps","buttonIconProps","onClick","sx"]);const I=l||{},{sx:T}=I,C=t(I,["sx"]),W=g||{},{sx:L}=W,Q=t(W,["sx"]),w=h||{},{sx:B}=w,M=t(w,["sx"]),D=j||{},{sx:N}=D,S=t(D,["sx"]),X=k||{},{sx:z}=X,q=t(X,["sx"]);return i(n,Object.assign({direction:"column",alignItems:"flex-start",sx:Object.assign({minWidth:"0",cursor:"pointer",color:"inherit",textDecoration:"unset",gap:{xs:"8px",md:"16px"},"&:hover":{hr:{backgroundColor:"brand.primary",height:"2px"},".MuiButton-navigation":{color:"onSurface.os700",".MuiButton-startIcon":{transform:"translateX(-8px)"},".MuiButton-endIcon":{transform:"translateX(8px)"}}},"&:active":{".MuiButton-root":{transform:"scale(0.95)"}}},y),"data-testid":"QuickLink",ref:p},P&&{onClick:P,role:"button"},v,{children:[s(o,Object.assign({sx:Object.assign({position:"relative",width:"100%",height:"2px","&&":{mb:{xs:0,sm:x?0:2}}},L)},Q,{children:s(o,Object.assign({component:"hr",sx:Object.assign({border:"none",position:"absolute",inset:"0",height:"1px",backgroundColor:"text.primary",m:0},B)},M))})),i(o,Object.assign({sx:Object.assign({width:"480px",maxWidth:"100%",pr:3,pt:{xs:"8px",md:"0px"}},N)},S,{children:[i(n,{sx:{flexDirection:{xs:"row",sm:"column"},alignItems:{xs:"center",sm:"flex-start"},gap:{xs:"4px",sm:"18px"},mb:{xs:"4px",sm:0}},children:[x&&s(c,Object.assign({name:x,sx:Object.assign({display:"block",fontSize:{xs:"20px",sm:"35px"},mx:{xs:"2px",md:"0px"},my:{xs:"0px",md:"2px"}},T),"data-testid":"QuickLink.icon"},C)),d&&s(e,Object.assign({variant:"h4",display:"block","data-testid":"QuickLink.title",sx:{mb:{xs:0,sm:.5}}},m,{children:d}))]}),b&&s(e,Object.assign({variant:"disclaimer",display:"block","data-testid":"QuickLink.subtitle"},u,{children:b}))]})),f&&s(a,Object.assign({variant:"navigation",color:"inherit",endIcon:s(c,Object.assign({name:"arrow-right"},O)),"data-testid":"QuickLink.button",sx:Object.assign({},z)},q,{children:f}))]}))})),x=r(((i,r)=>{var{sx:n,children:e}=i,a=t(i,["sx","children"]);return s(o,Object.assign({sx:Object.assign({display:"grid",gridTemplateColumns:{xs:"1fr",lg:"repeat(3, 1fr)"},gap:3},n),ref:r},a,{children:e}))}));export{p as QuickLink,x as QuickLinkWrapper};
|
|
2
2
|
//# sourceMappingURL=quickLink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quickLink.js","sources":["../../../src/components/quickLink/quickLink.tsx"],"sourcesContent":[null],"names":["QuickLink","forwardRef","_a","ref","iconName","iconProps","title","titleTypographyProps","subtitle","subtitleTypographyProps","dividerProps","buttonTitle","buttonProps","buttonIconProps","sx","rest","__rest","_b","iconSx","restIconProps","_c","dividerSx","restDividerProps","
|
|
1
|
+
{"version":3,"file":"quickLink.js","sources":["../../../src/components/quickLink/quickLink.tsx"],"sourcesContent":[null],"names":["QuickLink","forwardRef","_a","ref","iconName","iconProps","title","titleTypographyProps","subtitle","subtitleTypographyProps","dividerWrapperProps","dividerProps","contentWrapperProps","buttonTitle","buttonProps","buttonIconProps","onClick","sx","rest","__rest","_b","iconSx","restIconProps","_c","dividerWrapperSx","restDividerWrapperProps","_d","dividerSx","restDividerProps","_e","contentWrapperSx","restContentWrapperProps","_f","buttonSx","restButtonProps","_jsxs","Stack","direction","alignItems","Object","assign","minWidth","cursor","color","textDecoration","gap","xs","md","hr","backgroundColor","height","transform","role","children","_jsx","Box","position","width","mb","sm","component","border","inset","m","maxWidth","pr","pt","flexDirection","Icon","name","display","fontSize","mx","my","Typography","variant","Button","endIcon","QuickLinkWrapper","gridTemplateColumns","lg"],"mappings":"0QA6Da,MAAAA,EAAsCC,GACjD,CACEC,EAiBAC,KAjBA,IAAAC,SACEA,EAAQC,UACRA,EAASC,MACTA,EAAKC,qBACLA,EAAoBC,SACpBA,EAAQC,wBACRA,EAAuBC,oBACvBA,EAAmBC,aACnBA,EAAYC,oBACZA,EAAmBC,YACnBA,EAAWC,YACXA,EAAWC,gBACXA,EAAe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C3E,OACEoD,EAACC,EACChB,OAAAC,OAAA,CAAAvB,kBACEqD,QAAS,OACTS,oBAAqB,CAAEjC,GAAI,MAAOkC,GAAI,kBACtCnC,IAAK,GACF5B,GAELd,IAAKA,GACDe,YAEHmC,IACG"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e}from"tslib";import{jsx as o}from"react/jsx-runtime";import{CloseIcon as s}from"../icon/stroke/CloseIcon.js";import{SearchIcon as r}from"../icon/stroke/SearchIcon.js";import{TextField as a,
|
|
1
|
+
import{__rest as e}from"tslib";import{jsx as o}from"react/jsx-runtime";import{CloseIcon as s}from"../icon/stroke/CloseIcon.js";import{SearchIcon as r}from"../icon/stroke/SearchIcon.js";import{TextField as a,Box as n,InputAdornment as i,IconButton as t}from"@mui/material";import{forwardRef as l,useState as c,useDeferredValue as d,useMemo as p,useEffect as u,useCallback as b}from"react";import m from"../../utils/useDebounce/useDebounce.js";import{updateFocusRingStyle as h}from"../focusring/focusring.js";const g=l(((l,g)=>{var{debounce:f=0,defaultValue:x="",cancelIconProps:j={},CancelIconComponent:C,disableInput:v,onCancel:I,onSearch:O,onChange:P,searchIconProps:S={},SearchIconComponent:y,slotProps:w,sx:k,value:z="",variant:D}=l,M=e(l,["debounce","defaultValue","cancelIconProps","CancelIconComponent","disableInput","onCancel","onSearch","onChange","searchIconProps","SearchIconComponent","slotProps","sx","value","variant"]);const A=y||r,V=C||s,[q,N]=c(x||z),R=d(q),U=m(q,f),{sx:W}=S,B=e(S,["sx"]),{sx:E}=j,F=e(j,["sx"]),G=w||{},{input:H={}}=G,J=e(G,["input"]),K=p((()=>{switch(D){case"transparent":return{bgcolor:"transparent.primary"};case"mapShadow":return{bgcolor:"onSurface.os0",boxShadow:e=>e.flowShadows.l};default:return{bgcolor:"surface.primary"}}}),[D]);u((()=>{null==P||P(f<=0?R:U)}),[f<=0?R:U]);const L=b((e=>{e.preventDefault(),e.stopPropagation(),null==O||O(q)}),[q]);return o(a,Object.assign({onChange:e=>N(e.target.value),ref:g,sx:Object.assign(Object.assign(Object.assign({position:"relative",borderRadius:"200px",border:1,borderColor:"onSurface.os900","&:has(.Mui-disabled)":{borderColor:"disabled.primary"},py:1.25,pl:2,mb:0},h(1,!1,"&:has(.Mui-focused)")),K),k)},M,{value:q,variant:"standard",size:"small",slotProps:Object.assign(Object.assign(Object.assign({},H),{input:{className:""+(""!==q?"filled":""),disabled:v||(null==M?void 0:M.disabled),inputProps:Object.assign(Object.assign({},"inputProps"in H&&Object.assign({},H.inputProps)),{sx:Object.assign({caretColor:e=>e.palette.brand.primary,p:0,ml:1,fontWeight:"300",color:"surface.quarternary","&.Mui-disabled::-webkit-input-placeholder":{opacity:1}},"inputProps"in H&&"sx"in H.inputProps&&Object.assign({},H.inputProps.sx))}),disableUnderline:!0,startAdornment:o(i,{position:"start",sx:{transition:"all .4s ease",color:(null==M?void 0:M.disabled)?"inherit":"onSurface.os700",mr:0},children:o(t,{disabled:null==M?void 0:M.disabled,tabIndex:O?0:-1,onClick:L,size:"medium","aria-label":"Search",sx:{width:32,height:32},children:o(A,Object.assign({sx:{transition:"all .5s ease"}},B))})}),endAdornment:o(n,{sx:{display:"flex"},children:o(i,{position:"start",sx:{color:"text.primary",opacity:""!==q?"1":"0",transition:"opacity .3s ease",cursor:""!==q?"pointer":"default",mr:1},children:o(t,{disabled:""===q||(null==M?void 0:M.disabled),onClick:()=>{N(""),null==I||I()},size:"medium",tabIndex:v?-1:0,"aria-label":"Clear search",sx:{width:32,height:32},children:o(V,Object.assign({},F))})})})}}),J)}))}));export{g as Search};
|
|
2
2
|
//# sourceMappingURL=search.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sources":["../../../src/components/search/search.tsx"],"sourcesContent":[null],"names":["Search","forwardRef","_a","ref","debounce","defaultValue","cancelIconProps","CancelIconComponent","disableInput","onCancel","onSearch","onChange","searchIconProps","SearchIconComponent","slotProps","sx","value","variant","rest","__rest","SearchIcon","FlowSearchIcon","CancelIcon","CloseIcon","search","setSearch","useState","deferredValue","useDeferredValue","debouncedValue","useDebounce","restSearchIconProps","restCancelIconProps","_b","input","slotPropsInput","restSlot","variantStyle","useMemo","bgcolor","boxShadow","theme","flowShadows","l","useEffect","handleSearchIconClick","useCallback","e","preventDefault","stopPropagation","_jsx","TextField","target","Object","assign","position","borderRadius","border","borderColor","py","pl","mb","updateFocusRingStyle","size","className","disabled","
|
|
1
|
+
{"version":3,"file":"search.js","sources":["../../../src/components/search/search.tsx"],"sourcesContent":[null],"names":["Search","forwardRef","_a","ref","debounce","defaultValue","cancelIconProps","CancelIconComponent","disableInput","onCancel","onSearch","onChange","searchIconProps","SearchIconComponent","slotProps","sx","value","variant","rest","__rest","SearchIcon","FlowSearchIcon","CancelIcon","CloseIcon","search","setSearch","useState","deferredValue","useDeferredValue","debouncedValue","useDebounce","searchIconSx","restSearchIconProps","cancelIconSx","restCancelIconProps","_b","input","slotPropsInput","restSlot","variantStyle","useMemo","bgcolor","boxShadow","theme","flowShadows","l","useEffect","handleSearchIconClick","useCallback","e","preventDefault","stopPropagation","_jsx","TextField","target","Object","assign","position","borderRadius","border","borderColor","py","pl","mb","updateFocusRingStyle","size","className","disabled","inputProps","caretColor","palette","brand","primary","p","ml","fontWeight","color","opacity","disableUnderline","startAdornment","InputAdornment","transition","mr","children","IconButton","tabIndex","onClick","width","height","endAdornment","Box","display","cursor"],"mappings":"2fAwFa,MAAAA,EAAgCC,GAC3C,CACEC,EAiBAC,KAjBA,IAAAC,SACEA,EAAW,EAACC,aACZA,EAAe,GAAEC,gBACjBA,EAAkB,CAAA,EAAEC,oBACpBA,EAAmBC,aACnBA,EAAYC,SACZA,EAAQC,SACRA,EAAQC,SACRA,EAAQC,gBACRA,EAAkB,CAAE,EAAAC,oBACpBA,EAAmBC,UACnBA,EAASC,GACTA,EAAEC,MACFA,EAAQ,GAAEC,QACVA,GAAOf,EACJgB,EAAIC,EAAAjB,EAfT,gMAmBA,MAAMkB,EAAaP,G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EL"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e}from"tslib";import{jsx as o,Fragment as r,jsxs as n}from"react/jsx-runtime";import{useState as t,useRef as l}from"react";import{FormControlSelectStyled as i}from"./formControlSelectStyled.js";import a from"@mui/material/Select";import{Icon as u}from"../icon/icon.js";import"../icon/icon.definitions.js";import{useSelectInput as c}from"./hook/useSelectInput.js";import{styled as d}from"@mui/material/styles";import s from"./inputLabelSelect.js";import{FormHelperText as m}from"@mui/material";import
|
|
1
|
+
import{__rest as e}from"tslib";import{jsx as o,Fragment as r,jsxs as n}from"react/jsx-runtime";import{useState as t,useRef as l}from"react";import{FormControlSelectStyled as i}from"./formControlSelectStyled.js";import a from"@mui/material/Select";import{Icon as u}from"../icon/icon.js";import"../icon/icon.definitions.js";import{useSelectInput as c}from"./hook/useSelectInput.js";import{styled as d}from"@mui/material/styles";import s from"./inputLabelSelect.js";import{FormHelperText as m}from"@mui/material";import h from"../common/helperText.js";const p=a=>{var{label:d=null,onChange:p,onBlur:b,onFocus:x,value:v,children:M,staticLabel:g,InputProps:W,fullWidth:j=!0,removeSelectMenuMaxWidth:B}=a,C=e(a,["label","onChange","onBlur","onFocus","value","children","staticLabel","InputProps","fullWidth","removeSelectMenuMaxWidth"]);const[I,S]=t(""),[k,F]=t(!1),[L,w]=t(!1),[O,T]=t(!1),[P,q]=t(!1),[y,E]=t(null),{handleOnBlur:V,handleOnChange:D,handleOnFocus:z}=c(k,(()=>{}),(()=>{}),j,C.helpText,v,S,C.required,T),A=l(null),G=l(null),H={sx:y?{maxWidth:B?"unset":y,"& .MuiBackdrop-root":{background:"transparent",backdropFilter:"blur(0px)"}}:{"& .MuiBackdrop-root":{background:"transparent",backdropFilter:"blur(0px)"}}};return o(r,{children:n(i,Object.assign({},C,{ref:G,staticLabel:g,sx:j?{}:{width:"200px"},disabled:C.disabled,error:C.hasError,value:I,hideBg:C.hideBg,onMouseEnter:()=>{!L&&!P&&w(!0)},onMouseLeave:()=>{L&&!P&&w(!1)},onMouseDown:e=>{const o=e.currentTarget.offsetWidth;E(o)},icon:C.icon,hovered:L,focused:k,variant:"filled",fullWidth:j,children:[C.icon&&o(u,{color:C.disabled?"disabled":"inherit",name:C.icon}),o(s,{staticLabel:g,label:d,opened:P,currentValue:I}),o(f,{variant:"filled",MenuProps:H,required:O,onOpen:()=>{q(!0)},onClose:()=>{F(!1),w(!1),q(!1)},onBlur:()=>V(F,b),onFocus:()=>z(F,x),IconComponent:()=>o(u,P?{name:"chevron-up"}:{name:"chevron-down"}),labelId:d,id:C.id,name:C.name,value:I,onChange:e=>D(e,p,S),ref:A,hasIcon:!!C.icon,fullWidth:j,children:M}),o(m,{children:o(h,{maxChars:0,currentValue:I,helpText:C.helpText})})]}))})},f=d(a,{shouldForwardProp:e=>"hasIcon"!==e&&"fullWidth"!==e})((o=>{var{theme:r}=o,n=e(o,["theme"]);if(!n.fullWidth)return null;return{"& > .MuiSelect-filled":{position:"absolute",left:0,top:0,width:n.hasIcon?"calc(100% - 102px) !important":"calc(100% - 62px) !important"}}}));export{p as SelectInput};
|
|
2
2
|
//# sourceMappingURL=selectInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectInput.js","sources":["../../../src/components/selectInput/selectInput.tsx"],"sourcesContent":[null],"names":["SelectInput","_a","label","onChange","onBlur","onFocus","value","children","staticLabel","InputProps","fullWidth","removeSelectMenuMaxWidth","props","__rest","currentValue","setCurrentValue","useState","isFocused","setIsFocused","hovered","setHovered","isRequired","setIsRequired","opened","setOpened","inputWidth","setInputWidth","handleOnBlur","handleOnChange","handleOnFocus","useSelectInput","helpText","required","inputRef","useRef","formControlSelectRef","menuProps","sx","maxWidth","background","backdropFilter","_jsx","_Fragment","_jsxs","FormControlSelectStyled","Object","assign","ref","width","disabled","error","hasError","hideBg","onMouseEnter","onMouseLeave","onMouseDown","e","elemWidth","currentTarget","offsetWidth","icon","focused","variant","Icon","color","name","InputLabelSelect","SelectInputStyled","MenuProps","onOpen","onClose","IconComponent","labelId","id","hasIcon","FormHelperText","HelperText","maxChars","styled","MuiSelect","shouldForwardProp","prop","args","position","left","top"],"mappings":"qiBAiHa,MAAAA,EAAqCC,IAAA,IAAAC,MAChDA,EAAQ,KAAIC,SACZA,EAAQC,OACRA,EAAMC,QACNA,EAAOC,MACPA,EAAKC,SACLA,EAAQC,YACRA,EAAWC,WACXA,EAAUC,UACVA,GAAY,EAAIC,yBAChBA,GAAwBV,EACrBW,EAX6CC,EAAAZ,EAAA,CAAA,QAAA,WAAA,SAAA,UAAA,QAAA,WAAA,cAAA,aAAA,YAAA,6BAahD,MAAOa,EAAcC,GAAmBC,EAAS,KAC1CC,EAAWC,GAAgBF,GAAS,IACpCG,EAASC,GAAcJ,GAAS,IAChCK,EAAYC,GAAiBN,GAAS,IACtCO,EAAQC,GAAaR,GAAS,IAC9BS,EAAYC,GAAiBV,EAAS,OAEvCW,aAAEA,EAAYC,eAAEA,EAAcC,cAAEA,GAAkBC,EACtDb,GACA,SACA,QACAP,EACAE,EAAMmB,SACNzB,EACAS,EACAH,EAAMoB,SACNV,GAGIW,EAAWC,EAAO,MAClBC,EAAuBD,EAAO,MAE9BE,EAAY,CAChBC,GAAIZ,EACA,CACEa,SAAU3B,EAA2B,QAAUc,EAC/C,sBAAuB,CACrBc,WAAY,cACZC,eAAgB,cAGpB,CACE,sBAAuB,CACrBD,WAAY,cACZC,eAAgB,eAK1B,OACEC,EACEC,EAAA,CAAAnC,SAAAoC,EAACC,EAAuBC,OAAAC,OAAA,CAAA,EAClBlC,EAAK,CACTmC,IAAKZ,EACL3B,YAAaA,EACb6B,GAAK3B,EAAiC,CAAA,EAArB,CAAEsC,MAAO,SAC1BC,SAAUrC,EAAMqC,SAChBC,MAAOtC,EAAMuC,SACb7C,MAAOQ,EACPsC,OAAQxC,EAAMwC,OACdC,aAAc,MACXlC,IAAYI,GAAUH,GAAW,EAAK,EAEzCkC,aAAc,KACZnC,IAAYI,GAAUH,GAAW,EAAM,EAEzCmC,YAAcC,IACZ,MAAMC,EAAYD,EAAEE,cAAcC,YAClCjC,EAAc+B,EAAU,EAE1BG,KAAMhD,EAAMgD,KACZzC,QAASA,EACT0C,QAAS5C,EACT6C,QAAQ,SACRpD,UAAWA,EAASH,SAAA,CAEnBK,EAAMgD,MAAQnB,EAACsB,GAAKC,MAAOpD,EAAMqC,SAAW,WAAa,UAAWgB,KAAMrD,EAAMgD,OACjFnB,EAACyB,EAAiB,CAAA1D,YAAaA,EAAaN,MAAOA,EAAOqB,OAAQA,EAAQT,aAAcA,IACxF2B,EAAC0B,GACCL,QAAQ,SACRM,UAAWhC,EACXJ,SAAUX,EACVgD,OAAQ,KACN7C,GAAU,EAAK,EAEjB8C,QAAS,KACPpD,GAAa,GACbE,GAAW,GACXI,GAAU,EAAM,EAElBpB,OAAQ,IAAMuB,EAAaT,EAAcd,GACzCC,QAAS,IAAMwB,EAAcX,EAAcb,GAC3CkE,cAAe,IAAgB9B,EAACsB,EAAVxC,EAAc,CAAC0C,KAAK,cAAwB,CAAAA,KAAK,iBACvEO,QAAStE,EACTuE,GAAI7D,EAAM6D,GACVR,KAAMrD,EAAMqD,KACZ3D,MAAOQ,EACPX,SAAWqD,GAAM5B,EAAe4B,EAAGrD,EAAUY,GAC7CgC,IAAKd,EACLyC,UAAW9D,EAAMgD,KACjBlD,UAAWA,EAASH,SAEnBA,IAEHkC,EAACkC,EAAc,CAAApE,SACbkC,EAACmC,GAAWC,SAAU,EAAG/D,aAAcA,EAAciB,SAAUnB,EAAMmB,kBAGxE,EAMDoC,EAAoBW,EAAOC,EAAW,CAC1CC,kBAAoBC,GAAkB,YAATA,GAA+B,cAATA,GAD3BH,EAEuC7E,IAAA,
|
|
1
|
+
{"version":3,"file":"selectInput.js","sources":["../../../src/components/selectInput/selectInput.tsx"],"sourcesContent":[null],"names":["SelectInput","_a","label","onChange","onBlur","onFocus","value","children","staticLabel","InputProps","fullWidth","removeSelectMenuMaxWidth","props","__rest","currentValue","setCurrentValue","useState","isFocused","setIsFocused","hovered","setHovered","isRequired","setIsRequired","opened","setOpened","inputWidth","setInputWidth","handleOnBlur","handleOnChange","handleOnFocus","useSelectInput","helpText","required","inputRef","useRef","formControlSelectRef","menuProps","sx","maxWidth","background","backdropFilter","_jsx","_Fragment","_jsxs","FormControlSelectStyled","Object","assign","ref","width","disabled","error","hasError","hideBg","onMouseEnter","onMouseLeave","onMouseDown","e","elemWidth","currentTarget","offsetWidth","icon","focused","variant","Icon","color","name","InputLabelSelect","SelectInputStyled","MenuProps","onOpen","onClose","IconComponent","labelId","id","hasIcon","FormHelperText","HelperText","maxChars","styled","MuiSelect","shouldForwardProp","prop","theme","args","position","left","top"],"mappings":"qiBAiHa,MAAAA,EAAqCC,IAAA,IAAAC,MAChDA,EAAQ,KAAIC,SACZA,EAAQC,OACRA,EAAMC,QACNA,EAAOC,MACPA,EAAKC,SACLA,EAAQC,YACRA,EAAWC,WACXA,EAAUC,UACVA,GAAY,EAAIC,yBAChBA,GAAwBV,EACrBW,EAX6CC,EAAAZ,EAAA,CAAA,QAAA,WAAA,SAAA,UAAA,QAAA,WAAA,cAAA,aAAA,YAAA,6BAahD,MAAOa,EAAcC,GAAmBC,EAAS,KAC1CC,EAAWC,GAAgBF,GAAS,IACpCG,EAASC,GAAcJ,GAAS,IAChCK,EAAYC,GAAiBN,GAAS,IACtCO,EAAQC,GAAaR,GAAS,IAC9BS,EAAYC,GAAiBV,EAAS,OAEvCW,aAAEA,EAAYC,eAAEA,EAAcC,cAAEA,GAAkBC,EACtDb,GACA,SACA,QACAP,EACAE,EAAMmB,SACNzB,EACAS,EACAH,EAAMoB,SACNV,GAGIW,EAAWC,EAAO,MAClBC,EAAuBD,EAAO,MAE9BE,EAAY,CAChBC,GAAIZ,EACA,CACEa,SAAU3B,EAA2B,QAAUc,EAC/C,sBAAuB,CACrBc,WAAY,cACZC,eAAgB,cAGpB,CACE,sBAAuB,CACrBD,WAAY,cACZC,eAAgB,eAK1B,OACEC,EACEC,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AWC,SAAU,EAAG/D,aAAcA,EAAciB,SAAUnB,EAAMmB,kBAGxE,EAMDoC,EAAoBW,EAAOC,EAAW,CAC1CC,kBAAoBC,GAAkB,YAATA,GAA+B,cAATA,GAD3BH,EAEuC7E,IAAA,IAAAiF,MAAEA,GAAgBjF,EAANkF,EAAItE,EAAAZ,EAAhB,WAC/D,IAAKkF,EAAKzE,UAAW,OAAO,KAG5B,MAAO,CACL,wBAAyB,CACvB0E,SAAU,WACVC,KAAM,EACNC,IAAK,EACLtC,MANUmC,EAAKT,QAAU,gCAAkC,gCAQ9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SkodaThemeWidgetProvider.js","sources":["../../../src/components/skodaThemeProvider/SkodaThemeWidgetProvider.tsx"],"sourcesContent":[null],"names":["SkodaThemeWidgetProvider","_a","theme","containerProps","skodaThemeOptions","rest","__rest","containerBreakpoints","containerRef","useContainerBreakpoints","composedTheme","useMemo","containerTheme","createSkodaTheme","breakpointsOptions","mode","
|
|
1
|
+
{"version":3,"file":"SkodaThemeWidgetProvider.js","sources":["../../../src/components/skodaThemeProvider/SkodaThemeWidgetProvider.tsx"],"sourcesContent":[null],"names":["SkodaThemeWidgetProvider","_a","theme","containerProps","skodaThemeOptions","rest","__rest","containerBreakpoints","containerRef","useContainerBreakpoints","composedTheme","useMemo","containerTheme","createSkodaTheme","breakpointsOptions","mode","direction","createTheme","_jsx","Box","Object","assign","ref","children","SkodaThemeProvider","windowBreakpoints","createBreakpoints","flowBreakpoints","setContainerBreakpoints","useState","windowWidth","setWindowWidth","window","innerWidth","useEffect","windowResizeFn","addEventListener","removeEventListener","useRef","containerWidth","setContainerWidth","observer","ResizeObserver","entries","contentRect","width","useLayoutEffect","current","observe","disconnect","handleResize","useCallback","container","difference","newContainerBreakpoints","keys","reduce","prev","curr","Math","round","values","debounceHandleResize","debounce"],"mappings":"yhBAiCa,MAAAA,EAA4BC,QAAAC,MACvCA,EAAKC,eACLA,EAAcC,kBACdA,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nC,EAAkBoC,OAAOH,GAAQL,IAAqB,OAE5E,CAAA,GAEFzB,EAAwB,CAAEiC,OAAQP,GAA0B,GAE9D,CAAC7B,IAEGqC,EAAuBnD,GAAQ,IAAMoD,EAASb,EAAc,MAAM,CAACA,IAKzE,OAJAJ,GAAgB,KACdgB,EAAqBhC,EAAaS,EAAe,GAChD,CAACT,EAAaS,IAEV,CAAEhC,uBAAsBC,eAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e}from"tslib";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{forwardRef as i}from"react";import{Snackbar as o,Alert as t,
|
|
1
|
+
import{__rest as e}from"tslib";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{forwardRef as i}from"react";import{Snackbar as o,Alert as t,AlertTitle as a,Button as c}from"@mui/material";const l=i(((i,l)=>{var{icon:s,message:m,header:d,handleAction:h,actionButtonTitle:C,closeOnClickaway:p=!0,onClose:u,handleClose:f,setOpen:g,children:O}=i,k=e(i,["icon","message","header","handleAction","actionButtonTitle","closeOnClickaway","onClose","handleClose","setOpen","children"]);return n(o,Object.assign({ref:l,onClose:(e,n)=>{p&&(g?g(!1):u&&u(e,n),f&&f(e,n))}},k,{children:O||r(t,{severity:s?{alert:"error",warning:"warning",success:"success"}[s]:void 0,action:n(c,{variant:"text",color:"inherit",size:"small",onClick:h,children:C}),children:[n(a,{children:d}),m]})}))}));export{l as Snackbar};
|
|
2
2
|
//# sourceMappingURL=snackbar.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as s}from"tslib";import{jsxs as e,jsx as t}from"react/jsx-runtime";import{forwardRef as i}from"react";import{Box as n,Typography as l}from"@mui/material";import{Label as
|
|
1
|
+
import{__rest as s}from"tslib";import{jsxs as e,jsx as t}from"react/jsx-runtime";import{forwardRef as i}from"react";import{Box as n,Typography as l}from"@mui/material";import{Label as a}from"../label/label.js";const r=i(((i,r)=>{var{sx:o,children:b,label:c,labelProps:d,headline:x,headlineProps:m,subheadline:p,subheadlineProps:h,body:j,bodyProps:u,buttons:g,buttonsProps:f}=i,O=s(i,["sx","children","label","labelProps","headline","headlineProps","subheadline","subheadlineProps","body","bodyProps","buttons","buttonsProps"]);const y=d||{},{sx:P}=y,k=s(y,["sx"]),v=m||{},{sx:w}=v,C=s(v,["sx"]),D=h||{},{sx:I}=D,W=s(D,["sx"]),q=u||{},{sx:z}=q,A=s(q,["sx"]),B=f||{},{sx:E}=B,F=s(B,["sx"]);return e(n,Object.assign({sx:Object.assign({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",p:3,width:"320px",maxWidth:"100%"},o),ref:r},O,{children:[c&&t(a,Object.assign({sx:Object.assign({mb:1},P)},k,{children:c})),x&&t(l,Object.assign({variant:"h4",sx:Object.assign({display:"block",mb:1},w)},C,{children:x})),p&&t(l,Object.assign({variant:"subheadline",sx:Object.assign({display:"block",mb:1},I)},W,{children:p})),j&&t(l,Object.assign({sx:Object.assign({display:"block",mb:2},z)},A,{children:j})),b,g&&t(n,Object.assign({sx:Object.assign({display:"flex",flexDirection:{xs:"column",md:"row"},alignItems:{xs:"stretch",md:"center"},justifyContent:"stretch",gap:1},E)},F,{children:g}))]}))}));export{r as TextAndCta};
|
|
2
2
|
//# sourceMappingURL=textAndCta.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textAndCta.js","sources":["../../../src/components/textAndCta/textAndCta.tsx"],"sourcesContent":[null],"names":["TextAndCta","forwardRef","_a","ref","sx","children","label","labelProps","headline","headlineProps","subheadline","subheadlineProps","body","bodyProps","buttons","buttonsProps","rest","__rest","_b","labelSx","restLabelProps","_c","headlineSx","restHeadlineProps","_d","subHeadlineSx","restSubHeadlineProps","_e","bodySx","restBodyProps","_f","buttonsSx","restButtonsProps","_jsxs","Box","Object","assign","display","flexDirection","alignItems","justifyContent","p","width","maxWidth","_jsx","Label","mb","Typography","variant","xs","md","gap"],"mappings":"kNA+Ca,MAAAA,EAAwCC,GACnD,CACEC,EAeAC,KAfA,IAAAC,GACEA,EAAEC,SACFA,EAAQC,MACRA,EAAKC,WACLA,EAAUC,SACVA,EAAQC,cACRA,EAAaC,YACbA,EAAWC,iBACXA,EAAgBC,KAChBA,EAAIC,UACJA,EAASC,QACTA,EAAOC,aACPA,GAAYb,EACTc,EAbLC,EAAAf,EAAA,CAAA,KAAA,WAAA,QAAA,aAAA,WAAA,gBAAA,cAAA,mBAAA,OAAA,YAAA,UAAA,iBAiBA,MAAMgB,EAAqCX,GAAc,IAAjDH,GAAIe,KAAYC,EAAlBH,EAAAC,EAAA,CAAA,OACAG,EAA2CZ,GAAiB,IAA1DL,GAAIkB,KAAeC,EAArBN,EAAAI,EAAA,CAAA,OACAG,EAAiDb,GAAoB,IAAnEP,GAAIqB,KAAkBC,EAAxBT,EAAAO,EAAA,CAAA,OACAG,EAAmCd,GAAa,IAA9CT,GAAIwB,KAAWC,EAAjBZ,EAAAU,EAAA,CAAA,OACAG,EAAyCf,GAAgB,IAAvDX,GAAI2B,KAAcC,EAApBf,EAAAa,EAAA,CAAA,OAEN,OACEG,EAACC,EAAGC,OAAAC,OAAA,CACFhC,GACE+B,OAAAC,OAAA,CAAAC,QAAS,OACTC,cAAe,SACfC,WAAY,
|
|
1
|
+
{"version":3,"file":"textAndCta.js","sources":["../../../src/components/textAndCta/textAndCta.tsx"],"sourcesContent":[null],"names":["TextAndCta","forwardRef","_a","ref","sx","children","label","labelProps","headline","headlineProps","subheadline","subheadlineProps","body","bodyProps","buttons","buttonsProps","rest","__rest","_b","labelSx","restLabelProps","_c","headlineSx","restHeadlineProps","_d","subHeadlineSx","restSubHeadlineProps","_e","bodySx","restBodyProps","_f","buttonsSx","restButtonsProps","_jsxs","Box","Object","assign","display","flexDirection","alignItems","justifyContent","p","width","maxWidth","_jsx","Label","mb","Typography","variant","xs","md","gap"],"mappings":"kNA+Ca,MAAAA,EAAwCC,GACnD,CACEC,EAeAC,KAfA,IAAAC,GACEA,EAAEC,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AAcC,EAAa,CAAAxB,SACtEO,KAGJP,EACAS,GACC8B,EAACV,EACCC,OAAAC,OAAA,CAAAhC,kBACEiC,QAAS,OACTC,cAAe,CAAEW,GAAI,SAAUC,GAAI,OACnCX,WAAY,CAAEU,GAAI,UAAWC,GAAI,UACjCV,eAAgB,UAChBW,IAAK,GACFpB,IAEDC,EAAgB,CAAA3B,SAEnBS,QAGD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e}from"tslib";import{jsx as r}from"react/jsx-runtime";import{TextField as a}from"@mui/material";import{forwardRef as o,useState as l,useCallback as n}from"react";import t from"../common/helperText.js";import{useTextAreaEffect as m}from"./hook/useTextAreaEffect.js";const s=o(((o,s)=>{var{name:u,id:i,label:h=null,onChange:c,onBlur:p,onFocus:x,value:d}=o,f=e(o,["name","id","label","onChange","onBlur","onFocus","value"]);const[b,C]=l(""),[g,v]=l(!1),[T,j]=l(!1),[,B]=l(!1),F=n((e=>{((e,r,a,o)=>{const l=e.target.value;(!r||r<0||r&&l.length<=r)&&(a(l),o&&o(e))})(e,f.maxChars,C,c)}),[f.maxChars,c]),k=n((e=>{((e,r,a,o)=>{r(!!e),a(!1),o()})(b,v,j,(()=>p?p(e):()=>{}))}),[b,p]),E=n((e=>{((e,r,a)=>{r(!0),e(!0),a()})(v,j,(()=>x?x(e):()=>{}))}),[x]);return m(b,d,f.maxChars,f.required,v,C,B),r(a,Object.assign({},f,{onChange:F,value:b,onFocus:E,multiline:!0,InputLabelProps:{shrink:g},onBlur:k,focused:T,label:h||null,hiddenLabel:!h,name:u,ref:s,id:i,error:f.hasError,disabled:f.disabled,helperText:r(t,{maxChars:f.maxChars,currentValue:b,helpText:f.helpText})}))}));export{s as TextArea};
|
|
1
|
+
import{__rest as e}from"tslib";import{jsx as r}from"react/jsx-runtime";import{TextField as a}from"@mui/material";import{forwardRef as o,useState as l,useCallback as n}from"react";import t from"../common/helperText.js";import{useTextAreaEffect as m}from"./hook/useTextAreaEffect.js";const s=o(((o,s)=>{var{name:u,id:i,label:h=null,onChange:c,onBlur:p,onFocus:x,value:d}=o,f=e(o,["name","id","label","onChange","onBlur","onFocus","value"]);const[b,C]=l(""),[g,v]=l(!1),[T,j]=l(!1),[,B]=l(!1),F=n((e=>{((e,r,a,o)=>{const l=e.target.value;(!r||r<0||r&&l.length<=r)&&(a(l),o&&o(e))})(e,f.maxChars,C,c)}),[f.maxChars,c]),k=n((e=>{((e,r,a,o)=>{r(!!e),a(!1),o&&o()})(b,v,j,(()=>p?p(e):()=>{}))}),[b,p]),E=n((e=>{((e,r,a)=>{r(!0),e(!0),a&&a()})(v,j,(()=>x?x(e):()=>{}))}),[x]);return m(b,d,f.maxChars,f.required,v,C,B),r(a,Object.assign({},f,{onChange:F,value:b,onFocus:E,multiline:!0,InputLabelProps:{shrink:g},onBlur:k,focused:T,label:h||null,hiddenLabel:!h,name:u,ref:s,id:i,error:f.hasError,disabled:f.disabled,helperText:r(t,{maxChars:f.maxChars,currentValue:b,helpText:f.helpText})}))}));export{s as TextArea};
|
|
2
2
|
//# sourceMappingURL=textArea.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textArea.js","sources":["../../../src/components/textArea/textArea.tsx"],"sourcesContent":[null],"names":["TextArea","forwardRef","_a","ref","name","id","label","onChange","onBlur","onFocus","value","props","__rest","currentValue","setCurrentValue","useState","isShrunk","setIsShrunk","isFocused","setIsFocused","setIsRequired","handleOnChangeWithUseCallback","useCallback","e","maxChars","inputValue","target","length","onChangeHandler","handleOnBlurWithUseCallback","event","onBlurHandler","handleOnFocusWithUseCallback","onFocusHandler","useTextAreaEffect","required","_jsx","TextField","Object","assign","multiline","InputLabelProps","shrink","focused","hiddenLabel","error","hasError","disabled","helperText","HelperText","helpText"],"mappings":"0RAiBA,MA0CaA,EAAWC,GACtB,CAACC,EAAwEC,SAAxEC,KAAEA,EAAIC,GAAEA,EAAEC,MAAEA,EAAQ,KAAIC,SAAEA,EAAQC,OAAEA,EAAMC,QAAEA,EAAOC,MAAEA,GAAKR,EAAKS,EAAKC,EAAAV,EAApE,6DACC,MAAOW,EAAcC,GAAmBC,EAAS,KAC1CC,EAAUC,GAAeF,GAAS,IAClCG,EAAWC,GAAgBJ,GAAS,KAClCK,GAAiBL,GAAS,GAE7BM,EAAgCC,GACnCC,IAlDiB,EACtBA,EACAC,EACAV,EACAP,KAEA,MAAMkB,EAAaF,EAAEG,OAAOhB,QAEvBc,GAAYA,EAAW,GAAMA,GAAYC,EAAWE,QAAUH,KACjEV,EAAgBW,GAChBlB,GAAYA,EAASgB,KAyCjBK,CAAgBL,EAAGZ,EAAMa,SAAUV,EAAiBP,EAAS,GAE/D,CAACI,EAAMa,SAAUjB,IAGbsB,EAA8BP,GACjCQ,IAzCe,EACpBjB,EACAI,EACAE,EACAX,KAEAS,IAAYJ,GACZM,GAAa,
|
|
1
|
+
{"version":3,"file":"textArea.js","sources":["../../../src/components/textArea/textArea.tsx"],"sourcesContent":[null],"names":["TextArea","forwardRef","_a","ref","name","id","label","onChange","onBlur","onFocus","value","props","__rest","currentValue","setCurrentValue","useState","isShrunk","setIsShrunk","isFocused","setIsFocused","setIsRequired","handleOnChangeWithUseCallback","useCallback","e","maxChars","inputValue","target","length","onChangeHandler","handleOnBlurWithUseCallback","event","onBlurHandler","handleOnFocusWithUseCallback","onFocusHandler","useTextAreaEffect","required","_jsx","TextField","Object","assign","multiline","InputLabelProps","shrink","focused","hiddenLabel","error","hasError","disabled","helperText","HelperText","helpText"],"mappings":"0RAiBA,MA0CaA,EAAWC,GACtB,CAACC,EAAwEC,SAAxEC,KAAEA,EAAIC,GAAEA,EAAEC,MAAEA,EAAQ,KAAIC,SAAEA,EAAQC,OAAEA,EAAMC,QAAEA,EAAOC,MAAEA,GAAKR,EAAKS,EAAKC,EAAAV,EAApE,6DACC,MAAOW,EAAcC,GAAmBC,EAAS,KAC1CC,EAAUC,GAAeF,GAAS,IAClCG,EAAWC,GAAgBJ,GAAS,KAClCK,GAAiBL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ent":[null],"names":["ToggleSwitch","forwardRef","_a","ref","compact","isNavigationVariant","props","__rest","focusVisible","setFocusVisible","useState","label","_b","
|
|
1
|
+
{"version":3,"file":"toggleSwitch.js","sources":["../../../src/components/toggleSwitch/toggleSwitch.tsx"],"sourcesContent":[null],"names":["ToggleSwitch","forwardRef","_a","ref","compact","isNavigationVariant","props","__rest","focusVisible","setFocusVisible","useState","label","_b","children","toggleSwitch","_jsx","ButtonFocusVisibleStyled","ToggleSwitchStyled","Object","assign","onFocusVisible","onBlur","e","size","className","FormControlLabelStyled","control","disabled","styled","MuiSwitch"],"mappings":"gUA2Da,MAAAA,EAAeC,GAC1B,CAACC,EAA4CC,YAA5CC,QAAEA,EAAOC,oBAAEA,GAAmBH,EAAKI,EAAKC,EAAAL,EAAxC,mCACC,MAAOM,EAAcC,GAAmBC,GAAS,GAC3CC,EAAuB,QAAfC,EAAAN,EAAMK,aAAS,IAAAC,EAAAA,EAAAN,EAAMO,SAO7BC,EACJC,EAACC,EAAwB,CAACR,aAAcA,EAAcH,qBAAqB,EAAKQ,SAC9EE,EAACE,EACKC,OAAAC,OAAA,CAAA,EAAAb,EACJ,CAAAH,IAAKA,EACLiB,eAAgB,IAAMX,GAAgB,GACtCY,OAXUC,IACdb,GAAgB,GACZH,EAAMe,QAAQf,EAAMe,OAAOC,EAAE,EAU7BC,KAAMnB,EAAU,QAAU,SAC1BoB,UAAWhB,EAAe,mBAAqB,QAKrD,OAAOG,EACLI,EAACU,EAAsB,CAACC,QAASZ,EAAcH,MAAOL,EAAMK,MAAOgB,SAAUrB,EAAMqB,WAEnF,CACD,IAOCV,EAAqBW,EAAOC,EAAPD,EAAkC,IACpD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TypographyProps } from '@mui/material';
|
|
2
|
+
export interface TooltipHeaderProps extends TypographyProps {
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Headline for @mui tooltip, that should be passed as first element in title:
|
|
6
|
+
* <Tooltip title={<>
|
|
7
|
+
* <TooltipHeader>Headline</TooltipHeader>
|
|
8
|
+
* {children}
|
|
9
|
+
* </>} />
|
|
10
|
+
*/
|
|
11
|
+
export declare const TooltipHeader: ({ children, sx, className, ...rest }: TooltipHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as o}from"tslib";import{jsx as r}from"react/jsx-runtime";import{Typography as e}from"@mui/material";const i=i=>{var{children:a,sx:t,className:n}=i,s=o(i,["children","sx","className"]);return r(e,Object.assign({sx:Object.assign({display:"block",maxWidth:"none",mt:"-24px",mb:"12px",mx:"-24px",py:"16px",px:"24px",backgroundColor:"onSurface.os800",color:"onSurface.os0",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},t),variant:"caption2",component:"h4",className:["FlowTooltip-header",n].filter(Boolean).join(" ")},s,{children:a}))};export{i as TooltipHeader};
|
|
2
|
+
//# sourceMappingURL=TooltipHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TooltipHeader.js","sources":["../../../src/components/tooltipHeader/TooltipHeader.tsx"],"sourcesContent":[null],"names":["TooltipHeader","_a","children","sx","className","rest","__rest","_jsx","Typography","Object","assign","display","maxWidth","mt","mb","mx","py","px","backgroundColor","color","borderTopLeftRadius","borderTopRightRadius","variant","component","filter","Boolean","join"],"mappings":"kHAYa,MAAAA,EAAiBC,QAAAC,SAAEA,EAAQC,GAAEA,EAAEC,UAAEA,KAAcC,EAA9BC,EAAAL,EAAA,CAAA,WAAA,KAAA,cAC5B,OACEM,EAACC,EAAUC,OAAAC,OAAA,CACTP,GAAEM,OAAAC,OAAA,CACAC,QAAS,QACTC,SAAU,OAEVC,GAAI,QACJC,GAAI,OACJC,GAAI,QAEJC,GAAI,OACJC,GAAI,OAEJC,gBAAiB,kBACjBC,MAAO,gBACPC,oBAAqB,UACrBC,qBAAsB,WAEnBlB,GAELmB,QAAQ,WACRC,UAAU,KACVnB,UAAW,CAAC,qBAAsBA,GAAWoB,OAAOC,SAASC,KAAK,MAC9DrB,EAEH,CAAAH,SAAAA,IACU"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TooltipHeader';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadField.js","sources":["../../../src/components/upload/UploadField.tsx"],"sourcesContent":[null],"names":["UploadField","uploadIcon","maxFiles","uploadLabel","accept","onFileDrop","inputRef","useRef","dragging","setDragging","useState","dragInvalid","setDragInvalid","preventDragOver","useCallback","event","stopPropagation","preventDefault","dragOverHandler","dataTransfer","files","filter","file","isAcceptedFileType","slice","length","dragLeaveHandler","uploadClickHandler","_a","current","
|
|
1
|
+
{"version":3,"file":"UploadField.js","sources":["../../../src/components/upload/UploadField.tsx"],"sourcesContent":[null],"names":["UploadField","uploadIcon","maxFiles","uploadLabel","accept","onFileDrop","inputRef","useRef","dragging","setDragging","useState","dragInvalid","setDragInvalid","preventDragOver","useCallback","event","stopPropagation","preventDefault","dragOverHandler","dataTransfer","files","filter","file","isAcceptedFileType","slice","length","dragLeaveHandler","uploadClickHandler","_a","current","click","dropHandler","matched","inputChangeHandler","target","value","acceptedTypes","type","trim","split","some","includes","typePrefix","startsWith","extension","toLowerCase","name","endsWith","_jsx","UploadBox","color","children","_jsxs","Box","sx","width","height","display","alignItems","justifyContent","padding","gap","pointerEvents","cursor","onDragOver","onDrop","onDragEnter","onDragLeave","onClick","IconButton","Icon","Typography","ref","hidden","multiple","onChange"],"mappings":"0SAwCa,MAAAA,EAAoC,EAC/CC,aAAa,OACbC,WAAW,EACXC,cAAc,SACdC,SAAS,IACTC,iBAEA,MAAMC,EAAWC,EAAyB,OACnCC,EAAUC,GAAeC,GAAkB,IAC3CC,EAAaC,GAAkBF,GAAkB,GAElDG,EAAkBC,GAAaC,IACnCA,EAAMC,kBACND,EAAME,gBAAgB,GACrB,IAEGC,EAAkBJ,GACrBC,IACe,IAAIA,EAAMI,aAAaC,OACfC,QAAQC,GA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S,CAACC,MAAO1C,EAAW,UAAY,YAAW2C,SAClDC,EAACC,EAAG,CACFC,GAAI,CACFC,MAAO,OACPC,OAAQ,OACRC,QAAS,OACTC,WAAY,SACZC,eAAgB,SAChBC,QAAS,OACTC,IAAK,MACL,MAAO,CACLC,cAAe,QAEjBC,OAAQpD,EAAc,UAAY,WAEpCqD,WAAYnD,EACZoD,OAAQlC,EACRmC,YAAahD,EACbiD,YAAazC,EACb0C,QAASzC,EAAkBwB,SAAA,CAE3BH,EAACqB,EAAU,CAAA,aAAY,cAAalB,SAClCH,EAACsB,EAAI,CAACxB,KAAM7C,MAEU,iBAAhBE,EAA2B6C,EAACuB,EAAU,CAAApB,SAAEhD,IAA4BA,EAE5E6C,WACEwB,IAAKlE,EACLmE,UACApC,KAAK,OACLqC,SAAUxE,EAAW,EACrBE,OAAQA,EACRuE,SAAU1C,QAGJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadPreviewList.js","sources":["../../../src/components/upload/UploadPreviewList.tsx"],"sourcesContent":[null],"names":["UploadPreviewList","files","actions","_jsx","UploadBox","color","Box","sx","width","height","padding","overflow","children","List","map","file","index","_jsxs","_Fragment","ListItem","secondaryAction","
|
|
1
|
+
{"version":3,"file":"UploadPreviewList.js","sources":["../../../src/components/upload/UploadPreviewList.tsx"],"sourcesContent":[null],"names":["UploadPreviewList","files","actions","_jsx","UploadBox","color","Box","sx","width","height","padding","overflow","children","List","map","file","index","_jsxs","_Fragment","ListItem","secondaryAction","disableGutters","ListItemIcon","fontSize","Icon","name","ListItemText","primary","Typography","whiteSpace","textOverflow","paddingRight","secondary","formatFileSize","size","length","Divider"],"mappings":"iYAiCa,MAAAA,EAAgD,EAAGC,QAAOC,aAEnEC,EAACC,EAAS,CAACC,MAAM,iBACfF,EAACG,GAAIC,GAAI,CAAEC,MAAO,OAAQC,OAAQ,OAAQC,QAAS,SAAUC,SAAU,QACrEC,SAAAT,EAACU,EACE,CAAAD,SAAAX,EAAMa,KAAI,CAACC,EAAMC,IAChBC,EACEC,EAAA,CAAAN,SAAA,CAAAK,EAACE,EAAyB,CAAAC,gBAAiBlB,aAAA,EAAAA,EAAUa,GAAOM,gBAAc,EAAAT,SAAA,CACxET,EAACmB,EAAY,CAACf,GAAI,CAAEgB,SAAU,iBAC5BpB,EAACqB,GAAKD,SAAS,UAAUE,KAAK,WAEhCtB,EAACuB,EACC,CAAAC,QACExB,EAACyB,EACC,CAAArB,GAAI,CACFsB,WAAY,SACZlB,SAAU,SACVmB,aAAc,WACdC,aAAc,QAGfnB,SAAAG,EAAKU,OAGVO,UAAW7B,EAACyB,EAAU,CAACvB,MAAM,6BAAqB4B,EAAelB,EAAKmB,YAjB3DnB,EAAKU,MAoBnBT,EAAQf,EAAMkC,OAAS,GAAKhC,EAACiC"}
|