@solostylist/ui-kit 2.0.2 → 2.0.3

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 (310) hide show
  1. package/dist/{gradients-mQAYCK0_.js → gradients-DSnBONEQ.js} +1 -1
  2. package/dist/main.js +1 -1
  3. package/dist/palettes/index.js +1 -1
  4. package/dist/{palettes-B1FcGUYs.js → palettes-CJLuEy1m.js} +163 -163
  5. package/dist/s-accordion/index.js +1 -1
  6. package/dist/s-accordion/s-accordion.js +70 -2
  7. package/dist/s-action-overlay/s-action-overlay.js +21 -21
  8. package/dist/s-animated-gradient-text/s-animated-gradient-text.js +18 -19
  9. package/dist/s-announcement-bar/s-announcement-bar.js +50 -53
  10. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  11. package/dist/s-avatar/s-avatar.js +17 -17
  12. package/dist/s-blur-text/s-blur-text.js +16 -16
  13. package/dist/s-brand-logo/index.js +1 -1
  14. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  15. package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
  16. package/dist/s-carousel/index.js +1 -1
  17. package/dist/s-carousel/s-carousel.js +186 -2
  18. package/dist/s-category-card/s-category-card.js +22 -22
  19. package/dist/s-chat-input/index.js +1 -1
  20. package/dist/s-chat-input/s-chat-input.js +398 -2
  21. package/dist/s-chat-message/index.js +1 -1
  22. package/dist/s-chat-message/s-chat-message.js +314 -2
  23. package/dist/s-checkbox/s-checkbox.js +18 -19
  24. package/dist/s-chips/index.js +1 -1
  25. package/dist/s-chips/s-chips.js +174 -2
  26. package/dist/s-code-block/index.js +1 -1
  27. package/dist/s-code-block/s-code-block.js +103 -2
  28. package/dist/s-comment-message/index.js +1 -1
  29. package/dist/s-comment-message/s-comment-message.js +189 -2
  30. package/dist/s-copyable-text/s-copyable-text.js +18 -18
  31. package/dist/s-countdown/s-count-box.js +18 -18
  32. package/dist/s-data-table/index.js +1 -1
  33. package/dist/s-data-table/s-data-table.js +213 -2
  34. package/dist/s-date-picker/index.js +1 -1
  35. package/dist/s-date-picker/s-date-picker.js +106 -2
  36. package/dist/s-datetime-picker/index.js +1 -1
  37. package/dist/s-datetime-picker/s-datetime-picker.js +108 -2
  38. package/dist/s-dialog/index.js +1 -1
  39. package/dist/s-dialog/s-dialog.js +80 -2
  40. package/dist/s-dialog-confirm/s-dialog-confirm.js +32 -33
  41. package/dist/s-dialog-message/s-dialog-message.js +31 -32
  42. package/dist/s-drawer/index.js +1 -1
  43. package/dist/s-drawer/s-drawer.js +139 -2
  44. package/dist/s-empty/s-empty.js +13 -14
  45. package/dist/s-file-dropzone/index.js +1 -1
  46. package/dist/s-file-dropzone/s-file-dropzone.js +219 -2
  47. package/dist/s-file-icon/s-file-icon.js +87 -88
  48. package/dist/s-flex-box/s-flex-box.js +11 -12
  49. package/dist/s-form/s-form.js +15 -15
  50. package/dist/s-gallery/s-gallery.js +1 -1
  51. package/dist/s-glow-button/s-glow-button.js +9 -10
  52. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +23 -24
  53. package/dist/s-icon-button/s-icon-button.js +13 -14
  54. package/dist/s-image-comparison/s-image-comparison.js +29 -31
  55. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  56. package/dist/s-image-viewer/index.js +3 -3
  57. package/dist/s-image-viewer/s-image-viewer.js +266 -2
  58. package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
  59. package/dist/s-interactive-card/s-interactive-card.js +39 -41
  60. package/dist/s-label/s-label.js +25 -26
  61. package/dist/s-language-switcher/index.js +2 -2
  62. package/dist/s-language-switcher/s-language-switcher.js +145 -2
  63. package/dist/s-lazy-image/s-lazy-image.js +17 -18
  64. package/dist/s-link/index.js +1 -1
  65. package/dist/s-link/s-link.js +5 -2
  66. package/dist/s-list-action-item/s-list-action-item.js +38 -39
  67. package/dist/s-localization-provider/index.js +1 -1
  68. package/dist/s-localization-provider/s-localization-provider.js +12 -2
  69. package/dist/s-mega-menu/mega-menu-panel.js +132 -134
  70. package/dist/s-mega-menu/mega-menu-trigger.js +49 -2
  71. package/dist/s-mega-menu/s-mega-menu.js +80 -83
  72. package/dist/s-mobile-dock/index.js +1 -1
  73. package/dist/s-mobile-dock/s-mobile-dock.js +145 -2
  74. package/dist/s-nav-item/s-nav-item.js +19 -20
  75. package/dist/s-nav-items/s-nav-items.js +51 -52
  76. package/dist/s-no-ssr/index.js +1 -1
  77. package/dist/s-no-ssr/s-no-ssr.js +5 -2
  78. package/dist/s-number-range/index.js +1 -1
  79. package/dist/s-number-range/s-number-range.js +250 -2
  80. package/dist/s-pagination/index.js +1 -1
  81. package/dist/s-pagination/s-pagination.js +85 -2
  82. package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
  83. package/dist/s-popover/s-popover-content.js +11 -12
  84. package/dist/s-popover/s-popover.js +22 -24
  85. package/dist/s-product-card/s-product-card.js +177 -180
  86. package/dist/s-product-gallery/index.js +1 -1
  87. package/dist/s-product-gallery/s-product-gallery.js +427 -2
  88. package/dist/s-quantity-input/s-quantity-input.js +24 -24
  89. package/dist/s-review/index.js +1 -1
  90. package/dist/s-review/s-review.js +272 -2
  91. package/dist/s-scroll-reveal/s-scroll-reveal.js +7 -8
  92. package/dist/s-scroll-to-top/s-scroll-to-top.js +27 -28
  93. package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
  94. package/dist/s-segmented-control/s-segmented-control.js +64 -68
  95. package/dist/s-select/index.js +1 -1
  96. package/dist/s-select/s-select.js +201 -2
  97. package/dist/s-select-list/s-select-list.js +47 -50
  98. package/dist/s-skeleton/s-skeleton.js +12 -13
  99. package/dist/s-snackbar-message/index.js +2 -2
  100. package/dist/s-snackbar-message/s-snackbar-message.js +89 -2
  101. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
  102. package/dist/s-status-illustration/s-status-illustration.js +74 -74
  103. package/dist/s-stepper/index.js +1 -1
  104. package/dist/s-stepper/s-stepper.js +102 -2
  105. package/dist/s-stripe/s-stripe.js +11 -12
  106. package/dist/s-stripe/stripe-input.js +3 -2
  107. package/dist/s-swatch/s-swatch.js +34 -35
  108. package/dist/s-switch/index.js +1 -1
  109. package/dist/s-switch/s-switch.js +48 -2
  110. package/dist/s-tabs/s-tabs.js +48 -50
  111. package/dist/s-text-editor/index.js +1 -1
  112. package/dist/s-text-editor/s-text-editor-toolbar.js +213 -2
  113. package/dist/s-text-editor/s-text-editor.js +25 -26
  114. package/dist/s-text-field/index.js +1 -1
  115. package/dist/s-text-field/s-text-field.js +52 -2
  116. package/dist/s-text-shimmer/s-text-shimmer.js +1 -3
  117. package/dist/s-text-truncation/s-text-truncation.js +20 -20
  118. package/dist/s-theme-demo/s-theme-demo.js +8 -8
  119. package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
  120. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  121. package/dist/s-theme-demo/theme-demo-components-section.js +265 -2
  122. package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
  123. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  124. package/dist/s-theme-switch/index.js +1 -1
  125. package/dist/s-theme-switch/s-theme-switch.js +60 -2
  126. package/dist/s-tip/index.js +1 -1
  127. package/dist/s-tip/s-tip.js +61 -2
  128. package/dist/s-tool-bar/s-tool-bar.js +28 -28
  129. package/dist/s-tool-bar/tool-bar-action-buttons.js +55 -2
  130. package/dist/s-tool-bar/tool-bar-image-input.js +148 -2
  131. package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
  132. package/dist/s-tool-item/s-tool-item.js +22 -22
  133. package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
  134. package/dist/s-zoom-image/s-zoom-image.js +18 -19
  135. package/dist/theme/components/autocomplete.js +43 -2
  136. package/dist/theme/components/avatar.js +9 -2
  137. package/dist/theme/components/card.js +3 -3
  138. package/dist/theme/components/checkbox.js +90 -2
  139. package/dist/theme/components/chip.js +3 -3
  140. package/dist/theme/components/components.js +20 -20
  141. package/dist/theme/components/date-calendar.js +1 -0
  142. package/dist/theme/components/day-calendar.js +1 -0
  143. package/dist/theme/components/drawer.js +1 -1
  144. package/dist/theme/components/field-label-styles.js +19 -2
  145. package/dist/theme/components/form-label.js +1 -1
  146. package/dist/theme/components/list-item-button.js +1 -1
  147. package/dist/theme/components/list-item.js +7 -7
  148. package/dist/theme/components/month-calendar.js +14 -13
  149. package/dist/theme/components/multi-section-digital-clock-section.js +1 -0
  150. package/dist/theme/components/outlined-input.js +6 -6
  151. package/dist/theme/components/picker-day.js +1 -0
  152. package/dist/theme/components/pickers-arrow-switcher.js +1 -0
  153. package/dist/theme/components/pickers-calendar-header.js +3 -2
  154. package/dist/theme/components/select.js +6 -6
  155. package/dist/theme/components/switch.js +1 -1
  156. package/dist/theme/components/table-pagination.js +1 -1
  157. package/dist/theme/components/toggle-button.js +93 -2
  158. package/dist/theme/components/year-calendar.js +14 -13
  159. package/dist/theme/theme-primitives.js +2 -2
  160. package/dist/{theme-primitives-CXtaMdVj.js → theme-primitives-CRfnMsNy.js} +108 -109
  161. package/dist/utils/dayjs.js +9 -146
  162. package/package.json +7 -2
  163. package/dist/Add-CEnTWsXs.js +0 -6
  164. package/dist/ArrowUpward-udL1ltj2.js +0 -6
  165. package/dist/Box-9oeZgA1U.js +0 -46
  166. package/dist/Button-DaLr1m20.js +0 -534
  167. package/dist/ButtonBase-DovDC6-1.js +0 -700
  168. package/dist/Checkbox-C-Xjbzzh.js +0 -152
  169. package/dist/ChevronRight-DsPfsFKB.js +0 -6
  170. package/dist/Close-CIYOM-Sc.js +0 -6
  171. package/dist/Collapse-DPUr1cbP.js +0 -266
  172. package/dist/ContentCopy-Hlh3azVb.js +0 -6
  173. package/dist/DefaultPropsProvider-ebWx4_5E.js +0 -128
  174. package/dist/DialogContent-b3xbJVC6.js +0 -450
  175. package/dist/Download-D9PkFi7a.js +0 -6
  176. package/dist/ExpandMore-sOgvEha9.js +0 -6
  177. package/dist/Favorite-BP343hjM.js +0 -6
  178. package/dist/FavoriteBorder-D15j9xEL.js +0 -6
  179. package/dist/FormControl-DwMfZCiz.js +0 -215
  180. package/dist/FormControlLabel-Ihga1FTB.js +0 -173
  181. package/dist/Grow-BQR7x52V.js +0 -121
  182. package/dist/IconButton-CE-4GamO.js +0 -448
  183. package/dist/InfoOutlined-lpvhO6P8.js +0 -6
  184. package/dist/List-RNcZhRdr.js +0 -105
  185. package/dist/Menu-CnyB4SDS.js +0 -180
  186. package/dist/MenuItem-Ck30dBOR.js +0 -224
  187. package/dist/MenuList-Cc98uWXq.js +0 -160
  188. package/dist/Modal-CD2EBfU8.js +0 -702
  189. package/dist/Paper-_3qggtBp.js +0 -115
  190. package/dist/Popover-BFdKSYI5.js +0 -340
  191. package/dist/Popper-DYNAMSDd.js +0 -1351
  192. package/dist/Portal-i_wgIe9-.js +0 -49
  193. package/dist/Remove-DDEn8ek8.js +0 -6
  194. package/dist/RtlProvider-B7uVJXUY.js +0 -19
  195. package/dist/Skeleton-iZFynl7z.js +0 -220
  196. package/dist/Stack-C0LGzM4c.js +0 -158
  197. package/dist/SwitchBase-CjWtDdmE.js +0 -198
  198. package/dist/Tooltip-B1sn94L0.js +0 -448
  199. package/dist/Typography-_P0svrkO.js +0 -168
  200. package/dist/UnfoldMoreRounded-CuCrdxoy.js +0 -6
  201. package/dist/appendOwnerState-CFQTq3pb.js +0 -17
  202. package/dist/assets/stripe-input.css +0 -1
  203. package/dist/autocomplete-BgARERpp.js +0 -43
  204. package/dist/avatar-XNOdbbRz.js +0 -10
  205. package/dist/buttonBaseClasses-B90LjsNK.js +0 -13
  206. package/dist/capitalize-C0baBJCm.js +0 -5
  207. package/dist/chainPropTypes-CkMRtDjQ.js +0 -8
  208. package/dist/checkbox-D1U_JKqs.js +0 -88
  209. package/dist/checkboxClasses-B1up2lUn.js +0 -18
  210. package/dist/chunk-C_CI6nMA.js +0 -13
  211. package/dist/clsx-DGZSe4Nt.js +0 -16
  212. package/dist/colorManipulator-DmUjcif3.js +0 -129
  213. package/dist/contains-DnqPQsQU.js +0 -16
  214. package/dist/createSimplePaletteValueFilter-DFvyXHoZ.js +0 -14
  215. package/dist/createSvgIcon-3y-gS0r1.js +0 -155
  216. package/dist/createTheme-xB2Em0Na.js +0 -1869
  217. package/dist/defaultTheme-BaGcIzCh.js +0 -210
  218. package/dist/elementAcceptingRef-pKEY6jPR.js +0 -25
  219. package/dist/elementTypeAcceptingRef-xl_04Y5-.js +0 -19
  220. package/dist/exactProp-C_IsucXf.js +0 -13
  221. package/dist/extends-DXMyyJCW.js +0 -12
  222. package/dist/field-label-styles-4praXMaE.js +0 -50
  223. package/dist/formLabelClasses-AuZHWfTs.js +0 -18
  224. package/dist/generateUtilityClass-PAIOm1jC.js +0 -34
  225. package/dist/generateUtilityClasses-DvX505Gy.js +0 -10
  226. package/dist/getActiveElement-BfBkhgy6.js +0 -8
  227. package/dist/iconButtonClasses-CVVRFXRo.js +0 -27
  228. package/dist/inputAdornmentClasses-BbB8s-Z4.js +0 -19
  229. package/dist/inputBaseClasses-Ce_jjdp9.js +0 -25
  230. package/dist/integerPropType-CCkQD1JY.js +0 -27
  231. package/dist/isEventHandler-QShLXBxE.js +0 -7
  232. package/dist/isFocusVisible-4OIE8TST.js +0 -11
  233. package/dist/isLayoutSupported-Btg2X3QE.js +0 -6
  234. package/dist/isMuiElement-CPjhi284.js +0 -10
  235. package/dist/mega-menu-trigger-BcOo8I5_.js +0 -53
  236. package/dist/memoTheme-qFyKAk7y.js +0 -15
  237. package/dist/mergeSlotProps-DC8r4QzS.js +0 -45
  238. package/dist/monthCalendarClasses-b964KRbc.js +0 -14
  239. package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +0 -12
  240. package/dist/outlinedInputClasses-ci1zDasn.js +0 -17
  241. package/dist/ownerDocument-CJjQZweZ.js +0 -6
  242. package/dist/ownerDocument-pYjJiXem.js +0 -5
  243. package/dist/ownerWindow-SSeeoqPT.js +0 -18
  244. package/dist/pickersCalendarHeaderClasses-BAiPN_oY.js +0 -12
  245. package/dist/prop-types-BzYPyWN7.js +0 -516
  246. package/dist/refType-j5S9pc_e.js +0 -6
  247. package/dist/resolveProps-7jIA45vn.js +0 -30
  248. package/dist/s-accordion-1oLxQhod.js +0 -487
  249. package/dist/s-carousel-CAyAl3ka.js +0 -1355
  250. package/dist/s-chat-input-T3gyan60.js +0 -419
  251. package/dist/s-chat-message-NFTpNgt5.js +0 -315
  252. package/dist/s-chips-Dqq1fgz-.js +0 -176
  253. package/dist/s-code-block-DyDtctGG.js +0 -658
  254. package/dist/s-comment-message-DpCVBKiE.js +0 -192
  255. package/dist/s-data-table-D4V58HFR.js +0 -805
  256. package/dist/s-date-picker-BFIQOA8C.js +0 -657
  257. package/dist/s-datetime-picker-zfg7BEOW.js +0 -3886
  258. package/dist/s-dialog-BNlXsVVP.js +0 -123
  259. package/dist/s-drawer-4h5ZyoM8.js +0 -562
  260. package/dist/s-file-dropzone-Cfzv1Cm8.js +0 -422
  261. package/dist/s-image-viewer-CjK67-rs.js +0 -269
  262. package/dist/s-language-switcher-PaMgHWc2.js +0 -246
  263. package/dist/s-link-Db1aabHh.js +0 -235
  264. package/dist/s-localization-provider-CeyB_SGz.js +0 -519
  265. package/dist/s-mobile-dock-8F3UWAb8.js +0 -615
  266. package/dist/s-no-ssr-DH57_uP_.js +0 -25
  267. package/dist/s-number-range-Low5QjuD.js +0 -253
  268. package/dist/s-pagination-s46hBifh.js +0 -606
  269. package/dist/s-product-gallery-Dj9eGg5i.js +0 -430
  270. package/dist/s-review--Q2C0ngO.js +0 -272
  271. package/dist/s-select-CtVKEOZ5.js +0 -204
  272. package/dist/s-snackbar-message-DsfJlDYd.js +0 -810
  273. package/dist/s-stepper-BtODHVro.js +0 -892
  274. package/dist/s-switch-BCeBoxWf.js +0 -307
  275. package/dist/s-text-editor-toolbar-D5eQ-jCs.js +0 -2124
  276. package/dist/s-text-field-HYyDf1Jo.js +0 -51
  277. package/dist/s-theme-switch-BFWpADh3.js +0 -60
  278. package/dist/s-tip-jbL7vtoU.js +0 -62
  279. package/dist/selectClasses-CPxME5jE.js +0 -22
  280. package/dist/setRef-BWPyWnrr.js +0 -6
  281. package/dist/styled-Bog8QCl3.js +0 -163
  282. package/dist/svgIconClasses-1kWGzgux.js +0 -20
  283. package/dist/switchClasses-BtweO7PC.js +0 -23
  284. package/dist/theme-demo-components-section-C7l_2KAo.js +0 -267
  285. package/dist/toggle-button-BsGb-tOr.js +0 -104
  286. package/dist/tool-bar-action-buttons-v1koaasr.js +0 -54
  287. package/dist/tool-bar-image-input-DtXTyEe1.js +0 -148
  288. package/dist/typographyClasses-BH_-zLwg.js +0 -31
  289. package/dist/unsupportedProp-whMV_uOi.js +0 -11
  290. package/dist/useControlled-DqNPBJNp.js +0 -5
  291. package/dist/useControlled-uxVKygk1.js +0 -29
  292. package/dist/useEnhancedEffect-DFq_FMGX.js +0 -5
  293. package/dist/useEnhancedEffect-dBFfkm1e.js +0 -5
  294. package/dist/useEventCallback-DGCsaRIu.js +0 -5
  295. package/dist/useEventCallback-DhCPBxRG.js +0 -11
  296. package/dist/useForkRef-BuNFTXxE.js +0 -29
  297. package/dist/useFormControl-gXwNeUM1.js +0 -18
  298. package/dist/useMobilePicker-CdrT935R.js +0 -7584
  299. package/dist/useRovingTabIndex-DPlW997R.js +0 -242
  300. package/dist/useSlot-BG8ReOxN.js +0 -83
  301. package/dist/useSlotProps-BOO3qaI9.js +0 -16
  302. package/dist/useTheme-BIWMbX3i.js +0 -9
  303. package/dist/useThemeProps-Dw9dmKyT.js +0 -29
  304. package/dist/useTimeout-CoK-Khfm.js +0 -49
  305. package/dist/utils-Bfqbev5I.js +0 -248
  306. package/dist/warning-D5YhCbje.js +0 -99
  307. package/dist/yearCalendarClasses-D9k_KT38.js +0 -14
  308. /package/dist/{colors-Bik9qOU9.js → colors-CNjL5fhq.js} +0 -0
  309. /package/dist/{s-brand-logo-D7Jovf5K.js → s-brand-logo-CErW9Slg.js} +0 -0
  310. /package/dist/{utils-DOY6v6ln.js → utils-CMeAWSRO.js} +0 -0
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-no-ssr-DH57_uP_.js";
1
+ import { SNoSsr as e } from "./s-no-ssr.js";
2
2
  export { e as SNoSsr, e as default };
@@ -1,2 +1,5 @@
1
- import { t as e } from "../s-no-ssr-DH57_uP_.js";
2
- export { e as SNoSsr, e as default };
1
+ import e from "@mui/material/NoSsr";
2
+ //#region lib/s-no-ssr/s-no-ssr.tsx
3
+ var t = e;
4
+ //#endregion
5
+ export { t as SNoSsr, t as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-number-range-Low5QjuD.js";
1
+ import { SNumberRange as e } from "./s-number-range.js";
2
2
  export { e as SNumberRange, e as default };
@@ -1,2 +1,250 @@
1
- import { t as e } from "../s-number-range-Low5QjuD.js";
2
- export { e as SNumberRange, e as default };
1
+ import { toSxArray as e } from "../utils/sx.js";
2
+ import { resolveOwnerStateSlotProps as t } from "../utils/slots.js";
3
+ import { STextField as n } from "../s-text-field/s-text-field.js";
4
+ import * as r from "react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { Box as o, Slider as s, styled as c, useThemeProps as ee } from "@mui/material";
7
+ import { mergeSlotProps as l, useControlled as te, useEventCallback as u, useForkRef as ne } from "@mui/material/utils";
8
+ import d from "@mui/utils/appendOwnerState";
9
+ import { sliderClasses as f } from "@mui/material/Slider";
10
+ //#region lib/s-number-range/s-number-range.tsx
11
+ var p = (e, t, n) => Math.min(Math.max(e, t), n), m = (e, t, n) => {
12
+ let r = p(e[0], t, n), i = p(e[1], t, n);
13
+ return r <= i ? [r, i] : [i, r];
14
+ }, h = (e) => {
15
+ if (e.trim() === "") return null;
16
+ let t = Number(e);
17
+ return Number.isFinite(t) ? t : null;
18
+ }, g = (e) => e != null && e !== !1 && e !== "", _ = (e, t, n, r) => e >= n && e <= r && t >= n && t <= r && e <= t, re = (e, t, n) => {
19
+ if (!Number.isFinite(e) || !Number.isFinite(t) || e >= t) throw RangeError("SNumberRange: `min` and `max` must be finite numbers and `min` must be less than `max`.");
20
+ if (!Number.isFinite(n) || n <= 0) throw RangeError("SNumberRange: `step` must be a finite number greater than 0.");
21
+ }, ie = c("fieldset", {
22
+ name: "SNumberRange",
23
+ slot: "Root",
24
+ shouldForwardProp: (e) => e !== "ownerState"
25
+ })(({ theme: e }) => ({
26
+ border: 0,
27
+ display: "flex",
28
+ flexDirection: "column",
29
+ gap: e.spacing(1),
30
+ margin: 0,
31
+ minWidth: 0,
32
+ padding: 0,
33
+ width: "100%"
34
+ })), ae = c("legend", {
35
+ name: "SNumberRange",
36
+ slot: "Label",
37
+ shouldForwardProp: (e) => e !== "ownerState"
38
+ })(({ theme: e }) => ({
39
+ ...e.typography.body2,
40
+ color: (e.vars ?? e).palette.text.primary,
41
+ fontWeight: 600,
42
+ margin: 0,
43
+ padding: 0
44
+ })), oe = c(s, {
45
+ name: "SNumberRange",
46
+ slot: "Slider",
47
+ shouldForwardProp: (e) => e !== "ownerState"
48
+ })(({ theme: e, ownerState: t }) => {
49
+ let n = t.size === "small";
50
+ return {
51
+ color: (e.vars ?? e).palette[t.color].main,
52
+ height: n ? 2 : 3,
53
+ padding: e.spacing(n ? 1 : 1.5, 0),
54
+ [`& .${f.rail}`]: {
55
+ backgroundColor: (e.vars ?? e).palette.action.selected,
56
+ opacity: 1
57
+ },
58
+ [`& .${f.track}`]: { border: 0 },
59
+ [`& .${f.thumb}`]: {
60
+ border: `2px solid ${(e.vars ?? e).palette.background.paper}`,
61
+ boxShadow: `0 0 0 1px ${(e.vars ?? e).palette[t.color].main}`,
62
+ height: n ? 14 : 18,
63
+ width: n ? 14 : 18,
64
+ [`&:hover, &.${f.focusVisible}`]: { boxShadow: `0 0 0 6px ${(e.vars ?? e).palette.action.selected}` }
65
+ },
66
+ [`& .${f.mark}`]: {
67
+ backgroundColor: (e.vars ?? e).palette[t.color].main,
68
+ borderRadius: e.radius.sm,
69
+ height: n ? 8 : 10,
70
+ opacity: 1,
71
+ width: n ? 3 : 4
72
+ }
73
+ };
74
+ }), se = c(o, {
75
+ name: "SNumberRange",
76
+ slot: "Inputs",
77
+ shouldForwardProp: (e) => e !== "ownerState"
78
+ })(({ theme: e }) => ({
79
+ alignItems: "flex-start",
80
+ display: "flex",
81
+ gap: e.spacing(1)
82
+ })), ce = c(n, {
83
+ name: "SNumberRange",
84
+ slot: "MinInput",
85
+ shouldForwardProp: (e) => e !== "ownerState"
86
+ })({
87
+ flex: "1 1 0",
88
+ minWidth: 0
89
+ }), le = c(n, {
90
+ name: "SNumberRange",
91
+ slot: "MaxInput",
92
+ shouldForwardProp: (e) => e !== "ownerState"
93
+ })({
94
+ flex: "1 1 0",
95
+ minWidth: 0
96
+ }), ue = c(o, {
97
+ name: "SNumberRange",
98
+ slot: "Separator",
99
+ shouldForwardProp: (e) => e !== "ownerState"
100
+ })(({ theme: e, ownerState: t }) => ({
101
+ alignItems: "center",
102
+ color: (e.vars ?? e).palette.text.secondary,
103
+ display: "inline-flex",
104
+ flex: "0 0 auto",
105
+ height: t.size === "small" ? 36 : 40,
106
+ marginTop: t.hasInputLabel ? "1.4375em" : 0,
107
+ paddingInline: e.spacing(.5),
108
+ userSelect: "none"
109
+ })), v = r.forwardRef(function(n, o) {
110
+ let s = ee({
111
+ props: n,
112
+ name: "SNumberRange"
113
+ }), { color: c = "primary", defaultValue: f, disabled: v = !1, getAriaValueText: de, invalidRangeText: y = "Enter a value inside the allowed range", label: b, max: x = 100, maxLabel: S = "Maximum", min: C = 0, minLabel: w = "Minimum", onChange: fe, onChangeCommitted: T, separator: pe = "–", size: E = "medium", slotProps: D, slots: O, step: k = 1, sx: me, value: he, valueLabelFormat: A, ...ge } = s;
114
+ re(C, x, k);
115
+ let [_e, ve] = te({
116
+ controlled: he,
117
+ default: f ?? [C, x],
118
+ name: "SNumberRange",
119
+ state: "value"
120
+ }), [ye, j] = r.useState(null), M = m(_e, C, x), N = M[0], P = M[1], F = ye ?? [String(M[0]), String(M[1])], I = h(F[0]), L = h(F[1]), be = I !== null && L !== null && _(I, L, C, x), R = I === null || I < C || I > x || L !== null && I > L, z = L === null || L < C || L > x || I !== null && L < I;
121
+ r.useEffect(() => {
122
+ j(null);
123
+ }, [
124
+ x,
125
+ C,
126
+ P,
127
+ N
128
+ ]);
129
+ let B = {
130
+ ...s,
131
+ color: c,
132
+ disabled: v,
133
+ hasInputLabel: !1,
134
+ max: x,
135
+ maxInvalid: z,
136
+ min: C,
137
+ minInvalid: R,
138
+ size: E,
139
+ step: k,
140
+ value: M
141
+ }, V = t(D?.minInput, B), H = t(D?.maxInput, B), U = {
142
+ ...B,
143
+ hasInputLabel: g(V?.label) || g(H?.label)
144
+ }, W = u((e, t) => {
145
+ let n = m(t, C, x);
146
+ return n[0] === M[0] && n[1] === M[1] ? n : (ve(n), fe?.(e, n), n);
147
+ }), xe = u((e, t) => {
148
+ Array.isArray(t) && (j(null), W(e, [t[0], t[1]]));
149
+ }), Se = u((e, t) => {
150
+ Array.isArray(t) && T?.(e, m([t[0], t[1]], C, x));
151
+ }), Ce = (e) => (t) => {
152
+ if (t.defaultPrevented) return;
153
+ let n = t.target.value, r = e === 0 ? [n, F[1]] : [F[0], n];
154
+ j(r);
155
+ let i = h(r[0]), a = h(r[1]);
156
+ i !== null && a !== null && _(i, a, C, x) && (j(null), W(t, [i, a]));
157
+ }, we = (e) => (t) => {
158
+ if (t.defaultPrevented) return;
159
+ let n = h(F[e]), r = n === null ? M : e === 0 ? [p(n, C, M[1]), M[1]] : [M[0], p(n, M[0], x)];
160
+ j(null);
161
+ let i = W(t, r);
162
+ T?.(t, i);
163
+ }, Te = (e) => {
164
+ if (e.defaultPrevented) return;
165
+ let t = e.target;
166
+ if (t.tagName === "INPUT") {
167
+ if (e.key === "Escape") {
168
+ e.preventDefault(), j(null);
169
+ return;
170
+ }
171
+ e.key === "Enter" && (e.preventDefault(), t.blur());
172
+ }
173
+ }, G = O?.root ?? ie, K = O?.label ?? ae, q = O?.slider ?? oe, J = O?.inputs ?? se, Y = O?.minInput ?? ce, X = O?.maxInput ?? le, Z = O?.separator ?? ue, { ref: Ee, sx: De, ...Oe } = d(G, l(t(D?.root, U), {
174
+ "aria-disabled": v || void 0,
175
+ ...ge
176
+ }), U), ke = ne(Ee, o), Ae = d(K, t(D?.label, U) ?? {}, U), je = d(q, {
177
+ ...l(t(D?.slider, U), { valueLabelDisplay: "auto" }),
178
+ color: c,
179
+ disableSwap: !0,
180
+ disabled: v,
181
+ getAriaLabel: (e) => e === 0 ? w : S,
182
+ getAriaValueText: de,
183
+ max: x,
184
+ min: C,
185
+ size: E,
186
+ step: k,
187
+ ...A !== void 0 && { valueLabelFormat: A }
188
+ }, U), Q = d(J, t(D?.inputs, U) ?? {}, U), Me = d(Z, {
189
+ "aria-hidden": !0,
190
+ component: "span",
191
+ ...t(D?.separator, U) ?? {}
192
+ }, U), $ = (e) => {
193
+ let { slotProps: t, ...n } = (e === 0 ? V : H) ?? {}, r = l(t?.htmlInput, { "aria-label": e === 0 ? w : S }), i = l({
194
+ inputMode: "decimal",
195
+ max: x,
196
+ min: C,
197
+ step: k
198
+ }, r), a = l(n, {
199
+ helperText: (e === 0 ? R : !R && z) ? y : void 0,
200
+ onBlur: we(e),
201
+ onChange: Ce(e),
202
+ onKeyDown: Te
203
+ });
204
+ return d(e === 0 ? Y : X, {
205
+ ...a,
206
+ color: c,
207
+ disabled: v,
208
+ error: e === 0 ? R : z,
209
+ size: E,
210
+ slotProps: {
211
+ ...t,
212
+ htmlInput: i
213
+ },
214
+ type: "number",
215
+ value: F[e]
216
+ }, U);
217
+ }, Ne = $(0), Pe = $(1);
218
+ return /* @__PURE__ */ a(G, {
219
+ ...Oe,
220
+ ref: ke,
221
+ sx: [...e(me), ...e(De)],
222
+ "data-invalid": be ? void 0 : "",
223
+ children: [
224
+ b != null && /* @__PURE__ */ i(K, {
225
+ ...Ae,
226
+ children: b
227
+ }),
228
+ /* @__PURE__ */ i(q, {
229
+ ...je,
230
+ onChange: xe,
231
+ onChangeCommitted: Se,
232
+ value: [M[0], M[1]]
233
+ }),
234
+ /* @__PURE__ */ a(J, {
235
+ ...Q,
236
+ children: [
237
+ /* @__PURE__ */ i(Y, { ...Ne }),
238
+ /* @__PURE__ */ i(Z, {
239
+ ...Me,
240
+ children: pe
241
+ }),
242
+ /* @__PURE__ */ i(X, { ...Pe })
243
+ ]
244
+ })
245
+ ]
246
+ });
247
+ });
248
+ v.displayName = "SNumberRange";
249
+ //#endregion
250
+ export { v as SNumberRange, v as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-pagination-s46hBifh.js";
1
+ import { SPagination as e } from "./s-pagination.js";
2
2
  export { e as SPagination, e as default };
@@ -1,2 +1,85 @@
1
- import { t as e } from "../s-pagination-s46hBifh.js";
2
- export { e as SPagination, e as default };
1
+ import { getPaginationDimensions as e } from "./types.js";
2
+ import { styled as t, useThemeProps as n } from "@mui/material/styles";
3
+ import * as r from "react";
4
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ import o from "@mui/material/Stack";
6
+ import s from "@mui/material/Skeleton";
7
+ import c from "@mui/material/Pagination";
8
+ //#region lib/s-pagination/s-pagination.tsx
9
+ var l = 5, u = t(c, {
10
+ name: "SPagination",
11
+ slot: "Root",
12
+ shouldForwardProp: (e) => e !== "ownerState"
13
+ })(({ ownerState: e }) => ({ ...e.loading && { display: "inline-flex" } })), d = r.forwardRef(function(t, c) {
14
+ let d = n({
15
+ props: t,
16
+ name: "SPagination"
17
+ }), { "aria-label": f = "pagination navigation", "aria-busy": p, className: m, color: h = "primary", count: g = 0, loading: _ = !1, loadingIndicator: v, shape: y = "rounded", size: b = "medium", style: x, sx: S, variant: C = "text", ...w } = d;
18
+ if (g <= 0) return null;
19
+ let T = e(b), E = _ || w.disabled, D = {
20
+ ...d,
21
+ "aria-label": f,
22
+ color: h,
23
+ count: g,
24
+ disabled: E,
25
+ loading: _,
26
+ shape: y,
27
+ size: b,
28
+ variant: C
29
+ }, O = /* @__PURE__ */ i(o, {
30
+ "aria-label": `${f} loading`,
31
+ direction: "row",
32
+ role: "progressbar",
33
+ sx: {
34
+ alignItems: "center",
35
+ display: "inline-flex",
36
+ gap: `${T.gap}px`
37
+ },
38
+ children: v ?? (y === "circular" ? Array.from({ length: l }, (e, t) => /* @__PURE__ */ i(s, {
39
+ variant: "circular",
40
+ width: T.item,
41
+ height: T.item
42
+ }, t)) : /* @__PURE__ */ a(r.Fragment, { children: [
43
+ /* @__PURE__ */ i(s, {
44
+ variant: "rounded",
45
+ width: T.item,
46
+ height: T.item
47
+ }),
48
+ /* @__PURE__ */ i(s, {
49
+ variant: "rounded",
50
+ width: T.bar,
51
+ height: T.item
52
+ }),
53
+ /* @__PURE__ */ i(s, {
54
+ variant: "rounded",
55
+ width: T.item,
56
+ height: T.item
57
+ })
58
+ ] }))
59
+ });
60
+ return /* @__PURE__ */ i(u, {
61
+ ...w,
62
+ "aria-label": f,
63
+ "aria-busy": p ?? (_ || void 0),
64
+ className: m,
65
+ color: h,
66
+ count: _ ? 1 : g,
67
+ disabled: E,
68
+ hideNextButton: _ || w.hideNextButton,
69
+ hidePrevButton: _ || w.hidePrevButton,
70
+ ownerState: D,
71
+ page: w.page,
72
+ ref: c,
73
+ renderItem: _ ? () => O : w.renderItem,
74
+ shape: y,
75
+ showFirstButton: _ ? !1 : w.showFirstButton,
76
+ showLastButton: _ ? !1 : w.showLastButton,
77
+ size: b,
78
+ style: x,
79
+ sx: S,
80
+ variant: C
81
+ });
82
+ });
83
+ d.displayName = "SPagination";
84
+ //#endregion
85
+ export { d as SPagination, d as default };
@@ -1,9 +1,9 @@
1
1
  import { toSxArray as e } from "../utils/sx.js";
2
2
  import { resolveCanvasColor as t } from "../utils/canvas-color.js";
3
- import { t as n } from "../useForkRef-BuNFTXxE.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";
3
+ import { forwardRef as n, useCallback as r, useEffect as i, useRef as a } from "react";
4
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
5
+ import { Box as c, styled as l, useMediaQuery as u, useTheme as d, useThemeProps as f } from "@mui/material";
6
+ import { useForkRef as p } from "@mui/material/utils";
7
7
  //#region lib/s-pixel-reveal/s-pixel-reveal.tsx
8
8
  var m = class {
9
9
  x;
@@ -44,7 +44,7 @@ var m = class {
44
44
  let n = (t - this.size) * .5;
45
45
  e.fillRect(this.x + n, this.y + n, this.size, this.size);
46
46
  }
47
- }, h = u(l, {
47
+ }, h = l(c, {
48
48
  name: "SPixelReveal",
49
49
  slot: "Root"
50
50
  })({});
@@ -56,12 +56,12 @@ function g({ x: e, y: t, gap: n, logicalWidth: r, logicalHeight: i, instant: a,
56
56
  function _(e, t, n) {
57
57
  e.has(t) || e.set(t, []), e.get(t)?.push(n);
58
58
  }
59
- var v = r(function(r, l) {
60
- let u = p({
61
- props: r,
59
+ var v = n(function(n, c) {
60
+ let l = f({
61
+ props: n,
62
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,
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 } = l, k = Number.isFinite(x) && x > 0 ? x : 5, A = d(), j = a(null), M = a(null), N = a(null), P = a(/* @__PURE__ */ new Map()), F = a(null), I = a(null), L = a(1e3 / 60), R = a(0), z = a(C), B = u("(prefers-reduced-motion: reduce)", { noSsr: !0 }), V = p(M, c), H = {
64
+ ...l,
65
65
  alt: v,
66
66
  gap: k,
67
67
  hasImage: !!T,
@@ -71,10 +71,10 @@ var v = r(function(r, l) {
71
71
  src: T
72
72
  };
73
73
  z.current = C;
74
- let U = i((e, t, n, r) => {
74
+ let U = r((e, t, n, r) => {
75
75
  let i = e - n, a = t - r;
76
76
  return i * i + a * a;
77
- }, []), W = i((e, t, n) => {
77
+ }, []), W = r((e, t, n) => {
78
78
  F.current !== null && cancelAnimationFrame(F.current), R.current = performance.now();
79
79
  let r = () => {
80
80
  F.current = requestAnimationFrame(r);
@@ -94,12 +94,12 @@ var v = r(function(r, l) {
94
94
  }), !z.current && !o && F.current !== null && (cancelAnimationFrame(F.current), F.current = null);
95
95
  };
96
96
  r();
97
- }, [k]), G = i((e, t, n) => {
97
+ }, [k]), G = r((e, t, n) => {
98
98
  e.clearRect(0, 0, t, n), z.current && P.current.forEach((t, n) => {
99
99
  e.fillStyle = n;
100
100
  for (let n of t) n.size = n.maxSize, n.draw(e, k);
101
101
  });
102
- }, [k]), K = i(() => {
102
+ }, [k]), K = r(() => {
103
103
  let e = j.current, n = e?.getContext("2d");
104
104
  if (!e || !n) return;
105
105
  P.current = /* @__PURE__ */ new Map();
@@ -136,7 +136,7 @@ var v = r(function(r, l) {
136
136
  U,
137
137
  G,
138
138
  W
139
- ]), q = i(() => {
139
+ ]), q = r(() => {
140
140
  let e = j.current, t = M.current, n = e?.getContext("2d");
141
141
  if (!e || !t || !n) return;
142
142
  let r = t.getBoundingClientRect();
@@ -144,7 +144,7 @@ var v = r(function(r, l) {
144
144
  let i = Math.floor(r.width), a = Math.floor(r.height), o = window.devicePixelRatio ?? 1;
145
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
146
  }, [K]);
147
- return a(() => {
147
+ return i(() => {
148
148
  q();
149
149
  let e = new ResizeObserver(() => {
150
150
  I.current === null && (I.current = requestAnimationFrame(() => {
@@ -154,7 +154,7 @@ var v = r(function(r, l) {
154
154
  return M.current && e.observe(M.current), () => {
155
155
  e.disconnect(), I.current !== null && (cancelAnimationFrame(I.current), I.current = null), F.current !== null && (cancelAnimationFrame(F.current), F.current = null);
156
156
  };
157
- }, [q]), a(() => {
157
+ }, [q]), i(() => {
158
158
  let e = j.current, t = e?.getContext("2d");
159
159
  if (!e || !t || P.current.size === 0) return;
160
160
  let n = window.devicePixelRatio ?? 1, r = e.width / n, i = e.height / n;
@@ -168,7 +168,7 @@ var v = r(function(r, l) {
168
168
  B,
169
169
  G,
170
170
  W
171
- ]), /* @__PURE__ */ c(h, {
171
+ ]), /* @__PURE__ */ s(h, {
172
172
  ...O,
173
173
  ref: V,
174
174
  ownerState: H,
@@ -180,7 +180,7 @@ var v = r(function(r, l) {
180
180
  width: "100%"
181
181
  }, ...e(D)],
182
182
  children: [
183
- T && /* @__PURE__ */ s("img", {
183
+ T && /* @__PURE__ */ o("img", {
184
184
  ref: N,
185
185
  src: T,
186
186
  alt: v,
@@ -194,7 +194,7 @@ var v = r(function(r, l) {
194
194
  }
195
195
  }),
196
196
  y,
197
- /* @__PURE__ */ s("canvas", {
197
+ /* @__PURE__ */ o("canvas", {
198
198
  ref: j,
199
199
  style: {
200
200
  position: "absolute",
@@ -1,21 +1,20 @@
1
- import { t as e } from "../Box-9oeZgA1U.js";
2
- import { t } from "../styled-Bog8QCl3.js";
3
- import { t as n } from "../useThemeProps-Dw9dmKyT.js";
4
- import * as r from "react";
5
- import { jsx as i } from "react/jsx-runtime";
1
+ import { styled as e, useThemeProps as t } from "@mui/material/styles";
2
+ import * as n from "react";
3
+ import { jsx as r } from "react/jsx-runtime";
4
+ import i from "@mui/material/Box";
6
5
  //#region lib/s-popover/s-popover-content.tsx
7
- var a = t(e, {
6
+ var a = e(i, {
8
7
  name: "SPopoverContent",
9
8
  slot: "Root"
10
- })(({ theme: e }) => ({ padding: e.spacing(2) })), o = Object.assign(r.forwardRef(function(e, t) {
11
- let r = n({
9
+ })(({ theme: e }) => ({ padding: e.spacing(2) })), o = Object.assign(n.forwardRef(function(e, n) {
10
+ let i = t({
12
11
  props: e,
13
12
  name: "SPopoverContent"
14
13
  });
15
- return /* @__PURE__ */ i(a, {
16
- ...r,
17
- ownerState: r,
18
- ref: t
14
+ return /* @__PURE__ */ r(a, {
15
+ ...i,
16
+ ownerState: i,
17
+ ref: n
19
18
  });
20
19
  }), { displayName: "SPopoverContent" });
21
20
  //#endregion
@@ -1,20 +1,18 @@
1
- import { t as e } from "../styled-Bog8QCl3.js";
2
- import { t } from "../useThemeProps-Dw9dmKyT.js";
3
- import { toSxArray as n } from "../utils/sx.js";
4
- import { resolveOwnerStateSlotProps as r } from "../utils/slots.js";
5
- import { t as i } from "../useForkRef-BuNFTXxE.js";
6
- import { t as a } from "../appendOwnerState-CFQTq3pb.js";
7
- import { t as o } from "../mergeSlotProps-DC8r4QzS.js";
8
- import { n as s, t as c } from "../Popover-BFdKSYI5.js";
9
- import { placementOrigins as l } from "./placement.js";
10
- import * as u from "react";
11
- import { jsx as d } from "react/jsx-runtime";
1
+ import { toSxArray as e } from "../utils/sx.js";
2
+ import { resolveOwnerStateSlotProps as t } from "../utils/slots.js";
3
+ import { placementOrigins as n } from "./placement.js";
4
+ import { styled as r, useThemeProps as i } from "@mui/material/styles";
5
+ import * as a from "react";
6
+ import { jsx as o } from "react/jsx-runtime";
7
+ import { mergeSlotProps as s, useForkRef as c } from "@mui/material/utils";
8
+ import l from "@mui/utils/appendOwnerState";
9
+ import u, { PopoverPaper as d } from "@mui/material/Popover";
12
10
  //#region lib/s-popover/s-popover.tsx
13
- var f = .5, p = e(c, {
11
+ var f = .5, p = r(u, {
14
12
  name: "SPopover",
15
13
  slot: "Root",
16
14
  shouldForwardProp: (e) => e !== "ownerState"
17
- })(({ theme: e }) => ({ zIndex: e.zIndex.modal })), m = e(s, {
15
+ })(({ theme: e }) => ({ zIndex: e.zIndex.modal })), m = r(d, {
18
16
  name: "SPopover",
19
17
  slot: "Paper",
20
18
  shouldForwardProp: (e) => e !== "ownerState"
@@ -30,15 +28,15 @@ var f = .5, p = e(c, {
30
28
  props: ({ ownerState: e }) => e?.placement?.startsWith("top") ?? !1,
31
29
  style: { marginTop: e.spacing(-f) }
32
30
  }]
33
- })), h = u.forwardRef(function(e, s) {
34
- let c = t({
35
- props: e,
31
+ })), h = a.forwardRef(function(r, a) {
32
+ let u = i({
33
+ props: r,
36
34
  name: "SPopover"
37
- }), { placement: u = "bottom-end", slotProps: f, slots: h, sx: g, zIndex: _, ...v } = c, y = {
38
- ...c,
39
- placement: u
40
- }, { anchorOrigin: b, transformOrigin: x } = l[u], S = h?.root ?? p, C = h?.paper ?? m, { ref: w, sx: T, ...E } = a(S, o(r(f?.root, y), v), y), D = i(w, s), { sx: O, ...k } = a(C, r(f?.paper, y) ?? {}, y);
41
- return /* @__PURE__ */ d(S, {
35
+ }), { placement: d = "bottom-end", slotProps: f, slots: h, sx: g, zIndex: _, ...v } = u, y = {
36
+ ...u,
37
+ placement: d
38
+ }, { anchorOrigin: b, transformOrigin: x } = n[d], S = h?.root ?? p, C = h?.paper ?? m, { ref: w, sx: T, ...E } = l(S, s(t(f?.root, y), v), y), D = c(w, a), { sx: O, ...k } = l(C, t(f?.paper, y) ?? {}, y);
39
+ return /* @__PURE__ */ o(S, {
42
40
  ...E,
43
41
  ref: D,
44
42
  anchorOrigin: b,
@@ -51,14 +49,14 @@ var f = .5, p = e(c, {
51
49
  backdrop: f?.backdrop,
52
50
  paper: {
53
51
  ...k,
54
- sx: n(O)
52
+ sx: e(O)
55
53
  },
56
54
  transition: f?.transition
57
55
  },
58
56
  sx: [
59
57
  ..._ === void 0 ? [] : [{ zIndex: _ }],
60
- ...n(T),
61
- ...n(g)
58
+ ...e(T),
59
+ ...e(g)
62
60
  ],
63
61
  transformOrigin: x
64
62
  });