@solostylist/ui-kit 1.0.230 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (628) hide show
  1. package/dist/Add-COc9VdNg.js +6 -0
  2. package/dist/{ArrowUpward-CNiENJp2.js → ArrowUpward-D88i2k4q.js} +1 -1
  3. package/dist/Box-9oeZgA1U.js +46 -0
  4. package/dist/Button-DgIFcM44.js +534 -0
  5. package/dist/{ButtonBase-BDefit5I.js → ButtonBase-DxKtpFYs.js} +298 -271
  6. package/dist/Checkbox-BoZu9z2l.js +152 -0
  7. package/dist/{ChevronRight-gZJ3kc6N.js → ChevronRight-BxsM4W78.js} +1 -1
  8. package/dist/{Close-CJu3iF1p.js → Close-o4HFfK0I.js} +1 -1
  9. package/dist/Collapse-zgIFP5Sj.js +266 -0
  10. package/dist/{ContentCopy-BMQ2JTA0.js → ContentCopy-5unyTYXy.js} +1 -1
  11. package/dist/DefaultPropsProvider-ebWx4_5E.js +128 -0
  12. package/dist/DialogContent-CAry6lVf.js +450 -0
  13. package/dist/{Download-SNal6U7j.js → Download-DtvoRwpl.js} +1 -1
  14. package/dist/{ExpandMore-DIsT5FOp.js → ExpandMore-Ba5bg6s-.js} +1 -1
  15. package/dist/{Favorite-CbvuQfe4.js → Favorite-B_GsElm0.js} +1 -1
  16. package/dist/FormControl-BxmM9UP6.js +221 -0
  17. package/dist/FormControlLabel-DzgppcC_.js +173 -0
  18. package/dist/Grow-zRRuwUl-.js +121 -0
  19. package/dist/{InfoOutlined-BCzG-5py.js → InfoOutlined-VC7X46pc.js} +1 -1
  20. package/dist/List-CnGIAXAS.js +103 -0
  21. package/dist/ListContext-B1HQt3OD.js +6 -0
  22. package/dist/Menu-C4Zabc9U.js +504 -0
  23. package/dist/{MenuItem-IOMcBScJ.js → MenuItem-rXJfQzDC.js} +33 -30
  24. package/dist/{MenuList-vtqACjea.js → MenuList-DDV8J-yd.js} +105 -101
  25. package/dist/Modal-jAiibALV.js +707 -0
  26. package/dist/Paper-ixxCeml9.js +115 -0
  27. package/dist/Popper-CVYyMS3c.js +1350 -0
  28. package/dist/Portal-AnyvFRC4.js +53 -0
  29. package/dist/RtlProvider-B7uVJXUY.js +19 -0
  30. package/dist/Skeleton-iZFynl7z.js +220 -0
  31. package/dist/{Stack-BQkLmLFp.js → Stack-UMc4dV4G.js} +26 -25
  32. package/dist/SwitchBase-D7zqrstO.js +198 -0
  33. package/dist/Tooltip-DbCd6rgF.js +447 -0
  34. package/dist/{Typography-CZ_MYa-E.js → Typography-yXjc7kVP.js} +29 -27
  35. package/dist/{UnfoldMoreRounded-tvqQS6eb.js → UnfoldMoreRounded-DsN0HVDV.js} +1 -1
  36. package/dist/appendOwnerState-CELpvdMz.js +17 -0
  37. package/dist/{autocomplete-Dd4zjpaF.js → autocomplete-B_4y84Ba.js} +2 -2
  38. package/dist/{avatar-DFQ5F7pY.js → avatar-BHuZu3DN.js} +1 -1
  39. package/dist/{buttonBaseClasses-BVDyR-hz.js → buttonBaseClasses-BvBqFLb_.js} +2 -2
  40. package/dist/capitalize-CccCFNpQ.js +5 -0
  41. package/dist/checkbox-BKMZEVU5.js +88 -0
  42. package/dist/{checkboxClasses-DANc9lnq.js → checkboxClasses-CEsqS4sc.js} +2 -2
  43. package/dist/clsx-DGZSe4Nt.js +16 -0
  44. package/dist/colorManipulator-DmUjcif3.js +129 -0
  45. package/dist/colors-DKqWMRgW.js +180 -0
  46. package/dist/contains-WOhYaq1E.js +16 -0
  47. package/dist/{createSvgIcon-HW-tbFcL.js → createSvgIcon-B0SZlJF1.js} +22 -20
  48. package/dist/createTheme-xB2Em0Na.js +1869 -0
  49. package/dist/{styled-engine-DOxAQ3qw.js → defaultTheme-BaGcIzCh.js} +72 -52
  50. package/dist/elementAcceptingRef-DhkNAkFH.js +472 -0
  51. package/dist/exactProp-C_IsucXf.js +13 -0
  52. package/dist/field-label-styles-BOyhp6gw.js +50 -0
  53. package/dist/{formLabelClasses-LXZqWZfM.js → formLabelClasses-B0Fa-86T.js} +2 -2
  54. package/dist/{generateUtilityClasses-XrPHiTcM.js → generateUtilityClasses-DvX505Gy.js} +1 -1
  55. package/dist/gradients-90SYkAC0.js +199 -0
  56. package/dist/hooks/index.d.ts +0 -1
  57. package/dist/hooks/index.js +4 -5
  58. package/dist/hooks/use-countdown.js +69 -47
  59. package/dist/{iconButtonClasses-LyjwljJq.js → iconButtonClasses-CkciZuIe.js} +2 -2
  60. package/dist/{inputAdornmentClasses-ZoGTcUz5.js → inputAdornmentClasses-D5yYK5bM.js} +2 -2
  61. package/dist/inputBaseClasses-DuWQGq8Z.js +25 -0
  62. package/dist/integerPropType-Disnft4a.js +27 -0
  63. package/dist/isEventHandler-8dPdzK9U.js +7 -0
  64. package/dist/isFocusVisible-Y7157FQS.js +35 -0
  65. package/dist/isLayoutSupported-Ceir7nyK.js +21 -0
  66. package/dist/listItemButtonClasses-DbL-aTVf.js +18 -0
  67. package/dist/main.d.ts +7 -2
  68. package/dist/main.js +2 -0
  69. package/dist/memoTheme-qFyKAk7y.js +15 -0
  70. package/dist/{mergeSlotProps-slENzJO5.js → mergeSlotProps-xl1-PgWL.js} +2 -2
  71. package/dist/{monthCalendarClasses-BLfBep-t.js → monthCalendarClasses-BYVHyEfI.js} +2 -2
  72. package/dist/{extends-DM-C9PwL.js → objectWithoutPropertiesLoose-Cpds-4w8.js} +12 -1
  73. package/dist/outlinedInputClasses-DECY98u0.js +17 -0
  74. package/dist/palettes/index.d.ts +11 -0
  75. package/dist/palettes/index.js +2 -0
  76. package/dist/palettes-Dw3PEYF5.js +1765 -0
  77. package/dist/pickersCalendarHeaderClasses-CIj0gBye.js +12 -0
  78. package/dist/prop-types-BzYPyWN7.js +516 -0
  79. package/dist/{resolveProps-DrnBChYC.js → resolveProps-7jIA45vn.js} +1 -1
  80. package/dist/s-accordion/index.d.ts +2 -1
  81. package/dist/s-accordion/index.js +1 -1
  82. package/dist/s-accordion/s-accordion.d.ts +39 -19
  83. package/dist/s-accordion/s-accordion.js +1 -1
  84. package/dist/s-accordion-B8nlrdFc.js +487 -0
  85. package/dist/s-action-overlay/index.d.ts +2 -1
  86. package/dist/s-action-overlay/s-action-overlay.d.ts +52 -51
  87. package/dist/s-action-overlay/s-action-overlay.js +106 -107
  88. package/dist/s-autocomplete/index.d.ts +2 -1
  89. package/dist/s-autocomplete/s-autocomplete.d.ts +25 -8
  90. package/dist/s-autocomplete/s-autocomplete.js +33 -22
  91. package/dist/s-avatar/index.d.ts +2 -1
  92. package/dist/s-avatar/s-avatar.d.ts +36 -18
  93. package/dist/s-avatar/s-avatar.js +53 -27
  94. package/dist/s-blur-text/index.d.ts +1 -0
  95. package/dist/s-blur-text/s-blur-text.d.ts +3 -3
  96. package/dist/s-blur-text/s-blur-text.js +68 -40
  97. package/dist/s-brand-logo/index.d.ts +3 -0
  98. package/dist/s-brand-logo/index.js +2 -0
  99. package/dist/s-brand-logo/s-brand-logo.d.ts +15 -0
  100. package/dist/s-brand-logo/s-brand-logo.js +2 -0
  101. package/dist/s-brand-logo-jtAJZQIv.js +123 -0
  102. package/dist/s-breadcrumbs/index.d.ts +2 -1
  103. package/dist/s-breadcrumbs/s-breadcrumbs.d.ts +5 -1
  104. package/dist/s-breadcrumbs/s-breadcrumbs.js +72 -37
  105. package/dist/s-button/s-button.d.ts +3 -5
  106. package/dist/s-button/s-button.js +3 -9
  107. package/dist/s-carousel/index.d.ts +3 -1
  108. package/dist/s-carousel/index.js +1 -1
  109. package/dist/s-carousel/s-carousel.d.ts +18 -8
  110. package/dist/s-carousel/s-carousel.js +1 -1
  111. package/dist/{s-carousel-CvmWl6Sc.js → s-carousel-Dnjke4JQ.js} +322 -293
  112. package/dist/s-category-card/index.d.ts +2 -1
  113. package/dist/s-category-card/s-category-card.d.ts +38 -51
  114. package/dist/s-category-card/s-category-card.js +88 -56
  115. package/dist/s-chat-input/index.d.ts +2 -1
  116. package/dist/s-chat-input/index.js +1 -1
  117. package/dist/s-chat-input/s-chat-input.d.ts +41 -6
  118. package/dist/s-chat-input/s-chat-input.js +1 -1
  119. package/dist/{s-chat-input-BHMymKij.js → s-chat-input-DCS0mJE4.js} +224 -157
  120. package/dist/s-chat-message/index.d.ts +2 -1
  121. package/dist/s-chat-message/index.js +1 -1
  122. package/dist/s-chat-message/s-chat-message.d.ts +6 -3
  123. package/dist/s-chat-message/s-chat-message.js +1 -1
  124. package/dist/s-chat-message-9oollJJq.js +315 -0
  125. package/dist/s-checkbox/index.d.ts +2 -1
  126. package/dist/s-checkbox/s-checkbox.d.ts +33 -11
  127. package/dist/s-checkbox/s-checkbox.js +45 -34
  128. package/dist/s-chip/s-chip.d.ts +3 -5
  129. package/dist/s-chip/s-chip.js +3 -9
  130. package/dist/s-chips/index.d.ts +2 -1
  131. package/dist/s-chips/index.js +1 -1
  132. package/dist/s-chips/s-chips.d.ts +50 -28
  133. package/dist/s-chips/s-chips.js +1 -1
  134. package/dist/s-chips-WqGdqHW9.js +176 -0
  135. package/dist/s-code-block/index.d.ts +3 -1
  136. package/dist/s-code-block/index.js +1 -1
  137. package/dist/s-code-block/s-code-block.d.ts +30 -28
  138. package/dist/s-code-block/s-code-block.js +1 -1
  139. package/dist/{s-code-block-DEojINTt.js → s-code-block-DzGoGg5e.js} +66 -38
  140. package/dist/s-comment-message/index.d.ts +1 -0
  141. package/dist/s-comment-message/index.js +1 -1
  142. package/dist/s-comment-message/s-comment-message.d.ts +6 -8
  143. package/dist/s-comment-message/s-comment-message.js +1 -1
  144. package/dist/s-comment-message-C6kfgRjv.js +191 -0
  145. package/dist/s-copyable-text/index.d.ts +2 -1
  146. package/dist/s-copyable-text/s-copyable-text.d.ts +34 -17
  147. package/dist/s-copyable-text/s-copyable-text.js +55 -33
  148. package/dist/s-countdown/index.d.ts +4 -3
  149. package/dist/s-countdown/index.js +1 -1
  150. package/dist/s-countdown/s-count-box.d.ts +39 -32
  151. package/dist/s-countdown/s-count-box.js +104 -87
  152. package/dist/s-countdown/s-countdown.d.ts +3 -10
  153. package/dist/s-countdown/s-countdown.js +86 -70
  154. package/dist/s-data-table/index.d.ts +2 -1
  155. package/dist/s-data-table/index.js +1 -1
  156. package/dist/s-data-table/s-data-table.d.ts +15 -7
  157. package/dist/s-data-table/s-data-table.js +1 -1
  158. package/dist/s-data-table-B1TGVupB.js +805 -0
  159. package/dist/s-date-picker/index.d.ts +3 -1
  160. package/dist/s-date-picker/index.js +1 -1
  161. package/dist/s-date-picker/picker-action-bar.js +43 -42
  162. package/dist/s-date-picker/s-date-picker.d.ts +9 -5
  163. package/dist/s-date-picker/s-date-picker.js +1 -1
  164. package/dist/s-date-picker-BpX4HmBp.js +656 -0
  165. package/dist/s-datetime-picker/index.d.ts +3 -1
  166. package/dist/s-datetime-picker/index.js +1 -1
  167. package/dist/s-datetime-picker/s-datetime-picker.d.ts +9 -5
  168. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  169. package/dist/{s-datetime-picker-DnIK-QnQ.js → s-datetime-picker-ByzW44E0.js} +1327 -1286
  170. package/dist/s-dialog/index.d.ts +2 -1
  171. package/dist/s-dialog/index.js +1 -1
  172. package/dist/s-dialog/s-dialog.d.ts +44 -22
  173. package/dist/s-dialog/s-dialog.js +2 -43
  174. package/dist/s-dialog-BLiyjLkx.js +123 -0
  175. package/dist/s-dialog-confirm/index.d.ts +2 -1
  176. package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +46 -62
  177. package/dist/s-dialog-confirm/s-dialog-confirm.js +95 -76
  178. package/dist/s-dialog-message/index.d.ts +2 -1
  179. package/dist/s-dialog-message/s-dialog-message.d.ts +34 -51
  180. package/dist/s-dialog-message/s-dialog-message.js +76 -68
  181. package/dist/s-empty/index.d.ts +1 -0
  182. package/dist/s-empty/s-empty.d.ts +5 -10
  183. package/dist/s-empty/s-empty.js +28 -9
  184. package/dist/s-file-dropzone/index.d.ts +3 -1
  185. package/dist/s-file-dropzone/index.js +1 -1
  186. package/dist/s-file-dropzone/s-file-dropzone.d.ts +49 -26
  187. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  188. package/dist/s-file-dropzone-CVQpYRdY.js +422 -0
  189. package/dist/s-file-icon/index.d.ts +1 -0
  190. package/dist/s-file-icon/s-file-icon.d.ts +3 -5
  191. package/dist/s-file-icon/s-file-icon.js +119 -98
  192. package/dist/s-flex-box/index.d.ts +2 -1
  193. package/dist/s-flex-box/s-flex-box.d.ts +12 -14
  194. package/dist/s-flex-box/s-flex-box.js +20 -19
  195. package/dist/s-form/index.d.ts +2 -1
  196. package/dist/s-form/s-form.d.ts +33 -18
  197. package/dist/s-form/s-form.js +50 -21
  198. package/dist/s-gallery/gallery-grid-item.d.ts +3 -1
  199. package/dist/s-gallery/gallery-grid-item.js +128 -99
  200. package/dist/s-gallery/gallery-layout.d.ts +1 -1
  201. package/dist/s-gallery/gallery-media-item.d.ts +3 -3
  202. package/dist/s-gallery/gallery-media-item.js +45 -50
  203. package/dist/s-gallery/index.d.ts +2 -1
  204. package/dist/s-gallery/s-gallery.d.ts +14 -3
  205. package/dist/s-gallery/s-gallery.js +70 -51
  206. package/dist/s-glow-button/index.d.ts +2 -1
  207. package/dist/s-glow-button/index.js +1 -1
  208. package/dist/s-glow-button/s-glow-button.d.ts +14 -9
  209. package/dist/s-glow-button/s-glow-button.js +47 -25
  210. package/dist/s-gradient-icon/index.d.ts +2 -1
  211. package/dist/s-gradient-icon/s-gradient-icon.d.ts +17 -9
  212. package/dist/s-gradient-icon/s-gradient-icon.js +81 -69
  213. package/dist/s-icon-button/index.d.ts +2 -1
  214. package/dist/s-icon-button/s-icon-button.d.ts +31 -13
  215. package/dist/s-icon-button/s-icon-button.js +48 -9
  216. package/dist/s-image-comparison/index.d.ts +2 -1
  217. package/dist/s-image-comparison/index.js +1 -1
  218. package/dist/s-image-comparison/s-image-comparison.d.ts +13 -3
  219. package/dist/s-image-comparison/s-image-comparison.js +197 -98
  220. package/dist/{s-image-modal → s-image-viewer}/default-media-item.d.ts +0 -1
  221. package/dist/s-image-viewer/default-media-item.js +30 -0
  222. package/dist/s-image-viewer/image-viewer-thumbnail-dock.d.ts +12 -0
  223. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +102 -0
  224. package/dist/s-image-viewer/index.d.ts +4 -0
  225. package/dist/s-image-viewer/index.js +3 -0
  226. package/dist/s-image-viewer/s-image-viewer.d.ts +4 -0
  227. package/dist/s-image-viewer/s-image-viewer.js +2 -0
  228. package/dist/{s-image-modal → s-image-viewer}/types.d.ts +27 -10
  229. package/dist/s-image-viewer/use-image-viewer-navigation.d.ts +29 -0
  230. package/dist/s-image-viewer/use-image-viewer-navigation.js +75 -0
  231. package/dist/s-image-viewer-DNIEYdtL.js +269 -0
  232. package/dist/s-label/index.d.ts +2 -1
  233. package/dist/s-label/s-label.d.ts +35 -18
  234. package/dist/s-label/s-label.js +65 -23
  235. package/dist/s-language-switcher/index.d.ts +2 -1
  236. package/dist/s-language-switcher/index.js +1 -1
  237. package/dist/s-language-switcher/s-language-switcher.d.ts +25 -18
  238. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  239. package/dist/s-language-switcher-D-1nywT3.js +251 -0
  240. package/dist/s-lazy-image/index.d.ts +2 -1
  241. package/dist/s-lazy-image/index.js +1 -1
  242. package/dist/s-lazy-image/s-lazy-image.d.ts +45 -24
  243. package/dist/s-lazy-image/s-lazy-image.js +79 -41
  244. package/dist/s-link/index.js +1 -1
  245. package/dist/s-link/s-link.d.ts +4 -33
  246. package/dist/s-link/s-link.js +2 -37
  247. package/dist/s-link-CAMTGfd9.js +234 -0
  248. package/dist/s-localization-provider/index.js +1 -1
  249. package/dist/s-localization-provider/s-localization-provider.d.ts +3 -5
  250. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  251. package/dist/{s-localization-provider-l5J7myJJ.js → s-localization-provider-Xw3NO2uP.js} +22 -22
  252. package/dist/s-moving-border/index.d.ts +2 -1
  253. package/dist/s-moving-border/s-moving-border.d.ts +8 -2
  254. package/dist/s-moving-border/s-moving-border.js +100 -71
  255. package/dist/s-nav-item/index.d.ts +2 -1
  256. package/dist/s-nav-item/s-nav-item.d.ts +39 -31
  257. package/dist/s-nav-item/s-nav-item.js +66 -67
  258. package/dist/s-nav-items/index.d.ts +2 -1
  259. package/dist/s-nav-items/index.js +2 -2
  260. package/dist/s-nav-items/s-nav-items.d.ts +13 -10
  261. package/dist/s-nav-items/s-nav-items.js +2 -151
  262. package/dist/s-nav-items-BUp7DddG.js +327 -0
  263. package/dist/s-no-ssr/index.js +1 -1
  264. package/dist/s-no-ssr/s-no-ssr.d.ts +4 -16
  265. package/dist/s-no-ssr/s-no-ssr.js +2 -15
  266. package/dist/s-no-ssr-D8tPdDfh.js +25 -0
  267. package/dist/s-overlay-scrollbar/index.d.ts +3 -1
  268. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +10 -8
  269. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +28 -16
  270. package/dist/s-pagination/index.d.ts +2 -1
  271. package/dist/s-pagination/index.js +1 -1
  272. package/dist/s-pagination/s-pagination.d.ts +14 -49
  273. package/dist/s-pagination/s-pagination.js +2 -50
  274. package/dist/s-pagination/types.d.ts +23 -1
  275. package/dist/s-pagination/types.js +8 -4
  276. package/dist/s-pagination-Dt8Pk5Tp.js +606 -0
  277. package/dist/s-pixel-reveal/index.d.ts +2 -1
  278. package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +10 -2
  279. package/dist/s-pixel-reveal/s-pixel-reveal.js +124 -86
  280. package/dist/s-quantity-input/index.d.ts +3 -0
  281. package/dist/s-quantity-input/index.js +2 -0
  282. package/dist/s-quantity-input/s-quantity-input.d.ts +114 -0
  283. package/dist/s-quantity-input/s-quantity-input.js +2 -0
  284. package/dist/s-quantity-input-mYCixlJc.js +246 -0
  285. package/dist/s-radial-pulse-animate/index.d.ts +2 -1
  286. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +7 -7
  287. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +50 -52
  288. package/dist/s-rating/s-rating.d.ts +3 -5
  289. package/dist/s-rating/s-rating.js +3 -9
  290. package/dist/s-review/index.d.ts +2 -1
  291. package/dist/s-review/index.js +1 -1
  292. package/dist/s-review/s-review.d.ts +25 -10
  293. package/dist/s-review/s-review.js +1 -1
  294. package/dist/s-review-DSXXtWlL.js +272 -0
  295. package/dist/s-scroll-reveal/index.d.ts +3 -1
  296. package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +14 -6
  297. package/dist/s-scroll-reveal/s-scroll-reveal.js +80 -61
  298. package/dist/s-scroll-to-top/index.d.ts +2 -1
  299. package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +15 -16
  300. package/dist/s-scroll-to-top/s-scroll-to-top.js +57 -29
  301. package/dist/s-scroll-velocity/index.d.ts +2 -1
  302. package/dist/s-scroll-velocity/s-scroll-velocity.d.ts +11 -7
  303. package/dist/s-scroll-velocity/s-scroll-velocity.js +27 -10
  304. package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +2 -2
  305. package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -18
  306. package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +5 -3
  307. package/dist/s-scroll-velocity/scroll-velocity-row.js +82 -68
  308. package/dist/s-select/index.d.ts +2 -1
  309. package/dist/s-select/index.js +1 -1
  310. package/dist/s-select/s-select.d.ts +25 -11
  311. package/dist/s-select/s-select.js +1 -1
  312. package/dist/s-select-dwY2DYa9.js +204 -0
  313. package/dist/s-select-list/index.d.ts +2 -1
  314. package/dist/s-select-list/s-select-list.d.ts +57 -18
  315. package/dist/s-select-list/s-select-list.js +159 -32
  316. package/dist/s-skeleton/index.d.ts +2 -1
  317. package/dist/s-skeleton/s-skeleton.d.ts +21 -22
  318. package/dist/s-skeleton/s-skeleton.js +41 -39
  319. package/dist/s-snackbar-message/index.d.ts +2 -1
  320. package/dist/s-snackbar-message/index.js +2 -2
  321. package/dist/s-snackbar-message/s-snackbar-message.d.ts +40 -51
  322. package/dist/s-snackbar-message/s-snackbar-message.js +2 -52
  323. package/dist/s-snackbar-message-3Z6VySlB.js +808 -0
  324. package/dist/s-spotlight-cursor/index.d.ts +2 -1
  325. package/dist/s-spotlight-cursor/s-spotlight-cursor.d.ts +23 -20
  326. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +83 -58
  327. package/dist/s-status-illustration/index.d.ts +3 -0
  328. package/dist/s-status-illustration/index.js +2 -0
  329. package/dist/s-status-illustration/s-status-illustration.d.ts +57 -0
  330. package/dist/s-status-illustration/s-status-illustration.js +429 -0
  331. package/dist/s-stripe/index.d.ts +6 -1
  332. package/dist/s-stripe/s-stripe-cvc.d.ts +3 -1
  333. package/dist/s-stripe/s-stripe-expiry.d.ts +3 -1
  334. package/dist/s-stripe/s-stripe-number.d.ts +3 -1
  335. package/dist/s-stripe/s-stripe.d.ts +10 -3
  336. package/dist/s-stripe/s-stripe.js +55 -28
  337. package/dist/s-stripe/stripe-input.js +46 -19
  338. package/dist/s-switch/index.d.ts +2 -1
  339. package/dist/s-switch/index.js +1 -1
  340. package/dist/s-switch/s-switch.d.ts +33 -11
  341. package/dist/s-switch/s-switch.js +2 -38
  342. package/dist/s-switch-B8bZAzLh.js +307 -0
  343. package/dist/s-tabs/index.d.ts +5 -3
  344. package/dist/s-tabs/index.js +5 -4
  345. package/dist/s-tabs/s-tab-panel.d.ts +12 -10
  346. package/dist/s-tabs/s-tab-panel.js +26 -19
  347. package/dist/s-tabs/s-tab.d.ts +3 -2
  348. package/dist/s-tabs/s-tab.js +3 -9
  349. package/dist/s-tabs/s-tabs.d.ts +46 -32
  350. package/dist/s-tabs/s-tabs.js +78 -37
  351. package/dist/s-tabs/tab-ids.d.ts +3 -0
  352. package/dist/s-tabs/tab-ids.js +9 -0
  353. package/dist/s-text-editor/index.d.ts +4 -2
  354. package/dist/s-text-editor/index.js +1 -1
  355. package/dist/s-text-editor/s-text-editor-toolbar.d.ts +9 -2
  356. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  357. package/dist/s-text-editor/s-text-editor.d.ts +7 -2
  358. package/dist/s-text-editor/s-text-editor.js +63 -39
  359. package/dist/s-text-editor-toolbar-D-XgFQix.js +2121 -0
  360. package/dist/s-text-field/index.d.ts +2 -1
  361. package/dist/s-text-field/index.js +1 -1
  362. package/dist/s-text-field/s-text-field.d.ts +6 -11
  363. package/dist/s-text-field/s-text-field.js +1 -1
  364. package/dist/s-text-field-BM4qk0mf.js +51 -0
  365. package/dist/s-text-shimmer/index.d.ts +2 -1
  366. package/dist/s-text-shimmer/s-text-shimmer.d.ts +16 -2
  367. package/dist/s-text-shimmer/s-text-shimmer.js +50 -25
  368. package/dist/s-text-truncation/index.d.ts +2 -1
  369. package/dist/s-text-truncation/s-text-truncation.d.ts +38 -14
  370. package/dist/s-text-truncation/s-text-truncation.js +105 -58
  371. package/dist/s-theme-demo/index.d.ts +2 -1
  372. package/dist/s-theme-demo/index.js +1 -1
  373. package/dist/s-theme-demo/s-theme-demo.d.ts +2 -12
  374. package/dist/s-theme-demo/s-theme-demo.js +77 -2
  375. package/dist/s-theme-demo/theme-demo-color-palette-section.d.ts +5 -0
  376. package/dist/s-theme-demo/theme-demo-color-palette-section.js +185 -0
  377. package/dist/s-theme-demo/theme-demo-color-ramps-section.d.ts +5 -0
  378. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +125 -0
  379. package/dist/s-theme-demo/theme-demo-components-section.d.ts +2 -0
  380. package/dist/s-theme-demo/theme-demo-components-section.js +2 -0
  381. package/dist/s-theme-demo/theme-demo-data.d.ts +7 -0
  382. package/dist/s-theme-demo/theme-demo-data.js +45 -0
  383. package/dist/s-theme-demo/theme-demo-interactive-section.d.ts +2 -0
  384. package/dist/s-theme-demo/theme-demo-interactive-section.js +95 -0
  385. package/dist/s-theme-demo/theme-demo-shadow-section.d.ts +5 -0
  386. package/dist/s-theme-demo/theme-demo-shadow-section.js +52 -0
  387. package/dist/s-theme-demo/theme-demo-typography-section.d.ts +5 -0
  388. package/dist/s-theme-demo/theme-demo-typography-section.js +129 -0
  389. package/dist/s-theme-demo/types.d.ts +17 -0
  390. package/dist/s-theme-demo/types.js +0 -0
  391. package/dist/s-theme-demo/utils.d.ts +2 -0
  392. package/dist/s-theme-demo/utils.js +9 -0
  393. package/dist/s-theme-provider/index.d.ts +1 -0
  394. package/dist/s-theme-provider/s-theme-provider.js +30 -31
  395. package/dist/s-theme-switch/index.d.ts +2 -1
  396. package/dist/s-theme-switch/index.js +1 -1
  397. package/dist/s-theme-switch/s-theme-switch.d.ts +6 -4
  398. package/dist/s-theme-switch/s-theme-switch.js +2 -2
  399. package/dist/s-theme-switch-BLMz1_m2.js +60 -0
  400. package/dist/s-tip/index.d.ts +2 -1
  401. package/dist/s-tip/index.js +1 -1
  402. package/dist/s-tip/s-tip.d.ts +29 -11
  403. package/dist/s-tip/s-tip.js +1 -1
  404. package/dist/s-tip-ty41ePQm.js +62 -0
  405. package/dist/s-toggle-button/index.d.ts +2 -0
  406. package/dist/s-toggle-button/index.js +2 -0
  407. package/dist/s-toggle-button/s-toggle-button.d.ts +6 -0
  408. package/dist/s-toggle-button/s-toggle-button.js +5 -0
  409. package/dist/s-tool-bar/index.d.ts +2 -1
  410. package/dist/s-tool-bar/s-tool-bar.d.ts +2 -5
  411. package/dist/s-tool-bar/s-tool-bar.js +100 -71
  412. package/dist/s-tool-bar/tool-bar-action-buttons.d.ts +3 -3
  413. package/dist/s-tool-bar/tool-bar-action-buttons.js +1 -1
  414. package/dist/s-tool-bar/tool-bar-image-input.d.ts +2 -2
  415. package/dist/s-tool-bar/tool-bar-image-input.js +1 -1
  416. package/dist/s-tool-bar/tool-bar-inputs.js +140 -113
  417. package/dist/s-tool-bar/types.d.ts +45 -35
  418. package/dist/s-tool-bar/utils.d.ts +1 -0
  419. package/dist/s-tool-bar/utils.js +10 -7
  420. package/dist/s-tool-item/index.d.ts +2 -1
  421. package/dist/s-tool-item/s-tool-item.d.ts +35 -30
  422. package/dist/s-tool-item/s-tool-item.js +111 -56
  423. package/dist/s-two-pane-layout/index.d.ts +3 -1
  424. package/dist/s-two-pane-layout/s-two-pane-layout.d.ts +56 -50
  425. package/dist/s-two-pane-layout/s-two-pane-layout.js +157 -88
  426. package/dist/s-typewriter-text/index.d.ts +2 -1
  427. package/dist/s-typewriter-text/s-typewriter-text.d.ts +16 -5
  428. package/dist/s-typewriter-text/s-typewriter-text.js +50 -27
  429. package/dist/s-zoom-image/index.d.ts +2 -1
  430. package/dist/s-zoom-image/s-zoom-image.d.ts +14 -5
  431. package/dist/s-zoom-image/s-zoom-image.js +66 -44
  432. package/dist/{selectClasses-C-QpiLPi.js → selectClasses-DoUlWfzV.js} +2 -2
  433. package/dist/{styled-BTDmdi4c.js → styled-Bog8QCl3.js} +56 -57
  434. package/dist/{svgIconClasses-BtHvkhy5.js → svgIconClasses-C8D4AsMj.js} +2 -2
  435. package/dist/switchClasses-eiq1bkQN.js +23 -0
  436. package/dist/theme/component-augmentation.d.ts +265 -0
  437. package/dist/theme/component-augmentation.js +0 -0
  438. package/dist/theme/components/accordion-summary.d.ts +41 -38
  439. package/dist/theme/components/accordion-summary.js +7 -7
  440. package/dist/theme/components/accordion.d.ts +21 -13
  441. package/dist/theme/components/accordion.js +15 -12
  442. package/dist/theme/components/action-styles.d.ts +1075 -0
  443. package/dist/theme/components/action-styles.js +71 -0
  444. package/dist/theme/components/alert.d.ts +169 -140
  445. package/dist/theme/components/alert.js +15 -4
  446. package/dist/theme/components/app-bar.d.ts +2 -2
  447. package/dist/theme/components/autocomplete.js +1 -1
  448. package/dist/theme/components/avatar.js +1 -1
  449. package/dist/theme/components/backdrop.js +1 -1
  450. package/dist/theme/components/button-base.d.ts +0 -5
  451. package/dist/theme/components/button-base.js +1 -10
  452. package/dist/theme/components/button.d.ts +111 -5275
  453. package/dist/theme/components/button.js +58 -74
  454. package/dist/theme/components/card.d.ts +69 -69
  455. package/dist/theme/components/card.js +11 -10
  456. package/dist/theme/components/checkbox.d.ts +34 -34
  457. package/dist/theme/components/checkbox.js +1 -1
  458. package/dist/theme/components/chip.d.ts +1 -7
  459. package/dist/theme/components/chip.js +91 -67
  460. package/dist/theme/components/components.js +6 -6
  461. package/dist/theme/components/dialog-title.d.ts +2 -2
  462. package/dist/theme/components/field-label-styles.d.ts +9 -0
  463. package/dist/theme/components/field-label-styles.js +2 -0
  464. package/dist/theme/components/form-control.d.ts +1 -1
  465. package/dist/theme/components/form-control.js +1 -1
  466. package/dist/theme/components/form-label.d.ts +2 -2
  467. package/dist/theme/components/form-label.js +1 -1
  468. package/dist/theme/components/icon-button.d.ts +85 -5228
  469. package/dist/theme/components/icon-button.js +27 -47
  470. package/dist/theme/components/input-adornment.d.ts +2 -2
  471. package/dist/theme/components/linear-progress.d.ts +35 -35
  472. package/dist/theme/components/linear-progress.js +5 -6
  473. package/dist/theme/components/link.d.ts +2 -2
  474. package/dist/theme/components/link.js +7 -9
  475. package/dist/theme/components/list-item-button.d.ts +120 -46
  476. package/dist/theme/components/list-item-button.js +27 -20
  477. package/dist/theme/components/list-item.d.ts +61 -24
  478. package/dist/theme/components/list-item.js +3 -3
  479. package/dist/theme/components/list-subheader.d.ts +2 -2
  480. package/dist/theme/components/month-calendar.d.ts +1049 -6
  481. package/dist/theme/components/month-calendar.js +24 -15
  482. package/dist/theme/components/multi-section-digital-clock-section.d.ts +2 -0
  483. package/dist/theme/components/multi-section-digital-clock-section.js +15 -17
  484. package/dist/theme/components/outlined-input.d.ts +42 -8
  485. package/dist/theme/components/outlined-input.js +41 -30
  486. package/dist/theme/components/pagination-item.d.ts +1038 -1043
  487. package/dist/theme/components/pagination-item.js +21 -53
  488. package/dist/theme/components/pagination.js +2 -2
  489. package/dist/theme/components/picker-day.d.ts +1034 -5
  490. package/dist/theme/components/picker-day.js +11 -13
  491. package/dist/theme/components/pickers-calendar-header.d.ts +51 -19
  492. package/dist/theme/components/pickers-calendar-header.js +48 -25
  493. package/dist/theme/components/rating.d.ts +12 -0
  494. package/dist/theme/components/rating.js +4 -1
  495. package/dist/theme/components/select.js +2 -2
  496. package/dist/theme/components/slider.d.ts +4 -4
  497. package/dist/theme/components/step-icon.d.ts +34 -34
  498. package/dist/theme/components/step-icon.js +9 -10
  499. package/dist/theme/components/step-label.d.ts +36 -36
  500. package/dist/theme/components/switch.d.ts +36 -36
  501. package/dist/theme/components/switch.js +48 -2
  502. package/dist/theme/components/tab.d.ts +14 -1015
  503. package/dist/theme/components/tab.js +18 -17
  504. package/dist/theme/components/table-pagination.js +1 -1
  505. package/dist/theme/components/tabs.d.ts +20 -1030
  506. package/dist/theme/components/tabs.js +14 -14
  507. package/dist/theme/components/toggle-button-group.d.ts +1 -1013
  508. package/dist/theme/components/toggle-button-group.js +3 -1
  509. package/dist/theme/components/toggle-button.d.ts +1135 -1014
  510. package/dist/theme/components/toggle-button.js +1 -1
  511. package/dist/theme/components/year-calendar.d.ts +1051 -6
  512. package/dist/theme/components/year-calendar.js +37 -28
  513. package/dist/theme/optional-component-augmentations/s-carousel.d.ts +14 -0
  514. package/dist/theme/optional-component-augmentations/s-carousel.js +0 -0
  515. package/dist/theme/optional-component-augmentations/s-code-block.d.ts +14 -0
  516. package/dist/theme/optional-component-augmentations/s-code-block.js +0 -0
  517. package/dist/theme/optional-component-augmentations/s-date-picker.d.ts +14 -0
  518. package/dist/theme/optional-component-augmentations/s-date-picker.js +0 -0
  519. package/dist/theme/optional-component-augmentations/s-datetime-picker.d.ts +14 -0
  520. package/dist/theme/optional-component-augmentations/s-datetime-picker.js +0 -0
  521. package/dist/theme/optional-component-augmentations/s-file-dropzone.d.ts +14 -0
  522. package/dist/theme/optional-component-augmentations/s-file-dropzone.js +0 -0
  523. package/dist/theme/optional-component-augmentations/s-overlay-scrollbar.d.ts +14 -0
  524. package/dist/theme/optional-component-augmentations/s-overlay-scrollbar.js +0 -0
  525. package/dist/theme/optional-component-augmentations/s-scroll-reveal.d.ts +14 -0
  526. package/dist/theme/optional-component-augmentations/s-scroll-reveal.js +0 -0
  527. package/dist/theme/optional-component-augmentations/s-stripe.d.ts +14 -0
  528. package/dist/theme/optional-component-augmentations/s-stripe.js +0 -0
  529. package/dist/theme/optional-component-augmentations/s-text-editor.d.ts +18 -0
  530. package/dist/theme/optional-component-augmentations/s-text-editor.js +0 -0
  531. package/dist/theme/optional-component-augmentations/s-two-pane-layout.d.ts +14 -0
  532. package/dist/theme/optional-component-augmentations/s-two-pane-layout.js +0 -0
  533. package/dist/theme/theme-primitives.d.ts +51 -8
  534. package/dist/theme/theme-primitives.js +3 -2
  535. package/dist/theme-demo-components-section-gtIYRngY.js +267 -0
  536. package/dist/theme-primitives-Dt_DT9b5.js +255 -0
  537. package/dist/toggle-button-Cxi5CfXC.js +104 -0
  538. package/dist/{tool-bar-action-buttons-CSXNDen6.js → tool-bar-action-buttons-Dt-pV3GA.js} +7 -3
  539. package/dist/tool-bar-image-input-BXlll_hV.js +148 -0
  540. package/dist/{typographyClasses-CiDYRanL.js → typographyClasses-BLM3NmYd.js} +2 -2
  541. package/dist/{useControlled-BtZNCHV0.js → useControlled-BeB0W_Ui.js} +1 -1
  542. package/dist/useEnhancedEffect-Bc3gBClC.js +5 -0
  543. package/dist/useEventCallback-CVqMfiG_.js +14 -0
  544. package/dist/{useMobilePicker-CQA6fYLQ.js → useMobilePicker-C4UQFvkj.js} +3366 -5650
  545. package/dist/useSlot-iIu8ek6E.js +83 -0
  546. package/dist/useTheme-BIWMbX3i.js +9 -0
  547. package/dist/{useThemeProps-D4jtjo2I.js → useThemeProps-BI9yq95N.js} +2 -2
  548. package/dist/useThemeProps-Cr28OQu3.js +13 -0
  549. package/dist/utils/canvas-color.d.ts +7 -0
  550. package/dist/utils/canvas-color.js +62 -0
  551. package/dist/utils/index.d.ts +4 -0
  552. package/dist/utils/index.js +6 -3
  553. package/dist/utils/slots.d.ts +12 -0
  554. package/dist/utils/slots.js +6 -0
  555. package/dist/utils/sx.d.ts +11 -0
  556. package/dist/utils/sx.js +4 -0
  557. package/dist/{utils-CU6O7jrX.js → utils-oJyTAkZY.js} +6 -6
  558. package/dist/warning-CNkSZkq6.js +98 -0
  559. package/dist/{yearCalendarClasses-DypEe_Vn.js → yearCalendarClasses-CuAQumpz.js} +2 -2
  560. package/package.json +1 -1
  561. package/dist/Box-BlmynALm.js +0 -45
  562. package/dist/Collapse-JUd84Z9O.js +0 -261
  563. package/dist/FormControl-DsRIRfTs.js +0 -686
  564. package/dist/Modal-CLdC2-Th.js +0 -1027
  565. package/dist/Paper-CPC6sMxx.js +0 -133
  566. package/dist/Popover-ZneFWo2r.js +0 -333
  567. package/dist/checkbox-DC-OoGvh.js +0 -74
  568. package/dist/clsx-Bv8WXdlr.js +0 -34
  569. package/dist/createTheme-Bnw5w28O.js +0 -2506
  570. package/dist/defaultTheme-Bi3OTfLN.js +0 -5
  571. package/dist/hooks/use-is-passed-position.d.ts +0 -1
  572. package/dist/hooks/use-is-passed-position.js +0 -21
  573. package/dist/memoTheme-QMocAblm.js +0 -150
  574. package/dist/objectWithoutPropertiesLoose-kj3TmhoA.js +0 -12
  575. package/dist/outlinedInputClasses-DPwt_pSZ.js +0 -38
  576. package/dist/s-accordion-xPDelTvP.js +0 -453
  577. package/dist/s-chat-message-C-d9amiC.js +0 -270
  578. package/dist/s-chips-CAC_vVd0.js +0 -99
  579. package/dist/s-comment-message-Dum0P6de.js +0 -169
  580. package/dist/s-data-table-DfGYIIvn.js +0 -951
  581. package/dist/s-date-picker-C06rlE6_.js +0 -640
  582. package/dist/s-error/index.d.ts +0 -1
  583. package/dist/s-error/index.js +0 -2
  584. package/dist/s-error/s-error.d.ts +0 -6
  585. package/dist/s-error/s-error.js +0 -33
  586. package/dist/s-error-layout/index.d.ts +0 -2
  587. package/dist/s-error-layout/index.js +0 -2
  588. package/dist/s-error-layout/s-error-layout.d.ts +0 -58
  589. package/dist/s-error-layout/s-error-layout.js +0 -81
  590. package/dist/s-file-dropzone-C4_hCsN8.js +0 -139
  591. package/dist/s-image-modal/default-media-item.js +0 -34
  592. package/dist/s-image-modal/image-modal-thumbnail-dock.d.ts +0 -11
  593. package/dist/s-image-modal/image-modal-thumbnail-dock.js +0 -102
  594. package/dist/s-image-modal/index.d.ts +0 -3
  595. package/dist/s-image-modal/index.js +0 -3
  596. package/dist/s-image-modal/s-image-modal.d.ts +0 -4
  597. package/dist/s-image-modal/s-image-modal.js +0 -2
  598. package/dist/s-image-modal/use-image-modal-navigation.d.ts +0 -29
  599. package/dist/s-image-modal/use-image-modal-navigation.js +0 -57
  600. package/dist/s-image-modal-D-Jh-5b3.js +0 -243
  601. package/dist/s-item-not-found/index.d.ts +0 -2
  602. package/dist/s-item-not-found/index.js +0 -2
  603. package/dist/s-item-not-found/s-item-not-found.d.ts +0 -20
  604. package/dist/s-item-not-found/s-item-not-found.js +0 -243
  605. package/dist/s-language-switcher-B96dUknj.js +0 -192
  606. package/dist/s-review-CvTVBxTZ.js +0 -223
  607. package/dist/s-select-HMWY7frm.js +0 -149
  608. package/dist/s-text-editor-toolbar-ChtNCg2A.js +0 -2253
  609. package/dist/s-text-field-DD6nnwwU.js +0 -42
  610. package/dist/s-theme-demo-Bnv7lPIh.js +0 -867
  611. package/dist/s-theme-switch-DzXoVmQH.js +0 -37
  612. package/dist/s-tip-BOGEH1v8.js +0 -34
  613. package/dist/switch-BSg1TGWH.js +0 -62
  614. package/dist/tabClasses-CmFw6sbs.js +0 -20
  615. package/dist/theme-primitives-CiQYd9Cc.js +0 -431
  616. package/dist/toggle-button-TmtJ4nSp.js +0 -26
  617. package/dist/toggle-button-group-BCkdd3Jj.js +0 -26
  618. package/dist/tool-bar-image-input-IdA6l71Y.js +0 -138
  619. package/dist/useSlot-IwEDsR9t.js +0 -171
  620. package/dist/warning-CFMmJJnf.js +0 -111
  621. /package/dist/{createSimplePaletteValueFilter-5v48HHyU.js → createSimplePaletteValueFilter-C1gWywW_.js} +0 -0
  622. /package/dist/{generateUtilityClass-tRYNDrlH.js → generateUtilityClass-PAIOm1jC.js} +0 -0
  623. /package/dist/{s-image-modal → s-image-viewer}/types.js +0 -0
  624. /package/dist/{useControlled-DuSwFVhD.js → useControlled-C4QJnpiR.js} +0 -0
  625. /package/dist/{useEnhancedEffect-Dsu5K7-Z.js → useEnhancedEffect-DFq_FMGX.js} +0 -0
  626. /package/dist/{useForkRef-yOYCJHzF.js → useForkRef-CKneCEtr.js} +0 -0
  627. /package/dist/{useFormControl-CUs308br.js → useFormControl-iWLrn7Ek.js} +0 -0
  628. /package/dist/{utils-B5Rl6Zwv.js → utils-DaSrTYUS.js} +0 -0
@@ -1,12 +1,34 @@
1
- import { default as React } from 'react';
2
- import { SwitchProps } from '@mui/material';
3
- /**
4
- * Props interface for SSwitch component - extends Material-UI SwitchProps
5
- * but removes 'content' to avoid conflicts with our custom content prop
6
- */
7
- export interface SSwitchProps extends Omit<SwitchProps, 'content'> {
8
- /** Content displayed as a clickable label next to the switch */
9
- content?: string | React.ReactNode;
10
- }
11
- export declare const SSwitch: React.ForwardRefExoticComponent<Omit<SSwitchProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1
+ import { FormControlLabelProps } from '@mui/material/FormControlLabel';
2
+ import { SwitchProps } from '@mui/material/Switch';
3
+ import { OwnerStateSlotProps as MuiOwnerStateSlotProps } from '../utils/slots';
4
+ import * as React from 'react';
5
+ export interface SSwitchOwnerState {
6
+ disabled: boolean;
7
+ labelPlacement: NonNullable<FormControlLabelProps['labelPlacement']>;
8
+ required: boolean;
9
+ }
10
+ type OwnerStateSlotProps<Props> = MuiOwnerStateSlotProps<Props, SSwitchOwnerState>;
11
+ type ManagedControlProps = 'checked' | 'disabled' | 'inputRef' | 'name' | 'onChange' | 'required' | 'value';
12
+ export interface SSwitchSlots {
13
+ /** Component used for the switch control. */
14
+ control?: React.ElementType;
15
+ /** Component used for the label text. */
16
+ typography?: React.ElementType;
17
+ }
18
+ export interface SSwitchSlotProps {
19
+ /** Props for the switch control. State managed by FormControlLabel stays on the root. */
20
+ control?: OwnerStateSlotProps<Omit<SwitchProps, ManagedControlProps>>;
21
+ /** Props forwarded to FormControlLabel's typography slot. */
22
+ typography?: NonNullable<FormControlLabelProps['slotProps']>['typography'];
23
+ }
24
+ /** A labelled MUI Switch composition with FormControlLabel-compatible root props. */
25
+ export interface SSwitchProps extends Omit<FormControlLabelProps, 'control' | 'label' | 'slots' | 'slotProps'> {
26
+ /** Visible, clickable label for the switch. */
27
+ label: React.ReactNode;
28
+ /** Components used for the control and typography slots. */
29
+ slots?: SSwitchSlots;
30
+ /** Props or owner-state callbacks for the component slots. */
31
+ slotProps?: SSwitchSlotProps;
32
+ }
33
+ export declare const SSwitch: React.ForwardRefExoticComponent<Omit<SSwitchProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
12
34
  export default SSwitch;
@@ -1,38 +1,2 @@
1
- import { forwardRef as e, useId as t } from "react";
2
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
3
- import { Box as i, Stack as a, Switch as o, Typography as s } from "@mui/material";
4
- //#region lib/s-switch/s-switch.tsx
5
- var c = e(({ content: e, disabled: c, ...l }, u) => {
6
- let d = t(), f = l.id ?? d, p = {
7
- color: c ? "text.disabled" : "inherit",
8
- cursor: c ? "not-allowed" : "pointer",
9
- userSelect: "none"
10
- };
11
- return /* @__PURE__ */ r(a, {
12
- direction: "row",
13
- sx: {
14
- alignItems: "center",
15
- display: "flex",
16
- justifyContent: "space-between"
17
- },
18
- children: [e && /* @__PURE__ */ n("label", {
19
- htmlFor: f,
20
- children: typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ n(s, {
21
- sx: p,
22
- children: e
23
- }) : /* @__PURE__ */ n(i, {
24
- component: "span",
25
- sx: p,
26
- children: e
27
- })
28
- }), /* @__PURE__ */ n(o, {
29
- ref: u,
30
- ...l,
31
- disabled: c,
32
- id: f
33
- })]
34
- });
35
- });
36
- c.displayName = "SSwitch";
37
- //#endregion
38
- export { c as SSwitch, c as default };
1
+ import { t as e } from "../s-switch-B8bZAzLh.js";
2
+ export { e as SSwitch, e as default };
@@ -0,0 +1,307 @@
1
+ import { n as e } from "./chunk-C_CI6nMA.js";
2
+ import { t } from "./prop-types-BzYPyWN7.js";
3
+ import { r as n, t as r } from "./DefaultPropsProvider-ebWx4_5E.js";
4
+ import { t as i } from "./clsx-DGZSe4Nt.js";
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";
16
+ import * as v from "react";
17
+ import { jsx as y, jsxs as b } from "react/jsx-runtime";
18
+ //#region ../../node_modules/@mui/material/Switch/Switch.mjs
19
+ var x = /* @__PURE__ */ e(t(), 1), S = (e) => {
20
+ let { classes: t, edge: r, size: i, color: a, checked: o, disabled: s } = e, c = n({
21
+ root: [
22
+ "root",
23
+ r && `edge${u(r)}`,
24
+ `size${u(i)}`
25
+ ],
26
+ switchBase: [
27
+ "switchBase",
28
+ `color${u(a)}`,
29
+ o && "checked",
30
+ s && "disabled"
31
+ ],
32
+ thumb: ["thumb"],
33
+ track: ["track"],
34
+ input: ["input"]
35
+ }, h, t);
36
+ return {
37
+ ...t,
38
+ ...c
39
+ };
40
+ }, C = a("span", {
41
+ name: "MuiSwitch",
42
+ slot: "Root",
43
+ overridesResolver: (e, t) => {
44
+ let { ownerState: n } = e;
45
+ return [
46
+ t.root,
47
+ n.edge && t[`edge${u(n.edge)}`],
48
+ t[`size${u(n.size)}`]
49
+ ];
50
+ }
51
+ })({
52
+ display: "inline-flex",
53
+ width: 58,
54
+ height: 38,
55
+ overflow: "hidden",
56
+ padding: 12,
57
+ boxSizing: "border-box",
58
+ position: "relative",
59
+ flexShrink: 0,
60
+ zIndex: 0,
61
+ verticalAlign: "middle",
62
+ "@media print": { colorAdjust: "exact" },
63
+ variants: [
64
+ {
65
+ props: { edge: "start" },
66
+ style: { marginLeft: -8 }
67
+ },
68
+ {
69
+ props: { edge: "end" },
70
+ style: { marginRight: -8 }
71
+ },
72
+ {
73
+ props: { size: "small" },
74
+ style: {
75
+ width: 40,
76
+ height: 24,
77
+ padding: 7,
78
+ [`& .${m.thumb}`]: {
79
+ width: 16,
80
+ height: 16
81
+ },
82
+ [`& .${m.switchBase}`]: {
83
+ padding: 4,
84
+ [`&.${m.checked}`]: { transform: "translateX(16px)" }
85
+ }
86
+ }
87
+ }
88
+ ]
89
+ }), w = a(p, {
90
+ name: "MuiSwitch",
91
+ slot: "SwitchBase",
92
+ overridesResolver: (e, t) => {
93
+ let { ownerState: n } = e;
94
+ return [
95
+ t.switchBase,
96
+ { [`& .${m.input}`]: t.input },
97
+ n.color !== "default" && t[`color${u(n.color)}`]
98
+ ];
99
+ }
100
+ })(o(({ theme: e }) => ({
101
+ position: "absolute",
102
+ top: 0,
103
+ left: 0,
104
+ zIndex: 1,
105
+ color: e.vars ? e.vars.palette.Switch.defaultColor : `${e.palette.mode === "light" ? e.palette.common.white : e.palette.grey[300]}`,
106
+ transition: e.transitions.create(["left", "transform"], { duration: e.transitions.duration.shortest }),
107
+ [`&.${m.checked}`]: { transform: "translateX(20px)" },
108
+ [`&.${m.disabled}`]: { color: e.vars ? e.vars.palette.Switch.defaultDisabledColor : `${e.palette.mode === "light" ? e.palette.grey[100] : e.palette.grey[600]}` },
109
+ [`&.${m.checked} + .${m.track}`]: { opacity: .5 },
110
+ [`&.${m.disabled} + .${m.track}`]: { opacity: e.vars ? e.vars.opacity.switchTrackDisabled : `${e.palette.mode === "light" ? .12 : .2}` },
111
+ [`& .${m.input}`]: {
112
+ left: "-100%",
113
+ width: "300%"
114
+ }
115
+ })), o(({ theme: e }) => ({
116
+ "&:hover": {
117
+ backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity),
118
+ "@media (hover: none)": { backgroundColor: "transparent" }
119
+ },
120
+ variants: [...Object.entries(e.palette).filter(d(["light"])).map(([t]) => ({
121
+ props: { color: t },
122
+ style: {
123
+ [`&.${m.checked}`]: {
124
+ color: (e.vars || e).palette[t].main,
125
+ "&:hover": {
126
+ backgroundColor: e.alpha((e.vars || e).palette[t].main, (e.vars || e).palette.action.hoverOpacity),
127
+ "@media (hover: none)": { backgroundColor: "transparent" }
128
+ },
129
+ [`&.${m.disabled}`]: { color: e.vars ? e.vars.palette.Switch[`${t}DisabledColor`] : `${e.palette.mode === "light" ? e.lighten(e.palette[t].main, .62) : e.darken(e.palette[t].main, .55)}` }
130
+ },
131
+ [`&.${m.checked} + .${m.track}`]: { backgroundColor: (e.vars || e).palette[t].main }
132
+ }
133
+ }))]
134
+ }))), T = a("span", {
135
+ name: "MuiSwitch",
136
+ slot: "Track"
137
+ })(o(({ theme: e }) => ({
138
+ height: "100%",
139
+ width: "100%",
140
+ borderRadius: 14 / 2,
141
+ zIndex: -1,
142
+ transition: e.transitions.create(["opacity", "background-color"], { duration: e.transitions.duration.shortest }),
143
+ "@media (forced-colors: active)": {
144
+ boxSizing: "border-box",
145
+ border: "1px solid ButtonBorder"
146
+ },
147
+ backgroundColor: e.vars ? e.vars.palette.common.onBackground : `${e.palette.mode === "light" ? e.palette.common.black : e.palette.common.white}`,
148
+ opacity: e.vars ? e.vars.opacity.switchTrack : `${e.palette.mode === "light" ? .38 : .3}`
149
+ }))), E = a("span", {
150
+ name: "MuiSwitch",
151
+ slot: "Thumb"
152
+ })(o(({ theme: e }) => ({
153
+ boxShadow: (e.vars || e).shadows[1],
154
+ backgroundColor: "currentColor",
155
+ boxSizing: "border-box",
156
+ border: "1px solid transparent",
157
+ width: 20,
158
+ height: 20,
159
+ borderRadius: "50%"
160
+ }))), D = /* @__PURE__ */ v.forwardRef(function(e, t) {
161
+ let n = r({
162
+ props: e,
163
+ name: "MuiSwitch"
164
+ }), { className: a, color: o = "primary", edge: s = !1, size: c = "medium", sx: u, slots: d = {}, slotProps: p = {}, ...m } = n, h = {
165
+ ...n,
166
+ color: o,
167
+ edge: s,
168
+ size: c
169
+ }, g = S(h), _ = p.input, v = {
170
+ slots: d,
171
+ slotProps: p
172
+ }, [x, D] = l("root", {
173
+ className: i(g.root, a),
174
+ elementType: C,
175
+ externalForwardedProps: v,
176
+ ownerState: h,
177
+ additionalProps: { sx: u }
178
+ }), [O, k] = l("thumb", {
179
+ className: g.thumb,
180
+ elementType: E,
181
+ externalForwardedProps: v,
182
+ ownerState: h
183
+ }), A = /* @__PURE__ */ y(O, { ...k }), [j, M] = l("track", {
184
+ className: g.track,
185
+ elementType: T,
186
+ externalForwardedProps: v,
187
+ ownerState: h
188
+ });
189
+ return /* @__PURE__ */ b(x, {
190
+ ...D,
191
+ children: [/* @__PURE__ */ y(w, {
192
+ type: "checkbox",
193
+ icon: A,
194
+ checkedIcon: A,
195
+ ref: t,
196
+ ownerState: h,
197
+ ...m,
198
+ classes: {
199
+ ...g,
200
+ root: g.switchBase
201
+ },
202
+ slots: {
203
+ ...d.switchBase && { root: d.switchBase },
204
+ ...d.input && { input: d.input }
205
+ },
206
+ slotProps: {
207
+ ...p.switchBase && { root: typeof p.switchBase == "function" ? p.switchBase(h) : p.switchBase },
208
+ input: f(typeof _ == "function" ? _(h) : _, { role: "switch" })
209
+ }
210
+ }), /* @__PURE__ */ y(j, { ...M })]
211
+ });
212
+ });
213
+ process.env.NODE_ENV !== "production" && (D.propTypes = {
214
+ checked: x.default.bool,
215
+ checkedIcon: x.default.node,
216
+ classes: x.default.object,
217
+ className: x.default.string,
218
+ color: x.default.oneOfType([x.default.oneOf([
219
+ "default",
220
+ "primary",
221
+ "secondary",
222
+ "error",
223
+ "info",
224
+ "success",
225
+ "warning"
226
+ ]), x.default.string]),
227
+ defaultChecked: x.default.bool,
228
+ disabled: x.default.bool,
229
+ disableRipple: x.default.bool,
230
+ edge: x.default.oneOf([
231
+ "end",
232
+ "start",
233
+ !1
234
+ ]),
235
+ icon: x.default.node,
236
+ id: x.default.string,
237
+ onChange: x.default.func,
238
+ required: x.default.bool,
239
+ size: x.default.oneOfType([x.default.oneOf(["medium", "small"]), x.default.string]),
240
+ slotProps: x.default.shape({
241
+ input: x.default.oneOfType([x.default.func, x.default.object]),
242
+ root: x.default.oneOfType([x.default.func, x.default.object]),
243
+ switchBase: x.default.oneOfType([x.default.func, x.default.object]),
244
+ thumb: x.default.oneOfType([x.default.func, x.default.object]),
245
+ track: x.default.oneOfType([x.default.func, x.default.object])
246
+ }),
247
+ slots: x.default.shape({
248
+ input: x.default.elementType,
249
+ root: x.default.elementType,
250
+ switchBase: x.default.elementType,
251
+ thumb: x.default.elementType,
252
+ track: x.default.elementType
253
+ }),
254
+ sx: x.default.oneOfType([
255
+ x.default.arrayOf(x.default.oneOfType([
256
+ x.default.func,
257
+ x.default.object,
258
+ x.default.bool
259
+ ])),
260
+ x.default.func,
261
+ x.default.object
262
+ ]),
263
+ value: x.default.any
264
+ });
265
+ //#endregion
266
+ //#region lib/s-switch/s-switch.tsx
267
+ var O = a(_, {
268
+ name: "SSwitch",
269
+ slot: "Root",
270
+ shouldForwardProp: (e) => e !== "ownerState"
271
+ })(({ theme: e }) => ({
272
+ display: "flex",
273
+ justifyContent: "space-between",
274
+ margin: 0,
275
+ userSelect: "none",
276
+ [`&&.${g.disabled}`]: { cursor: "not-allowed" },
277
+ [`&& .${g.label}.${g.disabled}`]: { color: (e.vars ?? e).palette.text.disabled }
278
+ }));
279
+ function k(e, t) {
280
+ return typeof e == "function" ? e(t) : e;
281
+ }
282
+ var A = v.forwardRef(function(e, t) {
283
+ let n = s({
284
+ props: e,
285
+ name: "SSwitch"
286
+ }), { disabled: r = !1, label: i, labelPlacement: a = "start", required: o = !1, slotProps: l, slots: u, ...d } = n, f = {
287
+ ...n,
288
+ disabled: r,
289
+ labelPlacement: a,
290
+ required: o
291
+ }, p = u?.control ?? D, m = k(l?.control, f), h = c(u?.control, m ?? {}, f);
292
+ return /* @__PURE__ */ y(O, {
293
+ ...d,
294
+ control: /* @__PURE__ */ y(p, { ...h }),
295
+ disabled: r,
296
+ label: i,
297
+ labelPlacement: a,
298
+ ownerState: f,
299
+ ref: t,
300
+ required: o,
301
+ slots: u?.typography ? { typography: u.typography } : void 0,
302
+ slotProps: l?.typography ? { typography: l.typography } : void 0
303
+ });
304
+ });
305
+ A.displayName = "SSwitch";
306
+ //#endregion
307
+ export { A as t };
@@ -1,6 +1,8 @@
1
- export { default as STabs } from './s-tabs';
2
- export type { STabsProps, STabItem } from './s-tabs';
1
+ export { default, default as STabs } from './s-tabs';
2
+ export type { STabItem, STabOwnerState, STabsOwnerState, STabsProps, STabsSlotProps, STabsSlots, STabValue, } from './s-tabs';
3
3
  export { default as STab } from './s-tab';
4
4
  export type { STabProps } from './s-tab';
5
5
  export { default as STabPanel } from './s-tab-panel';
6
- export type { STabPanelProps } from './s-tab-panel';
6
+ export type { STabPanelOwnerState, STabPanelProps } from './s-tab-panel';
7
+ export { getTabId, getTabPanelId } from './tab-ids';
8
+ export type {} from '../theme/component-augmentation';
@@ -1,4 +1,5 @@
1
- import { STabs as e } from "./s-tabs.js";
2
- import t from "./s-tab.js";
3
- import { STabPanel as n } from "./s-tab-panel.js";
4
- export { t as STab, n as STabPanel, e as STabs };
1
+ import { getTabId as e, getTabPanelId as t } from "./tab-ids.js";
2
+ import { STabs as n } from "./s-tabs.js";
3
+ import { STab as r } from "./s-tab.js";
4
+ import { STabPanel as i } from "./s-tab-panel.js";
5
+ export { r as STab, i as STabPanel, n as STabs, n as default, e as getTabId, t as getTabPanelId };
@@ -1,17 +1,19 @@
1
- import { default as React } from 'react';
2
1
  import { BoxProps } from '@mui/material';
3
- /**
4
- * Props interface for STabPanel component
5
- */
6
- export interface STabPanelProps extends BoxProps {
7
- /** Content to display in the tab panel */
2
+ import * as React from 'react';
3
+ export interface STabPanelProps extends Omit<BoxProps, 'component'> {
4
+ /** Content displayed by the panel. */
8
5
  children?: React.ReactNode;
9
- /** Index (or value) of this specific tab panel */
6
+ /** Value represented by this panel. */
10
7
  index: number | string;
11
- /** Current active tab index (or value) from the parent tabs component */
12
- value: number | string;
13
- /** Keep the panel mounted in the DOM when not active */
8
+ /** Shared ID prefix used by the related STabs instance. */
9
+ idPrefix: string;
10
+ /** Keep the panel content mounted while inactive. */
14
11
  keepMounted?: boolean;
12
+ /** Current selected value. */
13
+ value: number | string;
15
14
  }
15
+ export type STabPanelOwnerState = STabPanelProps & {
16
+ active: boolean;
17
+ };
16
18
  export declare const STabPanel: React.ForwardRefExoticComponent<Omit<STabPanelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
19
  export default STabPanel;
@@ -1,23 +1,30 @@
1
- import { forwardRef as e } from "react";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { Box as n } from "@mui/material";
1
+ import { getTabId as e, getTabPanelId as t } from "./tab-ids.js";
2
+ import * as n from "react";
3
+ import { jsx as r } from "react/jsx-runtime";
4
+ import { Box as i, styled as a, useThemeProps as o } from "@mui/material";
4
5
  //#region lib/s-tabs/s-tab-panel.tsx
5
- var r = e(({ children: e, value: r, index: i, keepMounted: a = !1, sx: o, ...s }, c) => {
6
- let l = r === i;
7
- return l || a ? /* @__PURE__ */ t(n, {
8
- ref: c,
6
+ var s = a(i, {
7
+ name: "STabPanel",
8
+ slot: "Root"
9
+ })({}), c = n.forwardRef(function(n, i) {
10
+ let a = o({
11
+ props: n,
12
+ name: "STabPanel"
13
+ }), { children: c, value: l, index: u, idPrefix: d, keepMounted: f = !1, id: p = t(d, u), ...m } = a, h = l === u, g = {
14
+ ...a,
15
+ active: h
16
+ };
17
+ return /* @__PURE__ */ r(s, {
18
+ ...m,
19
+ ref: i,
9
20
  role: "tabpanel",
10
- hidden: !l,
11
- id: `tabpanel-${i}`,
12
- "aria-labelledby": `tab-${i}`,
13
- sx: {
14
- ...o,
15
- display: l ? "block" : "none"
16
- },
17
- ...s,
18
- children: e
19
- }) : null;
21
+ hidden: !h,
22
+ id: p,
23
+ "aria-labelledby": e(d, u),
24
+ ownerState: g,
25
+ children: (f || h) && c
26
+ });
20
27
  });
21
- r.displayName = "STabPanel";
28
+ c.displayName = "STabPanel";
22
29
  //#endregion
23
- export { r as STabPanel, r as default };
30
+ export { c as STabPanel, c as default };
@@ -1,5 +1,6 @@
1
- import { default as React } from 'react';
2
1
  import { TabProps } from '@mui/material';
2
+ /** Exact MUI Tab props, including polymorphic `component` support. */
3
3
  export type STabProps = TabProps;
4
- declare const STab: React.ForwardRefExoticComponent<Omit<STabProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ /** SoloStylist export of the unmodified MUI Tab contract. */
5
+ export declare const STab: import('@mui/material').ExtendButtonBase<import('@mui/material').TabTypeMap<{}, "div">>;
5
6
  export default STab;
@@ -1,11 +1,5 @@
1
- import { forwardRef as e } from "react";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { Tab as n } from "@mui/material";
1
+ import { Tab as e } from "@mui/material";
4
2
  //#region lib/s-tabs/s-tab.tsx
5
- var r = e((e, r) => /* @__PURE__ */ t(n, {
6
- ref: r,
7
- ...e
8
- }));
9
- r.displayName = "STab";
3
+ var t = e;
10
4
  //#endregion
11
- export { r as default };
5
+ export { t as STab, t as default };
@@ -1,38 +1,52 @@
1
- import { default as React } from 'react';
2
1
  import { BoxProps, TabProps, TabsProps } from '@mui/material';
3
- /**
4
- * Props interface for STabs component
5
- */
6
- export interface STabsProps extends Omit<TabsProps, 'children'> {
7
- /** Array of tab configuration objects defining the tabs to display */
8
- tabs: STabItem[];
9
- /** Index of the currently active tab. Set to false for uncontrolled mode */
10
- activeTab?: number | string | false;
11
- /** Callback function called when a tab is selected */
12
- onTabChange?: (event: React.SyntheticEvent, value: number | string) => void;
13
- /** Tab panel content. Children are matched to tabs by index */
14
- children?: React.ReactNode;
15
- /** Additional props passed to the tab panel wrapper Box component */
16
- tabPanelProps?: BoxProps;
17
- }
18
- /**
19
- * Configuration object interface for individual tabs in STabs
20
- */
21
- export interface STabItem {
22
- /** The content displayed in the tab */
2
+ import { OwnerStateSlotProps as MuiOwnerStateSlotProps } from '../utils/slots';
3
+ import * as React from 'react';
4
+ export type STabValue = number | string | false;
5
+ export interface STabItem extends Omit<TabProps, 'aria-controls' | 'id' | 'label' | 'value'> {
6
+ /** The content displayed in the tab. */
23
7
  label: React.ReactNode;
24
- /** Custom value for the tab. If not provided, uses the tab index */
8
+ /** Stable value for controlled selection. Defaults to the item index. */
25
9
  value?: number | string;
26
- /** Whether the tab is disabled and cannot be selected */
27
- disabled?: boolean;
28
- /** Icon element to display in the tab */
29
- icon?: React.ReactElement;
30
- /** Position of the icon relative to the label */
31
- iconPosition?: 'start' | 'end' | 'top' | 'bottom';
32
- /** Whether the tab label should wrap to multiple lines */
33
- wrapped?: boolean;
34
- /** Additional props passed to the underlying Material-UI Tab component */
35
- tabProps?: Omit<TabProps, 'label' | 'value' | 'disabled' | 'icon' | 'iconPosition' | 'wrapped'>;
10
+ }
11
+ export type STabsOwnerState = STabsProps & {
12
+ activeIndex: number;
13
+ orientation: NonNullable<TabsProps['orientation']>;
14
+ value: STabValue;
15
+ };
16
+ export interface STabOwnerState extends STabsOwnerState {
17
+ index: number;
18
+ item: STabItem;
19
+ }
20
+ type SlotProps<Props, OwnerState> = MuiOwnerStateSlotProps<Props, OwnerState>;
21
+ export interface STabsSlots {
22
+ list?: React.ElementType;
23
+ panel?: React.ElementType;
24
+ root?: React.ElementType;
25
+ tab?: React.ElementType;
26
+ }
27
+ export interface STabsSlotProps {
28
+ list?: SlotProps<Omit<TabsProps, 'children' | 'onChange' | 'orientation' | 'value'>, STabsOwnerState>;
29
+ panel?: SlotProps<Omit<BoxProps, 'aria-labelledby' | 'component' | 'id' | 'role'>, STabsOwnerState>;
30
+ root?: SlotProps<Omit<BoxProps, 'component'>, STabsOwnerState>;
31
+ tab?: SlotProps<Omit<TabProps, 'aria-controls' | 'id' | 'label' | 'value'>, STabOwnerState>;
32
+ }
33
+ export interface STabsProps extends Omit<BoxProps, 'children' | 'component' | 'defaultValue' | 'onChange' | 'value'> {
34
+ /** Tab panel content matched to tab items by index. */
35
+ children?: React.ReactNode;
36
+ /** Initial value for uncontrolled usage. */
37
+ defaultValue?: STabValue;
38
+ /** Tabs orientation. */
39
+ orientation?: TabsProps['orientation'];
40
+ /** Called when the selected tab changes. */
41
+ onChange?: (event: React.SyntheticEvent, value: STabValue) => void;
42
+ /** Components used for each structural slot. */
43
+ slots?: STabsSlots;
44
+ /** Props or owner-state callbacks for each structural slot. */
45
+ slotProps?: STabsSlotProps;
46
+ /** Tab definitions. Standard MUI Tab props are accepted directly on each item. */
47
+ tabs: STabItem[];
48
+ /** Current value for controlled usage. */
49
+ value?: STabValue;
36
50
  }
37
51
  export declare const STabs: React.ForwardRefExoticComponent<Omit<STabsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
38
52
  export default STabs;