@solostylist/ui-kit 2.0.0 → 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 (365) hide show
  1. package/dist/{Add-COc9VdNg.js → Add-CEnTWsXs.js} +1 -1
  2. package/dist/{ArrowUpward-D88i2k4q.js → ArrowUpward-udL1ltj2.js} +1 -1
  3. package/dist/{Button-DgIFcM44.js → Button-DaLr1m20.js} +5 -5
  4. package/dist/{ButtonBase-DxKtpFYs.js → ButtonBase-DovDC6-1.js} +224 -271
  5. package/dist/{Checkbox-BoZu9z2l.js → Checkbox-C-Xjbzzh.js} +7 -7
  6. package/dist/{ChevronRight-BxsM4W78.js → ChevronRight-DsPfsFKB.js} +1 -1
  7. package/dist/{Close-o4HFfK0I.js → Close-CIYOM-Sc.js} +1 -1
  8. package/dist/{Collapse-zgIFP5Sj.js → Collapse-DPUr1cbP.js} +46 -46
  9. package/dist/{ContentCopy-5unyTYXy.js → ContentCopy-Hlh3azVb.js} +1 -1
  10. package/dist/{DialogContent-CAry6lVf.js → DialogContent-b3xbJVC6.js} +5 -5
  11. package/dist/{Download-DtvoRwpl.js → Download-D9PkFi7a.js} +1 -1
  12. package/dist/{ExpandMore-Ba5bg6s-.js → ExpandMore-sOgvEha9.js} +1 -1
  13. package/dist/{Favorite-B_GsElm0.js → Favorite-BP343hjM.js} +1 -1
  14. package/dist/FavoriteBorder-D15j9xEL.js +6 -0
  15. package/dist/{FormControl-BxmM9UP6.js → FormControl-DwMfZCiz.js} +46 -52
  16. package/dist/{FormControlLabel-DzgppcC_.js → FormControlLabel-Ihga1FTB.js} +5 -5
  17. package/dist/{Grow-zRRuwUl-.js → Grow-BQR7x52V.js} +20 -20
  18. package/dist/{elementAcceptingRef-DhkNAkFH.js → IconButton-CE-4GamO.js} +87 -111
  19. package/dist/{InfoOutlined-VC7X46pc.js → InfoOutlined-lpvhO6P8.js} +1 -1
  20. package/dist/{List-CnGIAXAS.js → List-RNcZhRdr.js} +26 -24
  21. package/dist/Menu-CnyB4SDS.js +180 -0
  22. package/dist/{MenuItem-rXJfQzDC.js → MenuItem-Ck30dBOR.js} +15 -14
  23. package/dist/MenuList-Cc98uWXq.js +160 -0
  24. package/dist/{Modal-jAiibALV.js → Modal-CD2EBfU8.js} +116 -121
  25. package/dist/{Paper-ixxCeml9.js → Paper-_3qggtBp.js} +2 -2
  26. package/dist/Popover-BFdKSYI5.js +340 -0
  27. package/dist/{Popper-CVYyMS3c.js → Popper-DYNAMSDd.js} +62 -61
  28. package/dist/{Portal-AnyvFRC4.js → Portal-i_wgIe9-.js} +13 -17
  29. package/dist/Remove-DDEn8ek8.js +6 -0
  30. package/dist/{Stack-UMc4dV4G.js → Stack-C0LGzM4c.js} +1 -1
  31. package/dist/{SwitchBase-D7zqrstO.js → SwitchBase-CjWtDdmE.js} +5 -5
  32. package/dist/{Tooltip-DbCd6rgF.js → Tooltip-B1sn94L0.js} +161 -160
  33. package/dist/{Typography-yXjc7kVP.js → Typography-_P0svrkO.js} +3 -3
  34. package/dist/{UnfoldMoreRounded-DsN0HVDV.js → UnfoldMoreRounded-CuCrdxoy.js} +1 -1
  35. package/dist/{autocomplete-B_4y84Ba.js → autocomplete-BgARERpp.js} +1 -1
  36. package/dist/{avatar-BHuZu3DN.js → avatar-XNOdbbRz.js} +1 -1
  37. package/dist/chainPropTypes-CkMRtDjQ.js +8 -0
  38. package/dist/{checkbox-BKMZEVU5.js → checkbox-D1U_JKqs.js} +3 -3
  39. package/dist/{createSvgIcon-B0SZlJF1.js → createSvgIcon-3y-gS0r1.js} +3 -3
  40. package/dist/elementAcceptingRef-pKEY6jPR.js +25 -0
  41. package/dist/elementTypeAcceptingRef-xl_04Y5-.js +19 -0
  42. package/dist/{objectWithoutPropertiesLoose-Cpds-4w8.js → extends-DXMyyJCW.js} +1 -12
  43. package/dist/{field-label-styles-BOyhp6gw.js → field-label-styles-4praXMaE.js} +1 -1
  44. package/dist/getActiveElement-BfBkhgy6.js +8 -0
  45. package/dist/{gradients-90SYkAC0.js → gradients-mQAYCK0_.js} +1 -1
  46. package/dist/isFocusVisible-4OIE8TST.js +11 -0
  47. package/dist/isLayoutSupported-Btg2X3QE.js +6 -0
  48. package/dist/isMuiElement-CPjhi284.js +10 -0
  49. package/dist/main.js +1 -1
  50. package/dist/mega-menu-trigger-BcOo8I5_.js +53 -0
  51. package/dist/{mergeSlotProps-xl1-PgWL.js → mergeSlotProps-DC8r4QzS.js} +1 -1
  52. package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +12 -0
  53. package/dist/{outlinedInputClasses-DECY98u0.js → outlinedInputClasses-ci1zDasn.js} +1 -1
  54. package/dist/ownerDocument-CJjQZweZ.js +6 -0
  55. package/dist/ownerDocument-pYjJiXem.js +5 -0
  56. package/dist/ownerWindow-SSeeoqPT.js +18 -0
  57. package/dist/palettes/index.js +1 -1
  58. package/dist/{palettes-Dw3PEYF5.js → palettes-B1FcGUYs.js} +2 -2
  59. package/dist/refType-j5S9pc_e.js +6 -0
  60. package/dist/s-accordion/index.js +1 -1
  61. package/dist/s-accordion/s-accordion.js +1 -1
  62. package/dist/{s-accordion-B8nlrdFc.js → s-accordion-1oLxQhod.js} +23 -23
  63. package/dist/s-action-overlay/s-action-overlay.js +1 -1
  64. package/dist/s-animated-gradient-text/index.d.ts +2 -0
  65. package/dist/s-animated-gradient-text/index.js +2 -0
  66. package/dist/s-animated-gradient-text/s-animated-gradient-text.d.ts +64 -0
  67. package/dist/s-animated-gradient-text/s-animated-gradient-text.js +93 -0
  68. package/dist/s-announcement-bar/index.d.ts +2 -0
  69. package/dist/s-announcement-bar/index.js +2 -0
  70. package/dist/s-announcement-bar/s-announcement-bar.d.ts +113 -0
  71. package/dist/s-announcement-bar/s-announcement-bar.js +275 -0
  72. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  73. package/dist/s-avatar/s-avatar.js +1 -1
  74. package/dist/s-blur-text/s-blur-text.js +1 -1
  75. package/dist/s-brand-logo/index.js +1 -1
  76. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  77. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  78. package/dist/s-carousel/index.js +1 -1
  79. package/dist/s-carousel/s-carousel.d.ts +2 -0
  80. package/dist/s-carousel/s-carousel.js +1 -1
  81. package/dist/{s-carousel-Dnjke4JQ.js → s-carousel-CAyAl3ka.js} +7 -5
  82. package/dist/s-category-card/s-category-card.js +1 -1
  83. package/dist/s-chat-input/index.js +1 -1
  84. package/dist/s-chat-input/s-chat-input.js +1 -1
  85. package/dist/{s-chat-input-DCS0mJE4.js → s-chat-input-T3gyan60.js} +8 -8
  86. package/dist/s-chat-message/index.js +1 -1
  87. package/dist/s-chat-message/s-chat-message.js +1 -1
  88. package/dist/{s-chat-message-9oollJJq.js → s-chat-message-NFTpNgt5.js} +4 -4
  89. package/dist/s-checkbox/s-checkbox.js +5 -5
  90. package/dist/s-chips/index.js +1 -1
  91. package/dist/s-chips/s-chips.js +1 -1
  92. package/dist/{s-chips-WqGdqHW9.js → s-chips-Dqq1fgz-.js} +5 -5
  93. package/dist/s-code-block/index.js +1 -1
  94. package/dist/s-code-block/s-code-block.js +1 -1
  95. package/dist/{s-code-block-DzGoGg5e.js → s-code-block-DyDtctGG.js} +2 -2
  96. package/dist/s-comment-message/index.js +1 -1
  97. package/dist/s-comment-message/s-comment-message.js +1 -1
  98. package/dist/{s-comment-message-C6kfgRjv.js → s-comment-message-DpCVBKiE.js} +53 -52
  99. package/dist/s-copyable-text/s-copyable-text.js +2 -2
  100. package/dist/s-countdown/s-count-box.js +1 -1
  101. package/dist/s-data-table/index.js +1 -1
  102. package/dist/s-data-table/s-data-table.js +1 -1
  103. package/dist/{s-data-table-B1TGVupB.js → s-data-table-D4V58HFR.js} +16 -16
  104. package/dist/s-date-picker/index.js +1 -1
  105. package/dist/s-date-picker/s-date-picker.js +1 -1
  106. package/dist/s-date-picker-BFIQOA8C.js +657 -0
  107. package/dist/s-datetime-picker/index.js +1 -1
  108. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  109. package/dist/{s-datetime-picker-ByzW44E0.js → s-datetime-picker-zfg7BEOW.js} +623 -615
  110. package/dist/s-dialog/index.js +1 -1
  111. package/dist/s-dialog/s-dialog.js +1 -1
  112. package/dist/{s-dialog-BLiyjLkx.js → s-dialog-BNlXsVVP.js} +10 -10
  113. package/dist/s-dialog-confirm/s-dialog-confirm.js +4 -4
  114. package/dist/s-dialog-message/s-dialog-message.js +4 -4
  115. package/dist/s-drawer/index.d.ts +3 -0
  116. package/dist/s-drawer/index.js +2 -0
  117. package/dist/s-drawer/s-drawer.d.ts +70 -0
  118. package/dist/s-drawer/s-drawer.js +2 -0
  119. package/dist/s-drawer-4h5ZyoM8.js +562 -0
  120. package/dist/s-empty/s-empty.js +2 -2
  121. package/dist/s-file-dropzone/index.js +1 -1
  122. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  123. package/dist/{s-file-dropzone-CVQpYRdY.js → s-file-dropzone-Cfzv1Cm8.js} +16 -16
  124. package/dist/s-file-icon/s-file-icon.js +1 -1
  125. package/dist/s-flex-box/s-flex-box.js +1 -1
  126. package/dist/s-form/s-form.js +2 -2
  127. package/dist/s-gallery/s-gallery.js +1 -1
  128. package/dist/s-glow-button/s-glow-button.js +1 -1
  129. package/dist/s-gradient-blob-pulse/index.d.ts +2 -0
  130. package/dist/s-gradient-blob-pulse/index.js +2 -0
  131. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.d.ts +62 -0
  132. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +237 -0
  133. package/dist/s-gradient-icon/index.d.ts +1 -1
  134. package/dist/s-gradient-icon/s-gradient-icon.d.ts +4 -4
  135. package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
  136. package/dist/s-icon-button/s-icon-button.d.ts +6 -2
  137. package/dist/s-icon-button/s-icon-button.js +8 -8
  138. package/dist/s-image-comparison/s-image-comparison.js +3 -3
  139. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  140. package/dist/s-image-viewer/index.js +1 -1
  141. package/dist/s-image-viewer/s-image-viewer.js +1 -1
  142. package/dist/s-image-viewer/use-image-viewer-navigation.js +1 -1
  143. package/dist/{s-image-viewer-DNIEYdtL.js → s-image-viewer-CjK67-rs.js} +5 -5
  144. package/dist/s-interactive-card/index.d.ts +3 -0
  145. package/dist/s-interactive-card/index.js +2 -0
  146. package/dist/s-interactive-card/s-interactive-card.d.ts +57 -0
  147. package/dist/s-interactive-card/s-interactive-card.js +152 -0
  148. package/dist/s-label/s-label.js +9 -9
  149. package/dist/s-language-switcher/index.js +1 -1
  150. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  151. package/dist/s-language-switcher-PaMgHWc2.js +246 -0
  152. package/dist/s-lazy-image/s-lazy-image.js +2 -2
  153. package/dist/s-link/index.js +1 -1
  154. package/dist/s-link/s-link.js +1 -1
  155. package/dist/{s-link-CAMTGfd9.js → s-link-Db1aabHh.js} +5 -4
  156. package/dist/s-list-action-item/index.d.ts +2 -0
  157. package/dist/s-list-action-item/index.js +2 -0
  158. package/dist/s-list-action-item/s-list-action-item.d.ts +89 -0
  159. package/dist/s-list-action-item/s-list-action-item.js +150 -0
  160. package/dist/s-localization-provider/index.js +1 -1
  161. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  162. package/dist/{s-localization-provider-Xw3NO2uP.js → s-localization-provider-CeyB_SGz.js} +2 -2
  163. package/dist/s-mega-menu/index.d.ts +3 -0
  164. package/dist/s-mega-menu/index.js +2 -0
  165. package/dist/s-mega-menu/mega-menu-panel.d.ts +38 -0
  166. package/dist/s-mega-menu/mega-menu-panel.js +253 -0
  167. package/dist/s-mega-menu/mega-menu-slots.d.ts +65 -0
  168. package/dist/s-mega-menu/mega-menu-slots.js +232 -0
  169. package/dist/s-mega-menu/mega-menu-trigger.d.ts +35 -0
  170. package/dist/s-mega-menu/mega-menu-trigger.js +2 -0
  171. package/dist/s-mega-menu/s-mega-menu.d.ts +23 -0
  172. package/dist/s-mega-menu/s-mega-menu.js +228 -0
  173. package/dist/s-mega-menu/types.d.ts +188 -0
  174. package/dist/s-mega-menu/types.js +0 -0
  175. package/dist/s-mega-menu/utils.d.ts +51 -0
  176. package/dist/s-mega-menu/utils.js +51 -0
  177. package/dist/s-mobile-dock/index.d.ts +3 -0
  178. package/dist/s-mobile-dock/index.js +2 -0
  179. package/dist/s-mobile-dock/s-mobile-dock.d.ts +96 -0
  180. package/dist/s-mobile-dock/s-mobile-dock.js +2 -0
  181. package/dist/s-mobile-dock-8F3UWAb8.js +615 -0
  182. package/dist/s-nav-item/index.d.ts +1 -1
  183. package/dist/s-nav-item/s-nav-item.d.ts +35 -16
  184. package/dist/s-nav-item/s-nav-item.js +56 -77
  185. package/dist/s-nav-items/index.js +2 -2
  186. package/dist/s-nav-items/s-nav-items.js +124 -2
  187. package/dist/s-no-ssr/index.js +1 -1
  188. package/dist/s-no-ssr/s-no-ssr.js +1 -1
  189. package/dist/s-number-range/index.d.ts +3 -0
  190. package/dist/s-number-range/index.js +2 -0
  191. package/dist/s-number-range/s-number-range.d.ts +109 -0
  192. package/dist/s-number-range/s-number-range.js +2 -0
  193. package/dist/s-number-range-Low5QjuD.js +253 -0
  194. package/dist/s-pagination/index.js +1 -1
  195. package/dist/s-pagination/s-pagination.js +1 -1
  196. package/dist/{s-pagination-Dt8Pk5Tp.js → s-pagination-s46hBifh.js} +33 -33
  197. package/dist/s-pixel-reveal/s-pixel-reveal.js +1 -1
  198. package/dist/s-popover/index.d.ts +5 -0
  199. package/dist/s-popover/index.js +3 -0
  200. package/dist/s-popover/placement.d.ts +14 -0
  201. package/dist/s-popover/placement.js +65 -0
  202. package/dist/s-popover/s-popover-content.d.ts +22 -0
  203. package/dist/s-popover/s-popover-content.js +22 -0
  204. package/dist/s-popover/s-popover.d.ts +59 -0
  205. package/dist/s-popover/s-popover.js +68 -0
  206. package/dist/s-product-card/index.d.ts +3 -0
  207. package/dist/s-product-card/index.js +2 -0
  208. package/dist/s-product-card/s-product-card.d.ts +216 -0
  209. package/dist/s-product-card/s-product-card.js +502 -0
  210. package/dist/s-product-gallery/index.d.ts +3 -0
  211. package/dist/s-product-gallery/index.js +2 -0
  212. package/dist/s-product-gallery/s-product-gallery.d.ts +116 -0
  213. package/dist/s-product-gallery/s-product-gallery.js +2 -0
  214. package/dist/s-product-gallery-Dj9eGg5i.js +430 -0
  215. package/dist/s-quantity-input/index.js +1 -1
  216. package/dist/s-quantity-input/s-quantity-input.js +246 -2
  217. package/dist/s-review/index.js +1 -1
  218. package/dist/s-review/s-review.js +1 -1
  219. package/dist/{s-review-DSXXtWlL.js → s-review--Q2C0ngO.js} +4 -4
  220. package/dist/s-scroll-reveal/s-scroll-reveal.js +1 -1
  221. package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +1 -1
  222. package/dist/s-scroll-to-top/s-scroll-to-top.js +2 -2
  223. package/dist/s-scroll-velocity/scroll-velocity-row.js +1 -1
  224. package/dist/s-segmented-control/index.d.ts +3 -0
  225. package/dist/s-segmented-control/index.js +2 -0
  226. package/dist/s-segmented-control/s-segmented-control.d.ts +94 -0
  227. package/dist/s-segmented-control/s-segmented-control.js +302 -0
  228. package/dist/s-select/index.js +1 -1
  229. package/dist/s-select/s-select.js +1 -1
  230. package/dist/{s-select-dwY2DYa9.js → s-select-CtVKEOZ5.js} +3 -3
  231. package/dist/s-select-list/s-select-list.js +5 -5
  232. package/dist/s-skeleton/s-skeleton.js +10 -10
  233. package/dist/s-snackbar-message/index.js +1 -1
  234. package/dist/s-snackbar-message/s-snackbar-message.js +1 -1
  235. package/dist/{s-snackbar-message-3Z6VySlB.js → s-snackbar-message-DsfJlDYd.js} +98 -96
  236. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +1 -1
  237. package/dist/s-status-illustration/s-status-illustration.js +1 -1
  238. package/dist/s-stepper/index.d.ts +3 -0
  239. package/dist/s-stepper/index.js +2 -0
  240. package/dist/s-stepper/s-stepper.d.ts +90 -0
  241. package/dist/s-stepper/s-stepper.js +2 -0
  242. package/dist/s-stepper-BtODHVro.js +892 -0
  243. package/dist/s-stripe/s-stripe.js +2 -2
  244. package/dist/s-stripe/stripe-input.js +1 -1
  245. package/dist/s-swatch/index.d.ts +3 -0
  246. package/dist/s-swatch/index.js +2 -0
  247. package/dist/s-swatch/s-swatch.d.ts +235 -0
  248. package/dist/s-swatch/s-swatch.js +219 -0
  249. package/dist/s-switch/index.js +1 -1
  250. package/dist/s-switch/s-switch.js +1 -1
  251. package/dist/{s-switch-B8bZAzLh.js → s-switch-BCeBoxWf.js} +18 -18
  252. package/dist/s-tabs/s-tabs.js +4 -4
  253. package/dist/s-text-editor/index.js +1 -1
  254. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  255. package/dist/s-text-editor/s-text-editor.js +2 -2
  256. package/dist/{s-text-editor-toolbar-D-XgFQix.js → s-text-editor-toolbar-D5eQ-jCs.js} +708 -705
  257. package/dist/s-text-field/index.js +1 -1
  258. package/dist/s-text-field/s-text-field.js +1 -1
  259. package/dist/{s-text-field-BM4qk0mf.js → s-text-field-HYyDf1Jo.js} +4 -4
  260. package/dist/s-text-shimmer/s-text-shimmer.js +1 -1
  261. package/dist/s-text-truncation/s-text-truncation.js +1 -1
  262. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  263. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  264. package/dist/s-theme-demo/theme-demo-components-section.js +1 -1
  265. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  266. package/dist/s-theme-switch/index.js +1 -1
  267. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  268. package/dist/{s-theme-switch-BLMz1_m2.js → s-theme-switch-BFWpADh3.js} +2 -2
  269. package/dist/s-tip/index.js +1 -1
  270. package/dist/s-tip/s-tip.js +1 -1
  271. package/dist/{s-tip-ty41ePQm.js → s-tip-jbL7vtoU.js} +5 -5
  272. package/dist/s-tool-bar/s-tool-bar.js +3 -3
  273. package/dist/s-tool-bar/tool-bar-action-buttons.js +1 -1
  274. package/dist/s-tool-bar/tool-bar-image-input.js +1 -1
  275. package/dist/s-tool-bar/tool-bar-inputs.js +3 -3
  276. package/dist/s-tool-item/s-tool-item.d.ts +10 -6
  277. package/dist/s-tool-item/s-tool-item.js +13 -13
  278. package/dist/s-two-pane-layout/s-two-pane-layout.js +1 -1
  279. package/dist/s-zoom-image/s-zoom-image.js +2 -2
  280. package/dist/setRef-BWPyWnrr.js +6 -0
  281. package/dist/theme/component-augmentation.d.ts +65 -1
  282. package/dist/theme/components/autocomplete.js +1 -1
  283. package/dist/theme/components/avatar.js +1 -1
  284. package/dist/theme/components/card.js +1 -1
  285. package/dist/theme/components/checkbox.js +1 -1
  286. package/dist/theme/components/chip.js +1 -1
  287. package/dist/theme/components/components.js +4 -4
  288. package/dist/theme/components/drawer.d.ts +1 -0
  289. package/dist/theme/components/drawer.js +4 -1
  290. package/dist/theme/components/field-label-styles.js +1 -1
  291. package/dist/theme/components/form-label.js +1 -1
  292. package/dist/theme/components/list-item-button.js +1 -1
  293. package/dist/theme/components/list-item.js +3 -3
  294. package/dist/theme/components/month-calendar.js +2 -2
  295. package/dist/theme/components/outlined-input.js +2 -2
  296. package/dist/theme/components/pickers-calendar-header.js +2 -2
  297. package/dist/theme/components/select.js +2 -2
  298. package/dist/theme/components/slider.js +18 -1
  299. package/dist/theme/components/step-connector.d.ts +0 -3
  300. package/dist/theme/components/step-connector.js +1 -6
  301. package/dist/theme/components/step-icon.d.ts +3 -12
  302. package/dist/theme/components/step-icon.js +3 -14
  303. package/dist/theme/components/switch.js +1 -1
  304. package/dist/theme/components/table-pagination.js +1 -1
  305. package/dist/theme/components/toggle-button.js +1 -1
  306. package/dist/theme/components/year-calendar.js +2 -2
  307. package/dist/theme/theme-primitives.js +2 -2
  308. package/dist/{theme-demo-components-section-gtIYRngY.js → theme-demo-components-section-C7l_2KAo.js} +4 -4
  309. package/dist/{theme-primitives-Dt_DT9b5.js → theme-primitives-CXtaMdVj.js} +2 -2
  310. package/dist/{toggle-button-Cxi5CfXC.js → toggle-button-BsGb-tOr.js} +1 -1
  311. package/dist/{tool-bar-action-buttons-Dt-pV3GA.js → tool-bar-action-buttons-v1koaasr.js} +3 -3
  312. package/dist/{tool-bar-image-input-BXlll_hV.js → tool-bar-image-input-DtXTyEe1.js} +2 -2
  313. package/dist/unsupportedProp-whMV_uOi.js +11 -0
  314. package/dist/{useControlled-BeB0W_Ui.js → useControlled-DqNPBJNp.js} +1 -1
  315. package/dist/useEventCallback-DGCsaRIu.js +5 -0
  316. package/dist/{useEventCallback-CVqMfiG_.js → useEventCallback-DhCPBxRG.js} +1 -4
  317. package/dist/{useMobilePicker-C4UQFvkj.js → useMobilePicker-CdrT935R.js} +2176 -2172
  318. package/dist/useRovingTabIndex-DPlW997R.js +242 -0
  319. package/dist/{useSlot-iIu8ek6E.js → useSlot-BG8ReOxN.js} +3 -3
  320. package/dist/{isLayoutSupported-Ceir7nyK.js → useSlotProps-BOO3qaI9.js} +4 -9
  321. package/dist/useThemeProps-Dw9dmKyT.js +29 -0
  322. package/dist/useTimeout-CoK-Khfm.js +49 -0
  323. package/dist/{utils-oJyTAkZY.js → utils-Bfqbev5I.js} +45 -11
  324. package/dist/{warning-CNkSZkq6.js → warning-D5YhCbje.js} +3 -2
  325. package/package.json +1 -1
  326. package/dist/ListContext-B1HQt3OD.js +0 -6
  327. package/dist/Menu-C4Zabc9U.js +0 -504
  328. package/dist/MenuList-DDV8J-yd.js +0 -407
  329. package/dist/isFocusVisible-Y7157FQS.js +0 -35
  330. package/dist/listItemButtonClasses-DbL-aTVf.js +0 -18
  331. package/dist/s-date-picker-BpX4HmBp.js +0 -656
  332. package/dist/s-language-switcher-D-1nywT3.js +0 -251
  333. package/dist/s-nav-items-BUp7DddG.js +0 -327
  334. package/dist/s-quantity-input-mYCixlJc.js +0 -246
  335. package/dist/theme/components/components.d.ts +0 -2
  336. package/dist/theme/components/slider.d.ts +0 -34
  337. package/dist/useThemeProps-BI9yq95N.js +0 -19
  338. package/dist/useThemeProps-Cr28OQu3.js +0 -13
  339. /package/dist/{appendOwnerState-CELpvdMz.js → appendOwnerState-CFQTq3pb.js} +0 -0
  340. /package/dist/{buttonBaseClasses-BvBqFLb_.js → buttonBaseClasses-B90LjsNK.js} +0 -0
  341. /package/dist/{capitalize-CccCFNpQ.js → capitalize-C0baBJCm.js} +0 -0
  342. /package/dist/{checkboxClasses-CEsqS4sc.js → checkboxClasses-B1up2lUn.js} +0 -0
  343. /package/dist/{colors-DKqWMRgW.js → colors-Bik9qOU9.js} +0 -0
  344. /package/dist/{contains-WOhYaq1E.js → contains-DnqPQsQU.js} +0 -0
  345. /package/dist/{createSimplePaletteValueFilter-C1gWywW_.js → createSimplePaletteValueFilter-DFvyXHoZ.js} +0 -0
  346. /package/dist/{formLabelClasses-B0Fa-86T.js → formLabelClasses-AuZHWfTs.js} +0 -0
  347. /package/dist/{iconButtonClasses-CkciZuIe.js → iconButtonClasses-CVVRFXRo.js} +0 -0
  348. /package/dist/{inputAdornmentClasses-D5yYK5bM.js → inputAdornmentClasses-BbB8s-Z4.js} +0 -0
  349. /package/dist/{inputBaseClasses-DuWQGq8Z.js → inputBaseClasses-Ce_jjdp9.js} +0 -0
  350. /package/dist/{integerPropType-Disnft4a.js → integerPropType-CCkQD1JY.js} +0 -0
  351. /package/dist/{isEventHandler-8dPdzK9U.js → isEventHandler-QShLXBxE.js} +0 -0
  352. /package/dist/{monthCalendarClasses-BYVHyEfI.js → monthCalendarClasses-b964KRbc.js} +0 -0
  353. /package/dist/{pickersCalendarHeaderClasses-CIj0gBye.js → pickersCalendarHeaderClasses-BAiPN_oY.js} +0 -0
  354. /package/dist/{s-brand-logo-jtAJZQIv.js → s-brand-logo-D7Jovf5K.js} +0 -0
  355. /package/dist/{s-no-ssr-D8tPdDfh.js → s-no-ssr-DH57_uP_.js} +0 -0
  356. /package/dist/{selectClasses-DoUlWfzV.js → selectClasses-CPxME5jE.js} +0 -0
  357. /package/dist/{svgIconClasses-C8D4AsMj.js → svgIconClasses-1kWGzgux.js} +0 -0
  358. /package/dist/{switchClasses-eiq1bkQN.js → switchClasses-BtweO7PC.js} +0 -0
  359. /package/dist/{typographyClasses-BLM3NmYd.js → typographyClasses-BH_-zLwg.js} +0 -0
  360. /package/dist/{useControlled-C4QJnpiR.js → useControlled-uxVKygk1.js} +0 -0
  361. /package/dist/{useEnhancedEffect-Bc3gBClC.js → useEnhancedEffect-dBFfkm1e.js} +0 -0
  362. /package/dist/{useForkRef-CKneCEtr.js → useForkRef-BuNFTXxE.js} +0 -0
  363. /package/dist/{useFormControl-iWLrn7Ek.js → useFormControl-gXwNeUM1.js} +0 -0
  364. /package/dist/{utils-DaSrTYUS.js → utils-DOY6v6ln.js} +0 -0
  365. /package/dist/{yearCalendarClasses-CuAQumpz.js → yearCalendarClasses-D9k_KT38.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../styled-Bog8QCl3.js";
2
- import { t } from "../useThemeProps-Cr28OQu3.js";
3
- import { t as n } from "../s-text-field-BM4qk0mf.js";
2
+ import { t } from "../useThemeProps-Dw9dmKyT.js";
3
+ import { t as n } from "../s-text-field-HYyDf1Jo.js";
4
4
  import r from "./stripe-input.js";
5
5
  import * as i from "react";
6
6
  import { jsx as a } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../theme-primitives-Dt_DT9b5.js";
1
+ import { t as e } from "../theme-primitives-CXtaMdVj.js";
2
2
  import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import '../assets/stripe-input.css';//#region lib/s-stripe/stripe-input.tsx
@@ -0,0 +1,3 @@
1
+ export { default, default as SSwatch } from './s-swatch';
2
+ export type { SSwatchAccessibleNameProps, SSwatchBaseProps, SSwatchOwnerState, SSwatchProps, SSwatchShape, SSwatchSize, SSwatchSlotProps, SSwatchSlots, SSwatchVisualProps, } from './s-swatch';
3
+ export type {} from '../theme/component-augmentation';
@@ -0,0 +1,2 @@
1
+ import { SSwatch as e } from "./s-swatch.js";
2
+ export { e as SSwatch, e as default };
@@ -0,0 +1,235 @@
1
+ import { BoxProps, ButtonBaseProps } from '@mui/material';
2
+ import { OwnerStateSlotProps as MuiOwnerStateSlotProps } from '../utils/slots';
3
+ import * as React from 'react';
4
+ /** Named swatch sizes, or an explicit pixel edge length. */
5
+ export type SSwatchSize = 'small' | 'medium' | 'large' | number;
6
+ /** Outline geometry of the swatch. */
7
+ export type SSwatchShape = 'square' | 'circle';
8
+ export interface SSwatchSlots {
9
+ /** Image element rendered inside the swatch when `image` is set. */
10
+ image?: React.ElementType;
11
+ /** Selection marker rendered when `selected` is true. */
12
+ indicator?: React.ElementType;
13
+ /** Interactive `ButtonBase` wrapper. */
14
+ root?: React.ElementType;
15
+ /** Diagonal line rendered when `unavailable` is true. */
16
+ strikethrough?: React.ElementType;
17
+ /** Element carrying the color fill or the image background. */
18
+ swatch?: React.ElementType;
19
+ }
20
+ export interface SSwatchSlotProps {
21
+ /** Props or owner-state callback for the image slot. */
22
+ image?: MuiOwnerStateSlotProps<Omit<BoxProps, 'children'>, SSwatchOwnerState>;
23
+ /** Props or owner-state callback for the indicator slot. */
24
+ indicator?: MuiOwnerStateSlotProps<Omit<BoxProps, 'children'>, SSwatchOwnerState>;
25
+ /** Props or owner-state callback for the root slot. */
26
+ root?: MuiOwnerStateSlotProps<Omit<ButtonBaseProps, 'children'>, SSwatchOwnerState>;
27
+ /** Props or owner-state callback for the strikethrough slot. */
28
+ strikethrough?: MuiOwnerStateSlotProps<Omit<BoxProps, 'children'>, SSwatchOwnerState>;
29
+ /** Props or owner-state callback for the swatch slot. */
30
+ swatch?: MuiOwnerStateSlotProps<Omit<BoxProps, 'children'>, SSwatchOwnerState>;
31
+ }
32
+ /** Visual data accepted by SSwatch. A secondary color always requires a primary color. */
33
+ export type SSwatchVisualProps = {
34
+ /**
35
+ * Fill of the swatch. This is consumer data (an arbitrary CSS color), so it is
36
+ * passed straight through — every ring, marker and strike around it is themed.
37
+ */
38
+ color: string;
39
+ /** Optional second fill rendered across the same diagonal as the unavailable strike. */
40
+ colorSecondary?: string;
41
+ /** Optional image URL rendered over `color`, which remains as its visual fallback. */
42
+ image?: string;
43
+ } | {
44
+ color?: never;
45
+ colorSecondary?: never;
46
+ /** Image URL rendered as the swatch fill. */
47
+ image: string;
48
+ };
49
+ /** Accessible-name sources accepted by an interactive SSwatch. */
50
+ export type SSwatchAccessibleNameProps = {
51
+ /** Explicit accessible name. */
52
+ 'aria-label': string;
53
+ 'aria-labelledby'?: string;
54
+ label?: string;
55
+ value?: string;
56
+ } | {
57
+ 'aria-label'?: string;
58
+ /** ID of an element that provides the accessible name. */
59
+ 'aria-labelledby': string;
60
+ label?: string;
61
+ value?: string;
62
+ } | {
63
+ 'aria-label'?: string;
64
+ 'aria-labelledby'?: string;
65
+ /** Human-readable swatch name used as its accessible name. */
66
+ label: string;
67
+ value?: string;
68
+ } | {
69
+ 'aria-label'?: string;
70
+ 'aria-labelledby'?: string;
71
+ label?: string;
72
+ /** Human-readable option value used as the accessible name when `label` is omitted. */
73
+ value: string;
74
+ };
75
+ /** Shared behavioral props for a selectable swatch built on MUI ButtonBase. */
76
+ export interface SSwatchBaseProps extends Omit<ButtonBaseProps, 'aria-label' | 'aria-labelledby' | 'children' | 'color' | 'value'> {
77
+ /**
78
+ * Whether the swatch is an interactive option. Set to `false` for a
79
+ * presentational swatch; its root then fits the visual and has no button,
80
+ * ripple, focus, or pressed semantics.
81
+ */
82
+ interactive?: boolean;
83
+ /** Marks the swatch as the current selection. */
84
+ selected?: boolean;
85
+ /** Outline geometry of the swatch. */
86
+ shape?: SSwatchShape;
87
+ /** Named size, or an explicit pixel edge length. */
88
+ size?: SSwatchSize;
89
+ /** Props or owner-state callbacks for internal structural slots. */
90
+ slotProps?: SSwatchSlotProps;
91
+ /** Components used for internal structural slots. */
92
+ slots?: SSwatchSlots;
93
+ /**
94
+ * Out-of-stock treatment: the swatch stays operable but is struck through and
95
+ * dimmed by a scrim, which is visually distinct from `disabled`.
96
+ */
97
+ unavailable?: boolean;
98
+ /** Appended to the accessible name while `unavailable` is true. */
99
+ unavailableText?: string;
100
+ }
101
+ /** Props for a selectable color or image swatch built on MUI ButtonBase. */
102
+ export type SSwatchProps = SSwatchAccessibleNameProps & SSwatchBaseProps & SSwatchVisualProps;
103
+ export type SSwatchOwnerState = SSwatchProps & {
104
+ /** Root size for fine pointers. */
105
+ controlSize: number;
106
+ /** Root size for coarse pointers. */
107
+ coarseControlSize: number;
108
+ disabled: boolean;
109
+ interactive: boolean;
110
+ selected: boolean;
111
+ shape: SSwatchShape;
112
+ size: SSwatchSize;
113
+ /** `size` resolved to pixels. */
114
+ swatchSize: number;
115
+ unavailable: boolean;
116
+ };
117
+ /**
118
+ * Themeable color or image option built on MUI ButtonBase. Every swatch requires
119
+ * both a visual (`color` or `image`) and an accessible name (`label`,
120
+ * `aria-label`, `aria-labelledby`, or a human-readable `value`).
121
+ *
122
+ * Interactive swatches reserve an internal pointer target appropriate to the
123
+ * current input modality. Presentational swatches (`interactive={false}`) fit
124
+ * their visual exactly and do not render button semantics.
125
+ */
126
+ export declare const SSwatch: React.ForwardRefExoticComponent<(Omit<{
127
+ /** Explicit accessible name. */
128
+ 'aria-label': string;
129
+ 'aria-labelledby'?: string;
130
+ label?: string;
131
+ value?: string;
132
+ } & SSwatchBaseProps & {
133
+ /**
134
+ * Fill of the swatch. This is consumer data (an arbitrary CSS color), so it is
135
+ * passed straight through — every ring, marker and strike around it is themed.
136
+ */
137
+ color: string;
138
+ /** Optional second fill rendered across the same diagonal as the unavailable strike. */
139
+ colorSecondary?: string;
140
+ /** Optional image URL rendered over `color`, which remains as its visual fallback. */
141
+ image?: string;
142
+ }, "ref"> | Omit<{
143
+ /** Explicit accessible name. */
144
+ 'aria-label': string;
145
+ 'aria-labelledby'?: string;
146
+ label?: string;
147
+ value?: string;
148
+ } & SSwatchBaseProps & {
149
+ color?: never;
150
+ colorSecondary?: never;
151
+ /** Image URL rendered as the swatch fill. */
152
+ image: string;
153
+ }, "ref"> | Omit<{
154
+ 'aria-label'?: string;
155
+ /** ID of an element that provides the accessible name. */
156
+ 'aria-labelledby': string;
157
+ label?: string;
158
+ value?: string;
159
+ } & SSwatchBaseProps & {
160
+ /**
161
+ * Fill of the swatch. This is consumer data (an arbitrary CSS color), so it is
162
+ * passed straight through — every ring, marker and strike around it is themed.
163
+ */
164
+ color: string;
165
+ /** Optional second fill rendered across the same diagonal as the unavailable strike. */
166
+ colorSecondary?: string;
167
+ /** Optional image URL rendered over `color`, which remains as its visual fallback. */
168
+ image?: string;
169
+ }, "ref"> | Omit<{
170
+ 'aria-label'?: string;
171
+ /** ID of an element that provides the accessible name. */
172
+ 'aria-labelledby': string;
173
+ label?: string;
174
+ value?: string;
175
+ } & SSwatchBaseProps & {
176
+ color?: never;
177
+ colorSecondary?: never;
178
+ /** Image URL rendered as the swatch fill. */
179
+ image: string;
180
+ }, "ref"> | Omit<{
181
+ 'aria-label'?: string;
182
+ 'aria-labelledby'?: string;
183
+ /** Human-readable swatch name used as its accessible name. */
184
+ label: string;
185
+ value?: string;
186
+ } & SSwatchBaseProps & {
187
+ /**
188
+ * Fill of the swatch. This is consumer data (an arbitrary CSS color), so it is
189
+ * passed straight through — every ring, marker and strike around it is themed.
190
+ */
191
+ color: string;
192
+ /** Optional second fill rendered across the same diagonal as the unavailable strike. */
193
+ colorSecondary?: string;
194
+ /** Optional image URL rendered over `color`, which remains as its visual fallback. */
195
+ image?: string;
196
+ }, "ref"> | Omit<{
197
+ 'aria-label'?: string;
198
+ 'aria-labelledby'?: string;
199
+ /** Human-readable swatch name used as its accessible name. */
200
+ label: string;
201
+ value?: string;
202
+ } & SSwatchBaseProps & {
203
+ color?: never;
204
+ colorSecondary?: never;
205
+ /** Image URL rendered as the swatch fill. */
206
+ image: string;
207
+ }, "ref"> | Omit<{
208
+ 'aria-label'?: string;
209
+ 'aria-labelledby'?: string;
210
+ label?: string;
211
+ /** Human-readable option value used as the accessible name when `label` is omitted. */
212
+ value: string;
213
+ } & SSwatchBaseProps & {
214
+ /**
215
+ * Fill of the swatch. This is consumer data (an arbitrary CSS color), so it is
216
+ * passed straight through — every ring, marker and strike around it is themed.
217
+ */
218
+ color: string;
219
+ /** Optional second fill rendered across the same diagonal as the unavailable strike. */
220
+ colorSecondary?: string;
221
+ /** Optional image URL rendered over `color`, which remains as its visual fallback. */
222
+ image?: string;
223
+ }, "ref"> | Omit<{
224
+ 'aria-label'?: string;
225
+ 'aria-labelledby'?: string;
226
+ label?: string;
227
+ /** Human-readable option value used as the accessible name when `label` is omitted. */
228
+ value: string;
229
+ } & SSwatchBaseProps & {
230
+ color?: never;
231
+ colorSecondary?: never;
232
+ /** Image URL rendered as the swatch fill. */
233
+ image: string;
234
+ }, "ref">) & React.RefAttributes<HTMLElement>>;
235
+ export default SSwatch;
@@ -0,0 +1,219 @@
1
+ import { resolveOwnerStateSlotProps as e } from "../utils/slots.js";
2
+ import { t } from "../useForkRef-BuNFTXxE.js";
3
+ import { t as n } from "../appendOwnerState-CFQTq3pb.js";
4
+ import { getFocusVisibleStyle as r } from "../theme/components/action-styles.js";
5
+ import { t as i } from "../mergeSlotProps-DC8r4QzS.js";
6
+ import * as a from "react";
7
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
8
+ import { Box as c, ButtonBase as l, styled as u, useThemeProps as d } from "@mui/material";
9
+ //#region lib/s-swatch/s-swatch.tsx
10
+ var f = {
11
+ small: 22,
12
+ medium: 32,
13
+ large: 44
14
+ }, p = 24, m = 44, h = "@media (pointer: coarse)", g = 45, _ = (e) => Math.max(1, typeof e == "number" ? e : f[e]), v = ({ ownerState: e, theme: t }) => ({
15
+ alignItems: "center",
16
+ backgroundColor: "transparent",
17
+ borderRadius: t.radius.sm,
18
+ boxSizing: "border-box",
19
+ cursor: e.interactive ? "pointer" : "default",
20
+ display: "inline-flex",
21
+ flex: `0 0 ${e.controlSize}px`,
22
+ height: e.controlSize,
23
+ justifyContent: "center",
24
+ padding: 0,
25
+ position: "relative",
26
+ transition: t.transitions.create("opacity", { duration: t.transitions.duration.shorter }),
27
+ width: e.controlSize,
28
+ ...e.interactive ? {
29
+ "& .MuiTouchRipple-root": {
30
+ borderRadius: "inherit",
31
+ height: e.swatchSize,
32
+ inset: "50% auto auto 50%",
33
+ transform: "translate(-50%, -50%)",
34
+ width: e.swatchSize,
35
+ zIndex: 1
36
+ },
37
+ "&.Mui-focusVisible::after": {
38
+ ...r(t),
39
+ borderRadius: "inherit",
40
+ content: "\"\"",
41
+ height: e.swatchSize,
42
+ left: "50%",
43
+ pointerEvents: "none",
44
+ position: "absolute",
45
+ top: "50%",
46
+ transform: "translate(-50%, -50%)",
47
+ width: e.swatchSize,
48
+ zIndex: 4
49
+ },
50
+ "&.Mui-disabled": { cursor: "not-allowed" },
51
+ [h]: {
52
+ flex: `0 0 ${e.coarseControlSize}px`,
53
+ height: e.coarseControlSize,
54
+ width: e.coarseControlSize
55
+ }
56
+ } : void 0,
57
+ variants: [{
58
+ props: ({ ownerState: e }) => e.shape === "circle",
59
+ style: { borderRadius: t.radius.full }
60
+ }, {
61
+ props: ({ ownerState: e }) => e.disabled,
62
+ style: { opacity: (t.vars ?? t).palette.action.disabledOpacity }
63
+ }],
64
+ "@media (prefers-reduced-motion: reduce)": { transition: "none" }
65
+ }), y = u(l, {
66
+ name: "SSwatch",
67
+ slot: "Root",
68
+ shouldForwardProp: (e) => e !== "ownerState"
69
+ })(v), b = u(c, {
70
+ name: "SSwatch",
71
+ slot: "Root",
72
+ shouldForwardProp: (e) => e !== "ownerState"
73
+ })(v), x = u(c, {
74
+ name: "SSwatch",
75
+ slot: "Swatch",
76
+ shouldForwardProp: (e) => e !== "ownerState"
77
+ })(({ ownerState: e, theme: t }) => ({
78
+ backgroundColor: (t.vars ?? t).palette.background.paper,
79
+ backgroundPosition: "center",
80
+ backgroundSize: "cover",
81
+ borderRadius: "inherit",
82
+ boxShadow: `inset 0 0 0 1px ${(t.vars ?? t).palette.divider}`,
83
+ boxSizing: "border-box",
84
+ flex: "0 0 auto",
85
+ height: e.swatchSize,
86
+ overflow: "hidden",
87
+ position: "relative",
88
+ transition: t.transitions.create(["box-shadow", "filter"], { duration: t.transitions.duration.shorter }),
89
+ width: e.swatchSize,
90
+ zIndex: 0,
91
+ variants: [
92
+ {
93
+ props: ({ ownerState: e }) => e.shape === "circle",
94
+ style: { borderRadius: t.radius.full }
95
+ },
96
+ {
97
+ props: ({ ownerState: e }) => e.selected,
98
+ style: { boxShadow: `inset 0 0 0 2px ${(t.vars ?? t).palette.primary.main}` }
99
+ },
100
+ {
101
+ props: ({ ownerState: e }) => e.unavailable,
102
+ style: {
103
+ filter: "saturate(0.72)",
104
+ "&::after": {
105
+ backgroundColor: (t.vars ?? t).palette.action.disabledBackground,
106
+ borderRadius: "inherit",
107
+ content: "\"\"",
108
+ inset: 0,
109
+ position: "absolute",
110
+ zIndex: 1
111
+ }
112
+ }
113
+ }
114
+ ],
115
+ "@media (prefers-reduced-motion: reduce)": { transition: "none" }
116
+ })), S = u(c, {
117
+ name: "SSwatch",
118
+ slot: "Image",
119
+ shouldForwardProp: (e) => e !== "ownerState"
120
+ })({
121
+ borderRadius: "inherit",
122
+ display: "block",
123
+ height: "100%",
124
+ inset: 0,
125
+ objectFit: "cover",
126
+ objectPosition: "center",
127
+ position: "absolute",
128
+ width: "100%"
129
+ }), C = u(c, {
130
+ name: "SSwatch",
131
+ slot: "Indicator",
132
+ shouldForwardProp: (e) => e !== "ownerState"
133
+ })(({ ownerState: e, theme: t }) => ({
134
+ backgroundColor: (t.vars ?? t).palette.primary.main,
135
+ borderRadius: t.radius.full,
136
+ boxShadow: `0 0 0 2px ${(t.vars ?? t).palette.background.paper}`,
137
+ height: Math.max(6, Math.round(e.swatchSize * .3)),
138
+ left: "50%",
139
+ pointerEvents: "none",
140
+ position: "absolute",
141
+ top: "50%",
142
+ transform: "translate(-50%, -50%)",
143
+ width: Math.max(6, Math.round(e.swatchSize * .3)),
144
+ zIndex: 3
145
+ })), w = u(c, {
146
+ name: "SSwatch",
147
+ slot: "Strikethrough",
148
+ shouldForwardProp: (e) => e !== "ownerState"
149
+ })(({ ownerState: e, theme: t }) => ({
150
+ backgroundColor: (t.vars ?? t).palette.background.paper,
151
+ boxShadow: `0 0 0 1px ${(t.vars ?? t).palette.text.primary}`,
152
+ height: Math.max(1, Math.round(e.swatchSize / 18)),
153
+ left: "50%",
154
+ pointerEvents: "none",
155
+ position: "absolute",
156
+ top: "50%",
157
+ transform: `translate(-50%, -50%) rotate(-${g}deg)`,
158
+ transformOrigin: "center",
159
+ width: "141.421%",
160
+ zIndex: 2
161
+ })), T = a.forwardRef(function(r, a) {
162
+ let c = d({
163
+ props: r,
164
+ name: "SSwatch"
165
+ }), { "aria-label": l, "aria-labelledby": u, color: f, colorSecondary: h, disabled: v = !1, image: T, interactive: E = !0, label: D, selected: O = !1, shape: k = "square", size: A = "medium", slotProps: j, slots: M, unavailable: N = !1, unavailableText: P = "Unavailable", value: F, ...I } = c, L = _(A), R = E ? Math.max(L, p) : L, z = {
166
+ ...c,
167
+ coarseControlSize: E ? Math.max(L, m) : L,
168
+ controlSize: R,
169
+ disabled: v,
170
+ interactive: E,
171
+ selected: O,
172
+ shape: k,
173
+ size: A,
174
+ swatchSize: L,
175
+ unavailable: N
176
+ }, B = M?.root ?? (E ? y : b), V = M?.swatch ?? x, H = M?.image ?? S, U = M?.indicator ?? C, W = M?.strikethrough ?? w, G = [l ?? D ?? F, N ? P : void 0].filter(Boolean).join(", "), { ref: K, ...q } = n(B, i(e(j?.root, z), E ? {
177
+ ...I,
178
+ "aria-label": u ? void 0 : G || void 0,
179
+ "aria-labelledby": u,
180
+ "aria-pressed": O,
181
+ disabled: v
182
+ } : {
183
+ component: "span",
184
+ role: "img",
185
+ ...I,
186
+ "aria-label": u ? void 0 : G || void 0,
187
+ "aria-labelledby": u
188
+ }), z), J = t(K, a), { style: Y, ...X } = e(j?.swatch, z) ?? {}, Z = n(V, X, z), Q = n(H, e(j?.image, z) ?? {}, z), $ = n(U, e(j?.indicator, z) ?? {}, z), ee = n(W, e(j?.strikethrough, z) ?? {}, z);
189
+ return /* @__PURE__ */ s(B, {
190
+ ...q,
191
+ ref: J,
192
+ children: [/* @__PURE__ */ s(V, {
193
+ component: "span",
194
+ ...Z,
195
+ style: {
196
+ backgroundColor: f,
197
+ backgroundImage: h ? `linear-gradient(${180 - g}deg, ${f} 0 50%, ${h} 50% 100%)` : void 0,
198
+ ...Y
199
+ },
200
+ children: [T ? /* @__PURE__ */ o(H, {
201
+ alt: "",
202
+ component: "img",
203
+ ...Q,
204
+ src: T
205
+ }) : null, N ? /* @__PURE__ */ o(W, {
206
+ "aria-hidden": !0,
207
+ component: "span",
208
+ ...ee
209
+ }) : null]
210
+ }), O ? /* @__PURE__ */ o(U, {
211
+ "aria-hidden": !0,
212
+ component: "span",
213
+ ...$
214
+ }) : null]
215
+ });
216
+ });
217
+ T.displayName = "SSwatch";
218
+ //#endregion
219
+ export { T as SSwatch, T as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-switch-B8bZAzLh.js";
1
+ import { t as e } from "../s-switch-BCeBoxWf.js";
2
2
  export { e as SSwitch, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-switch-B8bZAzLh.js";
1
+ import { t as e } from "../s-switch-BCeBoxWf.js";
2
2
  export { e as SSwitch, e as default };
@@ -3,16 +3,16 @@ import { t } from "./prop-types-BzYPyWN7.js";
3
3
  import { r as n, t as r } from "./DefaultPropsProvider-ebWx4_5E.js";
4
4
  import { t as i } from "./clsx-DGZSe4Nt.js";
5
5
  import { t as a } from "./styled-Bog8QCl3.js";
6
- import { t as o } from "./memoTheme-qFyKAk7y.js";
7
- import { t as s } from "./useThemeProps-Cr28OQu3.js";
8
- import { t as c } from "./appendOwnerState-CELpvdMz.js";
9
- import { t as l } from "./useSlot-iIu8ek6E.js";
10
- import { t as u } from "./capitalize-CccCFNpQ.js";
11
- import { t as d } from "./createSimplePaletteValueFilter-C1gWywW_.js";
12
- import { t as f } from "./mergeSlotProps-xl1-PgWL.js";
13
- import { t as p } from "./SwitchBase-D7zqrstO.js";
14
- import { n as m, t as h } from "./switchClasses-eiq1bkQN.js";
15
- import { n as g, t as _ } from "./FormControlLabel-DzgppcC_.js";
6
+ import { t as o } from "./useThemeProps-Dw9dmKyT.js";
7
+ import { t as s } from "./memoTheme-qFyKAk7y.js";
8
+ import { t as c } from "./appendOwnerState-CFQTq3pb.js";
9
+ import { t as l } from "./useSlot-BG8ReOxN.js";
10
+ import { t as u } from "./capitalize-C0baBJCm.js";
11
+ import { t as d } from "./createSimplePaletteValueFilter-DFvyXHoZ.js";
12
+ import { t as f } from "./mergeSlotProps-DC8r4QzS.js";
13
+ import { t as p } from "./SwitchBase-CjWtDdmE.js";
14
+ import { n as m, t as h } from "./switchClasses-BtweO7PC.js";
15
+ import { n as g, t as _ } from "./FormControlLabel-Ihga1FTB.js";
16
16
  import * as v from "react";
17
17
  import { jsx as y, jsxs as b } from "react/jsx-runtime";
18
18
  //#region ../../node_modules/@mui/material/Switch/Switch.mjs
@@ -97,7 +97,7 @@ var x = /* @__PURE__ */ e(t(), 1), S = (e) => {
97
97
  n.color !== "default" && t[`color${u(n.color)}`]
98
98
  ];
99
99
  }
100
- })(o(({ theme: e }) => ({
100
+ })(s(({ theme: e }) => ({
101
101
  position: "absolute",
102
102
  top: 0,
103
103
  left: 0,
@@ -112,7 +112,7 @@ var x = /* @__PURE__ */ e(t(), 1), S = (e) => {
112
112
  left: "-100%",
113
113
  width: "300%"
114
114
  }
115
- })), o(({ theme: e }) => ({
115
+ })), s(({ theme: e }) => ({
116
116
  "&:hover": {
117
117
  backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity),
118
118
  "@media (hover: none)": { backgroundColor: "transparent" }
@@ -134,7 +134,7 @@ var x = /* @__PURE__ */ e(t(), 1), S = (e) => {
134
134
  }))), T = a("span", {
135
135
  name: "MuiSwitch",
136
136
  slot: "Track"
137
- })(o(({ theme: e }) => ({
137
+ })(s(({ theme: e }) => ({
138
138
  height: "100%",
139
139
  width: "100%",
140
140
  borderRadius: 14 / 2,
@@ -149,7 +149,7 @@ var x = /* @__PURE__ */ e(t(), 1), S = (e) => {
149
149
  }))), E = a("span", {
150
150
  name: "MuiSwitch",
151
151
  slot: "Thumb"
152
- })(o(({ theme: e }) => ({
152
+ })(s(({ theme: e }) => ({
153
153
  boxShadow: (e.vars || e).shadows[1],
154
154
  backgroundColor: "currentColor",
155
155
  boxSizing: "border-box",
@@ -280,14 +280,14 @@ function k(e, t) {
280
280
  return typeof e == "function" ? e(t) : e;
281
281
  }
282
282
  var A = v.forwardRef(function(e, t) {
283
- let n = s({
283
+ let n = o({
284
284
  props: e,
285
285
  name: "SSwitch"
286
- }), { disabled: r = !1, label: i, labelPlacement: a = "start", required: o = !1, slotProps: l, slots: u, ...d } = n, f = {
286
+ }), { disabled: r = !1, label: i, labelPlacement: a = "start", required: s = !1, slotProps: l, slots: u, ...d } = n, f = {
287
287
  ...n,
288
288
  disabled: r,
289
289
  labelPlacement: a,
290
- required: o
290
+ required: s
291
291
  }, p = u?.control ?? D, m = k(l?.control, f), h = c(u?.control, m ?? {}, f);
292
292
  return /* @__PURE__ */ y(O, {
293
293
  ...d,
@@ -297,7 +297,7 @@ var A = v.forwardRef(function(e, t) {
297
297
  labelPlacement: a,
298
298
  ownerState: f,
299
299
  ref: t,
300
- required: o,
300
+ required: s,
301
301
  slots: u?.typography ? { typography: u.typography } : void 0,
302
302
  slotProps: l?.typography ? { typography: l.typography } : void 0
303
303
  });
@@ -1,8 +1,8 @@
1
1
  import { toSxArray as e } from "../utils/sx.js";
2
- import { t } from "../useForkRef-CKneCEtr.js";
3
- import { t as n } from "../appendOwnerState-CELpvdMz.js";
4
- import { t as r } from "../useControlled-BeB0W_Ui.js";
5
- import { t as i } from "../mergeSlotProps-xl1-PgWL.js";
2
+ import { t } from "../useForkRef-BuNFTXxE.js";
3
+ import { t as n } from "../appendOwnerState-CFQTq3pb.js";
4
+ import { t as r } from "../useControlled-DqNPBJNp.js";
5
+ import { t as i } from "../mergeSlotProps-DC8r4QzS.js";
6
6
  import { getTabId as a, getTabPanelId as o } from "./tab-ids.js";
7
7
  import * as s from "react";
8
8
  import { createElement as c } from "react";
@@ -1,3 +1,3 @@
1
- import { t as e } from "../s-text-editor-toolbar-D-XgFQix.js";
1
+ import { t as e } from "../s-text-editor-toolbar-D5eQ-jCs.js";
2
2
  import { STextEditor as t } from "./s-text-editor.js";
3
3
  export { t as STextEditor, t as default, e as STextEditorToolbar };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-text-editor-toolbar-D-XgFQix.js";
1
+ import { t as e } from "../s-text-editor-toolbar-D5eQ-jCs.js";
2
2
  export { e as STextEditorToolbar };
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "../Box-9oeZgA1U.js";
2
2
  import { t } from "../styled-Bog8QCl3.js";
3
- import { t as n } from "../useThemeProps-Cr28OQu3.js";
3
+ import { t as n } from "../useThemeProps-Dw9dmKyT.js";
4
4
  import { toSxArray as r } from "../utils/sx.js";
5
5
  import { tint as i } from "../theme/utils.js";
6
- import { t as a } from "../s-text-editor-toolbar-D-XgFQix.js";
6
+ import { t as a } from "../s-text-editor-toolbar-D5eQ-jCs.js";
7
7
  import * as o from "react";
8
8
  import { forwardRef as s } from "react";
9
9
  import { jsx as c, jsxs as l } from "react/jsx-runtime";