@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
@@ -1,47 +1,47 @@
1
1
  import { isValidCanvasColor as e, resolveCanvasColor as t } from "../utils/canvas-color.js";
2
- import * as n from "react";
3
- import { jsx as r } from "react/jsx-runtime";
4
- import { styled as i, useColorScheme as a, useMediaQuery as o, useTheme as s, useThemeProps as c } from "@mui/material";
5
- import { useForkRef as l } from "@mui/material/utils";
2
+ import { t as n } from "../useForkRef-BuNFTXxE.js";
3
+ import * as r from "react";
4
+ import { jsx as i } from "react/jsx-runtime";
5
+ import { styled as a, useColorScheme as o, useMediaQuery as s, useTheme as c, useThemeProps as l } from "@mui/material";
6
6
  //#region lib/s-spotlight-cursor/s-spotlight-cursor.tsx
7
- var u = 200, d = .15, f = .1, p = .01, m = ({ brightness: r, color: i, colorScheme: a, followSpeed: o, radius: s, reducedMotion: c, theme: l }) => {
8
- let u = n.useRef(null);
9
- return n.useEffect(() => {
10
- let n = u.current;
11
- if (!n) return;
12
- let a = n.getContext("2d");
7
+ var u = 200, d = .15, f = .1, p = .01, m = ({ brightness: n, color: i, colorScheme: a, followSpeed: o, radius: s, reducedMotion: c, theme: l }) => {
8
+ let u = r.useRef(null);
9
+ return r.useEffect(() => {
10
+ let r = u.current;
11
+ if (!r) return;
12
+ let a = r.getContext("2d");
13
13
  if (!a) return;
14
- let d = null, f = 0, p = 0, m = null, h = null, g = null, _ = null, v = n.parentElement ?? n, y = (l.vars ?? l).palette.primary.main, b = t(i, n, l), x = t(y, n), S = e(a, b) ? b : e(a, x) ? x : "#000000", C = () => {
14
+ let d = null, f = 0, p = 0, m = null, h = null, g = null, _ = null, v = r.parentElement ?? r, y = (l.vars ?? l).palette.primary.main, b = t(i, r, l), x = t(y, r), S = e(a, b) ? b : e(a, x) ? x : "#000000", C = () => {
15
15
  if (d = null, a.clearRect(0, 0, f, p), m == null || h == null) return;
16
16
  g == null || _ == null || c ? (g = m, _ = h) : (g += (m - g) * o, _ += (h - _) * o);
17
17
  let e = a.createRadialGradient(g, _, 0, g, _, s);
18
- e.addColorStop(0, S), e.addColorStop(1, "transparent"), a.save(), a.globalAlpha = r, a.fillStyle = e, a.fillRect(0, 0, f, p), a.restore();
19
- let t = Math.abs(m - g), n = Math.abs(h - _);
20
- !c && (t > .1 || n > .1) && (d = requestAnimationFrame(C));
18
+ e.addColorStop(0, S), e.addColorStop(1, "transparent"), a.save(), a.globalAlpha = n, a.fillStyle = e, a.fillRect(0, 0, f, p), a.restore();
19
+ let t = Math.abs(m - g), r = Math.abs(h - _);
20
+ !c && (t > .1 || r > .1) && (d = requestAnimationFrame(C));
21
21
  }, w = () => {
22
22
  d ??= requestAnimationFrame(C);
23
23
  }, T = () => {
24
- let e = n.getBoundingClientRect();
24
+ let e = r.getBoundingClientRect();
25
25
  if (e.width === 0 || e.height === 0) return;
26
26
  let t = window.devicePixelRatio || 1;
27
- f = e.width, p = e.height, n.width = Math.max(1, Math.round(f * t)), n.height = Math.max(1, Math.round(p * t)), a.setTransform(t, 0, 0, t, 0, 0), w();
27
+ f = e.width, p = e.height, r.width = Math.max(1, Math.round(f * t)), r.height = Math.max(1, Math.round(p * t)), a.setTransform(t, 0, 0, t, 0, 0), w();
28
28
  }, E = (e) => {
29
- let t = n.getBoundingClientRect(), r = e.clientX - t.left, i = e.clientY - t.top;
30
- if (r < 0 || r > t.width || i < 0 || i > t.height) {
29
+ let t = r.getBoundingClientRect(), n = e.clientX - t.left, i = e.clientY - t.top;
30
+ if (n < 0 || n > t.width || i < 0 || i > t.height) {
31
31
  m = null, h = null, g = null, _ = null, w();
32
32
  return;
33
33
  }
34
- m = r, h = i, g ??= r, _ ??= i, w();
34
+ m = n, h = i, g ??= n, _ ??= i, w();
35
35
  }, D = () => {
36
36
  m = null, h = null, g = null, _ = null, w();
37
37
  };
38
38
  T();
39
39
  let O = new ResizeObserver(T);
40
- return O.observe(n), v.addEventListener("pointermove", E, { passive: !0 }), v.addEventListener("pointerleave", D), () => {
40
+ return O.observe(r), v.addEventListener("pointermove", E, { passive: !0 }), v.addEventListener("pointerleave", D), () => {
41
41
  O.disconnect(), v.removeEventListener("pointermove", E), v.removeEventListener("pointerleave", D), d != null && cancelAnimationFrame(d);
42
42
  };
43
43
  }, [
44
- r,
44
+ n,
45
45
  i,
46
46
  a,
47
47
  o,
@@ -49,7 +49,7 @@ var u = 200, d = .15, f = .1, p = .01, m = ({ brightness: r, color: i, colorSche
49
49
  c,
50
50
  l
51
51
  ]), u;
52
- }, h = i("canvas", {
52
+ }, h = a("canvas", {
53
53
  name: "SSpotlightCursor",
54
54
  slot: "Root"
55
55
  })({
@@ -60,18 +60,18 @@ var u = 200, d = .15, f = .1, p = .01, m = ({ brightness: r, color: i, colorSche
60
60
  zIndex: 0,
61
61
  width: "100%",
62
62
  height: "100%"
63
- }), g = n.forwardRef(function(e, t) {
64
- let n = c({
63
+ }), g = r.forwardRef(function(e, t) {
64
+ let r = l({
65
65
  props: e,
66
66
  name: "SSpotlightCursor"
67
- }), i = s(), { mode: g, systemMode: _ } = a(), { brightness: v = d, color: y = "primary", followSpeed: b = f, radius: x = u, ...S } = n, C = Number.isFinite(v) ? Math.min(1, Math.max(0, v)) : d, w = Number.isFinite(b) ? Math.min(1, Math.max(p, b)) : f, T = Number.isFinite(x) && x > 0 ? x : u, E = o("(prefers-reduced-motion: reduce)", { noSsr: !0 }), D = l(m({
67
+ }), a = c(), { mode: g, systemMode: _ } = o(), { brightness: v = d, color: y = "primary", followSpeed: b = f, radius: x = u, ...S } = r, C = Number.isFinite(v) ? Math.min(1, Math.max(0, v)) : d, w = Number.isFinite(b) ? Math.min(1, Math.max(p, b)) : f, T = Number.isFinite(x) && x > 0 ? x : u, E = s("(prefers-reduced-motion: reduce)", { noSsr: !0 }), D = n(m({
68
68
  brightness: C,
69
69
  color: y,
70
70
  colorScheme: g === "system" ? _ : g,
71
71
  followSpeed: w,
72
72
  radius: T,
73
73
  reducedMotion: E,
74
- theme: i
74
+ theme: a
75
75
  }), t), O = {
76
76
  brightness: C,
77
77
  color: y,
@@ -79,7 +79,7 @@ var u = 200, d = .15, f = .1, p = .01, m = ({ brightness: r, color: i, colorSche
79
79
  radius: T,
80
80
  reducedMotion: E
81
81
  };
82
- return /* @__PURE__ */ r(h, {
82
+ return /* @__PURE__ */ i(h, {
83
83
  ...S,
84
84
  "aria-hidden": "true",
85
85
  ownerState: O,
@@ -1,9 +1,9 @@
1
1
  import { toSxArray as e } from "../utils/sx.js";
2
- import { SLazyImage as t } from "../s-lazy-image/s-lazy-image.js";
3
- import * as n from "react";
4
- import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
5
- import { Box as o, Container as s, Stack as c, SvgIcon as l, Typography as u, styled as d, useThemeProps as f } from "@mui/material";
6
- import p from "@mui/utils/appendOwnerState";
2
+ import { t } from "../appendOwnerState-CFQTq3pb.js";
3
+ import { SLazyImage as n } from "../s-lazy-image/s-lazy-image.js";
4
+ import * as r from "react";
5
+ import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
6
+ import { Box as s, Container as c, Stack as l, SvgIcon as u, Typography as d, styled as f, useThemeProps as p } from "@mui/material";
7
7
  //#region lib/s-status-illustration/s-status-illustration.tsx
8
8
  var m = (e) => {
9
9
  let t = (e.vars ?? e).palette;
@@ -65,35 +65,35 @@ var m = (e) => {
65
65
  };
66
66
  };
67
67
  function h() {
68
- return /* @__PURE__ */ i(r, { children: /* @__PURE__ */ a("g", {
68
+ return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o("g", {
69
69
  transform: "translate(-5.5 -4)",
70
70
  children: [
71
- /* @__PURE__ */ i("path", {
71
+ /* @__PURE__ */ a("path", {
72
72
  className: "SStatusIllustration-surface SStatusIllustration-outline",
73
73
  d: "M116 72H148L160 84H176C187 84 196 93 196 104V128C196 139 187 148 176 148H116C105 148 96 139 96 128V92C96 81 105 72 116 72Z",
74
74
  strokeLinejoin: "round",
75
75
  strokeWidth: "4"
76
76
  }),
77
- /* @__PURE__ */ i("circle", {
77
+ /* @__PURE__ */ a("circle", {
78
78
  className: "SStatusIllustration-accent",
79
79
  cx: "176",
80
80
  cy: "120",
81
81
  r: "8"
82
82
  }),
83
- /* @__PURE__ */ i("circle", {
83
+ /* @__PURE__ */ a("circle", {
84
84
  className: "SStatusIllustration-surface SStatusIllustration-outline",
85
85
  cx: "100",
86
86
  cy: "72",
87
87
  r: "32",
88
88
  strokeWidth: "4"
89
89
  }),
90
- /* @__PURE__ */ i("path", {
90
+ /* @__PURE__ */ a("path", {
91
91
  className: "SStatusIllustration-outline",
92
92
  d: "M77.3726 94.6274L60 112",
93
93
  strokeLinecap: "round",
94
94
  strokeWidth: "14"
95
95
  }),
96
- /* @__PURE__ */ i("path", {
96
+ /* @__PURE__ */ a("path", {
97
97
  className: "SStatusIllustration-surfaceStroke",
98
98
  d: "M77.3726 94.6274L60 112",
99
99
  fill: "none",
@@ -104,10 +104,10 @@ function h() {
104
104
  }) });
105
105
  }
106
106
  function g() {
107
- return /* @__PURE__ */ i(r, { children: /* @__PURE__ */ a("g", {
107
+ return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o("g", {
108
108
  transform: "translate(120 90) scale(1.1428571429) translate(-120 -80)",
109
109
  children: [
110
- /* @__PURE__ */ i("path", {
110
+ /* @__PURE__ */ a("path", {
111
111
  className: "SStatusIllustration-outline",
112
112
  d: "M72 96A48 48 0 0 1 168 96M52 96H96M144 96H188M52 112H96M144 112H188",
113
113
  fill: "none",
@@ -115,14 +115,14 @@ function g() {
115
115
  strokeLinejoin: "round",
116
116
  strokeWidth: "4"
117
117
  }),
118
- /* @__PURE__ */ i("circle", {
118
+ /* @__PURE__ */ a("circle", {
119
119
  className: "SStatusIllustration-surface SStatusIllustration-outline",
120
120
  cx: "120",
121
121
  cy: "88",
122
122
  r: "7",
123
123
  strokeWidth: "4"
124
124
  }),
125
- /* @__PURE__ */ i("path", {
125
+ /* @__PURE__ */ a("path", {
126
126
  className: "SStatusIllustration-accent SStatusIllustration-accentStroke",
127
127
  d: "M96 112H144",
128
128
  strokeLinecap: "round",
@@ -132,10 +132,10 @@ function g() {
132
132
  }) });
133
133
  }
134
134
  function _() {
135
- return /* @__PURE__ */ i(r, { children: /* @__PURE__ */ a("g", {
135
+ return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o("g", {
136
136
  transform: "translate(-4 -8)",
137
137
  children: [
138
- /* @__PURE__ */ i("path", {
138
+ /* @__PURE__ */ a("path", {
139
139
  className: "SStatusIllustration-outline",
140
140
  d: "M64 122H56V58C56 49.2 63.2 42 72 42H152V72",
141
141
  fill: "none",
@@ -143,7 +143,7 @@ function _() {
143
143
  strokeLinejoin: "round",
144
144
  strokeWidth: "4"
145
145
  }),
146
- /* @__PURE__ */ i("rect", {
146
+ /* @__PURE__ */ a("rect", {
147
147
  className: "SStatusIllustration-surface SStatusIllustration-outline",
148
148
  x: "80",
149
149
  y: "66",
@@ -152,7 +152,7 @@ function _() {
152
152
  rx: "16",
153
153
  strokeWidth: "4"
154
154
  }),
155
- /* @__PURE__ */ i("path", {
155
+ /* @__PURE__ */ a("path", {
156
156
  className: "SStatusIllustration-outline",
157
157
  d: "M112 138V154H160V138",
158
158
  fill: "none",
@@ -160,7 +160,7 @@ function _() {
160
160
  strokeLinejoin: "round",
161
161
  strokeWidth: "4"
162
162
  }),
163
- /* @__PURE__ */ i("circle", {
163
+ /* @__PURE__ */ a("circle", {
164
164
  className: "SStatusIllustration-error",
165
165
  cx: "136",
166
166
  cy: "102",
@@ -170,21 +170,21 @@ function _() {
170
170
  }) });
171
171
  }
172
172
  function v() {
173
- return /* @__PURE__ */ i(r, { children: /* @__PURE__ */ a("g", {
173
+ return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o("g", {
174
174
  transform: "translate(-12 -2)",
175
175
  children: [
176
- /* @__PURE__ */ i("path", {
176
+ /* @__PURE__ */ a("path", {
177
177
  className: "SStatusIllustration-surface SStatusIllustration-outline",
178
178
  d: "M88 34H136L168 66V126C168 139.3 157.3 150 144 150H88C74.7 150 64 139.3 64 126V58C64 44.7 74.7 34 88 34Z",
179
179
  strokeWidth: "4"
180
180
  }),
181
- /* @__PURE__ */ i("path", {
181
+ /* @__PURE__ */ a("path", {
182
182
  className: "SStatusIllustration-accentSoft SStatusIllustration-outline",
183
183
  d: "M136 34V66H168L136 34Z",
184
184
  strokeLinejoin: "round",
185
185
  strokeWidth: "4"
186
186
  }),
187
- /* @__PURE__ */ i("rect", {
187
+ /* @__PURE__ */ a("rect", {
188
188
  className: "SStatusIllustration-surface SStatusIllustration-outline",
189
189
  x: "104",
190
190
  y: "78",
@@ -193,7 +193,7 @@ function v() {
193
193
  rx: "18",
194
194
  strokeWidth: "4"
195
195
  }),
196
- /* @__PURE__ */ i("circle", {
196
+ /* @__PURE__ */ a("circle", {
197
197
  className: "SStatusIllustration-error",
198
198
  cx: "152",
199
199
  cy: "106",
@@ -203,37 +203,37 @@ function v() {
203
203
  }) });
204
204
  }
205
205
  function y() {
206
- return /* @__PURE__ */ i(r, { children: /* @__PURE__ */ a("g", {
206
+ return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o("g", {
207
207
  transform: "translate(6 -4)",
208
208
  children: [
209
- /* @__PURE__ */ i("path", {
209
+ /* @__PURE__ */ a("path", {
210
210
  className: "SStatusIllustration-surface SStatusIllustration-outline",
211
211
  d: "M104 36C91.2 46.7 76.8 50.7 56 52V88C56 120 74.7 140 104 152C133.3 140 152 120 152 88V52C131.2 50.7 116.8 46.7 104 36Z",
212
212
  strokeLinejoin: "round",
213
213
  strokeWidth: "4"
214
214
  }),
215
- /* @__PURE__ */ i("path", {
215
+ /* @__PURE__ */ a("path", {
216
216
  className: "SStatusIllustration-detail",
217
217
  d: "M104 64V140",
218
218
  fill: "none",
219
219
  strokeLinecap: "round",
220
220
  strokeWidth: "4"
221
221
  }),
222
- /* @__PURE__ */ i("circle", {
222
+ /* @__PURE__ */ a("circle", {
223
223
  className: "SStatusIllustration-surface SStatusIllustration-outline",
224
224
  cx: "104",
225
225
  cy: "58",
226
226
  r: "6",
227
227
  strokeWidth: "4"
228
228
  }),
229
- /* @__PURE__ */ i("path", {
229
+ /* @__PURE__ */ a("path", {
230
230
  className: "SStatusIllustration-outline",
231
231
  d: "M136 98V88A12 16 0 0 1 160 88V98",
232
232
  fill: "none",
233
233
  strokeLinecap: "round",
234
234
  strokeWidth: "4"
235
235
  }),
236
- /* @__PURE__ */ i("rect", {
236
+ /* @__PURE__ */ a("rect", {
237
237
  className: "SStatusIllustration-surface SStatusIllustration-outline",
238
238
  x: "124",
239
239
  y: "96",
@@ -242,13 +242,13 @@ function y() {
242
242
  rx: "10",
243
243
  strokeWidth: "4"
244
244
  }),
245
- /* @__PURE__ */ i("circle", {
245
+ /* @__PURE__ */ a("circle", {
246
246
  className: "SStatusIllustration-accent",
247
247
  cx: "148",
248
248
  cy: "116",
249
249
  r: "5"
250
250
  }),
251
- /* @__PURE__ */ i("path", {
251
+ /* @__PURE__ */ a("path", {
252
252
  className: "SStatusIllustration-accent SStatusIllustration-accentStroke",
253
253
  d: "M148 120V130",
254
254
  strokeLinecap: "round",
@@ -258,33 +258,33 @@ function y() {
258
258
  }) });
259
259
  }
260
260
  function b() {
261
- return /* @__PURE__ */ i(r, { children: /* @__PURE__ */ a("g", {
261
+ return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o("g", {
262
262
  transform: "translate(0 -5)",
263
- children: [/* @__PURE__ */ i("path", {
263
+ children: [/* @__PURE__ */ a("path", {
264
264
  className: "SStatusIllustration-outline",
265
265
  d: "M72 120C54.3 120 40 105.7 40 88C40 70.3 54.3 56 72 56C78.1 56 83.8 57.7 88.6 60.7C96.1 47.3 110.5 38.2 127 38.2C149.8 38.2 168.5 55.5 170.8 77.7C187.4 78.6 200.6 92.3 200.6 109.2C200.6 113 199.9 116.6 198.7 120",
266
266
  fill: "none",
267
267
  strokeLinecap: "round",
268
268
  strokeLinejoin: "round",
269
269
  strokeWidth: "4"
270
- }), /* @__PURE__ */ a("g", {
270
+ }), /* @__PURE__ */ o("g", {
271
271
  transform: "translate(-12)",
272
272
  children: [
273
- /* @__PURE__ */ i("circle", {
273
+ /* @__PURE__ */ a("circle", {
274
274
  className: "SStatusIllustration-error",
275
275
  cx: "88",
276
276
  cy: "120",
277
277
  r: "12",
278
278
  stroke: "none"
279
279
  }),
280
- /* @__PURE__ */ i("path", {
280
+ /* @__PURE__ */ a("path", {
281
281
  className: "SStatusIllustration-outline",
282
282
  d: "M108 125L156 137",
283
283
  fill: "none",
284
284
  strokeLinecap: "round",
285
285
  strokeWidth: "4"
286
286
  }),
287
- /* @__PURE__ */ i("circle", {
287
+ /* @__PURE__ */ a("circle", {
288
288
  className: "SStatusIllustration-warning",
289
289
  cx: "176",
290
290
  cy: "142",
@@ -296,22 +296,22 @@ function b() {
296
296
  }) });
297
297
  }
298
298
  function x() {
299
- return /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a("g", {
299
+ return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ o("g", {
300
300
  transform: "translate(120 90) rotate(45)",
301
- children: [/* @__PURE__ */ i("path", {
301
+ children: [/* @__PURE__ */ a("path", {
302
302
  className: "SStatusIllustration-accent SStatusIllustration-accentStroke",
303
303
  d: "M-68 0H-22",
304
304
  strokeLinecap: "round",
305
305
  strokeWidth: "14"
306
- }), /* @__PURE__ */ i("path", {
306
+ }), /* @__PURE__ */ a("path", {
307
307
  className: "SStatusIllustration-orange SStatusIllustration-orangeStroke",
308
308
  d: "M22 0H68",
309
309
  strokeLinecap: "round",
310
310
  strokeWidth: "14"
311
311
  })]
312
- }), /* @__PURE__ */ i("g", {
312
+ }), /* @__PURE__ */ a("g", {
313
313
  transform: "translate(120 90) rotate(-45)",
314
- children: /* @__PURE__ */ i("path", {
314
+ children: /* @__PURE__ */ a("path", {
315
315
  className: "SStatusIllustration-surface SStatusIllustration-outline",
316
316
  d: "M-28,-7H28C32,-7 32,-20 42,-20A20,20 0 0 1 59.3205,-10L52,-5.5Q44,0 52,5.5L59.3205,10A20,20 0 0 1 42,20C32,20 32,7 28,7H-28C-32,7-32,20-42,20A20,20 0 0 1-59.3205,10L-52,5.5Q-44,0-52,-5.5L-59.3205,-10A20,20 0 0 1-42,-20C-32,-20-32,-7-28,-7Z",
317
317
  strokeLinecap: "round",
@@ -321,16 +321,16 @@ function x() {
321
321
  })] });
322
322
  }
323
323
  var S = {
324
- accessDenied: /* @__PURE__ */ i(y, {}),
325
- error: /* @__PURE__ */ i(v, {}),
326
- error404: /* @__PURE__ */ i(g, {}),
327
- itemNotFound: /* @__PURE__ */ i(h, {}),
328
- maintenance: /* @__PURE__ */ i(x, {}),
329
- offline: /* @__PURE__ */ i(b, {}),
330
- somethingWentWrong: /* @__PURE__ */ i(_, {})
331
- }, C = d(l, { shouldForwardProp: (e) => e !== "ownerState" })({}), w = n.forwardRef(function(t, n) {
332
- let { children: r, sx: a, variant: o, ...s } = t, c = o === "custom" ? r : S[o];
333
- return /* @__PURE__ */ i(C, {
324
+ accessDenied: /* @__PURE__ */ a(y, {}),
325
+ error: /* @__PURE__ */ a(v, {}),
326
+ error404: /* @__PURE__ */ a(g, {}),
327
+ itemNotFound: /* @__PURE__ */ a(h, {}),
328
+ maintenance: /* @__PURE__ */ a(x, {}),
329
+ offline: /* @__PURE__ */ a(b, {}),
330
+ somethingWentWrong: /* @__PURE__ */ a(_, {})
331
+ }, C = f(u, { shouldForwardProp: (e) => e !== "ownerState" })({}), w = r.forwardRef(function(t, n) {
332
+ let { children: r, sx: i, variant: o, ...s } = t, c = o === "custom" ? r : S[o];
333
+ return /* @__PURE__ */ a(C, {
334
334
  fill: "none",
335
335
  focusable: "false",
336
336
  shapeRendering: "geometricPrecision",
@@ -338,10 +338,10 @@ var S = {
338
338
  ...s,
339
339
  "data-variant": o,
340
340
  ref: n,
341
- sx: [m, ...e(a)],
341
+ sx: [m, ...e(i)],
342
342
  children: c
343
343
  });
344
- }), T = d(o, {
344
+ }), T = f(s, {
345
345
  name: "SStatusIllustration",
346
346
  slot: "Root",
347
347
  shouldForwardProp: (e) => e !== "ownerState"
@@ -349,19 +349,19 @@ var S = {
349
349
  function E(e, t) {
350
350
  return typeof e == "function" ? e(t) : e;
351
351
  }
352
- var D = n.forwardRef(function(n, r) {
353
- let { action: l, children: d, description: m, hideIllustration: h = !1, imageAlt: g = "", imageSrc: _, slotProps: v, slots: y, sx: b, title: x, variant: S = "itemNotFound", ...C } = f({
354
- props: n,
352
+ var D = r.forwardRef(function(r, i) {
353
+ let { action: u, children: f, description: m, hideIllustration: h = !1, imageAlt: g = "", imageSrc: _, slotProps: v, slots: y, sx: b, title: x, variant: S = "itemNotFound", ...C } = p({
354
+ props: r,
355
355
  name: "SStatusIllustration"
356
356
  }), D = {
357
- hasAction: l != null,
357
+ hasAction: u != null,
358
358
  hasImage: !h && !!(_ || S),
359
359
  variant: S
360
- }, O = y?.container ?? s, k = y?.stack ?? c, A = y?.imageContainer ?? o, j = y?.image ?? t, M = y?.illustration, N = y?.content ?? c, P = y?.title ?? u, F = y?.description ?? u, I = y?.action ?? o, L = p(y?.container, E(v?.container, D) ?? {}, D), R = p(y?.stack, E(v?.stack, D) ?? {}, D), z = p(y?.imageContainer, E(v?.imageContainer, D) ?? {}, D), B = p(y?.illustration, E(v?.illustration, D) ?? {}, D), V = p(y?.image, E(v?.image, D) ?? {}, D), H = p(y?.content, E(v?.content, D) ?? {}, D), U = p(y?.title, E(v?.title, D) ?? {}, D), W = p(y?.description, E(v?.description, D) ?? {}, D), G = p(y?.action, E(v?.action, D) ?? {}, D), { sx: K, ...q } = z, { sx: J, ...Y } = H, { sx: X, ...Z } = W, { sx: Q, ...$ } = G;
361
- return /* @__PURE__ */ i(T, {
360
+ }, O = y?.container ?? c, k = y?.stack ?? l, A = y?.imageContainer ?? s, j = y?.image ?? n, M = y?.illustration, N = y?.content ?? l, P = y?.title ?? d, F = y?.description ?? d, I = y?.action ?? s, L = t(y?.container, E(v?.container, D) ?? {}, D), R = t(y?.stack, E(v?.stack, D) ?? {}, D), z = t(y?.imageContainer, E(v?.imageContainer, D) ?? {}, D), B = t(y?.illustration, E(v?.illustration, D) ?? {}, D), V = t(y?.image, E(v?.image, D) ?? {}, D), H = t(y?.content, E(v?.content, D) ?? {}, D), U = t(y?.title, E(v?.title, D) ?? {}, D), W = t(y?.description, E(v?.description, D) ?? {}, D), G = t(y?.action, E(v?.action, D) ?? {}, D), { sx: K, ...q } = z, { sx: J, ...Y } = H, { sx: X, ...Z } = W, { sx: Q, ...$ } = G;
361
+ return /* @__PURE__ */ a(T, {
362
362
  ...C,
363
363
  ownerState: D,
364
- ref: r,
364
+ ref: i,
365
365
  sx: [{
366
366
  alignItems: "center",
367
367
  boxSizing: "border-box",
@@ -371,53 +371,53 @@ var D = n.forwardRef(function(n, r) {
371
371
  minHeight: "100dvh",
372
372
  py: 8
373
373
  }, ...e(b)],
374
- children: /* @__PURE__ */ i(O, {
374
+ children: /* @__PURE__ */ a(O, {
375
375
  maxWidth: "sm",
376
376
  ...L,
377
- children: /* @__PURE__ */ a(k, {
377
+ children: /* @__PURE__ */ o(k, {
378
378
  spacing: 4,
379
379
  ...R,
380
380
  children: [
381
- !h && (M || _ || S) ? /* @__PURE__ */ i(A, {
381
+ !h && (M || _ || S) ? /* @__PURE__ */ a(A, {
382
382
  ...q,
383
383
  sx: [{
384
384
  display: "flex",
385
385
  justifyContent: "center"
386
386
  }, ...e(K)],
387
- children: M ? /* @__PURE__ */ i(M, { ...B }) : _ ? /* @__PURE__ */ i(j, {
387
+ children: M ? /* @__PURE__ */ a(M, { ...B }) : _ ? /* @__PURE__ */ a(j, {
388
388
  alt: g,
389
389
  height: "auto",
390
390
  src: _,
391
391
  width: 200,
392
392
  ...V
393
- }) : /* @__PURE__ */ i(w, {
393
+ }) : /* @__PURE__ */ a(w, {
394
394
  ...B,
395
395
  variant: S,
396
- children: d
396
+ children: f
397
397
  })
398
398
  }) : null,
399
- /* @__PURE__ */ a(N, {
399
+ /* @__PURE__ */ o(N, {
400
400
  spacing: 1,
401
401
  ...Y,
402
402
  sx: [{ textAlign: "center" }, ...e(J)],
403
- children: [/* @__PURE__ */ i(P, {
403
+ children: [/* @__PURE__ */ a(P, {
404
404
  variant: "h4",
405
405
  ...U,
406
406
  children: x
407
- }), /* @__PURE__ */ i(F, {
407
+ }), /* @__PURE__ */ a(F, {
408
408
  variant: "body1",
409
409
  ...Z,
410
410
  sx: [{ color: "text.secondary" }, ...e(X)],
411
411
  children: m
412
412
  })]
413
413
  }),
414
- l == null ? null : /* @__PURE__ */ i(I, {
414
+ u == null ? null : /* @__PURE__ */ a(I, {
415
415
  ...$,
416
416
  sx: [{
417
417
  display: "flex",
418
418
  justifyContent: "center"
419
419
  }, ...e(Q)],
420
- children: l
420
+ children: u
421
421
  })
422
422
  ]
423
423
  })
@@ -0,0 +1,3 @@
1
+ export { default, default as SStepper } from './s-stepper';
2
+ export type { SStepperOwnProps, SStepperOwnerState, SStepperProps, SStepperSlotProps, SStepperSlots, SStepperStep, SStepperStepState, SStepperTypeMap, } from './s-stepper';
3
+ export type {} from '../theme/component-augmentation';
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../s-stepper-BtODHVro.js";
2
+ export { e as SStepper, e as default };
@@ -0,0 +1,90 @@
1
+ import { OverridableComponent, OverrideProps } from '@mui/material/OverridableComponent';
2
+ import { StepProps } from '@mui/material/Step';
3
+ import { StepConnectorProps } from '@mui/material/StepConnector';
4
+ import { StepIconProps } from '@mui/material/StepIcon';
5
+ import { StepLabelProps } from '@mui/material/StepLabel';
6
+ import { StepperOwnProps, StepperProps } from '@mui/material/Stepper';
7
+ import { OwnerStateSlotProps as MuiOwnerStateSlotProps } from '../utils/slots';
8
+ import * as React from 'react';
9
+ /** A single step in the progress indicator. */
10
+ export interface SStepperStep {
11
+ /** Marks the step as done regardless of its position. Linear steppers complete preceding steps by default. */
12
+ completed?: boolean;
13
+ /** Secondary inline text rendered under the label. */
14
+ description?: number | string;
15
+ /** Passes the disabled state to MUI Step and dims its label and icon. */
16
+ disabled?: boolean;
17
+ /** Replaces the default step icon. */
18
+ icon?: React.ReactNode;
19
+ /** Unique step key. */
20
+ key: string;
21
+ /** Visible step label. */
22
+ label: React.ReactNode;
23
+ }
24
+ /** Props owned by the reusable step/progress indicator. */
25
+ export interface SStepperOwnProps extends Omit<StepperOwnProps, 'children' | 'connector' | 'elevation' | 'square' | 'variant'> {
26
+ /**
27
+ * Zero-based index of the active step.
28
+ *
29
+ * Use `-1` to disable every step without an explicit override in linear
30
+ * mode. In non-linear mode, `-1` leaves every step inactive and preserves
31
+ * explicit per-step states.
32
+ * @default 0
33
+ */
34
+ activeStep?: number;
35
+ /**
36
+ * Places labels below their icons in horizontal orientation.
37
+ *
38
+ * MUI does not support alternative labels for vertical steppers, so this
39
+ * prop is ignored when `orientation="vertical"`.
40
+ * @default false
41
+ */
42
+ alternativeLabel?: boolean;
43
+ /** Steps rendered in order. */
44
+ steps: SStepperStep[];
45
+ /** Components used for internal structural slots. */
46
+ slots?: SStepperSlots;
47
+ /** Props or step-state callbacks for internal structural slots. */
48
+ slotProps?: SStepperSlotProps;
49
+ }
50
+ export interface SStepperTypeMap<AdditionalProps = object, RootComponent extends React.ElementType = 'ol'> {
51
+ props: AdditionalProps & SStepperOwnProps;
52
+ defaultComponent: RootComponent;
53
+ }
54
+ export type SStepperProps<RootComponent extends React.ElementType = SStepperTypeMap['defaultComponent'], AdditionalProps = object> = OverrideProps<SStepperTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
55
+ component?: React.ElementType;
56
+ };
57
+ export interface SStepperOwnerState extends Omit<SStepperOwnProps, 'slotProps' | 'slots'> {
58
+ activeStep: number;
59
+ alternativeLabel: boolean;
60
+ component?: React.ElementType;
61
+ nonLinear: boolean;
62
+ orientation: NonNullable<StepperProps['orientation']>;
63
+ }
64
+ export interface SStepperStepState extends SStepperOwnerState {
65
+ active: boolean;
66
+ completed: boolean;
67
+ disabled: boolean;
68
+ index: number;
69
+ step: SStepperStep;
70
+ }
71
+ type RootSlotProps<Props> = MuiOwnerStateSlotProps<Props, SStepperOwnerState>;
72
+ type StepSlotProps<Props> = MuiOwnerStateSlotProps<Props, SStepperStepState>;
73
+ export interface SStepperSlots {
74
+ connector?: React.ElementType;
75
+ icon?: React.ElementType;
76
+ label?: React.ElementType;
77
+ root?: React.ElementType;
78
+ step?: React.ElementType;
79
+ }
80
+ export interface SStepperSlotProps {
81
+ connector?: RootSlotProps<StepConnectorProps>;
82
+ icon?: StepSlotProps<Partial<StepIconProps>>;
83
+ label?: StepSlotProps<Omit<StepLabelProps, 'children' | 'icon' | 'optional'>>;
84
+ root?: RootSlotProps<Omit<StepperProps, 'children' | 'connector' | 'elevation' | 'square' | 'variant'>>;
85
+ step?: StepSlotProps<Omit<StepProps, 'active' | 'children' | 'completed' | 'disabled'>>;
86
+ }
87
+ export declare const SStepper: OverridableComponent<SStepperTypeMap<object, "ol">> & {
88
+ displayName: string;
89
+ };
90
+ export default SStepper;
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../s-stepper-BtODHVro.js";
2
+ export { e as SStepper, e as default };