@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,2 +1,2 @@
1
- import{__rest as o}from"tslib";import{jsx as r,jsxs as s}from"react/jsx-runtime";import{forwardRef as e,useMemo as i,useState as n,useRef as l,useEffect as t}from"react";import{Box as a,Button as c,Slider as d}from"@mui/material";import{useCarousel as u}from"./hooks.js";import{getInteractiveStyle as p}from"../../materialui/button/interactive.js";import{SliderContainer as g}from"../../materialui/slider/sliderContainer.js";const x=e(((s,e)=>{var{carousel:n,position:l,variant:t,sx:a}=s,c=o(s,["carousel","position","variant","sx"]);const d=u(),p=n||d,g=i((()=>{switch(t){case"scrollbar":return f;case"slider":case"progress":return b;case"fraction":return m;case"lines":return v;default:return h}}),[t]),x=i((()=>"inside"===l?Object.assign({position:"absolute",zIndex:"90",bottom:"0",left:"0",right:"0"},a):a),[l,JSON.stringify(a)]);return r(g,Object.assign({carousel:p,sx:x,ref:e},c))})),h=e(((s,e)=>{var{carousel:i,dotProps:n,sx:l}=s,t=o(s,["carousel","dotProps","sx"]);const c=n||{},{sx:d}=c,u=o(c,["sx"]);return r(a,Object.assign({sx:Object.assign({px:2,height:"40px",display:"flex",alignItems:"center",justifyContent:"center",gap:1,pointerEvents:"none"},l),ref:e},t,{children:[...Array((null==i?void 0:i.slides.length)||0)].map(((o,s)=>r(a,Object.assign({className:!(null==i?void 0:i.originalParams.loop)&&(null==i?void 0:i.isEnd)&&s===((null==i?void 0:i.slides.length)||0)-1?"active":(null==i?void 0:i.isEnd)&&!i.originalParams.loop||s!==(null==i?void 0:i.realIndex)?void 0:"active",sx:Object.assign({p:"0",width:"8px",height:"8px",borderRadius:"100%",backgroundColor:"onSurface.os500",transition:"all 0.3s ease-out","&.active":{width:"12px",height:"12px",backgroundColor:"text.primary"}},d)},u),s)))}))})),m=e(((e,i)=>{var{carousel:n,buttonProps:l,sx:t}=e,d=o(e,["carousel","buttonProps","sx"]);const u=l||{},{sx:g}=u,x=o(u,["sx"]);return r(a,Object.assign({sx:Object.assign({display:"flex",alignItems:"center",justifyContent:"center",p:2},t),ref:i},d,{children:r(c,Object.assign({variant:"text","aria-controls":"carousel",sx:Object.assign(Object.assign({px:2,py:.25,borderRadius:"4px",fontSize:"18px",lineHeight:"28px",letterSpacing:"0.02em"},p({backgroundColor:"transparent.backdrop"},{backgroundColor:"onSurface.os100"})),g),onClick:()=>(null==n?void 0:n.isEnd)&&!n.originalParams.loop?null==n?void 0:n.slideTo(0):null==n?void 0:n.slideNext()},x,{children:s(a,{component:"span",children:[r(a,{component:"span",sx:{fontWeight:"700",color:"onSurface.os900"},children:`${((null==n?void 0:n.realIndex)||0)+1}`}),r(a,{component:"span",sx:{color:"onSurface.os700",fontWeight:"400",mx:.5},children:" / "}),r(a,{component:"span",sx:{color:"onSurface.os700",fontWeight:"300"},children:`${(null==n?void 0:n.slides.length)||0}`})]})}))}))})),v=e(((e,i)=>{var{carousel:n,sx:l,linesProps:t,lineProgress:d,lineProgressProps:u}=e,g=o(e,["carousel","sx","linesProps","lineProgress","lineProgressProps"]);const x=t||{},{sx:h}=x,m=o(x,["sx"]),v=u||{},{sx:b}=v,f=o(v,["sx"]);return r(a,Object.assign({sx:Object.assign({display:"flex",alignItems:"center",justifyContent:{xs:"stretch",md:"center"},flexGrow:{xs:"1",md:0},gap:1,p:2},l),ref:i},g,{children:[...Array((null==n?void 0:n.slides.length)||0)].map(((o,e)=>{const i=!(null==n?void 0:n.originalParams.loop)&&(null==n?void 0:n.isEnd)&&e===((null==n?void 0:n.slides.length)||0)-1||(!(null==n?void 0:n.isEnd)||n.originalParams.loop)&&e===(null==n?void 0:n.realIndex),l=e<=((null==n?void 0:n.realIndex)||0);return s(c,Object.assign({color:"inherit",className:i?"active":void 0,sx:Object.assign(Object.assign({p:0,minHeight:"0",height:i||l?"8px":"4px",borderRadius:i||l?"4px":"2px",width:{xs:"100%",md:"56px"},justifyContent:"flex-start"},p({backgroundColor:"surface.primary","& .progress-line":{backgroundColor:"brand.secondary"}},{backgroundColor:"surface.secondary","& .progress-line":{backgroundColor:"brandHover.secondary"}})),h),"aria-controls":"carousel",onClick:()=>null==n?void 0:n[n.originalParams.loop?"slideToLoop":"slideTo"](e)},m,{children:[r(a,{sx:{position:"absolute",top:"50%",left:"0",right:"0",height:"24px",transform:"translateY(-50%)",pointerEvents:"auto"}}),r(a,{sx:{borderRadius:"4px",height:"100%",width:"100%",overflow:"hidden"},children:r(a,Object.assign({className:"progress-line",role:i?"progress":void 0,"aria-valuenow":i?d:void 0,"aria-valuemin":0,"aria-valuemax":100,sx:Object.assign({opacity:void 0!==d||l?"1":"0",width:"100%",backgroundColor:"brand.secondary",height:"100%",transformOrigin:"left",transform:`scaleX(${void 0!==d&&i?d/100:l?1:0})`,transition:(void 0!==d?"transform 300ms ease-in-out, ":"")+"opacity 300ms ease-out, background-color 300ms ease-out"},b)},f))})]}),e)}))}))})),b=e(((s,e)=>{var i,{carousel:c,sliderProps:u,sx:p,progressProps:g}=s,x=o(s,["carousel","sliderProps","sx","progressProps"]);const h=u||{},{sx:m}=h,v=o(h,["sx"]),[b,f]=n(Math.round(100*((null==c?void 0:c.progress)||0))),j=l(!1),[,O]=n({});return t((()=>{j.current||f(Math.round(100*((null==c?void 0:c.progress)||0)))}),[null==c?void 0:c.progress]),t((()=>{if(c){const o=()=>{j.current||O({})};return c.on("sliderMove",o),()=>{c.off("sliderMove",o)}}}),[c]),r(a,Object.assign({sx:Object.assign({my:2},p),ref:e},x,{children:r(d,Object.assign({value:b,min:0,max:100,onChange:(o,r)=>{j.current=!0,null==c||c.setProgress(r/100,150),f(r)},onChangeCommitted:()=>{null==c||c.slideToClosest(300),j.current=!1},sx:Object.assign({display:"block",height:"4px",".MuiSlider-rail":{color:"surface.primary"},".MuiSlider-track":{color:"onSurface.os500",transitionDuration:`${null!==(i=null==c?void 0:c.originalParams.speed)&&void 0!==i?i:300}ms`},".MuiSlider-thumb":{display:"none"}},m),"aria-controls":"carousel"},v))}))})),f=e(((s,e)=>{var l,a,{carousel:c,sliderProps:d}=s,u=o(s,["carousel","sliderProps"]);const p=d||{},{sx:x}=p,h=o(p,["sx"]),[m,v]=n(!1),[,f]=n({});t((()=>{if(c){const o=()=>v(!0),r=()=>v(!1),s=()=>f({});return c.on("touchStart",o),c.on("touchEnd",r),c.on("resize",s),()=>{c.off("touchStart",o),c.off("touchEnd",r),c.off("resize",s)}}}),[c]);const j=i((()=>{var o,r;if((null===(o=null==c?void 0:c.wrapperEl)||void 0===o?void 0:o.scrollWidth)&&(null==c?void 0:c.width)){const o=Math.ceil((null==c?void 0:c.width)**2/(null===(r=null==c?void 0:c.wrapperEl)||void 0===r?void 0:r.scrollWidth));return Math.max(o,40)}return 40}),[null===(l=null==c?void 0:c.wrapperEl)||void 0===l?void 0:l.scrollWidth,null==c?void 0:c.width]);return r(b,Object.assign({ref:e,carousel:c,component:g,thumbSize:j,sliderProps:Object.assign({tabIndex:-1,valueLabelDisplay:"off",sx:Object.assign({display:"block",height:"4px",".MuiSlider-rail, .MuiSlider-track":{color:"surface.primary"},".MuiSlider-thumb":Object.assign(Object.assign({display:"flex",width:`${j}px`,height:"4px",border:"none",backgroundColor:"onSurface.os500"},!m&&{transition:`left ${null!==(a=null==c?void 0:c.originalParams.speed)&&void 0!==a?a:300}ms ease-out`}),{"&.Mui-focusVisible":{boxShadow:"none","&:before":{content:"none"}}})},x)},h)},u))}));export{x as CarouselPagination,h as DotsVariant,m as FractionVariant,v as LinesVariant,f as ScrollbarVariant,b as SliderVariant};
1
+ import{__rest as o}from"tslib";import{jsx as s,jsxs as r}from"react/jsx-runtime";import{forwardRef as e,useMemo as i,useState as n,useRef as l,useEffect as t}from"react";import{Box as a,Button as d,Slider as c}from"@mui/material";import{useCarousel as u}from"./hooks.js";import{getInteractiveStyle as p}from"../../materialui/button/interactive.js";import{SliderContainer as g}from"../../materialui/slider/sliderContainer.js";const x=e(((r,e)=>{var{carousel:n,position:l,variant:t,sx:a}=r,d=o(r,["carousel","position","variant","sx"]);const c=u(),p=n||c,g=i((()=>{switch(t){case"scrollbar":return f;case"slider":case"progress":return v;case"fraction":return h;case"lines":return b;default:return m}}),[t]),x=i((()=>"inside"===l?Object.assign({position:"absolute",zIndex:"90",bottom:"0",left:"0",right:"0"},a):a),[l,JSON.stringify(a)]);return s(g,Object.assign({carousel:p,sx:x,ref:e,position:l},d))})),m=e(((r,e)=>{var{carousel:i,dotsWrapperProps:n,dotProps:l,position:t,sx:d}=r,c=o(r,["carousel","dotsWrapperProps","dotProps","position","sx"]);const u=null!=n?n:{},{sx:p}=u,g=o(u,["sx"]),x=null!=l?l:{},{sx:m}=x,h=o(x,["sx"]);return s(a,Object.assign({sx:Object.assign({p:2,display:"flex",alignItems:"center",justifyContent:"center"},d),ref:e},c,{children:s(a,Object.assign({sx:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"1000px",py:.5,px:1,gap:.5,width:12*((null==i?void 0:i.slides.length)||0)+4*(((null==i?void 0:i.slides.length)||1)-1)+4+16+"px"},"inside"===t&&{backgroundColor:o=>"dark"===o.palette.mode?"surface.primary":"transparent.backdrop"}),p)},g,{children:[...Array((null==i?void 0:i.slides.length)||0)].map(((o,r)=>s(a,Object.assign({className:!(null==i?void 0:i.originalParams.loop)&&(null==i?void 0:i.isEnd)&&r===((null==i?void 0:i.slides.length)||0)-1?"active":(null==i?void 0:i.isEnd)&&!i.originalParams.loop||r!==(null==i?void 0:i.realIndex)?void 0:"active",sx:Object.assign({p:"0",width:"12px",height:"12px",transform:"scale(0.6667)",borderRadius:"100%",backgroundColor:"onSurface.os500",transition:"transform 0.3s ease-out, background-color 0.3s ease-out, margin 0.3s ease-out","&.active":{transform:"scale(1)",backgroundColor:"text.primary",margin:"0 2px"}},m)},h),r)))}))}))})),h=e(((e,i)=>{var{carousel:n,buttonProps:l,position:t,sx:c}=e,u=o(e,["carousel","buttonProps","position","sx"]);const g=null!=l?l:{},{sx:x}=g,m=o(g,["sx"]);return s(a,Object.assign({sx:Object.assign({display:"flex",alignItems:"center",justifyContent:"center",p:2},c),ref:i},u,{children:s(d,Object.assign({variant:"text","aria-controls":"carousel",sx:Object.assign(Object.assign({px:2,py:.25,borderRadius:"4px",fontSize:"18px",lineHeight:"28px",letterSpacing:"0.02em"},p({backgroundColor:"transparent.backdrop"},{backgroundColor:"onSurface.os100"})),x),onClick:()=>(null==n?void 0:n.isEnd)&&!n.originalParams.loop?null==n?void 0:n.slideTo(0):null==n?void 0:n.slideNext()},m,{children:r(a,{component:"span",children:[s(a,{component:"span",sx:{fontWeight:"700",color:"onSurface.os900"},children:`${((null==n?void 0:n.realIndex)||0)+1}`}),s(a,{component:"span",sx:{color:"onSurface.os700",fontWeight:"400",mx:.5},children:" / "}),s(a,{component:"span",sx:{color:"onSurface.os700",fontWeight:"300"},children:`${(null==n?void 0:n.slides.length)||0}`})]})}))}))})),b=e(((e,i)=>{var{carousel:n,sx:l,linesProps:t,lineProgress:c,lineProgressProps:u,position:g}=e,x=o(e,["carousel","sx","linesProps","lineProgress","lineProgressProps","position"]);const m=null!=t?t:{},{sx:h}=m,b=o(m,["sx"]),v=null!=u?u:{},{sx:f}=v,j=o(v,["sx"]);return s(a,Object.assign({sx:Object.assign({display:"flex",alignItems:"center",justifyContent:{xs:"stretch",md:"center"},flexGrow:{xs:"1",md:0},gap:1,p:2},l),ref:i},x,{children:[...Array((null==n?void 0:n.slides.length)||0)].map(((o,e)=>{const i=!(null==n?void 0:n.originalParams.loop)&&(null==n?void 0:n.isEnd)&&e===((null==n?void 0:n.slides.length)||0)-1||(!(null==n?void 0:n.isEnd)||n.originalParams.loop)&&e===(null==n?void 0:n.realIndex),l=e<=((null==n?void 0:n.realIndex)||0);return r(d,Object.assign({color:"inherit",className:i?"active":void 0,sx:Object.assign(Object.assign({p:0,minHeight:"0",height:i||l?"8px":"4px",borderRadius:i||l?"4px":"2px",width:{xs:"100%",md:"56px"},justifyContent:"flex-start"},p({backgroundColor:"surface.primary","& .progress-line":{backgroundColor:"brand.secondary"}},{backgroundColor:"surface.secondary","& .progress-line":{backgroundColor:"brandHover.secondary"}})),h),"aria-controls":"carousel",onClick:()=>null==n?void 0:n[n.originalParams.loop?"slideToLoop":"slideTo"](e)},b,{children:[s(a,{sx:{position:"absolute",top:"50%",left:"0",right:"0",height:"24px",transform:"translateY(-50%)",pointerEvents:"auto"}}),s(a,{sx:{borderRadius:"4px",height:"100%",width:"100%",overflow:"hidden"},children:s(a,Object.assign({className:"progress-line",role:i?"progress":void 0,"aria-valuenow":i?c:void 0,"aria-valuemin":0,"aria-valuemax":100,sx:Object.assign({opacity:void 0!==c||l?"1":"0",width:"100%",backgroundColor:"brand.secondary",height:"100%",transformOrigin:"left",transform:`scaleX(${void 0!==c&&i?c/100:l?1:0})`,transition:(void 0!==c?"transform 300ms ease-in-out, ":"")+"opacity 300ms ease-out, background-color 300ms ease-out"},f)},j))})]}),e)}))}))})),v=e(((r,e)=>{var i,{carousel:d,sliderProps:u,sx:p,progressProps:g,position:x}=r,m=o(r,["carousel","sliderProps","sx","progressProps","position"]);const h=null!=u?u:{},{sx:b}=h,v=o(h,["sx"]),[f,j]=n(Math.round(100*((null==d?void 0:d.progress)||0))),O=l(!1),[,y]=n({});return t((()=>{O.current||j(Math.round(100*((null==d?void 0:d.progress)||0)))}),[null==d?void 0:d.progress]),t((()=>{if(d){const o=()=>{O.current||y({})};return d.on("sliderMove",o),()=>{d.off("sliderMove",o)}}}),[d]),s(a,Object.assign({sx:Object.assign({my:2},p),ref:e},m,{children:s(c,Object.assign({value:f,min:0,max:100,onChange:(o,s)=>{O.current=!0,null==d||d.setProgress(s/100,150),j(s)},onChangeCommitted:()=>{null==d||d.slideToClosest(300),O.current=!1},sx:Object.assign({display:"block",height:"4px",".MuiSlider-rail":{color:"surface.primary"},".MuiSlider-track":{color:"onSurface.os500",transitionDuration:`${null!==(i=null==d?void 0:d.originalParams.speed)&&void 0!==i?i:300}ms`},".MuiSlider-thumb":{display:"none"}},b),"aria-controls":"carousel"},v))}))})),f=e(((r,e)=>{var l,a,{carousel:d,sliderProps:c,position:u}=r,p=o(r,["carousel","sliderProps","position"]);const x=null!=c?c:{},{sx:m}=x,h=o(x,["sx"]),[b,f]=n(!1),[,j]=n({});t((()=>{if(d){const o=()=>f(!0),s=()=>f(!1),r=()=>j({});return d.on("touchStart",o),d.on("touchEnd",s),d.on("resize",r),()=>{d.off("touchStart",o),d.off("touchEnd",s),d.off("resize",r)}}}),[d]);const O=i((()=>{var o,s;if((null===(o=null==d?void 0:d.wrapperEl)||void 0===o?void 0:o.scrollWidth)&&(null==d?void 0:d.width)){const o=Math.ceil((null==d?void 0:d.width)**2/(null===(s=null==d?void 0:d.wrapperEl)||void 0===s?void 0:s.scrollWidth));return Math.max(o,40)}return 40}),[null===(l=null==d?void 0:d.wrapperEl)||void 0===l?void 0:l.scrollWidth,null==d?void 0:d.width]);return s(v,Object.assign({ref:e,carousel:d,component:g,thumbSize:O,sliderProps:Object.assign({tabIndex:-1,valueLabelDisplay:"off",sx:Object.assign({display:"block",height:"4px",".MuiSlider-rail, .MuiSlider-track":{color:"surface.primary"},".MuiSlider-thumb":Object.assign(Object.assign({display:"flex",width:`${O}px`,height:"4px",border:"none",backgroundColor:"onSurface.os500"},!b&&{transition:`left ${null!==(a=null==d?void 0:d.originalParams.speed)&&void 0!==a?a:300}ms ease-out`}),{"&.Mui-focusVisible":{boxShadow:"none","&:before":{content:"none"}}})},m)},h)},p))}));export{x as CarouselPagination,m as DotsVariant,h as FractionVariant,b as LinesVariant,f as ScrollbarVariant,v as SliderVariant};
2
2
  //# sourceMappingURL=pagination.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.js","sources":["../../../src/components/carousel/pagination.tsx"],"sourcesContent":["import React, { ElementType, forwardRef, useEffect, useMemo, useState, useRef } from 'react';\nimport { Box, BoxProps, Button, ButtonProps, Slider, SliderProps, LinearProgressProps, CSSObject } from '@mui/material';\nimport { useCarousel } from './hooks';\nimport type { Swiper as CarouselInstance } from 'swiper';\nimport { getInteractiveStyle } from '@/src/materialui/button/interactive';\nimport { SliderContainer } from '@/src/materialui/slider/sliderContainer';\n\nexport interface CarouselPaginationVariantProps extends Omit<BoxProps<ElementType>, 'children' | 'position'> {\n /**\n * Carousel instance from useCarousel hook\n */\n carousel: CarouselInstance;\n}\nexport interface CarouselPaginationDotsProps extends CarouselPaginationVariantProps {\n variant?: 'dots';\n /**\n * Properties applied to each dot\n */\n dotProps?: Partial<BoxProps<ElementType>>;\n}\nexport interface CarouselPaginationFractionProps extends CarouselPaginationVariantProps {\n variant?: 'fraction';\n /**\n * Properties applied to button used to render text\n */\n buttonProps?: ButtonProps;\n}\nexport interface CarouselPaginationLinesProps extends CarouselPaginationVariantProps {\n variant?: 'lines';\n /**\n * Properties applied to each line\n */\n linesProps?: ButtonProps;\n /**\n * Show progress in active line instead\n */\n lineProgress?: number;\n /**\n * Properties applied to active line progress\n */\n lineProgressProps?: BoxProps<ElementType>;\n}\n/**\n * @deprecated use `slider` variant instead\n */\nexport interface CarouselPaginationProgressProps extends CarouselPaginationVariantProps {\n variant?: 'progress';\n /**\n * @deprecated\n */\n progressProps?: LinearProgressProps;\n /**\n * Properties applied to Slider\n */\n sliderProps?: SliderProps;\n}\nexport interface CarouselPaginationSliderProps extends CarouselPaginationVariantProps {\n variant?: 'slider';\n /**\n * Properties applied to Slider\n */\n sliderProps?: SliderProps;\n}\nexport interface CarouselPaginationScrollbarProps extends CarouselPaginationVariantProps {\n variant?: 'scrollbar';\n /**\n * Properties applied to Slider\n */\n sliderProps?: SliderProps;\n}\nexport interface CarouselPaginationBaseProps {\n /**\n * Optional Carousel instance from useCarouselInstance hook\n */\n carousel?: CarouselInstance;\n /**\n * Append style to wrapper box to change position of control\n * @default outside\n */\n position?: 'outside' | 'inside';\n}\nexport type CarouselPaginationProps = CarouselPaginationBaseProps &\n (\n | Omit<CarouselPaginationDotsProps, 'carousel'>\n | Omit<CarouselPaginationFractionProps, 'carousel'>\n | Omit<CarouselPaginationLinesProps, 'carousel'>\n | Omit<CarouselPaginationProgressProps, 'carousel'>\n | Omit<CarouselPaginationSliderProps, 'carousel'>\n | Omit<CarouselPaginationScrollbarProps, 'carousel'>\n );\n\n/**\n * Pagination controls\n */\nexport const CarouselPagination: React.FC<CarouselPaginationProps> = forwardRef(\n ({ carousel: carouselProp, position, variant, sx: rawSx, ...rest }, ref) => {\n const carouselHook = useCarousel();\n const carousel = carouselProp || carouselHook;\n // decide on component used\n const VariantComponent = useMemo(() => {\n switch (variant) {\n case 'scrollbar':\n return ScrollbarVariant;\n case 'slider':\n case 'progress':\n return SliderVariant;\n case 'fraction':\n return FractionVariant;\n case 'lines':\n return LinesVariant;\n case 'dots':\n return DotsVariant;\n default:\n return DotsVariant;\n }\n }, [variant]);\n // position extra styling applied to wrapper\n const sx = useMemo<CSSObject | BoxProps['sx']>(() => {\n if (position === 'inside') {\n return {\n position: 'absolute',\n zIndex: '90',\n bottom: '0',\n left: '0',\n right: '0',\n ...rawSx,\n };\n } else {\n return rawSx;\n }\n }, [position, JSON.stringify(rawSx)]);\n\n return <VariantComponent carousel={carousel} sx={sx} ref={ref} {...rest} />;\n },\n);\n\n/**\n * Dots variant (...)\n */\nexport const DotsVariant: React.FC<CarouselPaginationDotsProps> = forwardRef(\n ({ carousel, dotProps, sx, ...rest }, ref) => {\n const { sx: dotSx, ...restDot } = dotProps || {};\n\n return (\n <Box\n sx={{\n px: 2,\n height: '40px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n gap: 1,\n pointerEvents: 'none',\n ...sx,\n }}\n ref={ref}\n {...rest}\n >\n {[...Array(carousel?.slides.length || 0)].map((_, idx) => (\n <Box\n key={idx}\n className={\n !carousel?.originalParams.loop && carousel?.isEnd && idx === (carousel?.slides.length || 0) - 1\n ? 'active'\n : (!carousel?.isEnd || carousel.originalParams.loop) && idx === carousel?.realIndex\n ? 'active'\n : undefined\n }\n sx={{\n p: '0',\n width: '8px',\n height: '8px',\n borderRadius: '100%',\n backgroundColor: 'onSurface.os500',\n transition: 'all 0.3s ease-out',\n '&.active': {\n width: '12px',\n height: '12px',\n backgroundColor: 'text.primary',\n },\n ...dotSx,\n }}\n {...restDot}\n />\n ))}\n </Box>\n );\n },\n);\n\n/**\n * Fraction variant (text 1/3)\n */\nexport const FractionVariant: React.FC<CarouselPaginationFractionProps> = forwardRef(\n ({ carousel, buttonProps, sx, ...rest }, ref) => {\n const { sx: buttonSx, ...restButton } = buttonProps || {};\n\n return (\n <Box\n sx={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n // space is needed for focus overflow\n p: 2,\n ...sx,\n }}\n ref={ref}\n {...rest}\n >\n <Button\n variant=\"text\"\n aria-controls=\"carousel\"\n sx={{\n px: 2,\n py: 0.25,\n borderRadius: '4px',\n // custom typography according to Figma (Pagination/Compact)\n fontSize: '18px',\n lineHeight: '28px',\n letterSpacing: '0.02em',\n ...getInteractiveStyle(\n {\n backgroundColor: 'transparent.backdrop',\n },\n {\n backgroundColor: 'onSurface.os100',\n },\n ),\n ...buttonSx,\n }}\n onClick={() =>\n // at the end, slide to beginning\n carousel?.isEnd && !carousel.originalParams.loop ? carousel?.slideTo(0) : carousel?.slideNext()\n }\n {...restButton}\n >\n <Box component=\"span\">\n <Box component=\"span\" sx={{ fontWeight: '700', color: 'onSurface.os900' }}>\n {`${(carousel?.realIndex || 0) + 1}`}\n </Box>\n <Box component=\"span\" sx={{ color: 'onSurface.os700', fontWeight: '400', mx: 0.5 }}>\n {' / '}\n </Box>\n <Box component=\"span\" sx={{ color: 'onSurface.os700', fontWeight: '300' }}>\n {`${carousel?.slides.length || 0}`}\n </Box>\n </Box>\n </Button>\n </Box>\n );\n },\n);\n\n/**\n * Lines variant (- - -)\n */\nexport const LinesVariant: React.FC<CarouselPaginationLinesProps> = forwardRef(\n ({ carousel, sx, linesProps, lineProgress, lineProgressProps, ...rest }, ref) => {\n const { sx: lineSx, ...lineRest } = linesProps || {};\n const { sx: lineProgressSx, ...lineProgressRest } = lineProgressProps || {};\n\n return (\n <Box\n sx={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: { xs: 'stretch', md: 'center' },\n flexGrow: { xs: '1', md: 0 },\n gap: 1,\n // space is needed for focus overflow\n p: 2,\n ...sx,\n }}\n ref={ref}\n {...rest}\n >\n {[...Array(carousel?.slides.length || 0)].map((_, idx) => {\n const active =\n (!carousel?.originalParams.loop && carousel?.isEnd && idx === (carousel?.slides.length || 0) - 1) ||\n ((!carousel?.isEnd || carousel.originalParams.loop) && idx === carousel?.realIndex);\n const seen = idx <= (carousel?.realIndex || 0);\n\n return (\n <Button\n key={idx}\n color=\"inherit\"\n className={active ? 'active' : undefined}\n sx={{\n p: 0,\n minHeight: '0',\n height: active || seen ? '8px' : '4px',\n borderRadius: active || seen ? '4px' : '2px',\n width: { xs: '100%', md: '56px' },\n justifyContent: 'flex-start',\n ...getInteractiveStyle(\n {\n backgroundColor: 'surface.primary',\n '& .progress-line': {\n backgroundColor: 'brand.secondary',\n },\n },\n {\n backgroundColor: 'surface.secondary',\n '& .progress-line': {\n backgroundColor: 'brandHover.secondary',\n },\n },\n ),\n ...lineSx,\n }}\n aria-controls=\"carousel\"\n onClick={() => carousel?.[carousel.originalParams.loop ? 'slideToLoop' : 'slideTo'](idx)}\n {...lineRest}\n >\n <Box\n sx={{\n // invisible hitbox expanding clickable area\n position: 'absolute',\n top: '50%',\n left: '0',\n right: '0',\n height: '24px', // Minimum a11y click area\n transform: 'translateY(-50%)',\n pointerEvents: 'auto',\n }}\n />\n <Box sx={{ borderRadius: '4px', height: '100%', width: '100%', overflow: 'hidden' }}>\n <Box\n className=\"progress-line\"\n role={active ? 'progress' : undefined} // Only the active one gets a role\n aria-valuenow={active ? lineProgress : undefined}\n aria-valuemin={0}\n aria-valuemax={100}\n sx={{\n opacity: lineProgress !== undefined || seen ? '1' : '0',\n width: '100%',\n backgroundColor: 'brand.secondary',\n height: '100%',\n transformOrigin: 'left',\n transform: `scaleX(${lineProgress !== undefined && active ? lineProgress / 100 : seen ? 1 : 0})`,\n transition: `${lineProgress !== undefined ? 'transform 300ms ease-in-out, ' : ''}opacity 300ms ease-out, background-color 300ms ease-out`,\n ...lineProgressSx,\n }}\n {...lineProgressRest}\n />\n </Box>\n </Button>\n );\n })}\n </Box>\n );\n },\n);\n\n/**\n * Slider variant (___)\n */\nexport const SliderVariant: React.FC<CarouselPaginationSliderProps> = forwardRef(\n ({ carousel, sliderProps, sx, progressProps: __, ...rest }, ref) => {\n const { sx: sliderSx, ...restSlider } = sliderProps || {};\n // slider current value that might not match carousel progress\n const [value, setValue] = useState<number>(Math.round((carousel?.progress || 0) * 100));\n // watch user manipulating slider\n const dragging = useRef<boolean>(false);\n const [, setRerender] = useState({});\n // monitor carousel progress to update slider value\n useEffect(() => {\n if (!dragging.current) {\n setValue(Math.round((carousel?.progress || 0) * 100));\n }\n }, [carousel?.progress]);\n // extra monitor of states\n useEffect(() => {\n if (carousel) {\n const handleMove = () => {\n if (!dragging.current) {\n setRerender({});\n }\n };\n\n // monitor of movement to immediately move thumb\n carousel.on('sliderMove', handleMove);\n\n return () => {\n carousel.off('sliderMove', handleMove);\n };\n }\n }, [carousel]);\n\n return (\n <Box sx={{ my: 2, ...sx }} ref={ref} {...rest}>\n <Slider\n value={value}\n min={0}\n max={100}\n onChange={(_, newValue: number) => {\n // prevent value updates from carousel progress\n dragging.current = true;\n // smoothly move carousel\n carousel?.setProgress(newValue / 100, 150);\n // update slider value\n setValue(newValue);\n }}\n onChangeCommitted={() => {\n // make sure to slide to correct position after user stop touching slider\n carousel?.slideToClosest(300);\n // enable changing value from carousel progress\n dragging.current = false;\n }}\n sx={{\n display: 'block',\n height: '4px',\n // restyle to less prominent variant\n '.MuiSlider-rail': {\n color: 'surface.primary',\n },\n '.MuiSlider-track': {\n color: 'onSurface.os500',\n // match transition speed of carousel\n transitionDuration: `${carousel?.originalParams.speed ?? 300}ms`,\n },\n // hide control thumb\n '.MuiSlider-thumb': {\n display: 'none',\n },\n ...sliderSx,\n }}\n aria-controls=\"carousel\"\n {...restSlider}\n />\n </Box>\n );\n },\n);\n\n/**\n * Scrollbar variant (_--)\n */\nexport const ScrollbarVariant: React.FC<CarouselPaginationSliderProps> = forwardRef(\n ({ carousel, sliderProps, ...rest }, ref) => {\n const { sx: sliderSx, ...restSlider } = sliderProps || {};\n // watch states\n const [carouselDragging, setCarouselDragging] = useState<boolean>(false);\n const [, setRerender] = useState({});\n // extra monitor of states\n useEffect(() => {\n if (carousel) {\n const handleDragStart = () => setCarouselDragging(true);\n const handleDragEnd = () => setCarouselDragging(false);\n const handleResize = () => setRerender({});\n\n // monitor of dragging to remove thumb transition for immediate feedback\n carousel.on('touchStart', handleDragStart);\n carousel.on('touchEnd', handleDragEnd);\n // monitor resize to change size of the thumb\n carousel.on('resize', handleResize);\n\n return () => {\n carousel.off('touchStart', handleDragStart);\n carousel.off('touchEnd', handleDragEnd);\n carousel.off('resize', handleResize);\n };\n }\n }, [carousel]);\n // calculate size of the thumb based on the visible content and full content\n const thumbSize = useMemo<number>(() => {\n if (carousel?.wrapperEl?.scrollWidth && carousel?.width) {\n const size = Math.ceil(carousel?.width ** 2 / carousel?.wrapperEl?.scrollWidth);\n return Math.max(size, 40);\n }\n return 40;\n }, [carousel?.wrapperEl?.scrollWidth, carousel?.width]);\n\n return (\n <SliderVariant\n ref={ref}\n carousel={carousel}\n component={SliderContainer}\n thumbSize={thumbSize}\n sliderProps={{\n // prevent selection via keyboard, Carousel can be already controlled with Keyboard and we are not showing focus ring\n tabIndex: -1,\n // remove valueLabel tooltip above thumb\n valueLabelDisplay: 'off',\n sx: {\n display: 'block',\n height: '4px',\n // restyle to match scrollbar\n '.MuiSlider-rail, .MuiSlider-track': {\n color: 'surface.primary',\n },\n '.MuiSlider-thumb': {\n display: 'flex',\n width: `${thumbSize}px`,\n height: '4px',\n border: 'none',\n backgroundColor: 'onSurface.os500',\n // match transition speed of carousel\n ...(!carouselDragging && {\n transition: `left ${carousel?.originalParams.speed ?? 300}ms ease-out`,\n }),\n // remove focus style\n '&.Mui-focusVisible': {\n boxShadow: 'none',\n '&:before': {\n content: 'none',\n },\n },\n },\n ...sliderSx,\n },\n ...restSlider,\n }}\n {...rest}\n />\n );\n },\n);\n"],"names":["CarouselPagination","forwardRef","_a","ref","carousel","carouselProp","position","variant","sx","rawSx","rest","__rest","carouselHook","useCarousel","VariantComponent","useMemo","ScrollbarVariant","SliderVariant","FractionVariant","LinesVariant","DotsVariant","Object","assign","zIndex","bottom","left","right","JSON","stringify","_jsx","dotProps","_b","dotSx","restDot","Box","px","height","display","alignItems","justifyContent","gap","pointerEvents","children","Array","slides","length","map","_","idx","className","originalParams","loop","isEnd","realIndex","undefined","p","width","borderRadius","backgroundColor","transition","buttonProps","buttonSx","restButton","Button","py","fontSize","lineHeight","letterSpacing","getInteractiveStyle","onClick","slideTo","slideNext","_jsxs","component","fontWeight","color","mx","linesProps","lineProgress","lineProgressProps","lineSx","lineRest","_c","lineProgressSx","lineProgressRest","xs","md","flexGrow","active","seen","minHeight","top","transform","overflow","role","opacity","transformOrigin","sliderProps","progressProps","__","sliderSx","restSlider","value","setValue","useState","Math","round","progress","dragging","useRef","setRerender","useEffect","current","handleMove","on","off","my","Slider","min","max","onChange","newValue","setProgress","onChangeCommitted","slideToClosest","transitionDuration","speed","_d","carouselDragging","setCarouselDragging","handleDragStart","handleDragEnd","handleResize","thumbSize","wrapperEl","scrollWidth","size","ceil","SliderContainer","tabIndex","valueLabelDisplay","border","boxShadow","content"],"mappings":"yaA8Fa,MAAAA,EAAwDC,GACnE,CAACC,EAAmEC,KAAnE,IAAEC,SAAUC,EAAYC,SAAEA,EAAQC,QAAEA,EAASC,GAAIC,GAAgBP,EAANQ,EAAIC,EAAAT,EAA/D,wCACC,MAAMU,EAAeC,IACfT,EAAWC,GAAgBO,EAE3BE,EAAmBC,GAAQ,KAC/B,OAAQR,GACN,IAAK,YACH,OAAOS,EACT,IAAK,SACL,IAAK,WACH,OAAOC,EACT,IAAK,WACH,OAAOC,EACT,IAAK,QACH,OAAOC,EAGT,QACE,OAAOC,KAEV,CAACb,IAEEC,EAAKO,GAAoC,IAC5B,WAAbT,EAEAe,OAAAC,OAAA,CAAAhB,SAAU,WACViB,OAAQ,KACRC,OAAQ,IACRC,KAAM,IACNC,MAAO,KACJjB,GAGEA,GAER,CAACH,EAAUqB,KAAKC,UAAUnB,KAE7B,OAAOoB,EAACf,EAAgBO,OAAAC,OAAA,CAAClB,SAAUA,EAAUI,GAAIA,EAAIL,IAAKA,GAASO,GAAQ,IAOlEU,EAAqDnB,GAChE,CAACC,EAAqCC,SAArCC,SAAEA,EAAQ0B,SAAEA,EAAQtB,GAAEA,KAAOE,EAA7BC,EAAAT,EAAA,CAAA,WAAA,WAAA,OACC,MAAM6B,EAA4BD,GAAY,IAAtCtB,GAAIwB,KAAUC,EAAhBtB,EAAAoB,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ExB,OAAO,EAAE,GACR,CAAoB,QAAnBzG,EAAA3B,aAAQ,EAARA,EAAUkI,iBAAS,IAAAvG,OAAA,EAAAA,EAAEwG,YAAanI,aAAQ,EAARA,EAAUoD,QAEhD,OACE3B,EAACZ,EAAaI,OAAAC,OAAA,CACZnB,IAAKA,EACLC,SAAUA,EACVqE,UAAWiE,EACXL,UAAWA,EACXpC,YAAW5E,OAAAC,OAAA,CAETqH,UAAY,EAEZC,kBAAmB,MACnBpI,GAAEa,OAAAC,OAAA,CACAe,QAAS,QACTD,OAAQ,MAER,oCAAqC,CACnCuC,MAAO,mBAET,mBACEtD,OAAAC,OAAAD,OAAAC,OAAA,CAAAe,QAAS,OACTmB,MAAO,GAAG6E,MACVjG,OAAQ,MACRyG,OAAQ,OACRnF,gBAAiB,oBAEZsE,GAAoB,CACvBrE,WAAY,QAAsC,QAA9BuB,EAAA9E,aAAQ,EAARA,EAAU8C,eAAe4E,aAAK,IAAA5C,EAAAA,EAAI,mBACtD,CAEF,qBAAsB,CACpB4D,UAAW,OACX,WAAY,CACVC,QAAS,YAIZ3C,IAEFC,IAED3F,GACJ"}
1
+ {"version":3,"file":"pagination.js","sources":["../../../src/components/carousel/pagination.tsx"],"sourcesContent":["import React, { ElementType, forwardRef, useEffect, useMemo, useState, useRef } from 'react';\nimport { Box, BoxProps, Button, ButtonProps, Slider, SliderProps, LinearProgressProps, CSSObject } from '@mui/material';\nimport { useCarousel } from './hooks';\nimport type { Swiper as CarouselInstance } from 'swiper';\nimport { getInteractiveStyle } from '@/src/materialui/button/interactive';\nimport { SliderContainer } from '@/src/materialui/slider/sliderContainer';\n\nexport interface CarouselPaginationVariantProps extends Omit<BoxProps<ElementType>, 'children' | 'position'> {\n /**\n * Carousel instance from useCarousel hook\n */\n carousel: CarouselInstance;\n}\nexport interface CarouselPaginationDotsProps extends CarouselPaginationVariantProps {\n variant?: 'dots';\n /**\n * Properties applied to wrapper of dots\n */\n dotsWrapperProps?: BoxProps<ElementType>;\n /**\n * Properties applied to each dot\n */\n dotProps?: BoxProps<ElementType>;\n}\nexport interface CarouselPaginationFractionProps extends CarouselPaginationVariantProps {\n variant?: 'fraction';\n /**\n * Properties applied to button used to render text\n */\n buttonProps?: ButtonProps;\n}\nexport interface CarouselPaginationLinesProps extends CarouselPaginationVariantProps {\n variant?: 'lines';\n /**\n * Properties applied to each line\n */\n linesProps?: ButtonProps;\n /**\n * Show progress in active line instead\n */\n lineProgress?: number;\n /**\n * Properties applied to active line progress\n */\n lineProgressProps?: BoxProps<ElementType>;\n}\n/**\n * @deprecated use `slider` variant instead\n */\nexport interface CarouselPaginationProgressProps extends CarouselPaginationVariantProps {\n variant?: 'progress';\n /**\n * @deprecated\n */\n progressProps?: LinearProgressProps;\n /**\n * Properties applied to Slider\n */\n sliderProps?: SliderProps;\n}\nexport interface CarouselPaginationSliderProps extends CarouselPaginationVariantProps {\n variant?: 'slider';\n /**\n * Properties applied to Slider\n */\n sliderProps?: SliderProps;\n}\nexport interface CarouselPaginationScrollbarProps extends CarouselPaginationVariantProps {\n variant?: 'scrollbar';\n /**\n * Properties applied to Slider\n */\n sliderProps?: SliderProps;\n}\nexport interface CarouselPaginationBaseProps {\n /**\n * Optional Carousel instance from useCarouselInstance hook\n */\n carousel?: CarouselInstance;\n /**\n * Append style to wrapper box to change position of control\n * @default outside\n */\n position?: 'outside' | 'inside';\n}\nexport type CarouselPaginationProps = CarouselPaginationBaseProps &\n (\n | Omit<CarouselPaginationDotsProps, 'carousel'>\n | Omit<CarouselPaginationFractionProps, 'carousel'>\n | Omit<CarouselPaginationLinesProps, 'carousel'>\n | Omit<CarouselPaginationProgressProps, 'carousel'>\n | Omit<CarouselPaginationSliderProps, 'carousel'>\n | Omit<CarouselPaginationScrollbarProps, 'carousel'>\n );\n\n/**\n * Pagination controls\n */\nexport const CarouselPagination: React.FC<CarouselPaginationProps> = forwardRef(\n ({ carousel: carouselProp, position, variant, sx: rawSx, ...rest }, ref) => {\n const carouselHook = useCarousel();\n const carousel = carouselProp || carouselHook;\n // decide on component used\n const VariantComponent = useMemo(() => {\n switch (variant) {\n case 'scrollbar':\n return ScrollbarVariant;\n case 'slider':\n case 'progress':\n return SliderVariant;\n case 'fraction':\n return FractionVariant;\n case 'lines':\n return LinesVariant;\n case 'dots':\n return DotsVariant;\n default:\n return DotsVariant;\n }\n }, [variant]);\n // position extra styling applied to wrapper\n const sx = useMemo<CSSObject | BoxProps['sx']>(() => {\n if (position === 'inside') {\n return {\n position: 'absolute',\n zIndex: '90',\n bottom: '0',\n left: '0',\n right: '0',\n ...rawSx,\n };\n } else {\n return rawSx;\n }\n }, [position, JSON.stringify(rawSx)]);\n\n return <VariantComponent carousel={carousel} sx={sx} ref={ref} position={position} {...rest} />;\n },\n);\n\n/**\n * Dots variant (...)\n */\nexport const DotsVariant: React.FC<CarouselPaginationDotsProps> = forwardRef(\n ({ carousel, dotsWrapperProps, dotProps, position, sx, ...rest }, ref) => {\n const { sx: dotsWrapperSx, ...restDotsWrapper } = dotsWrapperProps ?? {};\n const { sx: dotSx, ...restDot } = dotProps ?? {};\n\n return (\n <Box\n sx={{\n p: 2,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n ...sx,\n }}\n ref={ref}\n {...rest}\n >\n <Box\n sx={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '1000px',\n py: 0.5,\n px: 1,\n gap: 0.5,\n // ensure width does not change during transition\n // dots width space + gap space + extra active dot space + padding\n width: `${(carousel?.slides.length || 0) * 12 + ((carousel?.slides.length || 1) - 1) * 4 + 4 + 16}px`,\n // on image variant from Figma\n ...(position === 'inside' && {\n backgroundColor: (theme) => (theme.palette.mode === 'dark' ? 'surface.primary' : 'transparent.backdrop'),\n }),\n ...dotsWrapperSx,\n }}\n {...restDotsWrapper}\n >\n {[...Array(carousel?.slides.length || 0)].map((_, idx) => (\n <Box\n key={idx}\n className={\n !carousel?.originalParams.loop && carousel?.isEnd && idx === (carousel?.slides.length || 0) - 1\n ? 'active'\n : (!carousel?.isEnd || carousel.originalParams.loop) && idx === carousel?.realIndex\n ? 'active'\n : undefined\n }\n sx={{\n p: '0',\n width: '12px',\n height: '12px',\n // scale to 8px\n transform: 'scale(0.6667)',\n borderRadius: '100%',\n backgroundColor: 'onSurface.os500',\n transition: 'transform 0.3s ease-out, background-color 0.3s ease-out, margin 0.3s ease-out',\n '&.active': {\n transform: 'scale(1)',\n backgroundColor: 'text.primary',\n margin: '0 2px',\n },\n ...dotSx,\n }}\n {...restDot}\n />\n ))}\n </Box>\n </Box>\n );\n },\n);\n\n/**\n * Fraction variant (text 1/3)\n */\nexport const FractionVariant: React.FC<CarouselPaginationFractionProps> = forwardRef(\n ({ carousel, buttonProps, position, sx, ...rest }, ref) => {\n const { sx: buttonSx, ...restButton } = buttonProps ?? {};\n\n return (\n <Box\n sx={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n // space is needed for focus overflow\n p: 2,\n ...sx,\n }}\n ref={ref}\n {...rest}\n >\n <Button\n variant=\"text\"\n aria-controls=\"carousel\"\n sx={{\n px: 2,\n py: 0.25,\n borderRadius: '4px',\n // custom typography according to Figma (Pagination/Compact)\n fontSize: '18px',\n lineHeight: '28px',\n letterSpacing: '0.02em',\n ...getInteractiveStyle(\n {\n backgroundColor: 'transparent.backdrop',\n },\n {\n backgroundColor: 'onSurface.os100',\n },\n ),\n ...buttonSx,\n }}\n onClick={() =>\n // at the end, slide to beginning\n carousel?.isEnd && !carousel.originalParams.loop ? carousel?.slideTo(0) : carousel?.slideNext()\n }\n {...restButton}\n >\n <Box component=\"span\">\n <Box component=\"span\" sx={{ fontWeight: '700', color: 'onSurface.os900' }}>\n {`${(carousel?.realIndex || 0) + 1}`}\n </Box>\n <Box component=\"span\" sx={{ color: 'onSurface.os700', fontWeight: '400', mx: 0.5 }}>\n {' / '}\n </Box>\n <Box component=\"span\" sx={{ color: 'onSurface.os700', fontWeight: '300' }}>\n {`${carousel?.slides.length || 0}`}\n </Box>\n </Box>\n </Button>\n </Box>\n );\n },\n);\n\n/**\n * Lines variant (- - -)\n */\nexport const LinesVariant: React.FC<CarouselPaginationLinesProps> = forwardRef(\n ({ carousel, sx, linesProps, lineProgress, lineProgressProps, position, ...rest }, ref) => {\n const { sx: lineSx, ...lineRest } = linesProps ?? {};\n const { sx: lineProgressSx, ...lineProgressRest } = lineProgressProps ?? {};\n\n return (\n <Box\n sx={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: { xs: 'stretch', md: 'center' },\n flexGrow: { xs: '1', md: 0 },\n gap: 1,\n // space is needed for focus overflow\n p: 2,\n ...sx,\n }}\n ref={ref}\n {...rest}\n >\n {[...Array(carousel?.slides.length || 0)].map((_, idx) => {\n const active =\n (!carousel?.originalParams.loop && carousel?.isEnd && idx === (carousel?.slides.length || 0) - 1) ||\n ((!carousel?.isEnd || carousel.originalParams.loop) && idx === carousel?.realIndex);\n const seen = idx <= (carousel?.realIndex || 0);\n\n return (\n <Button\n key={idx}\n color=\"inherit\"\n className={active ? 'active' : undefined}\n sx={{\n p: 0,\n minHeight: '0',\n height: active || seen ? '8px' : '4px',\n borderRadius: active || seen ? '4px' : '2px',\n width: { xs: '100%', md: '56px' },\n justifyContent: 'flex-start',\n ...getInteractiveStyle(\n {\n backgroundColor: 'surface.primary',\n '& .progress-line': {\n backgroundColor: 'brand.secondary',\n },\n },\n {\n backgroundColor: 'surface.secondary',\n '& .progress-line': {\n backgroundColor: 'brandHover.secondary',\n },\n },\n ),\n ...lineSx,\n }}\n aria-controls=\"carousel\"\n onClick={() => carousel?.[carousel.originalParams.loop ? 'slideToLoop' : 'slideTo'](idx)}\n {...lineRest}\n >\n <Box\n sx={{\n // invisible hitbox expanding clickable area\n position: 'absolute',\n top: '50%',\n left: '0',\n right: '0',\n height: '24px', // Minimum a11y click area\n transform: 'translateY(-50%)',\n pointerEvents: 'auto',\n }}\n />\n <Box sx={{ borderRadius: '4px', height: '100%', width: '100%', overflow: 'hidden' }}>\n <Box\n className=\"progress-line\"\n role={active ? 'progress' : undefined} // Only the active one gets a role\n aria-valuenow={active ? lineProgress : undefined}\n aria-valuemin={0}\n aria-valuemax={100}\n sx={{\n opacity: lineProgress !== undefined || seen ? '1' : '0',\n width: '100%',\n backgroundColor: 'brand.secondary',\n height: '100%',\n transformOrigin: 'left',\n transform: `scaleX(${lineProgress !== undefined && active ? lineProgress / 100 : seen ? 1 : 0})`,\n transition: `${lineProgress !== undefined ? 'transform 300ms ease-in-out, ' : ''}opacity 300ms ease-out, background-color 300ms ease-out`,\n ...lineProgressSx,\n }}\n {...lineProgressRest}\n />\n </Box>\n </Button>\n );\n })}\n </Box>\n );\n },\n);\n\n/**\n * Slider variant (___)\n */\nexport const SliderVariant: React.FC<CarouselPaginationSliderProps> = forwardRef(\n ({ carousel, sliderProps, sx, progressProps: __, position, ...rest }, ref) => {\n const { sx: sliderSx, ...restSlider } = sliderProps ?? {};\n // slider current value that might not match carousel progress\n const [value, setValue] = useState<number>(Math.round((carousel?.progress || 0) * 100));\n // watch user manipulating slider\n const dragging = useRef<boolean>(false);\n const [, setRerender] = useState({});\n // monitor carousel progress to update slider value\n useEffect(() => {\n if (!dragging.current) {\n setValue(Math.round((carousel?.progress || 0) * 100));\n }\n }, [carousel?.progress]);\n // extra monitor of states\n useEffect(() => {\n if (carousel) {\n const handleMove = () => {\n if (!dragging.current) {\n setRerender({});\n }\n };\n\n // monitor of movement to immediately move thumb\n carousel.on('sliderMove', handleMove);\n\n return () => {\n carousel.off('sliderMove', handleMove);\n };\n }\n }, [carousel]);\n\n return (\n <Box sx={{ my: 2, ...sx }} ref={ref} {...rest}>\n <Slider\n value={value}\n min={0}\n max={100}\n onChange={(_, newValue: number) => {\n // prevent value updates from carousel progress\n dragging.current = true;\n // smoothly move carousel\n carousel?.setProgress(newValue / 100, 150);\n // update slider value\n setValue(newValue);\n }}\n onChangeCommitted={() => {\n // make sure to slide to correct position after user stop touching slider\n carousel?.slideToClosest(300);\n // enable changing value from carousel progress\n dragging.current = false;\n }}\n sx={{\n display: 'block',\n height: '4px',\n // restyle to less prominent variant\n '.MuiSlider-rail': {\n color: 'surface.primary',\n },\n '.MuiSlider-track': {\n color: 'onSurface.os500',\n // match transition speed of carousel\n transitionDuration: `${carousel?.originalParams.speed ?? 300}ms`,\n },\n // hide control thumb\n '.MuiSlider-thumb': {\n display: 'none',\n },\n ...sliderSx,\n }}\n aria-controls=\"carousel\"\n {...restSlider}\n />\n </Box>\n );\n },\n);\n\n/**\n * Scrollbar variant (_--)\n */\nexport const ScrollbarVariant: React.FC<CarouselPaginationSliderProps> = forwardRef(\n ({ carousel, sliderProps, position, ...rest }, ref) => {\n const { sx: sliderSx, ...restSlider } = sliderProps ?? {};\n // watch states\n const [carouselDragging, setCarouselDragging] = useState<boolean>(false);\n const [, setRerender] = useState({});\n // extra monitor of states\n useEffect(() => {\n if (carousel) {\n const handleDragStart = () => setCarouselDragging(true);\n const handleDragEnd = () => setCarouselDragging(false);\n const handleResize = () => setRerender({});\n\n // monitor of dragging to remove thumb transition for immediate feedback\n carousel.on('touchStart', handleDragStart);\n carousel.on('touchEnd', handleDragEnd);\n // monitor resize to change size of the thumb\n carousel.on('resize', handleResize);\n\n return () => {\n carousel.off('touchStart', handleDragStart);\n carousel.off('touchEnd', handleDragEnd);\n carousel.off('resize', handleResize);\n };\n }\n }, [carousel]);\n // calculate size of the thumb based on the visible content and full content\n const thumbSize = useMemo<number>(() => {\n if (carousel?.wrapperEl?.scrollWidth && carousel?.width) {\n const size = Math.ceil(carousel?.width ** 2 / carousel?.wrapperEl?.scrollWidth);\n return Math.max(size, 40);\n }\n return 40;\n }, [carousel?.wrapperEl?.scrollWidth, carousel?.width]);\n\n return (\n <SliderVariant\n ref={ref}\n carousel={carousel}\n component={SliderContainer}\n thumbSize={thumbSize}\n sliderProps={{\n // prevent selection via keyboard, Carousel can be already controlled with Keyboard and we are not showing focus ring\n tabIndex: -1,\n // remove valueLabel tooltip above thumb\n valueLabelDisplay: 'off',\n sx: {\n display: 'block',\n height: '4px',\n // restyle to match scrollbar\n '.MuiSlider-rail, .MuiSlider-track': {\n color: 'surface.primary',\n },\n '.MuiSlider-thumb': {\n display: 'flex',\n width: `${thumbSize}px`,\n height: '4px',\n border: 'none',\n backgroundColor: 'onSurface.os500',\n // match transition speed of carousel\n ...(!carouselDragging && {\n transition: `left ${carousel?.originalParams.speed ?? 300}ms ease-out`,\n }),\n // remove focus style\n '&.Mui-focusVisible': {\n boxShadow: 'none',\n '&:before': {\n content: 'none',\n },\n },\n },\n ...sliderSx,\n },\n ...restSlider,\n }}\n {...rest}\n />\n );\n },\n);\n"],"names":["CarouselPagination","forwardRef","_a","ref","carousel","carouselProp","position","variant","sx","rawSx","rest","__rest","carouselHook","useCarousel","VariantComponent","useMemo","ScrollbarVariant","SliderVariant","FractionVariant","LinesVariant","DotsVariant","Object","assign","zIndex","bottom","left","right","JSON","stringify","_jsx","dotsWrapperProps","dotProps","_b","dotsWrapperSx","restDotsWrapper","_c","dotSx","restDot","Box","p","display","alignItems","justifyContent","children","borderRadius","py","px","gap","width","slides","length","backgroundColor","theme","palette","mode","Array","map","_","idx","className","originalParams","loop","isEnd","realIndex","undefined","height","transform","transition","margin","buttonProps","buttonSx","restButton","Button","fontSize","lineHeight","letterSpacing","getInteractiveStyle","onClick","slideTo","slideNext","_jsxs","component","fontWeight","color","mx","linesProps","lineProgress","lineProgressProps","lineSx","lineRest","lineProgressSx","lineProgressRest","xs","md","flexGrow","active","seen","minHeight","top","pointerEvents","overflow","role","opacity","transformOrigin","sliderProps","progressProps","__","sliderSx","restSlider","value","setValue","useState","Math","round","progress","dragging","useRef","setRerender","useEffect","current","handleMove","on","off","my","Slider","min","max","onChange","newValue","setProgress","onChangeCommitted","slideToClosest","transitionDuration","speed","_d","carouselDragging","setCarouselDragging","handleDragStart","handleDragEnd","handleResize","thumbSize","wrapperEl","scrollWidth","size","ceil","SliderContainer","tabIndex","valueLabelDisplay","border","boxShadow","content"],"mappings":"yaAkGa,MAAAA,EAAwDC,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X,aAAA,EAAAA,EAAUyI,iBAAS,IAAA3I,OAAA,EAAAA,EAAE4I,eAAe1I,aAAQ,EAARA,EAAU4C,OAAO,CACvD,MAAM+F,EAAO/B,KAAKgC,MAAK5I,aAAA,EAAAA,EAAU4C,QAAS,GAAuB,QAAnBhB,EAAA5B,aAAQ,EAARA,EAAUyI,iBAAS,IAAA7G,OAAA,EAAAA,EAAE8G,cACnE,OAAO9B,KAAKc,IAAIiB,EAAM,IAExB,OAAO,EAAE,GACR,CAAoB,QAAnB/G,EAAA5B,aAAQ,EAARA,EAAUyI,iBAAS,IAAA7G,OAAA,EAAAA,EAAE8G,YAAa1I,aAAQ,EAARA,EAAU4C,QAEhD,OACEnB,EAACZ,EAAaI,OAAAC,OAAA,CACZnB,IAAKA,EACLC,SAAUA,EACV6E,UAAWgE,EACXL,UAAWA,EACXpC,YAAWnF,OAAAC,OAAA,CAET4H,UAAY,EAEZC,kBAAmB,MACnB3I,GAAEa,OAAAC,OAAA,CACAkB,QAAS,QACTyB,OAAQ,MAER,oCAAqC,CACnCkB,MAAO,mBAET,mBACE9D,OAAAC,OAAAD,OAAAC,OAAA,CAAAkB,QAAS,OACTQ,MAAO,GAAG4F,MACV3E,OAAQ,MACRmF,OAAQ,OACRjG,gBAAiB,oBAEZoF,GAAoB,CACvBpE,WAAY,QAAsC,QAA9BhC,EAAA/B,aAAQ,EAARA,EAAUwD,eAAeyE,aAAK,IAAAlG,EAAAA,EAAI,mBACtD,CAEF,qBAAsB,CACpBkH,UAAW,OACX,WAAY,CACVC,QAAS,YAIZ3C,IAEFC,IAEDlG,GACJ"}
@@ -1,4 +1,4 @@
1
- declare const ChipFocusVisibleStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & {
1
+ declare const ChipFocusVisibleStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
2
2
  focusVisible: boolean;
3
3
  variant: any;
4
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,2 +1,2 @@
1
- import{styled as e}from"@mui/system";const i=e("div")((({theme:e,focusVisible:i,variant:o})=>({display:"inline-flex",borderRadius:"image"===o?6:50,transition:"none",boxShadow:i?`0 0 0 2px ${e.palette.onSurface.os900}`:void 0})));export{i as default};
1
+ import{styled as e}from"@mui/material/styles";const i=e("div")((({theme:e,focusVisible:i,variant:a})=>({display:"inline-flex",borderRadius:"image"===a?6:50,transition:"none",boxShadow:i?`0 0 0 2px ${e.palette.onSurface.os900}`:void 0})));export{i as default};
2
2
  //# sourceMappingURL=chipFocusVisibleStyled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chipFocusVisibleStyled.js","sources":["../../../src/components/chip/chipFocusVisibleStyled.tsx"],"sourcesContent":["import { styled } from '@mui/system';\n\nconst ChipFocusVisibleStyled = styled('div')<{ focusVisible: boolean; variant: any }>(({\n theme,\n focusVisible,\n variant,\n}) => {\n return {\n display: 'inline-flex',\n borderRadius: variant === 'image' ? 6 : 50,\n transition: 'none',\n boxShadow: focusVisible ? `0 0 0 2px ${theme.palette.onSurface.os900}` : undefined,\n };\n});\n\nexport default ChipFocusVisibleStyled;\n"],"names":["ChipFocusVisibleStyled","styled","theme","focusVisible","variant","display","borderRadius","transition","boxShadow","palette","onSurface","os900","undefined"],"mappings":"qCAEA,MAAMA,EAAyBC,EAAO,MAAPA,EAAuD,EACpFC,QACAC,eACAC,cAEO,CACLC,QAAS,cACTC,aAA0B,UAAZF,EAAsB,EAAI,GACxCG,WAAY,OACZC,UAAWL,EAAe,aAAaD,EAAMO,QAAQC,UAAUC,aAAUC"}
1
+ {"version":3,"file":"chipFocusVisibleStyled.js","sources":["../../../src/components/chip/chipFocusVisibleStyled.tsx"],"sourcesContent":["import { styled } from '@mui/material/styles';\n\nconst ChipFocusVisibleStyled = styled('div')<{ focusVisible: boolean; variant: any }>(({\n theme,\n focusVisible,\n variant,\n}) => {\n return {\n display: 'inline-flex',\n borderRadius: variant === 'image' ? 6 : 50,\n transition: 'none',\n boxShadow: focusVisible ? `0 0 0 2px ${theme.palette.onSurface.os900}` : undefined,\n };\n});\n\nexport default ChipFocusVisibleStyled;\n"],"names":["ChipFocusVisibleStyled","styled","theme","focusVisible","variant","display","borderRadius","transition","boxShadow","palette","onSurface","os900","undefined"],"mappings":"8CAEA,MAAMA,EAAyBC,EAAO,MAAPA,EAAuD,EACpFC,QACAC,eACAC,cAEO,CACLC,QAAS,cACTC,aAA0B,UAAZF,EAAsB,EAAI,GACxCG,WAAY,OACZC,UAAWL,EAAe,aAAaD,EAAMO,QAAQC,UAAUC,aAAUC"}
@@ -1,2 +1,2 @@
1
- import{__rest as e}from"tslib";import{jsx as i}from"react/jsx-runtime";import{styled as t}from"@mui/system";import{Menu as s}from"../menu/menu.js";import{MenuEmpty as o}from"./menuEmpty.js";const n=t=>{var{setIsOpen:n,isEmptyMenu:r}=t,p=e(t,["setIsOpen","isEmptyMenu"]);return i(l,{marginTop:p.marginTop+"px",width:p.fullWidth?"100%":p.width+"px",isOpen:p.isOpen,disabled:p.disabled,children:r?i(o,{children:p.children}):i(s,{items:p.items,hasIcon:p.hasIcon,multipleSelection:p.multipleSelection,groupToggleSelection:p.groupToggleSelection,groupLabel:p.groupLabel,reactHook:p.reactHook,setIsOpen:n,toggleLabel:p.toggleLabel})})},l=t("div")((i=>{var{theme:t}=i,s=e(i,["theme"]);let o={};return o={width:s.width,marginTop:s.marginTop,transition:"0.3s ease-out",display:"inline-block",position:"absolute",zIndex:"10"},o=s.isOpen&&!s.disabled?Object.assign(Object.assign({},o),{visibility:"visible",opacity:"100%"}):Object.assign(Object.assign({},o),{visibility:"hidden",opacity:"0%"}),o}));export{n as default};
1
+ import{__rest as e}from"tslib";import{jsx as i}from"react/jsx-runtime";import{styled as t}from"@mui/material/styles";import{Menu as s}from"../menu/menu.js";import{MenuEmpty as o}from"./menuEmpty.js";const n=t=>{var{setIsOpen:n,isEmptyMenu:r}=t,a=e(t,["setIsOpen","isEmptyMenu"]);return i(l,{marginTop:a.marginTop+"px",width:a.fullWidth?"100%":a.width+"px",isOpen:a.isOpen,disabled:a.disabled,children:r?i(o,{children:a.children}):i(s,{items:a.items,hasIcon:a.hasIcon,multipleSelection:a.multipleSelection,groupToggleSelection:a.groupToggleSelection,groupLabel:a.groupLabel,reactHook:a.reactHook,setIsOpen:n,toggleLabel:a.toggleLabel})})},l=t("div")((i=>{var{theme:t}=i,s=e(i,["theme"]);let o={};return o={width:s.width,marginTop:s.marginTop,transition:"0.3s ease-out",display:"inline-block",position:"absolute",zIndex:"10"},o=s.isOpen&&!s.disabled?Object.assign(Object.assign({},o),{visibility:"visible",opacity:"100%"}):Object.assign(Object.assign({},o),{visibility:"hidden",opacity:"0%"}),o}));export{n as default};
2
2
  //# sourceMappingURL=menuContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"menuContainer.js","sources":["../../../src/components/common/menuContainer.tsx"],"sourcesContent":["import React from 'react';\nimport { styled } from '@mui/system';\nimport { Menu, MenuReactUseStateHook, MenuItems } from '../menu';\nimport MenuEmpty from './menuEmpty';\n\nexport interface MenuContainerProps {\n disabled?: boolean;\n items?: MenuItems;\n hasIcon?: boolean;\n multipleSelection?: boolean;\n groupLabel?: string;\n reactHook?: MenuReactUseStateHook;\n groupToggleSelection?: boolean;\n isOpen?: boolean;\n marginTop?: number;\n width?: number;\n fullWidth?: boolean;\n setIsOpen?: React.Dispatch<React.SetStateAction<boolean>>;\n isEmptyMenu?: boolean;\n toggleLabel?: string;\n children?: React.ReactNode;\n}\n\nconst MenuContainer: React.FC<MenuContainerProps> = ({ setIsOpen, isEmptyMenu, ...props }) => {\n return (\n <StyledDiv\n marginTop={props.marginTop + 'px'}\n width={props.fullWidth ? '100%' : props.width + 'px'}\n isOpen={props.isOpen}\n disabled={props.disabled}\n >\n {isEmptyMenu ? (\n <MenuEmpty>{props.children}</MenuEmpty>\n ) : (\n <Menu\n items={props.items}\n hasIcon={props.hasIcon}\n multipleSelection={props.multipleSelection}\n groupToggleSelection={props.groupToggleSelection}\n groupLabel={props.groupLabel}\n reactHook={props.reactHook}\n setIsOpen={setIsOpen}\n toggleLabel={props.toggleLabel}\n />\n )}\n </StyledDiv>\n );\n};\n\nconst StyledDiv = styled('div')<{\n marginTop?: string;\n isOpen: boolean;\n disabled: boolean;\n width?: string;\n}>(({ theme, ...args }) => {\n let styles = {};\n\n styles = {\n width: args.width,\n marginTop: args.marginTop,\n transition: '0.3s ease-out',\n display: 'inline-block',\n position: 'absolute',\n zIndex: '10',\n };\n\n if (args.isOpen && !args.disabled) {\n styles = { ...styles, visibility: 'visible', opacity: '100%' };\n } else {\n styles = { ...styles, visibility: 'hidden', opacity: '0%' };\n }\n\n return styles;\n});\n\nexport default MenuContainer;\n"],"names":["MenuContainer","_a","setIsOpen","isEmptyMenu","props","__rest","_jsx","StyledDiv","marginTop","width","fullWidth","isOpen","disabled","children","MenuEmpty","Menu","items","hasIcon","multipleSelection","groupToggleSelection","groupLabel","reactHook","toggleLabel","styled","theme","args","styles","transition","display","position","zIndex","Object","assign","visibility","opacity"],"mappings":"8LAuBA,MAAMA,EAA+CC,QAAAC,UAAEA,EAASC,YAAEA,GAAWF,EAAKG,EAAKC,EAAAJ,EAAlC,6BACnD,OACEK,EAACC,EACC,CAAAC,UAAWJ,EAAMI,UAAY,KAC7BC,MAAOL,EAAMM,UAAY,OAASN,EAAMK,MAAQ,KAChDE,OAAQP,EAAMO,OACdC,SAAUR,EAAMQ,SAEfC,SAAAV,EACCG,EAACQ,EAAW,CAAAD,SAAAT,EAAMS,WAElBP,EAACS,EAAI,CACHC,MAAOZ,EAAMY,MACbC,QAASb,EAAMa,QACfC,kBAAmBd,EAAMc,kBACzBC,qBAAsBf,EAAMe,qBAC5BC,WAAYhB,EAAMgB,WAClBC,UAAWjB,EAAMiB,UACjBnB,UAAWA,EACXoB,YAAalB,EAAMkB,eAGb,EAIVf,EAAYgB,EAAO,MAAPA,EAKdtB,IAAA,IAAAuB,MAAEA,GAAgBvB,EAANwB,EAAIpB,EAAAJ,EAAhB,WACF,IAAIyB,EAAS,CAAE,EAiBf,OAfAA,EAAS,CACPjB,MAAOgB,EAAKhB,MACZD,UAAWiB,EAAKjB,UAChBmB,WAAY,gBACZC,QAAS,eACTC,SAAU,WACVC,OAAQ,MAIRJ,EADED,EAAKd,SAAWc,EAAKb,SACjBmB,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAQN,GAAM,CAAEO,WAAY,UAAWC,QAAS,SAEhDH,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAQN,GAAM,CAAEO,WAAY,SAAUC,QAAS,OAGhDR,CAAM"}
1
+ {"version":3,"file":"menuContainer.js","sources":["../../../src/components/common/menuContainer.tsx"],"sourcesContent":["import React from 'react';\nimport { styled } from '@mui/material/styles';\nimport { Menu, MenuReactUseStateHook, MenuItems } from '../menu';\nimport MenuEmpty from './menuEmpty';\n\nexport interface MenuContainerProps {\n disabled?: boolean;\n items?: MenuItems;\n hasIcon?: boolean;\n multipleSelection?: boolean;\n groupLabel?: string;\n reactHook?: MenuReactUseStateHook;\n groupToggleSelection?: boolean;\n isOpen?: boolean;\n marginTop?: number;\n width?: number;\n fullWidth?: boolean;\n setIsOpen?: React.Dispatch<React.SetStateAction<boolean>>;\n isEmptyMenu?: boolean;\n toggleLabel?: string;\n children?: React.ReactNode;\n}\n\nconst MenuContainer: React.FC<MenuContainerProps> = ({ setIsOpen, isEmptyMenu, ...props }) => {\n return (\n <StyledDiv\n marginTop={props.marginTop + 'px'}\n width={props.fullWidth ? '100%' : props.width + 'px'}\n isOpen={props.isOpen}\n disabled={props.disabled}\n >\n {isEmptyMenu ? (\n <MenuEmpty>{props.children}</MenuEmpty>\n ) : (\n <Menu\n items={props.items}\n hasIcon={props.hasIcon}\n multipleSelection={props.multipleSelection}\n groupToggleSelection={props.groupToggleSelection}\n groupLabel={props.groupLabel}\n reactHook={props.reactHook}\n setIsOpen={setIsOpen}\n toggleLabel={props.toggleLabel}\n />\n )}\n </StyledDiv>\n );\n};\n\nconst StyledDiv = styled('div')<{\n marginTop?: string;\n isOpen: boolean;\n disabled: boolean;\n width?: string;\n}>(({ theme, ...args }) => {\n let styles = {};\n\n styles = {\n width: args.width,\n marginTop: args.marginTop,\n transition: '0.3s ease-out',\n display: 'inline-block',\n position: 'absolute',\n zIndex: '10',\n };\n\n if (args.isOpen && !args.disabled) {\n styles = { ...styles, visibility: 'visible', opacity: '100%' };\n } else {\n styles = { ...styles, visibility: 'hidden', opacity: '0%' };\n }\n\n return styles;\n});\n\nexport default MenuContainer;\n"],"names":["MenuContainer","_a","setIsOpen","isEmptyMenu","props","__rest","_jsx","StyledDiv","marginTop","width","fullWidth","isOpen","disabled","children","MenuEmpty","Menu","items","hasIcon","multipleSelection","groupToggleSelection","groupLabel","reactHook","toggleLabel","styled","theme","args","styles","transition","display","position","zIndex","Object","assign","visibility","opacity"],"mappings":"uMAuBA,MAAMA,EAA+CC,QAAAC,UAAEA,EAASC,YAAEA,GAAWF,EAAKG,EAAKC,EAAAJ,EAAlC,6BACnD,OACEK,EAACC,EACC,CAAAC,UAAWJ,EAAMI,UAAY,KAC7BC,MAAOL,EAAMM,UAAY,OAASN,EAAMK,MAAQ,KAChDE,OAAQP,EAAMO,OACdC,SAAUR,EAAMQ,SAEfC,SAAAV,EACCG,EAACQ,EAAW,CAAAD,SAAAT,EAAMS,WAElBP,EAACS,EAAI,CACHC,MAAOZ,EAAMY,MACbC,QAASb,EAAMa,QACfC,kBAAmBd,EAAMc,kBACzBC,qBAAsBf,EAAMe,qBAC5BC,WAAYhB,EAAMgB,WAClBC,UAAWjB,EAAMiB,UACjBnB,UAAWA,EACXoB,YAAalB,EAAMkB,eAGb,EAIVf,EAAYgB,EAAO,MAAPA,EAKdtB,IAAA,IAAAuB,MAAEA,GAAgBvB,EAANwB,EAAIpB,EAAAJ,EAAhB,WACF,IAAIyB,EAAS,CAAE,EAiBf,OAfAA,EAAS,CACPjB,MAAOgB,EAAKhB,MACZD,UAAWiB,EAAKjB,UAChBmB,WAAY,gBACZC,QAAS,eACTC,SAAU,WACVC,OAAQ,MAIRJ,EADED,EAAKd,SAAWc,EAAKb,SACjBmB,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAQN,GAAM,CAAEO,WAAY,UAAWC,QAAS,SAEhDH,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EAAQN,GAAM,CAAEO,WAAY,SAAUC,QAAS,OAGhDR,CAAM"}
@@ -1,4 +1,4 @@
1
- declare const ButtonFocusVisibleStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & {
1
+ declare const ButtonFocusVisibleStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
2
2
  focusVisible: boolean;
3
3
  isNavigationVariant: boolean;
4
4
  fullWidth?: boolean;
@@ -1,2 +1,2 @@
1
- import{styled as i}from"@mui/system";const o=i("div")((({theme:i,focusVisible:o,isNavigationVariant:t,fullWidth:a})=>({display:"inline-flex",padding:1,borderRadius:t?4:50,transition:"none",boxShadow:o?`0 0 0 2px ${i.palette.onSurface.os900}`:void 0,width:a?"100%":null})));export{o as default};
1
+ import{styled as i}from"@mui/material/styles";const a=i("div")((({theme:i,focusVisible:a,isNavigationVariant:t,fullWidth:e})=>({display:"inline-flex",padding:1,borderRadius:t?4:50,transition:"none",boxShadow:a?`0 0 0 2px ${i.palette.onSurface.os900}`:void 0,width:e?"100%":null})));export{a as default};
2
2
  //# sourceMappingURL=buttonFocusVisibleStyled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"buttonFocusVisibleStyled.js","sources":["../../../../src/components/common/styled/buttonFocusVisibleStyled.tsx"],"sourcesContent":["import { styled } from '@mui/system';\n\nconst ButtonFocusVisibleStyled = styled('div')<{\n focusVisible: boolean;\n isNavigationVariant: boolean;\n fullWidth?: boolean;\n}>(({ theme, focusVisible, isNavigationVariant, fullWidth }) => {\n return {\n display: 'inline-flex',\n padding: 1,\n borderRadius: isNavigationVariant ? 4 : 50,\n transition: 'none',\n boxShadow: focusVisible ? `0 0 0 2px ${theme.palette.onSurface.os900}` : undefined,\n width: fullWidth ? '100%' : null,\n };\n});\n\nexport default ButtonFocusVisibleStyled;\n"],"names":["ButtonFocusVisibleStyled","styled","theme","focusVisible","isNavigationVariant","fullWidth","display","padding","borderRadius","transition","boxShadow","palette","onSurface","os900","undefined","width"],"mappings":"qCAEA,MAAMA,EAA2BC,EAAO,MAAPA,EAI9B,EAAGC,QAAOC,eAAcC,sBAAqBC,gBACvC,CACLC,QAAS,cACTC,QAAS,EACTC,aAAcJ,EAAsB,EAAI,GACxCK,WAAY,OACZC,UAAWP,EAAe,aAAaD,EAAMS,QAAQC,UAAUC,aAAUC,EACzEC,MAAOV,EAAY,OAAS"}
1
+ {"version":3,"file":"buttonFocusVisibleStyled.js","sources":["../../../../src/components/common/styled/buttonFocusVisibleStyled.tsx"],"sourcesContent":["import { styled } from '@mui/material/styles';\n\nconst ButtonFocusVisibleStyled = styled('div')<{\n focusVisible: boolean;\n isNavigationVariant: boolean;\n fullWidth?: boolean;\n}>(({ theme, focusVisible, isNavigationVariant, fullWidth }) => {\n return {\n display: 'inline-flex',\n padding: 1,\n borderRadius: isNavigationVariant ? 4 : 50,\n transition: 'none',\n boxShadow: focusVisible ? `0 0 0 2px ${theme.palette.onSurface.os900}` : undefined,\n width: fullWidth ? '100%' : null,\n };\n});\n\nexport default ButtonFocusVisibleStyled;\n"],"names":["ButtonFocusVisibleStyled","styled","theme","focusVisible","isNavigationVariant","fullWidth","display","padding","borderRadius","transition","boxShadow","palette","onSurface","os900","undefined","width"],"mappings":"8CAEA,MAAMA,EAA2BC,EAAO,MAAPA,EAI9B,EAAGC,QAAOC,eAAcC,sBAAqBC,gBACvC,CACLC,QAAS,cACTC,QAAS,EACTC,aAAcJ,EAAsB,EAAI,GACxCK,WAAY,OACZC,UAAWP,EAAe,aAAaD,EAAMS,QAAQC,UAAUC,aAAUC,EACzEC,MAAOV,EAAY,OAAS"}
@@ -1,5 +1,5 @@
1
1
  import { FormControlLabelProps as MuiFormControlLabelProps } from '@mui/material';
2
- declare const FormControlLabelStyled: import("@emotion/styled").StyledComponent<MuiFormControlLabelProps & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & {
2
+ declare const FormControlLabelStyled: import("@emotion/styled").StyledComponent<MuiFormControlLabelProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
3
3
  error?: boolean;
4
4
  theme?: any;
5
5
  }, {}, {}>;
@@ -1,2 +1,2 @@
1
- import{styled as r}from"@mui/system";import{FormControlLabel as o}from"@mui/material";const e=r(o,{shouldForwardProp:r=>"error"!==r})((({theme:r,error:o})=>({color:o?r.palette.alert.main:void 0})));export{e as default};
1
+ import{styled as r}from"@mui/material/styles";import{FormControlLabel as o}from"@mui/material";const e=r(o,{shouldForwardProp:r=>"error"!==r})((({theme:r,error:o})=>({color:o?r.palette.alert.main:void 0})));export{e as default};
2
2
  //# sourceMappingURL=formControlLabelStyled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"formControlLabelStyled.js","sources":["../../../../src/components/common/styled/formControlLabelStyled.tsx"],"sourcesContent":["import { styled } from '@mui/system';\nimport {\n FormControlLabelProps as MuiFormControlLabelProps,\n FormControlLabel as MuiFormControlLabel,\n} from '@mui/material';\n\nconst FormControlLabelStyled = styled(MuiFormControlLabel, {\n shouldForwardProp: (prop) => prop !== 'error',\n})<MuiFormControlLabelProps & { error?: boolean; theme?: any }>(({ theme, error }) => {\n return {\n color: error ? theme.palette.alert['main'] : undefined,\n };\n});\n\nexport default FormControlLabelStyled;\n"],"names":["FormControlLabelStyled","styled","MuiFormControlLabel","shouldForwardProp","prop","theme","error","color","palette","alert","undefined"],"mappings":"sFAMA,MAAMA,EAAyBC,EAAOC,EAAqB,CACzDC,kBAAoBC,GAAkB,UAATA,GADAH,EAEiC,EAAGI,QAAOC,YACjE,CACLC,MAAOD,EAAQD,EAAMG,QAAQC,MAAY,UAAIC"}
1
+ {"version":3,"file":"formControlLabelStyled.js","sources":["../../../../src/components/common/styled/formControlLabelStyled.tsx"],"sourcesContent":["import { styled } from '@mui/material/styles';\nimport {\n FormControlLabelProps as MuiFormControlLabelProps,\n FormControlLabel as MuiFormControlLabel,\n} from '@mui/material';\n\nconst FormControlLabelStyled = styled(MuiFormControlLabel, {\n shouldForwardProp: (prop) => prop !== 'error',\n})<MuiFormControlLabelProps & { error?: boolean; theme?: any }>(({ theme, error }) => {\n return {\n color: error ? theme.palette.alert['main'] : undefined,\n };\n});\n\nexport default FormControlLabelStyled;\n"],"names":["FormControlLabelStyled","styled","MuiFormControlLabel","shouldForwardProp","prop","theme","error","color","palette","alert","undefined"],"mappings":"+FAMA,MAAMA,EAAyBC,EAAOC,EAAqB,CACzDC,kBAAoBC,GAAkB,UAATA,GADAH,EAEiC,EAAGI,QAAOC,YACjE,CACLC,MAAOD,EAAQD,EAAMG,QAAQC,MAAY,UAAIC"}
@@ -1,4 +1,4 @@
1
- declare const HelperTextContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & {
1
+ declare const HelperTextContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
2
2
  theme?: any;
3
3
  disabled?: boolean;
4
4
  hasError?: boolean;
@@ -1,4 +1,4 @@
1
- declare const SliderValuesStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & {
1
+ declare const SliderValuesStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
2
2
  theme?: any;
3
3
  disabled?: boolean;
4
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,2 +1,2 @@
1
- import{styled as e}from"@mui/system";const o=e("div")((({theme:e,disabled:o})=>{const t=e.palette.disabled.primary;return{color:o?t:e.palette.onSurface.os700,fontSize:"14px",fontWeight:"normal",lineHeight:"20px","& input":{outline:"none",border:"0px",background:"transparent",color:o?t:e.palette.onSurface.os700,paddingTop:"0 !important"},"& span":{color:o?t:e.palette.onSurface.os700},"& .range-values":{display:"flex","& .middle-side":{flexGrow:1}},"& label":{display:"block",color:o?t:e.palette.onSurface.os500,fontSize:"12px",lineHeight:"16px"}}}));export{o as default};
1
+ import{styled as e}from"@mui/material/styles";const o=e("div")((({theme:e,disabled:o})=>{const t=e.palette.disabled.primary;return{color:o?t:e.palette.onSurface.os700,fontSize:"14px",fontWeight:"normal",lineHeight:"20px","& input":{outline:"none",border:"0px",background:"transparent",color:o?t:e.palette.onSurface.os700,paddingTop:"0 !important"},"& span":{color:o?t:e.palette.onSurface.os700},"& .range-values":{display:"flex","& .middle-side":{flexGrow:1}},"& label":{display:"block",color:o?t:e.palette.onSurface.os500,fontSize:"12px",lineHeight:"16px"}}}));export{o as default};
2
2
  //# sourceMappingURL=sliderValuesStyled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sliderValuesStyled.js","sources":["../../../../src/components/common/styled/sliderValuesStyled.tsx"],"sourcesContent":["import { styled } from '@mui/system';\n\nconst SliderValuesStyled = styled('div')<{ theme?: any; disabled?: boolean }>(({ theme, disabled }) => {\n const colorDisabled = theme.palette.disabled.primary;\n return {\n color: disabled ? colorDisabled : theme.palette.onSurface.os700,\n fontSize: '14px',\n fontWeight: 'normal',\n lineHeight: '20px',\n '& input': {\n outline: 'none',\n border: '0px',\n background: 'transparent',\n color: disabled ? colorDisabled : theme.palette.onSurface.os700,\n paddingTop: '0 !important',\n },\n '& span': {\n color: disabled ? colorDisabled : theme.palette.onSurface.os700,\n },\n '& .range-values': {\n display: 'flex',\n '& .middle-side': {\n flexGrow: 1,\n },\n },\n '& label': {\n display: 'block',\n color: disabled ? colorDisabled : theme.palette.onSurface.os500,\n fontSize: '12px',\n lineHeight: '16px',\n },\n };\n});\n\nexport default SliderValuesStyled;\n"],"names":["SliderValuesStyled","styled","theme","disabled","colorDisabled","palette","primary","color","onSurface","os700","fontSize","fontWeight","lineHeight","outline","border","background","paddingTop","display","flexGrow","os500"],"mappings":"qCAEA,MAAMA,EAAqBC,EAAO,MAAPA,EAAmD,EAAGC,QAAOC,eACtF,MAAMC,EAAgBF,EAAMG,QAAQF,SAASG,QAC7C,MAAO,CACLC,MAAOJ,EAAWC,EAAgBF,EAAMG,QAAQG,UAAUC,MAC1DC,SAAU,OACVC,WAAY,SACZC,WAAY,OACZ,UAAW,CACTC,QAAS,OACTC,OAAQ,MACRC,WAAY,cACZR,MAAOJ,EAAWC,EAAgBF,EAAMG,QAAQG,UAAUC,MAC1DO,WAAY,gBAEd,SAAU,CACRT,MAAOJ,EAAWC,EAAgBF,EAAMG,QAAQG,UAAUC,OAE5D,kBAAmB,CACjBQ,QAAS,OACT,iBAAkB,CAChBC,SAAU,IAGd,UAAW,CACTD,QAAS,QACTV,MAAOJ,EAAWC,EAAgBF,EAAMG,QAAQG,UAAUW,MAC1DT,SAAU,OACVE,WAAY,QAEf"}
1
+ {"version":3,"file":"sliderValuesStyled.js","sources":["../../../../src/components/common/styled/sliderValuesStyled.tsx"],"sourcesContent":["import { styled } from '@mui/material/styles';\n\nconst SliderValuesStyled = styled('div')<{ theme?: any; disabled?: boolean }>(({ theme, disabled }) => {\n const colorDisabled = theme.palette.disabled.primary;\n return {\n color: disabled ? colorDisabled : theme.palette.onSurface.os700,\n fontSize: '14px',\n fontWeight: 'normal',\n lineHeight: '20px',\n '& input': {\n outline: 'none',\n border: '0px',\n background: 'transparent',\n color: disabled ? colorDisabled : theme.palette.onSurface.os700,\n paddingTop: '0 !important',\n },\n '& span': {\n color: disabled ? colorDisabled : theme.palette.onSurface.os700,\n },\n '& .range-values': {\n display: 'flex',\n '& .middle-side': {\n flexGrow: 1,\n },\n },\n '& label': {\n display: 'block',\n color: disabled ? colorDisabled : theme.palette.onSurface.os500,\n fontSize: '12px',\n lineHeight: '16px',\n },\n };\n});\n\nexport default SliderValuesStyled;\n"],"names":["SliderValuesStyled","styled","theme","disabled","colorDisabled","palette","primary","color","onSurface","os700","fontSize","fontWeight","lineHeight","outline","border","background","paddingTop","display","flexGrow","os500"],"mappings":"8CAEA,MAAMA,EAAqBC,EAAO,MAAPA,EAAmD,EAAGC,QAAOC,eACtF,MAAMC,EAAgBF,EAAMG,QAAQF,SAASG,QAC7C,MAAO,CACLC,MAAOJ,EAAWC,EAAgBF,EAAMG,QAAQG,UAAUC,MAC1DC,SAAU,OACVC,WAAY,SACZC,WAAY,OACZ,UAAW,CACTC,QAAS,OACTC,OAAQ,MACRC,WAAY,cACZR,MAAOJ,EAAWC,EAAgBF,EAAMG,QAAQG,UAAUC,MAC1DO,WAAY,gBAEd,SAAU,CACRT,MAAOJ,EAAWC,EAAgBF,EAAMG,QAAQG,UAAUC,OAE5D,kBAAmB,CACjBQ,QAAS,OACT,iBAAkB,CAChBC,SAAU,IAGd,UAAW,CACTD,QAAS,QACTV,MAAOJ,EAAWC,EAAgBF,EAAMG,QAAQG,UAAUW,MAC1DT,SAAU,OACVE,WAAY,QAEf"}
@@ -1,2 +1,2 @@
1
- import{__rest as t}from"tslib";import{jsx as n,jsxs as o}from"react/jsx-runtime";import{DialogActions as e,Button as r}from"@mui/material";import{Stack as i}from"@mui/system";import{usePickersTranslations as c}from"@mui/x-date-pickers";const l=l=>{const{actions:a,onAccept:d,onCancel:m,onClear:s,onSetToday:u}=l,p=t(l,["actions","onAccept","onCancel","onClear","onSetToday"]),y=c();return(null==a?void 0:a.length)?n(e,Object.assign({},p,{children:o(i,{direction:"row",justifyContent:"space-between",children:[o(i,{direction:"row",children:[a.includes("clear")&&n(r,{variant:"text",color:"primary",onClick:s,children:y.clearButtonLabel}),a.includes("today")&&n(r,{variant:"text",color:"primary",onClick:u,children:y.todayButtonLabel})]}),o(i,{direction:"row",children:[a.includes("cancel")&&n(r,{variant:"text",color:"primary",onClick:m,children:y.cancelButtonLabel}),a.includes("accept")&&n(r,{variant:"text",color:"primary",onClick:d,children:y.okButtonLabel})]})]})})):null};export{l as CustomPickersActionBar};
1
+ import{__rest as n}from"tslib";import{jsx as t,jsxs as e}from"react/jsx-runtime";import{DialogActions as o,Stack as r,Button as c}from"@mui/material";import{usePickersTranslations as i}from"@mui/x-date-pickers";const l=l=>{const{actions:a,onAccept:d,onCancel:m,onClear:s,onSetToday:u}=l,p=n(l,["actions","onAccept","onCancel","onClear","onSetToday"]),h=i();return(null==a?void 0:a.length)?t(o,Object.assign({},p,{children:e(r,{direction:"row",justifyContent:"space-between",children:[e(r,{direction:"row",children:[a.includes("clear")&&t(c,{variant:"text",color:"primary",onClick:s,children:h.clearButtonLabel}),a.includes("today")&&t(c,{variant:"text",color:"primary",onClick:u,children:h.todayButtonLabel})]}),e(r,{direction:"row",children:[a.includes("cancel")&&t(c,{variant:"text",color:"primary",onClick:m,children:h.cancelButtonLabel}),a.includes("accept")&&t(c,{variant:"text",color:"primary",onClick:d,children:h.okButtonLabel})]})]})})):null};export{l as CustomPickersActionBar};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/customPickersActionBar/index.tsx"],"sourcesContent":["import { Button, DialogActions } from '@mui/material';\nimport { Stack } from '@mui/system';\nimport { PickersActionBarProps, usePickersTranslations } from '@mui/x-date-pickers';\n\nexport const CustomPickersActionBar = (props: PickersActionBarProps) => {\n const { actions, onAccept, onCancel, onClear, onSetToday, ...other } = props;\n const localeText = usePickersTranslations();\n\n if (!actions?.length) return null;\n\n return (\n <DialogActions {...other}>\n <Stack direction=\"row\" justifyContent=\"space-between\">\n <Stack direction=\"row\">\n {actions.includes('clear') && (\n <Button variant=\"text\" color=\"primary\" onClick={onClear}>\n {localeText.clearButtonLabel}\n </Button>\n )}\n {actions.includes('today') && (\n <Button variant=\"text\" color=\"primary\" onClick={onSetToday}>\n {localeText.todayButtonLabel}\n </Button>\n )}\n </Stack>\n <Stack direction=\"row\">\n {actions.includes('cancel') && (\n <Button variant=\"text\" color=\"primary\" onClick={onCancel}>\n {localeText.cancelButtonLabel}\n </Button>\n )}\n {actions.includes('accept') && (\n <Button variant=\"text\" color=\"primary\" onClick={onAccept}>\n {localeText.okButtonLabel}\n </Button>\n )}\n </Stack>\n </Stack>\n </DialogActions>\n );\n};\n"],"names":["CustomPickersActionBar","props","actions","onAccept","onCancel","onClear","onSetToday","other","__rest","localeText","usePickersTranslations","length","_jsx","DialogActions","Object","assign","children","_jsxs","Stack","direction","justifyContent","includes","Button","variant","color","onClick","clearButtonLabel","todayButtonLabel","cancelButtonLabel","okButtonLabel"],"mappings":"4OAIa,MAAAA,EAA0BC,IACrC,MAAMC,QAAEA,EAAOC,SAAEA,EAAQC,SAAEA,EAAQC,QAAEA,EAAOC,WAAEA,GAAyBL,EAAVM,EAAKC,EAAKP,EAAjE,CAAA,UAAA,WAAA,WAAA,UAAA,eACAQ,EAAaC,IAEnB,OAAKR,aAAA,EAAAA,EAASS,QAGZC,EAACC,EAAaC,OAAAC,OAAA,CAAA,EAAKR,EACjB,CAAAS,SAAAC,EAACC,EAAK,CAACC,UAAU,MAAMC,eAAe,gBAAeJ,SAAA,CACnDC,EAACC,EAAM,CAAAC,UAAU,gBACdjB,EAAQmB,SAAS,UAChBT,EAACU,EAAO,CAAAC,QAAQ,OAAOC,MAAM,UAAUC,QAASpB,EAAOW,SACpDP,EAAWiB,mBAGfxB,EAAQmB,SAAS,UAChBT,EAACU,EAAO,CAAAC,QAAQ,OAAOC,MAAM,UAAUC,QAASnB,EAC7CU,SAAAP,EAAWkB,sBAIlBV,EAACC,EAAK,CAACC,UAAU,MACdH,SAAA,CAAAd,EAAQmB,SAAS,WAChBT,EAACU,EAAM,CAACC,QAAQ,OAAOC,MAAM,UAAUC,QAASrB,EAC7CY,SAAAP,EAAWmB,oBAGf1B,EAAQmB,SAAS,WAChBT,EAACU,EAAM,CAACC,QAAQ,OAAOC,MAAM,UAAUC,QAAStB,EAC7Ca,SAAAP,EAAWoB,yBAzBK,IA8BX"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/customPickersActionBar/index.tsx"],"sourcesContent":["import { Stack, Button, DialogActions } from '@mui/material';\nimport { PickersActionBarProps, usePickersTranslations } from '@mui/x-date-pickers';\n\nexport const CustomPickersActionBar = (props: PickersActionBarProps) => {\n const { actions, onAccept, onCancel, onClear, onSetToday, ...other } = props;\n const localeText = usePickersTranslations();\n\n if (!actions?.length) return null;\n\n return (\n <DialogActions {...other}>\n <Stack direction=\"row\" justifyContent=\"space-between\">\n <Stack direction=\"row\">\n {actions.includes('clear') && (\n <Button variant=\"text\" color=\"primary\" onClick={onClear}>\n {localeText.clearButtonLabel}\n </Button>\n )}\n {actions.includes('today') && (\n <Button variant=\"text\" color=\"primary\" onClick={onSetToday}>\n {localeText.todayButtonLabel}\n </Button>\n )}\n </Stack>\n <Stack direction=\"row\">\n {actions.includes('cancel') && (\n <Button variant=\"text\" color=\"primary\" onClick={onCancel}>\n {localeText.cancelButtonLabel}\n </Button>\n )}\n {actions.includes('accept') && (\n <Button variant=\"text\" color=\"primary\" onClick={onAccept}>\n {localeText.okButtonLabel}\n </Button>\n )}\n </Stack>\n </Stack>\n </DialogActions>\n );\n};\n"],"names":["CustomPickersActionBar","props","actions","onAccept","onCancel","onClear","onSetToday","other","__rest","localeText","usePickersTranslations","length","_jsx","DialogActions","Object","assign","children","_jsxs","Stack","direction","justifyContent","includes","Button","variant","color","onClick","clearButtonLabel","todayButtonLabel","cancelButtonLabel","okButtonLabel"],"mappings":"mNAGa,MAAAA,EAA0BC,IACrC,MAAMC,QAAEA,EAAOC,SAAEA,EAAQC,SAAEA,EAAQC,QAAEA,EAAOC,WAAEA,GAAyBL,EAAVM,EAAKC,EAAKP,EAAjE,CAAA,UAAA,WAAA,WAAA,UAAA,eACAQ,EAAaC,IAEnB,OAAKR,aAAA,EAAAA,EAASS,QAGZC,EAACC,EAAaC,OAAAC,OAAA,CAAA,EAAKR,EACjB,CAAAS,SAAAC,EAACC,EAAK,CAACC,UAAU,MAAMC,eAAe,gBAAeJ,SAAA,CACnDC,EAACC,EAAM,CAAAC,UAAU,gBACdjB,EAAQmB,SAAS,UAChBT,EAACU,EAAO,CAAAC,QAAQ,OAAOC,MAAM,UAAUC,QAASpB,EAAOW,SACpDP,EAAWiB,mBAGfxB,EAAQmB,SAAS,UAChBT,EAACU,EAAO,CAAAC,QAAQ,OAAOC,MAAM,UAAUC,QAASnB,EAC7CU,SAAAP,EAAWkB,sBAIlBV,EAACC,EAAK,CAACC,UAAU,MACdH,SAAA,CAAAd,EAAQmB,SAAS,WAChBT,EAACU,EAAM,CAACC,QAAQ,OAAOC,MAAM,UAAUC,QAASrB,EAC7CY,SAAAP,EAAWmB,oBAGf1B,EAAQmB,SAAS,WAChBT,EAACU,EAAM,CAACC,QAAQ,OAAOC,MAAM,UAAUC,QAAStB,EAC7Ca,SAAAP,EAAWoB,yBAzBK,IA8BX"}
@@ -1,112 +1,15 @@
1
- import { GridSize } from '@mui/material/Grid';
2
- import { Theme, GridDirection, GridSpacing } from '@mui/material';
3
- import { ResponsiveStyleValue, SxProps } from '@mui/system';
4
- import React, { HTMLAttributes, ReactNode } from 'react';
1
+ import { GridProps as MuiGridProps } from '@mui/material';
2
+ import React from 'react';
5
3
  /**
6
4
  * @interface GridProps
7
5
  * @description Base definition of SkodaFlow Grid independent on core implementation.
8
6
  * Properties are inherited from HTML Button element
9
7
  */
10
- export interface GridProps extends HTMLAttributes<HTMLDivElement> {
11
- /**
12
- * The content of the component.
13
- */
14
- children?: ReactNode;
15
- /**
16
- * Override or extend the styles applied to the component.
17
- * See CSS API below for more details.
18
- */
19
- classes?: object;
20
- /**
21
- * The number of columns.
22
- */
23
- columns?: ResponsiveStyleValue<number>;
24
- /**
25
- * The component used for the root node.
26
- * Either a string to use a HTML element or a component.
27
- */
28
- component?: string | ReactNode;
29
- /**
30
- * If true, the component will have the flex container behavior.
31
- * You should be wrapping items with a container.
32
- */
33
- container?: boolean;
34
- /**
35
- * Defines the flex-direction style property.
36
- * It is applied for all screen sizes.
37
- * @default 'auto'
38
- */
39
- direction?: ResponsiveStyleValue<GridDirection>;
40
- /**
41
- * If true, the component will have the flex item behavior.
42
- * You should be wrapping items with a container.
43
- */
44
- item?: boolean;
45
- /**
46
- * Defines the number of grids the component is going to use.
47
- * It's applied for the lg breakpoint and wider screens if not overridden.
48
- */
49
- lg?: boolean | GridSize;
50
- /**
51
- * Defines the number of grids the component is going to use.
52
- * It's applied for the md breakpoint and wider screens if not overridden.
53
- */
54
- md?: boolean | GridSize;
55
- /**
56
- * Defines the number of grids the component is going to use.
57
- * It's applied for the sm breakpoint and wider screens if not overridden.
58
- */
59
- sm?: boolean | GridSize;
60
- /**
61
- * The system prop that allows defining system overrides as well as additional CSS styles.
62
- * See the `sx` page for more details.
63
- */
64
- sx?: SxProps<Theme>;
65
- /**
66
- * Defines the number of grids the component is going to use.
67
- * It's applied for the xl breakpoint and wider screens.
68
- */
69
- xl?: boolean | GridSize;
70
- /**
71
- * Defines the number of grids the component is going to use.
72
- * It's applied for all the screen sizes with the lowest priority.
73
- */
74
- xs?: boolean | GridSize;
75
- /**
76
- * Defines the space between the type item components.
77
- * It can only be used on a type container component.
78
- */
79
- spacing?: ResponsiveStyleValue<GridSpacing>;
80
- /**
81
- * Defines the horizontal space between the type item components.
82
- * It overrides the value of the spacing prop.
83
- */
84
- columnSpacing?: ResponsiveStyleValue<GridSpacing>;
85
- /**
86
- * Defines the vertical space between the type item components.
87
- * It overrides the value of the spacing prop.
88
- * If the value provided is a string it will be used as exact amount for pixels spacing.
89
- * If the value is a number it will be used as (value)*8px.
90
- */
91
- rowSpacing?: ResponsiveStyleValue<GridSpacing>;
92
- /**
93
- * Defines the flex-wrap style property.
94
- * It's applied for all screen sizes.
95
- */
96
- wrap?: 'nowrap' | 'wrap-reverse' | 'wrap';
97
- /**
98
- * If true, it sets min-width: 0 on the item.
99
- * Refer to the limitations section of the documentation to better understand the use case.
100
- */
101
- zeroMinWidth?: boolean;
8
+ export interface GridProps extends MuiGridProps {
102
9
  /**
103
10
  * Determine if grid is narrow.
104
11
  */
105
12
  narrow?: boolean;
106
- /**
107
- * Determine the max-width of the container. The container width grows with the size of the screen. Set to false to disable maxWidth.
108
- */
109
- fixed?: boolean;
110
13
  }
111
14
  /**
112
15
  * @description SkodaFlow Grid component.
@@ -1 +1 @@
1
- {"version":3,"file":"grid.js","sources":["../../../src/components/grid/grid.tsx"],"sourcesContent":["import { GridSize } from '@mui/material/Grid';\nimport { Theme, Grid as MuiGrid, GridDirection, GridSpacing } from '@mui/material';\nimport { ResponsiveStyleValue, SxProps } from '@mui/system';\nimport React, { HTMLAttributes, ReactNode } from 'react';\n\n/**\n * @interface GridProps\n * @description Base definition of SkodaFlow Grid independent on core implementation.\n * Properties are inherited from HTML Button element\n */\nexport interface GridProps extends HTMLAttributes<HTMLDivElement> {\n /**\n * The content of the component.\n */\n children?: ReactNode;\n\n /**\n * Override or extend the styles applied to the component.\n * See CSS API below for more details.\n */\n classes?: object;\n\n /**\n * The number of columns.\n */\n columns?: ResponsiveStyleValue<number>;\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component?: string | ReactNode;\n\n /**\n * If true, the component will have the flex container behavior.\n * You should be wrapping items with a container.\n */\n container?: boolean;\n\n /**\n * Defines the flex-direction style property.\n * It is applied for all screen sizes.\n * @default 'auto'\n */\n direction?: ResponsiveStyleValue<GridDirection>;\n\n /**\n * If true, the component will have the flex item behavior.\n * You should be wrapping items with a container.\n */\n item?: boolean;\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the lg breakpoint and wider screens if not overridden.\n */\n lg?: boolean | GridSize;\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the md breakpoint and wider screens if not overridden.\n */\n md?: boolean | GridSize;\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the sm breakpoint and wider screens if not overridden.\n */\n sm?: boolean | GridSize;\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n * See the `sx` page for more details.\n */\n sx?: SxProps<Theme>;\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the xl breakpoint and wider screens.\n */\n xl?: boolean | GridSize;\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for all the screen sizes with the lowest priority.\n */\n xs?: boolean | GridSize;\n\n /**\n * Defines the space between the type item components.\n * It can only be used on a type container component.\n */\n spacing?: ResponsiveStyleValue<GridSpacing>;\n\n /**\n * Defines the horizontal space between the type item components.\n * It overrides the value of the spacing prop.\n */\n columnSpacing?: ResponsiveStyleValue<GridSpacing>;\n\n /**\n * Defines the vertical space between the type item components.\n * It overrides the value of the spacing prop.\n * If the value provided is a string it will be used as exact amount for pixels spacing.\n * If the value is a number it will be used as (value)*8px.\n */\n rowSpacing?: ResponsiveStyleValue<GridSpacing>;\n\n /**\n * Defines the flex-wrap style property.\n * It's applied for all screen sizes.\n */\n wrap?: 'nowrap' | 'wrap-reverse' | 'wrap';\n\n /**\n * If true, it sets min-width: 0 on the item.\n * Refer to the limitations section of the documentation to better understand the use case.\n */\n zeroMinWidth?: boolean;\n\n /**\n * Determine if grid is narrow.\n */\n narrow?: boolean;\n\n /**\n * Determine the max-width of the container. The container width grows with the size of the screen. Set to false to disable maxWidth.\n */\n fixed?: boolean;\n}\n\n/**\n * @description SkodaFlow Grid component.\n * @param props GridProps\n * @returns React Functional Component\n * @deprecated This component is deprecated. Use Grid and Container components from @mui/material\n */\nexport const Grid: React.FC<GridProps> = ({ narrow, ...props }) => {\n return (\n <MuiGrid {...props} spacing={narrow ? '12px' : undefined}>\n {props.children}\n </MuiGrid>\n );\n};\n"],"names":["Grid","_a","narrow","props","__rest","_jsx","MuiGrid","Object","assign","spacing","undefined","children"],"mappings":"4GAyIa,MAAAA,EAA6BC,IAAA,IAAAC,OAAEA,GAAkBD,EAAPE,EAAKC,EAAAH,EAAlB,YACxC,OACEI,EAACC,EAAOC,OAAAC,OAAA,CAAA,EAAKL,EAAO,CAAAM,QAASP,EAAS,YAASQ,EAASC,SACrDR,EAAMQ,WACC"}
1
+ {"version":3,"file":"grid.js","sources":["../../../src/components/grid/grid.tsx"],"sourcesContent":["import { Grid as MuiGrid, GridProps as MuiGridProps } from '@mui/material';\nimport React from 'react';\n\n/**\n * @interface GridProps\n * @description Base definition of SkodaFlow Grid independent on core implementation.\n * Properties are inherited from HTML Button element\n */\nexport interface GridProps extends MuiGridProps {\n /**\n * Determine if grid is narrow.\n */\n narrow?: boolean;\n}\n\n/**\n * @description SkodaFlow Grid component.\n * @param props GridProps\n * @returns React Functional Component\n * @deprecated This component is deprecated. Use Grid and Container components from @mui/material\n */\nexport const Grid: React.FC<GridProps> = ({ narrow, ...props }) => {\n return (\n <MuiGrid {...props} spacing={narrow ? '12px' : undefined}>\n {props.children}\n </MuiGrid>\n );\n};\n"],"names":["Grid","_a","narrow","props","__rest","_jsx","MuiGrid","Object","assign","spacing","undefined","children"],"mappings":"4GAqBa,MAAAA,EAA6BC,IAAA,IAAAC,OAAEA,GAAkBD,EAAPE,EAAKC,EAAAH,EAAlB,YACxC,OACEI,EAACC,EAAOC,OAAAC,OAAA,CAAA,EAAKL,EAAO,CAAAM,QAASP,EAAS,YAASQ,EAASC,SACrDR,EAAMQ,WACC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { SvgIconProps } from '@mui/material';
3
+ /**
4
+ * Flow brand exclusive icon
5
+ */
6
+ export declare const BatteryDischargeFilledIcon: React.FC<SvgIconProps>;
@@ -0,0 +1,2 @@
1
+ import{jsx as L}from"react/jsx-runtime";import{forwardRef as H}from"react";import{SvgIcon as r}from"@mui/material";const t=H(((H,t)=>L(r,Object.assign({viewBox:"2 2 20 20",ref:t},H,{children:L("path",{d:"M12.6816 15.9141H12.6885V16.7871L14.9922 14.459L15.9727 15.4404L15.7959 15.6162L15.498 15.9141H15.502L13.7773 17.6387H13.7725L11.9238 19.4873L8.05176 15.6162L7.875 15.4404L8.85547 14.459L10.2949 15.9141H10.3027L11.166 16.7861V11.1367H12.6816V15.9141ZM18.002 8.03906C19.3273 8.03927 20.4014 9.1141 20.4014 10.4395V15.2393C20.4013 16.5645 19.3272 17.6385 18.002 17.6387H15.6875L16.7568 16.5693L16.7559 16.5684L16.9307 16.3965L17.416 15.9141H18.002C18.3745 15.9139 18.6767 15.6118 18.6768 15.2393V10.4395C18.6768 10.0668 18.3746 9.76388 18.002 9.76367H6.00195C5.62916 9.76367 5.32617 10.0667 5.32617 10.4395V15.2393C5.32628 15.612 5.62923 15.9141 6.00195 15.9141H6.44434L6.92969 16.3965L7.10449 16.5684L7.10352 16.5693L8.17285 17.6387H6.00195C4.67653 17.6387 3.60167 16.5647 3.60156 15.2393V10.4395C3.60156 9.11397 4.67647 8.03906 6.00195 8.03906H18.002ZM9.24023 6.86523H5.64062V5.14062H9.24023V6.86523ZM18.3574 6.86523H14.7578V5.14062H18.3574V6.86523Z"})}))));export{t as BatteryDischargeFilledIcon};
2
+ //# sourceMappingURL=BatteryDischargeFilledIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BatteryDischargeFilledIcon.js","sources":["../../../../src/components/icon/filled/BatteryDischargeFilledIcon.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\n/**\n * Flow brand exclusive icon\n */\nexport const BatteryDischargeFilledIcon: React.FC<SvgIconProps> = forwardRef((props, ref) => {\n return (\n <SvgIcon viewBox=\"2 2 20 20\" ref={ref} {...props}>\n <path d=\"M12.6816 15.9141H12.6885V16.7871L14.9922 14.459L15.9727 15.4404L15.7959 15.6162L15.498 15.9141H15.502L13.7773 17.6387H13.7725L11.9238 19.4873L8.05176 15.6162L7.875 15.4404L8.85547 14.459L10.2949 15.9141H10.3027L11.166 16.7861V11.1367H12.6816V15.9141ZM18.002 8.03906C19.3273 8.03927 20.4014 9.1141 20.4014 10.4395V15.2393C20.4013 16.5645 19.3272 17.6385 18.002 17.6387H15.6875L16.7568 16.5693L16.7559 16.5684L16.9307 16.3965L17.416 15.9141H18.002C18.3745 15.9139 18.6767 15.6118 18.6768 15.2393V10.4395C18.6768 10.0668 18.3746 9.76388 18.002 9.76367H6.00195C5.62916 9.76367 5.32617 10.0667 5.32617 10.4395V15.2393C5.32628 15.612 5.62923 15.9141 6.00195 15.9141H6.44434L6.92969 16.3965L7.10449 16.5684L7.10352 16.5693L8.17285 17.6387H6.00195C4.67653 17.6387 3.60167 16.5647 3.60156 15.2393V10.4395C3.60156 9.11397 4.67647 8.03906 6.00195 8.03906H18.002ZM9.24023 6.86523H5.64062V5.14062H9.24023V6.86523ZM18.3574 6.86523H14.7578V5.14062H18.3574V6.86523Z\" />\n </SvgIcon>\n );\n});\n"],"names":["BatteryDischargeFilledIcon","forwardRef","props","ref","_jsx","SvgIcon","Object","assign","viewBox","d"],"mappings":"mHAMa,MAAAA,EAAqDC,GAAW,CAACC,EAAOC,IAEjFC,EAACC,EAAOC,OAAAC,OAAA,CAACC,QAAQ,YAAYL,IAAKA,GAASD,YACzCE,EAAM,OAAA,CAAAK,EAAE"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { SvgIconProps } from '@mui/material';
3
+ /**
4
+ * Flow brand exclusive icon
5
+ */
6
+ export declare const BicycleFilledIcon: React.FC<SvgIconProps>;
@@ -0,0 +1,2 @@
1
+ import{jsx as C}from"react/jsx-runtime";import{forwardRef as L}from"react";import{SvgIcon as r}from"@mui/material";const H=L(((L,H)=>C(r,Object.assign({viewBox:"2 2 20 20",ref:H},L,{children:C("path",{d:"M11.1116 6.14844L10.3489 6.89844H9.00708L9.90747 9.25H15.1741L14.4856 7.39648L14.1106 6.40625H17.7991C18.4569 6.4063 19.0226 6.58418 19.4358 6.94238C19.8526 7.30376 20.0501 7.79541 20.053 8.28027C20.0584 9.2288 19.311 10.1629 18.135 10.1631H17.9436L17.385 8.66309H18.135C18.4175 8.66294 18.554 8.50801 18.553 8.28906C18.5519 7.88254 18.1348 7.90624 17.7991 7.90625H16.2747L17.6272 11.5459C17.8614 11.506 18.1023 11.4844 18.3479 11.4844C20.6986 11.4845 22.6047 13.3904 22.6047 15.7412C22.6046 18.0919 20.6986 19.9979 18.3479 19.998C15.9971 19.998 14.0912 18.092 14.0911 15.7412C14.0911 14.1667 14.9461 12.792 16.217 12.0557L15.9387 11.3076L12.6506 16.2383C12.4374 16.5578 12.0788 16.7499 11.6946 16.75H9.78735C9.33419 18.6136 7.65558 19.9979 5.65259 19.998C3.30181 19.998 1.39588 18.092 1.39575 15.7412C1.39575 13.3904 3.30173 11.4844 5.65259 11.4844C6.19132 11.4844 6.70651 11.585 7.18091 11.7676L8.51489 9.81055L7.40063 6.89844H5.68481V5.39844H10.3489L11.1116 6.14844ZM5.65259 12.9844C4.13016 12.9844 2.89575 14.2188 2.89575 15.7412C2.89588 17.2635 4.13024 18.498 5.65259 18.498C6.81845 18.4979 7.81319 17.7728 8.21606 16.75H5.96216C5.03839 16.75 4.49083 15.7156 5.01099 14.9521L6.2981 13.0625C6.09089 13.0127 5.87505 12.9844 5.65259 12.9844ZM18.1663 12.9932L19.2395 15.8799L17.8333 16.4033L16.7522 13.4951C16.0501 13.9948 15.5911 14.8138 15.5911 15.7412C15.5912 17.2635 16.8256 18.498 18.3479 18.498C19.8701 18.4979 21.1046 17.2635 21.1047 15.7412C21.1047 14.2189 19.8702 12.9845 18.3479 12.9844C18.2869 12.9844 18.2263 12.9893 18.1663 12.9932ZM6.62329 15.25H8.36255C8.26175 14.6899 7.99401 14.1885 7.60962 13.8008L6.62329 15.25ZM8.46411 12.5469C9.23398 13.2251 9.7568 14.1764 9.88013 15.25H10.6125C10.5883 15.2107 10.5672 15.1687 10.55 15.124L9.16821 11.5146L8.46411 12.5469ZM11.9504 14.585L14.509 10.75H10.4817L11.9504 14.585Z"})}))));export{H as BicycleFilledIcon};
2
+ //# sourceMappingURL=BicycleFilledIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BicycleFilledIcon.js","sources":["../../../../src/components/icon/filled/BicycleFilledIcon.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\n/**\n * Flow brand exclusive icon\n */\nexport const BicycleFilledIcon: React.FC<SvgIconProps> = forwardRef((props, ref) => {\n return (\n <SvgIcon viewBox=\"2 2 20 20\" ref={ref} {...props}>\n <path d=\"M11.1116 6.14844L10.3489 6.89844H9.00708L9.90747 9.25H15.1741L14.4856 7.39648L14.1106 6.40625H17.7991C18.4569 6.4063 19.0226 6.58418 19.4358 6.94238C19.8526 7.30376 20.0501 7.79541 20.053 8.28027C20.0584 9.2288 19.311 10.1629 18.135 10.1631H17.9436L17.385 8.66309H18.135C18.4175 8.66294 18.554 8.50801 18.553 8.28906C18.5519 7.88254 18.1348 7.90624 17.7991 7.90625H16.2747L17.6272 11.5459C17.8614 11.506 18.1023 11.4844 18.3479 11.4844C20.6986 11.4845 22.6047 13.3904 22.6047 15.7412C22.6046 18.0919 20.6986 19.9979 18.3479 19.998C15.9971 19.998 14.0912 18.092 14.0911 15.7412C14.0911 14.1667 14.9461 12.792 16.217 12.0557L15.9387 11.3076L12.6506 16.2383C12.4374 16.5578 12.0788 16.7499 11.6946 16.75H9.78735C9.33419 18.6136 7.65558 19.9979 5.65259 19.998C3.30181 19.998 1.39588 18.092 1.39575 15.7412C1.39575 13.3904 3.30173 11.4844 5.65259 11.4844C6.19132 11.4844 6.70651 11.585 7.18091 11.7676L8.51489 9.81055L7.40063 6.89844H5.68481V5.39844H10.3489L11.1116 6.14844ZM5.65259 12.9844C4.13016 12.9844 2.89575 14.2188 2.89575 15.7412C2.89588 17.2635 4.13024 18.498 5.65259 18.498C6.81845 18.4979 7.81319 17.7728 8.21606 16.75H5.96216C5.03839 16.75 4.49083 15.7156 5.01099 14.9521L6.2981 13.0625C6.09089 13.0127 5.87505 12.9844 5.65259 12.9844ZM18.1663 12.9932L19.2395 15.8799L17.8333 16.4033L16.7522 13.4951C16.0501 13.9948 15.5911 14.8138 15.5911 15.7412C15.5912 17.2635 16.8256 18.498 18.3479 18.498C19.8701 18.4979 21.1046 17.2635 21.1047 15.7412C21.1047 14.2189 19.8702 12.9845 18.3479 12.9844C18.2869 12.9844 18.2263 12.9893 18.1663 12.9932ZM6.62329 15.25H8.36255C8.26175 14.6899 7.99401 14.1885 7.60962 13.8008L6.62329 15.25ZM8.46411 12.5469C9.23398 13.2251 9.7568 14.1764 9.88013 15.25H10.6125C10.5883 15.2107 10.5672 15.1687 10.55 15.124L9.16821 11.5146L8.46411 12.5469ZM11.9504 14.585L14.509 10.75H10.4817L11.9504 14.585Z\" />\n </SvgIcon>\n );\n});\n"],"names":["BicycleFilledIcon","forwardRef","props","ref","_jsx","SvgIcon","Object","assign","viewBox","d"],"mappings":"mHAMa,MAAAA,EAA4CC,GAAW,CAACC,EAAOC,IAExEC,EAACC,EAAOC,OAAAC,OAAA,CAACC,QAAQ,YAAYL,IAAKA,GAASD,YACzCE,EAAM,OAAA,CAAAK,EAAE"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { SvgIconProps } from '@mui/material';
3
+ /**
4
+ * Flow brand exclusive icon
5
+ */
6
+ export declare const BoltDischargeFilledIcon: React.FC<SvgIconProps>;
@@ -0,0 +1,2 @@
1
+ import{jsx as L}from"react/jsx-runtime";import{forwardRef as r}from"react";import{SvgIcon as t}from"@mui/material";const e=r(((r,e)=>L(t,Object.assign({viewBox:"2 2 20 20",ref:e},r,{children:L("path",{d:"M18.9531 19.2656L21.0869 17.1084L21.2637 16.9297L21.4414 17.1074L22.0664 17.7334L22.2432 17.9102L18.3721 21.7812L18.1953 21.959L18.0186 21.7812L14.3232 18.0869L14.1465 17.9102L15.127 16.9297L15.3037 17.1084L17.4365 19.2656V13.75H18.9531V19.2656ZM10.0596 10.7998H16.5596L7.36035 21.2803H6.13965L8.01953 13.1406H1.5L10.7197 2.66016H11.9404L10.0596 10.7998Z"})}))));export{e as BoltDischargeFilledIcon};
2
+ //# sourceMappingURL=BoltDischargeFilledIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoltDischargeFilledIcon.js","sources":["../../../../src/components/icon/filled/BoltDischargeFilledIcon.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\n/**\n * Flow brand exclusive icon\n */\nexport const BoltDischargeFilledIcon: React.FC<SvgIconProps> = forwardRef((props, ref) => {\n return (\n <SvgIcon viewBox=\"2 2 20 20\" ref={ref} {...props}>\n <path d=\"M18.9531 19.2656L21.0869 17.1084L21.2637 16.9297L21.4414 17.1074L22.0664 17.7334L22.2432 17.9102L18.3721 21.7812L18.1953 21.959L18.0186 21.7812L14.3232 18.0869L14.1465 17.9102L15.127 16.9297L15.3037 17.1084L17.4365 19.2656V13.75H18.9531V19.2656ZM10.0596 10.7998H16.5596L7.36035 21.2803H6.13965L8.01953 13.1406H1.5L10.7197 2.66016H11.9404L10.0596 10.7998Z\" />\n </SvgIcon>\n );\n});\n"],"names":["BoltDischargeFilledIcon","forwardRef","props","ref","_jsx","SvgIcon","Object","assign","viewBox","d"],"mappings":"mHAMa,MAAAA,EAAkDC,GAAW,CAACC,EAAOC,IAE9EC,EAACC,EAAOC,OAAAC,OAAA,CAACC,QAAQ,YAAYL,IAAKA,GAASD,YACzCE,EAAM,OAAA,CAAAK,EAAE"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { SvgIconProps } from '@mui/material';
3
+ /**
4
+ * Flow brand exclusive icon
5
+ */
6
+ export declare const BoltOffFilledIcon: React.FC<SvgIconProps>;
@@ -0,0 +1,2 @@
1
+ import{jsx as r}from"react/jsx-runtime";import{forwardRef as L}from"react";import{SvgIcon as t}from"@mui/material";const e=L(((L,e)=>r(t,Object.assign({viewBox:"2 2 20 20",ref:e},L,{children:r("path",{d:"M22.0452 3.03613L14.2825 10.7988H14.2991L10.6985 14.3984L10.7024 14.3779L2.96997 22.1113L1.69751 20.8389L9.39673 13.1396H4.46997L13.6897 2.65918H14.9104L13.4172 9.11816L20.7727 1.76367L22.0452 3.03613ZM10.3303 21.2793H9.10962L9.93286 17.71L16.845 10.7988H19.5295L10.3303 21.2793Z"})}))));export{e as BoltOffFilledIcon};
2
+ //# sourceMappingURL=BoltOffFilledIcon.js.map