@skodaflow/web-library 7.1.1 → 7.1.3

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 (567) hide show
  1. package/cjs/components/accordion/accordion.js.map +1 -1
  2. package/cjs/components/alert/Alert.js.map +1 -1
  3. package/cjs/components/alert/AlertButton.js.map +1 -1
  4. package/cjs/components/avatar/Avatar.js.map +1 -1
  5. package/cjs/components/backdrop/backdrop.js.map +1 -1
  6. package/cjs/components/banner/banner.js.map +1 -1
  7. package/cjs/components/box/index.d.ts +1 -0
  8. package/cjs/components/button/button.js.map +1 -1
  9. package/cjs/components/card/Card.js.map +1 -1
  10. package/cjs/components/card/FlippingCard.js.map +1 -1
  11. package/cjs/components/card/LinkCard.js.map +1 -1
  12. package/cjs/components/card/SelectableCard.js.map +1 -1
  13. package/cjs/components/card/SimpleCard.js.map +1 -1
  14. package/cjs/components/cardContainer/cardContainer.js.map +1 -1
  15. package/cjs/components/cardMenu/cardMenu.js.map +1 -1
  16. package/cjs/components/cardMenu/hooks/useCardMenu.js.map +1 -1
  17. package/cjs/components/cardMenu/styled/drawerStyled.js.map +1 -1
  18. package/cjs/components/cardMenu/styled/menuListStyled.js.map +1 -1
  19. package/cjs/components/cardMenu/styled/popperStyled.js.map +1 -1
  20. package/cjs/components/checkbox/checkbox.js.map +1 -1
  21. package/cjs/components/chip/chipDropdownChildren/chipDropdownChildren.js.map +1 -1
  22. package/cjs/components/chip/chipFocusVisibleStyled.d.ts +1 -1
  23. package/cjs/components/chip/chipFocusVisibleStyled.js.map +1 -1
  24. package/cjs/components/chip/chipImage/chipImage.js.map +1 -1
  25. package/cjs/components/chip/chipMultiselect/multiSelectChip.js.map +1 -1
  26. package/cjs/components/chip/regular/chip.js.map +1 -1
  27. package/cjs/components/closeDialogButton/index.js.map +1 -1
  28. package/cjs/components/common/helperText.js.map +1 -1
  29. package/cjs/components/common/hook/backdrop.js.map +1 -1
  30. package/cjs/components/common/hook/useWindowSize.js.map +1 -1
  31. package/cjs/components/common/imageComponent.js.map +1 -1
  32. package/cjs/components/common/menuContainer.js.map +1 -1
  33. package/cjs/components/common/menuEmpty.js.map +1 -1
  34. package/cjs/components/common/resizableSliderInput.js.map +1 -1
  35. package/cjs/components/common/styled/buttonFocusVisibleStyled.d.ts +1 -1
  36. package/cjs/components/common/styled/buttonFocusVisibleStyled.js.map +1 -1
  37. package/cjs/components/common/styled/formControlLabelStyled.js.map +1 -1
  38. package/cjs/components/common/styled/helperTextContainerStyled.d.ts +1 -1
  39. package/cjs/components/common/styled/sliderValuesStyled.d.ts +1 -1
  40. package/cjs/components/common/styled/sliderValuesStyled.js.map +1 -1
  41. package/cjs/components/common/styled/textFieldStyled.js.map +1 -1
  42. package/cjs/components/controls/controls.js.map +1 -1
  43. package/cjs/components/customPickersActionBar/index.js.map +1 -1
  44. package/cjs/components/divider/divider.js.map +1 -1
  45. package/cjs/components/drawer/drawer.js.map +1 -1
  46. package/cjs/components/flag/flag.js.map +1 -1
  47. package/cjs/components/grid/grid.js.map +1 -1
  48. package/cjs/components/helperTextContent/index.js.map +1 -1
  49. package/cjs/components/icon/icon.definitions.js.map +1 -1
  50. package/cjs/components/icon/icon.js.map +1 -1
  51. package/cjs/components/iconButton/index.d.ts +1 -1
  52. package/cjs/components/iconButton/index.js.map +1 -1
  53. package/cjs/components/indicator/indicator.js.map +1 -1
  54. package/cjs/components/label/label.js.map +1 -1
  55. package/cjs/components/labelCO2/labelCO2.js.map +1 -1
  56. package/cjs/components/labelFeature/labelFeature.js.map +1 -1
  57. package/cjs/components/labelPromotional/labelPromotional.js.map +1 -1
  58. package/cjs/components/labelStatus/labelStatus.js.map +1 -1
  59. package/cjs/components/logo/Logo.js.map +1 -1
  60. package/cjs/components/menu/menu.js.map +1 -1
  61. package/cjs/components/menuItem/menuItem.js.map +1 -1
  62. package/cjs/components/mobileStepper/mobileStepper.js.map +1 -1
  63. package/cjs/components/mobileStepper/mobileStepperButton.js.map +1 -1
  64. package/cjs/components/modal/contentDiv.js.map +1 -1
  65. package/cjs/components/modal/modal.js.map +1 -1
  66. package/cjs/components/modal/modalTitle.js.map +1 -1
  67. package/cjs/components/numbering/numbering.js.map +1 -1
  68. package/cjs/components/pagination/pagination.js.map +1 -1
  69. package/cjs/components/progressBar/components/loader.js.map +1 -1
  70. package/cjs/components/progressBar/components/spinner.js.map +1 -1
  71. package/cjs/components/progressBar/components/styledProgressBarMessage.js.map +1 -1
  72. package/cjs/components/progressBar/progressBar.js.map +1 -1
  73. package/cjs/components/radioButton/radioButton.js.map +1 -1
  74. package/cjs/components/selectInput/formControlSelectStyled.d.ts +1 -1
  75. package/cjs/components/selectInput/formControlSelectStyled.js.map +1 -1
  76. package/cjs/components/selectInput/hook/useSelectInput.js.map +1 -1
  77. package/cjs/components/selectInput/inputLabelSelect.js.map +1 -1
  78. package/cjs/components/selectInput/selectInput.js.map +1 -1
  79. package/cjs/components/slider/containerStyled.d.ts +1 -1
  80. package/cjs/components/slider/containerStyled.js.map +1 -1
  81. package/cjs/components/slider/slider.js.map +1 -1
  82. package/cjs/components/snackbar/snackbar.js.map +1 -1
  83. package/cjs/components/snackbar/snackbarMessage.js.map +1 -1
  84. package/cjs/components/stepper/stepper.js.map +1 -1
  85. package/cjs/components/tabs/index.d.ts +1 -0
  86. package/cjs/components/tabs/tabPanel.js.map +1 -1
  87. package/cjs/components/textArea/hook/useTextAreaEffect.js.map +1 -1
  88. package/cjs/components/textArea/textArea.js.map +1 -1
  89. package/cjs/components/textInput/hook/useTextInput.js.map +1 -1
  90. package/cjs/components/textInput/hook/useTextInputEffect.js.map +1 -1
  91. package/cjs/components/textInput/textInput.js.map +1 -1
  92. package/cjs/components/toggleSwitch/toggleSwitch.js.map +1 -1
  93. package/cjs/components/tooltip/tooltip.js.map +1 -1
  94. package/cjs/components/upload/UploadBox.js.map +1 -1
  95. package/cjs/components/upload/UploadField.js.map +1 -1
  96. package/cjs/components/upload/UploadPreview.js.map +1 -1
  97. package/cjs/components/upload/UploadPreviewList.js.map +1 -1
  98. package/cjs/components/upload/UploadProgress.js.map +1 -1
  99. package/cjs/design/skoda/SkodaThemeProvider.js.map +1 -1
  100. package/cjs/design/skoda/SkodaThemeWidgetProvider.js.map +1 -1
  101. package/cjs/design/skoda/components/accordion/accordion.theme.js.map +1 -1
  102. package/cjs/design/skoda/components/accordion/accordionSummary.theme.js.map +1 -1
  103. package/cjs/design/skoda/components/agGrid/agGrid.theme.js.map +1 -1
  104. package/cjs/design/skoda/components/autocomplete.theme.js.map +1 -1
  105. package/cjs/design/skoda/components/backdrop.theme.js.map +1 -1
  106. package/cjs/design/skoda/components/baseline.theme.js +1 -1
  107. package/cjs/design/skoda/components/baseline.theme.js.map +1 -1
  108. package/cjs/design/skoda/components/breadcrumbs.theme.js.map +1 -1
  109. package/cjs/design/skoda/components/button.theme.js.map +1 -1
  110. package/cjs/design/skoda/components/buttonBase.theme.js.map +1 -1
  111. package/cjs/design/skoda/components/checkbox.theme.js.map +1 -1
  112. package/cjs/design/skoda/components/chip.theme.js.map +1 -1
  113. package/cjs/design/skoda/components/datePickers/clock.theme.js.map +1 -1
  114. package/cjs/design/skoda/components/datePickers/dateTimePickerTabs.theme.js.map +1 -1
  115. package/cjs/design/skoda/components/datePickers/dateTimePickerToolbar.theme.js.map +1 -1
  116. package/cjs/design/skoda/components/datePickers/desktopDateTimePicker.theme.js.map +1 -1
  117. package/cjs/design/skoda/components/datePickers/desktopTimePicker.theme.js.map +1 -1
  118. package/cjs/design/skoda/components/datePickers/multiSectionDigitalClockSection.theme.js.map +1 -1
  119. package/cjs/design/skoda/components/datePickers/pickersLayout.theme.js.map +1 -1
  120. package/cjs/design/skoda/components/datePickers/pickersToolbar.theme.js.map +1 -1
  121. package/cjs/design/skoda/components/datePickers/pickersToolbarButton.theme.js.map +1 -1
  122. package/cjs/design/skoda/components/datePickers/pickersToolbarText.theme.js.map +1 -1
  123. package/cjs/design/skoda/components/datePickers/timeClock.theme.js.map +1 -1
  124. package/cjs/design/skoda/components/datePickers/timePickerToolbar.theme.js.map +1 -1
  125. package/cjs/design/skoda/components/dialog/dialog.theme.js.map +1 -1
  126. package/cjs/design/skoda/components/dialog/dialogActions.theme.js.map +1 -1
  127. package/cjs/design/skoda/components/dialog/dialogContentText.theme.js.map +1 -1
  128. package/cjs/design/skoda/components/dialog/dialogTitle.theme.js.map +1 -1
  129. package/cjs/design/skoda/components/divider.theme.js.map +1 -1
  130. package/cjs/design/skoda/components/drawer.theme.js.map +1 -1
  131. package/cjs/design/skoda/components/form/filledInput.theme.js.map +1 -1
  132. package/cjs/design/skoda/components/form/formControl.theme.js.map +1 -1
  133. package/cjs/design/skoda/components/form/formControlLabel.theme.js +1 -1
  134. package/cjs/design/skoda/components/form/formControlLabel.theme.js.map +1 -1
  135. package/cjs/design/skoda/components/form/formHelperText.theme.js.map +1 -1
  136. package/cjs/design/skoda/components/form/formLabel.theme.js +1 -1
  137. package/cjs/design/skoda/components/form/formLabel.theme.js.map +1 -1
  138. package/cjs/design/skoda/components/form/input.theme.js.map +1 -1
  139. package/cjs/design/skoda/components/form/inputAdornment.theme.js.map +1 -1
  140. package/cjs/design/skoda/components/form/inputBase.theme.js.map +1 -1
  141. package/cjs/design/skoda/components/form/inputLabel.theme.js.map +1 -1
  142. package/cjs/design/skoda/components/form/radio.theme.js.map +1 -1
  143. package/cjs/design/skoda/components/form/select.theme.js.map +1 -1
  144. package/cjs/design/skoda/components/form/slider.theme.js.map +1 -1
  145. package/cjs/design/skoda/components/form/switch.theme.js.map +1 -1
  146. package/cjs/design/skoda/components/form/textField.theme.js.map +1 -1
  147. package/cjs/design/skoda/components/icon.theme.js.map +1 -1
  148. package/cjs/design/skoda/components/iconButton.theme.js.map +1 -1
  149. package/cjs/design/skoda/components/layout/breakpoints.theme.js.map +1 -1
  150. package/cjs/design/skoda/components/layout/container.theme.js.map +1 -1
  151. package/cjs/design/skoda/components/layout/grid.theme.js.map +1 -1
  152. package/cjs/design/skoda/components/list.theme.js.map +1 -1
  153. package/cjs/design/skoda/components/listItemText.theme.js.map +1 -1
  154. package/cjs/design/skoda/components/menuItem.theme.js.map +1 -1
  155. package/cjs/design/skoda/components/mobileStepper.theme.js.map +1 -1
  156. package/cjs/design/skoda/components/modal.theme.js.map +1 -1
  157. package/cjs/design/skoda/components/pagination.theme.js.map +1 -1
  158. package/cjs/design/skoda/components/paper.theme.js.map +1 -1
  159. package/cjs/design/skoda/components/popover.theme.js.map +1 -1
  160. package/cjs/design/skoda/components/snackbar.theme.js.map +1 -1
  161. package/cjs/design/skoda/components/stepper/stepIcon/errorStepIcon.js.map +1 -1
  162. package/cjs/design/skoda/components/stepper/stepIcon/index.js.map +1 -1
  163. package/cjs/design/skoda/components/stepper/stepIcon/qontoStepIcon.js.map +1 -1
  164. package/cjs/design/skoda/components/stepper/stepper.theme.js.map +1 -1
  165. package/cjs/design/skoda/components/tabs/tab.theme.js.map +1 -1
  166. package/cjs/design/skoda/components/tabs/tabs.theme.js.map +1 -1
  167. package/cjs/design/skoda/components/tooltip.theme.js.map +1 -1
  168. package/cjs/design/skoda/organisms/card.theme.js.map +1 -1
  169. package/cjs/design/skoda/paletteDark.theme.js.map +1 -1
  170. package/cjs/design/skoda/paletteLight.theme.js.map +1 -1
  171. package/cjs/design/skoda/theme.breakpoints.js.map +1 -1
  172. package/cjs/design/skoda/theme.constants.js.map +1 -1
  173. package/cjs/design/skoda/theme.js.map +1 -1
  174. package/cjs/design/skoda/theme.typography.d.ts +34 -17
  175. package/cjs/design/skoda/theme.typography.js.map +1 -1
  176. package/cjs/layout/Error/ErrorContent.js.map +1 -1
  177. package/cjs/layout/Footer/Footer.js.map +1 -1
  178. package/cjs/layout/Footer/FooterAccordion.js.map +1 -1
  179. package/cjs/layout/Footer/FooterIconButton.js.map +1 -1
  180. package/cjs/layout/Footer/FooterLink.js.map +1 -1
  181. package/cjs/layout/Footer/FooterMenu.js.map +1 -1
  182. package/cjs/layout/Footer/FooterSectionContact.js.map +1 -1
  183. package/cjs/layout/Footer/FooterSectionMenu.js.map +1 -1
  184. package/cjs/layout/Footer/PredefinedFooterIconButtons.js.map +1 -1
  185. package/cjs/layout/Footer/assets/FacebookIcon.js.map +1 -1
  186. package/cjs/layout/Footer/assets/InstagramIcon.js.map +1 -1
  187. package/cjs/layout/Footer/assets/TwitterIcon.js.map +1 -1
  188. package/cjs/layout/Footer/assets/YoutubeIcon.js.map +1 -1
  189. package/cjs/layout/Header/Header.js.map +1 -1
  190. package/cjs/layout/Header/HeaderButton.d.ts +1 -1
  191. package/cjs/layout/Header/HeaderButton.js.map +1 -1
  192. package/cjs/layout/Header/HeaderContext.js.map +1 -1
  193. package/cjs/layout/Header/HeaderLogo.js.map +1 -1
  194. package/cjs/layout/Header/HeaderNavigationHero.js.map +1 -1
  195. package/cjs/layout/Header/HeaderNavigationLink.js.map +1 -1
  196. package/cjs/layout/Header/HeaderNavigationMenu.js.map +1 -1
  197. package/cjs/layout/Header/HeaderOverheadItem.js.map +1 -1
  198. package/cjs/layout/Header/HeaderSkodaLogo.js.map +1 -1
  199. package/cjs/layout/Header/PredefinedHeaderButtons.d.ts +11 -11
  200. package/cjs/layout/Header/PredefinedHeaderButtons.js.map +1 -1
  201. package/cjs/layout/PageLayout/PageLayout.js.map +1 -1
  202. package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js +1 -1
  203. package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js.map +1 -1
  204. package/cjs/layout/SecondaryNavigation/SecondaryNavigationCta.js.map +1 -1
  205. package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.js +1 -1
  206. package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +1 -1
  207. package/cjs/layout/SideMenu/SideMenu.js.map +1 -1
  208. package/cjs/layout/SideMenu/SideMenuItem.js.map +1 -1
  209. package/cjs/layout/container/container.js.map +1 -1
  210. package/cjs/layout/cookieModal/CookieModal.js.map +1 -1
  211. package/cjs/layout/cookieModal/CookieModalItem.js.map +1 -1
  212. package/cjs/organisms/cardOwnedVehicle/cardOwnedVehicle.js.map +1 -1
  213. package/cjs/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js.map +1 -1
  214. package/cjs/organisms/cardPhotoAdjustable/cardPhotoAdjustable.js.map +1 -1
  215. package/cjs/organisms/cardPhotoAdjustable/cardPhotoAdjustableComponent.js.map +1 -1
  216. package/cjs/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
  217. package/cjs/organisms/cardPhotoFixed/cardPhotoFixedComponent.js.map +1 -1
  218. package/cjs/organisms/cardPromoVehicle/cardPromoVehicle.js.map +1 -1
  219. package/cjs/organisms/cardPromoVehicle/cardPromoVehicleComponent.js.map +1 -1
  220. package/cjs/organisms/cardTypeOnly/cardTypeOnly.js.map +1 -1
  221. package/cjs/organisms/cardTypeOnly/cardTypeOnlyComponent.js.map +1 -1
  222. package/cjs/organisms/carousel/carousel.js.map +1 -1
  223. package/cjs/organisms/carousel/carouselTemplate.js.map +1 -1
  224. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  225. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.js.map +1 -1
  226. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.d.ts +1 -1
  227. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.js.map +1 -1
  228. package/cjs/organisms/carousel2/cardCarousel/cardCarousel.js.map +1 -1
  229. package/cjs/organisms/carousel2/components/ItemsContainer.js.map +1 -1
  230. package/cjs/organisms/carousel2/components/NavButton.js.map +1 -1
  231. package/cjs/organisms/carousel2/components/Numbering.js.map +1 -1
  232. package/cjs/organisms/carousel2/components/ScrollSnapDots.js.map +1 -1
  233. package/cjs/organisms/carousel2/components/ViewPort.js.map +1 -1
  234. package/cjs/organisms/carousel2/galleryCarousel/GalleryItemText.js.map +1 -1
  235. package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
  236. package/cjs/organisms/carousel2/galleryCarousel/galleryCarouselItem.js.map +1 -1
  237. package/cjs/organisms/carousel2/galleryCarousel/galleryContext.js.map +1 -1
  238. package/cjs/organisms/carousel2/galleryCarousel/galleryItemContext.js.map +1 -1
  239. package/cjs/organisms/carousel2/galleryCarousel/galleryItemHeading.js.map +1 -1
  240. package/cjs/organisms/carousel2/heroCarousel/HeroCarouselSlide.js.map +1 -1
  241. package/cjs/organisms/carousel2/heroCarousel/heroCarousel.js.map +1 -1
  242. package/cjs/organisms/carousel2/heroCarousel/heroCarouselContext.js.map +1 -1
  243. package/cjs/organisms/carousel2/hooks/useContainerPeek.js.map +1 -1
  244. package/cjs/organisms/carousel2/hooks/useDefaultProps.js.map +1 -1
  245. package/cjs/organisms/carousel2/hooks/useEmbla.js.map +1 -1
  246. package/cjs/organisms/carousel2/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  247. package/cjs/organisms/common/buttonCardComponent/buttonCardComponent.js.map +1 -1
  248. package/cjs/organisms/common/infoTextCardComponent/infoTextCardComponent.js.map +1 -1
  249. package/cjs/organisms/common/menuCardComponent/menuCardComponent.js.map +1 -1
  250. package/cjs/organisms/common/styled/cardStandardWrapperStyled.d.ts +1 -1
  251. package/cjs/organisms/common/styled/cardStandardWrapperStyled.js.map +1 -1
  252. package/cjs/organisms/gallery/Gallery.js.map +1 -1
  253. package/cjs/organisms/gallery/GalleryItem.js.map +1 -1
  254. package/cjs/organisms/gallery/GalleryTrigger.js.map +1 -1
  255. package/cjs/organisms/heroImageCard/heroImageCard.js.map +1 -1
  256. package/cjs/organisms/heroImageCard/heroImageCardComponent.js.map +1 -1
  257. package/cjs/organisms/heroImageCard/videoCardController.js.map +1 -1
  258. package/cjs/organisms/maps/hook/useMap.js.map +1 -1
  259. package/cjs/organisms/maps/mapComponents/infoWindowConfig.js.map +1 -1
  260. package/cjs/organisms/maps/mapComponents/mapComponent.js.map +1 -1
  261. package/cjs/organisms/maps/mapComponents/mapStyled.d.ts +1 -1
  262. package/cjs/organisms/maps/mapComponents/mapStyled.js.map +1 -1
  263. package/cjs/organisms/maps/mapComponents/markerComponent.js.map +1 -1
  264. package/cjs/organisms/maps/maps.js.map +1 -1
  265. package/cjs/organisms/maps/utils/mapConfig.js.map +1 -1
  266. package/cjs/organisms/maps/utils/mapIcons.js.map +1 -1
  267. package/cjs/organisms/maps/utils/style.js.map +1 -1
  268. package/cjs/organisms/notification/Notification.js +1 -1
  269. package/cjs/organisms/notification/Notification.js.map +1 -1
  270. package/cjs/organisms/notification/NotificationCenter.js.map +1 -1
  271. package/cjs/organisms/notification/NotificationCenterCategory.js.map +1 -1
  272. package/cjs/organisms/notification/NotificationCenterHeaderButton.js.map +1 -1
  273. package/cjs/organisms/shortcutLink/shortcutLink.js.map +1 -1
  274. package/cjs/organisms/textCta/textCta.js.map +1 -1
  275. package/cjs/organisms/tile/tile.js.map +1 -1
  276. package/cjs/production/Button/Button.js.map +1 -1
  277. package/cjs/utils/ResponsiveType.js.map +1 -1
  278. package/cjs/utils/enum.js.map +1 -1
  279. package/cjs/utils/formatFileSize/formatFileSize.js.map +1 -1
  280. package/cjs/utils/useClosure/useClosure.js.map +1 -1
  281. package/cjs/utils/useFeatureFlag/useFeatureFlag.js.map +1 -1
  282. package/cjs/utils/useKeyboardShortcut/useKeyboardShortcut.js.map +1 -1
  283. package/cjs/utils/utilities.js.map +1 -1
  284. package/components/accordion/accordion.js.map +1 -1
  285. package/components/alert/Alert.js.map +1 -1
  286. package/components/alert/AlertButton.js.map +1 -1
  287. package/components/avatar/Avatar.js.map +1 -1
  288. package/components/backdrop/backdrop.js.map +1 -1
  289. package/components/banner/banner.js.map +1 -1
  290. package/components/box/index.d.ts +1 -0
  291. package/components/button/button.js.map +1 -1
  292. package/components/card/Card.js.map +1 -1
  293. package/components/card/FlippingCard.js.map +1 -1
  294. package/components/card/LinkCard.js.map +1 -1
  295. package/components/card/SelectableCard.js.map +1 -1
  296. package/components/card/SimpleCard.js.map +1 -1
  297. package/components/cardContainer/cardContainer.js.map +1 -1
  298. package/components/cardMenu/cardMenu.js.map +1 -1
  299. package/components/cardMenu/hooks/useCardMenu.js.map +1 -1
  300. package/components/cardMenu/styled/drawerStyled.js.map +1 -1
  301. package/components/cardMenu/styled/menuListStyled.js.map +1 -1
  302. package/components/cardMenu/styled/popperStyled.js.map +1 -1
  303. package/components/checkbox/checkbox.js.map +1 -1
  304. package/components/chip/chipDropdownChildren/chipDropdownChildren.js.map +1 -1
  305. package/components/chip/chipFocusVisibleStyled.d.ts +1 -1
  306. package/components/chip/chipFocusVisibleStyled.js.map +1 -1
  307. package/components/chip/chipImage/chipImage.js.map +1 -1
  308. package/components/chip/chipMultiselect/multiSelectChip.js.map +1 -1
  309. package/components/chip/regular/chip.js.map +1 -1
  310. package/components/closeDialogButton/index.js.map +1 -1
  311. package/components/common/helperText.js.map +1 -1
  312. package/components/common/hook/backdrop.js.map +1 -1
  313. package/components/common/hook/useWindowSize.js.map +1 -1
  314. package/components/common/imageComponent.js.map +1 -1
  315. package/components/common/menuContainer.js.map +1 -1
  316. package/components/common/menuEmpty.js.map +1 -1
  317. package/components/common/resizableSliderInput.js.map +1 -1
  318. package/components/common/styled/buttonFocusVisibleStyled.d.ts +1 -1
  319. package/components/common/styled/buttonFocusVisibleStyled.js.map +1 -1
  320. package/components/common/styled/formControlLabelStyled.js.map +1 -1
  321. package/components/common/styled/helperTextContainerStyled.d.ts +1 -1
  322. package/components/common/styled/sliderValuesStyled.d.ts +1 -1
  323. package/components/common/styled/sliderValuesStyled.js.map +1 -1
  324. package/components/common/styled/textFieldStyled.js.map +1 -1
  325. package/components/controls/controls.js.map +1 -1
  326. package/components/customPickersActionBar/index.js.map +1 -1
  327. package/components/divider/divider.js.map +1 -1
  328. package/components/drawer/drawer.js.map +1 -1
  329. package/components/flag/flag.js.map +1 -1
  330. package/components/grid/grid.js.map +1 -1
  331. package/components/helperTextContent/index.js.map +1 -1
  332. package/components/icon/icon.definitions.js.map +1 -1
  333. package/components/icon/icon.js.map +1 -1
  334. package/components/iconButton/index.d.ts +1 -1
  335. package/components/iconButton/index.js.map +1 -1
  336. package/components/indicator/indicator.js.map +1 -1
  337. package/components/label/label.js.map +1 -1
  338. package/components/labelCO2/labelCO2.js.map +1 -1
  339. package/components/labelFeature/labelFeature.js.map +1 -1
  340. package/components/labelPromotional/labelPromotional.js.map +1 -1
  341. package/components/labelStatus/labelStatus.js.map +1 -1
  342. package/components/logo/Logo.js.map +1 -1
  343. package/components/menu/menu.js.map +1 -1
  344. package/components/menuItem/menuItem.js.map +1 -1
  345. package/components/mobileStepper/mobileStepper.js.map +1 -1
  346. package/components/mobileStepper/mobileStepperButton.js.map +1 -1
  347. package/components/modal/contentDiv.js.map +1 -1
  348. package/components/modal/modal.js.map +1 -1
  349. package/components/modal/modalTitle.js.map +1 -1
  350. package/components/numbering/numbering.js.map +1 -1
  351. package/components/pagination/pagination.js.map +1 -1
  352. package/components/progressBar/components/loader.js.map +1 -1
  353. package/components/progressBar/components/spinner.js.map +1 -1
  354. package/components/progressBar/components/styledProgressBarMessage.js.map +1 -1
  355. package/components/progressBar/progressBar.js.map +1 -1
  356. package/components/radioButton/radioButton.js.map +1 -1
  357. package/components/selectInput/formControlSelectStyled.d.ts +1 -1
  358. package/components/selectInput/formControlSelectStyled.js.map +1 -1
  359. package/components/selectInput/hook/useSelectInput.js.map +1 -1
  360. package/components/selectInput/inputLabelSelect.js.map +1 -1
  361. package/components/selectInput/selectInput.js.map +1 -1
  362. package/components/slider/containerStyled.d.ts +1 -1
  363. package/components/slider/containerStyled.js.map +1 -1
  364. package/components/slider/slider.js.map +1 -1
  365. package/components/snackbar/snackbar.js.map +1 -1
  366. package/components/snackbar/snackbarMessage.js.map +1 -1
  367. package/components/stepper/stepper.js.map +1 -1
  368. package/components/tabs/index.d.ts +1 -0
  369. package/components/tabs/tabPanel.js.map +1 -1
  370. package/components/textArea/hook/useTextAreaEffect.js.map +1 -1
  371. package/components/textArea/textArea.js.map +1 -1
  372. package/components/textInput/hook/useTextInput.js.map +1 -1
  373. package/components/textInput/hook/useTextInputEffect.js.map +1 -1
  374. package/components/textInput/textInput.js.map +1 -1
  375. package/components/toggleSwitch/toggleSwitch.js.map +1 -1
  376. package/components/tooltip/tooltip.js.map +1 -1
  377. package/components/upload/UploadBox.js.map +1 -1
  378. package/components/upload/UploadField.js.map +1 -1
  379. package/components/upload/UploadPreview.js.map +1 -1
  380. package/components/upload/UploadPreviewList.js.map +1 -1
  381. package/components/upload/UploadProgress.js.map +1 -1
  382. package/design/skoda/SkodaThemeProvider.js.map +1 -1
  383. package/design/skoda/SkodaThemeWidgetProvider.js.map +1 -1
  384. package/design/skoda/components/accordion/accordion.theme.js.map +1 -1
  385. package/design/skoda/components/accordion/accordionSummary.theme.js.map +1 -1
  386. package/design/skoda/components/agGrid/agGrid.theme.js.map +1 -1
  387. package/design/skoda/components/autocomplete.theme.js.map +1 -1
  388. package/design/skoda/components/backdrop.theme.js.map +1 -1
  389. package/design/skoda/components/baseline.theme.js +1 -1
  390. package/design/skoda/components/baseline.theme.js.map +1 -1
  391. package/design/skoda/components/breadcrumbs.theme.js.map +1 -1
  392. package/design/skoda/components/button.theme.js.map +1 -1
  393. package/design/skoda/components/buttonBase.theme.js.map +1 -1
  394. package/design/skoda/components/checkbox.theme.js.map +1 -1
  395. package/design/skoda/components/chip.theme.js.map +1 -1
  396. package/design/skoda/components/datePickers/clock.theme.js.map +1 -1
  397. package/design/skoda/components/datePickers/dateTimePickerTabs.theme.js.map +1 -1
  398. package/design/skoda/components/datePickers/dateTimePickerToolbar.theme.js.map +1 -1
  399. package/design/skoda/components/datePickers/desktopDateTimePicker.theme.js.map +1 -1
  400. package/design/skoda/components/datePickers/desktopTimePicker.theme.js.map +1 -1
  401. package/design/skoda/components/datePickers/multiSectionDigitalClockSection.theme.js.map +1 -1
  402. package/design/skoda/components/datePickers/pickersLayout.theme.js.map +1 -1
  403. package/design/skoda/components/datePickers/pickersToolbar.theme.js.map +1 -1
  404. package/design/skoda/components/datePickers/pickersToolbarButton.theme.js.map +1 -1
  405. package/design/skoda/components/datePickers/pickersToolbarText.theme.js.map +1 -1
  406. package/design/skoda/components/datePickers/timeClock.theme.js.map +1 -1
  407. package/design/skoda/components/datePickers/timePickerToolbar.theme.js.map +1 -1
  408. package/design/skoda/components/dialog/dialog.theme.js.map +1 -1
  409. package/design/skoda/components/dialog/dialogActions.theme.js.map +1 -1
  410. package/design/skoda/components/dialog/dialogContentText.theme.js.map +1 -1
  411. package/design/skoda/components/dialog/dialogTitle.theme.js.map +1 -1
  412. package/design/skoda/components/divider.theme.js.map +1 -1
  413. package/design/skoda/components/drawer.theme.js.map +1 -1
  414. package/design/skoda/components/form/filledInput.theme.js.map +1 -1
  415. package/design/skoda/components/form/formControl.theme.js.map +1 -1
  416. package/design/skoda/components/form/formControlLabel.theme.js +1 -1
  417. package/design/skoda/components/form/formControlLabel.theme.js.map +1 -1
  418. package/design/skoda/components/form/formHelperText.theme.js.map +1 -1
  419. package/design/skoda/components/form/formLabel.theme.js +1 -1
  420. package/design/skoda/components/form/formLabel.theme.js.map +1 -1
  421. package/design/skoda/components/form/input.theme.js.map +1 -1
  422. package/design/skoda/components/form/inputAdornment.theme.js.map +1 -1
  423. package/design/skoda/components/form/inputBase.theme.js.map +1 -1
  424. package/design/skoda/components/form/inputLabel.theme.js.map +1 -1
  425. package/design/skoda/components/form/radio.theme.js.map +1 -1
  426. package/design/skoda/components/form/select.theme.js.map +1 -1
  427. package/design/skoda/components/form/slider.theme.js.map +1 -1
  428. package/design/skoda/components/form/switch.theme.js.map +1 -1
  429. package/design/skoda/components/form/textField.theme.js.map +1 -1
  430. package/design/skoda/components/icon.theme.js.map +1 -1
  431. package/design/skoda/components/iconButton.theme.js.map +1 -1
  432. package/design/skoda/components/layout/breakpoints.theme.js.map +1 -1
  433. package/design/skoda/components/layout/container.theme.js.map +1 -1
  434. package/design/skoda/components/layout/grid.theme.js.map +1 -1
  435. package/design/skoda/components/list.theme.js.map +1 -1
  436. package/design/skoda/components/listItemText.theme.js.map +1 -1
  437. package/design/skoda/components/menuItem.theme.js.map +1 -1
  438. package/design/skoda/components/mobileStepper.theme.js.map +1 -1
  439. package/design/skoda/components/modal.theme.js.map +1 -1
  440. package/design/skoda/components/pagination.theme.js.map +1 -1
  441. package/design/skoda/components/paper.theme.js.map +1 -1
  442. package/design/skoda/components/popover.theme.js.map +1 -1
  443. package/design/skoda/components/snackbar.theme.js.map +1 -1
  444. package/design/skoda/components/stepper/stepIcon/errorStepIcon.js.map +1 -1
  445. package/design/skoda/components/stepper/stepIcon/index.js.map +1 -1
  446. package/design/skoda/components/stepper/stepIcon/qontoStepIcon.js.map +1 -1
  447. package/design/skoda/components/stepper/stepper.theme.js.map +1 -1
  448. package/design/skoda/components/tabs/tab.theme.js.map +1 -1
  449. package/design/skoda/components/tabs/tabs.theme.js.map +1 -1
  450. package/design/skoda/components/tooltip.theme.js.map +1 -1
  451. package/design/skoda/organisms/card.theme.js.map +1 -1
  452. package/design/skoda/paletteDark.theme.js.map +1 -1
  453. package/design/skoda/paletteLight.theme.js.map +1 -1
  454. package/design/skoda/theme.breakpoints.js.map +1 -1
  455. package/design/skoda/theme.constants.js.map +1 -1
  456. package/design/skoda/theme.js.map +1 -1
  457. package/design/skoda/theme.typography.d.ts +34 -17
  458. package/design/skoda/theme.typography.js.map +1 -1
  459. package/layout/Error/ErrorContent.js.map +1 -1
  460. package/layout/Footer/Footer.js.map +1 -1
  461. package/layout/Footer/FooterAccordion.js.map +1 -1
  462. package/layout/Footer/FooterIconButton.js.map +1 -1
  463. package/layout/Footer/FooterLink.js.map +1 -1
  464. package/layout/Footer/FooterMenu.js.map +1 -1
  465. package/layout/Footer/FooterSectionContact.js.map +1 -1
  466. package/layout/Footer/FooterSectionMenu.js.map +1 -1
  467. package/layout/Footer/PredefinedFooterIconButtons.js.map +1 -1
  468. package/layout/Footer/assets/FacebookIcon.js.map +1 -1
  469. package/layout/Footer/assets/InstagramIcon.js.map +1 -1
  470. package/layout/Footer/assets/TwitterIcon.js.map +1 -1
  471. package/layout/Footer/assets/YoutubeIcon.js.map +1 -1
  472. package/layout/Header/Header.js.map +1 -1
  473. package/layout/Header/HeaderButton.d.ts +1 -1
  474. package/layout/Header/HeaderButton.js.map +1 -1
  475. package/layout/Header/HeaderContext.js.map +1 -1
  476. package/layout/Header/HeaderLogo.js.map +1 -1
  477. package/layout/Header/HeaderNavigationHero.js.map +1 -1
  478. package/layout/Header/HeaderNavigationLink.js.map +1 -1
  479. package/layout/Header/HeaderNavigationMenu.js.map +1 -1
  480. package/layout/Header/HeaderOverheadItem.js.map +1 -1
  481. package/layout/Header/HeaderSkodaLogo.js.map +1 -1
  482. package/layout/Header/PredefinedHeaderButtons.d.ts +11 -11
  483. package/layout/Header/PredefinedHeaderButtons.js.map +1 -1
  484. package/layout/PageLayout/PageLayout.js.map +1 -1
  485. package/layout/SecondaryNavigation/SecondaryNavigation.js +1 -1
  486. package/layout/SecondaryNavigation/SecondaryNavigation.js.map +1 -1
  487. package/layout/SecondaryNavigation/SecondaryNavigationCta.js.map +1 -1
  488. package/layout/SecondaryNavigation/SecondaryNavigationItem.js +1 -1
  489. package/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +1 -1
  490. package/layout/SideMenu/SideMenu.js.map +1 -1
  491. package/layout/SideMenu/SideMenuItem.js.map +1 -1
  492. package/layout/container/container.js.map +1 -1
  493. package/layout/cookieModal/CookieModal.js.map +1 -1
  494. package/layout/cookieModal/CookieModalItem.js.map +1 -1
  495. package/organisms/cardOwnedVehicle/cardOwnedVehicle.js.map +1 -1
  496. package/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js.map +1 -1
  497. package/organisms/cardPhotoAdjustable/cardPhotoAdjustable.js.map +1 -1
  498. package/organisms/cardPhotoAdjustable/cardPhotoAdjustableComponent.js.map +1 -1
  499. package/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
  500. package/organisms/cardPhotoFixed/cardPhotoFixedComponent.js.map +1 -1
  501. package/organisms/cardPromoVehicle/cardPromoVehicle.js.map +1 -1
  502. package/organisms/cardPromoVehicle/cardPromoVehicleComponent.js.map +1 -1
  503. package/organisms/cardTypeOnly/cardTypeOnly.js.map +1 -1
  504. package/organisms/cardTypeOnly/cardTypeOnlyComponent.js.map +1 -1
  505. package/organisms/carousel/carousel.js.map +1 -1
  506. package/organisms/carousel/carouselTemplate.js.map +1 -1
  507. package/organisms/carousel/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  508. package/organisms/carousel/styledComponents/styledCarouselHorizontal.js.map +1 -1
  509. package/organisms/carousel/styledComponents/styledCarouselVertical.d.ts +1 -1
  510. package/organisms/carousel/styledComponents/styledCarouselVertical.js.map +1 -1
  511. package/organisms/carousel2/cardCarousel/cardCarousel.js.map +1 -1
  512. package/organisms/carousel2/components/ItemsContainer.js.map +1 -1
  513. package/organisms/carousel2/components/NavButton.js.map +1 -1
  514. package/organisms/carousel2/components/Numbering.js.map +1 -1
  515. package/organisms/carousel2/components/ScrollSnapDots.js.map +1 -1
  516. package/organisms/carousel2/components/ViewPort.js.map +1 -1
  517. package/organisms/carousel2/galleryCarousel/GalleryItemText.js.map +1 -1
  518. package/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
  519. package/organisms/carousel2/galleryCarousel/galleryCarouselItem.js.map +1 -1
  520. package/organisms/carousel2/galleryCarousel/galleryContext.js.map +1 -1
  521. package/organisms/carousel2/galleryCarousel/galleryItemContext.js.map +1 -1
  522. package/organisms/carousel2/galleryCarousel/galleryItemHeading.js.map +1 -1
  523. package/organisms/carousel2/heroCarousel/HeroCarouselSlide.js.map +1 -1
  524. package/organisms/carousel2/heroCarousel/heroCarousel.js.map +1 -1
  525. package/organisms/carousel2/heroCarousel/heroCarouselContext.js.map +1 -1
  526. package/organisms/carousel2/hooks/useContainerPeek.js.map +1 -1
  527. package/organisms/carousel2/hooks/useDefaultProps.js.map +1 -1
  528. package/organisms/carousel2/hooks/useEmbla.js.map +1 -1
  529. package/organisms/carousel2/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  530. package/organisms/common/buttonCardComponent/buttonCardComponent.js.map +1 -1
  531. package/organisms/common/infoTextCardComponent/infoTextCardComponent.js.map +1 -1
  532. package/organisms/common/menuCardComponent/menuCardComponent.js.map +1 -1
  533. package/organisms/common/styled/cardStandardWrapperStyled.d.ts +1 -1
  534. package/organisms/common/styled/cardStandardWrapperStyled.js.map +1 -1
  535. package/organisms/gallery/Gallery.js.map +1 -1
  536. package/organisms/gallery/GalleryItem.js.map +1 -1
  537. package/organisms/gallery/GalleryTrigger.js.map +1 -1
  538. package/organisms/heroImageCard/heroImageCard.js.map +1 -1
  539. package/organisms/heroImageCard/heroImageCardComponent.js.map +1 -1
  540. package/organisms/heroImageCard/videoCardController.js.map +1 -1
  541. package/organisms/maps/hook/useMap.js.map +1 -1
  542. package/organisms/maps/mapComponents/infoWindowConfig.js.map +1 -1
  543. package/organisms/maps/mapComponents/mapComponent.js.map +1 -1
  544. package/organisms/maps/mapComponents/mapStyled.d.ts +1 -1
  545. package/organisms/maps/mapComponents/mapStyled.js.map +1 -1
  546. package/organisms/maps/mapComponents/markerComponent.js.map +1 -1
  547. package/organisms/maps/maps.js.map +1 -1
  548. package/organisms/maps/utils/mapConfig.js.map +1 -1
  549. package/organisms/maps/utils/mapIcons.js.map +1 -1
  550. package/organisms/maps/utils/style.js.map +1 -1
  551. package/organisms/notification/Notification.js +1 -1
  552. package/organisms/notification/Notification.js.map +1 -1
  553. package/organisms/notification/NotificationCenter.js.map +1 -1
  554. package/organisms/notification/NotificationCenterCategory.js.map +1 -1
  555. package/organisms/notification/NotificationCenterHeaderButton.js.map +1 -1
  556. package/organisms/shortcutLink/shortcutLink.js.map +1 -1
  557. package/organisms/textCta/textCta.js.map +1 -1
  558. package/organisms/tile/tile.js.map +1 -1
  559. package/package.json +1 -1
  560. package/production/Button/Button.js.map +1 -1
  561. package/utils/ResponsiveType.js.map +1 -1
  562. package/utils/enum.js.map +1 -1
  563. package/utils/formatFileSize/formatFileSize.js.map +1 -1
  564. package/utils/useClosure/useClosure.js.map +1 -1
  565. package/utils/useFeatureFlag/useFeatureFlag.js.map +1 -1
  566. package/utils/useKeyboardShortcut/useKeyboardShortcut.js.map +1 -1
  567. package/utils/utilities.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"style.js","sources":["../../../../../src/organisms/maps/utils/style.ts"],"sourcesContent":["const geometryFill = 'geometry.fill';\nconst labelsTextFill = 'labels.text.fill';\nconst labelsTextStroke = 'labels.text.stroke';\nconst administrative = 'administrative';\nconst administrativeCountry = 'administrative.country';\nconst labelsText = 'labels.text';\nconst transitStationAirport = 'transit.station.airport';\nexport const styleJSON = [\n {\n elementType: 'labels.icon',\n stylers: [\n {\n visibility: 'off',\n },\n ],\n },\n {\n featureType: administrative,\n stylers: [\n {\n color: '#7c7d7e',\n },\n ],\n },\n {\n featureType: administrative,\n elementType: 'geometry',\n stylers: [\n {\n color: '#7c7d7e',\n },\n ],\n },\n {\n featureType: administrative,\n elementType: geometryFill,\n stylers: [\n {\n color: '#efefef',\n },\n {\n visibility: 'on',\n },\n ],\n },\n {\n featureType: administrative,\n elementType: 'geometry.stroke',\n stylers: [\n {\n color: '#7c7d7e',\n },\n ],\n },\n {\n featureType: administrative,\n elementType: 'labels',\n stylers: [\n {\n color: '#7c7d7e',\n },\n {\n visibility: 'on',\n },\n ],\n },\n {\n featureType: administrative,\n elementType: labelsText,\n stylers: [\n {\n color: '#ffffff',\n },\n ],\n },\n {\n featureType: administrative,\n elementType: labelsTextFill,\n stylers: [\n {\n color: '#7c7d7e',\n },\n ],\n },\n {\n featureType: 'administrative',\n elementType: labelsTextStroke,\n stylers: [\n {\n color: '#ffffff',\n },\n ],\n },\n {\n featureType: administrativeCountry,\n elementType: labelsText,\n stylers: [\n {\n color: '#5a5b5c',\n },\n ],\n },\n {\n featureType: administrativeCountry,\n elementType: labelsTextFill,\n stylers: [\n {\n color: '#5a5b5c',\n },\n ],\n },\n {\n featureType: administrativeCountry,\n elementType: labelsTextStroke,\n stylers: [\n {\n color: '#ffffff',\n },\n ],\n },\n {\n featureType: 'landscape',\n stylers: [\n {\n color: '#F1F1F1',\n },\n ],\n },\n {\n featureType: 'landscape.man_made',\n elementType: 'geometry.stroke',\n stylers: [\n {\n color: '#7c7d7e',\n },\n ],\n },\n {\n featureType: 'poi',\n elementType: 'geometry',\n stylers: [\n {\n color: '#cfe8e0',\n },\n ],\n },\n {\n featureType: 'poi',\n elementType: labelsText,\n stylers: [\n {\n color: '#7c7d7e',\n },\n ],\n },\n {\n featureType: 'poi',\n elementType: labelsTextFill,\n stylers: [\n {\n color: '#7c7d7e',\n },\n ],\n },\n {\n featureType: 'poi',\n elementType: labelsTextStroke,\n stylers: [\n {\n color: '#ffffff',\n },\n ],\n },\n {\n featureType: 'road.highway',\n elementType: geometryFill,\n stylers: [\n {\n color: '#ffeeac',\n },\n ],\n },\n {\n featureType: 'transit.line',\n elementType: geometryFill,\n stylers: [\n {\n color: '#C4C6C7',\n },\n ],\n },\n {\n featureType: transitStationAirport,\n elementType: geometryFill,\n stylers: [\n {\n color: '#E4E4E4',\n },\n ],\n },\n {\n featureType: transitStationAirport,\n elementType: 'labels.icon',\n stylers: [\n {\n color: '#5a5b5c',\n },\n ],\n },\n {\n featureType: transitStationAirport,\n elementType: labelsText,\n stylers: [\n {\n color: '#5a5b5c',\n },\n ],\n },\n {\n featureType: transitStationAirport,\n elementType: labelsTextFill,\n stylers: [\n {\n color: '#5a5b5c',\n },\n ],\n },\n {\n featureType: transitStationAirport,\n elementType: labelsTextStroke,\n stylers: [\n {\n color: '#ffffff',\n },\n ],\n },\n {\n featureType: 'water',\n stylers: [\n {\n color: '#bbe2fb',\n },\n ],\n },\n];\n//# sourceMappingURL=style.js.map"],"names":["geometryFill","labelsTextFill","labelsTextStroke","administrative","administrativeCountry","labelsText","transitStationAirport","styleJSON","elementType","stylers","visibility","featureType","color"],"mappings":"aAAA,MAAMA,EAAe,gBACfC,EAAiB,mBACjBC,EAAmB,qBACnBC,EAAiB,iBACjBC,EAAwB,yBACxBC,EAAa,cACbC,EAAwB,0BACjBC,EAAY,CACrB,CACIC,YAAa,cACbC,QAAS,CACL,CACIC,WAAY,SAIxB,CACIC,YAAaR,EACbM,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaR,EACbK,YAAa,WACbC,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaR,EACbK,YAAaR,EACbS,QAAS,CACL,CACIG,MAAO,WAEX,CACIF,WAAY,QAIxB,CACIC,YAAaR,EACbK,YAAa,kBACbC,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaR,EACbK,YAAa,SACbC,QAAS,CACL,CACIG,MAAO,WAEX,CACIF,WAAY,QAIxB,CACIC,YAAaR,EACbK,YAAaH,EACbI,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaR,EACbK,YAAaP,EACbQ,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAa,iBACbH,YAAaN,EACbO,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaP,EACbI,YAAaH,EACbI,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaP,EACbI,YAAaP,EACbQ,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaP,EACbI,YAAaN,EACbO,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAa,YACbF,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAa,qBACbH,YAAa,kBACbC,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAa,MACbH,YAAa,WACbC,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAa,MACbH,YAAaH,EACbI,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAa,MACbH,YAAaP,EACbQ,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAa,MACbH,YAAaN,EACbO,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAa,eACbH,YAAaR,EACbS,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAa,eACbH,YAAaR,EACbS,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaL,EACbE,YAAaR,EACbS,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaL,EACbE,YAAa,cACbC,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaL,EACbE,YAAaH,EACbI,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaL,EACbE,YAAaP,EACbQ,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAaL,EACbE,YAAaN,EACbO,QAAS,CACL,CACIG,MAAO,aAInB,CACID,YAAa,QACbF,QAAS,CACL,CACIG,MAAO"}
1
+ {"version":3,"file":"style.js","sources":["../../../../../../src/organisms/maps/utils/style.ts"],"sourcesContent":[null],"names":["geometryFill","labelsTextFill","labelsTextStroke","administrative","administrativeCountry","labelsText","transitStationAirport","styleJSON","elementType","stylers","visibility","featureType","color"],"mappings":"aAAA,MAAMA,EAAe,gBACfC,EAAiB,mBACjBC,EAAmB,qBACnBC,EAAiB,iBACjBC,EAAwB,yBACxBC,EAAa,cACbC,EAAwB,0BACjBC,EAAY,CACvB,CACEC,YAAa,cACbC,QAAS,CACP,CACEC,WAAY,SAIlB,CACEC,YAAaR,EACbM,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaR,EACbK,YAAa,WACbC,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaR,EACbK,YAAaR,EACbS,QAAS,CACP,CACEG,MAAO,WAET,CACEF,WAAY,QAIlB,CACEC,YAAaR,EACbK,YAAa,kBACbC,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaR,EACbK,YAAa,SACbC,QAAS,CACP,CACEG,MAAO,WAET,CACEF,WAAY,QAIlB,CACEC,YAAaR,EACbK,YAAaH,EACbI,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaR,EACbK,YAAaP,EACbQ,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAa,iBACbH,YAAaN,EACbO,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaP,EACbI,YAAaH,EACbI,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaP,EACbI,YAAaP,EACbQ,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaP,EACbI,YAAaN,EACbO,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAa,YACbF,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAa,qBACbH,YAAa,kBACbC,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAa,MACbH,YAAa,WACbC,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAa,MACbH,YAAaH,EACbI,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAa,MACbH,YAAaP,EACbQ,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAa,MACbH,YAAaN,EACbO,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAa,eACbH,YAAaR,EACbS,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAa,eACbH,YAAaR,EACbS,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaL,EACbE,YAAaR,EACbS,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaL,EACbE,YAAa,cACbC,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaL,EACbE,YAAaH,EACbI,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaL,EACbE,YAAaP,EACbQ,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAaL,EACbE,YAAaN,EACbO,QAAS,CACP,CACEG,MAAO,aAIb,CACED,YAAa,QACbF,QAAS,CACP,CACEG,MAAO"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime");require("../../components/accordion/accordion.js"),require("../../components/backdrop/backdrop.js"),require("../../components/button/button.js"),require("tslib"),require("react");var r=require("@mui/material");require("@emotion/react"),require("@emotion/cache"),require("stylis"),require("stylis-plugin-rtl"),require("../../design/skoda/theme.js"),require("../../design/skoda/theme.breakpoints.js"),require("@mui/material/styles"),require("@mui/system"),require("../cardOwnedVehicle/cardOwnedVehicle.js"),require("../cardPhotoAdjustable/cardPhotoAdjustable.js"),require("../cardPhotoFixed/cardPhotoFixed.js"),require("../cardPromoVehicle/cardPromoVehicleComponent.js"),require("../common/styled/cardStandardWrapperStyled.js"),require("../cardTypeOnly/cardTypeOnly.js"),require("embla-carousel-react"),require("embla-carousel-class-names"),require("embla-carousel-autoplay"),require("../carousel/styledComponents/styledCarouselHorizontal.js"),require("../carousel/styledComponents/styledCarouselVertical.js"),require("../../components/controls/controls.js"),require("../../components/numbering/numbering.js"),require("../../utils/enum.js"),require("../heroImageCard/heroImageCard.js"),require("@googlemaps/react-wrapper"),require("@googlemaps/markerclusterer"),require("../maps/utils/mapIcons.js"),require("../maps/mapComponents/mapStyled.js"),require("../shortcutLink/shortcutLink.js"),require("../textCta/textCta.js"),require("../tile/tile.js"),require("../carousel2/galleryCarousel/galleryContext.js"),require("../carousel2/galleryCarousel/galleryItemContext.js"),require("../carousel2/heroCarousel/heroCarouselContext.js"),require("./NotificationCenter.js"),require("../../layout/Header/HeaderContext.js"),require("../../layout/Header/HeaderButton.js"),require("../../layout/Header/HeaderNavigationHero.js"),require("../../layout/Header/HeaderNavigationLink.js"),require("../../layout/Header/HeaderNavigationMenu.js"),require("../../layout/Header/PredefinedHeaderButtons.js"),require("../../layout/Header/HeaderOverheadItem.js"),require("../gallery/Gallery.js"),require("../gallery/GalleryItem.js"),require("../../components/icon/icon.definitions.js"),require("../../layout/SideMenu/SideMenuItem.js"),require("../../layout/Footer/PredefinedFooterIconButtons.js"),require("../../layout/SecondaryNavigation/SecondaryNavigationCta.js"),require("../../layout/SecondaryNavigation/SecondaryNavigationItem.js"),require("@mui/material/Container"),require("../../production/Button/Button.js"),require("../../components/cardContainer/cardContainer.js"),require("../../components/cardMenu/cardMenu.js"),require("../../components/checkbox/checkbox.js"),require("../../components/chip/chipImage/chipImage.js"),require("../../components/chip/regular/chip.js"),require("../../components/chip/chipMultiselect/multiSelectChip.js"),require("../../components/chip/chipDropdownChildren/chipDropdownChildren.js"),require("../../components/divider/divider.js"),require("../../components/drawer/drawer.js"),require("../../components/flag/flag.js"),require("@mui/material/Grid");var i=require("../../components/indicator/indicator.js");require("../../components/label/label.js"),require("../../components/labelCO2/labelCO2.js"),require("../../components/labelFeature/labelFeature.js"),require("../../components/labelPromotional/labelPromotional.js"),require("../../components/labelStatus/labelStatus.js"),require("../../components/menu/menu.js"),require("@mui/material/MenuItem"),require("@mui/material/MobileStepper"),require("../../components/mobileStepper/mobileStepperButton.js"),require("../../components/modal/modal.js"),require("../../components/modal/modalTitle.js"),require("../../components/pagination/pagination.js"),require("../../components/progressBar/progressBar.js"),require("../../components/radioButton/radioButton.js"),require("../../components/selectInput/selectInput.js"),require("../../components/slider/slider.js"),require("../../components/snackbar/snackbar.js"),require("../../components/stepper/stepper.js"),require("../../components/textArea/textArea.js"),require("../../components/common/styled/textFieldStyled.js"),require("../../components/helperTextContent/index.js"),require("../../components/toggleSwitch/toggleSwitch.js"),require("../../components/avatar/Avatar.js"),require("../../components/iconButton/index.js"),require("../../components/alert/AlertButton.js"),require("minimatch");const o=r.styled(r.Box)((({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",width:"56px",height:"56px",background:e.palette.onSurface.os200,flexShrink:0})));exports.Notification=t=>{const s=r.useTheme();return e.jsxs(r.Box,{sx:{background:"grey"===t.color?s.palette.surface.primary:s.palette.onSurface.os0,padding:"24px 32px",display:"flex",flexDirection:"row",gap:"24px",alignItems:"center",position:"relative"},"data-testid":"Notification",children:[t.icon&&e.jsx(o,{sx:{display:{sm:"flex",xs:"none"},overflow:"hidden",img:{width:"100%",height:"100%",objectFit:"cover"}},"data-testid":"Notification.icon",children:t.icon}),e.jsxs(r.Box,{sx:{width:"100%",maxWidth:"100%",overflow:"hidden",display:"flex",gap:"8px",flexDirection:"column"},children:[e.jsxs(r.Box,{display:"flex",alignItems:"center",children:[t.isNew&&e.jsx(i.Indicator,{color:"neutral"}),e.jsx(r.Box,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.jsx(r.Typography,{variant:"subheadline","data-testid":"Notification.headline",children:t.headline})})]}),e.jsx(r.Box,{"data-testid":"Notification.description",children:"string"==typeof t.description?e.jsx(r.Typography,{sx:{lineHeight:"16px",maxHeight:"32px",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical"},variant:"disclaimer",children:t.description}):t.description}),t.footer&&e.jsx(r.Typography,{variant:"disclaimer",color:s.palette.onSurface.os500,"data-testid":"Notification.footer",children:t.footer}),t.buttons&&e.jsx(r.Stack,{direction:"row",spacing:1,"data-testid":"Notification.buttons",children:t.buttons})]}),t.onDismiss&&e.jsx(r.IconButton,{onClick:t.onDismiss,size:"small",sx:{position:"absolute",right:"8px",top:"8px",".sa-i":{height:"28px"}},"data-testid":"Notification.dismiss",children:e.jsx(r.Icon,{fontSize:"small",className:"ballotx close"})})]})};
1
+ "use strict";var e=require("react/jsx-runtime");require("../../components/accordion/accordion.js"),require("../../components/backdrop/backdrop.js"),require("../../components/button/button.js"),require("tslib"),require("react");var r=require("@mui/material");require("@emotion/react"),require("@emotion/cache"),require("stylis"),require("stylis-plugin-rtl"),require("../../design/skoda/theme.js"),require("../../design/skoda/theme.breakpoints.js"),require("@mui/material/styles"),require("@mui/system"),require("../cardOwnedVehicle/cardOwnedVehicle.js"),require("../cardPhotoAdjustable/cardPhotoAdjustable.js"),require("../cardPhotoFixed/cardPhotoFixed.js"),require("../cardPromoVehicle/cardPromoVehicleComponent.js"),require("../common/styled/cardStandardWrapperStyled.js"),require("../cardTypeOnly/cardTypeOnly.js"),require("embla-carousel-react"),require("embla-carousel-class-names"),require("embla-carousel-autoplay"),require("../carousel/styledComponents/styledCarouselHorizontal.js"),require("../carousel/styledComponents/styledCarouselVertical.js"),require("../../components/controls/controls.js"),require("../../components/numbering/numbering.js"),require("../../utils/enum.js"),require("../heroImageCard/heroImageCard.js"),require("@googlemaps/react-wrapper"),require("@googlemaps/markerclusterer"),require("../maps/utils/mapIcons.js"),require("../maps/mapComponents/mapStyled.js"),require("../shortcutLink/shortcutLink.js"),require("../textCta/textCta.js"),require("../tile/tile.js"),require("../carousel2/galleryCarousel/galleryContext.js"),require("../carousel2/galleryCarousel/galleryItemContext.js"),require("../carousel2/heroCarousel/heroCarouselContext.js"),require("./NotificationCenter.js"),require("../../layout/Header/HeaderContext.js"),require("../../layout/Header/HeaderButton.js"),require("../../layout/Header/HeaderNavigationHero.js"),require("../../layout/Header/HeaderNavigationLink.js"),require("../../layout/Header/HeaderNavigationMenu.js"),require("../../layout/Header/PredefinedHeaderButtons.js"),require("../../layout/Header/HeaderOverheadItem.js"),require("../gallery/Gallery.js"),require("../gallery/GalleryItem.js");var i=require("../../components/icon/icon.js");require("../../components/icon/icon.definitions.js"),require("../../layout/SideMenu/SideMenuItem.js"),require("../../layout/Footer/PredefinedFooterIconButtons.js"),require("../../layout/SecondaryNavigation/SecondaryNavigationCta.js"),require("../../layout/SecondaryNavigation/SecondaryNavigationItem.js"),require("@mui/material/Container"),require("../../production/Button/Button.js"),require("../../components/cardContainer/cardContainer.js"),require("../../components/cardMenu/cardMenu.js"),require("../../components/checkbox/checkbox.js"),require("../../components/chip/chipImage/chipImage.js"),require("../../components/chip/regular/chip.js"),require("../../components/chip/chipMultiselect/multiSelectChip.js"),require("../../components/chip/chipDropdownChildren/chipDropdownChildren.js"),require("../../components/divider/divider.js"),require("../../components/drawer/drawer.js"),require("../../components/flag/flag.js"),require("@mui/material/Grid");var o=require("../../components/indicator/indicator.js");require("../../components/label/label.js"),require("../../components/labelCO2/labelCO2.js"),require("../../components/labelFeature/labelFeature.js"),require("../../components/labelPromotional/labelPromotional.js"),require("../../components/labelStatus/labelStatus.js"),require("../../components/menu/menu.js"),require("@mui/material/MenuItem"),require("@mui/material/MobileStepper"),require("../../components/mobileStepper/mobileStepperButton.js"),require("../../components/modal/modal.js"),require("../../components/modal/modalTitle.js"),require("../../components/pagination/pagination.js"),require("../../components/progressBar/progressBar.js"),require("../../components/radioButton/radioButton.js"),require("../../components/selectInput/selectInput.js"),require("../../components/slider/slider.js"),require("../../components/snackbar/snackbar.js"),require("../../components/stepper/stepper.js"),require("../../components/textArea/textArea.js"),require("../../components/common/styled/textFieldStyled.js"),require("../../components/helperTextContent/index.js"),require("../../components/toggleSwitch/toggleSwitch.js"),require("../../components/avatar/Avatar.js"),require("../../components/iconButton/index.js"),require("../../components/alert/AlertButton.js"),require("minimatch");const t=r.styled(r.Box)((({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",width:"56px",height:"56px",background:e.palette.onSurface.os200,flexShrink:0})));exports.Notification=s=>{const n=r.useTheme();return e.jsxs(r.Box,{sx:{background:"grey"===s.color?n.palette.surface.primary:n.palette.onSurface.os0,padding:"24px 32px",display:"flex",flexDirection:"row",gap:"24px",alignItems:"center",position:"relative"},"data-testid":"Notification",children:[s.icon&&e.jsx(t,{sx:{display:{sm:"flex",xs:"none"},overflow:"hidden",img:{width:"100%",height:"100%",objectFit:"cover"}},"data-testid":"Notification.icon",children:s.icon}),e.jsxs(r.Box,{sx:{width:"100%",maxWidth:"100%",overflow:"hidden",display:"flex",gap:"8px",flexDirection:"column"},children:[e.jsxs(r.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-start",gap:1},children:[s.isNew&&e.jsx(o.Indicator,{color:"neutral"}),e.jsx(r.Box,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flexGrow:"1",minWidth:"0"},children:e.jsx(r.Typography,{variant:"subheadline","data-testid":"Notification.headline",children:s.headline})})]}),e.jsx(r.Box,{"data-testid":"Notification.description",children:"string"==typeof s.description?e.jsx(r.Typography,{sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical"},variant:"disclaimer",children:s.description}):s.description}),s.footer&&e.jsx(r.Typography,{variant:"disclaimer",color:n.palette.onSurface.os500,"data-testid":"Notification.footer",children:s.footer}),s.buttons&&e.jsx(r.Stack,{direction:"row",spacing:1,"data-testid":"Notification.buttons",children:s.buttons})]}),s.onDismiss&&e.jsx(r.IconButton,{onClick:s.onDismiss,size:"small",sx:{position:"absolute",right:"8px",top:"8px"},"data-testid":"Notification.dismiss",children:e.jsx(i.Icon,{fontSize:"small",className:"ballotx",name:"close"})})]})};
2
2
  //# sourceMappingURL=Notification.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.js","sources":["../../../../src/organisms/notification/Notification.tsx"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Indicator } from '@/src/components';\nimport { Box, Icon, IconButton, Stack, Typography, styled, useTheme } from '@mui/material';\nexport const Notification = (props) => {\n const theme = useTheme();\n return (_jsxs(Box, { sx: {\n background: props.color === 'grey' ? theme.palette.surface.primary : theme.palette.onSurface.os0,\n padding: '24px 32px',\n display: 'flex',\n flexDirection: 'row',\n gap: '24px',\n alignItems: 'center',\n position: 'relative',\n }, \"data-testid\": \"Notification\", children: [props.icon && (_jsx(IconBox, { sx: {\n display: { sm: 'flex', xs: 'none' },\n overflow: 'hidden',\n img: { width: '100%', height: '100%', objectFit: 'cover' },\n }, \"data-testid\": \"Notification.icon\", children: props.icon })), _jsxs(Box, { sx: {\n width: '100%',\n maxWidth: '100%',\n overflow: 'hidden',\n display: 'flex',\n gap: '8px',\n flexDirection: 'column',\n }, children: [_jsxs(Box, { display: \"flex\", alignItems: \"center\", children: [props.isNew && _jsx(Indicator, { color: \"neutral\" }), _jsx(Box, { sx: {\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n }, children: _jsx(Typography, { variant: \"subheadline\", \"data-testid\": \"Notification.headline\", children: props.headline }) })] }), _jsx(Box, { \"data-testid\": \"Notification.description\", children: typeof props.description === 'string' ? (_jsx(Typography, { sx: {\n lineHeight: '16px',\n maxHeight: '32px',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n display: '-webkit-box',\n WebkitLineClamp: '2',\n WebkitBoxOrient: 'vertical',\n }, variant: \"disclaimer\", children: props.description })) : (props.description) }), props.footer && (_jsx(Typography, { variant: \"disclaimer\", color: theme.palette.onSurface.os500, \"data-testid\": \"Notification.footer\", children: props.footer })), props.buttons && (_jsx(Stack, { direction: \"row\", spacing: 1, \"data-testid\": \"Notification.buttons\", children: props.buttons }))] }), props.onDismiss && (_jsx(IconButton, { onClick: props.onDismiss, size: \"small\", sx: {\n position: 'absolute',\n right: '8px',\n top: '8px',\n '.sa-i': {\n height: '28px',\n },\n }, \"data-testid\": \"Notification.dismiss\", children: _jsx(Icon, { fontSize: \"small\", className: \"ballotx close\" }) }))] }));\n};\nconst IconBox = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n borderRadius: '50%',\n width: '56px',\n height: '56px',\n background: theme.palette.onSurface.os200,\n flexShrink: 0,\n}));\n//# sourceMappingURL=Notification.js.map"],"names":["IconBox","styled","Box","theme","display","justifyContent","alignItems","borderRadius","width","height","background","palette","onSurface","os200","flexShrink","props","useTheme","_jsxs","jsxs","sx","color","surface","primary","os0","padding","flexDirection","gap","position","children","icon","_jsx","jsx","sm","xs","overflow","img","objectFit","maxWidth","isNew","Indicator","whiteSpace","textOverflow","Typography","variant","headline","description","lineHeight","maxHeight","WebkitLineClamp","WebkitBoxOrient","footer","os500","buttons","Stack","direction","spacing","onDismiss","IconButton","onClick","size","right","top","Icon","fontSize","className"],"mappings":"81IAGY,MA0CNA,EAAUC,EAAAA,OAAOC,EAAAA,IAAPD,EAAY,EAAGE,YAAa,CACxCC,QAAS,OACTC,eAAgB,SAChBC,WAAY,SACZC,aAAc,MACdC,MAAO,OACPC,OAAQ,OACRC,WAAYP,EAAMQ,QAAQC,UAAUC,MACpCC,WAAY,2BAlDaC,IACzB,MAAMZ,EAAQa,EAAAA,WACd,OAAQC,EAAKC,KAAChB,MAAK,CAAEiB,G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sBAAuBvB,SAAUb,EAAMmC,SAAYnC,EAAMqC,SAAYtB,EAAAA,IAAKuB,EAAKA,MAAE,CAAEC,UAAW,MAAOC,QAAS,EAAG,cAAe,uBAAwB3B,SAAUb,EAAMqC,aAAiBrC,EAAMyC,WAAc1B,EAAAA,IAAK2B,EAAAA,WAAY,CAAEC,QAAS3C,EAAMyC,UAAWG,KAAM,QAASxC,GAAI,CACzdQ,SAAU,WACViC,MAAO,MACPC,IAAK,MACL,QAAS,CACLpD,OAAQ,SAEb,cAAe,uBAAwBmB,SAAUE,EAAIC,IAAC+B,EAAIA,KAAE,CAAEC,SAAU,QAASC,UAAW,sBAA4B"}
1
+ {"version":3,"file":"Notification.js","sources":["../../../../../src/organisms/notification/Notification.tsx"],"sourcesContent":[null],"names":["IconBox","styled","Box","theme","display","justifyContent","alignItems","borderRadius","width","height","background","palette","onSurface","os200","flexShrink","props","useTheme","_jsxs","jsxs","sx","color","surface","primary","os0","padding","flexDirection","gap","position","children","icon","_jsx","jsx","sm","xs","overflow","img","objectFit","maxWidth","isNew","Indicator","whiteSpace","textOverflow","flexGrow","minWidth","Typography","variant","headline","description","WebkitLineClamp","WebkitBoxOrient","footer","os500","buttons","Stack","direction","spacing","onDismiss","IconButton","onClick","size","right","top","Icon","fontSize","className","name"],"mappings":"64IAkBa,MAuGPA,EAAUC,EAAAA,OAAOC,EAAAA,IAAPD,EAAY,EAAGE,YAAa,CAC1CC,QAAS,OACTC,eAAgB,SAChBC,WAAY,SACZC,aAAc,MACdC,MAAO,OACPC,OAAQ,OACRC,WAAYP,EAAMQ,QAAQC,UAAUC,MACpCC,WAAY,2BA/G4CC,IACxD,MAAMZ,EAAQa,EAAAA,WAEd,OACEC,EAAAC,KAAChB,MAAG,CACFiB,GAAI,CACFT,WAA4B,SAAhBK,EAAMK,MAAmBjB,EAAMQ,QAAQU,QAAQC,QAAUnB,EAAMQ,QAAQC,UAAUW,IAC7FC,QAAS,YACTpB,QAAS,OACTqB,cAAe,MACfC,I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SAClEb,EAAMqC,aAKZrC,EAAMyC,WACL1B,EAAAA,IAAC2B,EAAAA,WAAU,CACTC,QAAS3C,EAAMyC,UACfG,KAAK,QACLxC,GAAI,CACFQ,SAAU,WACViC,MAAO,MACPC,IAAK,OAEK,cAAA,gCAEZ/B,EAAAA,IAACgC,EAAAA,MAAKC,SAAS,QAAQC,UAAU,UAAUC,KAAK,cAItD"}
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationCenter.js","sources":["../../../../src/organisms/notification/NotificationCenter.tsx"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Box, Button, Typography } from '@mui/material';\nimport { forwardRef, useEffect, useRef } from 'react';\nfunction NotificationCenterBase(props, ref) {\n var _a, _b, _c;\n const headerRef = useRef(null);\n const bodyRef = useRef(null);\n useEffect(() => {\n if (headerRef.current && bodyRef.current) {\n const height = headerRef.current.clientHeight;\n bodyRef.current.style.height = `calc(100% - ${height}px)`;\n }\n }, [headerRef.current, bodyRef.current]);\n return (_jsxs(Box, { ref: ref, sx: {\n width: { md: '400px', sm: '360px', xs: '100%' },\n borderRadius: { sm: '8px', xs: '0px' },\n background: (theme) => theme.palette.surface.tertiary,\n boxShadow: '0px 24px 64px 0px rgba(0, 0, 0, 0.15)',\n overflow: 'hidden',\n height: (_a = props.height) !== null && _a !== void 0 ? _a : '600px',\n maxHeight: '100vh',\n }, \"data-testid\": \"NotificationCenter\", children: [_jsxs(Box, { ref: headerRef, sx: {\n padding: '14px 8px 22px 16px',\n display: 'flex',\n justifyContent: 'space-between',\n }, children: [_jsx(Typography, { variant: \"h4\", component: \"span\", \"data-testid\": \"NotificationCenter.title\", children: (_b = props.title) !== null && _b !== void 0 ? _b : 'Notifications' }), props.onDismissAll && (_jsx(Button, { onClick: props.onDismissAll, size: \"small\", color: \"secondary\", variant: \"text\", \"data-testid\": \"NotificationCenter.dismiss\", children: (_c = props.dismissAllText) !== null && _c !== void 0 ? _c : 'Dismiss All' }))] }), _jsx(Box, { ref: bodyRef, sx: {\n height: '100%',\n overflow: 'auto',\n '& > *:not(:last-of-type)': {\n borderBottom: (theme) => `1px solid ${theme.palette.surface.secondary}`,\n },\n }, \"data-testid\": \"NotificationCenter.content\", children: props.children })] }));\n}\nexport const NotificationCenter = forwardRef(NotificationCenterBase);\n//# sourceMappingURL=NotificationCenter.js.map"],"names":["NotificationCenter","forwardRef","props","ref","_a","_b","_c","headerRef","useRef","bodyRef","useEffect","current","height","clientHeight","style","_jsxs","jsxs","Box","sx","width","md","sm","xs","borderRadius","background","theme","palette","surface","tertiary","boxShadow","overflow","maxHeight","children","padding","display","justifyContent","_jsx","Typography","variant","component","title","onDismissAll","jsx","Button","onClick","size","color","dismissAllText","borderBottom","secondary"],"mappings":"8FAiCY,MAACA,EAAqBC,EAAUA,YA9B5C,SAAgCC,EAAOC,GACnC,IAAIC,EAAIC,EAAIC,EACZ,MAAMC,EAAYC,SAAO,MACnBC,EAAUD,SAAO,MAOvB,OANAE,EAAAA,WAAU,KACN,GAAIH,EAAUI,SAAWF,EAAQE,QAAS,CACtC,MAAMC,EAASL,EAAUI,QAAQE,aACjCJ,EAAQE,QAAQG,MAAMF,OAAS,eAAeA,MACjD,IACF,CAACL,EAAUI,QAASF,EAAQE,UACvBI,EAAKC,KAACC,EAAGA,IAAE,CAAEd,IAAKA,EAAKe,GAAI,CAC3BC,MAAO,CAAEC,GAAI,QAASC,GAAI,QAASC,GAAI,QACvCC,aAAc,CAAEF,GAAI,MAAOC,GAAI,OAC/BE,WAAaC,GAAUA,EAAMC,QAAQC,QAAQC,SAC7CC,UAAW,wCACXC,SAAU,SACVlB,OAAgC,QAAvBR,EAAKF,EAAMU,cAA2B,IAAPR,EAAgBA,EAAK,QAC7D2B,UAAW,SACZ,cAAe,qBAAsBC,SAAU,CAACjB,EAAAA,KAAME,EAAAA,IAAK,CAAEd,IAAKI,EAAWW,GAAI,CACxEe,QAAS,qBACTC,QAAS,OACTC,eAAgB,iBACjBH,SAAU,CAACI,EAAAA,IAAKC,EAAUA,WAAE,CAAEC,QAAS,KAAMC,UAAW,OAAQ,cAAe,2BAA4BP,SAAiC,QAAtB3B,EAAKH,EAAMsC,aAA0B,IAAPnC,EAAgBA,EAAK,kBAAoBH,EAAMuC,cAAiBL,EAAIM,IAACC,EAAMA,OAAE,CAAEC,QAAS1C,EAAMuC,aAAcI,KAAM,QAASC,MAAO,YAAaR,QAAS,OAAQ,cAAe,6BAA8BN,SAA0C,QAA/B1B,EAAKJ,EAAM6C,sBAAmC,IAAPzC,EAAgBA,EAAK,mBAAuB8B,EAAIM,IAACzB,EAAGA,IAAE,CAAEd,IAAKM,EAASS,GAAI,CAC5dN,OAAQ,OACRkB,SAAU,OACV,2BAA4B,CACxBkB,aAAevB,GAAU,aAAaA,EAAMC,QAAQC,QAAQsB,cAEjE,cAAe,6BAA8BjB,SAAU9B,EAAM8B,aAChF"}
1
+ {"version":3,"file":"NotificationCenter.js","sources":["../../../../../src/organisms/notification/NotificationCenter.tsx"],"sourcesContent":[null],"names":["NotificationCenter","forwardRef","props","ref","headerRef","useRef","bodyRef","useEffect","current","height","clientHeight","style","_jsxs","Box","sx","width","md","sm","xs","borderRadius","background","theme","palette","surface","tertiary","boxShadow","overflow","_a","maxHeight","children","padding","display","justifyContent","_jsx","Typography","variant","component","_b","title","onDismissAll","jsx","Button","onClick","size","color","_c","dismissAllText","borderBottom","secondary"],"mappings":"oGA8EaA,EAAqBC,EAAUA,YAjE5C,SAAgCC,EAAgCC,aAC9D,MAAMC,EAAYC,SAAuB,MACnCC,EAAUD,SAAuB,MASvC,OAPAE,EAAAA,WAAU,KACR,GAAIH,EAAUI,SAAWF,EAAQE,QAAS,CACxC,MAAMC,EAASL,EAAUI,QAAQE,aACjCJ,EAAQE,QAAQG,MAAMF,OAAS,eAAeA,MAC/C,IACA,CAACL,EAAUI,QAASF,EAAQE,UAG7BI,OAACC,EAAGA,IAAA,CACFV,IAAKA,EACLW,GAAI,CACFC,MAAO,CAAEC,GAAI,QAASC,GAAI,QAASC,GAAI,QACvCC,aAAc,CAAEF,GAAI,MAAOC,GAAI,OAC/BE,WAAaC,GAAUA,EAAMC,QAAQC,QAAQC,SAC7CC,UAAW,wCACXC,SAAU,SACVjB,eAAQkB,EAAAzB,EAAMO,sBAAU,QACxBmB,UAAW,SAED,cAAA,qBAEZC,SAAA,CAAAjB,EAAAA,KAACC,EAAAA,IAAG,CACFV,IAAKC,EACLU,GAAI,CACFgB,QAAS,qBACTC,QAAS,OACTC,eAAgB,iBACjBH,SAAA,CAEDI,EAAAA,IAACC,EAAUA,WAAC,CAAAC,QAAQ,KAAKC,UAAU,OAAmB,cAAA,oCACpC,QAAfC,EAAAnC,EAAMoC,aAAS,IAAAD,EAAAA,EAAA,kBAEjBnC,EAAMqC,cACLN,EAACO,IAAAC,EAAMA,OACL,CAAAC,QAASxC,EAAMqC,aACfI,KAAK,QACLC,MAAM,YACNT,QAAQ,OACI,cAAA,sCAEa,QAAxBU,EAAA3C,EAAM4C,sBAAkB,IAAAD,EAAAA,EAAA,mBAI/BZ,EAAAO,IAAC3B,EAAGA,IAAA,CACFV,IAAKG,EACLQ,GAAI,CACFL,OAAQ,OACRiB,SAAU,OACV,2BAA4B,CAC1BqB,aAAe1B,GAAU,aAAaA,EAAMC,QAAQC,QAAQyB,cAGpD,cAAA,sCAEX9C,EAAM2B,aAIf"}
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationCenterCategory.js","sources":["../../../../src/organisms/notification/NotificationCenterCategory.tsx"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Box, Typography } from '@mui/material';\nexport const NotificationCenterCategory = (props) => {\n return (_jsxs(Box, { \"data-testid\": \"NotificationCenterCategory\", children: [_jsx(Box, { sx: {\n borderBottom: (theme) => `1px solid ${theme.palette.surface.secondary}`,\n }, \"data-testid\": \"NotificationCenterCategory.title\", children: _jsx(Typography, { variant: \"caption2\", sx: { paddingLeft: '8px' }, children: props.title }) }), _jsx(Box, { \"data-testid\": \"NotificationCenterCategory.content\", sx: {\n '& > *:not(:last-of-type)': {\n borderBottom: (theme) => `1px solid ${theme.palette.surface.secondary}`,\n },\n }, children: props.children })] }));\n};\n//# sourceMappingURL=NotificationCenterCategory.js.map"],"names":["props","_jsxs","jsxs","Box","children","_jsx","jsx","sx","borderBottom","theme","palette","surface","secondary","Typography","variant","paddingLeft","title"],"mappings":"8GAE2CA,GAC/BC,EAAKC,KAACC,MAAK,CAAE,cAAe,6BAA8BC,SAAU,CAACC,EAAIC,IAACH,MAAK,CAAEI,GAAI,CAC7EC,aAAeC,GAAU,aAAaA,EAAMC,QAAQC,QAAQC,aAC7D,cAAe,mCAAoCR,SAAUC,MAAKQ,EAAAA,WAAY,CAAEC,QAAS,WAAYP,GAAI,CAAEQ,YAAa,OAASX,SAAUJ,EAAMgB,UAAaX,MAAKF,EAAAA,IAAK,CAAE,cAAe,qCAAsCI,GAAI,CAClO,2BAA4B,CACxBC,aAAeC,GAAU,aAAaA,EAAMC,QAAQC,QAAQC,cAEjER,SAAUJ,EAAMI"}
1
+ {"version":3,"file":"NotificationCenterCategory.js","sources":["../../../../../src/organisms/notification/NotificationCenterCategory.tsx"],"sourcesContent":[null],"names":["props","_jsxs","jsxs","Box","_jsx","jsx","sx","borderBottom","theme","palette","surface","secondary","children","Typography","variant","paddingLeft","title"],"mappings":"8GAOsFA,GAElFC,EAACC,KAAAC,MAAgB,CAAA,cAAA,uCACfC,EAACC,IAAAF,MACC,CAAAG,GAAI,CACFC,aAAeC,GAAU,aAAaA,EAAMC,QAAQC,QAAQC,aAC7D,cACW,mCAAkCC,SAE9CR,MAACS,EAAAA,WAAW,CAAAC,QAAQ,WAAWR,GAAI,CAAES,YAAa,OAC/CH,SAAAZ,EAAMgB,UAIXZ,MAACD,EAAAA,IAAG,CAAA,cACU,qCACZG,GAAI,CACF,2BAA4B,CAC1BC,aAAeC,GAAU,aAAaA,EAAMC,QAAQC,QAAQC,cAE/DC,SAEAZ,EAAMY"}
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationCenterHeaderButton.js","sources":["../../../../src/organisms/notification/NotificationCenterHeaderButton.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { HeaderBellButton } from '@/src/layout/Header';\nimport { useClosure } from '@/src/utils';\nimport { Box, ClickAwayListener, Popper } from '@mui/material';\nimport { NotificationCenter } from './NotificationCenter';\nimport { useRef } from 'react';\nexport const NotificationCenterHeaderButton = (props) => {\n const { isOpen, onToggle, onClose } = useClosure(false);\n const buttonRef = useRef(null);\n const { indicator } = props, notificationCenterProps = __rest(props, [\"indicator\"]);\n return (_jsxs(_Fragment, { children: [_jsx(HeaderBellButton, { ref: buttonRef, onClick: onToggle, color: isOpen && 'grey', indicator: props.indicator, \"data-testid\": \"NotificationCenterHeaderButton\" }), _jsx(Popper, { open: isOpen, anchorEl: buttonRef.current, placement: \"bottom-end\", modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 28],\n },\n },\n ], children: _jsx(ClickAwayListener, { onClickAway: onClose, children: _jsx(Box, { children: _jsx(NotificationCenter, Object.assign({}, notificationCenterProps)) }) }) })] }));\n};\n//# sourceMappingURL=NotificationCenterHeaderButton.js.map"],"names":["props","isOpen","onToggle","onClose","useClosure","buttonRef","useRef","notificationCenterProps","__rest","_jsxs","_Fragment","children","_jsx","HeaderBellButton","ref","onClick","color","indicator","jsx","Popper","open","anchorEl","current","placement","modifiers","name","options","offset","ClickAwayListener","onClickAway","Box","NotificationCenter","Object","assign"],"mappings":"2oBAO+CA,IAC3C,MAAMC,OAAEA,EAAMC,SAAEA,EAAQC,QAAEA,GAAYC,EAAAA,YAAW,GAC3CC,EAAYC,SAAO,MACIC,EAA0BC,EAAMA,OAACR,EAAO,CAAC,cACtE,OAAQS,EAAAA,KAAMC,EAAAA,SAAW,CAAEC,SAAU,CAACC,EAAAA,IAAKC,EAAAA,iBAAkB,CAAEC,IAAKT,EAAWU,QAASb,EAAUc,MAAOf,GAAU,OAAQgB,UAAWjB,EAAMiB,UAAW,cAAe,mCAAqCL,EAAIM,IAACC,EAAMA,OAAE,CAAEC,KAAMnB,EAAQoB,SAAUhB,EAAUiB,QAASC,UAAW,aAAcC,UAAW,CACzR,CACIC,KAAM,SACNC,QAAS,CACLC,OAAQ,CAAC,EAAG,OAGrBhB,SAAUC,MAAKgB,EAAAA,kBAAmB,CAAEC,YAAa1B,EAASQ,SAAUC,EAAAA,IAAKkB,EAAGA,IAAE,CAAEnB,SAAUC,MAAKmB,EAAAA,mBAAoBC,OAAOC,OAAO,CAAA,EAAI1B,YAAwC"}
1
+ {"version":3,"file":"NotificationCenterHeaderButton.js","sources":["../../../../../src/organisms/notification/NotificationCenterHeaderButton.tsx"],"sourcesContent":[null],"names":["props","isOpen","onToggle","onClose","useClosure","buttonRef","useRef","notificationCenterProps","__rest","_jsxs","_jsx","HeaderBellButton","ref","onClick","color","indicator","jsx","Popper","open","anchorEl","current","placement","modifiers","name","options","offset","children","ClickAwayListener","onClickAway","Box","NotificationCenter","Object","assign"],"mappings":"2oBAW8FA,IAC5F,MAAMC,OAAEA,EAAMC,SAAEA,EAAQC,QAAEA,GAAYC,EAAAA,YAAW,GAC3CC,EAAYC,SAAO,MACHC,EAAuBC,EAAAA,OAAKR,EAA5C,CAAyC,cAC/C,OACES,EAAAA,2BACEC,EAAAA,IAACC,EAAAA,kBACCC,IAAKP,EACLQ,QAASX,EACTY,MAAOb,GAAU,OACjBc,UAAWf,EAAMe,UACL,cAAA,mCAEdL,EAAAM,IAACC,EAAMA,OACL,CAAAC,KAAMjB,EACNkB,SAAUd,EAAUe,QACpBC,UAAU,aACVC,UAAW,CACT,CACEC,KAAM,SACNC,QAAS,CACPC,OAAQ,CAAC,EAAG,OAKlBC,SAAAhB,MAACiB,EAAAA,kBAAkB,CAAAC,YAAazB,EAAOuB,SACrChB,EAAAA,IAACmB,EAAGA,IAAA,CAAAH,SACFhB,MAACoB,EAAAA,mBAAkBC,OAAAC,OAAA,CAAA,EAAKzB,YAKhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"shortcutLink.js","sources":["../../../../src/organisms/shortcutLink/shortcutLink.tsx"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { Button, ButtonVariants } from '../../components/button';\nimport { Icon } from '../../components/icon';\nimport { styled } from '@mui/material';\n/** @deprecated */\nexport const ShortcutLink = ({ iconName, title, subTitle, linkLabel, linkURL, isExternalLink, analyticsCallback, }) => {\n const handleOnClick = useCallback((e) => {\n analyticsCallback && analyticsCallback(e);\n }, [analyticsCallback]);\n return (_jsxs(ShortcutLinkStyled, { children: [_jsx(Icon, { name: iconName, className: \"sl-icon\", fontSize: \"large\" }), _jsxs(\"div\", { className: \"text-wrapper\", children: [_jsx(\"h4\", { children: title }), _jsx(\"span\", { className: \"body\", children: subTitle })] }), _jsx(\"a\", { href: linkURL, target: isExternalLink ? '_blank' : '_self', rel: \"noreferrer\", children: _jsx(Button, { variant: ButtonVariants.NAVIGATION, label: linkLabel, direction: \"forward\", onClick: handleOnClick }) })] }));\n};\nconst ShortcutLinkStyled = styled('div')(({ theme }) => {\n let styles = {};\n styles = Object.assign(Object.assign({}, styles), { display: 'flex', alignItems: 'center', justifyContent: 'space-between', a: {\n textDecoration: 'none',\n }, button: {\n paddingLeft: '0',\n }, '.text-wrapper': {\n paddingTop: '20px',\n paddingBottom: '6px',\n }, span: {\n display: 'block',\n }, '> .sa-i': {\n display: 'none',\n }, h4: {\n marginTop: '0',\n letterSpacing: '0.4px',\n }, '.body': {\n letterSpacing: '0.4px',\n }, '.sl-icon': {\n fontSize: '32px',\n }, [theme.breakpoints.down('md')]: {\n h4: {\n marginBottom: '2px',\n fontSize: '16px',\n lineHeight: '24px',\n letterSpacing: '0.2px',\n },\n '.body': {\n letterSpacing: '0.2px',\n lineHeight: '16px',\n fontSize: '12px',\n },\n }, [theme.breakpoints.up('md')]: {\n flexDirection: 'column',\n alignItems: 'flex-start',\n '> .sa-i': {\n display: 'block',\n },\n h4: {\n marginBottom: '0',\n },\n } });\n return styles;\n});\n//# sourceMappingURL=shortcutLink.js.map"],"names":["ShortcutLinkStyled","styled","theme","styles","Object","assign","display","alignItems","justifyContent","a","textDecoration","button","paddingLeft","paddingTop","paddingBottom","span","h4","marginTop","letterSpacing","fontSize","breakpoints","down","marginBottom","lineHeight","up","flexDirection","iconName","title","subTitle","linkLabel","linkURL","isExternalLink","analyticsCallback","handleOnClick","useCallback","e","_jsxs","jsxs","children","_jsx","jsx","Icon","name","className","href","target","rel","Button","variant","ButtonVariants","NAVIGATION","label","direction","onClick"],"mappings":"kNAMY,MAMNA,2BAAqBC,OAAO,MAAPA,EAAc,EAAGC,YACxC,IAAIC,EAAS,CAAA,EAyCb,OAxCAA,EAASC,OAAOC,OAAOD,OAAOC,OAAO,CAAE,EAAEF,GAAS,CAAEG,QAAS,OAAQC,WAAY,SAAUC,eAAgB,gBAAiBC,EAAG,CACvHC,eAAgB,QACjBC,OAAQ,CACPC,YAAa,KACd,gBAAiB,CAChBC,WAAY,OACZC,cAAe,OAChBC,KAAM,CACLT,QAAS,SACV,UAAW,CACVA,QAAS,QACVU,GAAI,CACHC,UAAW,IACXC,cAAe,SAChB,QAAS,CACRA,cAAe,SAChB,WAAY,CACXC,SAAU,QACX,CAACjB,EAAMkB,YAAYC,KAAK,OAAQ,CAC/BL,GAAI,CACAM,aAAc,MACdH,SAAU,OACVI,WAAY,OACZL,cAAe,SAEnB,QAAS,CACLA,cAAe,QACfK,WAAY,OACZJ,SAAU,SAEf,CAACjB,EAAMkB,YAAYI,GAAG,OAAQ,CAC7BC,cAAe,SACflB,WAAY,aACZ,UAAW,CACPD,QAAS,SAEbU,GAAI,CACAM,aAAc,QAGnBnB,CAAM,yBAhDW,EAAGuB,WAAUC,QAAOC,WAAUC,YAAWC,UAASC,iBAAgBC,wBAC1F,MAAMC,EAAgBC,eAAaC,IAC/BH,GAAqBA,EAAkBG,EAAE,GAC1C,CAACH,IACJ,OAAQI,EAAKC,KAACrC,EAAoB,CAAEsC,SAAU,CAACC,EAAIC,IAACC,EAAIA,KAAE,CAAEC,KAAMhB,EAAUiB,UAAW,UAAWxB,SAAU,UAAYiB,EAAAA,KAAM,MAAO,CAAEO,UAAW,eAAgBL,SAAU,CAACC,EAAIC,IAAC,KAAM,CAAEF,SAAUX,IAAUY,EAAAA,IAAK,OAAQ,CAAEI,UAAW,OAAQL,SAAUV,OAAiBW,EAAIC,IAAC,IAAK,CAAEI,KAAMd,EAASe,OAAQd,EAAiB,SAAW,QAASe,IAAK,aAAcR,SAAUC,EAAAA,IAAKQ,EAAAA,OAAQ,CAAEC,QAASC,EAAcA,eAACC,WAAYC,MAAOtB,EAAWuB,UAAW,UAAWC,QAASpB,QAAyB"}
1
+ {"version":3,"file":"shortcutLink.js","sources":["../../../../../src/organisms/shortcutLink/shortcutLink.tsx"],"sourcesContent":[null],"names":["ShortcutLinkStyled","styled","theme","styles","display","alignItems","justifyContent","a","textDecoration","button","paddingLeft","paddingTop","paddingBottom","span","h4","marginTop","letterSpacing","fontSize","breakpoints","down","marginBottom","lineHeight","up","flexDirection","iconName","title","subTitle","linkLabel","linkURL","isExternalLink","analyticsCallback","handleOnClick","useCallback","e","_jsxs","jsxs","children","_jsx","jsx","Icon","name","className","href","target","rel","Button","variant","ButtonVariants","NAVIGATION","label","direction","onClick"],"mappings":"wNA8CMA,2BAAqBC,OAAO,MAAPA,EAAc,EAAGC,YAC1C,IAAIC,EAAS,CAAA,EAyDb,OAvDAA,iCACKA,GAAM,CACTC,QAAS,OACTC,WAAY,SACZC,eAAgB,gBAChBC,EAAG,CACDC,eAAgB,QAElBC,OAAQ,CACNC,YAAa,KAEf,gBAAiB,CACfC,WAAY,OACZC,cAAe,OAEjBC,KAAM,CACJT,QAAS,SAEX,UAAW,CACTA,QAAS,QAEXU,GAAI,CACFC,UAAW,IACXC,cAAe,SAEjB,QAAS,CACPA,cAAe,SAEjB,WAAY,CACVC,SAAU,QAEZ,CAACf,EAAMgB,YAAYC,KAAK,OAAQ,CAC9BL,GAAI,CACFM,aAAc,MACdH,SAAU,OACVI,WAAY,OACZL,cAAe,SAEjB,QAAS,CACPA,cAAe,QACfK,WAAY,OACZJ,SAAU,SAGd,CAACf,EAAMgB,YAAYI,GAAG,OAAQ,CAC5BC,cAAe,SACflB,WAAY,aACZ,UAAW,CACTD,QAAS,SAEXU,GAAI,CACFM,aAAc,QAIbjB,CAAM,yBAxFa,EAC1BqB,WACAC,QACAC,WACAC,YACAC,UACAC,iBACAC,wBAEA,MAAMC,EAAgBC,eACnBC,IACCH,GAAqBA,EAAkBG,EAAE,GAE3C,CAACH,IAGH,OACEI,EAACC,KAAAnC,EACC,CAAAoC,SAAA,CAAAC,EAAAC,IAACC,EAAIA,KAAC,CAAAC,KAAMhB,EAAUiB,UAAU,UAAUxB,SAAS,UACnDiB,EAAAA,KAAA,MAAA,CAAKO,UAAU,yBACbJ,EAAKC,IAAA,KAAA,CAAAF,SAAAX,IACLY,EAAAA,IAAA,OAAA,CAAMI,UAAU,OAAQL,SAAAV,OAE1BW,WAAGK,KAAMd,EAASe,OAAQd,EAAiB,SAAW,QAASe,IAAI,aACjER,SAAAC,EAAAA,IAACQ,EAAAA,OAAO,CAAAC,QAASC,EAAcA,eAACC,WAAYC,MAAOtB,EAAWuB,UAAU,UAAUC,QAASpB,QAG/F"}
@@ -1 +1 @@
1
- {"version":3,"file":"textCta.js","sources":["../../../../src/organisms/textCta/textCta.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { useCallback, forwardRef } from 'react';\nimport { styled } from '@mui/material/styles';\nimport { Label } from '../../components/label';\nimport { List, ListItem, Typography } from '@mui/material';\nimport { Button } from '../../components/button';\nimport { Icon } from '../../components/icon';\n/**\n * @description SkodaFlow Button component.\n * Properties are inherited from HTML Button element.\n * @param props ButtonProps\n * @returns React Functional Component\n * @deprecated\n */\nexport const TextCta = forwardRef((_a, ref) => {\n var { label, headlineTitle, text, showFirstButton = false, showSecondButton = false, onClickFirstBtn, onClickSecondBtn, firstButtonProps, secondButtonProps, listItems, showAppStore = false, showPlayStore = false, appStoreProps, playStoreProps } = _a, props = __rest(_a, [\"label\", \"headlineTitle\", \"text\", \"showFirstButton\", \"showSecondButton\", \"onClickFirstBtn\", \"onClickSecondBtn\", \"firstButtonProps\", \"secondButtonProps\", \"listItems\", \"showAppStore\", \"showPlayStore\", \"appStoreProps\", \"playStoreProps\"]);\n const handleUrlClick = useCallback((url) => {\n window.open(url, '_blank');\n }, []);\n const handleOnClickBtn = useCallback((e, callback, url) => {\n if (url) {\n handleUrlClick(url);\n }\n callback && callback(e);\n }, [handleUrlClick]);\n const handleRenderBtn = useCallback((btnProps, onClickHandler) => {\n const propsA = Object.assign(Object.assign({}, btnProps), { url: btnProps.url || null });\n return _jsx(Button, Object.assign({}, propsA, { onClick: (e) => handleOnClickBtn(e, onClickHandler, propsA.url) }));\n }, [handleOnClickBtn]);\n return (_jsxs(TextCtaContainerStyled, Object.assign({ ref: ref, listItems: listItems }, props, { children: [label && _jsx(Label, { label: label }), headlineTitle && (_jsx(\"div\", { className: \"headlineContainer\", children: _jsx(Typography, { className: \"textCtaHeadline\", children: headlineTitle }) })), text && _jsx(\"p\", { className: `textCtaText ${showPlayStore && 'isPlayStore'}`, children: text }), listItems && listItems.length > 0 && (_jsx(List, { className: \"textCtaList\", children: listItems.map((item, index) => {\n return (_jsxs(ListItem, { children: [_jsx(Icon, { name: item.icon || 'check' }), item.text] }, 'text-cta-list-item' + index));\n }) })), _jsxs(\"div\", { className: \"textCtaBtnGroup\", children: [(!showAppStore || !showPlayStore) && (_jsxs(_Fragment, { children: [showFirstButton && handleRenderBtn(firstButtonProps, onClickFirstBtn), showSecondButton && handleRenderBtn(secondButtonProps, onClickSecondBtn)] })), (!showFirstButton || !showSecondButton) && (_jsxs(_Fragment, { children: [showAppStore && (_jsx(\"span\", { className: \"appStoreBadge\", onClick: () => handleUrlClick(appStoreProps.url), children: _jsx(\"img\", { src: appStoreProps.img, alt: appStoreProps.alt }) })), showPlayStore && (_jsx(\"span\", { className: \"playStoreBadge\", dangerouslySetInnerHTML: { __html: playStoreProps } }))] }))] })] })));\n});\n//Set the correct font and lineheight depending on the prop variant passed\nconst getHeadlineStyle = (headlineVariant) => {\n switch (headlineVariant) {\n case 'h1':\n return {\n fontSize: '44px',\n lineHeight: '52px',\n };\n case 'h2':\n return {\n fontSize: '36px',\n lineHeight: '44px',\n };\n case 'h3':\n return {\n fontSize: '30px',\n lineHeight: '36px',\n };\n case 'h4':\n return {\n fontSize: '24px',\n lineHeight: '28px',\n };\n default:\n return {\n fontSize: '18px',\n lineHeight: '28px',\n };\n }\n};\n/**\n * @description Button styling defintion based on props\n */\nconst TextCtaContainerStyled = styled('div', {\n shouldForwardProp: (prop) => prop !== 'listItems' && prop !== 'headlineVariant',\n})((_a) => {\n var { theme } = _a, args = __rest(_a, [\"theme\"]);\n let styles = {};\n styles = {\n '& > span': {\n margin: 0,\n },\n '& > div.headlineContainer': {\n marginBottom: '10px',\n marginTop: '5px',\n '& > .textCtaHeadline': Object.assign({ fontWeight: 'bold' }, getHeadlineStyle(args.headlineVariant)),\n },\n '& > div.subheadlineContainer': {\n marginBottom: '10px',\n '& > .textCtaSubheadline': {\n fontWeight: 'bold',\n fontSize: '18px',\n lineHeight: '28px',\n },\n },\n '& > .textCtaList': {\n marginBottom: '10px',\n },\n '& > .textCtaText': {\n fontSize: '18px',\n lineHeight: '28px',\n margin: '12px 0 16px 0',\n '&.isPlayStore': {\n marginBottom: '2px',\n },\n },\n '& > div.textCtaBtnGroup': {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n flexWrap: 'wrap',\n '& > div': {\n [theme.breakpoints.down('sm')]: {\n width: '100%',\n },\n },\n '& > .appStoreBadge': {\n cursor: 'pointer',\n marginRight: '8px',\n '& > img': {\n height: '40px',\n },\n },\n '& > .playStoreBadge': {\n cursor: 'pointer',\n '& img': {\n maxWidth: '153px',\n },\n },\n '& .MuiButton-root': {\n paddingLeft: '16px',\n paddingRight: '16px',\n paddingBottom: '2px',\n fontSize: '14px',\n minWidth: '93px',\n height: '32px',\n [theme.breakpoints.down('sm')]: {\n height: '44px',\n width: '100%',\n },\n },\n '& .MuiButton-root:first-of-type': {\n marginRight: '16px',\n marginBottom: 0,\n [theme.breakpoints.down('sm')]: {\n marginBottom: '16px',\n },\n },\n },\n ' & > .MuiList-root': {\n padding: '0px',\n '& > .MuiListItem-root': {\n padding: '0px 0px 6px 0px',\n '& > .MuiIcon-root': {\n width: '20px',\n height: '24px',\n fontSize: '14px',\n },\n },\n },\n };\n return styles;\n});\n//# sourceMappingURL=textCta.js.map"],"names":["TextCta","forwardRef","_a","ref","label","headlineTitle","text","showFirstButton","showSecondButton","onClickFirstBtn","onClickSecondBtn","firstButtonProps","secondButtonProps","listItems","showAppStore","showPlayStore","appStoreProps","playStoreProps","props","__rest","handleUrlClick","useCallback","url","window","open","handleOnClickBtn","e","callback","handleRenderBtn","btnProps","onClickHandler","propsA","Object","assign","_jsx","Button","onClick","_jsxs","jsxs","TextCtaContainerStyled","children","jsx","Label","className","Typography","length","List","map","item","index","ListItem","Icon","name","icon","_Fragment","Fragment","src","img","alt","dangerouslySetInnerHTML","__html","getHeadlineStyle","headlineVariant","fontSize","lineHeight","styled","shouldForwardProp","prop","theme","args","styles","margin","marginBottom","marginTop","fontWeight","display","alignItems","justifyContent","flexWrap","breakpoints","down","width","cursor","marginRight","height","maxWidth","paddingLeft","paddingRight","paddingBottom","minWidth","padding"],"mappings":"+UAeY,MAACA,EAAUC,EAAUA,YAAC,CAACC,EAAIC,KACnC,IAAMC,MAAAA,EAAKC,cAAEA,EAAaC,KAAEA,EAAIC,gBAAEA,GAAkB,EAAKC,iBAAEA,GAAmB,EAAKC,gBAAEA,E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uBAAwBzC,OAAOC,OAAO,CAAEyC,WAAY,QAAUb,EAAiBQ,EAAKP,mBAExF,+BAAgC,CAC5BU,aAAc,OACd,0BAA2B,CACvBE,WAAY,OACZX,SAAU,OACVC,WAAY,SAGpB,mBAAoB,CAChBQ,aAAc,QAElB,mBAAoB,CAChBT,SAAU,OACVC,WAAY,OACZO,OAAQ,gBACR,gBAAiB,CACbC,aAAc,QAGtB,0BAA2B,CACvBG,QAAS,OACTC,WAAY,SACZC,eAAgB,aAChBC,SAAU,OACV,UAAW,CACP,CAACV,EAAMW,YAAYC,KAAK,OAAQ,CAC5BC,MAAO,SAGf,qBAAsB,CAClBC,OAAQ,UACRC,YAAa,MACb,UAAW,CACPC,OAAQ,SAGhB,sBAAuB,CACnBF,OAAQ,UACR,QAAS,CACLG,SAAU,UAGlB,oBAAqB,CACjBC,YAAa,OACbC,aAAc,OACdC,cAAe,MACfzB,SAAU,OACV0B,SAAU,OACVL,OAAQ,OACR,CAAChB,EAAMW,YAAYC,KAAK,OAAQ,CAC5BI,OAAQ,OACRH,MAAO,SAGf,kCAAmC,CAC/BE,YAAa,OACbX,aAAc,EACd,CAACJ,EAAMW,YAAYC,KAAK,OAAQ,CAC5BR,aAAc,UAI1B,qBAAsB,CAClBkB,QAAS,MACT,wBAAyB,CACrBA,QAAS,kBACT,oBAAqB,CACjBT,MAAO,OACPG,OAAQ,OACRrB,SAAU,WAKnBO,CAAM"}
1
+ {"version":3,"file":"textCta.js","sources":["../../../../../src/organisms/textCta/textCta.tsx"],"sourcesContent":[null],"names":["TextCta","forwardRef","_a","ref","label","headlineTitle","text","showFirstButton","showSecondButton","onClickFirstBtn","onClickSecondBtn","firstButtonProps","secondButtonProps","listItems","showAppStore","showPlayStore","appStoreProps","playStoreProps","props","__rest","handleUrlClick","useCallback","url","window","open","handleOnClickBtn","e","callback","handleRenderBtn","btnProps","onClickHandler","propsA","Object","assign","_jsx","Button","onClick","_jsxs","jsxs","TextCtaContainerStyled","Label","className","children","Typography","length","List","map","item","index","ListItem","Icon","name","icon","_Fragment","Fragment","jsx","src","img","alt","dangerouslySetInnerHTML","__html","getHeadlineStyle","headlineVariant","fontSize","lineHeight","styled","shouldForwardProp","prop","theme","args","styles","margin","marginBottom","marginTop","fontWeight","display","alignItems","justifyContent","flexWrap","breakpoints","down","width","cursor","marginRight","height","maxWidth","paddingLeft","paddingRight","paddingBottom","minWidth","padding"],"mappings":"+UAkGa,MAAAA,EAAUC,EAAUA,YAC/B,CACEC,EAiBAC,KAjBA,IACEC,MAAAA,EAAKC,cACLA,EAAaC,KACbA,EAAIC,gBACJA,GAAkB,EAAKC,iBACvBA,GAAmB,EAAKC,gBACxBA,EAAeC,iBACfA,EAAgBC,iBAChBA,EAAgBC,kBAChBA,EAAiBC,UACjBA,EAASC,aACTA,GAAe,EAAKC,cACpBA,GAAgB,EAAKC,cACrBA,EAAaC,eACbA,GAAcf,EACXgB,EAAKC,EAAAA,OAAAjB,EAfV,+NAmBA,MAAMkB,EAAiBC,eAAaC,IAClCC,OAAOC,KAAKF,EAAK,SAAS,GACzB,IAEGG,EAAmBJ,EAAWA,aAClC,CAACK,EAAYC,EAAgCL,KACvCA,GACFF,EAAeE,GAEjBK,GAAYA,EAASD,EAAE,GAEzB,CAACN,IAGGQ,EAAkBP,EAAAA,aACtB,CAACQ,EAA0CC,KACzC,MAAMC,EAAMC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACPJ,GAAQ,CACXP,IAAKO,EAASP,KAAO,OAEvB,OAAOY,EAAAA,IAACC,EAAAA,OAAWH,OAAAC,OAAA,CAAA,EAAAF,GAAQK,QAAUV,GAAMD,EAAiBC,EAAGI,EAAgBC,EAAOT,OAAQ,GAEhG,CAACG,IAGH,OACEY,EAACC,KAAAC,EAAuBP,OAAAC,OAAA,CAAA9B,IAAKA,EAAKU,UAAWA,GAAeK,aACzDd,GAAS8B,MAACM,QAAK,CAACpC,MAAOA,IACvBC,GACC6B,aAAKO,UAAU,oBAAmBC,SAChCR,EA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D,EAAAA,OAAAjB,EAAhB,WAChB,IAAIoE,EAAS,CAAA,EA0Fb,OAxFAA,EAAS,CACP,WAAY,CACVC,OAAQ,GAEV,4BAA6B,CAC3BC,aAAc,OACdC,UAAW,MACX,uBAAsBzC,OAAAC,OAAA,CACpByC,WAAY,QACTb,EAAiBQ,EAAKP,mBAG7B,+BAAgC,CAC9BU,aAAc,OACd,0BAA2B,CACzBE,WAAY,OACZX,SAAU,OACVC,WAAY,SAGhB,mBAAoB,CAClBQ,aAAc,QAEhB,mBAAoB,CAClBT,SAAU,OACVC,WAAY,OACZO,OAAQ,gBACR,gBAAiB,CACfC,aAAc,QAGlB,0BAA2B,CACzBG,QAAS,OACTC,WAAY,SACZC,eAAgB,aAChBC,SAAU,OACV,UAAW,CACT,CAACV,EAAMW,YAAYC,KAAK,OAAQ,CAC9BC,MAAO,SAGX,qBAAsB,CACpBC,OAAQ,UACRC,YAAa,MACb,UAAW,CACTC,OAAQ,SAGZ,sBAAuB,CACrBF,OAAQ,UACR,QAAS,CACPG,SAAU,UAGd,oBAAqB,CACnBC,YAAa,OACbC,aAAc,OACdC,cAAe,MACfzB,SAAU,OACV0B,SAAU,OACVL,OAAQ,OACR,CAAChB,EAAMW,YAAYC,KAAK,OAAQ,CAC9BI,OAAQ,OACRH,MAAO,SAGX,kCAAmC,CACjCE,YAAa,OACbX,aAAc,EACd,CAACJ,EAAMW,YAAYC,KAAK,OAAQ,CAC9BR,aAAc,UAIpB,qBAAsB,CACpBkB,QAAS,MACT,wBAAyB,CACvBA,QAAS,kBAET,oBAAqB,CACnBT,MAAO,OACPG,OAAQ,OACRrB,SAAU,WAMXO,CAAM"}
@@ -1 +1 @@
1
- {"version":3,"file":"tile.js","sources":["../../../../src/organisms/tile/tile.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useState } from 'react';\nimport styled from '@emotion/styled';\nimport { Label } from '../../components/label';\nimport { LabelFeature } from '../../components/labelFeature';\nimport { LabelPromotional } from '../../components/labelPromotional';\nimport { Divider } from '../../components/divider';\nimport MenuCardComponent from '../common/menuCardComponent/menuCardComponent';\nimport { handleMaxChars } from '../../utils/utilities';\nimport ImageComponent from '../../components/common/imageComponent';\nimport { paletteLight as flowColors } from '../../design/skoda/paletteLight.theme';\n/**\n * @description SkodaFlow CardPhotoFixed component.\n * Properties are inherited from HTML Div element.\n * @param props CardPhotoFixedProps\n * @returns React Functional Component\n * @deprecated\n */\nexport const Tile = (_a) => {\n var { tileContentPinned = 'top', isBorderRadius = true, promotionalVariant = 'large' } = _a, props = __rest(_a, [\"tileContentPinned\", \"isBorderRadius\", \"promotionalVariant\"]);\n const [isMouseOver, setIsMouseOver] = useState(false);\n const handleMouseEnter = () => {\n if (!isMouseOver) {\n setIsMouseOver(true);\n }\n };\n const handleMouseLeave = () => {\n setIsMouseOver(false);\n };\n const tileImageElement = (_jsx(\"div\", { className: \"tileImage\", children: props.tileImageURLOnHover && isMouseOver ? (_jsx(ImageComponent, { image: props.tileImageURLOnHover, alt: props.tileAltImage }, 'imageUrl_onHover')) : (_jsx(ImageComponent, { image: props.tileImageURL, alt: props.tileAltImage, fallbackImage: props.tileImageURLFallback }, 'imageUrl')) }));\n const pricingElement = (_jsxs(\"div\", { className: \"tilePriceWrapper\", children: [props.tilePriceTotal && _jsx(\"span\", { className: \"disclaimer tilePriceTotal\", children: props.tilePriceTotal }), props.tilePriceTotal && props.tilePriceMonth && _jsx(Divider, { orientation: \"vertical\", flexItem: true }), props.tilePriceMonth && _jsx(\"span\", { className: \"disclaimer tilePriceMonth\", children: props.tilePriceMonth })] }));\n return (_jsx(TileStyled, { promotionalLabel: props.promotionalLabel, isBorderRadius: isBorderRadius, tileContentPinned: tileContentPinned, children: _jsxs(\"div\", { className: \"tileWrapper\", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: [props.isMenuDropdown && (_jsx(\"div\", { className: \"tileDropdownMenu\", onMouseEnter: () => setIsMouseOver(false), onMouseLeave: () => setIsMouseOver(true), children: _jsx(MenuCardComponent, Object.assign({}, props.menuCardComponentProps)) })), props.promotionalLabel && (_jsx(\"div\", { className: \"tilePromotionalLabel\", children: _jsx(LabelPromotional, { variant: promotionalVariant, label: handleMaxChars(props.promotionalLabel, 30) }) })), tileContentPinned === 'bottom' && tileImageElement, _jsxs(\"div\", { className: \"tileContent\", children: [props.generalLabel && (_jsx(\"div\", { className: \"tileGeneralLabel\", children: _jsx(Label, { label: handleMaxChars(props.generalLabel, 30) }) })), _jsx(\"h4\", { className: \"tileTitle\", children: handleMaxChars(props.title, 20) }), props.featureLabel && (_jsx(\"div\", { className: \"tileFeatureLabel\", children: _jsx(LabelFeature, { variant: props.featureLabelVariant, label: handleMaxChars(props.featureLabel, 30) }) })), tileContentPinned === 'bottom' && pricingElement] }), tileContentPinned === 'top' && tileImageElement, tileContentPinned === 'top' && pricingElement] }) }));\n};\nTile.defaultProps = {\n isBorderRadius: true,\n promotionalVariant: 'large',\n};\nconst TileStyled = styled('div')((_a) => {\n var { theme } = _a, args = __rest(_a, [\"theme\"]);\n let styles = {};\n const { tileContentPinned, promotionalLabel, isBorderRadius } = args;\n styles = {\n height: '100%',\n '& .tileWrapper, & .tileWrapper *': {\n boxSizing: 'border-box',\n },\n '& .tileWrapper': {\n position: 'relative',\n borderRadius: isBorderRadius ? '8px' : 0,\n height: '100%',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n backgroundColor: flowColors.surface.primary,\n padding: '0 0 24px 0',\n border: `1px solid ${flowColors.surface.secondary}`,\n },\n '& .tileDropdownMenu': {\n position: 'absolute',\n right: 0,\n top: 0,\n '.menuCardComponent': {\n top: 0,\n right: 0,\n width: '58px',\n height: '58px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n },\n '& .tileContent': {\n paddingTop: promotionalLabel ? '40px' : '16px',\n },\n '& .tilePromotionalLabel': {\n width: '100%',\n maxWidth: 'calc(100% - 64px)',\n position: 'absolute',\n top: '0',\n left: '0',\n },\n '& .tileGeneralLabel': {\n padding: '0 24px',\n marginBottom: '0',\n position: 'relative',\n zIndex: '1',\n '& span': {\n margin: '0',\n },\n },\n '& .tileTitle': {\n margin: '0 0 6px 0',\n padding: '0 24px',\n position: 'relative',\n zIndex: '1',\n },\n '& .tileFeatureLabel': {\n margin: '0',\n padding: '0 24px',\n position: 'relative',\n zIndex: '1',\n '& span': {\n margin: '0',\n },\n },\n '& .tileImage': {\n height: '176px',\n marginTop: tileContentPinned === 'top' ? '-32px' : '16px',\n marginBottom: tileContentPinned === 'bottom' ? '-32px' : '0',\n [theme.breakpoints.up('md')]: {\n height: '200px',\n },\n [theme.breakpoints.up('lg')]: {\n height: '186px',\n },\n [theme.breakpoints.up('xl')]: {\n height: '265px',\n },\n '& img': {\n position: 'relative',\n zIndex: '0',\n objectFit: 'contain',\n objectPosition: 'center',\n display: 'block',\n height: '100%',\n width: '100%',\n },\n },\n '& .tilePriceWrapper': {\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n width: '100%',\n padding: '0 24px',\n marginTop: tileContentPinned === 'bottom' ? '8px' : '0',\n '& .tilePriceTotal': {\n fontWeight: 'bold',\n },\n '& hr': {\n margin: '0 8px',\n borderColor: flowColors.transparent.secondary,\n },\n },\n };\n return styles;\n});\n//# sourceMappingURL=tile.js.map"],"names":["Tile","_a","tileContentPinned","isBorderRadius","promotionalVariant","props","__rest","isMouseOver","setIsMouseOver","useState","tileImageElement","_jsx","className","children","tileImageURLOnHover","jsx","ImageComponent","image","alt","tileAltImage","tileImageURL","fallbackImage","tileImageURLFallback","pricingElement","_jsxs","jsxs","tilePriceTotal","tilePriceMonth","Divider","orientation","flexItem","TileStyled","promotionalLabel","onMouseEnter","onMouseLeave","isMenuDropdown","MenuCardComponent","default","Object","assign","menuCardComponentProps","LabelPromotional","variant","label","handleMaxChars","generalLabel","Label","title","featureLabel","LabelFeature","featureLabelVariant","defaultProps","styled","theme","args","styles","height","boxSizing","position","borderRadius","display","flexDirection","justifyContent","backgroundColor","flowColors","surface","primary","padding","border","paletteLight","secondary","right","top","width","alignItems","paddingTop","maxWidth","left","marginBottom","zIndex","margin","marginTop","breakpoints","up","objectFit","objectPosition","flexWrap","fontWeight","borderColor","transparent"],"mappings":"8lBAmBY,MAACA,EAAQC,IACjB,IAAIC,kBAAEA,EAAoB,MAAKC,eAAEA,GAAiB,EAAIC,mBAAEA,EAAqB,SAAYH,EAAII,EAAQC,EAAMA,OAACL,EAAI,CAAC,oBAAqB,iBAAkB,uBACxJ,MAAOM,EAAaC,GAAkBC,EAAQA,UAAC,GASzCC,EAAoBC,EAAAA,IAAK,MAAO,CAAEC,UAAW,YAAaC,SAAUR,EAAMS,qBAAuBP,EAAeI,EAAII,IAACC,UAAgB,CAAEC,MAAOZ,EAAMS,oBAAqBI,IAAKb,EAAMc,cAAgB,oBAAwBR,MAAKK,EAAAA,QAAgB,CAAEC,MAAOZ,EAAMe,aAAcF,IAAKb,EAAMc,aAAcE,cAAehB,EAAMiB,sBAAwB,cACpVC,EAAkBC,EAAKC,KAAC,MAAO,CAAEb,UAAW,mBAAoBC,SAAU,CAACR,EAAMqB,gBAAkBf,EAAII,IAAC,OAAQ,CAAEH,UAAW,4BAA6BC,SAAUR,EAAMqB,iBAAmBrB,EAAMqB,gBAAkBrB,EAAMsB,gBAAkBhB,EAAII,IAACa,UAAS,CAAEC,YAAa,WAAYC,UAAU,IAASzB,EAAMsB,gBAAkBhB,EAAII,IAAC,OAAQ,CAAEH,UAAW,4BAA6BC,SAAUR,EAAMsB,oBAC9Y,OAAQhB,EAAAA,IAAKoB,EAAY,CAAEC,iBAAkB3B,EAAM2B,iBAAkB7B,eAAgBA,EAAgBD,kBAAmBA,EAAmBW,SAAUW,EAAAA,KAAM,MAAO,CAAEZ,UAAW,cAAeqB,aAVrK,KAChB1B,GACDC,GAAe,EAClB,EAOyN0B,aALrM,KACrB1B,GAAe,EAAM,EAIqOK,SAAU,CAACR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C,WAAtB/E,EAAiC,MAAQ,IACpD,oBAAqB,CACjBqF,WAAY,QAEhB,OAAQ,CACJP,OAAQ,QACRQ,YAAaxB,EAAAA,aAAWyB,YAAYnB,aAIzCf,CAAM"}
1
+ {"version":3,"file":"tile.js","sources":["../../../../../src/organisms/tile/tile.tsx"],"sourcesContent":[null],"names":["Tile","_a","tileContentPinned","isBorderRadius","promotionalVariant","props","__rest","isMouseOver","setIsMouseOver","useState","tileImageElement","_jsx","className","children","tileImageURLOnHover","jsx","ImageComponent","image","alt","tileAltImage","tileImageURL","fallbackImage","tileImageURLFallback","pricingElement","_jsxs","jsxs","tilePriceTotal","tilePriceMonth","Divider","orientation","flexItem","TileStyled","promotionalLabel","onMouseEnter","onMouseLeave","isMenuDropdown","MenuCardComponent","default","Object","assign","menuCardComponentProps","LabelPromotional","variant","label","handleMaxChars","generalLabel","Label","title","featureLabel","LabelFeature","featureLabelVariant","defaultProps","styled","theme","args","styles","height","boxSizing","position","borderRadius","display","flexDirection","justifyContent","backgroundColor","flowColors","surface","primary","padding","border","paletteLight","secondary","right","top","width","alignItems","paddingTop","maxWidth","left","marginBottom","zIndex","margin","marginTop","breakpoints","up","objectFit","objectPosition","flexWrap","fontWeight","borderColor","transparent"],"mappings":"8lBAkGa,MAAAA,EAAuBC,IAAA,IAAAC,kBAClCA,EAAoB,MAAKC,eACzBA,GAAiB,EAAIC,mBACrBA,EAAqB,SAEtBH,EADII,EAAKC,EAAAA,OAAAL,EAJ0B,6DAMlC,MAAOM,EAAaC,GAAkBC,EAAQA,UAAC,GAWzCC,EACJC,EAAAA,IAAA,MAAA,CAAKC,UAAU,YAAWC,SACvBR,EAAMS,qBAAuBP,EAC5BI,EAACI,IAAAC,UAAwC,CAAAC,MAAOZ,EAAMS,oBAAqBI,IAAKb,EAAMc,cAAjE,oBAErBR,MAACK,EAAAA,QAAc,CAEbC,MAAOZ,EAAMe,aACbF,IAAKb,EAAMc,aACXE,cAAehB,EAAMiB,sBAHhB,cAQPC,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Z,eAAgB,CACdxB,OAAQ,QACRyB,UAAiC,QAAtB/E,EAA8B,QAAU,OACnD4E,aAAoC,WAAtB5E,EAAiC,QAAU,IACzD,CAACmD,EAAM6B,YAAYC,GAAG,OAAQ,CAC5B3B,OAAQ,SAEV,CAACH,EAAM6B,YAAYC,GAAG,OAAQ,CAC5B3B,OAAQ,SAEV,CAACH,EAAM6B,YAAYC,GAAG,OAAQ,CAC5B3B,OAAQ,SAEV,QAAS,CACPE,SAAU,WACVqB,OAAQ,IACRK,UAAW,UACXC,eAAgB,SAChBzB,QAAS,QACTJ,OAAQ,OACRiB,MAAO,SAGX,sBAAuB,CACrBb,QAAS,OACTC,cAAe,MACfyB,SAAU,OACVb,MAAO,OACPN,QAAS,SACTc,UAAiC,WAAtB/E,EAAiC,MAAQ,IACpD,oBAAqB,CACnBqF,WAAY,QAEd,OAAQ,CACNP,OAAQ,QACRQ,YAAaxB,EAAAA,aAAWyB,YAAYnB,aAKnCf,CAAM"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../../../src/production/Button/Button.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport MuiButton from '@mui/material/Button';\nimport { styled } from '@mui/material/styles';\nimport { keyframes } from '@mui/system';\nconst greenBlink = keyframes `\n 0% { background-color: #43861D; }\n 50% { background-color: #96DC6F; }\n 100% {background-color: #43861D; }\n`;\nconst orangeBlink = keyframes `\n 0% { background-color: #DE7C13; }\n 50% { background-color: #F2B879; }\n 100% {background-color: #DE7C13; }\n`;\nconst redBlink = keyframes `\n 0% { background-color: #CE332A; }\n 50% { background-color: #EC908B; }\n 100% {background-color: #CE332A; }\n`;\nconst blueBlink = keyframes `\n 0% { background-color: #2A78CD; }\n 50% { background-color: #80B1E5; }\n 100% {background-color: #2A78CD; }\n`;\nconst whiteBlink = keyframes `\n 0% { background-color: #fff; }\n 50% { background-color: #D8D8D8; }\n 100% {background-color: #fff; }\n`;\nconst darkBlink = keyframes `\n 0% { border-color: #161718; }\n 50% { border-color: #D8D8D8; }\n 100% {border-color: #161718; }\n`;\nconst lightBlink = keyframes `\n0% { border-color: #eee; }\n50% { border-color: #454546; }\n100% {border-color: #eee; }\n`;\nconst disabledBlink = keyframes `\n 0% { background-color: #D8D8D8; }\n 50% { background-color: #EEEEEE; }\n 100% {background-color: #D8D8D8; }\n`;\nconst ButtonBase = (_a) => {\n var { blinking, variant } = _a, props = __rest(_a, [\"blinking\", \"variant\"]);\n return (_jsx(MuiButton, Object.assign({}, props, { disableElevation: true, disableRipple: true, disableFocusRipple: true })));\n};\n// eslint-disable-next-line sonarjs/cognitive-complexity\nexport const Button = styled(ButtonBase)(({ theme, variant = 'success', blinking, disabled }) => (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ minWidth: '150px', color: theme.palette.common.white }, (variant === 'success' && Object.assign({ backgroundColor: '#43861D', '&:hover': {\n backgroundColor: '#55a628',\n } }, (blinking && {\n animation: `${greenBlink} 1s infinite ${theme.transitions.easing.easeInOut}`,\n})))), (variant === 'warning' && Object.assign({ backgroundColor: '#DE7C13', '&:hover': {\n backgroundColor: '#df8f38',\n } }, (blinking && {\n animation: `${orangeBlink} 1s infinite ${theme.transitions.easing.easeInOut}`,\n})))), (variant === 'alert' && Object.assign({ backgroundColor: '#CE332A', '&:hover': {\n backgroundColor: '#d84a42',\n } }, (blinking && {\n animation: `${redBlink} 1s infinite ${theme.transitions.easing.easeInOut}`,\n})))), (variant === 'info' && Object.assign({ backgroundColor: '#2A78CD', '&:hover': {\n backgroundColor: '#4a8fdb',\n } }, (blinking && {\n animation: `${blueBlink} 1s infinite ${theme.transitions.easing.easeInOut}`,\n})))), (variant === 'white' && Object.assign({ backgroundColor: theme.palette.common.white, color: theme.palette.text.primary, '&:hover': {\n backgroundColor: '#e1e1e1',\n }, border: `2px solid ${theme.palette.text.primary}` }, (blinking && {\n animation: `${whiteBlink} 1s infinite ${theme.transitions.easing.easeInOut}`,\n})))), (variant === 'dark' && Object.assign({ backgroundColor: 'transparent', border: `2px solid #161718`, color: theme.palette.text.primary }, (blinking && {\n animation: `${darkBlink} 1s infinite ${theme.transitions.easing.easeInOut}`,\n})))), (variant === 'light' && Object.assign({ backgroundColor: 'transparent', border: `2px solid ${theme.palette.common.white}` }, (blinking && {\n animation: `${lightBlink} 1s infinite ${theme.transitions.easing.easeInOut}`,\n})))), (disabled && Object.assign({ backgroundColor: '#D8D8D8', color: theme.palette.action.disabled, borderColor: theme.palette.action.disabled }, (blinking && {\n animation: `${disabledBlink} 1s infinite ${theme.transitions.easing.easeInOut}`,\n}))))));\n//# sourceMappingURL=Button.js.map"],"names":["greenBlink","keyframes","orangeBlink","redBlink","blueBlink","whiteBlink","darkBlink","lightBlink","disabledBlink","Button","styled","_a","props","__rest","_jsx","MuiButton","Object","assign","disableElevation","disableRipple","disableFocusRipple","theme","variant","blinking","disabled","minWidth","color","palette","common","white","backgroundColor","animation","transitions","easing","easeInOut","text","primary","border","action","borderColor"],"mappings":"8NAKA,MAAMA,EAAaC,EAASA,SAAC;;;;EAKvBC,EAAcD,EAASA,SAAC;;;;EAKxBE,EAAWF,EAASA,SAAC;;;;EAKrBG,EAAYH,EAASA,SAAC;;;;EAKtBI,EAAaJ,EAASA,SAAC;;;;EAKvBK,EAAYL,EAASA,SAAC;;;;EAKtBM,EAAaN,EAASA,SAAC;;;;EAKvBO,EAAgBP,EAASA,SAAC;;;;EAUnBQ,EAASC,EAAAA,QALFC,IACb,IAA6BC,EAAQC,EAAAA,OAAOF,EAAI,CAAC,WAAY,YAChE,OAAQG,EAAAA,IAAKC,EAAAA,QAAWC,OAAOC,OAAO,CAAA,EAAIL,EAAO,CAAEM,kBAAkB,EAAMC,eAAe,EAAMC,oBAAoB,IAAU,GAG5GV,EAAmB,EAAGW,QAAOC,UAAU,UAAWC,WAAUC,cAAgBR,OAAOC,OAAOD,OAAOC,OAAOD,OAAOC,OAAOD,OAAOC,OAAOD,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AC7IQ,UAAW,GAAGxB,iBAA0Bc,EAAMW,YAAYC,OAAOC,eAC7DV,GAAYR,OAAOC,OAAO,CAAEa,gBAAiB,UAAWJ,MAAOL,EAAMM,QAAQW,OAAOd,SAAUe,YAAalB,EAAMM,QAAQW,OAAOd,UAAaD,GAAY,CAC7JQ,UAAW,GAAGvB,iBAA6Ba,EAAMW,YAAYC,OAAOC"}
1
+ {"version":3,"file":"Button.js","sources":["../../../../../src/production/Button/Button.tsx"],"sourcesContent":[null],"names":["greenBlink","keyframes","orangeBlink","redBlink","blueBlink","whiteBlink","darkBlink","lightBlink","disabledBlink","Button","styled","_a","props","__rest","_jsx","MuiButton","Object","assign","disableElevation","disableRipple","disableFocusRipple","theme","variant","blinking","disabled","minWidth","color","palette","common","white","backgroundColor","animation","transitions","easing","easeInOut","text","primary","border","action","borderColor"],"mappings":"8NAKA,MAAMA,EAAaC,EAASA,SAAA;;;;EAKtBC,EAAcD,EAASA,SAAA;;;;EAKvBE,EAAWF,EAASA,SAAA;;;;EAKpBG,EAAYH,EAASA,SAAA;;;;EAKrBI,EAAaJ,EAASA,SAAA;;;;EAKtBK,EAAYL,EAASA,SAAA;;;;EAKrBM,EAAaN,EAASA,SAAA;;;;EAKtBO,EAAgBP,EAASA,SAAA;;;;EAmBlBQ,EAASC,EAAAA,QALqBC,QAAwBC,EAAKC,EAAAA,OAAAF,EAA7B,wBAAoC,OAC7EG,EAAAA,IAACC,EAAAA,QAASC,OAAAC,OAAA,CAAA,EAAKL,EAAK,CAAEM,kBAAgB,EAACC,eAAa,EAACC,oBAAkB,IACxE,GAGqBV,EAAgC,EAAGW,QAAOC,UAAU,UAAWC,WAAUC,+HAC7FC,SAAU,QACVC,MAAOL,EAAMM,QAAQC,OAAOC,OAEZ,YAAZP,GAAqBN,OAAAC,OAAA,CACvBa,gBAAiB,UACjB,UAAW,CACTA,gBAAiB,YAEfP,GAAY,CACdQ,UAAW,GAAG/B,iBAA0BqB,EAAMW,YAAYC,OAAOC,eA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":3,"file":"ResponsiveType.js","sources":["../../../src/utils/ResponsiveType.ts"],"sourcesContent":["import { useMemo } from 'react';\nexport function useResponsiveProp(prop) {\n return useMemo(() => {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;\n if (typeof prop === 'object') {\n return {\n xl: prop.xl,\n lg: (_a = prop.lg) !== null && _a !== void 0 ? _a : prop.xl,\n md: (_c = (_b = prop.md) !== null && _b !== void 0 ? _b : prop.lg) !== null && _c !== void 0 ? _c : prop.xl,\n sm: (_f = (_e = (_d = prop.sm) !== null && _d !== void 0 ? _d : prop.md) !== null && _e !== void 0 ? _e : prop.lg) !== null && _f !== void 0 ? _f : prop.xl,\n xs: (_k = (_j = (_h = (_g = prop.xs) !== null && _g !== void 0 ? _g : prop.sm) !== null && _h !== void 0 ? _h : prop.md) !== null && _j !== void 0 ? _j : prop.lg) !== null && _k !== void 0 ? _k : prop.xl,\n };\n }\n if (prop === undefined) {\n return undefined;\n }\n return {\n xl: prop,\n lg: prop,\n md: prop,\n sm: prop,\n xs: prop,\n };\n }, [prop]);\n}\n//# sourceMappingURL=ResponsiveType.js.map"],"names":["prop","useMemo","_a","_b","_c","_d","_e","_f","_g","_h","_j","_k","xl","lg","md","sm","xs","undefined"],"mappings":"8DACO,SAA2BA,GAC9B,OAAOC,EAAOA,SAAC,KACX,IAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EACxC,MAAoB,iBAATX,EACA,CACHY,GAAIZ,EAAKY,GACTC,GAAuB,QAAlBX,EAAKF,EAAKa,UAAuB,IAAPX,EAAgBA,EAAKF,EAAKY,GACzDE,GAAuE,QAAlEV,EAAwB,QAAlBD,EAAKH,EAAKc,UAAuB,IAAPX,EAAgBA,EAAKH,EAAKa,UAAuB,IAAPT,EAAgBA,EAAKJ,EAAKY,GACzGG,GAAuH,QAAlHR,EAAwE,QAAlED,EAAwB,QAAlBD,EAAKL,EAAKe,UAAuB,IAAPV,EAAgBA,EAAKL,EAAKc,UAAuB,IAAPR,EAAgBA,EAAKN,EAAKa,UAAuB,IAAPN,EAAgBA,EAAKP,EAAKY,GACzJI,GAAuK,QAAlKL,EAAwH,QAAlHD,EAAwE,QAAlED,EAAwB,QAAlBD,EAAKR,EAAKgB,UAAuB,IAAPR,EAAgBA,EAAKR,EAAKe,UAAuB,IAAPN,EAAgBA,EAAKT,EAAKc,UAAuB,IAAPJ,EAAgBA,EAAKV,EAAKa,UAAuB,IAAPF,EAAgBA,EAAKX,EAAKY,SAGpMK,IAATjB,EAGG,CACHY,GAAIZ,EACJa,GAAIb,EACJc,GAAId,EACJe,GAAIf,EACJgB,GAAIhB,QARR,CASC,GACF,CAACA,GACR"}
1
+ {"version":3,"file":"ResponsiveType.js","sources":["../../../../src/utils/ResponsiveType.ts"],"sourcesContent":[null],"names":["prop","useMemo","xl","lg","_a","md","_c","_b","sm","_f","_e","_d","xs","_j","_h","_g","_k","undefined"],"mappings":"8DAYM,SAAuDA,GAC3D,OAAOC,EAAOA,SAAC,6BACb,MAAoB,iBAATD,EACF,CACLE,GAAIF,EAAKE,GACTC,GAAe,UAAXH,EAAKG,UAAM,IAAAC,EAAAA,EAAAJ,EAAKE,GACpBG,GAA0B,QAAtBC,EAAW,QAAXC,EAAAP,EAAKK,UAAM,IAAAE,EAAAA,EAAAP,EAAKG,UAAM,IAAAG,EAAAA,EAAAN,EAAKE,GAC/BM,GAAqC,QAAjCC,UAAAC,EAAW,UAAXV,EAAKQ,UAAM,IAAAG,EAAAA,EAAAX,EAAKK,kBAAML,EAAKG,UAAM,IAAAM,EAAAA,EAAAT,EAAKE,GAC1CU,GAA4C,UAAP,QAAjCC,EAAsB,QAAtBC,EAAO,UAAPd,EAAKY,UAAE,IAAAG,EAAAA,EAAIf,EAAKQ,UAAM,IAAAM,EAAAA,EAAAd,EAAKK,UAAM,IAAAQ,EAAAA,EAAAb,EAAKG,UAAE,IAAAa,EAAAA,EAAIhB,EAAKE,SAG5Ce,IAATjB,EAGG,CACLE,GAAIF,EACJG,GAAIH,EACJK,GAAIL,EACJQ,GAAIR,EACJY,GAAIZ,QARN,CASC,GACA,CAACA,GACN"}
@@ -1 +1 @@
1
- {"version":3,"file":"enum.js","sources":["../../../src/utils/enum.tsx"],"sourcesContent":["export var NumberingColors;\n(function (NumberingColors) {\n NumberingColors[\"LIGHT\"] = \"light\";\n NumberingColors[\"DARK\"] = \"dark\";\n})(NumberingColors || (NumberingColors = {}));\nexport var NumberingSizes;\n(function (NumberingSizes) {\n NumberingSizes[\"SMALL\"] = \"small\";\n NumberingSizes[\"LARGE\"] = \"large\";\n})(NumberingSizes || (NumberingSizes = {}));\nexport var Placement;\n(function (Placement) {\n Placement[\"AUTO_END\"] = \"auto-end\";\n Placement[\"AUTO_START\"] = \"auto-start\";\n Placement[\"AUTO\"] = \"auto\";\n Placement[\"BOTTOM_END\"] = \"bottom-end\";\n Placement[\"BOTTOM_START\"] = \"bottom-start\";\n Placement[\"BOTTOM\"] = \"bottom\";\n Placement[\"LEFT_END\"] = \"left-end\";\n Placement[\"LEFT_START\"] = \"left-start\";\n Placement[\"LEFT\"] = \"left\";\n Placement[\"RIGHT_END\"] = \"right-end\";\n Placement[\"RIGHT_START\"] = \"right-start\";\n Placement[\"RIGHT\"] = \"right\";\n Placement[\"TOP_END\"] = \"top-end\";\n Placement[\"TOP_START\"] = \"top-start\";\n Placement[\"TOP\"] = \"top\";\n})(Placement || (Placement = {}));\nexport var VariantType;\n(function (VariantType) {\n VariantType[\"PRIMARY\"] = \"primary\";\n VariantType[\"SECONDARY\"] = \"secondary\";\n VariantType[\"TERTIARY\"] = \"tertiary\";\n VariantType[\"NEUTRAL\"] = \"neutral\";\n})(VariantType || (VariantType = {}));\nexport var ColourSheme;\n(function (ColourSheme) {\n ColourSheme[\"DARK_MODE\"] = \"dark\";\n ColourSheme[\"LIGHT_MODE\"] = \"white\";\n})(ColourSheme || (ColourSheme = {}));\n//# sourceMappingURL=enum.js.map"],"names":["NumberingColors","NumberingSizes","Placement","VariantType","ColourSheme"],"mappings":"aACA,IAAWA,EAKAC,EAKAC,EAkBAC,EAOAC,EApCAJ,QAAgBA,qBAAA,GAChBA,EAGRA,0BAAoBA,QAAAA,gBAAkB,CAAE,IAFhB,MAAI,QAC3BA,EAAsB,KAAI,OAEnBC,QAAeA,oBAAA,GACfA,EAGRA,yBAAmBA,QAAAA,eAAiB,CAAE,IAFf,MAAI,QAC1BA,EAAsB,MAAI,QAEnBC,QAAUA,eAAA,GACVA,EAgBRA,oBAAcA,QAAAA,UAAY,CAAE,IAfP,SAAI,WACxBA,EAAsB,WAAI,aAC1BA,EAAgB,KAAI,OACpBA,EAAsB,WAAI,aAC1BA,EAAwB,aAAI,eAC5BA,EAAkB,OAAI,SACtBA,EAAoB,SAAI,WACxBA,EAAsB,WAAI,aAC1BA,EAAgB,KAAI,OACpBA,EAAqB,UAAI,YACzBA,EAAuB,YAAI,cAC3BA,EAAiB,MAAI,QACrBA,EAAmB,QAAI,UACvBA,EAAqB,UAAI,YACzBA,EAAe,IAAI,MAEZC,QAAYA,iBAAA,GACZA,EAKRA,sBAAgBA,QAAAA,YAAc,CAAE,IAJV,QAAI,UACzBA,EAAuB,UAAI,YAC3BA,EAAsB,SAAI,WAC1BA,EAAqB,QAAI,UAElBC,QAAYA,iBAAA,GACZA,EAGRA,QAAWA,cAAKA,oBAAc,CAAA,IAFN,UAAI,OAC3BA,EAAwB,WAAI"}
1
+ {"version":3,"file":"enum.js","sources":["../../../../src/utils/enum.tsx"],"sourcesContent":[null],"names":["NumberingColors","NumberingSizes","Placement","VariantType","ColourSheme"],"mappings":"aAAA,IAAYA,EAKAC,EAKAC,EAkBAC,EAMAC,EAlCAJ,QAGXA,qBAAA,GAHWA,EAAAA,0BAAAA,QAAAA,gBAGX,CAAA,IAFC,MAAA,QACAA,EAAA,KAAA,OAGUC,QAGXA,oBAAA,GAHWA,EAAAA,yBAAAA,QAAAA,eAGX,CAAA,IAFC,MAAA,QACAA,EAAA,MAAA,QAGUC,QAgBXA,eAAA,GAhBWA,EAAAA,oBAAAA,QAAAA,UAgBX,CAAA,IAfC,SAAA,WACAA,EAAA,WAAA,aACAA,EAAA,KAAA,OACAA,EAAA,WAAA,aACAA,EAAA,aAAA,eACAA,EAAA,OAAA,SACAA,EAAA,SAAA,WACAA,EAAA,WAAA,aACAA,EAAA,KAAA,OACAA,EAAA,UAAA,YACAA,EAAA,YAAA,cACAA,EAAA,MAAA,QACAA,EAAA,QAAA,UACAA,EAAA,UAAA,YACAA,EAAA,IAAA,MAGUC,QAKXA,iBAAA,GALWA,EAAAA,sBAAAA,QAAAA,YAKX,CAAA,IAJC,QAAA,UACAA,EAAA,UAAA,YACAA,EAAA,SAAA,WACAA,EAAA,QAAA,UAEUC,QAGXA,iBAAA,GAHWA,EAAAA,QAAWA,cAAXA,oBAGX,CAAA,IAFC,UAAA,OACAA,EAAA,WAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"formatFileSize.js","sources":["../../../../src/utils/formatFileSize/formatFileSize.ts"],"sourcesContent":["/**\n * Format bytes as human-readable text.\n * NOTE: Kudos to https://stackoverflow.com/users/65387/mpen for providing this function\n *\n * @param bytes Size in bytes\n * @param si Switch between metric (SI) units (powers of 1000) or binary (IEC) units (powers of 1024)\n * @param dp Number of decimal places to display.\n *\n * @return Formatted string.\n */\nexport function formatFileSize(bytes, dp = 1, si = false) {\n const thresh = si ? 1000 : 1024;\n if (Math.abs(bytes) < thresh) {\n return bytes + ' B';\n }\n const units = si\n ? ['kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']\n : ['KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'];\n let u = -1;\n const r = 10 ** dp;\n do {\n bytes /= thresh;\n ++u;\n } while (Math.round(Math.abs(bytes) * r) / r >= thresh && u < units.length - 1);\n return bytes.toFixed(dp) + ' ' + units[u];\n}\n//# sourceMappingURL=formatFileSize.js.map"],"names":["bytes","dp","si","thresh","Math","abs","units","u","r","round","length","toFixed"],"mappings":"oCAUO,SAAwBA,EAAOC,EAAK,EAAGC,GAAK,GAC/C,MAAMC,EAASD,EAAK,IAAO,KAC3B,GAAIE,KAAKC,IAAIL,GAASG,EAClB,OAAOH,EAAQ,KAEnB,MAAMM,EAAQJ,EACR,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,MAC3C,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,OACxD,IAAIK,GAAK,EACT,MAAMC,EAAI,IAAMP,EAChB,GACID,GAASG,IACPI,QACGH,KAAKK,MAAML,KAAKC,IAAIL,GAASQ,GAAKA,GAAKL,GAAUI,EAAID,EAAMI,OAAS,GAC7E,OAAOV,EAAMW,QAAQV,GAAM,IAAMK,EAAMC,EAC3C"}
1
+ {"version":3,"file":"formatFileSize.js","sources":["../../../../../src/utils/formatFileSize/formatFileSize.ts"],"sourcesContent":[null],"names":["bytes","dp","si","thresh","Math","abs","units","u","r","round","length","toFixed"],"mappings":"oCAUM,SAAyBA,EAAeC,EAAa,EAAGC,GAAc,GAC1E,MAAMC,EAASD,EAAK,IAAO,KAE3B,GAAIE,KAAKC,IAAIL,GAASG,EACpB,OAAOH,EAAQ,KAGjB,MAAMM,EAAQJ,EACV,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,MAC3C,CAAC,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,MAAO,OACtD,IAAIK,GAAK,EACT,MAAMC,EAAI,IAAMP,EAEhB,GACED,GAASG,IACPI,QACKH,KAAKK,MAAML,KAAKC,IAAIL,GAASQ,GAAKA,GAAKL,GAAUI,EAAID,EAAMI,OAAS,GAE7E,OAAOV,EAAMW,QAAQV,GAAM,IAAMK,EAAMC,EACzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useClosure.js","sources":["../../../../src/utils/useClosure/useClosure.ts"],"sourcesContent":["import { useCallback, useState } from 'react';\n/**\n * @description This is custom hook that should simplify work with `isOpen` state and `toggle`, `open` and `close` actions. It can be used with components like Modals or Drawer. Using it will reduces boilerplate code needed for those operations.\n * @param {boolean} initiallyOpen - default isOpen value\n * @deprecated function to be removed, you can write your own function with `const [isOpen, setOpen] = useState(false);`\n */\nexport const useClosure = (initiallyOpen) => {\n const [isOpen, setOpen] = useState(initiallyOpen !== null && initiallyOpen !== void 0 ? initiallyOpen : false);\n const onToggle = useCallback(() => setOpen(!isOpen), [isOpen, setOpen]);\n const onOpen = useCallback(() => setOpen(true), [setOpen]);\n const onClose = useCallback(() => setOpen(false), [setOpen]);\n return {\n isOpen,\n setOpen,\n onToggle,\n onOpen,\n onClose,\n };\n};\n//# sourceMappingURL=useClosure.js.map"],"names":["initiallyOpen","isOpen","setOpen","useState","onToggle","useCallback","onOpen","onClose"],"mappings":"uDAM2BA,IACvB,MAAOC,EAAQC,GAAWC,EAAQA,SAACH,SAAqDA,GAClFI,EAAWC,eAAY,IAAMH,GAASD,IAAS,CAACA,EAAQC,IACxDI,EAASD,EAAAA,aAAY,IAAMH,GAAQ,IAAO,CAACA,IAC3CK,EAAUF,EAAAA,aAAY,IAAMH,GAAQ,IAAQ,CAACA,IACnD,MAAO,CACHD,SACAC,UACAE,WACAE,SACAC,UACH"}
1
+ {"version":3,"file":"useClosure.js","sources":["../../../../../src/utils/useClosure/useClosure.ts"],"sourcesContent":[null],"names":["initiallyOpen","isOpen","setOpen","useState","onToggle","useCallback","onOpen","onClose"],"mappings":"uDAO2BA,IACzB,MAAOC,EAAQC,GAAWC,EAAQA,SAACH,SAAAA,GAE7BI,EAAWC,eAAY,IAAMH,GAASD,IAAS,CAACA,EAAQC,IACxDI,EAASD,EAAAA,aAAY,IAAMH,GAAQ,IAAO,CAACA,IAC3CK,EAAUF,EAAAA,aAAY,IAAMH,GAAQ,IAAQ,CAACA,IAEnD,MAAO,CACLD,SACAC,UACAE,WACAE,SACAC,UACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFeatureFlag.js","sources":["../../../../src/utils/useFeatureFlag/useFeatureFlag.tsx"],"sourcesContent":["import { useMemo } from 'react';\n/**\n * Returns allowed or disabled state of the feature based on the feature flag\n *\n * @param {string} featureFlag - shortcut name of the feature flag in .env,\n * e.g. 'DARK_MODE' which translates to 'VITE_FEATURE_FLAG_DARK_MODE'\n * @returns {boolean} allowed state of the feature\n */\nexport function evaluateFeatureFlag(featureFlag) {\n try {\n // check if feature is active or not\n const featureFlagValue = process.env[`SKODAFLOW_FEATURE_FLAG_${featureFlag}`];\n return `${featureFlagValue}` === 'true';\n }\n catch (_a) {\n return false;\n }\n}\n/**\n * Component that renders or not renders content based on the featureFlag\n *\n * @param {string} featureFlag - shortcut name of the feature flag in .env,\n * e.g. 'DARK_MODE' which translates to 'VITE_FEATURE_FLAG_DARK_MODE'\n * @param children - content\n */\nexport function FeatureFlagBlock({ children, featureFlag }) {\n const featureFlagEnabled = useFeatureFlag(featureFlag);\n return featureFlagEnabled ? children : null;\n}\n/**\n * Returns cached allowed or disabled state of the feature based on the feature flag\n * @param {string} featureFlag - shortcut name of the feature flag in .env,\n * e.g. 'DARK_MODE' which translates to 'VITE_FEATURE_FLAG_DARK_MODE'\n */\nexport default function useFeatureFlag(featureFlag) {\n return useMemo(() => evaluateFeatureFlag(featureFlag), [featureFlag]);\n}\n//# sourceMappingURL=useFeatureFlag.js.map"],"names":["featureFlag","process","env","_a"],"mappings":"0DAQO,SAA6BA,GAChC,IAGI,MAAiC,QAA1B,GADkBC,QAAQC,IAAI,0BAA0BF,MAElE,CACD,MAAOG,GACH,OAAO,CACV,CACL"}
1
+ {"version":3,"file":"useFeatureFlag.js","sources":["../../../../../src/utils/useFeatureFlag/useFeatureFlag.tsx"],"sourcesContent":[null],"names":["featureFlag","process","env","_a"],"mappings":"0DASM,SAA8BA,GAClC,IAGE,MAAiC,QAA1B,GADkBC,QAAQC,IAAI,0BAA0BF,MAEhE,CAAC,MAAAG,GACA,OAAO,CACR,CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"useKeyboardShortcut.js","sources":["../../../../src/utils/useKeyboardShortcut/useKeyboardShortcut.ts"],"sourcesContent":["import { useEffect } from 'react';\n/**\n * Monitor press of the key on the keyboard and do action assigned to it\n *\n * @param {object} keys_and_actions - object containing keys and assigned actions to them,\n * e.g. {Escape: handleClose}\n * @param {array} deps - useEffect dependencies\n */\nexport default function useKeyboardShortcut(keys_and_actions, deps = []) {\n useEffect(() => {\n const downHandler = (e) => {\n // iterate through all keys and assigned actions\n Object.entries(keys_and_actions).forEach(([key, action]) => {\n // if key is pressed, trigger action\n if (e.key === key && action) {\n action();\n }\n });\n };\n window.addEventListener('keydown', downHandler);\n // cleanup\n return () => {\n window.removeEventListener('keydown', downHandler);\n };\n }, [...deps]);\n}\n//# sourceMappingURL=useKeyboardShortcut.js.map"],"names":["keys_and_actions","deps","useEffect","downHandler","e","Object","entries","forEach","key","action","window","addEventListener","removeEventListener"],"mappings":"2GAQe,SAA6BA,EAAkBC,EAAO,IACjEC,EAAAA,WAAU,KACN,MAAMC,EAAeC,IAEjBC,OAAOC,QAAQN,GAAkBO,SAAQ,EAAEC,EAAKC,MAExCL,EAAEI,MAAQA,GAAOC,GACjBA,GACH,GACH,EAIN,OAFAC,OAAOC,iBAAiB,UAAWR,GAE5B,KACHO,OAAOE,oBAAoB,UAAWT,EAAY,CACrD,GACF,IAAIF,GACX"}
1
+ {"version":3,"file":"useKeyboardShortcut.js","sources":["../../../../../src/utils/useKeyboardShortcut/useKeyboardShortcut.ts"],"sourcesContent":[null],"names":["keys_and_actions","deps","useEffect","downHandler","e","Object","entries","forEach","key","action","window","addEventListener","removeEventListener"],"mappings":"2GASwB,SACtBA,EACAC,EAAuB,IAEvBC,EAAAA,WAAU,KACR,MAAMC,EAAeC,IAEnBC,OAAOC,QAAQN,GAAkBO,SAAQ,EAAEC,EAAKC,MAE1CL,EAAEI,MAAQA,GAAOC,GACnBA,GACD,GACD,EAKJ,OAFAC,OAAOC,iBAAiB,UAAWR,GAE5B,KACLO,OAAOE,oBAAoB,UAAWT,EAAY,CACnD,GACA,IAAIF,GACT"}
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.js","sources":["../../../src/utils/utilities.ts"],"sourcesContent":["import { createElement } from 'react';\n/**\n * This method is needed if we need to trunc text inside an HTML element.\n * We get all the nodes inside of it and trunc its content accordingly.\n * @param text\n * @param maxChar\n */\nfunction handleMaxCharsInHTML(text, maxChar) {\n const isHtml = RegExp.prototype.test.bind(/(<([^>]+)>)/i);\n if (isHtml(text)) {\n const parser = new DOMParser();\n const docChildren = parser.parseFromString(text, 'text/html').body;\n const editNodes = (nodeList, idx = 0, remainingCharacters = maxChar) => {\n const node = nodeList.item(idx);\n if (node !== null) {\n if (remainingCharacters <= 0) {\n return nodeList;\n }\n node.textContent = handleMaxChars(node.textContent, remainingCharacters);\n return editNodes(nodeList, idx + 1, remainingCharacters - node.textContent.length);\n }\n else\n return nodeList;\n };\n editNodes(docChildren.childNodes.item(0).childNodes);\n return createElement('div', {\n dangerouslySetInnerHTML: {\n __html: docChildren.innerHTML.toString(),\n },\n });\n }\n return handleMaxChars(text, maxChar);\n}\nfunction handleMaxChars(text, maxChar) {\n return text.length > maxChar ? `${text.substring(0, maxChar)}...` : text;\n}\nfunction opacityLayerSwitchLightStatement(property, returnProps) {\n switch (property) {\n case 'opacity25':\n return `${returnProps}: linear-gradient(269.68deg, rgba(255, 255, 255, 0) 0.28%, rgba(255, 255, 255, 0.25) 99.72%);`;\n case 'opacity50':\n return `${returnProps}: linear-gradient(269.68deg, rgba(255, 255, 255, 0) 0.28%, rgba(255, 255, 255, 0.5) 99.72%);`;\n case 'opacity75':\n return `${returnProps}: linear-gradient(269.68deg, rgba(255, 255, 255, 0) 0.28%, rgba(255, 255, 255, 0.75) 99.72%);`;\n default:\n return '';\n }\n}\nfunction opacityLayerSwitchDarkStatement(property, returnProps) {\n switch (property) {\n case 'opacity25':\n return `${returnProps}: linear-gradient(269.68deg, rgba(0, 0, 0, 0) 0.28%, rgba(0, 0, 0, 0.25) 99.72%);`;\n case 'opacity50':\n return `${returnProps}: linear-gradient(269.68deg, rgba(0, 0, 0, 0) 0.28%, rgba(0, 0, 0, 0.5) 99.72%);`;\n case 'opacity75':\n return `${returnProps}: linear-gradient(269.68deg, rgba(0, 0, 0, 0) 0.28%, rgba(0, 0, 0, 0.75) 99.72%);`;\n default:\n return '';\n }\n}\nexport { handleMaxChars, handleMaxCharsInHTML, opacityLayerSwitchLightStatement, opacityLayerSwitchDarkStatement };\nexport const ternaryCondition = (props, value, trueValue, falseValue) => {\n if (props === value) {\n return trueValue;\n }\n else {\n return falseValue;\n }\n};\n//# sourceMappingURL=utilities.js.map"],"names":["handleMaxChars","text","maxChar","length","substring","RegExp","prototype","test","bind","isHtml","docChildren","DOMParser","parseFromString","body","editNodes","nodeList","idx","remainingCharacters","node","item","textContent","childNodes","createElement","dangerouslySetInnerHTML","__html","innerHTML","toString","property","returnProps","props","value","trueValue","falseValue"],"mappings":"oCAiCA,SAASA,EAAeC,EAAMC,GAC1B,OAAOD,EAAKE,OAASD,EAAU,GAAGD,EAAKG,UAAU,EAAGF,QAAgBD,CACxE,uDA5BA,SAA8BA,EAAMC,GAEhC,GADeG,OAAOC,UAAUC,KAAKC,KAAK,eACtCC,CAAOR,GAAO,CACd,MACMS,GADS,IAAIC,WACQC,gBAAgBX,EAAM,aAAaY,KACxDC,EAAY,CAACC,EAAUC,EAAM,EAAGC,EAAsBf,KACxD,MAAMgB,EAAOH,EAASI,KAAKH,GAC3B,OAAa,OAATE,EACID,GAAuB,EAChBF,GAEXG,EAAKE,YAAcpB,EAAekB,EAAKE,YAAaH,GAC7CH,EAAUC,EAAUC,EAAM,EAAGC,EAAsBC,EAAKE,YAAYjB,SAGpEY,CAAQ,EAGvB,OADAD,EAAUJ,EAAYW,WAAWF,KAAK,GAAGE,YAClCC,EAAAA,cAAc,MAAO,CACxBC,wBAAyB,CACrBC,OAAQd,EAAYe,UAAUC,aAGzC,CACD,OAAO1B,EAAeC,EAAMC,EAChC,0CAgBA,SAAyCyB,EAAUC,GAC/C,OAAQD,GACJ,IAAK,YACD,MAAO,GAAGC,qFACd,IAAK,YACD,MAAO,GAAGA,oFACd,IAAK,YACD,MAAO,GAAGA,qFACd,QACI,MAAO,GAEnB,2CAvBA,SAA0CD,EAAUC,GAChD,OAAQD,GACJ,IAAK,YACD,MAAO,GAAGC,iGACd,IAAK,YACD,MAAO,GAAGA,gGACd,IAAK,YACD,MAAO,GAAGA,iGACd,QACI,MAAO,GAEnB,2BAcgC,CAACC,EAAOC,EAAOC,EAAWC,IAClDH,IAAUC,EACHC,EAGAC"}
1
+ {"version":3,"file":"utilities.js","sources":["../../../../src/utils/utilities.ts"],"sourcesContent":[null],"names":["handleMaxChars","text","maxChar","length","substring","RegExp","prototype","test","bind","isHtml","docChildren","DOMParser","parseFromString","body","editNodes","nodeList","idx","remainingCharacters","node","item","textContent","childNodes","createElement","dangerouslySetInnerHTML","__html","innerHTML","toString","property","returnProps","props","value","trueValue","falseValue"],"mappings":"oCAyCA,SAASA,EAAeC,EAAcC,GACpC,OAAOD,EAAKE,OAASD,EAAU,GAAGD,EAAKG,UAAU,EAAGF,QAAgBD,CACtE,uDAnCA,SAA8BA,EAAcC,GAE1C,GADeG,OAAOC,UAAUC,KAAKC,KAAK,eACtCC,CAAOR,GAAO,CAChB,MACMS,GADS,IAAIC,WACQC,gBAAgBX,EAAM,aAAaY,KACxDC,EAAY,CAChBC,EACAC,EAAM,EACNC,EAAsBf,KAEtB,MAAMgB,EAAOH,EAASI,KAAKH,GAC3B,OAAa,OAATE,EACED,GAAuB,EAClBF,GAETG,EAAKE,YAAcpB,EAAekB,EAAKE,YAAaH,GAE7CH,EAAUC,EAAUC,EAAM,EAAGC,EAAsBC,EAAKE,YAAYjB,SAC/DY,CAAQ,EAKxB,OAFAD,EAAUJ,EAAYW,WAAWF,KAAK,GAAGE,YAElCC,EAAAA,cAAc,MAAO,CAC1BC,wBAAyB,CACvBC,OAAQd,EAAYe,UAAUC,aAGnC,CAED,OAAO1B,EAAeC,EAAMC,EAC9B,0CAkBA,SAAyCyB,EAAmBC,GAC1D,OAAQD,GACN,IAAK,YACH,MAAO,GAAGC,qFACZ,IAAK,YACH,MAAO,GAAGA,oFACZ,IAAK,YACH,MAAO,GAAGA,qFACZ,QACE,MAAO,GAEb,2CAvBA,SAA0CD,EAAmBC,GAC3D,OAAQD,GACN,IAAK,YACH,MAAO,GAAGC,iGACZ,IAAK,YACH,MAAO,GAAGA,gGACZ,IAAK,YACH,MAAO,GAAGA,iGACZ,QACE,MAAO,GAEb,2BAegC,CAACC,EAAgBC,EAAgBC,EAAoBC,IAC/EH,IAAUC,EACLC,EAEAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.js","sources":["../../../src/components/accordion/accordion.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { createElement as _createElement } from \"react\";\nimport { AccordionDetails, AccordionSummary, Box, IconButton } from '@mui/material';\nimport MuiAccordion from '@mui/material/Accordion';\nimport { styled } from '@mui/material/styles';\nimport { forwardRef, useCallback, useEffect, useMemo, useRef, useState, } from 'react';\nimport { handleMaxChars } from '../../utils/utilities';\nimport { Icon } from '../icon';\nexport const Accordion = forwardRef((_a, ref) => {\n var { items, onChange, disableAnimation, accordionContainerProps, accordionPanelMaxHeight, allowMultipleExpand } = _a, props = __rest(_a, [\"items\", \"onChange\", \"disableAnimation\", \"accordionContainerProps\", \"accordionPanelMaxHeight\", \"allowMultipleExpand\"]);\n const [expand, setExpanded] = useState(false);\n const controlRef = useRef(null);\n useEffect(() => {\n if (!allowMultipleExpand) {\n let id;\n const firstDefaultExpandedItem = items.find((item, index) => {\n if (item.isDefaultExpanded) {\n id = index;\n return item;\n }\n return undefined;\n });\n if (firstDefaultExpandedItem) {\n setExpanded(firstDefaultExpandedItem.id || `panel${id}`);\n }\n }\n else {\n const expandItems = {};\n for (let index = 0; index < items.length; index++) {\n const itemId = items[index].id || `panel${index}`;\n expandItems[itemId] = !!items[index].isDefaultExpanded;\n }\n setExpanded(() => expandItems);\n }\n }, [allowMultipleExpand, items]);\n //disable black rounded circle on icon controller click\n useEffect(() => {\n if (controlRef && controlRef.current) {\n const controlBtn = controlRef.current.querySelector('button');\n if (controlBtn) {\n controlBtn.addEventListener('focusin', (e) => {\n e.preventDefault();\n });\n }\n }\n }, [controlRef]);\n const handleChange = useCallback((panel) => (_, isExpanded) => {\n onChange && onChange(panel, isExpanded);\n if (!allowMultipleExpand) {\n setExpanded(isExpanded ? panel : false);\n }\n else {\n setExpanded((curr) => {\n return Object.assign(Object.assign({}, curr), { [panel]: isExpanded });\n });\n }\n }, [allowMultipleExpand, onChange]);\n const handlePreviewContent = useCallback((content) => {\n if (typeof content === 'string')\n return handleMaxChars(content, 100);\n return content;\n }, []);\n const getTransitionProps = useMemo(() => {\n if (disableAnimation)\n return { timeout: 0 };\n else\n return props.TransitionProps;\n }, [disableAnimation, props.TransitionProps]);\n return (_jsx(Box, Object.assign({ ref: ref }, accordionContainerProps, { \"data-testid\": \"Accordion\", children: items.map((item, index) => {\n const panel = item.id || `panel${index}`;\n const isExpanded = allowMultipleExpand ? !!expand[panel] : expand === panel;\n const isContentTypeString = typeof item.content === 'string';\n return (_createElement(AccordionStyled, Object.assign({}, props, { id: panel, key: panel, className: panel, TransitionProps: getTransitionProps, expanded: isExpanded, onChange: handleChange(panel), isContentTypeString: isContentTypeString, disableGutters: true, accordionPanelMaxHeight: accordionPanelMaxHeight, square: true, \"data-testid\": \"Accordion.item\" }),\n _jsxs(AccordionSummary, { className: \"subheadline\", \"aria-controls\": `${panel}d-content`, id: `${panel}d-header`, expandIcon: _jsx(IconButton, { ref: controlRef, \"data-testid\": \"Accordion.btn\", sx: { color: (theme) => theme.palette.text.primary }, children: _jsx(Icon, { color: \"inherit\", name: \"chevron-down\" }) }), \"data-testid\": \"Accordion.summary\", children: [_jsx(\"div\", { className: \"accordion-panel-title\", children: item.title }), props.previewContent && isContentTypeString && !isExpanded && (_jsx(\"div\", { className: \"accordion-panel-title--sneak-peak\", \"data-testid\": \"Accordion.peek\", children: handlePreviewContent(item.content) }))] }),\n _jsx(AccordionDetails, { \"data-testid\": \"Accordion.content\", children: _jsx(\"div\", { className: \"text\", children: item.content }) })));\n }) })));\n});\nconst AccordionStyled = styled(MuiAccordion, {\n shouldForwardProp: (prop) => prop !== 'previewContent' &&\n prop !== 'expandIcon' &&\n prop !== 'isContentTypeString' &&\n prop !== 'accordionPanelMaxHeight',\n})((_a) => {\n var { theme } = _a, args = __rest(_a, [\"theme\"]);\n let style = {};\n if (args.accordionPanelMaxHeight) {\n style = Object.assign(Object.assign({}, style), { '& .text': {\n maxHeight: args.accordionPanelMaxHeight,\n overflowY: 'auto',\n } });\n }\n return style;\n});\n//# sourceMappingURL=accordion.js.map"],"names":["Accordion","forwardRef","_a","ref","items","onChange","disableAnimation","accordionContainerProps","accordionPanelMaxHeight","allowMultipleExpand","props","__rest","expand","setExpanded","useState","controlRef","useRef","useEffect","expandItems","index","length","itemId","id","isDefaultExpanded","firstDefaultExpandedItem","find","item","current","controlBtn","querySelector","addEventListener","e","preventDefault","handleChange","useCallback","panel","_","isExpanded","curr","Object","assign","handlePreviewContent","content","handleMaxChars","getTransitionProps","useMemo","timeout","TransitionProps","_jsx","Box","children","map","isContentTypeString","_createElement","AccordionStyled","key","className","expanded","disableGutters","square","_jsxs","AccordionSummary","expandIcon","IconButton","sx","color","theme","palette","text","primary","Icon","name","title","previewContent","AccordionDetails","styled","MuiAccordion","shouldForwardProp","prop","args","style","maxHeight","overflowY"],"mappings":"wgBASY,MAACA,EAAYC,GAAW,CAACC,EAAIC,KACrC,IAAIC,MAAEA,EAAKC,SAAEA,EAAQC,iBAAEA,EAAgBC,wBAAEA,EAAuBC,wBAAEA,EAAuBC,oBAAEA,GAAwBP,EAAIQ,EAAQC,EAAOT,EAAI,CAAC,QAAS,WAAY,mBAAoB,0BAA2B,0BAA2B,wBAC1O,MAAOU,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{"version":3,"file":"accordion.js","sources":["../../../src/components/accordion/accordion.tsx"],"sourcesContent":[null],"names":["Accordion","forwardRef","_a","ref","items","onChange","disableAnimation","accordionContainerProps","accordionPanelMaxHeight","allowMultipleExpand","props","__rest","expand","setExpanded","useState","controlRef","useRef","useEffect","expandItems","index","length","itemId","id","isDefaultExpanded","firstDefaultExpandedItem","find","item","current","controlBtn","querySelector","addEventListener","e","preventDefault","handleChange","useCallback","panel","_","isExpanded","curr","Object","assign","handlePreviewContent","content","handleMaxChars","getTransitionProps","useMemo","timeout","TransitionProps","_jsx","Box","children","map","isContentTypeString","_createElement","AccordionStyled","key","className","expanded","disableGutters","square","_jsxs","AccordionSummary","expandIcon","IconButton","sx","color","theme","palette","text","primary","Icon","name","title","previewContent","AccordionDetails","styled","MuiAccordion","shouldForwardProp","prop","args","style","maxHeight","overflowY"],"mappings":"wgBA2Fa,MAAAA,EAAYC,GACvB,CACEC,EASAC,KATA,IAAAC,MACEA,EAAKC,SACLA,EAAQC,iBACRA,EAAgBC,wBAChBA,EAAuBC,wBACvBA,EAAuBC,oBACvBA,GAEDP,EADIQ,EAAKC,EAAAT,EAPV,mHAWA,MAAOU,EAAQC,GAAeC,GAAkC,GAC1DC,EAAaC,EAAO,MAE1BC,GAAU,KACR,GAAKR,EAaE,CACL,MAAMS,EAAc,CAAA,EACpB,IAAK,IAAIC,EAAQ,EAAGA,EAAQf,EAAMgB,OAAQD,IAAS,CACjD,MAAME,EAASjB,EAAMe,GAAOG,IAAM,QAAQH,IAE1CD,EAAYG,KAAYjB,EAAMe,GAAOI,iBACtC,CAEDV,GAAY,IAAMK,GACnB,KAtByB,CACxB,IAAII,EACJ,MAAME,EAA2BpB,EAAMqB,MAAK,CAACC,EAAMP,KACjD,GAAIO,EAAKH,kBAEP,OADAD,EAAKH,EACEO,CAEO,IAGdF,GACFX,EAAYW,EAAyBF,IAAM,QAAQA,IAEtD,CASA,GACA,CAACb,EAAqBL,IAGzBa,GAAU,KACR,GAAIF,GA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KL,MAAM,UAAUM,KAAK,mBAGnB,cAAA,8BAEZvB,EAAK,MAAA,CAAAQ,UAAU,wBAAuBN,SAAExB,EAAK8C,QAC5C9D,EAAM+D,gBAAkBrB,IAAwBf,GAC/CW,EAAA,MAAA,CAAKQ,UAAU,kDAAgD,iBAAgBN,SAC5ET,EAAqBf,EAAKgB,cAIjCM,EAAC0B,EAA6B,CAAA,cAAA,oBAC5BxB,SAAAF,EAAA,MAAA,CAAKQ,UAAU,OAAQN,SAAAxB,EAAKgB,YAGhC,MAGN,IAIAY,EAAkBqB,EAAOC,EAAc,CAC3CC,kBAAoBC,GACT,mBAATA,GACS,eAATA,GACS,wBAATA,GACS,4BAATA,GALoBH,EAYrBzE,IAAA,IAAY6E,EAAIpE,EAAAT,EAAhB,WACD,IAAI8E,EAAQ,CAAA,EAYZ,OAVID,EAAKvE,0BACPwE,EACKzC,OAAAC,OAAAD,OAAAC,OAAA,GAAAwC,GACH,CAAA,UAAW,CACTC,UAAWF,EAAKvE,wBAChB0E,UAAW,WAKVF,CAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.js","sources":["../../../src/components/alert/Alert.tsx"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Box } from '@mui/material';\nimport successIcon from './assets/successIcon.svg';\nimport warningIcon from './assets/warningIcon.svg';\nimport errorIcon from './assets/errorIcon.svg';\nexport const Alert = ({ type, children, actions, width }) => {\n return (_jsxs(Box, { sx: {\n padding: 1,\n paddingLeft: 2,\n paddingRight: 1,\n background: (theme) => theme.palette.brand.tertiary,\n borderRadius: 1,\n color: (theme) => theme.palette.onSurface.os0,\n display: 'flex',\n alignItems: 'center',\n gap: '11px',\n minWidth: '300px',\n maxWidth: width !== null && width !== void 0 ? width : '624px',\n width: width !== null && width !== void 0 ? width : 'auto',\n }, \"data-testid\": \"Alert\", children: [type && (_jsxs(Box, { sx: {\n height: '40px',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n }, \"data-testid\": \"Alert.icon\", children: [type === 'success' && _jsx(\"img\", { src: successIcon }), type === 'error' && _jsx(\"img\", { src: errorIcon }), type === 'warning' && _jsx(\"img\", { src: warningIcon })] })), _jsx(Box, { sx: {\n flexGrow: 1,\n }, \"data-testid\": \"Alert.content\", children: children }), actions && (_jsx(Box, { sx: {\n paddingLeft: '11px',\n borderLeft: (theme) => `1px solid ${theme.palette.onSurface.os600}`,\n alignSelf: 'stretch',\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n }, \"data-testid\": \"Alert.actions\", children: actions }))] }));\n};\n//# sourceMappingURL=Alert.js.map"],"names":["Alert","type","children","actions","width","_jsxs","Box","sx","padding","paddingLeft","paddingRight","background","theme","palette","brand","tertiary","borderRadius","color","onSurface","os0","display","alignItems","gap","minWidth","maxWidth","height","flexDirection","justifyContent","_jsx","src","successIcon","errorIcon","warningIcon","flexGrow","borderLeft","os600","alignSelf"],"mappings":"qNAKY,MAACA,EAAQ,EAAGC,OAAMC,WAAUC,UAASC,WACrCC,EAAMC,EAAK,CAAEC,GAAI,CACjBC,QAAS,EACTC,YAAa,EACbC,aAAc,EACdC,WAAaC,GAAUA,EAAMC,QAAQC,MAAMC,SAC3CC,aAAc,EACdC,MAAQL,GAAUA,EAAMC,QAAQK,UAAUC,IAC1CC,QAAS,OACTC,WAAY,SACZC,IAAK,OACLC,SAAU,QACVC,SAAUpB,QAAqCA,EAAQ,QACvDA,MAAOA,QAAqCA,EAAQ,QACrD,cAAe,QAASF,SAAU,CAACD,GAASI,EAAMC,EAAK,CAAEC,GAAI,CACpDkB,OAAQ,OACRL,QAAS,OACTM,cAAe,SACfC,eAAgB,UACjB,cAAe,aAAczB,SAAU,CAAU,YAATD,GAAsB2B,EAAK,MAAO,CAAEC,IAAKC,IAAyB,UAAT7B,GAAoB2B,EAAK,MAAO,CAAEC,IAAKE,IAAuB,YAAT9B,GAAsB2B,EAAK,MAAO,CAAEC,IAAKG,OAAqBJ,EAAKtB,EAAK,CAAEC,GAAI,CACnO0B,SAAU,GACX,cAAe,gBAAiB/B,SAAUA,IAAaC,GAAYyB,EAAKtB,EAAK,CAAEC,GAAI,CAClFE,YAAa,OACbyB,WAAatB,GAAU,aAAaA,EAAMC,QAAQK,UAAUiB,QAC5DC,UAAW,UACXhB,QAAS,OACTM,cAAe,MACfL,WAAY,UACb,cAAe,gBAAiBnB,SAAUC"}
1
+ {"version":3,"file":"Alert.js","sources":["../../../src/components/alert/Alert.tsx"],"sourcesContent":[null],"names":["Alert","type","children","actions","width","_jsxs","Box","sx","padding","paddingLeft","paddingRight","background","theme","palette","brand","tertiary","borderRadius","color","onSurface","os0","display","alignItems","gap","minWidth","maxWidth","height","flexDirection","justifyContent","_jsx","src","successIcon","errorIcon","warningIcon","flexGrow","borderLeft","os600","alignSelf"],"mappings":"qNAgBO,MAAMA,EAA8B,EAAGC,OAAMC,WAAUC,UAASC,WAEnEC,EAACC,EAAG,CACFC,GAAI,CACFC,QAAS,EACTC,YAAa,EACbC,aAAc,EACdC,WAAaC,GAAUA,EAAMC,QAAQC,MAAMC,SAC3CC,aAAc,EACdC,MAAQL,GAAUA,EAAMC,QAAQK,UAAUC,IAC1CC,QAAS,OACTC,WAAY,SACZC,IAAK,OACLC,SAAU,QACVC,SAAUpB,QAAAA,EAAS,QACnBA,MAAOA,QAAAA,EAAS,QAEN,cAAA,kBAEXH,GACCI,EAACC,EACC,CAAAC,GAAI,CACFkB,OAAQ,OACRL,QAAS,OACTM,cAAe,SACfC,eAAgB,UACjB,cACW,aAEXzB,SAAA,CAAS,YAATD,GAAsB2B,EAAK,MAAA,CAAAC,IAAKC,IACvB,UAAT7B,GAAoB2B,SAAKC,IAAKE,IACrB,YAAT9B,GAAsB2B,SAAKC,IAAKG,OAGrCJ,EAACtB,EAAG,CACFC,GAAI,CACF0B,SAAU,GACX,cACW,gBAAe/B,SAE1BA,IAEFC,GACCyB,EAACtB,EACC,CAAAC,GAAI,CACFE,YAAa,OACbyB,WAAatB,GAAU,aAAaA,EAAMC,QAAQK,UAAUiB,QAC5DC,UAAW,UACXhB,QAAS,OACTM,cAAe,MACfL,WAAY,UACb,cACW,gBAEXnB,SAAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AlertButton.js","sources":["../../../src/components/alert/AlertButton.tsx"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Button as MuiButton } from '@mui/base';\nimport { styled } from '@mui/material';\nexport function AlertButton(props) {\n return _jsx(Button, Object.assign({}, props));\n}\nconst Button = styled(MuiButton)(({ theme }) => ({\n padding: '8px 16px',\n appearance: 'none',\n background: 'transparent',\n cursor: 'pointer',\n border: 'none',\n color: theme.palette.onSurface.os0,\n fontWeight: 700,\n fontSize: '14px',\n lineHeight: '16px',\n}));\n//# sourceMappingURL=AlertButton.js.map"],"names":["AlertButton","props","_jsx","Button","Object","assign","styled","MuiButton","theme","padding","appearance","background","cursor","border","color","palette","onSurface","os0","fontWeight","fontSize","lineHeight"],"mappings":"kHAGO,SAASA,EAAYC,GACxB,OAAOC,EAAKC,EAAQC,OAAOC,OAAO,CAAE,EAAEJ,GAC1C,CACA,MAAME,EAASG,EAAOC,EAAPD,EAAkB,EAAGE,YAAa,CAC7CC,QAAS,WACTC,WAAY,OACZC,WAAY,cACZC,OAAQ,UACRC,OAAQ,OACRC,MAAON,EAAMO,QAAQC,UAAUC,IAC/BC,WAAY,IACZC,SAAU,OACVC,WAAY"}
1
+ {"version":3,"file":"AlertButton.js","sources":["../../../src/components/alert/AlertButton.tsx"],"sourcesContent":[null],"names":["AlertButton","props","_jsx","Button","Object","assign","styled","MuiButton","theme","padding","appearance","background","cursor","border","color","palette","onSurface","os0","fontWeight","fontSize","lineHeight"],"mappings":"kHAcM,SAAUA,EAAoDC,GAClE,OAAOC,EAACC,EAAWC,OAAAC,OAAA,CAAA,EAAAJ,GACrB,CAEA,MAAME,EAASG,EAAOC,EAAPD,EAAkB,EAAGE,YAAa,CAC/CC,QAAS,WACTC,WAAY,OACZC,WAAY,cACZC,OAAQ,UACRC,OAAQ,OACRC,MAAON,EAAMO,QAAQC,UAAUC,IAC/BC,WAAY,IACZC,SAAU,OACVC,WAAY"}
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.js","sources":["../../../src/components/avatar/Avatar.tsx"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Avatar as MuiAvatar, styled } from '@mui/material';\nconst AvatarBase = (props) => _jsx(MuiAvatar, Object.assign({ variant: \"circular\" }, props));\nexport const Avatar = styled(AvatarBase, {\n shouldForwardProp: (propName) => !['size', 'color', 'background'].includes(propName),\n})(({ size, color, background, theme }) => (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ fontWeight: 700, letterSpacing: '0.02em' }, (background && { backgroundColor: background })), ((!color || color === 'light') && {\n color: theme.palette.common.white,\n})), (color === 'dark' && {\n color: theme.palette.common.black,\n})), (size === 'sm' && {\n width: 24,\n height: 24,\n fontSize: 10,\n})), ((!size || size === 'md') && {\n width: 40,\n height: 40,\n fontSize: 14,\n})), (size === 'lg' && {\n width: 56,\n height: 56,\n fontSize: 20,\n}))));\n//# sourceMappingURL=Avatar.js.map"],"names":["Avatar","styled","props","_jsx","MuiAvatar","Object","assign","variant","shouldForwardProp","propName","includes","size","color","background","theme","fontWeight","letterSpacing","backgroundColor","palette","common","white","black","width","height","fontSize"],"mappings":"2FAEA,MACaA,EAASC,GADFC,GAAUC,EAAKC,EAAWC,OAAOC,OAAO,CAAEC,QAAS,YAAcL,KAC5C,CACrCM,kBAAoBC,IAAc,CAAC,OAAQ,QAAS,cAAcC,SAASD,IADzDR,EAEnB,EAAGU,OAAMC,QAAOC,aAAYC,WAAaT,OAAOC,OAAOD,OAAOC,OAAOD,OAAOC,OAAOD,OAAOC,OAAOD,OAAOC,OAAOD,OAAOC,OAAO,CAAES,WAAY,IAAKC,cAAe,UAAaH,GAAc,CAAEI,gBAAiBJ,MAAmBD,GAAmB,UAAVA,IAAsB,CAC9PA,MAAOE,EAAMI,QAAQC,OAAOC,QAChB,SAAVR,GAAoB,CACtBA,MAAOE,EAAMI,QAAQC,OAAOE,QACjB,OAATV,GAAiB,CACnBW,MAAO,GACPC,OAAQ,GACRC,SAAU,OACNb,GAAiB,OAATA,IAAkB,CAC9BW,MAAO,GACPC,OAAQ,GACRC,SAAU,KACC,OAATb,GAAiB,CACnBW,MAAO,GACPC,OAAQ,GACRC,SAAU"}
1
+ {"version":3,"file":"Avatar.js","sources":["../../../src/components/avatar/Avatar.tsx"],"sourcesContent":[null],"names":["Avatar","styled","props","_jsx","MuiAvatar","Object","assign","variant","shouldForwardProp","propName","includes","size","color","background","theme","fontWeight","letterSpacing","backgroundColor","palette","common","white","black","width","height","fontSize"],"mappings":"2FAqBA,MAEaA,EAASC,GAFqBC,GAAUC,EAACC,EAASC,OAAAC,OAAA,CAACC,QAAQ,YAAeL,KAE9C,CACvCM,kBAAoBC,IAAc,CAAC,OAAQ,QAAS,cAAcC,SAASD,IADvDR,EAEN,EAAGU,OAAMC,QAAOC,aAAYC,WAAYT,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,CACtDS,WAAY,IACZC,cAAe,UAEXH,GAAc,CAAEI,gBAAiBJ,MAE/BD,GAAmB,UAAVA,IAAsB,CACnCA,MAAOE,EAAMI,QAAQC,OAAOC,QAEhB,SAAVR,GAAoB,CACtBA,MAAOE,EAAMI,QAAQC,OAAOE,QAGjB,OAATV,GAAiB,CACnBW,MAAO,GACPC,OAAQ,GACRC,SAAU,OAENb,GAAiB,OAATA,IAAkB,CAC9BW,MAAO,GACPC,OAAQ,GACRC,SAAU,KAEC,OAATb,GAAiB,CACnBW,MAAO,GACPC,OAAQ,GACRC,SAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"backdrop.js","sources":["../../../src/components/backdrop/backdrop.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useEffect } from 'react';\nimport MuiBackdrop from '@mui/material/Backdrop';\nimport { styled } from '@mui/material/styles';\nimport useBackdrop from '../common/hook/backdrop';\nimport { paletteLight } from '../../design/skoda/paletteLight.theme';\n/**\n * @deprecated This component is deprecated. Use themed Backdrop component from @mui/material instead\n */\nexport const Backdrop = forwardRef((_a, ref) => {\n var { open, onClose } = _a, props = __rest(_a, [\"open\", \"onClose\"]);\n const { openBackdrop, handleCloseBackdrop, setOpenBackdrop } = useBackdrop();\n const handleClose = () => {\n handleCloseBackdrop();\n onClose && onClose(false);\n };\n useEffect(() => {\n setOpenBackdrop(open);\n }, [open, setOpenBackdrop]);\n return (_jsx(BackdropStyled, { ref: ref, classes: props.classes, open: openBackdrop, onClick: handleClose, invisible: props.invisible, sx: props.sx, transitionDuration: props.transitionDuration, children: props.children }));\n});\nconst BackdropStyled = styled(MuiBackdrop)((_a) => {\n var { theme } = _a, args = __rest(_a, [\"theme\"]);\n if (args.invisible)\n return {\n backgroundColor: paletteLight.transparent.backdrop,\n backdropFilter: 'blur(0px)',\n };\n return null;\n});\n//# sourceMappingURL=backdrop.js.map"],"names":["Backdrop","forwardRef","_a","ref","open","onClose","props","__rest","openBackdrop","handleCloseBackdrop","setOpenBackdrop","useBackdrop","useEffect","_jsx","BackdropStyled","classes","onClick","invisible","sx","transitionDuration","children","styled","MuiBackdrop","backgroundColor","paletteLight","transparent","backdrop","backdropFilter"],"mappings":"+TAUY,MAACA,EAAWC,GAAW,CAACC,EAAIC,KACpC,IAAIC,KAAEA,EAAIC,QAAEA,GAAYH,EAAII,EAAQC,EAAOL,EAAI,CAAC,OAAQ,YACxD,MAAMM,aAAEA,EAAYC,oBAAEA,EAAmBC,gBAAEA,GAAoBC,IAQ/D,OAHAC,GAAU,KACNF,EAAgBN,EAAK,GACtB,CAACA,EAAMM,IACFG,EAAKC,EAAgB,CAAEX,IAAKA,EAAKY,QAAST,EAAMS,QAASX,KAAMI,EAAcQ,QAPjE,KAChBP,IACAJ,GAAWA,GAAQ,EAAM,EAK8EY,UAAWX,EAAMW,UAAWC,GAAIZ,EAAMY,GAAIC,mBAAoBb,EAAMa,mBAAoBC,SAAUd,EAAMc,UAAa,IAE9NN,EAAiBO,EAAOC,EAAPD,EAAqBnB,GACbK,EAAOL,EAAI,CAAC,UAC9Be,UACE,CACHM,gBAAiBC,EAAaC,YAAYC,SAC1CC,eAAgB,aAEjB"}
1
+ {"version":3,"file":"backdrop.js","sources":["../../../src/components/backdrop/backdrop.tsx"],"sourcesContent":[null],"names":["Backdrop","forwardRef","_a","ref","open","onClose","props","__rest","openBackdrop","handleCloseBackdrop","setOpenBackdrop","useBackdrop","useEffect","_jsx","BackdropStyled","classes","onClick","invisible","sx","transitionDuration","children","styled","MuiBackdrop","backgroundColor","paletteLight","transparent","backdrop","backdropFilter"],"mappings":"+TAiDa,MAAAA,EAAWC,GAA0C,CAACC,EAA6BC,SAA7BC,KAAEA,EAAIC,QAAEA,GAAOH,EAAKI,EAAKC,EAAAL,EAAzB,oBACjE,MAAMM,aAAEA,EAAYC,oBAAEA,EAAmBC,gBAAEA,GAAoBC,IAW/D,OAJAC,GAAU,KACRF,EAAgBN,EAAK,GACpB,CAACA,EAAMM,IAGRG,EAACC,EAAc,CACbX,IAAKA,EACLY,QAAST,EAAMS,QACfX,KAAMI,EACNQ,QAdgB,KAClBP,IACAJ,GAAWA,GAAQ,EAAM,EAavBY,UAAWX,EAAMW,UACjBC,GAAIZ,EAAMY,GACVC,mBAAoBb,EAAMa,mBAAkBC,SAE3Cd,EAAMc,UAET,IAGEN,EAAiBO,EAAOC,EAAPD,EAAoCnB,GAAgBK,EAAAL,EAAhB,WAChDe,UACA,CACLM,gBAAiBC,EAAaC,YAAYC,SAC1CC,eAAgB,aAGb"}
@@ -1 +1 @@
1
- {"version":3,"file":"banner.js","sources":["../../../src/components/banner/banner.tsx"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Icon } from '@/src';\nimport { Box, Stack, Typography, lighten, useTheme } from '@mui/material';\nimport { useMemo } from 'react';\n/**\n * Alert notification banner\n */\nexport const Banner = ({ children, variant = 'info', buttons }) => {\n const theme = useTheme();\n const [borderColor, backgroundColor] = useMemo(() => {\n switch (variant) {\n case 'error':\n return [theme.palette.error.main, lighten(theme.palette.error.light, 0.9)];\n case 'warning':\n return [theme.palette.warning.main, lighten(theme.palette.warning.light, 0.9)];\n case 'info':\n default:\n return [theme.palette.info.main, lighten(theme.palette.info.light, 0.9)];\n }\n }, [variant, theme]);\n return (_jsxs(Stack, { direction: { md: 'row', sm: 'column' }, spacing: 0, sx: {\n borderLeft: '6px solid',\n alignItems: 'flex-start',\n borderColor,\n backgroundColor,\n }, \"data-testid\": \"Banner\", children: [_jsxs(Stack, { direction: \"row\", spacing: 2, sx: { padding: { md: '12px 16px', sm: '16px', xs: '11px 16px' }, flexGrow: 1, alignItems: 'center' }, children: [_jsx(Icon, { name: variant === 'info' ? 'circle-info' : 'circle-exclamation', iconStyle: \"filled\", color: variant, sx: {\n alignSelf: 'flex-start',\n color: borderColor,\n marginTop: { lg: '2px !important', md: '1px !important', sm: '-2px !important' },\n } }), _jsx(Box, { children: typeof children === 'string' ? _jsx(Typography, { children: children }) : children })] }), buttons && (_jsx(Stack, { direction: \"row\", spacing: 1, useFlexGap: true, sx: { padding: '8px 16px', textWrap: 'nowrap', flexWrap: 'wrap', alignSelf: 'center', marginRight: 'auto' }, \"data-testid\": \"Banner.buttons\", children: buttons }))] }));\n};\n//# sourceMappingURL=banner.js.map"],"names":["Banner","children","variant","buttons","theme","useTheme","borderColor","backgroundColor","useMemo","palette","error","main","lighten","light","warning","info","_jsxs","Stack","direction","md","sm","spacing","sx","borderLeft","alignItems","padding","xs","flexGrow","_jsx","Icon","name","iconStyle","color","alignSelf","marginTop","lg","Box","Typography","useFlexGap","textWrap","flexWrap","marginRight"],"mappings":"88HAOY,MAACA,EAAS,EAAGC,WAAUC,UAAU,OAAQC,cACjD,MAAMC,EAAQC,KACPC,EAAaC,GAAmBC,GAAQ,KAC3C,OAAQN,GACJ,IAAK,QACD,MAAO,CAACE,EAAMK,QAAQC,MAAMC,KAAMC,EAAQR,EAAMK,QAAQC,MAAMG,MAAO,KACzE,IAAK,UACD,MAAO,CAACT,EAAMK,QAAQK,QAAQH,KAAMC,EAAQR,EAAMK,QAAQK,QAAQD,MAAO,KAE7E,QACI,MAAO,CAACT,EAAMK,QAAQM,KAAKJ,KAAMC,EAAQR,EAAMK,QAAQM,KAAKF,MAAO,KAC1E,GACF,CAACX,EAASE,IACb,OAAQY,EAAMC,EAAO,CAAEC,UAAW,CAAEC,GAAI,MAAOC,GAAI,UAAYC,QAAS,EAAGC,GAAI,CACvEC,WAAY,YACZC,WAAY,aACZlB,cACAC,mBACD,cAAe,SAAUN,SAAU,CAACe,EAAMC,EAAO,CAAEC,UAAW,MAAOG,QAAS,EAAGC,GAAI,CAAEG,QAAS,CAAEN,GAAI,YAAaC,GAAI,OAAQM,GAAI,aAAeC,SAAU,EAAGH,WAAY,UAAYvB,SAAU,CAAC2B,EAAKC,EAAM,CAAEC,KAAkB,SAAZ5B,EAAqB,cAAgB,qBAAsB6B,UAAW,SAAUC,MAAO9B,EAASoB,GAAI,CACxSW,UAAW,aACXD,MAAO1B,EACP4B,UAAW,CAAEC,GAAI,iBAAkBhB,GAAI,iBAAkBC,GAAI,sBAC3DQ,EAAKQ,EAAK,CAAEnC,SAA8B,iBAAbA,EAAwB2B,EAAKS,EAAY,CAAEpC,SAAUA,IAAcA,OAAiBE,GAAYyB,EAAKX,EAAO,CAAEC,UAAW,MAAOG,QAAS,EAAGiB,YAAY,EAAMhB,GAAI,CAAEG,QAAS,WAAYc,SAAU,SAAUC,SAAU,OAAQP,UAAW,SAAUQ,YAAa,QAAU,cAAe,iBAAkBxC,SAAUE,MAAiB"}
1
+ {"version":3,"file":"banner.js","sources":["../../../src/components/banner/banner.tsx"],"sourcesContent":[null],"names":["Banner","children","variant","buttons","theme","useTheme","borderColor","backgroundColor","useMemo","palette","error","main","lighten","light","warning","info","_jsxs","Stack","direction","md","sm","spacing","sx","borderLeft","alignItems","padding","xs","flexGrow","_jsx","Icon","name","iconStyle","color","alignSelf","marginTop","lg","Box","Typography","useFlexGap","textWrap","flexWrap","marginRight"],"mappings":"88HAyBO,MAAMA,EAAgC,EAAGC,WAAUC,UAAU,OAAQC,cAC1E,MAAMC,EAAQC,KAEPC,EAAaC,GAAmBC,GAAQ,KAC7C,OAAQN,GACN,IAAK,QACH,MAAO,CAACE,EAAMK,QAAQC,MAAMC,KAAMC,EAAQR,EAAMK,QAAQC,MAAMG,MAAO,KACvE,IAAK,UACH,MAAO,CAACT,EAAMK,QAAQK,QAAQH,KAAMC,EAAQR,EAAMK,QAAQK,QAAQD,MAAO,KAE3E,QACE,MAAO,CAACT,EAAMK,QAAQM,KAAKJ,KAAMC,EAAQR,EAAMK,QAAQM,KAAKF,MAAO,KACtE,GACA,CAACX,EAASE,IAEb,OACEY,EAACC,EAAK,CACJC,UAAW,CAAEC,GAAI,MAAOC,GAAI,UAC5BC,QAAS,EACTC,GAAI,CACFC,WAAY,YACZC,WAAY,aACZlB,cACAC,mBACD,cACW,SAAQN,SAAA,CAEpBe,EAACC,EACC,CAAAC,UAAU,MACVG,QAAS,EACTC,GAAI,CAAEG,QAAS,CAAEN,GAAI,YAAaC,GAAI,OAAQM,GAAI,aAAeC,SAAU,EAAGH,WAAY,UAE1FvB,SAAA,CAAA2B,EAACC,EAAI,CACHC,KAAkB,SAAZ5B,EAAqB,cAAgB,qBAC3C6B,UAAU,SACVC,MAAO9B,EACPoB,GAAI,CACFW,UAAW,aACXD,MAAO1B,EACP4B,UAAW,CAAEC,GAAI,iBAAkBhB,GAAI,iBAAkBC,GAAI,sBAGjEQ,EAACQ,EAAG,CAAAnC,SAAsB,iBAAbA,EAAwB2B,EAACS,YAAYpC,IAAyBA,OAE5EE,GACCyB,EAACX,EACC,CAAAC,UAAU,MACVG,QAAS,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