@skodaflow/web-library 7.13.1 → 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.
Files changed (798) hide show
  1. package/cjs/components/alert/AlertButton.d.ts +1 -1
  2. package/cjs/components/alert/AlertButton.js +1 -1
  3. package/cjs/components/alert/AlertButton.js.map +1 -1
  4. package/cjs/components/alert/AlertNotificationButton.d.ts +8 -0
  5. package/cjs/components/alert/AlertNotificationButton.js +2 -0
  6. package/cjs/components/alert/AlertNotificationButton.js.map +1 -0
  7. package/cjs/components/alert/index.d.ts +1 -0
  8. package/cjs/components/backdrop/backdrop.d.ts +1 -2
  9. package/cjs/components/backdrop/backdrop.js.map +1 -1
  10. package/cjs/components/banner/BannerButton.d.ts +8 -0
  11. package/cjs/components/banner/BannerButton.js +2 -0
  12. package/cjs/components/banner/BannerButton.js.map +1 -0
  13. package/cjs/components/banner/BannerDismissButton.d.ts +8 -0
  14. package/cjs/components/banner/BannerDismissButton.js +2 -0
  15. package/cjs/components/banner/BannerDismissButton.js.map +1 -0
  16. package/cjs/components/banner/banner.d.ts +1 -1
  17. package/cjs/components/banner/banner.js +1 -1
  18. package/cjs/components/banner/banner.js.map +1 -1
  19. package/cjs/components/banner/index.d.ts +2 -0
  20. package/cjs/components/cardMenu/cardMenu.d.ts +1 -2
  21. package/cjs/components/cardMenu/cardMenu.js.map +1 -1
  22. package/cjs/components/cardMenu/styled/drawerStyled.d.ts +1 -1
  23. package/cjs/components/cardMenu/styled/drawerStyled.js +1 -1
  24. package/cjs/components/cardMenu/styled/drawerStyled.js.map +1 -1
  25. package/cjs/components/cardMenu/styled/popperStyled.d.ts +1 -1
  26. package/cjs/components/cardMenu/styled/popperStyled.js +1 -1
  27. package/cjs/components/cardMenu/styled/popperStyled.js.map +1 -1
  28. package/cjs/components/carousel/navigation.js +1 -1
  29. package/cjs/components/carousel/navigation.js.map +1 -1
  30. package/cjs/components/carousel/pagination.d.ts +5 -1
  31. package/cjs/components/carousel/pagination.js +1 -1
  32. package/cjs/components/carousel/pagination.js.map +1 -1
  33. package/cjs/components/chip/chipFocusVisibleStyled.d.ts +1 -1
  34. package/cjs/components/chip/chipFocusVisibleStyled.js +1 -1
  35. package/cjs/components/chip/chipFocusVisibleStyled.js.map +1 -1
  36. package/cjs/components/common/menuContainer.js +1 -1
  37. package/cjs/components/common/menuContainer.js.map +1 -1
  38. package/cjs/components/common/styled/buttonFocusVisibleStyled.d.ts +1 -1
  39. package/cjs/components/common/styled/buttonFocusVisibleStyled.js +1 -1
  40. package/cjs/components/common/styled/buttonFocusVisibleStyled.js.map +1 -1
  41. package/cjs/components/common/styled/formControlLabelStyled.d.ts +1 -1
  42. package/cjs/components/common/styled/formControlLabelStyled.js +1 -1
  43. package/cjs/components/common/styled/formControlLabelStyled.js.map +1 -1
  44. package/cjs/components/common/styled/helperTextContainerStyled.d.ts +1 -1
  45. package/cjs/components/common/styled/sliderValuesStyled.d.ts +1 -1
  46. package/cjs/components/common/styled/sliderValuesStyled.js +1 -1
  47. package/cjs/components/common/styled/sliderValuesStyled.js.map +1 -1
  48. package/cjs/components/customPickersActionBar/index.js +1 -1
  49. package/cjs/components/customPickersActionBar/index.js.map +1 -1
  50. package/cjs/components/errorContent/ErrorContent.d.ts +48 -0
  51. package/cjs/components/errorContent/ErrorContent.js +2 -0
  52. package/cjs/components/errorContent/ErrorContent.js.map +1 -0
  53. package/cjs/components/footer/Footer.d.ts +32 -0
  54. package/cjs/components/footer/Footer.js +2 -0
  55. package/cjs/components/footer/Footer.js.map +1 -0
  56. package/cjs/components/footer/FooterAccordion.d.ts +29 -0
  57. package/cjs/components/footer/FooterAccordion.js +2 -0
  58. package/cjs/components/footer/FooterAccordion.js.map +1 -0
  59. package/cjs/components/footer/FooterIconButton.d.ts +24 -0
  60. package/cjs/components/footer/FooterIconButton.js +2 -0
  61. package/cjs/components/footer/FooterIconButton.js.map +1 -0
  62. package/cjs/components/footer/FooterLink.d.ts +22 -0
  63. package/cjs/components/footer/FooterLink.js +2 -0
  64. package/cjs/components/footer/FooterLink.js.map +1 -0
  65. package/cjs/components/footer/FooterMenu.d.ts +30 -0
  66. package/cjs/components/footer/FooterMenu.js +2 -0
  67. package/cjs/components/footer/FooterMenu.js.map +1 -0
  68. package/cjs/components/footer/FooterSectionContact.d.ts +24 -0
  69. package/cjs/components/footer/FooterSectionContact.js +2 -0
  70. package/cjs/components/footer/FooterSectionContact.js.map +1 -0
  71. package/cjs/components/footer/FooterSectionLinks.d.ts +34 -0
  72. package/cjs/components/footer/FooterSectionLinks.js +2 -0
  73. package/cjs/components/footer/FooterSectionLinks.js.map +1 -0
  74. package/cjs/components/footer/FooterSectionMenu.d.ts +8 -0
  75. package/cjs/components/footer/FooterSectionMenu.js +2 -0
  76. package/cjs/components/footer/FooterSectionMenu.js.map +1 -0
  77. package/{layout/Footer → cjs/components/footer}/index.d.ts +4 -5
  78. package/cjs/components/grid/grid.d.ts +3 -100
  79. package/cjs/components/grid/grid.js.map +1 -1
  80. package/cjs/components/header/Header.d.ts +79 -0
  81. package/cjs/components/header/Header.js +2 -0
  82. package/cjs/components/header/Header.js.map +1 -0
  83. package/cjs/components/header/HeaderButton.d.ts +54 -0
  84. package/cjs/components/header/HeaderButton.js +2 -0
  85. package/cjs/components/header/HeaderButton.js.map +1 -0
  86. package/cjs/components/header/HeaderLanguageSelect.d.ts +45 -0
  87. package/cjs/components/header/HeaderLanguageSelect.js +2 -0
  88. package/cjs/components/header/HeaderLanguageSelect.js.map +1 -0
  89. package/cjs/components/header/HeaderLogo.d.ts +25 -0
  90. package/cjs/components/header/HeaderLogo.js +2 -0
  91. package/cjs/components/header/HeaderLogo.js.map +1 -0
  92. package/cjs/components/header/HeaderNavigationHero.d.ts +51 -0
  93. package/cjs/components/header/HeaderNavigationHero.js +2 -0
  94. package/cjs/components/header/HeaderNavigationHero.js.map +1 -0
  95. package/cjs/components/header/HeaderNavigationLink.d.ts +48 -0
  96. package/cjs/components/header/HeaderNavigationLink.js +2 -0
  97. package/cjs/components/header/HeaderNavigationLink.js.map +1 -0
  98. package/cjs/components/header/HeaderNavigationMenu.d.ts +25 -0
  99. package/cjs/components/header/HeaderNavigationMenu.js +2 -0
  100. package/cjs/components/header/HeaderNavigationMenu.js.map +1 -0
  101. package/{layout/Header → cjs/components/header}/index.d.ts +2 -6
  102. package/cjs/components/icon/filled/BatteryDischargeFilledIcon.d.ts +6 -0
  103. package/cjs/components/icon/filled/BatteryDischargeFilledIcon.js +2 -0
  104. package/cjs/components/icon/filled/BatteryDischargeFilledIcon.js.map +1 -0
  105. package/cjs/components/icon/filled/BicycleFilledIcon.d.ts +6 -0
  106. package/cjs/components/icon/filled/BicycleFilledIcon.js +2 -0
  107. package/cjs/components/icon/filled/BicycleFilledIcon.js.map +1 -0
  108. package/cjs/components/icon/filled/BoltDischargeFilledIcon.d.ts +6 -0
  109. package/cjs/components/icon/filled/BoltDischargeFilledIcon.js +2 -0
  110. package/cjs/components/icon/filled/BoltDischargeFilledIcon.js.map +1 -0
  111. package/cjs/components/icon/filled/BoltOffFilledIcon.d.ts +6 -0
  112. package/cjs/components/icon/filled/BoltOffFilledIcon.js +2 -0
  113. package/cjs/components/icon/filled/BoltOffFilledIcon.js.map +1 -0
  114. package/cjs/components/icon/filled/index.d.ts +4 -0
  115. package/cjs/components/icon/icon.definitions.js +1 -1
  116. package/cjs/components/icon/icon.definitions.js.map +1 -1
  117. package/cjs/components/icon/stroke/BatteryDischargeIcon.d.ts +6 -0
  118. package/cjs/components/icon/stroke/BatteryDischargeIcon.js +2 -0
  119. package/cjs/components/icon/stroke/BatteryDischargeIcon.js.map +1 -0
  120. package/cjs/components/icon/stroke/BicycleIcon.d.ts +6 -0
  121. package/cjs/components/icon/stroke/BicycleIcon.js +2 -0
  122. package/cjs/components/icon/stroke/BicycleIcon.js.map +1 -0
  123. package/cjs/components/icon/stroke/BoltDischargeIcon.d.ts +6 -0
  124. package/cjs/components/icon/stroke/BoltDischargeIcon.js +2 -0
  125. package/cjs/components/icon/stroke/BoltDischargeIcon.js.map +1 -0
  126. package/cjs/components/icon/stroke/BoltOffIcon.d.ts +6 -0
  127. package/cjs/components/icon/stroke/BoltOffIcon.js +2 -0
  128. package/cjs/components/icon/stroke/BoltOffIcon.js.map +1 -0
  129. package/cjs/components/icon/stroke/index.d.ts +4 -0
  130. package/cjs/components/index.d.ts +6 -0
  131. package/cjs/components/label/label.d.ts +1 -1
  132. package/cjs/components/label/label.js +1 -1
  133. package/cjs/components/label/label.js.map +1 -1
  134. package/cjs/components/logo/Logo.d.ts +51 -15
  135. package/cjs/components/logo/Logo.js +1 -1
  136. package/cjs/components/logo/Logo.js.map +1 -1
  137. package/cjs/components/mobileStepper/mobileStepperButton.js +1 -1
  138. package/cjs/components/mobileStepper/mobileStepperButton.js.map +1 -1
  139. package/cjs/components/notification/Notification.d.ts +81 -0
  140. package/cjs/components/notification/Notification.js +2 -0
  141. package/cjs/components/notification/Notification.js.map +1 -0
  142. package/cjs/components/notification/NotificationButton.d.ts +8 -0
  143. package/cjs/components/notification/NotificationButton.js +2 -0
  144. package/cjs/components/notification/NotificationButton.js.map +1 -0
  145. package/cjs/components/notification/NotificationCenter.d.ts +53 -0
  146. package/cjs/components/notification/NotificationCenter.js +2 -0
  147. package/cjs/components/notification/NotificationCenter.js.map +1 -0
  148. package/cjs/components/notification/NotificationCenterCategory.d.ts +24 -0
  149. package/cjs/components/notification/NotificationCenterCategory.js +2 -0
  150. package/cjs/components/notification/NotificationCenterCategory.js.map +1 -0
  151. package/cjs/components/notification/NotificationCenterHeaderButton.d.ts +51 -0
  152. package/cjs/components/notification/NotificationCenterHeaderButton.js +2 -0
  153. package/cjs/components/notification/NotificationCenterHeaderButton.js.map +1 -0
  154. package/cjs/{organisms → components}/notification/index.d.ts +1 -0
  155. package/cjs/{layout/PageLayout → components/pageLayout}/PageLayout.d.ts +25 -11
  156. package/cjs/components/pageLayout/PageLayout.js +2 -0
  157. package/cjs/components/pageLayout/PageLayout.js.map +1 -0
  158. package/cjs/components/pagination/pagination.d.ts +14 -61
  159. package/cjs/components/pagination/pagination.js +1 -1
  160. package/cjs/components/pagination/pagination.js.map +1 -1
  161. package/cjs/components/search/search.js +1 -1
  162. package/cjs/components/search/search.js.map +1 -1
  163. package/cjs/components/secondaryNavigation/SecondaryNavigation.d.ts +51 -0
  164. package/cjs/components/secondaryNavigation/SecondaryNavigation.js +2 -0
  165. package/cjs/components/secondaryNavigation/SecondaryNavigation.js.map +1 -0
  166. package/cjs/components/secondaryNavigation/SecondaryNavigationCta.d.ts +8 -0
  167. package/cjs/components/secondaryNavigation/SecondaryNavigationCta.js +2 -0
  168. package/cjs/components/secondaryNavigation/SecondaryNavigationCta.js.map +1 -0
  169. package/cjs/components/secondaryNavigation/SecondaryNavigationItem.d.ts +21 -0
  170. package/cjs/components/secondaryNavigation/SecondaryNavigationItem.js +2 -0
  171. package/cjs/components/secondaryNavigation/SecondaryNavigationItem.js.map +1 -0
  172. package/cjs/components/segmentedControls/{segmentedControls.js → SegmentedControls.js} +1 -1
  173. package/cjs/components/segmentedControls/{segmentedControls.js.map → SegmentedControls.js.map} +1 -1
  174. package/cjs/components/segmentedControls/index.d.ts +1 -1
  175. package/cjs/components/stepper/model.d.ts +1 -3
  176. package/cjs/components/stepper/model.js.map +1 -1
  177. package/cjs/components/textAndCta/textAndCta.js +1 -1
  178. package/cjs/components/textAndCta/textAndCta.js.map +1 -1
  179. package/cjs/components/upload/UploadPreviewList.js +1 -1
  180. package/cjs/components/upload/UploadPreviewList.js.map +1 -1
  181. package/cjs/index.js +1 -1
  182. package/cjs/layout/index.d.ts +0 -5
  183. package/cjs/materialui/accordion/AccordionSummaryExpandIcon.js +1 -1
  184. package/cjs/materialui/accordion/AccordionSummaryExpandIcon.js.map +1 -1
  185. package/cjs/materialui/accordion/accordion.theme.js +1 -1
  186. package/cjs/materialui/accordion/accordion.theme.js.map +1 -1
  187. package/cjs/materialui/accordion/accordionSummary.theme.js +1 -1
  188. package/cjs/materialui/accordion/accordionSummary.theme.js.map +1 -1
  189. package/cjs/materialui/alert/alert.theme.js +1 -1
  190. package/cjs/materialui/alert/alert.theme.js.map +1 -1
  191. package/cjs/materialui/appbar/appbar.theme.js +1 -1
  192. package/cjs/materialui/appbar/appbar.theme.js.map +1 -1
  193. package/cjs/materialui/appbar/toolbar.theme.d.ts +3 -0
  194. package/cjs/materialui/appbar/toolbar.theme.js +2 -0
  195. package/cjs/materialui/appbar/toolbar.theme.js.map +1 -0
  196. package/cjs/materialui/button/button.theme.js +1 -1
  197. package/cjs/materialui/button/button.theme.js.map +1 -1
  198. package/cjs/materialui/button/interactive.d.ts +2 -1
  199. package/cjs/materialui/button/interactive.js +1 -1
  200. package/cjs/materialui/button/interactive.js.map +1 -1
  201. package/cjs/materialui/card/Card.js +1 -1
  202. package/cjs/materialui/card/Card.js.map +1 -1
  203. package/cjs/materialui/card/FlippingCardContent.d.ts +2 -2
  204. package/cjs/materialui/card/FlippingCardContent.js +1 -1
  205. package/cjs/materialui/card/FlippingCardContent.js.map +1 -1
  206. package/cjs/materialui/card/card.theme.js +1 -1
  207. package/cjs/materialui/card/card.theme.js.map +1 -1
  208. package/cjs/materialui/chip/chip.theme.js +1 -1
  209. package/cjs/materialui/chip/chip.theme.js.map +1 -1
  210. package/cjs/materialui/container/container.theme.d.ts +5 -1
  211. package/cjs/materialui/container/container.theme.js +1 -1
  212. package/cjs/materialui/container/container.theme.js.map +1 -1
  213. package/cjs/materialui/fab/fab.theme.js +1 -1
  214. package/cjs/materialui/fab/fab.theme.js.map +1 -1
  215. package/cjs/materialui/iconButton/iconButton.theme.js +1 -1
  216. package/cjs/materialui/iconButton/iconButton.theme.js.map +1 -1
  217. package/cjs/materialui/pagination/pagination.theme.d.ts +0 -1
  218. package/cjs/materialui/pagination/pagination.theme.js +1 -1
  219. package/cjs/materialui/pagination/pagination.theme.js.map +1 -1
  220. package/cjs/materialui/pagination/paginationItem.theme.d.ts +3 -0
  221. package/cjs/materialui/pagination/paginationItem.theme.js +2 -0
  222. package/cjs/materialui/pagination/paginationItem.theme.js.map +1 -0
  223. package/cjs/materialui/rating/index.d.ts +2 -0
  224. package/cjs/materialui/rating/rating.theme.d.ts +3 -0
  225. package/cjs/materialui/rating/rating.theme.js +2 -0
  226. package/cjs/materialui/rating/rating.theme.js.map +1 -0
  227. package/cjs/materialui/skeleton/skeleton.theme.js +1 -1
  228. package/cjs/materialui/skeleton/skeleton.theme.js.map +1 -1
  229. package/cjs/materialui/slider/sliderValues.js +1 -1
  230. package/cjs/materialui/slider/sliderValues.js.map +1 -1
  231. package/cjs/materialui/stepper/StepLabelIcon.js +1 -1
  232. package/cjs/materialui/stepper/StepLabelIcon.js.map +1 -1
  233. package/cjs/materialui/stepper/stepper.theme.js +1 -1
  234. package/cjs/materialui/stepper/stepper.theme.js.map +1 -1
  235. package/cjs/materialui/table/tablePagination.theme.js +1 -1
  236. package/cjs/materialui/table/tablePagination.theme.js.map +1 -1
  237. package/{materialui/tabs/scrollButtonComponent.d.ts → cjs/materialui/tabs/ScrollButton.d.ts} +2 -1
  238. package/cjs/materialui/tabs/ScrollButton.js +2 -0
  239. package/cjs/materialui/tabs/ScrollButton.js.map +1 -0
  240. package/{materialui/tabs/tabComponent.d.ts → cjs/materialui/tabs/Tab.d.ts} +1 -1
  241. package/cjs/materialui/tabs/Tab.js +2 -0
  242. package/cjs/materialui/tabs/Tab.js.map +1 -0
  243. package/cjs/materialui/tabs/{tabPanel.d.ts → TabPanel.d.ts} +0 -4
  244. package/cjs/materialui/tabs/{tabPanel.js → TabPanel.js} +2 -2
  245. package/cjs/materialui/tabs/TabPanel.js.map +1 -0
  246. package/cjs/materialui/tabs/index.d.ts +3 -3
  247. package/cjs/materialui/tabs/tab.theme.js +1 -1
  248. package/cjs/materialui/tabs/tab.theme.js.map +1 -1
  249. package/cjs/materialui/tabs/tabs.theme.js +1 -1
  250. package/cjs/materialui/tabs/tabs.theme.js.map +1 -1
  251. package/cjs/materialui/textfield/textField.theme.js +1 -1
  252. package/cjs/materialui/textfield/textField.theme.js.map +1 -1
  253. package/cjs/materialui/theme/mixins.d.ts +2 -0
  254. package/cjs/materialui/theme/mixins.js +2 -0
  255. package/cjs/materialui/theme/mixins.js.map +1 -0
  256. package/cjs/materialui/theme/theme.extensions.d.ts +7 -4
  257. package/cjs/materialui/theme/theme.js +1 -1
  258. package/cjs/materialui/theme/theme.js.map +1 -1
  259. package/cjs/node_modules/swiper/modules/keyboard.js +1 -1
  260. package/cjs/node_modules/swiper/modules/keyboard.js.map +1 -1
  261. package/cjs/node_modules/swiper/shared/ssr-window.esm.js.map +1 -1
  262. package/cjs/node_modules/swiper/shared/swiper-core.js +1 -1
  263. package/cjs/node_modules/swiper/shared/swiper-core.js.map +1 -1
  264. package/cjs/node_modules/swiper/swiper-react.js.map +1 -1
  265. package/cjs/organisms/cardPhotoFixed/cardPhotoFixed.js +1 -1
  266. package/cjs/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
  267. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  268. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.js +1 -1
  269. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.js.map +1 -1
  270. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.d.ts +1 -1
  271. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.js +1 -1
  272. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.js.map +1 -1
  273. package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.js +1 -1
  274. package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
  275. package/cjs/organisms/carousel2/galleryCarousel/galleryCarouselItem.js +1 -1
  276. package/cjs/organisms/carousel2/galleryCarousel/galleryCarouselItem.js.map +1 -1
  277. package/cjs/organisms/carousel2/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  278. package/cjs/organisms/common/menuCardComponent/menuCardComponent.d.ts +1 -2
  279. package/cjs/organisms/common/menuCardComponent/menuCardComponent.js +1 -1
  280. package/cjs/organisms/common/menuCardComponent/menuCardComponent.js.map +1 -1
  281. package/cjs/organisms/index.d.ts +0 -1
  282. package/cjs/organisms/textCta/textCta.js +1 -1
  283. package/cjs/organisms/textCta/textCta.js.map +1 -1
  284. package/cjs/organisms/tile/tile.js +1 -1
  285. package/cjs/organisms/tile/tile.js.map +1 -1
  286. package/cjs/production/Button/Button.js +1 -1
  287. package/cjs/production/Button/Button.js.map +1 -1
  288. package/components/alert/AlertButton.d.ts +1 -1
  289. package/components/alert/AlertButton.js +1 -1
  290. package/components/alert/AlertButton.js.map +1 -1
  291. package/components/alert/AlertNotificationButton.d.ts +8 -0
  292. package/components/alert/AlertNotificationButton.js +2 -0
  293. package/components/alert/AlertNotificationButton.js.map +1 -0
  294. package/components/alert/index.d.ts +1 -0
  295. package/components/backdrop/backdrop.d.ts +1 -2
  296. package/components/backdrop/backdrop.js.map +1 -1
  297. package/components/banner/BannerButton.d.ts +8 -0
  298. package/components/banner/BannerButton.js +2 -0
  299. package/components/banner/BannerButton.js.map +1 -0
  300. package/components/banner/BannerDismissButton.d.ts +8 -0
  301. package/components/banner/BannerDismissButton.js +2 -0
  302. package/components/banner/BannerDismissButton.js.map +1 -0
  303. package/components/banner/banner.d.ts +1 -1
  304. package/components/banner/banner.js +1 -1
  305. package/components/banner/banner.js.map +1 -1
  306. package/components/banner/index.d.ts +2 -0
  307. package/components/cardMenu/cardMenu.d.ts +1 -2
  308. package/components/cardMenu/cardMenu.js.map +1 -1
  309. package/components/cardMenu/styled/drawerStyled.d.ts +1 -1
  310. package/components/cardMenu/styled/drawerStyled.js +1 -1
  311. package/components/cardMenu/styled/drawerStyled.js.map +1 -1
  312. package/components/cardMenu/styled/popperStyled.d.ts +1 -1
  313. package/components/cardMenu/styled/popperStyled.js +1 -1
  314. package/components/cardMenu/styled/popperStyled.js.map +1 -1
  315. package/components/carousel/navigation.js +1 -1
  316. package/components/carousel/navigation.js.map +1 -1
  317. package/components/carousel/pagination.d.ts +5 -1
  318. package/components/carousel/pagination.js +1 -1
  319. package/components/carousel/pagination.js.map +1 -1
  320. package/components/chip/chipFocusVisibleStyled.d.ts +1 -1
  321. package/components/chip/chipFocusVisibleStyled.js +1 -1
  322. package/components/chip/chipFocusVisibleStyled.js.map +1 -1
  323. package/components/common/menuContainer.js +1 -1
  324. package/components/common/menuContainer.js.map +1 -1
  325. package/components/common/styled/buttonFocusVisibleStyled.d.ts +1 -1
  326. package/components/common/styled/buttonFocusVisibleStyled.js +1 -1
  327. package/components/common/styled/buttonFocusVisibleStyled.js.map +1 -1
  328. package/components/common/styled/formControlLabelStyled.d.ts +1 -1
  329. package/components/common/styled/formControlLabelStyled.js +1 -1
  330. package/components/common/styled/formControlLabelStyled.js.map +1 -1
  331. package/components/common/styled/helperTextContainerStyled.d.ts +1 -1
  332. package/components/common/styled/sliderValuesStyled.d.ts +1 -1
  333. package/components/common/styled/sliderValuesStyled.js +1 -1
  334. package/components/common/styled/sliderValuesStyled.js.map +1 -1
  335. package/components/customPickersActionBar/index.js +1 -1
  336. package/components/customPickersActionBar/index.js.map +1 -1
  337. package/components/errorContent/ErrorContent.d.ts +48 -0
  338. package/components/errorContent/ErrorContent.js +2 -0
  339. package/components/errorContent/ErrorContent.js.map +1 -0
  340. package/components/footer/Footer.d.ts +32 -0
  341. package/components/footer/Footer.js +2 -0
  342. package/components/footer/Footer.js.map +1 -0
  343. package/components/footer/FooterAccordion.d.ts +29 -0
  344. package/components/footer/FooterAccordion.js +2 -0
  345. package/components/footer/FooterAccordion.js.map +1 -0
  346. package/components/footer/FooterIconButton.d.ts +24 -0
  347. package/components/footer/FooterIconButton.js +2 -0
  348. package/components/footer/FooterIconButton.js.map +1 -0
  349. package/components/footer/FooterLink.d.ts +22 -0
  350. package/components/footer/FooterLink.js +2 -0
  351. package/components/footer/FooterLink.js.map +1 -0
  352. package/components/footer/FooterMenu.d.ts +30 -0
  353. package/components/footer/FooterMenu.js +2 -0
  354. package/components/footer/FooterMenu.js.map +1 -0
  355. package/components/footer/FooterSectionContact.d.ts +24 -0
  356. package/components/footer/FooterSectionContact.js +2 -0
  357. package/components/footer/FooterSectionContact.js.map +1 -0
  358. package/components/footer/FooterSectionLinks.d.ts +34 -0
  359. package/components/footer/FooterSectionLinks.js +2 -0
  360. package/components/footer/FooterSectionLinks.js.map +1 -0
  361. package/components/footer/FooterSectionMenu.d.ts +8 -0
  362. package/components/footer/FooterSectionMenu.js +2 -0
  363. package/components/footer/FooterSectionMenu.js.map +1 -0
  364. package/{cjs/layout/Footer → components/footer}/index.d.ts +4 -5
  365. package/components/grid/grid.d.ts +3 -100
  366. package/components/grid/grid.js.map +1 -1
  367. package/components/header/Header.d.ts +79 -0
  368. package/components/header/Header.js +2 -0
  369. package/components/header/Header.js.map +1 -0
  370. package/components/header/HeaderButton.d.ts +54 -0
  371. package/components/header/HeaderButton.js +2 -0
  372. package/components/header/HeaderButton.js.map +1 -0
  373. package/components/header/HeaderLanguageSelect.d.ts +45 -0
  374. package/components/header/HeaderLanguageSelect.js +2 -0
  375. package/components/header/HeaderLanguageSelect.js.map +1 -0
  376. package/components/header/HeaderLogo.d.ts +25 -0
  377. package/components/header/HeaderLogo.js +2 -0
  378. package/components/header/HeaderLogo.js.map +1 -0
  379. package/components/header/HeaderNavigationHero.d.ts +51 -0
  380. package/components/header/HeaderNavigationHero.js +2 -0
  381. package/components/header/HeaderNavigationHero.js.map +1 -0
  382. package/components/header/HeaderNavigationLink.d.ts +48 -0
  383. package/components/header/HeaderNavigationLink.js +2 -0
  384. package/components/header/HeaderNavigationLink.js.map +1 -0
  385. package/components/header/HeaderNavigationMenu.d.ts +25 -0
  386. package/components/header/HeaderNavigationMenu.js +2 -0
  387. package/components/header/HeaderNavigationMenu.js.map +1 -0
  388. package/{cjs/layout/Header → components/header}/index.d.ts +2 -6
  389. package/components/icon/filled/BatteryDischargeFilledIcon.d.ts +6 -0
  390. package/components/icon/filled/BatteryDischargeFilledIcon.js +2 -0
  391. package/components/icon/filled/BatteryDischargeFilledIcon.js.map +1 -0
  392. package/components/icon/filled/BicycleFilledIcon.d.ts +6 -0
  393. package/components/icon/filled/BicycleFilledIcon.js +2 -0
  394. package/components/icon/filled/BicycleFilledIcon.js.map +1 -0
  395. package/components/icon/filled/BoltDischargeFilledIcon.d.ts +6 -0
  396. package/components/icon/filled/BoltDischargeFilledIcon.js +2 -0
  397. package/components/icon/filled/BoltDischargeFilledIcon.js.map +1 -0
  398. package/components/icon/filled/BoltOffFilledIcon.d.ts +6 -0
  399. package/components/icon/filled/BoltOffFilledIcon.js +2 -0
  400. package/components/icon/filled/BoltOffFilledIcon.js.map +1 -0
  401. package/components/icon/filled/index.d.ts +4 -0
  402. package/components/icon/icon.definitions.js +1 -1
  403. package/components/icon/icon.definitions.js.map +1 -1
  404. package/components/icon/stroke/BatteryDischargeIcon.d.ts +6 -0
  405. package/components/icon/stroke/BatteryDischargeIcon.js +2 -0
  406. package/components/icon/stroke/BatteryDischargeIcon.js.map +1 -0
  407. package/components/icon/stroke/BicycleIcon.d.ts +6 -0
  408. package/components/icon/stroke/BicycleIcon.js +2 -0
  409. package/components/icon/stroke/BicycleIcon.js.map +1 -0
  410. package/components/icon/stroke/BoltDischargeIcon.d.ts +6 -0
  411. package/components/icon/stroke/BoltDischargeIcon.js +2 -0
  412. package/components/icon/stroke/BoltDischargeIcon.js.map +1 -0
  413. package/components/icon/stroke/BoltOffIcon.d.ts +6 -0
  414. package/components/icon/stroke/BoltOffIcon.js +2 -0
  415. package/components/icon/stroke/BoltOffIcon.js.map +1 -0
  416. package/components/icon/stroke/index.d.ts +4 -0
  417. package/components/index.d.ts +6 -0
  418. package/components/label/label.d.ts +1 -1
  419. package/components/label/label.js +1 -1
  420. package/components/label/label.js.map +1 -1
  421. package/components/logo/Logo.d.ts +51 -15
  422. package/components/logo/Logo.js +1 -1
  423. package/components/logo/Logo.js.map +1 -1
  424. package/components/mobileStepper/mobileStepperButton.js +1 -1
  425. package/components/mobileStepper/mobileStepperButton.js.map +1 -1
  426. package/components/notification/Notification.d.ts +81 -0
  427. package/components/notification/Notification.js +2 -0
  428. package/components/notification/Notification.js.map +1 -0
  429. package/components/notification/NotificationButton.d.ts +8 -0
  430. package/components/notification/NotificationButton.js +2 -0
  431. package/components/notification/NotificationButton.js.map +1 -0
  432. package/components/notification/NotificationCenter.d.ts +53 -0
  433. package/components/notification/NotificationCenter.js +2 -0
  434. package/components/notification/NotificationCenter.js.map +1 -0
  435. package/components/notification/NotificationCenterCategory.d.ts +24 -0
  436. package/components/notification/NotificationCenterCategory.js +2 -0
  437. package/components/notification/NotificationCenterCategory.js.map +1 -0
  438. package/components/notification/NotificationCenterHeaderButton.d.ts +51 -0
  439. package/components/notification/NotificationCenterHeaderButton.js +2 -0
  440. package/components/notification/NotificationCenterHeaderButton.js.map +1 -0
  441. package/{organisms → components}/notification/index.d.ts +1 -0
  442. package/{layout/PageLayout → components/pageLayout}/PageLayout.d.ts +25 -11
  443. package/components/pageLayout/PageLayout.js +2 -0
  444. package/components/pageLayout/PageLayout.js.map +1 -0
  445. package/components/pagination/pagination.d.ts +14 -61
  446. package/components/pagination/pagination.js +1 -1
  447. package/components/pagination/pagination.js.map +1 -1
  448. package/components/search/search.js +1 -1
  449. package/components/search/search.js.map +1 -1
  450. package/components/secondaryNavigation/SecondaryNavigation.d.ts +51 -0
  451. package/components/secondaryNavigation/SecondaryNavigation.js +2 -0
  452. package/components/secondaryNavigation/SecondaryNavigation.js.map +1 -0
  453. package/components/secondaryNavigation/SecondaryNavigationCta.d.ts +8 -0
  454. package/components/secondaryNavigation/SecondaryNavigationCta.js +2 -0
  455. package/components/secondaryNavigation/SecondaryNavigationCta.js.map +1 -0
  456. package/components/secondaryNavigation/SecondaryNavigationItem.d.ts +21 -0
  457. package/components/secondaryNavigation/SecondaryNavigationItem.js +2 -0
  458. package/components/secondaryNavigation/SecondaryNavigationItem.js.map +1 -0
  459. package/components/segmentedControls/{segmentedControls.js → SegmentedControls.js} +1 -1
  460. package/components/segmentedControls/{segmentedControls.js.map → SegmentedControls.js.map} +1 -1
  461. package/components/segmentedControls/index.d.ts +1 -1
  462. package/components/stepper/model.d.ts +1 -3
  463. package/components/stepper/model.js.map +1 -1
  464. package/components/textAndCta/textAndCta.js +1 -1
  465. package/components/textAndCta/textAndCta.js.map +1 -1
  466. package/components/upload/UploadPreviewList.js +1 -1
  467. package/components/upload/UploadPreviewList.js.map +1 -1
  468. package/index.js +1 -1
  469. package/layout/index.d.ts +0 -5
  470. package/materialui/accordion/AccordionSummaryExpandIcon.js +1 -1
  471. package/materialui/accordion/AccordionSummaryExpandIcon.js.map +1 -1
  472. package/materialui/accordion/accordion.theme.js +1 -1
  473. package/materialui/accordion/accordion.theme.js.map +1 -1
  474. package/materialui/accordion/accordionSummary.theme.js +1 -1
  475. package/materialui/accordion/accordionSummary.theme.js.map +1 -1
  476. package/materialui/alert/alert.theme.js +1 -1
  477. package/materialui/alert/alert.theme.js.map +1 -1
  478. package/materialui/appbar/appbar.theme.js +1 -1
  479. package/materialui/appbar/appbar.theme.js.map +1 -1
  480. package/materialui/appbar/toolbar.theme.d.ts +3 -0
  481. package/materialui/appbar/toolbar.theme.js +2 -0
  482. package/materialui/appbar/toolbar.theme.js.map +1 -0
  483. package/materialui/button/button.theme.js +1 -1
  484. package/materialui/button/button.theme.js.map +1 -1
  485. package/materialui/button/interactive.d.ts +2 -1
  486. package/materialui/button/interactive.js +1 -1
  487. package/materialui/button/interactive.js.map +1 -1
  488. package/materialui/card/Card.js +1 -1
  489. package/materialui/card/Card.js.map +1 -1
  490. package/materialui/card/FlippingCardContent.d.ts +2 -2
  491. package/materialui/card/FlippingCardContent.js +1 -1
  492. package/materialui/card/FlippingCardContent.js.map +1 -1
  493. package/materialui/card/card.theme.js +1 -1
  494. package/materialui/card/card.theme.js.map +1 -1
  495. package/materialui/chip/chip.theme.js +1 -1
  496. package/materialui/chip/chip.theme.js.map +1 -1
  497. package/materialui/container/container.theme.d.ts +5 -1
  498. package/materialui/container/container.theme.js +1 -1
  499. package/materialui/container/container.theme.js.map +1 -1
  500. package/materialui/fab/fab.theme.js +1 -1
  501. package/materialui/fab/fab.theme.js.map +1 -1
  502. package/materialui/iconButton/iconButton.theme.js +1 -1
  503. package/materialui/iconButton/iconButton.theme.js.map +1 -1
  504. package/materialui/pagination/pagination.theme.d.ts +0 -1
  505. package/materialui/pagination/pagination.theme.js +1 -1
  506. package/materialui/pagination/pagination.theme.js.map +1 -1
  507. package/materialui/pagination/paginationItem.theme.d.ts +3 -0
  508. package/materialui/pagination/paginationItem.theme.js +2 -0
  509. package/materialui/pagination/paginationItem.theme.js.map +1 -0
  510. package/materialui/rating/index.d.ts +2 -0
  511. package/materialui/rating/rating.theme.d.ts +3 -0
  512. package/materialui/rating/rating.theme.js +2 -0
  513. package/materialui/rating/rating.theme.js.map +1 -0
  514. package/materialui/skeleton/skeleton.theme.js +1 -1
  515. package/materialui/skeleton/skeleton.theme.js.map +1 -1
  516. package/materialui/slider/sliderValues.js +1 -1
  517. package/materialui/slider/sliderValues.js.map +1 -1
  518. package/materialui/stepper/StepLabelIcon.js +1 -1
  519. package/materialui/stepper/StepLabelIcon.js.map +1 -1
  520. package/materialui/stepper/stepper.theme.js +1 -1
  521. package/materialui/stepper/stepper.theme.js.map +1 -1
  522. package/materialui/table/tablePagination.theme.js +1 -1
  523. package/materialui/table/tablePagination.theme.js.map +1 -1
  524. package/{cjs/materialui/tabs/scrollButtonComponent.d.ts → materialui/tabs/ScrollButton.d.ts} +2 -1
  525. package/materialui/tabs/ScrollButton.js +2 -0
  526. package/materialui/tabs/ScrollButton.js.map +1 -0
  527. package/{cjs/materialui/tabs/tabComponent.d.ts → materialui/tabs/Tab.d.ts} +1 -1
  528. package/materialui/tabs/Tab.js +2 -0
  529. package/materialui/tabs/Tab.js.map +1 -0
  530. package/materialui/tabs/{tabPanel.d.ts → TabPanel.d.ts} +0 -4
  531. package/materialui/tabs/TabPanel.js +2 -0
  532. package/materialui/tabs/TabPanel.js.map +1 -0
  533. package/materialui/tabs/index.d.ts +3 -3
  534. package/materialui/tabs/tab.theme.js +1 -1
  535. package/materialui/tabs/tab.theme.js.map +1 -1
  536. package/materialui/tabs/tabs.theme.js +1 -1
  537. package/materialui/tabs/tabs.theme.js.map +1 -1
  538. package/materialui/textfield/textField.theme.js +1 -1
  539. package/materialui/textfield/textField.theme.js.map +1 -1
  540. package/materialui/theme/mixins.d.ts +2 -0
  541. package/materialui/theme/mixins.js +2 -0
  542. package/materialui/theme/mixins.js.map +1 -0
  543. package/materialui/theme/theme.extensions.d.ts +7 -4
  544. package/materialui/theme/theme.js +1 -1
  545. package/materialui/theme/theme.js.map +1 -1
  546. package/organisms/cardPhotoFixed/cardPhotoFixed.js +1 -1
  547. package/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
  548. package/organisms/carousel/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  549. package/organisms/carousel/styledComponents/styledCarouselHorizontal.js +1 -1
  550. package/organisms/carousel/styledComponents/styledCarouselHorizontal.js.map +1 -1
  551. package/organisms/carousel/styledComponents/styledCarouselVertical.d.ts +1 -1
  552. package/organisms/carousel/styledComponents/styledCarouselVertical.js +1 -1
  553. package/organisms/carousel/styledComponents/styledCarouselVertical.js.map +1 -1
  554. package/organisms/carousel2/galleryCarousel/galleryCarousel.js +1 -1
  555. package/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
  556. package/organisms/carousel2/galleryCarousel/galleryCarouselItem.js +1 -1
  557. package/organisms/carousel2/galleryCarousel/galleryCarouselItem.js.map +1 -1
  558. package/organisms/carousel2/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  559. package/organisms/common/menuCardComponent/menuCardComponent.d.ts +1 -2
  560. package/organisms/common/menuCardComponent/menuCardComponent.js +1 -1
  561. package/organisms/common/menuCardComponent/menuCardComponent.js.map +1 -1
  562. package/organisms/index.d.ts +0 -1
  563. package/organisms/textCta/textCta.js +1 -1
  564. package/organisms/textCta/textCta.js.map +1 -1
  565. package/organisms/tile/tile.js +1 -1
  566. package/organisms/tile/tile.js.map +1 -1
  567. package/package.json +1 -1
  568. package/production/Button/Button.js +1 -1
  569. package/production/Button/Button.js.map +1 -1
  570. package/cjs/layout/Error/ErrorContent.d.ts +0 -33
  571. package/cjs/layout/Error/ErrorContent.js +0 -2
  572. package/cjs/layout/Error/ErrorContent.js.map +0 -1
  573. package/cjs/layout/Footer/Footer.d.ts +0 -5
  574. package/cjs/layout/Footer/Footer.js +0 -2
  575. package/cjs/layout/Footer/Footer.js.map +0 -1
  576. package/cjs/layout/Footer/FooterAccordion.d.ts +0 -18
  577. package/cjs/layout/Footer/FooterAccordion.js +0 -2
  578. package/cjs/layout/Footer/FooterAccordion.js.map +0 -1
  579. package/cjs/layout/Footer/FooterIconButton.d.ts +0 -20
  580. package/cjs/layout/Footer/FooterIconButton.js +0 -2
  581. package/cjs/layout/Footer/FooterIconButton.js.map +0 -1
  582. package/cjs/layout/Footer/FooterLink.d.ts +0 -15
  583. package/cjs/layout/Footer/FooterLink.js +0 -2
  584. package/cjs/layout/Footer/FooterLink.js.map +0 -1
  585. package/cjs/layout/Footer/FooterMenu.d.ts +0 -25
  586. package/cjs/layout/Footer/FooterMenu.js +0 -2
  587. package/cjs/layout/Footer/FooterMenu.js.map +0 -1
  588. package/cjs/layout/Footer/FooterSectionContact.d.ts +0 -18
  589. package/cjs/layout/Footer/FooterSectionContact.js +0 -2
  590. package/cjs/layout/Footer/FooterSectionContact.js.map +0 -1
  591. package/cjs/layout/Footer/FooterSectionLinks.d.ts +0 -25
  592. package/cjs/layout/Footer/FooterSectionLinks.js +0 -2
  593. package/cjs/layout/Footer/FooterSectionLinks.js.map +0 -1
  594. package/cjs/layout/Footer/FooterSectionMenu.d.ts +0 -9
  595. package/cjs/layout/Footer/FooterSectionMenu.js +0 -2
  596. package/cjs/layout/Footer/FooterSectionMenu.js.map +0 -1
  597. package/cjs/layout/Footer/PredefinedFooterIconButtons.d.ts +0 -8
  598. package/cjs/layout/Footer/PredefinedFooterIconButtons.js +0 -2
  599. package/cjs/layout/Footer/PredefinedFooterIconButtons.js.map +0 -1
  600. package/cjs/layout/Footer/assets/FacebookIcon.d.ts +0 -1
  601. package/cjs/layout/Footer/assets/FacebookIcon.js +0 -2
  602. package/cjs/layout/Footer/assets/FacebookIcon.js.map +0 -1
  603. package/cjs/layout/Footer/assets/InstagramIcon.d.ts +0 -1
  604. package/cjs/layout/Footer/assets/InstagramIcon.js +0 -2
  605. package/cjs/layout/Footer/assets/InstagramIcon.js.map +0 -1
  606. package/cjs/layout/Footer/assets/LinkedinIcon.d.ts +0 -1
  607. package/cjs/layout/Footer/assets/LinkedinIcon.js +0 -2
  608. package/cjs/layout/Footer/assets/LinkedinIcon.js.map +0 -1
  609. package/cjs/layout/Footer/assets/TwitterIcon.d.ts +0 -1
  610. package/cjs/layout/Footer/assets/TwitterIcon.js +0 -2
  611. package/cjs/layout/Footer/assets/TwitterIcon.js.map +0 -1
  612. package/cjs/layout/Footer/assets/YoutubeIcon.d.ts +0 -1
  613. package/cjs/layout/Footer/assets/YoutubeIcon.js +0 -2
  614. package/cjs/layout/Footer/assets/YoutubeIcon.js.map +0 -1
  615. package/cjs/layout/Footer/assets/index.d.ts +0 -5
  616. package/cjs/layout/Header/Header.d.ts +0 -35
  617. package/cjs/layout/Header/Header.js +0 -2
  618. package/cjs/layout/Header/Header.js.map +0 -1
  619. package/cjs/layout/Header/HeaderButton.d.ts +0 -23
  620. package/cjs/layout/Header/HeaderButton.js +0 -2
  621. package/cjs/layout/Header/HeaderButton.js.map +0 -1
  622. package/cjs/layout/Header/HeaderContext.d.ts +0 -14
  623. package/cjs/layout/Header/HeaderContext.js +0 -2
  624. package/cjs/layout/Header/HeaderContext.js.map +0 -1
  625. package/cjs/layout/Header/HeaderLanguageSelect.d.ts +0 -12
  626. package/cjs/layout/Header/HeaderLanguageSelect.js +0 -2
  627. package/cjs/layout/Header/HeaderLanguageSelect.js.map +0 -1
  628. package/cjs/layout/Header/HeaderLogo.d.ts +0 -9
  629. package/cjs/layout/Header/HeaderLogo.js +0 -2
  630. package/cjs/layout/Header/HeaderLogo.js.map +0 -1
  631. package/cjs/layout/Header/HeaderNavigationHero.d.ts +0 -6
  632. package/cjs/layout/Header/HeaderNavigationHero.js +0 -2
  633. package/cjs/layout/Header/HeaderNavigationHero.js.map +0 -1
  634. package/cjs/layout/Header/HeaderNavigationLink.d.ts +0 -34
  635. package/cjs/layout/Header/HeaderNavigationLink.js +0 -2
  636. package/cjs/layout/Header/HeaderNavigationLink.js.map +0 -1
  637. package/cjs/layout/Header/HeaderNavigationLinkLabel.d.ts +0 -13
  638. package/cjs/layout/Header/HeaderNavigationLinkLabel.js +0 -2
  639. package/cjs/layout/Header/HeaderNavigationLinkLabel.js.map +0 -1
  640. package/cjs/layout/Header/HeaderNavigationMenu.d.ts +0 -42
  641. package/cjs/layout/Header/HeaderNavigationMenu.js +0 -2
  642. package/cjs/layout/Header/HeaderNavigationMenu.js.map +0 -1
  643. package/cjs/layout/Header/HeaderOverheadItem.d.ts +0 -13
  644. package/cjs/layout/Header/HeaderOverheadItem.js +0 -2
  645. package/cjs/layout/Header/HeaderOverheadItem.js.map +0 -1
  646. package/cjs/layout/Header/HeaderSkodaLogo.d.ts +0 -8
  647. package/cjs/layout/Header/HeaderSkodaLogo.js +0 -2
  648. package/cjs/layout/Header/HeaderSkodaLogo.js.map +0 -1
  649. package/cjs/layout/Header/PredefinedHeaderButtons.d.ts +0 -18
  650. package/cjs/layout/Header/PredefinedHeaderButtons.js +0 -2
  651. package/cjs/layout/Header/PredefinedHeaderButtons.js.map +0 -1
  652. package/cjs/layout/PageLayout/PageLayout.js +0 -2
  653. package/cjs/layout/PageLayout/PageLayout.js.map +0 -1
  654. package/cjs/layout/SecondaryNavigation/SecondaryNavigation.d.ts +0 -10
  655. package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js +0 -2
  656. package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js.map +0 -1
  657. package/cjs/layout/SecondaryNavigation/SecondaryNavigationCta.d.ts +0 -3
  658. package/cjs/layout/SecondaryNavigation/SecondaryNavigationCta.js +0 -2
  659. package/cjs/layout/SecondaryNavigation/SecondaryNavigationCta.js.map +0 -1
  660. package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.d.ts +0 -13
  661. package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.js +0 -2
  662. package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +0 -1
  663. package/cjs/materialui/tabs/scrollButtonComponent.js +0 -2
  664. package/cjs/materialui/tabs/scrollButtonComponent.js.map +0 -1
  665. package/cjs/materialui/tabs/tabComponent.js +0 -2
  666. package/cjs/materialui/tabs/tabComponent.js.map +0 -1
  667. package/cjs/materialui/tabs/tabPanel.js.map +0 -1
  668. package/cjs/organisms/notification/Notification.d.ts +0 -11
  669. package/cjs/organisms/notification/Notification.js +0 -2
  670. package/cjs/organisms/notification/Notification.js.map +0 -1
  671. package/cjs/organisms/notification/NotificationCenter.d.ts +0 -8
  672. package/cjs/organisms/notification/NotificationCenter.js +0 -2
  673. package/cjs/organisms/notification/NotificationCenter.js.map +0 -1
  674. package/cjs/organisms/notification/NotificationCenterCategory.d.ts +0 -5
  675. package/cjs/organisms/notification/NotificationCenterCategory.js +0 -2
  676. package/cjs/organisms/notification/NotificationCenterCategory.js.map +0 -1
  677. package/cjs/organisms/notification/NotificationCenterHeaderButton.d.ts +0 -6
  678. package/cjs/organisms/notification/NotificationCenterHeaderButton.js +0 -2
  679. package/cjs/organisms/notification/NotificationCenterHeaderButton.js.map +0 -1
  680. package/layout/Error/ErrorContent.d.ts +0 -33
  681. package/layout/Error/ErrorContent.js +0 -2
  682. package/layout/Error/ErrorContent.js.map +0 -1
  683. package/layout/Footer/Footer.d.ts +0 -5
  684. package/layout/Footer/Footer.js +0 -2
  685. package/layout/Footer/Footer.js.map +0 -1
  686. package/layout/Footer/FooterAccordion.d.ts +0 -18
  687. package/layout/Footer/FooterAccordion.js +0 -2
  688. package/layout/Footer/FooterAccordion.js.map +0 -1
  689. package/layout/Footer/FooterIconButton.d.ts +0 -20
  690. package/layout/Footer/FooterIconButton.js +0 -2
  691. package/layout/Footer/FooterIconButton.js.map +0 -1
  692. package/layout/Footer/FooterLink.d.ts +0 -15
  693. package/layout/Footer/FooterLink.js +0 -2
  694. package/layout/Footer/FooterLink.js.map +0 -1
  695. package/layout/Footer/FooterMenu.d.ts +0 -25
  696. package/layout/Footer/FooterMenu.js +0 -2
  697. package/layout/Footer/FooterMenu.js.map +0 -1
  698. package/layout/Footer/FooterSectionContact.d.ts +0 -18
  699. package/layout/Footer/FooterSectionContact.js +0 -2
  700. package/layout/Footer/FooterSectionContact.js.map +0 -1
  701. package/layout/Footer/FooterSectionLinks.d.ts +0 -25
  702. package/layout/Footer/FooterSectionLinks.js +0 -2
  703. package/layout/Footer/FooterSectionLinks.js.map +0 -1
  704. package/layout/Footer/FooterSectionMenu.d.ts +0 -9
  705. package/layout/Footer/FooterSectionMenu.js +0 -2
  706. package/layout/Footer/FooterSectionMenu.js.map +0 -1
  707. package/layout/Footer/PredefinedFooterIconButtons.d.ts +0 -8
  708. package/layout/Footer/PredefinedFooterIconButtons.js +0 -2
  709. package/layout/Footer/PredefinedFooterIconButtons.js.map +0 -1
  710. package/layout/Footer/assets/FacebookIcon.d.ts +0 -1
  711. package/layout/Footer/assets/FacebookIcon.js +0 -2
  712. package/layout/Footer/assets/FacebookIcon.js.map +0 -1
  713. package/layout/Footer/assets/InstagramIcon.d.ts +0 -1
  714. package/layout/Footer/assets/InstagramIcon.js +0 -2
  715. package/layout/Footer/assets/InstagramIcon.js.map +0 -1
  716. package/layout/Footer/assets/LinkedinIcon.d.ts +0 -1
  717. package/layout/Footer/assets/LinkedinIcon.js +0 -2
  718. package/layout/Footer/assets/LinkedinIcon.js.map +0 -1
  719. package/layout/Footer/assets/TwitterIcon.d.ts +0 -1
  720. package/layout/Footer/assets/TwitterIcon.js +0 -2
  721. package/layout/Footer/assets/TwitterIcon.js.map +0 -1
  722. package/layout/Footer/assets/YoutubeIcon.d.ts +0 -1
  723. package/layout/Footer/assets/YoutubeIcon.js +0 -2
  724. package/layout/Footer/assets/YoutubeIcon.js.map +0 -1
  725. package/layout/Footer/assets/index.d.ts +0 -5
  726. package/layout/Header/Header.d.ts +0 -35
  727. package/layout/Header/Header.js +0 -2
  728. package/layout/Header/Header.js.map +0 -1
  729. package/layout/Header/HeaderButton.d.ts +0 -23
  730. package/layout/Header/HeaderButton.js +0 -2
  731. package/layout/Header/HeaderButton.js.map +0 -1
  732. package/layout/Header/HeaderContext.d.ts +0 -14
  733. package/layout/Header/HeaderContext.js +0 -2
  734. package/layout/Header/HeaderContext.js.map +0 -1
  735. package/layout/Header/HeaderLanguageSelect.d.ts +0 -12
  736. package/layout/Header/HeaderLanguageSelect.js +0 -2
  737. package/layout/Header/HeaderLanguageSelect.js.map +0 -1
  738. package/layout/Header/HeaderLogo.d.ts +0 -9
  739. package/layout/Header/HeaderLogo.js +0 -2
  740. package/layout/Header/HeaderLogo.js.map +0 -1
  741. package/layout/Header/HeaderNavigationHero.d.ts +0 -6
  742. package/layout/Header/HeaderNavigationHero.js +0 -2
  743. package/layout/Header/HeaderNavigationHero.js.map +0 -1
  744. package/layout/Header/HeaderNavigationLink.d.ts +0 -34
  745. package/layout/Header/HeaderNavigationLink.js +0 -2
  746. package/layout/Header/HeaderNavigationLink.js.map +0 -1
  747. package/layout/Header/HeaderNavigationLinkLabel.d.ts +0 -13
  748. package/layout/Header/HeaderNavigationLinkLabel.js +0 -2
  749. package/layout/Header/HeaderNavigationLinkLabel.js.map +0 -1
  750. package/layout/Header/HeaderNavigationMenu.d.ts +0 -42
  751. package/layout/Header/HeaderNavigationMenu.js +0 -2
  752. package/layout/Header/HeaderNavigationMenu.js.map +0 -1
  753. package/layout/Header/HeaderOverheadItem.d.ts +0 -13
  754. package/layout/Header/HeaderOverheadItem.js +0 -2
  755. package/layout/Header/HeaderOverheadItem.js.map +0 -1
  756. package/layout/Header/HeaderSkodaLogo.d.ts +0 -8
  757. package/layout/Header/HeaderSkodaLogo.js +0 -2
  758. package/layout/Header/HeaderSkodaLogo.js.map +0 -1
  759. package/layout/Header/PredefinedHeaderButtons.d.ts +0 -18
  760. package/layout/Header/PredefinedHeaderButtons.js +0 -2
  761. package/layout/Header/PredefinedHeaderButtons.js.map +0 -1
  762. package/layout/PageLayout/PageLayout.js +0 -2
  763. package/layout/PageLayout/PageLayout.js.map +0 -1
  764. package/layout/SecondaryNavigation/SecondaryNavigation.d.ts +0 -10
  765. package/layout/SecondaryNavigation/SecondaryNavigation.js +0 -2
  766. package/layout/SecondaryNavigation/SecondaryNavigation.js.map +0 -1
  767. package/layout/SecondaryNavigation/SecondaryNavigationCta.d.ts +0 -3
  768. package/layout/SecondaryNavigation/SecondaryNavigationCta.js +0 -2
  769. package/layout/SecondaryNavigation/SecondaryNavigationCta.js.map +0 -1
  770. package/layout/SecondaryNavigation/SecondaryNavigationItem.d.ts +0 -13
  771. package/layout/SecondaryNavigation/SecondaryNavigationItem.js +0 -2
  772. package/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +0 -1
  773. package/materialui/tabs/scrollButtonComponent.js +0 -2
  774. package/materialui/tabs/scrollButtonComponent.js.map +0 -1
  775. package/materialui/tabs/tabComponent.js +0 -2
  776. package/materialui/tabs/tabComponent.js.map +0 -1
  777. package/materialui/tabs/tabPanel.js +0 -2
  778. package/materialui/tabs/tabPanel.js.map +0 -1
  779. package/organisms/notification/Notification.d.ts +0 -11
  780. package/organisms/notification/Notification.js +0 -2
  781. package/organisms/notification/Notification.js.map +0 -1
  782. package/organisms/notification/NotificationCenter.d.ts +0 -8
  783. package/organisms/notification/NotificationCenter.js +0 -2
  784. package/organisms/notification/NotificationCenter.js.map +0 -1
  785. package/organisms/notification/NotificationCenterCategory.d.ts +0 -5
  786. package/organisms/notification/NotificationCenterCategory.js +0 -2
  787. package/organisms/notification/NotificationCenterCategory.js.map +0 -1
  788. package/organisms/notification/NotificationCenterHeaderButton.d.ts +0 -6
  789. package/organisms/notification/NotificationCenterHeaderButton.js +0 -2
  790. package/organisms/notification/NotificationCenterHeaderButton.js.map +0 -1
  791. package/cjs/{layout/Error → components/errorContent}/index.d.ts +0 -0
  792. package/cjs/{layout/PageLayout → components/pageLayout}/index.d.ts +0 -0
  793. package/cjs/{layout/SecondaryNavigation → components/secondaryNavigation}/index.d.ts +1 -1
  794. package/cjs/components/segmentedControls/{segmentedControls.d.ts → SegmentedControls.d.ts} +0 -0
  795. package/{layout/Error → components/errorContent}/index.d.ts +0 -0
  796. package/{layout/PageLayout → components/pageLayout}/index.d.ts +0 -0
  797. package/{layout/SecondaryNavigation → components/secondaryNavigation}/index.d.ts +1 -1
  798. /package/components/segmentedControls/{segmentedControls.d.ts → SegmentedControls.d.ts} +0 -0
@@ -0,0 +1,2 @@
1
+ import{__rest as e}from"tslib";import{jsxs as o,Fragment as t,jsx as s}from"react/jsx-runtime";import{forwardRef as n,useState as r,useMemo as i,Children as a,Fragment as l,isValidElement as c,cloneElement as d}from"react";import{useTheme as p,useMediaQuery as u,AppBar as b,Toolbar as g,Box as m,Drawer as x}from"@mui/material";import{MenuIcon as h}from"../icon/stroke/MenuIcon.js";import{CloseIcon as f}from"../icon/stroke/CloseIcon.js";import{getFocusRingStyle as j}from"../focusring/focusring.js";import{HeaderButton as v}from"./HeaderButton.js";import{HeaderLanguageSelect as O}from"./HeaderLanguageSelect.js";const P=n(((n,P)=>{var y,I,{children:k,logo:C,navigationItems:H,buttons:w,visibleButtons:B,overheadItems:M,color:S,breakpoint:F,inContainer:T=!1,toolbarProps:z,logoProps:E,contentProps:G,mobileContentProps:L,buttonsProps:A,menuButtonProps:D,menuIcon:R,closeMenuIcon:V,drawerProps:W}=n,$=e(n,["children","logo","navigationItems","buttons","visibleButtons","overheadItems","color","breakpoint","inContainer","toolbarProps","logoProps","contentProps","mobileContentProps","buttonsProps","menuButtonProps","menuIcon","closeMenuIcon","drawerProps"]);const q=p(),J=u(q.breakpoints.down("lg")),K=null!=E?E:{},{sx:N}=K,Q=e(K,["sx"]),U=null!=G?G:{},{sx:X}=U,Y=e(U,["sx"]),Z=null!=L?L:{},{sx:_}=Z,ee=e(Z,["sx"]),oe=null!=A?A:{},{sx:te}=oe,se=e(oe,["sx"]),ne=null!=W?W:{},{sx:re,slotProps:ie}=ne,ae=e(ne,["sx","slotProps"]),le=null!=ie?ie:{},{paper:ce,backdrop:de}=le,pe=e(le,["paper","backdrop"]),ue=null!==(y=ce)&&void 0!==y?y:{},{sx:be}=ue,ge=e(ue,["sx"]),me=null!==(I=de)&&void 0!==I?I:{},{sx:xe}=me,he=e(me,["sx"]),[fe,je]=r(!1),[ve,Oe]=i((()=>{function e(o,t){const s=[];return a.forEach(o,((o,n)=>{(null==o?void 0:o.type)===l?s.push(...e(o.props.children,t)):c(o)&&[v,O].includes(null==o?void 0:o.type)&&t?s.push(d(o,{extend:!0,key:n})):s.push(o)})),(null==s?void 0:s.length)?s:void 0}if(B){const o=!0===B?void 0:e(B,!1),t=e(w,J);return J?[o,t]:[[...o||[],...t||[]],void 0]}return[e(w,!1),void 0]}),[B,w,J]);return o(t,{children:[s(b,Object.assign({ref:P,"data-testid":"Header"},$,{children:o(g,Object.assign({disableGutters:!T},z,{children:[C&&s(m,Object.assign({"data-testid":"Header.logo",sx:Object.assign({color:"dark"===q.palette.mode?"brand.secondary":"brand.tertiary","& .MuiLink-root":Object.assign(Object.assign({display:"block",position:"relative",py:1},j(q)),{"&.Mui-focusVisible":{boxShadow:"none"}}),"& .MuiSvgIcon-root":{display:"block"}},N)},Q,{children:C})),s(m,Object.assign({sx:Object.assign(Object.assign(Object.assign({minWidth:"0",flexGrow:"1",alignSelf:"stretch",display:"flex",alignItems:"stretch",justifyContent:"flex-start",gap:{lg:2,xl:4}},!J&&C&&{pl:4}),{mb:"-1px"}),X),"data-testid":"Header.nav"},Y,{children:!J&&(k||H)})),(ve||J&&(k||H||Oe))&&o(m,Object.assign({sx:Object.assign({display:"flex",alignItems:"center",justifyContent:"flex-end",gap:.25,mr:{xs:-1,lg:0}},te),"data-testid":"Header.btns"},se,{children:[ve,J&&(k||H||Oe)&&s(v,Object.assign({"aria-label":"Toggle menu",extend:!1,onClick:()=>je((e=>!e))},D,{children:fe?V||s(f,{}):R||s(h,{})}),"menu")]}))]}))})),J&&(k||H||Oe)&&o(x,Object.assign({disablePortal:!0,disableEnforceFocus:!0,disableAutoFocus:!0,anchor:"top",open:fe,onClose:()=>je(!1),sx:Object.assign({zIndex:q.zIndex.appBar-10,top:q.mixins.toolbar.minHeight,bottom:"auto",height:`calc(100vh - ${q.mixins.toolbar.minHeight})`,position:"absolute"},re),slotProps:Object.assign({backdrop:Object.assign({sx:Object.assign({position:"absolute"},xe)},he),paper:Object.assign({sx:Object.assign({position:"absolute",height:"100%",display:"grid",gridTemplateRows:"auto max-content"},be)},ge)},pe)},ae,{children:[s(m,Object.assign({sx:Object.assign({p:2,overflow:"auto"},_),"data-testid":"Header.mobilenav"},ee,{children:k||H})),Oe&&s(m,{sx:{p:2,pt:0},children:s(m,{sx:{pt:.75,display:"flex",flexDirection:"column-reverse",alignItems:"stretch",justifyContent:"flex-start",borderTop:1,borderColor:"dark"===q.palette.mode?"onSurface.os700":"surface.secondary"},children:Oe})})]}))]})}));export{P as Header};
2
+ //# sourceMappingURL=Header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.js","sources":["../../../src/components/header/Header.tsx"],"sourcesContent":["import React, {\n FC,\n useState,\n forwardRef,\n ReactNode,\n ElementType,\n Children,\n cloneElement,\n useMemo,\n Fragment,\n isValidElement,\n} from 'react';\nimport {\n AppBar,\n AppBarProps,\n BackdropProps,\n Box,\n BoxProps,\n Breakpoint,\n Drawer,\n DrawerProps,\n PaperProps,\n Theme,\n Toolbar,\n ToolbarProps,\n useMediaQuery,\n useTheme,\n} from '@mui/material';\nimport { MenuIcon } from '@/src/components/icon/stroke/MenuIcon';\nimport { CloseIcon } from '@/src/components/icon/stroke/CloseIcon';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\nimport { HeaderButton, HeaderButtonProps } from './HeaderButton';\nimport { HeaderLanguageSelect } from './HeaderLanguageSelect';\n\nexport interface HeaderProps extends Omit<AppBarProps, 'color'> {\n /**\n * Logo component\n */\n logo?: ReactNode;\n /**\n * Items in the menu\n * @deprecated place links directly as children\n */\n navigationItems?: ReactNode;\n /**\n * @deprecated no longer has any effect\n */\n overheadItems?: ReactNode;\n /**\n * @deprecated no longer has any effect\n */\n color?: 'light' | 'dark';\n /**\n * @deprecated no longer has any effect\n */\n breakpoint?: Breakpoint;\n /**\n * Wrap the navigation into container\n * @default false\n */\n inContainer?: boolean;\n /**\n * ActionButtons on the right side\n */\n buttons?: ReactNode;\n /**\n * ActionButtons on the right side that stays visible even on mobile\n */\n visibleButtons?: ReactNode | true;\n /**\n * Properties applied to toolbar container\n */\n toolbarProps?: ToolbarProps<ElementType>;\n /**\n * Properties applied to logo wrapper\n */\n logoProps?: BoxProps<ElementType>;\n /**\n * Properties applied to content wrapper\n */\n contentProps?: BoxProps<ElementType>;\n /**\n * Properties applied to content wrapper in drawer\n */\n mobileContentProps?: BoxProps<ElementType>;\n /**\n * Properties applied to button wrapper\n */\n buttonsProps?: BoxProps<ElementType>;\n /**\n * Properties applied to hamburger menu\n */\n menuButtonProps?: HeaderButtonProps;\n /**\n * Icon of the hamburger menu\n */\n menuIcon?: ReactNode;\n /**\n * Icon of the close hamburger menu\n */\n closeMenuIcon?: ReactNode;\n /**\n * Props applied to mobile drawer\n */\n drawerProps?: DrawerProps;\n}\n\n/**\n * Component to render Header with navigation and action buttons at the top of the page\n */\nexport const Header: FC<HeaderProps> = forwardRef(\n (\n {\n children,\n logo,\n navigationItems,\n buttons,\n visibleButtons,\n overheadItems: _,\n color: __,\n breakpoint: ___,\n inContainer = false,\n toolbarProps,\n logoProps,\n contentProps,\n mobileContentProps,\n buttonsProps,\n menuButtonProps,\n menuIcon,\n closeMenuIcon,\n drawerProps,\n ...rest\n },\n ref,\n ) => {\n const theme = useTheme();\n const downLg = useMediaQuery<Theme>(theme.breakpoints.down('lg'));\n const { sx: logoSx, ...restLogo } = logoProps ?? {};\n const { sx: contentSx, ...restContent } = contentProps ?? {};\n const { sx: mobileContentSx, ...restMobileContent } = mobileContentProps ?? {};\n const { sx: buttonsSx, ...restButtons } = buttonsProps ?? {};\n const { sx: drawerSx, slotProps: drawerSlotProps, ...restDrawer } = drawerProps ?? {};\n const { paper: drawerPaperProps, backdrop: drawerBackdropProps, ...restDrawerSlotProps } = drawerSlotProps ?? {};\n const { sx: drawerPaperSx, ...restDrawerPaper } = (drawerPaperProps as PaperProps) ?? {};\n const { sx: drawerBackdropSx, ...restDrawerBackdrop } = (drawerBackdropProps as BackdropProps) ?? {};\n const [open, setOpen] = useState(false);\n\n /**\n * Process visible buttons\n */\n const [processedButtons, drawerButtons] = useMemo(() => {\n function flatten(nodes, extend) {\n const result = [];\n Children.forEach(nodes, (child, idx) => {\n if (child?.type === Fragment) {\n result.push(...flatten(child.props.children, extend));\n } else if (\n isValidElement(child) &&\n [HeaderButton, HeaderLanguageSelect].includes(child?.type as FC) &&\n extend\n ) {\n result.push(cloneElement(child, { extend: true, key: idx } as HeaderButtonProps));\n } else {\n result.push(child);\n }\n });\n return result?.length ? result : undefined;\n }\n\n // check if we have visibleButtons property\n if (visibleButtons) {\n const flattenedVisibleButtons = visibleButtons === true ? undefined : flatten(visibleButtons, false);\n const flattenedRestButtons = flatten(buttons, downLg);\n // mobile\n if (downLg) {\n // split visible buttons and put buttons in drawer\n return [flattenedVisibleButtons, flattenedRestButtons];\n } else {\n // on PC, all buttons are visible\n return [[...(flattenedVisibleButtons || []), ...(flattenedRestButtons || [])], undefined];\n }\n } else {\n // in case visibleButtons property is not provided, do not put buttons into drawer at all\n return [flatten(buttons, false), undefined];\n }\n }, [visibleButtons, buttons, downLg]);\n\n return (\n <>\n <AppBar ref={ref} data-testid=\"Header\" {...rest}>\n <Toolbar disableGutters={!inContainer} {...toolbarProps}>\n {logo && (\n <Box\n data-testid=\"Header.logo\"\n sx={{\n color: theme.palette.mode === 'dark' ? 'brand.secondary' : 'brand.tertiary',\n // restyle wrapper link, same style is applied in HeaderLogo\n '& .MuiLink-root': {\n display: 'block',\n position: 'relative',\n py: 1,\n // add proper focus ring\n ...getFocusRingStyle(theme),\n // remove default link box shadow\n '&.Mui-focusVisible': {\n boxShadow: 'none',\n },\n },\n '& .MuiSvgIcon-root': {\n display: 'block',\n },\n ...logoSx,\n }}\n {...restLogo}\n >\n {logo}\n </Box>\n )}\n <Box\n sx={{\n minWidth: '0',\n flexGrow: '1',\n alignSelf: 'stretch',\n display: 'flex',\n alignItems: 'stretch',\n justifyContent: 'flex-start',\n gap: { lg: 2, xl: 4 },\n ...(!downLg &&\n logo && {\n // increase size between logo and nav\n pl: 4,\n }),\n // move directly into border\n mb: '-1px',\n ...contentSx,\n }}\n data-testid=\"Header.nav\"\n {...restContent}\n >\n {!downLg && (children || navigationItems)}\n </Box>\n {(processedButtons || (downLg && (children || navigationItems || drawerButtons))) && (\n <Box\n sx={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n gap: 0.25,\n mr: { xs: -1, lg: 0 },\n ...buttonsSx,\n }}\n data-testid=\"Header.btns\"\n {...restButtons}\n >\n {processedButtons}\n {downLg && (children || navigationItems || drawerButtons) && (\n <HeaderButton\n key=\"menu\"\n aria-label=\"Toggle menu\"\n extend={false}\n onClick={() => setOpen((prev) => !prev)}\n {...menuButtonProps}\n >\n {open ? closeMenuIcon || <CloseIcon /> : menuIcon || <MenuIcon />}\n </HeaderButton>\n )}\n </Box>\n )}\n </Toolbar>\n </AppBar>\n {downLg && (children || navigationItems || drawerButtons) && (\n <Drawer\n disablePortal\n disableEnforceFocus\n disableAutoFocus\n anchor=\"top\"\n open={open}\n onClose={() => setOpen(false)}\n sx={{\n // bellow Header, above SecondaryNavigation\n zIndex: theme.zIndex.appBar - 10,\n // header offset\n top: theme.mixins.toolbar.minHeight,\n bottom: 'auto',\n height: `calc(100vh - ${theme.mixins.toolbar.minHeight})`,\n // adjust position\n position: 'absolute',\n ...drawerSx,\n }}\n slotProps={{\n backdrop: {\n sx: {\n position: 'absolute',\n ...drawerBackdropSx,\n },\n ...restDrawerBackdrop,\n },\n paper: {\n sx: {\n position: 'absolute',\n height: '100%',\n display: 'grid',\n gridTemplateRows: 'auto max-content',\n ...drawerPaperSx,\n },\n ...restDrawerPaper,\n },\n ...restDrawerSlotProps,\n }}\n {...restDrawer}\n >\n <Box\n sx={{\n p: 2,\n overflow: 'auto',\n ...mobileContentSx,\n }}\n data-testid=\"Header.mobilenav\"\n {...restMobileContent}\n >\n {children || navigationItems}\n </Box>\n {drawerButtons && (\n <Box sx={{ p: 2, pt: 0 }}>\n <Box\n sx={{\n pt: 0.75,\n display: 'flex',\n flexDirection: 'column-reverse',\n alignItems: 'stretch',\n justifyContent: 'flex-start',\n // border from appbar.theme.ts\n borderTop: 1,\n borderColor: theme.palette.mode === 'dark' ? 'onSurface.os700' : 'surface.secondary',\n }}\n >\n {drawerButtons}\n </Box>\n </Box>\n )}\n </Drawer>\n )}\n </>\n );\n },\n);\n"],"names":["Header","forwardRef","_a","ref","children","logo","navigationItems","buttons","visibleButtons","overheadItems","_","color","__","breakpoint","___","inContainer","toolbarProps","logoProps","contentProps","mobileContentProps","buttonsProps","menuButtonProps","menuIcon","closeMenuIcon","drawerProps","rest","__rest","theme","useTheme","downLg","useMediaQuery","breakpoints","down","_d","sx","logoSx","restLogo","_e","contentSx","restContent","_f","mobileContentSx","restMobileContent","_g","buttonsSx","restButtons","_h","drawerSx","slotProps","drawerSlotProps","restDrawer","_j","paper","drawerPaperProps","backdrop","drawerBackdropProps","restDrawerSlotProps","_k","_b","drawerPaperSx","restDrawerPaper","_l","_c","drawerBackdropSx","restDrawerBackdrop","open","setOpen","useState","processedButtons","drawerButtons","useMemo","flatten","nodes","extend","result","Children","forEach","child","idx","type","Fragment","push","props","isValidElement","HeaderButton","HeaderLanguageSelect","includes","cloneElement","key","length","undefined","flattenedVisibleButtons","flattenedRestButtons","_jsxs","_jsx","AppBar","Toolbar","Object","assign","disableGutters","Box","palette","mode","display","position","py","getFocusRingStyle","boxShadow","minWidth","flexGrow","alignSelf","alignItems","justifyContent","gap","lg","xl","pl","mb","mr","xs","onClick","prev","CloseIcon","MenuIcon","Drawer","disablePortal","disableEnforceFocus","disableAutoFocus","anchor","onClose","zIndex","appBar","top","mixins","toolbar","minHeight","bottom","height","gridTemplateRows","p","overflow","pt","flexDirection","borderTop","borderColor"],"mappings":"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"}
@@ -0,0 +1,54 @@
1
+ import { ElementType, FC } from 'react';
2
+ import { IconButtonProps, TooltipProps, BadgeProps } from '@mui/material';
3
+ export interface HeaderButtonProps extends IconButtonProps<ElementType> {
4
+ /**
5
+ * Label for the tooltip or the text button
6
+ */
7
+ label?: TooltipProps['title'];
8
+ /**
9
+ * Change icon button with tooltip into button
10
+ */
11
+ extend?: boolean;
12
+ /**
13
+ * Properties applied to tooltip
14
+ */
15
+ tooltipProps?: Partial<TooltipProps>;
16
+ /**
17
+ * Properties applied to badge
18
+ */
19
+ badgeProps?: BadgeProps;
20
+ /**
21
+ * @deprecated use badgeProps instead
22
+ */
23
+ indicator?: string;
24
+ /**
25
+ * @deprecated provide icon directly as children (e.g. <BellIcon />)
26
+ */
27
+ icon?: 'car' | 'bell' | 'search' | 'profile' | 'user' | 'heart' | 'shopping-bag' | 'globe' | 'login' | 'logout' | 'close' | 'circle-question' | 'hamburger';
28
+ }
29
+ /**
30
+ * IconButton for the action links
31
+ */
32
+ export declare const HeaderButton: FC<HeaderButtonProps>;
33
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
34
+ export declare const HeaderBellButton: FC<HeaderButtonProps>;
35
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
36
+ export declare const HeaderSearchButton: FC<HeaderButtonProps>;
37
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
38
+ export declare const HeaderProfileButton: FC<HeaderButtonProps>;
39
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
40
+ export declare const HeaderHeartButton: FC<HeaderButtonProps>;
41
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
42
+ export declare const HeaderCartButton: FC<HeaderButtonProps>;
43
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
44
+ export declare const HeaderLanguageButton: FC<HeaderButtonProps>;
45
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
46
+ export declare const HeaderLoginButton: FC<HeaderButtonProps>;
47
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
48
+ export declare const HeaderLogoutButton: FC<HeaderButtonProps>;
49
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
50
+ export declare const HeaderCloseButton: FC<HeaderButtonProps>;
51
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
52
+ export declare const HeaderFaqButton: FC<HeaderButtonProps>;
53
+ /** @deprecated use <HeaderButton> with icon of your choosing instead */
54
+ export declare const HeaderMenuButton: FC<HeaderButtonProps>;
@@ -0,0 +1,2 @@
1
+ import{__rest as e}from"tslib";import{jsxs as r,jsx as t}from"react/jsx-runtime";import{forwardRef as i,useMemo as o}from"react";import{useTheme as s,ButtonBase as n,Badge as c,Tooltip as a,IconButton as l}from"@mui/material";import{getFocusRingStyle as m}from"../focusring/focusring.js";import{getInteractiveStyle as f}from"../../materialui/button/interactive.js";import{CarIcon as g}from"../icon/stroke/CarIcon.js";import{BellIcon as d}from"../icon/stroke/BellIcon.js";import{SearchIcon as b}from"../icon/stroke/SearchIcon.js";import{UserIcon as j}from"../icon/stroke/UserIcon.js";import{HeartIcon as p}from"../icon/stroke/HeartIcon.js";import{ShoppingBagIcon as u}from"../icon/stroke/ShoppingBagIcon.js";import{GlobeIcon as h}from"../icon/stroke/GlobeIcon.js";import{LoginIcon as O}from"../icon/stroke/LoginIcon.js";import{LogoutIcon as I}from"../icon/stroke/LogoutIcon.js";import{CloseIcon as x}from"../icon/stroke/CloseIcon.js";import{CircleQuestionIcon as k}from"../icon/stroke/CircleQuestionIcon.js";import{MenuIcon as v}from"../icon/stroke/MenuIcon.js";const y=i(((i,y)=>{var{children:B,sx:C,icon:P,label:S,indicator:H,extend:M,tooltipProps:z,badgeProps:L}=i,W=e(i,["children","sx","icon","label","indicator","extend","tooltipProps","badgeProps"]);const q=s(),w=null!=z?z:{},{title:G}=w,Q=e(w,["title"]),R=o((()=>{switch(P){case"car":return g;case"bell":return d;case"search":return b;case"profile":case"user":return j;case"heart":return p;case"shopping-bag":return u;case"globe":return h;case"login":return O;case"logout":return I;case"close":return x;case"circle-question":return k;case"hamburger":return v;default:return}}),[P]);return M?r(n,Object.assign({sx:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},q.typography.list),{display:"flex",alignItems:"center",justifyContent:"flex-start",gap:1.25,py:1.5,px:1.25,"& .MuiSvgIcon-root":{fontSize:"17px"},"&.Mui-disabled":{color:"disabled.tertiary"}}),f({fontWeight:"300"},{fontWeight:"700"})),m(q)),{"&&:before":{borderRadius:"4px"}}),C),ref:y,"data-testid":"HeaderButton"},W,{children:[t(c,Object.assign({},H&&{variant:"dot",invisible:!1},L,{children:B||t(R,{})})),S||G]})):t(a,Object.assign({title:S||G},Q,{children:t(l,Object.assign({sx:C,size:"medium",ref:y,"data-testid":"HeaderButton"},W,{children:t(c,Object.assign({},H&&{variant:"dot",invisible:!1},L,{children:B||t(R,{})}))}))}))})),B=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(d,{})})))),C=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(b,{})})))),P=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(j,{})})))),S=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(p,{})})))),H=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(u,{})})))),M=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(h,{})})))),z=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(O,{})})))),L=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(I,{})})))),W=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(x,{})})))),q=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(k,{})})))),w=i(((e,r)=>t(y,Object.assign({ref:r},e,{children:t(v,{})}))));export{B as HeaderBellButton,y as HeaderButton,H as HeaderCartButton,W as HeaderCloseButton,q as HeaderFaqButton,S as HeaderHeartButton,M as HeaderLanguageButton,z as HeaderLoginButton,L as HeaderLogoutButton,w as HeaderMenuButton,P as HeaderProfileButton,C as HeaderSearchButton};
2
+ //# sourceMappingURL=HeaderButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderButton.js","sources":["../../../src/components/header/HeaderButton.tsx"],"sourcesContent":["import React, { ElementType, FC, ForwardedRef, forwardRef, useMemo } from 'react';\nimport {\n IconButton,\n IconButtonProps,\n ButtonBase,\n Tooltip,\n TooltipProps,\n Badge,\n BadgeProps,\n useTheme,\n} from '@mui/material';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\nimport { getInteractiveStyle } from '@/src/materialui/button/interactive';\nimport { CarIcon } from '@/src/components/icon/stroke/CarIcon';\nimport { BellIcon } from '@/src/components/icon/stroke/BellIcon';\nimport { SearchIcon } from '@/src/components/icon/stroke/SearchIcon';\nimport { UserIcon } from '@/src/components/icon/stroke/UserIcon';\nimport { HeartIcon } from '@/src/components/icon/stroke/HeartIcon';\nimport { ShoppingBagIcon } from '@/src/components/icon/stroke/ShoppingBagIcon';\nimport { GlobeIcon } from '@/src/components/icon/stroke/GlobeIcon';\nimport { LoginIcon } from '@/src/components/icon/stroke/LoginIcon';\nimport { LogoutIcon } from '@/src/components/icon/stroke/LogoutIcon';\nimport { CloseIcon } from '@/src/components/icon/stroke/CloseIcon';\nimport { CircleQuestionIcon } from '@/src/components/icon/stroke/CircleQuestionIcon';\nimport { MenuIcon } from '@/src/components/icon/stroke/MenuIcon';\n\nexport interface HeaderButtonProps extends IconButtonProps<ElementType> {\n /**\n * Label for the tooltip or the text button\n */\n label?: TooltipProps['title'];\n /**\n * Change icon button with tooltip into button\n */\n extend?: boolean;\n /**\n * Properties applied to tooltip\n */\n tooltipProps?: Partial<TooltipProps>;\n /**\n * Properties applied to badge\n */\n badgeProps?: BadgeProps;\n /**\n * @deprecated use badgeProps instead\n */\n indicator?: string;\n /**\n * @deprecated provide icon directly as children (e.g. <BellIcon />)\n */\n icon?:\n | 'car'\n | 'bell'\n | 'search'\n | 'profile'\n | 'user'\n | 'heart'\n | 'shopping-bag'\n | 'globe'\n | 'login'\n | 'logout'\n | 'close'\n | 'circle-question'\n | 'hamburger';\n}\n\n/**\n * IconButton for the action links\n */\nexport const HeaderButton: FC<HeaderButtonProps> = forwardRef(\n ({ children, sx, icon, label, indicator, extend, tooltipProps, badgeProps, ...rest }, ref) => {\n const theme = useTheme();\n const { title, ...restTooltip } = tooltipProps ?? {};\n\n // mapper to previous api\n const Icon = useMemo(() => {\n switch (icon) {\n case 'car':\n return CarIcon;\n case 'bell':\n return BellIcon;\n case 'search':\n return SearchIcon;\n case 'profile':\n case 'user':\n return UserIcon;\n case 'heart':\n return HeartIcon;\n case 'shopping-bag':\n return ShoppingBagIcon;\n case 'globe':\n return GlobeIcon;\n case 'login':\n return LoginIcon;\n case 'logout':\n return LogoutIcon;\n case 'close':\n return CloseIcon;\n case 'circle-question':\n return CircleQuestionIcon;\n case 'hamburger':\n return MenuIcon;\n default:\n return undefined;\n }\n }, [icon]);\n\n if (extend) {\n return (\n <ButtonBase\n sx={{\n ...theme.typography.list,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n gap: 1.25,\n py: 1.5,\n px: 1.25,\n // icon inside\n '& .MuiSvgIcon-root': {\n fontSize: '17px',\n },\n // disabled style\n '&.Mui-disabled': {\n color: 'disabled.tertiary',\n },\n // interactive style\n ...getInteractiveStyle(\n {\n fontWeight: '300',\n },\n {\n fontWeight: '700',\n },\n ),\n // focus ring\n ...getFocusRingStyle(theme),\n '&&:before': {\n borderRadius: '4px',\n },\n ...sx,\n }}\n ref={ref as ForwardedRef<HTMLButtonElement>}\n data-testid=\"HeaderButton\"\n {...rest}\n >\n <Badge {...(indicator && { variant: 'dot', invisible: false })} {...badgeProps}>\n {children || <Icon />}\n </Badge>\n {label || title}\n </ButtonBase>\n );\n }\n\n return (\n <Tooltip title={label || title} {...restTooltip}>\n <IconButton\n sx={sx}\n size=\"medium\"\n ref={ref as ForwardedRef<HTMLButtonElement>}\n data-testid=\"HeaderButton\"\n {...rest}\n >\n <Badge {...(indicator && { variant: 'dot', invisible: false })} {...badgeProps}>\n {children || <Icon />}\n </Badge>\n </IconButton>\n </Tooltip>\n );\n },\n);\n\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderBellButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <BellIcon />\n </HeaderButton>\n));\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderSearchButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <SearchIcon />\n </HeaderButton>\n));\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderProfileButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <UserIcon />\n </HeaderButton>\n));\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderHeartButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <HeartIcon />\n </HeaderButton>\n));\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderCartButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <ShoppingBagIcon />\n </HeaderButton>\n));\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderLanguageButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <GlobeIcon />\n </HeaderButton>\n));\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderLoginButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <LoginIcon />\n </HeaderButton>\n));\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderLogoutButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <LogoutIcon />\n </HeaderButton>\n));\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderCloseButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <CloseIcon />\n </HeaderButton>\n));\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderFaqButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <CircleQuestionIcon />\n </HeaderButton>\n));\n/** @deprecated use <HeaderButton> with icon of your choosing instead */\nexport const HeaderMenuButton: FC<HeaderButtonProps> = forwardRef((props, ref) => (\n <HeaderButton ref={ref} {...props}>\n <MenuIcon />\n </HeaderButton>\n));\n"],"names":["HeaderButton","forwardRef","_a","ref","children","sx","icon","label","indicator","extend","tooltipProps","badgeProps","rest","__rest","theme","useTheme","_b","title","restTooltip","Icon","useMemo","CarIcon","BellIcon","SearchIcon","UserIcon","HeartIcon","ShoppingBagIcon","GlobeIcon","LoginIcon","LogoutIcon","CloseIcon","CircleQuestionIcon","MenuIcon","_jsxs","ButtonBase","Object","assign","typography","list","display","alignItems","justifyContent","gap","py","px","fontSize","color","getInteractiveStyle","fontWeight","getFocusRingStyle","borderRadius","_jsx","Badge","variant","invisible","Tooltip","IconButton","size","HeaderBellButton","props","HeaderSearchButton","HeaderProfileButton","HeaderHeartButton","HeaderCartButton","HeaderLanguageButton","HeaderLoginButton","HeaderLogoutButton","HeaderCloseButton","HeaderFaqButton","HeaderMenuButton"],"mappings":"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"}
@@ -0,0 +1,45 @@
1
+ import { FC } from 'react';
2
+ import { MenuProps, MenuItemProps, RadioProps, ListItemTextProps } from '@mui/material';
3
+ import { HeaderButtonProps } from './HeaderButton';
4
+ type HeaderLanguageType = string | {
5
+ short?: string;
6
+ full?: string;
7
+ };
8
+ export interface HeaderLanguageSelectProps extends HeaderButtonProps {
9
+ /**
10
+ * List of languages
11
+ */
12
+ languages?: HeaderLanguageType[];
13
+ /**
14
+ * Index of selected language
15
+ * @default 0
16
+ */
17
+ defaultLanguage?: number;
18
+ /**
19
+ * Function that is triggered on language change
20
+ * @param language - provided language
21
+ * @param index - index of language
22
+ */
23
+ onSelect?: (language: HeaderLanguageType, index: number) => void;
24
+ /**
25
+ * Props applied to menu
26
+ */
27
+ menuProps?: MenuProps;
28
+ /**
29
+ * Props applied to each MenuItem
30
+ */
31
+ menuItemProps?: MenuItemProps;
32
+ /**
33
+ * Props applied to Radio inside MenuItem
34
+ */
35
+ radioProps?: RadioProps;
36
+ /**
37
+ * Props applied to ListItemText inside MenuIte
38
+ */
39
+ listItemTextProps?: ListItemTextProps;
40
+ }
41
+ /**
42
+ * IconButton with menu selector for languages
43
+ */
44
+ export declare const HeaderLanguageSelect: FC<HeaderLanguageSelectProps>;
45
+ export {};
@@ -0,0 +1,2 @@
1
+ import{__rest as e}from"tslib";import{jsxs as r,Fragment as t,jsx as n}from"react/jsx-runtime";import{forwardRef as o,useState as l}from"react";import{Menu as s,MenuItem as a,Radio as i,ListItemText as c}from"@mui/material";import{HeaderButton as m}from"./HeaderButton.js";import{GlobeIcon as u}from"../icon/stroke/GlobeIcon.js";const d=o(((o,d)=>{var{children:p,languages:g,onSelect:f,defaultLanguage:h=0,menuProps:b,menuItemProps:j,radioProps:P,listItemTextProps:I}=o,x=e(o,["children","languages","onSelect","defaultLanguage","menuProps","menuItemProps","radioProps","listItemTextProps"]);const[O,k]=l(null),[C,L]=l(h);return r(t,{children:[n(m,Object.assign({onClick:e=>k(e.currentTarget),ref:d,"data-testid":"HeaderLanguageSelect"},x,{children:p||n(u,{})})),n(s,Object.assign({open:!!O,anchorEl:O,onClose:()=>k(null)},b,{children:null==g?void 0:g.map(((e,t)=>{const o=C===t,l="string"==typeof e?e:e.full;return r(a,Object.assign({selected:o,onClick:()=>{null==f||f(e,t),L(t)}},j,{children:[n(i,Object.assign({checked:o,tabIndex:-1},P)),n(c,Object.assign({},I,{children:l}))]}),l)}))}))]})}));export{d as HeaderLanguageSelect};
2
+ //# sourceMappingURL=HeaderLanguageSelect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderLanguageSelect.js","sources":["../../../src/components/header/HeaderLanguageSelect.tsx"],"sourcesContent":["import React, { FC, forwardRef, useState } from 'react';\nimport {\n Menu,\n MenuItem,\n Radio,\n ListItemText,\n MenuProps,\n MenuItemProps,\n RadioProps,\n ListItemTextProps,\n} from '@mui/material';\nimport { HeaderButton, HeaderButtonProps } from './HeaderButton';\nimport { GlobeIcon } from '@/src/components/icon/stroke/GlobeIcon';\n\ntype HeaderLanguageType = string | { short?: string; full?: string };\n\nexport interface HeaderLanguageSelectProps extends HeaderButtonProps {\n /**\n * List of languages\n */\n languages?: HeaderLanguageType[];\n /**\n * Index of selected language\n * @default 0\n */\n defaultLanguage?: number;\n /**\n * Function that is triggered on language change\n * @param language - provided language\n * @param index - index of language\n */\n onSelect?: (language: HeaderLanguageType, index: number) => void;\n /**\n * Props applied to menu\n */\n menuProps?: MenuProps;\n /**\n * Props applied to each MenuItem\n */\n menuItemProps?: MenuItemProps;\n /**\n * Props applied to Radio inside MenuItem\n */\n radioProps?: RadioProps;\n /**\n * Props applied to ListItemText inside MenuIte\n */\n listItemTextProps?: ListItemTextProps;\n}\n\n/**\n * IconButton with menu selector for languages\n */\nexport const HeaderLanguageSelect: FC<HeaderLanguageSelectProps> = forwardRef(\n (\n {\n children,\n languages,\n onSelect,\n defaultLanguage = 0,\n menuProps,\n menuItemProps,\n radioProps,\n listItemTextProps,\n ...rest\n },\n ref,\n ) => {\n const [anchor, setAnchor] = useState(null);\n const [selected, setSelected] = useState(defaultLanguage);\n\n return (\n <>\n <HeaderButton\n onClick={(e) => setAnchor(e.currentTarget)}\n ref={ref}\n data-testid=\"HeaderLanguageSelect\"\n {...rest}\n >\n {children || <GlobeIcon />}\n </HeaderButton>\n <Menu open={!!anchor} anchorEl={anchor} onClose={() => setAnchor(null)} {...menuProps}>\n {languages?.map((lang, idx) => {\n const isSelected = selected === idx;\n const value = typeof lang === 'string' ? lang : lang.full;\n\n return (\n <MenuItem\n key={value}\n selected={isSelected}\n onClick={() => {\n onSelect?.(lang, idx);\n setSelected(idx);\n }}\n {...menuItemProps}\n >\n <Radio checked={isSelected} tabIndex={-1} {...radioProps} />\n <ListItemText {...listItemTextProps}>{value}</ListItemText>\n </MenuItem>\n );\n })}\n </Menu>\n </>\n );\n },\n);\n"],"names":["HeaderLanguageSelect","forwardRef","_a","ref","children","languages","onSelect","defaultLanguage","menuProps","menuItemProps","radioProps","listItemTextProps","rest","__rest","anchor","setAnchor","useState","selected","setSelected","_jsxs","_Fragment","_jsx","HeaderButton","onClick","e","currentTarget","GlobeIcon","Menu","Object","assign","open","anchorEl","onClose","map","lang","idx","isSelected","value","full","MenuItem","Radio","checked","tabIndex","ListItemText"],"mappings":"yUAqDa,MAAAA,EAAsDC,GACjE,CACEC,EAWAC,SAXAC,SACEA,EAAQC,UACRA,EAASC,SACTA,EAAQC,gBACRA,EAAkB,EAACC,UACnBA,EAASC,cACTA,EAAaC,WACbA,EAAUC,kBACVA,KACGC,EATLC,EAAAX,EAAA,CAAA,WAAA,YAAA,WAAA,kBAAA,YAAA,gBAAA,aAAA,sBAaA,MAAOY,EAAQC,GAAaC,EAAS,OAC9BC,EAAUC,GAAeF,EAAST,GAEzC,OACEY,EAAAC,EAAA,CAAAhB,SAAA,CACEiB,EAACC,iBACCC,QAAUC,GAAMT,EAAUS,EAAEC,eAC5BtB,IAAKA,EAAG,cACI,wBACRS,EAEH,CAAAR,SAAAA,GAAYiB,EAACK,EAAY,CAAA,MAE5BL,EAACM,EAAKC,OAAAC,OAAA,CAAAC,OAAQhB,EAAQiB,SAAUjB,EAAQkB,QAAS,IAAMjB,EAAU,OAAWP,EAAS,CAAAJ,SAClFC,aAAA,EAAAA,EAAW4B,KAAI,CAACC,EAAMC,KACrB,MAAMC,EAAanB,IAAakB,EAC1BE,EAAwB,iBAATH,EAAoBA,EAAOA,EAAKI,KAErD,OACEnB,EAACoB,EAECX,OAAAC,OAAA,CAAAZ,SAAUmB,EACVb,QAAS,KACPjB,SAAAA,EAAW4B,EAAMC,GACjBjB,EAAYiB,EAAI,GAEd1B,EAEJ,CAAAL,SAAA,CAAAiB,EAACmB,EAAKZ,OAAAC,OAAA,CAACY,QAASL,EAAYM,UAAY,GAAMhC,IAC9CW,EAACsB,EAAiBf,OAAAC,OAAA,CAAA,EAAAlB,EAAoB,CAAAP,SAAAiC,QATjCA,EAUI,SAIhB"}
@@ -0,0 +1,25 @@
1
+ import { FC } from 'react';
2
+ import { LinkProps } from '@mui/material';
3
+ import { LogoProps } from '@/src/components/logo/Logo';
4
+ export interface HeaderLogoProps extends LinkProps {
5
+ /**
6
+ * Properties applied to Logo component
7
+ */
8
+ logoProps?: LogoProps;
9
+ /**
10
+ * @deprecated no longer has any effect
11
+ */
12
+ src?: string;
13
+ /**
14
+ * @deprecated no longer has any effect
15
+ */
16
+ alt?: string;
17
+ }
18
+ /**
19
+ * Logo with link wrapper
20
+ */
21
+ export declare const HeaderLogo: FC<HeaderLogoProps>;
22
+ /**
23
+ * @deprecated use <HeaderLogo /> component instead
24
+ */
25
+ export declare const HeaderSkodaLogo: FC<HeaderLogoProps>;
@@ -0,0 +1,2 @@
1
+ import{__rest as o}from"tslib";import{jsx as r}from"react/jsx-runtime";import{forwardRef as i}from"react";import{useTheme as s,Link as e}from"@mui/material";import{Logo as t}from"../logo/Logo.js";import{getFocusRingStyle as c}from"../focusring/focusring.js";const n=i(((i,n)=>{var{sx:a,children:l,href:m,logoProps:f}=i,g=o(i,["sx","children","href","logoProps"]);const p=s();return m||g.onClick?r(e,Object.assign({sx:Object.assign(Object.assign({display:"block",position:"relative",py:1},c(p)),{"&.Mui-focusVisible":{boxShadow:"none"},"& .MuiSvgIcon-root":{display:"block"}}),href:m||"#",ref:n,"aria-label":"Home"},g,{children:l||r(t,Object.assign({},f))})):l||r(t,Object.assign({sx:a,ref:n},f))})),a=i(((o,i)=>r(n,Object.assign({},o,{ref:i}))));export{n as HeaderLogo,a as HeaderSkodaLogo};
2
+ //# sourceMappingURL=HeaderLogo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderLogo.js","sources":["../../../src/components/header/HeaderLogo.tsx"],"sourcesContent":["import React, { FC, ForwardedRef, forwardRef } from 'react';\nimport { Link, LinkProps, useTheme } from '@mui/material';\nimport { Logo, LogoProps } from '@/src/components/logo/Logo';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport interface HeaderLogoProps extends LinkProps {\n /**\n * Properties applied to Logo component\n */\n logoProps?: LogoProps;\n /**\n * @deprecated no longer has any effect\n */\n src?: string;\n /**\n * @deprecated no longer has any effect\n */\n alt?: string;\n}\n\n/**\n * Logo with link wrapper\n */\nexport const HeaderLogo: FC<HeaderLogoProps> = forwardRef(({ sx, children, href, logoProps, ...rest }, ref) => {\n const theme = useTheme();\n\n if (href || rest.onClick) {\n return (\n <Link\n sx={{\n // same style is applied in Header logo wrapper\n display: 'block',\n position: 'relative',\n py: 1,\n // add proper focus ring\n ...getFocusRingStyle(theme),\n // remove default link box shadow\n '&.Mui-focusVisible': {\n boxShadow: 'none',\n },\n '& .MuiSvgIcon-root': {\n display: 'block',\n },\n }}\n href={href || '#'}\n ref={ref}\n aria-label=\"Home\"\n {...rest}\n >\n {children || <Logo {...logoProps} />}\n </Link>\n );\n }\n return children || <Logo sx={sx} ref={ref as unknown as ForwardedRef<SVGSVGElement>} {...logoProps} />;\n});\n\n/**\n * @deprecated use <HeaderLogo /> component instead\n */\nexport const HeaderSkodaLogo: FC<HeaderLogoProps> = forwardRef((props, ref) => {\n return <HeaderLogo {...props} ref={ref} />;\n});\n"],"names":["HeaderLogo","forwardRef","_a","ref","sx","children","href","logoProps","rest","__rest","theme","useTheme","onClick","_jsx","Link","Object","assign","display","position","py","getFocusRingStyle","boxShadow","Logo","HeaderSkodaLogo","props"],"mappings":"kQAuBa,MAAAA,EAAkCC,GAAW,CAACC,EAA4CC,KAA5C,IAAAC,GAAEA,EAAEC,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,GAASL,EAAKM,EAApCC,EAAAP,EAAA,CAAA,KAAA,WAAA,OAAA,cACzD,MAAMQ,EAAQC,IAEd,OAAIL,GAAQE,EAAKI,QAEbC,EAACC,EAAIC,OAAAC,OAAA,CACHZ,GAAEW,OAAAC,OAAAD,OAAAC,OAAA,CAEAC,QAAS,QACTC,SAAU,WACVC,GAAI,GAEDC,EAAkBV,IAAM,CAE3B,qBAAsB,CACpBW,UAAW,QAEb,qBAAsB,CACpBJ,QAAS,WAGbX,KAAMA,GAAQ,IACdH,IAAKA,EACM,aAAA,QACPK,EAAI,CAAAH,SAEPA,GAAYQ,EAACS,mBAASf,OAItBF,GAAYQ,EAACS,iBAAKlB,GAAIA,EAAID,IAAKA,GAAmDI,GAAa,IAM3FgB,EAAuCtB,GAAW,CAACuB,EAAOrB,IAC9DU,EAACb,EAAee,OAAAC,OAAA,GAAAQ,GAAOrB,IAAKA"}
@@ -0,0 +1,51 @@
1
+ import { FC, ReactNode, ElementType } from 'react';
2
+ import { BoxProps, ClickAwayListenerProps, ContainerProps, PortalProps, BackdropProps, CollapseProps } from '@mui/material';
3
+ import { HeaderNavigationLinkProps } from './HeaderNavigationLink';
4
+ export interface HeaderNavigationHeroProps extends HeaderNavigationLinkProps {
5
+ /**
6
+ * @deprecated provide as children instead
7
+ */
8
+ heroElement?: ReactNode;
9
+ /**
10
+ * Wrap the content into container
11
+ * @default false
12
+ */
13
+ inContainer?: boolean;
14
+ /**
15
+ * Controls appearance of backdrop when content opens
16
+ * @default false
17
+ */
18
+ disableBackdrop?: boolean;
19
+ /**
20
+ * Props applied to ClickAwayListener
21
+ */
22
+ clickAwayListenerProps?: ClickAwayListenerProps;
23
+ /**
24
+ * Props applied to main wrapper of content
25
+ */
26
+ contentProps?: BoxProps<ElementType>;
27
+ /**
28
+ * Props applied to main wrapper before collapsible
29
+ */
30
+ wrapperProps?: BoxProps<ElementType>;
31
+ /**
32
+ * Props applied to Container if inContainer property is provided
33
+ */
34
+ containerProps?: ContainerProps;
35
+ /**
36
+ * Props applied to Collapse component
37
+ */
38
+ collapseProp?: CollapseProps;
39
+ /**
40
+ * Props applied to Portal if disableBackdrop property is not provided
41
+ */
42
+ portalProps?: PortalProps;
43
+ /**
44
+ * Props applied to Backdrop if disableBackdrop property is not provided
45
+ */
46
+ backdropProps?: BackdropProps;
47
+ }
48
+ /**
49
+ * HeaderNavigationLink with the integration of the complex hero menu
50
+ */
51
+ export declare const HeaderNavigationHero: FC<HeaderNavigationHeroProps>;
@@ -0,0 +1,2 @@
1
+ import{__rest as r}from"tslib";import{jsxs as o,Fragment as n,jsx as e}from"react/jsx-runtime";import{forwardRef as t,useRef as i,useState as s}from"react";import{useTheme as a,useMediaQuery as l,ClickAwayListener as c,Box as p,Collapse as d,Container as x,Portal as g,Backdrop as m}from"@mui/material";import{ChevronDownIcon as b}from"../icon/stroke/ChevronDownIcon.js";import{HeaderNavigationLink as u}from"./HeaderNavigationLink.js";const h=t(((t,h)=>{var{children:f,sx:k,label:j,icon:v,heroElement:P,inContainer:O=!1,disableBackdrop:C=!1,onClick:w,clickAwayListenerProps:y,contentProps:H,wrapperProps:z,containerProps:I,collapseProps:A,portalProps:B,backdropProps:L}=t,S=r(t,["children","sx","label","icon","heroElement","inContainer","disableBackdrop","onClick","clickAwayListenerProps","contentProps","wrapperProps","containerProps","collapseProps","portalProps","backdropProps"]);const E=i(),[N,$]=s(!1),D=a(),W=l(D.breakpoints.down("lg")),q=null!=L?L:{},{sx:F}=q,G=r(q,["sx"]),J=null!=z?z:{},{sx:K}=J,M=r(J,["sx"]),Q=null!=H?H:{},{sx:R}=Q,T=r(Q,["sx"]);return o(n,{children:[e(u,Object.assign({active:N,icon:v||e(b,{sx:{"&&&":{fontSize:{xs:"20px",lg:"14px"}},color:{xs:"dark"===D.palette.mode?"onSurface.os300":"onSurface.os700",lg:"currentColor"},transform:`rotate(${N?"180":"0"}deg)`,transition:{xs:D.transitions.create("transform",{duration:D.transitions.duration.shortest}),lg:"none"}}}),onClick:r=>{null==w||w(r),$((r=>!r))},sx:Object.assign({justifyContent:{xs:"space-between",lg:"flex-start"}},k),ref:null!=h?h:E,"data-testid":"HeaderNavigationHero"},S,{children:j})),e(c,Object.assign({onClickAway:r=>{var o,n,e;return!(null===(e=null===(n=null!==(o=h)&&void 0!==o?o:E)||void 0===n?void 0:n.current)||void 0===e?void 0:e.contains(null==r?void 0:r.target))&&$(!1)}},y,{children:e(p,Object.assign({sx:Object.assign({position:{xs:"static",lg:"absolute"},zIndex:"10",left:"0",right:"0",top:D.mixins.toolbar.minHeight,maxHeight:`calc(100vh - ${D.mixins.toolbar.minHeight})`,overflow:"auto"},K)},M,{children:e(d,Object.assign({in:N},A,{children:e(p,Object.assign({sx:Object.assign({backgroundColor:{lg:"dark"===D.palette.mode?"surface.primary":"background.primary"},py:{xs:0,lg:2},px:O?0:{xs:1,lg:2}},R)},T,{children:O?e(x,Object.assign({maxWidth:"xl"},I,{children:P||f})):P||f}))}))}))})),!C&&!W&&e(g,Object.assign({},B,{children:e(m,Object.assign({open:N,sx:Object.assign({zIndex:D.zIndex.appBar-50},F)},G))}))]})}));export{h as HeaderNavigationHero};
2
+ //# sourceMappingURL=HeaderNavigationHero.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderNavigationHero.js","sources":["../../../src/components/header/HeaderNavigationHero.tsx"],"sourcesContent":["import React, { FC, forwardRef, ReactNode, useState, ElementType, useRef } from 'react';\nimport {\n Collapse,\n Backdrop,\n ClickAwayListener,\n Box,\n BoxProps,\n Portal,\n Container,\n ClickAwayListenerProps,\n ContainerProps,\n PortalProps,\n BackdropProps,\n CollapseProps,\n useMediaQuery,\n Theme,\n useTheme,\n} from '@mui/material';\nimport { ChevronDownIcon } from '@/src/components/icon/stroke/ChevronDownIcon';\nimport { HeaderNavigationLink, HeaderNavigationLinkProps } from './HeaderNavigationLink';\n\nexport interface HeaderNavigationHeroProps extends HeaderNavigationLinkProps {\n /**\n * @deprecated provide as children instead\n */\n heroElement?: ReactNode;\n /**\n * Wrap the content into container\n * @default false\n */\n inContainer?: boolean;\n /**\n * Controls appearance of backdrop when content opens\n * @default false\n */\n disableBackdrop?: boolean;\n /**\n * Props applied to ClickAwayListener\n */\n clickAwayListenerProps?: ClickAwayListenerProps;\n /**\n * Props applied to main wrapper of content\n */\n contentProps?: BoxProps<ElementType>;\n /**\n * Props applied to main wrapper before collapsible\n */\n wrapperProps?: BoxProps<ElementType>;\n /**\n * Props applied to Container if inContainer property is provided\n */\n containerProps?: ContainerProps;\n /**\n * Props applied to Collapse component\n */\n collapseProp?: CollapseProps;\n /**\n * Props applied to Portal if disableBackdrop property is not provided\n */\n portalProps?: PortalProps;\n /**\n * Props applied to Backdrop if disableBackdrop property is not provided\n */\n backdropProps?: BackdropProps;\n}\n\n/**\n * HeaderNavigationLink with the integration of the complex hero menu\n */\nexport const HeaderNavigationHero: FC<HeaderNavigationHeroProps> = forwardRef(\n (\n {\n children,\n sx,\n label,\n icon,\n heroElement,\n inContainer = false,\n disableBackdrop = false,\n onClick,\n clickAwayListenerProps,\n contentProps,\n wrapperProps,\n containerProps,\n collapseProps,\n portalProps,\n backdropProps,\n ...rest\n },\n ref,\n ) => {\n const buttonRef = useRef();\n const [open, setOpen] = useState(false);\n const theme = useTheme();\n const downLg = useMediaQuery<Theme>(theme.breakpoints.down('lg'));\n const { sx: backdropSx, ...restBackdrop } = backdropProps ?? {};\n const { sx: wrapperSx, ...restWrapper } = wrapperProps ?? {};\n const { sx: contentSx, ...restContent } = contentProps ?? {};\n\n return (\n <>\n <HeaderNavigationLink\n active={open}\n icon={\n icon || (\n <ChevronDownIcon\n sx={{\n '&&&': {\n fontSize: { xs: '20px', lg: '14px' },\n },\n color: {\n xs: theme.palette.mode === 'dark' ? 'onSurface.os300' : 'onSurface.os700',\n lg: 'currentColor',\n },\n transform: `rotate(${open ? '180' : '0'}deg)`,\n transition: {\n xs: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shortest,\n }),\n lg: 'none',\n },\n }}\n />\n )\n }\n onClick={(e) => {\n onClick?.(e);\n setOpen((prev) => !prev);\n }}\n sx={{\n justifyContent: { xs: 'space-between', lg: 'flex-start' },\n ...sx,\n }}\n ref={ref ?? buttonRef}\n data-testid=\"HeaderNavigationHero\"\n {...rest}\n >\n {label}\n </HeaderNavigationLink>\n <ClickAwayListener\n onClickAway={(e) =>\n !((ref as React.RefObject<HTMLButtonElement>) ?? buttonRef)?.current?.contains(e?.target as Node) &&\n setOpen(false)\n }\n {...clickAwayListenerProps}\n >\n <Box\n sx={{\n position: { xs: 'static', lg: 'absolute' },\n zIndex: '10',\n left: '0',\n right: '0',\n top: theme.mixins.toolbar.minHeight,\n maxHeight: `calc(100vh - ${theme.mixins.toolbar.minHeight})`,\n overflow: 'auto',\n ...wrapperSx,\n }}\n {...restWrapper}\n >\n <Collapse in={open} {...collapseProps}>\n <Box\n sx={{\n backgroundColor: { lg: theme.palette.mode === 'dark' ? 'surface.primary' : 'background.primary' },\n py: { xs: 0, lg: 2 },\n px: inContainer ? 0 : { xs: 1, lg: 2 },\n ...contentSx,\n }}\n {...restContent}\n >\n {inContainer ? (\n <Container maxWidth=\"xl\" {...containerProps}>\n {heroElement || children}\n </Container>\n ) : (\n heroElement || children\n )}\n </Box>\n </Collapse>\n </Box>\n </ClickAwayListener>\n {!disableBackdrop && !downLg && (\n <Portal {...portalProps}>\n <Backdrop open={open} sx={{ zIndex: theme.zIndex.appBar - 50, ...backdropSx }} {...restBackdrop} />\n </Portal>\n )}\n </>\n );\n },\n);\n"],"names":["HeaderNavigationHero","forwardRef","_a","ref","children","sx","label","icon","heroElement","inContainer","disableBackdrop","onClick","clickAwayListenerProps","contentProps","wrapperProps","containerProps","collapseProps","portalProps","backdropProps","rest","__rest","buttonRef","useRef","open","setOpen","useState","theme","useTheme","downLg","useMediaQuery","breakpoints","down","_b","backdropSx","restBackdrop","_c","wrapperSx","restWrapper","_d","contentSx","restContent","_jsxs","_Fragment","_jsx","HeaderNavigationLink","Object","assign","active","ChevronDownIcon","fontSize","xs","lg","color","palette","mode","transform","transition","transitions","create","duration","shortest","e","prev","justifyContent","ClickAwayListener","onClickAway","current","contains","target","Box","position","zIndex","left","right","top","mixins","toolbar","minHeight","maxHeight","overflow","Collapse","in","backgroundColor","py","px","Container","maxWidth","Portal","Backdrop","appBar"],"mappings":"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"}
@@ -0,0 +1,48 @@
1
+ import { ElementType, FC, ReactNode } from 'react';
2
+ import { ButtonBaseProps, BoxProps } from '@mui/material';
3
+ export interface HeaderNavigationLinkProps extends ButtonBaseProps<ElementType> {
4
+ /**
5
+ * Displayed navigation text, can be provided as children as well
6
+ */
7
+ label?: ReactNode;
8
+ /**
9
+ * Marks item currently active
10
+ * @default false
11
+ */
12
+ active?: boolean;
13
+ /**
14
+ * Indicates external link
15
+ * @default false
16
+ */
17
+ external?: boolean;
18
+ /**
19
+ * Expect icon component that will be rendered after the label
20
+ */
21
+ icon?: ReactNode | 'arrow-ne';
22
+ /**
23
+ * @deprecated no longer has any effect, remove the property
24
+ */
25
+ index?: number;
26
+ /**
27
+ * Properties applied to wrapper of label
28
+ */
29
+ labelWrapperProps?: BoxProps<ElementType>;
30
+ /**
31
+ * Properties applied to default label
32
+ */
33
+ labelProps?: BoxProps<ElementType>;
34
+ /**
35
+ * Properties applied to selected label
36
+ */
37
+ selectedLabelProps?: BoxProps<ElementType>;
38
+ }
39
+ /**
40
+ * Component to render styled button in the header
41
+ */
42
+ export declare const HeaderNavigationLink: FC<HeaderNavigationLinkProps>;
43
+ export interface HeaderOverheadItemProps extends HeaderNavigationLinkProps {
44
+ }
45
+ /**
46
+ * @deprecated remove this component, use HeaderNavigationLink instead
47
+ */
48
+ export declare const HeaderOverheadItem: FC<HeaderOverheadItemProps>;
@@ -0,0 +1,2 @@
1
+ import{__rest as e}from"tslib";import{jsx as t,jsxs as a}from"react/jsx-runtime";import{forwardRef as o,useMemo as i}from"react";import{useTheme as r,ButtonBase as s,Box as n}from"@mui/material";import{ArrowTopRightIcon as l}from"../icon/stroke/ArrowTopRightIcon.js";import{getFocusRingStyle as c}from"../focusring/focusring.js";import{getInteractiveStyle as p}from"../../materialui/button/interactive.js";import{getTypography as g}from"../../materialui/theme/theme.typography.js";const b=o(((o,b)=>{var{sx:d,children:x,label:m,icon:u,active:f=!1,external:j=!1,index:y,labelWrapperProps:h,labelProps:k,selectedLabelProps:v}=o,O=e(o,["sx","children","label","icon","active","external","index","labelWrapperProps","labelProps","selectedLabelProps"]);const L=r(),w=null!=h?h:{},{sx:N}=w,H=e(w,["sx"]),F=null!=k?k:{},{sx:C}=F,P=e(F,["sx"]),I=null!=v?v:{},{sx:S}=I,W=e(I,["sx"]),z=i((()=>"arrow-new"===u||j?t(l,{}):u),[u,j]);return a(s,Object.assign({sx:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},L.typography.list),{[L.breakpoints.down("lg")]:Object.assign({},g("body","rtl"===L.direction,"large")),position:"relative",zIndex:"100",display:{xs:"flex",lg:"inline-flex"},width:{xs:"100%",lg:"auto"},gap:.5,alignItems:"center",justifyContent:"flex-start",py:{xs:2,lg:1},px:{xs:1,lg:.5},transition:"transform 0.3s ease-out, color 0.3s ease-out, background-color 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out, opacity 0.3s ease-out","& .MuiSvgIcon-root":{fontSize:"14px"},"&:after":Object.assign({content:{xs:"none",lg:'""'},position:"absolute",left:"0",right:"0",bottom:"0",height:"1px",backgroundColor:"transparent.transparent"},f&&{height:"2px",backgroundColor:"text.primary"}),"&.Mui-disabled":{color:"disabled.tertiary"}}),p(Object.assign({color:"dark"===L.palette.mode?"onSurface.os300":"onSurface.os700","&&:after":{backgroundColor:"transparent.transparent"},"& .FlowHeaderNavigationLink-label":{opacity:"1"},"& .FlowHeaderNavigationLink-selectedLabel":{opacity:"0"}},f&&{color:"text.primary","&&:after":{backgroundColor:"text.primary"},"& .FlowHeaderNavigationLink-label":{opacity:"0"},"& .FlowHeaderNavigationLink-selectedLabel":{opacity:"1"}}),{color:"text.primary","&&:after":{backgroundColor:"text.primary"},"& .FlowHeaderNavigationLink-label":{opacity:"0"},"& .FlowHeaderNavigationLink-selectedLabel":{opacity:"1"}})),c(L)),{"&&:before":{borderRadius:"4px",top:{xs:"0",lg:"2px"},bottom:{xs:"0",lg:"-2px"}}}),d),ref:b,"data-testid":"HeaderNavigationLink"},O,{children:[(x||m)&&a(n,Object.assign({className:"FlowHeaderNavigationLink-labelWrapper",sx:Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",position:"relative"},N)},H,{children:[t(n,Object.assign({className:"FlowHeaderNavigationLink-label",sx:Object.assign({position:"absolute",left:{xs:"0",lg:"auto"}},C)},P,{children:x||m})),t(n,Object.assign({className:"FlowHeaderNavigationLink-selectedLabel",sx:Object.assign({fontWeight:"700",opacity:"0",position:"relative"},S),"aria-hidden":"true"},W,{children:x||m}))]})),z]}))})),d=o(((e,a)=>t(b,Object.assign({ref:a},e))));export{b as HeaderNavigationLink,d as HeaderOverheadItem};
2
+ //# sourceMappingURL=HeaderNavigationLink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderNavigationLink.js","sources":["../../../src/components/header/HeaderNavigationLink.tsx"],"sourcesContent":["import React, { useMemo, ElementType, FC, forwardRef, ReactNode, ForwardedRef } from 'react';\nimport { ButtonBase, ButtonBaseProps, Box, BoxProps, useTheme } from '@mui/material';\nimport { ArrowTopRightIcon } from '@/src/components/icon/stroke/ArrowTopRightIcon';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\nimport { getInteractiveStyle } from '@/src/materialui/button/interactive';\nimport { getTypography } from '@/src/materialui/theme/theme.typography';\n\nexport interface HeaderNavigationLinkProps extends ButtonBaseProps<ElementType> {\n /**\n * Displayed navigation text, can be provided as children as well\n */\n label?: ReactNode;\n /**\n * Marks item currently active\n * @default false\n */\n active?: boolean;\n /**\n * Indicates external link\n * @default false\n */\n external?: boolean;\n /**\n * Expect icon component that will be rendered after the label\n */\n icon?: ReactNode | 'arrow-ne';\n /**\n * @deprecated no longer has any effect, remove the property\n */\n index?: number;\n /**\n * Properties applied to wrapper of label\n */\n labelWrapperProps?: BoxProps<ElementType>;\n /**\n * Properties applied to default label\n */\n labelProps?: BoxProps<ElementType>;\n /**\n * Properties applied to selected label\n */\n selectedLabelProps?: BoxProps<ElementType>;\n}\n\n/**\n * Component to render styled button in the header\n */\nexport const HeaderNavigationLink: FC<HeaderNavigationLinkProps> = forwardRef(\n (\n {\n sx,\n children,\n label,\n icon,\n active = false,\n external = false,\n index: _,\n labelWrapperProps,\n labelProps,\n selectedLabelProps,\n ...rest\n },\n ref,\n ) => {\n const theme = useTheme();\n const { sx: labelWrapperSx, ...restLabelWrapper } = labelWrapperProps ?? {};\n const { sx: labelSx, ...restLabel } = labelProps ?? {};\n const { sx: selectedLabelSx, ...restSelectedLabel } = selectedLabelProps ?? {};\n // mapper to previous api\n const linkIcon = useMemo(() => {\n return icon === 'arrow-new' || external ? <ArrowTopRightIcon /> : icon;\n }, [icon, external]);\n\n return (\n <ButtonBase\n sx={{\n ...theme.typography.list,\n [theme.breakpoints.down('lg')]: {\n // switch to 'large body' typography according to figma\n ...getTypography('body', theme.direction === 'rtl', 'large'),\n },\n position: 'relative',\n zIndex: '100',\n // icon and text next to each other\n display: { xs: 'flex', lg: 'inline-flex' },\n width: { xs: '100%', lg: 'auto' },\n gap: 0.5,\n alignItems: 'center',\n justifyContent: 'flex-start',\n py: { xs: 2, lg: 1 },\n px: { xs: 1, lg: 0.5 },\n transition:\n 'transform 0.3s ease-out, color 0.3s ease-out, background-color 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out, opacity 0.3s ease-out',\n // size of icon\n '& .MuiSvgIcon-root': {\n fontSize: '14px',\n },\n // bottom border\n '&:after': {\n content: { xs: 'none', lg: '\"\"' },\n position: 'absolute',\n left: '0',\n right: '0',\n // move directly into border of appbar\n bottom: '0',\n height: '1px',\n backgroundColor: 'transparent.transparent',\n ...(active && {\n height: '2px',\n backgroundColor: 'text.primary',\n }),\n },\n // disabled style\n '&.Mui-disabled': {\n color: 'disabled.tertiary',\n },\n // interactive style\n ...getInteractiveStyle(\n {\n color: theme.palette.mode === 'dark' ? 'onSurface.os300' : 'onSurface.os700',\n '&&:after': {\n backgroundColor: 'transparent.transparent',\n },\n '& .FlowHeaderNavigationLink-label': {\n opacity: '1',\n },\n '& .FlowHeaderNavigationLink-selectedLabel': {\n opacity: '0',\n },\n // active state is same as hover state\n ...(active && {\n color: 'text.primary',\n '&&:after': {\n backgroundColor: 'text.primary',\n },\n '& .FlowHeaderNavigationLink-label': {\n opacity: '0',\n },\n '& .FlowHeaderNavigationLink-selectedLabel': {\n opacity: '1',\n },\n }),\n },\n {\n color: 'text.primary',\n '&&:after': {\n backgroundColor: 'text.primary',\n },\n '& .FlowHeaderNavigationLink-label': {\n opacity: '0',\n },\n '& .FlowHeaderNavigationLink-selectedLabel': {\n opacity: '1',\n },\n },\n ),\n ...getFocusRingStyle(theme),\n // adjust focus ring\n '&&:before': {\n borderRadius: '4px',\n // make sure top border is not cropped\n top: { xs: '0', lg: '2px' },\n bottom: { xs: '0', lg: '-2px' },\n },\n ...sx,\n }}\n ref={ref as ForwardedRef<HTMLButtonElement>}\n data-testid=\"HeaderNavigationLink\"\n {...rest}\n >\n {(children || label) && (\n <Box\n className=\"FlowHeaderNavigationLink-labelWrapper\"\n sx={{\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n textAlign: 'center',\n position: 'relative',\n ...labelWrapperSx,\n }}\n {...restLabelWrapper}\n >\n <Box\n className=\"FlowHeaderNavigationLink-label\"\n sx={{\n position: 'absolute',\n left: { xs: '0', lg: 'auto' },\n ...labelSx,\n }}\n {...restLabel}\n >\n {children || label}\n </Box>\n <Box\n className=\"FlowHeaderNavigationLink-selectedLabel\"\n sx={{\n fontWeight: '700',\n opacity: '0',\n position: 'relative',\n ...selectedLabelSx,\n }}\n aria-hidden=\"true\"\n {...restSelectedLabel}\n >\n {children || label}\n </Box>\n </Box>\n )}\n {linkIcon}\n </ButtonBase>\n );\n },\n);\n\nexport interface HeaderOverheadItemProps extends HeaderNavigationLinkProps {}\n/**\n * @deprecated remove this component, use HeaderNavigationLink instead\n */\nexport const HeaderOverheadItem: FC<HeaderOverheadItemProps> = forwardRef((props, ref) => {\n return <HeaderNavigationLink ref={ref} {...props} />;\n});\n"],"names":["HeaderNavigationLink","forwardRef","_a","ref","sx","children","label","icon","active","external","index","_","labelWrapperProps","labelProps","selectedLabelProps","rest","__rest","theme","useTheme","_b","labelWrapperSx","restLabelWrapper","_c","labelSx","restLabel","_d","selectedLabelSx","restSelectedLabel","linkIcon","useMemo","_jsx","ArrowTopRightIcon","_jsxs","ButtonBase","Object","assign","typography","list","breakpoints","down","getTypography","direction","position","zIndex","display","xs","lg","width","gap","alignItems","justifyContent","py","px","transition","fontSize","content","left","right","bottom","height","backgroundColor","color","getInteractiveStyle","palette","mode","opacity","getFocusRingStyle","borderRadius","top","Box","className","textAlign","fontWeight","HeaderOverheadItem","props"],"mappings":"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"}
@@ -0,0 +1,25 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { MenuProps, CollapseProps, ClickAwayListenerProps } from '@mui/material';
3
+ import { HeaderNavigationLinkProps } from './HeaderNavigationLink';
4
+ export interface HeaderNavigationMenuProps extends HeaderNavigationLinkProps {
5
+ /**
6
+ * Content of the menu, can be provided as children as well
7
+ */
8
+ menuItems?: ReactNode;
9
+ /**
10
+ * Props applied to menu
11
+ */
12
+ menuProps?: MenuProps;
13
+ /**
14
+ * Props applied to ClickAwayListener
15
+ */
16
+ clickAwayListenerProps?: ClickAwayListenerProps;
17
+ /**
18
+ * Props applied to menu on mobile
19
+ */
20
+ collapseProps?: CollapseProps;
21
+ }
22
+ /**
23
+ * HeaderNavigationLink with the integration of the menu
24
+ */
25
+ export declare const HeaderNavigationMenu: FC<HeaderNavigationMenuProps>;
@@ -0,0 +1,2 @@
1
+ import{__rest as o}from"tslib";import{jsxs as n,Fragment as e,jsx as r}from"react/jsx-runtime";import{forwardRef as t,useRef as i,useState as s}from"react";import{useTheme as l,useMediaQuery as a,ClickAwayListener as c,Collapse as u,Menu as m}from"@mui/material";import{ChevronDownIcon as d}from"../icon/stroke/ChevronDownIcon.js";import{HeaderNavigationLink as g}from"./HeaderNavigationLink.js";import{getInteractiveStyle as p}from"../../materialui/button/interactive.js";const f=t(((t,f)=>{var{children:x,sx:b,label:k,icon:v,onClick:h,menuItems:j,menuProps:C,collapseProps:O,clickAwayListenerProps:w}=t,P=o(t,["children","sx","label","icon","onClick","menuItems","menuProps","collapseProps","clickAwayListenerProps"]);const S=i(),[y,I]=s(null),A=l(),L=a(A.breakpoints.down("lg")),M=null!=O?O:{},{sx:H}=M,N=o(M,["sx"]);return n(e,{children:[r(g,Object.assign({active:!!y,icon:v||r(d,{sx:{"&&&":{fontSize:{xs:"20px",lg:"14px"}},color:{xs:"dark"===A.palette.mode?"onSurface.os300":"onSurface.os700",lg:"currentColor"},transform:`rotate(${y?"180":"0"}deg)`,transition:{xs:A.transitions.create("transform",{duration:A.transitions.duration.shortest}),lg:"none"}}}),onClick:o=>{null==h||h(o),I((n=>n?null:o.currentTarget))},sx:Object.assign({justifyContent:{xs:"space-between",lg:"flex-start"}},b),ref:null!=f?f:S,"data-testid":"HeaderNavigationMenu"},P,{children:k})),L?r(c,Object.assign({onClickAway:o=>{var n,e,r;console.log(o.target),!(null===(r=null===(e=null!==(n=f)&&void 0!==n?n:S)||void 0===e?void 0:e.current)||void 0===r?void 0:r.contains(null==o?void 0:o.target))&&I(null)}},w,{children:r(u,Object.assign({in:!!y,sx:Object.assign({"& .MuiMenuItem-root":Object.assign({},p({background:"none",fontWeight:"300",color:"dark"===A.palette.mode?"onSurface.os300":"onSurface.os700"},{background:"none",fontWeight:"700",color:"currentColor"}))},H)},N,{children:x||j}))})):r(m,Object.assign({open:!!y,anchorEl:y,onClose:()=>I(null)},C,{children:x||j}))]})}));export{f as HeaderNavigationMenu};
2
+ //# sourceMappingURL=HeaderNavigationMenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderNavigationMenu.js","sources":["../../../src/components/header/HeaderNavigationMenu.tsx"],"sourcesContent":["import React, { FC, forwardRef, ReactNode, useRef, useState } from 'react';\nimport {\n Menu,\n MenuProps,\n Collapse,\n useMediaQuery,\n Theme,\n useTheme,\n CollapseProps,\n ClickAwayListener,\n ClickAwayListenerProps,\n} from '@mui/material';\nimport { ChevronDownIcon } from '@/src/components/icon/stroke/ChevronDownIcon';\nimport { HeaderNavigationLink, HeaderNavigationLinkProps } from './HeaderNavigationLink';\nimport { getInteractiveStyle } from '@/src/materialui/button/interactive';\n\nexport interface HeaderNavigationMenuProps extends HeaderNavigationLinkProps {\n /**\n * Content of the menu, can be provided as children as well\n */\n menuItems?: ReactNode;\n /**\n * Props applied to menu\n */\n menuProps?: MenuProps;\n /**\n * Props applied to ClickAwayListener\n */\n clickAwayListenerProps?: ClickAwayListenerProps;\n /**\n * Props applied to menu on mobile\n */\n collapseProps?: CollapseProps;\n}\n\n/**\n * HeaderNavigationLink with the integration of the menu\n */\nexport const HeaderNavigationMenu: FC<HeaderNavigationMenuProps> = forwardRef(\n (\n { children, sx, label, icon, onClick, menuItems, menuProps, collapseProps, clickAwayListenerProps, ...rest },\n ref,\n ) => {\n const buttonRef = useRef();\n const [anchor, setAnchor] = useState(null);\n const theme = useTheme();\n const downLg = useMediaQuery<Theme>(theme.breakpoints.down('lg'));\n const { sx: collapseSx, ...restCollapse } = collapseProps ?? {};\n\n return (\n <>\n <HeaderNavigationLink\n active={!!anchor}\n icon={\n icon || (\n <ChevronDownIcon\n sx={{\n // same code is applied to HeaderNavigationHero.tsx\n '&&&': {\n fontSize: { xs: '20px', lg: '14px' },\n },\n color: {\n xs: theme.palette.mode === 'dark' ? 'onSurface.os300' : 'onSurface.os700',\n lg: 'currentColor',\n },\n transform: `rotate(${anchor ? '180' : '0'}deg)`,\n transition: {\n xs: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shortest,\n }),\n lg: 'none',\n },\n }}\n />\n )\n }\n onClick={(e) => {\n onClick?.(e);\n setAnchor((prev) => (!prev ? e.currentTarget : null));\n }}\n sx={{\n justifyContent: { xs: 'space-between', lg: 'flex-start' },\n ...sx,\n }}\n ref={ref ?? buttonRef}\n data-testid=\"HeaderNavigationMenu\"\n {...rest}\n >\n {label}\n </HeaderNavigationLink>\n {downLg ? (\n <ClickAwayListener\n onClickAway={(e) => {\n console.log(e.target);\n !((ref as React.RefObject<HTMLButtonElement>) ?? buttonRef)?.current?.contains(e?.target as Node) &&\n setAnchor(null);\n }}\n {...clickAwayListenerProps}\n >\n <Collapse\n in={!!anchor}\n sx={{\n // style menu items inside\n '& .MuiMenuItem-root': {\n ...getInteractiveStyle(\n {\n background: 'none',\n fontWeight: '300',\n color: theme.palette.mode === 'dark' ? 'onSurface.os300' : 'onSurface.os700',\n },\n {\n background: 'none',\n fontWeight: '700',\n color: 'currentColor',\n },\n ),\n },\n ...collapseSx,\n }}\n {...restCollapse}\n >\n {children || menuItems}\n </Collapse>\n </ClickAwayListener>\n ) : (\n <Menu open={!!anchor} anchorEl={anchor} onClose={() => setAnchor(null)} {...menuProps}>\n {children || menuItems}\n </Menu>\n )}\n </>\n );\n },\n);\n"],"names":["HeaderNavigationMenu","forwardRef","_a","ref","children","sx","label","icon","onClick","menuItems","menuProps","collapseProps","clickAwayListenerProps","rest","__rest","buttonRef","useRef","anchor","setAnchor","useState","theme","useTheme","downLg","useMediaQuery","breakpoints","down","_b","collapseSx","restCollapse","_jsxs","_jsx","HeaderNavigationLink","active","ChevronDownIcon","fontSize","xs","lg","color","palette","mode","transform","transition","transitions","create","duration","shortest","e","prev","currentTarget","Object","assign","justifyContent","ClickAwayListener","onClickAway","console","log","target","current","contains","Collapse","in","getInteractiveStyle","background","fontWeight","Menu","open","anchorEl","onClose"],"mappings":"ydAsCa,MAAAA,EAAsDC,GACjE,CACEC,EACAC,SADAC,SAAEA,EAAQC,GAAEA,EAAEC,MAAEA,EAAKC,KAAEA,EAAIC,QAAEA,EAAOC,UAAEA,EAASC,UAAEA,EAASC,cAAEA,EAAaC,uBAAEA,KAA2BC,EAAtGC,EAAAZ,EAAA,CAAA,WAAA,KAAA,QAAA,OAAA,UAAA,YAAA,YAAA,gBAAA,2BAGA,MAAMa,EAAYC,KACXC,EAAQC,GAAaC,EAAS,MAC/BC,EAAQC,IACRC,EAASC,EAAqBH,EAAMI,YAAYC,KAAK,OACrDC,EAAsCf,QAAAA,EAAiB,IAArDN,GAAIsB,GAAmDD,EAApCE,EAArBd,EAAAY,EAAA,CAAA,OAEN,OACEG,eACEC,EAACC,iBACCC,SAAUf,EACVV,KACEA,GACEuB,EAACG,EAAe,CACd5B,GAAI,CAEF,MAAO,CACL6B,SAAU,CAAEC,GAAI,OAAQC,GAAI,SAE9BC,MAAO,CACLF,GAA2B,SAAvBf,EAAMkB,QAAQC,KAAkB,kBAAoB,kBACxDH,GAAI,gBAENI,UAAW,UAAUvB,EAAS,MAAQ,UACtCwB,WAAY,CACVN,GAAIf,EAAMsB,YAAYC,OAAO,YAAa,CACxCC,SAAUxB,EAAMsB,YAAYE,SAASC,WAEvCT,GAAI,WAMd5B,QAAUsC,IACRtC,SAAAA,EAAUsC,GACV5B,GAAW6B,GAAWA,EAAyB,KAAlBD,EAAEE,eAAsB,EAEvD3C,GACE4C,OAAAC,OAAA,CAAAC,eAAgB,CAAEhB,GAAI,gBAAiBC,GAAI,eACxC/B,GAELF,IAAKA,QAAAA,EAAOY,gBACA,wBACRF,EAEH,CAAAT,SAAAE,KAEFgB,EACCQ,EAACsB,EAAiBH,OAAAC,OAAA,CAChBG,YAAcP,cACZQ,QAAQC,IAAIT,EAAEU,oBAC+C,QAA5D9B,EAA4C,UAA1CvB,SAA0C,IAAAD,EAAAA,EAAIa,SAAY,IAAAW,OAAA,EAAAA,EAAA+B,8BAASC,SAASZ,eAAAA,EAAGU,UAChFtC,EAAU,KAAK,GAEfN,EAEJ,CAAAR,SAAA0B,EAAC6B,EAAQV,OAAAC,OAAA,CACPU,KAAM3C,EACNZ,GAAE4C,OAAAC,OAAA,CAEA,sBAAqBD,OAAAC,OAAA,CAAA,EAChBW,EACD,CACEC,WAAY,OACZC,WAAY,MACZ1B,MAA8B,SAAvBjB,EAAMkB,QAAQC,KAAkB,kBAAoB,mBAE7D,CACEuB,WAAY,OACZC,WAAY,MACZ1B,MAAO,mBAIVV,IAEDC,YAEHxB,GAAYK,QAIjBqB,EAACkC,EAAKf,OAAAC,OAAA,CAAAe,OAAQhD,EAAQiD,SAAUjD,EAAQkD,QAAS,IAAMjD,EAAU,OAAWR,YACzEN,GAAYK,OAGhB"}
@@ -1,11 +1,7 @@
1
1
  export * from './Header';
2
- export * from './HeaderNavigationLink';
3
- export * from './HeaderNavigationLinkLabel';
2
+ export * from './HeaderLogo';
4
3
  export * from './HeaderButton';
5
4
  export * from './HeaderLanguageSelect';
5
+ export * from './HeaderNavigationLink';
6
6
  export * from './HeaderNavigationMenu';
7
- export * from './HeaderSkodaLogo';
8
7
  export * from './HeaderNavigationHero';
9
- export * from './HeaderLogo';
10
- export * from './HeaderOverheadItem';
11
- export * from './PredefinedHeaderButtons';
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { SvgIconProps } from '@mui/material';
3
+ /**
4
+ * Flow brand exclusive icon
5
+ */
6
+ export declare const BatteryDischargeFilledIcon: React.FC<SvgIconProps>;
@@ -0,0 +1,2 @@
1
+ import{jsx as L}from"react/jsx-runtime";import{forwardRef as H}from"react";import{SvgIcon as r}from"@mui/material";const t=H(((H,t)=>L(r,Object.assign({viewBox:"2 2 20 20",ref:t},H,{children:L("path",{d:"M12.6816 15.9141H12.6885V16.7871L14.9922 14.459L15.9727 15.4404L15.7959 15.6162L15.498 15.9141H15.502L13.7773 17.6387H13.7725L11.9238 19.4873L8.05176 15.6162L7.875 15.4404L8.85547 14.459L10.2949 15.9141H10.3027L11.166 16.7861V11.1367H12.6816V15.9141ZM18.002 8.03906C19.3273 8.03927 20.4014 9.1141 20.4014 10.4395V15.2393C20.4013 16.5645 19.3272 17.6385 18.002 17.6387H15.6875L16.7568 16.5693L16.7559 16.5684L16.9307 16.3965L17.416 15.9141H18.002C18.3745 15.9139 18.6767 15.6118 18.6768 15.2393V10.4395C18.6768 10.0668 18.3746 9.76388 18.002 9.76367H6.00195C5.62916 9.76367 5.32617 10.0667 5.32617 10.4395V15.2393C5.32628 15.612 5.62923 15.9141 6.00195 15.9141H6.44434L6.92969 16.3965L7.10449 16.5684L7.10352 16.5693L8.17285 17.6387H6.00195C4.67653 17.6387 3.60167 16.5647 3.60156 15.2393V10.4395C3.60156 9.11397 4.67647 8.03906 6.00195 8.03906H18.002ZM9.24023 6.86523H5.64062V5.14062H9.24023V6.86523ZM18.3574 6.86523H14.7578V5.14062H18.3574V6.86523Z"})}))));export{t as BatteryDischargeFilledIcon};
2
+ //# sourceMappingURL=BatteryDischargeFilledIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BatteryDischargeFilledIcon.js","sources":["../../../../src/components/icon/filled/BatteryDischargeFilledIcon.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\n/**\n * Flow brand exclusive icon\n */\nexport const BatteryDischargeFilledIcon: React.FC<SvgIconProps> = forwardRef((props, ref) => {\n return (\n <SvgIcon viewBox=\"2 2 20 20\" ref={ref} {...props}>\n <path d=\"M12.6816 15.9141H12.6885V16.7871L14.9922 14.459L15.9727 15.4404L15.7959 15.6162L15.498 15.9141H15.502L13.7773 17.6387H13.7725L11.9238 19.4873L8.05176 15.6162L7.875 15.4404L8.85547 14.459L10.2949 15.9141H10.3027L11.166 16.7861V11.1367H12.6816V15.9141ZM18.002 8.03906C19.3273 8.03927 20.4014 9.1141 20.4014 10.4395V15.2393C20.4013 16.5645 19.3272 17.6385 18.002 17.6387H15.6875L16.7568 16.5693L16.7559 16.5684L16.9307 16.3965L17.416 15.9141H18.002C18.3745 15.9139 18.6767 15.6118 18.6768 15.2393V10.4395C18.6768 10.0668 18.3746 9.76388 18.002 9.76367H6.00195C5.62916 9.76367 5.32617 10.0667 5.32617 10.4395V15.2393C5.32628 15.612 5.62923 15.9141 6.00195 15.9141H6.44434L6.92969 16.3965L7.10449 16.5684L7.10352 16.5693L8.17285 17.6387H6.00195C4.67653 17.6387 3.60167 16.5647 3.60156 15.2393V10.4395C3.60156 9.11397 4.67647 8.03906 6.00195 8.03906H18.002ZM9.24023 6.86523H5.64062V5.14062H9.24023V6.86523ZM18.3574 6.86523H14.7578V5.14062H18.3574V6.86523Z\" />\n </SvgIcon>\n );\n});\n"],"names":["BatteryDischargeFilledIcon","forwardRef","props","ref","_jsx","SvgIcon","Object","assign","viewBox","d"],"mappings":"mHAMa,MAAAA,EAAqDC,GAAW,CAACC,EAAOC,IAEjFC,EAACC,EAAOC,OAAAC,OAAA,CAACC,QAAQ,YAAYL,IAAKA,GAASD,YACzCE,EAAM,OAAA,CAAAK,EAAE"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { SvgIconProps } from '@mui/material';
3
+ /**
4
+ * Flow brand exclusive icon
5
+ */
6
+ export declare const BicycleFilledIcon: React.FC<SvgIconProps>;
@@ -0,0 +1,2 @@
1
+ import{jsx as C}from"react/jsx-runtime";import{forwardRef as L}from"react";import{SvgIcon as r}from"@mui/material";const H=L(((L,H)=>C(r,Object.assign({viewBox:"2 2 20 20",ref:H},L,{children:C("path",{d:"M11.1116 6.14844L10.3489 6.89844H9.00708L9.90747 9.25H15.1741L14.4856 7.39648L14.1106 6.40625H17.7991C18.4569 6.4063 19.0226 6.58418 19.4358 6.94238C19.8526 7.30376 20.0501 7.79541 20.053 8.28027C20.0584 9.2288 19.311 10.1629 18.135 10.1631H17.9436L17.385 8.66309H18.135C18.4175 8.66294 18.554 8.50801 18.553 8.28906C18.5519 7.88254 18.1348 7.90624 17.7991 7.90625H16.2747L17.6272 11.5459C17.8614 11.506 18.1023 11.4844 18.3479 11.4844C20.6986 11.4845 22.6047 13.3904 22.6047 15.7412C22.6046 18.0919 20.6986 19.9979 18.3479 19.998C15.9971 19.998 14.0912 18.092 14.0911 15.7412C14.0911 14.1667 14.9461 12.792 16.217 12.0557L15.9387 11.3076L12.6506 16.2383C12.4374 16.5578 12.0788 16.7499 11.6946 16.75H9.78735C9.33419 18.6136 7.65558 19.9979 5.65259 19.998C3.30181 19.998 1.39588 18.092 1.39575 15.7412C1.39575 13.3904 3.30173 11.4844 5.65259 11.4844C6.19132 11.4844 6.70651 11.585 7.18091 11.7676L8.51489 9.81055L7.40063 6.89844H5.68481V5.39844H10.3489L11.1116 6.14844ZM5.65259 12.9844C4.13016 12.9844 2.89575 14.2188 2.89575 15.7412C2.89588 17.2635 4.13024 18.498 5.65259 18.498C6.81845 18.4979 7.81319 17.7728 8.21606 16.75H5.96216C5.03839 16.75 4.49083 15.7156 5.01099 14.9521L6.2981 13.0625C6.09089 13.0127 5.87505 12.9844 5.65259 12.9844ZM18.1663 12.9932L19.2395 15.8799L17.8333 16.4033L16.7522 13.4951C16.0501 13.9948 15.5911 14.8138 15.5911 15.7412C15.5912 17.2635 16.8256 18.498 18.3479 18.498C19.8701 18.4979 21.1046 17.2635 21.1047 15.7412C21.1047 14.2189 19.8702 12.9845 18.3479 12.9844C18.2869 12.9844 18.2263 12.9893 18.1663 12.9932ZM6.62329 15.25H8.36255C8.26175 14.6899 7.99401 14.1885 7.60962 13.8008L6.62329 15.25ZM8.46411 12.5469C9.23398 13.2251 9.7568 14.1764 9.88013 15.25H10.6125C10.5883 15.2107 10.5672 15.1687 10.55 15.124L9.16821 11.5146L8.46411 12.5469ZM11.9504 14.585L14.509 10.75H10.4817L11.9504 14.585Z"})}))));export{H as BicycleFilledIcon};
2
+ //# sourceMappingURL=BicycleFilledIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BicycleFilledIcon.js","sources":["../../../../src/components/icon/filled/BicycleFilledIcon.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\n/**\n * Flow brand exclusive icon\n */\nexport const BicycleFilledIcon: React.FC<SvgIconProps> = forwardRef((props, ref) => {\n return (\n <SvgIcon viewBox=\"2 2 20 20\" ref={ref} {...props}>\n <path d=\"M11.1116 6.14844L10.3489 6.89844H9.00708L9.90747 9.25H15.1741L14.4856 7.39648L14.1106 6.40625H17.7991C18.4569 6.4063 19.0226 6.58418 19.4358 6.94238C19.8526 7.30376 20.0501 7.79541 20.053 8.28027C20.0584 9.2288 19.311 10.1629 18.135 10.1631H17.9436L17.385 8.66309H18.135C18.4175 8.66294 18.554 8.50801 18.553 8.28906C18.5519 7.88254 18.1348 7.90624 17.7991 7.90625H16.2747L17.6272 11.5459C17.8614 11.506 18.1023 11.4844 18.3479 11.4844C20.6986 11.4845 22.6047 13.3904 22.6047 15.7412C22.6046 18.0919 20.6986 19.9979 18.3479 19.998C15.9971 19.998 14.0912 18.092 14.0911 15.7412C14.0911 14.1667 14.9461 12.792 16.217 12.0557L15.9387 11.3076L12.6506 16.2383C12.4374 16.5578 12.0788 16.7499 11.6946 16.75H9.78735C9.33419 18.6136 7.65558 19.9979 5.65259 19.998C3.30181 19.998 1.39588 18.092 1.39575 15.7412C1.39575 13.3904 3.30173 11.4844 5.65259 11.4844C6.19132 11.4844 6.70651 11.585 7.18091 11.7676L8.51489 9.81055L7.40063 6.89844H5.68481V5.39844H10.3489L11.1116 6.14844ZM5.65259 12.9844C4.13016 12.9844 2.89575 14.2188 2.89575 15.7412C2.89588 17.2635 4.13024 18.498 5.65259 18.498C6.81845 18.4979 7.81319 17.7728 8.21606 16.75H5.96216C5.03839 16.75 4.49083 15.7156 5.01099 14.9521L6.2981 13.0625C6.09089 13.0127 5.87505 12.9844 5.65259 12.9844ZM18.1663 12.9932L19.2395 15.8799L17.8333 16.4033L16.7522 13.4951C16.0501 13.9948 15.5911 14.8138 15.5911 15.7412C15.5912 17.2635 16.8256 18.498 18.3479 18.498C19.8701 18.4979 21.1046 17.2635 21.1047 15.7412C21.1047 14.2189 19.8702 12.9845 18.3479 12.9844C18.2869 12.9844 18.2263 12.9893 18.1663 12.9932ZM6.62329 15.25H8.36255C8.26175 14.6899 7.99401 14.1885 7.60962 13.8008L6.62329 15.25ZM8.46411 12.5469C9.23398 13.2251 9.7568 14.1764 9.88013 15.25H10.6125C10.5883 15.2107 10.5672 15.1687 10.55 15.124L9.16821 11.5146L8.46411 12.5469ZM11.9504 14.585L14.509 10.75H10.4817L11.9504 14.585Z\" />\n </SvgIcon>\n );\n});\n"],"names":["BicycleFilledIcon","forwardRef","props","ref","_jsx","SvgIcon","Object","assign","viewBox","d"],"mappings":"mHAMa,MAAAA,EAA4CC,GAAW,CAACC,EAAOC,IAExEC,EAACC,EAAOC,OAAAC,OAAA,CAACC,QAAQ,YAAYL,IAAKA,GAASD,YACzCE,EAAM,OAAA,CAAAK,EAAE"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { SvgIconProps } from '@mui/material';
3
+ /**
4
+ * Flow brand exclusive icon
5
+ */
6
+ export declare const BoltDischargeFilledIcon: React.FC<SvgIconProps>;
@@ -0,0 +1,2 @@
1
+ import{jsx as L}from"react/jsx-runtime";import{forwardRef as r}from"react";import{SvgIcon as t}from"@mui/material";const e=r(((r,e)=>L(t,Object.assign({viewBox:"2 2 20 20",ref:e},r,{children:L("path",{d:"M18.9531 19.2656L21.0869 17.1084L21.2637 16.9297L21.4414 17.1074L22.0664 17.7334L22.2432 17.9102L18.3721 21.7812L18.1953 21.959L18.0186 21.7812L14.3232 18.0869L14.1465 17.9102L15.127 16.9297L15.3037 17.1084L17.4365 19.2656V13.75H18.9531V19.2656ZM10.0596 10.7998H16.5596L7.36035 21.2803H6.13965L8.01953 13.1406H1.5L10.7197 2.66016H11.9404L10.0596 10.7998Z"})}))));export{e as BoltDischargeFilledIcon};
2
+ //# sourceMappingURL=BoltDischargeFilledIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoltDischargeFilledIcon.js","sources":["../../../../src/components/icon/filled/BoltDischargeFilledIcon.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\n/**\n * Flow brand exclusive icon\n */\nexport const BoltDischargeFilledIcon: React.FC<SvgIconProps> = forwardRef((props, ref) => {\n return (\n <SvgIcon viewBox=\"2 2 20 20\" ref={ref} {...props}>\n <path d=\"M18.9531 19.2656L21.0869 17.1084L21.2637 16.9297L21.4414 17.1074L22.0664 17.7334L22.2432 17.9102L18.3721 21.7812L18.1953 21.959L18.0186 21.7812L14.3232 18.0869L14.1465 17.9102L15.127 16.9297L15.3037 17.1084L17.4365 19.2656V13.75H18.9531V19.2656ZM10.0596 10.7998H16.5596L7.36035 21.2803H6.13965L8.01953 13.1406H1.5L10.7197 2.66016H11.9404L10.0596 10.7998Z\" />\n </SvgIcon>\n );\n});\n"],"names":["BoltDischargeFilledIcon","forwardRef","props","ref","_jsx","SvgIcon","Object","assign","viewBox","d"],"mappings":"mHAMa,MAAAA,EAAkDC,GAAW,CAACC,EAAOC,IAE9EC,EAACC,EAAOC,OAAAC,OAAA,CAACC,QAAQ,YAAYL,IAAKA,GAASD,YACzCE,EAAM,OAAA,CAAAK,EAAE"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { SvgIconProps } from '@mui/material';
3
+ /**
4
+ * Flow brand exclusive icon
5
+ */
6
+ export declare const BoltOffFilledIcon: React.FC<SvgIconProps>;
@@ -0,0 +1,2 @@
1
+ import{jsx as r}from"react/jsx-runtime";import{forwardRef as L}from"react";import{SvgIcon as t}from"@mui/material";const e=L(((L,e)=>r(t,Object.assign({viewBox:"2 2 20 20",ref:e},L,{children:r("path",{d:"M22.0452 3.03613L14.2825 10.7988H14.2991L10.6985 14.3984L10.7024 14.3779L2.96997 22.1113L1.69751 20.8389L9.39673 13.1396H4.46997L13.6897 2.65918H14.9104L13.4172 9.11816L20.7727 1.76367L22.0452 3.03613ZM10.3303 21.2793H9.10962L9.93286 17.71L16.845 10.7988H19.5295L10.3303 21.2793Z"})}))));export{e as BoltOffFilledIcon};
2
+ //# sourceMappingURL=BoltOffFilledIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoltOffFilledIcon.js","sources":["../../../../src/components/icon/filled/BoltOffFilledIcon.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\n/**\n * Flow brand exclusive icon\n */\nexport const BoltOffFilledIcon: React.FC<SvgIconProps> = forwardRef((props, ref) => {\n return (\n <SvgIcon viewBox=\"2 2 20 20\" ref={ref} {...props}>\n <path d=\"M22.0452 3.03613L14.2825 10.7988H14.2991L10.6985 14.3984L10.7024 14.3779L2.96997 22.1113L1.69751 20.8389L9.39673 13.1396H4.46997L13.6897 2.65918H14.9104L13.4172 9.11816L20.7727 1.76367L22.0452 3.03613ZM10.3303 21.2793H9.10962L9.93286 17.71L16.845 10.7988H19.5295L10.3303 21.2793Z\" />\n </SvgIcon>\n );\n});\n"],"names":["BoltOffFilledIcon","forwardRef","props","ref","_jsx","SvgIcon","Object","assign","viewBox","d"],"mappings":"mHAMa,MAAAA,EAA4CC,GAAW,CAACC,EAAOC,IAExEC,EAACC,EAAOC,OAAAC,OAAA,CAACC,QAAQ,YAAYL,IAAKA,GAASD,YACzCE,EAAM,OAAA,CAAAK,EAAE"}