@skodaflow/web-library 7.13.1 → 7.14.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 (338) hide show
  1. package/cjs/components/backdrop/backdrop.d.ts +1 -2
  2. package/cjs/components/backdrop/backdrop.js.map +1 -1
  3. package/cjs/components/cardMenu/cardMenu.d.ts +1 -2
  4. package/cjs/components/cardMenu/cardMenu.js.map +1 -1
  5. package/cjs/components/cardMenu/styled/drawerStyled.d.ts +1 -1
  6. package/cjs/components/cardMenu/styled/drawerStyled.js +1 -1
  7. package/cjs/components/cardMenu/styled/drawerStyled.js.map +1 -1
  8. package/cjs/components/cardMenu/styled/popperStyled.d.ts +1 -1
  9. package/cjs/components/cardMenu/styled/popperStyled.js +1 -1
  10. package/cjs/components/cardMenu/styled/popperStyled.js.map +1 -1
  11. package/cjs/components/carousel/navigation.js +1 -1
  12. package/cjs/components/carousel/navigation.js.map +1 -1
  13. package/cjs/components/carousel/pagination.d.ts +5 -1
  14. package/cjs/components/carousel/pagination.js +1 -1
  15. package/cjs/components/carousel/pagination.js.map +1 -1
  16. package/cjs/components/chip/chipFocusVisibleStyled.d.ts +1 -1
  17. package/cjs/components/chip/chipFocusVisibleStyled.js +1 -1
  18. package/cjs/components/chip/chipFocusVisibleStyled.js.map +1 -1
  19. package/cjs/components/common/menuContainer.js +1 -1
  20. package/cjs/components/common/menuContainer.js.map +1 -1
  21. package/cjs/components/common/styled/buttonFocusVisibleStyled.d.ts +1 -1
  22. package/cjs/components/common/styled/buttonFocusVisibleStyled.js +1 -1
  23. package/cjs/components/common/styled/buttonFocusVisibleStyled.js.map +1 -1
  24. package/cjs/components/common/styled/formControlLabelStyled.d.ts +1 -1
  25. package/cjs/components/common/styled/formControlLabelStyled.js +1 -1
  26. package/cjs/components/common/styled/formControlLabelStyled.js.map +1 -1
  27. package/cjs/components/common/styled/helperTextContainerStyled.d.ts +1 -1
  28. package/cjs/components/common/styled/sliderValuesStyled.d.ts +1 -1
  29. package/cjs/components/common/styled/sliderValuesStyled.js +1 -1
  30. package/cjs/components/common/styled/sliderValuesStyled.js.map +1 -1
  31. package/cjs/components/customPickersActionBar/index.js +1 -1
  32. package/cjs/components/customPickersActionBar/index.js.map +1 -1
  33. package/cjs/components/grid/grid.d.ts +3 -100
  34. package/cjs/components/grid/grid.js.map +1 -1
  35. package/cjs/components/icon/filled/BatteryDischargeFilledIcon.d.ts +6 -0
  36. package/cjs/components/icon/filled/BatteryDischargeFilledIcon.js +2 -0
  37. package/cjs/components/icon/filled/BatteryDischargeFilledIcon.js.map +1 -0
  38. package/cjs/components/icon/filled/BicycleFilledIcon.d.ts +6 -0
  39. package/cjs/components/icon/filled/BicycleFilledIcon.js +2 -0
  40. package/cjs/components/icon/filled/BicycleFilledIcon.js.map +1 -0
  41. package/cjs/components/icon/filled/BoltDischargeFilledIcon.d.ts +6 -0
  42. package/cjs/components/icon/filled/BoltDischargeFilledIcon.js +2 -0
  43. package/cjs/components/icon/filled/BoltDischargeFilledIcon.js.map +1 -0
  44. package/cjs/components/icon/filled/BoltOffFilledIcon.d.ts +6 -0
  45. package/cjs/components/icon/filled/BoltOffFilledIcon.js +2 -0
  46. package/cjs/components/icon/filled/BoltOffFilledIcon.js.map +1 -0
  47. package/cjs/components/icon/filled/index.d.ts +4 -0
  48. package/cjs/components/icon/icon.definitions.js +1 -1
  49. package/cjs/components/icon/icon.definitions.js.map +1 -1
  50. package/cjs/components/icon/stroke/BatteryDischargeIcon.d.ts +6 -0
  51. package/cjs/components/icon/stroke/BatteryDischargeIcon.js +2 -0
  52. package/cjs/components/icon/stroke/BatteryDischargeIcon.js.map +1 -0
  53. package/cjs/components/icon/stroke/BicycleIcon.d.ts +6 -0
  54. package/cjs/components/icon/stroke/BicycleIcon.js +2 -0
  55. package/cjs/components/icon/stroke/BicycleIcon.js.map +1 -0
  56. package/cjs/components/icon/stroke/BoltDischargeIcon.d.ts +6 -0
  57. package/cjs/components/icon/stroke/BoltDischargeIcon.js +2 -0
  58. package/cjs/components/icon/stroke/BoltDischargeIcon.js.map +1 -0
  59. package/cjs/components/icon/stroke/BoltOffIcon.d.ts +6 -0
  60. package/cjs/components/icon/stroke/BoltOffIcon.js +2 -0
  61. package/cjs/components/icon/stroke/BoltOffIcon.js.map +1 -0
  62. package/cjs/components/icon/stroke/index.d.ts +4 -0
  63. package/cjs/components/label/label.d.ts +1 -1
  64. package/cjs/components/label/label.js +1 -1
  65. package/cjs/components/label/label.js.map +1 -1
  66. package/cjs/components/logo/Logo.d.ts +1 -1
  67. package/cjs/components/logo/Logo.js.map +1 -1
  68. package/cjs/components/mobileStepper/mobileStepperButton.js +1 -1
  69. package/cjs/components/mobileStepper/mobileStepperButton.js.map +1 -1
  70. package/cjs/components/search/search.js +1 -1
  71. package/cjs/components/search/search.js.map +1 -1
  72. package/cjs/components/segmentedControls/{segmentedControls.js → SegmentedControls.js} +1 -1
  73. package/cjs/components/segmentedControls/{segmentedControls.js.map → SegmentedControls.js.map} +1 -1
  74. package/cjs/components/segmentedControls/index.d.ts +1 -1
  75. package/cjs/components/stepper/model.d.ts +1 -3
  76. package/cjs/components/stepper/model.js.map +1 -1
  77. package/cjs/components/textAndCta/textAndCta.js +1 -1
  78. package/cjs/components/textAndCta/textAndCta.js.map +1 -1
  79. package/cjs/components/upload/UploadPreviewList.js +1 -1
  80. package/cjs/components/upload/UploadPreviewList.js.map +1 -1
  81. package/cjs/index.js +1 -1
  82. package/cjs/layout/Header/Header.js +1 -1
  83. package/cjs/layout/Header/Header.js.map +1 -1
  84. package/cjs/layout/Header/HeaderLanguageSelect.d.ts +1 -1
  85. package/cjs/layout/Header/HeaderLanguageSelect.js +1 -1
  86. package/cjs/layout/Header/HeaderLanguageSelect.js.map +1 -1
  87. package/cjs/layout/Header/HeaderNavigationHero.js +1 -1
  88. package/cjs/layout/Header/HeaderNavigationHero.js.map +1 -1
  89. package/cjs/layout/Header/HeaderOverheadItem.js +1 -1
  90. package/cjs/layout/Header/HeaderOverheadItem.js.map +1 -1
  91. package/cjs/materialui/accordion/AccordionSummaryExpandIcon.js +1 -1
  92. package/cjs/materialui/accordion/AccordionSummaryExpandIcon.js.map +1 -1
  93. package/cjs/materialui/accordion/accordionSummary.theme.js +1 -1
  94. package/cjs/materialui/accordion/accordionSummary.theme.js.map +1 -1
  95. package/cjs/materialui/button/button.theme.js +1 -1
  96. package/cjs/materialui/button/button.theme.js.map +1 -1
  97. package/cjs/materialui/button/interactive.d.ts +2 -1
  98. package/cjs/materialui/button/interactive.js +1 -1
  99. package/cjs/materialui/button/interactive.js.map +1 -1
  100. package/cjs/materialui/card/Card.js +1 -1
  101. package/cjs/materialui/card/Card.js.map +1 -1
  102. package/cjs/materialui/card/FlippingCardContent.d.ts +2 -2
  103. package/cjs/materialui/card/FlippingCardContent.js +1 -1
  104. package/cjs/materialui/card/FlippingCardContent.js.map +1 -1
  105. package/cjs/materialui/card/card.theme.js +1 -1
  106. package/cjs/materialui/card/card.theme.js.map +1 -1
  107. package/cjs/materialui/chip/chip.theme.js +1 -1
  108. package/cjs/materialui/chip/chip.theme.js.map +1 -1
  109. package/cjs/materialui/fab/fab.theme.js +1 -1
  110. package/cjs/materialui/fab/fab.theme.js.map +1 -1
  111. package/cjs/materialui/iconButton/iconButton.theme.js +1 -1
  112. package/cjs/materialui/iconButton/iconButton.theme.js.map +1 -1
  113. package/cjs/materialui/skeleton/skeleton.theme.js +1 -1
  114. package/cjs/materialui/skeleton/skeleton.theme.js.map +1 -1
  115. package/cjs/materialui/slider/sliderValues.js +1 -1
  116. package/cjs/materialui/slider/sliderValues.js.map +1 -1
  117. package/cjs/materialui/stepper/StepLabelIcon.js +1 -1
  118. package/cjs/materialui/stepper/StepLabelIcon.js.map +1 -1
  119. package/cjs/materialui/stepper/stepper.theme.js +1 -1
  120. package/cjs/materialui/stepper/stepper.theme.js.map +1 -1
  121. package/{materialui/tabs/scrollButtonComponent.d.ts → cjs/materialui/tabs/ScrollButton.d.ts} +2 -1
  122. package/cjs/materialui/tabs/ScrollButton.js +2 -0
  123. package/cjs/materialui/tabs/ScrollButton.js.map +1 -0
  124. package/cjs/materialui/tabs/{tabComponent.d.ts → Tab.d.ts} +1 -1
  125. package/cjs/materialui/tabs/{tabComponent.js → Tab.js} +2 -2
  126. package/cjs/materialui/tabs/Tab.js.map +1 -0
  127. package/cjs/materialui/tabs/{tabPanel.d.ts → TabPanel.d.ts} +0 -4
  128. package/cjs/materialui/tabs/{tabPanel.js → TabPanel.js} +2 -2
  129. package/cjs/materialui/tabs/TabPanel.js.map +1 -0
  130. package/cjs/materialui/tabs/index.d.ts +3 -3
  131. package/cjs/materialui/tabs/tab.theme.js +1 -1
  132. package/cjs/materialui/tabs/tab.theme.js.map +1 -1
  133. package/cjs/materialui/tabs/tabs.theme.js +1 -1
  134. package/cjs/materialui/tabs/tabs.theme.js.map +1 -1
  135. package/cjs/materialui/textfield/textField.theme.js +1 -1
  136. package/cjs/materialui/textfield/textField.theme.js.map +1 -1
  137. package/cjs/node_modules/swiper/modules/keyboard.js +1 -1
  138. package/cjs/node_modules/swiper/modules/keyboard.js.map +1 -1
  139. package/cjs/node_modules/swiper/shared/ssr-window.esm.js.map +1 -1
  140. package/cjs/node_modules/swiper/shared/swiper-core.js +1 -1
  141. package/cjs/node_modules/swiper/shared/swiper-core.js.map +1 -1
  142. package/cjs/node_modules/swiper/swiper-react.js.map +1 -1
  143. package/cjs/organisms/cardPhotoFixed/cardPhotoFixed.js +1 -1
  144. package/cjs/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
  145. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  146. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.js +1 -1
  147. package/cjs/organisms/carousel/styledComponents/styledCarouselHorizontal.js.map +1 -1
  148. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.d.ts +1 -1
  149. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.js +1 -1
  150. package/cjs/organisms/carousel/styledComponents/styledCarouselVertical.js.map +1 -1
  151. package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.js +1 -1
  152. package/cjs/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
  153. package/cjs/organisms/carousel2/galleryCarousel/galleryCarouselItem.js +1 -1
  154. package/cjs/organisms/carousel2/galleryCarousel/galleryCarouselItem.js.map +1 -1
  155. package/cjs/organisms/carousel2/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  156. package/cjs/organisms/common/menuCardComponent/menuCardComponent.d.ts +1 -2
  157. package/cjs/organisms/common/menuCardComponent/menuCardComponent.js +1 -1
  158. package/cjs/organisms/common/menuCardComponent/menuCardComponent.js.map +1 -1
  159. package/cjs/organisms/notification/NotificationCenterHeaderButton.js +1 -1
  160. package/cjs/organisms/notification/NotificationCenterHeaderButton.js.map +1 -1
  161. package/cjs/organisms/textCta/textCta.js +1 -1
  162. package/cjs/organisms/textCta/textCta.js.map +1 -1
  163. package/cjs/organisms/tile/tile.js +1 -1
  164. package/cjs/organisms/tile/tile.js.map +1 -1
  165. package/cjs/production/Button/Button.js +1 -1
  166. package/cjs/production/Button/Button.js.map +1 -1
  167. package/components/backdrop/backdrop.d.ts +1 -2
  168. package/components/backdrop/backdrop.js.map +1 -1
  169. package/components/cardMenu/cardMenu.d.ts +1 -2
  170. package/components/cardMenu/cardMenu.js.map +1 -1
  171. package/components/cardMenu/styled/drawerStyled.d.ts +1 -1
  172. package/components/cardMenu/styled/drawerStyled.js +1 -1
  173. package/components/cardMenu/styled/drawerStyled.js.map +1 -1
  174. package/components/cardMenu/styled/popperStyled.d.ts +1 -1
  175. package/components/cardMenu/styled/popperStyled.js +1 -1
  176. package/components/cardMenu/styled/popperStyled.js.map +1 -1
  177. package/components/carousel/navigation.js +1 -1
  178. package/components/carousel/navigation.js.map +1 -1
  179. package/components/carousel/pagination.d.ts +5 -1
  180. package/components/carousel/pagination.js +1 -1
  181. package/components/carousel/pagination.js.map +1 -1
  182. package/components/chip/chipFocusVisibleStyled.d.ts +1 -1
  183. package/components/chip/chipFocusVisibleStyled.js +1 -1
  184. package/components/chip/chipFocusVisibleStyled.js.map +1 -1
  185. package/components/common/menuContainer.js +1 -1
  186. package/components/common/menuContainer.js.map +1 -1
  187. package/components/common/styled/buttonFocusVisibleStyled.d.ts +1 -1
  188. package/components/common/styled/buttonFocusVisibleStyled.js +1 -1
  189. package/components/common/styled/buttonFocusVisibleStyled.js.map +1 -1
  190. package/components/common/styled/formControlLabelStyled.d.ts +1 -1
  191. package/components/common/styled/formControlLabelStyled.js +1 -1
  192. package/components/common/styled/formControlLabelStyled.js.map +1 -1
  193. package/components/common/styled/helperTextContainerStyled.d.ts +1 -1
  194. package/components/common/styled/sliderValuesStyled.d.ts +1 -1
  195. package/components/common/styled/sliderValuesStyled.js +1 -1
  196. package/components/common/styled/sliderValuesStyled.js.map +1 -1
  197. package/components/customPickersActionBar/index.js +1 -1
  198. package/components/customPickersActionBar/index.js.map +1 -1
  199. package/components/grid/grid.d.ts +3 -100
  200. package/components/grid/grid.js.map +1 -1
  201. package/components/icon/filled/BatteryDischargeFilledIcon.d.ts +6 -0
  202. package/components/icon/filled/BatteryDischargeFilledIcon.js +2 -0
  203. package/components/icon/filled/BatteryDischargeFilledIcon.js.map +1 -0
  204. package/components/icon/filled/BicycleFilledIcon.d.ts +6 -0
  205. package/components/icon/filled/BicycleFilledIcon.js +2 -0
  206. package/components/icon/filled/BicycleFilledIcon.js.map +1 -0
  207. package/components/icon/filled/BoltDischargeFilledIcon.d.ts +6 -0
  208. package/components/icon/filled/BoltDischargeFilledIcon.js +2 -0
  209. package/components/icon/filled/BoltDischargeFilledIcon.js.map +1 -0
  210. package/components/icon/filled/BoltOffFilledIcon.d.ts +6 -0
  211. package/components/icon/filled/BoltOffFilledIcon.js +2 -0
  212. package/components/icon/filled/BoltOffFilledIcon.js.map +1 -0
  213. package/components/icon/filled/index.d.ts +4 -0
  214. package/components/icon/icon.definitions.js +1 -1
  215. package/components/icon/icon.definitions.js.map +1 -1
  216. package/components/icon/stroke/BatteryDischargeIcon.d.ts +6 -0
  217. package/components/icon/stroke/BatteryDischargeIcon.js +2 -0
  218. package/components/icon/stroke/BatteryDischargeIcon.js.map +1 -0
  219. package/components/icon/stroke/BicycleIcon.d.ts +6 -0
  220. package/components/icon/stroke/BicycleIcon.js +2 -0
  221. package/components/icon/stroke/BicycleIcon.js.map +1 -0
  222. package/components/icon/stroke/BoltDischargeIcon.d.ts +6 -0
  223. package/components/icon/stroke/BoltDischargeIcon.js +2 -0
  224. package/components/icon/stroke/BoltDischargeIcon.js.map +1 -0
  225. package/components/icon/stroke/BoltOffIcon.d.ts +6 -0
  226. package/components/icon/stroke/BoltOffIcon.js +2 -0
  227. package/components/icon/stroke/BoltOffIcon.js.map +1 -0
  228. package/components/icon/stroke/index.d.ts +4 -0
  229. package/components/label/label.d.ts +1 -1
  230. package/components/label/label.js +1 -1
  231. package/components/label/label.js.map +1 -1
  232. package/components/logo/Logo.d.ts +1 -1
  233. package/components/logo/Logo.js.map +1 -1
  234. package/components/mobileStepper/mobileStepperButton.js +1 -1
  235. package/components/mobileStepper/mobileStepperButton.js.map +1 -1
  236. package/components/search/search.js +1 -1
  237. package/components/search/search.js.map +1 -1
  238. package/components/segmentedControls/{segmentedControls.js → SegmentedControls.js} +1 -1
  239. package/components/segmentedControls/{segmentedControls.js.map → SegmentedControls.js.map} +1 -1
  240. package/components/segmentedControls/index.d.ts +1 -1
  241. package/components/stepper/model.d.ts +1 -3
  242. package/components/stepper/model.js.map +1 -1
  243. package/components/textAndCta/textAndCta.js +1 -1
  244. package/components/textAndCta/textAndCta.js.map +1 -1
  245. package/components/upload/UploadPreviewList.js +1 -1
  246. package/components/upload/UploadPreviewList.js.map +1 -1
  247. package/index.js +1 -1
  248. package/layout/Header/Header.js +1 -1
  249. package/layout/Header/Header.js.map +1 -1
  250. package/layout/Header/HeaderLanguageSelect.d.ts +1 -1
  251. package/layout/Header/HeaderLanguageSelect.js +1 -1
  252. package/layout/Header/HeaderLanguageSelect.js.map +1 -1
  253. package/layout/Header/HeaderNavigationHero.js +1 -1
  254. package/layout/Header/HeaderNavigationHero.js.map +1 -1
  255. package/layout/Header/HeaderOverheadItem.js +1 -1
  256. package/layout/Header/HeaderOverheadItem.js.map +1 -1
  257. package/materialui/accordion/AccordionSummaryExpandIcon.js +1 -1
  258. package/materialui/accordion/AccordionSummaryExpandIcon.js.map +1 -1
  259. package/materialui/accordion/accordionSummary.theme.js +1 -1
  260. package/materialui/accordion/accordionSummary.theme.js.map +1 -1
  261. package/materialui/button/button.theme.js +1 -1
  262. package/materialui/button/button.theme.js.map +1 -1
  263. package/materialui/button/interactive.d.ts +2 -1
  264. package/materialui/button/interactive.js +1 -1
  265. package/materialui/button/interactive.js.map +1 -1
  266. package/materialui/card/Card.js +1 -1
  267. package/materialui/card/Card.js.map +1 -1
  268. package/materialui/card/FlippingCardContent.d.ts +2 -2
  269. package/materialui/card/FlippingCardContent.js +1 -1
  270. package/materialui/card/FlippingCardContent.js.map +1 -1
  271. package/materialui/card/card.theme.js +1 -1
  272. package/materialui/card/card.theme.js.map +1 -1
  273. package/materialui/chip/chip.theme.js +1 -1
  274. package/materialui/chip/chip.theme.js.map +1 -1
  275. package/materialui/fab/fab.theme.js +1 -1
  276. package/materialui/fab/fab.theme.js.map +1 -1
  277. package/materialui/iconButton/iconButton.theme.js +1 -1
  278. package/materialui/iconButton/iconButton.theme.js.map +1 -1
  279. package/materialui/skeleton/skeleton.theme.js +1 -1
  280. package/materialui/skeleton/skeleton.theme.js.map +1 -1
  281. package/materialui/slider/sliderValues.js +1 -1
  282. package/materialui/slider/sliderValues.js.map +1 -1
  283. package/materialui/stepper/StepLabelIcon.js +1 -1
  284. package/materialui/stepper/StepLabelIcon.js.map +1 -1
  285. package/materialui/stepper/stepper.theme.js +1 -1
  286. package/materialui/stepper/stepper.theme.js.map +1 -1
  287. package/{cjs/materialui/tabs/scrollButtonComponent.d.ts → materialui/tabs/ScrollButton.d.ts} +2 -1
  288. package/materialui/tabs/ScrollButton.js +2 -0
  289. package/materialui/tabs/ScrollButton.js.map +1 -0
  290. package/materialui/tabs/{tabComponent.d.ts → Tab.d.ts} +1 -1
  291. package/materialui/tabs/{tabComponent.js → Tab.js} +2 -2
  292. package/materialui/tabs/Tab.js.map +1 -0
  293. package/materialui/tabs/{tabPanel.d.ts → TabPanel.d.ts} +0 -4
  294. package/materialui/tabs/TabPanel.js +2 -0
  295. package/materialui/tabs/TabPanel.js.map +1 -0
  296. package/materialui/tabs/index.d.ts +3 -3
  297. package/materialui/tabs/tab.theme.js +1 -1
  298. package/materialui/tabs/tab.theme.js.map +1 -1
  299. package/materialui/tabs/tabs.theme.js +1 -1
  300. package/materialui/tabs/tabs.theme.js.map +1 -1
  301. package/materialui/textfield/textField.theme.js +1 -1
  302. package/materialui/textfield/textField.theme.js.map +1 -1
  303. package/organisms/cardPhotoFixed/cardPhotoFixed.js +1 -1
  304. package/organisms/cardPhotoFixed/cardPhotoFixed.js.map +1 -1
  305. package/organisms/carousel/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  306. package/organisms/carousel/styledComponents/styledCarouselHorizontal.js +1 -1
  307. package/organisms/carousel/styledComponents/styledCarouselHorizontal.js.map +1 -1
  308. package/organisms/carousel/styledComponents/styledCarouselVertical.d.ts +1 -1
  309. package/organisms/carousel/styledComponents/styledCarouselVertical.js +1 -1
  310. package/organisms/carousel/styledComponents/styledCarouselVertical.js.map +1 -1
  311. package/organisms/carousel2/galleryCarousel/galleryCarousel.js +1 -1
  312. package/organisms/carousel2/galleryCarousel/galleryCarousel.js.map +1 -1
  313. package/organisms/carousel2/galleryCarousel/galleryCarouselItem.js +1 -1
  314. package/organisms/carousel2/galleryCarousel/galleryCarouselItem.js.map +1 -1
  315. package/organisms/carousel2/styledComponents/styledCarouselHorizontal.d.ts +1 -1
  316. package/organisms/common/menuCardComponent/menuCardComponent.d.ts +1 -2
  317. package/organisms/common/menuCardComponent/menuCardComponent.js +1 -1
  318. package/organisms/common/menuCardComponent/menuCardComponent.js.map +1 -1
  319. package/organisms/notification/NotificationCenterHeaderButton.js +1 -1
  320. package/organisms/notification/NotificationCenterHeaderButton.js.map +1 -1
  321. package/organisms/textCta/textCta.js +1 -1
  322. package/organisms/textCta/textCta.js.map +1 -1
  323. package/organisms/tile/tile.js +1 -1
  324. package/organisms/tile/tile.js.map +1 -1
  325. package/package.json +1 -1
  326. package/production/Button/Button.js +1 -1
  327. package/production/Button/Button.js.map +1 -1
  328. package/cjs/materialui/tabs/scrollButtonComponent.js +0 -2
  329. package/cjs/materialui/tabs/scrollButtonComponent.js.map +0 -1
  330. package/cjs/materialui/tabs/tabComponent.js.map +0 -1
  331. package/cjs/materialui/tabs/tabPanel.js.map +0 -1
  332. package/materialui/tabs/scrollButtonComponent.js +0 -2
  333. package/materialui/tabs/scrollButtonComponent.js.map +0 -1
  334. package/materialui/tabs/tabComponent.js.map +0 -1
  335. package/materialui/tabs/tabPanel.js +0 -2
  336. package/materialui/tabs/tabPanel.js.map +0 -1
  337. /package/cjs/components/segmentedControls/{segmentedControls.d.ts → SegmentedControls.d.ts} +0 -0
  338. /package/components/segmentedControls/{segmentedControls.d.ts → SegmentedControls.d.ts} +0 -0
@@ -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","FlowStepLabelIcon","ownerState","IconComponent","useMemo","CloseIcon","CheckIcon","_jsxs","FlowStepIconRoot","children","_jsx","sx","position","fontSize","color","Box","className","filter","c","join","_a","restProps","__rest","Object","assign","display","height","width","alignItems","justifyContent","boxSizing","borderRadius","borderColor","backgroundColor","borderWidth","borderStyle","minHeight","theme","palette","mode","border","marginRight","marginLeft","content","inset"],"mappings":"iSAKa,MAAAA,EAAsB,CACjCC,KAAM,oBACNC,OAAQ,sBACRC,UAAW,yBACXC,MAAO,qBACPC,SAAU,yBAGCC,EAAoB,EAAGJ,SAAQC,YAAWC,QAAOG,iBAC5D,MAAMF,SAAEA,GAAaE,QAAAA,EAAc,CAAE,EAE/BC,EAAgBC,GAAQ,IACxBL,EACKM,EACEP,IAAcD,EAChBS,EAEA,MAER,CAACP,EAAOD,EAAWD,IAEtB,OACEU,EAACC,EACE,CAAAC,SAAA,CAAAN,GACCO,EAACP,EACC,CAAAQ,GAAI,CACFC,SAAU,WACVC,SAAU,UACVC,MAAO,wBAIbJ,EAACK,EAAG,CACFC,UAAW,CACTrB,EAAoBC,KACpBC,GAAUF,EAAoBE,OAC9BC,GAAaH,EAAoBG,UACjCC,GAASJ,EAAoBI,MAC7BC,GAAYL,EAAoBK,UAE/BiB,QAAQC,GAAMA,IACdC,KAAK,SAEO,EAIjBX,EAAoBY,QAAAX,SAAEA,EAAQE,GAAEA,GAAES,EAAKC,EAASC,EAAAF,EAA5B,mBACxB,OACEV,EAACK,EACCQ,OAAAC,OAAA,CAAAb,kBACEc,QAAS,OACTC,OAAQ,OACRC,MAAO,OACPC,WAAY,SACZC,eAAgB,SAChBjB,SAAU,WACVkB,UAAW,aACXjB,SAAU,OAEV,CAAC,MAAMlB,EAAoBC,QAAS,CAClC8B,OAAQ,OACRC,MAAO,OACPI,aAAc,OACdC,YAAa,kBACbC,gBAAiB,cACjBC,YAAa,MACbC,YAAa,QACbrB,MAAO,cACPsB,UAAW,OAEX,CAAC,KAAKzC,EAAoBG,kBAAkBH,EAAoBE,WAAY,CAC1EiB,MAAO,kBACPmB,gBAAkBI,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,gBACjFC,OAAQ,OACRd,OAAQ,OACRC,MAAO,QAGT,CAAC,KAAKhC,EAAoBI,YAAYJ,EAAoBI,SAASJ,EAAoBG,aAAc,CACnGkC,YAAa,aACbC,gBAAiB,cAInB,CAAC,KAAKtC,EAAoBE,UAAW,CACnCiB,MAAO,kBACPY,OAAQ,OACRC,MAAO,OACPc,YAAa,MACbC,WAAY,MACZV,YAAcK,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,gBAC7E,YAAa,CACXI,QAAS,KACT/B,SAAU,WACVmB,aAAc,OACdE,gBAAkBI,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,gBACjFK,MAAO,OAET,CAAC,KAAKjD,EAAoBI,SAAU,CAClCiC,YAAa,aACb,YAAa,CACXC,gBAAiB,0BACjBO,OAAQ,EACRI,MAAO,MACPZ,YAAa,0BAKlBrB,IAEDU,YAEHZ,IACG"}
1
+ {"version":3,"file":"StepLabelIcon.js","sources":["../../../src/materialui/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","FlowStepLabelIcon","ownerState","IconComponent","useMemo","CloseIcon","CheckIcon","_jsx","FlowStepIconRoot","className","filter","Boolean","join","children","sx","position","fontSize","color","_a","restProps","__rest","animation","useRef","initialClassName","current","_jsxs","Box","Object","assign","display","height","width","alignItems","justifyContent","boxSizing","zIndex","transform","opacity","borderRadius","borderColor","backgroundColor","borderWidth","borderStyle","minHeight","theme","palette","mode","border","marginRight","marginLeft","content","inset"],"mappings":"6SAKa,MAAAA,EAAsB,CACjCC,KAAM,oBACNC,OAAQ,sBACRC,UAAW,yBACXC,MAAO,qBACPC,SAAU,yBAGCC,EAAoB,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BAAkBI,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,gBACjFC,OAAQ,OACRjB,OAAQ,OACRC,MAAO,OACPV,UAAWA,EAAUG,QAAU,4BAA8B,QAG/D,CAAC,KAAK7B,EAAoBI,YAAYJ,EAAoBI,SAASJ,EAAoBG,aAAc,CACnGyC,YAAa,aACbC,gBAAiB,cAInB,CAAC,KAAK7C,EAAoBE,UAAW,CACnCoB,MAAO,kBACPa,OAAQ,OACRC,MAAO,OACPiB,YAAa,MACbC,WAAY,MACZV,YAAcK,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,gBAC7E,YAAa,CACXI,QAAS,KACTnC,SAAU,WACVuB,aAAc,OACdE,gBAAkBI,GAAkC,SAAvBA,EAAMC,QAAQC,KAAkB,kBAAoB,gBACjFK,MAAO,MACP9B,UAAWA,EAAUG,QAAU,yBAA2B,OAC1DW,OAAQ,KAEV,CAAC,KAAKxC,EAAoBI,SAAU,CAClCwC,YAAa,aACb,YAAa,CACXC,gBAAiB,0BACjBO,OAAQ,EACRI,MAAO,MACPZ,YAAa,0BAKlBzB,IAEDK,EAAS,CAAAN,SAAA,CAEZA,EACDN,EAACmB,EAAG,CAACjB,UAAWA,OACZ"}
@@ -1,2 +1,2 @@
1
- import{flowStepIconClasses as e}from"./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.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.root}.${e.active}::before`]:{inset:"0",borderWidth:"0"}}),nonLinear:({theme:t,size:i})=>({[`& .${e.root}.${e.disabled}`]:Object.assign(Object.assign({},"small"!==i&&{[`&:not(.${e.completed})::after`]:{content:'"!"',lineHeight:"24px",fontSize:"inherit",fontWeight:"800",color:t.palette.background.primary}}),{[`&:not(.${e.active})`]:{borderColor:t.palette.disabled.secondary,backgroundColor:t.palette.disabled.secondary},[`&:.${e.active}`]:{borderColor:t.palette.disabled.secondary,"&::before":{backgroundColor:t.palette.disabled.secondary}}})})}};export{t as flowStepper};
1
+ import{flowStepIconClasses as e}from"./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.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.root}.${e.active}::before`]:{inset:"0",borderWidth:"0",animation:"none"}}),nonLinear:({theme:t,size:i})=>({[`& .${e.root}.${e.disabled}`]:Object.assign(Object.assign({},"small"!==i&&{[`&:not(.${e.completed})::after`]:{content:'"!"',lineHeight:"24px",fontSize:"inherit",fontWeight:"800",color:t.palette.background.primary}}),{[`&:not(.${e.active})`]:{borderColor:t.palette.disabled.secondary,backgroundColor:t.palette.disabled.secondary},[`&:.${e.active}`]:{borderColor:t.palette.disabled.secondary,"&::before":{backgroundColor:t.palette.disabled.secondary}}})})}};export{t as flowStepper};
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":"yDAGa,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,CACtBuB,IAAKhB,EAAMiB,QAAQ,IAEnB,2BAA4B,CAC1Bd,QAAS,QAGX,iCAAkC,CAChCA,QAAS,QAEX,uBAAwB,CACtBe,MAAO,QAGT,2EAA4E,CAC1EA,MAAO,OACPC,SAAU,SAGZ,oDAAqD,CACnD,iDAAkD,CAChDN,OAAQ,SAGZ,kBAAmB,CACjBO,SAAU,IACVC,UAAW,OACXC,aAActB,EAAMiB,QAAQ,KAC5Bb,YAAaJ,EAAMiB,QAAQ,KAC3B,CAAC,UAAUM,EAAoBC,WAAY,CACzCJ,SAAU,IACVD,SAAU,QACVM,SAAU,SAGd,gCAAiC,CAC/BP,MAAO,OAEP,wBAAyB,CACvBf,QAAS,SAGb,sCAAuC,CACrCsB,SAAU,OACVP,MAAO,OACPL,OAAQ,OACRD,UAAW,OACXc,SAAU,QAGZ,CAAC,OAAOH,EAAoBR,QAAQQ,EAAoBC,kBAAmB,CACzEG,MAAO,IACPC,YAAa,OAInBC,UAAW,EAAG7B,QAAOP,WAAY,CAE/B,CAAC,MAAM8B,EAAoBR,QAAQQ,EAAoBO,YAElD7B,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAU,UAATT,GAAoB,CACtB,CAAC,UAAU8B,EAAoBQ,qBAAsB,CACnDC,QAAS,MACTC,WAAY,OACZP,SAAU,UACVQ,WAAY,MACZC,MAAOnC,EAAMO,QAAQ6B,WAAWC,WAElC,CAEF,CAAC,UAAUd,EAAoBC,WAAY,CACzCc,YAAatC,EAAMO,QAAQuB,SAASS,UACpCC,gBAAiBxC,EAAMO,QAAQuB,SAASS,WAG1C,CAAC,MAAMhB,EAAoBC,UAAW,CACpCc,YAAatC,EAAMO,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":"yDAGa,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,aAAa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AAoBC,WAAY,CACzCe,YAAazC,EAAMO,QAAQ0B,SAASS,UACpCC,gBAAiB3C,EAAMO,QAAQ0B,SAASS,WAG1C,CAAC,MAAMjB,EAAoBC,UAAW,CACpCe,YAAazC,EAAMO,QAAQ0B,SAASS,UACpC,YAAa,CACXC,gBAAiB3C,EAAMO,QAAQ0B,SAASS"}
@@ -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
+ import{__rest as o}from"tslib";import{jsx as t}from"react/jsx-runtime";import{IconButton as r}from"@mui/material";import{ChevronLeftIcon as e}from"../../components/icon/stroke/ChevronLeftIcon.js";import{ChevronRightIcon as s}from"../../components/icon/stroke/ChevronRightIcon.js";const i=i=>{var{direction:n,slots:l,slotProps:m,ownerState:c}=i,a=o(i,["direction","slots","slotProps","ownerState"]);return t(r,Object.assign({"aria-label":"left"===n?"Scroll left":"Scroll right",size:"small",sx:{m:"4px"}},a,{children:t("left"===n?e:s,{})}))};export{i as FlowScrollButton};
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":["FlowScrollButton","_a","direction","slots","slotProps","ownerState","rest","__rest","_jsx","IconButton","Object","assign","size","sx","m","ChevronLeftIcon","ChevronRightIcon"],"mappings":"wRAOa,MAAAA,EAAoBC,IAAA,IAAAC,UAAEA,EAASC,MAAEA,EAAKC,UAAEA,EAASC,WAAEA,GAAUJ,EAAKK,EAA9CC,EAAAN,EAAA,CAAA,YAAA,QAAA,YAAA,eAC/B,OACEO,EAACC,EAAUC,OAAAC,OAAA,CAAA,aACiB,SAAdT,EAAuB,cAAgB,eACnDU,KAAK,QACLC,GAAI,CAAEC,EAAG,QACLR,YAEoBE,EAAT,SAAdN,EAAwBa,EAAsBC,EAAP,CAAA,KAC7B"}
@@ -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
  }>;
@@ -1,2 +1,2 @@
1
- import{__rest as i}from"tslib";import{jsx as e,jsxs as t}from"react/jsx-runtime";import{forwardRef as a,useMemo as s}from"react";import{ButtonBase as n,Box as r}from"@mui/material";const l=a(((a,l)=>{var o,{children:c,link:b=!1}=a,m=i(a,["children","link"]);const d=s((()=>({display:"inherit",alignItems:"inherit",justifyContent:"inherit",flexDirection:"inherit",gap:"inherit"})),[]);return e(n,Object.assign({ref:l},b?{component:"a"}:{},m,{tabIndex:(null===(o=m.className)||void 0===o?void 0:o.includes("Mui-disabled"))?-1:0,children:t(r,{className:"FlowTab-labelWrapper",sx:Object.assign(Object.assign({},d),{position:"relative"}),children:[e(r,{className:"FlowTab-label",sx:Object.assign(Object.assign({},d),{position:"absolute"}),children:c}),e(r,{className:"FlowTab-selectedLabel",sx:Object.assign(Object.assign({},d),{fontWeight:"700",opacity:"0",position:"relative"}),"aria-hidden":"true",children:c})]})}))}));export{l as FlowTabComponent};
2
- //# sourceMappingURL=tabComponent.js.map
1
+ import{__rest as i}from"tslib";import{jsx as e,jsxs as t}from"react/jsx-runtime";import{forwardRef as a,useMemo as s}from"react";import{ButtonBase as n,Box as r}from"@mui/material";const l=a(((a,l)=>{var o,{children:c,link:b=!1}=a,m=i(a,["children","link"]);const d=s((()=>({display:"inherit",alignItems:"inherit",justifyContent:"inherit",flexDirection:"inherit",gap:"inherit"})),[]);return e(n,Object.assign({ref:l},b?{component:"a"}:{},m,{tabIndex:(null===(o=m.className)||void 0===o?void 0:o.includes("Mui-disabled"))?-1:0,children:t(r,{className:"FlowTab-labelWrapper",sx:Object.assign(Object.assign({},d),{position:"relative"}),children:[e(r,{className:"FlowTab-label",sx:Object.assign(Object.assign({},d),{position:"absolute"}),children:c}),e(r,{className:"FlowTab-selectedLabel",sx:Object.assign(Object.assign({},d),{fontWeight:"700",opacity:"0",position:"relative"}),"aria-hidden":"true",children:c})]})}))}));export{l as FlowTab};
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 {...(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","ButtonBase","Object","assign","component","tabIndex","_b","className","includes","_jsxs","Box","sx","position","fontWeight","opacity"],"mappings":"qLAMa,MAAAA,EAA0DC,GACrE,CAACC,EAAqCC,YAArCC,SAAEA,EAAQC,KAAEA,GAAO,KAAUC,EAA7BC,EAAAL,EAAA,CAAA,WAAA,SAEC,MAAMM,EAAgBC,GACpB,KAAO,CACLC,QAAS,UACTC,WAAY,UACZC,eAAgB,UAChBC,cAAe,UACfC,IAAK,aAEP,IAGF,OACEC,EAACC,EAAUC,OAAAC,OAAA,CACTf,IAAKA,GACAE,EAAO,CAAEc,UAAW,KAAQ,CAAE,EAC/Bb,GACJc,UAAwB,QAAdC,EAAAf,EAAKgB,iBAAS,IAAAD,OAAA,EAAAA,EAAEE,SAAS,kBAAoB,EAAG,WAE1DC,EAACC,GAAIH,UAAU,uBAAuBI,kCAASlB,GAAa,CAAEmB,SAAU,uBACtEZ,EAACU,GACCH,UAAU,gBACVI,kCACKlB,GAAa,CAChBmB,SAAU,sBAIXvB,IAEHW,EAACU,GACCH,UAAU,wBACVI,kCACKlB,GAAa,CAChBoB,WAAY,MAEZC,QAAS,IACTF,SAAU,aAAU,cAEV,OAAMvB,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
@@ -0,0 +1,2 @@
1
+ import{__rest as e}from"tslib";import{jsx as r}from"react/jsx-runtime";import{Box as i}from"@mui/material";function a(a){var{children:t,value:n,index:l}=a,d=e(a,["children","value","index"]);return r(i,Object.assign({role:"tabpanel","data-testid":`TabPanel-${l}`,"aria-hidden":n!==l},d,{children:n===l&&t}))}export{a as TabPanel};
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":["TabPanel","_a","children","value","index","rest","__rest","_jsx","Box","Object","assign","role"],"mappings":"2GAiBM,SAAUA,EAASC,OAAAC,SAAEA,EAAQC,MAAEA,EAAKC,MAAEA,KAAUC,EAA7BC,EAAAL,EAAA,CAAA,WAAA,QAAA,UACvB,OACEM,EAACC,EAAIC,OAAAC,OAAA,CAAAC,KAAK,WAAU,cAAc,YAAYP,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
- import{jsx as t}from"react/jsx-runtime";import{FlowTabComponent as o}from"./tabComponent.js";import{getFocusRingStyle as e}from"../../components/focusring/focusring.js";const i={defaultProps:{disableRipple:!0,iconPosition:"start",component:o,LinkComponent:e=>t(o,Object.assign({link:!0},e))},styleOverrides:{root:({theme:t,ownerState:o})=>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:t.palette.onSurface.os500,transition:"color 0.3s ease-out","&:hover":{color:t.palette.text.primary}},o.icon&&Object.assign(Object.assign({},"start"===o.iconPosition&&{"& .FlowTab-label":{left:"0"}}),"end"===o.iconPosition&&{"& .FlowTab-label":{right:"0"}})),{"&.Mui-selected":{color:t.palette.text.primary,fontWeight:"700","& .FlowTab-label":{display:"none"},"& .FlowTab-selectedLabel":{opacity:"1"}},"&.Mui-disabled":{color:t.palette.disabled.tertiary}}),e(t,!1,"2px")),{[t.breakpoints.down("md")]:{fontSize:"16px",marginBottom:"10px"}})}};export{i as flowTab};
1
+ import{jsx as t}from"react/jsx-runtime";import{FlowTab as e}from"./Tab.js";import{getFocusRingStyle as o}from"../../components/focusring/focusring.js";const i={defaultProps:{disableRipple:!0,iconPosition:"start",component:e,LinkComponent:o=>t(e,Object.assign({link:!0},o))},styleOverrides:{root:({theme:t,ownerState:e})=>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:t.palette.onSurface.os500,transition:"color 0.3s ease-out","&:hover":{color:t.palette.text.primary}},e.icon&&Object.assign(Object.assign({},"start"===e.iconPosition&&{"& .FlowTab-label":{left:"0"}}),"end"===e.iconPosition&&{"& .FlowTab-label":{right:"0"}})),{"&.Mui-selected":{color:t.palette.text.primary,fontWeight:"700","& .FlowTab-label":{display:"none"},"& .FlowTab-selectedLabel":{opacity:"1"}},"&.Mui-disabled":{color:t.palette.disabled.tertiary}}),o(t,!1,"2px")),{[t.breakpoints.down("md")]:{fontSize:"16px",marginBottom:"10px"}})}};export{i as flowTab};
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","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":"yKAIa,MAAAA,EAAuC,CAClDC,aAAc,CACZC,eAAe,EACfC,aAAc,QAEdC,UAAWC,EACXC,cAAgBC,GAAUC,EAACH,EAAiBI,OAAAC,OAAA,CAAAC,MAAS,GAAAJ,KAEvDK,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,EAAWZ,cAA4B,CAEzC,mBAAoB,CAClBgC,KAAM,OAGsB,QAA5BpB,EAAWZ,cAA0B,CAEvC,mBAAoB,CAClBiC,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,EAAkB3B,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: '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","FlowTab","LinkComponent","props","_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":"uJAIa,MAAAA,EAAuC,CAClDC,aAAc,CACZC,eAAe,EACfC,aAAc,QAEdC,UAAWC,EACXC,cAAgBC,GAAUC,EAACH,EAAQI,OAAAC,OAAA,CAAAC,MAAS,GAAAJ,KAE9CK,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,EAAWZ,cAA4B,CAEzC,mBAAoB,CAClBgC,KAAM,OAGsB,QAA5BpB,EAAWZ,cAA0B,CAEvC,mBAAoB,CAClBiC,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,EAAkB3B,GAAO,EAAO,QAAM,CAEzC,CAACA,EAAM4B,YAAYC,KAAK,OAAQ,CAC9BnB,SAAU,OACVoB,aAAc"}
@@ -1,2 +1,2 @@
1
- import{jsx as e}from"react/jsx-runtime";import{Box as t}from"@mui/material";import{FlowScrollButtonComponent as r}from"./scrollButtonComponent.js";import{updateFocusRingStyle as a}from"../../components/focusring/focusring.js";import{getInteractiveStyle as o}from"../button/interactive.js";const i={defaultProps:{scrollButtons:!1,allowScrollButtonsMobile:!0,visibleScrollbar:!0,variant:"scrollable",TabIndicatorProps:{children:e(t,{sx:{backgroundColor:"currentColor",height:"100%",width:"100%"}})},ScrollButtonComponent:r},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("0px",!1)),o({backgroundColor:"transparent",color:e.palette.onSurface.os500},{backgroundColor:e.palette.surface.primary,color:e.palette.text.primary})),{"&.Mui-selected":Object.assign({},o({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}})})}]};export{i as flowTabs};
1
+ import{FlowScrollButton as e}from"./ScrollButton.js";import{updateFocusRingStyle as t}from"../../components/focusring/focusring.js";import{getInteractiveStyle as a}from"../button/interactive.js";const r={defaultProps:{scrollButtons:"auto",allowScrollButtonsMobile:!0,visibleScrollbar:!1,variant:"scrollable",slots:{scrollButtons:e}},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":{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"},t("0px",!1)),a({backgroundColor:"transparent",color:e.palette.onSurface.os500},{backgroundColor:e.palette.surface.primary,color:e.palette.text.primary})),{"&.Mui-selected":Object.assign({},a({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})=>({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}})})}]};export{r as flowTabs};
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","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":"iSAMa,MAAAA,EAAyC,CACpDC,aAAc,CAEZC,eAAe,EACfC,0BAA0B,EAC1BC,kBAAkB,EAClBC,QAAS,aACTC,kBAAmB,CACjBC,SAAUC,EAACC,GAAIC,GAAI,CAAEC,gBAAiB,eAAgBC,OAAQ,OAAQC,MAAO,WAE/EC,sBAAuBC,GAEzBC,eAAgB,CACdC,KAAM,EAAGC,gBACPC,OAAAC,OAAAD,OAAAC,OAAA,CAAAC,UAAW,IACXC,WAAY,SACZC,IAAK,OACDL,EAAWM,WAAoC,cAAvBN,EAA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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 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 // 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","caption1","common","white","marginTop"],"mappings":"mMAKa,MAAAA,EAAyC,CACpDC,aAAc,CAEZC,cAAe,OACfC,0BAA0B,EAC1BC,kBAAkB,EAClBC,QAAS,aACTC,MAAO,CACLJ,cAAeK,IAGnBC,eAAgB,CACdC,KAAM,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S,QAAQC,KAAkBV,EAAMS,QAAQsC,QAAQnC,UAAYZ,EAAMS,QAAQoD,OAAOC,MAE9FvD,OAAQ,OAER2C,OAAQ,KACRX,aAAc,QACd,WAAY,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
- const e={defaultProps:{variant:"filled",minRows:2,maxRows:2,inputProps:({placeholder:e,label:a})=>Object.assign({},!a&&e&&{"aria-label":e})},styleOverrides:{}};export{e as flowTextField};
1
+ const o={defaultProps:{variant:"filled",minRows:2,maxRows:2,inputProps:({placeholder:o,label:t})=>Object.assign({},!t&&o&&{"aria-label":o})},styleOverrides:{root:{":has(.MuiInputAdornment-positionEnd)":{".MuiInputLabel-root":{paddingRight:"44px"}}}}};export{o as flowTextField};
2
2
  //# sourceMappingURL=textField.theme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"textField.theme.js","sources":["../../../src/materialui/textfield/textField.theme.ts"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\n\nexport const flowTextField: Components<Theme>['MuiTextField'] = {\n defaultProps: {\n variant: 'filled',\n minRows: 2,\n maxRows: 2,\n // NOTE: we are using deprecated @mui props instead of slotProps to allow projects to still use them as well\n inputProps: ({ placeholder, label }) => ({\n // add aria-label for fields without label but with placeholder\n ...(!label &&\n placeholder && {\n ['aria-label']: placeholder,\n }),\n }),\n // slotProps: {\n // input: ({ placeholder, label }) => ({\n // // add aria-label for fields without label but with placeholder\n // ...(!label &&\n // placeholder && {\n // inputProps: { ['aria-label']: placeholder },\n // }),\n // }),\n // },\n },\n styleOverrides: {},\n};\n"],"names":["flowTextField","defaultProps","variant","minRows","maxRows","inputProps","placeholder","label","Object","assign","styleOverrides"],"mappings":"AAEa,MAAAA,EAAmD,CAC9DC,aAAc,CACZC,QAAS,SACTC,QAAS,EACTC,QAAS,EAETC,WAAY,EAAGC,cAAaC,WAEvBC,OAAAC,OAAA,CAAA,GAAEF,GACHD,GAAe,CACb,aAAgBA,KAaxBI,eAAgB,CAAE"}
1
+ {"version":3,"file":"textField.theme.js","sources":["../../../src/materialui/textfield/textField.theme.ts"],"sourcesContent":["import { Components, Theme } from '@mui/material/styles';\n\nexport const flowTextField: Components<Theme>['MuiTextField'] = {\n defaultProps: {\n variant: 'filled',\n minRows: 2,\n maxRows: 2,\n // NOTE: we are using deprecated @mui props instead of slotProps to allow projects to still use them as well\n inputProps: ({ placeholder, label }) => ({\n // add aria-label for fields without label but with placeholder\n ...(!label &&\n placeholder && {\n ['aria-label']: placeholder,\n }),\n }),\n // slotProps: {\n // input: ({ placeholder, label }) => ({\n // // add aria-label for fields without label but with placeholder\n // ...(!label &&\n // placeholder && {\n // inputProps: { ['aria-label']: placeholder },\n // }),\n // }),\n // },\n },\n styleOverrides: {\n root: {\n // prevent overlap with end input adornment icon\n ':has(.MuiInputAdornment-positionEnd)': {\n '.MuiInputLabel-root': {\n paddingRight: '44px',\n },\n },\n },\n },\n};\n"],"names":["flowTextField","defaultProps","variant","minRows","maxRows","inputProps","placeholder","label","Object","assign","styleOverrides","root","paddingRight"],"mappings":"AAEa,MAAAA,EAAmD,CAC9DC,aAAc,CACZC,QAAS,SACTC,QAAS,EACTC,QAAS,EAETC,WAAY,EAAGC,cAAaC,WAEvBC,OAAAC,OAAA,CAAA,GAAEF,GACHD,GAAe,CACb,aAAgBA,KAaxBI,eAAgB,CACdC,KAAM,CAEJ,uCAAwC,CACtC,sBAAuB,CACrBC,aAAc"}
@@ -1,4 +1,4 @@
1
- import{jsx as e}from"react/jsx-runtime";import{forwardRef as i}from"react";import{styled as t}from"@mui/system";import{useTheme as a,useMediaQuery as r,Card as p}from"@mui/material";import o from"./cardPhotoFixedComponent.js";import{opacityLayerSwitchLightStatement as n,opacityLayerSwitchDarkStatement as d}from"../../utils/utilities.js";const m=i(((i,t)=>{const p=a(),n=r(p.breakpoints.up("md"));return e(h,{ref:t,children:e(o,Object.assign({isCompact:n},i))})})),h=t(p)`
1
+ import{jsx as e}from"react/jsx-runtime";import{forwardRef as i}from"react";import{styled as t}from"@mui/material/styles";import{useTheme as a,useMediaQuery as r,Card as p}from"@mui/material";import o from"./cardPhotoFixedComponent.js";import{opacityLayerSwitchLightStatement as n,opacityLayerSwitchDarkStatement as d}from"../../utils/utilities.js";const m=i(((i,t)=>{const p=a(),n=r(p.breakpoints.up("md"));return e(h,{ref:t,children:e(o,Object.assign({isCompact:n},i))})})),h=t(p)`
2
2
  background-color: ${e=>e.theme.palette.common.white};
3
3
 
4
4
  color: ${e=>"opacity0"!==e.children.props.lightOpacity&&"opacity0"===e.children.props.darkOpacity||"configurator"===e.children.props.cardType?e.theme.palette.common.black:("opacity0"!==e.children.props.darkOpacity&&e.children.props.cardType,e.theme.palette.common.white)};
@@ -1 +1 @@
1
- {"version":3,"file":"cardPhotoFixed.js","sources":["../../../src/organisms/cardPhotoFixed/cardPhotoFixed.tsx"],"sourcesContent":["import React, { HTMLAttributes, forwardRef } from 'react';\nimport { styled } from '@mui/system';\nimport { Card as MuiCard, CardProps as MuiCardProps, useTheme, useMediaQuery } from '@mui/material';\nimport CardPhotoFixedComponent from './cardPhotoFixedComponent';\nimport { DarkOpacity, LightOpacity } from '../common/cardOpacitylayer/cardOpacityTyping';\nimport { ButtonVariants } from '../..';\nimport { opacityLayerSwitchDarkStatement, opacityLayerSwitchLightStatement } from '../../utils/utilities';\n/**\n * @interface CardPhotoFixedProps\n * @description Properties are inherited from HTML div element\n */\nexport interface CardPhotoFixedProps extends HTMLAttributes<HTMLDivElement> {\n /**\n * Label text\n */\n label?: string;\n /**\n * Title name text\n */\n title?: string;\n /**\n * Subtitle text\n */\n subTitle?: string;\n /**\n * Description text\n */\n description?: string;\n /**\n * if true, first label is showing\n */\n labelInfoFirst?: boolean;\n /**\n * First label information label text\n */\n labelInfoFirstText?: string;\n /**\n * First label variant\n */\n labelInfoFirstVariant?: 'primary' | 'neutral';\n /**\n * if true, second optional label is showing\n */\n labelInfoSecond?: boolean;\n /**\n * Second label text\n */\n labelInfoSecondText?: string;\n /**\n * Second label variant\n */\n labelInfoSecondVariant?: 'primary' | 'neutral';\n /**\n * An image of the component\n */\n cardImage?: string;\n /**\n * alt HTML tag apply to the image\n */\n altImageDescription?: string;\n /**\n * Mandatory Button link.\n */\n buttonLink?: string;\n\n /**\n * Mandatory Button label. Button displays only if it has a label text\n */\n buttonLabel?: string;\n\n /**\n * Mandatory Button variant.\n */\n buttonVariant?: ButtonVariants;\n /**\n * If true, button is showing\n */\n optionalButton?: boolean;\n /**\n * Optional Button label. Button displays only if it has a label text\n */\n optionalButtonLabel?: string;\n /**\n * Optional Button link.\n */\n optionalButtonLink?: string;\n /**\n * Mandatory Button variant.\n */\n optionalButtonVariant?: ButtonVariants;\n /**\n * If true borderRadius was added to entire card\n */\n isBorderRadius?: boolean;\n /**\n * Info text\n */\n infoText?: string;\n /**\n * Info text second position text\n */\n infoTextSecond?: string;\n /**\n * info text third position text\n */\n infoTextThird?: string;\n /**\n * A dark gradient layer was added\n */\n darkOpacity?: DarkOpacity;\n\n /**\n * A light gradient layer was added\n */\n lightOpacity?: LightOpacity;\n\n /**\n * Uses for setting button size based on screensize\n */\n isCompact?: boolean;\n /**\n * Callback for analytics\n */\n analyticsCallback?: (payload?: any) => void;\n}\n\n/**\n * @description SkodaFlow CardPhotoFixed component.\n * Properties are inherited from HTML Div element.\n * @param props CardPhotoFixedProps\n * @returns React Functional Component\n * @deprecated\n */\nexport const CardPhotoFixed = forwardRef<HTMLDivElement, CardPhotoFixedProps>((props, ref) => {\n const themeBreakpoint = useTheme();\n const isCompact = useMediaQuery(themeBreakpoint.breakpoints.up('md'));\n return (\n <CardPhotoFixedsStyled ref={ref}>\n <CardPhotoFixedComponent isCompact={isCompact} {...props} />\n </CardPhotoFixedsStyled>\n );\n});\n\n/**\n * @description Card Photo Fixed styling definition based on props\n */\n\nconst CardPhotoFixedsStyled = styled(MuiCard)<MuiCardProps & { children?: any; theme?: any }>`\n background-color: ${(props) => {\n return props.theme.palette.common.white;\n }};\n\n color: ${(props) => {\n if (\n (props.children.props.lightOpacity !== 'opacity0' && props.children.props.darkOpacity === 'opacity0') ||\n props.children.props.cardType === 'configurator'\n ) {\n return props.theme.palette.common.black;\n }\n if (props.children.props.darkOpacity !== 'opacity0' && props.children.props.cardType === 'configurator') {\n return props.theme.palette.common.white;\n } else return props.theme.palette.common.white;\n }};\n\n ${(props) => {\n if (props.theme.shape.borderRadius) {\n return 'border-radius: 0;';\n }\n }}\n\n /* Height of the component */\n height: 500px;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n height: 440px;\n }\n @media (min-width: ${(props) => props.theme.breakpoints.values.md}px) {\n height: 400px;\n }\n @media (min-width: ${(props) => props.theme.breakpoints.values.lg}px) {\n height: 440px;\n }\n\n ${(props) => {\n if (props.children.props.isBorderRadius) {\n return 'border-radius: 8px;';\n }\n }}\n\n .CardImageHeader {\n width: 100%;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n max-width: 560px;\n }\n @media (min-width: ${(props) => props.theme.breakpoints.values.xl}px) {\n max-width: 640px;\n }\n }\n\n .CardImageHeader {\n .VehicleEquipment {\n margin: 0;\n font-size: 16px;\n line-height: 24px;\n @media (min-width: ${(props) => props.theme.breakpoints.values.md}px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n color: ${(props) => {\n if (props.children.props.lightOpacity !== 'opacity0' && props.children.props.darkOpacity === 'opacity0') {\n return props.theme.palette.text.primary;\n }\n if (props.children.props.darkOpacity !== 'opacity0') {\n return props.theme.palette.onSurface.os0;\n }\n }};\n }\n\n .CardImageText {\n .CardImageSubtitleContainer {\n display: inline-flex;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 100%;\n }\n .CardImageSubtitle {\n font-size: 16px;\n line-height: 24px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n @media (min-width: ${(props) => props.theme.breakpoints.values.lg}px) {\n font-size: 18px;\n line-height: 28px;\n }\n }\n .CardImageTitle {\n font-size: 23px;\n line-height: 28px;\n @media (min-width: ${(props) => props.theme.breakpoints.values.md}px) {\n font-size: 32px;\n line-height: 38px;\n ${(props) => {\n if (props.children.props.cardSize === 'small') {\n return 'font-size: 27px; line-height: 32px';\n }\n }};\n }\n @media (min-width: ${(props) => props.theme.breakpoints.values.xl}px) {\n font-size: 36px;\n line-height: 44px;\n ${(props) => {\n if (props.children.props.cardSize === 'small') {\n return 'font-size: 30px; line-height: 36px';\n }\n }};\n }\n }\n }\n .CardImageButtonsContainer {\n display: flex;\n justify-content: space-between;\n flex-direction: column-reverse;\n flex-wrap: wrap-reverse;\n width: 100%;\n @media (min-width: ${(props) => props.theme.breakpoints.values.md}px) {\n flex-direction: row;\n }\n }\n .CardImageButtonsGroup {\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n width: 100%;\n gap: 12px 16px;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n flex-direction: row;\n flex-wrap: wrap;\n width: auto;\n }\n .cta-button {\n text-decoration: none;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n width: auto;\n }\n div {\n width: 100%;\n }\n button {\n width: 100%;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n width: auto;\n font-size: 14px;\n }\n }\n }\n }\n\n .LabelsOptional {\n display: flex;\n flex-wrap: wrap;\n margin-top: 6px;\n }\n .infoText {\n font-size: 14px;\n margin-bottom: 12px;\n margin-bottom: 12px;\n width: 100%;\n align-self: end;\n @media (min-width: ${(props) => props.theme.breakpoints.values.md}px) {\n width: auto;\n margin-bottom: 0;\n }\n .infoTextFirst {\n font-weight: bold;\n span {\n font-weight: 300;\n }\n }\n .infoTextThirdContainer {\n display: inline-flex;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n display: inline;\n text-align: right;\n margin-bottom: 0;\n width: auto;\n }\n }\n .infoTextThird {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n }\n .CardImageOverlayTheme {\n ${(props) => {\n return opacityLayerSwitchLightStatement(props.children.props.lightOpacity, 'background');\n }};\n\n ${(props) => {\n return opacityLayerSwitchDarkStatement(props.children.props.darkOpacity, 'background');\n }}\n }\n`;\n"],"names":["CardPhotoFixed","forwardRef","props","ref","themeBreakpoint","useTheme","isCompact","useMediaQuery","breakpoints","up","_jsx","CardPhotoFixedsStyled","children","CardPhotoFixedComponent","Object","assign","styled","MuiCard","theme","palette","common","white","lightOpacity","darkOpacity","cardType","black","shape","borderRadius","values","sm","md","lg","isBorderRadius","xl","text","primary","onSurface","os0","cardSize","opacityLayerSwitchLightStatement","opacityLayerSwitchDarkStatement"],"mappings":"mVAqIa,MAAAA,EAAiBC,GAAgD,CAACC,EAAOC,KACpF,MAAMC,EAAkBC,IAClBC,EAAYC,EAAcH,EAAg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,OAAOE;;;UAG1D5B,IACD,GAAsC,UAAlCA,EAAMU,SAASV,MAAMoC,SACvB,MAAO;;2BAISpC,GAAUA,EAAMgB,MAAMV,YAAYoB,OAAOK;;;UAG1D/B,IACD,GAAsC,UAAlCA,EAAMU,SAASV,MAAMoC,SACvB,MAAO;;;;;;;;;;yBAYOpC,GAAUA,EAAMgB,MAAMV,YAAYoB,OAAOE;;;;;;;;;;yBAUzC5B,GAAUA,EAAMgB,MAAMV,YAAYoB,OAAOC;;;;;;;2BAOvC3B,GAAUA,EAAMgB,MAAMV,YAAYoB,OAAOC;;;;;;;;6BAQvC3B,GAAUA,EAAMgB,MAAMV,YAAYoB,OAAOC;;;;;;;;;;;;;;;;;;;yBAmB7C3B,GAAUA,EAAMgB,MAAMV,YAAYoB,OAAOE;;;;;;;;;;;;;;;;2BAgBvC5B,GAAUA,EAAMgB,MAAMV,YAAYoB,OAAOC;;;;;;;;;;;;;;MAc9D3B,GACMqC,EAAiCrC,EAAMU,SAASV,MAAMoB,aAAc;;MAG1EpB,GACMsC,EAAgCtC,EAAMU,SAASV,MAAMqB,YAAa;;"}
1
+ {"version":3,"file":"cardPhotoFixed.js","sources":["../../../src/organisms/cardPhotoFixed/cardPhotoFixed.tsx"],"sourcesContent":["import React, { HTMLAttributes, forwardRef } from 'react';\nimport { styled } from '@mui/material/styles';\nimport { Card as MuiCard, CardProps as MuiCardProps, useTheme, useMediaQuery } from '@mui/material';\nimport CardPhotoFixedComponent from './cardPhotoFixedComponent';\nimport { DarkOpacity, LightOpacity } from '../common/cardOpacitylayer/cardOpacityTyping';\nimport { ButtonVariants } from '../..';\nimport { opacityLayerSwitchDarkStatement, opacityLayerSwitchLightStatement } from '../../utils/utilities';\n/**\n * @interface CardPhotoFixedProps\n * @description Properties are inherited from HTML div element\n */\nexport interface CardPhotoFixedProps extends HTMLAttributes<HTMLDivElement> {\n /**\n * Label text\n */\n label?: string;\n /**\n * Title name text\n */\n title?: string;\n /**\n * Subtitle text\n */\n subTitle?: string;\n /**\n * Description text\n */\n description?: string;\n /**\n * if true, first label is showing\n */\n labelInfoFirst?: boolean;\n /**\n * First label information label text\n */\n labelInfoFirstText?: string;\n /**\n * First label variant\n */\n labelInfoFirstVariant?: 'primary' | 'neutral';\n /**\n * if true, second optional label is showing\n */\n labelInfoSecond?: boolean;\n /**\n * Second label text\n */\n labelInfoSecondText?: string;\n /**\n * Second label variant\n */\n labelInfoSecondVariant?: 'primary' | 'neutral';\n /**\n * An image of the component\n */\n cardImage?: string;\n /**\n * alt HTML tag apply to the image\n */\n altImageDescription?: string;\n /**\n * Mandatory Button link.\n */\n buttonLink?: string;\n\n /**\n * Mandatory Button label. Button displays only if it has a label text\n */\n buttonLabel?: string;\n\n /**\n * Mandatory Button variant.\n */\n buttonVariant?: ButtonVariants;\n /**\n * If true, button is showing\n */\n optionalButton?: boolean;\n /**\n * Optional Button label. Button displays only if it has a label text\n */\n optionalButtonLabel?: string;\n /**\n * Optional Button link.\n */\n optionalButtonLink?: string;\n /**\n * Mandatory Button variant.\n */\n optionalButtonVariant?: ButtonVariants;\n /**\n * If true borderRadius was added to entire card\n */\n isBorderRadius?: boolean;\n /**\n * Info text\n */\n infoText?: string;\n /**\n * Info text second position text\n */\n infoTextSecond?: string;\n /**\n * info text third position text\n */\n infoTextThird?: string;\n /**\n * A dark gradient layer was added\n */\n darkOpacity?: DarkOpacity;\n\n /**\n * A light gradient layer was added\n */\n lightOpacity?: LightOpacity;\n\n /**\n * Uses for setting button size based on screensize\n */\n isCompact?: boolean;\n /**\n * Callback for analytics\n */\n analyticsCallback?: (payload?: any) => void;\n}\n\n/**\n * @description SkodaFlow CardPhotoFixed component.\n * Properties are inherited from HTML Div element.\n * @param props CardPhotoFixedProps\n * @returns React Functional Component\n * @deprecated\n */\nexport const CardPhotoFixed = forwardRef<HTMLDivElement, CardPhotoFixedProps>((props, ref) => {\n const themeBreakpoint = useTheme();\n const isCompact = useMediaQuery(themeBreakpoint.breakpoints.up('md'));\n return (\n <CardPhotoFixedsStyled ref={ref}>\n <CardPhotoFixedComponent isCompact={isCompact} {...props} />\n </CardPhotoFixedsStyled>\n );\n});\n\n/**\n * @description Card Photo Fixed styling definition based on props\n */\n\nconst CardPhotoFixedsStyled = styled(MuiCard)<MuiCardProps & { children?: any; theme?: any }>`\n background-color: ${(props) => {\n return props.theme.palette.common.white;\n }};\n\n color: ${(props) => {\n if (\n (props.children.props.lightOpacity !== 'opacity0' && props.children.props.darkOpacity === 'opacity0') ||\n props.children.props.cardType === 'configurator'\n ) {\n return props.theme.palette.common.black;\n }\n if (props.children.props.darkOpacity !== 'opacity0' && props.children.props.cardType === 'configurator') {\n return props.theme.palette.common.white;\n } else return props.theme.palette.common.white;\n }};\n\n ${(props) => {\n if (props.theme.shape.borderRadius) {\n return 'border-radius: 0;';\n }\n }}\n\n /* Height of the component */\n height: 500px;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n height: 440px;\n }\n @media (min-width: ${(props) => props.theme.breakpoints.values.md}px) {\n height: 400px;\n }\n @media (min-width: ${(props) => props.theme.breakpoints.values.lg}px) {\n height: 440px;\n }\n\n ${(props) => {\n if (props.children.props.isBorderRadius) {\n return 'border-radius: 8px;';\n }\n }}\n\n .CardImageHeader {\n width: 100%;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n max-width: 560px;\n }\n @media (min-width: ${(props) => props.theme.breakpoints.values.xl}px) {\n max-width: 640px;\n }\n }\n\n .CardImageHeader {\n .VehicleEquipment {\n margin: 0;\n font-size: 16px;\n line-height: 24px;\n @media (min-width: ${(props) => props.theme.breakpoints.values.md}px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n color: ${(props) => {\n if (props.children.props.lightOpacity !== 'opacity0' && props.children.props.darkOpacity === 'opacity0') {\n return props.theme.palette.text.primary;\n }\n if (props.children.props.darkOpacity !== 'opacity0') {\n return props.theme.palette.onSurface.os0;\n }\n }};\n }\n\n .CardImageText {\n .CardImageSubtitleContainer {\n display: inline-flex;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 100%;\n }\n .CardImageSubtitle {\n font-size: 16px;\n line-height: 24px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n @media (min-width: ${(props) => props.theme.breakpoints.values.lg}px) {\n font-size: 18px;\n line-height: 28px;\n }\n }\n .CardImageTitle {\n font-size: 23px;\n line-height: 28px;\n @media (min-width: ${(props) => props.theme.breakpoints.values.md}px) {\n font-size: 32px;\n line-height: 38px;\n ${(props) => {\n if (props.children.props.cardSize === 'small') {\n return 'font-size: 27px; line-height: 32px';\n }\n }};\n }\n @media (min-width: ${(props) => props.theme.breakpoints.values.xl}px) {\n font-size: 36px;\n line-height: 44px;\n ${(props) => {\n if (props.children.props.cardSize === 'small') {\n return 'font-size: 30px; line-height: 36px';\n }\n }};\n }\n }\n }\n .CardImageButtonsContainer {\n display: flex;\n justify-content: space-between;\n flex-direction: column-reverse;\n flex-wrap: wrap-reverse;\n width: 100%;\n @media (min-width: ${(props) => props.theme.breakpoints.values.md}px) {\n flex-direction: row;\n }\n }\n .CardImageButtonsGroup {\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n width: 100%;\n gap: 12px 16px;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n flex-direction: row;\n flex-wrap: wrap;\n width: auto;\n }\n .cta-button {\n text-decoration: none;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n width: auto;\n }\n div {\n width: 100%;\n }\n button {\n width: 100%;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n width: auto;\n font-size: 14px;\n }\n }\n }\n }\n\n .LabelsOptional {\n display: flex;\n flex-wrap: wrap;\n margin-top: 6px;\n }\n .infoText {\n font-size: 14px;\n margin-bottom: 12px;\n margin-bottom: 12px;\n width: 100%;\n align-self: end;\n @media (min-width: ${(props) => props.theme.breakpoints.values.md}px) {\n width: auto;\n margin-bottom: 0;\n }\n .infoTextFirst {\n font-weight: bold;\n span {\n font-weight: 300;\n }\n }\n .infoTextThirdContainer {\n display: inline-flex;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n @media (min-width: ${(props) => props.theme.breakpoints.values.sm}px) {\n display: inline;\n text-align: right;\n margin-bottom: 0;\n width: auto;\n }\n }\n .infoTextThird {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n }\n .CardImageOverlayTheme {\n ${(props) => {\n return opacityLayerSwitchLightStatement(props.children.props.lightOpacity, 'background');\n }};\n\n ${(props) => {\n return opacityLayerSwitchDarkStatement(props.children.props.darkOpacity, 'background');\n }}\n }\n`;\n"],"names":["CardPhotoFixed","forwardRef","props","ref","themeBreakpoint","useTheme","isCompact","useMediaQuery","breakpoints","up","_jsx","CardPhotoFixedsStyled","children","CardPhotoFixedComponent","Object","assign","styled","MuiCard","theme","palette","common","white","lightOpacity","darkOpacity","cardType","black","shape","borderRadius","values","sm","md","lg","isBorderRadius","xl","text","primary","onSurface","os0","cardSize","opacityLayerSwitchLightStatement","opacityLayerSwitchDarkStatement"],"mappings":"4VAqIa,MAAAA,EAAiBC,GAAgD,CAACC,EAAOC,KACpF,MAAMC,EAAkBC,IAClBC,EAAYC,EAAcH,EAAgBI,YAAYC,GAAG,OAC/D,OACEC,EAACC,GAAsBR,IAAKA,EAC1BS,SAAAF,EAACG,EAAwBC,OAAAC,OAAA,CAAAT,UAAWA,GAAeJ,KAC7B,IAQtBS,EAAwBK,EAAOC,EAAwD;sBACtEf,GACZA,EAAMgB,MAAMC,QAAQC,OAAOC;;WAG1BnB,GAEiC,aAAtCA,EAAMU,SAASV,MAAMoB,cAAoE,aAArCpB,EAAMU,SAASV,MAAMqB,aACxC,iBAAlCrB,EAAMU,SAASV,MAAMsB,SAEdtB,EAAMgB,MAAMC,QAAQC,OAAOK,OAEK,aAArCvB,EAAMU,SAASV,MAAMqB,aAA8BrB,EAAMU,SAASV,MAAMsB,SACnEtB,EAAMgB,MAAM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TDE3LjQ1NCAyNy42NzZMMTkuMTE4IDI2LjAxMloiIGZpbGw9IiMxNjE3MTgiLz4KPC9zdmc+Cg=="
6
6
  }
7
- export declare const CarouselStyledHorizontal: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & CarouselPropType & {
7
+ export declare const CarouselStyledHorizontal: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme> & CarouselPropType & {
8
8
  theme?: Theme;
9
9
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,2 +1,2 @@
1
- import{__rest as e}from"tslib";import{styled as t}from"@mui/system";import{ternaryCondition as i}from"../../../utils/utilities.js";var o;!function(e){e.NEXT="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTgiIGN5PSIxOCIgcj0iMTgiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOCIvPgo8cGF0aCBkPSJNOC4xNDYgMTYuNDk2VjE5LjJIMjMuNzcyTDE2Ljg4MiAyNi4wMTJMMTguNTQ2IDI3LjY3NkwyOC4zNzQgMTcuODQ4TDE4LjU0NiA4LjAyTDE2Ljg4MiA5LjY4NEwyMy43NzIgMTYuNDk2SDguMTQ2WiIgZmlsbD0iIzE2MTcxOCIvPgo8L3N2Zz4K",e.PREV="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTgiIGN5PSIxOCIgcj0iMTgiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOCIvPgo8cGF0aCBkPSJNMTkuMTE4IDI2LjAxMkwxMi4yMjggMTkuMkgyNy44NTRWMTYuNDk2SDEyLjIyOEwxOS4xMTggOS42ODRMMTcuNDU0IDguMDJMNy42MjYgMTcuODQ4TDE3LjQ1NCAyNy42NzZMMTkuMTE4IDI2LjAxMloiIGZpbGw9IiMxNjE3MTgiLz4KPC9zdmc+Cg=="}(o||(o={}));const r=t("div",{shouldForwardProp:e=>"isSlideDifferentWidth"!==e&&"slidesItems"!==e&&"slideToShow"!==e&&"bulletTheme"!==e&&"numberingSeparator"!==e&&"numberingSlides"!==e&&"startIndex"!==e&&"cssClass"!==e&&"buttonControls"!==e&&"buttonAreaControlsHeight"!==e&&"slideToScroll"!==e&&"prevControlIcon"!==e&&"nextControlIcon"!==e&&"controlColor"!==e&&"controlIconStyle"!==e&&"controlVariant"!==e&&"controlIconFontSize"!==e&&"slideSelectedClass"!==e&&"heightSlide"!==e&&"bulletScroll"!==e&&"bulletStyle"!==e})((t=>{var{theme:r}=t;const a=e(t,["theme"]);let n={};switch(n=Object.assign(Object.assign({},n),{"& .embla":{position:"relative",padding:"0px",maxWidth:"100%",marginLeft:"auto",marginRight:"auto",boxSizing:"border-box","& *":{boxSizing:"border-box"},[r.breakpoints.up("md")]:{"&.embla-container-next":{"& .embla__container":{left:"center"===a.align?"-6%":"-3%"}},"&.embla-container-prev":{"& .embla__container":{left:"center"===a.align?"-2%":"3%"}}}},"& .embla__viewport":{overflow:"hidden",width:"100%"},"& .embla__viewport.is-draggable":{cursor:"move"},"& .embla__viewport.is-dragging":{cursor:"grabbing"},"& .embla__container":{display:"flex",userSelect:"none",webkitTouchCallout:"none",khtmlUserSelect:"none",webkitTapHighlightColor:"transparent",marginLeft:"-24px",transition:"left .4s",[r.breakpoints.up("md")]:{position:"relative",left:"center"===a.align?"-4%":"0"}},"& .embla__slide":{position:"relative",flex:"0 0 auto",paddingLeft:"24px",[r.breakpoints.down("md")]:{width:a.isSlideDifferentWidth?"":"100%"}},"& .embla__slide__inner":{position:"relative",overflow:"hidden",height:"100%",display:a.isSlideDifferentWidth?"flex":"","& img":{maxWidth:"100%",height:"100%",objectFit:"cover"}},"& .embla__button":{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",top:"0",height:"100%",zIndex:"2",border:"0",boxShadow:"none",backgroundColor:"transparent",cursor:"auto",borderRadius:0,"& .MuiIcon-fontSizeSmall":{width:"24px",height:"24px"},"& .MuiIcon-fontSizeMedium":{width:"32px",height:"32px"},"&:disabled":{"& .MuiIcon-root":{color:r.palette.disabled.primary},"&:hover":{[r.breakpoints.up("lg")]:{"& .MuiIcon-root":{backgroundColor:"transparent"}}}}},"& .embla__button--prev":{left:"0",width:"12%"},"& .embla__button--prev.prev--hovered":{[r.breakpoints.up("lg")]:{cursor:`url(${o.PREV}), auto`,"& button":{transform:"scale(0)"}}},"& .embla__button--next":{right:"0",width:"12%"},"& .embla__button--next.next--hovered":{[r.breakpoints.up("lg")]:{cursor:`url(${o.NEXT}), auto`,"& button":{transform:"scale(0)"}}},"& .embla__progress":{position:"relative",backgroundColor:"transparent",marginTop:!0===a.numberingSlides?"30px":"10px",maxWidth:"100%",width:"100%",height:"4px",overflow:"hidden",borderRadius:"4px",marginLeft:"auto",marginRight:"auto"},"& .embla__progress__bar":{position:"absolute",backgroundColor:r.palette.onSurface.os200,width:"100%",top:"0",bottom:"0",left:"-100%"},"& .carousel_numbering":{[r.breakpoints.up("md")]:{position:"absolute",right:"11%"},[r.breakpoints.down("md")]:{textAlign:"center"}},"& .embla__dots":{display:"flex",listStyle:"none",justifyContent:"center",paddingTop:"10px","& .embla__dot":{backgroundColor:"transparent",cursor:"pointer",position:"relative",padding:"0",outline:"0",border:"0",width:"30px",height:"30px",marginRight:"7.5px",marginLeft:"7.5px",display:"flex",alignItems:"center","&:after":{backgroundColor:r.palette.disabled.secondary,width:"50px",height:"4px",borderRadius:"2px",content:'""'},"&.is-selected":{"&:after":{backgroundColor:r.palette.onSurface.os900,opacity:"1"}}},"& .embla__dot_small":{backgroundColor:"transparent",cursor:"pointer",position:"relative",padding:"0",outline:"0",border:"0",width:"12px",height:"6px",marginRight:"6px",marginLeft:"6px",display:"flex",alignItems:"center","&:after":{backgroundColor:i(a.bulletTheme,"dark",r.palette.onSurface.os900,r.palette.surface.tertiary),width:"6px",height:"6px",borderRadius:"50%",content:'""'},"&.is-selected":{"&:after":{backgroundColor:"transparent",height:"12px",width:"12px",border:i(a.bulletTheme,"dark",r.palette.onSurface.os900,r.palette.surface.tertiary),borderRadius:"50%",opacity:"1"}}}}}),a.slideToShow){case 1:return Object.assign(Object.assign({},n),{"& .embla__slide":{position:"relative",flex:"0 0 100%",paddingLeft:"24px",[r.breakpoints.up("md")]:{flex:a.isSlideDifferentWidth?"0 0 auto":"0 0 100%",maxWidth:!0===a.isSlideDifferentWidth?" 100%":"80%"}}});case 2:return Object.assign(Object.assign({},n),{"& .embla__slide":{position:"relative",flex:"0 0 100%",[r.breakpoints.up("md")]:{flex:"0 0 50%"},paddingLeft:"24px"}});case 3:return Object.assign(Object.assign({},n),{"& .embla__slide":{position:"relative",flex:"0 0 100%",[r.breakpoints.up("md")]:{flex:"0 0 33.33%"},paddingLeft:"24px"}});case 4:return Object.assign(Object.assign({},n),{"& .embla__slide":{position:"relative",flex:"0 0 100%",[r.breakpoints.up("md")]:{flex:"0 0 25%"},paddingLeft:"24px"}})}return n}));export{r as CarouselStyledHorizontal,o as controlButtonsHover};
1
+ import{__rest as e}from"tslib";import{styled as t}from"@mui/material/styles";import{ternaryCondition as i}from"../../../utils/utilities.js";var o;!function(e){e.NEXT="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTgiIGN5PSIxOCIgcj0iMTgiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOCIvPgo8cGF0aCBkPSJNOC4xNDYgMTYuNDk2VjE5LjJIMjMuNzcyTDE2Ljg4MiAyNi4wMTJMMTguNTQ2IDI3LjY3NkwyOC4zNzQgMTcuODQ4TDE4LjU0NiA4LjAyTDE2Ljg4MiA5LjY4NEwyMy43NzIgMTYuNDk2SDguMTQ2WiIgZmlsbD0iIzE2MTcxOCIvPgo8L3N2Zz4K",e.PREV="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTgiIGN5PSIxOCIgcj0iMTgiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOCIvPgo8cGF0aCBkPSJNMTkuMTE4IDI2LjAxMkwxMi4yMjggMTkuMkgyNy44NTRWMTYuNDk2SDEyLjIyOEwxOS4xMTggOS42ODRMMTcuNDU0IDguMDJMNy42MjYgMTcuODQ4TDE3LjQ1NCAyNy42NzZMMTkuMTE4IDI2LjAxMloiIGZpbGw9IiMxNjE3MTgiLz4KPC9zdmc+Cg=="}(o||(o={}));const r=t("div",{shouldForwardProp:e=>"isSlideDifferentWidth"!==e&&"slidesItems"!==e&&"slideToShow"!==e&&"bulletTheme"!==e&&"numberingSeparator"!==e&&"numberingSlides"!==e&&"startIndex"!==e&&"cssClass"!==e&&"buttonControls"!==e&&"buttonAreaControlsHeight"!==e&&"slideToScroll"!==e&&"prevControlIcon"!==e&&"nextControlIcon"!==e&&"controlColor"!==e&&"controlIconStyle"!==e&&"controlVariant"!==e&&"controlIconFontSize"!==e&&"slideSelectedClass"!==e&&"heightSlide"!==e&&"bulletScroll"!==e&&"bulletStyle"!==e})((t=>{var{theme:r}=t;const a=e(t,["theme"]);let n={};switch(n=Object.assign(Object.assign({},n),{"& .embla":{position:"relative",padding:"0px",maxWidth:"100%",marginLeft:"auto",marginRight:"auto",boxSizing:"border-box","& *":{boxSizing:"border-box"},[r.breakpoints.up("md")]:{"&.embla-container-next":{"& .embla__container":{left:"center"===a.align?"-6%":"-3%"}},"&.embla-container-prev":{"& .embla__container":{left:"center"===a.align?"-2%":"3%"}}}},"& .embla__viewport":{overflow:"hidden",width:"100%"},"& .embla__viewport.is-draggable":{cursor:"move"},"& .embla__viewport.is-dragging":{cursor:"grabbing"},"& .embla__container":{display:"flex",userSelect:"none",webkitTouchCallout:"none",khtmlUserSelect:"none",webkitTapHighlightColor:"transparent",marginLeft:"-24px",transition:"left .4s",[r.breakpoints.up("md")]:{position:"relative",left:"center"===a.align?"-4%":"0"}},"& .embla__slide":{position:"relative",flex:"0 0 auto",paddingLeft:"24px",[r.breakpoints.down("md")]:{width:a.isSlideDifferentWidth?"":"100%"}},"& .embla__slide__inner":{position:"relative",overflow:"hidden",height:"100%",display:a.isSlideDifferentWidth?"flex":"","& img":{maxWidth:"100%",height:"100%",objectFit:"cover"}},"& .embla__button":{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",top:"0",height:"100%",zIndex:"2",border:"0",boxShadow:"none",backgroundColor:"transparent",cursor:"auto",borderRadius:0,"& .MuiIcon-fontSizeSmall":{width:"24px",height:"24px"},"& .MuiIcon-fontSizeMedium":{width:"32px",height:"32px"},"&:disabled":{"& .MuiIcon-root":{color:r.palette.disabled.primary},"&:hover":{[r.breakpoints.up("lg")]:{"& .MuiIcon-root":{backgroundColor:"transparent"}}}}},"& .embla__button--prev":{left:"0",width:"12%"},"& .embla__button--prev.prev--hovered":{[r.breakpoints.up("lg")]:{cursor:`url(${o.PREV}), auto`,"& button":{transform:"scale(0)"}}},"& .embla__button--next":{right:"0",width:"12%"},"& .embla__button--next.next--hovered":{[r.breakpoints.up("lg")]:{cursor:`url(${o.NEXT}), auto`,"& button":{transform:"scale(0)"}}},"& .embla__progress":{position:"relative",backgroundColor:"transparent",marginTop:!0===a.numberingSlides?"30px":"10px",maxWidth:"100%",width:"100%",height:"4px",overflow:"hidden",borderRadius:"4px",marginLeft:"auto",marginRight:"auto"},"& .embla__progress__bar":{position:"absolute",backgroundColor:r.palette.onSurface.os200,width:"100%",top:"0",bottom:"0",left:"-100%"},"& .carousel_numbering":{[r.breakpoints.up("md")]:{position:"absolute",right:"11%"},[r.breakpoints.down("md")]:{textAlign:"center"}},"& .embla__dots":{display:"flex",listStyle:"none",justifyContent:"center",paddingTop:"10px","& .embla__dot":{backgroundColor:"transparent",cursor:"pointer",position:"relative",padding:"0",outline:"0",border:"0",width:"30px",height:"30px",marginRight:"7.5px",marginLeft:"7.5px",display:"flex",alignItems:"center","&:after":{backgroundColor:r.palette.disabled.secondary,width:"50px",height:"4px",borderRadius:"2px",content:'""'},"&.is-selected":{"&:after":{backgroundColor:r.palette.onSurface.os900,opacity:"1"}}},"& .embla__dot_small":{backgroundColor:"transparent",cursor:"pointer",position:"relative",padding:"0",outline:"0",border:"0",width:"12px",height:"6px",marginRight:"6px",marginLeft:"6px",display:"flex",alignItems:"center","&:after":{backgroundColor:i(a.bulletTheme,"dark",r.palette.onSurface.os900,r.palette.surface.tertiary),width:"6px",height:"6px",borderRadius:"50%",content:'""'},"&.is-selected":{"&:after":{backgroundColor:"transparent",height:"12px",width:"12px",border:i(a.bulletTheme,"dark",r.palette.onSurface.os900,r.palette.surface.tertiary),borderRadius:"50%",opacity:"1"}}}}}),a.slideToShow){case 1:return Object.assign(Object.assign({},n),{"& .embla__slide":{position:"relative",flex:"0 0 100%",paddingLeft:"24px",[r.breakpoints.up("md")]:{flex:a.isSlideDifferentWidth?"0 0 auto":"0 0 100%",maxWidth:!0===a.isSlideDifferentWidth?" 100%":"80%"}}});case 2:return Object.assign(Object.assign({},n),{"& .embla__slide":{position:"relative",flex:"0 0 100%",[r.breakpoints.up("md")]:{flex:"0 0 50%"},paddingLeft:"24px"}});case 3:return Object.assign(Object.assign({},n),{"& .embla__slide":{position:"relative",flex:"0 0 100%",[r.breakpoints.up("md")]:{flex:"0 0 33.33%"},paddingLeft:"24px"}});case 4:return Object.assign(Object.assign({},n),{"& .embla__slide":{position:"relative",flex:"0 0 100%",[r.breakpoints.up("md")]:{flex:"0 0 25%"},paddingLeft:"24px"}})}return n}));export{r as CarouselStyledHorizontal,o as controlButtonsHover};
2
2
  //# sourceMappingURL=styledCarouselHorizontal.js.map