@skodaflow/web-library 7.11.1 → 7.13.0
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/alert/Alert.js +1 -1
- package/cjs/components/alert/Alert.js.map +1 -1
- package/cjs/components/alert/AlertButton.d.ts +4 -2
- package/cjs/components/alert/AlertButton.js +1 -1
- package/cjs/components/alert/AlertButton.js.map +1 -1
- package/cjs/components/backdrop/backdrop.d.ts +1 -1
- package/cjs/components/backdrop/backdrop.js +1 -1
- package/cjs/components/backdrop/backdrop.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/button/button.js +1 -1
- package/cjs/components/button/button.js.map +1 -1
- package/cjs/components/cardMenu/styled/menuListStyled.d.ts +1 -1
- package/cjs/components/cardMenu/styled/menuListStyled.js +1 -1
- package/cjs/components/cardMenu/styled/menuListStyled.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.js +1 -1
- package/cjs/components/carousel/navigation.js.map +1 -1
- package/cjs/components/carousel/pagination.d.ts +21 -7
- package/cjs/components/carousel/pagination.js +1 -1
- package/cjs/components/carousel/pagination.js.map +1 -1
- package/cjs/components/checkbox/checkbox.js +1 -1
- package/cjs/components/checkbox/checkbox.js.map +1 -1
- package/cjs/components/chip/chipDropdownChildren/chipDropdownChildren.js +1 -1
- package/cjs/components/chip/chipDropdownChildren/chipDropdownChildren.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/chip/regular/chip.js +1 -1
- package/cjs/components/chip/regular/chip.js.map +1 -1
- package/cjs/components/closeDialogButton/index.d.ts +4 -1
- package/cjs/components/closeDialogButton/index.js +1 -1
- package/cjs/components/closeDialogButton/index.js.map +1 -1
- package/cjs/components/common/menuEmpty.js +1 -1
- package/cjs/components/common/menuEmpty.js.map +1 -1
- package/cjs/components/common/resizableSliderInput.js +1 -1
- package/cjs/components/common/resizableSliderInput.js.map +1 -1
- package/cjs/components/common/styled/formControlLabelStyled.d.ts +1 -1
- package/cjs/components/common/styled/formControlLabelStyled.js +1 -1
- package/cjs/components/common/styled/formControlLabelStyled.js.map +1 -1
- package/cjs/components/common/styled/textFieldStyled.d.ts +3 -3
- package/cjs/components/common/styled/textFieldStyled.js +1 -1
- package/cjs/components/common/styled/textFieldStyled.js.map +1 -1
- package/cjs/components/controls/controls.js +1 -1
- package/cjs/components/controls/controls.js.map +1 -1
- package/cjs/components/flag/flag.d.ts +3 -5
- package/cjs/components/flag/flag.js +1 -1
- package/cjs/components/flag/flag.js.map +1 -1
- package/cjs/components/focusring/focusring.d.ts +1 -1
- package/cjs/components/focusring/focusring.js.map +1 -1
- package/cjs/components/grid/grid.d.ts +2 -2
- package/cjs/components/grid/grid.js +1 -1
- package/cjs/components/grid/grid.js.map +1 -1
- package/cjs/components/image/Image.js +2 -0
- package/cjs/components/image/Image.js.map +1 -0
- package/cjs/components/index.d.ts +5 -1
- package/cjs/components/label/label.d.ts +4 -1
- package/cjs/components/label/label.js +1 -1
- package/cjs/components/label/label.js.map +1 -1
- package/cjs/components/menuItem/menuItem.js +1 -1
- package/cjs/components/menuItem/menuItem.js.map +1 -1
- package/cjs/components/mobileStepper/mobileStepper.js +1 -1
- package/cjs/components/mobileStepper/mobileStepper.js.map +1 -1
- package/cjs/components/modal/modal.d.ts +23 -43
- package/cjs/components/modal/modal.js +1 -1
- package/cjs/components/modal/modal.js.map +1 -1
- package/cjs/components/modal/modalTitle.d.ts +6 -2
- package/cjs/components/modal/modalTitle.js +1 -1
- package/cjs/components/modal/modalTitle.js.map +1 -1
- package/cjs/components/numbering/numbering.js +1 -1
- package/cjs/components/numbering/numbering.js.map +1 -1
- package/cjs/components/{media/overlay → overlay}/Overlay.d.ts +1 -0
- package/cjs/components/overlay/Overlay.js +2 -0
- package/cjs/components/overlay/Overlay.js.map +1 -0
- package/cjs/components/passwordField/index.d.ts +1 -0
- package/cjs/components/passwordField/passwordField.d.ts +23 -0
- package/cjs/components/passwordField/passwordField.js +2 -0
- package/cjs/components/passwordField/passwordField.js.map +1 -0
- package/cjs/components/{media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.d.ts → playPauseButton/PlayPauseButton.d.ts} +14 -4
- package/cjs/components/playPauseButton/PlayPauseButton.js +2 -0
- package/cjs/components/playPauseButton/PlayPauseButton.js.map +1 -0
- package/cjs/components/playPauseButton/index.d.ts +1 -0
- package/cjs/components/quickLink/quickLink.d.ts +4 -4
- package/cjs/components/quickLink/quickLink.js +1 -1
- package/cjs/components/quickLink/quickLink.js.map +1 -1
- package/cjs/components/radioButton/radioButton.js +1 -1
- package/cjs/components/radioButton/radioButton.js.map +1 -1
- package/cjs/components/search/search.js +1 -1
- package/cjs/components/search/search.js.map +1 -1
- package/cjs/components/selectInput/formControlSelectStyled.d.ts +2 -2
- package/cjs/components/selectInput/formControlSelectStyled.js +1 -1
- package/cjs/components/selectInput/formControlSelectStyled.js.map +1 -1
- package/cjs/components/selectInput/selectInput.d.ts +1 -1
- package/cjs/components/selectInput/selectInput.js +1 -1
- package/cjs/components/selectInput/selectInput.js.map +1 -1
- package/cjs/components/skodaThemeProvider/SkodaThemeProvider.d.ts +1 -2
- package/cjs/components/skodaThemeProvider/SkodaThemeProvider.js.map +1 -1
- package/cjs/components/skodaThemeProvider/SkodaThemeWidgetProvider.d.ts +1 -2
- package/cjs/components/skodaThemeProvider/SkodaThemeWidgetProvider.js +1 -1
- package/cjs/components/skodaThemeProvider/SkodaThemeWidgetProvider.js.map +1 -1
- package/cjs/components/stepper/stepper.js +1 -1
- package/cjs/components/stepper/stepper.js.map +1 -1
- package/cjs/components/textAndCta/appStoreButton.d.ts +2 -2
- package/cjs/components/textAndCta/appStoreButton.js +1 -1
- package/cjs/components/textAndCta/appStoreButton.js.map +1 -1
- package/cjs/components/toggleSwitch/toggleSwitch.js +1 -1
- package/cjs/components/toggleSwitch/toggleSwitch.js.map +1 -1
- package/cjs/components/upload/UploadBox.d.ts +8 -0
- package/cjs/components/upload/UploadBox.js +1 -1
- package/cjs/components/upload/UploadBox.js.map +1 -1
- package/cjs/components/upload/UploadField.d.ts +14 -0
- package/cjs/components/upload/UploadField.js +1 -1
- package/cjs/components/upload/UploadField.js.map +1 -1
- package/cjs/components/upload/UploadPreviewList.d.ts +12 -0
- package/cjs/components/upload/UploadPreviewList.js +1 -1
- package/cjs/components/upload/UploadPreviewList.js.map +1 -1
- package/cjs/components/upload/UploadProgress.d.ts +12 -0
- package/cjs/components/upload/UploadProgress.js +1 -1
- package/cjs/components/upload/UploadProgress.js.map +1 -1
- package/cjs/components/upload/components/index.d.ts +3 -0
- package/cjs/components/upload/components/uploadList/index.d.ts +1 -0
- package/cjs/components/upload/components/uploadList/uploadList.d.ts +9 -0
- package/cjs/components/upload/components/uploadList/uploadList.js +2 -0
- package/cjs/components/upload/components/uploadList/uploadList.js.map +1 -0
- package/cjs/components/upload/components/uploadList/uploadListItem.d.ts +19 -0
- package/cjs/components/upload/components/uploadPreview/index.d.ts +2 -0
- package/cjs/components/upload/components/uploadPreview/uploadPreview.d.ts +46 -0
- package/cjs/components/upload/components/uploadPreview/uploadPreview.js +2 -0
- package/cjs/components/upload/components/uploadPreview/uploadPreview.js.map +1 -0
- package/cjs/components/upload/components/uploadPreview/uploadPreviewImage.d.ts +8 -0
- package/cjs/components/upload/components/uploadPreview/uploadPreviewImage.js +2 -0
- package/cjs/components/upload/components/uploadPreview/uploadPreviewImage.js.map +1 -0
- package/cjs/components/upload/components/uploadWrapper/index.d.ts +2 -0
- package/cjs/components/upload/components/uploadWrapper/uploadContent.d.ts +17 -0
- package/cjs/components/upload/components/uploadWrapper/uploadContent.js +2 -0
- package/cjs/components/upload/components/uploadWrapper/uploadContent.js.map +1 -0
- package/cjs/components/upload/components/uploadWrapper/uploadWrapper.d.ts +14 -0
- package/cjs/components/upload/components/uploadWrapper/uploadWrapper.js +2 -0
- package/cjs/components/upload/components/uploadWrapper/uploadWrapper.js.map +1 -0
- package/cjs/components/upload/index.d.ts +4 -3
- package/cjs/components/upload/upload.d.ts +35 -0
- package/cjs/components/upload/upload.js +2 -0
- package/cjs/components/upload/upload.js.map +1 -0
- package/cjs/components/{media/video → video}/Video.d.ts +1 -1
- package/cjs/components/video/Video.js +2 -0
- package/cjs/components/video/Video.js.map +1 -0
- package/cjs/components/video/hooks.js +2 -0
- package/cjs/components/video/hooks.js.map +1 -0
- package/cjs/components/{media/video → video}/index.d.ts +0 -1
- package/cjs/index.js +1 -1
- package/cjs/layout/Footer/FooterAccordion.js +1 -1
- package/cjs/layout/Footer/FooterAccordion.js.map +1 -1
- package/cjs/layout/Footer/FooterMenu.js +1 -1
- package/cjs/layout/Footer/FooterMenu.js.map +1 -1
- package/cjs/layout/Footer/FooterSectionLinks.js +1 -1
- package/cjs/layout/Footer/FooterSectionLinks.js.map +1 -1
- package/cjs/layout/Header/HeaderLanguageSelect.js +1 -1
- package/cjs/layout/Header/HeaderNavigationMenu.js +1 -1
- package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js +1 -1
- package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js.map +1 -1
- package/cjs/layout/container/container.js +1 -1
- package/cjs/layout/container/container.js.map +1 -1
- package/cjs/layout/cookieModal/CookieModal.d.ts +16 -37
- package/cjs/layout/cookieModal/CookieModal.js +1 -1
- package/cjs/layout/cookieModal/CookieModal.js.map +1 -1
- package/cjs/layout/cookieModal/CookieModalItem.d.ts +3 -0
- package/cjs/layout/cookieModal/CookieModalItem.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/avatar/avatar.theme.js +1 -1
- package/cjs/materialui/avatar/avatar.theme.js.map +1 -1
- package/cjs/materialui/avatar/avatarGroup.theme.d.ts +3 -0
- package/cjs/materialui/avatar/avatarGroup.theme.js +2 -0
- package/cjs/materialui/avatar/avatarGroup.theme.js.map +1 -0
- package/cjs/materialui/avatar/index.d.ts +2 -2
- package/cjs/materialui/button/button.theme.js +1 -1
- package/cjs/materialui/button/button.theme.js.map +1 -1
- package/cjs/materialui/button/index.d.ts +1 -0
- package/cjs/materialui/button/interactive.d.ts +15 -0
- package/cjs/materialui/button/interactive.js +2 -0
- package/cjs/materialui/button/interactive.js.map +1 -0
- package/cjs/materialui/chip/chip.theme.js +1 -1
- package/cjs/materialui/chip/chip.theme.js.map +1 -1
- package/cjs/materialui/container/container.theme.js +1 -1
- package/cjs/materialui/container/container.theme.js.map +1 -1
- package/cjs/materialui/dialog/DialogTitle.d.ts +7 -0
- package/cjs/materialui/dialog/DialogTitle.js +2 -0
- package/cjs/materialui/dialog/DialogTitle.js.map +1 -0
- package/cjs/materialui/dialog/dialog.theme.js +1 -1
- package/cjs/materialui/dialog/dialog.theme.js.map +1 -1
- package/cjs/materialui/dialog/dialogActions.theme.js +1 -1
- package/cjs/materialui/dialog/dialogActions.theme.js.map +1 -1
- package/cjs/materialui/dialog/dialogContent.theme.d.ts +2 -0
- package/cjs/materialui/dialog/dialogContent.theme.js +2 -0
- package/cjs/materialui/dialog/dialogContent.theme.js.map +1 -0
- package/cjs/materialui/dialog/dialogContentText.theme.js +1 -1
- package/cjs/materialui/dialog/dialogContentText.theme.js.map +1 -1
- package/cjs/materialui/dialog/dialogTitle.theme.js +1 -1
- package/cjs/materialui/dialog/dialogTitle.theme.js.map +1 -1
- package/cjs/materialui/dialog/index.d.ts +2 -0
- 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/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/listItemText.theme.js +1 -1
- package/cjs/materialui/list/listItemText.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/skeleton/skeleton.theme.d.ts +4 -7
- package/cjs/materialui/skeleton/skeleton.theme.js +1 -1
- package/cjs/materialui/skeleton/skeleton.theme.js.map +1 -1
- package/cjs/materialui/slider/sliderValues.js +1 -1
- package/cjs/materialui/slider/sliderValues.js.map +1 -1
- package/cjs/materialui/table/TableSortLabelIcon.d.ts +6 -0
- package/cjs/materialui/table/TableSortLabelIcon.js +2 -0
- package/cjs/materialui/table/TableSortLabelIcon.js.map +1 -0
- package/cjs/materialui/table/index.d.ts +2 -2
- package/cjs/materialui/table/stories/index.d.ts +4 -0
- package/cjs/materialui/table/stories/interactive.d.ts +1 -0
- package/cjs/materialui/table/stories/pagination.d.ts +3 -1
- package/cjs/materialui/table/stories/small.d.ts +1 -0
- package/cjs/materialui/table/tableCell.theme.js +1 -1
- package/cjs/materialui/table/tableCell.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/table/tablePagination.theme.d.ts +3 -0
- package/cjs/materialui/table/tablePagination.theme.js +2 -0
- package/cjs/materialui/table/tablePagination.theme.js.map +1 -0
- package/cjs/materialui/table/tableRow.theme.js +1 -1
- package/cjs/materialui/table/tableRow.theme.js.map +1 -1
- package/cjs/materialui/table/tableSortLabel.theme.js +1 -1
- package/cjs/materialui/table/tableSortLabel.theme.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.js +1 -1
- package/cjs/materialui/textfield/FormControl.js.map +1 -1
- package/cjs/materialui/textfield/filledInput.theme.js +1 -1
- package/cjs/materialui/textfield/filledInput.theme.js.map +1 -1
- package/cjs/materialui/textfield/formControlLabel.theme.js.map +1 -1
- package/cjs/materialui/textfield/formHelperText.theme.js +1 -1
- package/cjs/materialui/textfield/formHelperText.theme.js.map +1 -1
- package/cjs/materialui/textfield/input.theme.js +1 -1
- package/cjs/materialui/textfield/input.theme.js.map +1 -1
- package/cjs/materialui/textfield/inputAdornment.theme.js +1 -1
- package/cjs/materialui/textfield/inputAdornment.theme.js.map +1 -1
- package/cjs/materialui/textfield/inputBase.theme.js +1 -1
- package/cjs/materialui/textfield/inputBase.theme.js.map +1 -1
- package/cjs/materialui/textfield/inputLabel.theme.js +1 -1
- package/cjs/materialui/textfield/inputLabel.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.breakpoints.js.map +1 -1
- package/cjs/materialui/theme/theme.d.ts +1 -2
- package/cjs/materialui/theme/theme.extensions.d.ts +44 -1
- package/cjs/materialui/theme/theme.js +1 -1
- package/cjs/materialui/theme/theme.js.map +1 -1
- package/cjs/materialui/theme/theme.typography.js +1 -1
- package/cjs/materialui/theme/theme.typography.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/themeProvider/fonts.d.ts +26 -0
- package/cjs/materialui/themeProvider/fonts.js +2 -0
- package/cjs/materialui/themeProvider/fonts.js.map +1 -0
- package/cjs/node_modules/swiper/modules/keyboard.js +1 -1
- package/cjs/node_modules/swiper/modules/keyboard.js.map +1 -1
- package/cjs/node_modules/swiper/shared/effect-init.js +1 -1
- package/cjs/node_modules/swiper/shared/effect-init.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 +1 -1
- package/cjs/node_modules/swiper/shared/ssr-window.esm.js.map +1 -1
- package/cjs/node_modules/swiper/shared/swiper-core.js +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 +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 +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 +1 -1
- package/cjs/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js.map +1 -1
- package/cjs/organisms/cardPhotoAdjustable/cardPhotoAdjustable.js +4 -4
- package/cjs/organisms/cardPhotoAdjustable/cardPhotoAdjustable.js.map +1 -1
- package/cjs/organisms/cardPhotoFixed/cardPhotoFixed.js +4 -4
- package/cjs/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
- package/cjs/organisms/cardPromoVehicle/cardPromoVehicleComponent.js +1 -1
- package/cjs/organisms/cardPromoVehicle/cardPromoVehicleComponent.js.map +1 -1
- package/cjs/organisms/cardTypeOnly/cardTypeOnly.js +4 -4
- package/cjs/organisms/cardTypeOnly/cardTypeOnly.js.map +1 -1
- package/cjs/organisms/carousel2/cardCarousel/cardCarousel.d.ts +1 -1
- package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.d.ts +1 -1
- package/cjs/organisms/carousel2/heroCarousel/heroCarousel.d.ts +1 -1
- package/cjs/organisms/common/styled/cardStandardWrapperStyled.d.ts +2 -2
- package/cjs/organisms/common/styled/cardStandardWrapperStyled.js +1 -1
- package/cjs/organisms/common/styled/cardStandardWrapperStyled.js.map +1 -1
- package/cjs/organisms/gallery/Gallery.d.ts +3 -0
- package/cjs/organisms/gallery/Gallery.js +1 -1
- package/cjs/organisms/gallery/Gallery.js.map +1 -1
- package/cjs/organisms/heroImageCard/heroImageCard.js +4 -4
- package/cjs/organisms/heroImageCard/heroImageCard.js.map +1 -1
- package/cjs/organisms/heroImageCard/heroImageCardComponent.js +1 -1
- package/cjs/organisms/heroImageCard/heroImageCardComponent.js.map +1 -1
- package/cjs/organisms/heroImageCard/videoCardController.js +1 -1
- package/cjs/organisms/heroImageCard/videoCardController.js.map +1 -1
- package/cjs/organisms/notification/Notification.js +1 -1
- package/cjs/organisms/notification/Notification.js.map +1 -1
- package/cjs/organisms/textCta/textCta.d.ts +1 -5
- package/cjs/organisms/textCta/textCta.js +1 -1
- package/cjs/organisms/textCta/textCta.js.map +1 -1
- package/cjs/production/Button/Button.d.ts +2 -2
- package/cjs/production/Button/Button.js +9 -9
- package/cjs/production/Button/Button.js.map +1 -1
- package/cjs/utils/index.d.ts +1 -0
- package/cjs/utils/useElementScrollable/index.d.ts +1 -0
- package/cjs/utils/useElementScrollable/useElementScrollable.d.ts +1 -1
- package/cjs/utils/useElementScrollable/useElementScrollable.js +1 -1
- package/cjs/utils/useElementScrollable/useElementScrollable.js.map +1 -1
- package/components/alert/Alert.js +1 -1
- package/components/alert/Alert.js.map +1 -1
- package/components/alert/AlertButton.d.ts +4 -2
- package/components/alert/AlertButton.js +1 -1
- package/components/alert/AlertButton.js.map +1 -1
- package/components/backdrop/backdrop.d.ts +1 -1
- package/components/backdrop/backdrop.js +1 -1
- package/components/backdrop/backdrop.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/button/button.js +1 -1
- package/components/button/button.js.map +1 -1
- package/components/cardMenu/styled/menuListStyled.d.ts +1 -1
- package/components/cardMenu/styled/menuListStyled.js +1 -1
- package/components/cardMenu/styled/menuListStyled.js.map +1 -1
- package/components/carousel/hooks.js +1 -1
- package/components/carousel/hooks.js.map +1 -1
- package/components/carousel/navigation.js +1 -1
- package/components/carousel/navigation.js.map +1 -1
- package/components/carousel/pagination.d.ts +21 -7
- package/components/carousel/pagination.js +1 -1
- package/components/carousel/pagination.js.map +1 -1
- package/components/checkbox/checkbox.js +1 -1
- package/components/checkbox/checkbox.js.map +1 -1
- package/components/chip/chipDropdownChildren/chipDropdownChildren.js +1 -1
- package/components/chip/chipDropdownChildren/chipDropdownChildren.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/chip/regular/chip.js +1 -1
- package/components/chip/regular/chip.js.map +1 -1
- package/components/closeDialogButton/index.d.ts +4 -1
- package/components/closeDialogButton/index.js +1 -1
- package/components/closeDialogButton/index.js.map +1 -1
- package/components/common/menuEmpty.js +1 -1
- package/components/common/menuEmpty.js.map +1 -1
- package/components/common/resizableSliderInput.js +1 -1
- package/components/common/resizableSliderInput.js.map +1 -1
- package/components/common/styled/formControlLabelStyled.d.ts +1 -1
- package/components/common/styled/formControlLabelStyled.js +1 -1
- package/components/common/styled/formControlLabelStyled.js.map +1 -1
- package/components/common/styled/textFieldStyled.d.ts +3 -3
- package/components/common/styled/textFieldStyled.js +1 -1
- package/components/common/styled/textFieldStyled.js.map +1 -1
- package/components/controls/controls.js +1 -1
- package/components/controls/controls.js.map +1 -1
- package/components/flag/flag.d.ts +3 -5
- package/components/flag/flag.js +1 -1
- package/components/flag/flag.js.map +1 -1
- package/components/focusring/focusring.d.ts +1 -1
- package/components/focusring/focusring.js.map +1 -1
- package/components/grid/grid.d.ts +2 -2
- package/components/grid/grid.js +1 -1
- package/components/grid/grid.js.map +1 -1
- package/components/image/Image.js +2 -0
- package/components/image/Image.js.map +1 -0
- package/components/index.d.ts +5 -1
- package/components/label/label.d.ts +4 -1
- package/components/label/label.js +1 -1
- package/components/label/label.js.map +1 -1
- package/components/menuItem/menuItem.js +1 -1
- package/components/menuItem/menuItem.js.map +1 -1
- package/components/mobileStepper/mobileStepper.js +1 -1
- package/components/mobileStepper/mobileStepper.js.map +1 -1
- package/components/modal/modal.d.ts +23 -43
- package/components/modal/modal.js +1 -1
- package/components/modal/modal.js.map +1 -1
- package/components/modal/modalTitle.d.ts +6 -2
- package/components/modal/modalTitle.js +1 -1
- package/components/modal/modalTitle.js.map +1 -1
- package/components/numbering/numbering.js +1 -1
- package/components/numbering/numbering.js.map +1 -1
- package/components/{media/overlay → overlay}/Overlay.d.ts +1 -0
- package/components/overlay/Overlay.js +2 -0
- package/components/overlay/Overlay.js.map +1 -0
- package/components/passwordField/index.d.ts +1 -0
- package/components/passwordField/passwordField.d.ts +23 -0
- package/components/passwordField/passwordField.js +2 -0
- package/components/passwordField/passwordField.js.map +1 -0
- package/components/{media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.d.ts → playPauseButton/PlayPauseButton.d.ts} +14 -4
- package/components/playPauseButton/PlayPauseButton.js +2 -0
- package/components/playPauseButton/PlayPauseButton.js.map +1 -0
- package/components/playPauseButton/index.d.ts +1 -0
- package/components/quickLink/quickLink.d.ts +4 -4
- package/components/quickLink/quickLink.js +1 -1
- package/components/quickLink/quickLink.js.map +1 -1
- package/components/radioButton/radioButton.js +1 -1
- package/components/radioButton/radioButton.js.map +1 -1
- package/components/search/search.js +1 -1
- package/components/search/search.js.map +1 -1
- package/components/selectInput/formControlSelectStyled.d.ts +2 -2
- package/components/selectInput/formControlSelectStyled.js +1 -1
- package/components/selectInput/formControlSelectStyled.js.map +1 -1
- package/components/selectInput/selectInput.d.ts +1 -1
- package/components/selectInput/selectInput.js +1 -1
- package/components/selectInput/selectInput.js.map +1 -1
- package/components/skodaThemeProvider/SkodaThemeProvider.d.ts +1 -2
- package/components/skodaThemeProvider/SkodaThemeProvider.js.map +1 -1
- package/components/skodaThemeProvider/SkodaThemeWidgetProvider.d.ts +1 -2
- package/components/skodaThemeProvider/SkodaThemeWidgetProvider.js +1 -1
- package/components/skodaThemeProvider/SkodaThemeWidgetProvider.js.map +1 -1
- package/components/stepper/stepper.js +1 -1
- package/components/stepper/stepper.js.map +1 -1
- package/components/textAndCta/appStoreButton.d.ts +2 -2
- package/components/textAndCta/appStoreButton.js +1 -1
- package/components/textAndCta/appStoreButton.js.map +1 -1
- package/components/toggleSwitch/toggleSwitch.js +1 -1
- package/components/toggleSwitch/toggleSwitch.js.map +1 -1
- package/components/upload/UploadBox.d.ts +8 -0
- package/components/upload/UploadBox.js +1 -1
- package/components/upload/UploadBox.js.map +1 -1
- package/components/upload/UploadField.d.ts +14 -0
- package/components/upload/UploadField.js +1 -1
- package/components/upload/UploadField.js.map +1 -1
- package/components/upload/UploadPreviewList.d.ts +12 -0
- package/components/upload/UploadPreviewList.js +1 -1
- package/components/upload/UploadPreviewList.js.map +1 -1
- package/components/upload/UploadProgress.d.ts +12 -0
- package/components/upload/UploadProgress.js +1 -1
- package/components/upload/UploadProgress.js.map +1 -1
- package/components/upload/components/index.d.ts +3 -0
- package/components/upload/components/uploadList/index.d.ts +1 -0
- package/components/upload/components/uploadList/uploadList.d.ts +9 -0
- package/components/upload/components/uploadList/uploadList.js +2 -0
- package/components/upload/components/uploadList/uploadList.js.map +1 -0
- package/components/upload/components/uploadList/uploadListItem.d.ts +19 -0
- package/components/upload/components/uploadPreview/index.d.ts +2 -0
- package/components/upload/components/uploadPreview/uploadPreview.d.ts +46 -0
- package/components/upload/components/uploadPreview/uploadPreview.js +2 -0
- package/components/upload/components/uploadPreview/uploadPreview.js.map +1 -0
- package/components/upload/components/uploadPreview/uploadPreviewImage.d.ts +8 -0
- package/components/upload/components/uploadPreview/uploadPreviewImage.js +2 -0
- package/components/upload/components/uploadPreview/uploadPreviewImage.js.map +1 -0
- package/components/upload/components/uploadWrapper/index.d.ts +2 -0
- package/components/upload/components/uploadWrapper/uploadContent.d.ts +17 -0
- package/components/upload/components/uploadWrapper/uploadContent.js +2 -0
- package/components/upload/components/uploadWrapper/uploadContent.js.map +1 -0
- package/components/upload/components/uploadWrapper/uploadWrapper.d.ts +14 -0
- package/components/upload/components/uploadWrapper/uploadWrapper.js +2 -0
- package/components/upload/components/uploadWrapper/uploadWrapper.js.map +1 -0
- package/components/upload/index.d.ts +4 -3
- package/components/upload/upload.d.ts +35 -0
- package/components/upload/upload.js +2 -0
- package/components/upload/upload.js.map +1 -0
- package/components/{media/video → video}/Video.d.ts +1 -1
- package/components/video/Video.js +2 -0
- package/components/video/Video.js.map +1 -0
- package/components/video/hooks.js +2 -0
- package/components/video/hooks.js.map +1 -0
- package/components/{media/video → video}/index.d.ts +0 -1
- package/index.js +1 -1
- package/layout/Footer/FooterAccordion.js +1 -1
- package/layout/Footer/FooterAccordion.js.map +1 -1
- package/layout/Footer/FooterMenu.js +1 -1
- package/layout/Footer/FooterMenu.js.map +1 -1
- package/layout/Footer/FooterSectionLinks.js +1 -1
- package/layout/Footer/FooterSectionLinks.js.map +1 -1
- package/layout/Header/HeaderLanguageSelect.js +1 -1
- package/layout/Header/HeaderNavigationMenu.js +1 -1
- package/layout/SecondaryNavigation/SecondaryNavigation.js +1 -1
- package/layout/SecondaryNavigation/SecondaryNavigation.js.map +1 -1
- package/layout/container/container.js +1 -1
- package/layout/container/container.js.map +1 -1
- package/layout/cookieModal/CookieModal.d.ts +16 -37
- package/layout/cookieModal/CookieModal.js +1 -1
- package/layout/cookieModal/CookieModal.js.map +1 -1
- package/layout/cookieModal/CookieModalItem.d.ts +3 -0
- package/layout/cookieModal/CookieModalItem.js.map +1 -1
- package/materialui/alert/alert.theme.js +1 -1
- package/materialui/alert/alert.theme.js.map +1 -1
- package/materialui/avatar/avatar.theme.js +1 -1
- package/materialui/avatar/avatar.theme.js.map +1 -1
- package/materialui/avatar/avatarGroup.theme.d.ts +3 -0
- package/materialui/avatar/avatarGroup.theme.js +2 -0
- package/materialui/avatar/avatarGroup.theme.js.map +1 -0
- package/materialui/avatar/index.d.ts +2 -2
- package/materialui/button/button.theme.js +1 -1
- package/materialui/button/button.theme.js.map +1 -1
- package/materialui/button/index.d.ts +1 -0
- package/materialui/button/interactive.d.ts +15 -0
- package/materialui/button/interactive.js +2 -0
- package/materialui/button/interactive.js.map +1 -0
- package/materialui/chip/chip.theme.js +1 -1
- package/materialui/chip/chip.theme.js.map +1 -1
- package/materialui/container/container.theme.js +1 -1
- package/materialui/container/container.theme.js.map +1 -1
- package/materialui/dialog/DialogTitle.d.ts +7 -0
- package/materialui/dialog/DialogTitle.js +2 -0
- package/materialui/dialog/DialogTitle.js.map +1 -0
- package/materialui/dialog/dialog.theme.js +1 -1
- package/materialui/dialog/dialog.theme.js.map +1 -1
- package/materialui/dialog/dialogActions.theme.js +1 -1
- package/materialui/dialog/dialogActions.theme.js.map +1 -1
- package/materialui/dialog/dialogContent.theme.d.ts +2 -0
- package/materialui/dialog/dialogContent.theme.js +2 -0
- package/materialui/dialog/dialogContent.theme.js.map +1 -0
- package/materialui/dialog/dialogContentText.theme.js +1 -1
- package/materialui/dialog/dialogContentText.theme.js.map +1 -1
- package/materialui/dialog/dialogTitle.theme.js +1 -1
- package/materialui/dialog/dialogTitle.theme.js.map +1 -1
- package/materialui/dialog/index.d.ts +2 -0
- 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/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/listItemText.theme.js +1 -1
- package/materialui/list/listItemText.theme.js.map +1 -1
- package/materialui/menu/menuItem.theme.js +1 -1
- package/materialui/menu/menuItem.theme.js.map +1 -1
- package/materialui/skeleton/skeleton.theme.d.ts +4 -7
- package/materialui/skeleton/skeleton.theme.js +1 -1
- package/materialui/skeleton/skeleton.theme.js.map +1 -1
- package/materialui/slider/sliderValues.js +1 -1
- package/materialui/slider/sliderValues.js.map +1 -1
- package/materialui/table/TableSortLabelIcon.d.ts +6 -0
- package/materialui/table/TableSortLabelIcon.js +2 -0
- package/materialui/table/TableSortLabelIcon.js.map +1 -0
- package/materialui/table/index.d.ts +2 -2
- package/materialui/table/stories/index.d.ts +4 -0
- package/materialui/table/stories/interactive.d.ts +1 -0
- package/materialui/table/stories/pagination.d.ts +3 -1
- package/materialui/table/stories/small.d.ts +1 -0
- package/materialui/table/tableCell.theme.js +1 -1
- package/materialui/table/tableCell.theme.js.map +1 -1
- package/materialui/table/tableContainer.theme.js +1 -1
- package/materialui/table/tableContainer.theme.js.map +1 -1
- package/materialui/table/tablePagination.theme.d.ts +3 -0
- package/materialui/table/tablePagination.theme.js +2 -0
- package/materialui/table/tablePagination.theme.js.map +1 -0
- package/materialui/table/tableRow.theme.js +1 -1
- package/materialui/table/tableRow.theme.js.map +1 -1
- package/materialui/table/tableSortLabel.theme.js +1 -1
- package/materialui/table/tableSortLabel.theme.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.js +1 -1
- package/materialui/textfield/FormControl.js.map +1 -1
- package/materialui/textfield/filledInput.theme.js +1 -1
- package/materialui/textfield/filledInput.theme.js.map +1 -1
- package/materialui/textfield/formControlLabel.theme.js.map +1 -1
- package/materialui/textfield/formHelperText.theme.js +1 -1
- package/materialui/textfield/formHelperText.theme.js.map +1 -1
- package/materialui/textfield/input.theme.js +1 -1
- package/materialui/textfield/input.theme.js.map +1 -1
- package/materialui/textfield/inputAdornment.theme.js +1 -1
- package/materialui/textfield/inputAdornment.theme.js.map +1 -1
- package/materialui/textfield/inputBase.theme.js +1 -1
- package/materialui/textfield/inputBase.theme.js.map +1 -1
- package/materialui/textfield/inputLabel.theme.js +1 -1
- package/materialui/textfield/inputLabel.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.breakpoints.js.map +1 -1
- package/materialui/theme/theme.d.ts +1 -2
- package/materialui/theme/theme.extensions.d.ts +44 -1
- package/materialui/theme/theme.js +1 -1
- package/materialui/theme/theme.js.map +1 -1
- package/materialui/theme/theme.typography.js +1 -1
- package/materialui/theme/theme.typography.js.map +1 -1
- package/materialui/themeProvider/baseline.theme.js +1 -1
- package/materialui/themeProvider/baseline.theme.js.map +1 -1
- package/materialui/themeProvider/fonts.d.ts +26 -0
- package/materialui/themeProvider/fonts.js +2 -0
- package/materialui/themeProvider/fonts.js.map +1 -0
- package/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js +1 -1
- package/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js.map +1 -1
- package/organisms/cardPhotoAdjustable/cardPhotoAdjustable.js +1 -1
- package/organisms/cardPhotoAdjustable/cardPhotoAdjustable.js.map +1 -1
- package/organisms/cardPhotoFixed/cardPhotoFixed.js +1 -1
- package/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
- package/organisms/cardPromoVehicle/cardPromoVehicleComponent.js +1 -1
- package/organisms/cardPromoVehicle/cardPromoVehicleComponent.js.map +1 -1
- package/organisms/cardTypeOnly/cardTypeOnly.js +1 -1
- package/organisms/cardTypeOnly/cardTypeOnly.js.map +1 -1
- package/organisms/carousel2/cardCarousel/cardCarousel.d.ts +1 -1
- package/organisms/carousel2/galleryCarousel/galleryCarousel.d.ts +1 -1
- package/organisms/carousel2/heroCarousel/heroCarousel.d.ts +1 -1
- package/organisms/common/styled/cardStandardWrapperStyled.d.ts +2 -2
- package/organisms/common/styled/cardStandardWrapperStyled.js +1 -1
- package/organisms/common/styled/cardStandardWrapperStyled.js.map +1 -1
- package/organisms/gallery/Gallery.d.ts +3 -0
- package/organisms/gallery/Gallery.js +1 -1
- package/organisms/gallery/Gallery.js.map +1 -1
- package/organisms/heroImageCard/heroImageCard.js +1 -1
- package/organisms/heroImageCard/heroImageCard.js.map +1 -1
- package/organisms/heroImageCard/heroImageCardComponent.js +1 -1
- package/organisms/heroImageCard/heroImageCardComponent.js.map +1 -1
- package/organisms/heroImageCard/videoCardController.js +1 -1
- package/organisms/heroImageCard/videoCardController.js.map +1 -1
- package/organisms/notification/Notification.js +1 -1
- package/organisms/notification/Notification.js.map +1 -1
- package/organisms/textCta/textCta.d.ts +1 -5
- package/organisms/textCta/textCta.js +1 -1
- package/organisms/textCta/textCta.js.map +1 -1
- package/package.json +1 -1
- package/production/Button/Button.d.ts +2 -2
- package/production/Button/Button.js +3 -3
- package/production/Button/Button.js.map +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/useElementScrollable/index.d.ts +1 -0
- package/utils/useElementScrollable/useElementScrollable.d.ts +1 -1
- package/utils/useElementScrollable/useElementScrollable.js +1 -1
- package/utils/useElementScrollable/useElementScrollable.js.map +1 -1
- package/cjs/components/media/image/Image.js +0 -2
- package/cjs/components/media/image/Image.js.map +0 -1
- package/cjs/components/media/index.d.ts +0 -3
- package/cjs/components/media/overlay/Overlay.js +0 -2
- package/cjs/components/media/overlay/Overlay.js.map +0 -1
- package/cjs/components/media/video/Video.js +0 -2
- package/cjs/components/media/video/Video.js.map +0 -1
- package/cjs/components/media/video/controls/index.d.ts +0 -1
- package/cjs/components/media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.js +0 -2
- package/cjs/components/media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.js.map +0 -1
- package/cjs/components/media/video/controls/videoPlayPauseIndicator/index.d.ts +0 -1
- package/cjs/components/media/video/hooks.js +0 -2
- package/cjs/components/media/video/hooks.js.map +0 -1
- package/cjs/components/modal/contentDiv.d.ts +0 -15
- package/cjs/components/modal/contentDiv.js +0 -2
- package/cjs/components/modal/contentDiv.js.map +0 -1
- package/cjs/components/upload/UploadPreview.d.ts +0 -23
- package/cjs/components/upload/UploadPreview.js +0 -2
- package/cjs/components/upload/UploadPreview.js.map +0 -1
- package/cjs/materialui/dialog/dialog.component.d.ts +0 -9
- package/components/media/image/Image.js +0 -2
- package/components/media/image/Image.js.map +0 -1
- package/components/media/index.d.ts +0 -3
- package/components/media/overlay/Overlay.js +0 -2
- package/components/media/overlay/Overlay.js.map +0 -1
- package/components/media/video/Video.js +0 -2
- package/components/media/video/Video.js.map +0 -1
- package/components/media/video/controls/index.d.ts +0 -1
- package/components/media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.js +0 -2
- package/components/media/video/controls/videoPlayPauseIndicator/VideoPlayPauseIndicator.js.map +0 -1
- package/components/media/video/controls/videoPlayPauseIndicator/index.d.ts +0 -1
- package/components/media/video/hooks.js +0 -2
- package/components/media/video/hooks.js.map +0 -1
- package/components/modal/contentDiv.d.ts +0 -15
- package/components/modal/contentDiv.js +0 -2
- package/components/modal/contentDiv.js.map +0 -1
- package/components/upload/UploadPreview.d.ts +0 -23
- package/components/upload/UploadPreview.js +0 -2
- package/components/upload/UploadPreview.js.map +0 -1
- package/materialui/dialog/dialog.component.d.ts +0 -9
- /package/cjs/components/{media/image → image}/Image.d.ts +0 -0
- /package/cjs/components/{media/image → image}/index.d.ts +0 -0
- /package/cjs/components/{media/overlay → overlay}/index.d.ts +0 -0
- /package/cjs/components/{media/video → video}/hooks.d.ts +0 -0
- /package/components/{media/image → image}/Image.d.ts +0 -0
- /package/components/{media/image → image}/index.d.ts +0 -0
- /package/components/{media/overlay → overlay}/index.d.ts +0 -0
- /package/components/{media/video → video}/hooks.d.ts +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react");exports.useElementScrollable=function(t="y"){const[s,l]=e.useState(!1);return{isScrollable:s,elementRef:e.useCallback((e=>{const s=new ResizeObserver((()=>{l("y"===t?e.offsetHeight<e.scrollHeight:e.offsetWidth<e.scrollWidth)}));null!==e?s.observe(e):s.disconnect()}),[])}};
|
|
2
2
|
//# sourceMappingURL=useElementScrollable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useElementScrollable.js","sources":["../../../../../src/utils/useElementScrollable/useElementScrollable.ts"],"sourcesContent":[null],"names":["axis","isScrollable","setIsScrollable","useState","elementRef","useCallback","element","resizeObserver","ResizeObserver","offsetHeight","scrollHeight","offsetWidth","scrollWidth","observe","disconnect"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useElementScrollable.js","sources":["../../../../../src/utils/useElementScrollable/useElementScrollable.ts"],"sourcesContent":[null],"names":["axis","isScrollable","setIsScrollable","useState","elementRef","useCallback","element","resizeObserver","ResizeObserver","offsetHeight","scrollHeight","offsetWidth","scrollWidth","observe","disconnect"],"mappings":"iEAUgB,SAAqBA,EAAkB,KACrD,MAAOC,EAAcC,GAAmBC,EAAAA,UAAkB,GAiB1D,MAAO,CAAEF,eAAcG,WAdJC,eAAaC,IAC9B,MAAMC,EAAiB,IAAIC,gBAAe,KACxCN,EACW,MAATF,EAAeM,EAAQG,aAAeH,EAAQI,aAAeJ,EAAQK,YAAcL,EAAQM,YAC5F,IAGa,OAAZN,EACFC,EAAeM,QAAQP,GAEvBC,EAAeO,eAEhB,IAGL"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as t}from"tslib";import{jsx as i}from"react/jsx-runtime";import{useTheme as s,Alert as a}from"@mui/material";const e=e=>{var{type:r,actions:o,severity:c,action:n,sx:p,width:y}=e,g=t(e,["type","actions","severity","action","sx","width"]);const m=s();return i(a,Object.assign({severity:c||r,action:o||n,sx:Object.assign(Object.assign(Object.assign({},y?{width:y}:{}),{"& .MuiTypography-body1":Object.assign({},m.typography.
|
|
1
|
+
import{__rest as t}from"tslib";import{jsx as i}from"react/jsx-runtime";import{useTheme as s,Alert as a}from"@mui/material";const e=e=>{var{type:r,actions:o,severity:c,action:n,sx:p,width:y}=e,g=t(e,["type","actions","severity","action","sx","width"]);const m=s();return i(a,Object.assign({severity:c||r,action:o||n,sx:Object.assign(Object.assign(Object.assign({},y?{width:y}:{}),{"& .MuiTypography-body1":Object.assign({},m.typography.disclaimer1),"& .MuiTypography-caption1":Object.assign({},m.typography.caption2)}),p),"data-testid":"Alert"},g))};export{e as Alert};
|
|
2
2
|
//# sourceMappingURL=Alert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sources":["../../../src/components/alert/Alert.tsx"],"sourcesContent":[null],"names":["Alert","_a","type","actions","severity","action","sx","width","rest","__rest","theme","useTheme","_jsx","MuiAlert","Object","assign","typography","
|
|
1
|
+
{"version":3,"file":"Alert.js","sources":["../../../src/components/alert/Alert.tsx"],"sourcesContent":[null],"names":["Alert","_a","type","actions","severity","action","sx","width","rest","__rest","theme","useTheme","_jsx","MuiAlert","Object","assign","typography","disclaimer1","caption2"],"mappings":"2HAyBa,MAAAA,EAA+BC,IAAA,IAAAC,KAAEA,EAAIC,QAAEA,EAAOC,SAAEA,EAAQC,OAAEA,EAAMC,GAAEA,EAAEC,MAAEA,GAAgBN,EAANO,EAAIC,EAAAR,EAArD,qDAC1C,MAAMS,EAAQC,IAEd,OACEC,EAACC,EAAQC,OAAAC,OAAA,CACPX,SAAUA,GAAYF,EACtBG,OAAQF,GAAWE,EACnBC,GAAEQ,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACIR,EAAQ,CAAEA,MAAOA,GAAU,CAAE,GAAC,CAElC,yBAAwBO,OAAAC,OAAA,GACnBL,EAAMM,WAAWC,aAEtB,4BAA2BH,OAAAC,OAAA,CAAA,EAEtBL,EAAMM,WAAWE,YAEnBZ,GAAE,cAEK,SACRE,GACJ"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ButtonProps } from '@mui/material';
|
|
3
|
+
export interface AlertButtonProps extends Omit<ButtonProps, 'variant' | 'color' | 'size'> {
|
|
4
|
+
}
|
|
3
5
|
/**
|
|
4
|
-
*
|
|
6
|
+
* AlertButton is a proxy component to <Button variant="text" color="white" size="small" />
|
|
5
7
|
*/
|
|
6
|
-
export declare const AlertButton: React.FC<
|
|
8
|
+
export declare const AlertButton: React.FC<AlertButtonProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import{Button as e}from"@mui/material";const i=t(((t,i)=>r(e,Object.assign({},t,{ref:i,variant:"text",color:"white",size:"small"}))));export{i as AlertButton};
|
|
2
2
|
//# sourceMappingURL=AlertButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertButton.js","sources":["../../../src/components/alert/AlertButton.tsx"],"sourcesContent":[null],"names":["AlertButton","props","_jsx","Button","Object","assign","variant","color","size"],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlertButton.js","sources":["../../../src/components/alert/AlertButton.tsx"],"sourcesContent":[null],"names":["AlertButton","forwardRef","props","ref","_jsx","Button","Object","assign","variant","color","size"],"mappings":"kHAQa,MAAAA,EAA0CC,GAAW,CAACC,EAAOC,IACjEC,EAACC,EAAWC,OAAAC,OAAA,CAAA,EAAAL,GAAOC,IAAKA,EAAKK,QAAQ,OAAOC,MAAM,QAAQC,KAAK"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import { Theme } from '@mui/material/styles';
|
|
3
2
|
import { SxProps } from '@mui/system';
|
|
3
|
+
import { Theme } from '@mui/material';
|
|
4
4
|
export interface BackdropProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
/**
|
|
6
6
|
* If true, the component is shown. Default value false
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as
|
|
1
|
+
import{__rest as o}from"tslib";import{jsx as r}from"react/jsx-runtime";import{forwardRef as e,useEffect as n}from"react";import t from"../common/hook/backdrop.js";import{styled as i,Backdrop as a}from"@mui/material";const s=e(((e,i)=>{var{open:a,onClose:s}=e,l=o(e,["open","onClose"]);const{openBackdrop:c,handleCloseBackdrop:m,setOpenBackdrop:d}=t();return n((()=>{d(a)}),[a,d]),r(p,{ref:i,classes:l.classes,open:c,onClick:()=>{m(),s&&s(!1)},invisible:l.invisible,sx:l.sx,transitionDuration:l.transitionDuration,children:l.children})})),p=i(a)((r=>{var{theme:e}=r;return o(r,["theme"]).invisible?{backgroundColor:e.palette.transparent.backdrop,backdropFilter:"blur(0px)"}:null}));export{s as Backdrop};
|
|
2
2
|
//# sourceMappingURL=backdrop.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.js","sources":["../../../src/components/backdrop/backdrop.tsx"],"sourcesContent":[null],"names":["Backdrop","forwardRef","_a","ref","open","onClose","props","__rest","openBackdrop","handleCloseBackdrop","setOpenBackdrop","useBackdrop","useEffect","_jsx","BackdropStyled","classes","onClick","invisible","sx","transitionDuration","children","styled","MuiBackdrop","theme","backgroundColor","palette","transparent","backdrop","backdropFilter"],"mappings":"
|
|
1
|
+
{"version":3,"file":"backdrop.js","sources":["../../../src/components/backdrop/backdrop.tsx"],"sourcesContent":[null],"names":["Backdrop","forwardRef","_a","ref","open","onClose","props","__rest","openBackdrop","handleCloseBackdrop","setOpenBackdrop","useBackdrop","useEffect","_jsx","BackdropStyled","classes","onClick","invisible","sx","transitionDuration","children","styled","MuiBackdrop","theme","backgroundColor","palette","transparent","backdrop","backdropFilter"],"mappings":"wNA+Ca,MAAAA,EAAWC,GAA0C,CAACC,EAA6BC,SAA7BC,KAAEA,EAAIC,QAAEA,GAAOH,EAAKI,EAAKC,EAAAL,EAAzB,oBACjE,MAAMM,aAAEA,EAAYC,oBAAEA,EAAmBC,gBAAEA,GAAoBC,IAW/D,OAJAC,GAAU,KACRF,EAAgBN,EAAK,GACpB,CAACA,EAAMM,IAGRG,EAACC,EAAc,CACbX,IAAKA,EACLY,QAAST,EAAMS,QACfX,KAAMI,EACNQ,QAdgB,KAClBP,IACAJ,GAAWA,GAAQ,EAAM,EAavBY,UAAWX,EAAMW,UACjBC,GAAIZ,EAAMY,GACVC,mBAAoBb,EAAMa,mBAAkBC,SAE3Cd,EAAMc,UACQ,IAIfN,EAAiBO,EAAOC,EAAPD,EAAoCnB,IAAA,IAAAqB,MAAEA,GAAgBrB,EAC3E,OADyEK,EAAAL,EAAhB,WAChDe,UACA,CACLO,gBAAiBD,EAAME,QAAQC,YAAYC,SAC3CC,eAAgB,aAGb,IAAI"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e}from"tslib";import{jsxs as r,jsx as t}from"react/jsx-runtime";import{CircleExclamationFilledIcon as n}from"../icon/filled/CircleExclamationFilledIcon.js";import{CircleInformationFilledIcon as i}from"../icon/filled/CircleInformationFilledIcon.js";import{WarningFilledIcon as s}from"../icon/filled/WarningFilledIcon.js";import{useTheme as o,Box as a,Typography as l}from"@mui/material";import{forwardRef as c,useMemo as p}from"react";import{getFocusRingStyle as x}from"../focusring/focusring.js";const f=c(((c,f)=>{var{children:m,variant:
|
|
1
|
+
import{__rest as e}from"tslib";import{jsxs as r,jsx as t}from"react/jsx-runtime";import{CircleExclamationFilledIcon as n}from"../icon/filled/CircleExclamationFilledIcon.js";import{CircleInformationFilledIcon as i}from"../icon/filled/CircleInformationFilledIcon.js";import{WarningFilledIcon as s}from"../icon/filled/WarningFilledIcon.js";import{useTheme as o,Box as a,Typography as l}from"@mui/material";import{forwardRef as c,useMemo as p}from"react";import{getFocusRingStyle as x}from"../focusring/focusring.js";const f=c(((c,f)=>{var{children:m,variant:d="info",size:g="large",sx:b,iconProps:u,IconComponent:j,typographyProps:h,wrapperProps:w,buttons:y,buttonsWrapperProps:C,onClick:O}=c,I=e(c,["children","variant","size","sx","iconProps","IconComponent","typographyProps","wrapperProps","buttons","buttonsWrapperProps","onClick"]);const P=o(),v=u||{},{sx:k}=v,B=e(v,["sx"]),S=h||{},{sx:z}=S,F=e(S,["sx"]),W=w||{},{sx:G}=W,A=e(W,["sx"]),D=C||{},{sx:E}=D,H=e(D,["sx"]),[L,q,J]=p((()=>{switch(d){case"error":return["error.main","error.light",s];case"warning":return["warning.main","warning.light",n];default:return["info.main","info.light",i]}}),[d]),K=j||J;return r(a,Object.assign({"data-testid":"Banner",role:"alert","aria-atomic":"true","aria-live":"assertive",onClick:O,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:L,backgroundColor:q,textAlign:"left"},O&&Object.assign({position:"relative",cursor:"pointer"},x(P,!0,"2px"))),b),ref:f},I,{children:[r(a,Object.assign({"data-testid":"Banner.wrapper",sx:Object.assign({flexGrow:"1",display:"flex",alignItems:"flex-start",justifyContent:"flex-start",gap:1,py:.5},G)},A,{children:[t(K,Object.assign({"data-testid":"Banner.icon",sx:Object.assign({color:L},k)},B)),t(l,Object.assign({"data-testid":"Banner.text",sx:Object.assign({color:"onSurface.os900",flexGrow:"1",fontSize:{xl:"16px"},lineHeight:{xl:"24px"}},z)},F,{children:m}))]})),y&&t(a,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"},E)},H,{children:y}))]}))}));export{f as Banner};
|
|
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","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","color","Typography","fontSize","
|
|
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","color","Typography","fontSize","xl","lineHeight","flexShrink","ml","alignSelf"],"mappings":"igBA+Ca,MAAAA,EAAgCC,GAC3C,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,EAAAd,EAZT,2IAgBA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EJ,CAAAvB,SAAA,CAAAwD,EAACtB,EACaG,OAAAC,OAAA,CAAA,cAAA,cACZnC,GACEkC,OAAAC,OAAA,CAAAmB,MAAO9B,GACJX,IAEDC,IAENuC,EAACE,EAAUrB,OAAAC,OAAA,CAAA,cACG,cACZnC,GAAEkC,OAAAC,OAAA,CACAmB,MAAO,kBACPF,SAAU,IAEVI,SAAU,CAAEC,GAAI,QAChBC,WAAY,CAAED,GAAI,SACfzC,IAEDC,EAAc,CAAApB,SAEjBA,SAGJQ,GACCgD,EAACpB,EAAGC,OAAAC,OAAA,CAAA,cACU,iBACZnC,GACEkC,OAAAC,OAAA,CAAAE,QAAS,OACTK,WAAY,SACZC,eAAgB,gBAChBG,IAAK,EAELa,WAAY,IAEZC,GAAI,CAAEpB,GAAI,EAAGC,GAAI,GAEjBoB,UAAW,YACRvC,IAEDC,EAEH,CAAA1B,SAAAQ,QAGD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import React, { ElementType } from 'react';
|
|
1
2
|
import { BoxProps, IconButtonProps, SwipeableDrawerProps, TypographyProps, SvgIconProps } from '@mui/material';
|
|
2
|
-
import { ElementType } from 'react';
|
|
3
3
|
export interface BottomSheetProps extends Omit<SwipeableDrawerProps, 'onClose' | 'onOpen'> {
|
|
4
4
|
/**
|
|
5
5
|
* Open state component flag
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useTheme as
|
|
1
|
+
import{__rest as e}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{forwardRef as r}from"react";import{useTheme as s,SwipeableDrawer as n,Box as i,Typography as a,IconButton as l}from"@mui/material";import{CloseIcon as p}from"../icon/stroke/CloseIcon.js";import{useElementScrollable as c}from"../../utils/useElementScrollable/useElementScrollable.js";const d=r(((r,d)=>{var{children:m,open:x,setOpen:b,puller:h,closeButton:u,closeButtonProps:f,closeButtonIconProps:g,CloseButtonIconComponent:j,footerSlot:B,title:S,titleProps:O={},headerWrapper:C,contentWrapper:P,footerWrapper:w,maxHeight:y=60}=r,I=e(r,["children","open","setOpen","puller","closeButton","closeButtonProps","closeButtonIconProps","CloseButtonIconComponent","footerSlot","title","titleProps","headerWrapper","contentWrapper","footerWrapper","maxHeight"]);const W=C||{},{sx:R}=W,k=e(W,["sx"]),v=P||{},{sx:T}=v,H=e(v,["sx"]),z=w||{},{sx:E}=z,M=e(z,["sx"]),D=g||{},{sx:L}=D,$=e(D,["sx"]),q=s(),A=j||p,{isScrollable:F,elementRef:G}=c("y");return t(n,Object.assign({dir:q.direction,anchor:"bottom",PaperProps:{sx:{borderTopLeftRadius:"16px",borderTopRightRadius:"16px",maxHeight:`${y}%`}},open:x,onClose:()=>b(!1),onOpen:()=>b(!0),disableSwipeToOpen:!0,ModalProps:{keepMounted:!0},"data-testid":"BottomSheet",ref:d},I,{children:[(S||u||h)&&t(i,Object.assign({sx:Object.assign({px:2},R),"data-testid":"BottomSheet-header"},k,{children:[h&&o(i,{sx:{position:"relative",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center"},children:o(i,{"data-testid":"BottomSheet-puller",sx:{width:"28px",height:"4px",backgroundColor:"onSurface.os500",mt:1.5,mb:2.25,borderRadius:8}})}),(S||u&&!h)&&t(i,{sx:{display:"flex",justifyContent:S?"space-between":"flex-end",gap:1,pb:2,pt:h?0:2},children:[S&&o(a,Object.assign({"data-testid":"BottomSheet-title",variant:"h4"},O,{children:S})),u&&!h&&o(l,Object.assign({"data-testid":"BottomSheet-closeButton",size:"medium",onClick:()=>b(!1),"aria-label":"Close bottom sheet"},f,{children:o(A,Object.assign({color:"action",sx:Object.assign({fontSize:"18px"},L)},$))}))]})]})),o(i,Object.assign({"data-testid":"BottomSheet-content",ref:G,sx:Object.assign({overflow:"auto",borderTop:F?1:0,borderColor:"surface.secondary",p:2},T)},H,{children:m})),B&&o(i,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"},E)},M,{children:B}))]}))}));export{d as BottomSheet};
|
|
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","color","fontSize","overflow","borderTop","borderColor","p","boxShadow"],"mappings":"
|
|
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","color","fontSize","overflow","borderTop","borderColor","p","boxShadow"],"mappings":"mXA4Ea,MAAAA,EAA0CC,GACrD,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,EAAAlB,EAhBT,0NAoBA,MAAMmB,EAAkCN,GAAiB,IAAjDO,GAAIC,KAAaC,EAAnBJ,EAAAC,EAAA,CAAA,OACAI,EAAoCT,GAAkB,IAApDM,GAAII,KAAcC,EAApBP,EAAAK,EAAA,CAAA,OACAG,EAAkCX,GAAiB,IAAjDK,GAAIO,KAAaC,EAAnBV,EAAAQ,EAAA,CAAA,OACAG,EAAoDrB,GAAwB,IAA1EY,GAAIU,KAAsBC,EAA5Bb,EAAAW,EAAA,CAAA,OACAG,EAAQC,IACRC,EAA6BzB,GAA4B0B,GAEzDC,aAAEA,EAAYC,WAAEA,GAAeC,EAAqB,KAE1D,OACEC,EAACC,EAAeC,OAAAC,OAAA,CACdC,IAAKX,EAAMY,UACXC,OAAO,SACPC,WAAY,CACV1B,GAAI,CACF2B,oBAAqB,OACrBC,qBAAsB,OACtBhC,UAAW,GAAGA,OAGlBb,KAAMA,EACN8C,QAAS,IAAM7C,GAAQ,GACvB8C,OAAQ,IAAM9C,GAAQ,GACtB+C,oBACA,EAAAC,WAAY,CACVC,aAAa,GACd,cACW,cACZpD,IAAKA,GACDgB,EAAI,CAAAf,SAAA,EAENS,GAASL,GAAeD,IACxBkC,EAACe,EAAIb,OAAAC,OAAA,CAAAtB,kBAAMmC,GAAI,GAAMlC,iBAAwB,sBAAyBC,EAAU,CAAApB,SAAA,CAC7EG,GACCmD,EAACF,EAAG,CACFlC,GAAI,CACFqC,SAAU,WACVC,QAAS,OACTC,cAAe,MACfC,eAAgB,SAChBC,WAAY,UACb3D,SAEDsD,EAACF,EAAG,CAAA,cACU,qBACZlC,GAAI,CACF0C,MAAO,OACPC,OAAQ,MACRC,gBAAiB,kBACjBC,GAAI,IACJC,GAAI,KACJC,aAAc,QAKpBxD,GAAUL,IAAgBD,IAC1BkC,EAACe,EAAG,CACFlC,GAAI,CACFsC,QAAS,OACTE,eAAgBjD,EAAQ,gBAAkB,WAC1CyD,IAAK,EACLC,GAAI,EACJC,GAAIjE,EAAS,EAAI,GAClBH,SAAA,CAEAS,GACC6C,EAACe,+BAAuB,oBAAoBC,QAAQ,MAAS5D,EAC1D,CAAAV,SAAAS,KAGJL,IAAgBD,GACfmD,EAACiB,EACahC,OAAAC,OAAA,CAAA,cAAA,0BACZgC,KAAK,SACLC,QAAS,IAAMvE,GAAQ,GAAM,aAClB,sBACPG,EAEJ,CAAAL,SAAAsD,EAACtB,EAA0BO,OAAAC,OAAA,CACzBkC,MAAM,SACNxD,kBAAMyD,SAAU,QAAW/C,IACvBC,cAQlByB,EAACF,EACab,OAAAC,OAAA,CAAA,cAAA,sBACZzC,IAAKoC,EACLjB,GACEqB,OAAAC,OAAA,CAAAoC,SAAU,OACVC,UAAW3C,EAAe,EAAI,EAC9B4C,YAAa,oBACbC,EAAG,GACAzD,IAEDC,EAAW,CAAAvB,SAEdA,KAEFQ,GACC8C,EAACF,EACab,OAAAC,OAAA,CAAA,cAAA,qBACZtB,GAAEqB,OAAAC,OAAA,CACAa,GAAI,EACJe,GAAI,EACJD,GAAI,EACJa,UAAWxE,EAAa,kCAAoC,QACzDiB,IAEDC,YAEHlB,QAGW"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonProps as MuiButtonProps } from '@mui/material
|
|
1
|
+
import { ButtonProps as MuiButtonProps } from '@mui/material';
|
|
2
2
|
import { IconNameProp } from '@/src/components/icon';
|
|
3
3
|
import { ColourSheme } from '@/src/utils/enum';
|
|
4
4
|
export interface ButtonProps extends Omit<MuiButtonProps, 'variant'> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as o}from"tslib";import{jsx as r}from"react/jsx-runtime";import{useMemo as n}from"react";import i
|
|
1
|
+
import{__rest as o}from"tslib";import{jsx as r}from"react/jsx-runtime";import{useMemo as n}from"react";import{Button as i}from"@mui/material";import{Icon as t}from"../icon/icon.js";import"../icon/icon.definitions.js";import{ColourSheme as a}from"../../utils/enum.js";var c;function e(e){var{children:s,label:m,colourScheme:l,icon:d,compact:I,direction:A,variant:u,color:O,startIcon:R,endIcon:T,sx:f,size:p}=e,N=o(e,["children","label","colourScheme","icon","compact","direction","variant","color","startIcon","endIcon","sx","size"]);const[Y,h]=n((()=>Object.values(c).includes(u)?[{[c.PRIMARY]:"contained",[c.SECONDARY]:"contained",[c.GHOST]:"outlined",[c.TERTIARY]:"text",[c.NAVIGATION]:"navigation"}[u],O||{[c.PRIMARY]:"primary",[c.SECONDARY]:"secondary",[c.GHOST]:"secondary",[c.TERTIARY]:"secondary",[c.NAVIGATION]:"secondary"}[u]]:[u,O]),[u,O]),j=n((()=>Object.assign(Object.assign({},l===a.LIGHT_MODE?{color:"common.white"}:{}),f)),[l,f]),v=n((()=>d?r(t,{name:d}):Y===c.NAVIGATION?r(t,"forward"===A?{name:"arrow-right"}:{name:"arrow-left"}):null),[d,Y,A]),y=n((()=>p||I?"small":"medium"),[p,I]);return r(i,Object.assign({variant:Y,color:h,sx:j,size:y,startIcon:R||"forward"!==A&&v,endIcon:T||"forward"===A&&v},N,{children:m||s}))}!function(o){o.PRIMARY="primary",o.SECONDARY="secondary",o.GHOST="ghost",o.TERTIARY="tertiary",o.NAVIGATION="navigation"}(c||(c={}));export{e as Button,c as ButtonVariants};
|
|
2
2
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../src/components/button/button.tsx"],"sourcesContent":[null],"names":["ButtonVariants","Button","_a","children","label","colourScheme","icon","compact","direction","variant","rawVariant","color","rawColor","startIcon","rawStartIcon","endIcon","rawEndIcon","sx","rawSx","size","rawSize","rest","__rest","useMemo","Object","values","includes","PRIMARY","SECONDARY","GHOST","TERTIARY","NAVIGATION","assign","ColourSheme","LIGHT_MODE","iconEl","_jsx","Icon","name","MuiButton"],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../src/components/button/button.tsx"],"sourcesContent":[null],"names":["ButtonVariants","Button","_a","children","label","colourScheme","icon","compact","direction","variant","rawVariant","color","rawColor","startIcon","rawStartIcon","endIcon","rawEndIcon","sx","rawSx","size","rawSize","rest","__rest","useMemo","Object","values","includes","PRIMARY","SECONDARY","GHOST","TERTIARY","NAVIGATION","assign","ColourSheme","LIGHT_MODE","iconEl","_jsx","Icon","name","MuiButton"],"mappings":"+QAmCYA,EAWN,SAAUC,EAAOC,GAAA,IAAAC,SACrBA,EAAQC,MACRA,EAAKC,aACLA,EAAYC,KACZA,EAAIC,QACJA,EAAOC,UACPA,EACAC,QAASC,EACTC,MAAOC,EACPC,UAAWC,EACXC,QAASC,EACTC,GAAIC,EACJC,KAAMC,GAAOlB,EACVmB,EAAIC,EAAApB,EAbc,sHAgBrB,MAAOO,EAASE,GAASY,GAA8D,IACjFC,OAAOC,OAAOzB,GAAgB0B,SAAShB,GAClC,CAEL,CACE,CAACV,EAAe2B,SAAU,YAC1B,CAAC3B,EAAe4B,WAAY,YAC5B,CAAC5B,EAAe6B,OAAQ,WACxB,CAAC7B,EAAe8B,UAAW,OAC3B,CAAC9B,EAAe+B,YAAa,cAC7BrB,GAEFE,GACE,CACE,CAACZ,EAAe2B,SAAU,UAC1B,CAAC3B,EAAe4B,WAAY,YAC5B,CAAC5B,EAAe6B,OAAQ,YACxB,CAAC7B,EAAe8B,UAAW,YAC3B,CAAC9B,EAAe+B,YAAa,aAC7BrB,IAGC,CAACA,EAAYE,IAErB,CAACF,EAAYE,IAEVK,EAAKM,GAAQ,IAEZC,OAAAQ,OAAAR,OAAAQ,OAAA,CAAA,EAAC3B,IAAiB4B,EAAYC,WAAa,CAAEvB,MAAO,gBAAmB,CAAE,GACzEO,IAEJ,CAACb,EAAca,IAEZiB,EAASZ,GAAQ,IACjBjB,EACK8B,EAACC,EAAI,CAACC,KAAMhC,IACVG,IAAYT,EAAe+B,WAE3BK,EAACC,EADQ,YAAd7B,EACU,CAAC8B,KAAK,eAEN,CAACA,KAAK,eAGb,MAER,CAAChC,EAAMG,EAASD,IAEbW,EAAOI,GAAQ,IACZH,GAAWb,EAAU,QAAU,UACrC,CAACa,EAASb,IAEb,OACE6B,EAACG,EAASf,OAAAQ,OAAA,CACRvB,QAASA,EACTE,MAAOA,EACPM,GAAIA,EACJE,KAAMA,EACNN,UAAWC,GAA+B,YAAdN,GAA2B2B,EACvDpB,QAASC,GAA6B,YAAdR,GAA2B2B,GAC/Cd,EAAI,CAAAlB,SAEPC,GAASD,IAGhB,EA3FA,SAAYH,GACVA,EAAA,QAAA,UACAA,EAAA,UAAA,YACAA,EAAA,MAAA,QACAA,EAAA,SAAA,WACAA,EAAA,WAAA,YACD,CAND,CAAYA,IAAAA,EAMX,CAAA"}
|
|
@@ -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" | "inset" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "dense" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap" | "disablePadding" | "subheader"> & import("@mui/system").MUIStyledCommonProps<
|
|
4
|
+
}, "autoFocus" | "children" | "sx" | "inset" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "dense" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap" | "disablePadding" | "subheader"> & import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
5
5
|
theme?: Theme;
|
|
6
6
|
allowMultiselect?: boolean;
|
|
7
7
|
}, {}, {}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{styled as t
|
|
1
|
+
import{styled as t,MenuList as i}from"@mui/material";const e=t(i,{shouldForwardProp:t=>"allowMultiselect"!==t})((({theme:t,allowMultiselect:i})=>{const e=i?{marginRight:"16px",marginRightCross:"3px",padding:"12px 12px 12px 24px"}:{marginRight:"0px",marginRightCross:"0px",padding:"12px 24px"};let o={};return o={boxShadow:"0px 3px 8px rgba(0, 0, 0, 0.15)",background:t.palette.common.white,padding:"0px",minWidth:"105px",maxWidth:"222px","& > .menu-item-divider":{margin:"0px !important"},"& > .menu-content-items":{maxHeight:"240px",overflowY:"overlay","& .MuiCheckbox-root":{marginRight:"4px"}},"& > .MuiMenuItem-root, > .menu-content-items > .MuiMenuItem-root":{color:t.palette.onSurface.os900,whiteSpace:"nowrap",padding:e.padding,"&.Mui-disabled":{color:t.palette.disabled.primary,opacity:1,"& .MuiIcon-root":{color:`${t.palette.disabled.primary}!important`}},"&:hover":{background:t.palette.surface.primary},"& > .MuiListItemText-root":{marginRight:e.marginRight},"& .MuiTypography-root":{fontSize:"16px",lineHeight:"24px",fontWeight:"400"},"& > .MuiListItemIcon-root":{display:"inline-block",lineHeight:"21px",minWidth:"unset",width:"20px",marginRight:"16px","& > .MuiIcon-root":{color:t.palette.text.primary,display:"inline"}},"&.menu-item-header":{padding:"12px 12px 12px 24px","& .MuiTypography-root":{fontWeight:"700",lineHeight:"20px"},"&:hover":{background:t.palette.background.primary,cursor:"default"},"& .MuiListItemIcon-root":{color:t.palette.onSurface.os900,marginRight:e.marginRightCross,cursor:"pointer"},"& > .MuiListItemText-root":{marginRight:"15px"}},"&.menu-select-all":{"&:hover":{background:t.palette.background.primary,cursor:"default"}}}},o}));export{e as MenuListStyled};
|
|
2
2
|
//# sourceMappingURL=menuListStyled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menuListStyled.js","sources":["../../../../src/components/cardMenu/styled/menuListStyled.tsx"],"sourcesContent":[null],"names":["MenuListStyled","styled","MenuList","shouldForwardProp","prop","theme","allowMultiselect","conditionalStyles","marginRight","marginRightCross","padding","style","boxShadow","background","palette","common","white","minWidth","maxWidth","margin","maxHeight","overflowY","color","onSurface","os900","whiteSpace","disabled","primary","opacity","surface","fontSize","lineHeight","fontWeight","display","width","text","cursor"],"mappings":"
|
|
1
|
+
{"version":3,"file":"menuListStyled.js","sources":["../../../../src/components/cardMenu/styled/menuListStyled.tsx"],"sourcesContent":[null],"names":["MenuListStyled","styled","MenuList","shouldForwardProp","prop","theme","allowMultiselect","conditionalStyles","marginRight","marginRightCross","padding","style","boxShadow","background","palette","common","white","minWidth","maxWidth","margin","maxHeight","overflowY","color","onSurface","os900","whiteSpace","disabled","primary","opacity","surface","fontSize","lineHeight","fontWeight","display","width","text","cursor"],"mappings":"qDAEa,MAAAA,EAAiBC,EAAOC,EAAU,CAC7CC,kBAAoBC,GAAkB,qBAATA,GADDH,EAEoB,EAAGI,QAAOC,uBAC1D,MAAMC,EAAoBD,EACtB,CAAEE,YAAa,OAAQC,iBAAkB,MAAOC,QAAS,uBACzD,CAAEF,YAAa,MAAOC,iBAAkB,MAAOC,QAAS,aAE5D,IAAIC,EAAQ,CAAE,EA8Ed,OA7EAA,EAAQ,CACNC,UAAW,kCACXC,WAAYR,EAAMS,QAAQC,OAAOC,MACjCN,QAAS,MACTO,SAAU,QACVC,SAAU,QACV,yBAA0B,CACxBC,OAAQ,kBAEV,0BAA2B,CACzBC,UAAW,QACXC,UAAW,UACX,sBAAuB,CACrBb,YAAa,QAGjB,mEAAoE,CAClEc,MAAOjB,EAAMS,QAAQS,UAAUC,MAC/BC,WAAY,SACZf,QAASH,EAAkBG,QAC3B,iBAAkB,CAChBY,MAAOjB,EAAMS,QAAQY,SAASC,QAC9BC,QAAS,EACT,kBAAmB,CACjBN,MAAO,GAAGjB,EAAMS,QAAQY,SAASC,sBAGrC,UAAW,CACTd,WAAYR,EAAMS,QAAQe,QAAQF,SAEpC,4BAA6B,CAC3BnB,YAAaD,EAAkBC,aAEjC,wBAAyB,CACvBsB,SAAU,OACVC,WAAY,OACZC,WAAY,OAEd,4BAA6B,CAC3BC,QAAS,eACTF,WAAY,OACZd,SAAU,QACViB,MAAO,OACP1B,YAAa,OACb,oBAAqB,CACnBc,MAAOjB,EAAMS,QAAQqB,KAAKR,QAC1BM,QAAS,WAGb,qBAAsB,CACpBvB,QAAS,sBACT,wBAAyB,CACvBsB,WAAY,MACZD,WAAY,QAEd,UAAW,CACTlB,WAAYR,EAAMS,QAAQD,WAAWc,QACrCS,OAAQ,WAEV,0BAA2B,CACzBd,MAAOjB,EAAMS,QAAQS,UAAUC,MAC/BhB,YAAaD,EAAkBE,iBAC/B2B,OAAQ,WAEV,4BAA6B,CAC3B5B,YAAa,SAGjB,oBAAqB,CACnB,UAAW,CACTK,WAAYR,EAAMS,QAAQD,WAAWc,QACrCS,OAAQ,cAMTzB,CAAK"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useState as e,useEffect as l,useLayoutEffect as n,useRef as t}from"react";import{useSwiper as
|
|
1
|
+
import{useState as e,useEffect as l,useLayoutEffect as n,useRef as t}from"react";import{useSwiper as u}from"swiper/react";function o(l){const[n,t]=e(null);return i(n,l),[n,t]}function r(e){const l=u();return i(l,e),l}function i(t,u){const[,o]=e({});l((()=>{t&&(null!=u?u:["slideChange","afterInit","reachBeginning","reachEnd","autoplayStart","autoplayStop"]).forEach((e=>{t.on(e,(()=>{o({})}))}))}),[t]),n((()=>{o({})}),[])}function s(n){const[u,o]=e(null),r=t(null),[i,s]=e(!1);return l((()=>{var e,l,t,s,d,a,c;return"reset"===u?(null===(e=null==n?void 0:n.el)||void 0===e||e.classList.remove("peek-prev"),null===(l=null==n?void 0:n.el)||void 0===l||l.classList.remove("peek-next"),r.current=setTimeout((()=>{o(null)}),+((null==n?void 0:n.el.getAttribute("data-peekspeed"))||150))):u?i||(null==n||n.slideReset(0),"prev"===u?(null==n||n.slidePrev(0),null==n||n.slideNext(0)):(null==n||n.slideNext(0),null==n||n.slidePrev(0)),null===(t=null==n?void 0:n.el)||void 0===t||t.classList.add("peeking"),null===(s=null==n?void 0:n.el)||void 0===s||s.classList.add(`peek-${u}`)):(null===(d=null==n?void 0:n.el)||void 0===d||d.classList.remove("peeking"),null===(a=null==n?void 0:n.el)||void 0===a||a.classList.remove("peek-prev"),null===(c=null==n?void 0:n.el)||void 0===c||c.classList.remove("peek-next")),()=>{r.current&&clearTimeout(r.current)}}),[u]),l((()=>{null==n||n.on("touchStart",(()=>{o("reset"),s(!0)})),null==n||n.on("touchEnd",(()=>{o("reset"),s(!1)}))}),[!!n]),[u,o]}export{r as useCarousel,o as useCarouselInstance,s as useCarouselPeekEffect};
|
|
2
2
|
//# sourceMappingURL=hooks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sources":["../../../src/components/carousel/hooks.ts"],"sourcesContent":[null],"names":["useCarouselInstance","events","carousel","setCarousel","useState","useRefreshInstance","useCarousel","useSwiper","setRerender","useEffect","
|
|
1
|
+
{"version":3,"file":"hooks.js","sources":["../../../src/components/carousel/hooks.ts"],"sourcesContent":[null],"names":["useCarouselInstance","events","carousel","setCarousel","useState","useRefreshInstance","useCarousel","useSwiper","setRerender","useEffect","forEach","evt","on","useLayoutEffect","useCarouselPeekEffect","peek","setPeek","peekTimeout","useRef","disabled","setDisabled","_a","el","classList","remove","_b","current","setTimeout","getAttribute","slideReset","slidePrev","slideNext","_c","add","_d","_e","_f","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,EAAEX,UAAUU,IAAI,QAAQlB,OAGxB,QAAdoB,EAAAjC,aAAQ,EAARA,EAAUoB,UAAI,IAAAa,GAAAA,EAAAZ,UAAUC,OAAO,WACjB,QAAdY,EAAAlC,aAAQ,EAARA,EAAUoB,UAAI,IAAAc,GAAAA,EAAAb,UAAUC,OAAO,aACjB,QAAda,EAAAnC,aAAQ,EAARA,EAAUoB,UAAI,IAAAe,GAAAA,EAAAd,UAAUC,OAAO,cAG1B,KACDP,EAAYS,SACdY,aAAarB,EAAYS,SAE5B,GACA,CAACX,IAKJN,GAAU,KAERP,SAAAA,EAAUU,GAAG,cAAc,KACzBI,EAAQ,SACRI,GAAY,EAAK,IAEnBlB,SAAAA,EAAUU,GAAG,YAAY,KACvBI,EAAQ,SACRI,GAAY,EAAM,GAClB,GACD,GAAGlB,IAEC,CAACa,EAAMC,EAChB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as r}from"tslib";import{jsxs as o,Fragment as e,jsx as
|
|
1
|
+
import{__rest as r}from"tslib";import{jsxs as o,Fragment as e,jsx as s}from"react/jsx-runtime";import{useMemo as t}from"react";import{useCarousel as n,useCarouselPeekEffect as i}from"./hooks.js";import{useTheme as a}from"@mui/system";import{useMediaQuery as c,IconButton as l}from"@mui/material";import{ChevronLeftIcon as p}from"../icon/stroke/ChevronLeftIcon.js";import{ChevronRightIcon as m}from"../icon/stroke/ChevronRightIcon.js";import{ArrowLeftIcon as d}from"../icon/stroke/ArrowLeftIcon.js";import{ArrowRightIcon as u}from"../icon/stroke/ArrowRightIcon.js";import{getInteractiveStyle as b}from"../../materialui/button/interactive.js";function g({carousel:g,peekEffect:f=!1,prevButtonProps:j,prevIconProps:x,PrevIconComponent:O,nextButtonProps:k,nextIconProps:v,NextIconComponent:C,arrows:P=!0,onBackground:h=!1}){const I=n(),y=g||I,M="fade"!==(null==y?void 0:y.originalParams.effect)&&f,B=a(),E=c(B.breakpoints.up("md")),L=j||{},{sx:w}=L,N=r(L,["sx"]),A=k||{},{sx:R}=A,z=r(A,["sx"]),[S,q]=i(y),D=O||(P?d:p),F=C||(P?u:m),G=t((()=>Object.assign(Object.assign({position:"absolute",zIndex:"100",top:"50%",mt:"-22px"},b({color:"text.primary",borderColor:h?"transparent.transparent":"onSurface.os600",backgroundColor:h?"transparent.transparent":"surface.primary"},{backgroundColor:"surface.secondary"})),{"&.Mui-disabled":{color:"disabled.tertiary",borderColor:"disabled.primary",backgroundColor:h?"transparent.transparent":"disabled.secondary"}})),[]);return o(e,{children:[s(l,Object.assign({disabled:y&&!y.originalParams.loop&&y.isBeginning,onClick:()=>{null==y||y.slidePrev(),M&&S&&q("reset")},onMouseEnter:()=>E&&M&&q("prev"),onMouseLeave:()=>M&&S&&q("reset"),sx:Object.assign(Object.assign(Object.assign({},G),{left:"16px"}),w),"aria-label":"Previous slide","aria-controls":"carousel",color:"surface"},N,{children:"rtl"===B.direction?s(F,Object.assign({},x)):s(D,Object.assign({},x))})),s(l,Object.assign({disabled:y&&!y.originalParams.loop&&y.isEnd,onClick:()=>{null==y||y.slideNext(),M&&S&&q("reset")},onMouseEnter:()=>E&&M&&q("next"),onMouseLeave:()=>M&&S&&q("reset"),sx:Object.assign(Object.assign(Object.assign({},G),{right:"16px"}),R),"aria-label":"Next slide","aria-controls":"carousel",color:"surface"},z,{children:"rtl"===B.direction?s(D,Object.assign({},v)):s(F,Object.assign({},v))}))]})}export{g as CarouselNavigation};
|
|
2
2
|
//# sourceMappingURL=navigation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.js","sources":["../../../src/components/carousel/navigation.tsx"],"sourcesContent":[null],"names":["CarouselNavigation","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","
|
|
1
|
+
{"version":3,"file":"navigation.js","sources":["../../../src/components/carousel/navigation.tsx"],"sourcesContent":[null],"names":["CarouselNavigation","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","Object","assign","position","zIndex","top","mt","getInteractiveStyle","color","borderColor","backgroundColor","_jsxs","_jsx","IconButton","disabled","loop","isBeginning","onClick","slidePrev","onMouseEnter","onMouseLeave","left","children","direction","isEnd","slideNext","right"],"mappings":"ioBA4DgB,SAAAA,GACdC,SAAUC,EACVC,WAAYC,GAAiB,EAAKC,gBAClCA,EAAeC,cACfA,EAAaC,kBACbA,EAAiBC,gBACjBA,EAAeC,cACfA,EAAaC,kBACbA,EAAiBC,OACjBA,GAAS,EAAIC,aACbA,GAAe,IAEf,MAAMC,EAAeC,IACfb,EAAWC,GAAgBW,EAC3BV,EAAiD,UAApCF,aAAA,EAAAA,EAAUc,eAAeC,SAAqBZ,EAC3Da,EAAQC,IACRC,EAAOC,EAAcH,EAAMI,YAAYC,GAAG,OAC1CC,EAA8BlB,GAAmB,IAA/CmB,GAAIC,KAAWC,EAAjBC,EAAAJ,EAAA,CAAA,OACAK,EAA8BpB,GAAmB,IAA/CgB,GAAIK,KAAWC,EAAjBH,EAAAC,EAAA,CAAA,QACCG,EAAMC,GAAWC,EAAsBhC,GACxCiC,EAAW3B,IAAsBI,EAASwB,EAAgBC,GAC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,EAEH,CAAAiC,SAAoB,QAApB9C,EAAM+C,UAAsBX,EAACnB,EAAQQ,OAAAC,OAAA,CAAA,EAAKlC,IAAoB4C,EAAChB,mBAAa5B,SAIrF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ElementType } from 'react';
|
|
2
2
|
import { BoxProps, ButtonProps, SliderProps, LinearProgressProps } from '@mui/material';
|
|
3
3
|
import type { Swiper as CarouselInstance } from 'swiper';
|
|
4
|
-
export interface CarouselPaginationVariantProps extends Omit<BoxProps
|
|
4
|
+
export interface CarouselPaginationVariantProps extends Omit<BoxProps<ElementType>, 'children' | 'position'> {
|
|
5
5
|
/**
|
|
6
6
|
* Carousel instance from useCarousel hook
|
|
7
7
|
*/
|
|
@@ -36,12 +36,19 @@ export interface CarouselPaginationLinesProps extends CarouselPaginationVariantP
|
|
|
36
36
|
*/
|
|
37
37
|
lineProgressProps?: BoxProps<ElementType>;
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated use `slider` variant instead
|
|
41
|
+
*/
|
|
39
42
|
export interface CarouselPaginationProgressProps extends CarouselPaginationVariantProps {
|
|
40
43
|
variant?: 'progress';
|
|
41
44
|
/**
|
|
42
|
-
*
|
|
45
|
+
* @deprecated
|
|
43
46
|
*/
|
|
44
47
|
progressProps?: LinearProgressProps;
|
|
48
|
+
/**
|
|
49
|
+
* Properties applied to Slider
|
|
50
|
+
*/
|
|
51
|
+
sliderProps?: SliderProps;
|
|
45
52
|
}
|
|
46
53
|
export interface CarouselPaginationSliderProps extends CarouselPaginationVariantProps {
|
|
47
54
|
variant?: 'slider';
|
|
@@ -50,6 +57,13 @@ export interface CarouselPaginationSliderProps extends CarouselPaginationVariant
|
|
|
50
57
|
*/
|
|
51
58
|
sliderProps?: SliderProps;
|
|
52
59
|
}
|
|
60
|
+
export interface CarouselPaginationScrollbarProps extends CarouselPaginationVariantProps {
|
|
61
|
+
variant?: 'scrollbar';
|
|
62
|
+
/**
|
|
63
|
+
* Properties applied to Slider
|
|
64
|
+
*/
|
|
65
|
+
sliderProps?: SliderProps;
|
|
66
|
+
}
|
|
53
67
|
export interface CarouselPaginationBaseProps {
|
|
54
68
|
/**
|
|
55
69
|
* Optional Carousel instance from useCarouselInstance hook
|
|
@@ -61,7 +75,7 @@ export interface CarouselPaginationBaseProps {
|
|
|
61
75
|
*/
|
|
62
76
|
position?: 'outside' | 'inside';
|
|
63
77
|
}
|
|
64
|
-
export type CarouselPaginationProps = CarouselPaginationBaseProps & (Omit<CarouselPaginationDotsProps, 'carousel'> | Omit<CarouselPaginationFractionProps, 'carousel'> | Omit<CarouselPaginationLinesProps, 'carousel'> | Omit<CarouselPaginationProgressProps, 'carousel'> | Omit<CarouselPaginationSliderProps, 'carousel'>);
|
|
78
|
+
export type CarouselPaginationProps = CarouselPaginationBaseProps & (Omit<CarouselPaginationDotsProps, 'carousel'> | Omit<CarouselPaginationFractionProps, 'carousel'> | Omit<CarouselPaginationLinesProps, 'carousel'> | Omit<CarouselPaginationProgressProps, 'carousel'> | Omit<CarouselPaginationSliderProps, 'carousel'> | Omit<CarouselPaginationScrollbarProps, 'carousel'>);
|
|
65
79
|
/**
|
|
66
80
|
* Pagination controls
|
|
67
81
|
*/
|
|
@@ -78,11 +92,11 @@ export declare const FractionVariant: React.FC<CarouselPaginationFractionProps>;
|
|
|
78
92
|
* Lines variant (- - -)
|
|
79
93
|
*/
|
|
80
94
|
export declare const LinesVariant: React.FC<CarouselPaginationLinesProps>;
|
|
81
|
-
/**
|
|
82
|
-
* Progress variant (---)
|
|
83
|
-
*/
|
|
84
|
-
export declare const ProgressVariant: React.FC<CarouselPaginationProgressProps>;
|
|
85
95
|
/**
|
|
86
96
|
* Slider variant (___)
|
|
87
97
|
*/
|
|
88
98
|
export declare const SliderVariant: React.FC<CarouselPaginationSliderProps>;
|
|
99
|
+
/**
|
|
100
|
+
* Scrollbar variant (_--)
|
|
101
|
+
*/
|
|
102
|
+
export declare const ScrollbarVariant: React.FC<CarouselPaginationSliderProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as
|
|
1
|
+
import{__rest as o}from"tslib";import{jsx as r,jsxs as s}from"react/jsx-runtime";import{forwardRef as e,useMemo as i,useState as n,useRef as l,useEffect as t}from"react";import{Box as a,Button as c,Slider as d}from"@mui/material";import{useCarousel as u}from"./hooks.js";import{getInteractiveStyle as p}from"../../materialui/button/interactive.js";import{SliderContainer as g}from"../../materialui/slider/sliderContainer.js";const x=e(((s,e)=>{var{carousel:n,position:l,variant:t,sx:a}=s,c=o(s,["carousel","position","variant","sx"]);const d=u(),p=n||d,g=i((()=>{switch(t){case"scrollbar":return f;case"slider":case"progress":return b;case"fraction":return m;case"lines":return v;default:return h}}),[t]),x=i((()=>"inside"===l?Object.assign({position:"absolute",zIndex:"90",bottom:"0",left:"0",right:"0"},a):a),[l,JSON.stringify(a)]);return r(g,Object.assign({carousel:p,sx:x,ref:e},c))})),h=e(((s,e)=>{var{carousel:i,dotProps:n,sx:l}=s,t=o(s,["carousel","dotProps","sx"]);const c=n||{},{sx:d}=c,u=o(c,["sx"]);return r(a,Object.assign({sx:Object.assign({px:2,height:"40px",display:"flex",alignItems:"center",justifyContent:"center",gap:1,pointerEvents:"none"},l),ref:e},t,{children:[...Array((null==i?void 0:i.slides.length)||0)].map(((o,s)=>r(a,Object.assign({className:!(null==i?void 0:i.originalParams.loop)&&(null==i?void 0:i.isEnd)&&s===((null==i?void 0:i.slides.length)||0)-1?"active":(null==i?void 0:i.isEnd)&&!i.originalParams.loop||s!==(null==i?void 0:i.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"}},d)},u),s)))}))})),m=e(((e,i)=>{var{carousel:n,buttonProps:l,sx:t}=e,d=o(e,["carousel","buttonProps","sx"]);const u=l||{},{sx:g}=u,x=o(u,["sx"]);return r(a,Object.assign({sx:Object.assign({display:"flex",alignItems:"center",justifyContent:"center",p:2},t),ref:i},d,{children:r(c,Object.assign({variant:"text","aria-controls":"carousel",sx:Object.assign(Object.assign({px:2,py:.25,borderRadius:"4px",fontSize:"18px",lineHeight:"28px",letterSpacing:"0.02em"},p({backgroundColor:"transparent.backdrop"},{backgroundColor:"onSurface.os100"})),g),onClick:()=>(null==n?void 0:n.isEnd)&&!n.originalParams.loop?null==n?void 0:n.slideTo(0):null==n?void 0:n.slideNext()},x,{children:s(a,{component:"span",children:[r(a,{component:"span",sx:{fontWeight:"700",color:"onSurface.os900"},children:`${((null==n?void 0:n.realIndex)||0)+1}`}),r(a,{component:"span",sx:{color:"onSurface.os700",fontWeight:"400",mx:.5},children:" / "}),r(a,{component:"span",sx:{color:"onSurface.os700",fontWeight:"300"},children:`${(null==n?void 0:n.slides.length)||0}`})]})}))}))})),v=e(((e,i)=>{var{carousel:n,sx:l,linesProps:t,lineProgress:d,lineProgressProps:u}=e,g=o(e,["carousel","sx","linesProps","lineProgress","lineProgressProps"]);const x=t||{},{sx:h}=x,m=o(x,["sx"]),v=u||{},{sx:b}=v,f=o(v,["sx"]);return r(a,Object.assign({sx:Object.assign({display:"flex",alignItems:"center",justifyContent:{xs:"stretch",md:"center"},flexGrow:{xs:"1",md:0},gap:1,p:2},l),ref:i},g,{children:[...Array((null==n?void 0:n.slides.length)||0)].map(((o,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),l=e<=((null==n?void 0:n.realIndex)||0);return s(c,Object.assign({color:"inherit",className:i?"active":void 0,sx:Object.assign(Object.assign({p:0,minHeight:"0",height:i||l?"8px":"4px",borderRadius:i||l?"4px":"2px",width:{xs:"100%",md:"56px"},justifyContent:"flex-start"},p({backgroundColor:"surface.primary","& .progress-line":{backgroundColor:"brand.secondary"}},{backgroundColor:"surface.secondary","& .progress-line":{backgroundColor:"brandHover.secondary"}})),h),"aria-controls":"carousel",onClick:()=>null==n?void 0:n[n.originalParams.loop?"slideToLoop":"slideTo"](e)},m,{children:[r(a,{sx:{position:"absolute",top:"50%",left:"0",right:"0",height:"24px",transform:"translateY(-50%)",pointerEvents:"auto"}}),r(a,{sx:{borderRadius:"4px",height:"100%",width:"100%",overflow:"hidden"},children:r(a,Object.assign({className:"progress-line",role:i?"progress":void 0,"aria-valuenow":i?d:void 0,"aria-valuemin":0,"aria-valuemax":100,sx:Object.assign({opacity:void 0!==d||l?"1":"0",width:"100%",backgroundColor:"brand.secondary",height:"100%",transformOrigin:"left",transform:`scaleX(${void 0!==d&&i?d/100:l?1:0})`,transition:(void 0!==d?"transform 300ms ease-in-out, ":"")+"opacity 300ms ease-out, background-color 300ms ease-out"},b)},f))})]}),e)}))}))})),b=e(((s,e)=>{var i,{carousel:c,sliderProps:u,sx:p,progressProps:g}=s,x=o(s,["carousel","sliderProps","sx","progressProps"]);const h=u||{},{sx:m}=h,v=o(h,["sx"]),[b,f]=n(Math.round(100*((null==c?void 0:c.progress)||0))),j=l(!1),[,O]=n({});return t((()=>{j.current||f(Math.round(100*((null==c?void 0:c.progress)||0)))}),[null==c?void 0:c.progress]),t((()=>{if(c){const o=()=>{j.current||O({})};return c.on("sliderMove",o),()=>{c.off("sliderMove",o)}}}),[c]),r(a,Object.assign({sx:Object.assign({my:2},p),ref:e},x,{children:r(d,Object.assign({value:b,min:0,max:100,onChange:(o,r)=>{j.current=!0,null==c||c.setProgress(r/100,150),f(r)},onChangeCommitted:()=>{null==c||c.slideToClosest(300),j.current=!1},sx:Object.assign({display:"block",height:"4px",".MuiSlider-rail":{color:"surface.primary"},".MuiSlider-track":{color:"onSurface.os500",transitionDuration:`${null!==(i=null==c?void 0:c.originalParams.speed)&&void 0!==i?i:300}ms`},".MuiSlider-thumb":{display:"none"}},m),"aria-controls":"carousel"},v))}))})),f=e(((s,e)=>{var l,a,{carousel:c,sliderProps:d}=s,u=o(s,["carousel","sliderProps"]);const p=d||{},{sx:x}=p,h=o(p,["sx"]),[m,v]=n(!1),[,f]=n({});t((()=>{if(c){const o=()=>v(!0),r=()=>v(!1),s=()=>f({});return c.on("touchStart",o),c.on("touchEnd",r),c.on("resize",s),()=>{c.off("touchStart",o),c.off("touchEnd",r),c.off("resize",s)}}}),[c]);const j=i((()=>{var o,r;if((null===(o=null==c?void 0:c.wrapperEl)||void 0===o?void 0:o.scrollWidth)&&(null==c?void 0:c.width)){const o=Math.ceil((null==c?void 0:c.width)**2/(null===(r=null==c?void 0:c.wrapperEl)||void 0===r?void 0:r.scrollWidth));return Math.max(o,40)}return 40}),[null===(l=null==c?void 0:c.wrapperEl)||void 0===l?void 0:l.scrollWidth,null==c?void 0:c.width]);return r(b,Object.assign({ref:e,carousel:c,component:g,thumbSize:j,sliderProps:Object.assign({tabIndex:-1,valueLabelDisplay:"off",sx:Object.assign({display:"block",height:"4px",".MuiSlider-rail, .MuiSlider-track":{color:"surface.primary"},".MuiSlider-thumb":Object.assign(Object.assign({display:"flex",width:`${j}px`,height:"4px",border:"none",backgroundColor:"onSurface.os500"},!m&&{transition:`left ${null!==(a=null==c?void 0:c.originalParams.speed)&&void 0!==a?a:300}ms ease-out`}),{"&.Mui-focusVisible":{boxShadow:"none","&:before":{content:"none"}}})},x)},h)},u))}));export{x as CarouselPagination,h as DotsVariant,m as FractionVariant,v as LinesVariant,f as ScrollbarVariant,b as SliderVariant};
|
|
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","
|
|
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","ScrollbarVariant","SliderVariant","FractionVariant","LinesVariant","DotsVariant","Object","assign","zIndex","bottom","left","right","JSON","stringify","_jsx","dotProps","_b","dotSx","restDot","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","py","fontSize","lineHeight","letterSpacing","getInteractiveStyle","onClick","slideTo","slideNext","_jsxs","component","fontWeight","color","mx","linesProps","lineProgress","lineProgressProps","lineSx","lineRest","_c","lineProgressSx","lineProgressRest","xs","md","flexGrow","active","seen","minHeight","top","transform","overflow","role","opacity","transformOrigin","sliderProps","progressProps","__","sliderSx","restSlider","value","setValue","useState","Math","round","progress","dragging","useRef","setRerender","useEffect","current","handleMove","on","off","my","Slider","min","max","onChange","newValue","setProgress","onChangeCommitted","slideToClosest","transitionDuration","speed","_d","carouselDragging","setCarouselDragging","handleDragStart","handleDragEnd","handleResize","thumbSize","wrapperEl","scrollWidth","size","ceil","SliderContainer","tabIndex","valueLabelDisplay","border","boxShadow","content"],"mappings":"yaA8Fa,MAAAA,EAAwDC,GACnE,CAACC,EAAmEC,KAAnE,IAAEC,SAAUC,EAAYC,SAAEA,EAAQC,QAAEA,EAASC,GAAIC,GAAgBP,EAANQ,EAAIC,EAAAT,EAA/D,wCACC,MAAMU,EAAeC,IACfT,EAAWC,GAAgBO,EAE3BE,EAAmBC,GAAQ,KAC/B,OAAQR,GACN,IAAK,YACH,OAAOS,EACT,IAAK,SACL,IAAK,WACH,OAAOC,EACT,IAAK,WACH,OAAOC,EACT,IAAK,QACH,OAAOC,EAGT,QACE,OAAOC,KAEV,CAACb,IAEEC,EAAKO,GAAoC,IAC5B,WAAbT,EAEAe,OAAAC,OAAA,CAAAhB,SAAU,WACViB,OAAQ,KACRC,OAAQ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EAAS+G,IAAI,SAAUiB,EAAa,KAGvC,CAAChI,IAEJ,MAAMiI,EAAYtH,GAAgB,aAChC,IAAuB,UAAnBX,aAAA,EAAAA,EAAUkI,iBAAS,IAAApI,OAAA,EAAAA,EAAEqI,eAAenI,aAAQ,EAARA,EAAUoD,OAAO,CACvD,MAAMgF,EAAO/B,KAAKgC,MAAKrI,aAAA,EAAAA,EAAUoD,QAAS,GAAuB,QAAnBzB,EAAA3B,aAAQ,EAARA,EAAUkI,iBAAS,IAAAvG,OAAA,EAAAA,EAAEwG,cACnE,OAAO9B,KAAKc,IAAIiB,EAAM,IAExB,OAAO,EAAE,GACR,CAAoB,QAAnBzG,EAAA3B,aAAQ,EAARA,EAAUkI,iBAAS,IAAAvG,OAAA,EAAAA,EAAEwG,YAAanI,aAAQ,EAARA,EAAUoD,QAEhD,OACE3B,EAACZ,EAAaI,OAAAC,OAAA,CACZnB,IAAKA,EACLC,SAAUA,EACVqE,UAAWiE,EACXL,UAAWA,EACXpC,YAAW5E,OAAAC,OAAA,CAETqH,UAAY,EAEZC,kBAAmB,MACnBpI,GAAEa,OAAAC,OAAA,CACAe,QAAS,QACTD,OAAQ,MAER,oCAAqC,CACnCuC,MAAO,mBAET,mBACEtD,OAAAC,OAAAD,OAAAC,OAAA,CAAAe,QAAS,OACTmB,MAAO,GAAG6E,MACVjG,OAAQ,MACRyG,OAAQ,OACRnF,gBAAiB,oBAEZsE,GAAoB,CACvBrE,WAAY,QAAsC,QAA9BuB,EAAA9E,aAAQ,EAARA,EAAU8C,eAAe4E,aAAK,IAAA5C,EAAAA,EAAI,mBACtD,CAEF,qBAAsB,CACpB4D,UAAW,OACX,WAAY,CACVC,QAAS,YAIZ3C,IAEFC,IAED3F,GACJ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as r}from"tslib";import{jsx as e}from"react/jsx-runtime";import{forwardRef as o,useState as t}from"react";import i
|
|
1
|
+
import{__rest as r}from"tslib";import{jsx as e}from"react/jsx-runtime";import{forwardRef as o,useState as t}from"react";import{styled as i,Checkbox as a,FormGroup as n}from"@mui/material";import d from"../common/styled/formControlLabelStyled.js";const l=o(((o,i)=>{var{error:l}=o,m=r(o,["error"]);const{label:s,defaultChecked:f,indeterminate:h,onChange:p,disabled:b}=m,[u,g]=t(f||!1),y=e(c,{children:e(a,Object.assign({},m,{defaultChecked:f,indeterminate:h&&u,disabled:b,color:l?"error":void 0,ref:i,onChange:r=>{g(r.target.checked),"function"==typeof p&&p(r,r.target.checked)}}))});return e(n,{children:e(d,{control:y,label:s,disabled:b,error:l})})})),c=i("div",{shouldForwardProp:r=>"error"!==r&&"disabled"!==r})((()=>{let r={};return r={display:"flex","& + .MuiTypography-root":{"& a":{color:"inherit",textDecoration:"underline",fontWeight:"700"},"& *":{margin:0}}},r}));export{l as Checkbox};
|
|
2
2
|
//# sourceMappingURL=checkbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.js","sources":["../../../src/components/checkbox/checkbox.tsx"],"sourcesContent":[null],"names":["Checkbox","forwardRef","_a","ref","error","props","__rest","label","defaultChecked","indeterminate","onChange","disabled","_checkState","setCheck","useState","_checkbox","_jsx","CheckboxStyled","children","MuiCheckbox","Object","assign","color","undefined","e","target","checked","FormGroup","FormControlLabelStyled","control","styled","shouldForwardProp","prop","styles","display","textDecoration","fontWeight","margin"],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkbox.js","sources":["../../../src/components/checkbox/checkbox.tsx"],"sourcesContent":[null],"names":["Checkbox","forwardRef","_a","ref","error","props","__rest","label","defaultChecked","indeterminate","onChange","disabled","_checkState","setCheck","useState","_checkbox","_jsx","CheckboxStyled","children","MuiCheckbox","Object","assign","color","undefined","e","target","checked","FormGroup","FormControlLabelStyled","control","styled","shouldForwardProp","prop","styles","display","textDecoration","fontWeight","margin"],"mappings":"sPAmEa,MAAAA,EAAWC,GAA6C,CAACC,EAAqBC,KAArB,IAAAC,MAAEA,GAAiBF,EAAPG,EAAKC,EAAAJ,EAAjB,WACpE,MAAMK,MAAEA,EAAKC,eAAEA,EAAcC,cAAEA,EAAaC,SAAEA,EAAQC,SAAEA,GAAaN,GAC9DO,EAAaC,GAAYC,EAASN,IAAkB,GAOrDO,EACJC,EAACC,EACC,CAAAC,SAAAF,EAACG,EACKC,OAAAC,OAAA,CAAA,EAAAhB,GACJG,eAAgBA,EAChBC,cAAeA,GAAiBG,EAChCD,SAAUA,EACVW,MAAOlB,EAAQ,aAAUmB,EACzBpB,IAAKA,EACLO,SAdqBc,IACzBX,EAASW,EAAEC,OAAOC,SACE,mBAAbhB,GAA2BA,EAASc,EAAGA,EAAEC,OAAOC,QAAQ,OAiBjE,OACEV,EAACW,EACC,CAAAT,SAAAF,EAACY,EAAuB,CAAAC,QAASd,EAAWR,MAAOA,EAAOI,SAAUA,EAAUP,MAAOA,KAC3E,IAQVa,EAAiBa,EAAO,MAAO,CACnCC,kBAAoBC,GAAkB,UAATA,GAA6B,aAATA,GAD5BF,EAEkC,KACvD,IAAIG,EAAS,CAAE,EAcf,OAbAA,EAAS,CACPC,QAAS,OACT,0BAA2B,CACzB,MAAO,CACLZ,MAAO,UACPa,eAAgB,YAChBC,WAAY,OAEd,MAAO,CACLC,OAAQ,KAIPJ,CAAM"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as i}from"tslib";import{jsxs as r,Fragment as o,jsx as n}from"react/jsx-runtime";import{forwardRef as e,useState as a,useCallback as
|
|
1
|
+
import{__rest as i}from"tslib";import{jsxs as r,Fragment as o,jsx as n}from"react/jsx-runtime";import{forwardRef as e,useState as a,useCallback as s,useMemo as t}from"react";import{ClickAwayListener as l,styled as m,Chip as c}from"@mui/material";import d from"../chipFocusVisibleStyled.js";import p from"../../common/menuContainer.js";import{Icon as f}from"../../icon/icon.js";import"../../icon/icon.definitions.js";const h=e(((e,m)=>{var{variant:c}=e,h=i(e,["variant"]);const[b,v]=a(!1),[w,O]=a(!1),g=s((()=>{O(!1)}),[]),j=t((()=>r(o,{children:[h.label,n(f,{name:"chevron-down",className:w?"isOpen":"",fontSize:"small"})]})),[w,h.label]),x=s((()=>{v(!0)}),[]),C=s((i=>{v(!1),h.onBlur&&h.onBlur(i)}),[h]);return n(l,{onClickAway:g,children:r("span",{children:[n("div",{children:n(d,{focusVisible:b,variant:c,children:n(u,{className:"shadow"===c&&"MuiChip-shadow",ref:m,variant:"filled",icon:h.icon?n(f,{className:h.icon}):void 0,disabled:h.disabled,label:j,onClick:()=>O(!w),onFocusVisible:x,onBlur:C,isOpen:w})})}),n(p,{isOpen:w,marginTop:14,isEmptyMenu:!0,children:h.children})]})})})),u=m(c,{shouldForwardProp:i=>"isOpen"!==i})((()=>({"& .chevron-down":{marginLeft:"8px",transform:"rotate(0deg)",top:"4px",transition:"transform 0.6s","&.isOpen":{transform:"rotate(180deg) translateY(2px)",transformOrigin:"50%"}}})));export{h as ChipDropdownChildren};
|
|
2
2
|
//# sourceMappingURL=chipDropdownChildren.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chipDropdownChildren.js","sources":["../../../../src/components/chip/chipDropdownChildren/chipDropdownChildren.tsx"],"sourcesContent":[null],"names":["ChipDropdownChildren","forwardRef","_a","ref","variant","props","__rest","focusVisibled","setFocusVisible","useState","isOpen","setIsOpen","handleClickAway","useCallback","renderLabel","useMemo","_jsxs","_Fragment","children","label","_jsx","Icon","name","className","fontSize","onFocusVisibleHandler","onBlur","e","ClickAwayListener","onClickAway","ChipFocusVisibleStyled","focusVisible","ChipDropdownChildrenStyled","icon","undefined","disabled","onClick","onFocusVisible","MenuContainer","marginTop","isEmptyMenu","styled","MuiChip","shouldForwardProp","prop","marginLeft","transform","top","transition","transformOrigin"],"mappings":"
|
|
1
|
+
{"version":3,"file":"chipDropdownChildren.js","sources":["../../../../src/components/chip/chipDropdownChildren/chipDropdownChildren.tsx"],"sourcesContent":[null],"names":["ChipDropdownChildren","forwardRef","_a","ref","variant","props","__rest","focusVisibled","setFocusVisible","useState","isOpen","setIsOpen","handleClickAway","useCallback","renderLabel","useMemo","_jsxs","_Fragment","children","label","_jsx","Icon","name","className","fontSize","onFocusVisibleHandler","onBlur","e","ClickAwayListener","onClickAway","ChipFocusVisibleStyled","focusVisible","ChipDropdownChildrenStyled","icon","undefined","disabled","onClick","onFocusVisible","MenuContainer","marginTop","isEmptyMenu","styled","MuiChip","shouldForwardProp","prop","marginLeft","transform","top","transition","transformOrigin"],"mappings":"gaAoCa,MAAAA,EAAuBC,GAClC,CAACC,EAAuBC,KAAvB,IAAAC,QAAEA,GAAmBF,EAAPG,EAAKC,EAAAJ,EAAnB,aACC,MAAOK,EAAeC,GAAmBC,GAAS,IAC3CC,EAAQC,GAAaF,GAAS,GAE/BG,EAAkBC,GAAY,KAClCF,GAAU,EAAM,GACf,IAEGG,EAAcC,GAAQ,IAExBC,EAAAC,EAAA,CAAAC,SAAA,CACGb,EAAMc,MACPC,EAACC,EAAK,CAAAC,KAAK,eAAeC,UAAWb,EAAS,SAAW,GAAIc,SAAS,cAGzE,CAACd,EAAQL,EAAMc,QAEZM,EAAwBZ,GAAY,KACxCL,GAAgB,EAAK,GACpB,IAEGkB,EAASb,GACZc,IACCnB,GAAgB,GACZH,EAAMqB,QAAQrB,EAAMqB,OAAOC,EAAE,GAEnC,CAACtB,IAGH,OACEe,EAACQ,EAAkB,CAAAC,YAAajB,EAC9BM,SAAAF,EAAA,OAAA,CAAAE,SAAA,CACEE,EACE,MAAA,CAAAF,SAAAE,EAACU,EAAsB,CAACC,aAAcxB,EAAeH,QAASA,EAC5Dc,SAAAE,EAACY,EAA0B,CACzBT,UAAuB,WAAZnB,GAAwB,iBACnCD,IAAKA,EACLC,QAAS,SACT6B,KAAM5B,EAAM4B,KAAOb,EAACC,EAAI,CAACE,UAAWlB,EAAM4B,YAAWC,EACrDC,SAAU9B,EAAM8B,SAChBhB,MAAOL,EACPsB,QAAS,IAAMzB,GAAWD,GAC1B2B,eAAgBZ,EAChBC,OAAQA,EACRhB,OAAQA,QAIdU,EAACkB,EAAc,CAAA5B,OAAQA,EAAQ6B,UAAW,GAAIC,aAC3C,EAAAtB,SAAAb,EAAMa,eAGO,IAQpBc,EAA6BS,EAAOC,EAAS,CACjDC,kBAAoBC,GAAkB,WAATA,GADIH,EAEuD,KAAO,CAC/F,kBAAmB,CACjBI,WAAY,MACZC,UAAW,eACXC,IAAK,MACLC,WAAY,iBACZ,WAAY,CACVF,UAAW,iCACXG,gBAAiB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e}from"tslib";import{jsxs as i,jsx as r}from"react/jsx-runtime";import{forwardRef as a,useState as t,useRef as o,useCallback as n}from"react";import l
|
|
1
|
+
import{__rest as e}from"tslib";import{jsxs as i,jsx as r}from"react/jsx-runtime";import{forwardRef as a,useState as t,useRef as o,useCallback as n}from"react";import{styled as l,Chip as c}from"@mui/material";import p from"../chipFocusVisibleStyled.js";const d=a(((l,c)=>{const{onBlur:d,children:m,label:h,disabled:u,variant:f="image",imageUrl:g,imageAlt:b,isChecked:x,onChange:y,name:v,id:C=`chip-image-${Date.now()}`}=l,[k,w]=t(!1),j=o(),S=e=>{y&&y(e,!x)},M=n((e=>{w(!1),d&&d(e)}),[d]),B=n((()=>{j&&j.current.click()}),[]),F=n((()=>{w(!0)}),[]),V=a(((a,t)=>{var{onChange:o}=a,n=e(a,["onChange"]);return i("div",Object.assign({},n,{ref:t,children:[r("input",{ref:j,onChange:S,type:"checkbox",id:C,name:v,value:C,checked:x,readOnly:!0}),r("img",{src:g,alt:b}),r("div",{children:r("span",{children:m||h})})]}))}));return r(p,{focusVisible:k,variant:f,children:r(s,{ref:c,component:V,label:h,disabled:u,onClick:B,className:x?"Mui-checked":"",onFocusVisible:F,onBlur:M,variant:"filled",color:x?"primary":"default"})})})),s=l(c)((({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"}}})));export{d as ChipImage};
|
|
2
2
|
//# sourceMappingURL=chipImage.js.map
|