@skodaflow/web-library 7.13.1 → 7.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (798) hide show
  1. package/cjs/components/alert/AlertButton.d.ts +1 -1
  2. package/cjs/components/alert/AlertButton.js +1 -1
  3. package/cjs/components/alert/AlertButton.js.map +1 -1
  4. package/cjs/components/alert/AlertNotificationButton.d.ts +8 -0
  5. package/cjs/components/alert/AlertNotificationButton.js +2 -0
  6. package/cjs/components/alert/AlertNotificationButton.js.map +1 -0
  7. package/cjs/components/alert/index.d.ts +1 -0
  8. package/cjs/components/backdrop/backdrop.d.ts +1 -2
  9. package/cjs/components/backdrop/backdrop.js.map +1 -1
  10. package/cjs/components/banner/BannerButton.d.ts +8 -0
  11. package/cjs/components/banner/BannerButton.js +2 -0
  12. package/cjs/components/banner/BannerButton.js.map +1 -0
  13. package/cjs/components/banner/BannerDismissButton.d.ts +8 -0
  14. package/cjs/components/banner/BannerDismissButton.js +2 -0
  15. package/cjs/components/banner/BannerDismissButton.js.map +1 -0
  16. package/cjs/components/banner/banner.d.ts +1 -1
  17. package/cjs/components/banner/banner.js +1 -1
  18. package/cjs/components/banner/banner.js.map +1 -1
  19. package/cjs/components/banner/index.d.ts +2 -0
  20. package/cjs/components/cardMenu/cardMenu.d.ts +1 -2
  21. package/cjs/components/cardMenu/cardMenu.js.map +1 -1
  22. package/cjs/components/cardMenu/styled/drawerStyled.d.ts +1 -1
  23. package/cjs/components/cardMenu/styled/drawerStyled.js +1 -1
  24. package/cjs/components/cardMenu/styled/drawerStyled.js.map +1 -1
  25. package/cjs/components/cardMenu/styled/popperStyled.d.ts +1 -1
  26. package/cjs/components/cardMenu/styled/popperStyled.js +1 -1
  27. package/cjs/components/cardMenu/styled/popperStyled.js.map +1 -1
  28. package/cjs/components/carousel/navigation.js +1 -1
  29. package/cjs/components/carousel/navigation.js.map +1 -1
  30. package/cjs/components/carousel/pagination.d.ts +5 -1
  31. package/cjs/components/carousel/pagination.js +1 -1
  32. package/cjs/components/carousel/pagination.js.map +1 -1
  33. package/cjs/components/chip/chipFocusVisibleStyled.d.ts +1 -1
  34. package/cjs/components/chip/chipFocusVisibleStyled.js +1 -1
  35. package/cjs/components/chip/chipFocusVisibleStyled.js.map +1 -1
  36. package/cjs/components/common/menuContainer.js +1 -1
  37. package/cjs/components/common/menuContainer.js.map +1 -1
  38. package/cjs/components/common/styled/buttonFocusVisibleStyled.d.ts +1 -1
  39. package/cjs/components/common/styled/buttonFocusVisibleStyled.js +1 -1
  40. package/cjs/components/common/styled/buttonFocusVisibleStyled.js.map +1 -1
  41. package/cjs/components/common/styled/formControlLabelStyled.d.ts +1 -1
  42. package/cjs/components/common/styled/formControlLabelStyled.js +1 -1
  43. package/cjs/components/common/styled/formControlLabelStyled.js.map +1 -1
  44. package/cjs/components/common/styled/helperTextContainerStyled.d.ts +1 -1
  45. package/cjs/components/common/styled/sliderValuesStyled.d.ts +1 -1
  46. package/cjs/components/common/styled/sliderValuesStyled.js +1 -1
  47. package/cjs/components/common/styled/sliderValuesStyled.js.map +1 -1
  48. package/cjs/components/customPickersActionBar/index.js +1 -1
  49. package/cjs/components/customPickersActionBar/index.js.map +1 -1
  50. package/cjs/components/errorContent/ErrorContent.d.ts +48 -0
  51. package/cjs/components/errorContent/ErrorContent.js +2 -0
  52. package/cjs/components/errorContent/ErrorContent.js.map +1 -0
  53. package/cjs/components/footer/Footer.d.ts +32 -0
  54. package/cjs/components/footer/Footer.js +2 -0
  55. package/cjs/components/footer/Footer.js.map +1 -0
  56. package/cjs/components/footer/FooterAccordion.d.ts +29 -0
  57. package/cjs/components/footer/FooterAccordion.js +2 -0
  58. package/cjs/components/footer/FooterAccordion.js.map +1 -0
  59. package/cjs/components/footer/FooterIconButton.d.ts +24 -0
  60. package/cjs/components/footer/FooterIconButton.js +2 -0
  61. package/cjs/components/footer/FooterIconButton.js.map +1 -0
  62. package/cjs/components/footer/FooterLink.d.ts +22 -0
  63. package/cjs/components/footer/FooterLink.js +2 -0
  64. package/cjs/components/footer/FooterLink.js.map +1 -0
  65. package/cjs/components/footer/FooterMenu.d.ts +30 -0
  66. package/cjs/components/footer/FooterMenu.js +2 -0
  67. package/cjs/components/footer/FooterMenu.js.map +1 -0
  68. package/cjs/components/footer/FooterSectionContact.d.ts +24 -0
  69. package/cjs/components/footer/FooterSectionContact.js +2 -0
  70. package/cjs/components/footer/FooterSectionContact.js.map +1 -0
  71. package/cjs/components/footer/FooterSectionLinks.d.ts +34 -0
  72. package/cjs/components/footer/FooterSectionLinks.js +2 -0
  73. package/cjs/components/footer/FooterSectionLinks.js.map +1 -0
  74. package/cjs/components/footer/FooterSectionMenu.d.ts +8 -0
  75. package/cjs/components/footer/FooterSectionMenu.js +2 -0
  76. package/cjs/components/footer/FooterSectionMenu.js.map +1 -0
  77. package/{layout/Footer → cjs/components/footer}/index.d.ts +4 -5
  78. package/cjs/components/grid/grid.d.ts +3 -100
  79. package/cjs/components/grid/grid.js.map +1 -1
  80. package/cjs/components/header/Header.d.ts +79 -0
  81. package/cjs/components/header/Header.js +2 -0
  82. package/cjs/components/header/Header.js.map +1 -0
  83. package/cjs/components/header/HeaderButton.d.ts +54 -0
  84. package/cjs/components/header/HeaderButton.js +2 -0
  85. package/cjs/components/header/HeaderButton.js.map +1 -0
  86. package/cjs/components/header/HeaderLanguageSelect.d.ts +45 -0
  87. package/cjs/components/header/HeaderLanguageSelect.js +2 -0
  88. package/cjs/components/header/HeaderLanguageSelect.js.map +1 -0
  89. package/cjs/components/header/HeaderLogo.d.ts +25 -0
  90. package/cjs/components/header/HeaderLogo.js +2 -0
  91. package/cjs/components/header/HeaderLogo.js.map +1 -0
  92. package/cjs/components/header/HeaderNavigationHero.d.ts +51 -0
  93. package/cjs/components/header/HeaderNavigationHero.js +2 -0
  94. package/cjs/components/header/HeaderNavigationHero.js.map +1 -0
  95. package/cjs/components/header/HeaderNavigationLink.d.ts +48 -0
  96. package/cjs/components/header/HeaderNavigationLink.js +2 -0
  97. package/cjs/components/header/HeaderNavigationLink.js.map +1 -0
  98. package/cjs/components/header/HeaderNavigationMenu.d.ts +25 -0
  99. package/cjs/components/header/HeaderNavigationMenu.js +2 -0
  100. package/cjs/components/header/HeaderNavigationMenu.js.map +1 -0
  101. package/{layout/Header → cjs/components/header}/index.d.ts +2 -6
  102. package/cjs/components/icon/filled/BatteryDischargeFilledIcon.d.ts +6 -0
  103. package/cjs/components/icon/filled/BatteryDischargeFilledIcon.js +2 -0
  104. package/cjs/components/icon/filled/BatteryDischargeFilledIcon.js.map +1 -0
  105. package/cjs/components/icon/filled/BicycleFilledIcon.d.ts +6 -0
  106. package/cjs/components/icon/filled/BicycleFilledIcon.js +2 -0
  107. package/cjs/components/icon/filled/BicycleFilledIcon.js.map +1 -0
  108. package/cjs/components/icon/filled/BoltDischargeFilledIcon.d.ts +6 -0
  109. package/cjs/components/icon/filled/BoltDischargeFilledIcon.js +2 -0
  110. package/cjs/components/icon/filled/BoltDischargeFilledIcon.js.map +1 -0
  111. package/cjs/components/icon/filled/BoltOffFilledIcon.d.ts +6 -0
  112. package/cjs/components/icon/filled/BoltOffFilledIcon.js +2 -0
  113. package/cjs/components/icon/filled/BoltOffFilledIcon.js.map +1 -0
  114. package/cjs/components/icon/filled/index.d.ts +4 -0
  115. package/cjs/components/icon/icon.definitions.js +1 -1
  116. package/cjs/components/icon/icon.definitions.js.map +1 -1
  117. package/cjs/components/icon/stroke/BatteryDischargeIcon.d.ts +6 -0
  118. package/cjs/components/icon/stroke/BatteryDischargeIcon.js +2 -0
  119. package/cjs/components/icon/stroke/BatteryDischargeIcon.js.map +1 -0
  120. package/cjs/components/icon/stroke/BicycleIcon.d.ts +6 -0
  121. package/cjs/components/icon/stroke/BicycleIcon.js +2 -0
  122. package/cjs/components/icon/stroke/BicycleIcon.js.map +1 -0
  123. package/cjs/components/icon/stroke/BoltDischargeIcon.d.ts +6 -0
  124. package/cjs/components/icon/stroke/BoltDischargeIcon.js +2 -0
  125. package/cjs/components/icon/stroke/BoltDischargeIcon.js.map +1 -0
  126. package/cjs/components/icon/stroke/BoltOffIcon.d.ts +6 -0
  127. package/cjs/components/icon/stroke/BoltOffIcon.js +2 -0
  128. package/cjs/components/icon/stroke/BoltOffIcon.js.map +1 -0
  129. package/cjs/components/icon/stroke/index.d.ts +4 -0
  130. package/cjs/components/index.d.ts +6 -0
  131. package/cjs/components/label/label.d.ts +1 -1
  132. package/cjs/components/label/label.js +1 -1
  133. package/cjs/components/label/label.js.map +1 -1
  134. package/cjs/components/logo/Logo.d.ts +51 -15
  135. package/cjs/components/logo/Logo.js +1 -1
  136. package/cjs/components/logo/Logo.js.map +1 -1
  137. package/cjs/components/mobileStepper/mobileStepperButton.js +1 -1
  138. package/cjs/components/mobileStepper/mobileStepperButton.js.map +1 -1
  139. package/cjs/components/notification/Notification.d.ts +81 -0
  140. package/cjs/components/notification/Notification.js +2 -0
  141. package/cjs/components/notification/Notification.js.map +1 -0
  142. package/cjs/components/notification/NotificationButton.d.ts +8 -0
  143. package/cjs/components/notification/NotificationButton.js +2 -0
  144. package/cjs/components/notification/NotificationButton.js.map +1 -0
  145. package/cjs/components/notification/NotificationCenter.d.ts +53 -0
  146. package/cjs/components/notification/NotificationCenter.js +2 -0
  147. package/cjs/components/notification/NotificationCenter.js.map +1 -0
  148. package/cjs/components/notification/NotificationCenterCategory.d.ts +24 -0
  149. package/cjs/components/notification/NotificationCenterCategory.js +2 -0
  150. package/cjs/components/notification/NotificationCenterCategory.js.map +1 -0
  151. package/cjs/components/notification/NotificationCenterHeaderButton.d.ts +51 -0
  152. package/cjs/components/notification/NotificationCenterHeaderButton.js +2 -0
  153. package/cjs/components/notification/NotificationCenterHeaderButton.js.map +1 -0
  154. package/cjs/{organisms → components}/notification/index.d.ts +1 -0
  155. package/cjs/{layout/PageLayout → components/pageLayout}/PageLayout.d.ts +25 -11
  156. package/cjs/components/pageLayout/PageLayout.js +2 -0
  157. package/cjs/components/pageLayout/PageLayout.js.map +1 -0
  158. package/cjs/components/pagination/pagination.d.ts +14 -61
  159. package/cjs/components/pagination/pagination.js +1 -1
  160. package/cjs/components/pagination/pagination.js.map +1 -1
  161. package/cjs/components/search/search.js +1 -1
  162. package/cjs/components/search/search.js.map +1 -1
  163. package/cjs/components/secondaryNavigation/SecondaryNavigation.d.ts +51 -0
  164. package/cjs/components/secondaryNavigation/SecondaryNavigation.js +2 -0
  165. package/cjs/components/secondaryNavigation/SecondaryNavigation.js.map +1 -0
  166. package/cjs/components/secondaryNavigation/SecondaryNavigationCta.d.ts +8 -0
  167. package/cjs/components/secondaryNavigation/SecondaryNavigationCta.js +2 -0
  168. package/cjs/components/secondaryNavigation/SecondaryNavigationCta.js.map +1 -0
  169. package/cjs/components/secondaryNavigation/SecondaryNavigationItem.d.ts +21 -0
  170. package/cjs/components/secondaryNavigation/SecondaryNavigationItem.js +2 -0
  171. package/cjs/components/secondaryNavigation/SecondaryNavigationItem.js.map +1 -0
  172. package/cjs/components/segmentedControls/{segmentedControls.js → SegmentedControls.js} +1 -1
  173. package/cjs/components/segmentedControls/{segmentedControls.js.map → SegmentedControls.js.map} +1 -1
  174. package/cjs/components/segmentedControls/index.d.ts +1 -1
  175. package/cjs/components/stepper/model.d.ts +1 -3
  176. package/cjs/components/stepper/model.js.map +1 -1
  177. package/cjs/components/textAndCta/textAndCta.js +1 -1
  178. package/cjs/components/textAndCta/textAndCta.js.map +1 -1
  179. package/cjs/components/upload/UploadPreviewList.js +1 -1
  180. package/cjs/components/upload/UploadPreviewList.js.map +1 -1
  181. package/cjs/index.js +1 -1
  182. package/cjs/layout/index.d.ts +0 -5
  183. package/cjs/materialui/accordion/AccordionSummaryExpandIcon.js +1 -1
  184. package/cjs/materialui/accordion/AccordionSummaryExpandIcon.js.map +1 -1
  185. package/cjs/materialui/accordion/accordion.theme.js +1 -1
  186. package/cjs/materialui/accordion/accordion.theme.js.map +1 -1
  187. package/cjs/materialui/accordion/accordionSummary.theme.js +1 -1
  188. package/cjs/materialui/accordion/accordionSummary.theme.js.map +1 -1
  189. package/cjs/materialui/alert/alert.theme.js +1 -1
  190. package/cjs/materialui/alert/alert.theme.js.map +1 -1
  191. package/cjs/materialui/appbar/appbar.theme.js +1 -1
  192. package/cjs/materialui/appbar/appbar.theme.js.map +1 -1
  193. package/cjs/materialui/appbar/toolbar.theme.d.ts +3 -0
  194. package/cjs/materialui/appbar/toolbar.theme.js +2 -0
  195. package/cjs/materialui/appbar/toolbar.theme.js.map +1 -0
  196. package/cjs/materialui/button/button.theme.js +1 -1
  197. package/cjs/materialui/button/button.theme.js.map +1 -1
  198. package/cjs/materialui/button/interactive.d.ts +2 -1
  199. package/cjs/materialui/button/interactive.js +1 -1
  200. package/cjs/materialui/button/interactive.js.map +1 -1
  201. package/cjs/materialui/card/Card.js +1 -1
  202. package/cjs/materialui/card/Card.js.map +1 -1
  203. package/cjs/materialui/card/FlippingCardContent.d.ts +2 -2
  204. package/cjs/materialui/card/FlippingCardContent.js +1 -1
  205. package/cjs/materialui/card/FlippingCardContent.js.map +1 -1
  206. package/cjs/materialui/card/card.theme.js +1 -1
  207. package/cjs/materialui/card/card.theme.js.map +1 -1
  208. package/cjs/materialui/chip/chip.theme.js +1 -1
  209. package/cjs/materialui/chip/chip.theme.js.map +1 -1
  210. package/cjs/materialui/container/container.theme.d.ts +5 -1
  211. package/cjs/materialui/container/container.theme.js +1 -1
  212. package/cjs/materialui/container/container.theme.js.map +1 -1
  213. package/cjs/materialui/fab/fab.theme.js +1 -1
  214. package/cjs/materialui/fab/fab.theme.js.map +1 -1
  215. package/cjs/materialui/iconButton/iconButton.theme.js +1 -1
  216. package/cjs/materialui/iconButton/iconButton.theme.js.map +1 -1
  217. package/cjs/materialui/pagination/pagination.theme.d.ts +0 -1
  218. package/cjs/materialui/pagination/pagination.theme.js +1 -1
  219. package/cjs/materialui/pagination/pagination.theme.js.map +1 -1
  220. package/cjs/materialui/pagination/paginationItem.theme.d.ts +3 -0
  221. package/cjs/materialui/pagination/paginationItem.theme.js +2 -0
  222. package/cjs/materialui/pagination/paginationItem.theme.js.map +1 -0
  223. package/cjs/materialui/rating/index.d.ts +2 -0
  224. package/cjs/materialui/rating/rating.theme.d.ts +3 -0
  225. package/cjs/materialui/rating/rating.theme.js +2 -0
  226. package/cjs/materialui/rating/rating.theme.js.map +1 -0
  227. package/cjs/materialui/skeleton/skeleton.theme.js +1 -1
  228. package/cjs/materialui/skeleton/skeleton.theme.js.map +1 -1
  229. package/cjs/materialui/slider/sliderValues.js +1 -1
  230. package/cjs/materialui/slider/sliderValues.js.map +1 -1
  231. package/cjs/materialui/stepper/StepLabelIcon.js +1 -1
  232. package/cjs/materialui/stepper/StepLabelIcon.js.map +1 -1
  233. package/cjs/materialui/stepper/stepper.theme.js +1 -1
  234. package/cjs/materialui/stepper/stepper.theme.js.map +1 -1
  235. package/cjs/materialui/table/tablePagination.theme.js +1 -1
  236. package/cjs/materialui/table/tablePagination.theme.js.map +1 -1
  237. package/{materialui/tabs/scrollButtonComponent.d.ts → cjs/materialui/tabs/ScrollButton.d.ts} +2 -1
  238. package/cjs/materialui/tabs/ScrollButton.js +2 -0
  239. package/cjs/materialui/tabs/ScrollButton.js.map +1 -0
  240. package/{materialui/tabs/tabComponent.d.ts → cjs/materialui/tabs/Tab.d.ts} +1 -1
  241. package/cjs/materialui/tabs/Tab.js +2 -0
  242. package/cjs/materialui/tabs/Tab.js.map +1 -0
  243. package/cjs/materialui/tabs/{tabPanel.d.ts → TabPanel.d.ts} +0 -4
  244. package/cjs/materialui/tabs/{tabPanel.js → TabPanel.js} +2 -2
  245. package/cjs/materialui/tabs/TabPanel.js.map +1 -0
  246. package/cjs/materialui/tabs/index.d.ts +3 -3
  247. package/cjs/materialui/tabs/tab.theme.js +1 -1
  248. package/cjs/materialui/tabs/tab.theme.js.map +1 -1
  249. package/cjs/materialui/tabs/tabs.theme.js +1 -1
  250. package/cjs/materialui/tabs/tabs.theme.js.map +1 -1
  251. package/cjs/materialui/textfield/textField.theme.js +1 -1
  252. package/cjs/materialui/textfield/textField.theme.js.map +1 -1
  253. package/cjs/materialui/theme/mixins.d.ts +2 -0
  254. package/cjs/materialui/theme/mixins.js +2 -0
  255. package/cjs/materialui/theme/mixins.js.map +1 -0
  256. package/cjs/materialui/theme/theme.extensions.d.ts +7 -4
  257. package/cjs/materialui/theme/theme.js +1 -1
  258. package/cjs/materialui/theme/theme.js.map +1 -1
  259. package/cjs/node_modules/swiper/modules/keyboard.js +1 -1
  260. package/cjs/node_modules/swiper/modules/keyboard.js.map +1 -1
  261. package/cjs/node_modules/swiper/shared/ssr-window.esm.js.map +1 -1
  262. package/cjs/node_modules/swiper/shared/swiper-core.js +1 -1
  263. package/cjs/node_modules/swiper/shared/swiper-core.js.map +1 -1
  264. package/cjs/node_modules/swiper/swiper-react.js.map +1 -1
  265. package/cjs/organisms/cardPhotoFixed/cardPhotoFixed.js +1 -1
  266. package/cjs/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
  267. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  268. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.js +1 -1
  269. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.js.map +1 -1
  270. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.d.ts +1 -1
  271. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.js +1 -1
  272. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.js.map +1 -1
  273. package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.js +1 -1
  274. package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
  275. package/cjs/organisms/carousel2/galleryCarousel/galleryCarouselItem.js +1 -1
  276. package/cjs/organisms/carousel2/galleryCarousel/galleryCarouselItem.js.map +1 -1
  277. package/cjs/organisms/carousel2/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  278. package/cjs/organisms/common/menuCardComponent/menuCardComponent.d.ts +1 -2
  279. package/cjs/organisms/common/menuCardComponent/menuCardComponent.js +1 -1
  280. package/cjs/organisms/common/menuCardComponent/menuCardComponent.js.map +1 -1
  281. package/cjs/organisms/index.d.ts +0 -1
  282. package/cjs/organisms/textCta/textCta.js +1 -1
  283. package/cjs/organisms/textCta/textCta.js.map +1 -1
  284. package/cjs/organisms/tile/tile.js +1 -1
  285. package/cjs/organisms/tile/tile.js.map +1 -1
  286. package/cjs/production/Button/Button.js +1 -1
  287. package/cjs/production/Button/Button.js.map +1 -1
  288. package/components/alert/AlertButton.d.ts +1 -1
  289. package/components/alert/AlertButton.js +1 -1
  290. package/components/alert/AlertButton.js.map +1 -1
  291. package/components/alert/AlertNotificationButton.d.ts +8 -0
  292. package/components/alert/AlertNotificationButton.js +2 -0
  293. package/components/alert/AlertNotificationButton.js.map +1 -0
  294. package/components/alert/index.d.ts +1 -0
  295. package/components/backdrop/backdrop.d.ts +1 -2
  296. package/components/backdrop/backdrop.js.map +1 -1
  297. package/components/banner/BannerButton.d.ts +8 -0
  298. package/components/banner/BannerButton.js +2 -0
  299. package/components/banner/BannerButton.js.map +1 -0
  300. package/components/banner/BannerDismissButton.d.ts +8 -0
  301. package/components/banner/BannerDismissButton.js +2 -0
  302. package/components/banner/BannerDismissButton.js.map +1 -0
  303. package/components/banner/banner.d.ts +1 -1
  304. package/components/banner/banner.js +1 -1
  305. package/components/banner/banner.js.map +1 -1
  306. package/components/banner/index.d.ts +2 -0
  307. package/components/cardMenu/cardMenu.d.ts +1 -2
  308. package/components/cardMenu/cardMenu.js.map +1 -1
  309. package/components/cardMenu/styled/drawerStyled.d.ts +1 -1
  310. package/components/cardMenu/styled/drawerStyled.js +1 -1
  311. package/components/cardMenu/styled/drawerStyled.js.map +1 -1
  312. package/components/cardMenu/styled/popperStyled.d.ts +1 -1
  313. package/components/cardMenu/styled/popperStyled.js +1 -1
  314. package/components/cardMenu/styled/popperStyled.js.map +1 -1
  315. package/components/carousel/navigation.js +1 -1
  316. package/components/carousel/navigation.js.map +1 -1
  317. package/components/carousel/pagination.d.ts +5 -1
  318. package/components/carousel/pagination.js +1 -1
  319. package/components/carousel/pagination.js.map +1 -1
  320. package/components/chip/chipFocusVisibleStyled.d.ts +1 -1
  321. package/components/chip/chipFocusVisibleStyled.js +1 -1
  322. package/components/chip/chipFocusVisibleStyled.js.map +1 -1
  323. package/components/common/menuContainer.js +1 -1
  324. package/components/common/menuContainer.js.map +1 -1
  325. package/components/common/styled/buttonFocusVisibleStyled.d.ts +1 -1
  326. package/components/common/styled/buttonFocusVisibleStyled.js +1 -1
  327. package/components/common/styled/buttonFocusVisibleStyled.js.map +1 -1
  328. package/components/common/styled/formControlLabelStyled.d.ts +1 -1
  329. package/components/common/styled/formControlLabelStyled.js +1 -1
  330. package/components/common/styled/formControlLabelStyled.js.map +1 -1
  331. package/components/common/styled/helperTextContainerStyled.d.ts +1 -1
  332. package/components/common/styled/sliderValuesStyled.d.ts +1 -1
  333. package/components/common/styled/sliderValuesStyled.js +1 -1
  334. package/components/common/styled/sliderValuesStyled.js.map +1 -1
  335. package/components/customPickersActionBar/index.js +1 -1
  336. package/components/customPickersActionBar/index.js.map +1 -1
  337. package/components/errorContent/ErrorContent.d.ts +48 -0
  338. package/components/errorContent/ErrorContent.js +2 -0
  339. package/components/errorContent/ErrorContent.js.map +1 -0
  340. package/components/footer/Footer.d.ts +32 -0
  341. package/components/footer/Footer.js +2 -0
  342. package/components/footer/Footer.js.map +1 -0
  343. package/components/footer/FooterAccordion.d.ts +29 -0
  344. package/components/footer/FooterAccordion.js +2 -0
  345. package/components/footer/FooterAccordion.js.map +1 -0
  346. package/components/footer/FooterIconButton.d.ts +24 -0
  347. package/components/footer/FooterIconButton.js +2 -0
  348. package/components/footer/FooterIconButton.js.map +1 -0
  349. package/components/footer/FooterLink.d.ts +22 -0
  350. package/components/footer/FooterLink.js +2 -0
  351. package/components/footer/FooterLink.js.map +1 -0
  352. package/components/footer/FooterMenu.d.ts +30 -0
  353. package/components/footer/FooterMenu.js +2 -0
  354. package/components/footer/FooterMenu.js.map +1 -0
  355. package/components/footer/FooterSectionContact.d.ts +24 -0
  356. package/components/footer/FooterSectionContact.js +2 -0
  357. package/components/footer/FooterSectionContact.js.map +1 -0
  358. package/components/footer/FooterSectionLinks.d.ts +34 -0
  359. package/components/footer/FooterSectionLinks.js +2 -0
  360. package/components/footer/FooterSectionLinks.js.map +1 -0
  361. package/components/footer/FooterSectionMenu.d.ts +8 -0
  362. package/components/footer/FooterSectionMenu.js +2 -0
  363. package/components/footer/FooterSectionMenu.js.map +1 -0
  364. package/{cjs/layout/Footer → components/footer}/index.d.ts +4 -5
  365. package/components/grid/grid.d.ts +3 -100
  366. package/components/grid/grid.js.map +1 -1
  367. package/components/header/Header.d.ts +79 -0
  368. package/components/header/Header.js +2 -0
  369. package/components/header/Header.js.map +1 -0
  370. package/components/header/HeaderButton.d.ts +54 -0
  371. package/components/header/HeaderButton.js +2 -0
  372. package/components/header/HeaderButton.js.map +1 -0
  373. package/components/header/HeaderLanguageSelect.d.ts +45 -0
  374. package/components/header/HeaderLanguageSelect.js +2 -0
  375. package/components/header/HeaderLanguageSelect.js.map +1 -0
  376. package/components/header/HeaderLogo.d.ts +25 -0
  377. package/components/header/HeaderLogo.js +2 -0
  378. package/components/header/HeaderLogo.js.map +1 -0
  379. package/components/header/HeaderNavigationHero.d.ts +51 -0
  380. package/components/header/HeaderNavigationHero.js +2 -0
  381. package/components/header/HeaderNavigationHero.js.map +1 -0
  382. package/components/header/HeaderNavigationLink.d.ts +48 -0
  383. package/components/header/HeaderNavigationLink.js +2 -0
  384. package/components/header/HeaderNavigationLink.js.map +1 -0
  385. package/components/header/HeaderNavigationMenu.d.ts +25 -0
  386. package/components/header/HeaderNavigationMenu.js +2 -0
  387. package/components/header/HeaderNavigationMenu.js.map +1 -0
  388. package/{cjs/layout/Header → components/header}/index.d.ts +2 -6
  389. package/components/icon/filled/BatteryDischargeFilledIcon.d.ts +6 -0
  390. package/components/icon/filled/BatteryDischargeFilledIcon.js +2 -0
  391. package/components/icon/filled/BatteryDischargeFilledIcon.js.map +1 -0
  392. package/components/icon/filled/BicycleFilledIcon.d.ts +6 -0
  393. package/components/icon/filled/BicycleFilledIcon.js +2 -0
  394. package/components/icon/filled/BicycleFilledIcon.js.map +1 -0
  395. package/components/icon/filled/BoltDischargeFilledIcon.d.ts +6 -0
  396. package/components/icon/filled/BoltDischargeFilledIcon.js +2 -0
  397. package/components/icon/filled/BoltDischargeFilledIcon.js.map +1 -0
  398. package/components/icon/filled/BoltOffFilledIcon.d.ts +6 -0
  399. package/components/icon/filled/BoltOffFilledIcon.js +2 -0
  400. package/components/icon/filled/BoltOffFilledIcon.js.map +1 -0
  401. package/components/icon/filled/index.d.ts +4 -0
  402. package/components/icon/icon.definitions.js +1 -1
  403. package/components/icon/icon.definitions.js.map +1 -1
  404. package/components/icon/stroke/BatteryDischargeIcon.d.ts +6 -0
  405. package/components/icon/stroke/BatteryDischargeIcon.js +2 -0
  406. package/components/icon/stroke/BatteryDischargeIcon.js.map +1 -0
  407. package/components/icon/stroke/BicycleIcon.d.ts +6 -0
  408. package/components/icon/stroke/BicycleIcon.js +2 -0
  409. package/components/icon/stroke/BicycleIcon.js.map +1 -0
  410. package/components/icon/stroke/BoltDischargeIcon.d.ts +6 -0
  411. package/components/icon/stroke/BoltDischargeIcon.js +2 -0
  412. package/components/icon/stroke/BoltDischargeIcon.js.map +1 -0
  413. package/components/icon/stroke/BoltOffIcon.d.ts +6 -0
  414. package/components/icon/stroke/BoltOffIcon.js +2 -0
  415. package/components/icon/stroke/BoltOffIcon.js.map +1 -0
  416. package/components/icon/stroke/index.d.ts +4 -0
  417. package/components/index.d.ts +6 -0
  418. package/components/label/label.d.ts +1 -1
  419. package/components/label/label.js +1 -1
  420. package/components/label/label.js.map +1 -1
  421. package/components/logo/Logo.d.ts +51 -15
  422. package/components/logo/Logo.js +1 -1
  423. package/components/logo/Logo.js.map +1 -1
  424. package/components/mobileStepper/mobileStepperButton.js +1 -1
  425. package/components/mobileStepper/mobileStepperButton.js.map +1 -1
  426. package/components/notification/Notification.d.ts +81 -0
  427. package/components/notification/Notification.js +2 -0
  428. package/components/notification/Notification.js.map +1 -0
  429. package/components/notification/NotificationButton.d.ts +8 -0
  430. package/components/notification/NotificationButton.js +2 -0
  431. package/components/notification/NotificationButton.js.map +1 -0
  432. package/components/notification/NotificationCenter.d.ts +53 -0
  433. package/components/notification/NotificationCenter.js +2 -0
  434. package/components/notification/NotificationCenter.js.map +1 -0
  435. package/components/notification/NotificationCenterCategory.d.ts +24 -0
  436. package/components/notification/NotificationCenterCategory.js +2 -0
  437. package/components/notification/NotificationCenterCategory.js.map +1 -0
  438. package/components/notification/NotificationCenterHeaderButton.d.ts +51 -0
  439. package/components/notification/NotificationCenterHeaderButton.js +2 -0
  440. package/components/notification/NotificationCenterHeaderButton.js.map +1 -0
  441. package/{organisms → components}/notification/index.d.ts +1 -0
  442. package/{layout/PageLayout → components/pageLayout}/PageLayout.d.ts +25 -11
  443. package/components/pageLayout/PageLayout.js +2 -0
  444. package/components/pageLayout/PageLayout.js.map +1 -0
  445. package/components/pagination/pagination.d.ts +14 -61
  446. package/components/pagination/pagination.js +1 -1
  447. package/components/pagination/pagination.js.map +1 -1
  448. package/components/search/search.js +1 -1
  449. package/components/search/search.js.map +1 -1
  450. package/components/secondaryNavigation/SecondaryNavigation.d.ts +51 -0
  451. package/components/secondaryNavigation/SecondaryNavigation.js +2 -0
  452. package/components/secondaryNavigation/SecondaryNavigation.js.map +1 -0
  453. package/components/secondaryNavigation/SecondaryNavigationCta.d.ts +8 -0
  454. package/components/secondaryNavigation/SecondaryNavigationCta.js +2 -0
  455. package/components/secondaryNavigation/SecondaryNavigationCta.js.map +1 -0
  456. package/components/secondaryNavigation/SecondaryNavigationItem.d.ts +21 -0
  457. package/components/secondaryNavigation/SecondaryNavigationItem.js +2 -0
  458. package/components/secondaryNavigation/SecondaryNavigationItem.js.map +1 -0
  459. package/components/segmentedControls/{segmentedControls.js → SegmentedControls.js} +1 -1
  460. package/components/segmentedControls/{segmentedControls.js.map → SegmentedControls.js.map} +1 -1
  461. package/components/segmentedControls/index.d.ts +1 -1
  462. package/components/stepper/model.d.ts +1 -3
  463. package/components/stepper/model.js.map +1 -1
  464. package/components/textAndCta/textAndCta.js +1 -1
  465. package/components/textAndCta/textAndCta.js.map +1 -1
  466. package/components/upload/UploadPreviewList.js +1 -1
  467. package/components/upload/UploadPreviewList.js.map +1 -1
  468. package/index.js +1 -1
  469. package/layout/index.d.ts +0 -5
  470. package/materialui/accordion/AccordionSummaryExpandIcon.js +1 -1
  471. package/materialui/accordion/AccordionSummaryExpandIcon.js.map +1 -1
  472. package/materialui/accordion/accordion.theme.js +1 -1
  473. package/materialui/accordion/accordion.theme.js.map +1 -1
  474. package/materialui/accordion/accordionSummary.theme.js +1 -1
  475. package/materialui/accordion/accordionSummary.theme.js.map +1 -1
  476. package/materialui/alert/alert.theme.js +1 -1
  477. package/materialui/alert/alert.theme.js.map +1 -1
  478. package/materialui/appbar/appbar.theme.js +1 -1
  479. package/materialui/appbar/appbar.theme.js.map +1 -1
  480. package/materialui/appbar/toolbar.theme.d.ts +3 -0
  481. package/materialui/appbar/toolbar.theme.js +2 -0
  482. package/materialui/appbar/toolbar.theme.js.map +1 -0
  483. package/materialui/button/button.theme.js +1 -1
  484. package/materialui/button/button.theme.js.map +1 -1
  485. package/materialui/button/interactive.d.ts +2 -1
  486. package/materialui/button/interactive.js +1 -1
  487. package/materialui/button/interactive.js.map +1 -1
  488. package/materialui/card/Card.js +1 -1
  489. package/materialui/card/Card.js.map +1 -1
  490. package/materialui/card/FlippingCardContent.d.ts +2 -2
  491. package/materialui/card/FlippingCardContent.js +1 -1
  492. package/materialui/card/FlippingCardContent.js.map +1 -1
  493. package/materialui/card/card.theme.js +1 -1
  494. package/materialui/card/card.theme.js.map +1 -1
  495. package/materialui/chip/chip.theme.js +1 -1
  496. package/materialui/chip/chip.theme.js.map +1 -1
  497. package/materialui/container/container.theme.d.ts +5 -1
  498. package/materialui/container/container.theme.js +1 -1
  499. package/materialui/container/container.theme.js.map +1 -1
  500. package/materialui/fab/fab.theme.js +1 -1
  501. package/materialui/fab/fab.theme.js.map +1 -1
  502. package/materialui/iconButton/iconButton.theme.js +1 -1
  503. package/materialui/iconButton/iconButton.theme.js.map +1 -1
  504. package/materialui/pagination/pagination.theme.d.ts +0 -1
  505. package/materialui/pagination/pagination.theme.js +1 -1
  506. package/materialui/pagination/pagination.theme.js.map +1 -1
  507. package/materialui/pagination/paginationItem.theme.d.ts +3 -0
  508. package/materialui/pagination/paginationItem.theme.js +2 -0
  509. package/materialui/pagination/paginationItem.theme.js.map +1 -0
  510. package/materialui/rating/index.d.ts +2 -0
  511. package/materialui/rating/rating.theme.d.ts +3 -0
  512. package/materialui/rating/rating.theme.js +2 -0
  513. package/materialui/rating/rating.theme.js.map +1 -0
  514. package/materialui/skeleton/skeleton.theme.js +1 -1
  515. package/materialui/skeleton/skeleton.theme.js.map +1 -1
  516. package/materialui/slider/sliderValues.js +1 -1
  517. package/materialui/slider/sliderValues.js.map +1 -1
  518. package/materialui/stepper/StepLabelIcon.js +1 -1
  519. package/materialui/stepper/StepLabelIcon.js.map +1 -1
  520. package/materialui/stepper/stepper.theme.js +1 -1
  521. package/materialui/stepper/stepper.theme.js.map +1 -1
  522. package/materialui/table/tablePagination.theme.js +1 -1
  523. package/materialui/table/tablePagination.theme.js.map +1 -1
  524. package/{cjs/materialui/tabs/scrollButtonComponent.d.ts → materialui/tabs/ScrollButton.d.ts} +2 -1
  525. package/materialui/tabs/ScrollButton.js +2 -0
  526. package/materialui/tabs/ScrollButton.js.map +1 -0
  527. package/{cjs/materialui/tabs/tabComponent.d.ts → materialui/tabs/Tab.d.ts} +1 -1
  528. package/materialui/tabs/Tab.js +2 -0
  529. package/materialui/tabs/Tab.js.map +1 -0
  530. package/materialui/tabs/{tabPanel.d.ts → TabPanel.d.ts} +0 -4
  531. package/materialui/tabs/TabPanel.js +2 -0
  532. package/materialui/tabs/TabPanel.js.map +1 -0
  533. package/materialui/tabs/index.d.ts +3 -3
  534. package/materialui/tabs/tab.theme.js +1 -1
  535. package/materialui/tabs/tab.theme.js.map +1 -1
  536. package/materialui/tabs/tabs.theme.js +1 -1
  537. package/materialui/tabs/tabs.theme.js.map +1 -1
  538. package/materialui/textfield/textField.theme.js +1 -1
  539. package/materialui/textfield/textField.theme.js.map +1 -1
  540. package/materialui/theme/mixins.d.ts +2 -0
  541. package/materialui/theme/mixins.js +2 -0
  542. package/materialui/theme/mixins.js.map +1 -0
  543. package/materialui/theme/theme.extensions.d.ts +7 -4
  544. package/materialui/theme/theme.js +1 -1
  545. package/materialui/theme/theme.js.map +1 -1
  546. package/organisms/cardPhotoFixed/cardPhotoFixed.js +1 -1
  547. package/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
  548. package/organisms/carousel/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  549. package/organisms/carousel/styledComponents/styledCarouselHorizontal.js +1 -1
  550. package/organisms/carousel/styledComponents/styledCarouselHorizontal.js.map +1 -1
  551. package/organisms/carousel/styledComponents/styledCarouselVertical.d.ts +1 -1
  552. package/organisms/carousel/styledComponents/styledCarouselVertical.js +1 -1
  553. package/organisms/carousel/styledComponents/styledCarouselVertical.js.map +1 -1
  554. package/organisms/carousel2/galleryCarousel/galleryCarousel.js +1 -1
  555. package/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
  556. package/organisms/carousel2/galleryCarousel/galleryCarouselItem.js +1 -1
  557. package/organisms/carousel2/galleryCarousel/galleryCarouselItem.js.map +1 -1
  558. package/organisms/carousel2/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  559. package/organisms/common/menuCardComponent/menuCardComponent.d.ts +1 -2
  560. package/organisms/common/menuCardComponent/menuCardComponent.js +1 -1
  561. package/organisms/common/menuCardComponent/menuCardComponent.js.map +1 -1
  562. package/organisms/index.d.ts +0 -1
  563. package/organisms/textCta/textCta.js +1 -1
  564. package/organisms/textCta/textCta.js.map +1 -1
  565. package/organisms/tile/tile.js +1 -1
  566. package/organisms/tile/tile.js.map +1 -1
  567. package/package.json +1 -1
  568. package/production/Button/Button.js +1 -1
  569. package/production/Button/Button.js.map +1 -1
  570. package/cjs/layout/Error/ErrorContent.d.ts +0 -33
  571. package/cjs/layout/Error/ErrorContent.js +0 -2
  572. package/cjs/layout/Error/ErrorContent.js.map +0 -1
  573. package/cjs/layout/Footer/Footer.d.ts +0 -5
  574. package/cjs/layout/Footer/Footer.js +0 -2
  575. package/cjs/layout/Footer/Footer.js.map +0 -1
  576. package/cjs/layout/Footer/FooterAccordion.d.ts +0 -18
  577. package/cjs/layout/Footer/FooterAccordion.js +0 -2
  578. package/cjs/layout/Footer/FooterAccordion.js.map +0 -1
  579. package/cjs/layout/Footer/FooterIconButton.d.ts +0 -20
  580. package/cjs/layout/Footer/FooterIconButton.js +0 -2
  581. package/cjs/layout/Footer/FooterIconButton.js.map +0 -1
  582. package/cjs/layout/Footer/FooterLink.d.ts +0 -15
  583. package/cjs/layout/Footer/FooterLink.js +0 -2
  584. package/cjs/layout/Footer/FooterLink.js.map +0 -1
  585. package/cjs/layout/Footer/FooterMenu.d.ts +0 -25
  586. package/cjs/layout/Footer/FooterMenu.js +0 -2
  587. package/cjs/layout/Footer/FooterMenu.js.map +0 -1
  588. package/cjs/layout/Footer/FooterSectionContact.d.ts +0 -18
  589. package/cjs/layout/Footer/FooterSectionContact.js +0 -2
  590. package/cjs/layout/Footer/FooterSectionContact.js.map +0 -1
  591. package/cjs/layout/Footer/FooterSectionLinks.d.ts +0 -25
  592. package/cjs/layout/Footer/FooterSectionLinks.js +0 -2
  593. package/cjs/layout/Footer/FooterSectionLinks.js.map +0 -1
  594. package/cjs/layout/Footer/FooterSectionMenu.d.ts +0 -9
  595. package/cjs/layout/Footer/FooterSectionMenu.js +0 -2
  596. package/cjs/layout/Footer/FooterSectionMenu.js.map +0 -1
  597. package/cjs/layout/Footer/PredefinedFooterIconButtons.d.ts +0 -8
  598. package/cjs/layout/Footer/PredefinedFooterIconButtons.js +0 -2
  599. package/cjs/layout/Footer/PredefinedFooterIconButtons.js.map +0 -1
  600. package/cjs/layout/Footer/assets/FacebookIcon.d.ts +0 -1
  601. package/cjs/layout/Footer/assets/FacebookIcon.js +0 -2
  602. package/cjs/layout/Footer/assets/FacebookIcon.js.map +0 -1
  603. package/cjs/layout/Footer/assets/InstagramIcon.d.ts +0 -1
  604. package/cjs/layout/Footer/assets/InstagramIcon.js +0 -2
  605. package/cjs/layout/Footer/assets/InstagramIcon.js.map +0 -1
  606. package/cjs/layout/Footer/assets/LinkedinIcon.d.ts +0 -1
  607. package/cjs/layout/Footer/assets/LinkedinIcon.js +0 -2
  608. package/cjs/layout/Footer/assets/LinkedinIcon.js.map +0 -1
  609. package/cjs/layout/Footer/assets/TwitterIcon.d.ts +0 -1
  610. package/cjs/layout/Footer/assets/TwitterIcon.js +0 -2
  611. package/cjs/layout/Footer/assets/TwitterIcon.js.map +0 -1
  612. package/cjs/layout/Footer/assets/YoutubeIcon.d.ts +0 -1
  613. package/cjs/layout/Footer/assets/YoutubeIcon.js +0 -2
  614. package/cjs/layout/Footer/assets/YoutubeIcon.js.map +0 -1
  615. package/cjs/layout/Footer/assets/index.d.ts +0 -5
  616. package/cjs/layout/Header/Header.d.ts +0 -35
  617. package/cjs/layout/Header/Header.js +0 -2
  618. package/cjs/layout/Header/Header.js.map +0 -1
  619. package/cjs/layout/Header/HeaderButton.d.ts +0 -23
  620. package/cjs/layout/Header/HeaderButton.js +0 -2
  621. package/cjs/layout/Header/HeaderButton.js.map +0 -1
  622. package/cjs/layout/Header/HeaderContext.d.ts +0 -14
  623. package/cjs/layout/Header/HeaderContext.js +0 -2
  624. package/cjs/layout/Header/HeaderContext.js.map +0 -1
  625. package/cjs/layout/Header/HeaderLanguageSelect.d.ts +0 -12
  626. package/cjs/layout/Header/HeaderLanguageSelect.js +0 -2
  627. package/cjs/layout/Header/HeaderLanguageSelect.js.map +0 -1
  628. package/cjs/layout/Header/HeaderLogo.d.ts +0 -9
  629. package/cjs/layout/Header/HeaderLogo.js +0 -2
  630. package/cjs/layout/Header/HeaderLogo.js.map +0 -1
  631. package/cjs/layout/Header/HeaderNavigationHero.d.ts +0 -6
  632. package/cjs/layout/Header/HeaderNavigationHero.js +0 -2
  633. package/cjs/layout/Header/HeaderNavigationHero.js.map +0 -1
  634. package/cjs/layout/Header/HeaderNavigationLink.d.ts +0 -34
  635. package/cjs/layout/Header/HeaderNavigationLink.js +0 -2
  636. package/cjs/layout/Header/HeaderNavigationLink.js.map +0 -1
  637. package/cjs/layout/Header/HeaderNavigationLinkLabel.d.ts +0 -13
  638. package/cjs/layout/Header/HeaderNavigationLinkLabel.js +0 -2
  639. package/cjs/layout/Header/HeaderNavigationLinkLabel.js.map +0 -1
  640. package/cjs/layout/Header/HeaderNavigationMenu.d.ts +0 -42
  641. package/cjs/layout/Header/HeaderNavigationMenu.js +0 -2
  642. package/cjs/layout/Header/HeaderNavigationMenu.js.map +0 -1
  643. package/cjs/layout/Header/HeaderOverheadItem.d.ts +0 -13
  644. package/cjs/layout/Header/HeaderOverheadItem.js +0 -2
  645. package/cjs/layout/Header/HeaderOverheadItem.js.map +0 -1
  646. package/cjs/layout/Header/HeaderSkodaLogo.d.ts +0 -8
  647. package/cjs/layout/Header/HeaderSkodaLogo.js +0 -2
  648. package/cjs/layout/Header/HeaderSkodaLogo.js.map +0 -1
  649. package/cjs/layout/Header/PredefinedHeaderButtons.d.ts +0 -18
  650. package/cjs/layout/Header/PredefinedHeaderButtons.js +0 -2
  651. package/cjs/layout/Header/PredefinedHeaderButtons.js.map +0 -1
  652. package/cjs/layout/PageLayout/PageLayout.js +0 -2
  653. package/cjs/layout/PageLayout/PageLayout.js.map +0 -1
  654. package/cjs/layout/SecondaryNavigation/SecondaryNavigation.d.ts +0 -10
  655. package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js +0 -2
  656. package/cjs/layout/SecondaryNavigation/SecondaryNavigation.js.map +0 -1
  657. package/cjs/layout/SecondaryNavigation/SecondaryNavigationCta.d.ts +0 -3
  658. package/cjs/layout/SecondaryNavigation/SecondaryNavigationCta.js +0 -2
  659. package/cjs/layout/SecondaryNavigation/SecondaryNavigationCta.js.map +0 -1
  660. package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.d.ts +0 -13
  661. package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.js +0 -2
  662. package/cjs/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +0 -1
  663. package/cjs/materialui/tabs/scrollButtonComponent.js +0 -2
  664. package/cjs/materialui/tabs/scrollButtonComponent.js.map +0 -1
  665. package/cjs/materialui/tabs/tabComponent.js +0 -2
  666. package/cjs/materialui/tabs/tabComponent.js.map +0 -1
  667. package/cjs/materialui/tabs/tabPanel.js.map +0 -1
  668. package/cjs/organisms/notification/Notification.d.ts +0 -11
  669. package/cjs/organisms/notification/Notification.js +0 -2
  670. package/cjs/organisms/notification/Notification.js.map +0 -1
  671. package/cjs/organisms/notification/NotificationCenter.d.ts +0 -8
  672. package/cjs/organisms/notification/NotificationCenter.js +0 -2
  673. package/cjs/organisms/notification/NotificationCenter.js.map +0 -1
  674. package/cjs/organisms/notification/NotificationCenterCategory.d.ts +0 -5
  675. package/cjs/organisms/notification/NotificationCenterCategory.js +0 -2
  676. package/cjs/organisms/notification/NotificationCenterCategory.js.map +0 -1
  677. package/cjs/organisms/notification/NotificationCenterHeaderButton.d.ts +0 -6
  678. package/cjs/organisms/notification/NotificationCenterHeaderButton.js +0 -2
  679. package/cjs/organisms/notification/NotificationCenterHeaderButton.js.map +0 -1
  680. package/layout/Error/ErrorContent.d.ts +0 -33
  681. package/layout/Error/ErrorContent.js +0 -2
  682. package/layout/Error/ErrorContent.js.map +0 -1
  683. package/layout/Footer/Footer.d.ts +0 -5
  684. package/layout/Footer/Footer.js +0 -2
  685. package/layout/Footer/Footer.js.map +0 -1
  686. package/layout/Footer/FooterAccordion.d.ts +0 -18
  687. package/layout/Footer/FooterAccordion.js +0 -2
  688. package/layout/Footer/FooterAccordion.js.map +0 -1
  689. package/layout/Footer/FooterIconButton.d.ts +0 -20
  690. package/layout/Footer/FooterIconButton.js +0 -2
  691. package/layout/Footer/FooterIconButton.js.map +0 -1
  692. package/layout/Footer/FooterLink.d.ts +0 -15
  693. package/layout/Footer/FooterLink.js +0 -2
  694. package/layout/Footer/FooterLink.js.map +0 -1
  695. package/layout/Footer/FooterMenu.d.ts +0 -25
  696. package/layout/Footer/FooterMenu.js +0 -2
  697. package/layout/Footer/FooterMenu.js.map +0 -1
  698. package/layout/Footer/FooterSectionContact.d.ts +0 -18
  699. package/layout/Footer/FooterSectionContact.js +0 -2
  700. package/layout/Footer/FooterSectionContact.js.map +0 -1
  701. package/layout/Footer/FooterSectionLinks.d.ts +0 -25
  702. package/layout/Footer/FooterSectionLinks.js +0 -2
  703. package/layout/Footer/FooterSectionLinks.js.map +0 -1
  704. package/layout/Footer/FooterSectionMenu.d.ts +0 -9
  705. package/layout/Footer/FooterSectionMenu.js +0 -2
  706. package/layout/Footer/FooterSectionMenu.js.map +0 -1
  707. package/layout/Footer/PredefinedFooterIconButtons.d.ts +0 -8
  708. package/layout/Footer/PredefinedFooterIconButtons.js +0 -2
  709. package/layout/Footer/PredefinedFooterIconButtons.js.map +0 -1
  710. package/layout/Footer/assets/FacebookIcon.d.ts +0 -1
  711. package/layout/Footer/assets/FacebookIcon.js +0 -2
  712. package/layout/Footer/assets/FacebookIcon.js.map +0 -1
  713. package/layout/Footer/assets/InstagramIcon.d.ts +0 -1
  714. package/layout/Footer/assets/InstagramIcon.js +0 -2
  715. package/layout/Footer/assets/InstagramIcon.js.map +0 -1
  716. package/layout/Footer/assets/LinkedinIcon.d.ts +0 -1
  717. package/layout/Footer/assets/LinkedinIcon.js +0 -2
  718. package/layout/Footer/assets/LinkedinIcon.js.map +0 -1
  719. package/layout/Footer/assets/TwitterIcon.d.ts +0 -1
  720. package/layout/Footer/assets/TwitterIcon.js +0 -2
  721. package/layout/Footer/assets/TwitterIcon.js.map +0 -1
  722. package/layout/Footer/assets/YoutubeIcon.d.ts +0 -1
  723. package/layout/Footer/assets/YoutubeIcon.js +0 -2
  724. package/layout/Footer/assets/YoutubeIcon.js.map +0 -1
  725. package/layout/Footer/assets/index.d.ts +0 -5
  726. package/layout/Header/Header.d.ts +0 -35
  727. package/layout/Header/Header.js +0 -2
  728. package/layout/Header/Header.js.map +0 -1
  729. package/layout/Header/HeaderButton.d.ts +0 -23
  730. package/layout/Header/HeaderButton.js +0 -2
  731. package/layout/Header/HeaderButton.js.map +0 -1
  732. package/layout/Header/HeaderContext.d.ts +0 -14
  733. package/layout/Header/HeaderContext.js +0 -2
  734. package/layout/Header/HeaderContext.js.map +0 -1
  735. package/layout/Header/HeaderLanguageSelect.d.ts +0 -12
  736. package/layout/Header/HeaderLanguageSelect.js +0 -2
  737. package/layout/Header/HeaderLanguageSelect.js.map +0 -1
  738. package/layout/Header/HeaderLogo.d.ts +0 -9
  739. package/layout/Header/HeaderLogo.js +0 -2
  740. package/layout/Header/HeaderLogo.js.map +0 -1
  741. package/layout/Header/HeaderNavigationHero.d.ts +0 -6
  742. package/layout/Header/HeaderNavigationHero.js +0 -2
  743. package/layout/Header/HeaderNavigationHero.js.map +0 -1
  744. package/layout/Header/HeaderNavigationLink.d.ts +0 -34
  745. package/layout/Header/HeaderNavigationLink.js +0 -2
  746. package/layout/Header/HeaderNavigationLink.js.map +0 -1
  747. package/layout/Header/HeaderNavigationLinkLabel.d.ts +0 -13
  748. package/layout/Header/HeaderNavigationLinkLabel.js +0 -2
  749. package/layout/Header/HeaderNavigationLinkLabel.js.map +0 -1
  750. package/layout/Header/HeaderNavigationMenu.d.ts +0 -42
  751. package/layout/Header/HeaderNavigationMenu.js +0 -2
  752. package/layout/Header/HeaderNavigationMenu.js.map +0 -1
  753. package/layout/Header/HeaderOverheadItem.d.ts +0 -13
  754. package/layout/Header/HeaderOverheadItem.js +0 -2
  755. package/layout/Header/HeaderOverheadItem.js.map +0 -1
  756. package/layout/Header/HeaderSkodaLogo.d.ts +0 -8
  757. package/layout/Header/HeaderSkodaLogo.js +0 -2
  758. package/layout/Header/HeaderSkodaLogo.js.map +0 -1
  759. package/layout/Header/PredefinedHeaderButtons.d.ts +0 -18
  760. package/layout/Header/PredefinedHeaderButtons.js +0 -2
  761. package/layout/Header/PredefinedHeaderButtons.js.map +0 -1
  762. package/layout/PageLayout/PageLayout.js +0 -2
  763. package/layout/PageLayout/PageLayout.js.map +0 -1
  764. package/layout/SecondaryNavigation/SecondaryNavigation.d.ts +0 -10
  765. package/layout/SecondaryNavigation/SecondaryNavigation.js +0 -2
  766. package/layout/SecondaryNavigation/SecondaryNavigation.js.map +0 -1
  767. package/layout/SecondaryNavigation/SecondaryNavigationCta.d.ts +0 -3
  768. package/layout/SecondaryNavigation/SecondaryNavigationCta.js +0 -2
  769. package/layout/SecondaryNavigation/SecondaryNavigationCta.js.map +0 -1
  770. package/layout/SecondaryNavigation/SecondaryNavigationItem.d.ts +0 -13
  771. package/layout/SecondaryNavigation/SecondaryNavigationItem.js +0 -2
  772. package/layout/SecondaryNavigation/SecondaryNavigationItem.js.map +0 -1
  773. package/materialui/tabs/scrollButtonComponent.js +0 -2
  774. package/materialui/tabs/scrollButtonComponent.js.map +0 -1
  775. package/materialui/tabs/tabComponent.js +0 -2
  776. package/materialui/tabs/tabComponent.js.map +0 -1
  777. package/materialui/tabs/tabPanel.js +0 -2
  778. package/materialui/tabs/tabPanel.js.map +0 -1
  779. package/organisms/notification/Notification.d.ts +0 -11
  780. package/organisms/notification/Notification.js +0 -2
  781. package/organisms/notification/Notification.js.map +0 -1
  782. package/organisms/notification/NotificationCenter.d.ts +0 -8
  783. package/organisms/notification/NotificationCenter.js +0 -2
  784. package/organisms/notification/NotificationCenter.js.map +0 -1
  785. package/organisms/notification/NotificationCenterCategory.d.ts +0 -5
  786. package/organisms/notification/NotificationCenterCategory.js +0 -2
  787. package/organisms/notification/NotificationCenterCategory.js.map +0 -1
  788. package/organisms/notification/NotificationCenterHeaderButton.d.ts +0 -6
  789. package/organisms/notification/NotificationCenterHeaderButton.js +0 -2
  790. package/organisms/notification/NotificationCenterHeaderButton.js.map +0 -1
  791. package/cjs/{layout/Error → components/errorContent}/index.d.ts +0 -0
  792. package/cjs/{layout/PageLayout → components/pageLayout}/index.d.ts +0 -0
  793. package/cjs/{layout/SecondaryNavigation → components/secondaryNavigation}/index.d.ts +1 -1
  794. package/cjs/components/segmentedControls/{segmentedControls.d.ts → SegmentedControls.d.ts} +0 -0
  795. package/{layout/Error → components/errorContent}/index.d.ts +0 -0
  796. package/{layout/PageLayout → components/pageLayout}/index.d.ts +0 -0
  797. package/{layout/SecondaryNavigation → components/secondaryNavigation}/index.d.ts +1 -1
  798. /package/components/segmentedControls/{segmentedControls.d.ts → SegmentedControls.d.ts} +0 -0
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),a=require("react/jsx-runtime"),s=require("react"),l=require("@mui/material"),r=require("./slider.theme.js"),i=require("../../components/focusring/focusring.js");const o=s.forwardRef(((s,i)=>{var{sx:o,children:n,value:u,valueProps:p,label:b,labelProps:x,valueLabelFormat:c,setValue:d,disabled:m,min:g=r.flowSlider.defaultProps.min,minLabel:v,minLabelProps:j,max:f=r.flowSlider.defaultProps.max,maxLabel:P,maxLabelProps:y,step:O=r.flowSlider.defaultProps.step,sliderValueProps:h,inputProps:S}=s,L=e.__rest(s,["sx","children","value","valueProps","label","labelProps","valueLabelFormat","setValue","disabled","min","minLabel","minLabelProps","max","maxLabel","maxLabelProps","step","sliderValueProps","inputProps"]);const V=Object.assign({disabled:m,min:g,max:f,step:O,valueLabelFormat:c,valueProps:p,inputProps:S},h);return a.jsxs(l.Box,Object.assign({ref:i,sx:Object.assign({display:"flex",alignItems:"flex-end",justifyContent:"space-between",gap:1},o)},L,{children:[Array.isArray(u)||!1===u&&(v||b)&&P?a.jsxs(a.Fragment,{children:[a.jsx(t,Object.assign({"aria-label":"Minimum value",value:!1!==u&&u[0],setValue:d?e=>d([e,u[1]]):void 0,label:v||b,labelProps:j||x},V,{max:u[1]})),a.jsx(t,Object.assign({"aria-label":"Maximum value",value:!1!==u&&u[1],setValue:d?e=>d([u[0],e]):void 0,label:P,labelProps:y},V,{min:u[0],sx:Object.assign({textAlign:"right"},null==V?void 0:V.sx)}))]}):a.jsx(t,Object.assign({"aria-label":"Current value",value:u,setValue:d,label:b,labelProps:x},V)),n]}))})),t=s.forwardRef(((r,o)=>{var{value:t,valueProps:n,label:u,labelProps:p,valueLabelFormat:b,setValue:x,min:c,max:d,step:m,inputProps:g,disabled:v,sx:j}=r,f=e.__rest(r,["value","valueProps","label","labelProps","valueLabelFormat","setValue","min","max","step","inputProps","disabled","sx"]);const P=p||{},{sx:y}=P,O=e.__rest(P,["sx"]),h=n||{},{sx:S}=h,L=e.__rest(h,["sx"]),V=g||{},{sx:w}=V,F=e.__rest(V,["sx"]),[_,k]=s.useState(!1),C=s.useCallback((e=>{const a=+(e||0);x(a<c?c:a>d?d:a)}),[c,d,x]),q=b?b(t):t;return a.jsxs(l.Box,Object.assign({ref:o,sx:Object.assign(Object.assign({minWidth:"82px"},(!u||!1===t)&&{pt:.5}),j),onClick:x&&!v?()=>k(!0):void 0},f,{children:[u&&a.jsx(l.Typography,Object.assign({},!1===t&&{variant:"disclaimer1"},{sx:Object.assign(Object.assign({display:"block"},!1===t?{color:e=>"dark"===e.palette.mode?"onSurface.os200":"onSurface.os700"}:{color:"onSurface.os500",fontSize:{xs:"12px"},lineHeight:{xs:"12px"},fontWeight:{xs:"400"},py:.5,px:1}),y)},O,{children:u})),_&&!v?a.jsx(l.FilledInput,Object.assign({autoFocus:!0,onBlur:()=>k(!1),value:t,onChange:e=>C(e.target.value),onKeyUp:()=>{},inputProps:{type:"number",step:m,min:c,"aria-valuemin":c,max:d,"aria-valuemax":d,"aria-valuenow":q},disableUnderline:!0,sx:e=>Object.assign(Object.assign({display:"block",borderRadius:"4px",py:"1px",px:1,border:1,borderColor:"onSurface.os500","&&, &:hover":{backgroundColor:"background.primary"},"& .MuiInputBase-input":Object.assign({fieldSizing:"content",textAlign:"inherit",p:0},e.typography[(null==L?void 0:L.variant)||"disclaimer1"])},i.getFocusRingStyle(e,!1,1,"&.Mui-focused")),w)},F)):!1!==t&&a.jsx(l.Typography,Object.assign({variant:"disclaimer1",sx:Object.assign(Object.assign({display:"block",px:1,whiteSpace:"nowrap",color:e=>"dark"===e.palette.mode?"onSurface.os200":"onSurface.os700"},x&&{px:1,py:"1px",border:1,borderColor:"onSurface.os500",borderRadius:"4px"}),S)},x&&{tabIndex:0,onFocus:()=>k(!0)},{"aria-valuenow":q,"aria-valuemax":d,"aria-valuemin":c},L,{children:q}))]}))}));exports.SliderValue=t,exports.SliderValues=o;
1
+ "use strict";var e=require("tslib"),a=require("react/jsx-runtime"),s=require("react"),r=require("@mui/material"),l=require("./slider.theme.js"),i=require("../../components/focusring/focusring.js");const o=s.forwardRef(((s,i)=>{var{sx:o,children:n,value:u,valueProps:p,label:b,labelProps:d,valueLabelFormat:c,setValue:x,disabled:m,min:g=l.flowSlider.defaultProps.min,minLabel:v,minLabelProps:j,max:f=l.flowSlider.defaultProps.max,maxLabel:P,maxLabelProps:O,step:y=l.flowSlider.defaultProps.step,sliderValueProps:h,inputProps:S}=s,L=e.__rest(s,["sx","children","value","valueProps","label","labelProps","valueLabelFormat","setValue","disabled","min","minLabel","minLabelProps","max","maxLabel","maxLabelProps","step","sliderValueProps","inputProps"]);const V=Object.assign({disabled:m,min:g,max:f,step:y,valueLabelFormat:c,valueProps:p,inputProps:S},h);return a.jsxs(r.Box,Object.assign({ref:i,sx:Object.assign({display:"flex",alignItems:"flex-end",justifyContent:"space-between",gap:1},o)},L,{children:[Array.isArray(u)||!1===u&&(v||b)&&P?a.jsxs(a.Fragment,{children:[a.jsx(t,Object.assign({value:!1!==u&&u[0],setValue:x?e=>x([e,u[1]]):void 0,label:v||b,labelProps:j||d},V,{max:u[1]})),a.jsx(t,Object.assign({value:!1!==u&&u[1],setValue:x?e=>x([u[0],e]):void 0,label:P,labelProps:O},V,{min:u[0],sx:Object.assign({textAlign:"right"},null==V?void 0:V.sx)}))]}):a.jsx(t,Object.assign({value:u,setValue:x,label:b,labelProps:d},V)),n]}))})),t=s.forwardRef(((l,o)=>{var{value:t,valueProps:n,label:u,labelProps:p,valueLabelFormat:b,setValue:d,min:c,max:x,step:m,inputProps:g,disabled:v,sx:j}=l,f=e.__rest(l,["value","valueProps","label","labelProps","valueLabelFormat","setValue","min","max","step","inputProps","disabled","sx"]);const P=null!=p?p:{},{sx:O}=P,y=e.__rest(P,["sx"]),h=null!=n?n:{},{sx:S}=h,L=e.__rest(h,["sx"]),V=null!=g?g:{},{sx:k}=V,F=e.__rest(V,["sx"]),[_,w]=s.useState(!1),C=s.useCallback((e=>{const a=+(e||0);d(a<c?c:a>x?x:a)}),[c,x,d]),q=b?b(t):t;return a.jsxs(r.Box,Object.assign({ref:o,sx:Object.assign(Object.assign({minWidth:"82px"},(!u||!1===t)&&{pt:.5}),j),onClick:d&&!v?()=>w(!0):void 0},f,{children:[u&&a.jsx(r.Typography,Object.assign({},!1===t&&{variant:"disclaimer1"},{sx:Object.assign(Object.assign({display:"block"},!1===t?{color:e=>"dark"===e.palette.mode?"onSurface.os200":"onSurface.os700"}:{color:e=>"dark"===e.palette.mode?"onSurface.os300":"onSurface.os600",fontSize:{xs:"12px"},lineHeight:{xs:"12px"},fontWeight:{xs:"400"},py:.5,px:1}),O)},y,{children:u})),_&&!v?a.jsx(r.FilledInput,Object.assign({autoFocus:!0,onBlur:()=>w(!1),value:t,onChange:e=>C(e.target.value),onKeyUp:()=>{},inputProps:{type:"number",step:m,min:c,"aria-valuemin":c,max:x,"aria-valuemax":x,"aria-valuenow":q},disableUnderline:!0,sx:e=>{var a;return Object.assign(Object.assign(Object.assign({display:"block",borderRadius:"4px",py:"1px",px:1,border:1,borderColor:"onSurface.os500","&&, &:hover":{backgroundColor:"background.primary"},"& .MuiInputBase-input":Object.assign({fieldSizing:"content",textAlign:"inherit",p:0},e.typography[null!==(a=null==L?void 0:L.variant)&&void 0!==a?a:"disclaimer1"])},i.getFocusRingStyle(e,!1,1,"&.Mui-focused")),{"&&:before":{border:"none"}}),k)}},F)):!1!==t&&a.jsx(r.Typography,Object.assign({variant:"disclaimer1",sx:Object.assign(Object.assign({display:"block",px:1,whiteSpace:"nowrap",color:e=>"dark"===e.palette.mode?"onSurface.os200":"onSurface.os700"},d&&{px:1,py:"1px",border:1,borderColor:"onSurface.os500",borderRadius:"4px"}),S)},d&&{tabIndex:0,onFocus:()=>w(!0)},L,{children:q}))]}))}));exports.SliderValue=t,exports.SliderValues=o;
2
2
  //# sourceMappingURL=sliderValues.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sliderValues.js","sources":["../../../../../src/materialui/slider/sliderValues.tsx"],"sourcesContent":["import React, { forwardRef, ElementType, ReactNode, useState, useCallback } from 'react';\nimport { Box, BoxProps, SliderProps, Typography, TypographyProps, FilledInput, FilledInputProps } from '@mui/material';\nimport { flowSlider } from '@/src/materialui/slider/slider.theme';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport interface SliderValuesProps extends BoxProps<ElementType> {\n /**\n * The value of the slider\n */\n value: SliderProps['value'] | false;\n /**\n * Properties applied to value wrapper\n */\n valueProps?: TypographyProps;\n /**\n * Label show above value\n */\n label?: ReactNode;\n /**\n * Properties applied to label wrapper\n */\n labelProps?: TypographyProps;\n /**\n * The format function the value label's value\n */\n valueLabelFormat?: SliderProps['valueLabelFormat'];\n /**\n * Provide this function to allow changing the slider value with inputs\n */\n setValue?: (newValue: unknown) => void;\n /**\n * Disable editing\n */\n disabled?: boolean;\n /**\n * The minimum allowed value of the slider\n */\n min?: SliderProps['min'];\n /**\n * Text shown above min selected value\n */\n minLabel?: ReactNode;\n /**\n * Properties applied to label wrapper\n */\n minLabelProps?: TypographyProps;\n /**\n * The maximum allowed value of the slider\n */\n max?: SliderProps['max'];\n /**\n * Text shown above max selected value\n */\n maxLabel?: ReactNode;\n /**\n * Properties applied to label wrapper\n */\n maxLabelProps?: TypographyProps;\n /**\n * The granularity with which the slider can step through values\n */\n step?: SliderProps['step'];\n /**\n * Properties applied to the root wrapper of each SliderValue\n */\n sliderValueProps?: BoxProps;\n /**\n * Properties applied to SliderValue input field\n */\n inputProps?: FilledInputProps;\n}\n\n/**\n * Wrapper that render one or two SliderValue components based on the Slider type\n */\nexport const SliderValues: React.FC<SliderValuesProps> = forwardRef(\n (\n {\n sx,\n children,\n value,\n valueProps,\n label,\n labelProps,\n valueLabelFormat,\n setValue,\n disabled,\n min = flowSlider.defaultProps.min,\n minLabel,\n minLabelProps,\n max = flowSlider.defaultProps.max,\n maxLabel,\n maxLabelProps,\n step = flowSlider.defaultProps.step,\n sliderValueProps: rawSliderValueProps,\n inputProps,\n ...rest\n },\n ref,\n ) => {\n const sliderValueProps = {\n disabled,\n min,\n max,\n step,\n valueLabelFormat,\n valueProps,\n inputProps,\n ...rawSliderValueProps,\n };\n\n return (\n <Box\n ref={ref}\n sx={{\n display: 'flex',\n alignItems: 'flex-end',\n justifyContent: 'space-between',\n gap: 1,\n ...sx,\n }}\n {...rest}\n >\n {Array.isArray(value) || (value === false && (minLabel || label) && maxLabel) ? (\n <>\n <SliderValue\n aria-label=\"Minimum value\"\n value={value !== false && value[0]}\n setValue={setValue ? (newValue) => setValue([newValue, value[1]]) : undefined}\n label={minLabel || label}\n labelProps={minLabelProps || labelProps}\n {...sliderValueProps}\n max={value[1]}\n />\n <SliderValue\n aria-label=\"Maximum value\"\n value={value !== false && value[1]}\n setValue={setValue ? (newValue) => setValue([value[0], newValue]) : undefined}\n label={maxLabel}\n labelProps={maxLabelProps}\n {...sliderValueProps}\n min={value[0]}\n sx={{ textAlign: 'right', ...sliderValueProps?.sx }}\n />\n </>\n ) : (\n <SliderValue\n aria-label=\"Current value\"\n value={value}\n setValue={setValue}\n label={label}\n labelProps={labelProps}\n {...sliderValueProps}\n />\n )}\n {children}\n </Box>\n );\n },\n);\n\nexport interface SliderValueProps\n extends Omit<SliderValuesProps, 'value' | 'minLabel' | 'minLabelProps' | 'maxLabel' | 'maxLabelProps'> {\n /**\n * The single value of the slider\n */\n value: number | false;\n /**\n * The single setValue for the slider value\n */\n setValue?: (newValue: number) => void;\n}\n\n/**\n * Display single value of slider, allows editing with input\n */\nexport const SliderValue: React.FC<SliderValueProps> = forwardRef(\n (\n {\n value,\n valueProps,\n label,\n labelProps,\n valueLabelFormat,\n setValue,\n min,\n max,\n step,\n inputProps,\n disabled,\n sx,\n ...rest\n },\n ref,\n ) => {\n const { sx: labelSx, ...restLabel } = labelProps || {};\n const { sx: valueSx, ...restValue } = valueProps || {};\n const { sx: inputSx, ...restInput } = inputProps || {};\n const [editing, setEditing] = useState(false);\n const editValue = useCallback(\n (inputValue: string) => {\n const newValue = +(inputValue || 0);\n if (newValue < min) {\n setValue(min);\n } else if (newValue > max) {\n setValue(max);\n } else {\n setValue(newValue);\n }\n },\n [min, max, setValue],\n );\n const formattedValue = valueLabelFormat ? valueLabelFormat(value) : value;\n\n return (\n <Box\n ref={ref}\n sx={{ minWidth: '82px', ...((!label || value === false) && { pt: 0.5 }), ...sx }}\n onClick={setValue && !disabled ? () => setEditing(true) : undefined}\n {...rest}\n >\n {label && (\n <Typography\n {...(value === false && {\n variant: 'disclaimer1',\n })}\n sx={{\n display: 'block',\n ...(value === false\n ? {\n color: (theme) => (theme.palette.mode === 'dark' ? 'onSurface.os200' : 'onSurface.os700'),\n }\n : {\n color: 'onSurface.os500',\n fontSize: { xs: '12px' },\n lineHeight: { xs: '12px' },\n fontWeight: { xs: '400' },\n py: 0.5,\n px: 1,\n }),\n ...labelSx,\n }}\n {...restLabel}\n >\n {label}\n </Typography>\n )}\n {editing && !disabled ? (\n <FilledInput\n autoFocus\n onBlur={() => setEditing(false)}\n value={value}\n onChange={(e) => editValue(e.target.value)}\n onKeyUp={() => {}}\n inputProps={{\n type: 'number',\n step: step,\n min: min,\n ['aria-valuemin']: min,\n max: max,\n ['aria-valuemax']: max,\n ['aria-valuenow']: formattedValue,\n }}\n disableUnderline\n sx={(theme) => ({\n display: 'block',\n borderRadius: '4px',\n py: '1px', // pixel perfect matching design\n px: 1,\n border: 1,\n borderColor: 'onSurface.os500',\n '&&, &:hover': {\n backgroundColor: 'background.primary',\n },\n // input itself\n '& .MuiInputBase-input': {\n fieldSizing: 'content',\n textAlign: 'inherit',\n p: 0,\n // matching typography style with value\n ...theme.typography[restValue?.variant || 'disclaimer1'],\n },\n ...getFocusRingStyle(theme, false, 1, '&.Mui-focused'),\n ...inputSx,\n })}\n {...restInput}\n />\n ) : (\n value !== false && (\n <Typography\n variant=\"disclaimer1\"\n sx={{\n display: 'block',\n px: 1,\n whiteSpace: 'nowrap',\n color: (theme) => (theme.palette.mode === 'dark' ? 'onSurface.os200' : 'onSurface.os700'),\n // editable\n ...(setValue && {\n px: 1,\n py: '1px',\n border: 1,\n borderColor: 'onSurface.os500',\n borderRadius: '4px',\n }),\n ...valueSx,\n }}\n {...(setValue && {\n // allow focus with keyboard navigation\n tabIndex: 0,\n onFocus: () => setEditing(true),\n })}\n aria-valuenow={formattedValue}\n aria-valuemax={max}\n aria-valuemin={min}\n {...restValue}\n >\n {formattedValue}\n </Typography>\n )\n )}\n </Box>\n );\n },\n);\n"],"names":["SliderValues","forwardRef","_a","ref","sx","children","value","valueProps","label","labelProps","valueLabelFormat","setValue","disabled","min","flowSlider","defaultProps","minLabel","minLabelProps","max","maxLabel","maxLabelProps","step","sliderValueProps","rawSliderValueProps","inputProps","rest","__rest","_jsxs","Box","Object","assign","display","alignItems","justifyContent","gap","Array","isArray","jsxs","_Fragment","Fragment","_jsx","SliderValue","newValue","undefined","textAlign","jsx","_b","labelSx","restLabel","_c","valueSx","restValue","_d","inputSx","restInput","editing","setEditing","useState","editValue","useCallback","inputValue","formattedValue","minWidth","pt","onClick","Typography","variant","color","theme","palette","mode","fontSize","xs","lineHeight","fontWeight","py","px","FilledInput","autoFocus","onBlur","onChange","e","target","onKeyUp","type","disableUnderline","borderRadius","border","borderColor","backgroundColor","fieldSizing","p","typography","getFocusRingStyle","whiteSpace","tabIndex","onFocus"],"mappings":"qMA2Ea,MAAAA,EAA4CC,EAAUA,YACjE,CACEC,EAqBAC,KArBA,IAAAC,GACEA,EAAEC,SACFA,EAAQC,MACRA,EAAKC,WACLA,EAAUC,MACVA,EAAKC,WACLA,EAAUC,iBACVA,EAAgBC,SAChBA,EAAQC,SACRA,EAAQC,IACRA,EAAMC,EAAAA,WAAWC,aAAaF,IAAGG,SACjCA,EAAQC,cACRA,EAAaC,IACbA,EAAMJ,EAAUA,WAACC,aAAaG,IAAGC,SACjCA,EAAQC,cACRA,EAAaC,KACbA,EAAOP,EAAUA,WAACC,aAAaM,KAC/BC,iBAAkBC,EAAmBC,WACrCA,GAAUtB,EACPuB,EAnBLC,EAAAA,OAAAxB,EAAA,CAAA,KAAA,WAAA,QAAA,aAAA,QAAA,aAAA,mBAAA,WAAA,WAAA,MAAA,WAAA,gBAAA,MAAA,WAAA,gBAAA,OAAA,mBAAA,eAuBA,MAAMoB,iBACJV,WACAC,MACAK,MACAG,OACAX,mBACAH,aACAiB,cACGD,GAGL,OACEI,EAAAA,KAACC,EAAAA,IACCC,OAAAC,OAAA,CAAA3B,IAAKA,EACLC,GAAEyB,OAAAC,OAAA,CACAC,QAAS,OACTC,WAAY,WACZC,eAAgB,gBAChBC,IAAK,GACF9B,IAEDqB,EAAI,CAAApB,SAAA,CAEP8B,MAAMC,QAAQ9B,KAAqB,IAAVA,IAAoBU,GAAYR,IAAUW,EAClEQ,EACEU,KAAAC,EAAAC,SAAA,CAAAlC,SAAA,CAAAmC,MAACC,EACYZ,OAAAC,OAAA,CAAA,aAAA,gBACXxB,OAAiB,IAAVA,GAAmBA,EAAM,GAChCK,SAAUA,EAAY+B,GAAa/B,EAAS,CAAC+B,EAAUpC,EAAM,UAAOqC,EACpEnC,MAAOQ,GAAYR,EACnBC,WAAYQ,GAAi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EzC2B,EAAiBA,kBAACzB,GAAO,EAAO,EAAG,kBACnCf,IAEDC,KAGI,IAAVhD,GACEkC,EAAAA,IAACyB,EAAAA,0BACCC,QAAQ,cACR9D,GAAEyB,OAAAC,OAAAD,OAAAC,OAAA,CACAC,QAAS,QACT6C,GAAI,EACJkB,WAAY,SACZ3B,MAAQC,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,mBAEnE3D,GAAY,CACdiE,GAAI,EACJD,GAAI,MACJY,OAAQ,EACRC,YAAa,kBACbF,aAAc,QAEbpC,IAEAvC,GAAY,CAEfoF,SAAU,EACVC,QAAS,IAAMxC,GAAW,IAEb,CAAA,gBAAAK,EACA,gBAAA3C,kBACAL,GACXsC,EAAS,CAAA9C,SAEZwD,QAIH"}
1
+ {"version":3,"file":"sliderValues.js","sources":["../../../../../src/materialui/slider/sliderValues.tsx"],"sourcesContent":["import React, { forwardRef, ElementType, ReactNode, useState, useCallback } from 'react';\nimport { Box, BoxProps, SliderProps, Typography, TypographyProps, FilledInput, FilledInputProps } from '@mui/material';\nimport { flowSlider } from '@/src/materialui/slider/slider.theme';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport interface SliderValuesProps extends BoxProps<ElementType> {\n /**\n * The value of the slider\n */\n value: SliderProps['value'] | false;\n /**\n * Properties applied to value wrapper\n */\n valueProps?: TypographyProps;\n /**\n * Label show above value\n */\n label?: ReactNode;\n /**\n * Properties applied to label wrapper\n */\n labelProps?: TypographyProps;\n /**\n * The format function the value label's value\n */\n valueLabelFormat?: SliderProps['valueLabelFormat'];\n /**\n * Provide this function to allow changing the slider value with inputs\n */\n setValue?: (newValue: unknown) => void;\n /**\n * Disable editing\n */\n disabled?: boolean;\n /**\n * The minimum allowed value of the slider\n */\n min?: SliderProps['min'];\n /**\n * Text shown above min selected value\n */\n minLabel?: ReactNode;\n /**\n * Properties applied to label wrapper\n */\n minLabelProps?: TypographyProps;\n /**\n * The maximum allowed value of the slider\n */\n max?: SliderProps['max'];\n /**\n * Text shown above max selected value\n */\n maxLabel?: ReactNode;\n /**\n * Properties applied to label wrapper\n */\n maxLabelProps?: TypographyProps;\n /**\n * The granularity with which the slider can step through values\n */\n step?: SliderProps['step'];\n /**\n * Properties applied to the root wrapper of each SliderValue\n */\n sliderValueProps?: BoxProps;\n /**\n * Properties applied to SliderValue input field\n */\n inputProps?: FilledInputProps;\n}\n\n/**\n * Wrapper that render one or two SliderValue components based on the Slider type\n */\nexport const SliderValues: React.FC<SliderValuesProps> = forwardRef(\n (\n {\n sx,\n children,\n value,\n valueProps,\n label,\n labelProps,\n valueLabelFormat,\n setValue,\n disabled,\n min = flowSlider.defaultProps.min,\n minLabel,\n minLabelProps,\n max = flowSlider.defaultProps.max,\n maxLabel,\n maxLabelProps,\n step = flowSlider.defaultProps.step,\n sliderValueProps: rawSliderValueProps,\n inputProps,\n ...rest\n },\n ref,\n ) => {\n const sliderValueProps = {\n disabled,\n min,\n max,\n step,\n valueLabelFormat,\n valueProps,\n inputProps,\n ...rawSliderValueProps,\n };\n\n return (\n <Box\n ref={ref}\n sx={{\n display: 'flex',\n alignItems: 'flex-end',\n justifyContent: 'space-between',\n gap: 1,\n ...sx,\n }}\n {...rest}\n >\n {Array.isArray(value) || (value === false && (minLabel || label) && maxLabel) ? (\n <>\n <SliderValue\n value={value !== false && value[0]}\n setValue={setValue ? (newValue) => setValue([newValue, value[1]]) : undefined}\n label={minLabel || label}\n labelProps={minLabelProps || labelProps}\n {...sliderValueProps}\n max={value[1]}\n />\n <SliderValue\n value={value !== false && value[1]}\n setValue={setValue ? (newValue) => setValue([value[0], newValue]) : undefined}\n label={maxLabel}\n labelProps={maxLabelProps}\n {...sliderValueProps}\n min={value[0]}\n sx={{ textAlign: 'right', ...sliderValueProps?.sx }}\n />\n </>\n ) : (\n <SliderValue value={value} setValue={setValue} label={label} labelProps={labelProps} {...sliderValueProps} />\n )}\n {children}\n </Box>\n );\n },\n);\n\nexport interface SliderValueProps\n extends Omit<SliderValuesProps, 'value' | 'minLabel' | 'minLabelProps' | 'maxLabel' | 'maxLabelProps'> {\n /**\n * The single value of the slider\n */\n value: number | false;\n /**\n * The single setValue for the slider value\n */\n setValue?: (newValue: number) => void;\n}\n\n/**\n * Display single value of slider, allows editing with input\n */\nexport const SliderValue: React.FC<SliderValueProps> = forwardRef(\n (\n {\n value,\n valueProps,\n label,\n labelProps,\n valueLabelFormat,\n setValue,\n min,\n max,\n step,\n inputProps,\n disabled,\n sx,\n ...rest\n },\n ref,\n ) => {\n const { sx: labelSx, ...restLabel } = labelProps ?? {};\n const { sx: valueSx, ...restValue } = valueProps ?? {};\n const { sx: inputSx, ...restInput } = inputProps ?? {};\n const [editing, setEditing] = useState(false);\n const editValue = useCallback(\n (inputValue: string) => {\n const newValue = +(inputValue || 0);\n if (newValue < min) {\n setValue(min);\n } else if (newValue > max) {\n setValue(max);\n } else {\n setValue(newValue);\n }\n },\n [min, max, setValue],\n );\n const formattedValue = valueLabelFormat ? valueLabelFormat(value) : value;\n\n return (\n <Box\n ref={ref}\n sx={{ minWidth: '82px', ...((!label || value === false) && { pt: 0.5 }), ...sx }}\n onClick={setValue && !disabled ? () => setEditing(true) : undefined}\n {...rest}\n >\n {label && (\n <Typography\n {...(value === false && {\n variant: 'disclaimer1',\n })}\n sx={{\n display: 'block',\n ...(value === false\n ? {\n color: (theme) => (theme.palette.mode === 'dark' ? 'onSurface.os200' : 'onSurface.os700'),\n }\n : {\n // os600 instead of Figma's os500 to pass A11y contrast\n color: (theme) => (theme.palette.mode === 'dark' ? 'onSurface.os300' : 'onSurface.os600'),\n fontSize: { xs: '12px' },\n lineHeight: { xs: '12px' },\n fontWeight: { xs: '400' },\n py: 0.5,\n px: 1,\n }),\n ...labelSx,\n }}\n {...restLabel}\n >\n {label}\n </Typography>\n )}\n {editing && !disabled ? (\n <FilledInput\n autoFocus\n onBlur={() => setEditing(false)}\n value={value}\n onChange={(e) => editValue(e.target.value)}\n onKeyUp={() => {}}\n inputProps={{\n type: 'number',\n step: step,\n min: min,\n ['aria-valuemin']: min,\n max: max,\n ['aria-valuemax']: max,\n ['aria-valuenow']: formattedValue,\n }}\n disableUnderline\n sx={(theme) => ({\n display: 'block',\n borderRadius: '4px',\n py: '1px', // pixel perfect matching design\n px: 1,\n border: 1,\n borderColor: 'onSurface.os500',\n '&&, &:hover': {\n backgroundColor: 'background.primary',\n },\n // input itself\n '& .MuiInputBase-input': {\n fieldSizing: 'content',\n textAlign: 'inherit',\n p: 0,\n // matching typography style with value\n ...theme.typography[restValue?.variant ?? 'disclaimer1'],\n },\n ...getFocusRingStyle(theme, false, 1, '&.Mui-focused'),\n '&&:before': {\n border: 'none',\n },\n ...inputSx,\n })}\n {...restInput}\n />\n ) : (\n value !== false && (\n <Typography\n variant=\"disclaimer1\"\n sx={{\n display: 'block',\n px: 1,\n whiteSpace: 'nowrap',\n color: (theme) => (theme.palette.mode === 'dark' ? 'onSurface.os200' : 'onSurface.os700'),\n // editable\n ...(setValue && {\n px: 1,\n py: '1px',\n border: 1,\n borderColor: 'onSurface.os500',\n borderRadius: '4px',\n }),\n ...valueSx,\n }}\n {...(setValue && {\n // allow focus with keyboard navigation\n tabIndex: 0,\n onFocus: () => setEditing(true),\n })}\n {...restValue}\n >\n {formattedValue}\n </Typography>\n )\n )}\n </Box>\n );\n },\n);\n"],"names":["SliderValues","forwardRef","_a","ref","sx","children","value","valueProps","label","labelProps","valueLabelFormat","setValue","disabled","min","flowSlider","defaultProps","minLabel","minLabelProps","max","maxLabel","maxLabelProps","step","sliderValueProps","rawSliderValueProps","inputProps","rest","__rest","_jsxs","Box","Object","assign","display","alignItems","justifyContent","gap","Array","isArray","_jsx","SliderValue","newValue","undefined","textAlign","jsx","_b","labelSx","restLabel","_c","valueSx","restValue","_d","inputSx","restInput","editing","setEditing","useState","editValue","useCallback","inputValue","formattedValue","jsxs","minWidth","pt","onClick","Typography","variant","color","theme","palette","mode","fontSize","xs","lineHeight","fontWeight","py","px","FilledInput","autoFocus","onBlur","onChange","e","target","onKeyUp","type","disableUnderline","borderRadius","border","borderColor","backgroundColor","fieldSizing","p","typography","getFocusRingStyle","whiteSpace","tabIndex","onFocus"],"mappings":"qMA2Ea,MAAAA,EAA4CC,EAAUA,YACjE,CACEC,EAqBAC,KArBA,IAAAC,GACEA,EAAEC,SACFA,EAAQC,MACRA,EAAKC,WACLA,EAAUC,MACVA,EAAKC,WACLA,EAAUC,iBACVA,EAAgBC,SAChBA,EAAQC,SACRA,EAAQC,IACRA,EAAMC,EAAAA,WAAWC,aAAaF,IAAGG,SACjCA,EAAQC,cACRA,EAAaC,IACbA,EAAMJ,EAAUA,WAACC,aAAaG,IAAGC,SACjCA,EAAQC,cACRA,EAAaC,KACbA,EAAOP,EAAUA,WAACC,aAAaM,KAC/BC,iBAAkBC,EAAmBC,WACrCA,GAAUtB,EACPuB,EAnBLC,EAAAA,OAAAxB,EAAA,CAAA,KAAA,WAAA,QAAA,aAAA,QAAA,aAAA,mBAAA,WAAA,WAAA,MAAA,WAAA,gBAAA,MAAA,WAAA,gBAAA,OAAA,mBAAA,eAuBA,MAAMoB,iBACJV,WACAC,MACAK,MACAG,OACAX,mBACAH,aACAiB,cACGD,GAGL,OACEI,EAAAA,KAACC,EAAAA,IACCC,OAAAC,OAAA,CAAA3B,IAAKA,EACLC,GAAEyB,OAAAC,OAAA,CACAC,QAAS,OACTC,WAAY,WACZC,eAAgB,gBAChBC,IAAK,GACF9B,IAEDqB,EAEH,CAAApB,SAAA,CAAA8B,MAAMC,QAAQ9B,KAAqB,IAAVA,IAAoBU,GAAYR,IAAUW,EAClEQ,EAAAA,2BACEU,EAAAA,IAACC,EACCT,OAAAC,OAAA,CAAAxB,OAAiB,IAAVA,GAAmBA,EAAM,GAChCK,SAAUA,EAAY4B,GAAa5B,EAAS,CAAC4B,EAAUjC,EAAM,UAAOkC,EACpEhC,MAAOQ,GAAYR,EACnBC,WAAYQ,GAAiBR,GACzBa,EACJ,CAAAJ,IAAKZ,EAAM,MAEb+B,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AW,UACXgD,EAAG,GAEAvB,EAAMwB,qBAAW1C,aAAS,EAATA,EAAWgB,uBAAW,iBAEzC2B,EAAiBA,kBAACzB,GAAO,EAAO,EAAG,kBAAgB,CACtD,YAAa,CACXmB,OAAQ,UAEPnC,KAEDC,KAGI,IAAV7C,GACE+B,EAACK,IAAAqB,aACClC,OAAAC,OAAA,CAAAkC,QAAQ,cACR5D,GACEyB,OAAAC,OAAAD,OAAAC,OAAA,CAAAC,QAAS,QACT2C,GAAI,EACJkB,WAAY,SACZ3B,MAAQC,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,mBAEnEzD,GAAY,CACd+D,GAAI,EACJD,GAAI,MACJY,OAAQ,EACRC,YAAa,kBACbF,aAAc,QAEbrC,IAEApC,GAAY,CAEfkF,SAAU,EACVC,QAAS,IAAMzC,GAAW,IAExBL,EAEH,CAAA3C,SAAAqD,QAIH"}
@@ -1,2 +1,2 @@
1
- "use strict";var r=require("tslib"),e=require("react/jsx-runtime"),o=require("react"),t=require("@mui/material"),n=require("../../components/icon/stroke/CheckIcon.js"),i=require("../../components/icon/stroke/CloseIcon.js");const a={root:"FlowStepIcon-root",active:"FlowStepIcon-active",completed:"FlowStepIcon-completed",error:"FlowStepIcon-error",disabled:"FlowStepIcon-disabled"},s=o=>{var{children:n,sx:i}=o,s=r.__rest(o,["children","sx"]);return e.jsx(t.Box,Object.assign({sx:Object.assign({display:"flex",height:"28px",width:"28px",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",fontSize:"16px",[`& .${a.root}`]:{height:"100%",width:"100%",borderRadius:"40px",borderColor:"onSurface.os500",backgroundColor:"transparent",borderWidth:"2px",borderStyle:"solid",color:"transparent",minHeight:"20px",[`&.${a.completed}:not(.${a.active})`]:{color:"onSurface.os700",backgroundColor:r=>"dark"===r.palette.mode?"brand.secondary":"brand.primary",border:"none",height:"100%",width:"100%"},[`&.${a.error}, &.${a.error}.${a.completed}`]:{borderColor:"error.main",backgroundColor:"error.main"},[`&.${a.active}`]:{color:"onSurface.os700",height:"100%",width:"100%",marginRight:"0px",marginLeft:"0px",borderColor:r=>"dark"===r.palette.mode?"brand.secondary":"brand.primary","&::before":{content:'""',position:"absolute",borderRadius:"40px",backgroundColor:r=>"dark"===r.palette.mode?"brand.secondary":"brand.primary",inset:"5px"},[`&.${a.error}`]:{borderColor:"error.main","&::before":{backgroundColor:"transparent.transparent",border:3,inset:"2px",borderColor:"background.primary"}}}}},i)},s,{children:n}))};exports.FlowStepLabelIcon=({active:r,completed:c,error:d,ownerState:l})=>{const{disabled:p}=null!=l?l:{},b=o.useMemo((()=>d?i.CloseIcon:c&&!r?n.CheckIcon:null),[d,c,r]);return e.jsxs(s,{children:[b&&e.jsx(b,{sx:{position:"absolute",fontSize:"inherit",color:"background.primary"}}),e.jsx(t.Box,{className:[a.root,r&&a.active,c&&a.completed,d&&a.error,p&&a.disabled].filter((r=>r)).join(" ")})]})},exports.flowStepIconClasses=a;
1
+ "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),o=require("react"),t=require("@mui/material"),n=require("../../components/icon/stroke/CheckIcon.js"),a=require("../../components/icon/stroke/CloseIcon.js");const i={root:"FlowStepIcon-root",active:"FlowStepIcon-active",completed:"FlowStepIcon-completed",error:"FlowStepIcon-error",disabled:"FlowStepIcon-disabled"},s=n=>{var{children:a,className:s,sx:c}=n,l=e.__rest(n,["children","className","sx"]);const d=o.useRef(!1),p=o.useRef(s);return d.current||p.current===s||(d.current=!0),r.jsxs(t.Box,Object.assign({sx:Object.assign({display:"flex",height:"28px",width:"28px",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",fontSize:"16px","& .MuiSvgIcon-root":{zIndex:"5"},"@keyframes flowStepperActive":{"0%":{transform:"scale(1.5)",opacity:"0.8"},"100%":{transform:"scale(1)",opacity:"1"}},"@keyframes flowStepperCompleted":{"0%":{transform:"scale(.8)",opacity:"0.8"},"100%":{transform:"scale(1)",opacity:"1"}},[`& .${i.root}`]:{height:"100%",width:"100%",borderRadius:"40px",borderColor:"onSurface.os500",backgroundColor:"transparent",borderWidth:"2px",borderStyle:"solid",color:"transparent",minHeight:"20px",[`&.${i.completed}:not(.${i.active})`]:{color:"onSurface.os700",backgroundColor:e=>"dark"===e.palette.mode?"brand.secondary":"brand.primary",border:"none",height:"100%",width:"100%",animation:d.current?"flowStepperCompleted 0.4s":"none"},[`&.${i.error}, &.${i.error}.${i.completed}`]:{borderColor:"error.main",backgroundColor:"error.main"},[`&.${i.active}`]:{color:"onSurface.os700",height:"100%",width:"100%",marginRight:"0px",marginLeft:"0px",borderColor:e=>"dark"===e.palette.mode?"brand.secondary":"brand.primary","&::before":{content:'""',position:"absolute",borderRadius:"40px",backgroundColor:e=>"dark"===e.palette.mode?"brand.secondary":"brand.primary",inset:"5px",animation:d.current?"flowStepperActive 0.4s":"none",zIndex:"1"},[`&.${i.error}`]:{borderColor:"error.main","&::before":{backgroundColor:"transparent.transparent",border:3,inset:"2px",borderColor:"background.primary"}}}}},c)},l,{children:[a,r.jsx(t.Box,{className:s})]}))};exports.FlowStepLabelIcon=({active:e,completed:t,error:c,ownerState:l})=>{const{disabled:d}=null!=l?l:{},p=o.useMemo((()=>c?a.CloseIcon:t&&!e?n.CheckIcon:null),[c,t,e]);return r.jsx(s,{className:[i.root,e&&i.active,t&&i.completed,c&&i.error,d&&i.disabled].filter(Boolean).join(" "),children:p&&r.jsx(p,{sx:{position:"absolute",fontSize:"inherit",color:"background.primary"}})})},exports.flowStepIconClasses=i;
2
2
  //# sourceMappingURL=StepLabelIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepLabelIcon.js","sources":["../../../../../src/materialui/stepper/StepLabelIcon.tsx"],"sourcesContent":["import { useMemo } from 'react';\nimport { Box, BoxProps } from '@mui/material';\nimport { CheckIcon } from '@/src/components/icon/stroke/CheckIcon';\nimport { CloseIcon } from '@/src/components/icon/stroke/CloseIcon';\n\nexport const flowStepIconClasses = {\n root: 'FlowStepIcon-root',\n active: 'FlowStepIcon-active',\n completed: 'FlowStepIcon-completed',\n error: 'FlowStepIcon-error',\n disabled: 'FlowStepIcon-disabled',\n};\n\nexport const FlowStepLabelIcon = ({ active, completed, error, ownerState }) => {\n const { disabled } = ownerState ?? {};\n // obtain icon based on the state\n const IconComponent = useMemo(() => {\n if (error) {\n return CloseIcon;\n } else if (completed && !active) {\n return CheckIcon;\n } else {\n return null;\n }\n }, [error, completed, active]);\n\n return (\n <FlowStepIconRoot>\n {IconComponent && (\n <IconComponent\n sx={{\n position: 'absolute',\n fontSize: 'inherit',\n color: 'background.primary',\n }}\n />\n )}\n <Box\n className={[\n flowStepIconClasses.root,\n active && flowStepIconClasses.active,\n completed && flowStepIconClasses.completed,\n error && flowStepIconClasses.error,\n disabled && flowStepIconClasses.disabled,\n ]\n .filter((c) => c)\n .join(' ')}\n />\n </FlowStepIconRoot>\n );\n};\n\nconst FlowStepIconRoot = ({ children, sx, ...restProps }: BoxProps) => {\n return (\n <Box\n sx={{\n display: 'flex',\n height: '28px',\n width: '28px',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n boxSizing: 'border-box',\n fontSize: '16px',\n // style is also applied in stepButton.theme.ts\n [`& .${flowStepIconClasses.root}`]: {\n height: '100%',\n width: '100%',\n borderRadius: '40px',\n borderColor: 'onSurface.os500',\n backgroundColor: 'transparent',\n borderWidth: '2px',\n borderStyle: 'solid',\n color: 'transparent',\n minHeight: '20px',\n // completed\n [`&.${flowStepIconClasses.completed}:not(.${flowStepIconClasses.active})`]: {\n color: 'onSurface.os700',\n backgroundColor: (theme) => (theme.palette.mode === 'dark' ? 'brand.secondary' : 'brand.primary'),\n border: 'none',\n height: '100%',\n width: '100%',\n },\n // error\n [`&.${flowStepIconClasses.error}, &.${flowStepIconClasses.error}.${flowStepIconClasses.completed}`]: {\n borderColor: 'error.main',\n backgroundColor: 'error.main',\n },\n // disabled style is applied from stepper.theme.ts as it has to be applied only for the non-linear variant\n // active\n [`&.${flowStepIconClasses.active}`]: {\n color: 'onSurface.os700',\n height: '100%',\n width: '100%',\n marginRight: '0px',\n marginLeft: '0px',\n borderColor: (theme) => (theme.palette.mode === 'dark' ? 'brand.secondary' : 'brand.primary'),\n '&::before': {\n content: '\"\"',\n position: 'absolute',\n borderRadius: '40px',\n backgroundColor: (theme) => (theme.palette.mode === 'dark' ? 'brand.secondary' : 'brand.primary'),\n inset: '5px',\n },\n [`&.${flowStepIconClasses.error}`]: {\n borderColor: 'error.main',\n '&::before': {\n backgroundColor: 'transparent.transparent',\n border: 3,\n inset: '2px',\n borderColor: 'background.primary',\n },\n },\n },\n },\n ...sx,\n }}\n {...restProps}\n >\n {children}\n </Box>\n );\n};\n"],"names":["flowStepIconClasses","root","active","completed","error","disabled","FlowStepIconRoot","_a","children","sx","restProps","__rest","_jsx","Box","Object","assign","display","height","width","alignItems","justifyContent","position","boxSizing","fontSize","borderRadius","borderColor","backgroundColor","borderWidth","borderStyle","color","minHeight","theme","palette","mode","border","marginRight","marginLeft","content","inset","ownerState","IconComponent","useMemo","CloseIcon","CheckIcon","_jsxs","jsxs","jsx","className","filter","c","join"],"mappings":"+NAKa,MAAAA,EAAsB,CACjCC,KAAM,oBACNC,OAAQ,sBACRC,UAAW,yBACXC,MAAO,qBACPC,SAAU,yBA0CNC,EAAoBC,QAAAC,SAAEA,EAAQC,GAAEA,GAAEF,EAAKG,EAASC,EAAAA,OAAAJ,EAA5B,mBACxB,OACEK,MAACC,EAAAA,IACCC,OAAAC,OAAA,CAAAN,kBACEO,QAAS,OACTC,OAAQ,OACRC,MAAO,OACPC,WAAY,SACZC,eAAgB,SAChBC,SAAU,WACVC,UAAW,aACXC,SAAU,OAEV,CAAC,MAAMvB,EAAoBC,QAAS,CAClCgB,OAAQ,OACRC,MAAO,OACPM,aAAc,OACdC,YAAa,kBACbC,gBAAiB,cACjBC,YAAa,MACbC,YAAa,QACbC,MAAO,cACPC,UAAW,OAEX,CAAC,KAAK9B,EAAoBG,kBAAkBH,EAAoBE,WAAY,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ui/stepper/StepLabelIcon.tsx"],"sourcesContent":["import { useMemo, useRef } from 'react';\nimport { Box, BoxProps } from '@mui/material';\nimport { CheckIcon } from '@/src/components/icon/stroke/CheckIcon';\nimport { CloseIcon } from '@/src/components/icon/stroke/CloseIcon';\n\nexport const flowStepIconClasses = {\n root: 'FlowStepIcon-root',\n active: 'FlowStepIcon-active',\n completed: 'FlowStepIcon-completed',\n error: 'FlowStepIcon-error',\n disabled: 'FlowStepIcon-disabled',\n};\n\nexport const FlowStepLabelIcon = ({ active, completed, error, ownerState }) => {\n const { disabled } = ownerState ?? {};\n // obtain icon based on the state\n const IconComponent = useMemo(() => {\n if (error) {\n return CloseIcon;\n } else if (completed && !active) {\n return CheckIcon;\n } else {\n return null;\n }\n }, [error, completed, active]);\n\n return (\n <FlowStepIconRoot\n className={[\n flowStepIconClasses.root,\n active && flowStepIconClasses.active,\n completed && flowStepIconClasses.completed,\n error && flowStepIconClasses.error,\n disabled && flowStepIconClasses.disabled,\n ]\n .filter(Boolean)\n .join(' ')}\n >\n {IconComponent && (\n <IconComponent\n sx={{\n position: 'absolute',\n fontSize: 'inherit',\n color: 'background.primary',\n }}\n />\n )}\n </FlowStepIconRoot>\n );\n};\n\nconst FlowStepIconRoot = ({ children, className, sx, ...restProps }: BoxProps) => {\n // during first render (and first state) do not play animation\n const animation = useRef(false);\n const initialClassName = useRef(className);\n if (!animation.current && initialClassName.current !== className) {\n animation.current = true;\n }\n\n return (\n <Box\n sx={{\n display: 'flex',\n height: '28px',\n width: '28px',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n boxSizing: 'border-box',\n fontSize: '16px',\n '& .MuiSvgIcon-root': {\n zIndex: '5',\n },\n [`@keyframes flowStepperActive`]: {\n '0%': {\n transform: 'scale(1.5)',\n opacity: '0.8',\n },\n '100%': {\n transform: 'scale(1)',\n opacity: '1',\n },\n },\n [`@keyframes flowStepperCompleted`]: {\n '0%': {\n transform: 'scale(.8)',\n opacity: '0.8',\n },\n '100%': {\n transform: 'scale(1)',\n opacity: '1',\n },\n },\n // style is also applied in stepButton.theme.ts\n [`& .${flowStepIconClasses.root}`]: {\n height: '100%',\n width: '100%',\n borderRadius: '40px',\n borderColor: 'onSurface.os500',\n backgroundColor: 'transparent',\n borderWidth: '2px',\n borderStyle: 'solid',\n color: 'transparent',\n minHeight: '20px',\n // completed\n [`&.${flowStepIconClasses.completed}:not(.${flowStepIconClasses.active})`]: {\n color: 'onSurface.os700',\n backgroundColor: (theme) => (theme.palette.mode === 'dark' ? 'brand.secondary' : 'brand.primary'),\n border: 'none',\n height: '100%',\n width: '100%',\n animation: animation.current ? 'flowStepperCompleted 0.4s' : 'none',\n },\n // error\n [`&.${flowStepIconClasses.error}, &.${flowStepIconClasses.error}.${flowStepIconClasses.completed}`]: {\n borderColor: 'error.main',\n backgroundColor: 'error.main',\n },\n // disabled style is applied from stepper.theme.ts as it has to be applied only for the non-linear variant\n // active\n [`&.${flowStepIconClasses.active}`]: {\n color: 'onSurface.os700',\n height: '100%',\n width: '100%',\n marginRight: '0px',\n marginLeft: '0px',\n borderColor: (theme) => (theme.palette.mode === 'dark' ? 'brand.secondary' : 'brand.primary'),\n '&::before': {\n content: '\"\"',\n position: 'absolute',\n borderRadius: '40px',\n backgroundColor: (theme) => (theme.palette.mode === 'dark' ? 'brand.secondary' : 'brand.primary'),\n inset: '5px',\n animation: animation.current ? 'flowStepperActive 0.4s' : 'none',\n zIndex: '1',\n },\n [`&.${flowStepIconClasses.error}`]: {\n borderColor: 'error.main',\n '&::before': {\n backgroundColor: 'transparent.transparent',\n border: 3,\n inset: '2px',\n borderColor: 'background.primary',\n },\n },\n },\n },\n ...sx,\n }}\n {...restProps}\n >\n {children}\n <Box className={className} />\n </Box>\n );\n};\n"],"names":["flowStepIconClasses","root","active","completed","error","disabled","FlowStepIconRoot","_a","children","className","sx","restProps","__rest","animation","useRef","initialClassName","current","_jsxs","Box","Object","assign","display","height","width","alignItems","justifyContent","position","boxSizing","fontSize","zIndex","transform","opacity","borderRadius","borderColor","backgroundColor","borderWidth","borderStyle","color","minHeight","theme","palette","mode","border","marginRight","marginLeft","content","inset","_jsx","ownerState","IconComponent","useMemo","CloseIcon","CheckIcon","jsx","filter","Boolean","join"],"mappings":"+NAKa,MAAAA,EAAsB,CACjCC,KAAM,oBACNC,OAAQ,sBACRC,UAAW,yBACXC,MAAO,qBACPC,SAAU,yBAyCNC,EAAoBC,QAAAC,SAAEA,EAAQC,UAAEA,EAASC,GAAEA,KAAOC,EAA9BC,EAAAA,OAAAL,EAAA,CAAA,WAAA,YAAA,OAExB,MAAMM,EAAYC,EAAMA,QAAC,GACnBC,EAAmBD,EAAMA,OAACL,GAKhC,OAJKI,EAAUG,SAAWD,EAAiBC,UAAYP,IACrDI,EAAUG,SAAU,GAIpBC,OAACC,EAAAA,IACCC,OAAAC,OAAA,CAAAV,kBACEW,QAAS,OACTC,OAAQ,OACRC,MAAO,OACPC,WAAY,SACZC,eAAgB,SAChBC,SAAU,WACVC,UAAW,aACXC,SAAU,OACV,qBAAsB,CACpBC,OAAQ,KAEV,+BAAkC,CAChC,KAAM,CACJC,UAAW,aACXC,QAAS,OAEX,OAAQ,CACND,UAAW,WACXC,QAAS,MAGb,kCAAqC,CACnC,KAAM,CACJD,UAAW,YACXC,QAAS,OAEX,OAAQ,CACND,UAAW,WACXC,QAAS,MAIb,CAAC,MAAM/B,EAAoBC,QAAS,CAClCqB,OAAQ,OACRC,MAAO,OACPS,aAAc,OACdC,YAAa,kBACbC,gBAAiB,cACjBC,YAAa,MACbC,YAAa,QACbC,MAAO,cACPC,UAAW,OAEX,CAAC,KAAKtC,EAAoBG,kBAAkBH,EAAoBE,WAAY,CAC1EmC,MAAO,kBACPH,gBAAkBK,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,gBACjFC,OAAQ,OACRpB,OAAQ,OACRC,MAAO,OACPV,UAAWA,EAAUG,QAAU,4BAA8B,QAG/D,CAAC,KAAKhB,EAAoBI,YAAYJ,EAAoBI,SAASJ,EAAoBG,aAAc,CACnG8B,YAAa,aACbC,gBAAiB,cAInB,CAAC,KAAKlC,EAAoBE,UAAW,CACnCmC,MAAO,kBACPf,OAAQ,OACRC,MAAO,OACPoB,YAAa,MACbC,WAAY,MACZX,YAAcM,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,gBAC7E,YAAa,CACXI,QAAS,KACTnB,SAAU,WACVM,aAAc,OACdE,gBAAkBK,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,gBACjFK,MAAO,MACPjC,UAAWA,EAAUG,QAAU,yBAA2B,OAC1Da,OAAQ,KAEV,CAAC,KAAK7B,EAAoBI,SAAU,CAClC6B,YAAa,aACb,YAAa,CACXC,gBAAiB,0BACjBQ,OAAQ,EACRI,MAAO,MACPb,YAAa,0BAKlBvB,IAEDC,EAAS,CAAAH,SAAA,CAEZA,EACDuC,EAAAA,IAAC7B,EAAAA,IAAG,CAACT,UAAWA,OACZ,4BA5IuB,EAAGP,SAAQC,YAAWC,QAAO4C,iBAC5D,MAAM3C,SAAEA,GAAa2C,QAAAA,EAAc,CAAE,EAE/BC,EAAgBC,EAAAA,SAAQ,IACxB9C,EACK+C,EAASA,UACPhD,IAAcD,EAChBkD,EAASA,UAET,MAER,CAAChD,EAAOD,EAAWD,IAEtB,OACE6C,EAAAM,IAAC/C,EAAgB,CACfG,UAAW,CACTT,EAAoBC,KACpBC,GAAUF,EAAoBE,OAC9BC,GAAaH,EAAoBG,UACjCC,GAASJ,EAAoBI,MAC7BC,GAAYL,EAAoBK,UAE/BiD,OAAOC,SACPC,KAAK,KAEPhD,SAAAyC,GACCF,MAACE,EACC,CAAAvC,GAAI,CACFgB,SAAU,WACVE,SAAU,UACVS,MAAO,yBAII"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("./StepLabelIcon.js");const t={defaultProps:{alternativeLabel:!0,size:"medium"},styleOverrides:{horizontal:{"& .MuiStepContent-root":{borderLeft:"none"},"&:not(.MuiStepper-alternativeLabel)":{alignItems:"flex-start","& .MuiStepConnector-root":{marginTop:"13px"}}},vertical:({theme:e,size:t})=>Object.assign({"& .MuiStep-alternativeLabel":{"& .MuiStepConnector-root":{display:"none"},"& .MuiStepContent-root":{paddingLeft:"0",marginLeft:"0",border:"none"}},"& .MuiStepContent-root":Object.assign({paddingLeft:"24px",marginLeft:"12px"},"small"!==t&&{borderLeft:`2px solid ${e.palette.onSurface.os300}`}),"& .MuiStepLabel-alternativeLabel":{alignItems:"flex-start",textAlign:"start"}},"small"===t&&{"& .MuiStepLabel-vertical":{padding:"0"},"& .MuiStepLabel-iconContainer":{"& > div":{minHeight:"20px"},"&.Mui-active > div":{height:"100%",maxHeight:"200px",minHeight:"20px"}}}),root:({size:t,theme:i})=>Object.assign({},"small"===t&&{gap:i.spacing(.5),"& .MuiStepConnector-root":{display:"none"},"& .MuiStepLabel-labelContainer":{display:"none"},"& .MuiStepLabel-root":{width:"100%"},"&:not(.MuiStepper-vertical) .MuiStepLabel-iconContainer.Mui-active > div":{width:"100%",maxWidth:"200px"},"&.MuiStepper-vertical:not(.MuiStepper-horizontal)":{"& .MuiStepLabel-iconContainer.Mui-active > div":{height:"60px"}},"& .MuiStep-root":{flexGrow:"0",flexBasis:"auto",paddingRight:i.spacing(.25),paddingLeft:i.spacing(.25),[`&:has(.${e.flowStepIconClasses.active})`]:{flexGrow:"1",maxWidth:"200px",minWidth:"20px"}},"& .MuiStepLabel-iconContainer":{width:"100%","&:not(.Mui-error) svg":{display:"none"}},"& .MuiStepLabel-iconContainer > div":{minWidth:"20px",width:"20px",height:"20px",minHeight:"20px",fontSize:"14px"},[`&& .${e.flowStepIconClasses.root}.${e.flowStepIconClasses.active}::before`]:{inset:"0",borderWidth:"0"}}),nonLinear:({theme:t,size:i})=>({[`& .${e.flowStepIconClasses.root}.${e.flowStepIconClasses.disabled}`]:Object.assign(Object.assign({},"small"!==i&&{[`&:not(.${e.flowStepIconClasses.completed})::after`]:{content:'"!"',lineHeight:"24px",fontSize:"inherit",fontWeight:"800",color:t.palette.background.primary}}),{[`&:not(.${e.flowStepIconClasses.active})`]:{borderColor:t.palette.disabled.secondary,backgroundColor:t.palette.disabled.secondary},[`&:.${e.flowStepIconClasses.active}`]:{borderColor:t.palette.disabled.secondary,"&::before":{backgroundColor:t.palette.disabled.secondary}}})})}};exports.flowStepper=t;
1
+ "use strict";var e=require("./StepLabelIcon.js");const t={defaultProps:{alternativeLabel:!0,size:"medium"},styleOverrides:{horizontal:{"& .MuiStepContent-root":{borderLeft:"none"},"&:not(.MuiStepper-alternativeLabel)":{alignItems:"flex-start","& .MuiStepConnector-root":{marginTop:"13px"}}},vertical:({theme:e,size:t})=>Object.assign({"& .MuiStep-alternativeLabel":{"& .MuiStepConnector-root":{display:"none"},"& .MuiStepContent-root":{paddingLeft:"0",marginLeft:"0",border:"none"}},"& .MuiStepContent-root":Object.assign({paddingLeft:"24px",marginLeft:"12px"},"small"!==t&&{borderLeft:`2px solid ${e.palette.onSurface.os300}`}),"& .MuiStepLabel-alternativeLabel":{alignItems:"flex-start",textAlign:"start"}},"small"===t&&{"& .MuiStepLabel-vertical":{padding:"0"},"& .MuiStepLabel-iconContainer":{"& > div":{minHeight:"20px"},"&.Mui-active > div":{height:"100%",maxHeight:"200px",minHeight:"20px"}}}),root:({size:t,theme:i})=>Object.assign({},"small"===t&&{[i.breakpoints.up("xl")]:{gap:i.spacing(.5)},"& .MuiStepConnector-root":{display:"none"},"& .MuiStepLabel-labelContainer":{display:"none"},"& .MuiStepLabel-root":{width:"100%"},"&:not(.MuiStepper-vertical) .MuiStepLabel-iconContainer.Mui-active > div":{width:"100%",maxWidth:"200px"},"&.MuiStepper-vertical:not(.MuiStepper-horizontal)":{"& .MuiStepLabel-iconContainer.Mui-active > div":{height:"60px"}},"& .MuiStep-root":{flexGrow:"0",flexBasis:"auto",paddingRight:i.spacing(.25),paddingLeft:i.spacing(.25),[`&:has(.${e.flowStepIconClasses.active})`]:{flexGrow:"1",maxWidth:"200px",minWidth:"20px"}},"& .MuiStepLabel-iconContainer":{width:"100%","&:not(.Mui-error) svg":{display:"none"}},"& .MuiStepLabel-iconContainer > div":{minWidth:"20px",width:"20px",height:"20px",minHeight:"20px",fontSize:"14px"},[`&&& .${e.flowStepIconClasses.root}.${e.flowStepIconClasses.active}::before`]:{inset:"0",borderWidth:"0",animation:"none"}}),nonLinear:({theme:t,size:i})=>({[`& .${e.flowStepIconClasses.root}.${e.flowStepIconClasses.disabled}`]:Object.assign(Object.assign({},"small"!==i&&{[`&:not(.${e.flowStepIconClasses.completed})::after`]:{content:'"!"',lineHeight:"24px",fontSize:"inherit",fontWeight:"800",color:t.palette.background.primary}}),{[`&:not(.${e.flowStepIconClasses.active})`]:{borderColor:t.palette.disabled.secondary,backgroundColor:t.palette.disabled.secondary},[`&:.${e.flowStepIconClasses.active}`]:{borderColor:t.palette.disabled.secondary,"&::before":{backgroundColor:t.palette.disabled.secondary}}})})}};exports.flowStepper=t;
2
2
  //# sourceMappingURL=stepper.theme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stepper.theme.js","sources":["../../../../../src/materialui/stepper/stepper.theme.ts"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\nimport { flowStepIconClasses } from './StepLabelIcon';\n\nexport const flowStepper: Components<Theme>['MuiStepper'] = {\n defaultProps: {\n alternativeLabel: true,\n size: 'medium',\n },\n styleOverrides: {\n horizontal: {\n '& .MuiStepContent-root': {\n borderLeft: 'none',\n },\n '&:not(.MuiStepper-alternativeLabel)': {\n alignItems: 'flex-start',\n '& .MuiStepConnector-root': {\n marginTop: '13px',\n },\n },\n },\n vertical: ({ theme, size }) => ({\n '& .MuiStep-alternativeLabel': {\n // when vertical and alternativeLabel don't display connector\n '& .MuiStepConnector-root': {\n display: 'none',\n },\n // when vertical and alternativeLabel the content should be right on side\n '& .MuiStepContent-root': {\n paddingLeft: '0',\n marginLeft: '0',\n border: 'none',\n },\n },\n '& .MuiStepContent-root': {\n paddingLeft: '24px',\n marginLeft: '12px',\n // when the size is not small apply border\n ...(size !== 'small' && { borderLeft: `2px solid ${theme.palette.onSurface.os300}` }),\n },\n '& .MuiStepLabel-alternativeLabel': {\n alignItems: 'flex-start',\n textAlign: 'start',\n },\n\n ...(size === 'small' && {\n '& .MuiStepLabel-vertical': {\n padding: '0',\n },\n '& .MuiStepLabel-iconContainer': {\n '& > div': {\n minHeight: '20px',\n },\n '&.Mui-active > div': {\n height: '100%',\n maxHeight: '200px',\n minHeight: '20px',\n },\n },\n }),\n }),\n root: ({ size, theme }) => ({\n ...(size === 'small' && {\n gap: theme.spacing(0.5),\n // hide dividers\n '& .MuiStepConnector-root': {\n display: 'none',\n },\n // hide labels\n '& .MuiStepLabel-labelContainer': {\n display: 'none',\n },\n '& .MuiStepLabel-root': {\n width: '100%',\n },\n // when compact and horizontal apply more width\n '&:not(.MuiStepper-vertical) .MuiStepLabel-iconContainer.Mui-active > div': {\n width: '100%',\n maxWidth: '200px',\n },\n // vertical\n '&.MuiStepper-vertical:not(.MuiStepper-horizontal)': {\n '& .MuiStepLabel-iconContainer.Mui-active > div': {\n height: '60px',\n },\n },\n '& .MuiStep-root': {\n flexGrow: '0',\n flexBasis: 'auto',\n paddingRight: theme.spacing(0.25),\n paddingLeft: theme.spacing(0.25),\n [`&:has(.${flowStepIconClasses.active})`]: {\n flexGrow: '1',\n maxWidth: '200px',\n minWidth: '20px',\n },\n },\n '& .MuiStepLabel-iconContainer': {\n width: '100%',\n // in compact mode show icon only for error\n '&:not(.Mui-error) svg': {\n display: 'none',\n },\n },\n '& .MuiStepLabel-iconContainer > div': {\n minWidth: '20px',\n width: '20px',\n height: '20px',\n minHeight: '20px',\n fontSize: '14px',\n },\n // when the stepper is in small variant, the inset of the icon should be 0\n [`&& .${flowStepIconClasses.root}.${flowStepIconClasses.active}::before`]: {\n inset: '0',\n borderWidth: '0',\n },\n }),\n }),\n nonLinear: ({ theme, size }) => ({\n // only non-linear variant show disabled style\n [`& .${flowStepIconClasses.root}.${flowStepIconClasses.disabled}`]: {\n // exclamation mark\n ...(size !== 'small' && {\n [`&:not(.${flowStepIconClasses.completed})::after`]: {\n content: '\"!\"',\n lineHeight: '24px',\n fontSize: 'inherit',\n fontWeight: '800',\n color: theme.palette.background.primary,\n },\n }),\n // default\n [`&:not(.${flowStepIconClasses.active})`]: {\n borderColor: theme.palette.disabled.secondary,\n backgroundColor: theme.palette.disabled.secondary,\n },\n // active\n [`&:.${flowStepIconClasses.active}`]: {\n borderColor: theme.palette.disabled.secondary,\n '&::before': {\n backgroundColor: theme.palette.disabled.secondary,\n },\n },\n },\n }),\n },\n};\n"],"names":["flowStepper","defaultProps","alternativeLabel","size","styleOverrides","horizontal","borderLeft","alignItems","marginTop","vertical","theme","Object","assign","display","paddingLeft","marginLeft","border","palette","onSurface","os300","textAlign","padding","minHeight","height","maxHeight","root","gap","spacing","width","maxWidth","flexGrow","flexBasis","paddingRight","flowStepIconClasses","active","minWidth","fontSize","inset","borderWidth","nonLinear","disabled","completed","content","lineHeight","fontWeight","color","background","primary","borderColor","secondary","backgroundColor"],"mappings":"iDAGa,MAAAA,EAA+C,CAC1DC,aAAc,CACZC,kBAAkB,EAClBC,KAAM,UAERC,eAAgB,CACdC,WAAY,CACV,yBAA0B,CACxBC,WAAY,QAEd,sCAAuC,CACrCC,WAAY,aACZ,2BAA4B,CAC1BC,UAAW,UAIjBC,SAAU,EAAGC,QAAOP,UAClBQ,OAAAC,OAAA,CAAA,8BAA+B,CAE7B,2BAA4B,CAC1BC,QAAS,QAGX,yBAA0B,CACxBC,YAAa,IACbC,WAAY,IACZC,OAAQ,SAGZ,yBAAwBL,OAAAC,OAAA,CACtBE,YAAa,OACbC,WAAY,QAEC,UAATZ,GAAoB,CAAEG,WAAY,aAAaI,EAAMO,QAAQC,UAAUC,UAE7E,mCAAoC,CAClCZ,WAAY,aACZa,UAAW,UAGA,UAATjB,GAAoB,CACtB,2BAA4B,CAC1BkB,QAAS,KAEX,gCAAiC,CAC/B,UA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QAAQuB,SAASS,UACpC,YAAa,CACXC,gBAAiBxC,EAAMO,QAAQuB,SAASS"}
1
+ {"version":3,"file":"stepper.theme.js","sources":["../../../../../src/materialui/stepper/stepper.theme.ts"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\nimport { flowStepIconClasses } from './StepLabelIcon';\n\nexport const flowStepper: Components<Theme>['MuiStepper'] = {\n defaultProps: {\n alternativeLabel: true,\n size: 'medium',\n },\n styleOverrides: {\n horizontal: {\n '& .MuiStepContent-root': {\n borderLeft: 'none',\n },\n '&:not(.MuiStepper-alternativeLabel)': {\n alignItems: 'flex-start',\n '& .MuiStepConnector-root': {\n marginTop: '13px',\n },\n },\n },\n vertical: ({ theme, size }) => ({\n '& .MuiStep-alternativeLabel': {\n // when vertical and alternativeLabel don't display connector\n '& .MuiStepConnector-root': {\n display: 'none',\n },\n // when vertical and alternativeLabel the content should be right on side\n '& .MuiStepContent-root': {\n paddingLeft: '0',\n marginLeft: '0',\n border: 'none',\n },\n },\n '& .MuiStepContent-root': {\n paddingLeft: '24px',\n marginLeft: '12px',\n // when the size is not small apply border\n ...(size !== 'small' && { borderLeft: `2px solid ${theme.palette.onSurface.os300}` }),\n },\n '& .MuiStepLabel-alternativeLabel': {\n alignItems: 'flex-start',\n textAlign: 'start',\n },\n\n ...(size === 'small' && {\n '& .MuiStepLabel-vertical': {\n padding: '0',\n },\n '& .MuiStepLabel-iconContainer': {\n '& > div': {\n minHeight: '20px',\n },\n '&.Mui-active > div': {\n height: '100%',\n maxHeight: '200px',\n minHeight: '20px',\n },\n },\n }),\n }),\n root: ({ size, theme }) => ({\n ...(size === 'small' && {\n [theme.breakpoints.up('xl')]: {\n gap: theme.spacing(0.5),\n },\n // hide dividers\n '& .MuiStepConnector-root': {\n display: 'none',\n },\n // hide labels\n '& .MuiStepLabel-labelContainer': {\n display: 'none',\n },\n '& .MuiStepLabel-root': {\n width: '100%',\n },\n // when compact and horizontal apply more width\n '&:not(.MuiStepper-vertical) .MuiStepLabel-iconContainer.Mui-active > div': {\n width: '100%',\n maxWidth: '200px',\n },\n // vertical\n '&.MuiStepper-vertical:not(.MuiStepper-horizontal)': {\n '& .MuiStepLabel-iconContainer.Mui-active > div': {\n height: '60px',\n },\n },\n '& .MuiStep-root': {\n flexGrow: '0',\n flexBasis: 'auto',\n paddingRight: theme.spacing(0.25),\n paddingLeft: theme.spacing(0.25),\n [`&:has(.${flowStepIconClasses.active})`]: {\n flexGrow: '1',\n maxWidth: '200px',\n minWidth: '20px',\n },\n },\n '& .MuiStepLabel-iconContainer': {\n width: '100%',\n // in compact mode show icon only for error\n '&:not(.Mui-error) svg': {\n display: 'none',\n },\n },\n '& .MuiStepLabel-iconContainer > div': {\n minWidth: '20px',\n width: '20px',\n height: '20px',\n minHeight: '20px',\n fontSize: '14px',\n },\n // when the stepper is in small variant, the inset of the icon should be 0\n [`&&& .${flowStepIconClasses.root}.${flowStepIconClasses.active}::before`]: {\n inset: '0',\n borderWidth: '0',\n animation: 'none',\n },\n }),\n }),\n nonLinear: ({ theme, size }) => ({\n // only non-linear variant show disabled style\n [`& .${flowStepIconClasses.root}.${flowStepIconClasses.disabled}`]: {\n // exclamation mark\n ...(size !== 'small' && {\n [`&:not(.${flowStepIconClasses.completed})::after`]: {\n content: '\"!\"',\n lineHeight: '24px',\n fontSize: 'inherit',\n fontWeight: '800',\n color: theme.palette.background.primary,\n },\n }),\n // default\n [`&:not(.${flowStepIconClasses.active})`]: {\n borderColor: theme.palette.disabled.secondary,\n backgroundColor: theme.palette.disabled.secondary,\n },\n // active\n [`&:.${flowStepIconClasses.active}`]: {\n borderColor: theme.palette.disabled.secondary,\n '&::before': {\n backgroundColor: theme.palette.disabled.secondary,\n },\n },\n },\n }),\n },\n};\n"],"names":["flowStepper","defaultProps","alternativeLabel","size","styleOverrides","horizontal","borderLeft","alignItems","marginTop","vertical","theme","Object","assign","display","paddingLeft","marginLeft","border","palette","onSurface","os300","textAlign","padding","minHeight","height","maxHeight","root","breakpoints","up","gap","spacing","width","maxWidth","flexGrow","flexBasis","paddingRight","flowStepIconClasses","active","minWidth","fontSize","inset","borderWidth","animation","nonLinear","disabled","completed","content","lineHeight","fontWeight","color","background","primary","borderColor","secondary","backgroundColor"],"mappings":"iDAGa,MAAAA,EAA+C,CAC1DC,aAAc,CACZC,kBAAkB,EAClBC,KAAM,UAERC,eAAgB,CACdC,WAAY,CACV,yBAA0B,CACxBC,WAAY,QAEd,sCAAuC,CACrCC,WAAY,aACZ,2BAA4B,CAC1BC,UAAW,UAIjBC,SAAU,EAAGC,QAAOP,UAClBQ,OAAAC,OAAA,CAAA,8BAA+B,CAE7B,2BAA4B,CAC1BC,QAAS,QAGX,yBAA0B,CACxBC,YAAa,IACbC,WAAY,IACZC,OAAQ,SAGZ,yBAAwBL,OAAAC,OAAA,CACtBE,YAAa,OACbC,WAAY,QAEC,UAATZ,GAAoB,CAAEG,WAAY,aAAaI,EAAMO,QAAQC,UAAUC,UAE7E,mCAAoC,CAClCZ,WAAY,aACZa,UAAW,UAGA,UAATjB,GAAoB,CACtB,2BAA4B,CAC1BkB,QAAS,KAEX,gCAAiC,CAC/B,UAAW,CACTC,UAAW,QAEb,qBAAsB,CACpBC,OAAQ,OACRC,UAAW,QACXF,UAAW,WAKnBG,KAAM,EAAGtB,OAAMO,WACVC,OAAAC,OAAA,CAAA,EAAU,UAATT,GAAoB,CACtB,CAACO,EAAMgB,YAAYC,GAAG,OAAQ,CAC5BC,IAAKlB,EAAMmB,QAAQ,KAGrB,2BAA4B,CAC1BhB,QAAS,QAGX,iCAAkC,CAChCA,QAAS,QAEX,uBAAwB,CACtBiB,MAAO,QAGT,2EAA4E,CAC1EA,MAAO,OACPC,SAAU,SAGZ,oDAAqD,CACnD,iDAAkD,CAChDR,OAAQ,SAGZ,kBAAmB,CACjBS,SAAU,IACVC,UAAW,OACXC,aAAcxB,EAAMmB,QAAQ,KAC5Bf,YAAaJ,EAAMmB,QAAQ,KAC3B,CAAC,UAAUM,EAAAA,oBAAoBC,WAAY,CACzCJ,SAAU,IACVD,SAAU,QACVM,SAAU,SAGd,gCAAiC,CAC/BP,MAAO,OAEP,wBAAyB,CACvBjB,QAAS,SAGb,sCAAuC,CACrCwB,SAAU,OACVP,MAAO,OACPP,OAAQ,OACRD,UAAW,OACXgB,SAAU,QAGZ,CAAC,QAAQH,EAAAA,oBAAoBV,QAAQU,sBAAoBC,kBAAmB,CAC1EG,MAAO,IACPC,YAAa,IACbC,UAAW,UAIjBC,UAAW,EAAGhC,QAAOP,WAAY,CAE/B,CAAC,MAAMgC,EAAmBA,oBAACV,QAAQU,EAAmBA,oBAACQ,YAElDhC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAU,UAATT,GAAoB,CACtB,CAAC,UAAUgC,EAAAA,oBAAoBS,qBAAsB,CACnDC,QAAS,MACTC,WAAY,OACZR,SAAU,UACVS,WAAY,MACZC,MAAOtC,EAAMO,QAAQgC,WAAWC,WAElC,CAEF,CAAC,UAAUf,EAAAA,oBAAoBC,WAAY,CACzCe,YAAazC,EAAMO,QAAQ0B,SAASS,UACpCC,gBAAiB3C,EAAMO,QAAQ0B,SAASS,WAG1C,CAAC,MAAMjB,sBAAoBC,UAAW,CACpCe,YAAazC,EAAMO,QAAQ0B,SAASS,UACpC,YAAa,CACXC,gBAAiB3C,EAAMO,QAAQ0B,SAASS"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),o=require("../../components/icon/stroke/ArrowLeftIcon.js"),n=require("../../components/icon/stroke/ArrowRightIcon.js"),i=require("../../components/icon/stroke/ChevronPreviousIcon.js"),s=require("../../components/icon/stroke/ChevronNextIcon.js"),r=require("../../components/focusring/focusring.js");const a={defaultProps:{showFirstButton:!1,showLastButton:!1,labelDisplayedRows:({from:o,to:n,count:i,page:s})=>e.jsxs(e.Fragment,{children:[e.jsx(t.Box,{component:"strong",children:s+1}),e.jsx(t.Box,{component:"span",className:"divider",children:" / "}),e.jsx(t.Box,{component:"span",children:Math.round(i/(s>=1?(o-1)/s:n-o+1))||1})]}),slots:{actions:{previousButtonIcon:o.ArrowLeftIcon,nextButtonIcon:n.ArrowRightIcon,firstButtonIcon:i.ChevronPreviousIcon,lastButtonIcon:s.ChevronNextIcon}},slotProps:{actions:{previousButton:{size:"medium",className:"MuiTablePagination-actions-previous"},nextButton:{size:"medium",className:"MuiTablePagination-actions-next"},firstButton:{size:"medium"},lastButton:{size:"medium"}}}},styleOverrides:{root:({theme:e})=>({border:`1px solid ${e.palette.surface.secondary}`,borderRadius:"8px","&td":{border:"none",borderRadius:"0"}}),toolbar:({theme:e})=>({justifyContent:"center",[e.breakpoints.up("md")]:{minHeight:"80px",padding:"4px 24px"},[e.breakpoints.down("md")]:{flexWrap:"wrap",minHeight:"0",padding:"8px 16px"}}),spacer:({theme:e})=>Object.assign(Object.assign({flexGrow:"1",flexBasis:"auto"},e.typography.body),{[e.breakpoints.down("sm")]:{flexBasis:"100%",textAlign:"center"}}),selectLabel:{margin:"0"},input:({theme:e})=>Object.assign(Object.assign(Object.assign({margin:"0",padding:"0",borderRadius:"4px"},e.typography.body),r.getFocusRingStyle(e,!1,"0px","&.Mui-focused")),{[e.breakpoints.up("xs")]:{fontWeight:"700"},"&& .MuiSelect-select":{padding:"4px 26px 4px 4px"}}),displayedRows:({theme:e,ownerState:t})=>({position:"absolute",right:24+(t.showLastButton?88:44)+"px",width:"90px",textAlign:"center",whiteSpace:"nowrap",height:"44px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0",color:"dark"===e.palette.mode?e.palette.onSurface.os300:e.palette.onSurface.os700,strong:{color:e.palette.text.primary},".divider":{fontWeight:"400",margin:"0 4px"},[e.breakpoints.down("md")]:{bottom:"8px",right:"0",left:"0",margin:"0 auto"}}),actions:({theme:e})=>({margin:"0",display:"flex",alignItems:"center",justifyContent:"flex-end",flexGrow:"1","& .MuiTablePagination-actions-next":{marginLeft:"90px"},[e.breakpoints.down("md")]:{flexBasis:"100%",justifyContent:"center"}})}};exports.flowTablePagination=a;
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),o=require("../../components/icon/stroke/ArrowLeftIcon.js"),n=require("../../components/icon/stroke/ArrowRightIcon.js"),i=require("../../components/icon/stroke/ChevronPreviousIcon.js"),s=require("../../components/icon/stroke/ChevronNextIcon.js"),r=require("../../components/focusring/focusring.js");const a={defaultProps:{showFirstButton:!1,showLastButton:!1,labelDisplayedRows:({from:o,to:n,count:i,page:s})=>e.jsxs(e.Fragment,{children:[e.jsx(t.Box,{component:"strong",children:s+1}),e.jsx(t.Box,{component:"span",className:"divider",children:" / "}),e.jsx(t.Box,{component:"span",children:Math.round(i/(s>=1?(o-1)/s:n-o+1))||1})]}),slots:{actions:{previousButtonIcon:o.ArrowLeftIcon,nextButtonIcon:n.ArrowRightIcon,firstButtonIcon:i.ChevronPreviousIcon,lastButtonIcon:s.ChevronNextIcon}},slotProps:{actions:{previousButton:{size:"medium",className:"MuiTablePagination-actions-previous"},nextButton:{size:"medium",className:"MuiTablePagination-actions-next"},firstButton:{size:"medium"},lastButton:{size:"medium"}}}},styleOverrides:{root:({theme:e})=>({border:`1px solid ${e.palette.surface.secondary}`,borderRadius:"8px","&td":{border:"none",borderRadius:"0"}}),toolbar:({theme:e})=>({position:"relative",justifyContent:"center",[e.breakpoints.up("md")]:{minHeight:"80px",padding:"4px 24px"},[e.breakpoints.down("md")]:{flexWrap:"wrap",minHeight:"0",padding:"8px 16px"}}),spacer:({theme:e})=>Object.assign(Object.assign({flexGrow:"1",flexBasis:"auto"},e.typography.body),{[e.breakpoints.down("sm")]:{flexBasis:"100%",textAlign:"center"}}),selectLabel:{margin:"0"},input:({theme:e})=>Object.assign(Object.assign(Object.assign({margin:"0",padding:"0",borderRadius:"4px"},e.typography.body),r.getFocusRingStyle(e,!1,"0px","&.Mui-focused")),{[e.breakpoints.up("xs")]:{fontWeight:"700"},"&& .MuiSelect-select":{padding:"4px 26px 4px 4px"}}),displayedRows:({theme:e,ownerState:t})=>({position:"absolute",right:24+(t.showLastButton?88:44)+"px",width:"90px",textAlign:"center",whiteSpace:"nowrap",height:"44px",display:"flex",alignItems:"center",justifyContent:"center",margin:"0",color:"dark"===e.palette.mode?e.palette.onSurface.os300:e.palette.onSurface.os700,strong:{color:e.palette.text.primary},".divider":{fontWeight:"400",margin:"0 4px"},[e.breakpoints.down("md")]:{bottom:"8px",right:"0",left:"0",margin:"0 auto"}}),actions:({theme:e})=>({margin:"0",display:"flex",alignItems:"center",justifyContent:"flex-end",flexGrow:"1","& .MuiTablePagination-actions-next":{marginLeft:"90px"},[e.breakpoints.down("md")]:{flexBasis:"100%",justifyContent:"center"}})}};exports.flowTablePagination=a;
2
2
  //# sourceMappingURL=tablePagination.theme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tablePagination.theme.js","sources":["../../../../../src/materialui/table/tablePagination.theme.tsx"],"sourcesContent":["import { Components } from '@mui/material/styles';\nimport { Theme, Box } from '@mui/material';\nimport { ArrowLeftIcon } from '@/src/components/icon/stroke/ArrowLeftIcon';\nimport { ArrowRightIcon } from '@/src/components/icon/stroke/ArrowRightIcon';\nimport { ChevronPreviousIcon } from '@/src/components/icon/stroke/ChevronPreviousIcon';\nimport { ChevronNextIcon } from '@/src/components/icon/stroke/ChevronNextIcon';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport const flowTablePagination: Components<Theme>['MuiTablePagination'] = {\n defaultProps: {\n // not recommended properties, <Pagination /> component should be utilized instead\n showFirstButton: false,\n showLastButton: false,\n // adjust label\n // we are obtaining max page from the available params\n // - first page, calculated from 'from' and 'to'\n // - other pages, calculated from 'from' - 1 and diving by current page\n labelDisplayedRows: ({ from, to, count, page }) => (\n <>\n <Box component=\"strong\">{page + 1}</Box>\n <Box component=\"span\" className=\"divider\">{` / `}</Box>\n <Box component=\"span\">{Math.round(count / (page >= 1 ? (from - 1) / page : to - from + 1)) || 1}</Box>\n </>\n ),\n // correct icons\n slots: {\n actions: {\n // navigation arrows\n previousButtonIcon: ArrowLeftIcon,\n nextButtonIcon: ArrowRightIcon,\n // first & last extra arrow (hidden by default)\n firstButtonIcon: ChevronPreviousIcon,\n lastButtonIcon: ChevronNextIcon,\n },\n },\n slotProps: {\n actions: {\n previousButton: {\n size: 'medium',\n className: 'MuiTablePagination-actions-previous',\n },\n nextButton: {\n size: 'medium',\n className: 'MuiTablePagination-actions-next',\n },\n firstButton: {\n size: 'medium',\n },\n lastButton: {\n size: 'medium',\n },\n },\n },\n },\n styleOverrides: {\n root: ({ theme }) => ({\n // we are outside table\n border: `1px solid ${theme.palette.surface.secondary}`,\n borderRadius: '8px',\n // part of <TableFooter /> and <TableRow />\n '&td': {\n border: 'none',\n borderRadius: '0',\n },\n }),\n // wrapper under root\n toolbar: ({ theme }) => ({\n justifyContent: 'center',\n // mimic style from tableCell.theme\n [theme.breakpoints.up('md')]: {\n minHeight: '80px',\n // right padding also affect position of displayedRows\n padding: '4px 24px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // support multiple rows\n flexWrap: 'wrap',\n // adjust proportions\n minHeight: '0',\n padding: '8px 16px',\n },\n }),\n // first element on left side\n spacer: ({ theme }) => ({\n // make sure to keep most of the space on the left\n flexGrow: '1',\n flexBasis: 'auto',\n // in case text is provided\n ...theme.typography.body,\n // tiny responsive\n [theme.breakpoints.down('sm')]: {\n // take whole row\n flexBasis: '100%',\n textAlign: 'center',\n },\n }),\n // 'row per page:' text\n selectLabel: {\n margin: '0',\n },\n // input field for amount of rows\n input: ({ theme }) => ({\n margin: '0',\n padding: '0',\n borderRadius: '4px',\n ...theme.typography.body,\n ...getFocusRingStyle(theme, false, '0px', '&.Mui-focused'),\n [theme.breakpoints.up('xs')]: {\n fontWeight: '700',\n },\n '&& .MuiSelect-select': {\n padding: '4px 26px 4px 4px',\n },\n }),\n // label of current page, 1/10\n displayedRows: ({ theme, ownerState }) => ({\n // move into actions\n position: 'absolute',\n // IconButton size + padding\n right: `${(ownerState.showLastButton ? 44 * 2 : 44) + 24}px`,\n // this requires fixed size, also prevents jumping\n width: '90px',\n textAlign: 'center',\n whiteSpace: 'nowrap',\n // match size of IconButtons\n height: '44px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n // proportions and style\n margin: '0',\n color: theme.palette.mode === 'dark' ? theme.palette.onSurface.os300 : theme.palette.onSurface.os700,\n strong: {\n color: theme.palette.text.primary,\n },\n '.divider': {\n fontWeight: '400',\n margin: '0 4px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // move to 2nd row (matches new padding from toolbar)\n bottom: '8px',\n // move to center\n right: '0',\n left: '0',\n margin: '0 auto',\n },\n }),\n // navigation arrows, < >\n actions: ({ theme }) => ({\n margin: '0',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n // make sure to keep most of the space on the right\n flexGrow: '1',\n '& .MuiTablePagination-actions-next': {\n // extra space for displayedRows\n marginLeft: '90px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // move to new row\n flexBasis: '100%',\n // center content\n justifyContent: 'center',\n },\n }),\n },\n};\n"],"names":["flowTablePagination","defaultProps","showFirstButton","showLastButton","labelDisplayedRows","from","to","count","page","_jsxs","_Fragment","Fragment","children","_jsx","Box","component","jsx","className","Math","round","slots","actions","previousButtonIcon","ArrowLeftIcon","nextButtonIcon","ArrowRightIcon","firstButtonIcon","ChevronPreviousIcon","lastButtonIcon","ChevronNextIcon","slotProps","previousButton","size","nextButton","firstButton","lastButton","styleOverrides","root","theme","border","palette","surface","secondary","borderRadius","toolbar","justifyContent","breakpoints","up","minHeight","padding","down","flexWrap","spacer","Object","assign","flexGrow","flexBasis","typography","body","textAlign","selectLabel","margin","input","getFocusRingStyle","fontWeight","displayedRows","ownerState","position","right","width","whiteSpace","height","display","alignItems","color","mode","onSurface","os300","os700","strong","text","primary","bottom","left","marginLeft"],"mappings":"qXAQa,MAAAA,EAA+D,CAC1EC,aAAc,CAEZC,iBAAiB,EACjBC,gBAAgB,EAKhBC,mBAAoB,EAAGC,O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,IACRZ,QAAS,IACTN,aAAc,OACXL,EAAMmB,WAAWC,MACjBK,EAAAA,kBAAkBzB,GAAO,EAAO,MAAO,mBAC1C,CAACA,EAAMQ,YAAYC,GAAG,OAAQ,CAC5BiB,WAAY,OAEd,uBAAwB,CACtBf,QAAS,sBAIbgB,cAAe,EAAG3B,QAAO4B,iBAAkB,CAEzCC,SAAU,WAEVC,MAAsD,IAA3CF,EAAW/D,eAAiB,GAAS,IAAzC,KAEPkE,MAAO,OACPV,UAAW,SACXW,WAAY,SAEZC,OAAQ,OACRC,QAAS,OACTC,WAAY,SACZ5B,eAAgB,SAEhBgB,OAAQ,IACRa,MAA8B,SAAvBpC,EAAME,QAAQmC,KAAkBrC,EAAME,QAAQoC,UAAUC,MAAQvC,EAAME,QAAQoC,UAAUE,MAC/FC,OAAQ,CACNL,MAAOpC,EAAME,QAAQwC,KAAKC,SAE5B,WAAY,CACVjB,WAAY,MACZH,OAAQ,SAGV,CAACvB,EAAMQ,YAAYI,KAAK,OAAQ,CAE9BgC,OAAQ,MAERd,MAAO,IACPe,KAAM,IACNtB,OAAQ,YAIZxC,QAAS,EAAGiB,YAAa,CACvBuB,OAAQ,IACRW,QAAS,OACTC,WAAY,SACZ5B,eAAgB,WAEhBU,SAAU,IACV,qCAAsC,CAEpC6B,WAAY,QAGd,CAAC9C,EAAMQ,YAAYI,KAAK,OAAQ,CAE9BM,UAAW,OAEXX,eAAgB"}
1
+ {"version":3,"file":"tablePagination.theme.js","sources":["../../../../../src/materialui/table/tablePagination.theme.tsx"],"sourcesContent":["import { Components } from '@mui/material/styles';\nimport { Theme, Box } from '@mui/material';\nimport { ArrowLeftIcon } from '@/src/components/icon/stroke/ArrowLeftIcon';\nimport { ArrowRightIcon } from '@/src/components/icon/stroke/ArrowRightIcon';\nimport { ChevronPreviousIcon } from '@/src/components/icon/stroke/ChevronPreviousIcon';\nimport { ChevronNextIcon } from '@/src/components/icon/stroke/ChevronNextIcon';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport const flowTablePagination: Components<Theme>['MuiTablePagination'] = {\n defaultProps: {\n // not recommended properties, <Pagination /> component should be utilized instead\n showFirstButton: false,\n showLastButton: false,\n // adjust label\n // we are obtaining max page from the available params\n // - first page, calculated from 'from' and 'to'\n // - other pages, calculated from 'from' - 1 and diving by current page\n labelDisplayedRows: ({ from, to, count, page }) => (\n <>\n <Box component=\"strong\">{page + 1}</Box>\n <Box component=\"span\" className=\"divider\">{` / `}</Box>\n <Box component=\"span\">{Math.round(count / (page >= 1 ? (from - 1) / page : to - from + 1)) || 1}</Box>\n </>\n ),\n // correct icons\n slots: {\n actions: {\n // navigation arrows\n previousButtonIcon: ArrowLeftIcon,\n nextButtonIcon: ArrowRightIcon,\n // first & last extra arrow (hidden by default)\n firstButtonIcon: ChevronPreviousIcon,\n lastButtonIcon: ChevronNextIcon,\n },\n },\n slotProps: {\n actions: {\n previousButton: {\n size: 'medium',\n className: 'MuiTablePagination-actions-previous',\n },\n nextButton: {\n size: 'medium',\n className: 'MuiTablePagination-actions-next',\n },\n firstButton: {\n size: 'medium',\n },\n lastButton: {\n size: 'medium',\n },\n },\n },\n },\n styleOverrides: {\n root: ({ theme }) => ({\n // we are outside table\n border: `1px solid ${theme.palette.surface.secondary}`,\n borderRadius: '8px',\n // part of <TableFooter /> and <TableRow />\n '&td': {\n border: 'none',\n borderRadius: '0',\n },\n }),\n // wrapper under root\n toolbar: ({ theme }) => ({\n position: 'relative',\n justifyContent: 'center',\n // mimic style from tableCell.theme\n [theme.breakpoints.up('md')]: {\n minHeight: '80px',\n // right padding also affect position of displayedRows\n padding: '4px 24px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // support multiple rows\n flexWrap: 'wrap',\n // adjust proportions\n minHeight: '0',\n padding: '8px 16px',\n },\n }),\n // first element on left side\n spacer: ({ theme }) => ({\n // make sure to keep most of the space on the left\n flexGrow: '1',\n flexBasis: 'auto',\n // in case text is provided\n ...theme.typography.body,\n // tiny responsive\n [theme.breakpoints.down('sm')]: {\n // take whole row\n flexBasis: '100%',\n textAlign: 'center',\n },\n }),\n // 'row per page:' text\n selectLabel: {\n margin: '0',\n },\n // input field for amount of rows\n input: ({ theme }) => ({\n margin: '0',\n padding: '0',\n borderRadius: '4px',\n ...theme.typography.body,\n ...getFocusRingStyle(theme, false, '0px', '&.Mui-focused'),\n [theme.breakpoints.up('xs')]: {\n fontWeight: '700',\n },\n '&& .MuiSelect-select': {\n padding: '4px 26px 4px 4px',\n },\n }),\n // label of current page, 1/10\n displayedRows: ({ theme, ownerState }) => ({\n // move into actions\n position: 'absolute',\n // IconButton size + padding\n right: `${(ownerState.showLastButton ? 44 * 2 : 44) + 24}px`,\n // this requires fixed size, also prevents jumping\n width: '90px',\n textAlign: 'center',\n whiteSpace: 'nowrap',\n // match size of IconButtons\n height: '44px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n // proportions and style\n margin: '0',\n color: theme.palette.mode === 'dark' ? theme.palette.onSurface.os300 : theme.palette.onSurface.os700,\n strong: {\n color: theme.palette.text.primary,\n },\n '.divider': {\n fontWeight: '400',\n margin: '0 4px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // move to 2nd row (matches new padding from toolbar)\n bottom: '8px',\n // move to center\n right: '0',\n left: '0',\n margin: '0 auto',\n },\n }),\n // navigation arrows, < >\n actions: ({ theme }) => ({\n margin: '0',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n // make sure to keep most of the space on the right\n flexGrow: '1',\n '& .MuiTablePagination-actions-next': {\n // extra space for displayedRows\n marginLeft: '90px',\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n // move to new row\n flexBasis: '100%',\n // center content\n justifyContent: 'center',\n },\n }),\n },\n};\n"],"names":["flowTablePagination","defaultProps","showFirstButton","showLastButton","labelDisplayedRows","from","to","count","page","_jsxs","_Fragment","Fragment","children","_jsx","Box","component","jsx","className","Math","round","slots","actions","previousButtonIcon","ArrowLeftIcon","nextButtonIcon","ArrowRightIcon","firstButtonIcon","ChevronPreviousIcon","lastButtonIcon","ChevronNextIcon","slotProps","previousButton","size","nextButton","firstButton","lastButton","styleOverrides","root","theme","border","palette","surface","secondary","borderRadius","toolbar","position","justifyContent","breakpoints","up","minHeight","padding","down","flexWrap","spacer","Object","assign","flexGrow","flexBasis","typography","body","textAlign","selectLabel","margin","input","getFocusRingStyle","fontWeight","displayedRows","ownerState","right","width","whiteSpace","height","display","alignItems","color","mode","onSurface","os300","os700","strong","text","primary","bottom","left","marginLeft"],"mappings":"qXAQa,MAAAA,EAA+D,CAC1EC,aAAc,CAEZC,iBAAiB,EACjBC,gBAAgB,EAKhBC,mBAAoB,EAAGC,OAAMC,KAAIC,QAAOC,UACtCC,EAAAA,KAAAC,EAAAC,SAAA,CAAAC,SAAA,CACEC,EAAAA,IAACC,EAAAA,IAAG,CAACC,UAAU,SAAUH,SAAAJ,EAAO,IAChCK,EAACG,IAAAF,MAAI,CAAAC,UAAU,OAAOE,UAAU,mBAAW,QAC3CJ,EAAAG,IAACF,EAAGA,IAAC,CAAAC,UAAU,OAAMH,SAAEM,KAAKC,MAAMZ,GAASC,GAAQ,GAAKH,EAAO,GAAKG,EAAOF,EAAKD,EAAO,KAAO,OAIlGe,MAAO,CACLC,QAAS,CAEPC,mBAAoBC,EAAaA,cACjCC,eAAgBC,EAAcA,eAE9BC,gBAAiBC,EAAmBA,oBACpCC,eAAgBC,EAAeA,kBAGnCC,UAAW,CACTT,QAAS,CACPU,eAAgB,CACdC,KAAM,SACNf,UAAW,uCAEbgB,WAAY,CACVD,KAAM,SACNf,UAAW,mCAEbiB,YAAa,CACXF,KAAM,UAERG,WAAY,CACVH,KAAM,aAKdI,eAAgB,CACdC,KAAM,EAAGC,YAAa,CAEpBC,OAAQ,aAAaD,EAAME,QAAQC,QAAQC,YAC3CC,aAAc,MAEd,MAAO,CACLJ,OAAQ,OACRI,aAAc,OAIlBC,QAAS,EAAGN,YAAa,CACvBO,SAAU,WACVC,eAAgB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sC,CAEpC4B,WAAY,QAGd,CAAC9C,EAAMS,YAAYI,KAAK,OAAQ,CAE9BM,UAAW,OAEXX,eAAgB"}
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * This component renders a scroll button that changes based on the scroll direction
3
3
  */
4
- export declare const FlowScrollButtonComponent: ({ direction, slots, slotProps, ...rest }: {
4
+ export declare const FlowScrollButton: ({ direction, slots, slotProps, ownerState, ...rest }: {
5
5
  [x: string]: any;
6
6
  direction: any;
7
7
  slots: any;
8
8
  slotProps: any;
9
+ ownerState: any;
9
10
  }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),t=require("@mui/material"),o=require("../../components/icon/stroke/ChevronLeftIcon.js"),s=require("../../components/icon/stroke/ChevronRightIcon.js");exports.FlowScrollButton=n=>{var{direction:i,slots:l,slotProps:c,ownerState:a}=n,u=e.__rest(n,["direction","slots","slotProps","ownerState"]);return r.jsx(t.IconButton,Object.assign({"aria-label":"left"===i?"Scroll left":"Scroll right",size:"small",sx:{m:"4px"}},u,{children:"left"===i?r.jsx(o.ChevronLeftIcon,{}):r.jsx(s.ChevronRightIcon,{})}))};
2
+ //# sourceMappingURL=ScrollButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollButton.js","sources":["../../../../../src/materialui/tabs/ScrollButton.tsx"],"sourcesContent":["import { IconButton } from '@mui/material';\nimport { ChevronLeftIcon } from '@/src/components/icon/stroke/ChevronLeftIcon';\nimport { ChevronRightIcon } from '@/src/components/icon/stroke/ChevronRightIcon';\n\n/**\n * This component renders a scroll button that changes based on the scroll direction\n */\nexport const FlowScrollButton = ({ direction, slots, slotProps, ownerState, ...rest }) => {\n return (\n <IconButton\n aria-label={direction === 'left' ? 'Scroll left' : 'Scroll right'}\n size=\"small\"\n sx={{ m: '4px' }}\n {...rest}\n >\n {direction === 'left' ? <ChevronLeftIcon /> : <ChevronRightIcon />}\n </IconButton>\n );\n};\n"],"names":["_a","direction","slots","slotProps","ownerState","rest","__rest","_jsx","IconButton","Object","assign","size","sx","m","ChevronLeftIcon","ChevronRightIcon"],"mappings":"kPAOiCA,IAAA,IAAAC,UAAEA,EAASC,MAAEA,EAAKC,UAAEA,EAASC,WAAEA,GAAUJ,EAAKK,EAA9CC,EAAAA,OAAAN,EAAA,CAAA,YAAA,QAAA,YAAA,eAC/B,OACEO,MAACC,EAAUA,WAAAC,OAAAC,OAAA,CAAA,aACiB,SAAdT,EAAuB,cAAgB,eACnDU,KAAK,QACLC,GAAI,CAAEC,EAAG,QACLR,YAEW,SAAdJ,EAAuBM,EAAAA,IAACO,EAAAA,gBAAe,CAAA,GAAMP,MAACQ,EAAgBA,iBAAA,CAAA,KACpD"}
@@ -3,6 +3,6 @@ import { ButtonBaseProps } from '@mui/material';
3
3
  /**
4
4
  * Component used to render Tab, contains duplication of label to change font-weight without changing width
5
5
  */
6
- export declare const FlowTabComponent: React.FC<ButtonBaseProps & {
6
+ export declare const FlowTab: React.FC<ButtonBaseProps & {
7
7
  link?: boolean;
8
8
  }>;
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("tslib"),i=require("react/jsx-runtime"),s=require("react"),a=require("@mui/material");const t=s.forwardRef(((t,n)=>{var r,{children:l,link:o=!1}=t,c=e.__rest(t,["children","link"]);const b=s.useMemo((()=>({display:"inherit",alignItems:"inherit",justifyContent:"inherit",flexDirection:"inherit",gap:"inherit"})),[]);return i.jsx(a.ButtonBase,Object.assign({ref:n,"aria-label":"navigation"},o&&{component:"a"},c,{tabIndex:(null===(r=c.className)||void 0===r?void 0:r.includes("Mui-disabled"))?-1:0,children:i.jsxs(a.Box,{className:"FlowTab-labelWrapper",sx:Object.assign(Object.assign({},b),{position:"relative"}),children:[i.jsx(a.Box,{className:"FlowTab-label",sx:Object.assign(Object.assign({},b),{position:"absolute"}),children:l}),i.jsx(a.Box,{className:"FlowTab-selectedLabel",sx:Object.assign(Object.assign({},b),{fontWeight:"700",opacity:"0",position:"relative"}),"aria-hidden":"true",children:l})]})}))}));exports.FlowTab=t;
2
+ //# sourceMappingURL=Tab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tab.js","sources":["../../../../../src/materialui/tabs/Tab.tsx"],"sourcesContent":["import React, { useMemo, forwardRef } from 'react';\nimport { Box, ButtonBase, ButtonBaseProps } from '@mui/material';\n\n/**\n * Component used to render Tab, contains duplication of label to change font-weight without changing width\n */\nexport const FlowTab: React.FC<ButtonBaseProps & { link?: boolean }> = forwardRef(\n ({ children, link = false, ...rest }, ref) => {\n // shared style between label and selectedLabel\n const sharedLabelSx = useMemo(\n () => ({\n display: 'inherit',\n alignItems: 'inherit',\n justifyContent: 'inherit',\n flexDirection: 'inherit',\n gap: 'inherit',\n }),\n [],\n );\n\n return (\n <ButtonBase\n ref={ref}\n aria-label=\"navigation\"\n {...(link && { component: 'a' })}\n {...rest}\n tabIndex={rest.className?.includes('Mui-disabled') ? -1 : 0}\n >\n <Box className=\"FlowTab-labelWrapper\" sx={{ ...sharedLabelSx, position: 'relative' }}>\n <Box\n className=\"FlowTab-label\"\n sx={{\n ...sharedLabelSx,\n position: 'absolute',\n // expands from center, can be changed to expand from left/right with left: 0;\n }}\n >\n {children}\n </Box>\n <Box\n className=\"FlowTab-selectedLabel\"\n sx={{\n ...sharedLabelSx,\n fontWeight: '700',\n // hidden by default, appears once Tab is selected (tab.theme)\n opacity: '0',\n position: 'relative',\n }}\n aria-hidden=\"true\"\n >\n {children}\n </Box>\n </Box>\n </ButtonBase>\n );\n },\n);\n"],"names":["FlowTab","forwardRef","_a","ref","children","link","rest","__rest","sharedLabelSx","useMemo","display","alignItems","justifyContent","flexDirection","gap","_jsx","jsx","ButtonBase","component","tabIndex","_b","className","includes","_jsxs","jsxs","Box","sx","Object","assign","position","fontWeight","opacity"],"mappings":"iHAMa,MAAAA,EAA0DC,EAAUA,YAC/E,CAACC,EAAqCC,YAArCC,SAAEA,EAAQC,KAAEA,GAAO,KAAUC,EAA7BC,EAAAA,OAAAL,EAAA,CAAA,WAAA,SAEC,MAAMM,EAAgBC,EAAAA,SACpB,KAAO,CACLC,QAAS,UACTC,WAAY,UACZC,eAAgB,UAChBC,cAAe,UACfC,IAAK,aAEP,IAGF,OACEC,EAACC,IAAAC,EAAUA,0BACTd,IAAKA,EACM,aAAA,cACNE,GAAQ,CAAEa,UAAW,KACtBZ,GACJa,UAAwB,QAAdC,EAAAd,EAAKe,iBAAS,IAAAD,OAAA,EAAAA,EAAEE,SAAS,oBAAuB,EAE1DlB,SAAAmB,EAAAC,KAACC,EAAGA,IAAA,CAACJ,UAAU,uBAAuBK,GAAEC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAOpB,GAAe,CAAAqB,SAAU,aAAUzB,SAAA,CAChFW,EAAAA,IAACU,EAAGA,IAAA,CACFJ,UAAU,gBACVK,GAAEC,OAAAC,OAAAD,OAAAC,OAAA,GACGpB,GACH,CAAAqB,SAAU,aAAUzB,SAIrBA,IAEHW,MAACU,EAAAA,IAAG,CACFJ,UAAU,wBACVK,GAAEC,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACGpB,GACH,CAAAsB,WAAY,MAEZC,QAAS,IACTF,SAAU,aAAU,cAEV,OAAMzB,SAEjBA,SAGM"}
@@ -1,9 +1,5 @@
1
1
  import { ElementType } from 'react';
2
2
  import { BoxProps } from '@mui/material';
3
- /**
4
- * @interface TabPanelProps
5
- * @description Interface of TabPanel component.
6
- */
7
3
  export interface TabPanelProps extends BoxProps<ElementType> {
8
4
  /**
9
5
  * currently selected tab
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),a=require("@mui/material");exports.TabPanel=function(i){var{children:t,value:n,index:l}=i,s=e.__rest(i,["children","value","index"]);return r.jsx(a.Box,Object.assign({role:"tabpanel","data-testid":`TabPanel-${l}`},s,{children:n===l&&t}))};
2
- //# sourceMappingURL=tabPanel.js.map
1
+ "use strict";var e=require("tslib"),r=require("react/jsx-runtime"),a=require("@mui/material");exports.TabPanel=function(i){var{children:t,value:n,index:l}=i,s=e.__rest(i,["children","value","index"]);return r.jsx(a.Box,Object.assign({role:"tabpanel","data-testid":`TabPanel-${l}`,"aria-hidden":n!==l},s,{children:n===l&&t}))};
2
+ //# sourceMappingURL=TabPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabPanel.js","sources":["../../../../../src/materialui/tabs/TabPanel.tsx"],"sourcesContent":["import React, { ElementType } from 'react';\nimport { Box, BoxProps } from '@mui/material';\n\nexport interface TabPanelProps extends BoxProps<ElementType> {\n /**\n * currently selected tab\n */\n value?: number | string;\n /**\n * index of the tab panel, when equals to value, content is shown\n */\n index?: number | string;\n}\n\n/**\n * Show or hide content based on the provided value and index\n */\nexport function TabPanel({ children, value, index, ...rest }: TabPanelProps) {\n return (\n <Box role=\"tabpanel\" data-testid={`TabPanel-${index}`} aria-hidden={value !== index} {...rest}>\n {value === index && children}\n </Box>\n );\n}\n"],"names":["_a","children","value","index","rest","__rest","_jsx","jsx","Box","Object","assign","role"],"mappings":"+GAiBM,SAAmBA,OAAAC,SAAEA,EAAQC,MAAEA,EAAKC,MAAEA,KAAUC,EAA7BC,EAAAA,OAAAL,EAAA,CAAA,WAAA,QAAA,UACvB,OACEM,EAACC,IAAAC,MAAIC,OAAAC,OAAA,CAAAC,KAAK,WAAU,cAAc,YAAYR,IAAO,cAAeD,IAAUC,GAAWC,EACtF,CAAAH,SAAAC,IAAUC,GAASF,IAG1B"}
@@ -1,5 +1,5 @@
1
1
  export { Tab, Tabs } from '@mui/material';
2
2
  export type { TabProps, TabsProps } from '@mui/material';
3
- export * from './tabPanel';
4
- export * from './tabComponent';
5
- export * from './scrollButtonComponent';
3
+ export * from './TabPanel';
4
+ export * from './Tab';
5
+ export * from './ScrollButton';
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime"),t=require("./tabComponent.js"),o=require("../../components/focusring/focusring.js");const i={defaultProps:{disableRipple:!0,iconPosition:"start",component:t.FlowTabComponent,LinkComponent:o=>e.jsx(t.FlowTabComponent,Object.assign({link:!0},o))},styleOverrides:{root:({theme:e,ownerState:t})=>Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",overflow:"visible",padding:"4px 8px",minHeight:"0",minWidth:"0",gap:"8px",margin:"2px 2px 14px",borderRadius:"4px",fontSize:"20px",textTransform:"none",fontWeight:"400",color:e.palette.onSurface.os500,transition:"color 0.3s ease-out","&:hover":{color:e.palette.text.primary}},t.icon&&Object.assign(Object.assign({},"start"===t.iconPosition&&{"& .FlowTab-label":{left:"0"}}),"end"===t.iconPosition&&{"& .FlowTab-label":{right:"0"}})),{"&.Mui-selected":{color:e.palette.text.primary,fontWeight:"700","& .FlowTab-label":{display:"none"},"& .FlowTab-selectedLabel":{opacity:"1"}},"&.Mui-disabled":{color:e.palette.disabled.tertiary}}),o.getFocusRingStyle(e,!1,"2px")),{[e.breakpoints.down("md")]:{fontSize:"16px",marginBottom:"10px"}})}};exports.flowTab=i;
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("./Tab.js"),i=require("../../components/focusring/focusring.js");const o={defaultProps:{disableRipple:!0,iconPosition:"start",component:t.FlowTab,LinkComponent:i=>e.jsx(t.FlowTab,Object.assign({link:!0},i))},styleOverrides:{root:({theme:e,ownerState:t})=>Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",overflow:"visible",padding:"8px 8px",minHeight:"0",minWidth:"0",gap:"8px",margin:"2px 2px 10px",borderRadius:"4px",fontSize:"20px",textTransform:"none",fontWeight:"400",color:e.palette.text.primary,"&:hover, &.Mui-focusVisible":{"& .FlowTab-label":{display:"none"},"& .FlowTab-selectedLabel":{opacity:"1"}}},t.icon&&Object.assign(Object.assign({},"start"===t.iconPosition&&{"& .FlowTab-label":{left:"0"}}),"end"===t.iconPosition&&{"& .FlowTab-label":{right:"0"}})),{"&.Mui-selected":{color:e.palette.text.primary,fontWeight:"700","& .FlowTab-label":{display:"none"},"& .FlowTab-selectedLabel":{opacity:"1"}},"&.Mui-disabled":{color:e.palette.disabled.tertiary}}),i.getFocusRingStyle(e,!1,"2px")),{[e.breakpoints.down("md")]:{fontSize:"16px",marginBottom:"10px"}})}};exports.flowTab=o;
2
2
  //# sourceMappingURL=tab.theme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tab.theme.js","sources":["../../../../../src/materialui/tabs/tab.theme.tsx"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\nimport { FlowTabComponent } from './tabComponent';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport const flowTab: Components<Theme>['MuiTab'] = {\n defaultProps: {\n disableRipple: true,\n iconPosition: 'start',\n // duplicate labels so we can change font-weight without increasing width\n component: FlowTabComponent,\n LinkComponent: (props) => <FlowTabComponent link {...props} />,\n },\n styleOverrides: {\n root: ({ theme, ownerState }) => ({\n position: 'relative',\n overflow: 'visible',\n // proportions\n padding: '4px 8px',\n minHeight: '0',\n minWidth: '0',\n // space between label and icon\n gap: '8px',\n // make sure there is space for focused boxShadow\n margin: '2px 2px 14px',\n // style\n borderRadius: '4px',\n // custom font style according to design\n fontSize: '20px',\n textTransform: 'none',\n fontWeight: '400',\n // colors and effects\n color: theme.palette.onSurface.os500,\n transition: 'color 0.3s ease-out',\n '&:hover': {\n color: theme.palette.text.primary,\n },\n // icon in tab\n ...(ownerState.icon && {\n // prevent icon from jumping between switching font weights\n ...(ownerState.iconPosition === 'start' && {\n // expand from left\n '& .FlowTab-label': {\n left: '0',\n },\n }),\n ...(ownerState.iconPosition === 'end' && {\n // expand from right\n '& .FlowTab-label': {\n right: '0',\n },\n }),\n }),\n // active\n '&.Mui-selected': {\n color: theme.palette.text.primary,\n fontWeight: '700',\n // hide regular label\n '& .FlowTab-label': {\n display: 'none',\n },\n // show selected label with bolder font\n '& .FlowTab-selectedLabel': {\n opacity: '1',\n },\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n // focused style\n ...getFocusRingStyle(theme, false, '2px'),\n // responsive\n [theme.breakpoints.down('md')]: {\n fontSize: '16px',\n marginBottom: '10px',\n },\n }),\n },\n};\n"],"names":["flowTab","defaultProps","disableRipple","iconPosition","component","FlowTabComponent","LinkComponent","props","_jsx","jsx","Object","assign","link","styleOverrides","root","theme","ownerState","position","overflow","padding","minHeight","minWidth","gap","margin","borderRadius","fontSize","textTransform","fontWeight","color","palette","onSurface","os500","transition","text","primary","icon","left","right","display","opacity","disabled","tertiary","getFocusRingStyle","breakpoints","down","marginBottom"],"mappings":"oIAIa,MAAAA,EAAuC,CAClDC,aAAc,CACZC,eAAe,EACfC,aAAc,QAEdC,UAAWC,EAAgBA,iBAC3BC,cAAgBC,GAAUC,EAACC,IAAAJ,mBAAiBK,OAAAC,OAAA,CAAAC,MAAS,GAAAL,KAEvDM,eAAgB,CACdC,KAAM,EAAGC,QAAOC,yEACdC,SAAU,WACVC,SAAU,UAEVC,QAAS,UACTC,UAAW,IACXC,SAAU,IAEVC,IAAK,MAELC,OAAQ,eAERC,aAAc,MAEdC,SAAU,OACVC,cAAe,OACfC,WAAY,MAEZC,MAAOb,EAAMc,QAAQC,UAAUC,MAC/BC,WAAY,sBACZ,UAAW,CACTJ,MAAOb,EAAMc,QAAQI,KAAKC,UAGxBlB,EAAWmB,MAAIzB,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAEe,UAA5BK,EAAWb,cAA4B,CAEzC,mBAAoB,CAClBiC,KAAM,OAGsB,QAA5BpB,EAAWb,cAA0B,CAEvC,mBAAoB,CAClBkC,MAAO,QAGX,CAEF,iBAAkB,CAChBT,MAAOb,EAAMc,QAAQI,KAAKC,QAC1BP,WAAY,MAEZ,mBAAoB,CAClBW,QAAS,QAGX,2BAA4B,CAC1BC,QAAS,MAIb,iBAAkB,CAChBX,MAAOb,EAAMc,QAAQW,SAASC,YAG7BC,EAAAA,kBAAkB3B,GAAO,EAAO,QAAM,CAEzC,CAACA,EAAM4B,YAAYC,KAAK,OAAQ,CAC9BnB,SAAU,OACVoB,aAAc"}
1
+ {"version":3,"file":"tab.theme.js","sources":["../../../../../src/materialui/tabs/tab.theme.tsx"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\nimport { FlowTab } from './Tab';\nimport { getFocusRingStyle } from '@/src/components/focusring/focusring';\n\nexport const flowTab: Components<Theme>['MuiTab'] = {\n defaultProps: {\n disableRipple: true,\n iconPosition: 'start',\n // duplicate labels so we can change font-weight without increasing width\n component: FlowTab,\n LinkComponent: (props) => <FlowTab link {...props} />,\n },\n styleOverrides: {\n root: ({ theme, ownerState }) => ({\n position: 'relative',\n overflow: 'visible',\n // proportions\n padding: '8px 8px',\n minHeight: '0',\n minWidth: '0',\n // space between label and icon\n gap: '8px',\n // make sure there is space for focused boxShadow\n margin: '2px 2px 10px',\n // style\n borderRadius: '4px',\n // custom font style according to design\n fontSize: '20px',\n textTransform: 'none',\n fontWeight: '400',\n // colors and effects\n color: theme.palette.text.primary,\n '&:hover, &.Mui-focusVisible': {\n // hide regular label\n '& .FlowTab-label': {\n display: 'none',\n },\n // show selected label with bolder font\n '& .FlowTab-selectedLabel': {\n opacity: '1',\n },\n },\n // icon in tab\n ...(ownerState.icon && {\n // prevent icon from jumping between switching font weights\n ...(ownerState.iconPosition === 'start' && {\n // expand from left\n '& .FlowTab-label': {\n left: '0',\n },\n }),\n ...(ownerState.iconPosition === 'end' && {\n // expand from right\n '& .FlowTab-label': {\n right: '0',\n },\n }),\n }),\n // active\n '&.Mui-selected': {\n color: theme.palette.text.primary,\n fontWeight: '700',\n // hide regular label\n '& .FlowTab-label': {\n display: 'none',\n },\n // show selected label with bolder font\n '& .FlowTab-selectedLabel': {\n opacity: '1',\n },\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n // focused style\n ...getFocusRingStyle(theme, false, '2px'),\n // responsive\n [theme.breakpoints.down('md')]: {\n fontSize: '16px',\n marginBottom: '10px',\n },\n }),\n },\n};\n"],"names":["flowTab","defaultProps","disableRipple","iconPosition","component","FlowTab","LinkComponent","props","_jsx","jsx","Object","assign","link","styleOverrides","root","theme","ownerState","position","overflow","padding","minHeight","minWidth","gap","margin","borderRadius","fontSize","textTransform","fontWeight","color","palette","text","primary","display","opacity","icon","left","right","disabled","tertiary","getFocusRingStyle","breakpoints","down","marginBottom"],"mappings":"2HAIa,MAAAA,EAAuC,CAClDC,aAAc,CACZC,eAAe,EACfC,aAAc,QAEdC,UAAWC,EAAOA,QAClBC,cAAgBC,GAAUC,EAACC,IAAAJ,UAAQK,OAAAC,OAAA,CAAAC,MAAS,GAAAL,KAE9CM,eAAgB,CACdC,KAAM,EAAGC,QAAOC,yEACdC,SAAU,WACVC,SAAU,UAEVC,QAAS,UACTC,UAAW,IACXC,SAAU,IAEVC,IAAK,MAELC,OAAQ,eAERC,aAAc,MAEdC,SAAU,OACVC,cAAe,OACfC,WAAY,MAEZC,MAAOb,EAAMc,QAAQC,KAAKC,QAC1B,8BAA+B,CAE7B,mBAAoB,CAClBC,QAAS,QAGX,2BAA4B,CAC1BC,QAAS,OAITjB,EAAWkB,MAAIxB,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAEe,UAA5BK,EAAWb,cAA4B,CAEzC,mBAAoB,CAClBgC,KAAM,OAGsB,QAA5BnB,EAAWb,cAA0B,CAEvC,mBAAoB,CAClBiC,MAAO,QAGX,CAEF,iBAAkB,CAChBR,MAAOb,EAAMc,QAAQC,KAAKC,QAC1BJ,WAAY,MAEZ,mBAAoB,CAClBK,QAAS,QAGX,2BAA4B,CAC1BC,QAAS,MAIb,iBAAkB,CAChBL,MAAOb,EAAMc,QAAQQ,SAASC,YAG7BC,EAAAA,kBAAkBxB,GAAO,EAAO,QAAM,CAEzC,CAACA,EAAMyB,YAAYC,KAAK,OAAQ,CAC9BhB,SAAU,OACViB,aAAc"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime"),t=require("@mui/material"),r=require("./scrollButtonComponent.js"),a=require("../../components/focusring/focusring.js"),o=require("../button/interactive.js");const i={defaultProps:{scrollButtons:!1,allowScrollButtonsMobile:!0,visibleScrollbar:!0,variant:"scrollable",TabIndicatorProps:{children:e.jsx(t.Box,{sx:{backgroundColor:"currentColor",height:"100%",width:"100%"}})},ScrollButtonComponent:r.FlowScrollButtonComponent},styleOverrides:{root:({ownerState:e})=>Object.assign(Object.assign({minHeight:"0",alignItems:"center",gap:"8px"},e.fullWidth||"fullWidth"===e.variant?{"& .MuiTab-root":{flexGrow:"1"}}:{}),e.centered?{justifyContent:"center"}:{}),flexContainer:({theme:e})=>({gap:"16px",[e.breakpoints.up("md")]:{gap:"28px"}}),indicator:({theme:e,ownerState:t})=>Object.assign({maxWidth:"none",background:"transparent",display:"flex",paddingLeft:"8px",paddingRight:"8px",height:"3px",color:"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.brand.primary},"secondary"===t.indicatorColor&&{color:e.palette.text.primary}),scroller:({ownerState:e})=>({flexGrow:e.fullWidth||"fullWidth"===e.variant?"1":"0","&::-webkit-scrollbar:horizontal":{height:"24px"},"&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal":{borderWidth:"10px"}}),scrollButtons:({theme:e})=>({color:e.palette.text.primary})},variants:[{props:{template:"underlined"},style:({theme:e})=>({marginLeft:"-6px",marginRight:"-6px",maxWidth:"none","& .MuiTabs-scroller":{"&::-webkit-scrollbar:horizontal":{height:"16px"},"&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal":{borderWidth:"6px"}},"& .MuiTabs-flexContainer":{padding:"6px",gap:"0"},"& .MuiTabs-indicator":{bottom:"6px",paddingLeft:"0",paddingRight:"0"},"& .MuiTab-root":Object.assign(Object.assign({margin:"0",padding:"12px 24px",[e.breakpoints.down("md")]:{paddingTop:"10px",paddingBottom:"10px"},borderRadius:"0",color:"dark"===e.palette.mode?e.palette.onSurface.os300:e.palette.onSurface.os700},e.typography.subheadline),{[e.breakpoints.up("xs")]:{fontWeight:"300"},"&:after":{content:'""',position:"absolute",left:"0",right:"0",bottom:"0",height:"1px",backgroundColor:e.palette.onSurface.os500},"&:hover, &.Mui-focusVisible":{color:"dark"===e.palette.mode?e.palette.onSurface.os300:e.palette.onSurface.os700,"& .FlowTab-label":{display:"none"},"& .FlowTab-selectedLabel":{opacity:"1"},"&:after":{height:"2px"}},"&.Mui-selected":{color:"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.brand.primary,backgroundColor:"dark"===e.palette.mode?e.palette.surface.primary:e.palette.transparent.primary},"&.Mui-disabled":{color:e.palette.disabled.tertiary},"&.Mui-focusVisible":{zIndex:"10",boxShadow:`0 0 0 2px ${e.palette.background.primary}`,"&:before":{inset:"-2px",borderRadius:"4px"}}})})},{props:{template:"buttons"},style:({theme:e})=>({"& .MuiTabs-flexContainer":{gap:"8px"},"& .MuiTabs-indicator":{display:"none"},"& .MuiTab-root":Object.assign(Object.assign(Object.assign({border:"1px solid transparent",padding:"6px 16px",borderRadius:"555px",transition:"all 0.3s ease-out",fontSize:"14px",fontWeight:"700",marginBottom:"2px"},a.updateFocusRingStyle("0px",!1)),o.getInteractiveStyle({backgroundColor:"transparent",color:e.palette.onSurface.os500},{backgroundColor:e.palette.surface.primary,color:e.palette.text.primary})),{"&.Mui-selected":Object.assign({},o.getInteractiveStyle({backgroundColor:e.palette.brand.quarternary,color:e.palette.text.primary,borderColor:e.palette.brand.primary},{backgroundColor:e.palette.brand.quarternary,color:e.palette.brand.primary,borderColor:e.palette.brand.primary})),[e.breakpoints.down("md")]:{"&, &.Mui-selected, & .FlowTab-selectedLabel":{fontWeight:"400"}}})})},{props:{template:"navigation"},style:({theme:e})=>({paddingTop:"12px","& .MuiTabs-flexContainer":{gap:"10px"},"& .MuiTab-root":Object.assign(Object.assign({},e.typography.caption1),{color:e.palette.text.primary,[e.breakpoints.up("xs")]:{fontWeight:"300"},"&.Mui-disabled":{color:e.palette.disabled.tertiary}})})},{props:{template:"segmented"},style:({theme:e})=>({gap:"4px",color:"dark"===e.palette.mode?e.palette.surface.primary:e.palette.transparent.secondary,"& .MuiTabs-scroller":{backgroundColor:"currentColor",borderRadius:"555px"},"& .MuiTabs-flexContainer":{gap:"8px"},"& .MuiTabs-indicator":{color:"dark"===e.palette.mode?e.palette.surface.secondary:e.palette.common.white,height:"100%",padding:"0",zIndex:"10",borderRadius:"555px","& > .MuiBox-root":{position:"relative",borderRadius:"555px",border:`2px solid ${"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.text.primary}`}},"& .MuiTabs-scrollButtons":{width:"32px",height:"32px","& .MuiSvgIcon-root":{fontSize:"18px"}},"& .MuiTab-root":Object.assign(Object.assign({margin:"0",padding:"8px 16px",borderRadius:"555px",transition:"all 0.3s ease-out",gap:"10px",zIndex:"20","& .MuiSvgIcon-root":{fontSize:"20px",margin:"4px 0"}},e.typography.subheadline),{color:e.palette.text.primary,[e.breakpoints.up("xs")]:{"&, &.Mui-selected, & .FlowTab-selectedLabel":{fontWeight:"400"}},"&:hover, &.Mui-focusVisible":{backgroundColor:e.palette.surface.primary},"&.Mui-selected":{color:"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.text.primary,"&:hover, &.Mui-focusVisible":{backgroundColor:"transparent"}},"&.Mui-disabled":{color:e.palette.disabled.tertiary}})})}]};exports.flowTabs=i;
1
+ "use strict";var e=require("./ScrollButton.js"),t=require("../../components/focusring/focusring.js"),r=require("../button/interactive.js");const a={defaultProps:{scrollButtons:"auto",allowScrollButtonsMobile:!0,visibleScrollbar:!1,variant:"scrollable",slots:{scrollButtons:e.FlowScrollButton}},styleOverrides:{root:({ownerState:e})=>Object.assign(Object.assign({minHeight:"0",alignItems:"center",gap:"0"},e.fullWidth||"fullWidth"===e.variant?{"& .MuiTab-root":{flexGrow:"1"}}:{}),e.centered?{justifyContent:"center"}:{}),flexContainer:({theme:e})=>({gap:"16px",[e.breakpoints.up("md")]:{gap:"28px"}}),indicator:({theme:e,ownerState:t})=>Object.assign(Object.assign({maxWidth:"none",background:"transparent",display:"block",height:"3px",color:"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.brand.primary},"secondary"===t.indicatorColor&&{color:e.palette.text.primary}),{"&:before":{display:"block",content:'""',position:"absolute",left:"8px",right:"8px",top:"0",bottom:"0",backgroundColor:"currentColor"}}),scroller:({ownerState:e})=>({flexGrow:e.fullWidth||"fullWidth"===e.variant?"1":"0","&::-webkit-scrollbar:horizontal":{height:"24px"},"&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal":{borderWidth:"10px"}}),scrollButtons:({theme:e})=>({color:e.palette.text.primary,"&.Mui-disabled":{opacity:"1",color:e.palette.disabled.primary}})},variants:[{props:{template:"underlined"},style:({theme:e})=>({marginLeft:"-6px",marginRight:"-6px",maxWidth:"none","& .MuiTabs-scroller":{"&::-webkit-scrollbar:horizontal":{height:"16px"},"&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal":{borderWidth:"6px"}},"& .MuiTabs-flexContainer":{padding:"6px",gap:"0"},"& .MuiTabs-indicator":{bottom:"6px","&:before":{inset:"0"}},"& .MuiTab-root":Object.assign(Object.assign({margin:"0",padding:"12px 24px",[e.breakpoints.down("md")]:{paddingTop:"10px",paddingBottom:"10px"},borderRadius:"0",color:"dark"===e.palette.mode?e.palette.onSurface.os300:e.palette.onSurface.os700},e.typography.subheadline),{[e.breakpoints.up("xs")]:{fontWeight:"300"},"&:after":{content:'""',position:"absolute",left:"0",right:"0",bottom:"0",height:"1px",backgroundColor:e.palette.onSurface.os500},"&:hover, &.Mui-focusVisible":{"&:after":{height:"2px"}},"&.Mui-selected":{color:"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.brand.primary,backgroundColor:"dark"===e.palette.mode?e.palette.surface.primary:e.palette.transparent.primary},"&.Mui-disabled":{color:e.palette.disabled.tertiary},"&.Mui-focusVisible":{zIndex:"10",boxShadow:`0 0 0 2px ${e.palette.background.primary}`,"&:before":{inset:"-2px",borderRadius:"4px"}}})})},{props:{template:"buttons"},style:({theme:e})=>({"& .MuiTabs-flexContainer":{gap:"8px"},"& .MuiTabs-indicator":{display:"none"},"& .MuiTab-root":Object.assign(Object.assign(Object.assign({border:"1px solid transparent",padding:"6px 16px",borderRadius:"555px",transition:"all 0.3s ease-out",fontSize:"14px",fontWeight:"700",marginBottom:"2px"},t.updateFocusRingStyle("0px",!1)),r.getInteractiveStyle({backgroundColor:"transparent",color:e.palette.onSurface.os500},{backgroundColor:e.palette.surface.primary,color:e.palette.text.primary})),{"&.Mui-selected":Object.assign({},r.getInteractiveStyle({backgroundColor:e.palette.brand.quarternary,color:e.palette.text.primary,borderColor:e.palette.brand.primary},{backgroundColor:e.palette.brand.quarternary,color:e.palette.brand.primary,borderColor:e.palette.brand.primary})),[e.breakpoints.down("md")]:{"&, &.Mui-selected, & .FlowTab-selectedLabel":{fontWeight:"400"}}})})},{props:{template:"navigation"},style:({theme:e})=>({"& .MuiTabs-flexContainer":{gap:"4px"},paddingTop:"11px",[e.breakpoints.down("xl")]:{paddingTop:"13px"},[e.breakpoints.down("lg")]:{paddingTop:"8px"},"& .MuiTab-root":Object.assign({marginBottom:"11px",[e.breakpoints.down("xl")]:{marginBottom:"13px"},[e.breakpoints.down("lg")]:{marginBottom:"8px"}},e.typography.list)})},{props:{template:"segmented"},style:({theme:e})=>({color:"dark"===e.palette.mode?e.palette.surface.primary:e.palette.transparent.secondary,"& .MuiTabs-scroller":{backgroundColor:"currentColor",borderRadius:"555px"},"& .MuiTabs-flexContainer":{gap:"8px"},"& .MuiTabs-indicator":{color:"dark"===e.palette.mode?e.palette.surface.secondary:e.palette.common.white,height:"100%",zIndex:"10",borderRadius:"555px","&:before":{inset:"0",borderRadius:"inherit",border:`2px solid ${"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.text.primary}`}},"& .MuiTab-root":Object.assign(Object.assign({margin:"0",padding:"6px 16px",[e.breakpoints.up("md")]:{padding:"8px 16px"},borderRadius:"555px",transition:"all 0.3s ease-out",gap:"10px",zIndex:"20","& .MuiSvgIcon-root":{fontSize:"20px",marginTop:"4px",marginBottom:"4px"}},e.typography.subheadline),{color:e.palette.text.primary,[e.breakpoints.up("xs")]:{"&, &.Mui-selected, & .FlowTab-selectedLabel":{fontWeight:"400"}},"&:hover, &.Mui-focusVisible":{backgroundColor:e.palette.surface.primary},"&.Mui-selected":{color:"dark"===e.palette.mode?e.palette.brand.secondary:e.palette.text.primary,"&:hover, &.Mui-focusVisible":{backgroundColor:"transparent"}},"&.Mui-disabled":{color:e.palette.disabled.tertiary}})})}]};exports.flowTabs=a;
2
2
  //# sourceMappingURL=tabs.theme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.theme.js","sources":["../../../../../src/materialui/tabs/tabs.theme.tsx"],"sourcesContent":["import { Box } from '@mui/material';\nimport { Components, Theme } from '@mui/material/styles';\nimport { FlowScrollButtonComponent } from './scrollButtonComponent';\nimport { updateFocusRingStyle } from '@/src/components/focusring/focusring';\nimport { getInteractiveStyle } from '@/src/materialui/button/interactive';\n\nexport const flowTabs: Components<Theme>['MuiTabs'] = {\n defaultProps: {\n // by default shows scrollbar\n scrollButtons: false,\n allowScrollButtonsMobile: true,\n visibleScrollbar: true,\n variant: 'scrollable',\n TabIndicatorProps: {\n children: <Box sx={{ backgroundColor: 'currentColor', height: '100%', width: '100%' }} />,\n },\n ScrollButtonComponent: FlowScrollButtonComponent,\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n minHeight: '0',\n alignItems: 'center',\n gap: '8px',\n ...(ownerState.fullWidth || ownerState.variant === 'fullWidth'\n ? {\n '& .MuiTab-root': {\n flexGrow: '1',\n },\n }\n : {}),\n // @mui omits centered property with variant scrollable,\n // therefore code bellow has no effect. In docs, we recommend utilizing sx property.\n ...(ownerState.centered ? { justifyContent: 'center' } : {}),\n }),\n flexContainer: ({ theme }) => ({\n gap: '16px',\n [theme.breakpoints.up('md')]: {\n gap: '28px',\n },\n }),\n indicator: ({ theme, ownerState }) => ({\n maxWidth: 'none',\n background: 'transparent',\n display: 'flex',\n paddingLeft: '8px',\n paddingRight: '8px',\n height: '3px',\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.brand.primary,\n ...(ownerState.indicatorColor === 'secondary' && {\n color: theme.palette.text.primary,\n }),\n }),\n scroller: ({ ownerState }) => ({\n flexGrow: ownerState.fullWidth || ownerState.variant === 'fullWidth' ? '1' : '0',\n // restyle horizontal scrollbar\n '&::-webkit-scrollbar:horizontal': {\n height: '24px',\n },\n '&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal': {\n borderWidth: '10px',\n },\n }),\n scrollButtons: ({ theme }) => ({\n color: theme.palette.text.primary,\n }),\n },\n variants: [\n {\n props: { template: 'underlined' },\n style: ({ theme }) => ({\n // align with rest of the page, due to extra space\n marginLeft: '-6px',\n marginRight: '-6px',\n maxWidth: 'none',\n // scroll container\n '& .MuiTabs-scroller': {\n '&::-webkit-scrollbar:horizontal': {\n height: '16px',\n },\n '&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal': {\n borderWidth: '6px',\n },\n },\n // container\n '& .MuiTabs-flexContainer': {\n // extra space for the focus indicator\n padding: '6px',\n // remove gap between tabs\n gap: '0',\n },\n // indicator line\n '& .MuiTabs-indicator': {\n // move directly into tab border\n bottom: '6px',\n // make full-width\n paddingLeft: '0',\n paddingRight: '0',\n },\n // Tabs itself\n '& .MuiTab-root': {\n // remove space around tab in favor of padding\n margin: '0',\n // increase spacing\n padding: '12px 24px',\n // responsive\n [theme.breakpoints.down('md')]: {\n paddingTop: '10px',\n paddingBottom: '10px',\n },\n // style adjust\n borderRadius: '0',\n color: theme.palette.mode === 'dark' ? theme.palette.onSurface.os300 : theme.palette.onSurface.os700,\n // font\n ...theme.typography.subheadline,\n [theme.breakpoints.up('xs')]: {\n fontWeight: '300',\n },\n // bottom border\n '&:after': {\n content: '\"\"',\n position: 'absolute',\n left: '0',\n right: '0',\n bottom: '0',\n height: '1px',\n backgroundColor: theme.palette.onSurface.os500,\n },\n // hover effect\n '&:hover, &.Mui-focusVisible': {\n color: theme.palette.mode === 'dark' ? theme.palette.onSurface.os300 : theme.palette.onSurface.os700,\n // hide regular label\n '& .FlowTab-label': {\n display: 'none',\n },\n // show selected label with bolder font\n '& .FlowTab-selectedLabel': {\n opacity: '1',\n },\n // increase size of the border\n '&:after': {\n height: '2px',\n },\n },\n // active\n '&.Mui-selected': {\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.brand.primary,\n backgroundColor:\n theme.palette.mode === 'dark' ? theme.palette.surface.primary : theme.palette.transparent.primary,\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n // focused style\n '&.Mui-focusVisible': {\n // higher z-index than others\n zIndex: '10',\n // extra white border\n boxShadow: `0 0 0 2px ${theme.palette.background.primary}`,\n '&:before': {\n // move outside\n inset: '-2px',\n // add extra border radius\n borderRadius: '4px',\n },\n },\n },\n }),\n },\n {\n props: { template: 'buttons' },\n style: ({ theme }) => ({\n // container\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '8px',\n },\n // hide bottom line\n '& .MuiTabs-indicator': {\n display: 'none',\n },\n // restyle tabs to buttons\n '& .MuiTab-root': {\n border: '1px solid transparent',\n padding: '6px 16px',\n borderRadius: '555px',\n transition: 'all 0.3s ease-out',\n fontSize: '14px',\n fontWeight: '700',\n marginBottom: '2px',\n ...updateFocusRingStyle('0px', false),\n ...getInteractiveStyle(\n {\n backgroundColor: 'transparent',\n color: theme.palette.onSurface.os500,\n },\n {\n backgroundColor: theme.palette.surface.primary,\n color: theme.palette.text.primary,\n },\n ),\n '&.Mui-selected': {\n ...getInteractiveStyle(\n {\n backgroundColor: theme.palette.brand.quarternary,\n color: theme.palette.text.primary,\n borderColor: theme.palette.brand.primary,\n },\n {\n backgroundColor: theme.palette.brand.quarternary,\n color: theme.palette.brand.primary,\n borderColor: theme.palette.brand.primary,\n },\n ),\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n '&, &.Mui-selected, & .FlowTab-selectedLabel': {\n fontWeight: '400',\n },\n },\n },\n }),\n },\n {\n props: { template: 'navigation' },\n style: ({ theme }) => ({\n // manual v-align\n paddingTop: '12px',\n // container\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '10px',\n },\n // restyle tabs typography\n '& .MuiTab-root': {\n ...theme.typography.caption1,\n color: theme.palette.text.primary,\n [theme.breakpoints.up('xs')]: {\n fontWeight: '300',\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n },\n }),\n },\n {\n props: { template: 'segmented' },\n style: ({ theme }) => ({\n // reduce space between arrows and tabs container\n gap: '4px',\n // used for background\n color: theme.palette.mode === 'dark' ? theme.palette.surface.primary : theme.palette.transparent.secondary,\n // container\n '& .MuiTabs-scroller': {\n backgroundColor: 'currentColor',\n borderRadius: '555px',\n },\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '8px',\n },\n // restyle indicator to white bordered travelling background\n '& .MuiTabs-indicator': {\n color: theme.palette.mode === 'dark' ? theme.palette.surface.secondary : theme.palette.common.white,\n // proportion\n height: '100%',\n padding: '0',\n // z-index bellow <Tab />\n zIndex: '10',\n borderRadius: '555px',\n '& > .MuiBox-root': {\n position: 'relative',\n borderRadius: '555px',\n border: `2px solid ${theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.text.primary}`,\n },\n },\n // resize scroll buttons\n '& .MuiTabs-scrollButtons': {\n width: '32px',\n height: '32px',\n '& .MuiSvgIcon-root': {\n fontSize: '18px',\n },\n },\n // restyle tabs\n '& .MuiTab-root': {\n margin: '0',\n padding: '8px 16px',\n borderRadius: '555px',\n transition: 'all 0.3s ease-out',\n // space between icon and text\n gap: '10px',\n // z-index above indicator\n zIndex: '20',\n // icon inside\n '& .MuiSvgIcon-root': {\n fontSize: '20px',\n margin: '4px 0',\n },\n // change typography\n ...theme.typography.subheadline,\n color: theme.palette.text.primary,\n [theme.breakpoints.up('xs')]: {\n '&, &.Mui-selected, & .FlowTab-selectedLabel': {\n fontWeight: '400',\n },\n },\n // hover and focus\n '&:hover, &.Mui-focusVisible': {\n backgroundColor: theme.palette.surface.primary,\n },\n // active\n '&.Mui-selected': {\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.text.primary,\n '&:hover, &.Mui-focusVisible': {\n backgroundColor: 'transparent',\n },\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n },\n }),\n },\n ],\n};\n"],"names":["flowTabs","defaultProps","scrollButtons","allowScrollButtonsMobile","visibleScrollbar","variant","TabIndicatorProps","children","_jsx","jsx","Box","sx","backgroundColor","height","width","ScrollButtonComponent","FlowScrollButtonComponent","styleOverrides","root","ownerState","Object","assign","minHeight","alignItems","gap","fullWidth","flexGrow","centered","justifyContent","flexContainer","theme","breakpoints","up","indicator","maxWidth","background","display","paddingLeft","paddingRight","color","palette","mode","brand","secondary","primary","indicatorColor","text","scroller","borderWidth","variants","props","template","style","marginLeft","marginRight","padding","bottom","margin","down","paddingTop","paddingBottom","borderRadius","onSurface","os300","os700","typography","subheadline","fontWeight","content","position","left","right","os500","opacity","surface","transparent","disabled","tertiary","zIndex","boxShadow","inset","border","transition","fontSize","marginBottom","updateFocusRingStyle","getInteractiveStyle","quarternary","borderColor","caption1","common","white"],"mappings":"8MAMa,MAAAA,EAAyC,CACpDC,aAAc,CAEZC,eAAe,EACfC,0BAA0B,EAC1BC,kBAAkB,EAClBC,QAAS,aACTC,kBAAmB,CACjBC,SAAUC,EAACC,IAAAC,OAAIC,GAAI,CAAEC,gBAAiB,eAAgBC,OAAQ,OAAQC,MAAO,WAE/EC,sBAAuBC,EAAyBA,2BAElDC,eAAgB,CACdC,KAAM,EAAGC,gBACPC,OAAAC,OAAAD,OAAAC,OAAA,CAAAC,UAAW,IACXC,WAAY,SACZC,IAAK,OACDL,EAAWM,WAAoC,cAAvBN,EAAWd,QACnC,CACE,iBAA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KF,YAI5G,2BAA4B,CAC1B9B,MAAO,OACPD,OAAQ,OACR,qBAAsB,CACpBsE,SAAU,SAId,iBACE/D,OAAAC,OAAAD,OAAAC,OAAA,CAAAoC,OAAQ,IACRF,QAAS,WACTM,aAAc,QACdqB,WAAY,oBAEZ1D,IAAK,OAELsD,OAAQ,KAER,qBAAsB,CACpBK,SAAU,OACV1B,OAAQ,UAGP3B,EAAMmC,WAAWC,aACpB,CAAA3B,MAAOT,EAAMU,QAAQM,KAAKF,QAC1B,CAACd,EAAMC,YAAYC,GAAG,OAAQ,CAC5B,8CAA+C,CAC7CmC,WAAY,QAIhB,8BAA+B,CAC7BvD,gBAAiBkB,EAAMU,QAAQkC,QAAQ9B,SAGzC,iBAAkB,CAChBL,MAA8B,SAAvBT,EAAMU,QAAQC,KAAkBX,EAAMU,QAAQE,MAAMC,UAAYb,EAAMU,QAAQM,KAAKF,QAC1F,8BAA+B,CAC7BhC,gBAAiB,gBAIrB,iBAAkB,CAChB2B,MAAOT,EAAMU,QAAQoC,SAASC"}
1
+ {"version":3,"file":"tabs.theme.js","sources":["../../../../../src/materialui/tabs/tabs.theme.tsx"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\nimport { FlowScrollButton } from './ScrollButton';\nimport { updateFocusRingStyle } from '@/src/components/focusring/focusring';\nimport { getInteractiveStyle } from '@/src/materialui/button/interactive';\n\nexport const flowTabs: Components<Theme>['MuiTabs'] = {\n defaultProps: {\n // for the A11y reflow-4x-zoom-scroll show scrollButtons instead of scrollbar\n scrollButtons: 'auto',\n allowScrollButtonsMobile: true,\n visibleScrollbar: false,\n variant: 'scrollable',\n slots: {\n scrollButtons: FlowScrollButton,\n },\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n minHeight: '0',\n alignItems: 'center',\n // space between tabs and scroll buttons (FlowScrollButton already contains 4px)\n gap: '0',\n ...(ownerState.fullWidth || ownerState.variant === 'fullWidth'\n ? {\n '& .MuiTab-root': {\n flexGrow: '1',\n },\n }\n : {}),\n // @mui omits centered property with variant scrollable,\n // therefore code bellow has no effect. In docs, we recommend utilizing sx property.\n ...(ownerState.centered ? { justifyContent: 'center' } : {}),\n }),\n flexContainer: ({ theme }) => ({\n gap: '16px',\n [theme.breakpoints.up('md')]: {\n gap: '28px',\n },\n }),\n indicator: ({ theme, ownerState }) => ({\n maxWidth: 'none',\n background: 'transparent',\n display: 'block',\n height: '3px',\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.brand.primary,\n ...(ownerState.indicatorColor === 'secondary' && {\n color: theme.palette.text.primary,\n }),\n // actual indicator line\n '&:before': {\n display: 'block',\n content: '\"\"',\n position: 'absolute',\n left: '8px',\n right: '8px',\n top: '0',\n bottom: '0',\n backgroundColor: 'currentColor',\n },\n }),\n scroller: ({ ownerState }) => ({\n flexGrow: ownerState.fullWidth || ownerState.variant === 'fullWidth' ? '1' : '0',\n // restyle horizontal scrollbar\n '&::-webkit-scrollbar:horizontal': {\n height: '24px',\n },\n '&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal': {\n borderWidth: '10px',\n },\n }),\n scrollButtons: ({ theme }) => ({\n color: theme.palette.text.primary,\n // do not hide disabled scroll buttons\n '&.Mui-disabled': {\n opacity: '1',\n color: theme.palette.disabled.primary,\n },\n }),\n },\n variants: [\n {\n props: { template: 'underlined' },\n style: ({ theme }) => ({\n // align with rest of the page, due to extra space\n marginLeft: '-6px',\n marginRight: '-6px',\n maxWidth: 'none',\n // scroll container\n '& .MuiTabs-scroller': {\n '&::-webkit-scrollbar:horizontal': {\n height: '16px',\n },\n '&::-webkit-scrollbar-thumb:horizontal, &::-webkit-scrollbar-track:horizontal': {\n borderWidth: '6px',\n },\n },\n // container\n '& .MuiTabs-flexContainer': {\n // extra space for the focus indicator\n padding: '6px',\n // remove gap between tabs\n gap: '0',\n },\n // indicator line\n '& .MuiTabs-indicator': {\n // move directly into tab border\n bottom: '6px',\n '&:before': {\n // make full-width\n inset: '0',\n },\n },\n // Tabs itself\n '& .MuiTab-root': {\n // remove space around tab in favor of padding\n margin: '0',\n // increase spacing\n padding: '12px 24px',\n // responsive\n [theme.breakpoints.down('md')]: {\n paddingTop: '10px',\n paddingBottom: '10px',\n },\n // style adjust\n borderRadius: '0',\n color: theme.palette.mode === 'dark' ? theme.palette.onSurface.os300 : theme.palette.onSurface.os700,\n // font\n ...theme.typography.subheadline,\n [theme.breakpoints.up('xs')]: {\n fontWeight: '300',\n },\n // bottom border\n '&:after': {\n content: '\"\"',\n position: 'absolute',\n left: '0',\n right: '0',\n bottom: '0',\n height: '1px',\n backgroundColor: theme.palette.onSurface.os500,\n },\n // hover effect\n '&:hover, &.Mui-focusVisible': {\n // increase size of the border\n '&:after': {\n height: '2px',\n },\n },\n // active\n '&.Mui-selected': {\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.brand.primary,\n backgroundColor:\n theme.palette.mode === 'dark' ? theme.palette.surface.primary : theme.palette.transparent.primary,\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n // focused style\n '&.Mui-focusVisible': {\n // higher z-index than others\n zIndex: '10',\n // extra white border\n boxShadow: `0 0 0 2px ${theme.palette.background.primary}`,\n '&:before': {\n // move outside\n inset: '-2px',\n // add extra border radius\n borderRadius: '4px',\n },\n },\n },\n }),\n },\n {\n props: { template: 'buttons' },\n style: ({ theme }) => ({\n // container\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '8px',\n },\n // hide bottom line\n '& .MuiTabs-indicator': {\n display: 'none',\n },\n // restyle tabs to buttons\n '& .MuiTab-root': {\n border: '1px solid transparent',\n padding: '6px 16px',\n borderRadius: '555px',\n transition: 'all 0.3s ease-out',\n fontSize: '14px',\n fontWeight: '700',\n marginBottom: '2px',\n ...updateFocusRingStyle('0px', false),\n ...getInteractiveStyle(\n {\n backgroundColor: 'transparent',\n color: theme.palette.onSurface.os500,\n },\n {\n backgroundColor: theme.palette.surface.primary,\n color: theme.palette.text.primary,\n },\n ),\n '&.Mui-selected': {\n ...getInteractiveStyle(\n {\n backgroundColor: theme.palette.brand.quarternary,\n color: theme.palette.text.primary,\n borderColor: theme.palette.brand.primary,\n },\n {\n backgroundColor: theme.palette.brand.quarternary,\n color: theme.palette.brand.primary,\n borderColor: theme.palette.brand.primary,\n },\n ),\n },\n // responsive\n [theme.breakpoints.down('md')]: {\n '&, &.Mui-selected, & .FlowTab-selectedLabel': {\n fontWeight: '400',\n },\n },\n },\n }),\n },\n {\n // variant used in the SecondaryNavigation\n props: { template: 'navigation' },\n style: ({ theme }) => ({\n // container\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '4px',\n },\n // manual align\n paddingTop: '11px',\n [theme.breakpoints.down('xl')]: {\n paddingTop: '13px',\n },\n [theme.breakpoints.down('lg')]: {\n paddingTop: '8px',\n },\n // restyle tabs typography\n '& .MuiTab-root': {\n marginBottom: '11px',\n [theme.breakpoints.down('xl')]: {\n marginBottom: '13px',\n },\n [theme.breakpoints.down('lg')]: {\n marginBottom: '8px',\n },\n ...theme.typography.list,\n },\n }),\n },\n {\n props: { template: 'segmented' },\n style: ({ theme }) => ({\n // used for background\n color: theme.palette.mode === 'dark' ? theme.palette.surface.primary : theme.palette.transparent.secondary,\n // container\n '& .MuiTabs-scroller': {\n backgroundColor: 'currentColor',\n borderRadius: '555px',\n },\n '& .MuiTabs-flexContainer': {\n // reduce gap between tabs\n gap: '8px',\n },\n // restyle indicator to white bordered travelling background\n '& .MuiTabs-indicator': {\n color: theme.palette.mode === 'dark' ? theme.palette.surface.secondary : theme.palette.common.white,\n // proportion\n height: '100%',\n // z-index bellow <Tab />\n zIndex: '10',\n borderRadius: '555px',\n '&:before': {\n inset: '0',\n borderRadius: 'inherit',\n border: `2px solid ${theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.text.primary}`,\n },\n },\n // restyle tabs\n '& .MuiTab-root': {\n margin: '0',\n padding: '6px 16px',\n [theme.breakpoints.up('md')]: {\n padding: '8px 16px',\n },\n borderRadius: '555px',\n transition: 'all 0.3s ease-out',\n // space between icon and text\n gap: '10px',\n // z-index above indicator\n zIndex: '20',\n // icon inside\n '& .MuiSvgIcon-root': {\n fontSize: '20px',\n marginTop: '4px',\n marginBottom: '4px',\n },\n // change typography\n ...theme.typography.subheadline,\n color: theme.palette.text.primary,\n [theme.breakpoints.up('xs')]: {\n '&, &.Mui-selected, & .FlowTab-selectedLabel': {\n fontWeight: '400',\n },\n },\n // hover and focus\n '&:hover, &.Mui-focusVisible': {\n backgroundColor: theme.palette.surface.primary,\n },\n // active\n '&.Mui-selected': {\n color: theme.palette.mode === 'dark' ? theme.palette.brand.secondary : theme.palette.text.primary,\n '&:hover, &.Mui-focusVisible': {\n backgroundColor: 'transparent',\n },\n },\n // disabled\n '&.Mui-disabled': {\n color: theme.palette.disabled.tertiary,\n },\n },\n }),\n },\n ],\n};\n"],"names":["flowTabs","defaultProps","scrollButtons","allowScrollButtonsMobile","visibleScrollbar","variant","slots","FlowScrollButton","styleOverrides","root","ownerState","Object","assign","minHeight","alignItems","gap","fullWidth","flexGrow","centered","justifyContent","flexContainer","theme","breakpoints","up","indicator","maxWidth","background","display","height","color","palette","mode","brand","secondary","primary","indicatorColor","text","content","position","left","right","top","bottom","backgroundColor","scroller","borderWidth","opacity","disabled","variants","props","template","style","marginLeft","marginRight","padding","inset","margin","down","paddingTop","paddingBottom","borderRadius","onSurface","os300","os700","typography","subheadline","fontWeight","os500","surface","transparent","tertiary","zIndex","boxShadow","border","transition","fontSize","marginBottom","updateFocusRingStyle","getInteractiveStyle","quarternary","borderColor","list","common","white","marginTop"],"mappings":"2IAKa,MAAAA,EAAyC,CACpDC,aAAc,CAEZC,cAAe,OACfC,0BAA0B,EAC1BC,kBAAkB,EAClBC,QAAS,aACTC,MAAO,CACLJ,cAAeK,EAAgBA,mBAGnCC,eAAgB,CACdC,KAAM,EAAGC,gBAAiBC,OAAAC,OAAAD,OAAAC,OAAA,CACxBC,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AY,CACVL,MAAO,IACPK,aAAc,UACda,OAAQ,aAAoC,SAAvBpD,EAAMS,QAAQC,KAAkBV,EAAMS,QAAQE,MAAMC,UAAYZ,EAAMS,QAAQM,KAAKF,YAI5G,8CACEsB,OAAQ,IACRF,QAAS,WACT,CAACjC,EAAMC,YAAYC,GAAG,OAAQ,CAC5B+B,QAAS,YAEXM,aAAc,QACdc,WAAY,oBAEZ3D,IAAK,OAELwD,OAAQ,KAER,qBAAsB,CACpBI,SAAU,OACVS,UAAW,MACXR,aAAc,QAGbvD,EAAM2C,WAAWC,aACpB,CAAApC,MAAOR,EAAMS,QAAQM,KAAKF,QAC1B,CAACb,EAAMC,YAAYC,GAAG,OAAQ,CAC5B,8CAA+C,CAC7C2C,WAAY,QAIhB,8BAA+B,CAC7BvB,gBAAiBtB,EAAMS,QAAQsC,QAAQlC,SAGzC,iBAAkB,CAChBL,MAA8B,SAAvBR,EAAMS,QAAQC,KAAkBV,EAAMS,QAAQE,MAAMC,UAAYZ,EAAMS,QAAQM,KAAKF,QAC1F,8BAA+B,CAC7BS,gBAAiB,gBAIrB,iBAAkB,CAChBd,MAAOR,EAAMS,QAAQiB,SAASuB"}
@@ -1,2 +1,2 @@
1
- "use strict";const e={defaultProps:{variant:"filled",minRows:2,maxRows:2,inputProps:({placeholder:e,label:l})=>Object.assign({},!l&&e&&{"aria-label":e})},styleOverrides:{}};exports.flowTextField=e;
1
+ "use strict";const t={defaultProps:{variant:"filled",minRows:2,maxRows:2,inputProps:({placeholder:t,label:e})=>Object.assign({},!e&&t&&{"aria-label":t})},styleOverrides:{root:{":has(.MuiInputAdornment-positionEnd)":{".MuiInputLabel-root":{paddingRight:"44px"}}}}};exports.flowTextField=t;
2
2
  //# sourceMappingURL=textField.theme.js.map