@solostylist/ui-kit 2.0.1 → 2.0.2

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 (379) hide show
  1. package/dist/Add-CEnTWsXs.js +6 -0
  2. package/dist/ArrowUpward-udL1ltj2.js +6 -0
  3. package/dist/Box-9oeZgA1U.js +46 -0
  4. package/dist/Button-DaLr1m20.js +534 -0
  5. package/dist/ButtonBase-DovDC6-1.js +700 -0
  6. package/dist/Checkbox-C-Xjbzzh.js +152 -0
  7. package/dist/ChevronRight-DsPfsFKB.js +6 -0
  8. package/dist/Close-CIYOM-Sc.js +6 -0
  9. package/dist/Collapse-DPUr1cbP.js +266 -0
  10. package/dist/ContentCopy-Hlh3azVb.js +6 -0
  11. package/dist/DefaultPropsProvider-ebWx4_5E.js +128 -0
  12. package/dist/DialogContent-b3xbJVC6.js +450 -0
  13. package/dist/Download-D9PkFi7a.js +6 -0
  14. package/dist/ExpandMore-sOgvEha9.js +6 -0
  15. package/dist/Favorite-BP343hjM.js +6 -0
  16. package/dist/FavoriteBorder-D15j9xEL.js +6 -0
  17. package/dist/FormControl-DwMfZCiz.js +215 -0
  18. package/dist/FormControlLabel-Ihga1FTB.js +173 -0
  19. package/dist/Grow-BQR7x52V.js +121 -0
  20. package/dist/IconButton-CE-4GamO.js +448 -0
  21. package/dist/InfoOutlined-lpvhO6P8.js +6 -0
  22. package/dist/List-RNcZhRdr.js +105 -0
  23. package/dist/Menu-CnyB4SDS.js +180 -0
  24. package/dist/MenuItem-Ck30dBOR.js +224 -0
  25. package/dist/MenuList-Cc98uWXq.js +160 -0
  26. package/dist/Modal-CD2EBfU8.js +702 -0
  27. package/dist/Paper-_3qggtBp.js +115 -0
  28. package/dist/Popover-BFdKSYI5.js +340 -0
  29. package/dist/Popper-DYNAMSDd.js +1351 -0
  30. package/dist/Portal-i_wgIe9-.js +49 -0
  31. package/dist/Remove-DDEn8ek8.js +6 -0
  32. package/dist/RtlProvider-B7uVJXUY.js +19 -0
  33. package/dist/Skeleton-iZFynl7z.js +220 -0
  34. package/dist/Stack-C0LGzM4c.js +158 -0
  35. package/dist/SwitchBase-CjWtDdmE.js +198 -0
  36. package/dist/Tooltip-B1sn94L0.js +448 -0
  37. package/dist/Typography-_P0svrkO.js +168 -0
  38. package/dist/UnfoldMoreRounded-CuCrdxoy.js +6 -0
  39. package/dist/appendOwnerState-CFQTq3pb.js +17 -0
  40. package/dist/assets/stripe-input.css +1 -0
  41. package/dist/autocomplete-BgARERpp.js +43 -0
  42. package/dist/avatar-XNOdbbRz.js +10 -0
  43. package/dist/buttonBaseClasses-B90LjsNK.js +13 -0
  44. package/dist/capitalize-C0baBJCm.js +5 -0
  45. package/dist/chainPropTypes-CkMRtDjQ.js +8 -0
  46. package/dist/checkbox-D1U_JKqs.js +88 -0
  47. package/dist/checkboxClasses-B1up2lUn.js +18 -0
  48. package/dist/chunk-C_CI6nMA.js +13 -0
  49. package/dist/clsx-DGZSe4Nt.js +16 -0
  50. package/dist/colorManipulator-DmUjcif3.js +129 -0
  51. package/dist/contains-DnqPQsQU.js +16 -0
  52. package/dist/createSimplePaletteValueFilter-DFvyXHoZ.js +14 -0
  53. package/dist/createSvgIcon-3y-gS0r1.js +155 -0
  54. package/dist/createTheme-xB2Em0Na.js +1869 -0
  55. package/dist/defaultTheme-BaGcIzCh.js +210 -0
  56. package/dist/elementAcceptingRef-pKEY6jPR.js +25 -0
  57. package/dist/elementTypeAcceptingRef-xl_04Y5-.js +19 -0
  58. package/dist/exactProp-C_IsucXf.js +13 -0
  59. package/dist/extends-DXMyyJCW.js +12 -0
  60. package/dist/field-label-styles-4praXMaE.js +50 -0
  61. package/dist/formLabelClasses-AuZHWfTs.js +18 -0
  62. package/dist/generateUtilityClass-PAIOm1jC.js +34 -0
  63. package/dist/generateUtilityClasses-DvX505Gy.js +10 -0
  64. package/dist/getActiveElement-BfBkhgy6.js +8 -0
  65. package/dist/{gradients-DSnBONEQ.js → gradients-mQAYCK0_.js} +1 -1
  66. package/dist/iconButtonClasses-CVVRFXRo.js +27 -0
  67. package/dist/inputAdornmentClasses-BbB8s-Z4.js +19 -0
  68. package/dist/inputBaseClasses-Ce_jjdp9.js +25 -0
  69. package/dist/integerPropType-CCkQD1JY.js +27 -0
  70. package/dist/isEventHandler-QShLXBxE.js +7 -0
  71. package/dist/isFocusVisible-4OIE8TST.js +11 -0
  72. package/dist/isLayoutSupported-Btg2X3QE.js +6 -0
  73. package/dist/isMuiElement-CPjhi284.js +10 -0
  74. package/dist/main.js +1 -1
  75. package/dist/mega-menu-trigger-BcOo8I5_.js +53 -0
  76. package/dist/memoTheme-qFyKAk7y.js +15 -0
  77. package/dist/mergeSlotProps-DC8r4QzS.js +45 -0
  78. package/dist/monthCalendarClasses-b964KRbc.js +14 -0
  79. package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +12 -0
  80. package/dist/outlinedInputClasses-ci1zDasn.js +17 -0
  81. package/dist/ownerDocument-CJjQZweZ.js +6 -0
  82. package/dist/ownerDocument-pYjJiXem.js +5 -0
  83. package/dist/ownerWindow-SSeeoqPT.js +18 -0
  84. package/dist/palettes/index.js +1 -1
  85. package/dist/{palettes-CJLuEy1m.js → palettes-B1FcGUYs.js} +163 -163
  86. package/dist/pickersCalendarHeaderClasses-BAiPN_oY.js +12 -0
  87. package/dist/prop-types-BzYPyWN7.js +516 -0
  88. package/dist/refType-j5S9pc_e.js +6 -0
  89. package/dist/resolveProps-7jIA45vn.js +30 -0
  90. package/dist/s-accordion/index.js +1 -1
  91. package/dist/s-accordion/s-accordion.js +2 -70
  92. package/dist/s-accordion-1oLxQhod.js +487 -0
  93. package/dist/s-action-overlay/s-action-overlay.js +21 -21
  94. package/dist/s-animated-gradient-text/index.d.ts +2 -0
  95. package/dist/s-animated-gradient-text/index.js +2 -0
  96. package/dist/s-animated-gradient-text/s-animated-gradient-text.d.ts +64 -0
  97. package/dist/s-animated-gradient-text/s-animated-gradient-text.js +93 -0
  98. package/dist/s-announcement-bar/index.d.ts +2 -0
  99. package/dist/s-announcement-bar/index.js +2 -0
  100. package/dist/s-announcement-bar/s-announcement-bar.d.ts +113 -0
  101. package/dist/s-announcement-bar/s-announcement-bar.js +275 -0
  102. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  103. package/dist/s-avatar/s-avatar.js +17 -17
  104. package/dist/s-blur-text/s-blur-text.js +16 -16
  105. package/dist/s-brand-logo/index.js +1 -1
  106. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  107. package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
  108. package/dist/s-carousel/index.js +1 -1
  109. package/dist/s-carousel/s-carousel.d.ts +2 -0
  110. package/dist/s-carousel/s-carousel.js +2 -184
  111. package/dist/s-carousel-CAyAl3ka.js +1355 -0
  112. package/dist/s-category-card/s-category-card.js +22 -22
  113. package/dist/s-chat-input/index.js +1 -1
  114. package/dist/s-chat-input/s-chat-input.js +2 -398
  115. package/dist/s-chat-input-T3gyan60.js +419 -0
  116. package/dist/s-chat-message/index.js +1 -1
  117. package/dist/s-chat-message/s-chat-message.js +2 -314
  118. package/dist/s-chat-message-NFTpNgt5.js +315 -0
  119. package/dist/s-checkbox/s-checkbox.js +19 -18
  120. package/dist/s-chips/index.js +1 -1
  121. package/dist/s-chips/s-chips.js +2 -174
  122. package/dist/s-chips-Dqq1fgz-.js +176 -0
  123. package/dist/s-code-block/index.js +1 -1
  124. package/dist/s-code-block/s-code-block.js +2 -103
  125. package/dist/s-code-block-DyDtctGG.js +658 -0
  126. package/dist/s-comment-message/index.js +1 -1
  127. package/dist/s-comment-message/s-comment-message.js +2 -189
  128. package/dist/s-comment-message-DpCVBKiE.js +192 -0
  129. package/dist/s-copyable-text/s-copyable-text.js +18 -18
  130. package/dist/s-countdown/s-count-box.js +18 -18
  131. package/dist/s-data-table/index.js +1 -1
  132. package/dist/s-data-table/s-data-table.js +2 -213
  133. package/dist/s-data-table-D4V58HFR.js +805 -0
  134. package/dist/s-date-picker/index.js +1 -1
  135. package/dist/s-date-picker/s-date-picker.js +2 -106
  136. package/dist/s-date-picker-BFIQOA8C.js +657 -0
  137. package/dist/s-datetime-picker/index.js +1 -1
  138. package/dist/s-datetime-picker/s-datetime-picker.js +2 -108
  139. package/dist/s-datetime-picker-zfg7BEOW.js +3886 -0
  140. package/dist/s-dialog/index.js +1 -1
  141. package/dist/s-dialog/s-dialog.js +2 -80
  142. package/dist/s-dialog-BNlXsVVP.js +123 -0
  143. package/dist/s-dialog-confirm/s-dialog-confirm.js +33 -32
  144. package/dist/s-dialog-message/s-dialog-message.js +32 -31
  145. package/dist/s-drawer/index.d.ts +3 -0
  146. package/dist/s-drawer/index.js +2 -0
  147. package/dist/s-drawer/s-drawer.d.ts +70 -0
  148. package/dist/s-drawer/s-drawer.js +2 -0
  149. package/dist/s-drawer-4h5ZyoM8.js +562 -0
  150. package/dist/s-empty/s-empty.js +14 -13
  151. package/dist/s-file-dropzone/index.js +1 -1
  152. package/dist/s-file-dropzone/s-file-dropzone.js +2 -219
  153. package/dist/s-file-dropzone-Cfzv1Cm8.js +422 -0
  154. package/dist/s-file-icon/s-file-icon.js +88 -87
  155. package/dist/s-flex-box/s-flex-box.js +12 -11
  156. package/dist/s-form/s-form.js +15 -15
  157. package/dist/s-gallery/s-gallery.js +1 -1
  158. package/dist/s-glow-button/s-glow-button.js +10 -9
  159. package/dist/s-gradient-blob-pulse/index.d.ts +2 -0
  160. package/dist/s-gradient-blob-pulse/index.js +2 -0
  161. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.d.ts +62 -0
  162. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +237 -0
  163. package/dist/s-gradient-icon/index.d.ts +1 -1
  164. package/dist/s-gradient-icon/s-gradient-icon.d.ts +4 -4
  165. package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
  166. package/dist/s-icon-button/s-icon-button.d.ts +6 -2
  167. package/dist/s-icon-button/s-icon-button.js +14 -13
  168. package/dist/s-image-comparison/s-image-comparison.js +31 -29
  169. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  170. package/dist/s-image-viewer/index.js +3 -3
  171. package/dist/s-image-viewer/s-image-viewer.js +2 -266
  172. package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
  173. package/dist/s-image-viewer-CjK67-rs.js +269 -0
  174. package/dist/s-interactive-card/index.d.ts +3 -0
  175. package/dist/s-interactive-card/index.js +2 -0
  176. package/dist/s-interactive-card/s-interactive-card.d.ts +57 -0
  177. package/dist/s-interactive-card/s-interactive-card.js +152 -0
  178. package/dist/s-label/s-label.js +26 -25
  179. package/dist/s-language-switcher/index.js +2 -2
  180. package/dist/s-language-switcher/s-language-switcher.js +2 -150
  181. package/dist/s-language-switcher-PaMgHWc2.js +246 -0
  182. package/dist/s-lazy-image/s-lazy-image.js +18 -17
  183. package/dist/s-link/index.js +1 -1
  184. package/dist/s-link/s-link.js +2 -5
  185. package/dist/s-link-Db1aabHh.js +235 -0
  186. package/dist/s-list-action-item/index.d.ts +2 -0
  187. package/dist/s-list-action-item/index.js +2 -0
  188. package/dist/s-list-action-item/s-list-action-item.d.ts +89 -0
  189. package/dist/s-list-action-item/s-list-action-item.js +150 -0
  190. package/dist/s-localization-provider/index.js +1 -1
  191. package/dist/s-localization-provider/s-localization-provider.js +2 -12
  192. package/dist/s-localization-provider-CeyB_SGz.js +519 -0
  193. package/dist/s-mega-menu/index.d.ts +3 -0
  194. package/dist/s-mega-menu/index.js +2 -0
  195. package/dist/s-mega-menu/mega-menu-panel.d.ts +38 -0
  196. package/dist/s-mega-menu/mega-menu-panel.js +253 -0
  197. package/dist/s-mega-menu/mega-menu-slots.d.ts +65 -0
  198. package/dist/s-mega-menu/mega-menu-slots.js +232 -0
  199. package/dist/s-mega-menu/mega-menu-trigger.d.ts +35 -0
  200. package/dist/s-mega-menu/mega-menu-trigger.js +2 -0
  201. package/dist/s-mega-menu/s-mega-menu.d.ts +23 -0
  202. package/dist/s-mega-menu/s-mega-menu.js +228 -0
  203. package/dist/s-mega-menu/types.d.ts +188 -0
  204. package/dist/s-mega-menu/types.js +0 -0
  205. package/dist/s-mega-menu/utils.d.ts +51 -0
  206. package/dist/s-mega-menu/utils.js +51 -0
  207. package/dist/s-mobile-dock/index.d.ts +3 -0
  208. package/dist/s-mobile-dock/index.js +2 -0
  209. package/dist/s-mobile-dock/s-mobile-dock.d.ts +96 -0
  210. package/dist/s-mobile-dock/s-mobile-dock.js +2 -0
  211. package/dist/s-mobile-dock-8F3UWAb8.js +615 -0
  212. package/dist/s-nav-item/index.d.ts +1 -1
  213. package/dist/s-nav-item/s-nav-item.d.ts +35 -16
  214. package/dist/s-nav-item/s-nav-item.js +56 -77
  215. package/dist/s-nav-items/s-nav-items.js +78 -121
  216. package/dist/s-no-ssr/index.js +1 -1
  217. package/dist/s-no-ssr/s-no-ssr.js +2 -5
  218. package/dist/s-no-ssr-DH57_uP_.js +25 -0
  219. package/dist/s-number-range/index.d.ts +3 -0
  220. package/dist/s-number-range/index.js +2 -0
  221. package/dist/s-number-range/s-number-range.d.ts +109 -0
  222. package/dist/s-number-range/s-number-range.js +2 -0
  223. package/dist/s-number-range-Low5QjuD.js +253 -0
  224. package/dist/s-pagination/index.js +1 -1
  225. package/dist/s-pagination/s-pagination.js +2 -85
  226. package/dist/s-pagination-s46hBifh.js +606 -0
  227. package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
  228. package/dist/s-popover/index.d.ts +5 -0
  229. package/dist/s-popover/index.js +3 -0
  230. package/dist/s-popover/placement.d.ts +14 -0
  231. package/dist/s-popover/placement.js +65 -0
  232. package/dist/s-popover/s-popover-content.d.ts +22 -0
  233. package/dist/s-popover/s-popover-content.js +22 -0
  234. package/dist/s-popover/s-popover.d.ts +59 -0
  235. package/dist/s-popover/s-popover.js +68 -0
  236. package/dist/s-product-card/index.d.ts +3 -0
  237. package/dist/s-product-card/index.js +2 -0
  238. package/dist/s-product-card/s-product-card.d.ts +216 -0
  239. package/dist/s-product-card/s-product-card.js +502 -0
  240. package/dist/s-product-gallery/index.d.ts +3 -0
  241. package/dist/s-product-gallery/index.js +2 -0
  242. package/dist/s-product-gallery/s-product-gallery.d.ts +116 -0
  243. package/dist/s-product-gallery/s-product-gallery.js +2 -0
  244. package/dist/s-product-gallery-Dj9eGg5i.js +430 -0
  245. package/dist/s-quantity-input/s-quantity-input.js +24 -24
  246. package/dist/s-review/index.js +1 -1
  247. package/dist/s-review/s-review.js +2 -272
  248. package/dist/s-review--Q2C0ngO.js +272 -0
  249. package/dist/s-scroll-reveal/s-scroll-reveal.js +8 -7
  250. package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +1 -1
  251. package/dist/s-scroll-to-top/s-scroll-to-top.js +28 -27
  252. package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
  253. package/dist/s-segmented-control/index.d.ts +3 -0
  254. package/dist/s-segmented-control/index.js +2 -0
  255. package/dist/s-segmented-control/s-segmented-control.d.ts +94 -0
  256. package/dist/s-segmented-control/s-segmented-control.js +302 -0
  257. package/dist/s-select/index.js +1 -1
  258. package/dist/s-select/s-select.js +2 -201
  259. package/dist/s-select-CtVKEOZ5.js +204 -0
  260. package/dist/s-select-list/s-select-list.js +50 -47
  261. package/dist/s-skeleton/s-skeleton.js +13 -12
  262. package/dist/s-snackbar-message/index.js +2 -2
  263. package/dist/s-snackbar-message/s-snackbar-message.js +2 -89
  264. package/dist/s-snackbar-message-DsfJlDYd.js +810 -0
  265. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
  266. package/dist/s-status-illustration/s-status-illustration.js +74 -74
  267. package/dist/s-stepper/index.d.ts +3 -0
  268. package/dist/s-stepper/index.js +2 -0
  269. package/dist/s-stepper/s-stepper.d.ts +90 -0
  270. package/dist/s-stepper/s-stepper.js +2 -0
  271. package/dist/s-stepper-BtODHVro.js +892 -0
  272. package/dist/s-stripe/s-stripe.js +12 -11
  273. package/dist/s-stripe/stripe-input.js +2 -3
  274. package/dist/s-swatch/index.d.ts +3 -0
  275. package/dist/s-swatch/index.js +2 -0
  276. package/dist/s-swatch/s-swatch.d.ts +235 -0
  277. package/dist/s-swatch/s-swatch.js +219 -0
  278. package/dist/s-switch/index.js +1 -1
  279. package/dist/s-switch/s-switch.js +2 -48
  280. package/dist/s-switch-BCeBoxWf.js +307 -0
  281. package/dist/s-tabs/s-tabs.js +50 -48
  282. package/dist/s-text-editor/index.js +1 -1
  283. package/dist/s-text-editor/s-text-editor-toolbar.js +2 -216
  284. package/dist/s-text-editor/s-text-editor.js +26 -25
  285. package/dist/s-text-editor-toolbar-D5eQ-jCs.js +2124 -0
  286. package/dist/s-text-field/index.js +1 -1
  287. package/dist/s-text-field/s-text-field.js +2 -52
  288. package/dist/s-text-field-HYyDf1Jo.js +51 -0
  289. package/dist/s-text-shimmer/s-text-shimmer.js +3 -1
  290. package/dist/s-text-truncation/s-text-truncation.js +20 -20
  291. package/dist/s-theme-demo/s-theme-demo.js +8 -8
  292. package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
  293. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  294. package/dist/s-theme-demo/theme-demo-components-section.js +2 -265
  295. package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
  296. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  297. package/dist/s-theme-switch/index.js +1 -1
  298. package/dist/s-theme-switch/s-theme-switch.js +2 -60
  299. package/dist/s-theme-switch-BFWpADh3.js +60 -0
  300. package/dist/s-tip/index.js +1 -1
  301. package/dist/s-tip/s-tip.js +2 -61
  302. package/dist/s-tip-jbL7vtoU.js +62 -0
  303. package/dist/s-tool-bar/s-tool-bar.js +28 -28
  304. package/dist/s-tool-bar/tool-bar-action-buttons.js +2 -55
  305. package/dist/s-tool-bar/tool-bar-image-input.js +2 -148
  306. package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
  307. package/dist/s-tool-item/s-tool-item.d.ts +10 -6
  308. package/dist/s-tool-item/s-tool-item.js +29 -29
  309. package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
  310. package/dist/s-zoom-image/s-zoom-image.js +19 -18
  311. package/dist/selectClasses-CPxME5jE.js +22 -0
  312. package/dist/setRef-BWPyWnrr.js +6 -0
  313. package/dist/styled-Bog8QCl3.js +163 -0
  314. package/dist/svgIconClasses-1kWGzgux.js +20 -0
  315. package/dist/switchClasses-BtweO7PC.js +23 -0
  316. package/dist/theme/component-augmentation.d.ts +65 -1
  317. package/dist/theme/components/autocomplete.js +2 -43
  318. package/dist/theme/components/avatar.js +2 -9
  319. package/dist/theme/components/card.js +3 -3
  320. package/dist/theme/components/checkbox.js +2 -90
  321. package/dist/theme/components/chip.js +3 -3
  322. package/dist/theme/components/components.js +20 -20
  323. package/dist/theme/components/date-calendar.js +0 -1
  324. package/dist/theme/components/day-calendar.js +0 -1
  325. package/dist/theme/components/drawer.d.ts +1 -0
  326. package/dist/theme/components/drawer.js +4 -1
  327. package/dist/theme/components/field-label-styles.js +2 -19
  328. package/dist/theme/components/form-label.js +1 -1
  329. package/dist/theme/components/list-item-button.js +1 -1
  330. package/dist/theme/components/list-item.js +7 -7
  331. package/dist/theme/components/month-calendar.js +13 -14
  332. package/dist/theme/components/multi-section-digital-clock-section.js +0 -1
  333. package/dist/theme/components/outlined-input.js +6 -6
  334. package/dist/theme/components/picker-day.js +0 -1
  335. package/dist/theme/components/pickers-arrow-switcher.js +0 -1
  336. package/dist/theme/components/pickers-calendar-header.js +2 -3
  337. package/dist/theme/components/select.js +6 -6
  338. package/dist/theme/components/slider.js +18 -1
  339. package/dist/theme/components/step-connector.d.ts +0 -3
  340. package/dist/theme/components/step-connector.js +1 -6
  341. package/dist/theme/components/step-icon.d.ts +3 -12
  342. package/dist/theme/components/step-icon.js +3 -14
  343. package/dist/theme/components/switch.js +1 -1
  344. package/dist/theme/components/table-pagination.js +1 -1
  345. package/dist/theme/components/toggle-button.js +2 -93
  346. package/dist/theme/components/year-calendar.js +13 -14
  347. package/dist/theme/theme-primitives.js +2 -2
  348. package/dist/theme-demo-components-section-C7l_2KAo.js +267 -0
  349. package/dist/{theme-primitives-CRfnMsNy.js → theme-primitives-CXtaMdVj.js} +109 -108
  350. package/dist/toggle-button-BsGb-tOr.js +104 -0
  351. package/dist/tool-bar-action-buttons-v1koaasr.js +54 -0
  352. package/dist/tool-bar-image-input-DtXTyEe1.js +148 -0
  353. package/dist/typographyClasses-BH_-zLwg.js +31 -0
  354. package/dist/unsupportedProp-whMV_uOi.js +11 -0
  355. package/dist/useControlled-DqNPBJNp.js +5 -0
  356. package/dist/useControlled-uxVKygk1.js +29 -0
  357. package/dist/useEnhancedEffect-DFq_FMGX.js +5 -0
  358. package/dist/useEnhancedEffect-dBFfkm1e.js +5 -0
  359. package/dist/useEventCallback-DGCsaRIu.js +5 -0
  360. package/dist/useEventCallback-DhCPBxRG.js +11 -0
  361. package/dist/useForkRef-BuNFTXxE.js +29 -0
  362. package/dist/useFormControl-gXwNeUM1.js +18 -0
  363. package/dist/useMobilePicker-CdrT935R.js +7584 -0
  364. package/dist/useRovingTabIndex-DPlW997R.js +242 -0
  365. package/dist/useSlot-BG8ReOxN.js +83 -0
  366. package/dist/useSlotProps-BOO3qaI9.js +16 -0
  367. package/dist/useTheme-BIWMbX3i.js +9 -0
  368. package/dist/useThemeProps-Dw9dmKyT.js +29 -0
  369. package/dist/useTimeout-CoK-Khfm.js +49 -0
  370. package/dist/utils/dayjs.js +146 -9
  371. package/dist/utils-Bfqbev5I.js +248 -0
  372. package/dist/warning-D5YhCbje.js +99 -0
  373. package/dist/yearCalendarClasses-D9k_KT38.js +14 -0
  374. package/package.json +1 -1
  375. package/dist/theme/components/components.d.ts +0 -2
  376. package/dist/theme/components/slider.d.ts +0 -34
  377. /package/dist/{colors-CNjL5fhq.js → colors-Bik9qOU9.js} +0 -0
  378. /package/dist/{s-brand-logo-CErW9Slg.js → s-brand-logo-D7Jovf5K.js} +0 -0
  379. /package/dist/{utils-CMeAWSRO.js → utils-DOY6v6ln.js} +0 -0
@@ -0,0 +1,700 @@
1
+ import { n as e } from "./chunk-C_CI6nMA.js";
2
+ import { s as t } from "./defaultTheme-BaGcIzCh.js";
3
+ import { t as n } from "./prop-types-BzYPyWN7.js";
4
+ import { r, t as i } from "./DefaultPropsProvider-ebWx4_5E.js";
5
+ import { t as a } from "./clsx-DGZSe4Nt.js";
6
+ import { t as o } from "./generateUtilityClasses-DvX505Gy.js";
7
+ import { t as s } from "./styled-Bog8QCl3.js";
8
+ import { t as c } from "./refType-j5S9pc_e.js";
9
+ import { t as l } from "./elementTypeAcceptingRef-xl_04Y5-.js";
10
+ import { t as u } from "./isFocusVisible-4OIE8TST.js";
11
+ import { t as d } from "./useForkRef-BuNFTXxE.js";
12
+ import { t as f } from "./useEventCallback-DGCsaRIu.js";
13
+ import { a as p, i as m, n as h, r as g } from "./useTimeout-CoK-Khfm.js";
14
+ import { t as _ } from "./extends-DXMyyJCW.js";
15
+ import { t as v } from "./objectWithoutPropertiesLoose-q4Zwd1RV.js";
16
+ import { n as y, t as b } from "./buttonBaseClasses-B90LjsNK.js";
17
+ import * as x from "react";
18
+ import S, { Children as C, cloneElement as w, isValidElement as T } from "react";
19
+ import { jsx as E, jsxs as ee } from "react/jsx-runtime";
20
+ //#region ../../node_modules/@mui/material/utils/useFocusableWhenDisabled.mjs
21
+ var D = /* @__PURE__ */ e(n());
22
+ function te(e) {
23
+ let { focusableWhenDisabled: t, disabled: n, composite: r = !1, tabIndex: i = 0, isNativeButton: a } = e, o = r && t !== !1, s = r && t === !1;
24
+ return x.useMemo(() => {
25
+ let e = { onKeyDown(e) {
26
+ n && t && e.key !== "Tab" && e.preventDefault();
27
+ } };
28
+ return r || (e.tabIndex = i, !a && n && (e.tabIndex = t ? i : -1)), (a && (t || o) || !a && n) && (e["aria-disabled"] = n), a && (!t || s) && (e.disabled = n), e;
29
+ }, [
30
+ r,
31
+ n,
32
+ t,
33
+ o,
34
+ s,
35
+ a,
36
+ i
37
+ ]);
38
+ }
39
+ //#endregion
40
+ //#region ../../node_modules/@mui/material/ButtonBase/useButtonBase.mjs
41
+ var O = {};
42
+ function ne(e) {
43
+ let { nativeButton: t, nativeButtonProp: n, internalNativeButton: r = t, allowInferredHostMismatch: i = !1, disabled: a, type: o, hasFormAction: s = !1, tabIndex: c = 0, focusableWhenDisabled: l, stopEventPropagation: u = !1, onBeforeKeyDown: d, onBeforeKeyUp: f } = e, p = x.useRef(null), m = l === !0, h = te({
44
+ focusableWhenDisabled: m,
45
+ disabled: a,
46
+ isNativeButton: t,
47
+ tabIndex: c
48
+ });
49
+ process.env.NODE_ENV !== "production" && x.useEffect(() => {
50
+ let e = p.current;
51
+ if (e == null) return;
52
+ let t = e.tagName === "BUTTON";
53
+ if (n !== void 0) {
54
+ n && !t && console.error("MUI: A component that acts as a button expected a native <button> because the `nativeButton` prop is true. Rendering a non-<button> removes native button semantics, which can impact forms and accessibility. Render a real <button> or set `nativeButton` to `false`."), !n && t && console.error("MUI: A component that acts as a button expected a non-<button> because the `nativeButton` prop is false. Rendering a <button> keeps native behavior while additionally applies non-native attributes and handlers, which can add unintended extra attributes (such as `role` or `aria-disabled`). Render a non-<button> such as <div>, or set `nativeButton` to `true`.");
55
+ return;
56
+ }
57
+ i || (r && !t && console.error("MUI: A component rendering a native <button> resolved to a non-<button> element, but `nativeButton={false}` was not specified and the resolved root is a non-<button>. When rendering a custom component, set `nativeButton={false}` explicitly or render a <button> element."), !r && t && console.error("MUI: A component that acts as a non-native button resolved to a native <button> element, but `nativeButton={true}` was not specified. When rendering a custom component, set `nativeButton={true}` explicitly or render a non-<button> element."));
58
+ }, [
59
+ i,
60
+ r,
61
+ n
62
+ ]);
63
+ let g = x.useCallback(() => {
64
+ let e = p.current;
65
+ return e == null ? t : e.tagName === "BUTTON" ? !0 : !!(e.tagName === "A" && e.href);
66
+ }, [t]), _ = x.useMemo(() => {
67
+ let e = m ? {} : { tabIndex: a ? -1 : c };
68
+ return t ? (e.type = o === void 0 && !s ? "button" : o, m || (e.disabled = a)) : (e.role = "button", !m && a && (e["aria-disabled"] = a)), m ? {
69
+ ...e,
70
+ ...h
71
+ } : e;
72
+ }, [
73
+ a,
74
+ m,
75
+ h,
76
+ s,
77
+ t,
78
+ c,
79
+ o
80
+ ]);
81
+ return {
82
+ getButtonProps: x.useCallback((e = O) => {
83
+ let { onClick: t, onKeyDown: n, onKeyUp: r, ...i } = e, o = (e) => {
84
+ if (u && e.stopPropagation(), a) {
85
+ e.preventDefault();
86
+ return;
87
+ }
88
+ t?.(e);
89
+ }, s = (e) => {
90
+ if (m && h.onKeyDown(e), !a && (d?.(e), n?.(e), !(e.target !== e.currentTarget || g()))) {
91
+ if (e.key === " ") {
92
+ e.preventDefault();
93
+ return;
94
+ }
95
+ e.key === "Enter" && (e.preventDefault(), e.currentTarget.click());
96
+ }
97
+ }, c = (e) => {
98
+ a || (f?.(e), r?.(e), e.target === e.currentTarget && !g() && e.key === " " && !e.defaultPrevented && e.currentTarget.click());
99
+ };
100
+ return {
101
+ ..._,
102
+ ...i,
103
+ onClick: o,
104
+ onKeyDown: s,
105
+ onKeyUp: c
106
+ };
107
+ }, [
108
+ _,
109
+ a,
110
+ m,
111
+ h,
112
+ g,
113
+ d,
114
+ f,
115
+ u
116
+ ]),
117
+ rootRef: p
118
+ };
119
+ }
120
+ //#endregion
121
+ //#region ../../node_modules/@mui/material/useLazyRipple/useLazyRipple.mjs
122
+ var k = class e {
123
+ static create() {
124
+ return new e();
125
+ }
126
+ static use() {
127
+ let t = p(e.create).current, [n, r] = x.useState(!1);
128
+ return t.shouldMount = n, t.setShouldMount = r, x.useEffect(t.mountEffect, [n]), t;
129
+ }
130
+ constructor() {
131
+ this.ref = { current: null }, this.mounted = null, this.didMount = !1, this.shouldMount = !1, this.setShouldMount = null;
132
+ }
133
+ mount() {
134
+ return this.mounted || (this.mounted = A(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
135
+ }
136
+ mountEffect = () => {
137
+ this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
138
+ };
139
+ start(...e) {
140
+ this.mount().then(() => this.ref.current?.start(...e));
141
+ }
142
+ stop(...e) {
143
+ this.mount().then(() => this.ref.current?.stop(...e));
144
+ }
145
+ pulsate(...e) {
146
+ this.mount().then(() => this.ref.current?.pulsate(...e));
147
+ }
148
+ };
149
+ function re() {
150
+ return k.use();
151
+ }
152
+ function A() {
153
+ let e, t, n = new Promise((n, r) => {
154
+ e = n, t = r;
155
+ });
156
+ return n.resolve = e, n.reject = t, n;
157
+ }
158
+ //#endregion
159
+ //#region ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
160
+ function j(e) {
161
+ if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
162
+ return e;
163
+ }
164
+ //#endregion
165
+ //#region ../../node_modules/react-transition-group/esm/utils/ChildMapping.js
166
+ function M(e, t) {
167
+ var n = function(e) {
168
+ return t && T(e) ? t(e) : e;
169
+ }, r = Object.create(null);
170
+ return e && C.map(e, function(e) {
171
+ return e;
172
+ }).forEach(function(e) {
173
+ r[e.key] = n(e);
174
+ }), r;
175
+ }
176
+ function N(e, t) {
177
+ e ||= {}, t ||= {};
178
+ function n(n) {
179
+ return n in t ? t[n] : e[n];
180
+ }
181
+ var r = Object.create(null), i = [];
182
+ for (var a in e) a in t ? i.length && (r[a] = i, i = []) : i.push(a);
183
+ var o, s = {};
184
+ for (var c in t) {
185
+ if (r[c]) for (o = 0; o < r[c].length; o++) {
186
+ var l = r[c][o];
187
+ s[r[c][o]] = n(l);
188
+ }
189
+ s[c] = n(c);
190
+ }
191
+ for (o = 0; o < i.length; o++) s[i[o]] = n(i[o]);
192
+ return s;
193
+ }
194
+ function P(e, t, n) {
195
+ return n[t] == null ? e.props[t] : n[t];
196
+ }
197
+ function F(e, t) {
198
+ return M(e.children, function(n) {
199
+ return w(n, {
200
+ onExited: t.bind(null, n),
201
+ in: !0,
202
+ appear: P(n, "appear", e),
203
+ enter: P(n, "enter", e),
204
+ exit: P(n, "exit", e)
205
+ });
206
+ });
207
+ }
208
+ function I(e, t, n) {
209
+ var r = M(e.children), i = N(t, r);
210
+ return Object.keys(i).forEach(function(a) {
211
+ var o = i[a];
212
+ if (T(o)) {
213
+ var s = a in t, c = a in r, l = t[a], u = T(l) && !l.props.in;
214
+ c && (!s || u) ? i[a] = w(o, {
215
+ onExited: n.bind(null, o),
216
+ in: !0,
217
+ exit: P(o, "exit", e),
218
+ enter: P(o, "enter", e)
219
+ }) : !c && s && !u ? i[a] = w(o, { in: !1 }) : c && s && T(l) && (i[a] = w(o, {
220
+ onExited: n.bind(null, o),
221
+ in: l.props.in,
222
+ exit: P(o, "exit", e),
223
+ enter: P(o, "enter", e)
224
+ }));
225
+ }
226
+ }), i;
227
+ }
228
+ //#endregion
229
+ //#region ../../node_modules/react-transition-group/esm/TransitionGroup.js
230
+ var ie = Object.values || function(e) {
231
+ return Object.keys(e).map(function(t) {
232
+ return e[t];
233
+ });
234
+ }, L = {
235
+ component: "div",
236
+ childFactory: function(e) {
237
+ return e;
238
+ }
239
+ }, R = /* @__PURE__ */ function(e) {
240
+ m(t, e);
241
+ function t(t, n) {
242
+ var r = e.call(this, t, n) || this;
243
+ return r.state = {
244
+ contextValue: { isMounting: !0 },
245
+ handleExited: r.handleExited.bind(j(r)),
246
+ firstRender: !0
247
+ }, r;
248
+ }
249
+ var n = t.prototype;
250
+ return n.componentDidMount = function() {
251
+ this.mounted = !0, this.setState({ contextValue: { isMounting: !1 } });
252
+ }, n.componentWillUnmount = function() {
253
+ this.mounted = !1;
254
+ }, t.getDerivedStateFromProps = function(e, t) {
255
+ var n = t.children, r = t.handleExited;
256
+ return {
257
+ children: t.firstRender ? F(e, r) : I(e, n, r),
258
+ firstRender: !1
259
+ };
260
+ }, n.handleExited = function(e, t) {
261
+ var n = M(this.props.children);
262
+ e.key in n || (e.props.onExited && e.props.onExited(t), this.mounted && this.setState(function(t) {
263
+ var n = _({}, t.children);
264
+ return delete n[e.key], { children: n };
265
+ }));
266
+ }, n.render = function() {
267
+ var e = this.props, t = e.component, n = e.childFactory, r = v(e, ["component", "childFactory"]), i = this.state.contextValue, a = ie(this.state.children).map(n);
268
+ return delete r.appear, delete r.enter, delete r.exit, t === null ? /* @__PURE__ */ S.createElement(g.Provider, { value: i }, a) : /* @__PURE__ */ S.createElement(g.Provider, { value: i }, /* @__PURE__ */ S.createElement(t, r, a));
269
+ }, t;
270
+ }(S.Component);
271
+ R.propTypes = process.env.NODE_ENV === "production" ? {} : {
272
+ component: D.default.any,
273
+ children: D.default.node,
274
+ appear: D.default.bool,
275
+ enter: D.default.bool,
276
+ exit: D.default.bool,
277
+ childFactory: D.default.func
278
+ }, R.defaultProps = L;
279
+ //#endregion
280
+ //#region ../../node_modules/@mui/material/ButtonBase/Ripple.mjs
281
+ function z(e) {
282
+ let { className: t, classes: n, pulsate: r = !1, rippleX: i, rippleY: o, rippleSize: s, in: c, onExited: l, timeout: u } = e, [d, f] = x.useState(!1), p = a(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), m = {
283
+ width: s,
284
+ height: s,
285
+ top: -(s / 2) + o,
286
+ left: -(s / 2) + i
287
+ }, h = a(n.child, d && n.childLeaving, r && n.childPulsate);
288
+ return !c && !d && f(!0), x.useEffect(() => {
289
+ if (!c && l != null) {
290
+ let e = setTimeout(l, u);
291
+ return () => {
292
+ clearTimeout(e);
293
+ };
294
+ }
295
+ }, [
296
+ l,
297
+ c,
298
+ u
299
+ ]), /* @__PURE__ */ E("span", {
300
+ className: p,
301
+ style: m,
302
+ children: /* @__PURE__ */ E("span", { className: h })
303
+ });
304
+ }
305
+ process.env.NODE_ENV !== "production" && (z.propTypes = {
306
+ classes: D.default.object.isRequired,
307
+ className: D.default.string,
308
+ in: D.default.bool,
309
+ onExited: D.default.func,
310
+ pulsate: D.default.bool,
311
+ rippleSize: D.default.number,
312
+ rippleX: D.default.number,
313
+ rippleY: D.default.number,
314
+ timeout: D.default.number.isRequired
315
+ });
316
+ //#endregion
317
+ //#region ../../node_modules/@mui/material/ButtonBase/touchRippleClasses.mjs
318
+ var B = o("MuiTouchRipple", [
319
+ "root",
320
+ "ripple",
321
+ "rippleVisible",
322
+ "ripplePulsate",
323
+ "child",
324
+ "childLeaving",
325
+ "childPulsate"
326
+ ]), V = 550, H = t`
327
+ 0% {
328
+ transform: scale(0);
329
+ opacity: 0.1;
330
+ }
331
+
332
+ 100% {
333
+ transform: scale(1);
334
+ opacity: 0.3;
335
+ }
336
+ `, U = t`
337
+ 0% {
338
+ opacity: 1;
339
+ }
340
+
341
+ 100% {
342
+ opacity: 0;
343
+ }
344
+ `, W = t`
345
+ 0% {
346
+ transform: scale(1);
347
+ }
348
+
349
+ 50% {
350
+ transform: scale(0.92);
351
+ }
352
+
353
+ 100% {
354
+ transform: scale(1);
355
+ }
356
+ `, G = s("span", {
357
+ name: "MuiTouchRipple",
358
+ slot: "Root"
359
+ })({
360
+ overflow: "hidden",
361
+ pointerEvents: "none",
362
+ position: "absolute",
363
+ zIndex: 0,
364
+ top: 0,
365
+ right: 0,
366
+ bottom: 0,
367
+ left: 0,
368
+ borderRadius: "inherit"
369
+ }), K = s(z, {
370
+ name: "MuiTouchRipple",
371
+ slot: "Ripple"
372
+ })`
373
+ opacity: 0;
374
+ position: absolute;
375
+
376
+ &.${B.rippleVisible} {
377
+ opacity: 0.3;
378
+ transform: scale(1);
379
+ animation-name: ${H};
380
+ animation-duration: ${V}ms;
381
+ animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut};
382
+ }
383
+
384
+ &.${B.ripplePulsate} {
385
+ animation-duration: ${({ theme: e }) => e.transitions.duration.shorter}ms;
386
+ }
387
+
388
+ & .${B.child} {
389
+ opacity: 1;
390
+ display: block;
391
+ width: 100%;
392
+ height: 100%;
393
+ border-radius: 50%;
394
+ background-color: currentColor;
395
+ }
396
+
397
+ & .${B.childLeaving} {
398
+ opacity: 0;
399
+ animation-name: ${U};
400
+ animation-duration: ${V}ms;
401
+ animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut};
402
+ }
403
+
404
+ & .${B.childPulsate} {
405
+ position: absolute;
406
+ /* @noflip */
407
+ left: 0px;
408
+ top: 0;
409
+ animation-name: ${W};
410
+ animation-duration: 2500ms;
411
+ animation-timing-function: ${({ theme: e }) => e.transitions.easing.easeInOut};
412
+ animation-iteration-count: infinite;
413
+ animation-delay: 200ms;
414
+ }
415
+ `, q = /* @__PURE__ */ x.forwardRef(function(e, t) {
416
+ let { center: n = !1, classes: r = {}, className: o, ...s } = i({
417
+ props: e,
418
+ name: "MuiTouchRipple"
419
+ }), [c, l] = x.useState([]), u = x.useRef(0), d = x.useRef(null);
420
+ x.useEffect(() => {
421
+ d.current &&= (d.current(), null);
422
+ }, [c]);
423
+ let f = x.useRef(!1), p = h(), m = x.useRef(null), g = x.useRef(null), _ = x.useCallback((e) => {
424
+ let { pulsate: t, rippleX: n, rippleY: i, rippleSize: o, cb: s } = e;
425
+ l((e) => [...e, /* @__PURE__ */ E(K, {
426
+ classes: {
427
+ ripple: a(r.ripple, B.ripple),
428
+ rippleVisible: a(r.rippleVisible, B.rippleVisible),
429
+ ripplePulsate: a(r.ripplePulsate, B.ripplePulsate),
430
+ child: a(r.child, B.child),
431
+ childLeaving: a(r.childLeaving, B.childLeaving),
432
+ childPulsate: a(r.childPulsate, B.childPulsate)
433
+ },
434
+ timeout: V,
435
+ pulsate: t,
436
+ rippleX: n,
437
+ rippleY: i,
438
+ rippleSize: o
439
+ }, u.current)]), u.current += 1, d.current = s;
440
+ }, [r]), v = x.useCallback((e = {}, t = {}, r = () => {}) => {
441
+ let { pulsate: i = !1, center: a = n || t.pulsate, fakeElement: o = !1 } = t;
442
+ if (e?.type === "mousedown" && f.current) {
443
+ f.current = !1;
444
+ return;
445
+ }
446
+ e?.type === "touchstart" && (f.current = !0);
447
+ let s = o ? null : g.current, c = s ? s.getBoundingClientRect() : {
448
+ width: 0,
449
+ height: 0,
450
+ left: 0,
451
+ top: 0
452
+ }, l, u, d;
453
+ if (a || e === void 0 || e.clientX === 0 && e.clientY === 0 || !e.clientX && !e.touches) l = Math.round(c.width / 2), u = Math.round(c.height / 2);
454
+ else {
455
+ let { clientX: t, clientY: n } = e.touches && e.touches.length > 0 ? e.touches[0] : e;
456
+ l = Math.round(t - c.left), u = Math.round(n - c.top);
457
+ }
458
+ if (a) d = Math.sqrt((2 * c.width ** 2 + c.height ** 2) / 3), d % 2 == 0 && (d += 1);
459
+ else {
460
+ let e = Math.max(Math.abs((s ? s.clientWidth : 0) - l), l) * 2 + 2, t = Math.max(Math.abs((s ? s.clientHeight : 0) - u), u) * 2 + 2;
461
+ d = Math.sqrt(e ** 2 + t ** 2);
462
+ }
463
+ e?.touches ? m.current === null && (m.current = () => {
464
+ _({
465
+ pulsate: i,
466
+ rippleX: l,
467
+ rippleY: u,
468
+ rippleSize: d,
469
+ cb: r
470
+ });
471
+ }, p.start(80, () => {
472
+ m.current &&= (m.current(), null);
473
+ })) : _({
474
+ pulsate: i,
475
+ rippleX: l,
476
+ rippleY: u,
477
+ rippleSize: d,
478
+ cb: r
479
+ });
480
+ }, [
481
+ n,
482
+ _,
483
+ p
484
+ ]), y = x.useCallback(() => {
485
+ v({}, { pulsate: !0 });
486
+ }, [v]), b = x.useCallback((e, t) => {
487
+ if (p.clear(), e?.type === "touchend" && m.current) {
488
+ m.current(), m.current = null, p.start(0, () => {
489
+ b(e, t);
490
+ });
491
+ return;
492
+ }
493
+ m.current = null, l((e) => e.length > 0 ? e.slice(1) : e), d.current = t;
494
+ }, [p]);
495
+ return x.useImperativeHandle(t, () => ({
496
+ pulsate: y,
497
+ start: v,
498
+ stop: b
499
+ }), [
500
+ y,
501
+ v,
502
+ b
503
+ ]), /* @__PURE__ */ E(G, {
504
+ className: a(B.root, r.root, o),
505
+ ref: g,
506
+ ...s,
507
+ children: /* @__PURE__ */ E(R, {
508
+ component: null,
509
+ exit: !0,
510
+ children: c
511
+ })
512
+ });
513
+ });
514
+ process.env.NODE_ENV !== "production" && (q.propTypes = {
515
+ center: D.default.bool,
516
+ classes: D.default.object,
517
+ className: D.default.string
518
+ });
519
+ //#endregion
520
+ //#region ../../node_modules/@mui/material/ButtonBase/ButtonBase.mjs
521
+ var ae = (e) => {
522
+ let { disabled: t, focusVisible: n, focusVisibleClassName: i, suppressFocusVisible: a, classes: o } = e, s = r({ root: [
523
+ "root",
524
+ t && "disabled",
525
+ n && !a && "focusVisible"
526
+ ] }, y, o);
527
+ return n && !a && i && (s.root += ` ${i}`), s;
528
+ }, oe = s("button", {
529
+ name: "MuiButtonBase",
530
+ slot: "Root"
531
+ })({
532
+ display: "inline-flex",
533
+ alignItems: "center",
534
+ justifyContent: "center",
535
+ position: "relative",
536
+ boxSizing: "border-box",
537
+ WebkitTapHighlightColor: "transparent",
538
+ backgroundColor: "transparent",
539
+ outline: 0,
540
+ border: 0,
541
+ margin: 0,
542
+ borderRadius: 0,
543
+ padding: 0,
544
+ cursor: "pointer",
545
+ userSelect: "none",
546
+ verticalAlign: "middle",
547
+ MozAppearance: "none",
548
+ WebkitAppearance: "none",
549
+ textDecoration: "none",
550
+ color: "inherit",
551
+ "&::-moz-focus-inner": { borderStyle: "none" },
552
+ [`&.${b.disabled}`]: {
553
+ pointerEvents: "none",
554
+ cursor: "default"
555
+ },
556
+ "@media print": { colorAdjust: "exact" }
557
+ }), J = /* @__PURE__ */ x.forwardRef(function(e, t) {
558
+ let n = i({
559
+ props: e,
560
+ name: "MuiButtonBase"
561
+ }), { action: r, centerRipple: o = !1, children: s, className: c, component: l = "button", disabled: p = !1, disableRipple: m = !1, disableTouchRipple: h = !1, focusRipple: g = !1, focusVisibleClassName: _, focusableWhenDisabled: v, suppressFocusVisible: y = !1, internalNativeButton: b, LinkComponent: S = "a", nativeButton: C, onBlur: w, onClick: T, onContextMenu: D, onDragLeave: te, onFocus: O, onFocusVisible: k, onKeyDown: A, onKeyUp: j, onMouseDown: M, onMouseLeave: N, onMouseUp: P, onTouchEnd: F, onTouchMove: I, onTouchStart: ie, tabIndex: L = 0, TouchRippleProps: R, touchRippleRef: z, type: B, ...V } = n, H = !!(V.href || V.to), U = !!V.formAction, W = l;
562
+ W === "button" && H && (W = S);
563
+ let G = typeof W == "string" ? W === "button" : b ?? !1, K = C ?? G, J = re(), se = d(J.ref, z), [X, Z] = x.useState(!1);
564
+ (p || y) && X && Z(!1);
565
+ let ce = f((e) => {
566
+ g && !e.repeat && X && e.key === " " && J.stop(e, () => {
567
+ J.start(e);
568
+ });
569
+ }), le = f((e) => {
570
+ g && e.key === " " && X && !e.defaultPrevented && J.stop(e, () => {
571
+ J.pulsate(e);
572
+ });
573
+ }), { getButtonProps: ue, rootRef: Q } = ne({
574
+ nativeButton: K,
575
+ nativeButtonProp: C,
576
+ internalNativeButton: G,
577
+ allowInferredHostMismatch: H || typeof W == "string",
578
+ disabled: p,
579
+ type: B,
580
+ hasFormAction: U,
581
+ tabIndex: L,
582
+ onBeforeKeyDown: ce,
583
+ onBeforeKeyUp: le
584
+ }), { onClick: de, onKeyDown: fe, onKeyUp: pe, ...me } = ue({
585
+ onClick: T,
586
+ onKeyDown: A,
587
+ onKeyUp: j
588
+ });
589
+ x.useImperativeHandle(r, () => ({ focusVisible: () => {
590
+ Z(!0), Q.current.focus();
591
+ } }), [Q]);
592
+ let he = J.shouldMount && !m && !p;
593
+ x.useEffect(() => {
594
+ X && g && !m && J.pulsate();
595
+ }, [
596
+ m,
597
+ g,
598
+ X,
599
+ J
600
+ ]);
601
+ let ge = Y(J, "start", M, h), _e = Y(J, "stop", D, h), ve = Y(J, "stop", te, h), ye = Y(J, "stop", P, h), be = Y(J, "stop", (e) => {
602
+ X && e.preventDefault(), N && N(e);
603
+ }, h), xe = Y(J, "start", ie, h), Se = Y(J, "stop", F, h), Ce = Y(J, "stop", I, h), we = Y(J, "stop", (e) => {
604
+ u(e.target) || Z(!1), w && w(e);
605
+ }, !1), Te = f((e) => {
606
+ Q.current ||= e.currentTarget, !y && u(e.target) && (Z(!0), k && k(e)), O && O(e);
607
+ }), $ = {};
608
+ H && ($.tabIndex = p ? -1 : L, p && ($["aria-disabled"] = p), $.type = B);
609
+ let Ee = d(t, Q), De = {
610
+ ...n,
611
+ centerRipple: o,
612
+ component: l,
613
+ disabled: p,
614
+ disableRipple: m,
615
+ disableTouchRipple: h,
616
+ focusRipple: g,
617
+ suppressFocusVisible: y,
618
+ tabIndex: L,
619
+ focusVisible: X
620
+ }, Oe = ae(De);
621
+ return /* @__PURE__ */ ee(oe, {
622
+ as: W,
623
+ className: a(Oe.root, c),
624
+ ownerState: De,
625
+ onBlur: we,
626
+ onClick: de,
627
+ onContextMenu: _e,
628
+ onFocus: Te,
629
+ onKeyDown: fe,
630
+ onKeyUp: pe,
631
+ onMouseDown: ge,
632
+ onMouseLeave: be,
633
+ onMouseUp: ye,
634
+ onDragLeave: ve,
635
+ onTouchEnd: Se,
636
+ onTouchMove: Ce,
637
+ onTouchStart: xe,
638
+ ref: Ee,
639
+ ...H ? $ : me,
640
+ ...V,
641
+ children: [s, he ? /* @__PURE__ */ E(q, {
642
+ ref: se,
643
+ center: o,
644
+ ...R
645
+ }) : null]
646
+ });
647
+ });
648
+ function Y(e, t, n, r = !1) {
649
+ return f((i) => (n && n(i), r || e[t](i), !0));
650
+ }
651
+ process.env.NODE_ENV !== "production" && (J.propTypes = {
652
+ action: c,
653
+ centerRipple: D.default.bool,
654
+ children: D.default.node,
655
+ classes: D.default.object,
656
+ className: D.default.string,
657
+ component: l,
658
+ disabled: D.default.bool,
659
+ disableRipple: D.default.bool,
660
+ disableTouchRipple: D.default.bool,
661
+ focusRipple: D.default.bool,
662
+ focusVisibleClassName: D.default.string,
663
+ formAction: D.default.oneOfType([D.default.func, D.default.string]),
664
+ href: D.default.any,
665
+ LinkComponent: D.default.elementType,
666
+ nativeButton: D.default.bool,
667
+ onBlur: D.default.func,
668
+ onClick: D.default.func,
669
+ onContextMenu: D.default.func,
670
+ onDragLeave: D.default.func,
671
+ onFocus: D.default.func,
672
+ onFocusVisible: D.default.func,
673
+ onKeyDown: D.default.func,
674
+ onKeyUp: D.default.func,
675
+ onMouseDown: D.default.func,
676
+ onMouseLeave: D.default.func,
677
+ onMouseUp: D.default.func,
678
+ onTouchEnd: D.default.func,
679
+ onTouchMove: D.default.func,
680
+ onTouchStart: D.default.func,
681
+ sx: D.default.oneOfType([
682
+ D.default.arrayOf(D.default.oneOfType([
683
+ D.default.func,
684
+ D.default.object,
685
+ D.default.bool
686
+ ])),
687
+ D.default.func,
688
+ D.default.object
689
+ ]),
690
+ tabIndex: D.default.number,
691
+ TouchRippleProps: D.default.object,
692
+ touchRippleRef: D.default.oneOfType([D.default.func, D.default.shape({ current: D.default.shape({
693
+ pulsate: D.default.func.isRequired,
694
+ start: D.default.func.isRequired,
695
+ stop: D.default.func.isRequired
696
+ }) })]),
697
+ type: D.default.string
698
+ });
699
+ //#endregion
700
+ export { R as n, J as t };