@skodaflow/web-library 7.0.0 → 7.0.2
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/README.md +16 -61
- package/cjs/components/banner/banner.d.ts +3 -0
- package/cjs/components/banner/banner.js +1 -1
- package/cjs/components/banner/banner.js.map +1 -1
- package/cjs/components/button/button.js +1 -1
- package/cjs/components/button/button.js.map +1 -1
- package/cjs/components/common/hook/useWindowSize.js.map +1 -1
- package/cjs/components/icon/icon.d.ts +2 -2
- package/cjs/components/icon/icon.definitions.d.ts +8 -1057
- package/cjs/components/icon/icon.definitions.js +1 -1
- package/cjs/components/icon/icon.definitions.js.map +1 -1
- package/cjs/components/icon/icon.js +1 -1
- package/cjs/components/icon/icon.js.map +1 -1
- package/cjs/components/index.d.ts +1 -0
- package/cjs/components/indicator/indicator.js +1 -1
- package/cjs/components/indicator/indicator.js.map +1 -1
- package/cjs/components/label/label.js.map +1 -1
- package/cjs/components/labelFeature/labelFeature.js.map +1 -1
- package/cjs/components/labelStatus/labelStatus.js.map +1 -1
- package/cjs/components/selectInput/selectInput.js +1 -1
- package/cjs/components/selectInput/selectInput.js.map +1 -1
- package/cjs/components/tabs/index.d.ts +2 -0
- package/cjs/components/tabs/tabPanel.d.ts +19 -0
- package/cjs/components/tabs/tabPanel.js +2 -0
- package/cjs/components/tabs/tabPanel.js.map +1 -0
- package/cjs/components/tabs/tabs.component.d.ts +5 -0
- package/cjs/components/textArea/textArea.js +1 -1
- package/cjs/components/textArea/textArea.js.map +1 -1
- package/cjs/components/textInput/textInput.js +1 -1
- package/cjs/components/textInput/textInput.js.map +1 -1
- package/cjs/design/skoda/components/accordion/accordionSummary.theme.js +1 -1
- package/cjs/design/skoda/components/accordion/accordionSummary.theme.js.map +1 -1
- package/cjs/design/skoda/components/agGrid/agGrid.theme.d.ts +3 -0
- package/cjs/design/skoda/components/agGrid/agGrid.theme.js +2 -0
- package/cjs/design/skoda/components/agGrid/agGrid.theme.js.map +1 -0
- package/cjs/design/skoda/components/autocomplete.theme.js +1 -1
- package/cjs/design/skoda/components/autocomplete.theme.js.map +1 -1
- package/cjs/design/skoda/components/baseline.theme.d.ts +2 -1
- package/cjs/design/skoda/components/baseline.theme.js +1 -1
- package/cjs/design/skoda/components/baseline.theme.js.map +1 -1
- package/cjs/design/skoda/components/datePickers/desktopDateTimePicker.theme.js +1 -1
- package/cjs/design/skoda/components/datePickers/desktopDateTimePicker.theme.js.map +1 -1
- package/cjs/design/skoda/components/form/select.theme.js +1 -1
- package/cjs/design/skoda/components/form/select.theme.js.map +1 -1
- package/cjs/design/skoda/components/tabs/tabs.theme.js +1 -1
- package/cjs/design/skoda/components/tabs/tabs.theme.js.map +1 -1
- package/cjs/design/skoda/theme.js +1 -1
- package/cjs/design/skoda/theme.js.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/layout/Footer/FooterSectionMenu.d.ts +7 -3
- package/cjs/layout/Footer/FooterSectionMenu.js +1 -1
- package/cjs/layout/Footer/FooterSectionMenu.js.map +1 -1
- package/cjs/layout/Header/HeaderButton.js +1 -1
- package/cjs/layout/Header/HeaderButton.js.map +1 -1
- package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js +1 -1
- package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js.map +1 -1
- package/cjs/organisms/cardPhotoAdjustable/cardPhotoAdjustable.js.map +1 -1
- package/cjs/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
- package/cjs/organisms/cardTypeOnly/cardTypeOnly.js.map +1 -1
- package/cjs/organisms/carousel2/components/NavButton.js +1 -1
- package/cjs/organisms/carousel2/components/NavButton.js.map +1 -1
- package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.js +1 -1
- package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
- package/cjs/organisms/carousel2/galleryCarousel/galleryContext.js +1 -1
- package/cjs/organisms/carousel2/galleryCarousel/galleryContext.js.map +1 -1
- package/cjs/organisms/carousel2/heroCarousel/heroCarousel.js +1 -1
- package/cjs/organisms/carousel2/heroCarousel/heroCarousel.js.map +1 -1
- package/cjs/organisms/carousel2/heroCarousel/heroCarouselContext.js +1 -1
- package/cjs/organisms/carousel2/heroCarousel/heroCarouselContext.js.map +1 -1
- package/cjs/organisms/gallery/Gallery.js +1 -1
- package/cjs/organisms/gallery/Gallery.js.map +1 -1
- package/cjs/organisms/gallery/GalleryItem.js +1 -1
- package/cjs/organisms/gallery/GalleryItem.js.map +1 -1
- package/cjs/organisms/gallery/GalleryTrigger.js +1 -1
- package/cjs/organisms/gallery/GalleryTrigger.js.map +1 -1
- package/cjs/organisms/heroImageCard/heroImageCard.js.map +1 -1
- package/cjs/organisms/maps/mapComponents/infoWindowConfig.js.map +1 -1
- package/cjs/organisms/notification/Notification.js +1 -1
- package/cjs/organisms/notification/Notification.js.map +1 -1
- package/cjs/production/Button/Button.js.map +1 -1
- package/cjs/utils/copyToClipboard/copyToClipboard.d.ts +6 -0
- package/cjs/utils/useDebounce/useDebounce.d.ts +12 -0
- package/cjs/utils/useKeyboardShortcut/useKeyboardShortcut.d.ts +11 -0
- package/cjs/utils/useKeyboardShortcut/useKeyboardShortcut.js +2 -0
- package/cjs/utils/useKeyboardShortcut/useKeyboardShortcut.js.map +1 -0
- package/components/banner/banner.d.ts +3 -0
- package/components/banner/banner.js +1 -1
- package/components/banner/banner.js.map +1 -1
- package/components/button/button.js +1 -1
- package/components/button/button.js.map +1 -1
- package/components/common/hook/useWindowSize.js.map +1 -1
- package/components/icon/icon.d.ts +2 -2
- package/components/icon/icon.definitions.d.ts +8 -1057
- package/components/icon/icon.definitions.js +1 -1
- package/components/icon/icon.definitions.js.map +1 -1
- package/components/icon/icon.js +1 -1
- package/components/icon/icon.js.map +1 -1
- package/components/index.d.ts +1 -0
- package/components/indicator/indicator.js +1 -1
- package/components/indicator/indicator.js.map +1 -1
- package/components/label/label.js.map +1 -1
- package/components/labelFeature/labelFeature.js.map +1 -1
- package/components/labelStatus/labelStatus.js.map +1 -1
- package/components/selectInput/selectInput.js +1 -1
- package/components/selectInput/selectInput.js.map +1 -1
- package/components/tabs/index.d.ts +2 -0
- package/components/tabs/tabPanel.d.ts +19 -0
- package/components/tabs/tabPanel.js +2 -0
- package/components/tabs/tabPanel.js.map +1 -0
- package/components/tabs/tabs.component.d.ts +5 -0
- package/components/textArea/textArea.js +1 -1
- package/components/textArea/textArea.js.map +1 -1
- package/components/textInput/textInput.js +1 -1
- package/components/textInput/textInput.js.map +1 -1
- package/design/skoda/components/accordion/accordionSummary.theme.js +1 -1
- package/design/skoda/components/accordion/accordionSummary.theme.js.map +1 -1
- package/design/skoda/components/agGrid/agGrid.theme.d.ts +3 -0
- package/design/skoda/components/agGrid/agGrid.theme.js +2 -0
- package/design/skoda/components/agGrid/agGrid.theme.js.map +1 -0
- package/design/skoda/components/autocomplete.theme.js +1 -1
- package/design/skoda/components/autocomplete.theme.js.map +1 -1
- package/design/skoda/components/baseline.theme.d.ts +2 -1
- package/design/skoda/components/baseline.theme.js +1 -1
- package/design/skoda/components/baseline.theme.js.map +1 -1
- package/design/skoda/components/datePickers/desktopDateTimePicker.theme.js +1 -1
- package/design/skoda/components/datePickers/desktopDateTimePicker.theme.js.map +1 -1
- package/design/skoda/components/form/select.theme.js +1 -1
- package/design/skoda/components/form/select.theme.js.map +1 -1
- package/design/skoda/components/tabs/tabs.theme.js +1 -1
- package/design/skoda/components/tabs/tabs.theme.js.map +1 -1
- package/design/skoda/theme.js +1 -1
- package/design/skoda/theme.js.map +1 -1
- package/eula.txt +40 -40
- package/index.js +1 -1
- package/layout/Footer/FooterSectionMenu.d.ts +7 -3
- package/layout/Footer/FooterSectionMenu.js +1 -1
- package/layout/Footer/FooterSectionMenu.js.map +1 -1
- package/layout/Header/HeaderButton.js +1 -1
- package/layout/Header/HeaderButton.js.map +1 -1
- package/layout/SecondaryNavigation/SecondaryNavigation.js +1 -1
- package/layout/SecondaryNavigation/SecondaryNavigation.js.map +1 -1
- package/organisms/cardPhotoAdjustable/cardPhotoAdjustable.js.map +1 -1
- package/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
- package/organisms/cardTypeOnly/cardTypeOnly.js.map +1 -1
- package/organisms/carousel2/components/NavButton.js +1 -1
- package/organisms/carousel2/components/NavButton.js.map +1 -1
- package/organisms/carousel2/galleryCarousel/galleryCarousel.js +1 -1
- package/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
- package/organisms/carousel2/galleryCarousel/galleryContext.js +1 -1
- package/organisms/carousel2/galleryCarousel/galleryContext.js.map +1 -1
- package/organisms/carousel2/heroCarousel/heroCarousel.js +1 -1
- package/organisms/carousel2/heroCarousel/heroCarousel.js.map +1 -1
- package/organisms/carousel2/heroCarousel/heroCarouselContext.js +1 -1
- package/organisms/carousel2/heroCarousel/heroCarouselContext.js.map +1 -1
- package/organisms/gallery/Gallery.js +1 -1
- package/organisms/gallery/Gallery.js.map +1 -1
- package/organisms/gallery/GalleryItem.js +1 -1
- package/organisms/gallery/GalleryItem.js.map +1 -1
- package/organisms/gallery/GalleryTrigger.js +1 -1
- package/organisms/gallery/GalleryTrigger.js.map +1 -1
- package/organisms/heroImageCard/heroImageCard.js.map +1 -1
- package/organisms/maps/mapComponents/infoWindowConfig.js.map +1 -1
- package/organisms/notification/Notification.js +1 -1
- package/organisms/notification/Notification.js.map +1 -1
- package/package.json +1 -1
- package/production/Button/Button.js.map +1 -1
- package/utils/copyToClipboard/copyToClipboard.d.ts +6 -0
- package/utils/useDebounce/useDebounce.d.ts +12 -0
- package/utils/useKeyboardShortcut/useKeyboardShortcut.d.ts +11 -0
- package/utils/useKeyboardShortcut/useKeyboardShortcut.js +2 -0
- package/utils/useKeyboardShortcut/useKeyboardShortcut.js.map +1 -0
- package/2f0bdf9288683716.eot +0 -0
- package/31900b5b84c8ebf5.woff +0 -0
- package/690054abce120440.woff +0 -0
- package/6acf7baa6fae93bd.otf +0 -0
- package/6d0fdeee5f7b79b0.otf +0 -0
- package/9b0223f0f75101d4.eot +0 -0
- package/cjs/2f0bdf9288683716.eot +0 -0
- package/cjs/31900b5b84c8ebf5.woff +0 -0
- package/cjs/690054abce120440.woff +0 -0
- package/cjs/6acf7baa6fae93bd.otf +0 -0
- package/cjs/6d0fdeee5f7b79b0.otf +0 -0
- package/cjs/9b0223f0f75101d4.eot +0 -0
- package/cjs/design/skoda/fonts/SKODANextIcons-Filled.eot.js +0 -2
- package/cjs/design/skoda/fonts/SKODANextIcons-Filled.eot.js.map +0 -1
- package/cjs/design/skoda/fonts/SKODANextIcons-Filled.otf.js +0 -2
- package/cjs/design/skoda/fonts/SKODANextIcons-Filled.otf.js.map +0 -1
- package/cjs/design/skoda/fonts/SKODANextIcons-Filled.woff.js +0 -2
- package/cjs/design/skoda/fonts/SKODANextIcons-Filled.woff.js.map +0 -1
- package/cjs/design/skoda/fonts/SKODANextIcons-Regular.eot.js +0 -2
- package/cjs/design/skoda/fonts/SKODANextIcons-Regular.eot.js.map +0 -1
- package/cjs/design/skoda/fonts/SKODANextIcons-Regular.otf.js +0 -2
- package/cjs/design/skoda/fonts/SKODANextIcons-Regular.otf.js.map +0 -1
- package/cjs/design/skoda/fonts/SKODANextIcons-Regular.woff.js +0 -2
- package/cjs/design/skoda/fonts/SKODANextIcons-Regular.woff.js.map +0 -1
- package/design/skoda/fonts/SKODANextIcons-Filled.eot.js +0 -2
- package/design/skoda/fonts/SKODANextIcons-Filled.eot.js.map +0 -1
- package/design/skoda/fonts/SKODANextIcons-Filled.otf.js +0 -2
- package/design/skoda/fonts/SKODANextIcons-Filled.otf.js.map +0 -1
- package/design/skoda/fonts/SKODANextIcons-Filled.woff.js +0 -2
- package/design/skoda/fonts/SKODANextIcons-Filled.woff.js.map +0 -1
- package/design/skoda/fonts/SKODANextIcons-Regular.eot.js +0 -2
- package/design/skoda/fonts/SKODANextIcons-Regular.eot.js.map +0 -1
- package/design/skoda/fonts/SKODANextIcons-Regular.otf.js +0 -2
- package/design/skoda/fonts/SKODANextIcons-Regular.otf.js.map +0 -1
- package/design/skoda/fonts/SKODANextIcons-Regular.woff.js +0 -2
- package/design/skoda/fonts/SKODANextIcons-Regular.woff.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,61 +1,16 @@
|
|
|
1
|
-
# @skodaflow/web-library
|
|
2
|
-
|
|
3
|
-
> Flow Web Library is the REACT implementation of the [Skoda Flow Design system](https://skoda-brand.com/hub/26).
|
|
4
|
-
>
|
|
5
|
-
> Package contains [theme for @mui/material](https://mui.com/material-ui/customization/theming/) as well as completely custom components.
|
|
6
|
-
> This should simplify development of Skoda Auto Web Applications.
|
|
7
|
-
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Peer Dependencies
|
|
20
|
-
|
|
21
|
-
Peer dependencies should be installed automatically. However if you need to install them manually you can run:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# using npm
|
|
25
|
-
npm i @emotion/react @emotion/styled @mui/base @mui/material @mui/system react
|
|
26
|
-
# using yarn
|
|
27
|
-
yarn add @emotion/react @emotion/styled @mui/base @mui/material @mui/system react
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Import CSS Files
|
|
31
|
-
|
|
32
|
-
Optionally you can import provided CSS files.
|
|
33
|
-
|
|
34
|
-
- globals.css - configures default styles
|
|
35
|
-
- fonts.css - defines font faces for Skoda Next font
|
|
36
|
-
- icons.css - defines Skoda Flow icons
|
|
37
|
-
|
|
38
|
-
```tsx
|
|
39
|
-
import '@skodaflow/web-library/theme/globals.css';
|
|
40
|
-
import '@skodaflow/web-library/theme/fonts.css';
|
|
41
|
-
import '@skodaflow/web-library/theme/icons.css';
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Using Theme
|
|
45
|
-
|
|
46
|
-
Use theme provider in the root component of your application (eg. App.tsx).
|
|
47
|
-
|
|
48
|
-
```tsx
|
|
49
|
-
// use library provider
|
|
50
|
-
import { SkodaThemeProvider } from '@skodaflow/web-library';
|
|
51
|
-
...
|
|
52
|
-
<SkodaThemeProvider>
|
|
53
|
-
<App/>
|
|
54
|
-
</SkodaThemeProvider>
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Resources
|
|
58
|
-
|
|
59
|
-
- [@mui/material](https://mui.com/material-ui/getting-started/overview/)
|
|
60
|
-
- [Storybook](https://skodaflow-web.azurewebsites.net/)
|
|
61
|
-
- [Flow Design System](https://skoda-brand.com/hub/26)
|
|
1
|
+
# @skodaflow/web-library
|
|
2
|
+
|
|
3
|
+
> Flow Web Library is the REACT implementation of the [Skoda Flow Design system](https://skoda-brand.com/hub/26).
|
|
4
|
+
>
|
|
5
|
+
> Package contains [theme for @mui/material](https://mui.com/material-ui/customization/theming/) as well as completely custom components.
|
|
6
|
+
> This should simplify development of Skoda Auto Web Applications.
|
|
7
|
+
|
|
8
|
+
## Documentation
|
|
9
|
+
|
|
10
|
+
Visit https://skodaflow-web.azurewebsites.net/ to view the full documentation in the storybook.
|
|
11
|
+
|
|
12
|
+
## Resources
|
|
13
|
+
|
|
14
|
+
- [Storybook](https://skodaflow-web.azurewebsites.net/)
|
|
15
|
+
- [Flow Design System](https://skoda-brand.com/hub/26)
|
|
16
|
+
- [@mui/material](https://mui.com/material-ui/getting-started/overview/)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime");require("tslib");var r=require("@mui/material");require("../../design/skoda/theme.js");var i=require("react");require("@mui/material/styles"),require("../accordion/accordion.js"),require("../backdrop/backdrop.js"),require("../button/button.js"),require("../cardContainer/cardContainer.js"),require("../cardMenu/cardMenu.js"),require("../checkbox/checkbox.js"),require("../chip/chipImage/chipImage.js"),require("../chip/regular/chip.js"),require("../chip/chipMultiselect/multiSelectChip.js"),require("../chip/chipDropdownChildren/chipDropdownChildren.js"),require("../controls/controls.js"),require("../divider/divider.js"),require("../drawer/drawer.js"),require("../flag/flag.js"),require("@mui/material/Grid");var a=require("../icon/icon.js");require("../icon/icon.definitions.js"),require("../indicator/indicator.js"),require("../label/label.js"),require("../labelCO2/labelCO2.js"),require("../labelFeature/labelFeature.js"),require("../labelPromotional/labelPromotional.js"),require("../labelStatus/labelStatus.js"),require("../menu/menu.js"),require("@mui/material/MenuItem"),require("@mui/material/MobileStepper"),require("../mobileStepper/mobileStepperButton.js"),require("../modal/modal.js"),require("../modal/modalTitle.js"),require("../numbering/numbering.js"),require("../pagination/pagination.js"),require("../progressBar/progressBar.js"),require("../radioButton/radioButton.js"),require("../selectInput/selectInput.js"),require("../slider/slider.js"),require("../snackbar/snackbar.js"),require("../stepper/stepper.js"),require("../textArea/textArea.js"),require("../common/styled/textFieldStyled.js"),require("../helperTextContent/index.js"),require("
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime");require("tslib");var r=require("@mui/material");require("../../design/skoda/theme.js");var i=require("react");require("@mui/material/styles"),require("../accordion/accordion.js"),require("../backdrop/backdrop.js"),require("../button/button.js"),require("../cardContainer/cardContainer.js"),require("../cardMenu/cardMenu.js"),require("../checkbox/checkbox.js"),require("../chip/chipImage/chipImage.js"),require("../chip/regular/chip.js"),require("../chip/chipMultiselect/multiSelectChip.js"),require("../chip/chipDropdownChildren/chipDropdownChildren.js"),require("../controls/controls.js"),require("../divider/divider.js"),require("../drawer/drawer.js"),require("../flag/flag.js"),require("@mui/material/Grid");var a=require("../icon/icon.js");require("../icon/icon.definitions.js"),require("../indicator/indicator.js"),require("../label/label.js"),require("../labelCO2/labelCO2.js"),require("../labelFeature/labelFeature.js"),require("../labelPromotional/labelPromotional.js"),require("../labelStatus/labelStatus.js"),require("../menu/menu.js"),require("@mui/material/MenuItem"),require("@mui/material/MobileStepper"),require("../mobileStepper/mobileStepperButton.js"),require("../modal/modal.js"),require("../modal/modalTitle.js"),require("../numbering/numbering.js"),require("../pagination/pagination.js"),require("../progressBar/progressBar.js"),require("../radioButton/radioButton.js"),require("../selectInput/selectInput.js"),require("../slider/slider.js"),require("../snackbar/snackbar.js"),require("../stepper/stepper.js"),require("../textArea/textArea.js"),require("../common/styled/textFieldStyled.js"),require("../helperTextContent/index.js"),require("../toggleSwitch/toggleSwitch.js"),require("../avatar/Avatar.js"),require("../iconButton/index.js"),require("../alert/AlertButton.js"),require("../../organisms/gallery/Gallery.js"),require("../../organisms/gallery/GalleryItem.js"),require("minimatch"),require("../../utils/enum.js"),require("../../organisms/cardOwnedVehicle/cardOwnedVehicle.js"),require("../../organisms/cardPhotoAdjustable/cardPhotoAdjustable.js"),require("../../organisms/cardPhotoFixed/cardPhotoFixed.js"),require("../../organisms/cardPromoVehicle/cardPromoVehicleComponent.js"),require("../../organisms/common/styled/cardStandardWrapperStyled.js"),require("../../organisms/cardTypeOnly/cardTypeOnly.js"),require("embla-carousel-react"),require("embla-carousel-class-names"),require("embla-carousel-autoplay"),require("../../organisms/carousel/styledComponents/styledCarouselHorizontal.js"),require("../../organisms/carousel/styledComponents/styledCarouselVertical.js"),require("../../organisms/heroImageCard/heroImageCard.js"),require("@googlemaps/react-wrapper"),require("@googlemaps/markerclusterer"),require("../../organisms/maps/utils/mapIcons.js"),require("../../organisms/maps/mapComponents/mapStyled.js"),require("../../organisms/shortcutLink/shortcutLink.js"),require("../../organisms/textCta/textCta.js"),require("../../organisms/tile/tile.js"),require("@mui/system"),require("../../organisms/carousel2/galleryCarousel/galleryContext.js"),require("../../organisms/carousel2/galleryCarousel/galleryItemContext.js"),require("../../organisms/carousel2/heroCarousel/heroCarouselContext.js"),require("../../organisms/notification/Notification.js"),require("../../organisms/notification/NotificationCenter.js"),require("../../layout/Header/HeaderContext.js"),require("../../layout/Header/HeaderButton.js"),require("../../layout/Header/HeaderNavigationHero.js"),require("../../layout/Header/HeaderNavigationLink.js"),require("../../layout/Header/HeaderNavigationMenu.js"),require("../../layout/Header/PredefinedHeaderButtons.js"),require("../../layout/Header/HeaderOverheadItem.js"),require("../../layout/SideMenu/SideMenuItem.js"),require("@mui/material/Unstable_Grid2"),require("../../layout/SecondaryNavigation/SecondaryNavigationCta.js"),require("../../layout/SecondaryNavigation/SecondaryNavigationItem.js"),require("@mui/material/Container"),require("../../production/Button/Button.js");exports.Banner=({children:t,variant:s="info",buttons:o})=>{const n=r.useTheme(),[u,l]=i.useMemo((()=>{switch(s){case"error":return[n.palette.error.main,r.lighten(n.palette.error.light,.9)];case"warning":return[n.palette.warning.main,r.lighten(n.palette.warning.light,.9)];default:return[n.palette.info.main,r.lighten(n.palette.info.light,.9)]}}),[s,n]);return e.jsxs(r.Stack,{direction:{md:"row",sm:"column"},spacing:0,sx:{borderLeft:"6px solid",alignItems:"flex-start",borderColor:u,backgroundColor:l},"data-testid":"Banner",children:[e.jsxs(r.Stack,{direction:"row",spacing:2,sx:{padding:{md:"12px 16px",sm:"16px",xs:"11px 16px"},flexGrow:1,alignItems:"center"},children:[e.jsx(a.Icon,{name:"info"===s?"circle-info":"circle-exclamation",iconStyle:"filled",color:s,sx:{alignSelf:"flex-start",color:u,marginTop:{lg:"2px !important",md:"1px !important",sm:"-2px !important"}}}),e.jsx(r.Box,{children:"string"==typeof t?e.jsx(r.Typography,{children:t}):t})]}),o&&e.jsx(r.Stack,{direction:"row",spacing:1,useFlexGap:!0,sx:{padding:"8px 16px",textWrap:"nowrap",flexWrap:"wrap",alignSelf:"center",marginRight:"auto"},"data-testid":"Banner.buttons",children:o})]})};
|
|
2
2
|
//# sourceMappingURL=banner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner.js","sources":["../../../../src/components/banner/banner.tsx"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Icon } from '@/src';\nimport { Box, Stack, Typography, lighten, useTheme } from '@mui/material';\nimport { useMemo } from 'react';\nexport const Banner = ({ children, variant = 'info', buttons }) => {\n const theme = useTheme();\n const borderColor = useMemo(() => {\n switch (variant) {\n case 'error':\n return theme.palette.error.main
|
|
1
|
+
{"version":3,"file":"banner.js","sources":["../../../../src/components/banner/banner.tsx"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Icon } from '@/src';\nimport { Box, Stack, Typography, lighten, useTheme } from '@mui/material';\nimport { useMemo } from 'react';\n/**\n * Alert notification banner\n */\nexport const Banner = ({ children, variant = 'info', buttons }) => {\n const theme = useTheme();\n const [borderColor, backgroundColor] = useMemo(() => {\n switch (variant) {\n case 'error':\n return [theme.palette.error.main, lighten(theme.palette.error.light, 0.9)];\n case 'warning':\n return [theme.palette.warning.main, lighten(theme.palette.warning.light, 0.9)];\n case 'info':\n default:\n return [theme.palette.info.main, lighten(theme.palette.info.light, 0.9)];\n }\n }, [variant, theme]);\n return (_jsxs(Stack, { direction: { md: 'row', sm: 'column' }, spacing: 0, sx: {\n borderLeft: '6px solid',\n alignItems: 'flex-start',\n borderColor,\n backgroundColor,\n }, \"data-testid\": \"Banner\", children: [_jsxs(Stack, { direction: \"row\", spacing: 2, sx: { padding: { md: '12px 16px', sm: '16px', xs: '11px 16px' }, flexGrow: 1, alignItems: 'center' }, children: [_jsx(Icon, { name: variant === 'info' ? 'circle-info' : 'circle-exclamation', iconStyle: \"filled\", color: variant, sx: {\n alignSelf: 'flex-start',\n color: borderColor,\n marginTop: { lg: '2px !important', md: '1px !important', sm: '-2px !important' },\n } }), _jsx(Box, { children: typeof children === 'string' ? _jsx(Typography, { children: children }) : children })] }), buttons && (_jsx(Stack, { direction: \"row\", spacing: 1, useFlexGap: true, sx: { padding: '8px 16px', textWrap: 'nowrap', flexWrap: 'wrap', alignSelf: 'center', marginRight: 'auto' }, \"data-testid\": \"Banner.buttons\", children: buttons }))] }));\n};\n//# sourceMappingURL=banner.js.map"],"names":["children","variant","buttons","theme","useTheme","borderColor","backgroundColor","useMemo","palette","error","main","lighten","light","warning","info","_jsxs","Stack","direction","md","sm","spacing","sx","borderLeft","alignItems","jsxs","padding","xs","flexGrow","_jsx","Icon","name","iconStyle","color","alignSelf","marginTop","lg","Box","Typography","useFlexGap","textWrap","flexWrap","marginRight"],"mappings":"4/HAOsB,EAAGA,WAAUC,UAAU,OAAQC,cACjD,MAAMC,EAAQC,EAAAA,YACPC,EAAaC,GAAmBC,EAAOA,SAAC,KAC3C,OAAQN,GACJ,IAAK,QACD,MAAO,CAACE,EAAMK,QAAQC,MAAMC,KAAMC,EAAAA,QAAQR,EAAMK,QAAQC,MAAMG,MAAO,KACzE,IAAK,UACD,MAAO,CAACT,EAAMK,QAAQK,QAAQH,KAAMC,EAAAA,QAAQR,EAAMK,QAAQK,QAAQD,MAAO,KAE7E,QACI,MAAO,CAACT,EAAMK,QAAQM,KAAKJ,KAAMC,EAAAA,QAAQR,EAAMK,QAAQM,KAAKF,MAAO,KAC1E,GACF,CAACX,EAASE,IACb,OAAQY,OAAMC,EAAAA,MAAO,CAAEC,UAAW,CAAEC,GAAI,MAAOC,GAAI,UAAYC,QAAS,EAAGC,GAAI,CACvEC,WAAY,YACZC,WAAY,aACZlB,cACAC,mBACD,cAAe,SAAUN,SAAU,CAACe,EAAKS,KAACR,QAAO,CAAEC,UAAW,MAAOG,QAAS,EAAGC,GAAI,CAAEI,QAAS,CAAEP,GAAI,YAAaC,GAAI,OAAQO,GAAI,aAAeC,SAAU,EAAGJ,WAAY,UAAYvB,SAAU,CAAC4B,EAAAA,IAAKC,EAAAA,KAAM,CAAEC,KAAkB,SAAZ7B,EAAqB,cAAgB,qBAAsB8B,UAAW,SAAUC,MAAO/B,EAASoB,GAAI,CACxSY,UAAW,aACXD,MAAO3B,EACP6B,UAAW,CAAEC,GAAI,iBAAkBjB,GAAI,iBAAkBC,GAAI,sBAC3DS,MAAKQ,EAAAA,IAAK,CAAEpC,SAA8B,iBAAbA,EAAwB4B,MAAKS,EAAAA,WAAY,CAAErC,SAAUA,IAAcA,OAAiBE,GAAY0B,MAAKZ,EAAAA,MAAO,CAAEC,UAAW,MAAOG,QAAS,EAAGkB,YAAY,EAAMjB,GAAI,CAAEI,QAAS,WAAYc,SAAU,SAAUC,SAAU,OAAQP,UAAW,SAAUQ,YAAa,QAAU,cAAe,iBAAkBzC,SAAUE,MAAiB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var t=require("tslib"),
|
|
1
|
+
"use strict";var t=require("tslib"),e=require("react/jsx-runtime"),r=require("react"),n=require("@mui/material/Button"),i=require("@mui/material/styles"),a=require("../icon/icon.js");require("../icon/icon.definitions.js");var o=require("../common/styled/buttonFocusVisibleStyled.js"),s=require("../../utils/enum.js"),u=require("../../utils/utilities.js");function c(t){return t&&t.__esModule?t:{default:t}}var l,d=c(n);exports.ButtonVariants=void 0,(l=exports.ButtonVariants||(exports.ButtonVariants={})).PRIMARY="primary",l.SECONDARY="secondary",l.GHOST="ghost",l.TERTIARY="tertiary",l.NAVIGATION="navigation";const p=r.forwardRef(((n,i)=>{var c,{variant:l=exports.ButtonVariants.PRIMARY,colourScheme:d,direction:p="back",label:I,icon:V,compact:b,disabled:f}=n,g=t.__rest(n,["variant","colourScheme","direction","label","icon","compact","disabled"]);const[v,R]=r.useState(!1),h=r.useMemo((()=>x(l)),[l]),A=r.useMemo((()=>B(l)),[l]),T="navigation"===l,j=T&&"forward"===p,O=T&&"back"===p;return e.jsx(o.default,{focusVisible:v,isNavigationVariant:T,fullWidth:g.fullWidth,children:e.jsx(m,Object.assign({},g,{ref:i,variant:h,color:A,startIcon:V&&!T||O?e.jsx(a.Icon,{name:O?"arrow-left":V}):void 0,endIcon:j?e.jsx(a.Icon,{name:"arrow-right"}):void 0,disabled:f,size:b?"small":void 0,onFocusVisible:()=>R(!0),onBlur:t=>{R(!1),g.onBlur&&g.onBlur(t)},className:u.ternaryCondition(d,s.ColourSheme.LIGHT_MODE,"MuiButton-white",""),children:null!==(c=g.children)&&void 0!==c?c:I}))})})),m=i.styled(d.default)((e=>{const r=t.__rest(e,["theme"]),n="navigation"===r.variant;let i={};return!r.children&&r.startIcon&&(i=Object.assign(Object.assign({},i),{width:44,padding:0,"& .MuiButton-startIcon":{margin:"-4px 0 0 0",fontSize:"16px",".MuiIcon-root":{paddingTop:3,"&::before":{marginLeft:1}}}})),n&&(i=Object.assign(Object.assign({},i),{"& .MuiButton-endIcon":{marginTop:"2px"},"& .MuiButton-startIcon":{marginTop:"2px"}})),i})),x=t=>{switch(t){case exports.ButtonVariants.PRIMARY:return"contained";case exports.ButtonVariants.GHOST:return"outlined";case exports.ButtonVariants.NAVIGATION:return"navigation";case exports.ButtonVariants.SECONDARY:return"contained";case exports.ButtonVariants.TERTIARY:return"text";default:return"contained"}},B=t=>{switch(t){case exports.ButtonVariants.PRIMARY:return"primary";case exports.ButtonVariants.GHOST:case exports.ButtonVariants.NAVIGATION:case exports.ButtonVariants.SECONDARY:case exports.ButtonVariants.TERTIARY:return"secondary";default:return"primary"}};exports.Button=p;
|
|
2
2
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../../src/components/button/button.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useMemo, useState } from 'react';\nimport MuiButton from '@mui/material/Button';\nimport { styled } from '@mui/material/styles';\nimport { Icon } from '../icon';\nimport ButtonFocusVisibleStyled from '../common/styled/buttonFocusVisibleStyled';\nimport { ColourSheme } from '../../utils/enum';\nimport { ternaryCondition } from '../../utils/utilities';\
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../../src/components/button/button.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useMemo, useState } from 'react';\nimport MuiButton from '@mui/material/Button';\nimport { styled } from '@mui/material/styles';\nimport { Icon } from '../icon';\nimport ButtonFocusVisibleStyled from '../common/styled/buttonFocusVisibleStyled';\nimport { ColourSheme } from '../../utils/enum';\nimport { ternaryCondition } from '../../utils/utilities';\n/**\n * @type ButtonVariants\n * @description The variants of the Button component.\n */\nexport var ButtonVariants;\n(function (ButtonVariants) {\n ButtonVariants[\"PRIMARY\"] = \"primary\";\n ButtonVariants[\"SECONDARY\"] = \"secondary\";\n ButtonVariants[\"GHOST\"] = \"ghost\";\n ButtonVariants[\"TERTIARY\"] = \"tertiary\";\n ButtonVariants[\"NAVIGATION\"] = \"navigation\";\n})(ButtonVariants || (ButtonVariants = {}));\n/**\n * @description SkodaFlow Button component.\n * Properties are inherited from HTML Button element.\n * @param props ButtonProps\n * @returns React Functional Component\n * @deprecated Use Button component from '@mui/material' module instead.\n */\nexport const Button = forwardRef((_a, ref) => {\n var _b;\n var { variant = ButtonVariants.PRIMARY, colourScheme, direction = 'back', label, icon, compact, disabled } = _a, props = __rest(_a, [\"variant\", \"colourScheme\", \"direction\", \"label\", \"icon\", \"compact\", \"disabled\"]);\n const [focusVisibled, setFocusVisible] = useState(false);\n const buttonVariantResolved = useMemo(() => getButtonVariant(variant), [variant]);\n const buttonColor = useMemo(() => getButtonColor(variant), [variant]);\n const onBlur = (e) => {\n setFocusVisible(false);\n if (props.onBlur)\n props.onBlur(e);\n };\n const isNavigationVariant = variant === 'navigation';\n const isDirectionForward = isNavigationVariant && direction === 'forward';\n const isDirectionBack = isNavigationVariant && direction === 'back';\n return (_jsx(ButtonFocusVisibleStyled, { focusVisible: focusVisibled, isNavigationVariant: isNavigationVariant, fullWidth: props.fullWidth, children: _jsx(ButtonStyled, Object.assign({}, props, { ref: ref, variant: buttonVariantResolved, color: buttonColor, startIcon: (icon && !isNavigationVariant) || isDirectionBack ? (_jsx(Icon, { name: isDirectionBack ? 'arrow-left' : icon })) : undefined, endIcon: isDirectionForward ? _jsx(Icon, { name: \"arrow-right\" }) : undefined, disabled: disabled, size: compact ? 'small' : undefined, onFocusVisible: () => setFocusVisible(true), onBlur: onBlur, className: ternaryCondition(colourScheme, ColourSheme.LIGHT_MODE, 'MuiButton-white', ''), children: (_b = props.children) !== null && _b !== void 0 ? _b : label })) }));\n});\n/**\n * @description Button styling defintion based on props\n */\nconst ButtonStyled = styled(MuiButton)((_a) => {\n var { theme } = _a, args = __rest(_a, [\"theme\"]);\n const props = args;\n const isNavigationVariant = props.variant === 'navigation';\n let styles = {};\n if (!props.children && props.startIcon) {\n styles = Object.assign(Object.assign({}, styles), {\n width: 44,\n padding: 0,\n '& .MuiButton-startIcon': {\n margin: '-4px 0 0 0',\n fontSize: '16px',\n '.MuiIcon-root': {\n paddingTop: 3,\n '&::before': {\n marginLeft: 1,\n },\n },\n },\n });\n }\n if (isNavigationVariant) {\n styles = Object.assign(Object.assign({}, styles), {\n '& .MuiButton-endIcon': {\n marginTop: '2px',\n },\n '& .MuiButton-startIcon': {\n marginTop: '2px',\n },\n });\n }\n return styles;\n});\nconst getButtonVariant = (variant) => {\n switch (variant) {\n case ButtonVariants.PRIMARY:\n return 'contained';\n case ButtonVariants.GHOST:\n return 'outlined';\n case ButtonVariants.NAVIGATION:\n return 'navigation';\n case ButtonVariants.SECONDARY:\n return 'contained';\n case ButtonVariants.TERTIARY:\n return 'text';\n default:\n return 'contained';\n }\n};\nconst getButtonColor = (variant) => {\n switch (variant) {\n case ButtonVariants.PRIMARY:\n return 'primary';\n case ButtonVariants.GHOST:\n return 'secondary';\n case ButtonVariants.NAVIGATION:\n return 'secondary';\n case ButtonVariants.SECONDARY:\n return 'secondary';\n case ButtonVariants.TERTIARY:\n return 'secondary';\n default:\n return 'primary';\n }\n};\n//# sourceMappingURL=button.js.map"],"names":["ButtonVariants","Button","forwardRef","_a","ref","_b","variant","PRIMARY","colourScheme","direction","label","icon","compact","disabled","props","__rest","focusVisibled","setFocusVisible","useState","buttonVariantResolved","useMemo","getButtonVariant","buttonColor","getButtonColor","isNavigationVariant","isDirectionForward","isDirectionBack","_jsx","ButtonFocusVisibleStyled","focusVisible","fullWidth","children","jsx","ButtonStyled","Object","assign","color","startIcon","Icon","name","undefined","endIcon","size","onFocusVisible","onBlur","e","className","ternaryCondition","ColourSheme","LIGHT_MODE","styled","MuiButton","styles","width","padding","margin","fontSize","paddingTop","marginLeft","marginTop","GHOST","NAVIGATION","SECONDARY","TERTIARY"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWindowSize.js","sources":["../../../../../src/components/common/hook/useWindowSize.tsx"],"sourcesContent":["import { useEffect, useState } from 'react';\nimport { customBreakpoints } from '../../../design/skoda/components/layout/breakpoints.theme';\nexport default function useWindowSize() {\n const isSSR = typeof window !== 'undefined';\n const [windowSize, setWindowSize] = useState({\n width: isSSR ? 1440 : window.innerWidth,\n height: isSSR ? 800 : window.innerHeight,\n isMobile: false,\n });\n function changeWindowSize() {\n setWindowSize({\n width: window.innerWidth,\n height: window.innerHeight,\n isMobile: window.innerWidth < customBreakpoints.values['md']
|
|
1
|
+
{"version":3,"file":"useWindowSize.js","sources":["../../../../../src/components/common/hook/useWindowSize.tsx"],"sourcesContent":["import { useEffect, useState } from 'react';\nimport { customBreakpoints } from '../../../design/skoda/components/layout/breakpoints.theme';\nexport default function useWindowSize() {\n const isSSR = typeof window !== 'undefined';\n const [windowSize, setWindowSize] = useState({\n width: isSSR ? 1440 : window.innerWidth,\n height: isSSR ? 800 : window.innerHeight,\n isMobile: false,\n });\n function changeWindowSize() {\n setWindowSize({\n width: window.innerWidth,\n height: window.innerHeight,\n isMobile: window.innerWidth < customBreakpoints.values['md'],\n });\n }\n useEffect(() => {\n changeWindowSize();\n window.addEventListener('resize', changeWindowSize);\n return () => {\n changeWindowSize();\n window.removeEventListener('resize', changeWindowSize);\n };\n }, []);\n return windowSize;\n}\n//# sourceMappingURL=useWindowSize.js.map"],"names":["isSSR","window","windowSize","setWindowSize","useState","width","innerWidth","height","innerHeight","isMobile","changeWindowSize","customBreakpoints","values","useEffect","addEventListener","removeEventListener"],"mappings":"qLAEe,WACX,MAAMA,EAA0B,oBAAXC,QACdC,EAAYC,GAAiBC,WAAS,CACzCC,MAAOL,EAAQ,KAAOC,OAAOK,WAC7BC,OAAQP,EAAQ,IAAMC,OAAOO,YAC7BC,UAAU,IAEd,SAASC,IACLP,EAAc,CACVE,MAAOJ,OAAOK,WACdC,OAAQN,OAAOO,YACfC,SAAUR,OAAOK,WAAaK,EAAAA,kBAAkBC,OAAW,IAElE,CASD,OARAC,EAAAA,WAAU,KACNH,IACAT,OAAOa,iBAAiB,SAAUJ,GAC3B,KACHA,IACAT,OAAOc,oBAAoB,SAAUL,EAAiB,IAE3D,IACIR,CACX"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IconProps as MuiIconProps } from '@mui/material';
|
|
3
3
|
import { IconNameProp } from './icon.definitions';
|
|
4
4
|
/**
|
|
@@ -33,4 +33,4 @@ export interface IconProps extends MuiIconProps {
|
|
|
33
33
|
* @param props IconProps
|
|
34
34
|
* @returns React Functional Component
|
|
35
35
|
*/
|
|
36
|
-
export declare const Icon:
|
|
36
|
+
export declare const Icon: React.FC<IconProps>;
|