@skodaflow/web-library 7.14.0 → 7.15.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 +1 -1
- package/cjs/components/alert/AlertButton.js +1 -1
- package/cjs/components/alert/AlertButton.js.map +1 -1
- package/cjs/components/alert/AlertNotificationButton.d.ts +8 -0
- package/cjs/components/alert/AlertNotificationButton.js +2 -0
- package/cjs/components/alert/AlertNotificationButton.js.map +1 -0
- package/cjs/components/alert/index.d.ts +1 -0
- package/cjs/components/banner/BannerButton.d.ts +8 -0
- package/cjs/components/banner/BannerButton.js +2 -0
- package/cjs/components/banner/BannerButton.js.map +1 -0
- package/cjs/components/banner/BannerDismissButton.d.ts +8 -0
- package/cjs/components/banner/BannerDismissButton.js +2 -0
- package/cjs/components/banner/BannerDismissButton.js.map +1 -0
- package/cjs/components/banner/banner.d.ts +1 -1
- package/cjs/components/banner/banner.js +1 -1
- package/cjs/components/banner/banner.js.map +1 -1
- package/cjs/components/banner/index.d.ts +2 -0
- package/cjs/components/errorContent/ErrorContent.d.ts +48 -0
- package/cjs/components/errorContent/ErrorContent.js +2 -0
- package/cjs/components/errorContent/ErrorContent.js.map +1 -0
- package/cjs/components/footer/Footer.d.ts +32 -0
- package/cjs/components/footer/Footer.js +2 -0
- package/cjs/components/footer/Footer.js.map +1 -0
- package/cjs/components/footer/FooterAccordion.d.ts +29 -0
- package/cjs/components/footer/FooterAccordion.js +2 -0
- package/cjs/components/footer/FooterAccordion.js.map +1 -0
- package/cjs/components/footer/FooterIconButton.d.ts +24 -0
- package/cjs/components/footer/FooterIconButton.js +2 -0
- package/cjs/components/footer/FooterIconButton.js.map +1 -0
- package/cjs/components/footer/FooterLink.d.ts +22 -0
- package/cjs/components/footer/FooterLink.js +2 -0
- package/cjs/components/footer/FooterLink.js.map +1 -0
- package/cjs/components/footer/FooterMenu.d.ts +30 -0
- package/cjs/components/footer/FooterMenu.js +2 -0
- package/cjs/components/footer/FooterMenu.js.map +1 -0
- package/cjs/components/footer/FooterSectionContact.d.ts +24 -0
- package/cjs/components/footer/FooterSectionContact.js +2 -0
- package/cjs/components/footer/FooterSectionContact.js.map +1 -0
- package/cjs/components/footer/FooterSectionLinks.d.ts +34 -0
- package/cjs/components/footer/FooterSectionLinks.js +2 -0
- package/cjs/components/footer/FooterSectionLinks.js.map +1 -0
- package/cjs/components/footer/FooterSectionMenu.d.ts +8 -0
- package/cjs/components/footer/FooterSectionMenu.js +2 -0
- package/cjs/components/footer/FooterSectionMenu.js.map +1 -0
- package/{layout/Footer → cjs/components/footer}/index.d.ts +4 -5
- package/cjs/components/header/Header.d.ts +79 -0
- package/cjs/components/header/Header.js +2 -0
- package/cjs/components/header/Header.js.map +1 -0
- package/cjs/components/header/HeaderButton.d.ts +54 -0
- package/cjs/components/header/HeaderButton.js +2 -0
- package/cjs/components/header/HeaderButton.js.map +1 -0
- package/cjs/components/header/HeaderLanguageSelect.d.ts +45 -0
- package/cjs/components/header/HeaderLanguageSelect.js +2 -0
- package/cjs/components/header/HeaderLanguageSelect.js.map +1 -0
- package/cjs/components/header/HeaderLogo.d.ts +25 -0
- package/cjs/components/header/HeaderLogo.js +2 -0
- package/cjs/components/header/HeaderLogo.js.map +1 -0
- package/cjs/components/header/HeaderNavigationHero.d.ts +51 -0
- package/cjs/components/header/HeaderNavigationHero.js +2 -0
- package/cjs/components/header/HeaderNavigationHero.js.map +1 -0
- package/cjs/components/header/HeaderNavigationLink.d.ts +48 -0
- package/cjs/components/header/HeaderNavigationLink.js +2 -0
- package/cjs/components/header/HeaderNavigationLink.js.map +1 -0
- package/cjs/components/header/HeaderNavigationMenu.d.ts +25 -0
- package/cjs/components/header/HeaderNavigationMenu.js +2 -0
- package/cjs/components/header/HeaderNavigationMenu.js.map +1 -0
- package/{layout/Header → cjs/components/header}/index.d.ts +2 -6
- package/cjs/components/icon/icon.definitions.js +1 -1
- package/cjs/components/icon/icon.definitions.js.map +1 -1
- package/cjs/components/index.d.ts +6 -0
- package/cjs/components/logo/Logo.d.ts +51 -15
- package/cjs/components/logo/Logo.js +1 -1
- package/cjs/components/logo/Logo.js.map +1 -1
- package/cjs/components/notification/Notification.d.ts +81 -0
- package/cjs/components/notification/Notification.js +2 -0
- package/cjs/components/notification/Notification.js.map +1 -0
- package/cjs/components/notification/NotificationButton.d.ts +8 -0
- package/cjs/components/notification/NotificationButton.js +2 -0
- package/cjs/components/notification/NotificationButton.js.map +1 -0
- package/cjs/components/notification/NotificationCenter.d.ts +53 -0
- package/cjs/components/notification/NotificationCenter.js +2 -0
- package/cjs/components/notification/NotificationCenter.js.map +1 -0
- package/cjs/components/notification/NotificationCenterCategory.d.ts +24 -0
- package/cjs/components/notification/NotificationCenterCategory.js +2 -0
- package/cjs/components/notification/NotificationCenterCategory.js.map +1 -0
- package/cjs/components/notification/NotificationCenterHeaderButton.d.ts +51 -0
- package/cjs/components/notification/NotificationCenterHeaderButton.js +2 -0
- package/cjs/components/notification/NotificationCenterHeaderButton.js.map +1 -0
- package/cjs/{organisms → components}/notification/index.d.ts +1 -0
- package/cjs/{layout/PageLayout → components/pageLayout}/PageLayout.d.ts +25 -11
- package/cjs/components/pageLayout/PageLayout.js +2 -0
- package/cjs/components/pageLayout/PageLayout.js.map +1 -0
- package/cjs/components/pagination/pagination.d.ts +14 -61
- package/cjs/components/pagination/pagination.js +1 -1
- package/cjs/components/pagination/pagination.js.map +1 -1
- package/cjs/components/secondaryNavigation/SecondaryNavigation.d.ts +51 -0
- package/cjs/components/secondaryNavigation/SecondaryNavigation.js +2 -0
- package/cjs/components/secondaryNavigation/SecondaryNavigation.js.map +1 -0
- package/cjs/components/secondaryNavigation/SecondaryNavigationCta.d.ts +8 -0
- package/cjs/components/secondaryNavigation/SecondaryNavigationCta.js +2 -0
- package/cjs/components/secondaryNavigation/SecondaryNavigationCta.js.map +1 -0
- package/cjs/components/secondaryNavigation/SecondaryNavigationItem.d.ts +21 -0
- package/cjs/components/secondaryNavigation/SecondaryNavigationItem.js +2 -0
- package/cjs/components/secondaryNavigation/SecondaryNavigationItem.js.map +1 -0
- package/cjs/index.js +1 -1
- package/cjs/layout/index.d.ts +0 -5
- package/cjs/materialui/accordion/AccordionSummaryExpandIcon.js +1 -1
- package/cjs/materialui/accordion/AccordionSummaryExpandIcon.js.map +1 -1
- package/cjs/materialui/accordion/accordion.theme.js +1 -1
- package/cjs/materialui/accordion/accordion.theme.js.map +1 -1
- package/cjs/materialui/accordion/accordionSummary.theme.js +1 -1
- package/cjs/materialui/accordion/accordionSummary.theme.js.map +1 -1
- package/cjs/materialui/alert/alert.theme.js +1 -1
- package/cjs/materialui/alert/alert.theme.js.map +1 -1
- package/cjs/materialui/appbar/appbar.theme.js +1 -1
- package/cjs/materialui/appbar/appbar.theme.js.map +1 -1
- package/cjs/materialui/appbar/toolbar.theme.d.ts +3 -0
- package/cjs/materialui/appbar/toolbar.theme.js +2 -0
- package/cjs/materialui/appbar/toolbar.theme.js.map +1 -0
- package/cjs/materialui/button/button.theme.js +1 -1
- package/cjs/materialui/button/button.theme.js.map +1 -1
- package/cjs/materialui/container/container.theme.d.ts +5 -1
- package/cjs/materialui/container/container.theme.js +1 -1
- package/cjs/materialui/container/container.theme.js.map +1 -1
- package/cjs/materialui/iconButton/iconButton.theme.js.map +1 -1
- package/cjs/materialui/pagination/pagination.theme.d.ts +0 -1
- package/cjs/materialui/pagination/pagination.theme.js +1 -1
- package/cjs/materialui/pagination/pagination.theme.js.map +1 -1
- package/cjs/materialui/pagination/paginationItem.theme.d.ts +3 -0
- package/cjs/materialui/pagination/paginationItem.theme.js +2 -0
- package/cjs/materialui/pagination/paginationItem.theme.js.map +1 -0
- package/cjs/materialui/rating/index.d.ts +2 -0
- package/cjs/materialui/rating/rating.theme.d.ts +3 -0
- package/cjs/materialui/rating/rating.theme.js +2 -0
- package/cjs/materialui/rating/rating.theme.js.map +1 -0
- package/cjs/materialui/table/tablePagination.theme.js +1 -1
- package/cjs/materialui/table/tablePagination.theme.js.map +1 -1
- package/cjs/materialui/tabs/Tab.js +1 -1
- package/cjs/materialui/tabs/Tab.js.map +1 -1
- package/cjs/materialui/tabs/tab.theme.js +1 -1
- package/cjs/materialui/tabs/tab.theme.js.map +1 -1
- package/cjs/materialui/tabs/tabs.theme.js +1 -1
- package/cjs/materialui/tabs/tabs.theme.js.map +1 -1
- package/cjs/materialui/theme/mixins.d.ts +2 -0
- package/cjs/materialui/theme/mixins.js +2 -0
- package/cjs/materialui/theme/mixins.js.map +1 -0
- package/cjs/materialui/theme/theme.extensions.d.ts +7 -4
- package/cjs/materialui/theme/theme.js +1 -1
- package/cjs/materialui/theme/theme.js.map +1 -1
- package/cjs/organisms/index.d.ts +0 -1
- package/components/alert/AlertButton.d.ts +1 -1
- package/components/alert/AlertButton.js +1 -1
- package/components/alert/AlertButton.js.map +1 -1
- package/components/alert/AlertNotificationButton.d.ts +8 -0
- package/components/alert/AlertNotificationButton.js +2 -0
- package/components/alert/AlertNotificationButton.js.map +1 -0
- package/components/alert/index.d.ts +1 -0
- package/components/banner/BannerButton.d.ts +8 -0
- package/components/banner/BannerButton.js +2 -0
- package/components/banner/BannerButton.js.map +1 -0
- package/components/banner/BannerDismissButton.d.ts +8 -0
- package/components/banner/BannerDismissButton.js +2 -0
- package/components/banner/BannerDismissButton.js.map +1 -0
- package/components/banner/banner.d.ts +1 -1
- package/components/banner/banner.js +1 -1
- package/components/banner/banner.js.map +1 -1
- package/components/banner/index.d.ts +2 -0
- package/components/errorContent/ErrorContent.d.ts +48 -0
- package/components/errorContent/ErrorContent.js +2 -0
- package/components/errorContent/ErrorContent.js.map +1 -0
- package/components/footer/Footer.d.ts +32 -0
- package/components/footer/Footer.js +2 -0
- package/components/footer/Footer.js.map +1 -0
- package/components/footer/FooterAccordion.d.ts +29 -0
- package/components/footer/FooterAccordion.js +2 -0
- package/components/footer/FooterAccordion.js.map +1 -0
- package/components/footer/FooterIconButton.d.ts +24 -0
- package/components/footer/FooterIconButton.js +2 -0
- package/components/footer/FooterIconButton.js.map +1 -0
- package/components/footer/FooterLink.d.ts +22 -0
- package/components/footer/FooterLink.js +2 -0
- package/components/footer/FooterLink.js.map +1 -0
- package/components/footer/FooterMenu.d.ts +30 -0
- package/components/footer/FooterMenu.js +2 -0
- package/components/footer/FooterMenu.js.map +1 -0
- package/components/footer/FooterSectionContact.d.ts +24 -0
- package/components/footer/FooterSectionContact.js +2 -0
- package/components/footer/FooterSectionContact.js.map +1 -0
- package/components/footer/FooterSectionLinks.d.ts +34 -0
- package/components/footer/FooterSectionLinks.js +2 -0
- package/components/footer/FooterSectionLinks.js.map +1 -0
- package/components/footer/FooterSectionMenu.d.ts +8 -0
- package/components/footer/FooterSectionMenu.js +2 -0
- package/components/footer/FooterSectionMenu.js.map +1 -0
- package/{cjs/layout/Footer → components/footer}/index.d.ts +4 -5
- package/components/header/Header.d.ts +79 -0
- package/components/header/Header.js +2 -0
- package/components/header/Header.js.map +1 -0
- package/components/header/HeaderButton.d.ts +54 -0
- package/components/header/HeaderButton.js +2 -0
- package/components/header/HeaderButton.js.map +1 -0
- package/components/header/HeaderLanguageSelect.d.ts +45 -0
- package/components/header/HeaderLanguageSelect.js +2 -0
- package/components/header/HeaderLanguageSelect.js.map +1 -0
- package/components/header/HeaderLogo.d.ts +25 -0
- package/components/header/HeaderLogo.js +2 -0
- package/components/header/HeaderLogo.js.map +1 -0
- package/components/header/HeaderNavigationHero.d.ts +51 -0
- package/components/header/HeaderNavigationHero.js +2 -0
- package/components/header/HeaderNavigationHero.js.map +1 -0
- package/components/header/HeaderNavigationLink.d.ts +48 -0
- package/components/header/HeaderNavigationLink.js +2 -0
- package/components/header/HeaderNavigationLink.js.map +1 -0
- package/components/header/HeaderNavigationMenu.d.ts +25 -0
- package/components/header/HeaderNavigationMenu.js +2 -0
- package/components/header/HeaderNavigationMenu.js.map +1 -0
- package/{cjs/layout/Header → components/header}/index.d.ts +2 -6
- package/components/icon/icon.definitions.js +1 -1
- package/components/icon/icon.definitions.js.map +1 -1
- package/components/index.d.ts +6 -0
- package/components/logo/Logo.d.ts +51 -15
- package/components/logo/Logo.js +1 -1
- package/components/logo/Logo.js.map +1 -1
- package/components/notification/Notification.d.ts +81 -0
- package/components/notification/Notification.js +2 -0
- package/components/notification/Notification.js.map +1 -0
- package/components/notification/NotificationButton.d.ts +8 -0
- package/components/notification/NotificationButton.js +2 -0
- package/components/notification/NotificationButton.js.map +1 -0
- package/components/notification/NotificationCenter.d.ts +53 -0
- package/components/notification/NotificationCenter.js +2 -0
- package/components/notification/NotificationCenter.js.map +1 -0
- package/components/notification/NotificationCenterCategory.d.ts +24 -0
- package/components/notification/NotificationCenterCategory.js +2 -0
- package/components/notification/NotificationCenterCategory.js.map +1 -0
- package/components/notification/NotificationCenterHeaderButton.d.ts +51 -0
- package/components/notification/NotificationCenterHeaderButton.js +2 -0
- package/components/notification/NotificationCenterHeaderButton.js.map +1 -0
- package/{organisms → components}/notification/index.d.ts +1 -0
- package/{layout/PageLayout → components/pageLayout}/PageLayout.d.ts +25 -11
- package/components/pageLayout/PageLayout.js +2 -0
- package/components/pageLayout/PageLayout.js.map +1 -0
- package/components/pagination/pagination.d.ts +14 -61
- package/components/pagination/pagination.js +1 -1
- package/components/pagination/pagination.js.map +1 -1
- package/components/secondaryNavigation/SecondaryNavigation.d.ts +51 -0
- package/components/secondaryNavigation/SecondaryNavigation.js +2 -0
- package/components/secondaryNavigation/SecondaryNavigation.js.map +1 -0
- package/components/secondaryNavigation/SecondaryNavigationCta.d.ts +8 -0
- package/components/secondaryNavigation/SecondaryNavigationCta.js +2 -0
- package/components/secondaryNavigation/SecondaryNavigationCta.js.map +1 -0
- package/components/secondaryNavigation/SecondaryNavigationItem.d.ts +21 -0
- package/components/secondaryNavigation/SecondaryNavigationItem.js +2 -0
- package/components/secondaryNavigation/SecondaryNavigationItem.js.map +1 -0
- package/index.js +1 -1
- package/layout/index.d.ts +0 -5
- package/materialui/accordion/AccordionSummaryExpandIcon.js +1 -1
- package/materialui/accordion/AccordionSummaryExpandIcon.js.map +1 -1
- package/materialui/accordion/accordion.theme.js +1 -1
- package/materialui/accordion/accordion.theme.js.map +1 -1
- package/materialui/accordion/accordionSummary.theme.js +1 -1
- package/materialui/accordion/accordionSummary.theme.js.map +1 -1
- package/materialui/alert/alert.theme.js +1 -1
- package/materialui/alert/alert.theme.js.map +1 -1
- package/materialui/appbar/appbar.theme.js +1 -1
- package/materialui/appbar/appbar.theme.js.map +1 -1
- package/materialui/appbar/toolbar.theme.d.ts +3 -0
- package/materialui/appbar/toolbar.theme.js +2 -0
- package/materialui/appbar/toolbar.theme.js.map +1 -0
- package/materialui/button/button.theme.js +1 -1
- package/materialui/button/button.theme.js.map +1 -1
- package/materialui/container/container.theme.d.ts +5 -1
- package/materialui/container/container.theme.js +1 -1
- package/materialui/container/container.theme.js.map +1 -1
- package/materialui/iconButton/iconButton.theme.js.map +1 -1
- package/materialui/pagination/pagination.theme.d.ts +0 -1
- package/materialui/pagination/pagination.theme.js +1 -1
- package/materialui/pagination/pagination.theme.js.map +1 -1
- package/materialui/pagination/paginationItem.theme.d.ts +3 -0
- package/materialui/pagination/paginationItem.theme.js +2 -0
- package/materialui/pagination/paginationItem.theme.js.map +1 -0
- package/materialui/rating/index.d.ts +2 -0
- package/materialui/rating/rating.theme.d.ts +3 -0
- package/materialui/rating/rating.theme.js +2 -0
- package/materialui/rating/rating.theme.js.map +1 -0
- package/materialui/table/tablePagination.theme.js +1 -1
- package/materialui/table/tablePagination.theme.js.map +1 -1
- package/materialui/tabs/Tab.js +1 -1
- package/materialui/tabs/Tab.js.map +1 -1
- package/materialui/tabs/tab.theme.js +1 -1
- package/materialui/tabs/tab.theme.js.map +1 -1
- package/materialui/tabs/tabs.theme.js +1 -1
- package/materialui/tabs/tabs.theme.js.map +1 -1
- package/materialui/theme/mixins.d.ts +2 -0
- package/materialui/theme/mixins.js +2 -0
- package/materialui/theme/mixins.js.map +1 -0
- package/materialui/theme/theme.extensions.d.ts +7 -4
- package/materialui/theme/theme.js +1 -1
- package/materialui/theme/theme.js.map +1 -1
- package/organisms/index.d.ts +0 -1
- package/package.json +1 -1
- package/cjs/layout/Error/ErrorContent.d.ts +0 -33
- package/cjs/layout/Error/ErrorContent.js +0 -2
- package/cjs/layout/Error/ErrorContent.js.map +0 -1
- package/cjs/layout/Footer/Footer.d.ts +0 -5
- package/cjs/layout/Footer/Footer.js +0 -2
- package/cjs/layout/Footer/Footer.js.map +0 -1
- package/cjs/layout/Footer/FooterAccordion.d.ts +0 -18
- package/cjs/layout/Footer/FooterAccordion.js +0 -2
- package/cjs/layout/Footer/FooterAccordion.js.map +0 -1
- package/cjs/layout/Footer/FooterIconButton.d.ts +0 -20
- package/cjs/layout/Footer/FooterIconButton.js +0 -2
- package/cjs/layout/Footer/FooterIconButton.js.map +0 -1
- package/cjs/layout/Footer/FooterLink.d.ts +0 -15
- package/cjs/layout/Footer/FooterLink.js +0 -2
- package/cjs/layout/Footer/FooterLink.js.map +0 -1
- package/cjs/layout/Footer/FooterMenu.d.ts +0 -25
- package/cjs/layout/Footer/FooterMenu.js +0 -2
- package/cjs/layout/Footer/FooterMenu.js.map +0 -1
- package/cjs/layout/Footer/FooterSectionContact.d.ts +0 -18
- package/cjs/layout/Footer/FooterSectionContact.js +0 -2
- package/cjs/layout/Footer/FooterSectionContact.js.map +0 -1
- package/cjs/layout/Footer/FooterSectionLinks.d.ts +0 -25
- package/cjs/layout/Footer/FooterSectionLinks.js +0 -2
- package/cjs/layout/Footer/FooterSectionLinks.js.map +0 -1
- package/cjs/layout/Footer/FooterSectionMenu.d.ts +0 -9
- package/cjs/layout/Footer/FooterSectionMenu.js +0 -2
- package/cjs/layout/Footer/FooterSectionMenu.js.map +0 -1
- package/cjs/layout/Footer/PredefinedFooterIconButtons.d.ts +0 -8
- package/cjs/layout/Footer/PredefinedFooterIconButtons.js +0 -2
- package/cjs/layout/Footer/PredefinedFooterIconButtons.js.map +0 -1
- package/cjs/layout/Footer/assets/FacebookIcon.d.ts +0 -1
- package/cjs/layout/Footer/assets/FacebookIcon.js +0 -2
- package/cjs/layout/Footer/assets/FacebookIcon.js.map +0 -1
- package/cjs/layout/Footer/assets/InstagramIcon.d.ts +0 -1
- package/cjs/layout/Footer/assets/InstagramIcon.js +0 -2
- package/cjs/layout/Footer/assets/InstagramIcon.js.map +0 -1
- package/cjs/layout/Footer/assets/LinkedinIcon.d.ts +0 -1
- package/cjs/layout/Footer/assets/LinkedinIcon.js +0 -2
- package/cjs/layout/Footer/assets/LinkedinIcon.js.map +0 -1
- package/cjs/layout/Footer/assets/TwitterIcon.d.ts +0 -1
- package/cjs/layout/Footer/assets/TwitterIcon.js +0 -2
- package/cjs/layout/Footer/assets/TwitterIcon.js.map +0 -1
- package/cjs/layout/Footer/assets/YoutubeIcon.d.ts +0 -1
- package/cjs/layout/Footer/assets/YoutubeIcon.js +0 -2
- package/cjs/layout/Footer/assets/YoutubeIcon.js.map +0 -1
- package/cjs/layout/Footer/assets/index.d.ts +0 -5
- package/cjs/layout/Header/Header.d.ts +0 -35
- package/cjs/layout/Header/Header.js +0 -2
- package/cjs/layout/Header/Header.js.map +0 -1
- package/cjs/layout/Header/HeaderButton.d.ts +0 -23
- package/cjs/layout/Header/HeaderButton.js +0 -2
- package/cjs/layout/Header/HeaderButton.js.map +0 -1
- package/cjs/layout/Header/HeaderContext.d.ts +0 -14
- package/cjs/layout/Header/HeaderContext.js +0 -2
- package/cjs/layout/Header/HeaderContext.js.map +0 -1
- package/cjs/layout/Header/HeaderLanguageSelect.d.ts +0 -12
- package/cjs/layout/Header/HeaderLanguageSelect.js +0 -2
- package/cjs/layout/Header/HeaderLanguageSelect.js.map +0 -1
- package/cjs/layout/Header/HeaderLogo.d.ts +0 -9
- package/cjs/layout/Header/HeaderLogo.js +0 -2
- package/cjs/layout/Header/HeaderLogo.js.map +0 -1
- package/cjs/layout/Header/HeaderNavigationHero.d.ts +0 -6
- package/cjs/layout/Header/HeaderNavigationHero.js +0 -2
- package/cjs/layout/Header/HeaderNavigationHero.js.map +0 -1
- package/cjs/layout/Header/HeaderNavigationLink.d.ts +0 -34
- package/cjs/layout/Header/HeaderNavigationLink.js +0 -2
- package/cjs/layout/Header/HeaderNavigationLink.js.map +0 -1
- package/cjs/layout/Header/HeaderNavigationLinkLabel.d.ts +0 -13
- package/cjs/layout/Header/HeaderNavigationLinkLabel.js +0 -2
- package/cjs/layout/Header/HeaderNavigationLinkLabel.js.map +0 -1
- package/cjs/layout/Header/HeaderNavigationMenu.d.ts +0 -42
- package/cjs/layout/Header/HeaderNavigationMenu.js +0 -2
- package/cjs/layout/Header/HeaderNavigationMenu.js.map +0 -1
- package/cjs/layout/Header/HeaderOverheadItem.d.ts +0 -13
- package/cjs/layout/Header/HeaderOverheadItem.js +0 -2
- package/cjs/layout/Header/HeaderOverheadItem.js.map +0 -1
- package/cjs/layout/Header/HeaderSkodaLogo.d.ts +0 -8
- package/cjs/layout/Header/HeaderSkodaLogo.js +0 -2
- package/cjs/layout/Header/HeaderSkodaLogo.js.map +0 -1
- package/cjs/layout/Header/PredefinedHeaderButtons.d.ts +0 -18
- package/cjs/layout/Header/PredefinedHeaderButtons.js +0 -2
- package/cjs/layout/Header/PredefinedHeaderButtons.js.map +0 -1
- package/cjs/layout/PageLayout/PageLayout.js +0 -2
- package/cjs/layout/PageLayout/PageLayout.js.map +0 -1
- package/cjs/layout/SecondaryNavigation/SecondaryNavigation.d.ts +0 -10
- package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js +0 -2
- package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js.map +0 -1
- package/cjs/layout/SecondaryNavigation/SecondaryNavigationCta.d.ts +0 -3
- package/cjs/layout/SecondaryNavigation/SecondaryNavigationCta.js +0 -2
- package/cjs/layout/SecondaryNavigation/SecondaryNavigationCta.js.map +0 -1
- package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.d.ts +0 -13
- package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.js +0 -2
- package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +0 -1
- package/cjs/organisms/notification/Notification.d.ts +0 -11
- package/cjs/organisms/notification/Notification.js +0 -2
- package/cjs/organisms/notification/Notification.js.map +0 -1
- package/cjs/organisms/notification/NotificationCenter.d.ts +0 -8
- package/cjs/organisms/notification/NotificationCenter.js +0 -2
- package/cjs/organisms/notification/NotificationCenter.js.map +0 -1
- package/cjs/organisms/notification/NotificationCenterCategory.d.ts +0 -5
- package/cjs/organisms/notification/NotificationCenterCategory.js +0 -2
- package/cjs/organisms/notification/NotificationCenterCategory.js.map +0 -1
- package/cjs/organisms/notification/NotificationCenterHeaderButton.d.ts +0 -6
- package/cjs/organisms/notification/NotificationCenterHeaderButton.js +0 -2
- package/cjs/organisms/notification/NotificationCenterHeaderButton.js.map +0 -1
- package/layout/Error/ErrorContent.d.ts +0 -33
- package/layout/Error/ErrorContent.js +0 -2
- package/layout/Error/ErrorContent.js.map +0 -1
- package/layout/Footer/Footer.d.ts +0 -5
- package/layout/Footer/Footer.js +0 -2
- package/layout/Footer/Footer.js.map +0 -1
- package/layout/Footer/FooterAccordion.d.ts +0 -18
- package/layout/Footer/FooterAccordion.js +0 -2
- package/layout/Footer/FooterAccordion.js.map +0 -1
- package/layout/Footer/FooterIconButton.d.ts +0 -20
- package/layout/Footer/FooterIconButton.js +0 -2
- package/layout/Footer/FooterIconButton.js.map +0 -1
- package/layout/Footer/FooterLink.d.ts +0 -15
- package/layout/Footer/FooterLink.js +0 -2
- package/layout/Footer/FooterLink.js.map +0 -1
- package/layout/Footer/FooterMenu.d.ts +0 -25
- package/layout/Footer/FooterMenu.js +0 -2
- package/layout/Footer/FooterMenu.js.map +0 -1
- package/layout/Footer/FooterSectionContact.d.ts +0 -18
- package/layout/Footer/FooterSectionContact.js +0 -2
- package/layout/Footer/FooterSectionContact.js.map +0 -1
- package/layout/Footer/FooterSectionLinks.d.ts +0 -25
- package/layout/Footer/FooterSectionLinks.js +0 -2
- package/layout/Footer/FooterSectionLinks.js.map +0 -1
- package/layout/Footer/FooterSectionMenu.d.ts +0 -9
- package/layout/Footer/FooterSectionMenu.js +0 -2
- package/layout/Footer/FooterSectionMenu.js.map +0 -1
- package/layout/Footer/PredefinedFooterIconButtons.d.ts +0 -8
- package/layout/Footer/PredefinedFooterIconButtons.js +0 -2
- package/layout/Footer/PredefinedFooterIconButtons.js.map +0 -1
- package/layout/Footer/assets/FacebookIcon.d.ts +0 -1
- package/layout/Footer/assets/FacebookIcon.js +0 -2
- package/layout/Footer/assets/FacebookIcon.js.map +0 -1
- package/layout/Footer/assets/InstagramIcon.d.ts +0 -1
- package/layout/Footer/assets/InstagramIcon.js +0 -2
- package/layout/Footer/assets/InstagramIcon.js.map +0 -1
- package/layout/Footer/assets/LinkedinIcon.d.ts +0 -1
- package/layout/Footer/assets/LinkedinIcon.js +0 -2
- package/layout/Footer/assets/LinkedinIcon.js.map +0 -1
- package/layout/Footer/assets/TwitterIcon.d.ts +0 -1
- package/layout/Footer/assets/TwitterIcon.js +0 -2
- package/layout/Footer/assets/TwitterIcon.js.map +0 -1
- package/layout/Footer/assets/YoutubeIcon.d.ts +0 -1
- package/layout/Footer/assets/YoutubeIcon.js +0 -2
- package/layout/Footer/assets/YoutubeIcon.js.map +0 -1
- package/layout/Footer/assets/index.d.ts +0 -5
- package/layout/Header/Header.d.ts +0 -35
- package/layout/Header/Header.js +0 -2
- package/layout/Header/Header.js.map +0 -1
- package/layout/Header/HeaderButton.d.ts +0 -23
- package/layout/Header/HeaderButton.js +0 -2
- package/layout/Header/HeaderButton.js.map +0 -1
- package/layout/Header/HeaderContext.d.ts +0 -14
- package/layout/Header/HeaderContext.js +0 -2
- package/layout/Header/HeaderContext.js.map +0 -1
- package/layout/Header/HeaderLanguageSelect.d.ts +0 -12
- package/layout/Header/HeaderLanguageSelect.js +0 -2
- package/layout/Header/HeaderLanguageSelect.js.map +0 -1
- package/layout/Header/HeaderLogo.d.ts +0 -9
- package/layout/Header/HeaderLogo.js +0 -2
- package/layout/Header/HeaderLogo.js.map +0 -1
- package/layout/Header/HeaderNavigationHero.d.ts +0 -6
- package/layout/Header/HeaderNavigationHero.js +0 -2
- package/layout/Header/HeaderNavigationHero.js.map +0 -1
- package/layout/Header/HeaderNavigationLink.d.ts +0 -34
- package/layout/Header/HeaderNavigationLink.js +0 -2
- package/layout/Header/HeaderNavigationLink.js.map +0 -1
- package/layout/Header/HeaderNavigationLinkLabel.d.ts +0 -13
- package/layout/Header/HeaderNavigationLinkLabel.js +0 -2
- package/layout/Header/HeaderNavigationLinkLabel.js.map +0 -1
- package/layout/Header/HeaderNavigationMenu.d.ts +0 -42
- package/layout/Header/HeaderNavigationMenu.js +0 -2
- package/layout/Header/HeaderNavigationMenu.js.map +0 -1
- package/layout/Header/HeaderOverheadItem.d.ts +0 -13
- package/layout/Header/HeaderOverheadItem.js +0 -2
- package/layout/Header/HeaderOverheadItem.js.map +0 -1
- package/layout/Header/HeaderSkodaLogo.d.ts +0 -8
- package/layout/Header/HeaderSkodaLogo.js +0 -2
- package/layout/Header/HeaderSkodaLogo.js.map +0 -1
- package/layout/Header/PredefinedHeaderButtons.d.ts +0 -18
- package/layout/Header/PredefinedHeaderButtons.js +0 -2
- package/layout/Header/PredefinedHeaderButtons.js.map +0 -1
- package/layout/PageLayout/PageLayout.js +0 -2
- package/layout/PageLayout/PageLayout.js.map +0 -1
- package/layout/SecondaryNavigation/SecondaryNavigation.d.ts +0 -10
- package/layout/SecondaryNavigation/SecondaryNavigation.js +0 -2
- package/layout/SecondaryNavigation/SecondaryNavigation.js.map +0 -1
- package/layout/SecondaryNavigation/SecondaryNavigationCta.d.ts +0 -3
- package/layout/SecondaryNavigation/SecondaryNavigationCta.js +0 -2
- package/layout/SecondaryNavigation/SecondaryNavigationCta.js.map +0 -1
- package/layout/SecondaryNavigation/SecondaryNavigationItem.d.ts +0 -13
- package/layout/SecondaryNavigation/SecondaryNavigationItem.js +0 -2
- package/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +0 -1
- package/organisms/notification/Notification.d.ts +0 -11
- package/organisms/notification/Notification.js +0 -2
- package/organisms/notification/Notification.js.map +0 -1
- package/organisms/notification/NotificationCenter.d.ts +0 -8
- package/organisms/notification/NotificationCenter.js +0 -2
- package/organisms/notification/NotificationCenter.js.map +0 -1
- package/organisms/notification/NotificationCenterCategory.d.ts +0 -5
- package/organisms/notification/NotificationCenterCategory.js +0 -2
- package/organisms/notification/NotificationCenterCategory.js.map +0 -1
- package/organisms/notification/NotificationCenterHeaderButton.d.ts +0 -6
- package/organisms/notification/NotificationCenterHeaderButton.js +0 -2
- package/organisms/notification/NotificationCenterHeaderButton.js.map +0 -1
- package/cjs/{layout/Error → components/errorContent}/index.d.ts +0 -0
- package/cjs/{layout/PageLayout → components/pageLayout}/index.d.ts +0 -0
- package/cjs/{layout/SecondaryNavigation → components/secondaryNavigation}/index.d.ts +1 -1
- package/{layout/Error → components/errorContent}/index.d.ts +0 -0
- package/{layout/PageLayout → components/pageLayout}/index.d.ts +0 -0
- package/{layout/SecondaryNavigation → components/secondaryNavigation}/index.d.ts +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../components/focusring/focusring.js"),t=require("../../components/icon/stroke/ChevronLeftIcon.js"),o=require("../../components/icon/stroke/ChevronRightIcon.js"),n=require("../../components/icon/stroke/ChevronPreviousIcon.js"),i=require("../../components/icon/stroke/ChevronNextIcon.js"),r=require("../button/interactive.js");const s={defaultProps:{slots:{previous:t.ChevronLeftIcon,next:o.ChevronRightIcon,first:n.ChevronPreviousIcon,last:i.ChevronNextIcon}},styleOverrides:{root:({theme:t})=>Object.assign(Object.assign({margin:"0 4px",[t.breakpoints.down("md")]:{margin:"0 2px"}},e.getFocusRingStyle(t)),{"&.MuiButtonBase-root":Object.assign({},r.getInteractiveStyle({backgroundColor:"transparent",fontWeight:"300",fontSize:"18px",letterSpacing:"0.36px",[t.breakpoints.down("md")]:{fontSize:"16px"}},{backgroundColor:t.palette.transparent.primary,fontWeight:"400",fontSize:"18px",letterSpacing:"0.36px",[t.breakpoints.down("md")]:{fontSize:"16px"}})),color:t.palette.text.primary,lineHeight:"24px",padding:"0",minWidth:"35px",height:"36px",position:"relative",borderRadius:"4px","& .MuiSvgIcon-root":{fontSize:"20px",[t.breakpoints.down("md")]:{fontSize:"18px"}},"&.Mui-disabled":{color:t.palette.disabled.primary,opacity:"1"},"&.MuiPaginationItem-ellipsis":{lineHeight:"36px",margin:"0 1px",pointerEvents:"none"},"&.MuiPaginationItem-text.MuiPaginationItem-ellipsis":{display:"none"},"&.MuiPaginationItem-outlined":{border:"0"}})}};exports.flowPaginationItem=s;
|
|
2
|
+
//# sourceMappingURL=paginationItem.theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginationItem.theme.js","sources":["../../../../../src/materialui/pagination/paginationItem.theme.tsx"],"sourcesContent":["import { Components } from '@mui/material/styles';\nimport { Theme } from '@mui/material';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\nimport { ChevronLeftIcon } from '@/src/components/icon/stroke/ChevronLeftIcon';\nimport { ChevronRightIcon } from '@/src/components/icon/stroke/ChevronRightIcon';\nimport { ChevronPreviousIcon } from '@/src/components/icon/stroke/ChevronPreviousIcon';\nimport { ChevronNextIcon } from '@/src/components/icon/stroke/ChevronNextIcon';\nimport { getInteractiveStyle } from '@/src/materialui/button/interactive';\n\nexport const flowPaginationItem: Components<Theme>['MuiPaginationItem'] = {\n defaultProps: {\n slots: {\n previous: ChevronLeftIcon,\n next: ChevronRightIcon,\n first: ChevronPreviousIcon,\n last: ChevronNextIcon,\n },\n },\n styleOverrides: {\n root: ({ theme }) => ({\n margin: '0 4px',\n [theme.breakpoints.down('md')]: {\n margin: '0 2px',\n },\n // focused style\n ...getFocusRingStyle(theme),\n // custom font style from Figma\n '&.MuiButtonBase-root': {\n // interactive style\n ...getInteractiveStyle(\n {\n backgroundColor: 'transparent',\n fontWeight: '300',\n fontSize: '18px',\n letterSpacing: '0.36px',\n [theme.breakpoints.down('md')]: {\n fontSize: '16px',\n },\n },\n {\n backgroundColor: theme.palette.transparent.primary,\n fontWeight: '400',\n fontSize: '18px',\n letterSpacing: '0.36px',\n [theme.breakpoints.down('md')]: {\n fontSize: '16px',\n },\n },\n ),\n },\n color: theme.palette.text.primary,\n lineHeight: '24px',\n padding: '0',\n minWidth: '35px',\n height: '36px',\n position: 'relative',\n borderRadius: '4px',\n '& .MuiSvgIcon-root': {\n fontSize: '20px',\n [theme.breakpoints.down('md')]: {\n fontSize: '18px',\n },\n },\n '&.Mui-disabled': {\n color: theme.palette.disabled.primary,\n opacity: '1',\n },\n // style for ellipsis\n '&.MuiPaginationItem-ellipsis': {\n lineHeight: '36px',\n margin: '0 1px',\n pointerEvents: 'none',\n },\n // hide ellipsis for default (text) variant\n '&.MuiPaginationItem-text.MuiPaginationItem-ellipsis': {\n display: 'none',\n },\n // reset style for outlined variant\n '&.MuiPaginationItem-outlined': {\n border: '0',\n },\n }),\n },\n};\n"],"names":["flowPaginationItem","defaultProps","slots","previous","ChevronLeftIcon","next","ChevronRightIcon","first","ChevronPreviousIcon","last","ChevronNextIcon","styleOverrides","root","theme","Object","assign","margin","breakpoints","down","getFocusRingStyle","getInteractiveStyle","backgroundColor","fontWeight","fontSize","letterSpacing","palette","transparent","primary","color","text","lineHeight","padding","minWidth","height","position","borderRadius","disabled","opacity","pointerEvents","display","border"],"mappings":"qWASa,MAAAA,EAA6D,CACxEC,aAAc,CACZC,MAAO,CACLC,SAAUC,EAAeA,gBACzBC,KAAMC,EAAgBA,iBACtBC,MAAOC,EAAmBA,oBAC1BC,KAAMC,EAAeA,kBAGzBC,eAAgB,CACdC,KAAM,EAAGC,WAAYC,OAAAC,OAAAD,OAAAC,OAAA,CACnBC,OAAQ,QACR,CAACH,EAAMI,YAAYC,KAAK,OAAQ,CAC9BF,OAAQ,UAGPG,EAAAA,kBAAkBN,IAAM,CAE3B,uBAAsBC,OAAAC,OAAA,CAAA,EAEjBK,EAAAA,oBACD,CACEC,gBAAiB,cACjBC,WAAY,MACZC,SAAU,OACVC,cAAe,SACf,CAACX,EAAMI,YAAYC,KAAK,OAAQ,CAC9BK,SAAU,SAGd,CACEF,gBAAiBR,EAAMY,QAAQC,YAAYC,QAC3CL,WAAY,MACZC,SAAU,OACVC,cAAe,SACf,CAACX,EAAMI,YAAYC,KAAK,OAAQ,CAC9BK,SAAU,WAKlBK,MAAOf,EAAMY,QAAQI,KAAKF,QAC1BG,WAAY,OACZC,QAAS,IACTC,SAAU,OACVC,OAAQ,OACRC,SAAU,WACVC,aAAc,MACd,qBAAsB,CACpBZ,SAAU,OACV,CAACV,EAAMI,YAAYC,KAAK,OAAQ,CAC9BK,SAAU,SAGd,iBAAkB,CAChBK,MAAOf,EAAMY,QAAQW,SAAST,QAC9BU,QAAS,KAGX,+BAAgC,CAC9BP,WAAY,OACZd,OAAQ,QACRsB,cAAe,QAGjB,sDAAuD,CACrDC,QAAS,QAGX,+BAAgC,CAC9BC,OAAQ"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var i=require("react/jsx-runtime"),e=require("../../components/icon/stroke/ShapeStarIcon.js"),n=require("../../components/icon/filled/ShapeStarFilledIcon.js");const t={defaultProps:{size:"medium",precision:1,max:5,icon:i.jsx(n.ShapeStarFilledIcon,{fontSize:"inherit"}),emptyIcon:i.jsx(e.ShapeStarIcon,{fontSize:"inherit"})},styleOverrides:{root:({theme:i})=>({"&.Mui-disabled":{opacity:"1","& .MuiRating-icon":{"&.MuiRating-iconFilled, &.MuiRating-iconEmpty":{color:i.palette.disabled.tertiary}}},"&.Mui-focusVisible .MuiRating-iconActive":{outline:`2px solid ${i.palette.info.main}`},"& .MuiRating-decimal":{transform:"none"},"& .MuiRating-decimal *":{maxWidth:"none"},"&.MuiRating-sizeSmall":{gap:"3px","& .MuiRating-iconFilled, & .MuiRating-iconEmpty":{fontSize:"1rem"}},"&.MuiRating-sizeMedium":{gap:"8px","& .MuiRating-iconFilled, & .MuiRating-iconEmpty":{fontSize:"1.5rem"}},"&.MuiRating-sizeLarge":{gap:"12px","& .MuiRating-iconFilled, & .MuiRating-iconEmpty":{fontSize:"2rem"}},"& .MuiRating-icon":{transition:"none",transform:"none","&.MuiRating-iconHover":{color:"dark"===i.palette.mode?i.palette.brand.secondary:i.palette.brand.primary},"&.MuiRating-iconFilled":{color:"dark"===i.palette.mode?i.palette.brand.secondary:i.palette.brand.primary},"&.MuiRating-iconEmpty":{color:i.palette.onSurface.os500}}})}};exports.flowRating=t;
|
|
2
|
+
//# sourceMappingURL=rating.theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rating.theme.js","sources":["../../../../../src/materialui/rating/rating.theme.tsx"],"sourcesContent":["import { Components } from '@mui/material/styles';\nimport { Theme } from '@mui/material';\nimport { ShapeStarIcon } from '@/src/components/icon/stroke/ShapeStarIcon';\nimport { ShapeStarFilledIcon } from '@/src/components/icon/filled/ShapeStarFilledIcon';\n\nexport const flowRating: Components<Theme>['MuiRating'] = {\n defaultProps: {\n size: 'medium',\n precision: 1,\n max: 5,\n icon: <ShapeStarFilledIcon fontSize=\"inherit\" />,\n emptyIcon: <ShapeStarIcon fontSize=\"inherit\" />,\n },\n styleOverrides: {\n root: ({ theme }) => ({\n '&.Mui-disabled': {\n opacity: '1',\n '& .MuiRating-icon': {\n '&.MuiRating-iconFilled, &.MuiRating-iconEmpty': {\n color: theme.palette.disabled.tertiary,\n },\n },\n },\n // focus visible state\n '&.Mui-focusVisible .MuiRating-iconActive': {\n outline: `2px solid ${theme.palette.info.main}`,\n },\n '& .MuiRating-decimal': {\n transform: 'none',\n },\n // will overwrite maxWidth: '100%' from css reset\n '& .MuiRating-decimal *': {\n maxWidth: 'none',\n },\n // size overrides\n '&.MuiRating-sizeSmall': {\n gap: '3px',\n '& .MuiRating-iconFilled, & .MuiRating-iconEmpty': {\n fontSize: '1rem',\n },\n },\n '&.MuiRating-sizeMedium': {\n gap: '8px',\n '& .MuiRating-iconFilled, & .MuiRating-iconEmpty': {\n fontSize: '1.5rem',\n },\n },\n '&.MuiRating-sizeLarge': {\n gap: '12px',\n '& .MuiRating-iconFilled, & .MuiRating-iconEmpty': {\n fontSize: '2rem',\n },\n },\n '& .MuiRating-icon': {\n transition: 'none',\n transform: 'none',\n // hover effects\n '&.MuiRating-iconHover': {\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.brand.primary,\n },\n '&.MuiRating-iconFilled': {\n // color: theme.palette.brand.primary,\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.brand.primary,\n },\n '&.MuiRating-iconEmpty': {\n color: theme.palette.onSurface.os500,\n },\n },\n }),\n },\n};\n"],"names":["flowRating","defaultProps","size","precision","max","icon","_jsx","ShapeStarFilledIcon","fontSize","emptyIcon","ShapeStarIcon","styleOverrides","root","theme","opacity","color","palette","disabled","tertiary","outline","info","main","transform","maxWidth","gap","transition","mode","brand","secondary","primary","onSurface","os500"],"mappings":"4KAKa,MAAAA,EAA6C,CACxDC,aAAc,CACZC,KAAM,SACNC,UAAW,EACXC,IAAK,EACLC,KAAMC,EAAAA,IAACC,EAAAA,qBAAoBC,SAAS,YACpCC,UAAWH,EAAAA,IAACI,EAAAA,eAAcF,SAAS,aAErCG,eAAgB,CACdC,KAAM,EAAGC,YAAa,CACpB,iBAAkB,CAChBC,QAAS,IACT,oBAAqB,CACnB,gDAAiD,CAC/CC,MAAOF,EAAMG,QAAQC,SAASC,YAKpC,2CAA4C,CAC1CC,QAAS,aAAaN,EAAMG,QAAQI,KAAKC,QAE3C,uBAAwB,CACtBC,UAAW,QAGb,yBAA0B,CACxBC,SAAU,QAGZ,wBAAyB,CACvBC,IAAK,MACL,kDAAmD,CACjDhB,SAAU,SAGd,yBAA0B,CACxBgB,IAAK,MACL,kDAAmD,CACjDhB,SAAU,WAGd,wBAAyB,CACvBgB,IAAK,OACL,kDAAmD,CACjDhB,SAAU,SAGd,oBAAqB,CACnBiB,WAAY,OACZH,UAAW,OAEX,wBAAyB,CACvBP,MAA8B,SAAvBF,EAAMG,QAAQU,KAAkBb,EAAMG,QAAQW,MAAMC,UAAYf,EAAMG,QAAQW,MAAME,SAE7F,yBAA0B,CAExBd,MAA8B,SAAvBF,EAAMG,QAAQU,KAAkBb,EAAMG,QAAQW,MAAMC,UAAYf,EAAMG,QAAQW,MAAME,SAE7F,wBAAyB,CACvBd,MAAOF,EAAMG,QAAQc,UAAUC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),o=require("../../components/icon/stroke/ArrowLeftIcon.js"),n=require("../../components/icon/stroke/ArrowRightIcon.js"),i=require("../../components/icon/stroke/ChevronPreviousIcon.js"),s=require("../../components/icon/stroke/ChevronNextIcon.js"),r=require("../../components/focusring/focusring.js");const a={defaultProps:{showFirstButton:!1,showLastButton:!1,labelDisplayedRows:({from:o,to:n,count:i,page:s})=>e.jsxs(e.Fragment,{children:[e.jsx(t.Box,{component:"strong",children:s+1}),e.jsx(t.Box,{component:"span",className:"divider",children:" / "}),e.jsx(t.Box,{component:"span",children:Math.round(i/(s>=1?(o-1)/s:n-o+1))||1})]}),slots:{actions:{previousButtonIcon:o.ArrowLeftIcon,nextButtonIcon:n.ArrowRightIcon,firstButtonIcon:i.ChevronPreviousIcon,lastButtonIcon:s.ChevronNextIcon}},slotProps:{actions:{previousButton:{size:"medium",className:"MuiTablePagination-actions-previous"},nextButton:{size:"medium",className:"MuiTablePagination-actions-next"},firstButton:{size:"medium"},lastButton:{size:"medium"}}}},styleOverrides:{root:({theme:e})=>({border:`1px solid ${e.palette.surface.secondary}`,borderRadius:"8px","&td":{border:"none",borderRadius:"0"}}),toolbar:({theme:e})=>({justifyContent:"center",[e.breakpoints.up("md")]:{minHeight:"80px",padding:"4px 24px"},[e.breakpoints.down("md")]:{flexWrap:"wrap",minHeight:"0",padding:"8px 16px"}}),spacer:({theme:e})=>Object.assign(Object.assign({flexGrow:"1",flexBasis:"auto"},e.typography.body),{[e.breakpoints.down("sm")]:{flexBasis:"100%",textAlign:"center"}}),selectLabel:{margin:"0"},input:({theme:e})=>Object.assign(Object.assign(Object.assign({margin:"0",padding:"0",borderRadius:"4px"},e.typography.body),r.getFocusRingStyle(e,!1,"0px","&.Mui-focused")),{[e.breakpoints.up("xs")]:{fontWeight:"700"},"&& .MuiSelect-select":{padding:"4px 26px 4px 4px"}}),displayedRows:({theme:e,ownerState:t})=>({position:"absolute",right:24+(t.showLastButton?88:44)+"px",width:"90px",textAlign:"center",whiteSpace:"nowrap",height:"44px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0",color:"dark"===e.palette.mode?e.palette.onSurface.os300:e.palette.onSurface.os700,strong:{color:e.palette.text.primary},".divider":{fontWeight:"400",margin:"0 4px"},[e.breakpoints.down("md")]:{bottom:"8px",right:"0",left:"0",margin:"0 auto"}}),actions:({theme:e})=>({margin:"0",display:"flex",alignItems:"center",justifyContent:"flex-end",flexGrow:"1","& .MuiTablePagination-actions-next":{marginLeft:"90px"},[e.breakpoints.down("md")]:{flexBasis:"100%",justifyContent:"center"}})}};exports.flowTablePagination=a;
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),o=require("../../components/icon/stroke/ArrowLeftIcon.js"),n=require("../../components/icon/stroke/ArrowRightIcon.js"),i=require("../../components/icon/stroke/ChevronPreviousIcon.js"),s=require("../../components/icon/stroke/ChevronNextIcon.js"),r=require("../../components/focusring/focusring.js");const a={defaultProps:{showFirstButton:!1,showLastButton:!1,labelDisplayedRows:({from:o,to:n,count:i,page:s})=>e.jsxs(e.Fragment,{children:[e.jsx(t.Box,{component:"strong",children:s+1}),e.jsx(t.Box,{component:"span",className:"divider",children:" / "}),e.jsx(t.Box,{component:"span",children:Math.round(i/(s>=1?(o-1)/s:n-o+1))||1})]}),slots:{actions:{previousButtonIcon:o.ArrowLeftIcon,nextButtonIcon:n.ArrowRightIcon,firstButtonIcon:i.ChevronPreviousIcon,lastButtonIcon:s.ChevronNextIcon}},slotProps:{actions:{previousButton:{size:"medium",className:"MuiTablePagination-actions-previous"},nextButton:{size:"medium",className:"MuiTablePagination-actions-next"},firstButton:{size:"medium"},lastButton:{size:"medium"}}}},styleOverrides:{root:({theme:e})=>({border:`1px solid ${e.palette.surface.secondary}`,borderRadius:"8px","&td":{border:"none",borderRadius:"0"}}),toolbar:({theme:e})=>({position:"relative",justifyContent:"center",[e.breakpoints.up("md")]:{minHeight:"80px",padding:"4px 24px"},[e.breakpoints.down("md")]:{flexWrap:"wrap",minHeight:"0",padding:"8px 16px"}}),spacer:({theme:e})=>Object.assign(Object.assign({flexGrow:"1",flexBasis:"auto"},e.typography.body),{[e.breakpoints.down("sm")]:{flexBasis:"100%",textAlign:"center"}}),selectLabel:{margin:"0"},input:({theme:e})=>Object.assign(Object.assign(Object.assign({margin:"0",padding:"0",borderRadius:"4px"},e.typography.body),r.getFocusRingStyle(e,!1,"0px","&.Mui-focused")),{[e.breakpoints.up("xs")]:{fontWeight:"700"},"&& .MuiSelect-select":{padding:"4px 26px 4px 4px"}}),displayedRows:({theme:e,ownerState:t})=>({position:"absolute",right:24+(t.showLastButton?88:44)+"px",width:"90px",textAlign:"center",whiteSpace:"nowrap",height:"44px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0",color:"dark"===e.palette.mode?e.palette.onSurface.os300:e.palette.onSurface.os700,strong:{color:e.palette.text.primary},".divider":{fontWeight:"400",margin:"0 4px"},[e.breakpoints.down("md")]:{bottom:"8px",right:"0",left:"0",margin:"0 auto"}}),actions:({theme:e})=>({margin:"0",display:"flex",alignItems:"center",justifyContent:"flex-end",flexGrow:"1","& .MuiTablePagination-actions-next":{marginLeft:"90px"},[e.breakpoints.down("md")]:{flexBasis:"100%",justifyContent:"center"}})}};exports.flowTablePagination=a;
|
|
2
2
|
//# sourceMappingURL=tablePagination.theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tablePagination.theme.js","sources":["../../../../../src/materialui/table/tablePagination.theme.tsx"],"sourcesContent":["import { Components } from '@mui/material/styles';\nimport { Theme, Box } from '@mui/material';\nimport { ArrowLeftIcon } from '@/src/components/icon/stroke/ArrowLeftIcon';\nimport { ArrowRightIcon } from '@/src/components/icon/stroke/ArrowRightIcon';\nimport { ChevronPreviousIcon } from '@/src/components/icon/stroke/ChevronPreviousIcon';\nimport { ChevronNextIcon } from '@/src/components/icon/stroke/ChevronNextIcon';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport const flowTablePagination: Components<Theme>['MuiTablePagination'] = {\n defaultProps: {\n // not recommended properties, <Pagination /> component should be utilized instead\n showFirstButton: false,\n showLastButton: false,\n // adjust label\n // we are obtaining max page from the available params\n // - first page, calculated from 'from' and 'to'\n // - other pages, calculated from 'from' - 1 and diving by current page\n labelDisplayedRows: ({ from, to, count, page }) => (\n <>\n <Box component=\"strong\">{page + 1}</Box>\n <Box component=\"span\" className=\"divider\">{` / `}</Box>\n <Box component=\"span\">{Math.round(count / (page >= 1 ? (from - 1) / page : to - from + 1)) || 1}</Box>\n </>\n ),\n // correct icons\n slots: {\n actions: {\n // navigation arrows\n previousButtonIcon: ArrowLeftIcon,\n nextButtonIcon: ArrowRightIcon,\n // first & last extra arrow (hidden by default)\n firstButtonIcon: ChevronPreviousIcon,\n lastButtonIcon: ChevronNextIcon,\n },\n },\n slotProps: {\n actions: {\n previousButton: {\n size: 'medium',\n className: 'MuiTablePagination-actions-previous',\n },\n nextButton: {\n size: 'medium',\n className: 'MuiTablePagination-actions-next',\n },\n firstButton: {\n size: 'medium',\n },\n lastButton: {\n size: 'medium',\n },\n },\n },\n },\n styleOverrides: {\n root: ({ theme }) => ({\n // we are outside table\n border: `1px solid ${theme.palette.surface.secondary}`,\n borderRadius: '8px',\n // part of <TableFooter /> and <TableRow />\n '&td': {\n border: 'none',\n borderRadius: '0',\n },\n }),\n // wrapper under root\n toolbar: ({ theme }) => ({\n justifyContent: 'center',\n // mimic style from tableCell.theme\n [theme.breakpoints.up('md')]: {\n minHeight: '80px',\n // right padding also affect position of displayedRows\n padding: '4px 24px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // support multiple rows\n flexWrap: 'wrap',\n // adjust proportions\n minHeight: '0',\n padding: '8px 16px',\n },\n }),\n // first element on left side\n spacer: ({ theme }) => ({\n // make sure to keep most of the space on the left\n flexGrow: '1',\n flexBasis: 'auto',\n // in case text is provided\n ...theme.typography.body,\n // tiny responsive\n [theme.breakpoints.down('sm')]: {\n // take whole row\n flexBasis: '100%',\n textAlign: 'center',\n },\n }),\n // 'row per page:' text\n selectLabel: {\n margin: '0',\n },\n // input field for amount of rows\n input: ({ theme }) => ({\n margin: '0',\n padding: '0',\n borderRadius: '4px',\n ...theme.typography.body,\n ...getFocusRingStyle(theme, false, '0px', '&.Mui-focused'),\n [theme.breakpoints.up('xs')]: {\n fontWeight: '700',\n },\n '&& .MuiSelect-select': {\n padding: '4px 26px 4px 4px',\n },\n }),\n // label of current page, 1/10\n displayedRows: ({ theme, ownerState }) => ({\n // move into actions\n position: 'absolute',\n // IconButton size + padding\n right: `${(ownerState.showLastButton ? 44 * 2 : 44) + 24}px`,\n // this requires fixed size, also prevents jumping\n width: '90px',\n textAlign: 'center',\n whiteSpace: 'nowrap',\n // match size of IconButtons\n height: '44px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n // proportions and style\n margin: '0',\n color: theme.palette.mode === 'dark' ? theme.palette.onSurface.os300 : theme.palette.onSurface.os700,\n strong: {\n color: theme.palette.text.primary,\n },\n '.divider': {\n fontWeight: '400',\n margin: '0 4px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // move to 2nd row (matches new padding from toolbar)\n bottom: '8px',\n // move to center\n right: '0',\n left: '0',\n margin: '0 auto',\n },\n }),\n // navigation arrows, < >\n actions: ({ theme }) => ({\n margin: '0',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n // make sure to keep most of the space on the right\n flexGrow: '1',\n '& .MuiTablePagination-actions-next': {\n // extra space for displayedRows\n marginLeft: '90px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // move to new row\n flexBasis: '100%',\n // center content\n justifyContent: 'center',\n },\n }),\n },\n};\n"],"names":["flowTablePagination","defaultProps","showFirstButton","showLastButton","labelDisplayedRows","from","to","count","page","_jsxs","_Fragment","Fragment","children","_jsx","Box","component","jsx","className","Math","round","slots","actions","previousButtonIcon","ArrowLeftIcon","nextButtonIcon","ArrowRightIcon","firstButtonIcon","ChevronPreviousIcon","lastButtonIcon","ChevronNextIcon","slotProps","previousButton","size","nextButton","firstButton","lastButton","styleOverrides","root","theme","border","palette","surface","secondary","borderRadius","toolbar","justifyContent","breakpoints","up","minHeight","padding","down","flexWrap","spacer","Object","assign","flexGrow","flexBasis","typography","body","textAlign","selectLabel","margin","input","getFocusRingStyle","fontWeight","displayedRows","ownerState","
|
|
1
|
+
{"version":3,"file":"tablePagination.theme.js","sources":["../../../../../src/materialui/table/tablePagination.theme.tsx"],"sourcesContent":["import { Components } from '@mui/material/styles';\nimport { Theme, Box } from '@mui/material';\nimport { ArrowLeftIcon } from '@/src/components/icon/stroke/ArrowLeftIcon';\nimport { ArrowRightIcon } from '@/src/components/icon/stroke/ArrowRightIcon';\nimport { ChevronPreviousIcon } from '@/src/components/icon/stroke/ChevronPreviousIcon';\nimport { ChevronNextIcon } from '@/src/components/icon/stroke/ChevronNextIcon';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport const flowTablePagination: Components<Theme>['MuiTablePagination'] = {\n defaultProps: {\n // not recommended properties, <Pagination /> component should be utilized instead\n showFirstButton: false,\n showLastButton: false,\n // adjust label\n // we are obtaining max page from the available params\n // - first page, calculated from 'from' and 'to'\n // - other pages, calculated from 'from' - 1 and diving by current page\n labelDisplayedRows: ({ from, to, count, page }) => (\n <>\n <Box component=\"strong\">{page + 1}</Box>\n <Box component=\"span\" className=\"divider\">{` / `}</Box>\n <Box component=\"span\">{Math.round(count / (page >= 1 ? (from - 1) / page : to - from + 1)) || 1}</Box>\n </>\n ),\n // correct icons\n slots: {\n actions: {\n // navigation arrows\n previousButtonIcon: ArrowLeftIcon,\n nextButtonIcon: ArrowRightIcon,\n // first & last extra arrow (hidden by default)\n firstButtonIcon: ChevronPreviousIcon,\n lastButtonIcon: ChevronNextIcon,\n },\n },\n slotProps: {\n actions: {\n previousButton: {\n size: 'medium',\n className: 'MuiTablePagination-actions-previous',\n },\n nextButton: {\n size: 'medium',\n className: 'MuiTablePagination-actions-next',\n },\n firstButton: {\n size: 'medium',\n },\n lastButton: {\n size: 'medium',\n },\n },\n },\n },\n styleOverrides: {\n root: ({ theme }) => ({\n // we are outside table\n border: `1px solid ${theme.palette.surface.secondary}`,\n borderRadius: '8px',\n // part of <TableFooter /> and <TableRow />\n '&td': {\n border: 'none',\n borderRadius: '0',\n },\n }),\n // wrapper under root\n toolbar: ({ theme }) => ({\n position: 'relative',\n justifyContent: 'center',\n // mimic style from tableCell.theme\n [theme.breakpoints.up('md')]: {\n minHeight: '80px',\n // right padding also affect position of displayedRows\n padding: '4px 24px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // support multiple rows\n flexWrap: 'wrap',\n // adjust proportions\n minHeight: '0',\n padding: '8px 16px',\n },\n }),\n // first element on left side\n spacer: ({ theme }) => ({\n // make sure to keep most of the space on the left\n flexGrow: '1',\n flexBasis: 'auto',\n // in case text is provided\n ...theme.typography.body,\n // tiny responsive\n [theme.breakpoints.down('sm')]: {\n // take whole row\n flexBasis: '100%',\n textAlign: 'center',\n },\n }),\n // 'row per page:' text\n selectLabel: {\n margin: '0',\n },\n // input field for amount of rows\n input: ({ theme }) => ({\n margin: '0',\n padding: '0',\n borderRadius: '4px',\n ...theme.typography.body,\n ...getFocusRingStyle(theme, false, '0px', '&.Mui-focused'),\n [theme.breakpoints.up('xs')]: {\n fontWeight: '700',\n },\n '&& .MuiSelect-select': {\n padding: '4px 26px 4px 4px',\n },\n }),\n // label of current page, 1/10\n displayedRows: ({ theme, ownerState }) => ({\n // move into actions\n position: 'absolute',\n // IconButton size + padding\n right: `${(ownerState.showLastButton ? 44 * 2 : 44) + 24}px`,\n // this requires fixed size, also prevents jumping\n width: '90px',\n textAlign: 'center',\n whiteSpace: 'nowrap',\n // match size of IconButtons\n height: '44px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n // proportions and style\n margin: '0',\n color: theme.palette.mode === 'dark' ? theme.palette.onSurface.os300 : theme.palette.onSurface.os700,\n strong: {\n color: theme.palette.text.primary,\n },\n '.divider': {\n fontWeight: '400',\n margin: '0 4px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // move to 2nd row (matches new padding from toolbar)\n bottom: '8px',\n // move to center\n right: '0',\n left: '0',\n margin: '0 auto',\n },\n }),\n // navigation arrows, < >\n actions: ({ theme }) => ({\n margin: '0',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n // make sure to keep most of the space on the right\n flexGrow: '1',\n '& .MuiTablePagination-actions-next': {\n // extra space for displayedRows\n marginLeft: '90px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // move to new row\n flexBasis: '100%',\n // center content\n justifyContent: 'center',\n },\n }),\n },\n};\n"],"names":["flowTablePagination","defaultProps","showFirstButton","showLastButton","labelDisplayedRows","from","to","count","page","_jsxs","_Fragment","Fragment","children","_jsx","Box","component","jsx","className","Math","round","slots","actions","previousButtonIcon","ArrowLeftIcon","nextButtonIcon","ArrowRightIcon","firstButtonIcon","ChevronPreviousIcon","lastButtonIcon","ChevronNextIcon","slotProps","previousButton","size","nextButton","firstButton","lastButton","styleOverrides","root","theme","border","palette","surface","secondary","borderRadius","toolbar","position","justifyContent","breakpoints","up","minHeight","padding","down","flexWrap","spacer","Object","assign","flexGrow","flexBasis","typography","body","textAlign","selectLabel","margin","input","getFocusRingStyle","fontWeight","displayedRows","ownerState","right","width","whiteSpace","height","display","alignItems","color","mode","onSurface","os300","os700","strong","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9BM,UAAW,OACXG,UAAW,YAIfC,YAAa,CACXC,OAAQ,KAGVC,MAAO,EAAGzB,WAAYgB,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,CACpBO,OAAQ,IACRZ,QAAS,IACTP,aAAc,OACXL,EAAMoB,WAAWC,MACjBK,EAAAA,kBAAkB1B,GAAO,EAAO,MAAO,mBAC1C,CAACA,EAAMS,YAAYC,GAAG,OAAQ,CAC5BiB,WAAY,OAEd,uBAAwB,CACtBf,QAAS,sBAIbgB,cAAe,EAAG5B,QAAO6B,iBAAkB,CAEzCtB,SAAU,WAEVuB,MAAsD,IAA3CD,EAAWhE,eAAiB,GAAS,IAAzC,KAEPkE,MAAO,OACPT,UAAW,SACXU,WAAY,SAEZC,OAAQ,OACRC,QAAS,OACTC,WAAY,SACZ3B,eAAgB,SAEhBgB,OAAQ,IACRY,MAA8B,SAAvBpC,EAAME,QAAQmC,KAAkBrC,EAAME,QAAQoC,UAAUC,MAAQvC,EAAME,QAAQoC,UAAUE,MAC/FC,OAAQ,CACNL,MAAOpC,EAAME,QAAQwC,KAAKC,SAE5B,WAAY,CACVhB,WAAY,MACZH,OAAQ,SAGV,CAACxB,EAAMS,YAAYI,KAAK,OAAQ,CAE9B+B,OAAQ,MAERd,MAAO,IACPe,KAAM,IACNrB,OAAQ,YAIZzC,QAAS,EAAGiB,YAAa,CACvBwB,OAAQ,IACRU,QAAS,OACTC,WAAY,SACZ3B,eAAgB,WAEhBU,SAAU,IACV,qCAAsC,CAEpC4B,WAAY,QAGd,CAAC9C,EAAMS,YAAYI,KAAK,OAAQ,CAE9BM,UAAW,OAEXX,eAAgB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),i=require("react/jsx-runtime"),s=require("react"),
|
|
1
|
+
"use strict";var e=require("tslib"),i=require("react/jsx-runtime"),s=require("react"),a=require("@mui/material");const t=s.forwardRef(((t,n)=>{var r,{children:l,link:o=!1}=t,c=e.__rest(t,["children","link"]);const b=s.useMemo((()=>({display:"inherit",alignItems:"inherit",justifyContent:"inherit",flexDirection:"inherit",gap:"inherit"})),[]);return i.jsx(a.ButtonBase,Object.assign({ref:n,"aria-label":"navigation"},o&&{component:"a"},c,{tabIndex:(null===(r=c.className)||void 0===r?void 0:r.includes("Mui-disabled"))?-1:0,children:i.jsxs(a.Box,{className:"FlowTab-labelWrapper",sx:Object.assign(Object.assign({},b),{position:"relative"}),children:[i.jsx(a.Box,{className:"FlowTab-label",sx:Object.assign(Object.assign({},b),{position:"absolute"}),children:l}),i.jsx(a.Box,{className:"FlowTab-selectedLabel",sx:Object.assign(Object.assign({},b),{fontWeight:"700",opacity:"0",position:"relative"}),"aria-hidden":"true",children:l})]})}))}));exports.FlowTab=t;
|
|
2
2
|
//# sourceMappingURL=Tab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.js","sources":["../../../../../src/materialui/tabs/Tab.tsx"],"sourcesContent":["import React, { useMemo, forwardRef } from 'react';\nimport { Box, ButtonBase, ButtonBaseProps } from '@mui/material';\n\n/**\n * Component used to render Tab, contains duplication of label to change font-weight without changing width\n */\nexport const FlowTab: React.FC<ButtonBaseProps & { link?: boolean }> = forwardRef(\n ({ children, link = false, ...rest }, ref) => {\n // shared style between label and selectedLabel\n const sharedLabelSx = useMemo(\n () => ({\n display: 'inherit',\n alignItems: 'inherit',\n justifyContent: 'inherit',\n flexDirection: 'inherit',\n gap: 'inherit',\n }),\n [],\n );\n\n return (\n <ButtonBase\n ref={ref}\n {...(link
|
|
1
|
+
{"version":3,"file":"Tab.js","sources":["../../../../../src/materialui/tabs/Tab.tsx"],"sourcesContent":["import React, { useMemo, forwardRef } from 'react';\nimport { Box, ButtonBase, ButtonBaseProps } from '@mui/material';\n\n/**\n * Component used to render Tab, contains duplication of label to change font-weight without changing width\n */\nexport const FlowTab: React.FC<ButtonBaseProps & { link?: boolean }> = forwardRef(\n ({ children, link = false, ...rest }, ref) => {\n // shared style between label and selectedLabel\n const sharedLabelSx = useMemo(\n () => ({\n display: 'inherit',\n alignItems: 'inherit',\n justifyContent: 'inherit',\n flexDirection: 'inherit',\n gap: 'inherit',\n }),\n [],\n );\n\n return (\n <ButtonBase\n ref={ref}\n aria-label=\"navigation\"\n {...(link && { component: 'a' })}\n {...rest}\n tabIndex={rest.className?.includes('Mui-disabled') ? -1 : 0}\n >\n <Box className=\"FlowTab-labelWrapper\" sx={{ ...sharedLabelSx, position: 'relative' }}>\n <Box\n className=\"FlowTab-label\"\n sx={{\n ...sharedLabelSx,\n position: 'absolute',\n // expands from center, can be changed to expand from left/right with left: 0;\n }}\n >\n {children}\n </Box>\n <Box\n className=\"FlowTab-selectedLabel\"\n sx={{\n ...sharedLabelSx,\n fontWeight: '700',\n // hidden by default, appears once Tab is selected (tab.theme)\n opacity: '0',\n position: 'relative',\n }}\n aria-hidden=\"true\"\n >\n {children}\n </Box>\n </Box>\n </ButtonBase>\n );\n },\n);\n"],"names":["FlowTab","forwardRef","_a","ref","children","link","rest","__rest","sharedLabelSx","useMemo","display","alignItems","justifyContent","flexDirection","gap","_jsx","jsx","ButtonBase","component","tabIndex","_b","className","includes","_jsxs","jsxs","Box","sx","Object","assign","position","fontWeight","opacity"],"mappings":"iHAMa,MAAAA,EAA0DC,EAAUA,YAC/E,CAACC,EAAqCC,YAArCC,SAAEA,EAAQC,KAAEA,GAAO,KAAUC,EAA7BC,EAAAA,OAAAL,EAAA,CAAA,WAAA,SAEC,MAAMM,EAAgBC,EAAAA,SACpB,KAAO,CACLC,QAAS,UACTC,WAAY,UACZC,eAAgB,UAChBC,cAAe,UACfC,IAAK,aAEP,IAGF,OACEC,EAACC,IAAAC,EAAUA,0BACTd,IAAKA,EACM,aAAA,cACNE,GAAQ,CAAEa,UAAW,KACtBZ,GACJa,UAAwB,QAAdC,EAAAd,EAAKe,iBAAS,IAAAD,OAAA,EAAAA,EAAEE,SAAS,oBAAuB,EAE1DlB,SAAAmB,EAAAC,KAACC,EAAGA,IAAA,CAACJ,UAAU,uBAAuBK,GAAEC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAOpB,GAAe,CAAAqB,SAAU,aAAUzB,SAAA,CAChFW,EAAAA,IAACU,EAAGA,IAAA,CACFJ,UAAU,gBACVK,GAAEC,OAAAC,OAAAD,OAAAC,OAAA,GACGpB,GACH,CAAAqB,SAAU,aAAUzB,SAIrBA,IAEHW,MAACU,EAAAA,IAAG,CACFJ,UAAU,wBACVK,GAAEC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACGpB,GACH,CAAAsB,WAAY,MAEZC,QAAS,IACTF,SAAU,aAAU,cAEV,OAAMzB,SAEjBA,SAGM"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("./Tab.js"),
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("./Tab.js"),i=require("../../components/focusring/focusring.js");const o={defaultProps:{disableRipple:!0,iconPosition:"start",component:t.FlowTab,LinkComponent:i=>e.jsx(t.FlowTab,Object.assign({link:!0},i))},styleOverrides:{root:({theme:e,ownerState:t})=>Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",overflow:"visible",padding:"8px 8px",minHeight:"0",minWidth:"0",gap:"8px",margin:"2px 2px 10px",borderRadius:"4px",fontSize:"20px",textTransform:"none",fontWeight:"400",color:e.palette.text.primary,"&:hover, &.Mui-focusVisible":{"& .FlowTab-label":{display:"none"},"& .FlowTab-selectedLabel":{opacity:"1"}}},t.icon&&Object.assign(Object.assign({},"start"===t.iconPosition&&{"& .FlowTab-label":{left:"0"}}),"end"===t.iconPosition&&{"& .FlowTab-label":{right:"0"}})),{"&.Mui-selected":{color:e.palette.text.primary,fontWeight:"700","& .FlowTab-label":{display:"none"},"& .FlowTab-selectedLabel":{opacity:"1"}},"&.Mui-disabled":{color:e.palette.disabled.tertiary}}),i.getFocusRingStyle(e,!1,"2px")),{[e.breakpoints.down("md")]:{fontSize:"16px",marginBottom:"10px"}})}};exports.flowTab=o;
|
|
2
2
|
//# sourceMappingURL=tab.theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab.theme.js","sources":["../../../../../src/materialui/tabs/tab.theme.tsx"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\nimport { FlowTab } from './Tab';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport const flowTab: Components<Theme>['MuiTab'] = {\n defaultProps: {\n disableRipple: true,\n iconPosition: 'start',\n // duplicate labels so we can change font-weight without increasing width\n component: FlowTab,\n LinkComponent: (props) => <FlowTab link {...props} />,\n },\n styleOverrides: {\n root: ({ theme, ownerState }) => ({\n position: 'relative',\n overflow: 'visible',\n // proportions\n padding: '
|
|
1
|
+
{"version":3,"file":"tab.theme.js","sources":["../../../../../src/materialui/tabs/tab.theme.tsx"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\nimport { FlowTab } from './Tab';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport const flowTab: Components<Theme>['MuiTab'] = {\n defaultProps: {\n disableRipple: true,\n iconPosition: 'start',\n // duplicate labels so we can change font-weight without increasing width\n component: FlowTab,\n LinkComponent: (props) => <FlowTab link {...props} />,\n },\n styleOverrides: {\n root: ({ theme, ownerState }) => ({\n position: 'relative',\n overflow: 'visible',\n // proportions\n padding: '8px 8px',\n minHeight: '0',\n minWidth: '0',\n // space between label and icon\n gap: '8px',\n // make sure there is space for focused boxShadow\n margin: '2px 2px 10px',\n // style\n borderRadius: '4px',\n // custom font style according to design\n fontSize: '20px',\n textTransform: 'none',\n fontWeight: '400',\n // colors and effects\n color: theme.palette.text.primary,\n '&:hover, &.Mui-focusVisible': {\n // hide regular label\n '& .FlowTab-label': {\n display: 'none',\n },\n // show selected label with bolder font\n '& .FlowTab-selectedLabel': {\n opacity: '1',\n },\n },\n // icon in tab\n ...(ownerState.icon && {\n // prevent icon from jumping between switching font weights\n ...(ownerState.iconPosition === 'start' && {\n // expand from left\n '& .FlowTab-label': {\n left: '0',\n },\n }),\n ...(ownerState.iconPosition === 'end' && {\n // expand from right\n '& .FlowTab-label': {\n right: '0',\n },\n }),\n }),\n // active\n '&.Mui-selected': {\n color: theme.palette.text.primary,\n fontWeight: '700',\n // hide regular label\n '& .FlowTab-label': {\n display: 'none',\n },\n // show selected label with bolder font\n '& .FlowTab-selectedLabel': {\n opacity: '1',\n },\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n // focused style\n ...getFocusRingStyle(theme, false, '2px'),\n // responsive\n [theme.breakpoints.down('md')]: {\n fontSize: '16px',\n marginBottom: '10px',\n },\n }),\n },\n};\n"],"names":["flowTab","defaultProps","disableRipple","iconPosition","component","FlowTab","LinkComponent","props","_jsx","jsx","Object","assign","link","styleOverrides","root","theme","ownerState","position","overflow","padding","minHeight","minWidth","gap","margin","borderRadius","fontSize","textTransform","fontWeight","color","palette","text","primary","display","opacity","icon","left","right","disabled","tertiary","getFocusRingStyle","breakpoints","down","marginBottom"],"mappings":"2HAIa,MAAAA,EAAuC,CAClDC,aAAc,CACZC,eAAe,EACfC,aAAc,QAEdC,UAAWC,EAAOA,QAClBC,cAAgBC,GAAUC,EAACC,IAAAJ,UAAQK,OAAAC,OAAA,CAAAC,MAAS,GAAAL,KAE9CM,eAAgB,CACdC,KAAM,EAAGC,QAAOC,yEACdC,SAAU,WACVC,SAAU,UAEVC,QAAS,UACTC,UAAW,IACXC,SAAU,IAEVC,IAAK,MAELC,OAAQ,eAERC,aAAc,MAEdC,SAAU,OACVC,cAAe,OACfC,WAAY,MAEZC,MAAOb,EAAMc,QAAQC,KAAKC,QAC1B,8BAA+B,CAE7B,mBAAoB,CAClBC,QAAS,QAGX,2BAA4B,CAC1BC,QAAS,OAITjB,EAAWkB,MAAIxB,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAEe,UAA5BK,EAAWb,cAA4B,CAEzC,mBAAoB,CAClBgC,KAAM,OAGsB,QAA5BnB,EAAWb,cAA0B,CAEvC,mBAAoB,CAClBiC,MAAO,QAGX,CAEF,iBAAkB,CAChBR,MAAOb,EAAMc,QAAQC,KAAKC,QAC1BJ,WAAY,MAEZ,mBAAoB,CAClBK,QAAS,QAGX,2BAA4B,CAC1BC,QAAS,MAIb,iBAAkB,CAChBL,MAAOb,EAAMc,QAAQQ,SAASC,YAG7BC,EAAAA,kBAAkBxB,GAAO,EAAO,QAAM,CAEzC,CAACA,EAAMyB,YAAYC,KAAK,OAAQ,CAC9BhB,SAAU,OACViB,aAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("./ScrollButton.js"),t=require("../../components/focusring/focusring.js"),
|
|
1
|
+
"use strict";var e=require("./ScrollButton.js"),t=require("../../components/focusring/focusring.js"),r=require("../button/interactive.js");const a={defaultProps:{scrollButtons:"auto",allowScrollButtonsMobile:!0,visibleScrollbar:!1,variant:"scrollable",slots:{scrollButtons:e.FlowScrollButton}},styleOverrides:{root:({ownerState:e})=>Object.assign(Object.assign({minHeight:"0",alignItems:"center",gap:"0"},e.fullWidth||"fullWidth"===e.variant?{"& .MuiTab-root":{flexGrow:"1"}}:{}),e.centered?{justifyContent:"center"}:{}),flexContainer:({theme:e})=>({gap:"16px",[e.breakpoints.up("md")]:{gap:"28px"}}),indicator:({theme:e,ownerState:t})=>Object.assign(Object.assign({maxWidth:"none",background:"transparent",display:"block",height:"3px",color:"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.brand.primary},"secondary"===t.indicatorColor&&{color:e.palette.text.primary}),{"&:before":{display:"block",content:'""',position:"absolute",left:"8px",right:"8px",top:"0",bottom:"0",backgroundColor:"currentColor"}}),scroller:({ownerState:e})=>({flexGrow:e.fullWidth||"fullWidth"===e.variant?"1":"0","&::-webkit-scrollbar:horizontal":{height:"24px"},"&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal":{borderWidth:"10px"}}),scrollButtons:({theme:e})=>({color:e.palette.text.primary,"&.Mui-disabled":{opacity:"1",color:e.palette.disabled.primary}})},variants:[{props:{template:"underlined"},style:({theme:e})=>({marginLeft:"-6px",marginRight:"-6px",maxWidth:"none","& .MuiTabs-scroller":{"&::-webkit-scrollbar:horizontal":{height:"16px"},"&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal":{borderWidth:"6px"}},"& .MuiTabs-flexContainer":{padding:"6px",gap:"0"},"& .MuiTabs-indicator":{bottom:"6px","&:before":{inset:"0"}},"& .MuiTab-root":Object.assign(Object.assign({margin:"0",padding:"12px 24px",[e.breakpoints.down("md")]:{paddingTop:"10px",paddingBottom:"10px"},borderRadius:"0",color:"dark"===e.palette.mode?e.palette.onSurface.os300:e.palette.onSurface.os700},e.typography.subheadline),{[e.breakpoints.up("xs")]:{fontWeight:"300"},"&:after":{content:'""',position:"absolute",left:"0",right:"0",bottom:"0",height:"1px",backgroundColor:e.palette.onSurface.os500},"&:hover, &.Mui-focusVisible":{"&:after":{height:"2px"}},"&.Mui-selected":{color:"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.brand.primary,backgroundColor:"dark"===e.palette.mode?e.palette.surface.primary:e.palette.transparent.primary},"&.Mui-disabled":{color:e.palette.disabled.tertiary},"&.Mui-focusVisible":{zIndex:"10",boxShadow:`0 0 0 2px ${e.palette.background.primary}`,"&:before":{inset:"-2px",borderRadius:"4px"}}})})},{props:{template:"buttons"},style:({theme:e})=>({"& .MuiTabs-flexContainer":{gap:"8px"},"& .MuiTabs-indicator":{display:"none"},"& .MuiTab-root":Object.assign(Object.assign(Object.assign({border:"1px solid transparent",padding:"6px 16px",borderRadius:"555px",transition:"all 0.3s ease-out",fontSize:"14px",fontWeight:"700",marginBottom:"2px"},t.updateFocusRingStyle("0px",!1)),r.getInteractiveStyle({backgroundColor:"transparent",color:e.palette.onSurface.os500},{backgroundColor:e.palette.surface.primary,color:e.palette.text.primary})),{"&.Mui-selected":Object.assign({},r.getInteractiveStyle({backgroundColor:e.palette.brand.quarternary,color:e.palette.text.primary,borderColor:e.palette.brand.primary},{backgroundColor:e.palette.brand.quarternary,color:e.palette.brand.primary,borderColor:e.palette.brand.primary})),[e.breakpoints.down("md")]:{"&, &.Mui-selected, & .FlowTab-selectedLabel":{fontWeight:"400"}}})})},{props:{template:"navigation"},style:({theme:e})=>({"& .MuiTabs-flexContainer":{gap:"4px"},paddingTop:"11px",[e.breakpoints.down("xl")]:{paddingTop:"13px"},[e.breakpoints.down("lg")]:{paddingTop:"8px"},"& .MuiTab-root":Object.assign({marginBottom:"11px",[e.breakpoints.down("xl")]:{marginBottom:"13px"},[e.breakpoints.down("lg")]:{marginBottom:"8px"}},e.typography.list)})},{props:{template:"segmented"},style:({theme:e})=>({color:"dark"===e.palette.mode?e.palette.surface.primary:e.palette.transparent.secondary,"& .MuiTabs-scroller":{backgroundColor:"currentColor",borderRadius:"555px"},"& .MuiTabs-flexContainer":{gap:"8px"},"& .MuiTabs-indicator":{color:"dark"===e.palette.mode?e.palette.surface.secondary:e.palette.common.white,height:"100%",zIndex:"10",borderRadius:"555px","&:before":{inset:"0",borderRadius:"inherit",border:`2px solid ${"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.text.primary}`}},"& .MuiTab-root":Object.assign(Object.assign({margin:"0",padding:"6px 16px",[e.breakpoints.up("md")]:{padding:"8px 16px"},borderRadius:"555px",transition:"all 0.3s ease-out",gap:"10px",zIndex:"20","& .MuiSvgIcon-root":{fontSize:"20px",marginTop:"4px",marginBottom:"4px"}},e.typography.subheadline),{color:e.palette.text.primary,[e.breakpoints.up("xs")]:{"&, &.Mui-selected, & .FlowTab-selectedLabel":{fontWeight:"400"}},"&:hover, &.Mui-focusVisible":{backgroundColor:e.palette.surface.primary},"&.Mui-selected":{color:"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.text.primary,"&:hover, &.Mui-focusVisible":{backgroundColor:"transparent"}},"&.Mui-disabled":{color:e.palette.disabled.tertiary}})})}]};exports.flowTabs=a;
|
|
2
2
|
//# sourceMappingURL=tabs.theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.theme.js","sources":["../../../../../src/materialui/tabs/tabs.theme.tsx"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\nimport { FlowScrollButton } from './ScrollButton';\nimport { updateFocusRingStyle } from '@/src/components/focusring/focusring';\nimport { getInteractiveStyle } from '@/src/materialui/button/interactive';\n\nexport const flowTabs: Components<Theme>['MuiTabs'] = {\n defaultProps: {\n // for the A11y reflow-4x-zoom-scroll show scrollButtons instead of scrollbar\n scrollButtons: 'auto',\n allowScrollButtonsMobile: true,\n visibleScrollbar: false,\n variant: 'scrollable',\n slots: {\n scrollButtons: FlowScrollButton,\n },\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n minHeight: '0',\n alignItems: 'center',\n // space between tabs and scroll buttons (FlowScrollButton already contains 4px)\n gap: '0',\n ...(ownerState.fullWidth || ownerState.variant === 'fullWidth'\n ? {\n '& .MuiTab-root': {\n flexGrow: '1',\n },\n }\n : {}),\n // @mui omits centered property with variant scrollable,\n // therefore code bellow has no effect. In docs, we recommend utilizing sx property.\n ...(ownerState.centered ? { justifyContent: 'center' } : {}),\n }),\n flexContainer: ({ theme }) => ({\n gap: '16px',\n [theme.breakpoints.up('md')]: {\n gap: '28px',\n },\n }),\n indicator: ({ theme, ownerState }) => ({\n maxWidth: 'none',\n background: 'transparent',\n display: 'block',\n height: '3px',\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.brand.primary,\n ...(ownerState.indicatorColor === 'secondary' && {\n color: theme.palette.text.primary,\n }),\n // actual indicator line\n '&:before': {\n display: 'block',\n content: '\"\"',\n position: 'absolute',\n left: '8px',\n right: '8px',\n top: '0',\n bottom: '0',\n backgroundColor: 'currentColor',\n },\n }),\n scroller: ({ ownerState }) => ({\n flexGrow: ownerState.fullWidth || ownerState.variant === 'fullWidth' ? '1' : '0',\n // restyle horizontal scrollbar\n '&::-webkit-scrollbar:horizontal': {\n height: '24px',\n },\n '&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal': {\n borderWidth: '10px',\n },\n }),\n scrollButtons: ({ theme }) => ({\n color: theme.palette.text.primary,\n // do not hide disabled scroll buttons\n '&.Mui-disabled': {\n opacity: '1',\n color: theme.palette.disabled.primary,\n },\n }),\n },\n variants: [\n {\n props: { template: 'underlined' },\n style: ({ theme }) => ({\n // align with rest of the page, due to extra space\n marginLeft: '-6px',\n marginRight: '-6px',\n maxWidth: 'none',\n // scroll container\n '& .MuiTabs-scroller': {\n '&::-webkit-scrollbar:horizontal': {\n height: '16px',\n },\n '&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal': {\n borderWidth: '6px',\n },\n },\n // container\n '& .MuiTabs-flexContainer': {\n // extra space for the focus indicator\n padding: '6px',\n // remove gap between tabs\n gap: '0',\n },\n // indicator line\n '& .MuiTabs-indicator': {\n // move directly into tab border\n bottom: '6px',\n '&:before': {\n // make full-width\n inset: '0',\n },\n },\n // Tabs itself\n '& .MuiTab-root': {\n // remove space around tab in favor of padding\n margin: '0',\n // increase spacing\n padding: '12px 24px',\n // responsive\n [theme.breakpoints.down('md')]: {\n paddingTop: '10px',\n paddingBottom: '10px',\n },\n // style adjust\n borderRadius: '0',\n color: theme.palette.mode === 'dark' ? theme.palette.onSurface.os300 : theme.palette.onSurface.os700,\n // font\n ...theme.typography.subheadline,\n [theme.breakpoints.up('xs')]: {\n fontWeight: '300',\n },\n // bottom border\n '&:after': {\n content: '\"\"',\n position: 'absolute',\n left: '0',\n right: '0',\n bottom: '0',\n height: '1px',\n backgroundColor: theme.palette.onSurface.os500,\n },\n // hover effect\n '&:hover, &.Mui-focusVisible': {\n color: theme.palette.mode === 'dark' ? theme.palette.onSurface.os300 : theme.palette.onSurface.os700,\n // hide regular label\n '& .FlowTab-label': {\n display: 'none',\n },\n // show selected label with bolder font\n '& .FlowTab-selectedLabel': {\n opacity: '1',\n },\n // increase size of the border\n '&:after': {\n height: '2px',\n },\n },\n // active\n '&.Mui-selected': {\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.brand.primary,\n backgroundColor:\n theme.palette.mode === 'dark' ? theme.palette.surface.primary : theme.palette.transparent.primary,\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n // focused style\n '&.Mui-focusVisible': {\n // higher z-index than others\n zIndex: '10',\n // extra white border\n boxShadow: `0 0 0 2px ${theme.palette.background.primary}`,\n '&:before': {\n // move outside\n inset: '-2px',\n // add extra border radius\n borderRadius: '4px',\n },\n },\n },\n }),\n },\n {\n props: { template: 'buttons' },\n style: ({ theme }) => ({\n // container\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '8px',\n },\n // hide bottom line\n '& .MuiTabs-indicator': {\n display: 'none',\n },\n // restyle tabs to buttons\n '& .MuiTab-root': {\n border: '1px solid transparent',\n padding: '6px 16px',\n borderRadius: '555px',\n transition: 'all 0.3s ease-out',\n fontSize: '14px',\n fontWeight: '700',\n marginBottom: '2px',\n ...updateFocusRingStyle('0px', false),\n ...getInteractiveStyle(\n {\n backgroundColor: 'transparent',\n color: theme.palette.onSurface.os500,\n },\n {\n backgroundColor: theme.palette.surface.primary,\n color: theme.palette.text.primary,\n },\n ),\n '&.Mui-selected': {\n ...getInteractiveStyle(\n {\n backgroundColor: theme.palette.brand.quarternary,\n color: theme.palette.text.primary,\n borderColor: theme.palette.brand.primary,\n },\n {\n backgroundColor: theme.palette.brand.quarternary,\n color: theme.palette.brand.primary,\n borderColor: theme.palette.brand.primary,\n },\n ),\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n '&, &.Mui-selected, & .FlowTab-selectedLabel': {\n fontWeight: '400',\n },\n },\n },\n }),\n },\n {\n props: { template: 'navigation' },\n style: ({ theme }) => ({\n // manual v-align\n paddingTop: '12px',\n // container\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '10px',\n },\n // restyle tabs typography\n '& .MuiTab-root': {\n ...theme.typography.caption1,\n color: theme.palette.text.primary,\n [theme.breakpoints.up('xs')]: {\n fontWeight: '300',\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n },\n }),\n },\n {\n props: { template: 'segmented' },\n style: ({ theme }) => ({\n // used for background\n color: theme.palette.mode === 'dark' ? theme.palette.surface.primary : theme.palette.transparent.secondary,\n // container\n '& .MuiTabs-scroller': {\n backgroundColor: 'currentColor',\n borderRadius: '555px',\n },\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '8px',\n },\n // restyle indicator to white bordered travelling background\n '& .MuiTabs-indicator': {\n color: theme.palette.mode === 'dark' ? theme.palette.surface.secondary : theme.palette.common.white,\n // proportion\n height: '100%',\n // z-index bellow <Tab />\n zIndex: '10',\n borderRadius: '555px',\n '&:before': {\n inset: '0',\n borderRadius: 'inherit',\n border: `2px solid ${theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.text.primary}`,\n },\n },\n // restyle tabs\n '& .MuiTab-root': {\n margin: '0',\n padding: '6px 16px',\n [theme.breakpoints.up('md')]: {\n padding: '8px 16px',\n },\n borderRadius: '555px',\n transition: 'all 0.3s ease-out',\n // space between icon and text\n gap: '10px',\n // z-index above indicator\n zIndex: '20',\n // icon inside\n '& .MuiSvgIcon-root': {\n fontSize: '20px',\n marginTop: '4px',\n marginBottom: '4px',\n },\n // change typography\n ...theme.typography.subheadline,\n color: theme.palette.text.primary,\n [theme.breakpoints.up('xs')]: {\n '&, &.Mui-selected, & .FlowTab-selectedLabel': {\n fontWeight: '400',\n },\n },\n // hover and focus\n '&:hover, &.Mui-focusVisible': {\n backgroundColor: theme.palette.surface.primary,\n },\n // active\n '&.Mui-selected': {\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.text.primary,\n '&:hover, &.Mui-focusVisible': {\n backgroundColor: 'transparent',\n },\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n },\n }),\n },\n ],\n};\n"],"names":["flowTabs","defaultProps","scrollButtons","allowScrollButtonsMobile","visibleScrollbar","variant","slots","FlowScrollButton","styleOverrides","root","ownerState","Object","assign","minHeight","alignItems","gap","fullWidth","flexGrow","centered","justifyContent","flexContainer","theme","breakpoints","up","indicator","maxWidth","background","display","height","color","palette","mode","brand","secondary","primary","indicatorColor","text","content","position","left","right","top","bottom","backgroundColor","scroller","borderWidth","opacity","disabled","variants","props","template","style","marginLeft","marginRight","padding","inset","margin","down","paddingTop","paddingBottom","borderRadius","onSurface","os300","os700","typography","subheadline","fontWeight","os500","surface","transparent","tertiary","zIndex","boxShadow","border","transition","fontSize","marginBottom","updateFocusRingStyle","getInteractiveStyle","quarternary","borderColor","caption1","common","white","marginTop"],"mappings":"2IAKa,MAAAA,EAAyC,CACpDC,aAAc,CAEZC,cAAe,OACfC,0BAA0B,EAC1BC,kBAAkB,EAClBC,QAAS,aACTC,MAAO,CACLJ,cAAeK,EAAgBA,mBAGnCC,eAAgB,CACdC,KAAM,EAAGC,gBAAiBC,OAAAC,OAAAD,OAAAC,OAAA,CACxBC,UAAW,IACXC,WAAY,SAEZC,IAAK,KACDL,EAAWM,WAAoC,cAAvBN,EAAWL,QACnC,CACE,iBAAkB,CAChBY,SAAU,MAGd,CAAE,GAGFP,EAAWQ,SAAW,CAAEC,eAAgB,UAAa,CAAA,GAE3DC,cAAe,EAAGC,YAAa,CAC7BN,IAAK,OACL,CAACM,EAAMC,YAAYC,GAAG,OAAQ,CAC5BR,IAAK,UAGTS,UAAW,EAAGH,QAAOX,gBACnBC,OAAAC,OAAAD,OAAAC,OAAA,CAAAa,SAAU,OACVC,WAAY,cACZC,QAAS,QACTC,OAAQ,MACRC,MAA8B,SAAvBR,EAAMS,QAAQC,KAAkBV,EAAMS,QAAQE,MAAMC,UAAYZ,EAAMS,QAAQE,MAAME,SACzD,cAA9BxB,EAAWyB,gBAAkC,CAC/CN,MAAOR,EAAMS,QAAQM,KAAKF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8CAA+C,CAC7C2C,WAAY,QAIhB,8BAA+B,CAC7BvB,gBAAiBtB,EAAMS,QAAQsC,QAAQlC,SAGzC,iBAAkB,CAChBL,MAA8B,SAAvBR,EAAMS,QAAQC,KAAkBV,EAAMS,QAAQE,MAAMC,UAAYZ,EAAMS,QAAQM,KAAKF,QAC1F,8BAA+B,CAC7BS,gBAAiB,gBAIrB,iBAAkB,CAChBd,MAAOR,EAAMS,QAAQiB,SAASuB"}
|
|
1
|
+
{"version":3,"file":"tabs.theme.js","sources":["../../../../../src/materialui/tabs/tabs.theme.tsx"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\nimport { FlowScrollButton } from './ScrollButton';\nimport { updateFocusRingStyle } from '@/src/components/focusring/focusring';\nimport { getInteractiveStyle } from '@/src/materialui/button/interactive';\n\nexport const flowTabs: Components<Theme>['MuiTabs'] = {\n defaultProps: {\n // for the A11y reflow-4x-zoom-scroll show scrollButtons instead of scrollbar\n scrollButtons: 'auto',\n allowScrollButtonsMobile: true,\n visibleScrollbar: false,\n variant: 'scrollable',\n slots: {\n scrollButtons: FlowScrollButton,\n },\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n minHeight: '0',\n alignItems: 'center',\n // space between tabs and scroll buttons (FlowScrollButton already contains 4px)\n gap: '0',\n ...(ownerState.fullWidth || ownerState.variant === 'fullWidth'\n ? {\n '& .MuiTab-root': {\n flexGrow: '1',\n },\n }\n : {}),\n // @mui omits centered property with variant scrollable,\n // therefore code bellow has no effect. In docs, we recommend utilizing sx property.\n ...(ownerState.centered ? { justifyContent: 'center' } : {}),\n }),\n flexContainer: ({ theme }) => ({\n gap: '16px',\n [theme.breakpoints.up('md')]: {\n gap: '28px',\n },\n }),\n indicator: ({ theme, ownerState }) => ({\n maxWidth: 'none',\n background: 'transparent',\n display: 'block',\n height: '3px',\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.brand.primary,\n ...(ownerState.indicatorColor === 'secondary' && {\n color: theme.palette.text.primary,\n }),\n // actual indicator line\n '&:before': {\n display: 'block',\n content: '\"\"',\n position: 'absolute',\n left: '8px',\n right: '8px',\n top: '0',\n bottom: '0',\n backgroundColor: 'currentColor',\n },\n }),\n scroller: ({ ownerState }) => ({\n flexGrow: ownerState.fullWidth || ownerState.variant === 'fullWidth' ? '1' : '0',\n // restyle horizontal scrollbar\n '&::-webkit-scrollbar:horizontal': {\n height: '24px',\n },\n '&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal': {\n borderWidth: '10px',\n },\n }),\n scrollButtons: ({ theme }) => ({\n color: theme.palette.text.primary,\n // do not hide disabled scroll buttons\n '&.Mui-disabled': {\n opacity: '1',\n color: theme.palette.disabled.primary,\n },\n }),\n },\n variants: [\n {\n props: { template: 'underlined' },\n style: ({ theme }) => ({\n // align with rest of the page, due to extra space\n marginLeft: '-6px',\n marginRight: '-6px',\n maxWidth: 'none',\n // scroll container\n '& .MuiTabs-scroller': {\n '&::-webkit-scrollbar:horizontal': {\n height: '16px',\n },\n '&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal': {\n borderWidth: '6px',\n },\n },\n // container\n '& .MuiTabs-flexContainer': {\n // extra space for the focus indicator\n padding: '6px',\n // remove gap between tabs\n gap: '0',\n },\n // indicator line\n '& .MuiTabs-indicator': {\n // move directly into tab border\n bottom: '6px',\n '&:before': {\n // make full-width\n inset: '0',\n },\n },\n // Tabs itself\n '& .MuiTab-root': {\n // remove space around tab in favor of padding\n margin: '0',\n // increase spacing\n padding: '12px 24px',\n // responsive\n [theme.breakpoints.down('md')]: {\n paddingTop: '10px',\n paddingBottom: '10px',\n },\n // style adjust\n borderRadius: '0',\n color: theme.palette.mode === 'dark' ? theme.palette.onSurface.os300 : theme.palette.onSurface.os700,\n // font\n ...theme.typography.subheadline,\n [theme.breakpoints.up('xs')]: {\n fontWeight: '300',\n },\n // bottom border\n '&:after': {\n content: '\"\"',\n position: 'absolute',\n left: '0',\n right: '0',\n bottom: '0',\n height: '1px',\n backgroundColor: theme.palette.onSurface.os500,\n },\n // hover effect\n '&:hover, &.Mui-focusVisible': {\n // increase size of the border\n '&:after': {\n height: '2px',\n },\n },\n // active\n '&.Mui-selected': {\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.brand.primary,\n backgroundColor:\n theme.palette.mode === 'dark' ? theme.palette.surface.primary : theme.palette.transparent.primary,\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n // focused style\n '&.Mui-focusVisible': {\n // higher z-index than others\n zIndex: '10',\n // extra white border\n boxShadow: `0 0 0 2px ${theme.palette.background.primary}`,\n '&:before': {\n // move outside\n inset: '-2px',\n // add extra border radius\n borderRadius: '4px',\n },\n },\n },\n }),\n },\n {\n props: { template: 'buttons' },\n style: ({ theme }) => ({\n // container\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '8px',\n },\n // hide bottom line\n '& .MuiTabs-indicator': {\n display: 'none',\n },\n // restyle tabs to buttons\n '& .MuiTab-root': {\n border: '1px solid transparent',\n padding: '6px 16px',\n borderRadius: '555px',\n transition: 'all 0.3s ease-out',\n fontSize: '14px',\n fontWeight: '700',\n marginBottom: '2px',\n ...updateFocusRingStyle('0px', false),\n ...getInteractiveStyle(\n {\n backgroundColor: 'transparent',\n color: theme.palette.onSurface.os500,\n },\n {\n backgroundColor: theme.palette.surface.primary,\n color: theme.palette.text.primary,\n },\n ),\n '&.Mui-selected': {\n ...getInteractiveStyle(\n {\n backgroundColor: theme.palette.brand.quarternary,\n color: theme.palette.text.primary,\n borderColor: theme.palette.brand.primary,\n },\n {\n backgroundColor: theme.palette.brand.quarternary,\n color: theme.palette.brand.primary,\n borderColor: theme.palette.brand.primary,\n },\n ),\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n '&, &.Mui-selected, & .FlowTab-selectedLabel': {\n fontWeight: '400',\n },\n },\n },\n }),\n },\n {\n // variant used in the SecondaryNavigation\n props: { template: 'navigation' },\n style: ({ theme }) => ({\n // container\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '4px',\n },\n // manual align\n paddingTop: '11px',\n [theme.breakpoints.down('xl')]: {\n paddingTop: '13px',\n },\n [theme.breakpoints.down('lg')]: {\n paddingTop: '8px',\n },\n // restyle tabs typography\n '& .MuiTab-root': {\n marginBottom: '11px',\n [theme.breakpoints.down('xl')]: {\n marginBottom: '13px',\n },\n [theme.breakpoints.down('lg')]: {\n marginBottom: '8px',\n },\n ...theme.typography.list,\n },\n }),\n },\n {\n props: { template: 'segmented' },\n style: ({ theme }) => ({\n // used for background\n color: theme.palette.mode === 'dark' ? theme.palette.surface.primary : theme.palette.transparent.secondary,\n // container\n '& .MuiTabs-scroller': {\n backgroundColor: 'currentColor',\n borderRadius: '555px',\n },\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '8px',\n },\n // restyle indicator to white bordered travelling background\n '& .MuiTabs-indicator': {\n color: theme.palette.mode === 'dark' ? theme.palette.surface.secondary : theme.palette.common.white,\n // proportion\n height: '100%',\n // z-index bellow <Tab />\n zIndex: '10',\n borderRadius: '555px',\n '&:before': {\n inset: '0',\n borderRadius: 'inherit',\n border: `2px solid ${theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.text.primary}`,\n },\n },\n // restyle tabs\n '& .MuiTab-root': {\n margin: '0',\n padding: '6px 16px',\n [theme.breakpoints.up('md')]: {\n padding: '8px 16px',\n },\n borderRadius: '555px',\n transition: 'all 0.3s ease-out',\n // space between icon and text\n gap: '10px',\n // z-index above indicator\n zIndex: '20',\n // icon inside\n '& .MuiSvgIcon-root': {\n fontSize: '20px',\n marginTop: '4px',\n marginBottom: '4px',\n },\n // change typography\n ...theme.typography.subheadline,\n color: theme.palette.text.primary,\n [theme.breakpoints.up('xs')]: {\n '&, &.Mui-selected, & .FlowTab-selectedLabel': {\n fontWeight: '400',\n },\n },\n // hover and focus\n '&:hover, &.Mui-focusVisible': {\n backgroundColor: theme.palette.surface.primary,\n },\n // active\n '&.Mui-selected': {\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.text.primary,\n '&:hover, &.Mui-focusVisible': {\n backgroundColor: 'transparent',\n },\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n },\n }),\n },\n ],\n};\n"],"names":["flowTabs","defaultProps","scrollButtons","allowScrollButtonsMobile","visibleScrollbar","variant","slots","FlowScrollButton","styleOverrides","root","ownerState","Object","assign","minHeight","alignItems","gap","fullWidth","flexGrow","centered","justifyContent","flexContainer","theme","breakpoints","up","indicator","maxWidth","background","display","height","color","palette","mode","brand","secondary","primary","indicatorColor","text","content","position","left","right","top","bottom","backgroundColor","scroller","borderWidth","opacity","disabled","variants","props","template","style","marginLeft","marginRight","padding","inset","margin","down","paddingTop","paddingBottom","borderRadius","onSurface","os300","os700","typography","subheadline","fontWeight","os500","surface","transparent","tertiary","zIndex","boxShadow","border","transition","fontSize","marginBottom","updateFocusRingStyle","getInteractiveStyle","quarternary","borderColor","list","common","white","marginTop"],"mappings":"2IAKa,MAAAA,EAAyC,CACpDC,aAAc,CAEZC,cAAe,OACfC,0BAA0B,EAC1BC,kBAAkB,EAClBC,QAAS,aACTC,MAAO,CACLJ,cAAeK,EAAgBA,mBAGnCC,eAAgB,CACdC,KAAM,EAAGC,gBAAiBC,OAAAC,OAAAD,OAAAC,OAAA,CACxBC,UAAW,IACXC,WAAY,SAEZC,IAAK,KACDL,EAAWM,WAAoC,cAAvBN,EAAWL,QACnC,CACE,iBAAkB,CAChBY,SAAU,MAGd,CAAE,GAGFP,EAAWQ,SAAW,CAAEC,eAAgB,UAAa,CAAA,GAE3DC,cAAe,EAAGC,YAAa,CAC7BN,IAAK,OACL,CAACM,EAAMC,YAAYC,GAAG,OAAQ,CAC5BR,IAAK,UAGTS,UAAW,EAAGH,QAAOX,gBACnBC,OAAAC,OAAAD,OAAAC,OAAA,CAAAa,SAAU,OACVC,WAAY,cACZC,Q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,aACpB,CAAApC,MAAOR,EAAMS,QAAQM,KAAKF,QAC1B,CAACb,EAAMC,YAAYC,GAAG,OAAQ,CAC5B,8CAA+C,CAC7C2C,WAAY,QAIhB,8BAA+B,CAC7BvB,gBAAiBtB,EAAMS,QAAQsC,QAAQlC,SAGzC,iBAAkB,CAChBL,MAA8B,SAAvBR,EAAMS,QAAQC,KAAkBV,EAAMS,QAAQE,MAAMC,UAAYZ,EAAMS,QAAQM,KAAKF,QAC1F,8BAA+B,CAC7BS,gBAAiB,gBAIrB,iBAAkB,CAChBd,MAAOR,EAAMS,QAAQiB,SAASuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mixins.js","sources":["../../../../../src/materialui/theme/mixins.ts"],"sourcesContent":["import { Theme } from '@mui/material';\n\nexport const flowMixins: Theme['mixins'] = {\n toolbar: {\n minHeight: '64px',\n },\n};\n"],"names":["toolbar","minHeight"],"mappings":"gCAE2C,CACzCA,QAAS,CACPC,UAAW"}
|
|
@@ -132,6 +132,11 @@ declare module '@mui/material/styles' {
|
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
+
declare module '@mui/material/Alert' {
|
|
136
|
+
interface AlertPropsColorOverrides {
|
|
137
|
+
notification: true;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
135
140
|
declare module '@mui/material/Chip' {
|
|
136
141
|
interface ChipPropsVariantOverrides {
|
|
137
142
|
transparent: true;
|
|
@@ -492,15 +497,13 @@ declare module '@mui/material/Card' {
|
|
|
492
497
|
declare module '@mui/material/AppBar' {
|
|
493
498
|
interface AppBarOwnProps {
|
|
494
499
|
/**
|
|
495
|
-
*
|
|
496
|
-
* @default lg
|
|
500
|
+
* @deprecated lo longer has any effect
|
|
497
501
|
*/
|
|
498
502
|
breakpoint?: number | Breakpoint;
|
|
499
503
|
}
|
|
500
504
|
interface AppBarPropsColorOverrides {
|
|
501
505
|
/**
|
|
502
|
-
*
|
|
503
|
-
* @deprecated
|
|
506
|
+
* @deprecated lo longer has any effect
|
|
504
507
|
*/
|
|
505
508
|
dark: true;
|
|
506
509
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("@mui/material"),t=require("../accordion/accordion.theme.js"),
|
|
1
|
+
"use strict";var e=require("@mui/material"),t=require("./mixins.js"),i=require("../accordion/accordion.theme.js"),r=require("../alert/alert.theme.js"),o=require("../alert/alertTitle.theme.js"),a=require("../avatar/avatar.theme.js"),l=require("../avatar/avatarGroup.theme.js"),u=require("../accordion/accordionSummary.theme.js"),s=require("../accordion/accordionDetails.theme.js"),n=require("../accordion/accordionActions.theme.js"),m=require("../appbar/appbar.theme.js"),c=require("../appbar/toolbar.theme.js"),p=require("../autocomplete/autocomplete.theme.js"),d=require("../backdrop/backdrop.theme.js"),h=require("../badge/badge.theme.js"),f=require("../themeProvider/baseline.theme.js"),b=require("../breadcrumbs/breadcrumbs.theme.js"),w=require("../button/button.theme.js"),M=require("../button/buttonBase.theme.js"),q=require("../link/link.theme.js"),j=require("../checkbox/checkbox.theme.js"),k=require("../chip/chip.theme.js"),T=require("../datepicker/clock.theme.js"),g=require("../datepicker/dateTimePickerTabs.theme.js"),C=require("../datepicker/dateTimePickerToolbar.theme.js"),S=require("../datepicker/desktopDateTimePicker.theme.js"),I=require("../datepicker/desktopTimePicker.theme.js"),A=require("../datepicker/multiSectionDigitalClockSection.theme.js"),L=require("../datepicker/pickersLayout.theme.js"),x=require("../datepicker/pickersToolbar.theme.js"),B=require("../datepicker/pickersToolbarButton.theme.js"),P=require("../datepicker/pickersToolbarText.theme.js"),D=require("../datepicker/timeClock.theme.js"),v=require("../datepicker/timePickerToolbar.theme.js"),y=require("../dialog/dialog.theme.js"),F=require("../dialog/dialogActions.theme.js"),H=require("../dialog/dialogContent.theme.js"),R=require("../dialog/dialogContentText.theme.js"),G=require("../dialog/dialogTitle.theme.js"),O=require("../divider/divider.theme.js"),E=require("../drawer/drawer.theme.js"),z=require("../textfield/filledInput.theme.js"),J=require("../textfield/outlinedInput.theme.js"),K=require("../textfield/formControl.theme.js"),N=require("../textfield/formControlLabel.theme.js"),Q=require("../textfield/formHelperText.theme.js"),U=require("../textfield/formLabel.theme.js"),V=require("../textfield/input.theme.js"),W=require("../textfield/inputAdornment.theme.js"),X=require("../textfield/inputBase.theme.js"),Y=require("../textfield/inputLabel.theme.js"),Z=require("../radio/radio.theme.js"),$=require("../textfield/select.theme.js"),_=require("../slider/slider.theme.js"),ee=require("../switch/switch.theme.js"),te=require("../textfield/textField.theme.js"),ie=require("../svgIcon/svgIcon.theme.js"),re=require("../iconButton/iconButton.theme.js"),oe=require("../linearprogress/linearprogress.theme.js"),ae=require("../container/container.theme.js"),le=require("../container/grid.theme.js"),ue=require("../list/list.theme.js"),se=require("../list/listItem.theme.js"),ne=require("../list/listItemButton.theme.js"),me=require("../list/listItemText.theme.js"),ce=require("../list/listItemIcon.theme.js"),pe=require("../list/listItemAvatar.theme.js"),de=require("../list/listItemSecondaryAction.theme.js"),he=require("../list/listSubheader.theme.js"),fe=require("../menu/menu.theme.js"),be=require("../menu/menuItem.theme.js"),we=require("../mobileStepper/mobileStepper.theme.js"),Me=require("../modal/modal.theme.js"),qe=require("../pagination/pagination.theme.js"),je=require("../pagination/paginationItem.theme.js"),ke=require("../paper/paper.theme.js"),Te=require("../popover/popover.theme.js"),ge=require("../rating/rating.theme.js"),Ce=require("../skeleton/skeleton.theme.js"),Se=require("../snackbar/snackbar.theme.js"),Ie=require("../snackbar/snackbarContent.theme.js"),Ae=require("../stepper/stepper.theme.js"),Le=require("../stepper/step.theme.js"),xe=require("../stepper/stepButton.theme.js"),Be=require("../stepper/stepConnector.theme.js"),Pe=require("../stepper/stepLabel.theme.js"),De=require("../stepper/stepContent.theme.js"),ve=require("../tabs/tab.theme.js"),ye=require("../tabs/tabs.theme.js"),Fe=require("../tooltip/tooltip.theme.js"),He=require("../card/card.theme.js"),Re=require("../card/cardContent.theme.js"),Ge=require("../card/cardHeader.theme.js"),Oe=require("../card/cardActionArea.theme.js"),Ee=require("../table/tableContainer.theme.js"),ze=require("../table/table.theme.js"),Je=require("../table/tableHead.theme.js"),Ke=require("../table/tableBody.theme.js"),Ne=require("../table/tableRow.theme.js"),Qe=require("../table/tableCell.theme.js"),Ue=require("../table/tableSortLabel.theme.js"),Ve=require("../table/tablePagination.theme.js"),We=require("../fab/fab.theme.js"),Xe=require("./paletteLight.theme.js"),Ye=require("./paletteDark.theme.js"),Ze=require("./theme.breakpoints.js"),$e=require("./theme.elevations.js"),_e=require("./theme.typography.js");function et({mode:et="light",direction:tt="ltr",breakpointsOptions:it=Ze.flowBreakpoints}){return e.createTheme({breakpoints:it,mixins:t.flowMixins,palette:"dark"===et?Ye.paletteDark:Xe.paletteLight,direction:tt,typography:_e.getTypographyOptions(it,"rtl"===tt),flowShadows:$e.flowElevations,components:{MuiAlert:r.flowAlert,MuiAlertTitle:o.flowAlertTitle,MuiAvatar:a.flowAvatar,MuiAvatarGroup:l.flowAvatarGroup,MuiAppBar:m.flowAppBar,MuiToolbar:c.flowToolbar,MuiContainer:ae.flowContainer,MuiCssBaseline:f.getFlowCssBaseline(it,"rtl"===tt),MuiScopedCssBaseline:f.getFlowScopedCssBaseline(it,"rtl"===tt),MuiButtonBase:M.flowButtonBase,MuiButton:w.flowButton,MuiIconButton:re.flowIconButton,MuiSvgIcon:ie.flowSvgIcon,MuiLink:q.flowLink,MuiLinearProgress:oe.flowLinearProgress,MuiSwitch:ee.flowSwitch,MuiCheckbox:j.flowCheckbox,MuiRadio:Z.flowRadio,MuiSlider:_.flowSlider,MuiTooltip:Fe.flowTooltip,MuiDivider:O.flowDivider,MuiBadge:h.flowBadge,MuiGrid:le.flowGrid,MuiChip:k.flowChip,MuiPaper:ke.flowPaper,MuiTextField:te.flowTextField,MuiSelect:$.flowSelect,MuiMenu:fe.flowMenu,MuiMenuItem:be.flowMenuItem,MuiTab:ve.flowTab,MuiTabs:ye.flowTabs,MuiCard:He.flowCard,MuiCardContent:Re.flowCardContent,MuiCardHeader:Ge.flowCardHeader,MuiCardActionArea:Oe.flowCardActionArea,MuiPaginationItem:je.flowPaginationItem,MuiPagination:qe.flowPagination,MuiRating:ge.flowRating,MuiSnackbar:Se.flowSnackbar,MuiSnackbarContent:Ie.flowSnackbarContent,MuiModal:Me.getFlowModal(it,"rtl"===tt),MuiBackdrop:d.flowBackdrop,MuiDrawer:E.flowDrawer,MuiAccordion:i.flowAccordion,MuiAccordionSummary:u.flowAccordionSummary,MuiAccordionDetails:s.flowAccordionDetails,MuiAccordionActions:n.flowAccordionActions,MuiMobileStepper:we.flowMobileStepper,MuiInputBase:X.flowInputBase,MuiInputLabel:Y.flowInputLabel,MuiInput:V.flowInput,MuiFormControl:K.flowFormControl,MuiFilledInput:z.flowFilledInput,MuiOutlinedInput:J.flowOutlinedInput,MuiFormLabel:U.flowFormLabel,MuiFormControlLabel:N.flowFormControlLabel,MuiInputAdornment:W.flowInputAdornment,MuiFormHelperText:Q.flowFormHelperText,MuiDialogActions:F.flowDialogActions,MuiDialog:y.flowDialog,MuiDialogContent:H.flowDialogContent,MuiDialogContentText:R.flowDialogContentText,MuiDialogTitle:G.flowDialogTitle,MuiList:ue.flowList,MuiListItem:se.flowListItem,MuiListItemButton:ne.flowListItemButton,MuiListItemText:me.flowListItemText,MuiListItemIcon:ce.flowListItemIcon,MuiListItemAvatar:pe.flowListItemAvatar,MuiListItemSecondaryAction:de.flowListItemSecondaryAction,MuiListSubheader:he.flowListSubheader,MuiPopover:Te.flowPopover,MuiAutocomplete:p.flowAutocomplete,MuiBreadcrumbs:b.flowBreadCrumbs,MuiPickersToolbar:x.flowPickersToolbar,MuiPickersToolbarButton:B.flowPickersToolbarButton,MuiDateTimePickerToolbar:C.flowDateTimePickerToolbar,MuiDateTimePickerTabs:g.flowDateTimePickerTabs,MuiMultiSectionDigitalClockSection:A.flowMultiSectionDigitalClockSection,MuiDesktopDateTimePicker:S.flowDesktopDateTimePicker,MuiDesktopTimePicker:I.flowDesktopTimePicker,MuiPickersToolbarText:P.flowPickersToolbarText,MuiPickersLayout:L.flowPickersLayout,MuiTimePickerToolbar:v.flowTimePickerToolbar,MuiTimeClock:D.flowTimeClock,MuiClock:T.flowClock,MuiSkeleton:Ce.flowSkeleton,MuiStepper:Ae.flowStepper,MuiStep:Le.flowStep,MuiStepButton:xe.flowStepButton,MuiStepConnector:Be.flowStepConnector,MuiStepLabel:Pe.flowStepLabel,MuiStepContent:De.flowStepContent,MuiTableContainer:Ee.flowTableContainer,MuiTable:ze.flowTable,MuiTableHead:Je.flowTableHead,MuiTableBody:Ke.flowTableBody,MuiTableRow:Ne.flowTableRow,MuiTableCell:Qe.flowTableCell,MuiTableSortLabel:Ue.flowTableSortLabel,MuiTablePagination:Ve.flowTablePagination,MuiFab:We.flowFab}})}const tt=et({}),it=et({mode:"dark"}),rt=et({direction:"rtl"}),ot=et({direction:"rtl",mode:"dark"});exports.createSkodaTheme=et,exports.darkTheme=it,exports.rtlDarkTheme=ot,exports.rtlTheme=rt,exports.theme=tt;
|
|
2
2
|
//# sourceMappingURL=theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sources":["../../../../../src/materialui/theme/theme.ts"],"sourcesContent":["import { PaletteMode, BreakpointsOptions, Direction, createTheme } from '@mui/material';\nimport { flowAccordion } from '../accordion/accordion.theme';\nimport { flowAlert } from '../alert/alert.theme';\nimport { flowAlertTitle } from '../alert/alertTitle.theme';\nimport { flowAvatar } from '../avatar/avatar.theme';\nimport { flowAvatarGroup } from '../avatar/avatarGroup.theme';\nimport { flowAccordionSummary } from '../accordion/accordionSummary.theme';\nimport { flowAccordionDetails } from '../accordion/accordionDetails.theme';\nimport { flowAccordionActions } from '../accordion/accordionActions.theme';\nimport { flowAppBar } from '../appbar/appbar.theme';\nimport { flowAutocomplete } from '../autocomplete/autocomplete.theme';\nimport { flowBackdrop } from '../backdrop/backdrop.theme';\nimport { flowBadge } from '../badge/badge.theme';\nimport { getFlowScopedCssBaseline, getFlowCssBaseline } from '../themeProvider/baseline.theme';\nimport { flowBreadCrumbs } from '../breadcrumbs/breadcrumbs.theme';\nimport { flowButton } from '../button/button.theme';\nimport { flowButtonBase } from '../button/buttonBase.theme';\nimport { flowLink } from '../link/link.theme';\nimport { flowCheckbox } from '../checkbox/checkbox.theme';\nimport { flowChip } from '../chip/chip.theme';\nimport { flowClock } from '../datepicker/clock.theme';\nimport { flowDateTimePickerTabs } from '../datepicker/dateTimePickerTabs.theme';\nimport { flowDateTimePickerToolbar } from '../datepicker/dateTimePickerToolbar.theme';\nimport { flowDesktopDateTimePicker } from '../datepicker/desktopDateTimePicker.theme';\nimport { flowDesktopTimePicker } from '../datepicker/desktopTimePicker.theme';\nimport { flowMultiSectionDigitalClockSection } from '../datepicker/multiSectionDigitalClockSection.theme';\nimport { flowPickersLayout } from '../datepicker/pickersLayout.theme';\nimport { flowPickersToolbar } from '../datepicker/pickersToolbar.theme';\nimport { flowPickersToolbarButton } from '../datepicker/pickersToolbarButton.theme';\nimport { flowPickersToolbarText } from '../datepicker/pickersToolbarText.theme';\nimport { flowTimeClock } from '../datepicker/timeClock.theme';\nimport { flowTimePickerToolbar } from '../datepicker/timePickerToolbar.theme';\nimport { flowDialog } from '../dialog/dialog.theme';\nimport { flowDialogActions } from '../dialog/dialogActions.theme';\nimport { flowDialogContent } from '../dialog/dialogContent.theme';\nimport { flowDialogContentText } from '../dialog/dialogContentText.theme';\nimport { flowDialogTitle } from '../dialog/dialogTitle.theme';\nimport { flowDivider } from '../divider/divider.theme';\nimport { flowDrawer } from '../drawer/drawer.theme';\nimport { flowFilledInput } from '../textfield/filledInput.theme';\nimport { flowOutlinedInput } from '../textfield/outlinedInput.theme';\nimport { flowFormControl } from '../textfield/formControl.theme';\nimport { flowFormControlLabel } from '../textfield/formControlLabel.theme';\nimport { flowFormHelperText } from '../textfield/formHelperText.theme';\nimport { flowFormLabel } from '../textfield/formLabel.theme';\nimport { flowInput } from '../textfield/input.theme';\nimport { flowInputAdornment } from '../textfield/inputAdornment.theme';\nimport { flowInputBase } from '../textfield/inputBase.theme';\nimport { flowInputLabel } from '../textfield/inputLabel.theme';\nimport { flowRadio } from '../radio/radio.theme';\nimport { flowSelect } from '../textfield/select.theme';\nimport { flowSlider } from '../slider/slider.theme';\nimport { flowSwitch } from '../switch/switch.theme';\nimport { flowTextField } from '../textfield/textField.theme';\nimport { flowSvgIcon } from '../svgIcon/svgIcon.theme';\nimport { flowIconButton } from '../iconButton/iconButton.theme';\nimport { flowLinearProgress } from '../linearprogress/linearprogress.theme';\nimport { flowContainer } from '../container/container.theme';\nimport { flowGrid } from '../container/grid.theme';\nimport { flowList } from '../list/list.theme';\nimport { flowListItem } from '../list/listItem.theme';\nimport { flowListItemButton } from '../list/listItemButton.theme';\nimport { flowListItemText } from '../list/listItemText.theme';\nimport { flowListItemIcon } from '../list/listItemIcon.theme';\nimport { flowListItemAvatar } from '../list/listItemAvatar.theme';\nimport { flowListItemSecondaryAction } from '../list/listItemSecondaryAction.theme';\nimport { flowListSubheader } from '../list/listSubheader.theme';\nimport { flowMenu } from '../menu/menu.theme';\nimport { flowMenuItem } from '../menu/menuItem.theme';\nimport { flowMobileStepper } from '../mobileStepper/mobileStepper.theme';\nimport { getFlowModal } from '../modal/modal.theme';\nimport { flowPagination, flowPaginationItem } from '../pagination/pagination.theme';\nimport { flowPaper } from '../paper/paper.theme';\nimport { flowPopover } from '../popover/popover.theme';\nimport { flowSkeleton } from '../skeleton/skeleton.theme';\nimport { flowSnackbar } from '../snackbar/snackbar.theme';\nimport { flowSnackbarContent } from '../snackbar/snackbarContent.theme';\nimport { flowStepper } from '../stepper/stepper.theme';\nimport { flowStep } from '../stepper/step.theme';\nimport { flowStepButton } from '../stepper/stepButton.theme';\nimport { flowStepConnector } from '../stepper/stepConnector.theme';\nimport { flowStepLabel } from '../stepper/stepLabel.theme';\nimport { flowStepContent } from '../stepper/stepContent.theme';\nimport { flowTab } from '../tabs/tab.theme';\nimport { flowTabs } from '../tabs/tabs.theme';\nimport { flowTooltip } from '../tooltip/tooltip.theme';\nimport { flowCard } from '../card/card.theme';\nimport { flowCardContent } from '../card/cardContent.theme';\nimport { flowCardHeader } from '../card/cardHeader.theme';\nimport { flowCardActionArea } from '../card/cardActionArea.theme';\nimport { flowTableContainer } from '../table/tableContainer.theme';\nimport { flowTable } from '../table/table.theme';\nimport { flowTableHead } from '../table/tableHead.theme';\nimport { flowTableBody } from '../table/tableBody.theme';\nimport { flowTableRow } from '../table/tableRow.theme';\nimport { flowTableCell } from '../table/tableCell.theme';\nimport { flowTableSortLabel } from '../table/tableSortLabel.theme';\nimport { flowTablePagination } from '../table/tablePagination.theme';\nimport { flowFab } from '../fab/fab.theme';\nimport { paletteLight } from './paletteLight.theme';\nimport { paletteDark } from './paletteDark.theme';\nimport { flowBreakpoints } from './theme.breakpoints';\nimport { flowElevations } from './theme.elevations';\nimport './theme.extensions';\nimport { getTypographyOptions } from './theme.typography';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport * as ThemeAugmentation from '@mui/x-date-pickers/themeAugmentation';\n\nexport function createSkodaTheme({\n mode = 'light',\n direction = 'ltr',\n breakpointsOptions = flowBreakpoints,\n}: {\n mode?: PaletteMode;\n direction?: Direction;\n breakpointsOptions?: BreakpointsOptions;\n}) {\n return createTheme({\n breakpoints: breakpointsOptions,\n palette: mode === 'dark' ? paletteDark : paletteLight,\n direction: direction,\n typography: getTypographyOptions(breakpointsOptions, direction === 'rtl'),\n flowShadows: flowElevations,\n components: {\n MuiAlert: flowAlert,\n MuiAlertTitle: flowAlertTitle,\n MuiAvatar: flowAvatar,\n MuiAvatarGroup: flowAvatarGroup,\n MuiAppBar: flowAppBar,\n MuiContainer: flowContainer,\n MuiCssBaseline: getFlowCssBaseline(breakpointsOptions, direction === 'rtl'),\n MuiScopedCssBaseline: getFlowScopedCssBaseline(breakpointsOptions, direction === 'rtl'),\n MuiButtonBase: flowButtonBase,\n MuiButton: flowButton,\n MuiIconButton: flowIconButton,\n MuiSvgIcon: flowSvgIcon,\n MuiLink: flowLink,\n MuiLinearProgress: flowLinearProgress,\n MuiSwitch: flowSwitch,\n MuiCheckbox: flowCheckbox,\n MuiRadio: flowRadio,\n MuiSlider: flowSlider,\n MuiTooltip: flowTooltip,\n MuiDivider: flowDivider,\n MuiBadge: flowBadge,\n MuiGrid: flowGrid,\n MuiChip: flowChip,\n MuiPaper: flowPaper,\n MuiTextField: flowTextField,\n MuiSelect: flowSelect,\n MuiMenu: flowMenu,\n MuiMenuItem: flowMenuItem,\n MuiTab: flowTab,\n MuiTabs: flowTabs,\n MuiCard: flowCard,\n MuiCardContent: flowCardContent,\n MuiCardHeader: flowCardHeader,\n MuiCardActionArea: flowCardActionArea,\n MuiPaginationItem: flowPaginationItem,\n MuiPagination: flowPagination,\n MuiSnackbar: flowSnackbar,\n MuiSnackbarContent: flowSnackbarContent,\n MuiModal: getFlowModal(breakpointsOptions, direction === 'rtl'),\n MuiBackdrop: flowBackdrop,\n MuiDrawer: flowDrawer,\n MuiAccordion: flowAccordion,\n MuiAccordionSummary: flowAccordionSummary,\n MuiAccordionDetails: flowAccordionDetails,\n MuiAccordionActions: flowAccordionActions,\n MuiMobileStepper: flowMobileStepper,\n MuiInputBase: flowInputBase,\n MuiInputLabel: flowInputLabel,\n MuiInput: flowInput,\n MuiFormControl: flowFormControl,\n MuiFilledInput: flowFilledInput,\n MuiOutlinedInput: flowOutlinedInput,\n MuiFormLabel: flowFormLabel,\n MuiFormControlLabel: flowFormControlLabel,\n MuiInputAdornment: flowInputAdornment,\n MuiFormHelperText: flowFormHelperText,\n MuiDialogActions: flowDialogActions,\n MuiDialog: flowDialog,\n MuiDialogContent: flowDialogContent,\n MuiDialogContentText: flowDialogContentText,\n MuiDialogTitle: flowDialogTitle,\n MuiList: flowList,\n MuiListItem: flowListItem,\n MuiListItemButton: flowListItemButton,\n MuiListItemText: flowListItemText,\n MuiListItemIcon: flowListItemIcon,\n MuiListItemAvatar: flowListItemAvatar,\n MuiListItemSecondaryAction: flowListItemSecondaryAction,\n MuiListSubheader: flowListSubheader,\n MuiPopover: flowPopover,\n MuiAutocomplete: flowAutocomplete,\n MuiBreadcrumbs: flowBreadCrumbs,\n MuiPickersToolbar: flowPickersToolbar,\n MuiPickersToolbarButton: flowPickersToolbarButton,\n MuiDateTimePickerToolbar: flowDateTimePickerToolbar,\n MuiDateTimePickerTabs: flowDateTimePickerTabs,\n MuiMultiSectionDigitalClockSection: flowMultiSectionDigitalClockSection,\n MuiDesktopDateTimePicker: flowDesktopDateTimePicker,\n MuiDesktopTimePicker: flowDesktopTimePicker,\n MuiPickersToolbarText: flowPickersToolbarText,\n MuiPickersLayout: flowPickersLayout,\n MuiTimePickerToolbar: flowTimePickerToolbar,\n MuiTimeClock: flowTimeClock,\n MuiClock: flowClock,\n MuiSkeleton: flowSkeleton,\n MuiStepper: flowStepper,\n MuiStep: flowStep,\n MuiStepButton: flowStepButton,\n MuiStepConnector: flowStepConnector,\n MuiStepLabel: flowStepLabel,\n MuiStepContent: flowStepContent,\n MuiTableContainer: flowTableContainer,\n MuiTable: flowTable,\n MuiTableHead: flowTableHead,\n MuiTableBody: flowTableBody,\n MuiTableRow: flowTableRow,\n MuiTableCell: flowTableCell,\n MuiTableSortLabel: flowTableSortLabel,\n MuiTablePagination: flowTablePagination,\n MuiFab: flowFab,\n },\n });\n}\n\nexport const theme = createSkodaTheme({});\nexport const darkTheme = createSkodaTheme({ mode: 'dark' });\nexport const rtlTheme = createSkodaTheme({ direction: 'rtl' });\nexport const rtlDarkTheme = createSkodaTheme({ direction: 'rtl', mode: 'dark' });\n"],"names":["createSkodaTheme","mode","direction","breakpointsOptions","flowBreakpoints","createTheme","breakpoints","palette","paletteDark","paletteLight","typography","getTypographyOptions","flowShadows","flowElevations","components","MuiAlert","flowAlert","MuiAlertTitle","flowAlertTitle","MuiAvatar","flowAvatar","MuiAvatarGroup","flowAvatarGroup","MuiAppBar","flowAppBar","MuiContainer","flowContainer","MuiCssBaseline","getFlowCssBaseline","MuiScopedCssBaseline","getFlowScopedCssBaseline","MuiButtonBase","flowButtonBase","MuiButton","flowButton","MuiIconButton","flowIconButton","MuiSvgIcon","flowSvgIcon","MuiLink","flowLink","MuiLinearProgress","flowLinearProgress","MuiSwitch","flowSwitch","MuiCheckbox","flowCheckbox","MuiRadio","flowRadio","MuiSlider","flowSlider","MuiTooltip","flowTooltip","MuiDivider","flowDivider","MuiBadge","flowBadge","MuiGrid","flowGrid","MuiChip","flowChip","MuiPaper","flowPaper","MuiTextField","flowTextField","MuiSelect","flowSelect","MuiMenu","flowMenu","MuiMenuItem","flowMenuItem","MuiTab","flowTab","MuiTabs","flowTabs","MuiCard","flowCard","MuiCardContent","flowCardContent","MuiCardHeader","flowCardHeader","MuiCardActionArea","flowCardActionArea","MuiPaginationItem","flowPaginationItem","MuiPagination","flowPagination","MuiSnackbar","flowSnackbar","MuiSnackbarContent","flowSnackbarContent","MuiModal","getFlowModal","MuiBackdrop","flowBackdrop","MuiDrawer","flowDrawer","MuiAccordion","flowAccordion","MuiAccordionSummary","flowAccordionSummary","MuiAccordionDetails","flowAccordionDetails","MuiAccordionActions","flowAccordionActions","MuiMobileStepper","flowMobileStepper","MuiInputBase","flowInputBase","MuiInputLabel","flowInputLabel","MuiInput","flowInput","MuiFormControl","flowFormControl","MuiFilledInput","flowFilledInput","MuiOutlinedInput","flowOutlinedInput","MuiFormLabel","flowFormLabel","MuiFormControlLabel","flowFormControlLabel","MuiInputAdornment","flowInputAdornment","MuiFormHelperText","flowFormHelperText","MuiDialogActions","flowDialogActions","MuiDialog","flowDialog","MuiDialogContent","flowDialogContent","MuiDialogContentText","flowDialogContentText","MuiDialogTitle","flowDialogTitle","MuiList","flowList","MuiListItem","flowListItem","MuiListItemButton","flowListItemButton","MuiListItemText","flowListItemText","MuiListItemIcon","flowListItemIcon","MuiListItemAvatar","flowListItemAvatar","MuiListItemSecondaryAction","flowListItemSecondaryAction","MuiListSubheader","flowListSubheader","MuiPopover","flowPopover","MuiAutocomplete","flowAutocomplete","MuiBreadcrumbs","flowBreadCrumbs","MuiPickersToolbar","flowPickersToolbar","MuiPickersToolbarButton","flowPickersToolbarButton","MuiDateTimePickerToolbar","flowDateTimePickerToolbar","MuiDateTimePickerTabs","flowDateTimePickerTabs","MuiMultiSectionDigitalClockSection","flowMultiSectionDigitalClockSection","MuiDesktopDateTimePicker","flowDesktopDateTimePicker","MuiDesktopTimePicker","flowDesktopTimePicker","MuiPickersToolbarText","flowPickersToolbarText","MuiPickersLayout","flowPickersLayout","MuiTimePickerToolbar","flowTimePickerToolbar","MuiTimeClock","flowTimeClock","MuiClock","flowClock","MuiSkeleton","flowSkeleton","MuiStepper","flowStepper","MuiStep","flowStep","MuiStepButton","flowStepButton","MuiStepConnector","flowStepConnector","MuiStepLabel","flowStepLabel","MuiStepContent","flowStepContent","MuiTableContainer","flowTableContainer","MuiTable","flowTable","MuiTableHead","flowTableHead","MuiTableBody","flowTableBody","MuiTableRow","flowTableRow","MuiTableCell","flowTableCell","MuiTableSortLabel","flowTableSortLabel","MuiTablePagination","flowTablePagination","MuiFab","flowFab","theme","darkTheme","rtlTheme","rtlDarkTheme"],"mappings":"qhJA6GgB,SAAAA,IAAiBC,KAC/BA,GAAO,QAAOC,UACdA,GAAY,MAAKC,mBACjBA,GAAqBC,GAAAA,kBAMrB,OAAOC,cAAY,CACjBC,YAAaH,GACbI,QAAkB,SAATN,GAAkBO,GAAAA,YAAcC,GAAYA,aACrDP,UAAWA,GACXQ,WAAYC,GAAoBA,qBAACR,GAAkC,QAAdD,IACrDU,YAAaC,GAAcA,eAC3BC,WAAY,CACVC,SAAUC,EAASA,UACnBC,cAAeC,EAAcA,eAC7BC,UAAWC,EAAUA,WACrBC,eAAgBC,EAAeA,gBAC/BC,UAAWC,EAAUA,WACrBC,aAAcC,GAAaA,cAC3BC,eAAgBC,EAAkBA,mBAACzB,GAAkC,QAAdD,IACvD2B,qBAAsBC,EAAwBA,yBAAC3B,GAAkC,QA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letteMode, BreakpointsOptions, Direction, createTheme } from '@mui/material';\nimport { flowMixins } from './mixins';\nimport { flowAccordion } from '../accordion/accordion.theme';\nimport { flowAlert } from '../alert/alert.theme';\nimport { flowAlertTitle } from '../alert/alertTitle.theme';\nimport { flowAvatar } from '../avatar/avatar.theme';\nimport { flowAvatarGroup } from '../avatar/avatarGroup.theme';\nimport { flowAccordionSummary } from '../accordion/accordionSummary.theme';\nimport { flowAccordionDetails } from '../accordion/accordionDetails.theme';\nimport { flowAccordionActions } from '../accordion/accordionActions.theme';\nimport { flowAppBar } from '../appbar/appbar.theme';\nimport { flowToolbar } from '../appbar/toolbar.theme';\nimport { flowAutocomplete } from '../autocomplete/autocomplete.theme';\nimport { flowBackdrop } from '../backdrop/backdrop.theme';\nimport { flowBadge } from '../badge/badge.theme';\nimport { getFlowScopedCssBaseline, getFlowCssBaseline } from '../themeProvider/baseline.theme';\nimport { flowBreadCrumbs } from '../breadcrumbs/breadcrumbs.theme';\nimport { flowButton } from '../button/button.theme';\nimport { flowButtonBase } from '../button/buttonBase.theme';\nimport { flowLink } from '../link/link.theme';\nimport { flowCheckbox } from '../checkbox/checkbox.theme';\nimport { flowChip } from '../chip/chip.theme';\nimport { flowClock } from '../datepicker/clock.theme';\nimport { flowDateTimePickerTabs } from '../datepicker/dateTimePickerTabs.theme';\nimport { flowDateTimePickerToolbar } from '../datepicker/dateTimePickerToolbar.theme';\nimport { flowDesktopDateTimePicker } from '../datepicker/desktopDateTimePicker.theme';\nimport { flowDesktopTimePicker } from '../datepicker/desktopTimePicker.theme';\nimport { flowMultiSectionDigitalClockSection } from '../datepicker/multiSectionDigitalClockSection.theme';\nimport { flowPickersLayout } from '../datepicker/pickersLayout.theme';\nimport { flowPickersToolbar } from '../datepicker/pickersToolbar.theme';\nimport { flowPickersToolbarButton } from '../datepicker/pickersToolbarButton.theme';\nimport { flowPickersToolbarText } from '../datepicker/pickersToolbarText.theme';\nimport { flowTimeClock } from '../datepicker/timeClock.theme';\nimport { flowTimePickerToolbar } from '../datepicker/timePickerToolbar.theme';\nimport { flowDialog } from '../dialog/dialog.theme';\nimport { flowDialogActions } from '../dialog/dialogActions.theme';\nimport { flowDialogContent } from '../dialog/dialogContent.theme';\nimport { flowDialogContentText } from '../dialog/dialogContentText.theme';\nimport { flowDialogTitle } from '../dialog/dialogTitle.theme';\nimport { flowDivider } from '../divider/divider.theme';\nimport { flowDrawer } from '../drawer/drawer.theme';\nimport { flowFilledInput } from '../textfield/filledInput.theme';\nimport { flowOutlinedInput } from '../textfield/outlinedInput.theme';\nimport { flowFormControl } from '../textfield/formControl.theme';\nimport { flowFormControlLabel } from '../textfield/formControlLabel.theme';\nimport { flowFormHelperText } from '../textfield/formHelperText.theme';\nimport { flowFormLabel } from '../textfield/formLabel.theme';\nimport { flowInput } from '../textfield/input.theme';\nimport { flowInputAdornment } from '../textfield/inputAdornment.theme';\nimport { flowInputBase } from '../textfield/inputBase.theme';\nimport { flowInputLabel } from '../textfield/inputLabel.theme';\nimport { flowRadio } from '../radio/radio.theme';\nimport { flowSelect } from '../textfield/select.theme';\nimport { flowSlider } from '../slider/slider.theme';\nimport { flowSwitch } from '../switch/switch.theme';\nimport { flowTextField } from '../textfield/textField.theme';\nimport { flowSvgIcon } from '../svgIcon/svgIcon.theme';\nimport { flowIconButton } from '../iconButton/iconButton.theme';\nimport { flowLinearProgress } from '../linearprogress/linearprogress.theme';\nimport { flowContainer } from '../container/container.theme';\nimport { flowGrid } from '../container/grid.theme';\nimport { flowList } from '../list/list.theme';\nimport { flowListItem } from '../list/listItem.theme';\nimport { flowListItemButton } from '../list/listItemButton.theme';\nimport { flowListItemText } from '../list/listItemText.theme';\nimport { flowListItemIcon } from '../list/listItemIcon.theme';\nimport { flowListItemAvatar } from '../list/listItemAvatar.theme';\nimport { flowListItemSecondaryAction } from '../list/listItemSecondaryAction.theme';\nimport { flowListSubheader } from '../list/listSubheader.theme';\nimport { flowMenu } from '../menu/menu.theme';\nimport { flowMenuItem } from '../menu/menuItem.theme';\nimport { flowMobileStepper } from '../mobileStepper/mobileStepper.theme';\nimport { getFlowModal } from '../modal/modal.theme';\nimport { flowPagination } from '../pagination/pagination.theme';\nimport { flowPaginationItem } from '../pagination/paginationItem.theme';\nimport { flowPaper } from '../paper/paper.theme';\nimport { flowPopover } from '../popover/popover.theme';\nimport { flowRating } from '../rating/rating.theme';\nimport { flowSkeleton } from '../skeleton/skeleton.theme';\nimport { flowSnackbar } from '../snackbar/snackbar.theme';\nimport { flowSnackbarContent } from '../snackbar/snackbarContent.theme';\nimport { flowStepper } from '../stepper/stepper.theme';\nimport { flowStep } from '../stepper/step.theme';\nimport { flowStepButton } from '../stepper/stepButton.theme';\nimport { flowStepConnector } from '../stepper/stepConnector.theme';\nimport { flowStepLabel } from '../stepper/stepLabel.theme';\nimport { flowStepContent } from '../stepper/stepContent.theme';\nimport { flowTab } from '../tabs/tab.theme';\nimport { flowTabs } from '../tabs/tabs.theme';\nimport { flowTooltip } from '../tooltip/tooltip.theme';\nimport { flowCard } from '../card/card.theme';\nimport { flowCardContent } from '../card/cardContent.theme';\nimport { flowCardHeader } from '../card/cardHeader.theme';\nimport { flowCardActionArea } from '../card/cardActionArea.theme';\nimport { flowTableContainer } from '../table/tableContainer.theme';\nimport { flowTable } from '../table/table.theme';\nimport { flowTableHead } from '../table/tableHead.theme';\nimport { flowTableBody } from '../table/tableBody.theme';\nimport { flowTableRow } from '../table/tableRow.theme';\nimport { flowTableCell } from '../table/tableCell.theme';\nimport { flowTableSortLabel } from '../table/tableSortLabel.theme';\nimport { flowTablePagination } from '../table/tablePagination.theme';\nimport { flowFab } from '../fab/fab.theme';\nimport { paletteLight } from './paletteLight.theme';\nimport { paletteDark } from './paletteDark.theme';\nimport { flowBreakpoints } from './theme.breakpoints';\nimport { flowElevations } from './theme.elevations';\nimport './theme.extensions';\nimport { getTypographyOptions } from './theme.typography';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport * as ThemeAugmentation from '@mui/x-date-pickers/themeAugmentation';\n\nexport function createSkodaTheme({\n mode = 'light',\n direction = 'ltr',\n breakpointsOptions = flowBreakpoints,\n}: {\n mode?: PaletteMode;\n direction?: Direction;\n breakpointsOptions?: BreakpointsOptions;\n}) {\n return createTheme({\n breakpoints: breakpointsOptions,\n mixins: flowMixins,\n palette: mode === 'dark' ? paletteDark : paletteLight,\n direction: direction,\n typography: getTypographyOptions(breakpointsOptions, direction === 'rtl'),\n flowShadows: flowElevations,\n components: {\n MuiAlert: flowAlert,\n MuiAlertTitle: flowAlertTitle,\n MuiAvatar: flowAvatar,\n MuiAvatarGroup: flowAvatarGroup,\n MuiAppBar: flowAppBar,\n MuiToolbar: flowToolbar,\n MuiContainer: flowContainer,\n MuiCssBaseline: getFlowCssBaseline(breakpointsOptions, direction === 'rtl'),\n MuiScopedCssBaseline: getFlowScopedCssBaseline(breakpointsOptions, direction === 'rtl'),\n MuiButtonBase: flowButtonBase,\n MuiButton: flowButton,\n MuiIconButton: flowIconButton,\n MuiSvgIcon: flowSvgIcon,\n MuiLink: flowLink,\n MuiLinearProgress: flowLinearProgress,\n MuiSwitch: flowSwitch,\n MuiCheckbox: flowCheckbox,\n MuiRadio: flowRadio,\n MuiSlider: flowSlider,\n MuiTooltip: flowTooltip,\n MuiDivider: flowDivider,\n MuiBadge: flowBadge,\n MuiGrid: flowGrid,\n MuiChip: flowChip,\n MuiPaper: flowPaper,\n MuiTextField: flowTextField,\n MuiSelect: flowSelect,\n MuiMenu: flowMenu,\n MuiMenuItem: flowMenuItem,\n MuiTab: flowTab,\n MuiTabs: flowTabs,\n MuiCard: flowCard,\n MuiCardContent: flowCardContent,\n MuiCardHeader: flowCardHeader,\n MuiCardActionArea: flowCardActionArea,\n MuiPaginationItem: flowPaginationItem,\n MuiPagination: flowPagination,\n MuiRating: flowRating,\n MuiSnackbar: flowSnackbar,\n MuiSnackbarContent: flowSnackbarContent,\n MuiModal: getFlowModal(breakpointsOptions, direction === 'rtl'),\n MuiBackdrop: flowBackdrop,\n MuiDrawer: flowDrawer,\n MuiAccordion: flowAccordion,\n MuiAccordionSummary: flowAccordionSummary,\n MuiAccordionDetails: flowAccordionDetails,\n MuiAccordionActions: flowAccordionActions,\n MuiMobileStepper: flowMobileStepper,\n MuiInputBase: flowInputBase,\n MuiInputLabel: flowInputLabel,\n MuiInput: flowInput,\n MuiFormControl: flowFormControl,\n MuiFilledInput: flowFilledInput,\n MuiOutlinedInput: flowOutlinedInput,\n MuiFormLabel: flowFormLabel,\n MuiFormControlLabel: flowFormControlLabel,\n MuiInputAdornment: flowInputAdornment,\n MuiFormHelperText: flowFormHelperText,\n MuiDialogActions: flowDialogActions,\n MuiDialog: flowDialog,\n MuiDialogContent: flowDialogContent,\n MuiDialogContentText: flowDialogContentText,\n MuiDialogTitle: flowDialogTitle,\n MuiList: flowList,\n MuiListItem: flowListItem,\n MuiListItemButton: flowListItemButton,\n MuiListItemText: flowListItemText,\n MuiListItemIcon: flowListItemIcon,\n MuiListItemAvatar: flowListItemAvatar,\n MuiListItemSecondaryAction: flowListItemSecondaryAction,\n MuiListSubheader: flowListSubheader,\n MuiPopover: flowPopover,\n MuiAutocomplete: flowAutocomplete,\n MuiBreadcrumbs: flowBreadCrumbs,\n MuiPickersToolbar: flowPickersToolbar,\n MuiPickersToolbarButton: flowPickersToolbarButton,\n MuiDateTimePickerToolbar: flowDateTimePickerToolbar,\n MuiDateTimePickerTabs: flowDateTimePickerTabs,\n MuiMultiSectionDigitalClockSection: flowMultiSectionDigitalClockSection,\n MuiDesktopDateTimePicker: flowDesktopDateTimePicker,\n MuiDesktopTimePicker: flowDesktopTimePicker,\n MuiPickersToolbarText: flowPickersToolbarText,\n MuiPickersLayout: flowPickersLayout,\n MuiTimePickerToolbar: flowTimePickerToolbar,\n MuiTimeClock: flowTimeClock,\n MuiClock: flowClock,\n MuiSkeleton: flowSkeleton,\n MuiStepper: flowStepper,\n MuiStep: flowStep,\n MuiStepButton: flowStepButton,\n MuiStepConnector: flowStepConnector,\n MuiStepLabel: flowStepLabel,\n MuiStepContent: flowStepContent,\n MuiTableContainer: flowTableContainer,\n MuiTable: flowTable,\n MuiTableHead: flowTableHead,\n MuiTableBody: flowTableBody,\n MuiTableRow: flowTableRow,\n MuiTableCell: flowTableCell,\n MuiTableSortLabel: flowTableSortLabel,\n MuiTablePagination: flowTablePagination,\n MuiFab: flowFab,\n },\n });\n}\n\nexport const theme = createSkodaTheme({});\nexport const darkTheme = createSkodaTheme({ mode: 'dark' });\nexport const rtlTheme = createSkodaTheme({ direction: 'rtl' });\nexport const rtlDarkTheme = createSkodaTheme({ direction: 'rtl', mode: 'dark' });\n"],"names":["createSkodaTheme","mode","direction","breakpointsOptions","flowBreakpoints","createTheme","breakpoints","mixins","flowMixins","palette","paletteDark","paletteLight","typography","getTypographyOptions","flowShadows","flowElevations","components","MuiAlert","flowAlert","MuiAlertTitle","flowAlertTitle","MuiAvatar","flowAvatar","MuiAvatarGroup","flowAvatarGroup","MuiAppBar","flowAppBar","MuiToolbar","flowToolbar","MuiContainer","flowContainer","MuiCssBaseline","getFlowCssBaseline","MuiScopedCssBaseline","getFlowScopedCssBaseline","MuiButtonBase","flowButtonBase","MuiButton","flowButton","MuiIconButton","flowIconButton","MuiSvgIcon","flowSvgIcon","MuiLink","flowLink","MuiLinearProgress","flowLinearProgress","MuiSwitch","flowSwitch","MuiCheckbox","flowCheckbox","MuiRadio","flowRadio","MuiSlider","flowSlider","MuiTooltip","flowTooltip","MuiDivider","flowDivider","MuiBadge","flowBadge","MuiGrid","flowGrid","MuiChip","flowChip","MuiPaper","flowPaper","MuiTextField","flowTextField","MuiSelect","flowSelect","MuiMenu","flowMenu","MuiMenuItem","flowMenuItem","MuiTab","flowTab","MuiTabs","flowTabs","MuiCard","flowCard","MuiCardContent","flowCardContent","MuiCardHeader","flowCardHeader","MuiCardActionArea","flowCardActionArea","MuiPaginationItem","flowPaginationItem","MuiPagination","flowPagination","MuiRating","flowRating","MuiSnackbar","flowSnackbar","MuiSnackbarContent","flowSnackbarContent","MuiModal","getFlowModal","MuiBackdrop","flowBackdrop","MuiDrawer","flowDrawer","MuiAccordion","flowAccordion","MuiAccordionSummary","flowAccordionSummary","MuiAccordionDetails","flowAccordionDetails","MuiAccordionActions","flowAccordionActions","MuiMobileStepper","flowMobileStepper","MuiInputBase","flowInputBase","MuiInputLabel","flowInputLabel","MuiInput","flowInput","MuiFormControl","flowFormControl","MuiFilledInput","flowFilledInput","MuiOutlinedInput","flowOutlinedInput","MuiFormLabel","flowFormLabel","MuiFormControlLabel","flowFormControlLabel","MuiInputAdornment","flowInputAdornment","MuiFormHelperText","flowFormHelperText","MuiDialogActions","flowDialogActions","MuiDialog","flowDialog","MuiDialogContent","flowDialogContent","MuiDialogContentText","flowDialogContentText","MuiDialogTitle","flowDialogTitle","MuiList","flowList","MuiListItem","flowListItem","MuiListItemButton","flowListItemButton","MuiListItemText","flowListItemText","MuiListItemIcon","flowListItemIcon","MuiListItemAvatar","flowListItemAvatar","MuiListItemSecondaryAction","flowListItemSecondaryAction","MuiListSubheader","flowListSubheader","MuiPopover","flowPopover","MuiAutocomplete","flowAutocomplete","MuiBreadcrumbs","flowBreadCrumbs","MuiPickersToolbar","flowPickersToolbar","MuiPickersToolbarButton","flowPickersToolbarButton","MuiDateTimePickerToolbar","flowDateTimePickerToolbar","MuiDateTimePickerTabs","flowDateTimePickerTabs","MuiMultiSectionDigitalClockSection","flowMultiSectionDigitalClockSection","MuiDesktopDateTimePicker","flowDesktopDateTimePicker","MuiDesktopTimePicker","flowDesktopTimePicker","MuiPickersToolbarText","flowPickersToolbarText","MuiPickersLayout","flowPickersLayout","MuiTimePickerToolbar","flowTimePickerToolbar","MuiTimeClock","flowTimeClock","MuiClock","flowClock","MuiSkeleton","flowSkeleton","MuiStepper","flowStepper","MuiStep","flowStep","MuiStepButton","flowStepButton","MuiStepConnector","flowStepConnector","MuiStepLabel","flowStepLabel","MuiStepContent","flowStepContent","MuiTableContainer","flowTableContainer","MuiTable","flowTable","MuiTableHead","flowTableHead","MuiTableBody","flowTableBody","MuiTableRow","flowTableRow","MuiTableCell","flowTableCell","MuiTableSortLabel","flowTableSortLabel","MuiTablePagination","flowTablePagination","MuiFab","flowFab","theme","darkTheme","rtlTheme","rtlDarkTheme"],"mappings":"orJAiHgB,SAAAA,IAAiBC,KAC/BA,GAAO,QAAOC,UACdA,GAAY,MAAKC,mBACjBA,GAAqBC,GAAAA,kBAMrB,OAAOC,cAAY,CACjBC,YAAaH,GACbI,OAAQC,EAAUA,WAClBC,QAAkB,SAATR,GAAkBS,GAAAA,YAAcC,GAAYA,aACrDT,UAAWA,GACXU,WAAYC,GAAoBA,qBAACV,GAAkC,QAAdD,IACrDY,YAAaC,GAAcA,eAC3BC,WAAY,CACVC,SAAUC,EAASA,UACnBC,cAAeC,EAAcA,eAC7BC,UAAWC,EAAUA,WACrBC,eAAgBC,EAAeA,gBAC/BC,UAAWC,EAAUA,WACrBC,WAAYC,EAAWA,YACvBC,aAAcC,GAAaA,cAC3BC,eAAgBC,EAAkBA,mBAAC7B,GAAkC,QAAdD,IACvD+B,qBAAsBC,EAAwBA,yBAAC/B,GAAkC,QAAdD,IACnEiC,cAAeC,EAAcA,eAC7BC,UAAWC,EAAUA,WACrBC,cAAeC,GAAcA,eAC7BC,WAAYC,GAAWA,YACvBC,QAASC,EAAQA,SACjBC,kBAAmBC,GAAkBA,mBACrCC,UAAWC,GAAUA,WACrBC,YAAaC,EAAYA,aACzBC,SAAUC,EAASA,UACnBC,UAAWC,EAAUA,WACrBC,WAAYC,GAAWA,YACvBC,WAAYC,EAAWA,YACvBC,SAAUC,EAASA,UACnBC,QAASC,GAAQA,SACjBC,QAASC,EAAQA,SACjBC,SAAUC,GAASA,UACnBC,aAAcC,GAAaA,cAC3BC,UAAWC,EAAUA,WACrBC,QAASC,GAAQA,SACjBC,YAAaC,GAAYA,aACzBC,OAAQC,GAAOA,QACfC,QAASC,GAAQA,SACjBC,QAASC,GAAQA,SACjBC,eAAgBC,GAAeA,gBAC/B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C,EAAsBA,uBAC7CC,iBAAkBC,EAAiBA,kBACnCC,qBAAsBC,EAAqBA,sBAC3CC,aAAcC,EAAaA,cAC3BC,SAAUC,EAASA,UACnBC,YAAaC,GAAYA,aACzBC,WAAYC,GAAWA,YACvBC,QAASC,GAAQA,SACjBC,cAAeC,GAAcA,eAC7BC,iBAAkBC,GAAiBA,kBACnCC,aAAcC,GAAaA,cAC3BC,eAAgBC,GAAeA,gBAC/BC,kBAAmBC,GAAkBA,mBACrCC,SAAUC,GAASA,UACnBC,aAAcC,GAAaA,cAC3BC,aAAcC,GAAaA,cAC3BC,YAAaC,GAAYA,aACzBC,aAAcC,GAAaA,cAC3BC,kBAAmBC,GAAkBA,mBACrCC,mBAAoBC,GAAmBA,oBACvCC,OAAQC,GAAOA,UAGrB,OAEaC,GAAQ7N,GAAiB,CAAE,GAC3B8N,GAAY9N,GAAiB,CAAEC,KAAM,SACrC8N,GAAW/N,GAAiB,CAAEE,UAAW,QACzC8N,GAAehO,GAAiB,CAAEE,UAAW,MAAOD,KAAM"}
|
package/cjs/organisms/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ButtonProps } from '@mui/material';
|
|
3
|
-
export interface AlertButtonProps extends
|
|
3
|
+
export interface AlertButtonProps extends ButtonProps {
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* AlertButton is a proxy component to <Button variant="text" color="white" size="small" />
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import{Button as e}from"@mui/material";const i=t(((t,i)=>r(e,Object.assign({
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import{Button as e}from"@mui/material";const i=t(((t,i)=>r(e,Object.assign({ref:i,variant:"text",color:"white",size:"small"},t))));export{i as AlertButton};
|
|
2
2
|
//# sourceMappingURL=AlertButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertButton.js","sources":["../../../src/components/alert/AlertButton.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { Button, ButtonProps } from '@mui/material';\n\nexport interface AlertButtonProps extends
|
|
1
|
+
{"version":3,"file":"AlertButton.js","sources":["../../../src/components/alert/AlertButton.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { Button, ButtonProps } from '@mui/material';\n\nexport interface AlertButtonProps extends ButtonProps {}\n\n/**\n * AlertButton is a proxy component to <Button variant=\"text\" color=\"white\" size=\"small\" />\n */\nexport const AlertButton: React.FC<AlertButtonProps> = forwardRef((props, ref) => {\n return <Button ref={ref} variant=\"text\" color=\"white\" size=\"small\" {...props} />;\n});\n"],"names":["AlertButton","forwardRef","props","ref","_jsx","Button","Object","assign","variant","color","size"],"mappings":"kHAQa,MAAAA,EAA0CC,GAAW,CAACC,EAAOC,IACjEC,EAACC,EAAOC,OAAAC,OAAA,CAAAJ,IAAKA,EAAKK,QAAQ,OAAOC,MAAM,QAAQC,KAAK,SAAYR"}
|