@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,2 +1,2 @@
|
|
|
1
|
-
import{__rest as h}from"tslib";import{jsx as f,jsxs as a}from"react/jsx-runtime";import{forwardRef as l,useMemo as c}from"react";import{useTheme as t,ButtonBase as i,SvgIcon as v}from"@mui/material";import{getFocusRingStyle as m}from"../focusring/focusring.js";const e=l(((a,l)=>{var{variant:v}=a,e=h(a,["variant"]);const[p,o]=c((()=>"apple-store"===v?[d,"Apple App Store"]:[r,"Google Play"]),[v]),s=t();return f(i,Object.assign({sx:Object.assign(Object.assign({position:"relative",transition:"all 0.3s ease-out","&:active":{transform:"scale(0.95)"}},m(s)),{"&&:before":{borderRadius:"4px"}}),"aria-label":o,ref:l},e,{children:f(p,{})}))}));function r(h){return a(v,Object.assign({viewBox:"0 0 180 53.333",sx:{height:"36px",width:"auto"}},h,{children:[f("path",{d:"m173.33 53.333h-166.66c-3.6666 0-6.6665-2.9999-6.6665-6.6665v-39.999c0-3.6666 2.9999-6.6665 6.6665-6.6665h166.66c3.6666 0 6.6665 2.9999 6.6665 6.6665v39.999c0 3.6666-2.9999 6.6665-6.6665 6.6665",fill:"#100f0d",strokeWidth:".13333"}),f("path",{d:"m173.33 1e-3h-166.66c-3.6666 0-6.6665 2.9999-6.6665 6.6665v39.999c0 3.6666 2.9999 6.6665 6.6665 6.6665h166.66c3.6666 0 6.6665-2.9999 6.6665-6.6665v-39.999c0-3.6666-2.9999-6.6665-6.6665-6.6665zm0 1.0661c3.0879 0 5.5999 2.5125 5.5999 5.6004v39.999c0 3.0879-2.5119 5.6004-5.5999 5.6004h-166.66c-3.0879 0-5.5993-2.5125-5.5993-5.6004v-39.999c0-3.0879 2.5114-5.6004 5.5993-5.6004h166.66",fill:"#a2a2a1",strokeWidth:".13333"}),f("path",{d:"m142.58 40h2.4879v-16.669h-2.4879zm22.409-10.664-2.8519 7.2264h-0.0853l-2.9599-7.2264h-2.6799l4.4399 10.1-2.5319 5.6185h2.5946l6.8412-15.718zm-14.11 8.7706c-0.81331 0-1.9506-0.40786-1.9506-1.4156 0-1.2865 1.416-1.7797 2.6373-1.7797 1.0933 0 1.6093 0.23546 2.2733 0.55732-0.19333 1.5442-1.5226 2.6379-2.9599 2.6379zm0.30133-9.1352c-1.8013 0-3.6666 0.79371-4.4386 2.5521l2.208 0.92184c0.47198-0.92184 1.3506-1.2218 2.2733-1.2218 1.2866 0 2.5946 0.77131 2.6159 2.1442v0.17133c-0.45066-0.25733-1.416-0.64318-2.5946-0.64318-2.3813 0-4.8039 1.3077-4.8039 3.7524 0 2.2302 1.952 3.6671 4.1386 3.6671 1.672 0 2.5959-0.75054 3.1732-1.6301h0.0867v1.2874h2.4026v-6.391c0-2.9593-2.2106-4.6103-5.0612-4.6103zm-15.376 2.3937h-3.5386v-5.7133h3.5386c1.86 0 2.9159 1.5396 2.9159 2.8566 0 1.2917-1.056 2.8567-2.9159 2.8567zm-0.064-8.0337h-5.9614v16.669h2.4869v-6.3149h3.4746c2.7573 0 5.4679-1.9958 5.4679-5.1765 0-3.1801-2.7106-5.1769-5.4679-5.1769zm-32.507 14.778c-1.7188 0-3.1573-1.4396-3.1573-3.415 0-1.9984 1.4385-3.4583 3.1573-3.4583 1.6969 0 3.0286 1.46 3.0286 3.4583 0 1.9754-1.3317 3.415-3.0286 3.415zm2.8567-7.8403h-0.086c-0.55826-0.66572-1.6328-1.2672-2.9853-1.2672-2.8359 0-5.4348 2.4921-5.4348 5.6925 0 3.1786 2.5989 5.6488 5.4348 5.6488 1.3525 0 2.427-0.6016 2.9853-1.2885h0.086v0.81558c0 2.1703-1.1598 3.3296-3.0286 3.3296-1.5245 0-2.4697-1.0953-2.8567-2.0188l-2.1691 0.90206c0.62238 1.503 2.2759 3.351 5.0259 3.351 2.9218 0 5.392-1.7188 5.392-5.9077v-10.181h-2.3634zm4.0822 9.7304h2.4906v-16.669h-2.4906zm6.164-5.4988c-0.0641-2.1911 1.6978-3.3078 2.9645-3.3078 0.98851 0 1.8254 0.49425 2.1057 1.2026zm7.7326-1.8906c-0.47238-1.2666-1.9114-3.6082-4.8541-3.6082-2.9218 0-5.3488 2.2983-5.3488 5.6707 0 3.1791 2.4062 5.6707 5.6275 5.6707 2.5989 0 4.1031-1.589 4.7264-2.513l-1.9333-1.289c-0.64465 0.94531-1.5249 1.5682-2.7931 1.5682-1.2666 0-2.1692-0.58012-2.7483-1.7186l7.5815-3.1359zm-60.409-1.8682v2.4057h5.7565c-0.17186 1.3532-0.62292 2.3411-1.3104 3.0286-0.83798 0.83745-2.1483 1.7614-4.4462 1.7614-3.5443 0-6.315-2.8567-6.315-6.4009s2.7707-6.4013 6.315-6.4013c1.9118 0 3.3077 0.75198 4.3388 1.7186l1.6974-1.6973c-1.4396-1.3745-3.351-2.427-6.0362-2.427-4.8552 0-8.9363 3.9524-8.9363 8.807 0 4.8541 4.0811 8.8066 8.9363 8.8066 2.6202 0 4.5967-0.85932 6.143-2.4702 1.5896-1.5896 2.0838-3.8234 2.0838-5.628 0-0.55785-0.04333-1.0734-0.1292-1.5032zm14.772 7.3675c-1.7188 0-3.201-1.4177-3.201-3.4368 0-2.0406 1.4822-3.4364 3.201-3.4364 1.7181 0 3.2003 1.3958 3.2003 3.4364 0 2.0191-1.4822 3.4368-3.2003 3.4368zm0-9.1075c-3.137 0-5.6927 2.3842-5.6927 5.6707 0 3.265 2.5557 5.6707 5.6927 5.6707 3.1358 0 5.692-2.4057 5.692-5.6707 0-3.2865-2.5562-5.6707-5.692-5.6707zm12.417 9.1075c-1.7176 0-3.2003-1.4177-3.2003-3.4368 0-2.0406 1.4828-3.4364 3.2003-3.4364 1.7188 0 3.2005 1.3958 3.2005 3.4364 0 2.0191-1.4817 3.4368-3.2005 3.4368zm0-9.1075c-3.1358 0-5.6915 2.3842-5.6915 5.6707 0 3.265 2.5557 5.6707 5.6915 5.6707 3.137 0 5.6927-2.4057 5.6927-5.6707 0-3.2865-2.5557-5.6707-5.6927-5.6707",fill:"#fff",strokeWidth:".13333"}),f("path",{d:"m27.622 25.899-14.194 15.066c5.34e-4 0.0031 0.0016 0.0057 0.0021 0.0089 0.43532 1.636 1.9296 2.8406 3.703 2.8406 0.70892 0 1.3745-0.19166 1.9453-0.52812l0.04533-0.02656 15.978-9.22-7.479-8.141",fill:"#eb3131",strokeWidth:".13333"}),f("path",{d:"m41.983 23.334-0.0136-0.0093-6.8982-3.999-7.7717 6.9156 7.7987 7.7977 6.8618-3.9592c1.203-0.64945 2.0197-1.9177 2.0197-3.3802 0-1.452-0.80571-2.7139-1.9968-3.3655",fill:"#f6b60b",strokeWidth:".13333"}),f("path",{d:"m13.426 12.37c-0.08533 0.31466-0.13018 0.64425-0.13018 0.98651v26.623c0 0.34162 0.04432 0.67233 0.13072 0.98587l14.684-14.681-14.684-13.914",fill:"#5778c5",strokeWidth:".13333"}),f("path",{d:"m27.727 26.668 7.3473-7.3451-15.96-9.2534c-0.58012-0.34746-1.2572-0.54799-1.9817-0.54799-1.7734 0-3.2697 1.2068-3.7051 2.8447-5.34e-4 0.0016-5.34e-4 0.0027-5.34e-4 0.0041l14.3 14.298",fill:"#3bad49",strokeWidth:".13333"}),f("path",{d:"m63.193 13.042h-3.8895v0.96251h2.9146c-0.0792 0.78545-0.39172 1.4021-0.91878 1.85-0.52705 0.44799-1.2 0.67292-1.9958 0.67292-0.87291 0-1.6125-0.30413-2.2186-0.90824-0.59385-0.61665-0.89584-1.3792-0.89584-2.2979 0-0.91864 0.30199-1.6812 0.89584-2.2978 0.60612-0.60412 1.3457-0.90624 2.2186-0.90624 0.44799 0 0.87504 0.07707 1.2666 0.24586 0.39172 0.16866 0.70625 0.40412 0.95211 0.70625l0.73958-0.73958c-0.33546-0.38132-0.76038-0.67292-1.2876-0.88544-0.52705-0.21253-1.077-0.31453-1.6708-0.31453-1.1645 0-2.1519 0.40412-2.9582 1.2104-0.80625 0.80825-1.2104 1.8041-1.2104 2.9811 0 1.177 0.40412 2.175 1.2104 2.9813 0.80625 0.80611 1.7937 1.2104 2.9582 1.2104 1.2229 0 2.1979-0.39172 2.9479-1.1876 0.66038-0.66238 0.99784-1.5582 0.99784-2.679 0-0.1896-0.02293-0.39172-0.05627-0.60425zm1.5068-3.7332v8.0249h4.6852v-0.98544h-3.654v-2.5457h3.2958v-0.96251h-3.2958v-2.5437h3.654v-0.98758zm11.255 0.98758v-0.98758h-5.5145v0.98758h2.2417v7.0373h1.0312v-7.0373zm4.9925-0.98758h-1.0312v8.0249h1.0312zm6.8066 0.98758v-0.98758h-5.5144v0.98758h2.2415v7.0373h1.0312v-7.0373zm10.406 0.05626c-0.79585-0.81877-1.7708-1.2229-2.9354-1.2229-1.1666 0-2.1415 0.40412-2.9374 1.2104-0.79585 0.79585-1.1874 1.7937-1.1874 2.9811s0.39159 2.1854 1.1874 2.9813c0.79585 0.80611 1.7708 1.2104 2.9374 1.2104 1.1541 0 2.1395-0.40426 2.9354-1.2104 0.79585-0.79585 1.1874-1.7938 1.1874-2.9813 0-1.177-0.39159-2.1729-1.1874-2.9686zm-5.1332 0.67078c0.59372-0.60412 1.3229-0.90624 2.1978-0.90624 0.87291 0 1.6021 0.30213 2.1854 0.90624 0.59372 0.59372 0.88531 1.3686 0.88531 2.2978 0 0.93131-0.29159 1.7041-0.88531 2.2979-0.58332 0.60412-1.3125 0.90824-2.1854 0.90824-0.87491 0-1.6041-0.30413-2.1978-0.90824-0.58132-0.60625-0.87291-1.3666-0.87291-2.2979 0-0.92918 0.29159-1.6916 0.87291-2.2978zm8.7706 1.3125-0.0437-1.548h0.0437l4.0791 6.5457h1.077v-8.0249h-1.0312v4.6957l0.0437 1.548h-0.0437l-3.8999-6.2437h-1.2562v8.0249h1.0312z",fill:"#fff",stroke:"#fff",strokeMiterlimit:"10",strokeWidth:".26666"})]}))}function d(h){return a(v,Object.assign({viewBox:"0 0 119.66407 40",sx:{height:"36px",width:"auto"}},h,{children:[f("path",{d:"M110.13477,0H9.53468c-.3667,0-.729,0-1.09473.002-.30615.002-.60986.00781-.91895.0127A13.21476,13.21476,0,0,0,5.5171.19141a6.66509,6.66509,0,0,0-1.90088.627A6.43779,6.43779,0,0,0,1.99757,1.99707,6.25844,6.25844,0,0,0,.81935,3.61816a6.60119,6.60119,0,0,0-.625,1.90332,12.993,12.993,0,0,0-.1792,2.002C.00587,7.83008.00489,8.1377,0,8.44434V31.5586c.00489.3105.00587.6113.01515.9219a12.99232,12.99232,0,0,0,.1792,2.0019,6.58756,6.58756,0,0,0,.625,1.9043A6.20778,6.20778,0,0,0,1.99757,38.001a6.27445,6.27445,0,0,0,1.61865,1.1787,6.70082,6.70082,0,0,0,1.90088.6308,13.45514,13.45514,0,0,0,2.0039.1768c.30909.0068.6128.0107.91895.0107C8.80567,40,9.168,40,9.53468,40H110.13477c.3594,0,.7246,0,1.084-.002.3047,0,.6172-.0039.9219-.0107a13.279,13.279,0,0,0,2-.1768,6.80432,6.80432,0,0,0,1.9082-.6308,6.27742,6.27742,0,0,0,1.6172-1.1787,6.39482,6.39482,0,0,0,1.1816-1.6143,6.60413,6.60413,0,0,0,.6191-1.9043,13.50643,13.50643,0,0,0,.1856-2.0019c.0039-.3106.0039-.6114.0039-.9219.0078-.3633.0078-.7246.0078-1.0938V9.53613c0-.36621,0-.72949-.0078-1.09179,0-.30664,0-.61426-.0039-.9209a13.5071,13.5071,0,0,0-.1856-2.002,6.6177,6.6177,0,0,0-.6191-1.90332,6.46619,6.46619,0,0,0-2.7988-2.7998,6.76754,6.76754,0,0,0-1.9082-.627,13.04394,13.04394,0,0,0-2-.17676c-.3047-.00488-.6172-.01074-.9219-.01269-.3594-.002-.7246-.002-1.084-.002Z",fill:"#a6a6a6"}),f("path",{d:"M8.44483,39.125c-.30468,0-.602-.0039-.90429-.0107a12.68714,12.68714,0,0,1-1.86914-.1631,5.88381,5.88381,0,0,1-1.65674-.5479,5.40573,5.40573,0,0,1-1.397-1.0166,5.32082,5.32082,0,0,1-1.02051-1.3965,5.72186,5.72186,0,0,1-.543-1.6572,12.41351,12.41351,0,0,1-.1665-1.875c-.00634-.2109-.01464-.9131-.01464-.9131V8.44434S.88185,7.75293.8877,7.5498a12.37039,12.37039,0,0,1,.16553-1.87207,5.7555,5.7555,0,0,1,.54346-1.6621A5.37349,5.37349,0,0,1,2.61183,2.61768,5.56543,5.56543,0,0,1,4.01417,1.59521a5.82309,5.82309,0,0,1,1.65332-.54394A12.58589,12.58589,0,0,1,7.543.88721L8.44532.875H111.21387l.9131.0127a12.38493,12.38493,0,0,1,1.8584.16259,5.93833,5.93833,0,0,1,1.6709.54785,5.59374,5.59374,0,0,1,2.415,2.41993,5.76267,5.76267,0,0,1,.5352,1.64892,12.995,12.995,0,0,1,.1738,1.88721c.0029.2832.0029.5874.0029.89014.0079.375.0079.73193.0079,1.09179V30.4648c0,.3633,0,.7178-.0079,1.0752,0,.3252,0,.6231-.0039.9297a12.73126,12.73126,0,0,1-.1709,1.8535,5.739,5.739,0,0,1-.54,1.67,5.48029,5.48029,0,0,1-1.0156,1.3857,5.4129,5.4129,0,0,1-1.3994,1.0225,5.86168,5.86168,0,0,1-1.668.5498,12.54218,12.54218,0,0,1-1.8692.1631c-.2929.0068-.5996.0107-.8974.0107l-1.084.002Z"}),f("path",{d:"M24.76888,20.30068a4.94881,4.94881,0,0,1,2.35656-4.15206,5.06566,5.06566,0,0,0-3.99116-2.15768c-1.67924-.17626-3.30719,1.00483-4.1629,1.00483-.87227,0-2.18977-.98733-3.6085-.95814a5.31529,5.31529,0,0,0-4.47292,2.72787c-1.934,3.34842-.49141,8.26947,1.3612,10.97608.9269,1.32535,2.01018,2.8058,3.42763,2.7533,1.38706-.05753,1.9051-.88448,3.5794-.88448,1.65876,0,2.14479.88448,3.591.8511,1.48838-.02416,2.42613-1.33124,3.32051-2.66914a10.962,10.962,0,0,0,1.51842-3.09251A4.78205,4.78205,0,0,1,24.76888,20.30068Z",fill:"#fff"}),f("path",{d:"M22.03725,12.21089a4.87248,4.87248,0,0,0,1.11452-3.49062,4.95746,4.95746,0,0,0-3.20758,1.65961,4.63634,4.63634,0,0,0-1.14371,3.36139A4.09905,4.09905,0,0,0,22.03725,12.21089Z",fill:"#fff"}),f("path",{d:"M42.30227,27.13965h-4.7334l-1.13672,3.35645H34.42727l4.4834-12.418h2.083l4.4834,12.418H43.438ZM38.0591,25.59082h3.752l-1.84961-5.44727h-.05176Z",fill:"#fff"}),f("path",{d:"M55.15969,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H48.4302v1.50586h.03418a3.21162,3.21162,0,0,1,2.88281-1.60059C53.645,21.34766,55.15969,23.16406,55.15969,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C52.30227,29.01563,53.24953,27.81934,53.24953,25.96973Z",fill:"#fff"}),f("path",{d:"M65.12453,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H58.395v1.50586h.03418A3.21162,3.21162,0,0,1,61.312,21.34766C63.60988,21.34766,65.12453,23.16406,65.12453,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C62.26711,29.01563,63.21438,27.81934,63.21438,25.96973Z",fill:"#fff"}),f("path",{d:"M71.71047,27.03613c.1377,1.23145,1.334,2.04,2.96875,2.04,1.56641,0,2.69336-.80859,2.69336-1.91895,0-.96387-.67969-1.541-2.28906-1.93652l-1.60937-.3877c-2.28027-.55078-3.33887-1.61719-3.33887-3.34766,0-2.14258,1.86719-3.61426,4.51855-3.61426,2.624,0,4.42285,1.47168,4.4834,3.61426h-1.876c-.1123-1.23926-1.13672-1.9873-2.63379-1.9873s-2.52148.75684-2.52148,1.8584c0,.87793.6543,1.39453,2.25488,1.79l1.36816.33594c2.54785.60254,3.60645,1.626,3.60645,3.44238,0,2.32324-1.85059,3.77832-4.79395,3.77832-2.75391,0-4.61328-1.4209-4.7334-3.667Z",fill:"#fff"}),f("path",{d:"M83.34621,19.2998v2.14258h1.72168v1.47168H83.34621v4.99121c0,.77539.34473,1.13672,1.10156,1.13672a5.80752,5.80752,0,0,0,.61133-.043v1.46289a5.10351,5.10351,0,0,1-1.03223.08594c-1.833,0-2.54785-.68848-2.54785-2.44434V22.91406H80.16262V21.44238H81.479V19.2998Z",fill:"#fff"}),f("path",{d:"M86.065,25.96973c0-2.84863,1.67773-4.63867,4.29395-4.63867,2.625,0,4.29492,1.79,4.29492,4.63867,0,2.85645-1.66113,4.63867-4.29492,4.63867C87.72609,30.6084,86.065,28.82617,86.065,25.96973Zm6.69531,0c0-1.9541-.89551-3.10742-2.40137-3.10742s-2.40039,1.16211-2.40039,3.10742c0,1.96191.89453,3.10645,2.40039,3.10645S92.76027,27.93164,92.76027,25.96973Z",fill:"#fff"}),f("path",{d:"M96.18606,21.44238h1.77246v1.541h.043a2.1594,2.1594,0,0,1,2.17773-1.63574,2.86616,2.86616,0,0,1,.63672.06934v1.73828a2.59794,2.59794,0,0,0-.835-.1123,1.87264,1.87264,0,0,0-1.93652,2.083v5.37012h-1.8584Z",fill:"#fff"}),f("path",{d:"M109.3843,27.83691c-.25,1.64355-1.85059,2.77148-3.89844,2.77148-2.63379,0-4.26855-1.76465-4.26855-4.5957,0-2.83984,1.64355-4.68164,4.19043-4.68164,2.50488,0,4.08008,1.7207,4.08008,4.46582v.63672h-6.39453v.1123a2.358,2.358,0,0,0,2.43555,2.56445,2.04834,2.04834,0,0,0,2.09082-1.27344Zm-6.28223-2.70215h4.52637a2.1773,2.1773,0,0,0-2.2207-2.29785A2.292,2.292,0,0,0,103.10207,25.13477Z",fill:"#fff"}),f("path",{d:"M37.82619,8.731a2.63964,2.63964,0,0,1,2.80762,2.96484c0,1.90625-1.03027,3.002-2.80762,3.002H35.67092V8.731Zm-1.22852,5.123h1.125a1.87588,1.87588,0,0,0,1.96777-2.146,1.881,1.881,0,0,0-1.96777-2.13379h-1.125Z",fill:"#fff"}),f("path",{d:"M41.68068,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C44.57522,13.99463,45.01369,13.42432,45.01369,12.44434Z",fill:"#fff"}),f("path",{d:"M51.57326,14.69775h-.92187l-.93066-3.31641h-.07031l-.92676,3.31641h-.91309l-1.24121-4.50293h.90137l.80664,3.436h.06641l.92578-3.436h.85254l.92578,3.436h.07031l.80273-3.436h.88867Z",fill:"#fff"}),f("path",{d:"M53.85354,10.19482H54.709v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915h-.88867V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z",fill:"#fff"}),f("path",{d:"M59.09377,8.437h.88867v6.26074h-.88867Z",fill:"#fff"}),f("path",{d:"M61.21779,12.44434a2.13346,2.13346,0,1,1,4.24756,0,2.1338,2.1338,0,1,1-4.24756,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C64.11232,13.99463,64.5508,13.42432,64.5508,12.44434Z",fill:"#fff"}),f("path",{d:"M66.4009,13.42432c0-.81055.60352-1.27783,1.6748-1.34424l1.21973-.07031v-.38867c0-.47559-.31445-.74414-.92187-.74414-.49609,0-.83984.18213-.93848.50049h-.86035c.09082-.77344.81836-1.26953,1.83984-1.26953,1.12891,0,1.76563.562,1.76563,1.51318v3.07666h-.85547v-.63281h-.07031a1.515,1.515,0,0,1-1.35254.707A1.36026,1.36026,0,0,1,66.4009,13.42432Zm2.89453-.38477v-.37646l-1.09961.07031c-.62012.0415-.90137.25244-.90137.64941,0,.40527.35156.64111.835.64111A1.0615,1.0615,0,0,0,69.29543,13.03955Z",fill:"#fff"}),f("path",{d:"M71.34816,12.44434c0-1.42285.73145-2.32422,1.86914-2.32422a1.484,1.484,0,0,1,1.38086.79h.06641V8.437h.88867v6.26074h-.85156v-.71143h-.07031a1.56284,1.56284,0,0,1-1.41406.78564C72.0718,14.772,71.34816,13.87061,71.34816,12.44434Zm.918,0c0,.95508.4502,1.52979,1.20313,1.52979.749,0,1.21191-.583,1.21191-1.52588,0-.93848-.46777-1.52979-1.21191-1.52979C72.72121,10.91846,72.26613,11.49707,72.26613,12.44434Z",fill:"#fff"}),f("path",{d:"M79.23,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C82.12453,13.99463,82.563,13.42432,82.563,12.44434Z",fill:"#fff"}),f("path",{d:"M84.66945,10.19482h.85547v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915H87.605V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z",fill:"#fff"}),f("path",{d:"M93.51516,9.07373v1.1416h.97559v.74854h-.97559V13.2793c0,.47168.19434.67822.63672.67822a2.96657,2.96657,0,0,0,.33887-.02051v.74023a2.9155,2.9155,0,0,1-.4834.04541c-.98828,0-1.38184-.34766-1.38184-1.21582v-2.543h-.71484v-.74854h.71484V9.07373Z",fill:"#fff"}),f("path",{d:"M95.70461,8.437h.88086v2.48145h.07031a1.3856,1.3856,0,0,1,1.373-.80664,1.48339,1.48339,0,0,1,1.55078,1.67871v2.90723H98.69v-2.688c0-.71924-.335-1.0835-.96289-1.0835a1.05194,1.05194,0,0,0-1.13379,1.1416v2.62988h-.88867Z",fill:"#fff"}),f("path",{d:"M104.76125,13.48193a1.828,1.828,0,0,1-1.95117,1.30273A2.04531,2.04531,0,0,1,100.73,12.46045a2.07685,2.07685,0,0,1,2.07617-2.35254c1.25293,0,2.00879.856,2.00879,2.27V12.688h-3.17969v.0498a1.1902,1.1902,0,0,0,1.19922,1.29,1.07934,1.07934,0,0,0,1.07129-.5459Zm-3.126-1.45117h2.27441a1.08647,1.08647,0,0,0-1.1084-1.1665A1.15162,1.15162,0,0,0,101.63527,12.03076Z",fill:"#fff"})]}))}export{e as AppStoreButton};
|
|
1
|
+
import{__rest as h}from"tslib";import{jsx as f,jsxs as a}from"react/jsx-runtime";import{forwardRef as c,useMemo as t}from"react";import{ButtonBase as l,SvgIcon as i}from"@mui/material";import{getFocusRingStyle as v}from"../focusring/focusring.js";import{getInteractiveStyle as e}from"../../materialui/button/interactive.js";const r=c(((a,c)=>{var{variant:i,sx:r}=a,d=h(a,["variant","sx"]);const o=t((()=>"apple-store"===i?p:m),[i]);return f(l,Object.assign({sx:h=>Object.assign(Object.assign(Object.assign(Object.assign({position:"relative"},v(h)),{"&&:before":{borderRadius:"4px"},":after":{display:"block",content:'""',position:"absolute",inset:"0",borderRadius:"inherit",backgroundColor:h.palette.transparent.primary,transition:"opacity 0.3s ease-out",opacity:"0"}}),e({"&:after":{opacity:"0"}},{"&:after":{opacity:"1"}})),r),ref:c},d,{children:f(o,{})}))}));function m(h){return a(i,Object.assign({viewBox:"0 0 180 53.333",sx:{height:"36px",width:"auto"}},h,{children:[f("path",{d:"m173.33 53.333h-166.66c-3.6666 0-6.6665-2.9999-6.6665-6.6665v-39.999c0-3.6666 2.9999-6.6665 6.6665-6.6665h166.66c3.6666 0 6.6665 2.9999 6.6665 6.6665v39.999c0 3.6666-2.9999 6.6665-6.6665 6.6665",fill:"#100f0d",strokeWidth:".13333"}),f("path",{d:"m173.33 1e-3h-166.66c-3.6666 0-6.6665 2.9999-6.6665 6.6665v39.999c0 3.6666 2.9999 6.6665 6.6665 6.6665h166.66c3.6666 0 6.6665-2.9999 6.6665-6.6665v-39.999c0-3.6666-2.9999-6.6665-6.6665-6.6665zm0 1.0661c3.0879 0 5.5999 2.5125 5.5999 5.6004v39.999c0 3.0879-2.5119 5.6004-5.5999 5.6004h-166.66c-3.0879 0-5.5993-2.5125-5.5993-5.6004v-39.999c0-3.0879 2.5114-5.6004 5.5993-5.6004h166.66",fill:"#a2a2a1",strokeWidth:".13333"}),f("path",{d:"m142.58 40h2.4879v-16.669h-2.4879zm22.409-10.664-2.8519 7.2264h-0.0853l-2.9599-7.2264h-2.6799l4.4399 10.1-2.5319 5.6185h2.5946l6.8412-15.718zm-14.11 8.7706c-0.81331 0-1.9506-0.40786-1.9506-1.4156 0-1.2865 1.416-1.7797 2.6373-1.7797 1.0933 0 1.6093 0.23546 2.2733 0.55732-0.19333 1.5442-1.5226 2.6379-2.9599 2.6379zm0.30133-9.1352c-1.8013 0-3.6666 0.79371-4.4386 2.5521l2.208 0.92184c0.47198-0.92184 1.3506-1.2218 2.2733-1.2218 1.2866 0 2.5946 0.77131 2.6159 2.1442v0.17133c-0.45066-0.25733-1.416-0.64318-2.5946-0.64318-2.3813 0-4.8039 1.3077-4.8039 3.7524 0 2.2302 1.952 3.6671 4.1386 3.6671 1.672 0 2.5959-0.75054 3.1732-1.6301h0.0867v1.2874h2.4026v-6.391c0-2.9593-2.2106-4.6103-5.0612-4.6103zm-15.376 2.3937h-3.5386v-5.7133h3.5386c1.86 0 2.9159 1.5396 2.9159 2.8566 0 1.2917-1.056 2.8567-2.9159 2.8567zm-0.064-8.0337h-5.9614v16.669h2.4869v-6.3149h3.4746c2.7573 0 5.4679-1.9958 5.4679-5.1765 0-3.1801-2.7106-5.1769-5.4679-5.1769zm-32.507 14.778c-1.7188 0-3.1573-1.4396-3.1573-3.415 0-1.9984 1.4385-3.4583 3.1573-3.4583 1.6969 0 3.0286 1.46 3.0286 3.4583 0 1.9754-1.3317 3.415-3.0286 3.415zm2.8567-7.8403h-0.086c-0.55826-0.66572-1.6328-1.2672-2.9853-1.2672-2.8359 0-5.4348 2.4921-5.4348 5.6925 0 3.1786 2.5989 5.6488 5.4348 5.6488 1.3525 0 2.427-0.6016 2.9853-1.2885h0.086v0.81558c0 2.1703-1.1598 3.3296-3.0286 3.3296-1.5245 0-2.4697-1.0953-2.8567-2.0188l-2.1691 0.90206c0.62238 1.503 2.2759 3.351 5.0259 3.351 2.9218 0 5.392-1.7188 5.392-5.9077v-10.181h-2.3634zm4.0822 9.7304h2.4906v-16.669h-2.4906zm6.164-5.4988c-0.0641-2.1911 1.6978-3.3078 2.9645-3.3078 0.98851 0 1.8254 0.49425 2.1057 1.2026zm7.7326-1.8906c-0.47238-1.2666-1.9114-3.6082-4.8541-3.6082-2.9218 0-5.3488 2.2983-5.3488 5.6707 0 3.1791 2.4062 5.6707 5.6275 5.6707 2.5989 0 4.1031-1.589 4.7264-2.513l-1.9333-1.289c-0.64465 0.94531-1.5249 1.5682-2.7931 1.5682-1.2666 0-2.1692-0.58012-2.7483-1.7186l7.5815-3.1359zm-60.409-1.8682v2.4057h5.7565c-0.17186 1.3532-0.62292 2.3411-1.3104 3.0286-0.83798 0.83745-2.1483 1.7614-4.4462 1.7614-3.5443 0-6.315-2.8567-6.315-6.4009s2.7707-6.4013 6.315-6.4013c1.9118 0 3.3077 0.75198 4.3388 1.7186l1.6974-1.6973c-1.4396-1.3745-3.351-2.427-6.0362-2.427-4.8552 0-8.9363 3.9524-8.9363 8.807 0 4.8541 4.0811 8.8066 8.9363 8.8066 2.6202 0 4.5967-0.85932 6.143-2.4702 1.5896-1.5896 2.0838-3.8234 2.0838-5.628 0-0.55785-0.04333-1.0734-0.1292-1.5032zm14.772 7.3675c-1.7188 0-3.201-1.4177-3.201-3.4368 0-2.0406 1.4822-3.4364 3.201-3.4364 1.7181 0 3.2003 1.3958 3.2003 3.4364 0 2.0191-1.4822 3.4368-3.2003 3.4368zm0-9.1075c-3.137 0-5.6927 2.3842-5.6927 5.6707 0 3.265 2.5557 5.6707 5.6927 5.6707 3.1358 0 5.692-2.4057 5.692-5.6707 0-3.2865-2.5562-5.6707-5.692-5.6707zm12.417 9.1075c-1.7176 0-3.2003-1.4177-3.2003-3.4368 0-2.0406 1.4828-3.4364 3.2003-3.4364 1.7188 0 3.2005 1.3958 3.2005 3.4364 0 2.0191-1.4817 3.4368-3.2005 3.4368zm0-9.1075c-3.1358 0-5.6915 2.3842-5.6915 5.6707 0 3.265 2.5557 5.6707 5.6915 5.6707 3.137 0 5.6927-2.4057 5.6927-5.6707 0-3.2865-2.5557-5.6707-5.6927-5.6707",fill:"#fff",strokeWidth:".13333"}),f("path",{d:"m27.622 25.899-14.194 15.066c5.34e-4 0.0031 0.0016 0.0057 0.0021 0.0089 0.43532 1.636 1.9296 2.8406 3.703 2.8406 0.70892 0 1.3745-0.19166 1.9453-0.52812l0.04533-0.02656 15.978-9.22-7.479-8.141",fill:"#eb3131",strokeWidth:".13333"}),f("path",{d:"m41.983 23.334-0.0136-0.0093-6.8982-3.999-7.7717 6.9156 7.7987 7.7977 6.8618-3.9592c1.203-0.64945 2.0197-1.9177 2.0197-3.3802 0-1.452-0.80571-2.7139-1.9968-3.3655",fill:"#f6b60b",strokeWidth:".13333"}),f("path",{d:"m13.426 12.37c-0.08533 0.31466-0.13018 0.64425-0.13018 0.98651v26.623c0 0.34162 0.04432 0.67233 0.13072 0.98587l14.684-14.681-14.684-13.914",fill:"#5778c5",strokeWidth:".13333"}),f("path",{d:"m27.727 26.668 7.3473-7.3451-15.96-9.2534c-0.58012-0.34746-1.2572-0.54799-1.9817-0.54799-1.7734 0-3.2697 1.2068-3.7051 2.8447-5.34e-4 0.0016-5.34e-4 0.0027-5.34e-4 0.0041l14.3 14.298",fill:"#3bad49",strokeWidth:".13333"}),f("path",{d:"m63.193 13.042h-3.8895v0.96251h2.9146c-0.0792 0.78545-0.39172 1.4021-0.91878 1.85-0.52705 0.44799-1.2 0.67292-1.9958 0.67292-0.87291 0-1.6125-0.30413-2.2186-0.90824-0.59385-0.61665-0.89584-1.3792-0.89584-2.2979 0-0.91864 0.30199-1.6812 0.89584-2.2978 0.60612-0.60412 1.3457-0.90624 2.2186-0.90624 0.44799 0 0.87504 0.07707 1.2666 0.24586 0.39172 0.16866 0.70625 0.40412 0.95211 0.70625l0.73958-0.73958c-0.33546-0.38132-0.76038-0.67292-1.2876-0.88544-0.52705-0.21253-1.077-0.31453-1.6708-0.31453-1.1645 0-2.1519 0.40412-2.9582 1.2104-0.80625 0.80825-1.2104 1.8041-1.2104 2.9811 0 1.177 0.40412 2.175 1.2104 2.9813 0.80625 0.80611 1.7937 1.2104 2.9582 1.2104 1.2229 0 2.1979-0.39172 2.9479-1.1876 0.66038-0.66238 0.99784-1.5582 0.99784-2.679 0-0.1896-0.02293-0.39172-0.05627-0.60425zm1.5068-3.7332v8.0249h4.6852v-0.98544h-3.654v-2.5457h3.2958v-0.96251h-3.2958v-2.5437h3.654v-0.98758zm11.255 0.98758v-0.98758h-5.5145v0.98758h2.2417v7.0373h1.0312v-7.0373zm4.9925-0.98758h-1.0312v8.0249h1.0312zm6.8066 0.98758v-0.98758h-5.5144v0.98758h2.2415v7.0373h1.0312v-7.0373zm10.406 0.05626c-0.79585-0.81877-1.7708-1.2229-2.9354-1.2229-1.1666 0-2.1415 0.40412-2.9374 1.2104-0.79585 0.79585-1.1874 1.7937-1.1874 2.9811s0.39159 2.1854 1.1874 2.9813c0.79585 0.80611 1.7708 1.2104 2.9374 1.2104 1.1541 0 2.1395-0.40426 2.9354-1.2104 0.79585-0.79585 1.1874-1.7938 1.1874-2.9813 0-1.177-0.39159-2.1729-1.1874-2.9686zm-5.1332 0.67078c0.59372-0.60412 1.3229-0.90624 2.1978-0.90624 0.87291 0 1.6021 0.30213 2.1854 0.90624 0.59372 0.59372 0.88531 1.3686 0.88531 2.2978 0 0.93131-0.29159 1.7041-0.88531 2.2979-0.58332 0.60412-1.3125 0.90824-2.1854 0.90824-0.87491 0-1.6041-0.30413-2.1978-0.90824-0.58132-0.60625-0.87291-1.3666-0.87291-2.2979 0-0.92918 0.29159-1.6916 0.87291-2.2978zm8.7706 1.3125-0.0437-1.548h0.0437l4.0791 6.5457h1.077v-8.0249h-1.0312v4.6957l0.0437 1.548h-0.0437l-3.8999-6.2437h-1.2562v8.0249h1.0312z",fill:"#fff",stroke:"#fff",strokeMiterlimit:"10",strokeWidth:".26666"})]}))}function p(h){return a(i,Object.assign({viewBox:"0 0 119.66407 40",sx:{height:"36px",width:"auto"}},h,{children:[f("path",{d:"M110.13477,0H9.53468c-.3667,0-.729,0-1.09473.002-.30615.002-.60986.00781-.91895.0127A13.21476,13.21476,0,0,0,5.5171.19141a6.66509,6.66509,0,0,0-1.90088.627A6.43779,6.43779,0,0,0,1.99757,1.99707,6.25844,6.25844,0,0,0,.81935,3.61816a6.60119,6.60119,0,0,0-.625,1.90332,12.993,12.993,0,0,0-.1792,2.002C.00587,7.83008.00489,8.1377,0,8.44434V31.5586c.00489.3105.00587.6113.01515.9219a12.99232,12.99232,0,0,0,.1792,2.0019,6.58756,6.58756,0,0,0,.625,1.9043A6.20778,6.20778,0,0,0,1.99757,38.001a6.27445,6.27445,0,0,0,1.61865,1.1787,6.70082,6.70082,0,0,0,1.90088.6308,13.45514,13.45514,0,0,0,2.0039.1768c.30909.0068.6128.0107.91895.0107C8.80567,40,9.168,40,9.53468,40H110.13477c.3594,0,.7246,0,1.084-.002.3047,0,.6172-.0039.9219-.0107a13.279,13.279,0,0,0,2-.1768,6.80432,6.80432,0,0,0,1.9082-.6308,6.27742,6.27742,0,0,0,1.6172-1.1787,6.39482,6.39482,0,0,0,1.1816-1.6143,6.60413,6.60413,0,0,0,.6191-1.9043,13.50643,13.50643,0,0,0,.1856-2.0019c.0039-.3106.0039-.6114.0039-.9219.0078-.3633.0078-.7246.0078-1.0938V9.53613c0-.36621,0-.72949-.0078-1.09179,0-.30664,0-.61426-.0039-.9209a13.5071,13.5071,0,0,0-.1856-2.002,6.6177,6.6177,0,0,0-.6191-1.90332,6.46619,6.46619,0,0,0-2.7988-2.7998,6.76754,6.76754,0,0,0-1.9082-.627,13.04394,13.04394,0,0,0-2-.17676c-.3047-.00488-.6172-.01074-.9219-.01269-.3594-.002-.7246-.002-1.084-.002Z",fill:"#a6a6a6"}),f("path",{d:"M8.44483,39.125c-.30468,0-.602-.0039-.90429-.0107a12.68714,12.68714,0,0,1-1.86914-.1631,5.88381,5.88381,0,0,1-1.65674-.5479,5.40573,5.40573,0,0,1-1.397-1.0166,5.32082,5.32082,0,0,1-1.02051-1.3965,5.72186,5.72186,0,0,1-.543-1.6572,12.41351,12.41351,0,0,1-.1665-1.875c-.00634-.2109-.01464-.9131-.01464-.9131V8.44434S.88185,7.75293.8877,7.5498a12.37039,12.37039,0,0,1,.16553-1.87207,5.7555,5.7555,0,0,1,.54346-1.6621A5.37349,5.37349,0,0,1,2.61183,2.61768,5.56543,5.56543,0,0,1,4.01417,1.59521a5.82309,5.82309,0,0,1,1.65332-.54394A12.58589,12.58589,0,0,1,7.543.88721L8.44532.875H111.21387l.9131.0127a12.38493,12.38493,0,0,1,1.8584.16259,5.93833,5.93833,0,0,1,1.6709.54785,5.59374,5.59374,0,0,1,2.415,2.41993,5.76267,5.76267,0,0,1,.5352,1.64892,12.995,12.995,0,0,1,.1738,1.88721c.0029.2832.0029.5874.0029.89014.0079.375.0079.73193.0079,1.09179V30.4648c0,.3633,0,.7178-.0079,1.0752,0,.3252,0,.6231-.0039.9297a12.73126,12.73126,0,0,1-.1709,1.8535,5.739,5.739,0,0,1-.54,1.67,5.48029,5.48029,0,0,1-1.0156,1.3857,5.4129,5.4129,0,0,1-1.3994,1.0225,5.86168,5.86168,0,0,1-1.668.5498,12.54218,12.54218,0,0,1-1.8692.1631c-.2929.0068-.5996.0107-.8974.0107l-1.084.002Z"}),f("path",{d:"M24.76888,20.30068a4.94881,4.94881,0,0,1,2.35656-4.15206,5.06566,5.06566,0,0,0-3.99116-2.15768c-1.67924-.17626-3.30719,1.00483-4.1629,1.00483-.87227,0-2.18977-.98733-3.6085-.95814a5.31529,5.31529,0,0,0-4.47292,2.72787c-1.934,3.34842-.49141,8.26947,1.3612,10.97608.9269,1.32535,2.01018,2.8058,3.42763,2.7533,1.38706-.05753,1.9051-.88448,3.5794-.88448,1.65876,0,2.14479.88448,3.591.8511,1.48838-.02416,2.42613-1.33124,3.32051-2.66914a10.962,10.962,0,0,0,1.51842-3.09251A4.78205,4.78205,0,0,1,24.76888,20.30068Z",fill:"#fff"}),f("path",{d:"M22.03725,12.21089a4.87248,4.87248,0,0,0,1.11452-3.49062,4.95746,4.95746,0,0,0-3.20758,1.65961,4.63634,4.63634,0,0,0-1.14371,3.36139A4.09905,4.09905,0,0,0,22.03725,12.21089Z",fill:"#fff"}),f("path",{d:"M42.30227,27.13965h-4.7334l-1.13672,3.35645H34.42727l4.4834-12.418h2.083l4.4834,12.418H43.438ZM38.0591,25.59082h3.752l-1.84961-5.44727h-.05176Z",fill:"#fff"}),f("path",{d:"M55.15969,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H48.4302v1.50586h.03418a3.21162,3.21162,0,0,1,2.88281-1.60059C53.645,21.34766,55.15969,23.16406,55.15969,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C52.30227,29.01563,53.24953,27.81934,53.24953,25.96973Z",fill:"#fff"}),f("path",{d:"M65.12453,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H58.395v1.50586h.03418A3.21162,3.21162,0,0,1,61.312,21.34766C63.60988,21.34766,65.12453,23.16406,65.12453,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C62.26711,29.01563,63.21438,27.81934,63.21438,25.96973Z",fill:"#fff"}),f("path",{d:"M71.71047,27.03613c.1377,1.23145,1.334,2.04,2.96875,2.04,1.56641,0,2.69336-.80859,2.69336-1.91895,0-.96387-.67969-1.541-2.28906-1.93652l-1.60937-.3877c-2.28027-.55078-3.33887-1.61719-3.33887-3.34766,0-2.14258,1.86719-3.61426,4.51855-3.61426,2.624,0,4.42285,1.47168,4.4834,3.61426h-1.876c-.1123-1.23926-1.13672-1.9873-2.63379-1.9873s-2.52148.75684-2.52148,1.8584c0,.87793.6543,1.39453,2.25488,1.79l1.36816.33594c2.54785.60254,3.60645,1.626,3.60645,3.44238,0,2.32324-1.85059,3.77832-4.79395,3.77832-2.75391,0-4.61328-1.4209-4.7334-3.667Z",fill:"#fff"}),f("path",{d:"M83.34621,19.2998v2.14258h1.72168v1.47168H83.34621v4.99121c0,.77539.34473,1.13672,1.10156,1.13672a5.80752,5.80752,0,0,0,.61133-.043v1.46289a5.10351,5.10351,0,0,1-1.03223.08594c-1.833,0-2.54785-.68848-2.54785-2.44434V22.91406H80.16262V21.44238H81.479V19.2998Z",fill:"#fff"}),f("path",{d:"M86.065,25.96973c0-2.84863,1.67773-4.63867,4.29395-4.63867,2.625,0,4.29492,1.79,4.29492,4.63867,0,2.85645-1.66113,4.63867-4.29492,4.63867C87.72609,30.6084,86.065,28.82617,86.065,25.96973Zm6.69531,0c0-1.9541-.89551-3.10742-2.40137-3.10742s-2.40039,1.16211-2.40039,3.10742c0,1.96191.89453,3.10645,2.40039,3.10645S92.76027,27.93164,92.76027,25.96973Z",fill:"#fff"}),f("path",{d:"M96.18606,21.44238h1.77246v1.541h.043a2.1594,2.1594,0,0,1,2.17773-1.63574,2.86616,2.86616,0,0,1,.63672.06934v1.73828a2.59794,2.59794,0,0,0-.835-.1123,1.87264,1.87264,0,0,0-1.93652,2.083v5.37012h-1.8584Z",fill:"#fff"}),f("path",{d:"M109.3843,27.83691c-.25,1.64355-1.85059,2.77148-3.89844,2.77148-2.63379,0-4.26855-1.76465-4.26855-4.5957,0-2.83984,1.64355-4.68164,4.19043-4.68164,2.50488,0,4.08008,1.7207,4.08008,4.46582v.63672h-6.39453v.1123a2.358,2.358,0,0,0,2.43555,2.56445,2.04834,2.04834,0,0,0,2.09082-1.27344Zm-6.28223-2.70215h4.52637a2.1773,2.1773,0,0,0-2.2207-2.29785A2.292,2.292,0,0,0,103.10207,25.13477Z",fill:"#fff"}),f("path",{d:"M37.82619,8.731a2.63964,2.63964,0,0,1,2.80762,2.96484c0,1.90625-1.03027,3.002-2.80762,3.002H35.67092V8.731Zm-1.22852,5.123h1.125a1.87588,1.87588,0,0,0,1.96777-2.146,1.881,1.881,0,0,0-1.96777-2.13379h-1.125Z",fill:"#fff"}),f("path",{d:"M41.68068,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C44.57522,13.99463,45.01369,13.42432,45.01369,12.44434Z",fill:"#fff"}),f("path",{d:"M51.57326,14.69775h-.92187l-.93066-3.31641h-.07031l-.92676,3.31641h-.91309l-1.24121-4.50293h.90137l.80664,3.436h.06641l.92578-3.436h.85254l.92578,3.436h.07031l.80273-3.436h.88867Z",fill:"#fff"}),f("path",{d:"M53.85354,10.19482H54.709v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915h-.88867V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z",fill:"#fff"}),f("path",{d:"M59.09377,8.437h.88867v6.26074h-.88867Z",fill:"#fff"}),f("path",{d:"M61.21779,12.44434a2.13346,2.13346,0,1,1,4.24756,0,2.1338,2.1338,0,1,1-4.24756,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C64.11232,13.99463,64.5508,13.42432,64.5508,12.44434Z",fill:"#fff"}),f("path",{d:"M66.4009,13.42432c0-.81055.60352-1.27783,1.6748-1.34424l1.21973-.07031v-.38867c0-.47559-.31445-.74414-.92187-.74414-.49609,0-.83984.18213-.93848.50049h-.86035c.09082-.77344.81836-1.26953,1.83984-1.26953,1.12891,0,1.76563.562,1.76563,1.51318v3.07666h-.85547v-.63281h-.07031a1.515,1.515,0,0,1-1.35254.707A1.36026,1.36026,0,0,1,66.4009,13.42432Zm2.89453-.38477v-.37646l-1.09961.07031c-.62012.0415-.90137.25244-.90137.64941,0,.40527.35156.64111.835.64111A1.0615,1.0615,0,0,0,69.29543,13.03955Z",fill:"#fff"}),f("path",{d:"M71.34816,12.44434c0-1.42285.73145-2.32422,1.86914-2.32422a1.484,1.484,0,0,1,1.38086.79h.06641V8.437h.88867v6.26074h-.85156v-.71143h-.07031a1.56284,1.56284,0,0,1-1.41406.78564C72.0718,14.772,71.34816,13.87061,71.34816,12.44434Zm.918,0c0,.95508.4502,1.52979,1.20313,1.52979.749,0,1.21191-.583,1.21191-1.52588,0-.93848-.46777-1.52979-1.21191-1.52979C72.72121,10.91846,72.26613,11.49707,72.26613,12.44434Z",fill:"#fff"}),f("path",{d:"M79.23,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C82.12453,13.99463,82.563,13.42432,82.563,12.44434Z",fill:"#fff"}),f("path",{d:"M84.66945,10.19482h.85547v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915H87.605V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z",fill:"#fff"}),f("path",{d:"M93.51516,9.07373v1.1416h.97559v.74854h-.97559V13.2793c0,.47168.19434.67822.63672.67822a2.96657,2.96657,0,0,0,.33887-.02051v.74023a2.9155,2.9155,0,0,1-.4834.04541c-.98828,0-1.38184-.34766-1.38184-1.21582v-2.543h-.71484v-.74854h.71484V9.07373Z",fill:"#fff"}),f("path",{d:"M95.70461,8.437h.88086v2.48145h.07031a1.3856,1.3856,0,0,1,1.373-.80664,1.48339,1.48339,0,0,1,1.55078,1.67871v2.90723H98.69v-2.688c0-.71924-.335-1.0835-.96289-1.0835a1.05194,1.05194,0,0,0-1.13379,1.1416v2.62988h-.88867Z",fill:"#fff"}),f("path",{d:"M104.76125,13.48193a1.828,1.828,0,0,1-1.95117,1.30273A2.04531,2.04531,0,0,1,100.73,12.46045a2.07685,2.07685,0,0,1,2.07617-2.35254c1.25293,0,2.00879.856,2.00879,2.27V12.688h-3.17969v.0498a1.1902,1.1902,0,0,0,1.19922,1.29,1.07934,1.07934,0,0,0,1.07129-.5459Zm-3.126-1.45117h2.27441a1.08647,1.08647,0,0,0-1.1084-1.1665A1.15162,1.15162,0,0,0,101.63527,12.03076Z",fill:"#fff"})]}))}export{r as AppStoreButton};
|
|
2
2
|
//# sourceMappingURL=appStoreButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appStoreButton.js","sources":["../../../src/components/textAndCta/appStoreButton.tsx"],"sourcesContent":[null],"names":["AppStoreButton","forwardRef","_a","ref","variant","rest","__rest","AppStoreComponent","
|
|
1
|
+
{"version":3,"file":"appStoreButton.js","sources":["../../../src/components/textAndCta/appStoreButton.tsx"],"sourcesContent":[null],"names":["AppStoreButton","forwardRef","_a","ref","variant","sx","rest","__rest","AppStoreComponent","useMemo","AppleStore","GooglePlay","_jsx","ButtonBase","Object","assign","theme","position","getFocusRingStyle","borderRadius","display","content","inset","backgroundColor","palette","transparent","primary","transition","opacity","getInteractiveStyle","props","_jsxs","SvgIcon","viewBox","height","width","children","d","fill","strokeWidth","stroke","strokeMiterlimit"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as i}from"tslib";import{jsx as o}from"react/jsx-runtime";import{forwardRef as
|
|
1
|
+
import{__rest as i}from"tslib";import{jsx as o}from"react/jsx-runtime";import{forwardRef as l,useState as r}from"react";import{styled as t,Switch as a}from"@mui/material";import e from"../common/styled/buttonFocusVisibleStyled.js";import s from"../common/styled/formControlLabelStyled.js";const m=l(((l,t)=>{var a,{compact:m,isNavigationVariant:c}=l,u=i(l,["compact","isNavigationVariant"]);const[b,d]=r(!1),f=null!==(a=u.label)&&void 0!==a?a:u.children,p=o(e,{focusVisible:b,isNavigationVariant:!1,children:o(n,Object.assign({},u,{ref:t,onFocusVisible:()=>d(!0),onBlur:i=>{d(!1),u.onBlur&&u.onBlur(i)},size:m?"small":"medium",className:b?"Mui-focusVisible":""}))});return f?o(s,{control:p,label:u.label,disabled:u.disabled}):p})),n=t(a)((()=>null));export{m as ToggleSwitch};
|
|
2
2
|
//# sourceMappingURL=toggleSwitch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggleSwitch.js","sources":["../../../src/components/toggleSwitch/toggleSwitch.tsx"],"sourcesContent":[null],"names":["ToggleSwitch","forwardRef","_a","ref","compact","isNavigationVariant","props","__rest","focusVisible","setFocusVisible","useState","label","_b","children","toggleSwitch","_jsx","ButtonFocusVisibleStyled","ToggleSwitchStyled","Object","assign","onFocusVisible","onBlur","e","size","className","FormControlLabelStyled","control","disabled","styled","MuiSwitch"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggleSwitch.js","sources":["../../../src/components/toggleSwitch/toggleSwitch.tsx"],"sourcesContent":[null],"names":["ToggleSwitch","forwardRef","_a","ref","compact","isNavigationVariant","props","__rest","focusVisible","setFocusVisible","useState","label","_b","children","toggleSwitch","_jsx","ButtonFocusVisibleStyled","ToggleSwitchStyled","Object","assign","onFocusVisible","onBlur","e","size","className","FormControlLabelStyled","control","disabled","styled","MuiSwitch"],"mappings":"iSA0Da,MAAAA,EAAeC,GAC1B,CAACC,EAA4CC,YAA5CC,QAAEA,EAAOC,oBAAEA,GAAmBH,EAAKI,EAAKC,EAAAL,EAAxC,mCACC,MAAOM,EAAcC,GAAmBC,GAAS,GAC3CC,EAAuB,QAAfC,EAAAN,EAAMK,aAAS,IAAAC,EAAAA,EAAAN,EAAMO,SAO7BC,EACJC,EAACC,EAAwB,CAACR,aAAcA,EAAcH,qBAAqB,EAAKQ,SAC9EE,EAACE,EACKC,OAAAC,OAAA,CAAA,EAAAb,EACJ,CAAAH,IAAKA,EACLiB,eAAgB,IAAMX,GAAgB,GACtCY,OAXUC,IACdb,GAAgB,GACZH,EAAMe,QAAQf,EAAMe,OAAOC,EAAE,EAU7BC,KAAMnB,EAAU,QAAU,SAC1BoB,UAAWhB,EAAe,mBAAqB,QAKrD,OAAOG,EACLI,EAACU,EAAsB,CAACC,QAASZ,EAAcH,MAAOL,EAAMK,MAAOgB,SAAUrB,EAAMqB,WAEnF,CACD,IAOCV,EAAqBW,EAAOC,EAAPD,EAAkC,IACpD"}
|
|
@@ -11,4 +11,12 @@ export type UploadBoxProps = {
|
|
|
11
11
|
*/
|
|
12
12
|
children: ReactNode;
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated - There is a new usage for Upload Component
|
|
16
|
+
* @see Upload
|
|
17
|
+
*
|
|
18
|
+
* @param color
|
|
19
|
+
* @param children
|
|
20
|
+
* @constructor
|
|
21
|
+
*/
|
|
14
22
|
export declare const UploadBox: FC<UploadBoxProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{useTheme as e
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{useTheme as e}from"@mui/material";import{useMemo as t}from"react";import{UploadWrapper as a}from"./components/uploadWrapper/uploadWrapper.js";const n=({color:n="secondary",children:o})=>{const s=e(),c=t((()=>{switch(n){case"primary":return s.palette.brandHover.primary;case"secondary":return s.palette.onSurface.os200;case"transparent":case"white":return s.palette.surface.secondary;case"error":return s.palette.error.main}}),[n,s]),p=t((()=>{switch(n){case"primary":return s.palette.brand.quarternary;case"secondary":case"error":return s.palette.surface.primary;case"transparent":return"transparent";case"white":return s.palette.common.white}}),[n,s]),i=t((()=>"white"===n||"transparent"===n?"solid":"dashed"),[n]);return r(a,{sx:{alignItems:"center",justifyContent:"center",width:"100%",height:"100%",backgroundColor:p,borderColor:c,borderStyle:i},children:o})};export{n as UploadBox};
|
|
2
2
|
//# sourceMappingURL=UploadBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadBox.js","sources":["../../../src/components/upload/UploadBox.tsx"],"sourcesContent":[null],"names":["UploadBox","color","children","theme","useTheme","borderColor","useMemo","palette","brandHover","primary","onSurface","os200","surface","secondary","error","main","backgroundColor","brand","quarternary","common","white","borderStyle","_jsx","
|
|
1
|
+
{"version":3,"file":"UploadBox.js","sources":["../../../src/components/upload/UploadBox.tsx"],"sourcesContent":[null],"names":["UploadBox","color","children","theme","useTheme","borderColor","useMemo","palette","brandHover","primary","onSurface","os200","surface","secondary","error","main","backgroundColor","brand","quarternary","common","white","borderStyle","_jsx","UploadWrapper","sx","alignItems","justifyContent","width","height"],"mappings":"6LAyBO,MAAMA,EAAgC,EAAGC,QAAQ,YAAaC,eACnE,MAAMC,EAAQC,IAERC,EAAcC,GAAQ,KAC1B,OAAQL,GACN,IAAK,UACH,OAAOE,EAAMI,QAAQC,WAAWC,QAClC,IAAK,YACH,OAAON,EAAMI,QAAQG,UAAUC,MACjC,IAAK,cACL,IAAK,QACH,OAAOR,EAAMI,QAAQK,QAAQC,UAC/B,IAAK,QACH,OAAOV,EAAMI,QAAQO,MAAMC,QAE9B,CAACd,EAAOE,IAELa,EAAkBV,GAAQ,KAC9B,OAAQL,GACN,IAAK,UACH,OAAOE,EAAMI,QAAQU,MAAMC,YAC7B,IAAK,YAML,IAAK,QACH,OAAOf,EAAMI,QAAQK,QAAQH,QAL/B,IAAK,cACH,MAAO,cACT,IAAK,QACH,OAAON,EAAMI,QAAQY,OAAOC,SAI/B,CAACnB,EAAOE,IAELkB,EAAcf,GAAQ,IACZ,UAAVL,GAA+B,gBAAVA,EAChB,QAEF,UACN,CAACA,IAEJ,OACEqB,EAACC,EAAa,CACZC,GAAI,CACFC,WAAY,SACZC,eAAgB,SAChBC,MAAO,OACPC,OAAQ,OACRZ,kBACAX,cACAgB,eAGDnB,SAAAA,GACa"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
2
|
import { IconNameProp } from '../icon';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated - use Upload Component instead
|
|
5
|
+
* @see Upload
|
|
6
|
+
*/
|
|
3
7
|
export type UploadFieldProps = {
|
|
4
8
|
/**
|
|
5
9
|
* Glob string that specifies which file types are accepted by upload
|
|
@@ -34,4 +38,14 @@ export type UploadFieldProps = {
|
|
|
34
38
|
*/
|
|
35
39
|
uploadLabel?: ReactNode;
|
|
36
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated - use Upload Component instead
|
|
43
|
+
* @see Upload
|
|
44
|
+
* @param uploadIcon
|
|
45
|
+
* @param maxFiles
|
|
46
|
+
* @param uploadLabel
|
|
47
|
+
* @param accept
|
|
48
|
+
* @param onFileDrop
|
|
49
|
+
* @constructor
|
|
50
|
+
*/
|
|
37
51
|
export declare const UploadField: FC<UploadFieldProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsxs as i,jsx as o}from"react/jsx-runtime";import{IconButton as e,Typography as r}from"@mui/material";import{Icon as a}from"../icon/icon.js";import"../icon/icon.definitions.js";import{Upload as n}from"./upload.js";const p=({uploadIcon:p="plus",maxFiles:t=1,uploadLabel:l="Upload",accept:m="*",onFileDrop:c})=>i(n,{sx:{alignItems:"center",width:"100%",height:"100%",gap:"8px"},maxFiles:t,inputProps:{accept:m},onFileChange:c,children:[o(e,{"aria-label":"Upload file",children:o(a,{name:p})}),"string"==typeof l?o(r,{children:l}):l]});export{p as UploadField};
|
|
2
2
|
//# sourceMappingURL=UploadField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadField.js","sources":["../../../src/components/upload/UploadField.tsx"],"sourcesContent":[null],"names":["UploadField","uploadIcon","maxFiles","uploadLabel","accept","onFileDrop","
|
|
1
|
+
{"version":3,"file":"UploadField.js","sources":["../../../src/components/upload/UploadField.tsx"],"sourcesContent":[null],"names":["UploadField","uploadIcon","maxFiles","uploadLabel","accept","onFileDrop","_jsxs","Upload","sx","alignItems","width","height","gap","inputProps","onFileChange","children","_jsx","IconButton","Icon","name","Typography"],"mappings":"6NAsDa,MAAAA,EAAoC,EAC/CC,aAAa,OACbC,WAAW,EACXC,cAAc,SACdC,SAAS,IACTC,gBAGEC,EAACC,EAAM,CACLC,GAAI,CAAEC,WAAY,SAAUC,MAAO,OAAQC,OAAQ,OAAQC,IAAK,OAChEV,SAAUA,EACVW,WAAY,CAAET,UACdU,aAAcT,EAEdU,SAAA,CAAAC,EAACC,EAAU,CAAA,aAAY,cACrBF,SAAAC,EAACE,EAAI,CAACC,KAAMlB,MAEU,iBAAhBE,EAA2Ba,EAACI,EAAU,CAAAL,SAAEZ,IAA4BA"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated - Use UploadList instead
|
|
4
|
+
* @see UploadList
|
|
5
|
+
*/
|
|
2
6
|
export type UploadPreviewListProps = {
|
|
3
7
|
/**
|
|
4
8
|
* Array of files that should be previewed.
|
|
@@ -25,4 +29,12 @@ export type UploadPreviewListProps = {
|
|
|
25
29
|
*/
|
|
26
30
|
actions?: (file: File) => ReactNode;
|
|
27
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated - Use UploadList instead
|
|
34
|
+
* @see UploadList
|
|
35
|
+
*
|
|
36
|
+
* @param files
|
|
37
|
+
* @param actions
|
|
38
|
+
* @constructor
|
|
39
|
+
*/
|
|
28
40
|
export declare const UploadPreviewList: FC<UploadPreviewListProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as i,jsxs as e,Fragment as o}from"react/jsx-runtime";import{Box as
|
|
1
|
+
import{jsx as i,jsxs as e,Fragment as o}from"react/jsx-runtime";import{formatFileSize as r}from"../../utils/formatFileSize/formatFileSize.js";import{Box as t,List as n,ListItem as l,ListItemIcon as d,ListItemText as a,Typography as c,Divider as m}from"@mui/material";import{Icon as s}from"../icon/icon.js";import"../icon/icon.definitions.js";import{UploadBox as p}from"./UploadBox.js";const h=({files:h,actions:f})=>i(p,{color:"white",children:i(t,{sx:{width:"100%",height:"100%",padding:"0 16px",overflow:"auto"},children:i(n,{children:h.map(((t,n)=>e(o,{children:[e(l,{secondaryAction:null==f?void 0:f(t),disableGutters:!0,children:[i(d,{sx:{fontSize:"30px"},children:i(s,{fontSize:"inherit",name:"file"})}),i(a,{primary:i(c,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"15px"},children:t.name}),secondary:i(c,{color:"disabled.tertiary",children:r(t.size)})})]},t.name),n<h.length-1&&i(m,{})]})))})})});export{h as UploadPreviewList};
|
|
2
2
|
//# sourceMappingURL=UploadPreviewList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadPreviewList.js","sources":["../../../src/components/upload/UploadPreviewList.tsx"],"sourcesContent":[null],"names":["UploadPreviewList","files","actions","_jsx","UploadBox","color","Box","sx","width","height","padding","overflow","children","List","map","file","index","_jsxs","_Fragment","ListItem","secondaryAction","disableGutters","ListItemIcon","fontSize","Icon","name","ListItemText","primary","Typography","whiteSpace","textOverflow","paddingRight","secondary","formatFileSize","size","length","Divider"],"mappings":"
|
|
1
|
+
{"version":3,"file":"UploadPreviewList.js","sources":["../../../src/components/upload/UploadPreviewList.tsx"],"sourcesContent":[null],"names":["UploadPreviewList","files","actions","_jsx","UploadBox","color","Box","sx","width","height","padding","overflow","children","List","map","file","index","_jsxs","_Fragment","ListItem","secondaryAction","disableGutters","ListItemIcon","fontSize","Icon","name","ListItemText","primary","Typography","whiteSpace","textOverflow","paddingRight","secondary","formatFileSize","size","length","Divider"],"mappings":"iYA6Ca,MAAAA,EAAgD,EAAGC,QAAOC,aAEnEC,EAACC,EAAS,CAACC,MAAM,iBACfF,EAACG,GAAIC,GAAI,CAAEC,MAAO,OAAQC,OAAQ,OAAQC,QAAS,SAAUC,SAAU,QACrEC,SAAAT,EAACU,EACE,CAAAD,SAAAX,EAAMa,KAAI,CAACC,EAAMC,IAChBC,EACEC,EAAA,CAAAN,SAAA,CAAAK,EAACE,EAAyB,CAAAC,gBAAiBlB,aAAA,EAAAA,EAAUa,GAAOM,gBAAc,EAAAT,SAAA,CACxET,EAACmB,EAAY,CAACf,GAAI,CAAEgB,SAAU,iBAC5BpB,EAACqB,GAAKD,SAAS,UAAUE,KAAK,WAEhCtB,EAACuB,EACC,CAAAC,QACExB,EAACyB,EACC,CAAArB,GAAI,CACFsB,WAAY,SACZlB,SAAU,SACVmB,aAAc,WACdC,aAAc,QAGfnB,SAAAG,EAAKU,OAGVO,UAAW7B,EAACyB,EAAU,CAACvB,MAAM,6BAAqB4B,EAAelB,EAAKmB,YAjB3DnB,EAAKU,MAoBnBT,EAAQf,EAAMkC,OAAS,GAAKhC,EAACiC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated New Upload component implementation
|
|
4
|
+
* @see Upload
|
|
5
|
+
*/
|
|
2
6
|
export type UploadProgressProps = {
|
|
3
7
|
/**
|
|
4
8
|
* Uploading label that is shown to user.
|
|
@@ -11,4 +15,12 @@ export type UploadProgressProps = {
|
|
|
11
15
|
*/
|
|
12
16
|
uploadState?: number;
|
|
13
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated New Upload component implementation
|
|
20
|
+
* @see Uplaod
|
|
21
|
+
*
|
|
22
|
+
* @param uploadState
|
|
23
|
+
* @param uploadingLabel
|
|
24
|
+
* @constructor
|
|
25
|
+
*/
|
|
14
26
|
export declare const UploadProgress: FC<UploadProgressProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{Progress as r}from"../progress/progress.js";import{Box as t}from"@mui/material";import{UploadBox as o}from"./UploadBox.js";const n=({uploadState:n,uploadingLabel:i="Uploading"})=>e(o,{color:"secondary",children:e(t,{sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",padding:"16px",gap:"8px",cursor:"progress","& > *":{width:"auto",justifyContent:"center"}},children:e(r,{variant:"spinner",loadingPercentage:n,spinnerControlledAnimation:n?"controlled":"infinite",loadingPercentageDescribeText:i})})});export{n as UploadProgress};
|
|
2
2
|
//# sourceMappingURL=UploadProgress.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadProgress.js","sources":["../../../src/components/upload/UploadProgress.tsx"],"sourcesContent":[null],"names":["UploadProgress","uploadState","uploadingLabel","_jsx","UploadBox","color","children","Box","sx","width","height","display","alignItems","justifyContent","padding","gap","cursor","Progress","variant","loadingPercentage","spinnerControlledAnimation","loadingPercentageDescribeText"],"mappings":"
|
|
1
|
+
{"version":3,"file":"UploadProgress.js","sources":["../../../src/components/upload/UploadProgress.tsx"],"sourcesContent":[null],"names":["UploadProgress","uploadState","uploadingLabel","_jsx","UploadBox","color","children","Box","sx","width","height","display","alignItems","justifyContent","padding","gap","cursor","Progress","variant","loadingPercentage","spinnerControlledAnimation","loadingPercentageDescribeText"],"mappings":"0KA8BO,MAAMA,EAA0C,EAAGC,cAAaC,iBAAiB,eAEpFC,EAACC,EAAS,CAACC,MAAM,YAAWC,SAC1BH,EAACI,EACC,CAAAC,GAAI,CACFC,MAAO,OACPC,OAAQ,OACRC,QAAS,OACTC,WAAY,SACZC,eAAgB,SAChBC,QAAS,OACTC,IAAK,MACLC,OAAQ,WACR,QAAS,CACPP,MAAO,OACPI,eAAgB,WAEnBP,SAEDH,EAACc,EACC,CAAAC,QAAQ,UACRC,kBAAmBlB,EACnBmB,2BAA4BnB,EAAc,aAAe,WACzDoB,8BAA+BnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './uploadList';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as r}from"tslib";import{jsx as i}from"react/jsx-runtime";import{List as t}from"@mui/material";const e=e=>{var{children:o,sx:s}=e,m=r(e,["children","sx"]);return i(t,Object.assign({sx:Object.assign({padding:"4px",width:"100%",height:"100%",overflowY:"auto"},s)},m,{children:o}))};export{e as UploadList};
|
|
2
|
+
//# sourceMappingURL=uploadList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadList.js","sources":["../../../../../src/components/upload/components/uploadList/uploadList.tsx"],"sourcesContent":[null],"names":["UploadList","_a","children","sx","restProps","__rest","_jsx","List","Object","assign","padding","width","height","overflowY"],"mappings":"4GASa,MAAAA,EAA6BC,QAAAC,SAAEA,EAAQC,GAAEA,GAAEF,EAAKG,EAASC,EAAAJ,EAA5B,mBACxC,OACEK,EAACC,EAAIC,OAAAC,OAAA,CAACN,GAAEK,OAAAC,OAAA,CAAIC,QAAS,MAAOC,MAAO,OAAQC,OAAQ,OAAQC,UAAW,QAAWV,IAAUC,EAAS,CAAAF,SACjGA,IACI"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LinearProgressProps, ListItemProps } from '@mui/material';
|
|
2
|
+
export interface UploadListItemProps extends ListItemProps {
|
|
3
|
+
/**
|
|
4
|
+
* Properties that will be passed to LinearProgress
|
|
5
|
+
*/
|
|
6
|
+
linearProgressProps?: LinearProgressProps;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* ListItem component styled for UploadList.
|
|
10
|
+
*
|
|
11
|
+
* @param children
|
|
12
|
+
* @param linearProgressProps
|
|
13
|
+
* @param sx
|
|
14
|
+
* @param restProps
|
|
15
|
+
*
|
|
16
|
+
* @see UploadList
|
|
17
|
+
* @see ListItem
|
|
18
|
+
*/
|
|
19
|
+
export declare function UploadListItem({ children, linearProgressProps, sx, ...restProps }: UploadListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IconButtonProps } from '@mui/material';
|
|
2
|
+
import { FC, ReactNode } from 'react';
|
|
3
|
+
import { IconProps } from '../../../icon';
|
|
4
|
+
import { UploadWrapperProps } from '../uploadWrapper';
|
|
5
|
+
export interface UploadPreviewProps extends UploadWrapperProps {
|
|
6
|
+
/**
|
|
7
|
+
* Previews the item.
|
|
8
|
+
*/
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Properties that will be passed to the IconButton
|
|
12
|
+
*/
|
|
13
|
+
iconButtonProps?: IconButtonProps;
|
|
14
|
+
/**
|
|
15
|
+
* Properties that will be passed to the Icon
|
|
16
|
+
*/
|
|
17
|
+
iconProps?: IconProps;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated - old property - used for backward compatibility
|
|
20
|
+
*
|
|
21
|
+
* Actions that are displayed whe user hovers over preview
|
|
22
|
+
* @default undefined
|
|
23
|
+
* @example
|
|
24
|
+
* import {IconButton} from '@mui/material';
|
|
25
|
+
* import {Icon} from '@skodaflow/web-library';
|
|
26
|
+
* ...
|
|
27
|
+
* <UploadPreview ... actions={
|
|
28
|
+
* <IconButton aria-label="..." onClick={...}>
|
|
29
|
+
* <Icon name="trashcan"/>
|
|
30
|
+
* </IconButton
|
|
31
|
+
* }/>
|
|
32
|
+
*/
|
|
33
|
+
actions?: ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated - old property - used for backward compatibility
|
|
36
|
+
*
|
|
37
|
+
* Preview url. This property is passed to img element.
|
|
38
|
+
*/
|
|
39
|
+
image?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Previews single uploaded item and adds an IconButton on top of it on hover.
|
|
43
|
+
*
|
|
44
|
+
* @see Upload
|
|
45
|
+
*/
|
|
46
|
+
export declare const UploadPreview: FC<UploadPreviewProps>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as o}from"tslib";import{jsxs as i,jsx as r}from"react/jsx-runtime";import{Box as t,Stack as e,IconButton as s}from"@mui/material";import{useState as n}from"react";import{Icon as c}from"../../../icon/icon.js";import"../../../icon/icon.definitions.js";import{UploadWrapper as p}from"../uploadWrapper/uploadWrapper.js";const a=a=>{var{actions:d,children:x,iconButtonProps:l,iconProps:m,image:u}=a;const h=o(a,["actions","children","iconButtonProps","iconProps","image"])||{},{sx:b}=h,g=o(h,["sx"]),f=l||{},{sx:j}=f,O=o(f,["sx"]),w=m||{},{sx:y}=w,v=o(w,["sx"]),[P,S]=n(!1);return i(p,Object.assign({sx:Object.assign({borderStyle:d?"dashed":"solid",borderColor:d?"onSurface.os200":"onSurface.os500",borderRadius:"4px",cursor:"default",width:d?"100%":"100px",height:d?"100%":"100px",padding:d?"5px":0},b),onMouseOver:()=>S(!0),onMouseOut:()=>S(!1)},g,{children:[d?r(t,{sx:{display:P?"block":"none",position:"absolute",left:"5px",right:"5px",top:"5px",bottom:"5px",background:"#3232324f",color:"white",borderRadius:"4px"},children:r(e,{direction:"row",spacing:1,sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"},children:d})}):r(s,Object.assign({sx:Object.assign({position:"absolute",right:"4px",top:"4px",zIndex:"1",width:"24px",height:"24px"},j),variant:"filled",color:"surface"},O,{children:r(c,Object.assign({name:"close",sx:Object.assign({fontSize:"17px"},y)},v))})),u?r(t,{component:"img",src:u,sx:{display:"block",width:"100%",height:"100%",objectFit:"cover",borderRadius:"4px"}}):x]}))};export{a as UploadPreview};
|
|
2
|
+
//# sourceMappingURL=uploadPreview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadPreview.js","sources":["../../../../../src/components/upload/components/uploadPreview/uploadPreview.tsx"],"sourcesContent":[null],"names":["UploadPreview","_a","actions","children","iconButtonProps","iconProps","image","_b","__rest","sx","restProps","_c","iconButtonSx","restIconButtonProps","_d","iconSx","restIconProps","hover","setHover","useState","_jsxs","UploadWrapper","Object","assign","borderStyle","borderColor","borderRadius","cursor","width","height","padding","onMouseOver","onMouseOut","_jsx","Box","display","position","left","right","top","bottom","background","color","Stack","direction","spacing","justifyContent","alignItems","IconButton","zIndex","variant","Icon","name","fontSize","component","src","objectFit"],"mappings":"0UAmDa,MAAAA,EAAyCC,IAAA,IAAAC,QACpDA,EAAOC,SACPA,EAAQC,gBACRA,EAAeC,UACfA,EAASC,MACTA,GAEDL,EACC,MAAMM,EAFEC,EAAAP,EAN4C,+DAQd,CAAE,GAAlCQ,GAAEA,GAAEF,EAAKG,EAATF,EAAAD,EAAA,CAAA,OACAI,EAA+CP,GAAmB,IAAhEK,GAAIG,KAAiBC,EAAvBL,EAAAG,EAAA,CAAA,OACAG,EAAmCT,GAAa,IAA9CI,GAAIM,KAAWC,EAAjBR,EAAAM,EAAA,CAAA,QAKCG,EAAOC,GAAYC,GAAS,GAEnC,OACEC,EAACC,EAAaC,OAAAC,OAAA,CACZd,GACEa,OAAAC,OAAA,CAAAC,YAAatB,EAAU,SAAW,QAClCuB,YAAavB,EAAU,kBAAoB,kBAC3CwB,aAAc,MACdC,OAAQ,UACRC,MAAO1B,EAAU,OAAS,QAC1B2B,OAAQ3B,EAAU,OAAS,QAC3B4B,QAAS5B,EAAU,MAAQ,GACxBO,GAELsB,YAAa,IAAMb,GAAS,GAC5Bc,WAAY,IAAMd,GAAS,IACvBR,EAAS,CAAAP,SAAA,CAEZD,EACC+B,EAACC,EACC,CAAAzB,GAAI,CACF0B,QAASlB,EAAQ,QAAU,OAC3BmB,SAAU,WACVC,KAAM,MACNC,MAAO,MACPC,IAAK,MACLC,OAAQ,MACRC,WAAY,YACZC,MAAO,QACPhB,aAAc,OACfvB,SAED8B,EAACU,EACC,CAAAC,UAAU,MACVC,QAAS,EACTpC,GAAI,CAAE0B,QAAS,OAAQW,eAAgB,SAAUC,WAAY,SAAUlB,OAAQ,QAAQ1B,SAEtFD,MAIL+B,EAACe,EAAU1B,OAAAC,OAAA,CACTd,GACEa,OAAAC,OAAA,CAAAa,SAAU,WACVE,MAAO,MACPC,IAAK,MACLU,OAAQ,IACRrB,MAAO,OACPC,OAAQ,QACLjB,GAELsC,QAAQ,SACRR,MAAM,WACF7B,EAAmB,CAAAV,SAEvB8B,EAACkB,EAAI7B,OAAAC,OAAA,CAAC6B,KAAK,QAAQ3C,GAAMa,OAAAC,OAAA,CAAA8B,SAAU,QAAWtC,IAAcC,OAI/DV,EACC2B,EAACC,EACC,CAAAoB,UAAU,MACVC,IAAKjD,EACLG,GAAI,CAAE0B,QAAS,QAASP,MAAO,OAAQC,OAAQ,OAAQ2B,UAAW,QAAS9B,aAAc,SAG3F,KAEY"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type BoxProps } from '@mui/material';
|
|
2
|
+
export type UploadPreviewImageProps = BoxProps<'img'>;
|
|
3
|
+
/**
|
|
4
|
+
* Component that should be used along with UploadPreview to preview the uploaded image.
|
|
5
|
+
*
|
|
6
|
+
* @see UploadPreview
|
|
7
|
+
*/
|
|
8
|
+
export declare function UploadPreviewImage({ sx, ...restProps }: UploadPreviewImageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as t}from"tslib";import{jsx as i}from"react/jsx-runtime";import{Box as o}from"@mui/material";function r(r){var{sx:e}=r,s=t(r,["sx"]);return i(o,Object.assign({component:"img",sx:Object.assign({display:"block",position:"absolute",width:"100%",height:"100%",objectFit:"cover",borderRadius:"4px"},e)},s))}export{r as UploadPreviewImage};
|
|
2
|
+
//# sourceMappingURL=uploadPreviewImage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadPreviewImage.js","sources":["../../../../../src/components/upload/components/uploadPreview/uploadPreviewImage.tsx"],"sourcesContent":[null],"names":["UploadPreviewImage","_a","sx","restProps","__rest","_jsx","Box","Object","assign","component","display","position","width","height","objectFit","borderRadius"],"mappings":"2GASM,SAAUA,EAAmBC,GAAA,IAAAC,GAAEA,GAA2CD,EAApCE,EAASC,EAAAH,EAAlB,QACjC,OACEI,EAACC,EACCC,OAAAC,OAAA,CAAAC,UAAU,MACVP,GAAEK,OAAAC,OAAA,CACAE,QAAS,QACTC,SAAU,WACVC,MAAO,OACPC,OAAQ,OACRC,UAAW,QACXC,aAAc,OACXb,IAEDC,GAGV"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
interface UploadContentProps extends PropsWithChildren<BoxProps> {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Content of UploadWrapper.
|
|
7
|
+
*
|
|
8
|
+
* @see UploadWrapper
|
|
9
|
+
*/
|
|
10
|
+
export declare function UploadContent({ children, sx, ...restProps }: UploadContentProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* Content of UploadWrapper when user drags over Upload.
|
|
13
|
+
*
|
|
14
|
+
* @see UploadWrapper
|
|
15
|
+
*/
|
|
16
|
+
export declare function UploadContentDragging({ children, sx, ...restProps }: UploadContentProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as e}from"tslib";import{jsx as n}from"react/jsx-runtime";import{Box as t}from"@mui/material";function i(i){var{children:r,sx:o}=i,s=e(i,["children","sx"]);return n(t,Object.assign({sx:Object.assign({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",textAlign:"center",margin:"auto",gap:e=>e.spacing(),"& .MuiSvgIcon-root":{fontSize:"20px"}},o)},s,{children:r}))}function r(t){var{children:r,sx:o}=t,s=e(t,["children","sx"]);return n(i,Object.assign({sx:Object.assign({position:"absolute",width:"100%",height:"100%",borderRadius:"inherit",left:0,top:0,zIndex:2,pointerEvents:"none",userSelect:"none",backgroundColor:"success.light"},o)},s,{children:r}))}export{i as UploadContent,r as UploadContentDragging};
|
|
2
|
+
//# sourceMappingURL=uploadContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadContent.js","sources":["../../../../../src/components/upload/components/uploadWrapper/uploadContent.tsx"],"sourcesContent":[null],"names":["UploadContent","_a","children","sx","restProps","__rest","_jsx","Box","Object","assign","display","flexDirection","justifyContent","alignItems","textAlign","margin","gap","theme","spacing","fontSize","UploadContentDragging","position","width","height","borderRadius","left","top","zIndex","pointerEvents","userSelect","backgroundColor"],"mappings":"2GAUM,SAAUA,EAAcC,OAAAC,SAAEA,EAAQC,GAAEA,GAAEF,EAAKG,EAASC,EAAAJ,EAA5B,mBAC5B,OACEK,EAACC,iBACCJ,GAAEK,OAAAC,OAAA,CACAC,QAAS,OACTC,cAAe,SACfC,eAAgB,SAChBC,WAAY,SACZC,UAAW,SACXC,OAAQ,OACRC,IAAMC,GAAUA,EAAMC,UACtB,qBAAsB,CACpBC,SAAU,SAEThB,IAEDC,YAEHF,IAGP,CAOM,SAAUkB,EAAsBnB,OAAAC,SAAEA,EAAQC,GAAEA,GAAEF,EAAKG,EAASC,EAAAJ,EAA5B,mBACpC,OACEK,EAACN,EACCQ,OAAAC,OAAA,CAAAN,kBACEkB,SAAU,WACVC,MAAO,OACPC,OAAQ,OACRC,aAAc,UACdC,KAAM,EACNC,IAAK,EACLC,OAAQ,EACRC,cAAe,OACfC,WAAY,OACZC,gBAAiB,iBACd3B,IAEDC,EAEH,CAAAF,SAAAA,IAGP"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
|
2
|
+
export interface UploadWrapperProps extends BoxProps {
|
|
3
|
+
/**
|
|
4
|
+
* Variant that adjusts look of the component
|
|
5
|
+
*/
|
|
6
|
+
state?: 'dragdropping' | 'error' | 'default' | 'solid';
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Base wrapper for Upload components
|
|
10
|
+
*
|
|
11
|
+
* @see Upload
|
|
12
|
+
* @see UploadPreview
|
|
13
|
+
*/
|
|
14
|
+
export declare function UploadWrapper({ state, sx, ...restProps }: UploadWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as r}from"tslib";import{jsx as o}from"react/jsx-runtime";import{Box as e}from"@mui/material";import{getFocusRingStyle as s}from"../../../focusring/focusring.js";function i(i){var{state:a="default",sx:t}=i,n=r(i,["state","sx"]);return o(e,Object.assign({sx:r=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({display:"flex",alignItems:"flex-start",justifyContent:"center",cursor:"pointer",position:"relative",borderRadius:"8px",width:"100px",height:"100px",borderWidth:"1px",borderStyle:"dashed",borderColor:"onSurface.os200",backgroundColor:"surface.primary","&:hover":{borderColor:"onSurface.os500"},transition:"background-color .3s ease, border-color .3s ease",outline:"none"},"dragdropping"===a&&{borderColor:"primary.main",backgroundColor:"success.light"}),"error"===a&&{borderColor:"error.main",color:"error.main","&:hover":{borderColor:"error.main"}}),"solid"===a&&{borderColor:"surface.secondary",backgroundColor:"background.primary",borderStyle:"solid","&:hover":{borderColor:"surface.secondary"},cursor:"default"}),s(r,!1,1,":focus-visible")),t)},n))}export{i as UploadWrapper};
|
|
2
|
+
//# sourceMappingURL=uploadWrapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadWrapper.js","sources":["../../../../../src/components/upload/components/uploadWrapper/uploadWrapper.tsx"],"sourcesContent":[null],"names":["UploadWrapper","_a","state","sx","restProps","__rest","_jsx","Box","Object","assign","theme","display","alignItems","justifyContent","cursor","position","borderRadius","width","height","borderWidth","borderStyle","borderColor","backgroundColor","transition","outline","color","getFocusRingStyle"],"mappings":"+KAgBM,SAAUA,EAAcC,OAAAC,MAAEA,EAAQ,UAASC,GAAEA,KAAOC,EAA5BC,EAAAJ,EAAA,CAAA,QAAA,OAC5B,OACEK,EAACC,EAAGC,OAAAC,OAAA,CACFN,GAAKO,GAAUF,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,CACbE,QAAS,OACTC,WAAY,aACZC,eAAgB,SAChBC,OAAQ,UACRC,SAAU,WACVC,aAAc,MACdC,MAAO,QACPC,OAAQ,QACRC,YAAa,MACbC,YAAa,SACbC,YAAa,kBACbC,gBAAiB,kBACjB,UAAW,CACTD,YAAa,mBAEfE,WAAY,mDACZC,QAAS,QACK,iBAAVtB,GAA4B,CAC9BmB,YAAa,eACbC,gBAAiB,kBAEL,UAAVpB,GAAqB,CACvBmB,YAAa,aACbI,MAAO,aACP,UAAW,CACTJ,YAAa,gBAGH,UAAVnB,GAAqB,CACvBmB,YAAa,oBACbC,gBAAiB,qBACjBF,YAAa,QACb,UAAW,CACTC,YAAa,qBAEfP,OAAQ,YAEPY,EAAkBhB,GAAO,EAAO,EAAG,mBACnCP,IAEDC,GAGV"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './upload';
|
|
2
3
|
export * from './UploadField';
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './UploadProgress';
|
|
4
|
+
export * from './UploadBox';
|
|
5
5
|
export * from './UploadPreviewList';
|
|
6
|
+
export * from './UploadProgress';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { HTMLProps, ReactNode } from 'react';
|
|
2
|
+
import { UploadWrapperProps } from './components/uploadWrapper/uploadWrapper';
|
|
3
|
+
type UploadError = {
|
|
4
|
+
type: 'maxFilesExceeded' | 'invalidFileType';
|
|
5
|
+
files?: File[];
|
|
6
|
+
} | null;
|
|
7
|
+
export interface UploadProps extends Omit<UploadWrapperProps, 'children'> {
|
|
8
|
+
/**
|
|
9
|
+
* Properties that will be passed to the input element.
|
|
10
|
+
*/
|
|
11
|
+
inputProps?: Omit<HTMLProps<HTMLInputElement>, 'hidden' | 'type' | 'multiple'>;
|
|
12
|
+
/**
|
|
13
|
+
* Sets maximum files that are available.
|
|
14
|
+
* If maxFiles is bigger than 1 the input is type multiple.
|
|
15
|
+
* @default 1
|
|
16
|
+
*/
|
|
17
|
+
maxFiles?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Handler that is called when user provide files.
|
|
20
|
+
*/
|
|
21
|
+
onFileChange?: (files: Array<File>) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Children as a render function that gets error and dragging state.
|
|
24
|
+
*/
|
|
25
|
+
children?: ReactNode | ((params: {
|
|
26
|
+
error: UploadError;
|
|
27
|
+
dragging: boolean;
|
|
28
|
+
}) => ReactNode);
|
|
29
|
+
/**
|
|
30
|
+
* Current number of uploaded files.
|
|
31
|
+
*/
|
|
32
|
+
currentFilesCount?: number;
|
|
33
|
+
}
|
|
34
|
+
export declare function Upload({ children, currentFilesCount, onFileChange, inputProps, maxFiles, state, ...restProps }: UploadProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as e}from"tslib";import{jsxs as t,jsx as r}from"react/jsx-runtime";import{useRef as n,useState as i,useMemo as l,useCallback as o}from"react";import{UploadWrapper as a}from"./components/uploadWrapper/uploadWrapper.js";function s(e,t){if(!e.type)return!1;if("*"===t.trim())return!0;return t.split(",").some((t=>{if(t.includes("/*")){const r=t.split("/")[0];return e.type.startsWith(`${r}/`)}if(e.type.trim()===t.trim())return!0;if(t.startsWith(".")){const r=t.trim().toLowerCase();return e.name.toLowerCase().endsWith(r)}return!1}))}function u(u){var{children:p,currentFilesCount:f=0,onFileChange:c,inputProps:d={},maxFiles:g=1,state:m}=u,h=e(u,["children","currentFilesCount","onFileChange","inputProps","maxFiles","state"]);const v=n(null),[y,F]=i(!1),[x,C]=i(null),D=(null==d?void 0:d.accept)||"*",b=l((()=>y?"dragdropping":x?"error":m||"default"),[y,x,m]),P=o((e=>{e.stopPropagation(),e.preventDefault()}),[]),W=o((e=>e.filter((e=>s(e,D)))),[D,g]),j=o((()=>{c&&(x&&C(null),F(!0))}),[F]),E=o((()=>{F(!1)}),[F]),T=o((()=>{var e;x&&C(null),null===(e=v.current)||void 0===e||e.click()}),[]),k=o((e=>{e.preventDefault(),e.stopPropagation(),x&&C(null);const t=[...e.dataTransfer.files];if(f+t.length>g)return F(!1),void C({type:"maxFilesExceeded"});const r=t.filter((e=>!s(e,D)));if(r.length>0)return F(!1),void C({type:"invalidFileType",files:r});const n=W([...e.dataTransfer.files]);F(!1),n.length>0&&(null==c||c(n))}),[F,x,C,D,c,f]),w=o((e=>{e.preventDefault(),e.stopPropagation(),x&&C(null);const t=[...e.target.files];if(f+t.length>g)return F(!1),void C({type:"maxFilesExceeded"});const r=t.filter((e=>!s(e,D)));if(r.length>0)return void C({type:"invalidFileType",files:r});const n=W(t);n.length>0&&(null==c||c(n),v.current&&(v.current.value=""))}),[F,x,C,D,c,f]);return t(a,Object.assign({role:"button",tabIndex:0,"aria-label":"Upload file",state:b,onClick:T,onDragOver:P,onDrop:k,onDragEnter:j,onDragLeave:E,onKeyDown:e=>{"Enter"===e.key&&T()}},h,{children:["function"==typeof p?p({error:x,dragging:y}):p,r("input",Object.assign({ref:v,onChange:w},d,{hidden:!0,type:"file",multiple:g>1}))]}))}export{u as Upload};
|
|
2
|
+
//# sourceMappingURL=upload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload.js","sources":["../../../src/components/upload/upload.tsx"],"sourcesContent":[null],"names":["isAcceptedFileType","file","acceptedTypes","type","trim","split","some","includes","typePrefix","startsWith","extension","toLowerCase","name","endsWith","Upload","_a","children","currentFilesCount","onFileChange","inputProps","maxFiles","state","restProps","__rest","inputRef","useRef","dragging","setDragging","useState","error","setError","accept","currentState","useMemo","preventDragOver","useCallback","event","stopPropagation","preventDefault","getFilteredFiles","inputFiles","filter","handleDragEnter","handleDragLeave","handleClick","current","click","handleDrop","files","dataTransfer","length","permittedFiles","filteredFiles","handleInputChange","target","value","_jsxs","UploadWrapper","role","tabIndex","onClick","onDragOver","onDrop","onDragEnter","onDragLeave","onKeyDown","key","_jsx","Object","assign","ref","onChange","hidden","multiple"],"mappings":"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"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { BoxProps } from '@mui/material';
|
|
3
3
|
export interface VideoProps extends BoxProps<'video'> {
|
|
4
4
|
/** The URL of the video to embed. */
|
|
5
|
-
src
|
|
5
|
+
src?: string;
|
|
6
6
|
/** video type property, @default "video/mp4" */
|
|
7
7
|
type?: string;
|
|
8
8
|
/** The message (or component) to display if the video cannot be loaded, @default <Icon name="file-missing" /> centered inside the Box */
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__rest as o}from"tslib";import{jsxs as e,jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import{Box as s}from"@mui/material";import{FileMissingIcon as i}from"../icon/stroke/FileMissingIcon.js";const n=t(((t,n)=>{var{src:c,type:l="video/mp4",noVidErrorMessage:a,sourceProps:p,poster:m,sx:d,autoPlay:u=!0,muted:y=!0,controls:f=!1,loop:g=!1,children:h}=t,x=o(t,["src","type","noVidErrorMessage","sourceProps","poster","sx","autoPlay","muted","controls","loop","children"]);return e(s,Object.assign({component:"video","data-testid":"Video",poster:m,ref:n,autoPlay:u,muted:y,controls:f,loop:g,sx:Object.assign({display:"block",maxWidth:"100%"},d)},x,{children:[null!=h?h:r(s,Object.assign({component:"source",src:c,type:l},p)),a," ?? (",r(s,{sx:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},children:r(i,{})}),")"]}))}));export{n as Video};
|
|
2
|
+
//# sourceMappingURL=Video.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Video.js","sources":["../../../src/components/video/Video.tsx"],"sourcesContent":[null],"names":["Video","forwardRef","_a","ref","src","type","noVidErrorMessage","sourceProps","poster","sx","autoPlay","muted","controls","loop","children","rest","__rest","_jsxs","Box","Object","assign","component","display","maxWidth","_jsx","justifyContent","alignItems","width","height","FileMissingIcon"],"mappings":"4NAgCa,MAAAA,EAA8BC,GACzC,CACEC,EAcAC,KAdA,IAAAC,IACEA,EAAGC,KACHA,EAAO,YAAWC,kBAClBA,EAAiBC,YACjBA,EAAWC,OACXA,EAAMC,GACNA,EAAEC,SACFA,GAAW,EAAIC,MACfA,GAAQ,EAAIC,SACZA,GAAW,EAAKC,KAChBA,GAAO,EAAKC,SACZA,GAEDZ,EADIa,EAAIC,EAAAd,EAZT,gHAgBA,OACEe,EAACC,EAAGC,OAAAC,OAAA,CACFC,UAAU,QACE,cAAA,QACZb,OAAQA,EACRL,IAAKA,EACLO,SAAUA,EACVC,MAAOA,EACPC,SAAUA,EACVC,KAAMA,EACNJ,GACEU,OAAAC,OAAA,CAAAE,QAAS,QACTC,SAAU,QACPd,IAEDM,EAEH,CAAAD,SAAA,CAAAA,QAAAA,EAAYU,EAACN,EAAIC,OAAAC,OAAA,CAAAC,UAAU,SAASjB,IAAKA,EAAKC,KAAMA,GAAUE,IAC9DD,EAAiB,QAClBkB,EAACN,EAAG,CAACT,GAAI,CAAEa,QAAS,OAAQG,eAAgB,SAAUC,WAAY,SAAUC,MAAO,OAAQC,OAAQ,QACjGd,SAAAU,EAACK,EAAkB,CAAA,KAGjB,OAAA"}
|