@skodaflow/web-library 7.10.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/banner/banner.js +1 -1
- package/cjs/components/banner/banner.js.map +1 -1
- package/cjs/components/bottomSheet/bottomSheet.d.ts +1 -1
- package/cjs/components/bottomSheet/bottomSheet.js +1 -1
- package/cjs/components/bottomSheet/bottomSheet.js.map +1 -1
- package/cjs/components/button/button.d.ts +1 -1
- package/cjs/components/bypassBlock/bypassBlock.d.ts +33 -0
- package/cjs/components/bypassBlock/bypassBlock.js +2 -0
- package/cjs/components/bypassBlock/bypassBlock.js.map +1 -0
- package/cjs/components/bypassBlock/index.d.ts +1 -0
- package/cjs/components/cardMenu/styled/menuListStyled.d.ts +1 -1
- package/cjs/components/carousel/autoplay.d.ts +1 -1
- package/cjs/components/carousel/autoplay.js +1 -1
- package/cjs/components/carousel/autoplay.js.map +1 -1
- package/cjs/components/carousel/hooks.js +1 -1
- package/cjs/components/carousel/hooks.js.map +1 -1
- package/cjs/components/carousel/navigation.d.ts +10 -5
- package/cjs/components/carousel/navigation.js +1 -1
- package/cjs/components/carousel/navigation.js.map +1 -1
- package/cjs/components/carousel/pagination.d.ts +2 -2
- package/cjs/components/carousel/pagination.js +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/chip/chipMultiselect/multiSelectChip.js +1 -1
- package/cjs/components/chip/chipMultiselect/multiSelectChip.js.map +1 -1
- package/cjs/components/closeDialogButton/index.d.ts +1 -1
- package/cjs/components/closeDialogButton/index.js +1 -1
- package/cjs/components/closeDialogButton/index.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/focusring/focusring.d.ts +26 -0
- package/cjs/components/focusring/focusring.js +2 -0
- package/cjs/components/focusring/focusring.js.map +1 -0
- package/cjs/components/focusring/index.d.ts +1 -0
- package/cjs/components/formMessage/formMessage.d.ts +26 -0
- package/cjs/components/formMessage/formMessage.js +2 -0
- package/cjs/components/formMessage/formMessage.js.map +1 -0
- package/cjs/components/formMessage/index.d.ts +1 -0
- 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/icon/filled/AISuggestionFilledIcon.d.ts +6 -0
- package/cjs/components/icon/filled/AISuggestionFilledIcon.js +2 -0
- package/cjs/components/icon/filled/AISuggestionFilledIcon.js.map +1 -0
- package/cjs/components/icon/filled/BatteryHighVoltageFilledIcon.d.ts +6 -0
- package/cjs/components/icon/filled/BatteryHighVoltageFilledIcon.js +2 -0
- package/cjs/components/icon/filled/BatteryHighVoltageFilledIcon.js.map +1 -0
- package/cjs/components/icon/filled/FuelSavingsFilledIcon.d.ts +6 -0
- package/cjs/components/icon/filled/FuelSavingsFilledIcon.js +2 -0
- package/cjs/components/icon/filled/FuelSavingsFilledIcon.js.map +1 -0
- package/cjs/components/icon/filled/PercentageFilledIcon.d.ts +6 -0
- package/cjs/components/icon/filled/PercentageFilledIcon.js +2 -0
- package/cjs/components/icon/filled/PercentageFilledIcon.js.map +1 -0
- package/cjs/components/icon/filled/TripCyclicFilledIcon.d.ts +6 -0
- package/cjs/components/icon/filled/TripCyclicFilledIcon.js +2 -0
- package/cjs/components/icon/filled/TripCyclicFilledIcon.js.map +1 -0
- package/cjs/components/icon/filled/TripLongTermFilledIcon.d.ts +6 -0
- package/cjs/components/icon/filled/TripLongTermFilledIcon.js +2 -0
- package/cjs/components/icon/filled/TripLongTermFilledIcon.js.map +1 -0
- package/cjs/components/icon/filled/TripSingleFilledIcon.d.ts +6 -0
- package/cjs/components/icon/filled/TripSingleFilledIcon.js +2 -0
- package/cjs/components/icon/filled/TripSingleFilledIcon.js.map +1 -0
- package/cjs/components/icon/filled/TyreRepairFilledIcon.d.ts +6 -0
- package/cjs/components/icon/filled/TyreRepairFilledIcon.js +2 -0
- package/cjs/components/icon/filled/TyreRepairFilledIcon.js.map +1 -0
- package/cjs/components/icon/filled/WallboxFilledIcon.d.ts +6 -0
- package/cjs/components/icon/filled/WallboxFilledIcon.js +2 -0
- package/cjs/components/icon/filled/WallboxFilledIcon.js.map +1 -0
- package/cjs/components/icon/filled/index.d.ts +9 -0
- package/cjs/components/icon/icon.definitions.js +1 -1
- package/cjs/components/icon/icon.definitions.js.map +1 -1
- package/cjs/components/icon/stroke/AISuggestionIcon.d.ts +6 -0
- package/cjs/components/icon/stroke/AISuggestionIcon.js +2 -0
- package/cjs/components/icon/stroke/AISuggestionIcon.js.map +1 -0
- package/cjs/components/icon/stroke/BatteryHighVoltageIcon.d.ts +6 -0
- package/cjs/components/icon/stroke/BatteryHighVoltageIcon.js +2 -0
- package/cjs/components/icon/stroke/BatteryHighVoltageIcon.js.map +1 -0
- package/cjs/components/icon/stroke/FuelSavingsIcon.d.ts +6 -0
- package/cjs/components/icon/stroke/FuelSavingsIcon.js +2 -0
- package/cjs/components/icon/stroke/FuelSavingsIcon.js.map +1 -0
- package/cjs/components/icon/stroke/PercentageIcon.d.ts +6 -0
- package/cjs/components/icon/stroke/PercentageIcon.js +2 -0
- package/cjs/components/icon/stroke/PercentageIcon.js.map +1 -0
- package/cjs/components/icon/stroke/TripCyclicIcon.d.ts +6 -0
- package/cjs/components/icon/stroke/TripCyclicIcon.js +2 -0
- package/cjs/components/icon/stroke/TripCyclicIcon.js.map +1 -0
- package/cjs/components/icon/stroke/TripLongTermIcon.d.ts +6 -0
- package/cjs/components/icon/stroke/TripLongTermIcon.js +2 -0
- package/cjs/components/icon/stroke/TripLongTermIcon.js.map +1 -0
- package/cjs/components/icon/stroke/TripSingleIcon.d.ts +6 -0
- package/cjs/components/icon/stroke/TripSingleIcon.js +2 -0
- package/cjs/components/icon/stroke/TripSingleIcon.js.map +1 -0
- package/cjs/components/icon/stroke/TyreRepairIcon.d.ts +6 -0
- package/cjs/components/icon/stroke/TyreRepairIcon.js +2 -0
- package/cjs/components/icon/stroke/TyreRepairIcon.js.map +1 -0
- package/cjs/components/icon/stroke/WallboxIcon.d.ts +6 -0
- package/cjs/components/icon/stroke/WallboxIcon.js +2 -0
- package/cjs/components/icon/stroke/WallboxIcon.js.map +1 -0
- package/cjs/components/icon/stroke/index.d.ts +13 -4
- package/cjs/components/index.d.ts +6 -0
- package/cjs/components/label/label.d.ts +1 -1
- package/cjs/components/label/label.js +1 -1
- package/cjs/components/label/label.js.map +1 -1
- package/cjs/components/logo/Logo.js +1 -1
- package/cjs/components/logo/Logo.js.map +1 -1
- package/cjs/components/media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.d.ts +1 -1
- package/cjs/components/media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.js +1 -1
- package/cjs/components/media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.js.map +1 -1
- package/cjs/components/media/video/hooks.js.map +1 -1
- package/cjs/components/modal/modal.d.ts +6 -0
- package/cjs/components/modal/modal.js +1 -1
- package/cjs/components/modal/modal.js.map +1 -1
- package/cjs/components/pagination/pagination.js +1 -1
- package/cjs/components/pagination/pagination.js.map +1 -1
- package/cjs/components/progress/loader.js +1 -1
- package/cjs/components/progress/loader.js.map +1 -1
- package/cjs/components/progress/progress.js +1 -1
- package/cjs/components/progress/progress.js.map +1 -1
- package/cjs/components/progress/spinner.js +1 -1
- package/cjs/components/progress/spinner.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/collapsableSearch.d.ts +22 -0
- package/cjs/components/search/collapsableSearch.js +2 -0
- package/cjs/components/search/collapsableSearch.js.map +1 -0
- package/cjs/components/search/index.d.ts +2 -0
- package/cjs/components/search/search.d.ts +73 -0
- package/cjs/components/search/search.js +2 -0
- package/cjs/components/search/search.js.map +1 -0
- 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/spacing/index.d.ts +1 -0
- package/cjs/components/spacing/spacing.d.ts +16 -0
- package/cjs/components/spacing/spacing.js +2 -0
- package/cjs/components/spacing/spacing.js.map +1 -0
- package/cjs/components/stepper/stepper.styles.d.ts +1 -1
- package/cjs/components/textAndCta/appStoreButton.js +1 -1
- package/cjs/components/textAndCta/appStoreButton.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 +1 -1
- package/cjs/components/upload/UploadField.js.map +1 -1
- package/cjs/components/upload/UploadPreview.d.ts +1 -1
- package/cjs/components/upload/UploadPreviewList.d.ts +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/FooterAccordion.js +1 -1
- package/cjs/layout/Footer/FooterAccordion.js.map +1 -1
- package/cjs/layout/Footer/FooterIconButton.js +1 -1
- package/cjs/layout/Footer/FooterIconButton.js.map +1 -1
- package/cjs/layout/Footer/FooterLink.d.ts +3 -3
- 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/Footer/PredefinedFooterIconButtons.d.ts +1 -1
- package/cjs/layout/Footer/PredefinedFooterIconButtons.js +1 -1
- package/cjs/layout/Footer/PredefinedFooterIconButtons.js.map +1 -1
- package/cjs/layout/Header/Header.js +1 -1
- package/cjs/layout/Header/Header.js.map +1 -1
- package/cjs/layout/Header/HeaderLanguageSelect.js +1 -1
- package/cjs/layout/Header/HeaderLanguageSelect.js.map +1 -1
- package/cjs/layout/Header/HeaderNavigationHero.js.map +1 -1
- package/cjs/layout/Header/PredefinedHeaderButtons.js +1 -1
- package/cjs/layout/Header/PredefinedHeaderButtons.js.map +1 -1
- package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +1 -1
- package/cjs/layout/SideMenu/SideMenu.js +1 -1
- package/cjs/layout/SideMenu/SideMenu.js.map +1 -1
- package/cjs/layout/cookieModal/CookieModal.js +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/avatar/avatar.theme.js +1 -1
- package/cjs/materialui/avatar/avatar.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/breadcrumbs/breadcrumbs.theme.js +1 -1
- package/cjs/materialui/breadcrumbs/breadcrumbs.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/card/FlippingCardContent.js +1 -1
- package/cjs/materialui/card/FlippingCardContent.js.map +1 -1
- package/cjs/materialui/card/card.theme.js +1 -1
- package/cjs/materialui/card/card.theme.js.map +1 -1
- package/cjs/materialui/checkbox/checkbox.theme.js +1 -1
- package/cjs/materialui/checkbox/checkbox.theme.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/fab/fab.theme.js +1 -1
- package/cjs/materialui/fab/fab.theme.js.map +1 -1
- package/cjs/materialui/iconButton/iconButton.theme.js +1 -1
- package/cjs/materialui/iconButton/iconButton.theme.js.map +1 -1
- package/cjs/materialui/index.d.ts +2 -0
- package/cjs/materialui/link/index.d.ts +2 -0
- package/cjs/materialui/link/link.theme.js +1 -1
- package/cjs/materialui/link/link.theme.js.map +1 -1
- package/cjs/materialui/list/list.theme.js +1 -1
- package/cjs/materialui/list/list.theme.js.map +1 -1
- package/cjs/materialui/list/listItem.theme.js +1 -1
- package/cjs/materialui/list/listItem.theme.js.map +1 -1
- package/cjs/materialui/list/listItemAvatar.theme.js +1 -1
- package/cjs/materialui/list/listItemAvatar.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/list/listItemText.theme.js.map +1 -1
- package/cjs/materialui/list/listSubheader.theme.js +1 -1
- package/cjs/materialui/list/listSubheader.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/radio/radio.theme.js +1 -1
- package/cjs/materialui/radio/radio.theme.js.map +1 -1
- package/cjs/materialui/slider/slider.theme.d.ts +2 -1
- package/cjs/materialui/slider/slider.theme.js +1 -1
- package/cjs/materialui/slider/slider.theme.js.map +1 -1
- package/cjs/materialui/slider/sliderContainer.js +1 -1
- package/cjs/materialui/slider/sliderContainer.js.map +1 -1
- package/cjs/materialui/slider/sliderValues.js +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/switch/switch.theme.js +1 -1
- package/cjs/materialui/switch/switch.theme.js.map +1 -1
- package/cjs/materialui/table/tableContainer.theme.js +1 -1
- package/cjs/materialui/table/tableContainer.theme.js.map +1 -1
- package/cjs/materialui/tabs/scrollButtonComponent.js +1 -1
- package/cjs/materialui/tabs/scrollButtonComponent.js.map +1 -1
- package/cjs/materialui/tabs/tab.theme.js +1 -1
- package/cjs/materialui/tabs/tab.theme.js.map +1 -1
- package/cjs/materialui/tabs/tabComponent.js +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 +2 -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/textfield/outlinedInput.theme.d.ts +2 -0
- package/cjs/materialui/textfield/outlinedInput.theme.js +2 -0
- 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.d.ts +2 -0
- package/cjs/materialui/textfield/textField.theme.js +2 -0
- package/cjs/materialui/textfield/textField.theme.js.map +1 -0
- package/cjs/materialui/theme/paletteDark.theme.js +1 -1
- package/cjs/materialui/theme/paletteDark.theme.js.map +1 -1
- 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 +70 -8
- package/cjs/materialui/theme/theme.js +1 -1
- package/cjs/materialui/theme/theme.js.map +1 -1
- package/cjs/materialui/themeProvider/baseline.theme.js +1 -1
- package/cjs/materialui/themeProvider/baseline.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 +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/Notification.js +1 -1
- package/cjs/organisms/notification/Notification.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/cjs/utils/useDebounce/useDebounce.js +2 -0
- package/cjs/utils/useDebounce/useDebounce.js.map +1 -0
- package/components/accordion/accordion.js.map +1 -1
- package/components/banner/banner.js +1 -1
- package/components/banner/banner.js.map +1 -1
- package/components/bottomSheet/bottomSheet.d.ts +1 -1
- package/components/bottomSheet/bottomSheet.js +1 -1
- package/components/bottomSheet/bottomSheet.js.map +1 -1
- package/components/button/button.d.ts +1 -1
- package/components/bypassBlock/bypassBlock.d.ts +33 -0
- package/components/bypassBlock/bypassBlock.js +2 -0
- package/components/bypassBlock/bypassBlock.js.map +1 -0
- package/components/bypassBlock/index.d.ts +1 -0
- package/components/cardMenu/styled/menuListStyled.d.ts +1 -1
- package/components/carousel/autoplay.d.ts +1 -1
- package/components/carousel/autoplay.js +1 -1
- package/components/carousel/autoplay.js.map +1 -1
- package/components/carousel/hooks.js +1 -1
- package/components/carousel/hooks.js.map +1 -1
- package/components/carousel/navigation.d.ts +10 -5
- package/components/carousel/navigation.js +1 -1
- package/components/carousel/navigation.js.map +1 -1
- package/components/carousel/pagination.d.ts +2 -2
- package/components/carousel/pagination.js +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/chip/chipMultiselect/multiSelectChip.js +1 -1
- package/components/chip/chipMultiselect/multiSelectChip.js.map +1 -1
- package/components/closeDialogButton/index.d.ts +1 -1
- package/components/closeDialogButton/index.js +1 -1
- package/components/closeDialogButton/index.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/focusring/focusring.d.ts +26 -0
- package/components/focusring/focusring.js +2 -0
- package/components/focusring/focusring.js.map +1 -0
- package/components/focusring/index.d.ts +1 -0
- package/components/formMessage/formMessage.d.ts +26 -0
- package/components/formMessage/formMessage.js +2 -0
- package/components/formMessage/formMessage.js.map +1 -0
- package/components/formMessage/index.d.ts +1 -0
- 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/icon/filled/AISuggestionFilledIcon.d.ts +6 -0
- package/components/icon/filled/AISuggestionFilledIcon.js +2 -0
- package/components/icon/filled/AISuggestionFilledIcon.js.map +1 -0
- package/components/icon/filled/BatteryHighVoltageFilledIcon.d.ts +6 -0
- package/components/icon/filled/BatteryHighVoltageFilledIcon.js +2 -0
- package/components/icon/filled/BatteryHighVoltageFilledIcon.js.map +1 -0
- package/components/icon/filled/FuelSavingsFilledIcon.d.ts +6 -0
- package/components/icon/filled/FuelSavingsFilledIcon.js +2 -0
- package/components/icon/filled/FuelSavingsFilledIcon.js.map +1 -0
- package/components/icon/filled/PercentageFilledIcon.d.ts +6 -0
- package/components/icon/filled/PercentageFilledIcon.js +2 -0
- package/components/icon/filled/PercentageFilledIcon.js.map +1 -0
- package/components/icon/filled/TripCyclicFilledIcon.d.ts +6 -0
- package/components/icon/filled/TripCyclicFilledIcon.js +2 -0
- package/components/icon/filled/TripCyclicFilledIcon.js.map +1 -0
- package/components/icon/filled/TripLongTermFilledIcon.d.ts +6 -0
- package/components/icon/filled/TripLongTermFilledIcon.js +2 -0
- package/components/icon/filled/TripLongTermFilledIcon.js.map +1 -0
- package/components/icon/filled/TripSingleFilledIcon.d.ts +6 -0
- package/components/icon/filled/TripSingleFilledIcon.js +2 -0
- package/components/icon/filled/TripSingleFilledIcon.js.map +1 -0
- package/components/icon/filled/TyreRepairFilledIcon.d.ts +6 -0
- package/components/icon/filled/TyreRepairFilledIcon.js +2 -0
- package/components/icon/filled/TyreRepairFilledIcon.js.map +1 -0
- package/components/icon/filled/WallboxFilledIcon.d.ts +6 -0
- package/components/icon/filled/WallboxFilledIcon.js +2 -0
- package/components/icon/filled/WallboxFilledIcon.js.map +1 -0
- package/components/icon/filled/index.d.ts +9 -0
- package/components/icon/icon.definitions.js +1 -1
- package/components/icon/icon.definitions.js.map +1 -1
- package/components/icon/stroke/AISuggestionIcon.d.ts +6 -0
- package/components/icon/stroke/AISuggestionIcon.js +2 -0
- package/components/icon/stroke/AISuggestionIcon.js.map +1 -0
- package/components/icon/stroke/BatteryHighVoltageIcon.d.ts +6 -0
- package/components/icon/stroke/BatteryHighVoltageIcon.js +2 -0
- package/components/icon/stroke/BatteryHighVoltageIcon.js.map +1 -0
- package/components/icon/stroke/FuelSavingsIcon.d.ts +6 -0
- package/components/icon/stroke/FuelSavingsIcon.js +2 -0
- package/components/icon/stroke/FuelSavingsIcon.js.map +1 -0
- package/components/icon/stroke/PercentageIcon.d.ts +6 -0
- package/components/icon/stroke/PercentageIcon.js +2 -0
- package/components/icon/stroke/PercentageIcon.js.map +1 -0
- package/components/icon/stroke/TripCyclicIcon.d.ts +6 -0
- package/components/icon/stroke/TripCyclicIcon.js +2 -0
- package/components/icon/stroke/TripCyclicIcon.js.map +1 -0
- package/components/icon/stroke/TripLongTermIcon.d.ts +6 -0
- package/components/icon/stroke/TripLongTermIcon.js +2 -0
- package/components/icon/stroke/TripLongTermIcon.js.map +1 -0
- package/components/icon/stroke/TripSingleIcon.d.ts +6 -0
- package/components/icon/stroke/TripSingleIcon.js +2 -0
- package/components/icon/stroke/TripSingleIcon.js.map +1 -0
- package/components/icon/stroke/TyreRepairIcon.d.ts +6 -0
- package/components/icon/stroke/TyreRepairIcon.js +2 -0
- package/components/icon/stroke/TyreRepairIcon.js.map +1 -0
- package/components/icon/stroke/WallboxIcon.d.ts +6 -0
- package/components/icon/stroke/WallboxIcon.js +2 -0
- package/components/icon/stroke/WallboxIcon.js.map +1 -0
- package/components/icon/stroke/index.d.ts +13 -4
- package/components/index.d.ts +6 -0
- package/components/label/label.d.ts +1 -1
- package/components/label/label.js +1 -1
- package/components/label/label.js.map +1 -1
- package/components/logo/Logo.js +1 -1
- package/components/logo/Logo.js.map +1 -1
- package/components/media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.d.ts +1 -1
- package/components/media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.js +1 -1
- package/components/media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.js.map +1 -1
- package/components/media/video/hooks.js.map +1 -1
- package/components/mobileStepper/mobileStepper.js +1 -1
- package/components/modal/modal.d.ts +6 -0
- package/components/modal/modal.js +1 -1
- package/components/modal/modal.js.map +1 -1
- package/components/numbering/numbering.js +1 -1
- package/components/pagination/pagination.js +1 -1
- package/components/pagination/pagination.js.map +1 -1
- package/components/progress/loader.js +1 -1
- package/components/progress/loader.js.map +1 -1
- package/components/progress/progress.js +1 -1
- package/components/progress/progress.js.map +1 -1
- package/components/progress/spinner.js +1 -1
- package/components/progress/spinner.js.map +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/collapsableSearch.d.ts +22 -0
- package/components/search/collapsableSearch.js +2 -0
- package/components/search/collapsableSearch.js.map +1 -0
- package/components/search/index.d.ts +2 -0
- package/components/search/search.d.ts +73 -0
- package/components/search/search.js +2 -0
- package/components/search/search.js.map +1 -0
- 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/spacing/index.d.ts +1 -0
- package/components/spacing/spacing.d.ts +16 -0
- package/components/spacing/spacing.js +2 -0
- package/components/spacing/spacing.js.map +1 -0
- package/components/stepper/stepper.styles.d.ts +1 -1
- package/components/textAndCta/appStoreButton.js +1 -1
- package/components/textAndCta/appStoreButton.js.map +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 +1 -1
- package/components/upload/UploadField.js.map +1 -1
- package/components/upload/UploadPreview.d.ts +1 -1
- package/components/upload/UploadPreviewList.d.ts +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/FooterAccordion.js +1 -1
- package/layout/Footer/FooterAccordion.js.map +1 -1
- package/layout/Footer/FooterIconButton.js +1 -1
- package/layout/Footer/FooterIconButton.js.map +1 -1
- package/layout/Footer/FooterLink.d.ts +3 -3
- 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/Footer/PredefinedFooterIconButtons.d.ts +1 -1
- package/layout/Footer/PredefinedFooterIconButtons.js +1 -1
- package/layout/Footer/PredefinedFooterIconButtons.js.map +1 -1
- package/layout/Header/Header.js +1 -1
- package/layout/Header/Header.js.map +1 -1
- package/layout/Header/HeaderLanguageSelect.js +1 -1
- package/layout/Header/HeaderLanguageSelect.js.map +1 -1
- package/layout/Header/HeaderNavigationHero.js.map +1 -1
- package/layout/Header/PredefinedHeaderButtons.js +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/SideMenu/SideMenu.js +1 -1
- package/layout/SideMenu/SideMenu.js.map +1 -1
- package/layout/cookieModal/CookieModal.js +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/avatar/avatar.theme.js +1 -1
- package/materialui/avatar/avatar.theme.js.map +1 -1
- package/materialui/badge/badge.theme.js +1 -1
- package/materialui/badge/badge.theme.js.map +1 -1
- package/materialui/breadcrumbs/breadcrumbs.theme.js +1 -1
- package/materialui/breadcrumbs/breadcrumbs.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/card/FlippingCardContent.js +1 -1
- package/materialui/card/FlippingCardContent.js.map +1 -1
- package/materialui/card/card.theme.js +1 -1
- package/materialui/card/card.theme.js.map +1 -1
- package/materialui/checkbox/checkbox.theme.js +1 -1
- package/materialui/checkbox/checkbox.theme.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/fab/fab.theme.js.map +1 -1
- package/materialui/iconButton/iconButton.theme.js +1 -1
- package/materialui/iconButton/iconButton.theme.js.map +1 -1
- package/materialui/index.d.ts +2 -0
- package/materialui/link/index.d.ts +2 -0
- package/materialui/link/link.theme.js +1 -1
- package/materialui/link/link.theme.js.map +1 -1
- package/materialui/list/list.theme.js +1 -1
- package/materialui/list/list.theme.js.map +1 -1
- package/materialui/list/listItem.theme.js +1 -1
- package/materialui/list/listItem.theme.js.map +1 -1
- package/materialui/list/listItemAvatar.theme.js +1 -1
- package/materialui/list/listItemAvatar.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/list/listItemText.theme.js.map +1 -1
- package/materialui/list/listSubheader.theme.js +1 -1
- package/materialui/list/listSubheader.theme.js.map +1 -1
- package/materialui/menu/menuItem.theme.js +1 -1
- package/materialui/menu/menuItem.theme.js.map +1 -1
- package/materialui/radio/radio.theme.js +1 -1
- package/materialui/radio/radio.theme.js.map +1 -1
- package/materialui/slider/slider.theme.d.ts +2 -1
- package/materialui/slider/slider.theme.js +1 -1
- package/materialui/slider/slider.theme.js.map +1 -1
- package/materialui/slider/sliderContainer.js +1 -1
- package/materialui/slider/sliderContainer.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/switch/switch.theme.js +1 -1
- package/materialui/switch/switch.theme.js.map +1 -1
- package/materialui/table/tableContainer.theme.js +1 -1
- package/materialui/table/tableContainer.theme.js.map +1 -1
- package/materialui/tabs/scrollButtonComponent.js +1 -1
- package/materialui/tabs/scrollButtonComponent.js.map +1 -1
- package/materialui/tabs/tab.theme.js +1 -1
- package/materialui/tabs/tab.theme.js.map +1 -1
- package/materialui/tabs/tabComponent.js +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 +2 -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.d.ts +2 -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.d.ts +2 -0
- package/materialui/textfield/textField.theme.js +2 -0
- package/materialui/textfield/textField.theme.js.map +1 -0
- package/materialui/theme/paletteDark.theme.js +1 -1
- package/materialui/theme/paletteDark.theme.js.map +1 -1
- package/materialui/theme/paletteLight.theme.js +1 -1
- package/materialui/theme/paletteLight.theme.js.map +1 -1
- package/materialui/theme/theme.extensions.d.ts +70 -8
- package/materialui/theme/theme.js +1 -1
- package/materialui/theme/theme.js.map +1 -1
- package/materialui/themeProvider/baseline.theme.js +1 -1
- package/materialui/themeProvider/baseline.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 +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/Notification.js +1 -1
- package/organisms/notification/Notification.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/utils/useDebounce/useDebounce.js +2 -0
- package/utils/useDebounce/useDebounce.js.map +1 -0
- 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 +0 -2
- 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/select.theme.js +0 -2
- package/cjs/materialui/form/select.theme.js.map +0 -1
- package/cjs/materialui/form/textField.theme.d.ts +0 -2
- package/cjs/materialui/form/textField.theme.js +0 -2
- package/cjs/materialui/form/textField.theme.js.map +0 -1
- package/cjs/materialui/formGroup/formGroup.component.d.ts +0 -8
- package/cjs/materialui/radio/radio.component.d.ts +0 -5
- 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 +0 -2
- 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/select.theme.js +0 -2
- package/materialui/form/select.theme.js.map +0 -1
- package/materialui/form/textField.theme.d.ts +0 -2
- package/materialui/form/textField.theme.js +0 -2
- package/materialui/form/textField.theme.js.map +0 -1
- package/materialui/formGroup/formGroup.component.d.ts +0 -8
- package/materialui/radio/radio.component.d.ts +0 -5
- 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}/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}/select.theme.d.ts +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}/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}/select.theme.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.js","sources":["../../../../../src/components/accordion/accordion.tsx"],"sourcesContent":[null],"names":["Accordion","forwardRef","_a","ref","items","onChange","disableAnimation","accordionContainerProps","accordionPanelMaxHeight","allowMultipleExpand","props","__rest","expand","setExpanded","useState","useEffect","expandItems","index","length","itemId","id","isDefaultExpanded","firstDefaultExpandedItem","find","item","JSON","stringify","handleChange","useCallback","panel","_","isExpanded","curr","Object","assign","_jsx","Box","children","map","
|
|
1
|
+
{"version":3,"file":"accordion.js","sources":["../../../../../src/components/accordion/accordion.tsx"],"sourcesContent":[null],"names":["Accordion","forwardRef","_a","ref","items","onChange","disableAnimation","accordionContainerProps","accordionPanelMaxHeight","allowMultipleExpand","props","__rest","expand","setExpanded","useState","useEffect","expandItems","index","length","itemId","id","isDefaultExpanded","firstDefaultExpandedItem","find","item","JSON","stringify","handleChange","useCallback","panel","_","isExpanded","curr","Object","assign","_jsx","Box","children","map","_jsxs","MuiAccordion","expanded","AccordionSummary","title","AccordionDetails","content"],"mappings":"iHA0Fa,MAAAA,EAAYC,EAAUA,YACjC,CACEC,EASAC,KATA,IAAAC,MACEA,EAAKC,SACLA,EAAQC,iBACRA,EAAgBC,wBAChBA,EAAuBC,wBACvBA,EAAuBC,oBACvBA,GAEDP,EADIQ,EAAKC,EAAAA,OAAAT,EAPV,mHAWA,MAAOU,EAAQC,GAAeC,EAAAA,UAAkC,GAEhEC,EAAAA,WAAU,KACR,GAAKN,EAaE,CACL,MAAMO,EAAc,CAAE,EACtB,IAAK,IAAIC,EAAQ,EAAGA,EAAQb,EAAMc,OAAQD,IAAS,CACjD,MAAME,EAASf,EAAMa,GAAOG,IAAM,QAAQH,IAE1CD,EAAYG,KAAYf,EAAMa,GAAOI,kBAGvCR,GAAY,IAAMG,QArBM,CACxB,IAAII,EACJ,MAAME,EAA2BlB,EAAMmB,MAAK,CAACC,EAAMP,KACjD,GAAIO,EAAKH,kBAEP,OADAD,EAAKH,EACEO,CAEO,IAGdF,GACFT,EAAYS,EAAyBF,IAAM,QAAQA,QAYtD,CAACX,EAAqBgB,KAAKC,UAAUtB,KAExC,MAAMuB,EAAeC,EAAAA,aAClBC,GAAkB,CAACC,EAAGC,KACrB1B,GAAYA,EAASwB,EAAOE,GAK1BlB,EAHGJ,EAGUuB,GACXC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAYF,GAAM,CAAAH,CAACA,GAAQE,MAHjBA,GAAaF,KAO7B,CAACpB,EAAqBJ,IAGxB,OACE8B,EAAAA,IAACC,EAAAA,IAAGH,OAAAC,OAAA,CAAC/B,IAAKA,GAASI,EAAuB,CAAA,cAAc,YACrD8B,SAAAjC,EAAMkC,KAAI,CAACd,EAAMP,KAChB,MAAMY,GAASL,aAAA,EAAAA,EAAMJ,KAAM,GAAGI,EAAKJ,MAAS,QAAQH,IAC9Cc,EAAatB,IAAwBG,EAAOiB,GAASjB,IAAWiB,EAEtE,OACEU,OAACC,EAAAA,UACCP,OAAAC,OAAA,CAAAd,GAAIS,EAEJY,SAAUV,EACV1B,SAAUsB,EAAaE,GACX,cAAA,kBACRnB,EAEJ,CAAA2B,SAAA,CAAAF,EAAAA,IAACO,EAAgBA,iBAAA,CAAA,gBACA,GAAGb,aAClBT,GAAI,GAAGS,YACK,cAAA,oBAEXQ,SAAAb,EAAKmB,QAERR,MAACS,mBAAgB,CAAA,cAAa,oBAAmBP,SAAEb,EAAKqB,aAbnDhB,EAcQ,MAGf"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),n=require("../icon/filled/CircleExclamationFilledIcon.js"),s=require("../icon/filled/CircleInformationFilledIcon.js"),t=require("../icon/filled/WarningFilledIcon.js"),i=require("@mui/material"),a=require("react"),o=require("../focusring/focusring.js");const l=a.forwardRef(((l,c)=>{var{children:x,variant:p="info",size:g="large",sx:d,iconProps:u,IconComponent:f,typographyProps:j,wrapperProps:m,buttons:b,buttonsWrapperProps:h,onClick:y}=l,w=e.__rest(l,["children","variant","size","sx","iconProps","IconComponent","typographyProps","wrapperProps","buttons","buttonsWrapperProps","onClick"]);const C=i.useTheme(),I=u||{},{sx:O}=I,_=e.__rest(I,["sx"]),B=j||{},{sx:q}=B,P=e.__rest(B,["sx"]),v=m||{},{sx:F}=v,k=e.__rest(v,["sx"]),S=h||{},{sx:W}=S,z=e.__rest(S,["sx"]),[E,G,R]=a.useMemo((()=>{switch(p){case"error":return["error.main","error.light",t.WarningFilledIcon];case"warning":return["warning.main","warning.light",n.CircleExclamationFilledIcon];default:return["info.main","info.light",s.CircleInformationFilledIcon]}}),[p]),T=f||R;return r.jsxs(i.Box,Object.assign({"data-testid":"Banner",role:"alert","aria-atomic":"true","aria-live":"assertive",onClick:y,sx:Object.assign(Object.assign({display:"flex",width:"100%",flexDirection:{xs:"column",md:"row"},alignItems:{xs:"flex-start",md:"center"},justifyContent:"space-between",px:2,py:"small"===g?1:{xs:2,md:1},gap:1,borderLeft:6,borderColor:E,backgroundColor:G,textAlign:"left"},y&&Object.assign({position:"relative",cursor:"pointer"},o.getFocusRingStyle(C,!0,"2px"))),d),ref:c},w,{children:[r.jsxs(i.Box,Object.assign({"data-testid":"Banner.wrapper",sx:Object.assign({flexGrow:"1",display:"flex",alignItems:"flex-start",justifyContent:"flex-start",gap:1,py:.5},F)},k,{children:[r.jsx(T,Object.assign({"data-testid":"Banner.icon",sx:Object.assign({color:E},O)},_)),r.jsx(i.Typography,Object.assign({"data-testid":"Banner.text",sx:Object.assign({color:"onSurface.os900",flexGrow:"1",fontSize:{lg:"16px"},lineHeight:{lg:"24px"}},q)},P,{children:x}))]})),b&&r.jsx(i.Box,Object.assign({"data-testid":"Banner.buttons",sx:Object.assign({display:"flex",alignItems:"center",justifyContent:"space-between",gap:1,flexShrink:"0",ml:{xs:4,md:0},alignSelf:"flex-end"},W)},z,{children:b}))]}))}));exports.Banner=l;
|
|
2
2
|
//# sourceMappingURL=banner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner.js","sources":["../../../../../src/components/banner/banner.tsx"],"sourcesContent":[null],"names":["Banner","forwardRef","_a","ref","children","variant","size","sx","iconProps","IconComponent","typographyProps","wrapperProps","buttons","buttonsWrapperProps","rest","__rest","_b","iconSx","restIcon","_c","typographySx","restTypography","_d","wrapperSx","restWrapper","_e","buttonsWrapperSx","restButtonsWrapper","borderColor","backgroundColor","IconVariantComponent","useMemo","CircleExclamationFilledIcon","CircleInformationFilledIcon","BannerIcon","_jsxs","
|
|
1
|
+
{"version":3,"file":"banner.js","sources":["../../../../../src/components/banner/banner.tsx"],"sourcesContent":[null],"names":["Banner","forwardRef","_a","ref","children","variant","size","sx","iconProps","IconComponent","typographyProps","wrapperProps","buttons","buttonsWrapperProps","onClick","rest","__rest","theme","useTheme","_b","iconSx","restIcon","_c","typographySx","restTypography","_d","wrapperSx","restWrapper","_e","buttonsWrapperSx","restButtonsWrapper","borderColor","backgroundColor","IconVariantComponent","useMemo","WarningFilledIcon","CircleExclamationFilledIcon","CircleInformationFilledIcon","BannerIcon","_jsxs","Box","Object","assign","role","display","width","flexDirection","xs","md","alignItems","justifyContent","px","py","gap","borderLeft","textAlign","position","cursor","getFocusRingStyle","flexGrow","_jsx","jsx","color","Typography","fontSize","lg","lineHeight","flexShrink","ml","alignSelf"],"mappings":"+TA+Ca,MAAAA,EAAgCC,EAAUA,YACrD,CACEC,EAcAC,KAdA,IAAAC,SACEA,EAAQC,QACRA,EAAU,OAAMC,KAChBA,EAAO,QAAOC,GACdA,EAAEC,UACFA,EAASC,cACTA,EAAaC,gBACbA,EAAeC,aACfA,EAAYC,QACZA,EAAOC,oBACPA,EAAmBC,QACnBA,GAEDZ,EADIa,EAAIC,EAAAA,OAAAd,EAZT,2IAgBA,MAAMe,EAAQC,EAAAA,WACRC,EAA8BX,GAAa,IAAzCD,GAAIa,KAAWC,EAAjBL,EAAAA,OAAAG,EAAA,CAAA,OACAG,EAA0CZ,GAAmB,IAA3DH,GAAIgB,KAAiBC,EAAvBR,EAAAA,OAAAM,EAAA,CAAA,OACAG,EAAoCd,GAAgB,IAAlDJ,GAAImB,KAAcC,EAApBX,EAAAA,OAAAS,EAAA,CAAA,OACAG,EAAkDf,GAAuB,IAAvEN,GAAIsB,KAAqBC,EAA3Bd,EAAAA,OAAAY,EAAA,CAAA,QAECG,EAAaC,EAAiBC,GAAwBC,EAAOA,SAAC,KACnE,OAAQ7B,GACN,IAAK,QACH,MAAO,CAAC,aAAc,cAAe8B,qBACvC,IAAK,UACH,MAAO,CAAC,eAAgB,gBAAiBC,+BAE3C,QACE,MAAO,CAAC,YAAa,aAAcC,kCAEtC,CAAChC,IACEiC,EAAa7B,GAAiBwB,E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,GAAI,GAEjBqB,UAAW,YACRxC,IAEDC,EAEH,CAAA1B,SAAAQ,QAGD"}
|
|
@@ -16,7 +16,7 @@ export interface BottomSheetProps extends Omit<SwipeableDrawerProps, 'onClose' |
|
|
|
16
16
|
/**
|
|
17
17
|
* Props applied to closeButton IconButton
|
|
18
18
|
*/
|
|
19
|
-
closeButtonProps?: IconButtonProps
|
|
19
|
+
closeButtonProps?: Partial<IconButtonProps>;
|
|
20
20
|
/**
|
|
21
21
|
* Props applied to Icon in closeButton
|
|
22
22
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),o=require("@mui/material"),s=require("../icon/stroke/CloseIcon.js"),r=require("../../utils/useElementScrollable/useElementScrollable.js");const n=require("react").forwardRef(((n,a)=>{var{children:i,open:l,setOpen:p,puller:c,closeButton:x,closeButtonProps:d,closeButtonIconProps:u,CloseButtonIconComponent:h,footerSlot:b,title:j,titleProps:m={},headerWrapper:B,contentWrapper:f,footerWrapper:g,maxHeight:S=60}=n,O=e.__rest(n,["children","open","setOpen","puller","closeButton","closeButtonProps","closeButtonIconProps","CloseButtonIconComponent","footerSlot","title","titleProps","headerWrapper","contentWrapper","footerWrapper","maxHeight"]);const C=B||{},{sx:_}=C,w=e.__rest(C,["sx"]),P=f||{},{sx:y}=P,I=e.__rest(P,["sx"]),q=g||{},{sx:v}=q,R=e.__rest(q,["sx"]),T=u||{},{sx:W}=T,k=e.__rest(T,["sx"]),H=o.useTheme(),z=h||s.CloseIcon,{isScrollable:D,elementRef:E}=r.default("y");return t.jsxs(o.SwipeableDrawer,Object.assign({dir:H.direction,anchor:"bottom",PaperProps:{sx:{borderTopLeftRadius:"16px",borderTopRightRadius:"16px",maxHeight:`${S}%`}},open:l,onClose:()=>p(!1),onOpen:()=>p(!0),disableSwipeToOpen:!0,ModalProps:{keepMounted:!0},"data-testid":"BottomSheet",ref:a},O,{children:[(j||x||c)&&t.jsxs(o.Box,Object.assign({sx:Object.assign({px:2},_),"data-testid":"BottomSheet-header"},w,{children:[c&&t.jsx(o.Box,{sx:{position:"relative",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center"},children:t.jsx(o.Box,{"data-testid":"BottomSheet-puller",sx:{width:"28px",height:"4px",backgroundColor:"onSurface.
|
|
1
|
+
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),o=require("@mui/material"),s=require("../icon/stroke/CloseIcon.js"),r=require("../../utils/useElementScrollable/useElementScrollable.js");const n=require("react").forwardRef(((n,a)=>{var{children:i,open:l,setOpen:p,puller:c,closeButton:x,closeButtonProps:d,closeButtonIconProps:u,CloseButtonIconComponent:h,footerSlot:b,title:j,titleProps:m={},headerWrapper:B,contentWrapper:f,footerWrapper:g,maxHeight:S=60}=n,O=e.__rest(n,["children","open","setOpen","puller","closeButton","closeButtonProps","closeButtonIconProps","CloseButtonIconComponent","footerSlot","title","titleProps","headerWrapper","contentWrapper","footerWrapper","maxHeight"]);const C=B||{},{sx:_}=C,w=e.__rest(C,["sx"]),P=f||{},{sx:y}=P,I=e.__rest(P,["sx"]),q=g||{},{sx:v}=q,R=e.__rest(q,["sx"]),T=u||{},{sx:W}=T,k=e.__rest(T,["sx"]),H=o.useTheme(),z=h||s.CloseIcon,{isScrollable:D,elementRef:E}=r.default("y");return t.jsxs(o.SwipeableDrawer,Object.assign({dir:H.direction,anchor:"bottom",PaperProps:{sx:{borderTopLeftRadius:"16px",borderTopRightRadius:"16px",maxHeight:`${S}%`}},open:l,onClose:()=>p(!1),onOpen:()=>p(!0),disableSwipeToOpen:!0,ModalProps:{keepMounted:!0},"data-testid":"BottomSheet",ref:a},O,{children:[(j||x||c)&&t.jsxs(o.Box,Object.assign({sx:Object.assign({px:2},_),"data-testid":"BottomSheet-header"},w,{children:[c&&t.jsx(o.Box,{sx:{position:"relative",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center"},children:t.jsx(o.Box,{"data-testid":"BottomSheet-puller",sx:{width:"28px",height:"4px",backgroundColor:"onSurface.os500",mt:1.5,mb:2.25,borderRadius:8}})}),(j||x&&!c)&&t.jsxs(o.Box,{sx:{display:"flex",justifyContent:j?"space-between":"flex-end",gap:1,pb:2,pt:c?0:2},children:[j&&t.jsx(o.Typography,Object.assign({"data-testid":"BottomSheet-title",variant:"h4"},m,{children:j})),x&&!c&&t.jsx(o.IconButton,Object.assign({"data-testid":"BottomSheet-closeButton",variant:"standard",size:"small",onClick:()=>p(!1),"aria-label":"Close bottom sheet"},d,{children:t.jsx(z,Object.assign({color:"action",sx:Object.assign({fontSize:"18px"},W)},k))}))]})]})),t.jsx(o.Box,Object.assign({"data-testid":"BottomSheet-content",ref:E,sx:Object.assign({overflow:"auto",borderTop:D?1:0,borderColor:"surface.secondary",p:2},y)},I,{children:i})),b&&t.jsx(o.Box,Object.assign({"data-testid":"BottomSheet-footer",sx:Object.assign({px:2,pt:3,pb:4,boxShadow:b?"0px 0px 8px rgba(0, 0, 0, 0.15)":"none"},v)},R,{children:b}))]}))}));exports.BottomSheet=n;
|
|
2
2
|
//# sourceMappingURL=bottomSheet.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottomSheet.js","sources":["../../../../../src/components/bottomSheet/bottomSheet.tsx"],"sourcesContent":[null],"names":["BottomSheet","forwardRef","_a","ref","children","open","setOpen","puller","closeButton","closeButtonProps","closeButtonIconProps","CloseButtonIconComponent","footerSlot","title","titleProps","headerWrapper","contentWrapper","footerWrapper","maxHeight","rest","__rest","_b","sx","headerSx","restHeader","_c","contentSx","restContent","_d","footerSx","restFooter","_e","closeButtonIconSx","restCloseButtonIcon","theme","useTheme","BottomSheetCloseButtonIcon","CloseIcon","isScrollable","elementRef","useElementScrollable","_jsxs","SwipeableDrawer","Object","assign","dir","direction","anchor","PaperProps","borderTopLeftRadius","borderTopRightRadius","onClose","onOpen","disableSwipeToOpen","ModalProps","keepMounted","Box","px","_jsx","position","display","flexDirection","justifyContent","alignItems","width","height","backgroundColor","mt","mb","borderRadius","gap","pb","pt","Typography","variant","IconButton","size","onClick","
|
|
1
|
+
{"version":3,"file":"bottomSheet.js","sources":["../../../../../src/components/bottomSheet/bottomSheet.tsx"],"sourcesContent":[null],"names":["BottomSheet","forwardRef","_a","ref","children","open","setOpen","puller","closeButton","closeButtonProps","closeButtonIconProps","CloseButtonIconComponent","footerSlot","title","titleProps","headerWrapper","contentWrapper","footerWrapper","maxHeight","rest","__rest","_b","sx","headerSx","restHeader","_c","contentSx","restContent","_d","footerSx","restFooter","_e","closeButtonIconSx","restCloseButtonIcon","theme","useTheme","BottomSheetCloseButtonIcon","CloseIcon","isScrollable","elementRef","useElementScrollable","_jsxs","SwipeableDrawer","Object","assign","dir","direction","anchor","PaperProps","borderTopLeftRadius","borderTopRightRadius","onClose","onOpen","disableSwipeToOpen","ModalProps","keepMounted","Box","px","_jsx","position","display","flexDirection","justifyContent","alignItems","width","height","backgroundColor","mt","mb","borderRadius","gap","pb","pt","Typography","variant","jsx","IconButton","size","onClick","color","fontSize","overflow","borderTop","borderColor","p","boxShadow"],"mappings":"6MA4Ea,MAAAA,mBAAoDC,YAC/D,CACEC,EAkBAC,KAlBA,IAAAC,SACEA,EAAQC,KACRA,EAAIC,QACJA,EAAOC,OACPA,EAAMC,YACNA,EAAWC,iBACXA,EAAgBC,qBAChBA,EAAoBC,yBACpBA,EAAwBC,WACxBA,EAAUC,MACVA,EAAKC,WACLA,EAAa,CAAA,EAAEC,cACfA,EAAaC,eACbA,EAAcC,cACdA,EAAaC,UACbA,EAAY,IAAEhB,EACXiB,EAAIC,EAAAA,OAAAlB,EAhBT,0NAoBA,MAAMmB,EAAkCN,GAAiB,IAAjDO,GAAIC,KAAaC,EAAnBJ,EAAAA,OAAAC,EAAA,CAAA,OACAI,EAAoCT,GAAkB,IAApDM,GAAII,KAAcC,EAApBP,EAAAA,OAAAK,EAAA,CAAA,OACAG,EAAkCX,GAAiB,IAAjDK,GAAIO,KAAaC,EAAnBV,EAAAA,OAAAQ,EA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IAACC,EAAUA,WACGjC,OAAAC,OAAA,CAAA,cAAA,0BACZ8B,QAAQ,WACRG,KAAK,QACLC,QAAS,IAAMxE,GAAQ,gBACZ,sBACPG,EAAgB,CAAAL,SAEpBsD,MAACtB,EAA0BO,OAAAC,OAAA,CACzBmC,MAAM,SACNzD,GAAMqB,OAAAC,OAAA,CAAAoC,SAAU,QAAWhD,IACvBC,cAQlByB,EAACiB,IAAAnB,EAAGA,iCACU,sBACZrD,IAAKoC,EACLjB,GACEqB,OAAAC,OAAA,CAAAqC,SAAU,OACVC,UAAW5C,EAAe,EAAI,EAC9B6C,YAAa,oBACbC,EAAG,GACA1D,IAEDC,EAEH,CAAAvB,SAAAA,KAEFQ,GACC8C,EAAAA,IAACF,EAAAA,IAAGb,OAAAC,OAAA,CAAA,cACU,qBACZtB,GACEqB,OAAAC,OAAA,CAAAa,GAAI,EACJe,GAAI,EACJD,GAAI,EACJc,UAAWzE,EAAa,kCAAoC,QACzDiB,IAEDC,EAEH,CAAA1B,SAAAQ,QAGW"}
|
|
@@ -9,7 +9,7 @@ export interface ButtonProps extends Omit<MuiButtonProps, 'variant'> {
|
|
|
9
9
|
/**
|
|
10
10
|
* Visual variant of button
|
|
11
11
|
*/
|
|
12
|
-
variant?:
|
|
12
|
+
variant?: MuiButtonProps['variant'] | ButtonVariants;
|
|
13
13
|
/**
|
|
14
14
|
* @deprecated use sx={{ color: 'common.white' }} instead
|
|
15
15
|
*/
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { ButtonBaseProps, PortalProps } from '@mui/material';
|
|
3
|
+
export interface BypassBlockProps extends ButtonBaseProps<'a'> {
|
|
4
|
+
/**
|
|
5
|
+
* Button label, e.g. 'Skip to content'
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* ID of content section, e.g. '#content'
|
|
10
|
+
* @default '#'
|
|
11
|
+
*/
|
|
12
|
+
href: string;
|
|
13
|
+
/**
|
|
14
|
+
* Prevent push of new link into history stack
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
replace?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Programmatically control if button should be visible
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
active?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* props applied to portal moving the button at the top
|
|
25
|
+
*/
|
|
26
|
+
portalProps?: PortalProps;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Accessibility button to quickly scroll into the content area.
|
|
30
|
+
* - first focusable element on the page
|
|
31
|
+
* - only visible when focused
|
|
32
|
+
*/
|
|
33
|
+
export declare const BypassBlock: React.FC<BypassBlockProps>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("tslib"),o=require("react/jsx-runtime"),t=require("react"),r=require("react-dom"),i=require("@mui/material"),n=require("../focusring/focusring.js");const c=t.forwardRef(((t,r)=>{var{children:c,className:a,href:l="#",sx:u,replace:d=!1,active:p=!1,onClick:m,portalProps:f}=t,b=e.__rest(t,["children","className","href","sx","replace","active","onClick","portalProps"]);const g=i.useTheme();return o.jsx(s,Object.assign({disablePortal:!0},f,{children:o.jsx(i.ButtonBase,Object.assign({tabIndex:0,component:"a",href:l,onClick:e=>{var o;null==m||m(e),d&&(e.preventDefault(),null===(o=null===document||void 0===document?void 0:document.getElementById(null==l?void 0:l.replace("#","")))||void 0===o||o.scrollIntoView(!0))},className:p?["Mui-focusVisible",a].filter(Boolean).join(" "):a,sx:Object.assign(Object.assign(Object.assign({position:"absolute",zIndex:`${g.zIndex.tooltip+100}`,top:"10px",width:"1px",height:"1px",margin:"-1px",clip:"rect(0 0 0 0)",overflow:"hidden",padding:"0",border:"none",whiteSpace:"nowrap",backgroundColor:"onSurface.os900",color:"onSurface.os0",borderRadius:"4px"},g.typography.body),{"&.Mui-focusVisible":Object.assign(Object.assign({},n.getFocusRingStyle(g,!1)),{padding:"8px 24px",width:"auto",height:"auto",overflow:"visible",clip:"unset",margin:"0",left:"10px"})}),u),ref:r},b,{children:c}))}))}));function s({children:e,container:o,disablePortal:i}){const[n]=t.useState((()=>null===document||void 0===document?void 0:document.createElement("div")));return t.useEffect((()=>{const e=("function"==typeof o?o():o)||(null===document||void 0===document?void 0:document.body);return e&&n&&!i&&e.prepend(n),()=>{e&&n&&!i&&e.removeChild(n)}}),[]),n&&!i?r.createPortal(e,n):e}exports.BypassBlock=c;
|
|
2
|
+
//# sourceMappingURL=bypassBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bypassBlock.js","sources":["../../../../../src/components/bypassBlock/bypassBlock.tsx"],"sourcesContent":[null],"names":["BypassBlock","forwardRef","_a","ref","children","className","href","sx","replace","active","onClick","portalProps","rest","__rest","theme","useTheme","_jsx","PrependPortal","Object","assign","disablePortal","jsx","ButtonBase","tabIndex","component","e","preventDefault","document","getElementById","scrollIntoView","filter","Boolean","join","position","zIndex","tooltip","top","width","height","margin","clip","overflow","padding","border","whiteSpace","backgroundColor","color","borderRadius","typography","body","getFocusRingStyle","left","container","portalContainer","useState","createElement","useEffect","prepend","removeChild","createPortal"],"mappings":"+KAoCa,MAAAA,EAA0CC,EAAUA,YAC/D,CAACC,EAAyGC,SAAzGC,SAAEA,EAAQC,UAAEA,EAASC,KAAEA,EAAO,IAAGC,GAAEA,EAAEC,QAAEA,GAAU,EAAKC,OAAEA,GAAS,EAAKC,QAAEA,EAAOC,YAAEA,GAAWT,EAAKU,EAAjGC,EAAAA,OAAAX,EAAA,CAAA,WAAA,YAAA,OAAA,KAAA,UAAA,SAAA,UAAA,gBACC,MAAMY,EAAQC,EAAAA,WAEd,OACEC,MAACC,EAAaC,OAAAC,OAAA,CAACC,eAAe,GAAUT,EAAW,CAAAP,SACjDY,EAACK,IAAAC,4BACCC,SAAU,EACVC,UAAU,IACVlB,KAAMA,EACNI,QAAUe,UACRf,SAAAA,EAAUe,GACNjB,I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+
export * from './bypassBlock';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Theme } from '@mui/material';
|
|
2
2
|
export declare const MenuListStyled: import("@emotion/styled").StyledComponent<import("@mui/material").MenuListOwnProps & import("@mui/material").ListOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
|
3
3
|
ref?: import("react").Ref<HTMLUListElement>;
|
|
4
|
-
}, "autoFocus" | "children" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "dense" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap" | "disablePadding" | "subheader"> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & {
|
|
4
|
+
}, "autoFocus" | "children" | "sx" | "inset" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "dense" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap" | "disablePadding" | "subheader"> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & {
|
|
5
5
|
theme?: Theme;
|
|
6
6
|
allowMultiselect?: boolean;
|
|
7
7
|
}, {}, {}>;
|
|
@@ -23,7 +23,7 @@ export interface CarouselAutoplayProgressProps extends Omit<BoxProps, 'children'
|
|
|
23
23
|
* Spinner with autoplay progress value
|
|
24
24
|
*/
|
|
25
25
|
export declare const CarouselAutoplayProgress: ({ carousel: carouselProp, sx: rawSx, foregroundCircleProps, backgroundCircleProps, position, ...rest }: CarouselAutoplayProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export interface CarouselAutoplayIconButtonProps extends IconButtonProps {
|
|
26
|
+
export interface CarouselAutoplayIconButtonProps extends Partial<IconButtonProps> {
|
|
27
27
|
/**
|
|
28
28
|
* Optional Carousel instance from useCarouselInstance hook
|
|
29
29
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var o=require("tslib"),s=require("react/jsx-runtime"),e=require("@mui/material"),r=require("./hooks.js"),
|
|
1
|
+
"use strict";var o=require("tslib"),s=require("react/jsx-runtime"),e=require("@mui/material"),r=require("./hooks.js"),a=require("../../node_modules/swiper/swiper-react.js"),t=require("react"),i=require("../icon/stroke/ControlsPlayIcon.js"),n=require("../icon/stroke/ControlsPauseIcon.js");exports.CarouselAutoplayIconButton=function(a){var t,l,{carousel:u,children:c,iconProps:d,iconSlots:p}=a,g=o.__rest(a,["carousel","children","iconProps","iconSlots"]);const v=r.useCarousel(),y=u||v,{playIcon:x,pauseIcon:j}=Object.assign({playIcon:i.ControlsPlayIcon,pauseIcon:n.ControlsPauseIcon},p||{}),P=(null===(t=null==y?void 0:y.autoplay)||void 0===t?void 0:t.running)?j:x;return s.jsx(e.IconButton,Object.assign({"aria-label":(null===(l=null==y?void 0:y.autoplay)||void 0===l?void 0:l.running)?"Pause carousel autoplay":"Play carousel autoplay",onClick:()=>{var o,s;return null===(o=null==y?void 0:y.autoplay)||void 0===o?void 0:o[(null===(s=null==y?void 0:y.autoplay)||void 0===s?void 0:s.running)?"stop":"start"]()}},g,{children:c||s.jsx(P,Object.assign({},d))}))},exports.CarouselAutoplayProgress=r=>{var{carousel:i,sx:n,foregroundCircleProps:l,backgroundCircleProps:u,position:c="outside"}=r,d=o.__rest(r,["carousel","sx","foregroundCircleProps","backgroundCircleProps","position"]);const[p,g]=t.useState(0),v=a.useSwiper(),y=i||v,x=l||{},{sx:j}=x,P=o.__rest(x,["sx"]),b=u||{},{sx:C}=b,m=o.__rest(b,["sx"]),I=t.useMemo((()=>"inside"===c?Object.assign({position:"absolute",zIndex:"90",bottom:"0",left:"0",right:"0",m:2},n):n),[c,JSON.stringify(n)]);return t.useEffect((()=>{y&&y.autoplay&&y.on("autoplayTimeLeft",((o,s,e)=>{g(o.autoplay.paused?0:Math.round(100-100*e))}))}),[!!y]),s.jsxs(e.Box,Object.assign({sx:Object.assign({position:"relative",display:"flex",m:2},I),"data-testid":"CarouselAutoplayProgress"},d,{children:[s.jsx(e.CircularProgress,Object.assign({variant:"determinate","data-testid":"CarouselAutoplayProgress.Foreground",value:p,sx:Object.assign({color:"brand.secondary",position:"relative",zIndex:"10",".MuiCircularProgress-circle":{transition:"none"}},j)},P)),s.jsx(e.CircularProgress,Object.assign({variant:"determinate","data-testid":"CarouselAutoplayProgress.Background",value:100,sx:Object.assign({position:"absolute",color:"common.white"},C)},m))]}))};
|
|
2
2
|
//# sourceMappingURL=autoplay.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoplay.js","sources":["../../../../../src/components/carousel/autoplay.tsx"],"sourcesContent":[null],"names":["_a","carousel","carouselProp","children","iconProps","iconSlots","rest","__rest","carouselHook","useCarousel","playIcon","pauseIcon","Object","assign","ControlsPlayIcon","ControlsPauseIcon","AutoplayIcon","_b","autoplay","
|
|
1
|
+
{"version":3,"file":"autoplay.js","sources":["../../../../../src/components/carousel/autoplay.tsx"],"sourcesContent":[null],"names":["_a","carousel","carouselProp","children","iconProps","iconSlots","rest","__rest","carouselHook","useCarousel","playIcon","pauseIcon","Object","assign","ControlsPlayIcon","ControlsPauseIcon","AutoplayIcon","_b","autoplay","running","_jsx","IconButton","_c","onClick","jsx","sx","rawSx","foregroundCircleProps","backgroundCircleProps","position","value","setValue","useState","useSwiper","foregroundCircleSx","restForegroundCircle","backgroundCircleSx","restBackgroundCircle","useMemo","zIndex","bottom","left","right","m","JSON","stringify","useEffect","on","instance","_timeLeft","percentage","paused","Math","round","_jsxs","Box","display","CircularProgress","variant","color","transition"],"mappings":"oUAiIM,SAAqCA,YACzCC,SAAUC,EAAYC,SACtBA,EAAQC,UACRA,EAASC,UACTA,GAEgCL,EAD7BM,EAAIC,EAAAA,OAAAP,EALkC,iDAOzC,MAAMQ,EAAeC,EAAAA,cACfR,EAAWC,GAAgBM,GAC3BE,SAAEA,EAAQC,UAAEA,GAChBC,OAAAC,OAAA,CAAAH,SAAUI,EAAAA,iBACVH,UAAWI,EAAAA,mBACPV,G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DnB,EAASiB,EAAS9B,SAASiC,OAAS,EAAIC,KAAKC,MAAM,IAAmB,IAAbH,GAAkB,MAG9E,GAAGjD,IAGJqD,EAAAA,KAACC,EAAAA,mBAAI9B,GAAEb,OAAAC,OAAA,CAAIgB,SAAU,WAAY2B,QAAS,OAAQb,EAAG,GAAMlB,GAAE,cAAgB,4BAA+BnB,EAC1G,CAAAH,SAAA,CAAAiB,EAAAI,IAACiC,EAAgBA,iBACf7C,OAAAC,OAAA,CAAA6C,QAAQ,cAAa,cACT,sCACZ5B,MAAOA,EACPL,GACEb,OAAAC,OAAA,CAAA8C,MAAO,kBAEP9B,SAAU,WACVU,OAAQ,KACR,8BAA+B,CAC7BqB,WAAY,SAEX1B,IAEDC,IAENf,EAAAA,IAACqC,EAAAA,iBACC7C,OAAAC,OAAA,CAAA6C,QAAQ,cAAa,cACT,sCACZ5B,MAAO,IACPL,GAAMb,OAAAC,OAAA,CAAAgB,SAAU,WAAY8B,MAAO,gBAAmBvB,IAClDC,OAEF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react"),
|
|
1
|
+
"use strict";var e=require("react"),l=require("../../node_modules/swiper/swiper-react.js");function t(l,t){const[,u]=e.useState({});e.useEffect((()=>{l&&(void 0!==t?t:["slideChange","afterInit","reachBeginning","reachEnd","autoplayStart","autoplayStop"]).forEach((e=>{l.on(e,(()=>{u({})}))}))}),[l]),e.useLayoutEffect((()=>{u({})}),[])}exports.useCarousel=function(e){const u=l.useSwiper();return t(u,e),u},exports.useCarouselInstance=function(l){const[u,s]=e.useState(null);return t(u,l),[u,s]},exports.useCarouselPeekEffect=function(l){const[t,u]=e.useState(null),s=e.useRef(null),[n,r]=e.useState(!1);return e.useEffect((()=>{var e,r,o,i,a,c,d;return"reset"===t?(null===(e=null==l?void 0:l.el)||void 0===e||e.classList.remove("peek-prev"),null===(r=null==l?void 0:l.el)||void 0===r||r.classList.remove("peek-next"),s.current=setTimeout((()=>{u(null)}),+((null==l?void 0:l.el.getAttribute("data-peekspeed"))||150))):t?n||(null==l||l.slideReset(0),"prev"===t?(null==l||l.slidePrev(0),null==l||l.slideNext(0)):(null==l||l.slideNext(0),null==l||l.slidePrev(0)),null===(o=null==l?void 0:l.el)||void 0===o||o.classList.add("peeking"),null===(i=null==l?void 0:l.el)||void 0===i||i.classList.add(`peek-${t}`)):(null===(a=null==l?void 0:l.el)||void 0===a||a.classList.remove("peeking"),null===(c=null==l?void 0:l.el)||void 0===c||c.classList.remove("peek-prev"),null===(d=null==l?void 0:l.el)||void 0===d||d.classList.remove("peek-next")),()=>{s.current&&clearTimeout(s.current)}}),[t]),e.useEffect((()=>{null==l||l.on("touchStart",(()=>{u("reset"),r(!0)})),null==l||l.on("touchEnd",(()=>{u("reset"),r(!1)}))}),[!!l]),[t,u]};
|
|
2
2
|
//# sourceMappingURL=hooks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sources":["../../../../../src/components/carousel/hooks.ts"],"sourcesContent":[null],"names":["useRefreshInstance","carousel","events","setRerender","useState","useEffect","undefined","forEach","evt","on","useLayoutEffect","useSwiper","setCarousel","peek","setPeek","peekTimeout","useRef","disabled","setDisabled","el","classList","remove","current","setTimeout","getAttribute","slideReset","slidePrev","slideNext","add","clearTimeout"],"mappings":"2FA6BA,SAASA,EAAmBC,EAA4BC,GAEtD,OAASC,GAAeC,EAAQA,SAAC,IACjCC,EAAAA,WAAU,KACJJ,SAEUK,IAAXJ,EACGA,EACA,CAAC,cAAe,YAAa,iBAAkB,WAAY,gBAAiB,iBAC9EK,SAASC,IACTP,EAASQ,GAAGD,GAAK,KACfL,EAAY,CAAA,EAAG,GACf,MAGL,CAACF,IAEJS,EAAAA,iBAAgB,KACdP,EAAY,CAAA,EAAG,GACd,GACL,qBA/BM,SAAsBD,GAC1B,MAAMD,EAAWU,EAAAA,YAGjB,OAFAX,EAAmBC,EAAUC,GAEtBD,CACT,8BAfM,SAA8BC,GAClC,MAAOD,EAAUW,GAAeR,EAAAA,SAAkC,MAGlE,OAFAJ,EAAmBC,EAAUC,GAEtB,CAACD,EAAUW,EACpB,gCAyCM,SAAgCX,GACpC,MAAOY,EAAMC,GAAWV,EAAAA,SAA2C,MAC7DW,EAAcC,EAAMA,OAAwB,OAC3CC,EAAUC,GAAed,EAAAA,UAAkB,GAsDlD,OApDAC,EAAAA,WAAU,
|
|
1
|
+
{"version":3,"file":"hooks.js","sources":["../../../../../src/components/carousel/hooks.ts"],"sourcesContent":[null],"names":["useRefreshInstance","carousel","events","setRerender","useState","useEffect","undefined","forEach","evt","on","useLayoutEffect","useSwiper","setCarousel","peek","setPeek","peekTimeout","useRef","disabled","setDisabled","_a","el","classList","remove","_b","current","setTimeout","getAttribute","slideReset","slidePrev","slideNext","_c","add","_d","_e","_f","_g","clearTimeout"],"mappings":"2FA6BA,SAASA,EAAmBC,EAA4BC,GAEtD,OAASC,GAAeC,EAAQA,SAAC,IACjCC,EAAAA,WAAU,KACJJ,SAEUK,IAAXJ,EACGA,EACA,CAAC,cAAe,YAAa,iBAAkB,WAAY,gBAAiB,iBAC9EK,SAASC,IACTP,EAASQ,GAAGD,GAAK,KACfL,EAAY,CAAA,EAAG,GACf,MAGL,CAACF,IAEJS,EAAAA,iBAAgB,KACdP,EAAY,CAAA,EAAG,GACd,GACL,qBA/BM,SAAsBD,GAC1B,MAAMD,EAAWU,EAAAA,YAGjB,OAFAX,EAAmBC,EAAUC,GAEtBD,CACT,8BAfM,SAA8BC,GAClC,MAAOD,EAAUW,GAAeR,EAAAA,SAAkC,MAGlE,OAFAJ,EAAmBC,EAAUC,GAEtB,CAACD,EAAUW,EACpB,gCAyCM,SAAgCX,GACpC,MAAOY,EAAMC,GAAWV,EAAAA,SAA2C,MAC7DW,EAAcC,EAAMA,OAAwB,OAC3CC,EAAUC,GAAed,EAAAA,UAAkB,GAsDlD,OApDAC,EAAAA,WAAU,uBA8BR,MA7Ba,UAATQ,GACY,QAAdM,EAAAlB,aAAQ,EA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
|
-
* @default:
|
|
11
|
+
* @default: false
|
|
12
12
|
*/
|
|
13
13
|
peekEffect?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* Previous Slide IconButton
|
|
16
16
|
*/
|
|
17
|
-
prevButtonProps?: IconButtonProps
|
|
17
|
+
prevButtonProps?: Partial<IconButtonProps>;
|
|
18
18
|
/**
|
|
19
19
|
* Previous icon props
|
|
20
20
|
*/
|
|
@@ -26,7 +26,7 @@ export interface CarouselNavigationProps {
|
|
|
26
26
|
/**
|
|
27
27
|
* Next Slide IconButton
|
|
28
28
|
*/
|
|
29
|
-
nextButtonProps?: IconButtonProps
|
|
29
|
+
nextButtonProps?: Partial<IconButtonProps>;
|
|
30
30
|
/**
|
|
31
31
|
* Previous icon props
|
|
32
32
|
*/
|
|
@@ -37,11 +37,16 @@ export interface CarouselNavigationProps {
|
|
|
37
37
|
NextIconComponent?: ElementType<SvgIconProps>;
|
|
38
38
|
/**
|
|
39
39
|
* Replaces Chevrons with Arrows
|
|
40
|
-
* @default
|
|
40
|
+
* @default true
|
|
41
41
|
*/
|
|
42
42
|
arrows?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Enable if placing on a plain background (not on top of an image/video)
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
onBackground?: boolean;
|
|
43
48
|
}
|
|
44
49
|
/**
|
|
45
50
|
* Left & Right navigation arrows
|
|
46
51
|
*/
|
|
47
|
-
export declare function CarouselNavigation({ carousel: carouselProp, peekEffect: propPeekEffect, prevButtonProps, prevIconProps, PrevIconComponent, nextButtonProps, nextIconProps, NextIconComponent, arrows, }: CarouselNavigationProps): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
export declare function CarouselNavigation({ carousel: carouselProp, peekEffect: propPeekEffect, prevButtonProps, prevIconProps, PrevIconComponent, nextButtonProps, nextIconProps, NextIconComponent, arrows, onBackground, }: CarouselNavigationProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),o=require("react"),s=require("./hooks.js"),n=require("@mui/system"),t=require("@mui/material"),a=require("../icon/stroke/ChevronLeftIcon.js"),i=require("../icon/stroke/ChevronRightIcon.js"),c=require("../icon/stroke/ArrowLeftIcon.js"),l=require("../icon/stroke/ArrowRightIcon.js");exports.CarouselNavigation=function({carousel:u,peekEffect:d=!1,prevButtonProps:p,prevIconProps:b,PrevIconComponent:g,nextButtonProps:x,nextIconProps:j,NextIconComponent:f,arrows:m=!0,onBackground:v=!1}){const C=s.useCarousel(),h=u||C,k="fade"!==(null==h?void 0:h.originalParams.effect)&&d,I=n.useTheme(),O=t.useMediaQuery(I.breakpoints.up("md")),P=p||{},{sx:q}=P,y=e.__rest(P,["sx"]),M=x||{},{sx:B}=M,L=e.__rest(M,["sx"]),[w,E]=s.useCarouselPeekEffect(h),A=g||(m?c.ArrowLeftIcon:a.ChevronLeftIcon),N=f||(m?l.ArrowRightIcon:i.ChevronRightIcon),R=o.useMemo((()=>({position:"absolute",zIndex:"100",top:"50%",mt:"-22px",color:"text.primary",borderColor:v?"transparent.transparent":"onSurface.os600",backgroundColor:v?"transparent.transparent":"surface.primary","&:hover":{backgroundColor:"surface.secondary"},"&:active":{transform:"none",backgroundColor:v?"transparent.transparent":"surface.primary",transition:"none"},"&.Mui-disabled":{color:"disabled.tertiary",borderColor:"disabled.primary",backgroundColor:v?"transparent.transparent":"disabled.secondary"}})),[]);return r.jsxs(r.Fragment,{children:[r.jsx(t.IconButton,Object.assign({disabled:h&&!h.originalParams.loop&&h.isBeginning,onClick:()=>{null==h||h.slidePrev(),k&&w&&E("reset")},onMouseEnter:()=>O&&k&&E("prev"),onMouseLeave:()=>k&&w&&E("reset"),sx:Object.assign(Object.assign(Object.assign({},R),{left:"16px"}),q),"aria-label":"Previous slide","aria-controls":"carousel",color:"surface"},y,{children:"rtl"===I.direction?r.jsx(N,Object.assign({},b)):r.jsx(A,Object.assign({},b))})),r.jsx(t.IconButton,Object.assign({disabled:h&&!h.originalParams.loop&&h.isEnd,onClick:()=>{null==h||h.slideNext(),k&&w&&E("reset")},onMouseEnter:()=>O&&k&&E("next"),onMouseLeave:()=>k&&w&&E("reset"),sx:Object.assign(Object.assign(Object.assign({},R),{right:"16px"}),B),"aria-label":"Next slide","aria-controls":"carousel",color:"surface"},L,{children:"rtl"===I.direction?r.jsx(A,Object.assign({},j)):r.jsx(N,Object.assign({},j))}))]})};
|
|
2
2
|
//# sourceMappingURL=navigation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.js","sources":["../../../../../src/components/carousel/navigation.tsx"],"sourcesContent":[null],"names":["carousel","carouselProp","peekEffect","propPeekEffect","prevButtonProps","prevIconProps","PrevIconComponent","nextButtonProps","nextIconProps","NextIconComponent","arrows","
|
|
1
|
+
{"version":3,"file":"navigation.js","sources":["../../../../../src/components/carousel/navigation.tsx"],"sourcesContent":[null],"names":["carousel","carouselProp","peekEffect","propPeekEffect","prevButtonProps","prevIconProps","PrevIconComponent","nextButtonProps","nextIconProps","NextIconComponent","arrows","onBackground","carouselHook","useCarousel","originalParams","effect","theme","useTheme","upMD","useMediaQuery","breakpoints","up","_a","sx","prevSx","restPrev","__rest","_b","nextSx","restNext","peek","setPeek","useCarouselPeekEffect","PrevIcon","ArrowLeftIcon","ChevronLeftIcon","NextIcon","ArrowRightIcon","ChevronRightIcon","sharedSx","useMemo","position","zIndex","top","mt","color","borderColor","backgroundColor","transform","transition","_jsxs","_jsx","IconButton","disabled","loop","isBeginning","onClick","slidePrev","onMouseEnter","onMouseLeave","Object","assign","left","children","direction","isEnd","slideNext","right"],"mappings":"uXA2DgB,UACdA,SAAUC,EACVC,WAAYC,GAAiB,EAAKC,gBAClCA,EAAeC,cACfA,EAAaC,kBACbA,EAAiBC,gBACjBA,EAAeC,cACfA,EAAaC,kBACbA,EAAiBC,OACjBA,G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aAAA,iCACG,WACdqB,MAAM,WACFpB,EAAQ,CAAAsC,SAES,QAApB/C,EAAMgD,UAAsBb,EAAAA,IAACf,EAAawB,OAAAC,OAAA,CAAA,EAAAxD,IAAoB8C,EAAAA,IAAClB,mBAAa5B,OAE/E8C,EAAAA,IAACC,EAAAA,WACCQ,OAAAC,OAAA,CAAAR,SAAUrD,IAAaA,EAASc,eAAewC,MAAQtD,EAASiE,MAChET,QAAS,KACPxD,SAAAA,EAAUkE,YACVhE,GAAc4B,GAAQC,EAAQ,QAAQ,EAExC2B,aAAc,IAAMxC,GAAQhB,GAAc6B,EAAQ,QAClD4B,aAAc,IAAMzD,GAAc4B,GAAQC,EAAQ,SAClDR,GAAEqC,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACGtB,GAAQ,CACX4B,MAAO,SACJvC,GAEM,aAAA,aACG,gBAAA,WACdiB,MAAM,WACFhB,EAEH,CAAAkC,SAAoB,QAApB/C,EAAMgD,UAAsBb,EAAAA,IAAClB,EAAQ2B,OAAAC,OAAA,CAAA,EAAKrD,IAAoB2C,EAAAA,IAACf,mBAAa5B,SAIrF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ElementType } from 'react';
|
|
2
|
-
import { BoxProps,
|
|
2
|
+
import { BoxProps, ButtonProps, SliderProps, LinearProgressProps } from '@mui/material';
|
|
3
3
|
import type { Swiper as CarouselInstance } from 'swiper';
|
|
4
4
|
export interface CarouselPaginationVariantProps extends Omit<BoxProps, 'children' | 'position'> {
|
|
5
5
|
/**
|
|
@@ -12,7 +12,7 @@ export interface CarouselPaginationDotsProps extends CarouselPaginationVariantPr
|
|
|
12
12
|
/**
|
|
13
13
|
* Properties applied to each dot
|
|
14
14
|
*/
|
|
15
|
-
dotProps?:
|
|
15
|
+
dotProps?: Partial<BoxProps<ElementType>>;
|
|
16
16
|
}
|
|
17
17
|
export interface CarouselPaginationFractionProps extends CarouselPaginationVariantProps {
|
|
18
18
|
variant?: 'fraction';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var s=require("tslib"),r=require("react/jsx-runtime"),e=require("react"),o=require("@mui/material"),i=require("./hooks.js");const n=e.forwardRef(((o,n)=>{var{carousel:u,position:x,variant:p,sx:g}=o,v=s.__rest(o,["carousel","position","variant","sx"]);const
|
|
1
|
+
"use strict";var s=require("tslib"),r=require("react/jsx-runtime"),e=require("react"),o=require("@mui/material"),i=require("./hooks.js");const n=e.forwardRef(((o,n)=>{var{carousel:u,position:x,variant:p,sx:g}=o,v=s.__rest(o,["carousel","position","variant","sx"]);const h=i.useCarousel(),f=u||h,m=e.useMemo((()=>{switch(p){case"slider":return c;case"progress":return d;case"fraction":return t;case"lines":return l;default:return a}}),[p]),j=e.useMemo((()=>"inside"===x?Object.assign({position:"absolute",zIndex:"90",bottom:"0",left:"0",right:"0"},g):g),[x,JSON.stringify(g)]);return r.jsx(m,Object.assign({carousel:f,sx:j,ref:n},v))})),a=e.forwardRef(((e,i)=>{var{carousel:n,dotProps:a,sx:t}=e,l=s.__rest(e,["carousel","dotProps","sx"]);const d=a||{},{sx:c}=d,u=s.__rest(d,["sx"]);return r.jsx(o.Box,Object.assign({sx:Object.assign({px:2,height:"40px",display:"flex",alignItems:"center",justifyContent:"center",gap:1,pointerEvents:"none"},t),ref:i},l,{children:[...Array((null==n?void 0:n.slides.length)||0)].map(((s,e)=>r.jsx(o.Box,Object.assign({className:!(null==n?void 0:n.originalParams.loop)&&(null==n?void 0:n.isEnd)&&e===((null==n?void 0:n.slides.length)||0)-1?"active":(null==n?void 0:n.isEnd)&&!n.originalParams.loop||e!==(null==n?void 0:n.realIndex)?void 0:"active",sx:Object.assign({p:"0",width:"8px",height:"8px",borderRadius:"100%",backgroundColor:"onSurface.os500",transition:"all 0.3s ease-out","&.active":{width:"12px",height:"12px",backgroundColor:"text.primary"}},c)},u),e)))}))})),t=e.forwardRef(((e,i)=>{var{carousel:n,buttonProps:a,sx:t}=e,l=s.__rest(e,["carousel","buttonProps","sx"]);const d=a||{},{sx:c}=d,u=s.__rest(d,["sx"]);return r.jsx(o.Box,Object.assign({sx:Object.assign({display:"flex",alignItems:"center",justifyContent:"center",p:2},t),ref:i},l,{children:r.jsx(o.Button,Object.assign({variant:"text",color:"inherit","aria-controls":"carousel",sx:Object.assign({px:2,py:1,borderRadius:1,backgroundColor:"transparent.backdrop","&:hover":{backgroundColor:"onSurface.os100"}},c),onClick:()=>(null==n?void 0:n.isEnd)&&!n.originalParams.loop?null==n?void 0:n.slideTo(0):null==n?void 0:n.slideNext()},u,{children:r.jsxs(o.Box,{children:[r.jsx(o.Box,{component:"span",sx:{fontWeight:"700",color:"onSurface.os900"},children:`${((null==n?void 0:n.realIndex)||0)+1}`}),r.jsx(o.Box,{component:"span",sx:{color:"onSurface.os700",fontWeight:"400"},children:" / "}),r.jsx(o.Box,{component:"span",sx:{color:"onSurface.os700",fontWeight:"300"},children:`${(null==n?void 0:n.slides.length)||0}`})]})}))}))})),l=e.forwardRef(((e,i)=>{var{carousel:n,sx:a,linesProps:t,lineProgress:l,lineProgressProps:d}=e,c=s.__rest(e,["carousel","sx","linesProps","lineProgress","lineProgressProps"]);const u=t||{},{sx:x}=u,p=s.__rest(u,["sx"]),g=d||{},{sx:v}=g,h=s.__rest(g,["sx"]);return r.jsx(o.Box,Object.assign({sx:Object.assign({display:"flex",alignItems:"center",justifyContent:{xs:"stretch",md:"center"},flexGrow:{xs:"1",md:0},gap:1,p:2},a),ref:i},c,{children:[...Array((null==n?void 0:n.slides.length)||0)].map(((s,e)=>{const i=!(null==n?void 0:n.originalParams.loop)&&(null==n?void 0:n.isEnd)&&e===((null==n?void 0:n.slides.length)||0)-1||(!(null==n?void 0:n.isEnd)||n.originalParams.loop)&&e===(null==n?void 0:n.realIndex),a=e<=((null==n?void 0:n.realIndex)||0);return r.jsxs(o.Button,Object.assign({color:"inherit",className:i?"active":void 0,sx:Object.assign({p:0,minHeight:"0",height:i||a?"8px":"4px",borderRadius:i||a?"4px":"2px",width:{xs:"100%",md:"56px"},backgroundColor:"surface.primary",justifyContent:"flex-start","&:hover":{backgroundColor:"surface.secondary"}},x),"aria-controls":"carousel",onClick:()=>null==n?void 0:n[n.originalParams.loop?"slideToLoop":"slideTo"](e)},p,{children:[r.jsx(o.Box,{sx:{position:"absolute",top:"50%",left:"0",right:"0",height:"24px",transform:"translateY(-50%)",pointerEvents:"auto"}}),r.jsx(o.Box,{sx:{borderRadius:"4px",height:"100%",width:"100%",overflow:"hidden"},children:r.jsx(o.Box,Object.assign({className:"progress-line",role:i?"progress":void 0,"aria-valuenow":i?l:void 0,"aria-valuemin":0,"aria-valuemax":100,sx:Object.assign({opacity:void 0!==l||a?"1":"0",width:"100%",backgroundColor:"brand.secondary",height:"100%",transformOrigin:"left",transform:`scaleX(${void 0!==l&&i?l/100:a?1:0})`,transition:"transform 300ms ease-in-out, opacity 300ms ease-out"},v)},h))})]}),e)}))}))})),d=e.forwardRef(((e,i)=>{var{carousel:n,progressProps:a}=e,t=s.__rest(e,["carousel","progressProps"]);const l=a||{},{sx:d}=l,c=s.__rest(l,["sx"]);return r.jsx(o.Box,Object.assign({ref:i},t,{children:r.jsx(o.LinearProgress,Object.assign({variant:"determinate",value:(null==n?void 0:n.originalParams.loop)?Math.round(((null==n?void 0:n.realIndex)||0)/((n.slides.length||1)-1)*100):100*((null==n?void 0:n.progress)||0),sx:Object.assign({display:"block",".MuiLinearProgress-bar":{transitionDuration:`${(null==n?void 0:n.originalParams.speed)||300}ms`}},d)},c))}))})),c=e.forwardRef(((i,n)=>{var{carousel:a,sliderProps:t,sx:l}=i,d=s.__rest(i,["carousel","sliderProps","sx"]);const c=t||{},{sx:u}=c,x=s.__rest(c,["sx"]),[p,g]=e.useState(Math.round(100*((null==a?void 0:a.progress)||0))),[v,h]=e.useState(!1);return e.useEffect((()=>{v||g(Math.round(100*((null==a?void 0:a.progress)||0)))}),[null==a?void 0:a.progress]),r.jsx(o.Box,Object.assign({sx:Object.assign({my:2},l),ref:n},d,{children:r.jsx(o.Slider,Object.assign({value:p,min:0,max:100,onChange:(s,r)=>{h(!0),null==a||a.setProgress(r/100,150),g(r)},onChangeCommitted:()=>{null==a||a.slideToClosest(300),h(!1)},sx:Object.assign({display:"block",".MuiSlider-rail":{color:"surface.primary"},".MuiSlider-track":{color:"onSurface.os500",transitionDuration:`${(null==a?void 0:a.originalParams.speed)||300}ms`},".MuiSlider-thumb":{display:"none"}},u),"aria-controls":"carousel"},x))}))}));exports.CarouselPagination=n,exports.DotsVariant=a,exports.FractionVariant=t,exports.LinesVariant=l,exports.ProgressVariant=d,exports.SliderVariant=c;
|
|
2
2
|
//# sourceMappingURL=pagination.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.js","sources":["../../../../../src/components/carousel/pagination.tsx"],"sourcesContent":[null],"names":["CarouselPagination","forwardRef","_a","ref","carousel","carouselProp","position","variant","sx","rawSx","rest","__rest","carouselHook","useCarousel","VariantComponent","useMemo","SliderVariant","ProgressVariant","FractionVariant","LinesVariant","DotsVariant","Object","assign","zIndex","bottom","left","right","JSON","stringify","_jsx","dotProps","_b","dotSx","restDot","jsx","Box","
|
|
1
|
+
{"version":3,"file":"pagination.js","sources":["../../../../../src/components/carousel/pagination.tsx"],"sourcesContent":[null],"names":["CarouselPagination","forwardRef","_a","ref","carousel","carouselProp","position","variant","sx","rawSx","rest","__rest","carouselHook","useCarousel","VariantComponent","useMemo","SliderVariant","ProgressVariant","FractionVariant","LinesVariant","DotsVariant","Object","assign","zIndex","bottom","left","right","JSON","stringify","_jsx","dotProps","_b","dotSx","restDot","jsx","Box","px","height","display","alignItems","justifyContent","gap","pointerEvents","children","Array","slides","length","map","_","idx","className","originalParams","loop","isEnd","realIndex","undefined","p","width","borderRadius","backgroundColor","transition","buttonProps","buttonSx","restButton","Button","color","py","onClick","slideTo","slideNext","_jsxs","component","fontWeight","linesProps","lineProgress","lineProgressProps","lineSx","lineRest","_c","lineProgressSx","lineProgressRest","xs","md","flexGrow","active","seen","jsxs","minHeight","top","transform","overflow","role","opacity","transformOrigin","progressProps","progressSx","progressRest","LinearProgress","value","Math","round","progress","transitionDuration","speed","sliderProps","sliderSx","restSlider","setValue","useState","touching","setTouching","useEffect","my","Slider","min","max","onChange","newValue","setProgress","onChangeCommitted","slideToClosest"],"mappings":"yIAuFa,MAAAA,EAAwDC,EAAUA,YAC7E,CAACC,EAAmEC,KAAnE,IAAEC,SAAUC,EAAYC,SAAEA,EAAQC,QAAEA,EAASC,GAAIC,GAAgBP,EAANQ,EAAIC,EAAAA,OAAAT,EAA/D,wCACC,MAAMU,EAAeC,EAAAA,cACfT,EAAWC,GAAgBO,EAE3BE,EAAmBC,EAAAA,SAAQ,KAC/B,OAAQR,GACN,IAAK,SACH,OAAOS,EACT,IAAK,WACH,OAAOC,EACT,IAAK,WACH,OAAOC,EACT,IAAK,QACH,OAAOC,EAGT,QACE,OAAOC,KAEV,CAACb,IAEEC,EAAKO,EAAAA,SAAoC,IAC5B,WAAbT,EAEAe,OAAAC,OAAA,CAAAhB,SAAU,WACViB,OAAQ,KACRC,OAAQ,IACRC,KAAM,IACNC,MAAO,KACJjB,GAGEA,GAER,CAACH,EAAUqB,KAAKC,UAAUnB,KAE7B,OAAOoB,MAACf,EAAgBO,OAAAC,OAAA,CAAClB,SAAUA,EAAUI,GAAIA,EAAIL,IAAKA,GAASO,GAAQ,IAOlEU,EAAqDnB,EAAUA,YAC1E,CAACC,EAAqCC,SAArCC,SAAEA,EAAQ0B,SAAEA,EAAQtB,GAAEA,KAAOE,EAA7BC,EAAAA,OAAAT,EAAA,CAAA,WAAA,WAAA,OACC,MAAM6B,EAA4BD,GAAY,IAAtCtB,GAAIwB,KAAUC,EAAhBtB,EAAAA,OAAAoB,EAAA,CAAA,OAEN,OACEF,EAACK,IAAAC,EAAGA,IACFd,OAAAC,OAAA,CAAAd,kBACE4B,GAAI,EACJC,OAAQ,OACRC,QAAS,OACTC,WAAY,SACZC,eAAgB,SAChBC,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,GACHF,EAASR,KAAKC,MAAkC,MAA3BhG,eAAAA,EAAUiG,WAAY,OAE5C,CAACjG,aAAA,EAAAA,EAAUiG,WAGZxE,EAAAA,IAACM,EAAAA,mBAAI3B,GAAEa,OAAAC,OAAA,CAAI0F,GAAI,GAAMxG,GAAML,IAAKA,GAASO,YACvCmB,EAACK,IAAA+E,EAAMA,OACL5F,OAAAC,OAAA,CAAA4E,MAAOA,EACPgB,IAAK,EACLC,IAAK,IACLC,SAAU,CAACpE,EAAGqE,KAEZP,GAAY,GAEZ1G,SAAAA,EAAUkH,YAAYD,EAAW,IAAK,KAEtCV,EAASU,EAAS,EAEpBE,kBAAmB,KAEjBnH,SAAAA,EAAUoH,eAAe,KAEzBV,GAAY,EAAM,EAEpBtG,GACEa,OAAAC,OAAA,CAAAgB,QAAS,QAET,kBAAmB,CACjB2B,MAAO,mBAET,mBAAoB,CAClBA,MAAO,kBAEPqC,mBAAoB,IAAGlG,aAAQ,EAARA,EAAU+C,eAAeoD,QAAS,SAG3D,mBAAoB,CAClBjE,QAAS,SAERmE,mBAES,YACVC,MAEF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),a=require("react"),i=require("@mui/material/Chip"),t=require("@mui/material/styles"),l=require("../chipFocusVisibleStyled.js");function n(e){return e&&e.__esModule?e:{default:e}}var o=n(i);const s=a.forwardRef(((i,t)=>{const{onBlur:n,children:o,label:s,disabled:d,variant:u="image",imageUrl:p,imageAlt:h,isChecked:f,onChange:m,name:x,id:
|
|
1
|
+
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),a=require("react"),i=require("@mui/material/Chip"),t=require("@mui/material/styles"),l=require("../chipFocusVisibleStyled.js");function n(e){return e&&e.__esModule?e:{default:e}}var o=n(i);const s=a.forwardRef(((i,t)=>{const{onBlur:n,children:o,label:s,disabled:d,variant:u="image",imageUrl:p,imageAlt:h,isChecked:f,onChange:m,name:x,id:g=`chip-image-${Date.now()}`}=i,[b,y]=a.useState(!1),v=a.useRef(),C=e=>{m&&m(e,!f)},j=a.useCallback((e=>{y(!1),n&&n(e)}),[n]),k=a.useCallback((()=>{v&&v.current.click()}),[]),w=a.useCallback((()=>{y(!0)}),[]),q=a.forwardRef(((a,i)=>{var{onChange:t}=a,l=e.__rest(a,["onChange"]);return r.jsxs("div",Object.assign({},l,{ref:i,children:[r.jsx("input",{ref:v,onChange:C,type:"checkbox",id:g,name:x,value:g,checked:f,readOnly:!0}),r.jsx("img",{src:p,alt:h}),r.jsx("div",{children:r.jsx("span",{children:o||s})})]}))}));return r.jsx(l.default,{focusVisible:b,variant:u,children:r.jsx(c,{ref:t,component:q,label:s,disabled:d,onClick:k,className:f?"Mui-checked":"",onFocusVisible:w,onBlur:j,variant:"filled",color:f?"primary":"default"})})})),c=t.styled(o.default)((({theme:e})=>({"& div":{width:"100%",whiteSpace:"pre-wrap"},"&.MuiChip-root":{backgroundColor:e.palette.surface.primary,borderRadius:"4px",height:"auto",width:"120px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",padding:"11px 0 13px 0",overflow:"hidden","&:hover":{span:{color:e.palette.onSurface.os600}},"&.Mui-checked":{backgroundColor:e.palette.brand.quarternary,span:{color:e.palette.brand.primary},"&:hover":{span:{color:e.palette.brandHover.primary}}},"&.Mui-disabled":{backgroundColor:e.palette.surface.primary,span:{color:e.palette.disabled.primary}},"&:active":{boxShadow:"none"},"& > input":{display:"none"},div:{display:"flex",flexGrow:1},span:{display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",fontSize:"14px",lineHeight:"16px",fontWeight:"400",color:e.palette.onSurface.os800,width:"100%",padding:"0 10px"},"& img":{width:"100%",height:"68px",objectFit:"cover",marginBottom:"2px"}}})));exports.ChipImage=s;
|
|
2
2
|
//# sourceMappingURL=chipImage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chipImage.js","sources":["../../../../../../src/components/chip/chipImage/chipImage.tsx"],"sourcesContent":[null],"names":["ChipImage","forwardRef","props","ref","onBlur","children","label","disabled","variant","imageUrl","imageAlt","isChecked","onChange","name","id","Date","now","_focusVisibled","_setFocusVisible","useState","_checkboxComponent","useRef","_onChangeTrigger","evt","_onBlurHandler","useCallback","e","_onClickHandler","current","click","_onFocusVisibleHandler","ImageComponent","_a","_ref","componentProps","__rest","_jsxs","Object","assign","_jsx","jsx","type","value","checked","readOnly","src","alt","ChipFocusVisibleStyled","focusVisible","ChipImageStyled","component","onClick","className","onFocusVisible","color","styled","MuiChip","theme","width","whiteSpace","backgroundColor","palette","surface","primary","borderRadius","height","display","flexDirection","alignItems","justifyContent","padding","overflow","span","onSurface","os600","brand","quarternary","brandHover","boxShadow","div","flexGrow","textAlign","fontSize","lineHeight","fontWeight","os800","objectFit","marginBottom"],"mappings":"gQA0Da,MAAAA,EAAYC,EAAUA,YAAiC,CAACC,EAAOC,KAC1E,MAAMC,OACJA,EAAMC,SACNA,EAAQC,MACRA,EAAKC,SACLA,EAAQC,QACRA,EAAU,QAAOC,SACjBA,EAAQC,SACRA,EAAQC,UACRA,EAASC,SACTA,EAAQC,KACRA,EAAIC,GACJA,EAAK,cAAcC,KAAKC,SACtBd,GACGe,EAAgBC,GAAoBC,EAAAA,UAAS,GAC9CC,EAAqBC,EAAAA,SAErBC,EAAoBC,IACpBX,GACFA,EAASW,GAAMZ,IAIba,EAAiBC,eACpBC,IACCR,GAAiB,GACbd,GACFA,EAAOsB,KAGX,CAACtB,IAGGuB,EAAkBF,EAAAA,aAAY,KAC9BL,GACFA,EAAmBQ,QAAQC,UAE5B,IAEGC,EAAyBL,EAAAA,aAAY,KACzCP,GAAiB,EAAK,GACrB,IAEGa,EAAiB9B,EAAAA,YACrB,CAAC+B,EAA4CC,
|
|
1
|
+
{"version":3,"file":"chipImage.js","sources":["../../../../../../src/components/chip/chipImage/chipImage.tsx"],"sourcesContent":[null],"names":["ChipImage","forwardRef","props","ref","onBlur","children","label","disabled","variant","imageUrl","imageAlt","isChecked","onChange","name","id","Date","now","_focusVisibled","_setFocusVisible","useState","_checkboxComponent","useRef","_onChangeTrigger","evt","_onBlurHandler","useCallback","e","_onClickHandler","current","click","_onFocusVisibleHandler","ImageComponent","_a","_ref","_onChange","componentProps","__rest","_jsxs","Object","assign","_jsx","jsx","type","value","checked","readOnly","src","alt","ChipFocusVisibleStyled","focusVisible","ChipImageStyled","component","onClick","className","onFocusVisible","color","styled","MuiChip","theme","width","whiteSpace","backgroundColor","palette","surface","primary","borderRadius","height","display","flexDirection","alignItems","justifyContent","padding","overflow","span","onSurface","os600","brand","quarternary","brandHover","boxShadow","div","flexGrow","textAlign","fontSize","lineHeight","fontWeight","os800","objectFit","marginBottom"],"mappings":"gQA0Da,MAAAA,EAAYC,EAAUA,YAAiC,CAACC,EAAOC,KAC1E,MAAMC,OACJA,EAAMC,SACNA,EAAQC,MACRA,EAAKC,SACLA,EAAQC,QACRA,EAAU,QAAOC,SACjBA,EAAQC,SACRA,EAAQC,UACRA,EAASC,SACTA,EAAQC,KACRA,EAAIC,GACJA,EAAK,cAAcC,KAAKC,SACtBd,GACGe,EAAgBC,GAAoBC,EAAAA,UAAS,GAC9CC,EAAqBC,EAAAA,SAErBC,EAAoBC,IACpBX,GACFA,EAASW,GAAMZ,IAIba,EAAiBC,eACpBC,IACCR,GAAiB,GACbd,GACFA,EAAOsB,KAGX,CAACtB,IAGGuB,EAAkBF,EAAAA,aAAY,KAC9BL,GACFA,EAAmBQ,QAAQC,UAE5B,IAEGC,EAAyBL,EAAAA,aAAY,KACzCP,GAAiB,EAAK,GACrB,IAEGa,EAAiB9B,EAAAA,YACrB,CAAC+B,EAA4CC,SAA1CrB,SAAUsB,GAASF,EAAKG,EAAcC,SAAAJ,EAAxC,cAAqD,OACpDK,OAAS,MAAAC,OAAAC,OAAA,CAAA,EAAAJ,EAAgB,CAAAhC,IAAK8B,EAC5B5B,SAAA,CAAAmC,EAAAC,IAAA,QAAA,CACEtC,IAAKiB,EACLR,SAAU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,WAAY,SACZC,eAAgB,SAChBY,UAAW,SACXC,SAAU,OACVC,WAAY,OACZC,WAAY,MACZ9B,MAAOG,EAAMI,QAAQY,UAAUY,MAC/B3B,MAAO,OACPY,QAAS,UAEX,QAAS,CACPZ,MAAO,OACPO,OAAQ,OACRqB,UAAW,QACXC,aAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),a=require("react"),r=require("@mui/material/Chip"),o=require("@mui/material/styles"),i=require("../../icon/icon.js");require("../../icon/icon.definitions.js");var n=require("../chipFocusVisibleStyled.js"),s=require("@mui/material"),l=require("../../common/menuContainer.js");function c(e){return e&&e.__esModule?e:{default:e}}var u=c(r);const d=a.forwardRef(((r,o)=>{var{variant:c,label:u,disabled:d,icon:h}=r,m=e.__rest(r,["variant","label","disabled","icon"]);const[g,b]=a.useState(!1),[x,f]=a.useState(!1),[j,k]=a.useState(!1),C=a.useCallback((e=>{e.stopPropagation(),m.reactHook.setState([])}),[m.reactHook]),S=a.useMemo((()=>t.jsxs(t.Fragment,{children:[u,m.reactHook.state.length>0&&t.jsx("span",{className:"count",children:t.jsx("span",{children:m.reactHook.state.length})}),m.reactHook.state.length>0&&t.jsx(i.Icon,{color:"inherit",name:"close",fontSize:"small",onClick:C})||t.jsx(i.Icon,{color:"inherit",name:"chevron-down",className:j?"isOpen":"",fontSize:"small"})]})),[j,u,C,m.reactHook.state.length]),v=a.useCallback((e=>{b(!1),m.onBlur&&m.onBlur(e)}),[m]),H=a.useCallback((()=>{k((e=>!e)),f((e=>!e))}),[]),q=a.useCallback((()=>{k(!1),f(!1)}),[]),w=a.useCallback((()=>{b(!0)}),[]);return t.jsx(t.Fragment,{children:t.jsx(s.ClickAwayListener,{onClickAway:q,children:t.jsxs("span",{children:[t.jsx("div",{children:t.jsx(n.default,{focusVisible:g,variant:c,children:t.jsx(p,{className:"shadow"===c&&"MuiChip-shadow",ref:o,variant:"filled",icon:h?t.jsx(i.Icon,{name:h}):void 0,label:S,disabled:d,onClick:H,color:x||m.reactHook.state.length?"primary":"default",onFocusVisible:w,onBlur:v,count:m.reactHook.state.length,"aria-label":`${m.reactHook.state.length} elements selected`,isOpen:j})})}),t.jsx(l.default,{disabled:d,isOpen:j,items:m.items,hasIcon:m.hasIcon,multipleSelection:!0,groupToggleSelection:m.groupToggleSelection,groupLabel:m.groupLabel,reactHook:m.reactHook,width:182,marginTop:14,setIsOpen:k,toggleLabel:m.toggleLabel})]})})})})),p=o.styled(u.default,{shouldForwardProp:e=>"isOpen"!==e})((({theme:e})=>{const t=e.palette;let a={"& .chevron-down":{color:"inherit",marginLeft:"8px",transform:"rotate(0deg)",top:"4px",transition:"transform 0.6s","&.isOpen":{transform:"rotate(180deg) translateY(2px)",transformOrigin:"50%"}},"& .ballotx":{color:"inherit"},"& .count":{color:t.onSurface.os0,borderRadius:"50%",backgroundColor:t.brand.primary,minWidth:"20px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"14px",lineHeight:"16px",fontWeight:"700",margin:"0 8px",padding:"0 4px"}};return a=Object.assign(Object.assign({},a),{}),a}));exports.MultiSelectChip=d;
|
|
2
2
|
//# sourceMappingURL=multiSelectChip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiSelectChip.js","sources":["../../../../../../src/components/chip/chipMultiselect/multiSelectChip.tsx"],"sourcesContent":[null],"names":["MultiSelectChip","forwardRef","_a","ref","variant","label","disabled","icon","props","__rest","focusVisibled","setFocusVisible","useState","selected","setSelected","isOpen","setIsOpen","onClickCloseHandler","useCallback","e","stopPropagation","reactHook","setState","Count","useMemo","_jsxs","state","length","_jsx","jsx","className","children","Icon","color","name","fontSize","onClick","onBlur","onSelectHandler","curr","handleClickAway","onFocusVisibleHandler","
|
|
1
|
+
{"version":3,"file":"multiSelectChip.js","sources":["../../../../../../src/components/chip/chipMultiselect/multiSelectChip.tsx"],"sourcesContent":[null],"names":["MultiSelectChip","forwardRef","_a","ref","variant","label","disabled","icon","props","__rest","focusVisibled","setFocusVisible","useState","selected","setSelected","isOpen","setIsOpen","onClickCloseHandler","useCallback","e","stopPropagation","reactHook","setState","Count","useMemo","_jsxs","state","length","_jsx","jsx","className","children","Icon","color","name","fontSize","onClick","onBlur","onSelectHandler","curr","handleClickAway","onFocusVisibleHandler","ClickAwayListener","onClickAway","jsxs","ChipFocusVisibleStyled","focusVisible","MultiSelectChipStyled","undefined","onFocusVisible","count","MenuContainer","items","hasIcon","multipleSelection","groupToggleSelection","groupLabel","width","marginTop","toggleLabel","styled","MuiChip","shouldForwardProp","prop","theme","flowColors","palette","style","marginLeft","transform","top","transition","transformOrigin","onSurface","os0","borderRadius","backgroundColor","brand","primary","minWidth","height","display","alignItems","justifyContent","lineHeight","fontWeight","margin","padding","Object","assign"],"mappings":"oZA8Ca,MAAAA,EAAkBC,EAAUA,YACvC,CAACC,EAA8CC,KAA9C,IAAAC,QAAEA,EAAOC,MAAEA,EAAKC,SAAEA,EAAQC,KAAEA,GAAIL,EAAKM,EAArCC,EAAAA,OAAAP,EAAA,CAAA,UAAA,QAAA,WAAA,SACC,MAAOQ,EAAeC,GAAmBC,EAAAA,UAAS,IAC3CC,EAAUC,GAAeF,EAAAA,UAAS,IAClCG,EAAQC,GAAaJ,EAAAA,UAAS,GAE/BK,EAAsBC,eACzBC,IACCA,EAAEC,kBAEFZ,EAAMa,UAAUC,SAAS,GAAG,GAE9B,CAACd,EAAMa,YAGHE,EAAQC,EAAAA,SAAQ,IAElBC,6BACGpB,EACAG,EAAMa,UAAUK,MAAMC,OAAS,GAC9BC,EAAAC,IAAA,OAAA,CAAMC,UAAU,iBACdF,EAAOC,IAAA,OAAA,CAAAE,SAAAvB,EAAMa,UAAUK,MAAMC,WAG/BnB,EAAMa,UAAUK,MAAMC,OAAS,GAC/BC,EAAAA,IAACI,EAAAA,KAAI,CAACC,MAAM,UAAUC,KA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Wb,EAAMa,UACjBoC,MAAO,IACPC,UAAW,GACX1C,UAAWA,EACX2C,YAAanD,EAAMmD,oBAIxB,IAQHZ,EAAwBa,EAAMA,OAACC,UAAS,CAC5CC,kBAAoBC,GAAkB,WAATA,GADDH,EAM5B,EAAGI,YACH,MAAMC,EAAaD,EAAME,QA8BzB,IAAIC,EAAQ,CACV,kBAAmB,CACjBlC,MAAO,UACPmC,WAAY,MACZC,UAAW,eACXC,IAAK,MACLC,WAAY,iBACZ,WAAY,CACVF,UAAW,iCACXG,gBAAiB,QAGrB,aAAc,CACZvC,MAAO,WAET,WAAY,CACVA,MAAOgC,EAAWQ,UAAUC,IAC5BC,aAAc,MACdC,gBAAiBX,EAAWY,MAAMC,QAClCC,SAAU,OACVC,OAAQ,OACRC,QAAS,cACTC,WAAY,SACZC,eAAgB,SAChBhD,SAAU,OACViD,WAAY,OACZC,WAAY,MACZC,OAAQ,QACRC,QAAS,UAMb,OAFApB,EAAaqB,OAAAC,OAAAD,OAAAC,OAAA,GAAAtB,GA5DM,CAAE,GA8DdA,CAAK"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconButtonProps } from '@mui/material';
|
|
2
|
-
export type CloseDialogButtonProps = Omit<IconButtonProps
|
|
2
|
+
export type CloseDialogButtonProps = Omit<Partial<IconButtonProps>, 'children'>;
|
|
3
3
|
export declare const CloseDialogButton: (props: CloseDialogButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),i=require("@mui/material"),
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),i=require("@mui/material"),o=require("../icon/icon.js");require("../icon/icon.definitions.js");exports.CloseDialogButton=r=>e.jsx(i.IconButton,Object.assign({"aria-label":"Close dialog",size:"small"},r,{children:e.jsx(o.Icon,{name:"close",fontSize:"medium"})}));
|
|
2
2
|
//# sourceMappingURL=index.js.map
|