@skodaflow/web-library 5.0.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (649) hide show
  1. package/6acf7baa6fae93bd.otf +0 -0
  2. package/6d0fdeee5f7b79b0.otf +0 -0
  3. package/cjs/2f0bdf9288683716.eot +0 -0
  4. package/cjs/31900b5b84c8ebf5.woff +0 -0
  5. package/cjs/690054abce120440.woff +0 -0
  6. package/cjs/6acf7baa6fae93bd.otf +0 -0
  7. package/cjs/6d0fdeee5f7b79b0.otf +0 -0
  8. package/cjs/9b0223f0f75101d4.eot +0 -0
  9. package/cjs/components/accordion/accordion.js +1 -1
  10. package/cjs/components/accordion/accordion.js.map +1 -1
  11. package/cjs/components/backdrop/backdrop.js +1 -1
  12. package/cjs/components/backdrop/backdrop.js.map +1 -1
  13. package/cjs/components/banner/banner.d.ts +13 -51
  14. package/cjs/components/banner/banner.js +1 -1
  15. package/cjs/components/banner/banner.js.map +1 -1
  16. package/cjs/components/button/button.d.ts +2 -1
  17. package/cjs/components/button/button.js +1 -1
  18. package/cjs/components/button/button.js.map +1 -1
  19. package/cjs/components/card/Card.d.ts +92 -0
  20. package/cjs/components/card/Card.js +2 -0
  21. package/cjs/components/card/Card.js.map +1 -0
  22. package/cjs/components/card/FlippingCard.d.ts +3 -0
  23. package/cjs/components/card/FlippingCard.js +2 -0
  24. package/cjs/components/card/FlippingCard.js.map +1 -0
  25. package/cjs/components/card/LinkCard.d.ts +3 -0
  26. package/cjs/components/card/LinkCard.js +2 -0
  27. package/cjs/components/card/LinkCard.js.map +1 -0
  28. package/cjs/components/card/SelectableCard.d.ts +3 -0
  29. package/cjs/components/card/SelectableCard.js +2 -0
  30. package/cjs/components/card/SelectableCard.js.map +1 -0
  31. package/cjs/components/card/SimpleCard.d.ts +3 -0
  32. package/cjs/components/card/SimpleCard.js +2 -0
  33. package/cjs/components/card/SimpleCard.js.map +1 -0
  34. package/cjs/components/card/index.d.ts +1 -0
  35. package/cjs/components/cardContainer/cardContainer.d.ts +1 -0
  36. package/cjs/components/cardContainer/cardContainer.js +1 -1
  37. package/cjs/components/cardContainer/cardContainer.js.map +1 -1
  38. package/cjs/components/cardMenu/cardMenu.d.ts +3 -1
  39. package/cjs/components/cardMenu/cardMenu.js +1 -1
  40. package/cjs/components/cardMenu/cardMenu.js.map +1 -1
  41. package/cjs/components/cardMenu/styled/menuListStyled.js +1 -1
  42. package/cjs/components/cardMenu/styled/menuListStyled.js.map +1 -1
  43. package/cjs/components/chip/chipDropdownChildren/chipDropdownChildren.js +1 -1
  44. package/cjs/components/chip/chipDropdownChildren/chipDropdownChildren.js.map +1 -1
  45. package/cjs/components/chip/chipMultiselect/multiSelectChip.d.ts +2 -1
  46. package/cjs/components/chip/chipMultiselect/multiSelectChip.js +1 -1
  47. package/cjs/components/chip/chipMultiselect/multiSelectChip.js.map +1 -1
  48. package/cjs/components/chip/regular/chip.d.ts +2 -1
  49. package/cjs/components/chip/regular/chip.js +1 -1
  50. package/cjs/components/chip/regular/chip.js.map +1 -1
  51. package/cjs/components/closeDialogButton/index.js +1 -1
  52. package/cjs/components/closeDialogButton/index.js.map +1 -1
  53. package/cjs/components/common/interface/textInputInterface.d.ts +2 -1
  54. package/cjs/components/common/styled/textFieldStyled.js +1 -1
  55. package/cjs/components/common/styled/textFieldStyled.js.map +1 -1
  56. package/cjs/components/controls/controls.d.ts +2 -1
  57. package/cjs/components/controls/controls.js +1 -1
  58. package/cjs/components/controls/controls.js.map +1 -1
  59. package/cjs/components/icon/icon.d.ts +16 -8
  60. package/cjs/components/icon/icon.definitions.d.ts +1058 -0
  61. package/cjs/components/icon/icon.definitions.js +2 -0
  62. package/cjs/components/icon/icon.definitions.js.map +1 -0
  63. package/cjs/components/icon/icon.js +1 -1
  64. package/cjs/components/icon/icon.js.map +1 -1
  65. package/cjs/components/icon/index.d.ts +1 -1
  66. package/cjs/components/index.d.ts +1 -3
  67. package/cjs/components/indicator/indicator.d.ts +9 -3
  68. package/cjs/components/indicator/indicator.js +1 -18
  69. package/cjs/components/indicator/indicator.js.map +1 -1
  70. package/cjs/components/label/label.js +3 -3
  71. package/cjs/components/label/label.js.map +1 -1
  72. package/cjs/components/labelFeature/labelFeature.js +4 -4
  73. package/cjs/components/labelFeature/labelFeature.js.map +1 -1
  74. package/cjs/components/labelPromotional/labelPromotional.js +1 -1
  75. package/cjs/components/labelPromotional/labelPromotional.js.map +1 -1
  76. package/cjs/components/labelStatus/labelStatus.d.ts +1 -0
  77. package/cjs/components/labelStatus/labelStatus.js +4 -4
  78. package/cjs/components/labelStatus/labelStatus.js.map +1 -1
  79. package/cjs/components/menu/menu.js +1 -1
  80. package/cjs/components/menu/menu.js.map +1 -1
  81. package/cjs/components/mobileStepper/mobileStepperButton.js +1 -1
  82. package/cjs/components/mobileStepper/mobileStepperButton.js.map +1 -1
  83. package/cjs/components/modal/modal.js +1 -1
  84. package/cjs/components/modal/modal.js.map +1 -1
  85. package/cjs/components/numbering/numbering.js +1 -1
  86. package/cjs/components/numbering/numbering.js.map +1 -1
  87. package/cjs/components/pagination/pagination.js +1 -1
  88. package/cjs/components/pagination/pagination.js.map +1 -1
  89. package/cjs/components/progressBar/components/loader.js +1 -1
  90. package/cjs/components/progressBar/components/loader.js.map +1 -1
  91. package/cjs/components/progressBar/components/spinner.js +1 -1
  92. package/cjs/components/progressBar/components/spinner.js.map +1 -1
  93. package/cjs/components/selectInput/formControlSelectStyled.js +1 -1
  94. package/cjs/components/selectInput/formControlSelectStyled.js.map +1 -1
  95. package/cjs/components/selectInput/selectInput.d.ts +2 -1
  96. package/cjs/components/selectInput/selectInput.js +1 -1
  97. package/cjs/components/selectInput/selectInput.js.map +1 -1
  98. package/cjs/components/snackbar/snackbarMessage.js +1 -1
  99. package/cjs/components/snackbar/snackbarMessage.js.map +1 -1
  100. package/cjs/components/stepper/stepper.js +1 -1
  101. package/cjs/components/stepper/stepper.js.map +1 -1
  102. package/cjs/components/textInput/textInput.js +1 -1
  103. package/cjs/components/textInput/textInput.js.map +1 -1
  104. package/cjs/components/upload/UploadField.d.ts +2 -2
  105. package/cjs/components/upload/UploadField.js +1 -1
  106. package/cjs/components/upload/UploadField.js.map +1 -1
  107. package/cjs/components/upload/UploadPreview.d.ts +1 -1
  108. package/cjs/components/upload/UploadPreviewList.d.ts +1 -1
  109. package/cjs/components/upload/UploadPreviewList.js +1 -1
  110. package/cjs/components/upload/UploadPreviewList.js.map +1 -1
  111. package/cjs/design/skoda/SkodaThemeProvider.d.ts +8 -1
  112. package/cjs/design/skoda/SkodaThemeProvider.js +1 -1
  113. package/cjs/design/skoda/SkodaThemeProvider.js.map +1 -1
  114. package/cjs/design/skoda/SkodaThemeWidgetProvider.d.ts +5 -7
  115. package/cjs/design/skoda/SkodaThemeWidgetProvider.js +1 -1
  116. package/cjs/design/skoda/SkodaThemeWidgetProvider.js.map +1 -1
  117. package/cjs/design/skoda/components/accordion/accordion.theme.js +1 -1
  118. package/cjs/design/skoda/components/accordion/accordion.theme.js.map +1 -1
  119. package/cjs/design/skoda/components/accordion/accordionSummary.theme.js +1 -1
  120. package/cjs/design/skoda/components/accordion/accordionSummary.theme.js.map +1 -1
  121. package/cjs/design/skoda/components/autocomplete.theme.js +1 -1
  122. package/cjs/design/skoda/components/autocomplete.theme.js.map +1 -1
  123. package/cjs/design/skoda/components/backdrop.theme.js +1 -1
  124. package/cjs/design/skoda/components/backdrop.theme.js.map +1 -1
  125. package/cjs/design/skoda/components/baseline.theme.d.ts +2 -3
  126. package/cjs/design/skoda/components/baseline.theme.js +1 -1
  127. package/cjs/design/skoda/components/baseline.theme.js.map +1 -1
  128. package/cjs/design/skoda/components/breadcrumbs.theme.js +1 -1
  129. package/cjs/design/skoda/components/breadcrumbs.theme.js.map +1 -1
  130. package/cjs/design/skoda/components/checkbox.theme.js +1 -1
  131. package/cjs/design/skoda/components/checkbox.theme.js.map +1 -1
  132. package/cjs/design/skoda/components/dialog/dialog.theme.js +1 -1
  133. package/cjs/design/skoda/components/dialog/dialog.theme.js.map +1 -1
  134. package/cjs/design/skoda/components/divider.theme.js +1 -1
  135. package/cjs/design/skoda/components/divider.theme.js.map +1 -1
  136. package/cjs/design/skoda/components/drawer.theme.js +1 -1
  137. package/cjs/design/skoda/components/drawer.theme.js.map +1 -1
  138. package/cjs/design/skoda/components/form/radio.theme.js +1 -1
  139. package/cjs/design/skoda/components/form/radio.theme.js.map +1 -1
  140. package/cjs/design/skoda/components/form/select.theme.js +1 -1
  141. package/cjs/design/skoda/components/form/select.theme.js.map +1 -1
  142. package/cjs/design/skoda/components/form/slider.theme.js +1 -1
  143. package/cjs/design/skoda/components/form/slider.theme.js.map +1 -1
  144. package/cjs/design/skoda/components/icon.theme.js +1 -1
  145. package/cjs/design/skoda/components/icon.theme.js.map +1 -1
  146. package/cjs/design/skoda/components/mobileStepper.theme.js +1 -1
  147. package/cjs/design/skoda/components/mobileStepper.theme.js.map +1 -1
  148. package/cjs/design/skoda/components/modal.theme.js +1 -1
  149. package/cjs/design/skoda/components/modal.theme.js.map +1 -1
  150. package/cjs/design/skoda/components/pagination.theme.js +1 -1
  151. package/cjs/design/skoda/components/pagination.theme.js.map +1 -1
  152. package/cjs/design/skoda/components/snackbar.theme.js +1 -1
  153. package/cjs/design/skoda/components/snackbar.theme.js.map +1 -1
  154. package/cjs/design/skoda/components/stepper/stepIcon/qontoStepIcon.js +1 -1
  155. package/cjs/design/skoda/components/stepper/stepIcon/qontoStepIcon.js.map +1 -1
  156. package/cjs/design/skoda/components/stepper/stepper.theme.js +1 -1
  157. package/cjs/design/skoda/components/stepper/stepper.theme.js.map +1 -1
  158. package/cjs/design/skoda/components/tabs/tab.theme.js +1 -1
  159. package/cjs/design/skoda/components/tabs/tab.theme.js.map +1 -1
  160. package/cjs/design/skoda/components/tabs/tabs.theme.js +1 -1
  161. package/cjs/design/skoda/components/tabs/tabs.theme.js.map +1 -1
  162. package/cjs/design/skoda/components/tooltip.theme.js +1 -1
  163. package/cjs/design/skoda/components/tooltip.theme.js.map +1 -1
  164. package/cjs/design/skoda/fonts/SKODANextIcons-Filled.eot.js +2 -0
  165. package/cjs/design/skoda/fonts/SKODANextIcons-Filled.eot.js.map +1 -0
  166. package/cjs/design/skoda/fonts/SKODANextIcons-Filled.otf.js +2 -0
  167. package/cjs/design/skoda/fonts/SKODANextIcons-Filled.otf.js.map +1 -0
  168. package/cjs/design/skoda/fonts/SKODANextIcons-Filled.woff.js +2 -0
  169. package/cjs/design/skoda/fonts/SKODANextIcons-Filled.woff.js.map +1 -0
  170. package/cjs/design/skoda/fonts/SKODANextIcons-Regular.eot.js +2 -0
  171. package/cjs/design/skoda/fonts/SKODANextIcons-Regular.eot.js.map +1 -0
  172. package/cjs/design/skoda/fonts/SKODANextIcons-Regular.otf.js +2 -0
  173. package/cjs/design/skoda/fonts/SKODANextIcons-Regular.otf.js.map +1 -0
  174. package/cjs/design/skoda/fonts/SKODANextIcons-Regular.woff.js +2 -0
  175. package/cjs/design/skoda/fonts/SKODANextIcons-Regular.woff.js.map +1 -0
  176. package/cjs/design/skoda/index.d.ts +1 -0
  177. package/cjs/design/skoda/{palette.theme.d.ts → paletteDark.theme.d.ts} +1 -1
  178. package/cjs/design/skoda/paletteDark.theme.js +2 -0
  179. package/cjs/design/skoda/paletteDark.theme.js.map +1 -0
  180. package/cjs/design/skoda/paletteLight.theme.d.ts +2 -0
  181. package/cjs/design/skoda/paletteLight.theme.js +2 -0
  182. package/cjs/design/skoda/paletteLight.theme.js.map +1 -0
  183. package/cjs/design/skoda/theme.constants.js +1 -1
  184. package/cjs/design/skoda/theme.constants.js.map +1 -1
  185. package/cjs/design/skoda/theme.d.ts +8 -2
  186. package/cjs/design/skoda/theme.js +1 -1
  187. package/cjs/design/skoda/theme.js.map +1 -1
  188. package/cjs/design/skoda/theme.typography.d.ts +10 -7
  189. package/cjs/design/skoda/theme.typography.js +1 -1
  190. package/cjs/design/skoda/theme.typography.js.map +1 -1
  191. package/cjs/index.js +1 -1
  192. package/cjs/layout/Footer/FooterAccordion.js +1 -1
  193. package/cjs/layout/Footer/FooterAccordion.js.map +1 -1
  194. package/cjs/layout/Footer/FooterIconButton.d.ts +2 -2
  195. package/cjs/layout/Footer/FooterIconButton.js +1 -1
  196. package/cjs/layout/Footer/FooterIconButton.js.map +1 -1
  197. package/cjs/layout/Footer/FooterLink.d.ts +2 -2
  198. package/cjs/layout/Footer/FooterLink.js +1 -1
  199. package/cjs/layout/Footer/FooterLink.js.map +1 -1
  200. package/cjs/layout/Footer/FooterMenu.js +1 -1
  201. package/cjs/layout/Footer/FooterMenu.js.map +1 -1
  202. package/cjs/layout/Header/HeaderButton.d.ts +3 -3
  203. package/cjs/layout/Header/HeaderButton.js +1 -1
  204. package/cjs/layout/Header/HeaderButton.js.map +1 -1
  205. package/cjs/layout/Header/HeaderNavigationLink.d.ts +1 -1
  206. package/cjs/layout/Header/HeaderNavigationLink.js +1 -1
  207. package/cjs/layout/Header/HeaderNavigationLink.js.map +1 -1
  208. package/cjs/layout/Header/HeaderNavigationMenu.d.ts +1 -0
  209. package/cjs/layout/Header/HeaderNavigationMenu.js +1 -1
  210. package/cjs/layout/Header/HeaderNavigationMenu.js.map +1 -1
  211. package/cjs/layout/Header/PredefinedHeaderButtons.js +1 -1
  212. package/cjs/layout/Header/PredefinedHeaderButtons.js.map +1 -1
  213. package/cjs/layout/SideMenu/SideMenu.js +1 -1
  214. package/cjs/layout/SideMenu/SideMenu.js.map +1 -1
  215. package/cjs/layout/container/container.js.map +1 -0
  216. package/cjs/layout/cookieModal/CookieModal.d.ts +69 -0
  217. package/cjs/layout/cookieModal/CookieModal.js +2 -0
  218. package/cjs/layout/cookieModal/CookieModal.js.map +1 -0
  219. package/cjs/layout/cookieModal/CookieModalItem.d.ts +37 -0
  220. package/cjs/layout/cookieModal/CookieModalItem.js +2 -0
  221. package/cjs/layout/cookieModal/CookieModalItem.js.map +1 -0
  222. package/cjs/layout/cookieModal/index.d.ts +2 -0
  223. package/cjs/layout/index.d.ts +2 -0
  224. package/cjs/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js +1 -1
  225. package/cjs/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js.map +1 -1
  226. package/cjs/organisms/cardPromoVehicle/cardPromoVehicleComponent.js +1 -1
  227. package/cjs/organisms/cardPromoVehicle/cardPromoVehicleComponent.js.map +1 -1
  228. package/cjs/organisms/carousel/carousel.d.ts +6 -2
  229. package/cjs/organisms/carousel/carousel.js.map +1 -1
  230. package/cjs/organisms/carousel/carouselTemplate.d.ts +2 -1
  231. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.js +1 -1
  232. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.js.map +1 -1
  233. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.js +1 -1
  234. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.js.map +1 -1
  235. package/cjs/organisms/carousel2/cardCarousel/cardCarousel.d.ts +3 -0
  236. package/cjs/organisms/carousel2/cardCarousel/cardCarousel.js.map +1 -1
  237. package/cjs/organisms/carousel2/carousel2.d.ts +3 -2
  238. package/cjs/organisms/carousel2/components/NavButton.js +1 -1
  239. package/cjs/organisms/carousel2/components/NavButton.js.map +1 -1
  240. package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.d.ts +3 -0
  241. package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
  242. package/cjs/organisms/carousel2/heroCarousel/heroCarousel.d.ts +3 -0
  243. package/cjs/organisms/carousel2/heroCarousel/heroCarousel.js.map +1 -1
  244. package/cjs/organisms/common/menuCardComponent/menuCardComponent.js +1 -1
  245. package/cjs/organisms/common/menuCardComponent/menuCardComponent.js.map +1 -1
  246. package/cjs/organisms/gallery/Gallery.js +1 -1
  247. package/cjs/organisms/gallery/Gallery.js.map +1 -1
  248. package/cjs/organisms/gallery/GalleryTrigger.js +1 -1
  249. package/cjs/organisms/gallery/GalleryTrigger.js.map +1 -1
  250. package/cjs/organisms/heroImageCard/videoCardController.js +1 -1
  251. package/cjs/organisms/heroImageCard/videoCardController.js.map +1 -1
  252. package/cjs/organisms/maps/mapComponents/mapComponent.d.ts +2 -2
  253. package/cjs/organisms/maps/mapComponents/mapComponent.js.map +1 -1
  254. package/cjs/organisms/maps/mapComponents/mapStyled.js +1 -1
  255. package/cjs/organisms/maps/mapComponents/mapStyled.js.map +1 -1
  256. package/cjs/organisms/notification/Notification.js +1 -1
  257. package/cjs/organisms/notification/Notification.js.map +1 -1
  258. package/cjs/organisms/notification/NotificationCenterHeaderButton.d.ts +1 -1
  259. package/cjs/organisms/shortcutLink/shortcutLink.d.ts +2 -1
  260. package/cjs/organisms/shortcutLink/shortcutLink.js +1 -1
  261. package/cjs/organisms/shortcutLink/shortcutLink.js.map +1 -1
  262. package/cjs/organisms/textCta/textCta.d.ts +2 -1
  263. package/cjs/organisms/textCta/textCta.js +1 -1
  264. package/cjs/organisms/textCta/textCta.js.map +1 -1
  265. package/cjs/organisms/tile/tile.js +1 -1
  266. package/cjs/organisms/tile/tile.js.map +1 -1
  267. package/cjs/utils/useClosure/useClosure.d.ts +1 -0
  268. package/cjs/utils/useClosure/useClosure.js.map +1 -1
  269. package/cjs/utils/useFeatureFlag/useFeatureFlag.d.ts +26 -0
  270. package/cjs/utils/useFeatureFlag/useFeatureFlag.js +2 -0
  271. package/cjs/utils/useFeatureFlag/useFeatureFlag.js.map +1 -0
  272. package/components/accordion/accordion.js +1 -1
  273. package/components/accordion/accordion.js.map +1 -1
  274. package/components/backdrop/backdrop.js +1 -1
  275. package/components/backdrop/backdrop.js.map +1 -1
  276. package/components/banner/banner.d.ts +13 -51
  277. package/components/banner/banner.js +1 -1
  278. package/components/banner/banner.js.map +1 -1
  279. package/components/button/button.d.ts +2 -1
  280. package/components/button/button.js +1 -1
  281. package/components/button/button.js.map +1 -1
  282. package/components/card/Card.d.ts +92 -0
  283. package/components/card/Card.js +2 -0
  284. package/components/card/Card.js.map +1 -0
  285. package/components/card/FlippingCard.d.ts +3 -0
  286. package/components/card/FlippingCard.js +2 -0
  287. package/components/card/FlippingCard.js.map +1 -0
  288. package/components/card/LinkCard.d.ts +3 -0
  289. package/components/card/LinkCard.js +2 -0
  290. package/components/card/LinkCard.js.map +1 -0
  291. package/components/card/SelectableCard.d.ts +3 -0
  292. package/components/card/SelectableCard.js +2 -0
  293. package/components/card/SelectableCard.js.map +1 -0
  294. package/components/card/SimpleCard.d.ts +3 -0
  295. package/components/card/SimpleCard.js +2 -0
  296. package/components/card/SimpleCard.js.map +1 -0
  297. package/components/card/index.d.ts +1 -0
  298. package/components/cardContainer/cardContainer.d.ts +1 -0
  299. package/components/cardContainer/cardContainer.js +1 -1
  300. package/components/cardContainer/cardContainer.js.map +1 -1
  301. package/components/cardMenu/cardMenu.d.ts +3 -1
  302. package/components/cardMenu/cardMenu.js +1 -1
  303. package/components/cardMenu/cardMenu.js.map +1 -1
  304. package/components/cardMenu/styled/menuListStyled.js +1 -1
  305. package/components/cardMenu/styled/menuListStyled.js.map +1 -1
  306. package/components/chip/chipDropdownChildren/chipDropdownChildren.js +1 -1
  307. package/components/chip/chipDropdownChildren/chipDropdownChildren.js.map +1 -1
  308. package/components/chip/chipMultiselect/multiSelectChip.d.ts +2 -1
  309. package/components/chip/chipMultiselect/multiSelectChip.js +1 -1
  310. package/components/chip/chipMultiselect/multiSelectChip.js.map +1 -1
  311. package/components/chip/regular/chip.d.ts +2 -1
  312. package/components/chip/regular/chip.js +1 -1
  313. package/components/chip/regular/chip.js.map +1 -1
  314. package/components/closeDialogButton/index.js +1 -1
  315. package/components/closeDialogButton/index.js.map +1 -1
  316. package/components/common/interface/textInputInterface.d.ts +2 -1
  317. package/components/common/styled/textFieldStyled.js +1 -1
  318. package/components/common/styled/textFieldStyled.js.map +1 -1
  319. package/components/controls/controls.d.ts +2 -1
  320. package/components/controls/controls.js +1 -1
  321. package/components/controls/controls.js.map +1 -1
  322. package/components/icon/icon.d.ts +16 -8
  323. package/components/icon/icon.definitions.d.ts +1058 -0
  324. package/components/icon/icon.definitions.js +2 -0
  325. package/components/icon/icon.definitions.js.map +1 -0
  326. package/components/icon/icon.js +1 -1
  327. package/components/icon/icon.js.map +1 -1
  328. package/components/icon/index.d.ts +1 -1
  329. package/components/index.d.ts +1 -3
  330. package/components/indicator/indicator.d.ts +9 -3
  331. package/components/indicator/indicator.js +1 -18
  332. package/components/indicator/indicator.js.map +1 -1
  333. package/components/label/label.js +2 -2
  334. package/components/label/label.js.map +1 -1
  335. package/components/labelFeature/labelFeature.js +1 -1
  336. package/components/labelFeature/labelFeature.js.map +1 -1
  337. package/components/labelPromotional/labelPromotional.js +1 -1
  338. package/components/labelPromotional/labelPromotional.js.map +1 -1
  339. package/components/labelStatus/labelStatus.d.ts +1 -0
  340. package/components/labelStatus/labelStatus.js +1 -1
  341. package/components/labelStatus/labelStatus.js.map +1 -1
  342. package/components/menu/menu.js +1 -1
  343. package/components/menu/menu.js.map +1 -1
  344. package/components/mobileStepper/mobileStepperButton.js +1 -1
  345. package/components/mobileStepper/mobileStepperButton.js.map +1 -1
  346. package/components/modal/modal.js +1 -1
  347. package/components/modal/modal.js.map +1 -1
  348. package/components/numbering/numbering.js +1 -1
  349. package/components/numbering/numbering.js.map +1 -1
  350. package/components/pagination/pagination.js +1 -1
  351. package/components/pagination/pagination.js.map +1 -1
  352. package/components/progressBar/components/loader.js +1 -1
  353. package/components/progressBar/components/loader.js.map +1 -1
  354. package/components/progressBar/components/spinner.js +1 -1
  355. package/components/progressBar/components/spinner.js.map +1 -1
  356. package/components/selectInput/formControlSelectStyled.js +1 -1
  357. package/components/selectInput/formControlSelectStyled.js.map +1 -1
  358. package/components/selectInput/selectInput.d.ts +2 -1
  359. package/components/selectInput/selectInput.js +1 -1
  360. package/components/selectInput/selectInput.js.map +1 -1
  361. package/components/snackbar/snackbarMessage.js +1 -1
  362. package/components/snackbar/snackbarMessage.js.map +1 -1
  363. package/components/stepper/stepper.js +1 -1
  364. package/components/stepper/stepper.js.map +1 -1
  365. package/components/textInput/textInput.js +1 -1
  366. package/components/textInput/textInput.js.map +1 -1
  367. package/components/upload/UploadField.d.ts +2 -2
  368. package/components/upload/UploadField.js +1 -1
  369. package/components/upload/UploadField.js.map +1 -1
  370. package/components/upload/UploadPreview.d.ts +1 -1
  371. package/components/upload/UploadPreviewList.d.ts +1 -1
  372. package/components/upload/UploadPreviewList.js +1 -1
  373. package/components/upload/UploadPreviewList.js.map +1 -1
  374. package/design/skoda/SkodaThemeProvider.d.ts +8 -1
  375. package/design/skoda/SkodaThemeProvider.js +1 -1
  376. package/design/skoda/SkodaThemeProvider.js.map +1 -1
  377. package/design/skoda/SkodaThemeWidgetProvider.d.ts +5 -7
  378. package/design/skoda/SkodaThemeWidgetProvider.js +1 -1
  379. package/design/skoda/SkodaThemeWidgetProvider.js.map +1 -1
  380. package/design/skoda/components/accordion/accordion.theme.js +1 -1
  381. package/design/skoda/components/accordion/accordion.theme.js.map +1 -1
  382. package/design/skoda/components/accordion/accordionSummary.theme.js +1 -1
  383. package/design/skoda/components/accordion/accordionSummary.theme.js.map +1 -1
  384. package/design/skoda/components/autocomplete.theme.js +1 -1
  385. package/design/skoda/components/autocomplete.theme.js.map +1 -1
  386. package/design/skoda/components/backdrop.theme.js +1 -1
  387. package/design/skoda/components/backdrop.theme.js.map +1 -1
  388. package/design/skoda/components/baseline.theme.d.ts +2 -3
  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 +1 -1
  392. package/design/skoda/components/breadcrumbs.theme.js.map +1 -1
  393. package/design/skoda/components/checkbox.theme.js +1 -1
  394. package/design/skoda/components/checkbox.theme.js.map +1 -1
  395. package/design/skoda/components/dialog/dialog.theme.js +1 -1
  396. package/design/skoda/components/dialog/dialog.theme.js.map +1 -1
  397. package/design/skoda/components/divider.theme.js +1 -1
  398. package/design/skoda/components/divider.theme.js.map +1 -1
  399. package/design/skoda/components/drawer.theme.js +1 -1
  400. package/design/skoda/components/drawer.theme.js.map +1 -1
  401. package/design/skoda/components/form/radio.theme.js +1 -1
  402. package/design/skoda/components/form/radio.theme.js.map +1 -1
  403. package/design/skoda/components/form/select.theme.js +1 -1
  404. package/design/skoda/components/form/select.theme.js.map +1 -1
  405. package/design/skoda/components/form/slider.theme.js +1 -1
  406. package/design/skoda/components/form/slider.theme.js.map +1 -1
  407. package/design/skoda/components/icon.theme.js +1 -1
  408. package/design/skoda/components/icon.theme.js.map +1 -1
  409. package/design/skoda/components/mobileStepper.theme.js +1 -1
  410. package/design/skoda/components/mobileStepper.theme.js.map +1 -1
  411. package/design/skoda/components/modal.theme.js +1 -1
  412. package/design/skoda/components/modal.theme.js.map +1 -1
  413. package/design/skoda/components/pagination.theme.js +1 -1
  414. package/design/skoda/components/pagination.theme.js.map +1 -1
  415. package/design/skoda/components/snackbar.theme.js +1 -1
  416. package/design/skoda/components/snackbar.theme.js.map +1 -1
  417. package/design/skoda/components/stepper/stepIcon/qontoStepIcon.js +1 -1
  418. package/design/skoda/components/stepper/stepIcon/qontoStepIcon.js.map +1 -1
  419. package/design/skoda/components/stepper/stepper.theme.js +1 -1
  420. package/design/skoda/components/stepper/stepper.theme.js.map +1 -1
  421. package/design/skoda/components/tabs/tab.theme.js +1 -1
  422. package/design/skoda/components/tabs/tab.theme.js.map +1 -1
  423. package/design/skoda/components/tabs/tabs.theme.js +1 -1
  424. package/design/skoda/components/tabs/tabs.theme.js.map +1 -1
  425. package/design/skoda/components/tooltip.theme.js +1 -1
  426. package/design/skoda/components/tooltip.theme.js.map +1 -1
  427. package/design/skoda/fonts/SKODANextIcons-Filled.eot.js +2 -0
  428. package/design/skoda/fonts/SKODANextIcons-Filled.eot.js.map +1 -0
  429. package/design/skoda/fonts/SKODANextIcons-Filled.otf.js +2 -0
  430. package/design/skoda/fonts/SKODANextIcons-Filled.otf.js.map +1 -0
  431. package/design/skoda/fonts/SKODANextIcons-Filled.woff.js +2 -0
  432. package/design/skoda/fonts/SKODANextIcons-Filled.woff.js.map +1 -0
  433. package/design/skoda/fonts/SKODANextIcons-Regular.eot.js +2 -0
  434. package/design/skoda/fonts/SKODANextIcons-Regular.eot.js.map +1 -0
  435. package/design/skoda/fonts/SKODANextIcons-Regular.otf.js +2 -0
  436. package/design/skoda/fonts/SKODANextIcons-Regular.otf.js.map +1 -0
  437. package/design/skoda/fonts/SKODANextIcons-Regular.woff.js +2 -0
  438. package/design/skoda/fonts/SKODANextIcons-Regular.woff.js.map +1 -0
  439. package/design/skoda/index.d.ts +1 -0
  440. package/design/skoda/{palette.theme.d.ts → paletteDark.theme.d.ts} +1 -1
  441. package/design/skoda/paletteDark.theme.js +2 -0
  442. package/design/skoda/paletteDark.theme.js.map +1 -0
  443. package/design/skoda/paletteLight.theme.d.ts +2 -0
  444. package/design/skoda/paletteLight.theme.js +2 -0
  445. package/design/skoda/paletteLight.theme.js.map +1 -0
  446. package/design/skoda/theme.constants.js +1 -1
  447. package/design/skoda/theme.constants.js.map +1 -1
  448. package/design/skoda/theme.d.ts +8 -2
  449. package/design/skoda/theme.js +1 -1
  450. package/design/skoda/theme.js.map +1 -1
  451. package/design/skoda/theme.typography.d.ts +10 -7
  452. package/design/skoda/theme.typography.js +1 -1
  453. package/design/skoda/theme.typography.js.map +1 -1
  454. package/eula.txt +40 -0
  455. package/index.js +1 -1
  456. package/layout/Footer/FooterAccordion.js +1 -1
  457. package/layout/Footer/FooterAccordion.js.map +1 -1
  458. package/layout/Footer/FooterIconButton.d.ts +2 -2
  459. package/layout/Footer/FooterIconButton.js +1 -1
  460. package/layout/Footer/FooterIconButton.js.map +1 -1
  461. package/layout/Footer/FooterLink.d.ts +2 -2
  462. package/layout/Footer/FooterLink.js +1 -1
  463. package/layout/Footer/FooterLink.js.map +1 -1
  464. package/layout/Footer/FooterMenu.js +1 -1
  465. package/layout/Footer/FooterMenu.js.map +1 -1
  466. package/layout/Header/HeaderButton.d.ts +3 -3
  467. package/layout/Header/HeaderButton.js +1 -1
  468. package/layout/Header/HeaderButton.js.map +1 -1
  469. package/layout/Header/HeaderNavigationLink.d.ts +1 -1
  470. package/layout/Header/HeaderNavigationLink.js +1 -1
  471. package/layout/Header/HeaderNavigationLink.js.map +1 -1
  472. package/layout/Header/HeaderNavigationMenu.d.ts +1 -0
  473. package/layout/Header/HeaderNavigationMenu.js +1 -1
  474. package/layout/Header/HeaderNavigationMenu.js.map +1 -1
  475. package/layout/Header/PredefinedHeaderButtons.js +1 -1
  476. package/layout/Header/PredefinedHeaderButtons.js.map +1 -1
  477. package/layout/SideMenu/SideMenu.js +1 -1
  478. package/layout/SideMenu/SideMenu.js.map +1 -1
  479. package/layout/container/container.js.map +1 -0
  480. package/layout/cookieModal/CookieModal.d.ts +69 -0
  481. package/layout/cookieModal/CookieModal.js +2 -0
  482. package/layout/cookieModal/CookieModal.js.map +1 -0
  483. package/layout/cookieModal/CookieModalItem.d.ts +37 -0
  484. package/layout/cookieModal/CookieModalItem.js +2 -0
  485. package/layout/cookieModal/CookieModalItem.js.map +1 -0
  486. package/layout/cookieModal/index.d.ts +2 -0
  487. package/layout/index.d.ts +2 -0
  488. package/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js +1 -1
  489. package/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.js.map +1 -1
  490. package/organisms/cardPromoVehicle/cardPromoVehicleComponent.js +1 -1
  491. package/organisms/cardPromoVehicle/cardPromoVehicleComponent.js.map +1 -1
  492. package/organisms/carousel/carousel.d.ts +6 -2
  493. package/organisms/carousel/carousel.js.map +1 -1
  494. package/organisms/carousel/carouselTemplate.d.ts +2 -1
  495. package/organisms/carousel/styledComponents/styledCarouselHorizontal.js +1 -1
  496. package/organisms/carousel/styledComponents/styledCarouselHorizontal.js.map +1 -1
  497. package/organisms/carousel/styledComponents/styledCarouselVertical.js +1 -1
  498. package/organisms/carousel/styledComponents/styledCarouselVertical.js.map +1 -1
  499. package/organisms/carousel2/cardCarousel/cardCarousel.d.ts +3 -0
  500. package/organisms/carousel2/cardCarousel/cardCarousel.js.map +1 -1
  501. package/organisms/carousel2/carousel2.d.ts +3 -2
  502. package/organisms/carousel2/components/NavButton.js +1 -1
  503. package/organisms/carousel2/components/NavButton.js.map +1 -1
  504. package/organisms/carousel2/galleryCarousel/galleryCarousel.d.ts +3 -0
  505. package/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
  506. package/organisms/carousel2/heroCarousel/heroCarousel.d.ts +3 -0
  507. package/organisms/carousel2/heroCarousel/heroCarousel.js.map +1 -1
  508. package/organisms/common/menuCardComponent/menuCardComponent.js +1 -1
  509. package/organisms/common/menuCardComponent/menuCardComponent.js.map +1 -1
  510. package/organisms/gallery/Gallery.js +1 -1
  511. package/organisms/gallery/Gallery.js.map +1 -1
  512. package/organisms/gallery/GalleryTrigger.js +1 -1
  513. package/organisms/gallery/GalleryTrigger.js.map +1 -1
  514. package/organisms/heroImageCard/videoCardController.js +1 -1
  515. package/organisms/heroImageCard/videoCardController.js.map +1 -1
  516. package/organisms/maps/mapComponents/mapComponent.d.ts +2 -2
  517. package/organisms/maps/mapComponents/mapComponent.js.map +1 -1
  518. package/organisms/maps/mapComponents/mapStyled.js +1 -1
  519. package/organisms/maps/mapComponents/mapStyled.js.map +1 -1
  520. package/organisms/notification/Notification.js +1 -1
  521. package/organisms/notification/Notification.js.map +1 -1
  522. package/organisms/notification/NotificationCenterHeaderButton.d.ts +1 -1
  523. package/organisms/shortcutLink/shortcutLink.d.ts +2 -1
  524. package/organisms/shortcutLink/shortcutLink.js +1 -1
  525. package/organisms/shortcutLink/shortcutLink.js.map +1 -1
  526. package/organisms/textCta/textCta.d.ts +2 -1
  527. package/organisms/textCta/textCta.js +1 -1
  528. package/organisms/textCta/textCta.js.map +1 -1
  529. package/organisms/tile/tile.js +1 -1
  530. package/organisms/tile/tile.js.map +1 -1
  531. package/package.json +1 -1
  532. package/utils/useClosure/useClosure.d.ts +1 -0
  533. package/utils/useClosure/useClosure.js.map +1 -1
  534. package/utils/useFeatureFlag/useFeatureFlag.d.ts +26 -0
  535. package/utils/useFeatureFlag/useFeatureFlag.js +2 -0
  536. package/utils/useFeatureFlag/useFeatureFlag.js.map +1 -0
  537. package/cjs/components/agGrid/CustomRenderer.d.ts +0 -1
  538. package/cjs/components/agGrid/ImageRenderer.d.ts +0 -1
  539. package/cjs/components/agGrid/agGrid.d.ts +0 -8
  540. package/cjs/components/agGrid/agGrid.js +0 -2
  541. package/cjs/components/agGrid/agGrid.js.map +0 -1
  542. package/cjs/components/agGrid/agGridStyled.d.ts +0 -7
  543. package/cjs/components/agGrid/agGridStyled.js +0 -2
  544. package/cjs/components/agGrid/agGridStyled.js.map +0 -1
  545. package/cjs/components/agGrid/index.d.ts +0 -1
  546. package/cjs/components/agGrid/mock.d.ts +0 -70
  547. package/cjs/components/container/container.js.map +0 -1
  548. package/cjs/components/icon/availableIcons.d.ts +0 -1
  549. package/cjs/components/icon/availableIcons.js +0 -2
  550. package/cjs/components/icon/availableIcons.js.map +0 -1
  551. package/cjs/components/tab/examples.d.ts +0 -3
  552. package/cjs/components/tab/hook/useTabs.d.ts +0 -9
  553. package/cjs/components/tab/hook/useTabs.js +0 -2
  554. package/cjs/components/tab/hook/useTabs.js.map +0 -1
  555. package/cjs/components/tab/index.d.ts +0 -4
  556. package/cjs/components/tab/menuTab.d.ts +0 -36
  557. package/cjs/components/tab/menuTab.js +0 -2
  558. package/cjs/components/tab/menuTab.js.map +0 -1
  559. package/cjs/components/tab/secondaryNavigation/secondaryNavigationTabs.d.ts +0 -29
  560. package/cjs/components/tab/secondaryNavigation/secondaryNavigationTabs.js +0 -2
  561. package/cjs/components/tab/secondaryNavigation/secondaryNavigationTabs.js.map +0 -1
  562. package/cjs/components/tab/secondaryNavigation/secondaryTabStyled.d.ts +0 -14
  563. package/cjs/components/tab/secondaryNavigation/secondaryTabStyled.js +0 -2
  564. package/cjs/components/tab/secondaryNavigation/secondaryTabStyled.js.map +0 -1
  565. package/cjs/components/tab/tab.d.ts +0 -49
  566. package/cjs/components/tab/tab.js +0 -2
  567. package/cjs/components/tab/tab.js.map +0 -1
  568. package/cjs/components/tab/tabPanel.d.ts +0 -20
  569. package/cjs/components/tab/tabPanel.js +0 -2
  570. package/cjs/components/tab/tabPanel.js.map +0 -1
  571. package/cjs/components/tab/tabStyled.d.ts +0 -19
  572. package/cjs/components/tab/tabStyled.js +0 -2
  573. package/cjs/components/tab/tabStyled.js.map +0 -1
  574. package/cjs/components/tab/tabs.d.ts +0 -55
  575. package/cjs/components/tab/tabs.js +0 -2
  576. package/cjs/components/tab/tabs.js.map +0 -1
  577. package/cjs/design/skoda/palette.theme.js +0 -2
  578. package/cjs/design/skoda/palette.theme.js.map +0 -1
  579. package/cjs/utils/icons.js +0 -2
  580. package/cjs/utils/icons.js.map +0 -1
  581. package/components/agGrid/CustomRenderer.d.ts +0 -1
  582. package/components/agGrid/ImageRenderer.d.ts +0 -1
  583. package/components/agGrid/agGrid.d.ts +0 -8
  584. package/components/agGrid/agGrid.js +0 -2
  585. package/components/agGrid/agGrid.js.map +0 -1
  586. package/components/agGrid/agGridStyled.d.ts +0 -7
  587. package/components/agGrid/agGridStyled.js +0 -2
  588. package/components/agGrid/agGridStyled.js.map +0 -1
  589. package/components/agGrid/index.d.ts +0 -1
  590. package/components/agGrid/mock.d.ts +0 -70
  591. package/components/container/container.js.map +0 -1
  592. package/components/icon/availableIcons.d.ts +0 -1
  593. package/components/icon/availableIcons.js +0 -2
  594. package/components/icon/availableIcons.js.map +0 -1
  595. package/components/tab/examples.d.ts +0 -3
  596. package/components/tab/hook/useTabs.d.ts +0 -9
  597. package/components/tab/hook/useTabs.js +0 -2
  598. package/components/tab/hook/useTabs.js.map +0 -1
  599. package/components/tab/index.d.ts +0 -4
  600. package/components/tab/menuTab.d.ts +0 -36
  601. package/components/tab/menuTab.js +0 -2
  602. package/components/tab/menuTab.js.map +0 -1
  603. package/components/tab/secondaryNavigation/secondaryNavigationTabs.d.ts +0 -29
  604. package/components/tab/secondaryNavigation/secondaryNavigationTabs.js +0 -2
  605. package/components/tab/secondaryNavigation/secondaryNavigationTabs.js.map +0 -1
  606. package/components/tab/secondaryNavigation/secondaryTabStyled.d.ts +0 -14
  607. package/components/tab/secondaryNavigation/secondaryTabStyled.js +0 -2
  608. package/components/tab/secondaryNavigation/secondaryTabStyled.js.map +0 -1
  609. package/components/tab/tab.d.ts +0 -49
  610. package/components/tab/tab.js +0 -2
  611. package/components/tab/tab.js.map +0 -1
  612. package/components/tab/tabPanel.d.ts +0 -20
  613. package/components/tab/tabPanel.js +0 -2
  614. package/components/tab/tabPanel.js.map +0 -1
  615. package/components/tab/tabStyled.d.ts +0 -19
  616. package/components/tab/tabStyled.js +0 -2
  617. package/components/tab/tabStyled.js.map +0 -1
  618. package/components/tab/tabs.d.ts +0 -55
  619. package/components/tab/tabs.js +0 -2
  620. package/components/tab/tabs.js.map +0 -1
  621. package/design/skoda/palette.theme.js +0 -2
  622. package/design/skoda/palette.theme.js.map +0 -1
  623. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.ttf +0 -0
  624. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff +0 -0
  625. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff2 +0 -0
  626. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.ttf +0 -0
  627. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff +0 -0
  628. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff2 +0 -0
  629. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.ttf +0 -0
  630. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff +0 -0
  631. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff2 +0 -0
  632. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.ttf +0 -0
  633. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff +0 -0
  634. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff2 +0 -0
  635. package/theme/skoda/fonts.css +0 -1
  636. package/theme/skoda/globals.css +0 -1
  637. package/theme/skoda/icons.css +0 -1
  638. package/utils/icons.js +0 -2
  639. package/utils/icons.js.map +0 -1
  640. /package/{theme/skoda/fonts/SKODANextIcons-Regular.eot → 2f0bdf9288683716.eot} +0 -0
  641. /package/{theme/skoda/fonts/SKODANextIcons-Filled.woff → 31900b5b84c8ebf5.woff} +0 -0
  642. /package/{theme/skoda/fonts/SKODANextIcons-Regular.woff → 690054abce120440.woff} +0 -0
  643. /package/{theme/skoda/fonts/SKODANextIcons-Filled.eot → 9b0223f0f75101d4.eot} +0 -0
  644. /package/cjs/{components → layout}/container/container.d.ts +0 -0
  645. /package/cjs/{components → layout}/container/container.js +0 -0
  646. /package/cjs/{components → layout}/container/index.d.ts +0 -0
  647. /package/{components → layout}/container/container.d.ts +0 -0
  648. /package/{components → layout}/container/container.js +0 -0
  649. /package/{components → layout}/container/index.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ "use strict";const a=[{name:"upload",category:"actions",tags:["send"],content:"ffffc"},{name:"download",category:"actions",tags:["receive"],content:"ffffd"},{name:"export",category:"actions",tags:["send"],content:"ffffa"},{name:"import",category:"actions",tags:["receive"],content:"ffffb"},{name:"back-to-parent",category:"actions",tags:["revert"],content:"21a9"},{name:"reload",category:"actions",tags:["refresh"],content:"ffff9"},{name:"change-order",category:"actions",tags:["reverse"],content:"ffff8"},{name:"sort-down",category:"actions",tags:["descending"],content:"ffff7"},{name:"sort-up",category:"actions",tags:["ascending"],content:"ffff6"},{name:"close",category:"actions",tags:["cross","ballotx"],content:"2717"},{name:"minus",category:"actions",tags:["delete"],content:"002d"},{name:"plus",category:"actions",tags:["add"],content:"002b"},{name:"revert",category:"actions",tags:["reverse"],content:"27f2"},{name:"refresh",category:"actions",tags:["reload"],content:"27f3"},{name:"history",category:"actions",tags:["previous"],content:"fffe3"},{name:"settings",category:"actions",tags:["cog"],content:"e94a"},{name:"show",category:"actions",tags:["look","password","visible","display","eye"],content:"e966"},{name:"hide",category:"actions",tags:["password","eye","invisible","hidden"],content:"e965"},{name:"send",category:"actions",tags:["delivery"],content:"e9ca"},{name:"heart",category:"actions",tags:["love","like"],content:"e984"},{name:"share",category:"actions",tags:["distribute"],content:"e97a"},{name:"microphone",category:"actions",tags:["record"],content:"fffbd"},{name:"filter",category:"actions",tags:["funnel"],content:"e94c"},{name:"bell",category:"actions",tags:["ding","notification"],content:"e97c"},{name:"bookmark",category:"actions",tags:["ribbon","save"],content:"e94e"},{name:"thumb-up",category:"actions",tags:["like"],content:"e9a3"},{name:"thumb-down",category:"actions",tags:["dislike"],content:"e9a4"},{name:"audio-off",category:"actions",tags:["mute","volume","sound"],content:"e978"},{name:"audio-mid",category:"actions",tags:["quiet","volume","sound"],content:"fffac"},{name:"audio-on",category:"actions",tags:["loud","volume","sound"],content:"fffab"},{name:"audio-mute",category:"actions",tags:["mute","volume","sound"],content:"fff9e"},{name:"mute",category:"actions",tags:["microphone"],content:"fff9e"},{name:"write",category:"actions",tags:["draft"],content:"f8fe"},{name:"external-link",category:"actions",tags:["webpage"],content:"e93c"},{name:"select",category:"actions",tags:["duplicate"],content:"e955"},{name:"select-all",category:"actions",tags:["finished"],content:"f8f8"},{name:"menu-waffle",category:"actions",tags:["window"],content:"e918"},{name:"logout",category:"actions",tags:["signout"],content:"e971"},{name:"login",category:"actions",tags:["signin"],content:"e970"},{name:"cut",category:"actions",tags:["remove"],content:"100009"},{name:"copy",category:"actions",tags:[],content:"100010"},{name:"paste",category:"actions",tags:["apply"],content:"100011"},{name:"trashcan",category:"actions",tags:["bin","delete","remove"],content:"100013"},{name:"shuffle",category:"actions",tags:["remix"],content:"ffffe"},{name:"archived",category:"actions",tags:["stored","drawer"],content:"f8f3"},{name:"edit",category:"actions",tags:["pencil"],content:"e942"},{name:"list",category:"actions",tags:["bulletpoints"],content:"fffdf"},{name:"filters",category:"actions",tags:["sliders"],content:"fffdd"},{name:"search",category:"actions",tags:["find"],content:"1f50d"},{name:"search-plus",category:"actions",tags:["zoom"],content:"e98f"},{name:"search-minus",category:"actions",tags:["zoom"],content:"e990"},{name:"arrow-up",category:"arrows",tags:["forwards"],content:"2191"},{name:"arrow-top-right",category:"arrows",tags:["diagonal"],content:"2197"},{name:"arrow-right",category:"arrows",tags:["forwards"],content:"2192"},{name:"arrow-bottom-right",category:"arrows",tags:["diagonal"],content:"2198"},{name:"arrow-down",category:"arrows",tags:["backwards"],content:"2193"},{name:"arrow-bottom-left",category:"arrows",tags:["diagonal"],content:"2199"},{name:"arrow-left",category:"arrows",tags:["backwards"],content:"2190"},{name:"arrow-top-left",category:"arrows",tags:["diagonal"],content:"2196"},{name:"curved-up",category:"arrows",tags:[],content:"2934"},{name:"curved-up-flipped",category:"arrows",tags:[],content:"ffff4"},{name:"curved-left-flipped",category:"arrows",tags:["point"],content:"ffff3"},{name:"curved-right-flipped",category:"arrows",tags:["reply"],content:"ffff2"},{name:"curved-down",category:"arrows",tags:["point"],content:"2935"},{name:"curved-down-flipped",category:"arrows",tags:["point"],content:"ffff0"},{name:"curved-left",category:"arrows",tags:["point"],content:"2936"},{name:"curved-right",category:"arrows",tags:["point"],content:"2937"},{name:"chevron-up",category:"arrows",tags:["ascend","toggle"],content:"fffed"},{name:"chevron-right",category:"arrows",tags:["forwards"],content:"fffec"},{name:"chevron-left",category:"arrows",tags:["backwards"],content:"fffea"},{name:"chevron-down",category:"arrows",tags:["descend","toggle"],content:"fffeb"},{name:"chevron-double-up",category:"arrows",tags:["ascend"],content:"fffe9"},{name:"chevron-double-down",category:"arrows",tags:["descend"],content:"fffe7"},{name:"chevron-double-left",category:"arrows",tags:["backwards"],content:"fffe6"},{name:"chevron-double-right",category:"arrows",tags:["forwards"],content:"fffe8"},{name:"chevron-previous",category:"arrows",tags:["backwards"],content:"fffe5"},{name:"chevron-next",category:"arrows",tags:["forwards"],content:"fffe4"},{name:"circle-down",category:"arrows",tags:["descend","download"],content:"f0012"},{name:"circle-left",category:"arrows",tags:["backwards"],content:"f0014"},{name:"circle-up",category:"arrows",tags:["ascend","upload"],content:"f0008"},{name:"circle-right",category:"arrows",tags:["forwards"],content:"f0010"},{name:"circle-top-right",category:"arrows",tags:["diagonal"],content:"f0009"},{name:"circle-bottom-right",category:"arrows",tags:["diagonal"],content:"f0011"},{name:"circle-bottom-left",category:"arrows",tags:["diagonal"],content:"f0013"},{name:"circle-top-left",category:"arrows",tags:["diagonal"],content:"f0015"},{name:"circle-chevron-down",category:"arrows",tags:["descend"],content:"e928"},{name:"circle-chevron-right",category:"arrows",tags:["forwards"],content:"e92a"},{name:"circle-chevron-up",category:"arrows",tags:["ascend"],content:"e92b"},{name:"circle-chevron-left",category:"arrows",tags:["backwards"],content:"e928"},{name:"triangle",category:"shapes",tags:["equilateral"],content:"25b3"},{name:"star",category:"shapes",tags:["award","pentagram"],content:"2606"},{name:"circle",category:"shapes",tags:["dot"],content:"25cb"},{name:"square",category:"shapes",tags:["box"],content:"25a1"},{name:"shapes",category:"shapes",tags:["basic"],content:"f8f6"},{name:"rhombus",category:"shapes",tags:["quadrilateral","diamond"],content:"25c7"},{name:"rectangle-vertical",category:"shapes",tags:["box"],content:"25af"},{name:"rectangle-horizontal",category:"shapes",tags:["box"],content:"25ad"},{name:"rounded",category:"shapes",tags:["box","oblong"],content:"10fff1"},{name:"calendar",category:"calendar",tags:["date"],content:"e927"},{name:"calendar-check",category:"calendar",tags:["entered"],content:"10fff7"},{name:"calendar-point",category:"calendar",tags:["date"],content:"10fff6"},{name:"engine",category:"car",tags:["motor"],content:"10ffea"},{name:"tyres",category:"car",tags:["nut","target"],content:"f0033"},{name:"breaks",category:"car",tags:["abs"],content:"f0032"},{name:"car",category:"car",tags:["front"],content:"fffa3"},{name:"steering",category:"car",tags:["direction"],content:"f0031"},{name:"steering-locked",category:"car",tags:["direction"],content:"f0034"},{name:"wiper",category:"car",tags:["gauge","window"],content:"fff9f"},{name:"tracks",category:"car",tags:[],content:"fff97"},{name:"pump",category:"car",tags:["fuel","gas"],content:"100012"},{name:"brightness",category:"car",tags:["daylight"],content:"e9c8"},{name:"nut",category:"car",tags:[],content:"fffa7"},{name:"fan",category:"car",tags:["ac","a/c","air conditioning","clima","air"],content:"fffa4"},{name:"cone",category:"car",tags:["road","block"],content:"fffa5"},{name:"assistance",category:"car",tags:["aid"],content:"f0029"},{name:"comfort",category:"car",tags:["mode","switch","pillow"],content:"10ffe8"},{name:"battery",category:"car",tags:["voltage"],content:"10fff5"},{name:"charger",category:"car",tags:["ev","gas","fuel"],content:"100017"},{name:"lights",category:"car",tags:["headlights","headlamps"],content:"10ffe9"},{name:"bolt",category:"car",tags:["flash","electricity"],content:"fff99"},{name:"reverse",category:"media",tags:["backwards","audio","video"],content:"fffda"},{name:"rewind",category:"media",tags:["audio","video","reply"],content:"fffd9"},{name:"previous",category:"media",tags:["audio","video","skip","backwards"],content:"fffe5"},{name:"pause",category:"media",tags:["audio","video","hold"],content:"fffd7"},{name:"next",category:"media",tags:["audio","video","skip","forwards"],content:"fffd6"},{name:"play",category:"media",tags:["audio","video"],content:"fffd4"},{name:"stop",category:"media",tags:["audio","video","square"],content:"fffd3"},{name:"record",category:"media",tags:["audio","video","circle"],content:"fffd2"},{name:"audio-note",category:"media",tags:["audio","video","music","sound"],content:"fff98"},{name:"wave",category:"media",tags:["audio","video","equalizer"],content:"fffdb"},{name:"battery-empty",category:"battery",tags:["energy"],content:"10fff2"},{name:"battery-onefourth",category:"battery",tags:["energy"],content:"10ffec"},{name:"battery-twofourths",category:"battery",tags:["energy"],content:"10fff3"},{name:"battery-threefourths",category:"battery",tags:["energy"],content:"10fff4"},{name:"battery-full",category:"battery",tags:["charged"],content:"10fff5"},{name:"file",category:"file",tags:["document"],content:"e958"},{name:"new",category:"file",tags:["document","create"],content:"100015"},{name:"missing",category:"file",tags:["document","unavailable"],content:"100016"},{name:"folder",category:"file",tags:[],content:"e963"},{name:"folder-share",category:"file",tags:["distributed"],content:"10ffed"},{name:"image",category:"file",tags:["picture"],content:"e972"},{name:"check",category:"informational",tags:["tick","checkmark"],content:"2713"},{name:"stats",category:"informational",tags:["graphs"],content:"fffdc"},{name:"warning",category:"informational",tags:["alert","exclamation"],content:"e922"},{name:"clip",category:"informational",tags:["paperclip"],content:"e97b"},{name:"locked",category:"informational",tags:["padlock"],content:"e95f"},{name:"unlocked",category:"informational",tags:["padlock"],content:"e960"},{name:"shield",category:"informational",tags:["badge"],content:"e9b9"},{name:"shield-check",category:"informational",tags:["verified"],content:"fffc0"},{name:"phone",category:"informational",tags:["call","telephone"],content:"e9b8"},{name:"barcode",category:"informational",tags:["scan"],content:"f8fb"},{name:"qrcode",category:"informational",tags:["scan"],content:"f8fa"},{name:"news",category:"informational",tags:["info"],content:"100001"},{name:"newspaper",category:"informational",tags:["print"],content:"100002"},{name:"manual",category:"informational",tags:["instructions","magazine"],content:"100003"},{name:"note",category:"informational",tags:["clipboard"],content:"f8f4"},{name:"schedule",category:"informational",tags:["list"],content:"100005"},{name:"task-done",category:"informational",tags:["completed"],content:"100006"},{name:"mail",category:"informational",tags:["envelope","email","e-mail"],content:"e979"},{name:"suitcase",category:"informational",tags:["luggage","work","business"],content:"e97d"},{name:"camera",category:"informational",tags:["photo"],content:"e96c"},{name:"speech",category:"informational",tags:["balloon"],content:"e97f"},{name:"cloud-download",category:"informational",tags:["transfer"],content:"e943"},{name:"cloud-upload",category:"informational",tags:["saved"],content:"e944"},{name:"circle-exclamation",category:"informational",tags:["alert","warning"],content:"f0004"},{name:"circle-minus",category:"informational",tags:["decrease"],content:"f0000"},{name:"circle-plus",category:"informational",tags:["increase"],content:"f0001"},{name:"circle-close",category:"informational",tags:["remove","delete","circle-multiply"],content:"f0002"},{name:"circle-slash",category:"informational",tags:["refuse","not allowed"],content:"f0003"},{name:"circle-question",category:"informational",tags:["help"],content:"f0005"},{name:"circle-info",category:"informational",tags:["info","help"],content:"2139"},{name:"circle-check",category:"informational",tags:["verified"],content:"f0007"},{name:"circle-download",category:"informational",tags:["import"],content:"f0016"},{name:"circle-upload",category:"informational",tags:["export"],content:"f0017"},{name:"circle-bluetooth",category:"informational",tags:["sync","wireless"],content:"f0018"},{name:"clock",category:"informational",tags:["time"],content:"e940"},{name:"stopwatch",category:"informational",tags:["timer","counter"],content:"f0024"},{name:"globe",category:"informational",tags:["world"],content:"e94f"},{name:"contrast",category:"informational",tags:["ratio"],content:"f0027"},{name:"add",category:"informational",tags:["plus"],content:"f8f1"},{name:"weather-rainy",category:"informational",tags:["partially cloudy","partially sunny"],content:"fff9c"},{name:"signal",category:"informational",tags:["station","tower"],content:"fff9d"},{name:"radar",category:"informational",tags:["locator"],content:"f0028"},{name:"inbox",category:"informational",tags:["email","drawer"],content:"f8f3"},{name:"health",category:"informational",tags:["scan","diagnostics"],content:"f8f2"},{name:"first-aid",category:"informational",tags:["medical"],content:"10ffeb"},{name:"pin",category:"maps",tags:[],content:"fffc6"},{name:"marker",category:"maps",tags:["position"],content:"fffc5"},{name:"location",category:"maps",tags:["access"],content:"fffc4"},{name:"locate",category:"maps",tags:["center"],content:"fffe2"},{name:"map",category:"maps",tags:["navigate"],content:"e9c2"},{name:"compass",category:"maps",tags:["navigate"],content:"e9ab"},{name:"hamburger",category:"menu",tags:["menu"],content:"fffde"},{name:"horizontal",category:"menu",tags:["more","ellipsis"],content:"fffe1"},{name:"vertical",category:"menu",tags:["more","kebab"],content:"fffe0"},{name:"window",category:"menu",tags:[],content:"f8f0"},{name:"home",category:"menu",tags:["house"],content:"e925"},{name:"wifi-low",category:"wifi",tags:["wi-fi","weak","signal"],content:"fffa8"},{name:"wifi-medium",category:"wifi",tags:["wi-fi","mid","signal"],content:"fffa9"},{name:"wifi-high",category:"wifi",tags:["wi-fi","strong","signal"],content:"fffaa"},{name:"wifi-no-signal",category:"wifi",tags:["wi-fi","empty","signal"],content:"fffa1"},{name:"wifi-disabled",category:"wifi",tags:["wi-fi","disconnected","signal"],content:"fffa0"},{name:"card",category:"shopping",tags:["credit"],content:"e9bf"},{name:"box",category:"shopping",tags:["package","order"],content:"fff9a"},{name:"shopping-bag",category:"shopping",tags:["e-commerce","basket"],content:"fffb7"},{name:"price-tag",category:"shopping",tags:[""],content:"fff9b"},{name:"ticket",category:"shopping",tags:["voucher","coupon","discount"],content:"10ffe6"},{name:"profile",category:"user",tags:[],content:"e939"},{name:"group",category:"user",tags:["profiles"],content:"e941"},{name:"id-card",category:"user",tags:["identification"],content:"e9aa"},{name:"finger-print",category:"user",tags:["biometrics"],content:"f0030"}],t=a.map((a=>a.name));exports.availableIcons=t,exports.iconDefinitions=a;
2
+ //# sourceMappingURL=icon.definitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.definitions.js","sources":["../../../../src/components/icon/icon.definitions.ts"],"sourcesContent":["export const iconDefinitions = [\n { name: 'upload', category: 'actions', tags: ['send'], content: 'ffffc' },\n { name: 'download', category: 'actions', tags: ['receive'], content: 'ffffd' },\n { name: 'export', category: 'actions', tags: ['send'], content: 'ffffa' },\n { name: 'import', category: 'actions', tags: ['receive'], content: 'ffffb' },\n { name: 'back-to-parent', category: 'actions', tags: ['revert'], content: '21a9' },\n { name: 'reload', category: 'actions', tags: ['refresh'], content: 'ffff9' },\n { name: 'change-order', category: 'actions', tags: ['reverse'], content: 'ffff8' },\n { name: 'sort-down', category: 'actions', tags: ['descending'], content: 'ffff7' },\n { name: 'sort-up', category: 'actions', tags: ['ascending'], content: 'ffff6' },\n { name: 'close', category: 'actions', tags: ['cross', 'ballotx'], content: '2717' },\n { name: 'minus', category: 'actions', tags: ['delete'], content: '002d' },\n { name: 'plus', category: 'actions', tags: ['add'], content: '002b' },\n { name: 'revert', category: 'actions', tags: ['reverse'], content: '27f2' },\n { name: 'refresh', category: 'actions', tags: ['reload'], content: '27f3' },\n { name: 'history', category: 'actions', tags: ['previous'], content: 'fffe3' },\n { name: 'settings', category: 'actions', tags: ['cog'], content: 'e94a' },\n { name: 'show', category: 'actions', tags: ['look', 'password', 'visible', 'display', 'eye'], content: 'e966' },\n { name: 'hide', category: 'actions', tags: ['password', 'eye', 'invisible', 'hidden'], content: 'e965' },\n { name: 'send', category: 'actions', tags: ['delivery'], content: 'e9ca' },\n { name: 'heart', category: 'actions', tags: ['love', 'like'], content: 'e984' },\n { name: 'share', category: 'actions', tags: ['distribute'], content: 'e97a' },\n { name: 'microphone', category: 'actions', tags: ['record'], content: 'fffbd' },\n { name: 'filter', category: 'actions', tags: ['funnel'], content: 'e94c' },\n { name: 'bell', category: 'actions', tags: ['ding', 'notification'], content: 'e97c' },\n { name: 'bookmark', category: 'actions', tags: ['ribbon', 'save'], content: 'e94e' },\n { name: 'thumb-up', category: 'actions', tags: ['like'], content: 'e9a3' },\n { name: 'thumb-down', category: 'actions', tags: ['dislike'], content: 'e9a4' },\n { name: 'audio-off', category: 'actions', tags: ['mute', 'volume', 'sound'], content: 'e978' },\n { name: 'audio-mid', category: 'actions', tags: ['quiet', 'volume', 'sound'], content: 'fffac' },\n { name: 'audio-on', category: 'actions', tags: ['loud', 'volume', 'sound'], content: 'fffab' },\n { name: 'audio-mute', category: 'actions', tags: ['mute', 'volume', 'sound'], content: 'fff9e' },\n { name: 'mute', category: 'actions', tags: ['microphone'], content: 'fff9e' },\n { name: 'write', category: 'actions', tags: ['draft'], content: 'f8fe' },\n { name: 'external-link', category: 'actions', tags: ['webpage'], content: 'e93c' },\n { name: 'select', category: 'actions', tags: ['duplicate'], content: 'e955' },\n { name: 'select-all', category: 'actions', tags: ['finished'], content: 'f8f8' },\n { name: 'menu-waffle', category: 'actions', tags: ['window'], content: 'e918' },\n { name: 'logout', category: 'actions', tags: ['signout'], content: 'e971' },\n { name: 'login', category: 'actions', tags: ['signin'], content: 'e970' },\n { name: 'cut', category: 'actions', tags: ['remove'], content: '100009' },\n { name: 'copy', category: 'actions', tags: [], content: '100010' },\n { name: 'paste', category: 'actions', tags: ['apply'], content: '100011' },\n { name: 'trashcan', category: 'actions', tags: ['bin', 'delete', 'remove'], content: '100013' },\n { name: 'shuffle', category: 'actions', tags: ['remix'], content: 'ffffe' },\n { name: 'archived', category: 'actions', tags: ['stored', 'drawer'], content: 'f8f3' },\n { name: 'edit', category: 'actions', tags: ['pencil'], content: 'e942' },\n { name: 'list', category: 'actions', tags: ['bulletpoints'], content: 'fffdf' },\n { name: 'filters', category: 'actions', tags: ['sliders'], content: 'fffdd' },\n { name: 'search', category: 'actions', tags: ['find'], content: '1f50d' },\n { name: 'search-plus', category: 'actions', tags: ['zoom'], content: 'e98f' },\n { name: 'search-minus', category: 'actions', tags: ['zoom'], content: 'e990' },\n { name: 'arrow-up', category: 'arrows', tags: ['forwards'], content: '2191' },\n { name: 'arrow-top-right', category: 'arrows', tags: ['diagonal'], content: '2197' },\n { name: 'arrow-right', category: 'arrows', tags: ['forwards'], content: '2192' },\n { name: 'arrow-bottom-right', category: 'arrows', tags: ['diagonal'], content: '2198' },\n { name: 'arrow-down', category: 'arrows', tags: ['backwards'], content: '2193' },\n { name: 'arrow-bottom-left', category: 'arrows', tags: ['diagonal'], content: '2199' },\n { name: 'arrow-left', category: 'arrows', tags: ['backwards'], content: '2190' },\n { name: 'arrow-top-left', category: 'arrows', tags: ['diagonal'], content: '2196' },\n { name: 'curved-up', category: 'arrows', tags: [], content: '2934' },\n { name: 'curved-up-flipped', category: 'arrows', tags: [], content: 'ffff4' },\n { name: 'curved-left-flipped', category: 'arrows', tags: ['point'], content: 'ffff3' },\n { name: 'curved-right-flipped', category: 'arrows', tags: ['reply'], content: 'ffff2' },\n { name: 'curved-down', category: 'arrows', tags: ['point'], content: '2935' },\n { name: 'curved-down-flipped', category: 'arrows', tags: ['point'], content: 'ffff0' },\n { name: 'curved-left', category: 'arrows', tags: ['point'], content: '2936' },\n { name: 'curved-right', category: 'arrows', tags: ['point'], content: '2937' },\n { name: 'chevron-up', category: 'arrows', tags: ['ascend', 'toggle'], content: 'fffed' },\n { name: 'chevron-right', category: 'arrows', tags: ['forwards'], content: 'fffec' },\n { name: 'chevron-left', category: 'arrows', tags: ['backwards'], content: 'fffea' },\n { name: 'chevron-down', category: 'arrows', tags: ['descend', 'toggle'], content: 'fffeb' },\n { name: 'chevron-double-up', category: 'arrows', tags: ['ascend'], content: 'fffe9' },\n { name: 'chevron-double-down', category: 'arrows', tags: ['descend'], content: 'fffe7' },\n { name: 'chevron-double-left', category: 'arrows', tags: ['backwards'], content: 'fffe6' },\n { name: 'chevron-double-right', category: 'arrows', tags: ['forwards'], content: 'fffe8' },\n { name: 'chevron-previous', category: 'arrows', tags: ['backwards'], content: 'fffe5' },\n { name: 'chevron-next', category: 'arrows', tags: ['forwards'], content: 'fffe4' },\n { name: 'circle-down', category: 'arrows', tags: ['descend', 'download'], content: 'f0012' },\n { name: 'circle-left', category: 'arrows', tags: ['backwards'], content: 'f0014' },\n { name: 'circle-up', category: 'arrows', tags: ['ascend', 'upload'], content: 'f0008' },\n { name: 'circle-right', category: 'arrows', tags: ['forwards'], content: 'f0010' },\n { name: 'circle-top-right', category: 'arrows', tags: ['diagonal'], content: 'f0009' },\n { name: 'circle-bottom-right', category: 'arrows', tags: ['diagonal'], content: 'f0011' },\n { name: 'circle-bottom-left', category: 'arrows', tags: ['diagonal'], content: 'f0013' },\n { name: 'circle-top-left', category: 'arrows', tags: ['diagonal'], content: 'f0015' },\n { name: 'circle-chevron-down', category: 'arrows', tags: ['descend'], content: 'e928' },\n { name: 'circle-chevron-right', category: 'arrows', tags: ['forwards'], content: 'e92a' },\n { name: 'circle-chevron-up', category: 'arrows', tags: ['ascend'], content: 'e92b' },\n { name: 'circle-chevron-left', category: 'arrows', tags: ['backwards'], content: 'e928' },\n { name: 'triangle', category: 'shapes', tags: ['equilateral'], content: '25b3' },\n { name: 'star', category: 'shapes', tags: ['award', 'pentagram'], content: '2606' },\n { name: 'circle', category: 'shapes', tags: ['dot'], content: '25cb' },\n { name: 'square', category: 'shapes', tags: ['box'], content: '25a1' },\n { name: 'shapes', category: 'shapes', tags: ['basic'], content: 'f8f6' },\n { name: 'rhombus', category: 'shapes', tags: ['quadrilateral', 'diamond'], content: '25c7' },\n { name: 'rectangle-vertical', category: 'shapes', tags: ['box'], content: '25af' },\n { name: 'rectangle-horizontal', category: 'shapes', tags: ['box'], content: '25ad' },\n { name: 'rounded', category: 'shapes', tags: ['box', 'oblong'], content: '10fff1' },\n { name: 'calendar', category: 'calendar', tags: ['date'], content: 'e927' },\n { name: 'calendar-check', category: 'calendar', tags: ['entered'], content: '10fff7' },\n { name: 'calendar-point', category: 'calendar', tags: ['date'], content: '10fff6' },\n { name: 'engine', category: 'car', tags: ['motor'], content: '10ffea' },\n { name: 'tyres', category: 'car', tags: ['nut', 'target'], content: 'f0033' },\n { name: 'breaks', category: 'car', tags: ['abs'], content: 'f0032' },\n { name: 'car', category: 'car', tags: ['front'], content: 'fffa3' },\n { name: 'steering', category: 'car', tags: ['direction'], content: 'f0031' },\n { name: 'steering-locked', category: 'car', tags: ['direction'], content: 'f0034' },\n { name: 'wiper', category: 'car', tags: ['gauge', 'window'], content: 'fff9f' },\n { name: 'tracks', category: 'car', tags: [], content: 'fff97' },\n { name: 'pump', category: 'car', tags: ['fuel', 'gas'], content: '100012' },\n { name: 'brightness', category: 'car', tags: ['daylight'], content: 'e9c8' },\n { name: 'nut', category: 'car', tags: [], content: 'fffa7' },\n { name: 'fan', category: 'car', tags: ['ac', 'a/c', 'air conditioning', 'clima', 'air'], content: 'fffa4' },\n { name: 'cone', category: 'car', tags: ['road', 'block'], content: 'fffa5' },\n { name: 'assistance', category: 'car', tags: ['aid'], content: 'f0029' },\n { name: 'comfort', category: 'car', tags: ['mode', 'switch', 'pillow'], content: '10ffe8' },\n { name: 'battery', category: 'car', tags: ['voltage'], content: '10fff5' },\n { name: 'charger', category: 'car', tags: ['ev', 'gas', 'fuel'], content: '100017' },\n { name: 'lights', category: 'car', tags: ['headlights', 'headlamps'], content: '10ffe9' },\n { name: 'bolt', category: 'car', tags: ['flash', 'electricity'], content: 'fff99' },\n { name: 'reverse', category: 'media', tags: ['backwards', 'audio', 'video'], content: 'fffda' },\n { name: 'rewind', category: 'media', tags: ['audio', 'video', 'reply'], content: 'fffd9' },\n { name: 'previous', category: 'media', tags: ['audio', 'video', 'skip', 'backwards'], content: 'fffe5' },\n { name: 'pause', category: 'media', tags: ['audio', 'video', 'hold'], content: 'fffd7' },\n { name: 'next', category: 'media', tags: ['audio', 'video', 'skip', 'forwards'], content: 'fffd6' },\n { name: 'play', category: 'media', tags: ['audio', 'video'], content: 'fffd4' },\n { name: 'stop', category: 'media', tags: ['audio', 'video', 'square'], content: 'fffd3' },\n { name: 'record', category: 'media', tags: ['audio', 'video', 'circle'], content: 'fffd2' },\n { name: 'audio-note', category: 'media', tags: ['audio', 'video', 'music', 'sound'], content: 'fff98' },\n { name: 'wave', category: 'media', tags: ['audio', 'video', 'equalizer'], content: 'fffdb' },\n { name: 'battery-empty', category: 'battery', tags: ['energy'], content: '10fff2' },\n { name: 'battery-onefourth', category: 'battery', tags: ['energy'], content: '10ffec' },\n { name: 'battery-twofourths', category: 'battery', tags: ['energy'], content: '10fff3' },\n { name: 'battery-threefourths', category: 'battery', tags: ['energy'], content: '10fff4' },\n { name: 'battery-full', category: 'battery', tags: ['charged'], content: '10fff5' },\n { name: 'file', category: 'file', tags: ['document'], content: 'e958' },\n { name: 'new', category: 'file', tags: ['document', 'create'], content: '100015' },\n { name: 'missing', category: 'file', tags: ['document', 'unavailable'], content: '100016' },\n { name: 'folder', category: 'file', tags: [], content: 'e963' },\n { name: 'folder-share', category: 'file', tags: ['distributed'], content: '10ffed' },\n { name: 'image', category: 'file', tags: ['picture'], content: 'e972' },\n { name: 'check', category: 'informational', tags: ['tick', 'checkmark'], content: '2713' },\n { name: 'stats', category: 'informational', tags: ['graphs'], content: 'fffdc' },\n { name: 'warning', category: 'informational', tags: ['alert', 'exclamation'], content: 'e922' },\n { name: 'clip', category: 'informational', tags: ['paperclip'], content: 'e97b' },\n { name: 'locked', category: 'informational', tags: ['padlock'], content: 'e95f' },\n { name: 'unlocked', category: 'informational', tags: ['padlock'], content: 'e960' },\n { name: 'shield', category: 'informational', tags: ['badge'], content: 'e9b9' },\n { name: 'shield-check', category: 'informational', tags: ['verified'], content: 'fffc0' },\n { name: 'phone', category: 'informational', tags: ['call', 'telephone'], content: 'e9b8' },\n { name: 'barcode', category: 'informational', tags: ['scan'], content: 'f8fb' },\n { name: 'qrcode', category: 'informational', tags: ['scan'], content: 'f8fa' },\n { name: 'news', category: 'informational', tags: ['info'], content: '100001' },\n { name: 'newspaper', category: 'informational', tags: ['print'], content: '100002' },\n { name: 'manual', category: 'informational', tags: ['instructions', 'magazine'], content: '100003' },\n { name: 'note', category: 'informational', tags: ['clipboard'], content: 'f8f4' },\n { name: 'schedule', category: 'informational', tags: ['list'], content: '100005' },\n { name: 'task-done', category: 'informational', tags: ['completed'], content: '100006' },\n { name: 'mail', category: 'informational', tags: ['envelope', 'email', 'e-mail'], content: 'e979' },\n { name: 'suitcase', category: 'informational', tags: ['luggage', 'work', 'business'], content: 'e97d' },\n { name: 'camera', category: 'informational', tags: ['photo'], content: 'e96c' },\n { name: 'speech', category: 'informational', tags: ['balloon'], content: 'e97f' },\n { name: 'cloud-download', category: 'informational', tags: ['transfer'], content: 'e943' },\n { name: 'cloud-upload', category: 'informational', tags: ['saved'], content: 'e944' },\n { name: 'circle-exclamation', category: 'informational', tags: ['alert', 'warning'], content: 'f0004' },\n { name: 'circle-minus', category: 'informational', tags: ['decrease'], content: 'f0000' },\n { name: 'circle-plus', category: 'informational', tags: ['increase'], content: 'f0001' },\n { name: 'circle-close', category: 'informational', tags: ['remove', 'delete', 'circle-multiply'], content: 'f0002' },\n { name: 'circle-slash', category: 'informational', tags: ['refuse', 'not allowed'], content: 'f0003' },\n { name: 'circle-question', category: 'informational', tags: ['help'], content: 'f0005' },\n { name: 'circle-info', category: 'informational', tags: ['info', 'help'], content: '2139' },\n { name: 'circle-check', category: 'informational', tags: ['verified'], content: 'f0007' },\n { name: 'circle-download', category: 'informational', tags: ['import'], content: 'f0016' },\n { name: 'circle-upload', category: 'informational', tags: ['export'], content: 'f0017' },\n { name: 'circle-bluetooth', category: 'informational', tags: ['sync', 'wireless'], content: 'f0018' },\n { name: 'clock', category: 'informational', tags: ['time'], content: 'e940' },\n { name: 'stopwatch', category: 'informational', tags: ['timer', 'counter'], content: 'f0024' },\n { name: 'globe', category: 'informational', tags: ['world'], content: 'e94f' },\n { name: 'contrast', category: 'informational', tags: ['ratio'], content: 'f0027' },\n { name: 'add', category: 'informational', tags: ['plus'], content: 'f8f1' },\n { name: 'weather-rainy', category: 'informational', tags: ['partially cloudy', 'partially sunny'], content: 'fff9c' },\n { name: 'signal', category: 'informational', tags: ['station', 'tower'], content: 'fff9d' },\n { name: 'radar', category: 'informational', tags: ['locator'], content: 'f0028' },\n { name: 'inbox', category: 'informational', tags: ['email', 'drawer'], content: 'f8f3' },\n { name: 'health', category: 'informational', tags: ['scan', 'diagnostics'], content: 'f8f2' },\n { name: 'first-aid', category: 'informational', tags: ['medical'], content: '10ffeb' },\n { name: 'pin', category: 'maps', tags: [], content: 'fffc6' },\n { name: 'marker', category: 'maps', tags: ['position'], content: 'fffc5' },\n { name: 'location', category: 'maps', tags: ['access'], content: 'fffc4' },\n { name: 'locate', category: 'maps', tags: ['center'], content: 'fffe2' },\n { name: 'map', category: 'maps', tags: ['navigate'], content: 'e9c2' },\n { name: 'compass', category: 'maps', tags: ['navigate'], content: 'e9ab' },\n { name: 'hamburger', category: 'menu', tags: ['menu'], content: 'fffde' },\n { name: 'horizontal', category: 'menu', tags: ['more', 'ellipsis'], content: 'fffe1' },\n { name: 'vertical', category: 'menu', tags: ['more', 'kebab'], content: 'fffe0' },\n { name: 'window', category: 'menu', tags: [], content: 'f8f0' },\n { name: 'home', category: 'menu', tags: ['house'], content: 'e925' },\n { name: 'wifi-low', category: 'wifi', tags: ['wi-fi', 'weak', 'signal'], content: 'fffa8' },\n { name: 'wifi-medium', category: 'wifi', tags: ['wi-fi', 'mid', 'signal'], content: 'fffa9' },\n { name: 'wifi-high', category: 'wifi', tags: ['wi-fi', 'strong', 'signal'], content: 'fffaa' },\n { name: 'wifi-no-signal', category: 'wifi', tags: ['wi-fi', 'empty', 'signal'], content: 'fffa1' },\n { name: 'wifi-disabled', category: 'wifi', tags: ['wi-fi', 'disconnected', 'signal'], content: 'fffa0' },\n { name: 'card', category: 'shopping', tags: ['credit'], content: 'e9bf' },\n { name: 'box', category: 'shopping', tags: ['package', 'order'], content: 'fff9a' },\n { name: 'shopping-bag', category: 'shopping', tags: ['e-commerce', 'basket'], content: 'fffb7' },\n { name: 'price-tag', category: 'shopping', tags: [''], content: 'fff9b' },\n { name: 'ticket', category: 'shopping', tags: ['voucher', 'coupon', 'discount'], content: '10ffe6' },\n { name: 'profile', category: 'user', tags: [], content: 'e939' },\n { name: 'group', category: 'user', tags: ['profiles'], content: 'e941' },\n { name: 'id-card', category: 'user', tags: ['identification'], content: 'e9aa' },\n { name: 'finger-print', category: 'user', tags: ['biometrics'], content: 'f0030' },\n];\nexport const availableIcons = iconDefinitions.map((def) => def.name);\n//# sourceMappingURL=icon.definitions.js.map"],"names":["iconDefinitions","name","category","tags","content","availableIcons","map","def"],"mappings":"aAAY,MAACA,EAAkB,CAC3B,CAAEC,KAAM,SAAUC,SAAU,UAAWC,KAAM,CAAC,QAASC,QAAS,SAChE,CAAEH,KAAM,WAAYC,SAAU,UAAWC,KAAM,CAAC,WAAYC,QAAS,SACrE,CAAEH,KAAM,SAAUC,SAAU,UAAWC,KAAM,CAAC,QAASC,QAAS,SAChE,CAAEH,KAAM,SAAUC,SAAU,UAAWC,KAAM,CAAC,WAAYC,QAAS,SACnE,CAAEH,KAAM,iBAAkBC,SAAU,UAAWC,KAAM,CAAC,UAAWC,QAAS,QAC1E,CAAEH,KAAM,SAAUC,SAAU,UAAWC,KAAM,CAAC,WAAYC,QAAS,SACnE,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,eAAgB,UAAWC,QAAS,SAC/F,CAAEH,KAAM,OAAQC,SAAU,WAAYC,KAAM,CAAC,UAAWC,QAAS,QACjE,CAAEH,KAAM,MAAOC,SAAU,WAAYC,KAAM,CAAC,UAAW,SAAUC,QAAS,SAC1E,CAAEH,KAAM,eAAgBC,SAAU,WAAYC,KAAM,CAAC,aAAc,UAAWC,QAAS,SACvF,CAAEH,KAAM,YAAaC,SAAU,WAAYC,KAAM,CAAC,IAAKC,QAAS,SAChE,CAAEH,KAAM,SAAUC,SAAU,WAAYC,KAAM,CAAC,UAAW,SAAU,YAAaC,QAAS,UAC1F,CAAEH,KAAM,UAAWC,SAAU,OAAQC,KAAM,GAAIC,QAAS,QACxD,CAAEH,KAAM,QAASC,SAAU,OAAQC,KAAM,CAAC,YAAaC,QAAS,QAChE,CAAEH,KAAM,UAAWC,SAAU,OAAQC,KAAM,CAAC,kBAAmBC,QAAS,QACxE,CAAEH,KAAM,eAAgBC,SAAU,OAAQC,KAAM,CAAC,cAAeC,QAAS,UAEhEC,EAAiBL,EAAgBM,KAAKC,GAAQA,EAAIN"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),t=require("react"),i=require("@mui/material"),s=require("../../utils/icons.js"),o=require("@mui/material/styles");const c=t.forwardRef(((t,i)=>{var{iconStyle:o,color:c,fontSize:a}=t,n=e.__rest(t,["iconStyle","color","fontSize"]);const u="filled"===o?" filled":"";return r.jsx(l,Object.assign({color:c},n,{ref:i,className:s.getIconName(n.className)+u,fontSize:a,"data-testid":"Icon"}))})),l=o.styled(i.Icon)((()=>({lineHeight:"0.7em"})));exports.Icon=c;
1
+ "use strict";var e=require("tslib"),i=require("react/jsx-runtime"),n=require("react"),o=require("@mui/material"),t=require("./icon.definitions.js");const s=n.forwardRef(((s,r)=>{var{name:c,className:a,iconStyle:l,color:u,fontSize:f,sx:m}=s,d=e.__rest(s,["name","className","iconStyle","color","fontSize","sx"]);const x=n.useMemo((()=>{var e;const i=t.iconDefinitions.find((e=>e.name===(c||a)))||t.iconDefinitions.find((e=>"circle-question"===e.name));return null!==(e=null==i?void 0:i.content)&&void 0!==e?e:""}),[c,a]),S=n.useMemo((()=>"filled"===l?"SKODA Next Icons Filled":"SKODA Next Icons Regular"),[l]);return i.jsx(o.Icon,Object.assign({ref:r,color:u,fontSize:f,sx:Object.assign({"&::before":{content:`'${"\\"+x}'`,display:"block"},fontFamily:S,lineHeight:"0.7em"},m||{}),"data-testid":"Icon",className:c||a},d))}));exports.Icon=s;
2
2
  //# sourceMappingURL=icon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon.js","sources":["../../../../src/components/icon/icon.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { Icon as MuiIcon } from '@mui/material';\nimport { getIconName } from '../../utils/icons';\nimport { styled } from '@mui/material/styles';\n/**\n * @description SkodaFlow Icon component.\n * Properties are inherited from HTML Span element.\n * @param props IconProps\n * @returns React Functional Component\n */\nexport const Icon = forwardRef((_a, ref) => {\n var { iconStyle, color, fontSize } = _a, props = __rest(_a, [\"iconStyle\", \"color\", \"fontSize\"]);\n const isFilled = iconStyle === 'filled' ? ' filled' : '';\n return (_jsx(IconStyled, Object.assign({ color: color }, props, { ref: ref, className: getIconName(props.className) + isFilled, fontSize: fontSize, \"data-testid\": \"Icon\" })));\n});\nconst IconStyled = styled(MuiIcon)(() => {\n return {\n lineHeight: '0.7em',\n };\n});\n//# sourceMappingURL=icon.js.map"],"names":["Icon","forwardRef","_a","ref","iconStyle","color","fontSize","props","__rest","isFilled","_jsx","jsx","IconStyled","Object","assign","className","getIconName","styled","MuiIcon","lineHeight"],"mappings":"qLAYY,MAACA,EAAOC,EAAUA,YAAC,CAACC,EAAIC,KAChC,IAAIC,UAAEA,EAASC,MAAEA,EAAKC,SAAEA,GAAaJ,EAAIK,EAAQC,EAAMA,OAACN,EAAI,CAAC,YAAa,QAAS,aACnF,MAAMO,EAAyB,WAAdL,EAAyB,UAAY,GACtD,OAAQM,EAAIC,IAACC,EAAYC,OAAOC,OAAO,CAAET,MAAOA,GAASE,EAAO,CAAEJ,IAAKA,EAAKY,UAAWC,cAAYT,EAAMQ,WAAaN,EAAUH,SAAUA,EAAU,cAAe,SAAY,IAE7KM,EAAaK,EAAAA,OAAOC,EAAOlB,KAAdiB,EAAgB,KACxB,CACHE,WAAY"}
1
+ {"version":3,"file":"icon.js","sources":["../../../../src/components/icon/icon.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useMemo } from 'react';\nimport { Icon as MuiIcon } from '@mui/material';\nimport { iconDefinitions } from './icon.definitions';\n/**\n * @description SkodaFlow Icon component.\n * @param props IconProps\n * @returns React Functional Component\n */\nexport const Icon = forwardRef((_a, ref) => {\n var { name, className, iconStyle, color, fontSize, sx } = _a, rest = __rest(_a, [\"name\", \"className\", \"iconStyle\", \"color\", \"fontSize\", \"sx\"]);\n const content = useMemo(() => {\n var _a;\n const definition = iconDefinitions.find((item) => item.name === (name || className)) ||\n // fallback\n iconDefinitions.find((item) => item.name === 'circle-question');\n return (_a = definition === null || definition === void 0 ? void 0 : definition.content) !== null && _a !== void 0 ? _a : '';\n }, [name, className]);\n const fontFamily = useMemo(() => {\n if (iconStyle === 'filled') {\n return 'SKODA Next Icons Filled';\n }\n return 'SKODA Next Icons Regular';\n }, [iconStyle]);\n return (_jsx(MuiIcon, Object.assign({ ref: ref, color: color, fontSize: fontSize, sx: Object.assign({ '&::before': {\n content: `'${'\\\\' + content}'`,\n display: 'block',\n }, fontFamily, lineHeight: '0.7em' }, (sx || {})), \"data-testid\": \"Icon\", className: name || className }, rest)));\n});\n//# sourceMappingURL=icon.js.map"],"names":["Icon","forwardRef","_a","ref","name","className","iconStyle","color","fontSize","sx","rest","__rest","content","useMemo","definition","iconDefinitions","find","item","fontFamily","_jsx","MuiIcon","Object","assign","display","lineHeight"],"mappings":"oJAUY,MAACA,EAAOC,EAAUA,YAAC,CAACC,EAAIC,KAChC,IAAIC,KAAEA,EAAIC,UAAEA,EAASC,UAAEA,EAASC,MAAEA,EAAKC,SAAEA,EAAQC,GAAEA,GAAOP,EAAIQ,EAAOC,EAAAA,OAAOT,EAAI,CAAC,OAAQ,YAAa,YAAa,QAAS,WAAY,OACxI,MAAMU,EAAUC,EAAAA,SAAQ,KACpB,IAAIX,EACJ,MAAMY,EAAaC,kBAAgBC,MAAMC,GAASA,EAAKb,QAAUA,GAAQC,MAErEU,EAAeA,gBAACC,MAAMC,GAAuB,oBAAdA,EAAKb,OACxC,OAA6F,QAArFF,EAAKY,aAA+C,EAASA,EAAWF,eAA4B,IAAPV,EAAgBA,EAAK,EAAE,GAC7H,CAACE,EAAMC,IACJa,EAAaL,EAAAA,SAAQ,IACL,WAAdP,EACO,0BAEJ,4BACR,CAACA,IACJ,OAAQa,EAAAA,IAAKC,EAAAA,KAASC,OAAOC,OAAO,CAAEnB,IAAKA,EAAKI,MAAOA,EAAOC,SAAUA,EAAUC,GAAIY,OAAOC,OAAO,CAAE,YAAa,CACvGV,QAAS,IAAI,KAAOA,KACpBW,QAAS,SACVL,aAAYM,WAAY,SAAYf,GAAM,CAAA,GAAM,cAAe,OAAQJ,UAAWD,GAAQC,GAAaK,GAAQ"}
@@ -1,2 +1,2 @@
1
1
  export * from './icon';
2
- export * from './availableIcons';
2
+ export * from './icon.definitions';
@@ -6,7 +6,6 @@ export * from './cardContainer';
6
6
  export * from './cardMenu';
7
7
  export * from './checkbox';
8
8
  export * from './chip';
9
- export * from './container';
10
9
  export * from './controls';
11
10
  export * from './divider';
12
11
  export * from './drawer';
@@ -31,12 +30,10 @@ export * from './selectInput';
31
30
  export * from './slider';
32
31
  export * from './snackbar';
33
32
  export * from './stepper';
34
- export * from './tab';
35
33
  export * from './textArea';
36
34
  export * from './textInput';
37
35
  export * from './toggleSwitch';
38
36
  export * from './tooltip';
39
- export * from './agGrid';
40
37
  export * from './common';
41
38
  export * from './avatar';
42
39
  export * from './closeDialogButton';
@@ -46,4 +43,5 @@ export * from './alert';
46
43
  export * from './logo';
47
44
  export * from '../organisms/gallery';
48
45
  export * from './upload';
46
+ export * from './card';
49
47
  export { Typography } from '@mui/material';
@@ -6,11 +6,17 @@ import { HTMLAttributes } from 'react';
6
6
  */
7
7
  export interface IndicatorProps extends HTMLAttributes<HTMLDivElement> {
8
8
  /**
9
- * Indicator variant: 'positive' | 'warning' | 'alert' | 'neutral' | color string
9
+ * Defines which variant should render
10
+ * @default indicator
10
11
  */
11
- variant?: 'positive' | 'warning' | 'alert' | 'neutral' | string;
12
+ variant?: 'indicator' | 'status';
12
13
  /**
13
- * Label text for indicator
14
+ * Defines which color should indicator be
15
+ * @default positive
16
+ */
17
+ color?: 'positive' | 'warning' | 'alert' | 'neutral' | string;
18
+ /**
19
+ * Defines text which will render
14
20
  */
15
21
  label?: string;
16
22
  }
@@ -1,19 +1,2 @@
1
- "use strict";var r=require("tslib"),e=require("react/jsx-runtime"),t=require("@emotion/styled"),a=require("../../design/skoda/palette.theme.js"),i=require("react");function o(r){return r&&r.__esModule?r:{default:r}}var n=o(t);const l=i.forwardRef(((t,a)=>{var{children:i,label:o,variant:n="positive"}=t,l=r.__rest(t,["children","label","variant"]);const c=o||i;return e.jsx(s,Object.assign({},l,{ref:a,className:"disclamer",variant:n,"data-testid":"Indicator",children:c}))})),s=n.default.div`
2
- --flow-indicator-color: ${r=>{switch(r.variant){case"alert":return a.flowColors.alert.main;case"warning":return a.flowColors.warning.main;case"positive":return a.flowColors.positive.main;case"neutral":return a.flowColors.onSurface.os200;default:return a.flowColors[r.variant]?a.flowColors[r.variant]:r.variant}}};
3
- color: ${a.flowColors.text.primary};
4
- font-weight: 300;
5
- line-height: 20px;
6
- letter-spacing: 0.2px;
7
- &::before {
8
- content: '';
9
- width: 14px;
10
- height: 14px;
11
- border-radius: 50%;
12
- margin-right: 8px;
13
- margin-top: -2px;
14
- display: inline-block;
15
- vertical-align: middle;
16
- background-color: var(--flow-indicator-color);
17
- }
18
- `;exports.Indicator=l;
1
+ "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),t=require("react"),i=require("@mui/material"),a=require("lodash");const n=t.forwardRef(((n,c)=>{var{children:o,label:s,color:l="positive",variant:d="indicator"}=n,u=e.__rest(n,["children","label","color","variant"]);const p=i.useTheme(),x=t.useMemo((()=>{switch(l){case"alert":return p.palette.error.main;case"positive":return p.palette.success.main;case"warning":return p.palette.warning.main;case"neutral":return p.palette.onSurface.os200;default:return a.get(p.palette,l,l)}}),[l]),m=t.useMemo((()=>null!=s?s:o),[s,o]);return r.jsxs(i.Stack,Object.assign({className:"fwlIndicator"},u,{ref:c,direction:"row",spacing:1,alignItems:"center","data-testid":"Indicator",children:[r.jsx(i.Box,{sx:{backgroundColor:x,width:"indicator"===d?"14px":"10px",height:"indicator"===d?"14px":"10px",borderRadius:"50%"},"data-testid":"Indicator.circle"}),m&&r.jsx(i.Box,{sx:{fontSize:"indicator"===d?"14px":"11px",fontWeight:"indicator"===d?"normal":"bold",lineHeight:"indicator"===d?"20px":"12px",textTransform:"indicator"===d?void 0:"uppercase",letterSpacing:"indicator"===d?"0.28px":"3px"},children:m})]}))}));exports.Indicator=n;
19
2
  //# sourceMappingURL=indicator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"indicator.js","sources":["../../../../src/components/indicator/indicator.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport styled from '@emotion/styled';\nimport { flowColors } from '../../design/skoda/palette.theme';\nimport { forwardRef } from 'react';\n/**\n * @description Styled SkodaFlow Indicator component\n * @param props IndicatorProps\n * @returns React Functional Component\n */\nexport const Indicator = forwardRef((_a, ref) => {\n var { children, label, variant = 'positive' } = _a, props = __rest(_a, [\"children\", \"label\", \"variant\"]);\n const text = label ? label : children;\n return (_jsx(IndicatorStyled, Object.assign({}, props, { ref: ref, className: \"disclamer\", variant: variant, \"data-testid\": \"Indicator\", children: text })));\n});\n/**\n * Indicator styling defintion\n */\nconst IndicatorStyled = styled.div `\n --flow-indicator-color: ${(props) => {\n switch (props.variant) {\n case 'alert':\n return flowColors.alert['main'];\n case 'warning':\n return flowColors.warning['main'];\n case 'positive':\n return flowColors.positive['main'];\n case 'neutral':\n return flowColors.onSurface.os200;\n default:\n return flowColors[props.variant] ? flowColors[props.variant] : props.variant;\n }\n}};\n color: ${flowColors.text.primary};\n font-weight: 300;\n line-height: 20px;\n letter-spacing: 0.2px;\n &::before {\n content: '';\n width: 14px;\n height: 14px;\n border-radius: 50%;\n margin-right: 8px;\n margin-top: -2px;\n display: inline-block;\n vertical-align: middle;\n background-color: var(--flow-indicator-color);\n }\n`;\n//# sourceMappingURL=indicator.js.map"],"names":["Indicator","forwardRef","_a","ref","children","label","variant","props","__rest","text","_jsx","jsx","IndicatorStyled","Object","assign","className","styled","div","flowColors","alert","warning","positive","onSurface","os200","primary"],"mappings":"kOAUY,MAACA,EAAYC,EAAUA,YAAC,CAACC,EAAIC,KACrC,IAAIC,SAAEA,EAAQC,MAAEA,EAAKC,QAAEA,EAAU,YAAeJ,EAAIK,EAAQC,EAAMA,OAACN,EAAI,CAAC,WAAY,QAAS,YAC7F,MAAMO,EAAOJ,GAAgBD,EAC7B,OAAQM,EAAIC,IAACC,EAAiBC,OAAOC,OAAO,CAAA,EAAIP,EAAO,CAAEJ,IAAKA,EAAKY,UAAW,YAAaT,QAASA,EAAS,cAAe,YAAaF,SAAUK,IAAU,IAK3JG,EAAkBI,EAAAA,QAAOC,GAAI;4BACNV,IACzB,OAAQA,EAAMD,SACV,IAAK,QACD,OAAOY,EAAUA,WAACC,MAAY,KAClC,IAAK,UACD,OAAOD,EAAUA,WAACE,QAAc,KACpC,IAAK,WACD,OAAOF,EAAUA,WAACG,SAAe,KACrC,IAAK,UACD,OAAOH,EAAUA,WAACI,UAAUC,MAChC,QACI,OAAOL,EAAUA,WAACX,EAAMD,SAAWY,EAAAA,WAAWX,EAAMD,SAAWC,EAAMD,QAC5E;WAEMY,EAAUA,WAACT,KAAKe;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"indicator.js","sources":["../../../../src/components/indicator/indicator.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef, useMemo } from 'react';\nimport { Box, Stack, useTheme } from '@mui/material';\nimport { get } from 'lodash';\n/**\n * @description Styled SkodaFlow Indicator component\n * @param props IndicatorProps\n * @returns React Functional Component\n */\nexport const Indicator = forwardRef((_a, ref) => {\n var { children, label, color = 'positive', variant = 'indicator' } = _a, props = __rest(_a, [\"children\", \"label\", \"color\", \"variant\"]);\n const theme = useTheme();\n const dotColor = useMemo(() => {\n switch (color) {\n case 'alert':\n return theme.palette.error.main;\n case 'positive':\n return theme.palette.success.main;\n case 'warning':\n return theme.palette.warning.main;\n case 'neutral':\n return theme.palette.onSurface.os200;\n default:\n return get(theme.palette, color, color);\n }\n }, [color]);\n const text = useMemo(() => label !== null && label !== void 0 ? label : children, [label, children]);\n return (_jsxs(Stack, Object.assign({ className: \"fwlIndicator\" }, props, { ref: ref, direction: \"row\", spacing: 1, alignItems: \"center\", \"data-testid\": \"Indicator\", children: [_jsx(Box, { sx: {\n backgroundColor: dotColor,\n width: variant === 'indicator' ? '14px' : '10px',\n height: variant === 'indicator' ? '14px' : '10px',\n borderRadius: '50%',\n }, \"data-testid\": \"Indicator.circle\" }), text && (_jsx(Box, { sx: {\n fontSize: variant === 'indicator' ? '14px' : '11px',\n fontWeight: variant === 'indicator' ? 'normal' : 'bold',\n lineHeight: variant === 'indicator' ? '20px' : '12px',\n textTransform: variant === 'indicator' ? undefined : 'uppercase',\n letterSpacing: variant === 'indicator' ? '0.28px' : '3px',\n }, children: text }))] })));\n});\n//# sourceMappingURL=indicator.js.map"],"names":["Indicator","forwardRef","_a","ref","children","label","color","variant","props","__rest","theme","useTheme","dotColor","useMemo","palette","error","main","success","warning","onSurface","os200","get","text","_jsxs","Stack","Object","assign","className","direction","spacing","alignItems","_jsx","Box","sx","backgroundColor","width","height","borderRadius","fontSize","fontWeight","lineHeight","textTransform","undefined","letterSpacing"],"mappings":"qIAUY,MAACA,EAAYC,EAAUA,YAAC,CAACC,EAAIC,KACrC,IAAIC,SAAEA,EAAQC,MAAEA,EAAKC,MAAEA,EAAQ,WAAUC,QAAEA,EAAU,aAAgBL,EAAIM,EAAQC,EAAAA,OAAOP,EAAI,CAAC,WAAY,QAAS,QAAS,YAC3H,MAAMQ,EAAQC,EAAAA,WACRC,EAAWC,EAAAA,SAAQ,KACrB,OAAQP,GACJ,IAAK,QACD,OAAOI,EAAMI,QAAQC,MAAMC,KAC/B,IAAK,WACD,OAAON,EAAMI,QAAQG,QAAQD,KACjC,IAAK,UACD,OAAON,EAAMI,QAAQI,QAAQF,KACjC,IAAK,UACD,OAAON,EAAMI,QAAQK,UAAUC,MACnC,QACI,OAAOC,EAAGA,IAACX,EAAMI,QAASR,EAAOA,GACxC,GACF,CAACA,IACEgB,EAAOT,EAAOA,SAAC,IAAMR,QAAqCA,EAAQD,GAAU,CAACC,EAAOD,IAC1F,OAAQmB,OAAMC,EAAAA,MAAOC,OAAOC,OAAO,CAAEC,UAAW,gBAAkBnB,EAAO,CAAEL,IAAKA,EAAKyB,UAAW,MAAOC,QAAS,EAAGC,WAAY,SAAU,cAAe,YAAa1B,SAAU,CAAC2B,EAAAA,IAAKC,EAAGA,IAAE,CAAEC,GAAI,CAChLC,gBAAiBtB,EACjBuB,MAAmB,cAAZ5B,EAA0B,OAAS,OAC1C6B,OAAoB,cAAZ7B,EAA0B,OAAS,OAC3C8B,aAAc,OACf,cAAe,qBAAuBf,GAASS,MAAKC,EAAAA,IAAK,CAAEC,GAAI,CAC9DK,SAAsB,cAAZ/B,EAA0B,OAAS,OAC7CgC,WAAwB,cAAZhC,EAA0B,SAAW,OACjDiC,WAAwB,cAAZjC,EAA0B,OAAS,OAC/CkC,cAA2B,cAAZlC,OAA0BmC,EAAY,YACrDC,cAA2B,cAAZpC,EAA0B,SAAW,OACrDH,SAAUkB,OAAe"}
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),t=require("@emotion/styled"),i=require("../../design/skoda/palette.theme.js"),s=require("react");function a(e){return e&&e.__esModule?e:{default:e}}var n=a(t);const o=s.forwardRef(((t,i)=>{var{label:a,children:n}=t,o=e.__rest(t,["label","children"]);const c=a||n;return s.useEffect((()=>{}),[o]),r.jsx(l,Object.assign({},o,{ref:i,"data-testid":"Label",children:c}))})),l=n.default.span`
1
+ "use strict";var e=require("tslib"),t=require("react/jsx-runtime"),r=require("@emotion/styled"),i=require("../../design/skoda/paletteLight.theme.js"),a=require("react");function s(e){return e&&e.__esModule?e:{default:e}}var n=s(r);const l=a.forwardRef(((r,i)=>{var{label:s,children:n}=r,l=e.__rest(r,["label","children"]);const c=s||n;return a.useEffect((()=>{}),[l]),t.jsx(o,Object.assign({},l,{ref:i,"data-testid":"Label",children:c}))})),o=n.default.span`
2
2
  font-size: 11px;
3
3
  line-height: 12px;
4
4
  letter-spacing: 3px;
@@ -7,6 +7,6 @@
7
7
  margin: 0px 15px;
8
8
  white-space: nowrap;
9
9
  text-rendering: geometricPrecision;
10
- color: ${i.flowColors.onSurface.os500};
11
- `;exports.Label=o;
10
+ color: ${i.paletteLight.onSurface.os500};
11
+ `;exports.Label=l;
12
12
  //# sourceMappingURL=label.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.js","sources":["../../../../src/components/label/label.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport styled from '@emotion/styled';\nimport { flowColors } from '../../design/skoda/palette.theme';\nimport { forwardRef, useEffect } from 'react';\n/**\n * @description SkodaFlow Label component.\n * @param props LabelProps\n * @returns React Functional component\n */\nexport const Label = forwardRef((_a, ref) => {\n var { label, children } = _a, props = __rest(_a, [\"label\", \"children\"]);\n const text = label ? label : children;\n useEffect(() => { }, [props]);\n return (_jsx(LabelStyled, Object.assign({}, props, { ref: ref, \"data-testid\": \"Label\", children: text })));\n});\n/**\n * @description Label styling definition\n */\nconst LabelStyled = styled.span `\n font-size: 11px;\n line-height: 12px;\n letter-spacing: 3px;\n text-transform: uppercase;\n font-weight: 900;\n margin: 0px 15px;\n white-space: nowrap;\n text-rendering: geometricPrecision;\n color: ${flowColors.onSurface.os500};\n`;\n//# sourceMappingURL=label.js.map"],"names":["Label","forwardRef","_a","ref","label","children","props","__rest","text","useEffect","_jsx","LabelStyled","Object","assign","styled","span","flowColors","onSurface","os500"],"mappings":"kOAUY,MAACA,EAAQC,EAAUA,YAAC,CAACC,EAAIC,KACjC,IAAIC,MAAEA,EAAKC,SAAEA,GAAaH,EAAII,EAAQC,EAAMA,OAACL,EAAI,CAAC,QAAS,aAC3D,MAAMM,EAAOJ,GAAgBC,EAE7B,OADAI,EAAAA,WAAU,QAAW,CAACH,IACdI,EAAAA,IAAKC,EAAaC,OAAOC,OAAO,CAAA,EAAIP,EAAO,CAAEH,IAAKA,EAAK,cAAe,QAASE,SAAUG,IAAU,IAKzGG,EAAcG,EAAAA,QAAOC,IAAK;;;;;;;;;WASrBC,EAAUA,WAACC,UAAUC;"}
1
+ {"version":3,"file":"label.js","sources":["../../../../src/components/label/label.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport styled from '@emotion/styled';\nimport { paletteLight as flowColors } from '../../design/skoda/paletteLight.theme';\nimport { forwardRef, useEffect } from 'react';\n/**\n * @description SkodaFlow Label component.\n * @param props LabelProps\n * @returns React Functional component\n */\nexport const Label = forwardRef((_a, ref) => {\n var { label, children } = _a, props = __rest(_a, [\"label\", \"children\"]);\n const text = label ? label : children;\n useEffect(() => { }, [props]);\n return (_jsx(LabelStyled, Object.assign({}, props, { ref: ref, \"data-testid\": \"Label\", children: text })));\n});\n/**\n * @description Label styling definition\n */\nconst LabelStyled = styled.span `\n font-size: 11px;\n line-height: 12px;\n letter-spacing: 3px;\n text-transform: uppercase;\n font-weight: 900;\n margin: 0px 15px;\n white-space: nowrap;\n text-rendering: geometricPrecision;\n color: ${flowColors.onSurface.os500};\n`;\n//# sourceMappingURL=label.js.map"],"names":["Label","forwardRef","_a","ref","label","children","props","__rest","text","useEffect","_jsx","LabelStyled","Object","assign","styled","span","flowColors","paletteLight","onSurface","os500"],"mappings":"uOAUY,MAACA,EAAQC,EAAUA,YAAC,CAACC,EAAIC,KACjC,IAAIC,MAAEA,EAAKC,SAAEA,GAAaH,EAAII,EAAQC,EAAMA,OAACL,EAAI,CAAC,QAAS,aAC3D,MAAMM,EAAOJ,GAAgBC,EAE7B,OADAI,EAAAA,WAAU,QAAW,CAACH,IACdI,EAAAA,IAAKC,EAAaC,OAAOC,OAAO,CAAA,EAAIP,EAAO,CAAEH,IAAKA,EAAK,cAAe,QAASE,SAAUG,IAAU,IAKzGG,EAAcG,EAAAA,QAAOC,IAAK;;;;;;;;;WASrBC,EAAUC,aAACC,UAAUC;"}
@@ -1,9 +1,9 @@
1
- "use strict";var r=require("tslib"),e=require("react/jsx-runtime"),a=require("react"),l=require("@emotion/styled"),o=require("../label/label.js"),t=require("../../design/skoda/palette.theme.js"),i=require("../../utils/enum.js");function n(r){return r&&r.__esModule?r:{default:r}}var s=n(l);const u=a.forwardRef(((a,l)=>{var{children:o,label:t,variant:i="primary"}=a,n=r.__rest(a,["children","label","variant"]);return e.jsx(c,Object.assign({},n,{ref:l,variant:i,label:t,children:o}))})),c=s.default(o.Label)`
2
- --flow-label-color: ${r=>{switch(r.variant){case i.VariantType.PRIMARY:return t.flowColors.brand.tertiary;case i.VariantType.NEUTRAL:return t.flowColors.onSurface.os500;default:return t.flowColors[r.variant]?t.flowColors[r.variant]:t.flowColors.brand.secondary}}};
3
- color: ${t.flowColors.onSurface.os0};
1
+ "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),a=require("react"),t=require("@emotion/styled"),i=require("../label/label.js"),l=require("../../design/skoda/paletteLight.theme.js"),n=require("../../utils/enum.js");function s(e){return e&&e.__esModule?e:{default:e}}var u=s(t);const o=a.forwardRef(((a,t)=>{var{children:i,label:l,variant:n="primary"}=a,s=e.__rest(a,["children","label","variant"]);return r.jsx(c,Object.assign({},s,{ref:t,variant:n,label:l,children:i}))})),c=u.default(i.Label)`
2
+ --flow-label-color: ${e=>{switch(e.variant){case n.VariantType.PRIMARY:return l.paletteLight.brand.tertiary;case n.VariantType.NEUTRAL:return l.paletteLight.onSurface.os500;default:return l.paletteLight[e.variant]?l.paletteLight[e.variant]:l.paletteLight.brand.secondary}}};
3
+ color: ${l.paletteLight.onSurface.os0};
4
4
  background-color: var(--flow-label-color);
5
5
  padding: 4px 8px 4px 10px;
6
6
  border-radius: 2px;
7
7
  display: inline;
8
- `;exports.LabelFeature=u;
8
+ `;exports.LabelFeature=o;
9
9
  //# sourceMappingURL=labelFeature.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"labelFeature.js","sources":["../../../../src/components/labelFeature/labelFeature.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport styled from '@emotion/styled';\nimport { Label } from '../label';\nimport { flowColors } from '../../design/skoda/palette.theme';\nimport { VariantType } from '../../utils/enum';\n/**\n * @description Styled SkodaFlow LabelFeature component.\n * @param props LabelFeatureProps\n * @returns React Function Component\n */\nexport const LabelFeature = forwardRef((_a, ref) => {\n var { children, label, variant = 'primary' } = _a, props = __rest(_a, [\"children\", \"label\", \"variant\"]);\n return (_jsx(LabelFeatureStyled, Object.assign({}, props, { ref: ref, variant: variant, label: label, children: children })));\n});\n/**\n * @description LabelFeature styling defintion\n */\nconst LabelFeatureStyled = styled(Label) `\n --flow-label-color: ${(props) => {\n switch (props.variant) {\n case VariantType.PRIMARY:\n return flowColors.brand.tertiary;\n case VariantType.NEUTRAL:\n return flowColors.onSurface.os500;\n default:\n return flowColors[props.variant] ? flowColors[props.variant] : flowColors.brand.secondary;\n }\n}};\n color: ${flowColors.onSurface.os0};\n background-color: var(--flow-label-color);\n padding: 4px 8px 4px 10px;\n border-radius: 2px;\n display: inline;\n`;\n//# sourceMappingURL=labelFeature.js.map"],"names":["LabelFeature","forwardRef","_a","ref","children","label","variant","props","__rest","_jsx","LabelFeatureStyled","Object","assign","styled","Label","VariantType","PRIMARY","flowColors","brand","tertiary","NEUTRAL","onSurface","os500","secondary","os0"],"mappings":"kSAYY,MAACA,EAAeC,EAAUA,YAAC,CAACC,EAAIC,KACxC,IAAIC,SAAEA,EAAQC,MAAEA,EAAKC,QAAEA,EAAU,WAAcJ,EAAIK,EAAQC,EAAMA,OAACN,EAAI,CAAC,WAAY,QAAS,YAC5F,OAAQO,EAAAA,IAAKC,EAAoBC,OAAOC,OAAO,CAAE,EAAEL,EAAO,CAAEJ,IAAKA,EAAKG,QAASA,EAASD,MAAOA,EAAOD,SAAUA,IAAc,IAK5HM,EAAqBG,EAAAA,QAAOC,EAAKA,MAAE;wBAChBP,IACrB,OAAQA,EAAMD,SACV,KAAKS,EAAWA,YAACC,QACb,OAAOC,EAAUA,WAACC,MAAMC,SAC5B,KAAKJ,EAAWA,YAACK,QACb,OAAOH,EAAUA,WAACI,UAAUC,MAChC,QACI,OAAOL,aAAWV,EAAMD,SAAWW,EAAUA,WAACV,EAAMD,SAAWW,EAAAA,WAAWC,MAAMK,UACvF;WAEMN,EAAUA,WAACI,UAAUG;;;;;"}
1
+ {"version":3,"file":"labelFeature.js","sources":["../../../../src/components/labelFeature/labelFeature.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport styled from '@emotion/styled';\nimport { Label } from '../label';\nimport { paletteLight as flowColors } from '../../design/skoda/paletteLight.theme';\nimport { VariantType } from '../../utils/enum';\n/**\n * @description Styled SkodaFlow LabelFeature component.\n * @param props LabelFeatureProps\n * @returns React Function Component\n */\nexport const LabelFeature = forwardRef((_a, ref) => {\n var { children, label, variant = 'primary' } = _a, props = __rest(_a, [\"children\", \"label\", \"variant\"]);\n return (_jsx(LabelFeatureStyled, Object.assign({}, props, { ref: ref, variant: variant, label: label, children: children })));\n});\n/**\n * @description LabelFeature styling defintion\n */\nconst LabelFeatureStyled = styled(Label) `\n --flow-label-color: ${(props) => {\n switch (props.variant) {\n case VariantType.PRIMARY:\n return flowColors.brand.tertiary;\n case VariantType.NEUTRAL:\n return flowColors.onSurface.os500;\n default:\n return flowColors[props.variant] ? flowColors[props.variant] : flowColors.brand.secondary;\n }\n}};\n color: ${flowColors.onSurface.os0};\n background-color: var(--flow-label-color);\n padding: 4px 8px 4px 10px;\n border-radius: 2px;\n display: inline;\n`;\n//# sourceMappingURL=labelFeature.js.map"],"names":["LabelFeature","forwardRef","_a","ref","children","label","variant","props","__rest","_jsx","LabelFeatureStyled","Object","assign","styled","Label","VariantType","PRIMARY","flowColors","paletteLight","brand","tertiary","NEUTRAL","onSurface","os500","secondary","os0"],"mappings":"uSAYY,MAACA,EAAeC,EAAUA,YAAC,CAACC,EAAIC,KACxC,IAAIC,SAAEA,EAAQC,MAAEA,EAAKC,QAAEA,EAAU,WAAcJ,EAAIK,EAAQC,EAAMA,OAACN,EAAI,CAAC,WAAY,QAAS,YAC5F,OAAQO,EAAAA,IAAKC,EAAoBC,OAAOC,OAAO,CAAE,EAAEL,EAAO,CAAEJ,IAAKA,EAAKG,QAASA,EAASD,MAAOA,EAAOD,SAAUA,IAAc,IAK5HM,EAAqBG,EAAAA,QAAOC,EAAKA,MAAE;wBAChBP,IACrB,OAAQA,EAAMD,SACV,KAAKS,EAAWA,YAACC,QACb,OAAOC,EAAUC,aAACC,MAAMC,SAC5B,KAAKL,EAAWA,YAACM,QACb,OAAOJ,EAAUC,aAACI,UAAUC,MAChC,QACI,OAAON,eAAWV,EAAMD,SAAWW,EAAUC,aAACX,EAAMD,SAAWW,EAAAA,aAAWE,MAAMK,UACvF;WAEMP,EAAUC,aAACI,UAAUG;;;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),t=require("../../design/skoda/palette.theme.js");const a=require("@mui/material").styled("div")((r=>{var a=e.__rest(r,["theme"]);const o="skew(21deg, 0deg)",i={color:t.flowColors.brand.secondary,overflow:"hidden",display:"flex",borderRadius:"2px","& .promoLabelContainer":{margin:"0 6px 0 -6px",transform:"skew(-21deg, 0deg)",backgroundColor:t.flowColors.brand.tertiary,position:"relative",borderRadius:"3px",display:"inline-flex",justifyContent:"center",zIndex:100},"& .promoLabelText":{letterSpacing:"1px",textTransform:"uppercase",lineHeight:"12px",fontWeight:"bold",transform:o}};return"small"===a.variant?Object.assign(Object.assign({},i),{"& .promoLabelText":{fontSize:"12px",letterSpacing:"1px",textTransform:"uppercase",lineHeight:"12px",fontWeight:"bold",transform:o,padding:"8px 10px 8px 16px"}}):Object.assign(Object.assign({},i),{"& .promoLabelText":{fontSize:"14px",letterSpacing:"1px",textTransform:"uppercase",lineHeight:"12px",fontWeight:"bold",transform:o,padding:"10px 14px 10px 20px"}})}));exports.LabelPromotional=t=>{var{label:o,variant:i}=t,n=e.__rest(t,["label","variant"]);return r.jsx(a,Object.assign({},n,{variant:i,label:o,"data-testid":"LabelPromotional",children:r.jsx("div",{className:"promoLabelContainer",children:r.jsx("div",{className:"promoLabelText",children:o})})}))},exports.LabelPromotionalStyled=a;
1
+ "use strict";var e=require("tslib"),t=require("react/jsx-runtime"),r=require("../../design/skoda/paletteLight.theme.js");const a=require("@mui/material").styled("div")((t=>{var a=e.__rest(t,["theme"]);const i="skew(21deg, 0deg)",n={color:r.paletteLight.brand.secondary,overflow:"hidden",display:"flex",borderRadius:"2px","& .promoLabelContainer":{margin:"0 6px 0 -6px",transform:"skew(-21deg, 0deg)",backgroundColor:r.paletteLight.brand.tertiary,position:"relative",borderRadius:"3px",display:"inline-flex",justifyContent:"center",zIndex:100},"& .promoLabelText":{letterSpacing:"1px",textTransform:"uppercase",lineHeight:"12px",fontWeight:"bold",transform:i}};return"small"===a.variant?Object.assign(Object.assign({},n),{"& .promoLabelText":{fontSize:"12px",letterSpacing:"1px",textTransform:"uppercase",lineHeight:"12px",fontWeight:"bold",transform:i,padding:"8px 10px 8px 16px"}}):Object.assign(Object.assign({},n),{"& .promoLabelText":{fontSize:"14px",letterSpacing:"1px",textTransform:"uppercase",lineHeight:"12px",fontWeight:"bold",transform:i,padding:"10px 14px 10px 20px"}})}));exports.LabelPromotional=r=>{var{label:i,variant:n}=r,o=e.__rest(r,["label","variant"]);return t.jsx(a,Object.assign({},o,{variant:n,label:i,"data-testid":"LabelPromotional",children:t.jsx("div",{className:"promoLabelContainer",children:t.jsx("div",{className:"promoLabelText",children:i})})}))},exports.LabelPromotionalStyled=a;
2
2
  //# sourceMappingURL=labelPromotional.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"labelPromotional.js","sources":["../../../../src/components/labelPromotional/labelPromotional.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { flowColors } from '../../design/skoda/palette.theme';\nimport { styled } from '@mui/material';\n/**\n * @description Styled SkodaFlow labelPromotional component.\n * @param props labelPromotionalProps\n * @returns React Function Component\n */\nexport const LabelPromotional = (_a) => {\n var { label, variant } = _a, props = __rest(_a, [\"label\", \"variant\"]);\n return (_jsx(LabelPromotionalStyled, Object.assign({}, props, { variant: variant, label: label, \"data-testid\": \"LabelPromotional\", children: _jsx(\"div\", { className: \"promoLabelContainer\", children: _jsx(\"div\", { className: \"promoLabelText\", children: label }) }) })));\n};\n/**\n * @description labelPromotional styling definition\n */\nexport const LabelPromotionalStyled = styled('div')((_a) => {\n var { theme } = _a, props = __rest(_a, [\"theme\"]);\n const positiveSkew = 'skew(21deg, 0deg)';\n const styles = {\n color: flowColors.brand.secondary,\n overflow: 'hidden',\n display: 'flex',\n borderRadius: '2px',\n '& .promoLabelContainer': {\n margin: '0 6px 0 -6px',\n transform: 'skew(-21deg, 0deg)',\n backgroundColor: flowColors.brand.tertiary,\n position: 'relative',\n borderRadius: '3px',\n display: 'inline-flex',\n justifyContent: 'center',\n zIndex: 100,\n },\n '& .promoLabelText': {\n letterSpacing: '1px',\n textTransform: 'uppercase',\n lineHeight: '12px',\n fontWeight: 'bold',\n transform: positiveSkew,\n },\n };\n switch (props.variant) {\n case 'small':\n return Object.assign(Object.assign({}, styles), { '& .promoLabelText': {\n fontSize: '12px',\n letterSpacing: '1px',\n textTransform: 'uppercase',\n lineHeight: '12px',\n fontWeight: 'bold',\n transform: positiveSkew,\n padding: '8px 10px 8px 16px',\n } });\n case 'large':\n default:\n return Object.assign(Object.assign({}, styles), { '& .promoLabelText': {\n fontSize: '14px',\n letterSpacing: '1px',\n textTransform: 'uppercase',\n lineHeight: '12px',\n fontWeight: 'bold',\n transform: positiveSkew,\n padding: '10px 14px 10px 20px',\n } });\n }\n});\n//# sourceMappingURL=labelPromotional.js.map"],"names":["LabelPromotionalStyled","styled","_a","props","__rest","positiveSkew","styles","color","flowColors","brand","secondary","overflow","display","borderRadius","margin","transform","backgroundColor","tertiary","position","justifyContent","zIndex","letterSpacing","textTransform","lineHeight","fontWeight","variant","Object","assign","fontSize","padding","label","_jsx","jsx","children","className"],"mappings":"oHASY,MAOCA,2BAA+BC,OAAC,MAAPA,EAAeC,IAC9C,IAAiBC,EAAQC,EAAMA,OAACF,EAAI,CAAC,UACxC,MAAMG,EAAe,oBACfC,EAAS,CACXC,MAAOC,EAAAA,WAAWC,MAAMC,UACxBC,SAAU,SACVC,QAAS,OACTC,aAAc,MACd,yBAA0B,CACtBC,OAAQ,eACRC,UAAW,qBACXC,gBAAiBR,EAAAA,WAAWC,MAAMQ,SAClCC,SAAU,WACVL,aAAc,MACdD,QAAS,cACTO,eAAgB,SAChBC,OAAQ,KAEZ,oBAAqB,CACjBC,cAAe,MACfC,cAAe,YACfC,WAAY,OACZC,WAAY,OACZT,UAAWV,IAGnB,MACS,UADDF,EAAMsB,QAECC,OAAOC,OAAOD,OAAOC,OAAO,CAAA,EAAIrB,GAAS,CAAE,oBAAqB,CAC/DsB,SAAU,OACVP,cAAe,MACfC,cAAe,YACfC,WAAY,OACZC,WAAY,OACZT,UAAWV,EACXwB,QAAS,uBAIVH,OAAOC,OAAOD,OAAOC,OAAO,CAAA,EAAIrB,GAAS,CAAE,oBAAqB,CAC/DsB,SAAU,OACVP,cAAe,MACfC,cAAe,YACfC,WAAY,OACZC,WAAY,OACZT,UAAWV,EACXwB,QAAS,wBAExB,6BAvD4B3B,IAC7B,IAAI4B,MAAEA,EAAKL,QAAEA,GAAYvB,EAAIC,EAAQC,EAAMA,OAACF,EAAI,CAAC,QAAS,YAC1D,OAAQ6B,EAAIC,IAAChC,EAAwB0B,OAAOC,OAAO,CAAE,EAAExB,EAAO,CAAEsB,QAASA,EAASK,MAAOA,EAAO,cAAe,mBAAoBG,SAAUF,EAAAA,IAAK,MAAO,CAAEG,UAAW,sBAAuBD,SAAUF,EAAAA,IAAK,MAAO,CAAEG,UAAW,iBAAkBD,SAAUH,QAAiB"}
1
+ {"version":3,"file":"labelPromotional.js","sources":["../../../../src/components/labelPromotional/labelPromotional.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { paletteLight as flowColors } from '../../design/skoda/paletteLight.theme';\nimport { styled } from '@mui/material';\n/**\n * @description Styled SkodaFlow labelPromotional component.\n * @param props labelPromotionalProps\n * @returns React Function Component\n */\nexport const LabelPromotional = (_a) => {\n var { label, variant } = _a, props = __rest(_a, [\"label\", \"variant\"]);\n return (_jsx(LabelPromotionalStyled, Object.assign({}, props, { variant: variant, label: label, \"data-testid\": \"LabelPromotional\", children: _jsx(\"div\", { className: \"promoLabelContainer\", children: _jsx(\"div\", { className: \"promoLabelText\", children: label }) }) })));\n};\n/**\n * @description labelPromotional styling definition\n */\nexport const LabelPromotionalStyled = styled('div')((_a) => {\n var { theme } = _a, props = __rest(_a, [\"theme\"]);\n const positiveSkew = 'skew(21deg, 0deg)';\n const styles = {\n color: flowColors.brand.secondary,\n overflow: 'hidden',\n display: 'flex',\n borderRadius: '2px',\n '& .promoLabelContainer': {\n margin: '0 6px 0 -6px',\n transform: 'skew(-21deg, 0deg)',\n backgroundColor: flowColors.brand.tertiary,\n position: 'relative',\n borderRadius: '3px',\n display: 'inline-flex',\n justifyContent: 'center',\n zIndex: 100,\n },\n '& .promoLabelText': {\n letterSpacing: '1px',\n textTransform: 'uppercase',\n lineHeight: '12px',\n fontWeight: 'bold',\n transform: positiveSkew,\n },\n };\n switch (props.variant) {\n case 'small':\n return Object.assign(Object.assign({}, styles), { '& .promoLabelText': {\n fontSize: '12px',\n letterSpacing: '1px',\n textTransform: 'uppercase',\n lineHeight: '12px',\n fontWeight: 'bold',\n transform: positiveSkew,\n padding: '8px 10px 8px 16px',\n } });\n case 'large':\n default:\n return Object.assign(Object.assign({}, styles), { '& .promoLabelText': {\n fontSize: '14px',\n letterSpacing: '1px',\n textTransform: 'uppercase',\n lineHeight: '12px',\n fontWeight: 'bold',\n transform: positiveSkew,\n padding: '10px 14px 10px 20px',\n } });\n }\n});\n//# sourceMappingURL=labelPromotional.js.map"],"names":["LabelPromotionalStyled","styled","_a","props","__rest","positiveSkew","styles","color","flowColors","brand","secondary","overflow","display","borderRadius","margin","transform","backgroundColor","tertiary","position","justifyContent","zIndex","letterSpacing","textTransform","lineHeight","fontWeight","variant","Object","assign","fontSize","padding","label","_jsx","jsx","children","className"],"mappings":"yHASY,MAOCA,2BAA+BC,OAAC,MAAPA,EAAeC,IAC9C,IAAiBC,EAAQC,EAAMA,OAACF,EAAI,CAAC,UACxC,MAAMG,EAAe,oBACfC,EAAS,CACXC,MAAOC,EAAAA,aAAWC,MAAMC,UACxBC,SAAU,SACVC,QAAS,OACTC,aAAc,MACd,yBAA0B,CACtBC,OAAQ,eACRC,UAAW,qBACXC,gBAAiBR,EAAAA,aAAWC,MAAMQ,SAClCC,SAAU,WACVL,aAAc,MACdD,QAAS,cACTO,eAAgB,SAChBC,OAAQ,KAEZ,oBAAqB,CACjBC,cAAe,MACfC,cAAe,YACfC,WAAY,OACZC,WAAY,OACZT,UAAWV,IAGnB,MACS,UADDF,EAAMsB,QAECC,OAAOC,OAAOD,OAAOC,OAAO,CAAA,EAAIrB,GAAS,CAAE,oBAAqB,CAC/DsB,SAAU,OACVP,cAAe,MACfC,cAAe,YACfC,WAAY,OACZC,WAAY,OACZT,UAAWV,EACXwB,QAAS,uBAIVH,OAAOC,OAAOD,OAAOC,OAAO,CAAA,EAAIrB,GAAS,CAAE,oBAAqB,CAC/DsB,SAAU,OACVP,cAAe,MACfC,cAAe,YACfC,WAAY,OACZC,WAAY,OACZT,UAAWV,EACXwB,QAAS,wBAExB,6BAvD4B3B,IAC7B,IAAI4B,MAAEA,EAAKL,QAAEA,GAAYvB,EAAIC,EAAQC,EAAMA,OAACF,EAAI,CAAC,QAAS,YAC1D,OAAQ6B,EAAIC,IAAChC,EAAwB0B,OAAOC,OAAO,CAAE,EAAExB,EAAO,CAAEsB,QAASA,EAASK,MAAOA,EAAO,cAAe,mBAAoBG,SAAUF,EAAAA,IAAK,MAAO,CAAEG,UAAW,sBAAuBD,SAAUF,EAAAA,IAAK,MAAO,CAAEG,UAAW,iBAAkBD,SAAUH,QAAiB"}
@@ -15,5 +15,6 @@ export interface LabelStatusProps extends LabelProps {
15
15
  * @description Styled SkodaFlow LabelStatus component
16
16
  * @param props LabelStatusProps
17
17
  * @returns React Functional Component
18
+ * @deprecated Use Indicator component instead
18
19
  */
19
20
  export declare const LabelStatus: React.ForwardRefExoticComponent<LabelStatusProps & React.RefAttributes<HTMLSpanElement>>;
@@ -1,6 +1,6 @@
1
- "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),a=require("react"),l=require("@emotion/styled"),t=require("../label/label.js"),i=require("../../design/skoda/palette.theme.js");function o(e){return e&&e.__esModule?e:{default:e}}var n=o(l);const s=a.forwardRef(((a,l)=>{var{children:t,label:i,variant:o="positive"}=a,n=e.__rest(a,["children","label","variant"]);return r.jsx(u,Object.assign({className:"labelStatus"},n,{ref:l,variant:o,label:i,"data-testid":"LabelStatus",children:t}))})),u=n.default(t.Label)`
2
- --flow-label-color: ${e=>{switch(e.variant){case"alert":return i.flowColors.alert.main;case"warning":return i.flowColors.warning.main;case"positive":return i.flowColors.positive.main;default:return i.flowColors[e.variant]?i.flowColors[e.variant]:e.variant}}};
3
- color: ${i.flowColors.text.primary};
1
+ "use strict";var e=require("tslib"),t=require("react/jsx-runtime"),a=require("react"),r=require("@emotion/styled"),i=require("../label/label.js"),l=require("../../design/skoda/paletteLight.theme.js");function n(e){return e&&e.__esModule?e:{default:e}}var s=n(r);const o=a.forwardRef(((a,r)=>{var{children:i,label:l,variant:n="positive"}=a,s=e.__rest(a,["children","label","variant"]);return t.jsx(u,Object.assign({className:"labelStatus"},s,{ref:r,variant:n,label:l,"data-testid":"LabelStatus",children:i}))})),u=s.default(i.Label)`
2
+ --flow-label-color: ${e=>{switch(e.variant){case"alert":return l.paletteLight.alert.main;case"warning":return l.paletteLight.warning.main;case"positive":return l.paletteLight.positive.main;default:return l.paletteLight[e.variant]?l.paletteLight[e.variant]:e.variant}}};
3
+ color: ${l.paletteLight.text.primary};
4
4
  &::before {
5
5
  content: '';
6
6
  width: 10px;
@@ -12,5 +12,5 @@
12
12
  vertical-align: middle;
13
13
  background-color: var(--flow-label-color);
14
14
  }
15
- `;exports.LabelStatus=s;
15
+ `;exports.LabelStatus=o;
16
16
  //# sourceMappingURL=labelStatus.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"labelStatus.js","sources":["../../../../src/components/labelStatus/labelStatus.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport styled from '@emotion/styled';\nimport { Label } from '../label';\nimport { flowColors } from '../../design/skoda/palette.theme';\n/**\n * @description Styled SkodaFlow LabelStatus component\n * @param props LabelStatusProps\n * @returns React Functional Component\n */\nexport const LabelStatus = forwardRef((_a, ref) => {\n var { children, label, variant = 'positive' } = _a, props = __rest(_a, [\"children\", \"label\", \"variant\"]);\n return (_jsx(LabelStatusStyled, Object.assign({ className: 'labelStatus' }, props, { ref: ref, variant: variant, label: label, \"data-testid\": \"LabelStatus\", children: children })));\n});\n/**\n * LabelStatus styling defintion\n */\nconst LabelStatusStyled = styled(Label) `\n --flow-label-color: ${(props) => {\n switch (props.variant) {\n case 'alert':\n return flowColors.alert['main'];\n case 'warning':\n return flowColors.warning['main'];\n case 'positive':\n return flowColors.positive['main'];\n default:\n return flowColors[props.variant] ? flowColors[props.variant] : props.variant;\n }\n}};\n color: ${flowColors.text.primary};\n &::before {\n content: '';\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 8px;\n margin-top: -2px;\n display: inline-block;\n vertical-align: middle;\n background-color: var(--flow-label-color);\n }\n`;\n//# sourceMappingURL=labelStatus.js.map"],"names":["LabelStatus","forwardRef","_a","ref","children","label","variant","props","__rest","_jsx","jsx","LabelStatusStyled","Object","assign","className","styled","Label","flowColors","alert","warning","positive","text","primary"],"mappings":"iQAWY,MAACA,EAAcC,EAAUA,YAAC,CAACC,EAAIC,KACvC,IAAIC,SAAEA,EAAQC,MAAEA,EAAKC,QAAEA,EAAU,YAAeJ,EAAIK,EAAQC,EAAMA,OAACN,EAAI,CAAC,WAAY,QAAS,YAC7F,OAAQO,EAAIC,IAACC,EAAmBC,OAAOC,OAAO,CAAEC,UAAW,eAAiBP,EAAO,CAAEJ,IAAKA,EAAKG,QAASA,EAASD,MAAOA,EAAO,cAAe,cAAeD,SAAUA,IAAc,IAKnLO,EAAoBI,EAAAA,QAAOC,EAAKA,MAAE;wBACfT,IACrB,OAAQA,EAAMD,SACV,IAAK,QACD,OAAOW,EAAUA,WAACC,MAAY,KAClC,IAAK,UACD,OAAOD,EAAUA,WAACE,QAAc,KACpC,IAAK,WACD,OAAOF,EAAUA,WAACG,SAAe,KACrC,QACI,OAAOH,EAAUA,WAACV,EAAMD,SAAWW,EAAAA,WAAWV,EAAMD,SAAWC,EAAMD,QAC5E;WAEMW,EAAUA,WAACI,KAAKC;;;;;;;;;;;;"}
1
+ {"version":3,"file":"labelStatus.js","sources":["../../../../src/components/labelStatus/labelStatus.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport styled from '@emotion/styled';\nimport { Label } from '../label';\nimport { paletteLight as flowColors } from '../../design/skoda/paletteLight.theme';\n/**\n * @description Styled SkodaFlow LabelStatus component\n * @param props LabelStatusProps\n * @returns React Functional Component\n * @deprecated Use Indicator component instead\n */\nexport const LabelStatus = forwardRef((_a, ref) => {\n var { children, label, variant = 'positive' } = _a, props = __rest(_a, [\"children\", \"label\", \"variant\"]);\n return (_jsx(LabelStatusStyled, Object.assign({ className: 'labelStatus' }, props, { ref: ref, variant: variant, label: label, \"data-testid\": \"LabelStatus\", children: children })));\n});\n/**\n * LabelStatus styling defintion\n */\nconst LabelStatusStyled = styled(Label) `\n --flow-label-color: ${(props) => {\n switch (props.variant) {\n case 'alert':\n return flowColors.alert['main'];\n case 'warning':\n return flowColors.warning['main'];\n case 'positive':\n return flowColors.positive['main'];\n default:\n return flowColors[props.variant] ? flowColors[props.variant] : props.variant;\n }\n}};\n color: ${flowColors.text.primary};\n &::before {\n content: '';\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 8px;\n margin-top: -2px;\n display: inline-block;\n vertical-align: middle;\n background-color: var(--flow-label-color);\n }\n`;\n//# sourceMappingURL=labelStatus.js.map"],"names":["LabelStatus","forwardRef","_a","ref","children","label","variant","props","__rest","_jsx","jsx","LabelStatusStyled","Object","assign","className","styled","Label","flowColors","paletteLight","alert","warning","positive","text","primary"],"mappings":"sQAYY,MAACA,EAAcC,EAAUA,YAAC,CAACC,EAAIC,KACvC,IAAIC,SAAEA,EAAQC,MAAEA,EAAKC,QAAEA,EAAU,YAAeJ,EAAIK,EAAQC,EAAMA,OAACN,EAAI,CAAC,WAAY,QAAS,YAC7F,OAAQO,EAAIC,IAACC,EAAmBC,OAAOC,OAAO,CAAEC,UAAW,eAAiBP,EAAO,CAAEJ,IAAKA,EAAKG,QAASA,EAASD,MAAOA,EAAO,cAAe,cAAeD,SAAUA,IAAc,IAKnLO,EAAoBI,EAAAA,QAAOC,EAAKA,MAAE;wBACfT,IACrB,OAAQA,EAAMD,SACV,IAAK,QACD,OAAOW,EAAUC,aAACC,MAAY,KAClC,IAAK,UACD,OAAOF,EAAUC,aAACE,QAAc,KACpC,IAAK,WACD,OAAOH,EAAUC,aAACG,SAAe,KACrC,QACI,OAAOJ,EAAUC,aAACX,EAAMD,SAAWW,EAAAA,aAAWV,EAAMD,SAAWC,EAAMD,QAC5E;WAEMW,EAAUC,aAACI,KAAKC;;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),t=require("react/jsx-runtime"),i=require("react"),r=require("@mui/material/styles"),l=require("@mui/material/MenuItem"),o=require("@mui/material/MenuList"),a=require("@mui/material/Paper"),n=require("@mui/material/ListItemText"),s=require("@mui/material/ListItemIcon"),u=require("../checkbox/checkbox.js"),c=require("../toggleSwitch/toggleSwitch.js"),g=require("../icon/icon.js"),p=require("@mui/material/Divider"),d=require("@mui/material"),h=require("../flag/flag.js");function x(e){return e&&e.__esModule?e:{default:e}}var m=x(l),f=x(o),b=x(a),j=x(n),S=x(s),v=x(p);const M=i.forwardRef(((r,l)=>{var{setIsOpen:o,reactHook:a,items:n,hasIcon:s,multipleSelection:p,groupToggleSelection:x,groupLabel:b="",toggleLabel:M}=r,I=e.__rest(r,["setIsOpen","reactHook","items","hasIcon","multipleSelection","groupToggleSelection","groupLabel","toggleLabel"]);const{state:k,setState:q}=a,[T,L]=i.useState(!1),w=i.useCallback((()=>{((e,t,i,r)=>{const l=!e;i((()=>l?[...t]:[])),r(l)})(T,n,q,L)}),[n,q,T]),O=i.useCallback(((e,t)=>{((e,t,i,r,l,o)=>{const a=e?r.includes(i):r.find((e=>e.value.toString()===i)),n=e?[i]:o.filter((e=>e.value.toString()===i));l(t?a?r.filter((t=>e?t!==i:t.value.toString()!==i)):e=>[...n,...e]:a?[]:n)})(t,p,e.currentTarget.id,k,q,n)}),[n,k,p,q]),C=i.useCallback(((e,i)=>{const r=e?k.includes(i):k.some((e=>e.value===i.value)),l=e?i:i.title,o=e?i:i.value;return t.jsxs(m.default,{id:o,selected:r,onClick:t=>O(t,e),children:[s&&!e&&t.jsx(S.default,{children:t.jsx(h.Flag,{flag:i.flag,title:i.title})}),t.jsx(j.default,{children:t.jsx(d.Typography,{noWrap:!0,children:l})}),p&&t.jsx(u.Checkbox,{checked:r})]},o)}),[k,s,p,O]);return i.useEffect((()=>{((e,t,i,r,l)=>{e&&t&&(r.length===i.length&&l(!0),r.length<i.length&&l(!1))})(p,x,n,k,L)}),[x,n,k,p]),t.jsxs(y,Object.assign({},I,{ref:l,groupLabel:b,groupToggleSelection:x,multipleSelection:p.toString(),sx:b||x&&p?{paddingTop:"0px"}:{},children:[b.length>0&&t.jsxs(t.Fragment,{children:[t.jsxs(m.default,{children:[t.jsx(j.default,{children:t.jsx(d.Typography,{noWrap:!0,children:b})}),t.jsx(S.default,{onClick:()=>o(!1),children:t.jsx(g.Icon,{className:"ballotx"})})]}),t.jsx(v.default,{variant:"middle"})]}),p&&x&&t.jsx(t.Fragment,{children:t.jsxs(m.default,{className:"menu-select-all",children:[t.jsx(j.default,{children:M||"Select all"}),t.jsx(c.ToggleSwitch,{onClick:w,checked:T})]})}),t.jsx(f.default,{children:n.map((e=>C("string"==typeof e,e)))})]}))})),y=r.styled(b.default,{shouldForwardProp:e=>"multipleSelection"!==e&&"groupLabel"!==e&&"groupToggleSelection"!==e})((t=>{var{theme:i}=t;const r=e.__rest(t,["theme"]);let l={};const o={height:"48px",padding:"0px 24px"};return"true"===r.multipleSelection&&(o.paddingRight="16px"),l=Object.assign(Object.assign({},l),{boxShadow:"0px 3px 8px rgba(0, 0, 0, 0.15)","& .MuiList-root":{maxHeight:"240px",overflow:"overlay",padding:"0px",borderRadius:"4px"},"& .MuiTypography-root":{fontSize:"16px",lineHeight:"24px",color:i.palette.onSurface.os900,fontWeight:"500",paddingRight:"16px"},"& li > .MuiListItemIcon-root":{minWidth:"0px",marginRight:"16px"},"& .MuiDivider-root":{marginTop:"0px",marginBottom:"0px"},"& li.menu-select-all":{"& .MuiTypography-root":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"&:hover":{backgroundColor:i.palette.onSurface.os0}},"& .MuiMenuItem-root":o}),r.groupLabel&&r.groupLabel.length>0?l=Object.assign(Object.assign({},l),{"& > .MuiMenuItem-root:first-of-type":{borderRadius:"4px",paddingRight:"21px","& .MuiTypography-root":{fontWeight:"700"},"& .MuiListItemIcon-root":{marginRight:"0px",color:i.palette.onSurface.os900,"& .MuiIcon-root:before":{position:"relative",top:"-3px"}},"&:hover":{backgroundColor:`${i.palette.background.primary}`}}}):r.multipleSelection&&r.groupToggleSelection&&(l=Object.assign(Object.assign({},l),{"& > .MuiMenuItem-root:first-of-type":{borderRadius:"4px"}})),l}));exports.Menu=M;
1
+ "use strict";var e=require("tslib"),t=require("react/jsx-runtime"),i=require("react"),r=require("@mui/material/styles"),o=require("@mui/material/MenuItem"),l=require("@mui/material/MenuList"),a=require("@mui/material/Paper"),n=require("@mui/material/ListItemText"),s=require("@mui/material/ListItemIcon"),u=require("../checkbox/checkbox.js"),c=require("../toggleSwitch/toggleSwitch.js"),g=require("../icon/icon.js");require("../icon/icon.definitions.js");var p=require("@mui/material/Divider"),d=require("@mui/material"),h=require("../flag/flag.js");function m(e){return e&&e.__esModule?e:{default:e}}var x=m(o),f=m(l),j=m(a),b=m(n),S=m(s),v=m(p);const M=i.forwardRef(((r,o)=>{var{setIsOpen:l,reactHook:a,items:n,hasIcon:s,multipleSelection:p,groupToggleSelection:m,groupLabel:j="",toggleLabel:M}=r,I=e.__rest(r,["setIsOpen","reactHook","items","hasIcon","multipleSelection","groupToggleSelection","groupLabel","toggleLabel"]);const{state:k,setState:q}=a,[T,L]=i.useState(!1),w=i.useCallback((()=>{((e,t,i,r)=>{const o=!e;i((()=>o?[...t]:[])),r(o)})(T,n,q,L)}),[n,q,T]),O=i.useCallback(((e,t)=>{((e,t,i,r,o,l)=>{const a=e?r.includes(i):r.find((e=>e.value.toString()===i)),n=e?[i]:l.filter((e=>e.value.toString()===i));o(t?a?r.filter((t=>e?t!==i:t.value.toString()!==i)):e=>[...n,...e]:a?[]:n)})(t,p,e.currentTarget.id,k,q,n)}),[n,k,p,q]),C=i.useCallback(((e,i)=>{const r=e?k.includes(i):k.some((e=>e.value===i.value)),o=e?i:i.title,l=e?i:i.value;return t.jsxs(x.default,{id:l,selected:r,onClick:t=>O(t,e),children:[s&&!e&&t.jsx(S.default,{children:t.jsx(h.Flag,{flag:i.flag,title:i.title})}),t.jsx(b.default,{children:t.jsx(d.Typography,{noWrap:!0,children:o})}),p&&t.jsx(u.Checkbox,{checked:r})]},l)}),[k,s,p,O]);return i.useEffect((()=>{((e,t,i,r,o)=>{e&&t&&(r.length===i.length&&o(!0),r.length<i.length&&o(!1))})(p,m,n,k,L)}),[m,n,k,p]),t.jsxs(y,Object.assign({},I,{ref:o,groupLabel:j,groupToggleSelection:m,multipleSelection:p.toString(),sx:j||m&&p?{paddingTop:"0px"}:{},children:[j.length>0&&t.jsxs(t.Fragment,{children:[t.jsxs(x.default,{children:[t.jsx(b.default,{children:t.jsx(d.Typography,{noWrap:!0,children:j})}),t.jsx(S.default,{onClick:()=>l(!1),children:t.jsx(g.Icon,{name:"close"})})]}),t.jsx(v.default,{variant:"middle"})]}),p&&m&&t.jsx(t.Fragment,{children:t.jsxs(x.default,{className:"menu-select-all",children:[t.jsx(b.default,{children:M||"Select all"}),t.jsx(c.ToggleSwitch,{onClick:w,checked:T})]})}),t.jsx(f.default,{children:n.map((e=>C("string"==typeof e,e)))})]}))})),y=r.styled(j.default,{shouldForwardProp:e=>"multipleSelection"!==e&&"groupLabel"!==e&&"groupToggleSelection"!==e})((t=>{var{theme:i}=t;const r=e.__rest(t,["theme"]);let o={};const l={height:"48px",padding:"0px 24px"};return"true"===r.multipleSelection&&(l.paddingRight="16px"),o=Object.assign(Object.assign({},o),{boxShadow:"0px 3px 8px rgba(0, 0, 0, 0.15)","& .MuiList-root":{maxHeight:"240px",overflow:"overlay",padding:"0px",borderRadius:"4px"},"& .MuiTypography-root":{fontSize:"16px",lineHeight:"24px",color:i.palette.onSurface.os900,fontWeight:"500",paddingRight:"16px"},"& li > .MuiListItemIcon-root":{minWidth:"0px",marginRight:"16px"},"& .MuiDivider-root":{marginTop:"0px",marginBottom:"0px"},"& li.menu-select-all":{"& .MuiTypography-root":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"&:hover":{backgroundColor:i.palette.onSurface.os0}},"& .MuiMenuItem-root":l}),r.groupLabel&&r.groupLabel.length>0?o=Object.assign(Object.assign({},o),{"& > .MuiMenuItem-root:first-of-type":{borderRadius:"4px",paddingRight:"21px","& .MuiTypography-root":{fontWeight:"700"},"& .MuiListItemIcon-root":{marginRight:"0px",color:i.palette.onSurface.os900,"& .MuiIcon-root:before":{position:"relative",top:"-3px"}},"&:hover":{backgroundColor:`${i.palette.background.primary}`}}}):r.multipleSelection&&r.groupToggleSelection&&(o=Object.assign(Object.assign({},o),{"& > .MuiMenuItem-root:first-of-type":{borderRadius:"4px"}})),o}));exports.Menu=M;
2
2
  //# sourceMappingURL=menu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"menu.js","sources":["../../../../src/components/menu/menu.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { forwardRef, useCallback, useEffect, useState } from 'react';\nimport { styled } from '@mui/material/styles';\nimport MenuItem from '@mui/material/MenuItem';\nimport MenuList from '@mui/material/MenuList';\nimport MuiPaper from '@mui/material/Paper';\nimport ListItemText from '@mui/material/ListItemText';\nimport ListItemIcon from '@mui/material/ListItemIcon';\nimport { Checkbox } from '../checkbox';\nimport { ToggleSwitch } from '../toggleSwitch';\nimport { Icon } from '../icon';\nimport Divider from '@mui/material/Divider';\nimport { Typography } from '@mui/material';\nimport { Flag } from '../flag';\n/**\n * @description SkodaFlow Menu component.\n * Properties are inherited from HTML Div element.\n * @param props PaperProps\n * @returns React Functional Component\n */\n/**\n * @function onToggleClickHandler\n * @description Set itemsstate and toggle checked on toggle click.\n */\nconst onToggleClickHandler = (currToggleChecked, initItems, setItems, setToggle) => {\n const expectedFutureToggleCheckedState = !currToggleChecked;\n setItems(() => (expectedFutureToggleCheckedState ? [...initItems] : []));\n setToggle(expectedFutureToggleCheckedState);\n};\n/**\n * @function onMenuItemClickHandler\n * @description Set itemsstate on menu item click.\n */\nconst onMenuItemClickHandler = (isString, multipleSelection, id, itemsState, setItemsState, initItems) => {\n const itemExist = isString ? itemsState.includes(id) : itemsState.find((item) => item.value.toString() === id);\n const newItem = isString\n ? [id]\n : initItems.filter((item) => item.value.toString() === id);\n //if the menu is not multiple selection\n if (!multipleSelection) {\n //if the item is already selected (itemExist === true): return an empty array (deselect item)\n //else return the new item selected (object or string depending on the array of items passed)\n if (itemExist) {\n setItemsState([]);\n }\n else {\n setItemsState(newItem);\n }\n }\n //if the menu is multiple selection\n else {\n if (itemExist) {\n const listWithoutItem = itemsState.filter((item) => (isString ? item !== id : item.value.toString() !== id));\n setItemsState(listWithoutItem);\n }\n else {\n setItemsState((prevArr) => [...newItem, ...prevArr]);\n }\n }\n};\n/**\n * @function setToggle\n * @description Set toggle based on menu items change.\n */\nconst setToggle = (multipleSelection, groupToggleSelection, initItems, itemsState, setToggleChecked) => {\n if (multipleSelection && groupToggleSelection) {\n if (itemsState.length === initItems.length)\n setToggleChecked(true);\n if (itemsState.length < initItems.length)\n setToggleChecked(false);\n }\n};\nexport const Menu = forwardRef((_a, ref) => {\n var { setIsOpen, reactHook, items, hasIcon, multipleSelection, groupToggleSelection, groupLabel = '', toggleLabel } = _a, props = __rest(_a, [\"setIsOpen\", \"reactHook\", \"items\", \"hasIcon\", \"multipleSelection\", \"groupToggleSelection\", \"groupLabel\", \"toggleLabel\"]);\n const { state: itemsState, setState: setItemsState } = reactHook;\n const [toggleChecked, setToggleChecked] = useState(false);\n const onToggleClickHandlerWithUseCallback = useCallback(() => {\n onToggleClickHandler(toggleChecked, items, setItemsState, setToggleChecked);\n }, [items, setItemsState, toggleChecked]);\n //callback fired when an item in the menu list is clicked\n const onMenuItemClickHandlerWithUseCallback = useCallback((e, isString) => {\n onMenuItemClickHandler(isString, multipleSelection, e.currentTarget.id, itemsState, setItemsState, items);\n }, [items, itemsState, multipleSelection, setItemsState]);\n //Return the menuItem depending on the type of the item (string or MenuItemObject)\n const handleTypeItem = useCallback((isString, item) => {\n const selected = isString\n ? itemsState.includes(item)\n : itemsState.some((itemState) => itemState.value === item.value);\n const title = isString ? item : item.title;\n const id = isString ? item : item.value;\n return (_jsxs(MenuItem, { id: id, selected: selected, onClick: (e) => onMenuItemClickHandlerWithUseCallback(e, isString), children: [hasIcon && !isString && (_jsx(ListItemIcon, { children: _jsx(Flag, { flag: item.flag, title: item.title }) })), _jsx(ListItemText, { children: _jsx(Typography, { noWrap: true, children: title }) }), multipleSelection && _jsx(Checkbox, { checked: selected })] }, id));\n }, [itemsState, hasIcon, multipleSelection, onMenuItemClickHandlerWithUseCallback]);\n useEffect(() => {\n setToggle(multipleSelection, groupToggleSelection, items, itemsState, setToggleChecked);\n }, [groupToggleSelection, items, itemsState, multipleSelection]);\n return (_jsxs(PaperStyled, Object.assign({}, props, { ref: ref, groupLabel: groupLabel, groupToggleSelection: groupToggleSelection, multipleSelection: multipleSelection.toString(), sx: groupLabel || (groupToggleSelection && multipleSelection) ? { paddingTop: '0px' } : {}, children: [groupLabel.length > 0 && (_jsxs(_Fragment, { children: [_jsxs(MenuItem, { children: [_jsx(ListItemText, { children: _jsx(Typography, { noWrap: true, children: groupLabel }) }), _jsx(ListItemIcon, { onClick: () => setIsOpen(false), children: _jsx(Icon, { className: \"ballotx\" }) })] }), _jsx(Divider, { variant: \"middle\" })] })), multipleSelection && groupToggleSelection && (_jsx(_Fragment, { children: _jsxs(MenuItem, { className: \"menu-select-all\", children: [_jsx(ListItemText, { children: toggleLabel ? toggleLabel : 'Select all' }), _jsx(ToggleSwitch, { onClick: onToggleClickHandlerWithUseCallback, checked: toggleChecked })] }) })), _jsx(MenuList, { children: items.map((item) => {\n const isString = typeof item === 'string';\n return handleTypeItem(isString, item);\n }) })] })));\n});\n/**\n * @description Menu styling defintion based on props\n */\nconst PaperStyled = styled(MuiPaper, {\n shouldForwardProp: (prop) => prop !== 'multipleSelection' && prop !== 'groupLabel' && prop !== 'groupToggleSelection',\n})((_a) => {\n var { theme } = _a, args = __rest(_a, [\"theme\"]);\n const props = args;\n let styles = {};\n const hasmultipleSelection = props.multipleSelection === 'true';\n const itemStyles = {\n height: '48px',\n padding: '0px 24px',\n };\n if (hasmultipleSelection)\n itemStyles.paddingRight = '16px';\n styles = Object.assign(Object.assign({}, styles), { boxShadow: '0px 3px 8px rgba(0, 0, 0, 0.15)', '& .MuiList-root': {\n maxHeight: '240px',\n overflow: 'overlay',\n padding: '0px',\n borderRadius: '4px',\n }, '& .MuiTypography-root': {\n fontSize: '16px',\n lineHeight: '24px',\n color: theme.palette.onSurface.os900,\n fontWeight: '500',\n paddingRight: '16px',\n }, '& li > .MuiListItemIcon-root': {\n minWidth: '0px',\n marginRight: '16px',\n }, '& .MuiDivider-root': {\n marginTop: '0px',\n marginBottom: '0px',\n }, '& li.menu-select-all': {\n '& .MuiTypography-root': {\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n },\n '&:hover': {\n backgroundColor: theme.palette.onSurface.os0,\n },\n }, '& .MuiMenuItem-root': itemStyles });\n if (props.groupLabel && props.groupLabel.length > 0) {\n styles = Object.assign(Object.assign({}, styles), { '& > .MuiMenuItem-root:first-of-type': {\n borderRadius: '4px',\n paddingRight: '21px',\n '& .MuiTypography-root': {\n fontWeight: '700',\n },\n '& .MuiListItemIcon-root': {\n marginRight: '0px',\n color: theme.palette.onSurface.os900,\n '& .MuiIcon-root:before': {\n position: 'relative',\n top: '-3px',\n },\n },\n '&:hover': {\n backgroundColor: `${theme.palette.background.primary}`,\n },\n } });\n }\n else if (props.multipleSelection && props.groupToggleSelection) {\n styles = Object.assign(Object.assign({}, styles), { '& > .MuiMenuItem-root:first-of-type': {\n borderRadius: '4px',\n } });\n }\n return styles;\n});\n//# sourceMappingURL=menu.js.map"],"names":["Menu","forwardRef","_a","ref","setIsOpen","reactHook","items","hasIcon","multipleSelection","groupToggleSelection","groupLabel","toggleLabel","props","__rest","state","itemsState","setState","setItemsState","toggleChecked","setToggleChecked","useState","onToggleClickHandlerWithUseCallback","useCallback","currToggleChecked","initItems","setItems","setToggle","expectedFutureToggleCheckedState","onToggleClickHandler","onMenuItemClickHandlerWithUseCallback","e","isString","id","itemExist","includes","find","item","value","toString","newItem","filter","prevArr","onMenuItemClickHandler","currentTarget","handleTypeItem","selected","some","itemState","title","_jsxs","MenuItem","onClick","children","_jsx","jsx","ListItemIcon","default","Flag","flag","ListItemText","Typography","noWrap","Checkbox","checked","useEffect","length","PaperStyled","Object","assign","sx","paddingTop","_Fragment","jsxs","Icon","className","Divider","variant","ToggleSwitch","MenuList","map","styled","MuiPaper","shouldForwardProp","prop","theme","styles","itemStyles","height","padding","paddingRight","boxShadow","maxHeight","overflow","borderRadius","fontSize","lineHeight","color","palette","onSurface","os900","fontWeight","minWidth","marginRight","marginTop","marginBottom","textOverflow","whiteSpace","backgroundColor","os0","position","top","background","primary"],"mappings":"4lBAyBA,MAgDaA,EAAOC,EAAUA,YAAC,CAACC,EAAIC,KAChC,IAAIC,UAAEA,EAASC,UAAEA,EAASC,MAAEA,EAAKC,QAAEA,EAAOC,kBAAEA,EA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AMF,WAAWuD,OAAS,EAC9CoB,EAASlB,OAAOC,OAAOD,OAAOC,OAAO,GAAIiB,GAAS,CAAE,sCAAuC,CACnFQ,aAAc,MACdJ,aAAc,OACd,wBAAyB,CACrBW,WAAY,OAEhB,0BAA2B,CACvBE,YAAa,MACbN,MAAOZ,EAAMa,QAAQC,UAAUC,MAC/B,yBAA0B,CACtBU,SAAU,WACVC,IAAK,SAGb,UAAW,CACPH,gBAAiB,GAAGvB,EAAMa,QAAQc,WAAWC,cAIpDpG,EAAMJ,mBAAqBI,EAAMH,uBACtC4E,EAASlB,OAAOC,OAAOD,OAAOC,OAAO,GAAIiB,GAAS,CAAE,sCAAuC,CACnFQ,aAAc,UAGnBR,CAAM"}
1
+ {"version":3,"file":"menu.js","sources":["../../../../src/components/menu/menu.tsx"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { forwardRef, useCallback, useEffect, useState } from 'react';\nimport { styled } from '@mui/material/styles';\nimport MenuItem from '@mui/material/MenuItem';\nimport MenuList from '@mui/material/MenuList';\nimport MuiPaper from '@mui/material/Paper';\nimport ListItemText from '@mui/material/ListItemText';\nimport ListItemIcon from '@mui/material/ListItemIcon';\nimport { Checkbox } from '../checkbox';\nimport { ToggleSwitch } from '../toggleSwitch';\nimport { Icon } from '../icon';\nimport Divider from '@mui/material/Divider';\nimport { Typography } from '@mui/material';\nimport { Flag } from '../flag';\n/**\n * @description SkodaFlow Menu component.\n * Properties are inherited from HTML Div element.\n * @param props PaperProps\n * @returns React Functional Component\n */\n/**\n * @function onToggleClickHandler\n * @description Set itemsstate and toggle checked on toggle click.\n */\nconst onToggleClickHandler = (currToggleChecked, initItems, setItems, setToggle) => {\n const expectedFutureToggleCheckedState = !currToggleChecked;\n setItems(() => (expectedFutureToggleCheckedState ? [...initItems] : []));\n setToggle(expectedFutureToggleCheckedState);\n};\n/**\n * @function onMenuItemClickHandler\n * @description Set itemsstate on menu item click.\n */\nconst onMenuItemClickHandler = (isString, multipleSelection, id, itemsState, setItemsState, initItems) => {\n const itemExist = isString ? itemsState.includes(id) : itemsState.find((item) => item.value.toString() === id);\n const newItem = isString\n ? [id]\n : initItems.filter((item) => item.value.toString() === id);\n //if the menu is not multiple selection\n if (!multipleSelection) {\n //if the item is already selected (itemExist === true): return an empty array (deselect item)\n //else return the new item selected (object or string depending on the array of items passed)\n if (itemExist) {\n setItemsState([]);\n }\n else {\n setItemsState(newItem);\n }\n }\n //if the menu is multiple selection\n else {\n if (itemExist) {\n const listWithoutItem = itemsState.filter((item) => (isString ? item !== id : item.value.toString() !== id));\n setItemsState(listWithoutItem);\n }\n else {\n setItemsState((prevArr) => [...newItem, ...prevArr]);\n }\n }\n};\n/**\n * @function setToggle\n * @description Set toggle based on menu items change.\n */\nconst setToggle = (multipleSelection, groupToggleSelection, initItems, itemsState, setToggleChecked) => {\n if (multipleSelection && groupToggleSelection) {\n if (itemsState.length === initItems.length)\n setToggleChecked(true);\n if (itemsState.length < initItems.length)\n setToggleChecked(false);\n }\n};\nexport const Menu = forwardRef((_a, ref) => {\n var { setIsOpen, reactHook, items, hasIcon, multipleSelection, groupToggleSelection, groupLabel = '', toggleLabel } = _a, props = __rest(_a, [\"setIsOpen\", \"reactHook\", \"items\", \"hasIcon\", \"multipleSelection\", \"groupToggleSelection\", \"groupLabel\", \"toggleLabel\"]);\n const { state: itemsState, setState: setItemsState } = reactHook;\n const [toggleChecked, setToggleChecked] = useState(false);\n const onToggleClickHandlerWithUseCallback = useCallback(() => {\n onToggleClickHandler(toggleChecked, items, setItemsState, setToggleChecked);\n }, [items, setItemsState, toggleChecked]);\n //callback fired when an item in the menu list is clicked\n const onMenuItemClickHandlerWithUseCallback = useCallback((e, isString) => {\n onMenuItemClickHandler(isString, multipleSelection, e.currentTarget.id, itemsState, setItemsState, items);\n }, [items, itemsState, multipleSelection, setItemsState]);\n //Return the menuItem depending on the type of the item (string or MenuItemObject)\n const handleTypeItem = useCallback((isString, item) => {\n const selected = isString\n ? itemsState.includes(item)\n : itemsState.some((itemState) => itemState.value === item.value);\n const title = isString ? item : item.title;\n const id = isString ? item : item.value;\n return (_jsxs(MenuItem, { id: id, selected: selected, onClick: (e) => onMenuItemClickHandlerWithUseCallback(e, isString), children: [hasIcon && !isString && (_jsx(ListItemIcon, { children: _jsx(Flag, { flag: item.flag, title: item.title }) })), _jsx(ListItemText, { children: _jsx(Typography, { noWrap: true, children: title }) }), multipleSelection && _jsx(Checkbox, { checked: selected })] }, id));\n }, [itemsState, hasIcon, multipleSelection, onMenuItemClickHandlerWithUseCallback]);\n useEffect(() => {\n setToggle(multipleSelection, groupToggleSelection, items, itemsState, setToggleChecked);\n }, [groupToggleSelection, items, itemsState, multipleSelection]);\n return (_jsxs(PaperStyled, Object.assign({}, props, { ref: ref, groupLabel: groupLabel, groupToggleSelection: groupToggleSelection, multipleSelection: multipleSelection.toString(), sx: groupLabel || (groupToggleSelection && multipleSelection) ? { paddingTop: '0px' } : {}, children: [groupLabel.length > 0 && (_jsxs(_Fragment, { children: [_jsxs(MenuItem, { children: [_jsx(ListItemText, { children: _jsx(Typography, { noWrap: true, children: groupLabel }) }), _jsx(ListItemIcon, { onClick: () => setIsOpen(false), children: _jsx(Icon, { name: \"close\" }) })] }), _jsx(Divider, { variant: \"middle\" })] })), multipleSelection && groupToggleSelection && (_jsx(_Fragment, { children: _jsxs(MenuItem, { className: \"menu-select-all\", children: [_jsx(ListItemText, { children: toggleLabel ? toggleLabel : 'Select all' }), _jsx(ToggleSwitch, { onClick: onToggleClickHandlerWithUseCallback, checked: toggleChecked })] }) })), _jsx(MenuList, { children: items.map((item) => {\n const isString = typeof item === 'string';\n return handleTypeItem(isString, item);\n }) })] })));\n});\n/**\n * @description Menu styling defintion based on props\n */\nconst PaperStyled = styled(MuiPaper, {\n shouldForwardProp: (prop) => prop !== 'multipleSelection' && prop !== 'groupLabel' && prop !== 'groupToggleSelection',\n})((_a) => {\n var { theme } = _a, args = __rest(_a, [\"theme\"]);\n const props = args;\n let styles = {};\n const hasmultipleSelection = props.multipleSelection === 'true';\n const itemStyles = {\n height: '48px',\n padding: '0px 24px',\n };\n if (hasmultipleSelection)\n itemStyles.paddingRight = '16px';\n styles = Object.assign(Object.assign({}, styles), { boxShadow: '0px 3px 8px rgba(0, 0, 0, 0.15)', '& .MuiList-root': {\n maxHeight: '240px',\n overflow: 'overlay',\n padding: '0px',\n borderRadius: '4px',\n }, '& .MuiTypography-root': {\n fontSize: '16px',\n lineHeight: '24px',\n color: theme.palette.onSurface.os900,\n fontWeight: '500',\n paddingRight: '16px',\n }, '& li > .MuiListItemIcon-root': {\n minWidth: '0px',\n marginRight: '16px',\n }, '& .MuiDivider-root': {\n marginTop: '0px',\n marginBottom: '0px',\n }, '& li.menu-select-all': {\n '& .MuiTypography-root': {\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n },\n '&:hover': {\n backgroundColor: theme.palette.onSurface.os0,\n },\n }, '& .MuiMenuItem-root': itemStyles });\n if (props.groupLabel && props.groupLabel.length > 0) {\n styles = Object.assign(Object.assign({}, styles), { '& > .MuiMenuItem-root:first-of-type': {\n borderRadius: '4px',\n paddingRight: '21px',\n '& .MuiTypography-root': {\n fontWeight: '700',\n },\n '& .MuiListItemIcon-root': {\n marginRight: '0px',\n color: theme.palette.onSurface.os900,\n '& .MuiIcon-root:before': {\n position: 'relative',\n top: '-3px',\n },\n },\n '&:hover': {\n backgroundColor: `${theme.palette.background.primary}`,\n },\n } });\n }\n else if (props.multipleSelection && props.groupToggleSelection) {\n styles = Object.assign(Object.assign({}, styles), { '& > .MuiMenuItem-root:first-of-type': {\n borderRadius: '4px',\n } });\n }\n return styles;\n});\n//# sourceMappingURL=menu.js.map"],"names":["Menu","forwardRef","_a","ref","setIsOpen","reactHook","items","hasIcon","multipleSelection","groupToggleSelection","groupLabel","toggleLabel","props","__rest","state","itemsState","setState","setItemsState","toggleChecked","setToggleChecked","useState","onToggleClickHandlerWithUseCallback","useCallback","currToggleChecked","initItems","setItems","setToggle","expectedFutureToggleCheckedState","onToggleClickHandler","onMenuItemClickHandlerWithUseCallback","e","isString","id","itemExist","includes","find","item","value","toString","newItem","filter","prevArr","onMenuItemClickHandler","currentTarget","handleTypeItem","selected","some","itemState","title","_jsxs","MenuItem","onClick","children","_jsx","jsx","ListItemIcon","default","Flag","flag","ListItemText","Typography","noWrap","Checkbox","checked","useEffect","length","PaperStyled","Object","assign","sx","paddingTop","_Fragment","jsxs","Icon","name","Divider","variant","className","ToggleSwitch","MenuList","map","styled","MuiPaper","shouldForwardProp","prop","theme","styles","itemStyles","height","padding","paddingRight","boxShadow","maxHeight","overflow","borderRadius","fontSize","lineHeight","color","palette","onSurface","os900","fontWeight","minWidth","marginRight","marginTop","marginBottom","textOverflow","whiteSpace","backgroundColor","os0","position","top","background","primary"],"mappings":"uoBAyBA,MAgDaA,EAAOC,EAAUA,YAAC,CAACC,EAAIC,KAChC,IAAIC,UAAEA,EAASC,UAAEA,EAASC,MAAEA,EAAKC,QAAEA,EAAOC,kBAAEA,EAAiBC,qBAAEA,EAAoBC,WAAEA,EAAa,GAAEC,YAAEA,GAAgBT,EAAIU,EAAQC,EAAAA,OAAOX,EAAI,CAAC,YAAa,YAAa,QAAS,UAAW,oBAAqB,uBAAwB,aAAc,gBACvP,MAAQY,MAAOC,EAAYC,SAAUC,GAAkBZ,GAChDa,EAAeC,GAAoBC,EAAQA,UAAC,GAC7CC,EAAsCC,EAAAA,aAAY,KApD/B,EAACC,EAAmBC,EAAWC,EAAUC,KAClE,MAAMC,GAAoCJ,EAC1CE,GAAS,IAAOE,EAAmC,IAAIH,GAAa,KACpEE,EAAUC,EAAiC,EAkDvCC,CAAqBV,EAAeZ,EAAOW,EAAeE,EAAiB,GAC5E,CAACb,EAAOW,EAAeC,IAEpBW,EAAwCP,EAAAA,aAAY,CAACQ,EAAGC,KA/CnC,EAACA,EAAUvB,EAAmBwB,EAAIjB,EAAYE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ACA,IAAImF,MAAEA,GAAUnF,EAChB,MAAMU,EADqBC,EAAAA,OAAOX,EAAI,CAAC,UAEvC,IAAIoF,EAAS,CAAA,EACb,MACMC,EAAa,CACfC,OAAQ,OACRC,QAAS,YAwDb,MA3DyD,SAA5B7E,EAAMJ,oBAM/B+E,EAAWG,aAAe,QAC9BJ,EAASnB,OAAOC,OAAOD,OAAOC,OAAO,GAAIkB,GAAS,CAAEK,UAAW,kCAAmC,kBAAmB,CAC7GC,UAAW,QACXC,SAAU,UACVJ,QAAS,MACTK,aAAc,OACf,wBAAyB,CACxBC,SAAU,OACVC,WAAY,OACZC,MAAOZ,EAAMa,QAAQC,UAAUC,MAC/BC,WAAY,MACZX,aAAc,QACf,+BAAgC,CAC/BY,SAAU,MACVC,YAAa,QACd,qBAAsB,CACrBC,UAAW,MACXC,aAAc,OACf,uBAAwB,CACvB,wBAAyB,CACrBC,aAAc,WACdb,SAAU,SACVc,WAAY,UAEhB,UAAW,CACPC,gBAAiBvB,EAAMa,QAAQC,UAAUU,MAE9C,sBAAuBtB,IAC1B3E,EAAMF,YAAcE,EAAMF,WAAWuD,OAAS,EAC9CqB,EAASnB,OAAOC,OAAOD,OAAOC,OAAO,GAAIkB,GAAS,CAAE,sCAAuC,CACnFQ,aAAc,MACdJ,aAAc,OACd,wBAAyB,CACrBW,WAAY,OAEhB,0BAA2B,CACvBE,YAAa,MACbN,MAAOZ,EAAMa,QAAQC,UAAUC,MAC/B,yBAA0B,CACtBU,SAAU,WACVC,IAAK,SAGb,UAAW,CACPH,gBAAiB,GAAGvB,EAAMa,QAAQc,WAAWC,cAIpDrG,EAAMJ,mBAAqBI,EAAMH,uBACtC6E,EAASnB,OAAOC,OAAOD,OAAOC,OAAO,GAAIkB,GAAS,CAAE,sCAAuC,CACnFQ,aAAc,UAGnBR,CAAM"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),i=require("../icon/icon.js");const r=t=>e.jsx(o,Object.assign({variant:"text",color:"secondary",disableFocusRipple:!0,disableRipple:!0,"data-testid":"MobileStepperButton"},t)),o=t.styled(t.Button)((({theme:e})=>({borderRadius:"none",padding:0,display:"flex",alignItems:"center",gap:8,fontStyle:"normal",fontWeight:"400",fontSize:"16px",lineHeight:"16px",height:"auto",color:e.palette.text.primary,"&:hover":{backgroundColor:"transparent"},"& .MuiIcon-root":{fontSize:"17px",lineHeight:"19px"},"&.Mui-disabled":{color:e.palette.disabled.primary}})));exports.MobileStepperButton=r,exports.MobileStepperButtonBack=t=>e.jsxs(r,Object.assign({},t,{children:[e.jsx(i.Icon,{fontSize:"small",className:"arrow-left"}),t.children]})),exports.MobileStepperButtonNext=t=>e.jsxs(r,Object.assign({},t,{children:[t.children,e.jsx(i.Icon,{fontSize:"small",className:"arrow-right"})]}));
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),i=require("../icon/icon.js");require("../icon/icon.definitions.js");const r=t=>e.jsx(o,Object.assign({variant:"text",color:"secondary",disableFocusRipple:!0,disableRipple:!0,"data-testid":"MobileStepperButton"},t)),o=t.styled(t.Button)((({theme:e})=>({borderRadius:"none",padding:0,display:"flex",alignItems:"center",gap:8,fontStyle:"normal",fontWeight:"400",fontSize:"16px",lineHeight:"16px",height:"auto",color:e.palette.text.primary,"&:hover":{backgroundColor:"transparent"},"& .MuiIcon-root":{fontSize:"17px",lineHeight:"19px"},"&.Mui-disabled":{color:e.palette.disabled.primary}})));exports.MobileStepperButton=r,exports.MobileStepperButtonBack=t=>e.jsxs(r,Object.assign({},t,{children:[e.jsx(i.Icon,{fontSize:"small",className:"arrow-left"}),t.children]})),exports.MobileStepperButtonNext=t=>e.jsxs(r,Object.assign({},t,{children:[t.children,e.jsx(i.Icon,{fontSize:"small",className:"arrow-right"})]}));
2
2
  //# sourceMappingURL=mobileStepperButton.js.map