@skodaflow/web-library 7.11.1 → 7.12.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/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/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/navigation.js +1 -1
- package/cjs/components/carousel/navigation.js.map +1 -1
- 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/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/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.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.js +1 -1
- package/cjs/components/modal/modal.js.map +1 -1
- package/cjs/components/modal/modalTitle.js +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.map +1 -0
- package/cjs/components/{media/video → video}/index.d.ts +0 -1
- package/cjs/index.js +1 -1
- package/cjs/layout/Header/HeaderLanguageSelect.js +1 -1
- package/cjs/layout/Header/HeaderNavigationMenu.js +1 -1
- package/cjs/layout/container/container.js +1 -1
- package/cjs/layout/container/container.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/dialog/dialogTitle.theme.js +1 -1
- package/cjs/materialui/fab/fab.theme.js +1 -1
- package/cjs/materialui/fab/fab.theme.js.map +1 -1
- package/cjs/materialui/iconButton/iconButton.theme.js +1 -1
- package/cjs/materialui/iconButton/iconButton.theme.js.map +1 -1
- package/cjs/materialui/index.d.ts +1 -0
- package/cjs/materialui/list/listItemButton.theme.js +1 -1
- package/cjs/materialui/list/listItemButton.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/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 +3 -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/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.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/theme.breakpoints.js.map +1 -1
- package/cjs/materialui/theme/theme.d.ts +1 -2
- package/cjs/materialui/theme/theme.extensions.d.ts +18 -0
- 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/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/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/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/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/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/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/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/navigation.js +1 -1
- package/components/carousel/navigation.js.map +1 -1
- 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/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/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.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.js +1 -1
- package/components/modal/modal.js.map +1 -1
- package/components/modal/modalTitle.js +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.map +1 -0
- package/components/{media/video → video}/index.d.ts +0 -1
- package/index.js +1 -1
- package/layout/Header/HeaderLanguageSelect.js +1 -1
- package/layout/Header/HeaderNavigationMenu.js +1 -1
- package/layout/container/container.js +1 -1
- package/layout/container/container.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/dialog/dialogTitle.theme.js +1 -1
- package/materialui/fab/fab.theme.js +1 -1
- package/materialui/fab/fab.theme.js.map +1 -1
- package/materialui/iconButton/iconButton.theme.js +1 -1
- package/materialui/iconButton/iconButton.theme.js.map +1 -1
- package/materialui/index.d.ts +1 -0
- package/materialui/list/listItemButton.theme.js +1 -1
- package/materialui/list/listItemButton.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/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 +3 -0
- package/materialui/table/stories/interactive.d.ts +1 -0
- package/materialui/table/stories/pagination.d.ts +3 -1
- 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.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/theme.breakpoints.js.map +1 -1
- package/materialui/theme/theme.d.ts +1 -2
- package/materialui/theme/theme.extensions.d.ts +18 -0
- 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/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/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/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/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.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/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.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/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/cjs/components/{media/video → video}/hooks.js +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
- /package/components/{media/video → video}/hooks.js +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { TextFieldProps as MuiTextFieldProps } from '@mui/material
|
|
1
|
+
import { TextFieldProps as MuiTextFieldProps } from '@mui/material';
|
|
2
2
|
/**
|
|
3
3
|
* @description TextInput styling definition based on props
|
|
4
4
|
*/
|
|
5
5
|
declare const TextFieldStyled: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
variant?: import("@mui/material
|
|
7
|
-
} & Omit<import("@mui/material
|
|
6
|
+
variant?: import("@mui/material").TextFieldVariants;
|
|
7
|
+
} & Omit<import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "variant"> & (import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & (MuiTextFieldProps & {
|
|
8
8
|
isSelect?: boolean;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
hasError?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("@mui/material
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("@mui/material");const r=t.styled(t.TextField,{shouldForwardProp:e=>"helpText"!==e&&"maxChars"!==e&&"hideBg"!==e&&"hasError"!==e&&"hovered"!==e&&"textAreaHeight"!==e})((t=>{var{theme:r}=t,o=e.__rest(t,["theme"]);let i={};return i={},o.focused&&(i=Object.assign({},i)),o.error&&(i=Object.assign({},i)),o.icon&&(i=Object.assign({},i)),o.icon&&!o.placeholder&&(i=Object.assign(Object.assign({},i),{"& .MuiInput-underline":Object.assign(Object.assign({},i["& .MuiInput-underline"]),{"&:after":{bottom:"0px"},"&.Mui-error":{"&:after":{borderBottomColor:r.palette.alert.main}}}),"& .MuiInput-root":Object.assign(Object.assign({},i["& .MuiInput-root"]),{marginTop:0,height:"inherit",transform:"translateY(0px)","& input":{marginTop:"20px"},"& .MuiIcon-root":{top:"0px !important"},"&:before":{bottom:"0px"}})})),o.icon&&o.placeholder&&(i=Object.assign(Object.assign({},i),{"& .MuiInput-root":Object.assign(Object.assign({},i["& .MuiInput-root"]),{"& .MuiIcon-root":{top:"-4px !important","&.Mui-error":{"&:after":{borderBottomColor:r.palette.alert.main}}}})})),o.disabled&&(i=Object.assign({},i)),i}));exports.default=r;
|
|
2
2
|
//# sourceMappingURL=textFieldStyled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textFieldStyled.js","sources":["../../../../../../src/components/common/styled/textFieldStyled.tsx"],"sourcesContent":[null],"names":["TextFieldStyled","styled","MuiTextField","shouldForwardProp","prop","_a","theme","props","__rest","styles","focused","Object","assign","error","icon","placeholder","bottom","borderBottomColor","palette","alert","marginTop","height","transform","top","disabled"],"mappings":"
|
|
1
|
+
{"version":3,"file":"textFieldStyled.js","sources":["../../../../../../src/components/common/styled/textFieldStyled.tsx"],"sourcesContent":[null],"names":["TextFieldStyled","styled","MuiTextField","shouldForwardProp","prop","_a","theme","props","__rest","styles","focused","Object","assign","error","icon","placeholder","bottom","borderBottomColor","palette","alert","marginTop","height","transform","top","disabled"],"mappings":"sHAKA,MAAMA,EAAkBC,EAAMA,OAACC,YAAc,CAC3CC,kBAAoBC,GACT,aAATA,GACS,aAATA,GACS,WAATA,GACS,aAATA,GACS,YAATA,GACS,mBAATA,GAPoBH,EAkBrBI,IAAA,IAAAC,MAAEA,GAAiBD,EAAPE,EAAKC,EAAAA,OAAAH,EAAjB,WACD,IAAII,EAAS,CAAE,EA4Ef,OA3EAA,EAAS,CAIR,EAEGF,EAAMG,UACRD,EAAME,OAAAC,OAAA,CAAA,EACDH,IAIHF,EAAMM,QACRJ,EAAME,OAAAC,OAAA,CAAA,EACDH,IAGHF,EAAMO,OACRL,EAAME,OAAAC,OAAA,CAAA,EACDH,IAGHF,EAAMO,OAASP,EAAMQ,cACvBN,EAAME,OAAAC,OAAAD,OAAAC,OAAA,GACDH,GAAM,CACT,wBAAuBE,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAClBH,EAAO,0BACV,CAAA,UAAW,CACTO,OAAQ,OAEV,cAAe,CACb,UAAW,CACTC,kBAAmBX,EAAMY,QAAQC,MAAY,SAInD,kDACKV,EAAO,qBAAmB,CAC7BW,UAAW,EACXC,OAAQ,UACRC,UAAW,kBACX,UAAW,CACTF,UAAW,QAEb,kBAAmB,CACjBG,IAAK,kBAEP,WAAY,CACVP,OAAQ,YAKZT,EAAMO,MAAQP,EAAMQ,cACtBN,EAAME,OAAAC,OAAAD,OAAAC,OAAA,GACDH,GAAM,CACT,mBAAkBE,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACbH,EAAO,qBACV,CAAA,kBAAmB,CACjBc,IAAK,kBACL,cAAe,CACb,UAAW,CACTN,kBAAmBX,EAAMY,QAAQC,MAAY,aAQrDZ,EAAMiB,WACRf,EAAME,OAAAC,OAAA,CAAA,EACDH,IAGAA,CAAM"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var t=require("tslib"),e=require("react/jsx-runtime"),r=require("react"),o=require("@mui/material
|
|
1
|
+
"use strict";var t=require("tslib"),e=require("react/jsx-runtime"),r=require("react"),o=require("@mui/material"),i=require("../icon/icon.js");require("../icon/icon.definitions.js");var n=require("../../utils/utilities.js");const a=r.forwardRef(((o,n)=>{var a=t.__rest(o,[]);const s=r.useRef(null),c=r.useCallback((t=>{a.onClickCallback&&!a.isDisabled&&a.onClickCallback(t)}),[a]);return r.useEffect((()=>{s.current.addEventListener("mousedown",(t=>{t.preventDefault()}))}),[s]),e.jsx(l,Object.assign({},a,{ref:n,onClick:()=>c(a.controlType),children:e.jsx("button",{ref:s,children:e.jsx(i.Icon,{fontSize:a.iconFontSize,name:a.controlType,iconStyle:a.iconStyle})})}))})),l=o.styled("div",{shouldForwardProp:t=>"controlType"!==t&&"controllerColor"!==t&&"iconStyle"!==t&&"iconFontSize"!==t&&"controlVariant"!==t&&"onClickCallback"!==t&&"isDisabled"!==t&&"customHeight"!==t})((e=>{var{theme:r}=e,o=t.__rest(e,["theme"]);const i=n.ternaryCondition(o.controllerColor,"light",r.palette.surface.tertiary,r.palette.text.primary);let a={};const l=Object.assign(Object.assign({},{display:"flex",justifyContent:"center",alignItems:"center"}),{width:n.ternaryCondition(o.iconFontSize,"small","34px","42px"),height:n.ternaryCondition(o.iconFontSize,"small","34px","42px"),borderRadius:"50%",backgroundColor:"transparent",border:"none",position:"relative",outline:n.ternaryCondition(o.controlVariant,"standard",0,`2px solid ${i}`),cursor:"pointer","& .MuiIcon-root":{color:n.ternaryCondition(o.controllerColor,"light",r.palette.surface.tertiary,r.palette.text.primary),fontSize:n.ternaryCondition(o.iconFontSize,"small","18px","24px")},"&:active":{transform:"scale(0.95)"},"&:hover":{backgroundColor:r.palette.transparent.primary},"&:focus":{"&:after":{content:'""',display:"block",width:"calc(100% + 6px)",height:"calc(100% + 6px)",outline:n.ternaryCondition(o.controllerColor,"light",`2px solid ${r.palette.surface.tertiary}`,`2px solid ${r.palette.text.primary}`),position:"absolute",left:"-3px",top:"-3px",borderRadius:"50%"}}});return a=Object.assign(Object.assign({},a),{height:(o.customHeight?o.customHeight:"100%")+"!important","& button":Object.assign({},l)}),o.isDisabled&&(a=Object.assign(Object.assign({},a),{"& button":Object.assign(Object.assign({},l),{borderColor:r.palette.disabled.primary,cursor:"default",outline:n.ternaryCondition(o.controlVariant,"standard",0,`2px solid ${r.palette.disabled.primary}`),"&:active":{transform:"scale(1)"},"&:hover":{backgroundColor:"transparent"},"&:focus":{"&:after":{content:"none"}},"& .MuiIcon-root":{color:r.palette.disabled.primary,fontSize:n.ternaryCondition(o.iconFontSize,"small","18px","24px")}})})),a}));exports.Controller=a;
|
|
2
2
|
//# sourceMappingURL=controls.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controls.js","sources":["../../../../../src/components/controls/controls.tsx"],"sourcesContent":[null],"names":["Controller","forwardRef","_a","ref","props","__rest","btnRef","useRef","handleOnClick","useCallback","e","onClickCallback","isDisabled","useEffect","current","addEventListener","preventDefault","_jsx","ControlStyled","Object","assign","onClick","controlType","children","jsx","Icon","fontSize","iconFontSize","name","iconStyle","styled","shouldForwardProp","prop","theme","args","controlsColor","ternaryCondition","controllerColor","palette","surface","tertiary","text","primary","styles","buttonSlyle","display","justifyContent","alignItems","width","height","borderRadius","backgroundColor","border","position","outline","controlVariant","cursor","color","transform","transparent","content","left","top","customHeight","borderColor","disabled"],"mappings":"
|
|
1
|
+
{"version":3,"file":"controls.js","sources":["../../../../../src/components/controls/controls.tsx"],"sourcesContent":[null],"names":["Controller","forwardRef","_a","ref","props","__rest","btnRef","useRef","handleOnClick","useCallback","e","onClickCallback","isDisabled","useEffect","current","addEventListener","preventDefault","_jsx","ControlStyled","Object","assign","onClick","controlType","children","jsx","Icon","fontSize","iconFontSize","name","iconStyle","styled","shouldForwardProp","prop","theme","args","controlsColor","ternaryCondition","controllerColor","palette","surface","tertiary","text","primary","styles","buttonSlyle","display","justifyContent","alignItems","width","height","borderRadius","backgroundColor","border","position","outline","controlVariant","cursor","color","transform","transparent","content","left","top","customHeight","borderColor","disabled"],"mappings":"+NAgDa,MAAAA,EAAaC,EAAUA,YAAgC,CAACC,EAAcC,SAATC,EAAKC,EAAAA,OAAAH,EAAV,IACnE,MAAMI,EAASC,EAAMA,OAAC,MAEhBC,EAAgBC,eACnBC,IACCN,EAAMO,kBAAoBP,EAAMQ,YAAcR,EAAMO,gBAAgBD,EAAE,GAExE,CAACN,IASH,OANAS,EAAAA,WAAU,KACRP,EAAOQ,QAAQC,iBAAiB,aAAcL,IAC5CA,EAAEM,gBAAgB,GAClB,GACD,CAACV,IAGFW,EAAAA,IAACC,EAAaC,OAAAC,OAAA,CAAA,EAAKhB,EAAO,CAAAD,IAAKA,EAAKkB,QAAS,IAAMb,EAAcJ,EAAMkB,aACrEC,SAAAN,EAAAA,IAAA,SAAA,CAAQd,IAAKG,EACXiB,SAAAN,EAAAO,IAACC,EAAIA,KAAA,CAACC,SAAUtB,EAAMuB,aAAcC,KAAMxB,EAAMkB,YAAaO,UAAWzB,EAAMyB,gBAElE,IAOdX,EAAgBY,EAAMA,OAAC,MAAO,CAClCC,kBAAoBC,GACT,gBAATA,GACS,oBAATA,GACS,cAATA,GACS,iBAATA,GACS,mBAATA,GACS,oBAATA,GACS,eAATA,GACS,iBAATA,GATkBF,EAUiB5B,IAAA,IAAA+B,MAAEA,GAAgB/B,EAANgC,EAAI7B,EAAAA,OAAAH,EAAhB,WACrC,MAAMiC,EAAgBC,EAAgBA,iBACpCF,EAAKG,gBACL,QACAJ,EAAMK,QAAQC,QAAQC,SACtBP,EAAMK,QAAQG,KAAKC,SAErB,IAAIC,EAAS,CAAE,EACf,MAKMC,EAAWzB,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EALG,CAClByB,QAAS,OACTC,eAAgB,SAChBC,WAAY,WAGE,C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AS,SAGb,kBAAmB,CACjBH,MAAOxB,EAAMK,QAAQ2B,SAASvB,QAC9BhB,SAAUU,EAAgBA,iBAACF,EAAKP,aAAc,QAAS,OAAQ,cAKhEgB,CAAM"}
|
|
@@ -22,5 +22,5 @@ declare const getFocusRingStyle: (theme: Theme, smooth?: boolean, border?: numbe
|
|
|
22
22
|
* @param smooth - controls smooth appearance of focusRing
|
|
23
23
|
* @param focusSelector - focus visible selector
|
|
24
24
|
*/
|
|
25
|
-
declare const updateFocusRingStyle: (border?: number, smooth?: boolean, focusSelector?: string) => CSSObject;
|
|
25
|
+
declare const updateFocusRingStyle: (border?: number | string, smooth?: boolean, focusSelector?: string) => CSSObject;
|
|
26
26
|
export { getFocusRingBoxShadow, getFocusRingStyle, updateFocusRingStyle };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"focusring.js","sources":["../../../../../src/components/focusring/focusring.ts"],"sourcesContent":[null],"names":["getFocusRingBoxShadow","theme","palette","info","main","background","primary","smooth","border","focusSelector","Object","assign","content","display","position","borderRadius","inset","width","height","maxWidth","pointerEvents","boxShadow","transition"],"mappings":"aAQM,MAAAA,EAAyBC,GAC7B,aAAaA,EAAMC,QAAQC,KAAKC,mBAAmBH,EAAMC,QAAQG,WAAWC,oEAUpD,CACxBL,EACAM,GAAkB,EAClBC,EAA0B,EAC1BC,EAAgB,sBACFC,OAAAC,OAAA,CAEd,CAACJ,EAAS,WAAa,IAAIE,YAAuBC,OAAAC,OAAA,CAChDC,QAAS,KACTC,QAAS,QACTC,SAAU,WACVC,aAAc,UAEdC,MAAyB,iBAAXR,EAAsBA,EAAS,IAAIA,EAAS,MAC1DS,MAAO,OACPC,OAAQ,OACRC,SAAU,OACVC,cAAe,OAEfC,UAAWd,EAAS,OAASP,EAAsBC,IAE/CM,GAAU,CACZe,WAAY,8BAGZf,GAAU,CAEZ,CAAC,IAAIE,YAAyB,CAC5BY,UAAWrB,EAAsBC,mCAYV,CAC3BO,
|
|
1
|
+
{"version":3,"file":"focusring.js","sources":["../../../../../src/components/focusring/focusring.ts"],"sourcesContent":[null],"names":["getFocusRingBoxShadow","theme","palette","info","main","background","primary","smooth","border","focusSelector","Object","assign","content","display","position","borderRadius","inset","width","height","maxWidth","pointerEvents","boxShadow","transition"],"mappings":"aAQM,MAAAA,EAAyBC,GAC7B,aAAaA,EAAMC,QAAQC,KAAKC,mBAAmBH,EAAMC,QAAQG,WAAWC,oEAUpD,CACxBL,EACAM,GAAkB,EAClBC,EAA0B,EAC1BC,EAAgB,sBACFC,OAAAC,OAAA,CAEd,CAACJ,EAAS,WAAa,IAAIE,YAAuBC,OAAAC,OAAA,CAChDC,QAAS,KACTC,QAAS,QACTC,SAAU,WACVC,aAAc,UAEdC,MAAyB,iBAAXR,EAAsBA,EAAS,IAAIA,EAAS,MAC1DS,MAAO,OACPC,OAAQ,OACRC,SAAU,OACVC,cAAe,OAEfC,UAAWd,EAAS,OAASP,EAAsBC,IAE/CM,GAAU,CACZe,WAAY,8BAGZf,GAAU,CAEZ,CAAC,IAAIE,YAAyB,CAC5BY,UAAWrB,EAAsBC,mCAYV,CAC3BO,EAA0B,EAC1BD,GAAkB,EAClBE,EAAgB,uBACD,CACf,CAACF,EAAS,YAAc,IAAIE,YAAyB,CACnDO,MAAyB,iBAAXR,EAAsBA,EAAS,IAAIA,EAAS"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Theme } from '@mui/material
|
|
1
|
+
import { GridSize } from '@mui/material/Grid';
|
|
2
|
+
import { Theme, GridDirection, GridSpacing } from '@mui/material';
|
|
3
3
|
import { ResponsiveStyleValue, SxProps } from '@mui/system';
|
|
4
4
|
import React, { HTMLAttributes, ReactNode } from 'react';
|
|
5
5
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var r=require("tslib"),e=require("react/jsx-runtime")
|
|
1
|
+
"use strict";var r=require("tslib"),e=require("react/jsx-runtime"),i=require("@mui/material");exports.Grid=s=>{var{narrow:t}=s,a=r.__rest(s,["narrow"]);return e.jsx(i.Grid,Object.assign({},a,{spacing:t?"12px":void 0,children:a.children}))};
|
|
2
2
|
//# sourceMappingURL=grid.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid.js","sources":["../../../../../src/components/grid/grid.tsx"],"sourcesContent":[null],"names":["_a","narrow","props","__rest","_jsx","MuiGrid","Object","assign","spacing","undefined","children"],"mappings":"
|
|
1
|
+
{"version":3,"file":"grid.js","sources":["../../../../../src/components/grid/grid.tsx"],"sourcesContent":[null],"names":["_a","narrow","props","__rest","_jsx","MuiGrid","Object","assign","spacing","undefined","children"],"mappings":"2GAyI0CA,IAAA,IAAAC,OAAEA,GAAkBD,EAAPE,EAAKC,EAAAA,OAAAH,EAAlB,YACxC,OACEI,EAAAA,IAACC,EAAAA,KAAOC,OAAAC,OAAA,CAAA,EAAKL,EAAO,CAAAM,QAASP,EAAS,YAASQ,EAASC,SACrDR,EAAMQ,WACC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),s=require("@mui/material"),i=require("../icon/filled/CircleCloseFilledIcon.js");const o=r.forwardRef(((o,a)=>{var{aspectRatio:n,width:l,height:c,skeleton:d=!0,skeletonProps:g,wrapperProps:h,errorProps:x,customLoader:p,errorContent:u,loading:j,error:m,sx:b,children:w}=o,k=e.__rest(o,["aspectRatio","width","height","skeleton","skeletonProps","wrapperProps","errorProps","customLoader","errorContent","loading","error","sx","children"]);const[C,I]=r.useState(!1),[O,_]=r.useState(!1),f=g||{},{sx:P}=f,q=e.__rest(f,["sx"]),v=h||{},{sx:R}=v,y=e.__rest(v,["sx"]),B=x||{},{sx:F}=B,L=e.__rest(B,["sx"]);return t.jsxs(s.Box,Object.assign({"data-testid":"Image.wrapper",sx:Object.assign({aspectRatio:null!=n?n:"initial",width:null!=l?l:"auto",height:null!=c?c:"auto",maxWidth:"100%",position:"relative"},R)},y,{children:[!O&&!m&&!j&&t.jsx(s.Box,Object.assign({component:"img","data-testid":"Image.component",ref:a,onLoad:()=>I(!0),onError:()=>_(!0),width:l,height:c,sx:Object.assign({aspectRatio:null!=n?n:"initial",objectFit:"cover",width:"100%",height:"100%",display:"block"},b)},k)),(!C||j)&&!O&&!m&&(p||d&&t.jsx(s.Skeleton,Object.assign({"data-testid":"Image.skeleton",variant:"rectangular",sx:Object.assign({width:"100%",height:"100%"},P)},q))),(O||m)&&t.jsx(s.Box,Object.assign({"data-testid":"Image.error",sx:Object.assign({display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",backgroundColor:"disabled.secondary"},F)},L,{children:u||t.jsx(i.CircleCloseFilledIcon,{color:"error"})})),w]}))}));exports.Image=o;
|
|
2
|
+
//# sourceMappingURL=Image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.js","sources":["../../../../../src/components/image/Image.tsx"],"sourcesContent":[null],"names":["Image","forwardRef","_a","ref","aspectRatio","width","height","skeleton","skeletonProps","wrapperProps","errorProps","customLoader","errorContent","loading","error","sx","children","rest","__rest","loaded","setLoaded","useState","hasError","setHasError","_b","skeletonSx","restSkeleton","_c","wrapperSx","restWrapper","_d","errorSx","restError","_jsxs","jsxs","Box","Object","assign","maxWidth","position","_jsx","jsx","component","onLoad","onError","objectFit","display","Skeleton","variant","alignItems","justifyContent","backgroundColor","CircleCloseFilledIcon","color"],"mappings":"sKAoCa,MAAAA,EAA8BC,EAAUA,YACnD,CACEC,EAgBAC,KAhBA,IAAAC,YACEA,EAAWC,MACXA,EAAKC,OACLA,EAAMC,SACNA,GAAW,EAAIC,cACfA,EAAaC,aACbA,EAAYC,WACZA,EAAUC,aACVA,EAAYC,aACZA,EAAYC,QACZA,EAAOC,MACPA,EAAKC,GACLA,EAAEC,SACFA,GAEDd,EADIe,EAAIC,EAAAA,OAAAhB,EAdT,yJAkBA,MAAOiB,EAAQC,GAAaC,EAAAA,UAAS,I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AGjDrC,KACG"}
|
|
@@ -25,13 +25,17 @@ export * from './icon/stroke';
|
|
|
25
25
|
export * from './indicator';
|
|
26
26
|
export * from './label';
|
|
27
27
|
export * from './logo';
|
|
28
|
-
export * from './
|
|
28
|
+
export * from './image';
|
|
29
|
+
export * from './overlay';
|
|
30
|
+
export * from './video';
|
|
31
|
+
export * from './playPauseButton';
|
|
29
32
|
export * from './menu';
|
|
30
33
|
export * from './menuItem';
|
|
31
34
|
export * from './mobileStepper';
|
|
32
35
|
export * from './modal';
|
|
33
36
|
export * from './numbering';
|
|
34
37
|
export * from './pagination';
|
|
38
|
+
export * from './passwordField';
|
|
35
39
|
export * from './progress';
|
|
36
40
|
export * from './quickLink';
|
|
37
41
|
export * from './radioButton';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),s=require("react"),a=require("@mui/material"),t=require("../icon/stroke/CircleExclamationIcon.js"),
|
|
1
|
+
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),s=require("react"),a=require("@mui/material"),t=require("../icon/stroke/CircleExclamationIcon.js"),o=require("../icon/stroke/CircleInformationIcon.js"),n=require("../focusring/focusring.js"),i=require("../../materialui/button/interactive.js");const c={display:"inline-flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"nowrap",flexShrink:"0",fontSize:"11px",lineHeight:"12px",letterSpacing:"3px",textTransform:"uppercase",fontWeight:"900",whiteSpace:"nowrap",textRendering:"geometricPrecision"},l=s.forwardRef(((s,t)=>{var{type:o,label:n,children:i,sx:l}=s,x=e.__rest(s,["type","label","children","sx"]);return r.jsx(a.Box,Object.assign({ref:t,"data-testid":"Label-general",sx:Object.assign(Object.assign(Object.assign({},c),{color:"onSurface.os600"}),l)},x,{children:n||i}))})),x=s.forwardRef(((s,t)=>{var{type:o,label:n,children:i,variant:l="primary",sx:x}=s,d=e.__rest(s,["type","label","children","variant","sx"]);return r.jsx(a.Box,Object.assign({ref:t,"data-testid":`Label-feature${l}`,sx:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c),{color:"onSurface.os0",backgroundColor:"brand.tertiary",padding:"4px 8px 4px 10px",borderRadius:"2px"}),"neutral"===l&&{backgroundColor:"onSurface.os600"}),"secondary"===l&&{backgroundColor:"brand.secondary",color:"brand.tertiary"}),x)},d,{children:n||i}))})),d=s.forwardRef(((s,t)=>{var{type:o,label:n,children:i,variant:l="large",sx:x,labelBoxProps:d,labelNextProps:b}=s,p=e.__rest(s,["type","label","children","variant","sx","labelBoxProps","labelNextProps"]);const g=d||{},{sx:u}=g,f=e.__rest(g,["sx"]),j=b||{},{sx:O}=j,m=e.__rest(j,["sx"]);return r.jsx(a.Box,Object.assign({ref:t,"data-testid":`Label-promotional${l}`,sx:Object.assign(Object.assign(Object.assign({},c),{color:"brand.secondary",overflow:"hidden",borderRadius:"2px"}),x)},p,{children:r.jsx(a.Box,Object.assign({sx:Object.assign({margin:"0 6px 0 -6px",transform:"skew(-21deg, 0deg)",backgroundColor:"brand.tertiary",position:"relative",borderRadius:"3px",display:"inline-flex",alignItems:"flex-start",justifyContent:"center",zIndex:100},u)},f,{children:r.jsx(a.Box,Object.assign({sx:Object.assign(Object.assign(Object.assign({fontSize:"14px",padding:"10px 14px 10px 20px"},"small"===l&&{fontSize:"12px",padding:"8px 10px 8px 16px"}),{letterSpacing:"1px",textTransform:"uppercase",lineHeight:"12px",fontWeight:"bold",transform:"skew(21deg, 0deg)"}),O)},m,{children:n||i}))}))}))}));function b(e,r){return Object.assign(Object.assign({},e),{"&.MuiButtonBase-root":Object.assign({},i.getInteractiveStyle(e,r))})}const p=s.forwardRef(((i,l)=>{var{type:x,label:d,children:p,variant:g="positive",sx:u,iconProps:f,IconComponent:j,onClick:O}=i,m=e.__rest(i,["type","label","children","variant","sx","iconProps","IconComponent","onClick"]);const h=f||{},{sx:y}=h,C=e.__rest(h,["sx"]),k=s.useMemo((()=>{switch(g){case"alert":case"warning":return t.CircleExclamationIcon;default:return o.CircleInformationIcon}}),[g]),w=j||k,S=a.useTheme();return r.jsxs(a.Box,Object.assign({ref:l,"data-testid":`Label-semantic${g}`,sx:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c),{gap:"6px",padding:"2px 8px 2px 4px",borderRadius:"4px",border:1,borderColor:"currentColor",transition:"transform 0.3s ease-out, color 0.3s ease-out, background-color 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out, opacity 0.3s ease-out","&&.MuiButtonBase-root":Object.assign({},n.getFocusRingStyle(S,!0,1))}),b({color:"brand.primary",backgroundColor:"dark"===S.palette.mode?"onSurface.os900":"onSurface.os0"},{color:"brandHover.primary",backgroundColor:"surface.primary"})),"alert"===g&&Object.assign({},b({color:"error.main",backgroundColor:"dark"===S.palette.mode?"onSurface.os900":"onSurface.os0"},{color:"error.dark",backgroundColor:"surface.primary"}))),"warning"===g&&Object.assign({},b({color:"warning.main",backgroundColor:"dark"===S.palette.mode?"onSurface.os900":"onSurface.os0"},{color:"warning.dark",backgroundColor:"surface.primary"}))),"info"===g&&Object.assign({},b({color:"info.main",backgroundColor:"dark"===S.palette.mode?"onSurface.os900":"onSurface.os0"},{color:"info.dark",backgroundColor:"surface.primary"}))),u),onClick:O},m,{children:[r.jsx(w,Object.assign({"data-testid":`icon-${g}`,sx:Object.assign({fontSize:"18px"},y)},C)),d||p]}))})),g=s.forwardRef(((s,t)=>{var{type:o,label:n,children:i,variant:l="positive",labelPlacement:x="end",dotProps:d,sx:b}=s,p=e.__rest(s,["type","label","children","variant","labelPlacement","dotProps","sx"]);const g=d||{},{sx:u}=g,f=e.__rest(g,["sx"]);return r.jsxs(a.Box,Object.assign({ref:t,"data-testid":`Label-status${l}`,sx:e=>Object.assign(Object.assign(Object.assign(Object.assign({},c),{color:"text.primary",flexDirection:"start"===x?"row-reverse":"top"===x?"column-reverse":"bottom"===x?"column":"row",gap:1}),"indicator"===o&&e.typography.disclaimer),b)},"disabled"===l&&{disabled:!0,tabIndex:-1},p,{children:[r.jsx(a.Box,Object.assign({sx:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({width:"10px",height:"10px"},"indicator"===o&&{width:"14px",height:"14px"}),{borderRadius:"50%",backgroundColor:"success.main"}),"warning"===l&&{backgroundColor:"warning.main"}),"alert"===l&&{backgroundColor:"error.main"}),"neutral"===l&&{backgroundColor:"onSurface.os500"}),"disabled"===l&&{backgroundColor:"disabled.secondary"}),u)},f)),n||i]}))})),u=s.forwardRef(((t,o)=>{var{type:n,label:i,children:l,variant:x="A+++",size:d="large",sx:b,labelBoxProps:p,labelNextProps:g}=t,u=e.__rest(t,["type","label","children","variant","size","sx","labelBoxProps","labelNextProps"]);const f=s.useMemo((()=>({B:"#019A01",C:"#69CC00",D:"#FFCC01",E:"#F99601",F:"#FE6501",G:"#FF3100",H:"#2A78CD"})),[]),j=e=>f[e]||"#016703",O=p||{},{sx:m}=O,h=e.__rest(O,["sx"]),y=g||{},{sx:C}=y,k=e.__rest(y,["sx"]);return r.jsxs(a.Box,Object.assign({ref:o,"data-testid":`Label-CO2${x}`,sx:Object.assign(Object.assign({},c),b)},u,{children:[r.jsx(a.Box,Object.assign({component:"span",sx:Object.assign(Object.assign(Object.assign({alignItems:"center",backgroundColor:j(x),boxSizing:"border-box",color:"surface.tertiary",display:"inline-flex",justifyContent:"flex-start",fontWeight:"700",height:{xs:"20px",xl:"22px"},fontSize:{xs:"12px",xl:"14px"}},"small"===d&&{fontSize:{xs:"10px",xl:"12px"},height:{xs:"16px",xl:"18px"}}),{padding:"0 5px",position:"relative",letterSpacing:"1px"}),m)},h,{children:i||l||x})),r.jsx(a.Box,Object.assign({sx:Object.assign(Object.assign({content:'""',display:"block",width:"0",height:"0",borderStyle:"solid",borderColor:`transparent transparent transparent ${j(x)}`,borderWidth:{xs:"10px 0 10px 7px",lg:"11px 0 11px 8px"}},"small"===d&&{borderWidth:{xs:"8px 0 8px 5px",lg:"9px 0 9px 7px"}}),C)},k))]}))})),f=s.forwardRef(((e,a)=>{const t=s.useMemo((()=>{switch(e.type){case"feature":return x;case"promotional":return d;case"semantic":return p;case"status":case"indicator":return g;case"CO2":return u;default:return l}}),[e.type]);return r.jsx(t,Object.assign({component:"span"},e,{ref:a}))})),j=s.forwardRef(((e,s)=>r.jsx(f,Object.assign({},e,{type:"feature",ref:s})))),O=s.forwardRef(((e,s)=>r.jsx(f,Object.assign({},e,{type:"status",ref:s})))),m=s.forwardRef(((e,s)=>r.jsx(f,Object.assign({},e,{type:"CO2",ref:s})))),h=s.forwardRef(((e,s)=>r.jsx(f,Object.assign({},e,{type:"promotional",ref:s})))),y=s.forwardRef(((e,s)=>r.jsx(f,Object.assign({},e,{ref:s}))));exports.Label=f,exports.LabelCO2=m,exports.LabelFeature=j,exports.LabelGeneral=y,exports.LabelPromotional=h,exports.LabelStatus=O;
|
|
2
2
|
//# sourceMappingURL=label.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","sources":["../../../../../src/components/label/label.tsx"],"sourcesContent":[null],"names":["baseSx","display","alignItems","justifyContent","flexWrap","flexShrink","fontSize","lineHeight","letterSpacing","textTransform","fontWeight","whiteSpace","textRendering","GeneralVariant","forwardRef","_a","ref","type","_","label","children","sx","rest","__rest","_jsx","jsx","Box","Object","assign","color","FeatureVariant","variant","backgroundColor","padding","borderRadius","PromotionalVariant","labelBoxProps","labelNextProps","_b","labelBoxSx","restLabelBox","_c","labelNextSx","restLabelNext","overflow","margin","transform","position","zIndex","SemanticVariant","iconProps","IconComponent","onClick","iconSx","restIconProps","VariantIconComponent","useMemo","CircleExclamationIcon","CircleInformationIcon","SemanticIcon","theme","useTheme","_jsxs","gap","border","borderColor","
|
|
1
|
+
{"version":3,"file":"label.js","sources":["../../../../../src/components/label/label.tsx"],"sourcesContent":[null],"names":["baseSx","display","alignItems","justifyContent","flexWrap","flexShrink","fontSize","lineHeight","letterSpacing","textTransform","fontWeight","whiteSpace","textRendering","GeneralVariant","forwardRef","_a","ref","type","_","label","children","sx","rest","__rest","_jsx","jsx","Box","Object","assign","color","FeatureVariant","variant","backgroundColor","padding","borderRadius","PromotionalVariant","labelBoxProps","labelNextProps","_b","labelBoxSx","restLabelBox","_c","labelNextSx","restLabelNext","overflow","margin","transform","position","zIndex","getLabelInteractiveStyle","defaultStyle","hoverStyle","getInteractiveStyle","SemanticVariant","iconProps","IconComponent","onClick","iconSx","restIconProps","VariantIconComponent","useMemo","CircleExclamationIcon","CircleInformationIcon","SemanticIcon","theme","useTheme","_jsxs","jsxs","gap","border","borderColor","transition","getFocusRingStyle","palette","mode","StatusVariant","labelPlacement","dotProps","dotSx","restDot","flexDirection","typography","disclaimer","disabled","tabIndex","width","height","CO2Variant","size","colorMap","B","C","D","E","F","G","H","getColor","_variant","component","boxSizing","xs","xl","content","borderStyle","borderWidth","lg","Label","props","LabelComponent","LabelFeature","LabelStatus","LabelCO2","LabelPromotional","LabelGeneral"],"mappings":"sTAkEA,MAAMA,EAAoB,CACxBC,QAAS,cACTC,WAAY,SACZC,eAAgB,aAChBC,SAAU,SACVC,WAAY,IAEZC,SAAU,OACVC,WAAY,OACZC,cAAe,MACfC,cAAe,YACfC,WAAY,MACZC,WAAY,SACZC,cAAe,sBAGXC,EAA8CC,EAAUA,YAAC,CAACC,EAA2CC,KAA3C,IAAEC,KAAMC,EAACC,MAAEA,EAAKC,SAAEA,EAAQC,GAAEA,GAAaN,EAANO,EAAIC,EAAAA,OAAAR,EAAvC,kCAAmD,OACjHS,EAACC,IAAAC,EAAGA,IAACC,OAAAC,OAAA,CAAAZ,IAAKA,EAAiB,cAAA,gBAAgBK,GAASM,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAA5B,GAAQ,CAAA6B,MAAO,oBAAsBR,IAAUC,EAChG,CAAAF,SAAAD,GAASC,IACN,IAGFU,EAA8ChB,EAAUA,YAC5D,CAACC,EAAgEC,KAAhE,IAAEC,KAAMC,EAACC,MAAEA,EAAKC,SAAEA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,CAAC+F,EAAM3F,OAEV,OAAOO,MAACqF,EAAelF,OAAAC,OAAA,CAAAuE,UAAU,QAAWS,EAAO,CAAA5F,IAAKA,IAAO,IAMpD8F,EAA0DhG,EAAUA,YAAC,CAAC8F,EAAO5F,IACjFQ,MAACmF,EAAUhF,OAAAC,OAAA,CAAA,EAAAgF,EAAO,CAAA3F,KAAK,UAAUD,IAAKA,OAMlC+F,EAAwDjG,EAAUA,YAAC,CAAC8F,EAAO5F,IAC/EQ,MAACmF,EAAUhF,OAAAC,OAAA,CAAA,EAAAgF,EAAO,CAAA3F,KAAK,SAASD,IAAKA,OAMjCgG,EAAkDlG,EAAUA,YAAC,CAAC8F,EAAO5F,IACzEQ,MAACmF,EAAUhF,OAAAC,OAAA,CAAA,EAAAgF,EAAO,CAAA3F,KAAK,MAAMD,IAAKA,OAM9BiG,EAAkEnG,EAAUA,YAAC,CAAC8F,EAAO5F,IACzFQ,MAACmF,EAAUhF,OAAAC,OAAA,CAAA,EAAAgF,EAAO,CAAA3F,KAAK,cAAcD,IAAKA,OAMtCkG,EAA0DpG,EAAUA,YAAC,CAAC8F,EAAO5F,IACjFQ,EAAAC,IAACkF,EAAUhF,OAAAC,OAAA,GAAAgF,GAAO5F,IAAKA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),i=require("@mui/material
|
|
1
|
+
"use strict";var e=require("tslib"),r=require("react/jsx-runtime"),i=require("@mui/material");exports.MenuItem=t=>{var{key:s,id:u,value:a,children:n}=t,l=e.__rest(t,["key","id","value","children"]);return r.jsx(i.MenuItem,Object.assign({id:u,value:a},l,{children:r.jsx(i.ListItemText,{children:r.jsx(i.Typography,{noWrap:!0,children:n})})}),s)};
|
|
2
2
|
//# sourceMappingURL=menuItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menuItem.js","sources":["../../../../../src/components/menuItem/menuItem.tsx"],"sourcesContent":[null],"names":["_a","key","id","value","children","props","__rest","_jsx","MuiMenuItem","Object","assign","ListItemText","Typography","noWrap"],"mappings":"
|
|
1
|
+
{"version":3,"file":"menuItem.js","sources":["../../../../../src/components/menuItem/menuItem.tsx"],"sourcesContent":[null],"names":["_a","key","id","value","children","props","__rest","_jsx","MuiMenuItem","Object","assign","ListItemText","Typography","noWrap"],"mappings":"+GA+B4CA,IAAA,IAAAC,IAAEA,EAAGC,GAAEA,EAAEC,MAAEA,EAAKC,SAAEA,GAAQJ,EAAKK,EAA/BC,EAAAA,OAAAN,EAAA,CAAA,MAAA,KAAA,QAAA,aAC1C,OACEO,MAACC,EAAAA,SAAWC,OAAAC,OAAA,CAAWR,GAAIA,EAAIC,MAAOA,GAAWE,EAAK,CAAAD,SACpDG,EAAAA,IAACI,EAAYA,aACX,CAAAP,SAAAG,EAAAA,IAACK,EAAUA,WAAA,CAACC,QAAM,EAAAT,SAAEA,QAFNH,EAIJ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),i=require("@mui/material"),r=require("react"),n=require("./mobileStepperButton.js");exports.MobileStepper=a=>{var{steps:s,activeStep:o,variant:p,backButton:l,nextButton:u,prevButtonLabel:c,nextButtonLabel:b,LinearProgressProps:x,sx:B}=a,d=e.__rest(a,["steps","activeStep","variant","backButton","nextButton","prevButtonLabel","nextButtonLabel","LinearProgressProps","sx"]);const[S,v]=r.useState(o);return r.useEffect((()=>{v(o)}),[o]),t.jsx(i.MobileStepper,Object.assign({},d,{steps:s,activeStep:S,variant:p,sx:{maxWidth:380,display:"flex",alignItems:"center",position:"static",fontWeight:"400",fontSize:"16px",lineHeight:"16px",letterSpacing:"0.02em"},backButton:t.jsx(n.MobileStepperButtonBack,{"data-testid":"MobileStepper.prevBtn",disabled:S<=0,onClick:()=>v((e=>e-1)),children:c}),nextButton:t.jsx(n.MobileStepperButtonNext,{"data-testid":"MobileStepper.nextBtn",disabled:S>=s-1,onClick:()=>v((e=>e+1)),children:b}),"data-testid":"MobileStepper"}))};
|
|
2
2
|
//# sourceMappingURL=mobileStepper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobileStepper.js","sources":["../../../../../src/components/mobileStepper/mobileStepper.tsx"],"sourcesContent":[null],"names":["_a","steps","activeStep","variant","backButton","nextButton","prevButtonLabel","nextButtonLabel","LinearProgressProps","sx","props","__rest","currentStep","setCurrentStep","useState","useEffect","_jsx","jsx","MuiMobileStepper","
|
|
1
|
+
{"version":3,"file":"mobileStepper.js","sources":["../../../../../src/components/mobileStepper/mobileStepper.tsx"],"sourcesContent":[null],"names":["_a","steps","activeStep","variant","backButton","nextButton","prevButtonLabel","nextButtonLabel","LinearProgressProps","sx","props","__rest","currentStep","setCurrentStep","useState","useEffect","_jsx","jsx","MuiMobileStepper","MobileStepper","maxWidth","display","alignItems","position","fontWeight","fontSize","lineHeight","letterSpacing","MobileStepperButtonBack","disabled","onClick","prev","children","MobileStepperButtonNext"],"mappings":"6KA2CsDA,QAAAC,MACpDA,EAAKC,WACLA,EAAUC,QACVA,EAAOC,WACPA,EAAUC,WACVA,EAAUC,gBACVA,EAAeC,gBACfA,EAAeC,oBACfA,EAAmBC,GACnBA,KACGC,EAViDC,EAAAA,OAAAX,EAAA,CAAA,QAAA,aAAA,UAAA,aAAA,aAAA,kBAAA,kBAAA,sBAAA,OAYpD,MAAOY,EAAaC,GAAkBC,EAAAA,SAASZ,GAO/C,OAJAa,EAAAA,WAAU,KACRF,EAAeX,EAAW,GACzB,CAACA,IAGFc,EAACC,IAAAC,EAAgBC,+BACXT,EAAK,CACTT,MAAOA,EACPC,WAAYU,EACZT,QAASA,EACTM,GAAI,CACFW,SAAU,IACVC,QAAS,OACTC,WAAY,SACZC,SAAU,SACVC,WAAY,MACZC,SAAU,OACVC,WAAY,OACZC,cAAe,UAEjBvB,WACEY,EAACC,IAAAW,yCACa,wBACZC,SAAUjB,GAAe,EACzBkB,QAAS,IAAMjB,GAAgBkB,GAASA,EAAO,IAAEC,SAEhD1B,IAGLD,WACEW,EAAAA,IAACiB,EAAAA,wBACa,CAAA,cAAA,wBACZJ,SAAUjB,GAAeX,EAAQ,EACjC6B,QAAS,IAAMjB,GAAgBkB,GAASA,EAAO,IAAEC,SAEhDzB,IACuB,cAEhB,kBACZ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var t=require("tslib"),a=require("react/jsx-runtime"),e=require("react"),o=require("
|
|
1
|
+
"use strict";var t=require("tslib"),a=require("react/jsx-runtime"),e=require("react"),o=require("../button/button.js"),i=require("../icon/icon.js");require("../icon/icon.definitions.js");var n=require("./contentDiv.js"),d=require("@mui/material");const s=e.forwardRef(((s,r)=>{var{children:c,open:u,handleClose:p,onClickTopButton:m,onClickBottomButton:x,ariaLabelledby:b,ariaDescribedBy:h,firstButton:g,secondButton:B,hasCloseButton:f,size:v,firstButtonVariant:C,secondButtonVariant:j,secondButtonVisible:k,defaultButtonSection:w=!0,maxWidth:F,modalLoadedCallback:W,disableAutoFocus:M,disableEnforceFocus:y,disableRestoreFocus:T}=s,q=t.__rest(s,["children","open","handleClose","onClickTopButton","onClickBottomButton","ariaLabelledby","ariaDescribedBy","firstButton","secondButton","hasCloseButton","size","firstButtonVariant","secondButtonVariant","secondButtonVisible","defaultButtonSection","maxWidth","modalLoadedCallback","disableAutoFocus","disableEnforceFocus","disableRestoreFocus"]);const[z,S]=e.useState(!1),[V,D]=e.useState(!1),L=d.useTheme();e.useEffect((()=>{const t=window.matchMedia(`(min-width: ${L.breakpoints.values.md}px)`);D(t.matches)}),[L.breakpoints.values.md]);const O=e.useCallback((()=>{if(V&&"large"===(v||"large"))return!1}),[V,v]);return a.jsx(l,Object.assign({},q,{ref:r,open:u,size:v,onClose:p,isOverFlowing:z,"aria-labelledby":b,"aria-describedby":h,compactButtons:O(),maxWidth:F,"data-testid":"Modal",disableEnforceFocus:y,disableAutoFocus:M,disableRestoreFocus:T,dir:L.direction,children:a.jsxs("div",{className:"modal-container","data-testid":"Modal.container",children:[f&&a.jsx("button",{onClick:p,"data-testid":"Modal.close",children:a.jsx(i.Icon,{name:"close",fontSize:"medium"})}),a.jsx(n.ContentDiv,{setIsOverFlowing:S,className:"modal-container--content",modalLoadedCallback:W,"data-testid":"Modal.content",children:c}),w&&a.jsxs("div",{className:"modal-container--action-buttons","data-testid":"Modal.buttons",children:[a.jsx(o.Button,{label:g,onClick:m,fullWidth:!0,variant:C,compact:O(),"data-testid":"Modal.button1","data-variant":C}),k&&a.jsx(o.Button,{label:B,onClick:x,fullWidth:!0,variant:j,compact:O(),"data-testid":"Modal.button2","data-variant":j})]})]})}))})),l=d.styled(d.Modal,{shouldForwardProp:t=>"compactButtons"!==t&&"isOverFlowing"!==t&&"maxWidth"!==t})((a=>{var{theme:e}=a,o=t.__rest(a,["theme"]);const i=o.compactButtons?"16px":"24px",n=o.maxWidth?o.maxWidth:"calc(100% - 40px)",d="large"===(o.size||"large"),s=o.size&&"full-width"===o.size,l=d?{maxWidth:"624px",marginTop:"40px",padding:"40px"}:s?{maxWidth:n,marginTop:"40px",padding:"40px"}:{maxWidth:"408px",marginTop:"48px",padding:"24px 40px 40px 40px"};return{"& .modal-container":{maxHeight:"calc(100vh - 64px)",minHeight:"300px",display:"flex",flexDirection:"column","&--content":{overflowX:"hidden",overflowY:"auto",marginTop:"48px",padding:"0px 24px"},"&--action-buttons":{padding:"32px 24px",paddingBottom:i,boxShadow:o.isOverFlowing?"0px 0px 32px rgba(0, 0, 0, 0.15)":null,"& > *:first-of-type":{marginBottom:"15px"}}},[e.breakpoints.up("md")]:{"& .modal-container":{maxHeight:"calc(100vh - 160px)",margin:"0px",width:"100%",maxWidth:l.maxWidth,"&--content":{marginTop:l.marginTop,padding:"0px 40px"},"&--action-buttons":{padding:l.padding,paddingBottom:i}}}}}));exports.Modal=s;
|
|
2
2
|
//# sourceMappingURL=modal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.js","sources":["../../../../../src/components/modal/modal.tsx"],"sourcesContent":[null],"names":["Modal","forwardRef","_a","ref","children","open","handleClose","onClickTopButton","onClickBottomButton","ariaLabelledby","ariaDescribedBy","firstButton","secondButton","hasCloseButton","size","firstButtonVariant","secondButtonVariant","secondButtonVisible","defaultButtonSection","maxWidth","modalLoadedCallback","disableAutoFocus","disableEnforceFocus","disableRestoreFocus","props","__rest","isOverFlowing","setIsOverFlowing","useState","desktopView","setDesktopView","theme","useTheme","useEffect","mq","window","matchMedia","breakpoints","values","md","matches","isCompactButton","useCallback","_jsx","ModalStyled","onClose","compactButtons","dir","direction","_jsxs","className","onClick","jsx","Icon","name","fontSize","ContentDiv","Button","label","fullWidth","variant","compact","styled","MuiModal","shouldForwardProp","prop","args","bottomButtonPadding","fullWidthModal","isModalLarge","isModalFullWidth","sizeBasedStyles","marginTop","padding","maxHeight","minHeight","display","flexDirection","overflowX","overflowY","paddingBottom","boxShadow","marginBottom","up","margin","width"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modal.js","sources":["../../../../../src/components/modal/modal.tsx"],"sourcesContent":[null],"names":["Modal","forwardRef","_a","ref","children","open","handleClose","onClickTopButton","onClickBottomButton","ariaLabelledby","ariaDescribedBy","firstButton","secondButton","hasCloseButton","size","firstButtonVariant","secondButtonVariant","secondButtonVisible","defaultButtonSection","maxWidth","modalLoadedCallback","disableAutoFocus","disableEnforceFocus","disableRestoreFocus","props","__rest","isOverFlowing","setIsOverFlowing","useState","desktopView","setDesktopView","theme","useTheme","useEffect","mq","window","matchMedia","breakpoints","values","md","matches","isCompactButton","useCallback","_jsx","ModalStyled","onClose","compactButtons","dir","direction","_jsxs","className","onClick","jsx","Icon","name","fontSize","ContentDiv","Button","label","fullWidth","variant","compact","styled","MuiModal","shouldForwardProp","prop","args","bottomButtonPadding","fullWidthModal","isModalLarge","isModalFullWidth","sizeBasedStyles","marginTop","padding","maxHeight","minHeight","display","flexDirection","overflowX","overflowY","paddingBottom","boxShadow","marginBottom","up","margin","width"],"mappings":"uPAmGa,MAAAA,EAAQC,EAAUA,YAC7B,CACEC,EAuBAC,SAvBAC,SACEA,EAAQC,KACRA,EAAIC,YACJA,EAAWC,iBACXA,EAAgBC,oBAChBA,EAAmBC,eACnBA,EAAcC,gBACdA,EAAeC,YACfA,EAAWC,aACXA,EAAYC,eACZA,EAAcC,KACdA,EAAIC,mBACJA,EAAkBC,oBAClBA,EAAmBC,oBACnBA,EAAmBC,qBACnBA,GAAuB,EAAIC,SAC3BA,EAAQC,oBACRA,EAAmBC,iBACnBA,EAAgBC,oBAChBA,EAAmBC,oBACnBA,KACGC,EArBLC,EAAAA,OAAAvB,EAAA,CAAA,WAAA,OAAA,cAAA,mBAAA,sBAAA,iBAAA,kBAAA,cAAA,eAAA,iBAAA,OAAA,qBAAA,sBAAA,sBAAA,uBAAA,WAAA,sBAAA,mBAAA,sBAAA,wBAyBA,MAAOwB,EAAeC,GAAoBC,EAAAA,UAAkB,IACrDC,EAAaC,GAAkBF,EAAAA,UAAS,GACzCG,EAAQC,EAAAA,WAEdC,EAAAA,WAAU,KACR,MAAMC,EAAKC,OAAOC,WAAW,eAAeL,EAAMM,YAAYC,OAAOC,SAErET,EAAeI,EAAGM,QAAQ,GACzB,CAACT,EAAMM,YAAYC,OAAOC,KAE7B,MAAME,EAAkBC,EAAAA,aAAY,KAElC,GAAIb,GADuC,WAArBf,GAAQ,SACG,OAAO,CAAK,GAC5C,CAACe,EAAaf,IAEjB,OACE6B,EAAAA,IAACC,mBACKpB,EAAK,CACTrB,IAAKA,EACLE,KAAMA,EACNS,KAAMA,EACN+B,QAASvC,EACToB,cAAeA,EACE,kBAAAjB,qBACCC,EAClBoC,eAAgBL,IAChBtB,SAAUA,EAAQ,cACN,QACZG,oBAAqBA,EACrBD,iBAAkBA,EAClBE,oBAAqBA,EACrBwB,IAAKhB,EAAMiB,UAEX5C,SAAA6C,EAAAA,KAAA,MAAA,CAAK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BAAqB,CACnBA,QAAS,YACTO,cAAeb,EACfc,UAAWf,EAAKxC,cAAgB,mCAAqC,KACrE,sBAAuB,CACrBwD,aAAc,UAIpB,CAACnD,EAAMM,YAAY8C,GAAG,OAAQ,CAC5B,qBAAsB,CACpBT,UAAW,sBACXU,OAAQ,MACRC,MAAO,OACPlE,SAAUoD,EAAgBpD,SAC1B,aAAc,CACZqD,UAAWD,EAAgBC,UAC3BC,QAAS,YAEX,oBAAqB,CACnBA,QAASF,EAAgBE,QACzBO,cAAeb,KAItB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var t=require("react/jsx-runtime"),e=require("@mui/material");const r=r=>t.jsx(e.Typography,Object.assign({},r,{variant:"h3"}));r.defaultProps={gutterBottom:!0};const i=e.styled(r)((t=>({"&&":{marginTop:"0px",fontSize:"20px",lineHeight:"30px",marginBottom:t.gutterBottom?"
|
|
1
|
+
"use strict";var t=require("react/jsx-runtime"),e=require("@mui/material");const r=r=>t.jsx(e.Typography,Object.assign({},r,{variant:"h3"}));r.defaultProps={gutterBottom:!0};const i=e.styled(r)((t=>({"&&":{marginTop:"0px",fontSize:"20px",lineHeight:"30px",marginBottom:t.gutterBottom?"16px":"inherit"}})));exports.ModalTitle=i;
|
|
2
2
|
//# sourceMappingURL=modalTitle.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),r=require("@mui/material
|
|
1
|
+
"use strict";var e=require("tslib"),t=require("react/jsx-runtime"),r=require("@mui/material"),a=require("../../utils/enum.js");const s=r.styled("div",{shouldForwardProp:e=>"customSeparator"!==e&&"colorTheme"!==e})((t=>{var{theme:r}=t,s=e.__rest(t,["theme"]);return{fontWeight:"700",fontSize:s.size===a.NumberingSizes.LARGE?"18px":"16px",lineHeight:s.size===a.NumberingSizes.LARGE?"28px":"24px",letterSpacing:"0.02em","& .index-container":{color:s.colorTheme===a.NumberingColors.DARK?r.palette.text.primary:r.palette.onSurface.os0},"& .separator-container":{color:r.palette.onSurface.os600},"& .total-container":{color:r.palette.onSurface.os600}}}));exports.Numbering=r=>{var a=e.__rest(r,[]);return t.jsxs(s,Object.assign({},a,{style:a.customStyle,"data-testid":"Numbering",children:[t.jsxs("span",{className:"index-container","data-testid":"Numbering.index",children:[a.index," "]}),t.jsxs("span",{className:"separator-container","data-testid":"Numbering.separator",children:[a.customSeparator?a.customSeparator:"/"," "]}),t.jsx("span",{className:"total-container","data-testid":"Numbering.total",children:a.total})]}))};
|
|
2
2
|
//# sourceMappingURL=numbering.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"numbering.js","sources":["../../../../../src/components/numbering/numbering.tsx"],"sourcesContent":[null],"names":["NumberingStyled","styled","shouldForwardProp","prop","_a","theme","args","__rest","fontWeight","fontSize","size","NumberingSizes","LARGE","lineHeight","letterSpacing","color","colorTheme","NumberingColors","DARK","palette","text","primary","onSurface","os0","os600","props","_jsxs","Object","assign","style","customStyle","children","className","index","customSeparator","_jsx","jsx","total"],"mappings":"
|
|
1
|
+
{"version":3,"file":"numbering.js","sources":["../../../../../src/components/numbering/numbering.tsx"],"sourcesContent":[null],"names":["NumberingStyled","styled","shouldForwardProp","prop","_a","theme","args","__rest","fontWeight","fontSize","size","NumberingSizes","LARGE","lineHeight","letterSpacing","color","colorTheme","NumberingColors","DARK","palette","text","primary","onSurface","os0","os600","props","_jsxs","Object","assign","style","customStyle","children","className","index","customSeparator","_jsx","jsx","total"],"mappings":"+HAqCa,MAkBPA,EAAkBC,EAAMA,OAAC,MAAO,CACpCC,kBAAoBC,GAAkB,oBAATA,GAAuC,eAATA,GADrCF,EAEJG,IAAA,IAAAC,MAAEA,GAAgBD,EAANE,EAAIC,EAAAA,OAAAH,EAAhB,WAClB,MAAO,CACLI,WAAY,MACZC,SAAUH,EAAKI,OAASC,EAAcA,eAACC,MAAQ,OAAS,OACxDC,WAAYP,EAAKI,OAASC,EAAcA,eAACC,MAAQ,OAAS,OAC1DE,cAAe,SAEf,qBAAsB,CACpBC,MAAOT,EAAKU,aAAeC,EAAeA,gBAACC,KAAOb,EAAMc,QAAQC,KAAKC,QAAUhB,EAAMc,QAAQG,UAAUC,KAEzG,yBAA0B,CACxBR,MAAOV,EAAMc,QAAQG,UAAUE,OAEjC,qBAAsB,CACpBT,MAAOV,EAAMc,QAAQG,UAAUE,OAElC,sBApC2CpB,QAAKqB,EAAKlB,EAAAA,OAAAH,EAAV,IAC5C,OACEsB,OAAC1B,EAAe2B,OAAAC,OAAA,CAAA,EAAKH,EAAK,CAAEI,MAAOJ,EAAMK,YAAW,cAAc,YAChEC,SAAA,CAAAL,EAAAA,KAAA,OAAA,CAAMM,UAAU,kBAAiB,cAAa,kBAAiBD,SAAA,CAC5DN,EAAMQ,MAAO,OAEhBP,EAAAA,KAAA,OAAA,CAAMM,UAAU,sBAAkC,cAAA,sBAC/CD,SAAA,CAAAN,EAAMS,gBAAkBT,EAAMS,gBAAkB,IAAK,OAExDC,EAAAC,IAAA,OAAA,CAAMJ,UAAU,kBAA8B,cAAA,kBAC3CD,SAAAN,EAAMY,WAEO"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ElementType } from 'react';
|
|
2
2
|
import { BoxProps } from '@mui/material';
|
|
3
3
|
export interface OverlayProps extends BoxProps<ElementType> {
|
|
4
|
+
variant?: 'default' | 'hero';
|
|
4
5
|
/** The content like image to be displayed inside the overlay. */
|
|
5
6
|
overlayContent?: React.ReactNode;
|
|
6
7
|
/** custom props of the Box wrapper of the component. */
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var r=require("tslib"),e=require("react/jsx-runtime"),a=require("@mui/material");exports.Overlay=t=>{var{wrapperProps:i,sx:s,overlayContent:n,variant:g,children:o}=t,d=r.__rest(t,["wrapperProps","sx","overlayContent","variant","children"]);const l=i||{},{sx:x}=l,b=r.__rest(l,["sx"]);return e.jsxs(a.Box,Object.assign({"data-testid":"Overlay-wrapper",sx:Object.assign({position:"relative",maxWidth:"100%",maxHeight:"100%"},x)},b,{children:[n,e.jsx(a.Box,Object.assign({"data-testid":"Overlay-overlay",sx:Object.assign({position:"absolute",inset:"0",zIndex:"100",background:"hero"===g?"linear-gradient(0deg, rgba(35, 35, 35, 0.3), rgba(35, 35, 35, 0.3)), linear-gradient(180deg, rgba(0, 0, 0, 0.468) 0%, rgba(0, 0, 0, 0) 42.19%, rgba(28, 28, 28, 0.72) 100%)":"linear-gradient(0deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0))"},s)},d,{children:o}))]}))};
|
|
2
|
+
//# sourceMappingURL=Overlay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Overlay.js","sources":["../../../../../src/components/overlay/Overlay.tsx"],"sourcesContent":[null],"names":["_a","wrapperProps","sx","overlayContent","variant","children","rest","__rest","_b","wrapperSx","restWrapper","_jsxs","Box","Object","assign","position","maxWidth","maxHeight","_jsx","inset","zIndex","background"],"mappings":"8GAkBgDA,IAAA,IAAAC,aAAEA,EAAYC,GAAEA,EAAEC,eAAEA,EAAcC,QAAEA,EAAOC,SAAEA,GAAmBL,EAANM,EAAIC,EAAAA,OAAAP,EAA9D,6DAC9C,MAAMQ,EAAoCP,GAAgB,IAAlDC,GAAIO,KAAcC,EAApBH,EAAAA,OAAAC,EAAA,CAAA,OAEN,OACEG,OAACC,EAAGA,IAAAC,OAAAC,OAAA,CAAA,cACU,kBACZZ,GAAMW,OAAAC,OAAA,CAAAC,SAAU,WAAYC,SAAU,OAAQC,UAAW,QAAWR,IAChEC,EAAW,CAAAL,SAAA,CAEdF,EACDe,EAAAA,IAACN,EAAGA,IACUC,OAAAC,OAAA,CAAA,cAAA,kBACZZ,GAAEW,OAAAC,OAAA,CACAC,SAAU,WACVI,MAAO,IACPC,OAAQ,MACRC,WACc,SAAZjB,EACI,8KACA,6DACHF,IAEDI,EAAI,CAAAD,SAEPA,QAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './passwordField';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextFieldProps, IconButtonProps } from '@mui/material';
|
|
3
|
+
export interface PasswordFieldProps extends Omit<TextFieldProps, 'type'> {
|
|
4
|
+
/**
|
|
5
|
+
* Tell browser how it should behave to password field
|
|
6
|
+
* @default new-password
|
|
7
|
+
*/
|
|
8
|
+
autoComplete?: 'new-password' | 'current-password' | string;
|
|
9
|
+
/**
|
|
10
|
+
* Properties provided to button toggling visibility. Can be used to change aria-label.
|
|
11
|
+
*/
|
|
12
|
+
iconButtonProps?: IconButtonProps;
|
|
13
|
+
/**
|
|
14
|
+
* Optional flag if password is visible
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
visible?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Optional function to toggle visibility
|
|
20
|
+
*/
|
|
21
|
+
setVisible?: (visible: boolean) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare const PasswordField: React.FC<PasswordFieldProps>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("tslib"),s=require("react/jsx-runtime"),t=require("react"),i=require("@mui/material"),r=require("../icon/stroke/HideIcon.js"),o=require("../icon/stroke/ShowIcon.js");const n=t.forwardRef(((n,l)=>{var{slotProps:c,iconButtonProps:u,visible:a,setVisible:p}=n,d=e.__rest(n,["slotProps","iconButtonProps","visible","setVisible"]);const j=c||{},{input:b}=j,x=e.__rest(j,["input"]),[w,g]=t.useState(!1),m=null!=a?a:w,q=null!=p?p:g;return s.jsx(i.TextField,Object.assign({ref:l,type:m?"text":"password",autoComplete:"new-password",slotProps:Object.assign({input:Object.assign({endAdornment:s.jsx(i.InputAdornment,{position:"end",children:s.jsx(i.IconButton,Object.assign({onClick:()=>q(!m),"aria-label":"Toggle visibility"},u,{children:m?s.jsx(r.HideIcon,{}):s.jsx(o.ShowIcon,{})}))})},b)},x)},d))}));exports.PasswordField=n;
|
|
2
|
+
//# sourceMappingURL=passwordField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"passwordField.js","sources":["../../../../../src/components/passwordField/passwordField.tsx"],"sourcesContent":[null],"names":["PasswordField","forwardRef","_a","ref","slotProps","iconButtonProps","visible","propsVisible","setVisible","setPropsVisible","rest","__rest","_b","input","inputSlotProps","restSlotProps","rawVisible","setRawVisible","useState","_jsx","jsx","TextField","Object","assign","type","autoComplete","endAdornment","InputAdornment","position","IconButton","onClick","HideIcon","ShowIcon"],"mappings":"iMA0Ba,MAAAA,EAA8CC,EAAUA,YACnE,CAACC,EAA6FC,KAA7F,IAAAC,UAAEA,EAASC,gBAAEA,EAAiBC,QAASC,EAAcC,WAAYC,GAA0BP,EAANQ,EAAIC,EAAAA,OAAAT,EAAzF,wDACC,MAAMU,EAA8CR,GAAa,IAAzDS,MAAOC,KAAmBC,EAA5BJ,EAAAA,OAAAC,EAAA,CAAA,WACCI,EAAYC,GAAiBC,EAAAA,UAAkB,GAChDZ,EAAUC,QAAAA,EAAgBS,EAC1BR,EAAaC,QAAAA,EAAmBQ,EAEtC,OACEE,EAACC,IAAAC,EAASA,UACRC,OAAAC,OAAA,CAAApB,IAAKA,EACLqB,KAAMlB,EAAU,OAAS,WACzBmB,aAAa,eACbrB,UAASkB,OAAAC,OAAA,CACPV,MACES,OAAAC,OAAA,CAAAG,aACEP,MAACQ,EAAAA,eAAc,CAACC,SAAS,eACvBT,EAACC,IAAAS,EAAUA,WAACP,OAAAC,OAAA,CAAAO,QAAS,IAAMtB,GAAYF,GAAQ,aAAa,qBAAwBD,YACjFC,EAAUa,EAAAA,IAACY,EAAAA,SAAQ,CAAA,GAAMZ,EAAAA,IAACa,EAAAA,mBAI9BlB,IAEFC,IAEDL,GACJ"}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import React, { ElementType } from 'react';
|
|
2
2
|
import { BoxProps, CircularProgressProps, IconButtonProps, SvgIconProps } from '@mui/material';
|
|
3
|
-
export interface
|
|
4
|
-
/**
|
|
3
|
+
export interface PlayPauseButtonProps extends BoxProps<ElementType> {
|
|
4
|
+
/**
|
|
5
|
+
* Boolean to indicate if the media is currently playing
|
|
6
|
+
*/
|
|
5
7
|
isPlaying: boolean;
|
|
6
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Callback function to handle play/pause button click events.
|
|
10
|
+
*/
|
|
7
11
|
onClick: () => void;
|
|
8
|
-
/** Custom props for the background CircularProgress component. */
|
|
9
12
|
/**
|
|
10
13
|
* The progress value for the CircularProgress component.
|
|
11
14
|
* Should be a number between 0 and 100.
|
|
12
15
|
*/
|
|
13
16
|
progress?: number;
|
|
17
|
+
/** Custom props for the background CircularProgress component. */
|
|
14
18
|
circularProgressBgProps?: CircularProgressProps;
|
|
15
19
|
/** Custom props for the foreground CircularProgress component. */
|
|
16
20
|
circularProgressProps?: CircularProgressProps;
|
|
@@ -23,7 +27,13 @@ export interface VideoPlayPauseIndicatorProps extends BoxProps<ElementType> {
|
|
|
23
27
|
playIconProps?: SvgIconProps;
|
|
24
28
|
PlayIconComponent?: ElementType<SvgIconProps>;
|
|
25
29
|
}
|
|
30
|
+
export interface VideoPlayPauseIndicatorProps extends PlayPauseButtonProps {
|
|
31
|
+
}
|
|
26
32
|
/**
|
|
27
33
|
* A component that displays a circular progress indicator with a play/pause button.
|
|
28
34
|
*/
|
|
35
|
+
export declare const PlayPauseButton: React.FC<PlayPauseButtonProps>;
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated renamed to <PlayPauseButton />
|
|
38
|
+
*/
|
|
29
39
|
export declare const VideoPlayPauseIndicator: React.FC<VideoPlayPauseIndicatorProps>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var s=require("tslib"),e=require("react/jsx-runtime"),o=require("react"),r=require("@mui/material"),n=require("../icon/stroke/ControlsPlayIcon.js"),t=require("../icon/stroke/ControlsPauseIcon.js");const i=o.forwardRef(((o,i)=>{var{progress:a=0,isPlaying:c,onClick:l,circularProgressBgProps:u,circularProgressProps:P,iconButtonProps:d,pauseIconProps:x,PauseIconComponent:p,playIconProps:I,PlayIconComponent:g,children:j,sx:b}=o,y=s.__rest(o,["progress","isPlaying","onClick","circularProgressBgProps","circularProgressProps","iconButtonProps","pauseIconProps","PauseIconComponent","playIconProps","PlayIconComponent","children","sx"]);const C=u||{},{sx:m}=C,O=s.__rest(C,["sx"]),h=P||{},{sx:v}=h,B=s.__rest(h,["sx"]),_=d||{},{sx:f}=_,k=s.__rest(_,["sx"]),z=p||t.ControlsPauseIcon,q=g||n.ControlsPlayIcon;return e.jsxs(r.Box,Object.assign({"data-testid":"PlayPauseIndicator",sx:Object.assign({position:"relative",zIndex:"150",width:"44px",height:"44px"},b),ref:i},y,{children:[e.jsx(r.CircularProgress,Object.assign({sx:Object.assign({color:"onSurface.os0",position:"absolute",inset:"0",zIndex:"10"},m),size:44,thickness:1.75,variant:"determinate",value:100},O)),e.jsx(r.CircularProgress,Object.assign({sx:Object.assign({color:"brandHover.secondary",position:"absolute",inset:"0",zIndex:"20"},v),size:44,thickness:1.75,variant:"determinate",value:a||0},B)),e.jsx(r.IconButton,Object.assign({"data-testid":"IndicatorIconButton",onClick:l,color:"white",size:"medium",sx:Object.assign({position:"absolute",inset:"0",zIndex:"30"},f),"aria-label":c?"Pause video":"Play video"},k,{children:c?e.jsx(z,Object.assign({"data-testid":"IndicatorPauseIcon"},x)):e.jsx(q,Object.assign({"data-testid":"IndicatorPlayIcon"},I))}))]}))})),a=o.forwardRef(((s,o)=>e.jsx(i,Object.assign({ref:o},s))));exports.PlayPauseButton=i,exports.VideoPlayPauseIndicator=a;
|
|
2
|
+
//# sourceMappingURL=PlayPauseButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlayPauseButton.js","sources":["../../../../../src/components/playPauseButton/PlayPauseButton.tsx"],"sourcesContent":[null],"names":["PlayPauseButton","forwardRef","_a","ref","progress","isPlaying","onClick","circularProgressBgProps","circularProgressProps","iconButtonProps","pauseIconProps","PauseIconComponent","playIconProps","PlayIconComponent","children","sx","rest","__rest","_b","circularProgressBgSx","restCircularProgressBg","_c","circularProgressSx","restCircularProgress","_d","iconButtonSx","restIconButton","PauseIcon","ControlsPauseIcon","PlayIcon","ControlsPlayIcon","_jsxs","Box","Object","assign","position","zIndex","width","height","_jsx","jsx","CircularProgress","color","inset","size","thickness","variant","value","IconButton","VideoPlayPauseIndicator","props"],"mappings":"kNA6Ca,MAAAA,EAAkDC,EAAUA,YACvE,CACEC,EAeAC,KAfA,IAAAC,SACEA,EAAW,EAACC,UACZA,EAASC,QACTA,EAAOC,wBACPA,EAAuBC,sBACvBA,EAAqBC,gBACrBA,EAAeC,eACfA,EAAcC,mBACdA,EAAkBC,cAClBA,EAAaC,kBACbA,EAAiBC,SACjBA,EAAQC,GACRA,GAEDb,EADIc,EAAIC,EAAAA,OAAAf,EAbT,kMAiBA,MAAMgB,EAA0DX,GAA2B,IAAnFQ,GAAII,KAAyBC,EAA/BH,EAAAA,OAAAC,EAAA,CAAA,OACAG,EAAsDb,GAAyB,IAA7EO,GAAIO,KAAuBC,EAA7BN,EAAAA,OAAAI,EAAA,CAAA,OACAG,EAA0Cf,GAAmB,IAA3DM,GAAIU,KAAiBC,EAAvBT,EAAAA,OAAAO,EAAA,CAAA,OACAG,EAAYhB,GAAsBiB,EAAiBA,kBACnDC,EAAWhB,GAAqBiB,EAAgBA,iBAEtD,OACEC,EAAAA,KAACC,EAAAA,IAAGC,OAAAC,OAAA,CAAA,cACU,qBACZnB,GACEkB,OAAAC,OAAA,CAAAC,SAAU,WACVC,OAAQ,MACRC,MAAO,OACPC,OAAQ,QACLvB,GAELZ,IAAKA,GACDa,EAAI,CAAAF,SAAA,CAERyB,EAACC,IAAAC,EAAgBA,gCACf1B,GAAEkB,OAAAC,OAAA,CAEAQ,MAAO,gBACPP,SAAU,WACVQ,MAAO,IACPP,OAAQ,MACLjB,GAELyB,KAAM,GACNC,UAAW,KACXC,QAAQ,cACRC,MAAO,KACH3B,IAENmB,EAAAA,IAACE,EAAgBA,gCACf1B,GAAEkB,OAAAC,OAAA,CAEAQ,MAAO,uBACPP,SAAU,WACVQ,MAAO,IACPP,OAAQ,MACLd,GAELsB,KAAM,GACNC,UAAW,KACXC,QAAQ,cACRC,MAAO3C,GAAY,GACfmB,IAENgB,EAACC,IAAAQ,EAAUA,wCACG,sBACZ1C,QAASA,EACToC,MAAM,QACNE,KAAK,SACL7B,GAAMkB,OAAAC,OAAA,CAAAC,SAAU,WAAYQ,MAAO,IAAKP,OAAQ,MAASX,GAC7C,aAAApB,EAAY,cAAgB,cACpCqB,EAEH,CAAAZ,SAAAT,EACCkC,EAAAC,IAACb,EAASM,OAAAC,OAAA,CAAA,cAAa,sBAAyBxB,IAEhD6B,EAAAA,IAACV,EAAQI,OAAAC,OAAA,CAAA,cAAa,qBAAwBtB,UAG9C,IAQCqC,EAAkEhD,EAAUA,YAAC,CAACiD,EAAO/C,IACzFoC,EAAAC,IAACxC,EAAgBiC,OAAAC,OAAA,CAAA/B,IAAKA,GAAS+C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PlayPauseButton';
|
|
@@ -38,6 +38,10 @@ export interface QuickLinkProps extends Omit<StackProps<ElementType>, 'title'> {
|
|
|
38
38
|
* Content wrapper
|
|
39
39
|
*/
|
|
40
40
|
contentWrapperProps?: BoxProps<ElementType>;
|
|
41
|
+
/**
|
|
42
|
+
* Icon and Title wrapper that changes on the mobile
|
|
43
|
+
*/
|
|
44
|
+
titleWrapperProps?: StackProps;
|
|
41
45
|
/**
|
|
42
46
|
* Button text
|
|
43
47
|
*/
|
|
@@ -46,10 +50,6 @@ export interface QuickLinkProps extends Omit<StackProps<ElementType>, 'title'> {
|
|
|
46
50
|
* Props applied to Button component
|
|
47
51
|
*/
|
|
48
52
|
buttonProps?: ButtonProps;
|
|
49
|
-
/**
|
|
50
|
-
* Props applied to Icon in Button
|
|
51
|
-
*/
|
|
52
|
-
buttonIconProps?: IconProps;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* Quick Links are used to provide immediate access to the most relevant and
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var t=require("tslib"),
|
|
1
|
+
"use strict";var t=require("tslib"),r=require("react/jsx-runtime"),s=require("react"),i=require("@mui/material"),e=require("../icon/icon.js");require("../icon/icon.definitions.js");var n=require("../icon/stroke/ArrowRightIcon.js"),o=require("../../materialui/button/interactive.js");const a=s.forwardRef(((s,a)=>{var{iconName:c,iconProps:p,title:x,titleTypographyProps:d,subtitle:l,subtitleTypographyProps:u,dividerWrapperProps:b,dividerProps:g,contentWrapperProps:m,titleWrapperProps:j,buttonTitle:h,buttonProps:k,buttonIconProps:y,onClick:f,sx:O}=s,P=t.__rest(s,["iconName","iconProps","title","titleTypographyProps","subtitle","subtitleTypographyProps","dividerWrapperProps","dividerProps","contentWrapperProps","titleWrapperProps","buttonTitle","buttonProps","buttonIconProps","onClick","sx"]);const v=p||{},{sx:I}=v,_=t.__rest(v,["sx"]),B=b||{},{sx:T}=B,W=t.__rest(B,["sx"]),q=g||{},{sx:C}=q,w=t.__rest(q,["sx"]),L=m||{},{sx:Q}=L,M=t.__rest(L,["sx"]),S=j||{},{sx:R}=S,X=t.__rest(S,["sx"]);return r.jsxs(i.Stack,Object.assign({direction:"column",alignItems:"flex-start",sx:Object.assign(Object.assign({minWidth:"0",cursor:"pointer",color:"inherit",textDecoration:"unset",gap:{xs:"8px",md:"16px"}},o.getInteractiveStyle({hr:{backgroundColor:"text.primary",height:"1px"},".MuiButton-navigation":{backgroundColor:"transparent",color:"onSurface.os900","& .MuiButton-startIcon":{transform:"translateX(0px)"},"& .MuiButton-endIcon":{transform:"translateX(0px)"}}},{hr:{backgroundColor:"brand.primary",height:"2px"},".MuiButton-navigation":{backgroundColor:"transparent",color:"onSurface.os700",".MuiButton-startIcon":{transform:"translateX(-8px)"},".MuiButton-endIcon":{transform:"translateX(8px)"}}})),O),"data-testid":"QuickLink",ref:a},f&&{onClick:f,role:"button"},{tabIndex:-1},P,{children:[r.jsx(i.Box,Object.assign({sx:Object.assign({position:"relative",width:"100%",height:"2px","&&":{mb:{xs:0,md:c?0:2}}},T)},W,{children:r.jsx(i.Box,Object.assign({component:"hr",sx:Object.assign({border:"none",position:"absolute",inset:"0",m:0},C)},w))})),r.jsxs(i.Box,Object.assign({sx:Object.assign({width:"480px",maxWidth:"100%",pr:3,pt:{xs:"8px",md:"0px"}},Q)},M,{children:[r.jsxs(i.Stack,Object.assign({sx:Object.assign({flexDirection:{xs:"row",md:"column"},alignItems:{xs:"center",md:"flex-start"},gap:{xs:"4px",md:"18px"},mb:{xs:"4px",md:0}},R)},X,{children:[c&&r.jsx(e.Icon,Object.assign({name:c,sx:Object.assign({display:"block",fontSize:{xs:"20px",md:"35px"},mx:{xs:"2px",md:"0px"},my:{xs:"0px",md:"2px"}},I),"data-testid":"QuickLink.icon"},_)),x&&r.jsx(i.Typography,Object.assign({variant:"h4",display:"block","data-testid":"QuickLink.title",sx:{mb:{xs:0,md:.5}}},d,{children:x}))]})),l&&r.jsx(i.Typography,Object.assign({variant:"disclaimer",display:"block","data-testid":"QuickLink.subtitle"},u,{children:l}))]})),h&&r.jsx(i.Button,Object.assign({variant:"navigation",color:"secondary",endIcon:r.jsx(n.ArrowRightIcon,{}),"data-testid":"QuickLink.button"},k,{children:h}))]}))})),c=s.forwardRef(((s,e)=>{var{sx:n,children:o}=s,a=t.__rest(s,["sx","children"]);return r.jsx(i.Box,Object.assign({sx:Object.assign({display:"grid",gridTemplateColumns:{xs:"1fr",lg:"repeat(3, 1fr)"},gap:3},n),ref:e},a,{children:o}))}));exports.QuickLink=a,exports.QuickLinkWrapper=c;
|
|
2
2
|
//# sourceMappingURL=quickLink.js.map
|