@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,8 +1,11 @@
1
- import { forwardRef as e, useCallback as t, useEffect as n, useRef as r } from "react";
2
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
3
- import { useTheme as o } from "@mui/material";
1
+ import { toSxArray as e } from "../utils/sx.js";
2
+ import { resolveCanvasColor as t } from "../utils/canvas-color.js";
3
+ import { t as n } from "../useForkRef-CKneCEtr.js";
4
+ import { forwardRef as r, useCallback as i, useEffect as a, useRef as o } from "react";
5
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
6
+ import { Box as l, styled as u, useMediaQuery as d, useTheme as f, useThemeProps as p } from "@mui/material";
4
7
  //#region lib/s-pixel-reveal/s-pixel-reveal.tsx
5
- var s = class {
8
+ var m = class {
6
9
  x;
7
10
  y;
8
11
  color;
@@ -41,111 +44,146 @@ var s = class {
41
44
  let n = (t - this.size) * .5;
42
45
  e.fillRect(this.x + n, this.y + n, this.size, this.size);
43
46
  }
44
- };
45
- function c({ x: e, y: t, gap: n, logicalWidth: r, logicalHeight: i, instant: a, reducedMotion: o, getDistanceSq: s }) {
47
+ }, h = u(l, {
48
+ name: "SPixelReveal",
49
+ slot: "Root"
50
+ })({});
51
+ function g({ x: e, y: t, gap: n, logicalWidth: r, logicalHeight: i, instant: a, reducedMotion: o, getDistanceSq: s }) {
46
52
  if (a || o) return 0;
47
53
  let c = e + n / 2, l = t + n / 2, u = r / 2, d = i / 2;
48
54
  return Math.sqrt(s(c, l, u, d));
49
55
  }
50
- function l(e, t) {
51
- let n = /^var\((--[^),\s]+)\s*(?:,\s*([^)]+))?\)$/.exec(e.trim());
52
- return n && (getComputedStyle(t).getPropertyValue(n[1]).trim() || n[2]?.trim()) || e;
53
- }
54
- function u(e, t, n) {
56
+ function _(e, t, n) {
55
57
  e.has(t) || e.set(t, []), e.get(t)?.push(n);
56
58
  }
57
- var d = e(({ gap: e = 5, speed: d = 100, colors: f, loading: p = !0, src: m, alt: h = "", style: g, children: _, instant: v = !0, ...y }, b) => {
58
- let x = o(), S = r(null), C = r(null), w = r(null), T = r(/* @__PURE__ */ new Map()), E = r(null), D = r(1e3 / 60), O = r(0), k = r(!1);
59
- n(() => {
60
- k.current = typeof window < "u" ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1;
61
- }, []);
62
- let A = t((e, t, n, r) => {
59
+ var v = r(function(r, l) {
60
+ let u = p({
61
+ props: r,
62
+ name: "SPixelReveal"
63
+ }), { alt: v = "", children: y, colors: b, gap: x = 5, instant: S = !0, loading: C = !0, speed: w = 100, src: T, style: E, sx: D, ...O } = u, k = Number.isFinite(x) && x > 0 ? x : 5, A = f(), j = o(null), M = o(null), N = o(null), P = o(/* @__PURE__ */ new Map()), F = o(null), I = o(null), L = o(1e3 / 60), R = o(0), z = o(C), B = d("(prefers-reduced-motion: reduce)", { noSsr: !0 }), V = n(M, l), H = {
64
+ ...u,
65
+ alt: v,
66
+ gap: k,
67
+ hasImage: !!T,
68
+ instant: S,
69
+ loading: C,
70
+ speed: w,
71
+ src: T
72
+ };
73
+ z.current = C;
74
+ let U = i((e, t, n, r) => {
63
75
  let i = e - n, a = t - r;
64
76
  return i * i + a * a;
65
- }, []), j = t((t, n, r) => {
66
- E.current && cancelAnimationFrame(E.current), O.current = performance.now();
67
- let i = () => {
68
- E.current = requestAnimationFrame(i);
69
- let a = performance.now(), o = a - O.current;
70
- if (o < D.current) return;
71
- O.current = a - o % D.current, t.clearRect(0, 0, n, r);
72
- let s = !1;
73
- T.current.forEach((n, r) => {
74
- t.fillStyle = r;
75
- for (let r of n) {
76
- if (p) {
77
- r.updateWhileLoading(), r.draw(t, e), s = !0;
77
+ }, []), W = i((e, t, n) => {
78
+ F.current !== null && cancelAnimationFrame(F.current), R.current = performance.now();
79
+ let r = () => {
80
+ F.current = requestAnimationFrame(r);
81
+ let i = performance.now(), a = i - R.current;
82
+ if (a < L.current) return;
83
+ R.current = i - a % L.current, e.clearRect(0, 0, t, n);
84
+ let o = !1;
85
+ P.current.forEach((t, n) => {
86
+ e.fillStyle = n;
87
+ for (let n of t) {
88
+ if (z.current) {
89
+ n.updateWhileLoading(), n.draw(e, k), o = !0;
78
90
  continue;
79
91
  }
80
- r.updateWhileIdle() && (r.draw(t, e), s = !0);
92
+ n.updateWhileIdle() && (n.draw(e, k), o = !0);
81
93
  }
82
- }), !p && !s && E.current && (cancelAnimationFrame(E.current), E.current = null);
94
+ }), !z.current && !o && F.current !== null && (cancelAnimationFrame(F.current), F.current = null);
83
95
  };
84
- i();
85
- }, [p, e]), M = t(() => {
86
- let t = S.current, n = t?.getContext("2d");
87
- if (!t || !n) return;
88
- T.current = /* @__PURE__ */ new Map();
89
- let r = k.current ? 0 : Math.max(0, Math.min(100, d)) * .001, i = (x.vars ?? x).palette, a = (f ?? [
96
+ r();
97
+ }, [k]), G = i((e, t, n) => {
98
+ e.clearRect(0, 0, t, n), z.current && P.current.forEach((t, n) => {
99
+ e.fillStyle = n;
100
+ for (let n of t) n.size = n.maxSize, n.draw(e, k);
101
+ });
102
+ }, [k]), K = i(() => {
103
+ let e = j.current, n = e?.getContext("2d");
104
+ if (!e || !n) return;
105
+ P.current = /* @__PURE__ */ new Map();
106
+ let r = Math.max(0, Math.min(100, w)) * .001, i = (A.vars ?? A).palette, a = (b ?? [
90
107
  i.primary[400],
91
108
  i.primary[500],
92
109
  i.primary[600]
93
- ]).map((e) => l(e, t)), o = window.devicePixelRatio ?? 1, p = t.width / o, m = t.height / o, h = .5, g = (p + m) * .01, _ = p % e / 2, y = m % e / 2;
94
- for (let t = _; t < p; t += e) for (let n = y; n < m; n += e) {
95
- let i = a[Math.floor(Math.random() * a.length)], o = c({
96
- x: t,
97
- y: n,
98
- gap: e,
99
- logicalWidth: p,
100
- logicalHeight: m,
101
- instant: v,
102
- reducedMotion: k.current,
103
- getDistanceSq: A
104
- }), l = Math.random() * 4 + g, d = Math.random() * (2 - h) + h;
105
- u(T.current, i, new s(t, n, i, r, o, l, d));
110
+ ]).map((n) => t(n, e)), o = window.devicePixelRatio ?? 1, s = e.width / o, c = e.height / o, l = .5, u = (s + c) * .01, d = s % k / 2, f = c % k / 2;
111
+ for (let e = d; e < s; e += k) for (let t = f; t < c; t += k) {
112
+ let n = a[Math.floor(Math.random() * a.length)], i = g({
113
+ x: e,
114
+ y: t,
115
+ gap: k,
116
+ logicalWidth: s,
117
+ logicalHeight: c,
118
+ instant: S,
119
+ reducedMotion: B,
120
+ getDistanceSq: U
121
+ }), o = Math.random() * 4 + u, d = Math.random() * (2 - l) + l;
122
+ _(P.current, n, new m(e, t, n, r, i, o, d));
106
123
  }
107
- j(n, p, m);
124
+ if (B) {
125
+ G(n, s, c);
126
+ return;
127
+ }
128
+ W(n, s, c);
108
129
  }, [
109
- e,
110
- d,
111
- f,
112
- x,
113
- v,
130
+ k,
131
+ w,
132
+ b,
114
133
  A,
115
- j
116
- ]), N = t(() => {
117
- let e = S.current, t = C.current, n = e?.getContext("2d");
134
+ S,
135
+ B,
136
+ U,
137
+ G,
138
+ W
139
+ ]), q = i(() => {
140
+ let e = j.current, t = M.current, n = e?.getContext("2d");
118
141
  if (!e || !t || !n) return;
119
142
  let r = t.getBoundingClientRect();
120
143
  if (r.width === 0 || r.height === 0) return;
121
144
  let i = Math.floor(r.width), a = Math.floor(r.height), o = window.devicePixelRatio ?? 1;
122
- e.width = i * o, e.height = a * o, e.style.width = `${i}px`, e.style.height = `${a}px`, n.setTransform(1, 0, 0, 1, 0, 0), n.scale(o, o), M();
123
- }, [M]);
124
- return n(() => {
125
- N();
145
+ e.width = i * o, e.height = a * o, e.style.width = `${i}px`, e.style.height = `${a}px`, n.setTransform(1, 0, 0, 1, 0, 0), n.scale(o, o), K();
146
+ }, [K]);
147
+ return a(() => {
148
+ q();
126
149
  let e = new ResizeObserver(() => {
127
- requestAnimationFrame(() => N());
150
+ I.current === null && (I.current = requestAnimationFrame(() => {
151
+ I.current = null, q();
152
+ }));
128
153
  });
129
- return C.current && e.observe(C.current), () => {
130
- e.disconnect(), E.current && cancelAnimationFrame(E.current);
154
+ return M.current && e.observe(M.current), () => {
155
+ e.disconnect(), I.current !== null && (cancelAnimationFrame(I.current), I.current = null), F.current !== null && (cancelAnimationFrame(F.current), F.current = null);
131
156
  };
132
- }, [N]), /* @__PURE__ */ a("div", {
133
- ref: (e) => {
134
- C.current = e, typeof b == "function" ? b(e) : b && (b.current = e);
135
- },
136
- style: {
137
- position: "relative",
138
- width: "100%",
157
+ }, [q]), a(() => {
158
+ let e = j.current, t = e?.getContext("2d");
159
+ if (!e || !t || P.current.size === 0) return;
160
+ let n = window.devicePixelRatio ?? 1, r = e.width / n, i = e.height / n;
161
+ if (B) {
162
+ F.current !== null && (cancelAnimationFrame(F.current), F.current = null), G(t, r, i);
163
+ return;
164
+ }
165
+ W(t, r, i);
166
+ }, [
167
+ C,
168
+ B,
169
+ G,
170
+ W
171
+ ]), /* @__PURE__ */ c(h, {
172
+ ...O,
173
+ ref: V,
174
+ ownerState: H,
175
+ style: E,
176
+ sx: [{
139
177
  height: "100%",
140
178
  overflow: "hidden",
141
- ...g
142
- },
143
- ...y,
179
+ position: "relative",
180
+ width: "100%"
181
+ }, ...e(D)],
144
182
  children: [
145
- m && /* @__PURE__ */ i("img", {
146
- ref: w,
147
- src: m,
148
- alt: h,
183
+ T && /* @__PURE__ */ s("img", {
184
+ ref: N,
185
+ src: T,
186
+ alt: v,
149
187
  style: {
150
188
  position: "absolute",
151
189
  inset: 0,
@@ -155,9 +193,9 @@ var d = e(({ gap: e = 5, speed: d = 100, colors: f, loading: p = !0, src: m, alt
155
193
  display: "block"
156
194
  }
157
195
  }),
158
- _,
159
- /* @__PURE__ */ i("canvas", {
160
- ref: S,
196
+ y,
197
+ /* @__PURE__ */ s("canvas", {
198
+ ref: j,
161
199
  style: {
162
200
  position: "absolute",
163
201
  inset: 0,
@@ -171,6 +209,6 @@ var d = e(({ gap: e = 5, speed: d = 100, colors: f, loading: p = !0, src: m, alt
171
209
  ]
172
210
  });
173
211
  });
174
- d.displayName = "SPixelReveal";
212
+ v.displayName = "SPixelReveal";
175
213
  //#endregion
176
- export { d as SPixelReveal, d as default };
214
+ export { v as SPixelReveal, v as default };
@@ -0,0 +1,3 @@
1
+ export { default, default as SQuantityInput } from './s-quantity-input';
2
+ export type { SQuantityInputColor, SQuantityInputOwnerState, SQuantityInputProps, SQuantityInputSize, SQuantityInputVariant, } from './s-quantity-input';
3
+ export type {} from '../theme/component-augmentation';
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../s-quantity-input-mYCixlJc.js";
2
+ export { e as SQuantityInput, e as default };
@@ -0,0 +1,114 @@
1
+ import { default as React } from 'react';
2
+ import { BoxProps } from '@mui/material';
3
+ /**
4
+ * Theme color used to tint the increment/decrement controls. `default` renders
5
+ * untinted controls (primary text color); its contained fill uses the neutral ramp.
6
+ */
7
+ export type SQuantityInputColor = 'default' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
8
+ /**
9
+ * Visual style of the control.
10
+ * - `outlined` (default): a bordered pill with tinted, transparent controls.
11
+ * - `contained`: solid, filled controls flanking the value.
12
+ * - `text`: free-standing ghost controls with the value in between.
13
+ */
14
+ export type SQuantityInputVariant = 'outlined' | 'contained' | 'text';
15
+ /** Size of the control */
16
+ export type SQuantityInputSize = 'small' | 'medium' | 'large';
17
+ /**
18
+ * Props interface for SQuantityInput component
19
+ */
20
+ type SQuantityInputAccessibleName = {
21
+ 'aria-label': string;
22
+ 'aria-labelledby'?: string;
23
+ } | {
24
+ 'aria-label'?: never;
25
+ 'aria-labelledby': string;
26
+ };
27
+ export type SQuantityInputProps = Omit<BoxProps, 'children' | 'color' | 'component' | 'defaultValue' | 'onChange' | 'size'> & SQuantityInputAccessibleName & {
28
+ /** Controlled value. Omit to use `defaultValue` (uncontrolled) */
29
+ value?: number;
30
+ /** Initial value when uncontrolled. Defaults to `min` */
31
+ defaultValue?: number;
32
+ /** Callback fired with the next value when the user increases or decreases */
33
+ onChange?: (event: React.SyntheticEvent, value: number) => void;
34
+ /** Minimum value (inclusive) */
35
+ min?: number;
36
+ /** Maximum value (inclusive). Omit for no upper bound */
37
+ max?: number;
38
+ /** Increment/decrement amount */
39
+ step?: number;
40
+ /** Theme color of the controls */
41
+ color?: SQuantityInputColor;
42
+ /** Visual style of the control */
43
+ variant?: SQuantityInputVariant;
44
+ /** Size of the control */
45
+ size?: SQuantityInputSize;
46
+ /** Whether the value can be typed directly */
47
+ editable?: boolean;
48
+ /** Whether the whole control is disabled */
49
+ disabled?: boolean;
50
+ };
51
+ export type SQuantityInputOwnerState = SQuantityInputProps & {
52
+ color: SQuantityInputColor;
53
+ disabled: boolean;
54
+ editable: boolean;
55
+ min: number;
56
+ size: SQuantityInputSize;
57
+ step: number;
58
+ value: number;
59
+ variant: SQuantityInputVariant;
60
+ };
61
+ export declare const SQuantityInput: React.ForwardRefExoticComponent<(Omit<Omit<BoxProps, "color" | "onChange" | "children" | "defaultValue" | "component" | "size"> & {
62
+ 'aria-label': string;
63
+ 'aria-labelledby'?: string;
64
+ } & {
65
+ /** Controlled value. Omit to use `defaultValue` (uncontrolled) */
66
+ value?: number;
67
+ /** Initial value when uncontrolled. Defaults to `min` */
68
+ defaultValue?: number;
69
+ /** Callback fired with the next value when the user increases or decreases */
70
+ onChange?: (event: React.SyntheticEvent, value: number) => void;
71
+ /** Minimum value (inclusive) */
72
+ min?: number;
73
+ /** Maximum value (inclusive). Omit for no upper bound */
74
+ max?: number;
75
+ /** Increment/decrement amount */
76
+ step?: number;
77
+ /** Theme color of the controls */
78
+ color?: SQuantityInputColor;
79
+ /** Visual style of the control */
80
+ variant?: SQuantityInputVariant;
81
+ /** Size of the control */
82
+ size?: SQuantityInputSize;
83
+ /** Whether the value can be typed directly */
84
+ editable?: boolean;
85
+ /** Whether the whole control is disabled */
86
+ disabled?: boolean;
87
+ }, "ref"> | Omit<Omit<BoxProps, "color" | "onChange" | "children" | "defaultValue" | "component" | "size"> & {
88
+ 'aria-label'?: never;
89
+ 'aria-labelledby': string;
90
+ } & {
91
+ /** Controlled value. Omit to use `defaultValue` (uncontrolled) */
92
+ value?: number;
93
+ /** Initial value when uncontrolled. Defaults to `min` */
94
+ defaultValue?: number;
95
+ /** Callback fired with the next value when the user increases or decreases */
96
+ onChange?: (event: React.SyntheticEvent, value: number) => void;
97
+ /** Minimum value (inclusive) */
98
+ min?: number;
99
+ /** Maximum value (inclusive). Omit for no upper bound */
100
+ max?: number;
101
+ /** Increment/decrement amount */
102
+ step?: number;
103
+ /** Theme color of the controls */
104
+ color?: SQuantityInputColor;
105
+ /** Visual style of the control */
106
+ variant?: SQuantityInputVariant;
107
+ /** Size of the control */
108
+ size?: SQuantityInputSize;
109
+ /** Whether the value can be typed directly */
110
+ editable?: boolean;
111
+ /** Whether the whole control is disabled */
112
+ disabled?: boolean;
113
+ }, "ref">) & React.RefAttributes<HTMLDivElement>>;
114
+ export default SQuantityInput;
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../s-quantity-input-mYCixlJc.js";
2
+ export { e as SQuantityInput, e as default };
@@ -0,0 +1,246 @@
1
+ import { toSxArray as e } from "./utils/sx.js";
2
+ import { t } from "./createSvgIcon-B0SZlJF1.js";
3
+ import { t as n } from "./useControlled-BeB0W_Ui.js";
4
+ import { t as r } from "./Add-COc9VdNg.js";
5
+ import { SIconButton as i } from "./s-icon-button/s-icon-button.js";
6
+ import { forwardRef as a } from "react";
7
+ import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
8
+ import { Box as l, Typography as u, styled as d, useThemeProps as f } from "@mui/material";
9
+ //#region ../../node_modules/@mui/icons-material/Remove.mjs
10
+ var p = t(/* @__PURE__ */ s("path", { d: "M19 13H5v-2h14z" }), "Remove"), m = {
11
+ small: {
12
+ height: 32,
13
+ iconButton: "small",
14
+ valueMinWidth: 28,
15
+ typography: "body2"
16
+ },
17
+ medium: {
18
+ height: 40,
19
+ iconButton: "medium",
20
+ valueMinWidth: 36,
21
+ typography: "body1"
22
+ },
23
+ large: {
24
+ height: 48,
25
+ iconButton: "large",
26
+ valueMinWidth: 44,
27
+ typography: "body1"
28
+ }
29
+ }, h = (e, t, n) => {
30
+ let r = Math.max(e, t);
31
+ return n == null ? r : Math.min(r, n);
32
+ }, g = d(l, {
33
+ name: "SQuantityInput",
34
+ slot: "Root"
35
+ })({}), _ = a((t, a) => {
36
+ let d = f({
37
+ props: t,
38
+ name: "SQuantityInput"
39
+ }), { value: _, defaultValue: v, onChange: y, min: b = 0, max: x, step: S = 1, color: C = "default", variant: w = "outlined", size: T = "medium", editable: E = !1, disabled: D = !1, "aria-label": O, "aria-labelledby": k, onKeyDown: A, role: j = "spinbutton", sx: M, tabIndex: N = D ? -1 : 0, ...P } = d, F = m[T], [I, L] = n({
40
+ controlled: _,
41
+ default: h(v ?? b, b, x),
42
+ name: "SQuantityInput",
43
+ state: "value"
44
+ }), R = {
45
+ ...d,
46
+ color: C,
47
+ disabled: D,
48
+ editable: E,
49
+ min: b,
50
+ size: T,
51
+ step: S,
52
+ value: I,
53
+ variant: w
54
+ }, z = (e, t) => {
55
+ let n = h(t, b, x);
56
+ n !== I && (L(n), y?.(e, n));
57
+ }, B = D || I <= b, V = D || x != null && I >= x, H = w === "contained", U = w === "outlined", W = x == null ? null : String(x).length >= String(b).length ? String(x) : String(b), G = {
58
+ alignSelf: "stretch",
59
+ height: "auto",
60
+ width: F.height,
61
+ borderRadius: 0
62
+ }, K = { "&.Mui-disabled": { opacity: .5 } }, q = (e) => {
63
+ if (A?.(e), e.defaultPrevented || D) return;
64
+ let t = e.target.tagName === "INPUT";
65
+ switch (e.key) {
66
+ case "ArrowUp":
67
+ e.preventDefault(), z(e, I + S);
68
+ break;
69
+ case "ArrowDown":
70
+ e.preventDefault(), z(e, I - S);
71
+ break;
72
+ case "ArrowRight":
73
+ if (t) break;
74
+ e.preventDefault(), z(e, I + S);
75
+ break;
76
+ case "ArrowLeft":
77
+ if (t) break;
78
+ e.preventDefault(), z(e, I - S);
79
+ break;
80
+ case "Home":
81
+ if (t) break;
82
+ e.preventDefault(), z(e, b);
83
+ break;
84
+ case "End":
85
+ if (t || x == null) break;
86
+ e.preventDefault(), z(e, x);
87
+ break;
88
+ default: break;
89
+ }
90
+ }, J = /* @__PURE__ */ s(l, {
91
+ component: "input",
92
+ inputMode: "numeric",
93
+ value: String(I),
94
+ disabled: D,
95
+ role: j,
96
+ "aria-label": O,
97
+ "aria-labelledby": k,
98
+ "aria-valuenow": I,
99
+ "aria-valuemin": b,
100
+ "aria-valuemax": x,
101
+ "aria-disabled": D || void 0,
102
+ tabIndex: N,
103
+ onChange: (e) => {
104
+ let t = e.target.value, n = parseInt(t.replace(/[^0-9-]/g, ""), 10);
105
+ Number.isNaN(n) ? (t === "" || t === "-") && z(e, b) : z(e, n);
106
+ },
107
+ onFocus: (e) => e.target.select(),
108
+ sx: {
109
+ border: 0,
110
+ outline: "none",
111
+ p: 0,
112
+ background: "transparent",
113
+ font: "inherit",
114
+ color: "inherit",
115
+ WebkitTextFillColor: "currentcolor",
116
+ textAlign: "center",
117
+ fontVariantNumeric: "tabular-nums",
118
+ ...W == null ? {
119
+ minWidth: "1ch",
120
+ width: `${String(I).length || 1}ch`
121
+ } : {
122
+ position: "absolute",
123
+ inset: 0,
124
+ width: "100%"
125
+ }
126
+ }
127
+ }), Y = (e) => {
128
+ let t = C === "default" ? (e.vars ?? e).palette.grey : (e.vars ?? e).palette[C];
129
+ return {
130
+ backgroundColor: t[800],
131
+ color: t[50],
132
+ "&:hover": {
133
+ backgroundColor: t[900],
134
+ color: t[100]
135
+ },
136
+ "&:active": { backgroundColor: t[900] },
137
+ "&.Mui-disabled": {
138
+ backgroundColor: t[800],
139
+ color: t[50],
140
+ opacity: .5
141
+ },
142
+ ...e.applyStyles("dark", {
143
+ color: t[100],
144
+ "&:hover": { color: t[50] },
145
+ "&.Mui-disabled": { color: t[100] }
146
+ })
147
+ };
148
+ };
149
+ return /* @__PURE__ */ c(g, {
150
+ ...P,
151
+ ref: a,
152
+ ownerState: R,
153
+ role: E ? void 0 : j,
154
+ "aria-label": E ? void 0 : O,
155
+ "aria-labelledby": E ? void 0 : k,
156
+ "aria-valuenow": E ? void 0 : I,
157
+ "aria-valuemin": E ? void 0 : b,
158
+ "aria-valuemax": E ? void 0 : x,
159
+ "aria-disabled": E ? void 0 : D || void 0,
160
+ tabIndex: E ? void 0 : N,
161
+ onKeyDown: q,
162
+ sx: [(e) => ({
163
+ display: "inline-flex",
164
+ alignItems: "center",
165
+ height: F.height,
166
+ borderRadius: `${e.shape.borderRadius}px`,
167
+ outline: "none",
168
+ [E ? "&:has(input:focus-visible)" : "&:focus-visible"]: {
169
+ outline: "2px solid",
170
+ outlineColor: (e.vars ?? e).palette.primary[800],
171
+ outlineOffset: 2
172
+ },
173
+ ...U ? {
174
+ border: "1px solid",
175
+ borderColor: (e.vars ?? e).palette.divider,
176
+ overflow: "hidden"
177
+ } : { gap: 1 },
178
+ ...D ? { opacity: .5 } : {}
179
+ }), ...e(M)],
180
+ children: [
181
+ /* @__PURE__ */ s(i, {
182
+ "aria-label": "Decrease",
183
+ size: F.iconButton,
184
+ color: H ? void 0 : C,
185
+ disabled: B,
186
+ sx: H ? Y : U ? [G, K] : K,
187
+ onClick: (e) => z(e, I - S),
188
+ children: /* @__PURE__ */ s(p, {})
189
+ }),
190
+ U && /* @__PURE__ */ s(l, { sx: {
191
+ width: "1px",
192
+ alignSelf: "stretch",
193
+ bgcolor: "divider"
194
+ } }),
195
+ /* @__PURE__ */ s(u, {
196
+ component: "span",
197
+ variant: F.typography,
198
+ sx: {
199
+ position: "relative",
200
+ minWidth: F.valueMinWidth,
201
+ px: 1,
202
+ alignSelf: "stretch",
203
+ display: "inline-flex",
204
+ alignItems: "center",
205
+ justifyContent: "center",
206
+ fontWeight: 500,
207
+ color: "text.primary",
208
+ fontVariantNumeric: "tabular-nums"
209
+ },
210
+ children: W == null ? E ? J : I : /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(l, {
211
+ component: "span",
212
+ "aria-hidden": !0,
213
+ sx: { visibility: "hidden" },
214
+ children: W
215
+ }), E ? J : /* @__PURE__ */ s(l, {
216
+ component: "span",
217
+ sx: {
218
+ position: "absolute",
219
+ inset: 0,
220
+ display: "inline-flex",
221
+ alignItems: "center",
222
+ justifyContent: "center"
223
+ },
224
+ children: I
225
+ })] })
226
+ }),
227
+ U && /* @__PURE__ */ s(l, { sx: {
228
+ width: "1px",
229
+ alignSelf: "stretch",
230
+ bgcolor: "divider"
231
+ } }),
232
+ /* @__PURE__ */ s(i, {
233
+ "aria-label": "Increase",
234
+ size: F.iconButton,
235
+ color: H ? void 0 : C,
236
+ disabled: V,
237
+ sx: H ? Y : U ? [G, K] : K,
238
+ onClick: (e) => z(e, I + S),
239
+ children: /* @__PURE__ */ s(r, {})
240
+ })
241
+ ]
242
+ });
243
+ });
244
+ _.displayName = "SQuantityInput";
245
+ //#endregion
246
+ export { _ as t };
@@ -1,2 +1,3 @@
1
1
  export { default, default as SRadialPulseAnimate } from './s-radial-pulse-animate';
2
- export type { SRadialPulseAnimateProps } from './s-radial-pulse-animate';
2
+ export type { SRadialPulseAnimateOwnerState, SRadialPulseAnimateProps } from './s-radial-pulse-animate';
3
+ export type {} from '../theme/component-augmentation';
@@ -1,8 +1,9 @@
1
1
  import { default as React } from 'react';
2
+ import { BoxProps } from '@mui/material';
2
3
  /**
3
4
  * Props interface for SRadialPulseAnimate component
4
5
  */
5
- export interface SRadialPulseAnimateProps {
6
+ export interface SRadialPulseAnimateProps extends Omit<BoxProps, 'children' | 'component' | 'height' | 'width'> {
6
7
  /** Width of the animation container in pixels */
7
8
  width?: number;
8
9
  /** Height of the animation container in pixels */
@@ -11,11 +12,10 @@ export interface SRadialPulseAnimateProps {
11
12
  className?: string;
12
13
  /** Custom text to display in the center of the animation */
13
14
  text?: string;
14
- /** Size range for floating particles in pixels */
15
- particleSize?: {
16
- min: number;
17
- max: number;
18
- };
19
15
  }
20
- export declare const SRadialPulseAnimate: React.FC<SRadialPulseAnimateProps>;
16
+ export interface SRadialPulseAnimateOwnerState extends SRadialPulseAnimateProps {
17
+ height: number;
18
+ width: number;
19
+ }
20
+ export declare const SRadialPulseAnimate: React.ForwardRefExoticComponent<Omit<SRadialPulseAnimateProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
21
21
  export default SRadialPulseAnimate;