@solostylist/ui-kit 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. package/dist/Add-CEnTWsXs.js +6 -0
  2. package/dist/ArrowUpward-udL1ltj2.js +6 -0
  3. package/dist/Box-9oeZgA1U.js +46 -0
  4. package/dist/Button-DaLr1m20.js +534 -0
  5. package/dist/ButtonBase-DovDC6-1.js +700 -0
  6. package/dist/Checkbox-C-Xjbzzh.js +152 -0
  7. package/dist/ChevronRight-DsPfsFKB.js +6 -0
  8. package/dist/Close-CIYOM-Sc.js +6 -0
  9. package/dist/Collapse-DPUr1cbP.js +266 -0
  10. package/dist/ContentCopy-Hlh3azVb.js +6 -0
  11. package/dist/DefaultPropsProvider-ebWx4_5E.js +128 -0
  12. package/dist/DialogContent-b3xbJVC6.js +450 -0
  13. package/dist/Download-D9PkFi7a.js +6 -0
  14. package/dist/ExpandMore-sOgvEha9.js +6 -0
  15. package/dist/Favorite-BP343hjM.js +6 -0
  16. package/dist/FavoriteBorder-D15j9xEL.js +6 -0
  17. package/dist/FormControl-DwMfZCiz.js +215 -0
  18. package/dist/FormControlLabel-Ihga1FTB.js +173 -0
  19. package/dist/Grow-BQR7x52V.js +121 -0
  20. package/dist/IconButton-CE-4GamO.js +448 -0
  21. package/dist/InfoOutlined-lpvhO6P8.js +6 -0
  22. package/dist/List-RNcZhRdr.js +105 -0
  23. package/dist/Menu-CnyB4SDS.js +180 -0
  24. package/dist/MenuItem-Ck30dBOR.js +224 -0
  25. package/dist/MenuList-Cc98uWXq.js +160 -0
  26. package/dist/Modal-CD2EBfU8.js +702 -0
  27. package/dist/Paper-_3qggtBp.js +115 -0
  28. package/dist/Popover-BFdKSYI5.js +340 -0
  29. package/dist/Popper-DYNAMSDd.js +1351 -0
  30. package/dist/Portal-i_wgIe9-.js +49 -0
  31. package/dist/Remove-DDEn8ek8.js +6 -0
  32. package/dist/RtlProvider-B7uVJXUY.js +19 -0
  33. package/dist/Skeleton-iZFynl7z.js +220 -0
  34. package/dist/Stack-C0LGzM4c.js +158 -0
  35. package/dist/SwitchBase-CjWtDdmE.js +198 -0
  36. package/dist/Tooltip-B1sn94L0.js +448 -0
  37. package/dist/Typography-_P0svrkO.js +168 -0
  38. package/dist/UnfoldMoreRounded-CuCrdxoy.js +6 -0
  39. package/dist/appendOwnerState-CFQTq3pb.js +17 -0
  40. package/dist/assets/stripe-input.css +1 -0
  41. package/dist/autocomplete-BgARERpp.js +43 -0
  42. package/dist/avatar-XNOdbbRz.js +10 -0
  43. package/dist/buttonBaseClasses-B90LjsNK.js +13 -0
  44. package/dist/capitalize-C0baBJCm.js +5 -0
  45. package/dist/chainPropTypes-CkMRtDjQ.js +8 -0
  46. package/dist/checkbox-D1U_JKqs.js +88 -0
  47. package/dist/checkboxClasses-B1up2lUn.js +18 -0
  48. package/dist/chunk-C_CI6nMA.js +13 -0
  49. package/dist/clsx-DGZSe4Nt.js +16 -0
  50. package/dist/colorManipulator-DmUjcif3.js +129 -0
  51. package/dist/contains-DnqPQsQU.js +16 -0
  52. package/dist/createSimplePaletteValueFilter-DFvyXHoZ.js +14 -0
  53. package/dist/createSvgIcon-3y-gS0r1.js +155 -0
  54. package/dist/createTheme-xB2Em0Na.js +1869 -0
  55. package/dist/defaultTheme-BaGcIzCh.js +210 -0
  56. package/dist/elementAcceptingRef-pKEY6jPR.js +25 -0
  57. package/dist/elementTypeAcceptingRef-xl_04Y5-.js +19 -0
  58. package/dist/exactProp-C_IsucXf.js +13 -0
  59. package/dist/extends-DXMyyJCW.js +12 -0
  60. package/dist/field-label-styles-4praXMaE.js +50 -0
  61. package/dist/formLabelClasses-AuZHWfTs.js +18 -0
  62. package/dist/generateUtilityClass-PAIOm1jC.js +34 -0
  63. package/dist/generateUtilityClasses-DvX505Gy.js +10 -0
  64. package/dist/getActiveElement-BfBkhgy6.js +8 -0
  65. package/dist/{gradients-DSnBONEQ.js → gradients-mQAYCK0_.js} +1 -1
  66. package/dist/iconButtonClasses-CVVRFXRo.js +27 -0
  67. package/dist/inputAdornmentClasses-BbB8s-Z4.js +19 -0
  68. package/dist/inputBaseClasses-Ce_jjdp9.js +25 -0
  69. package/dist/integerPropType-CCkQD1JY.js +27 -0
  70. package/dist/isEventHandler-QShLXBxE.js +7 -0
  71. package/dist/isFocusVisible-4OIE8TST.js +11 -0
  72. package/dist/isLayoutSupported-Btg2X3QE.js +6 -0
  73. package/dist/isMuiElement-CPjhi284.js +10 -0
  74. package/dist/main.js +1 -1
  75. package/dist/mega-menu-trigger-BcOo8I5_.js +53 -0
  76. package/dist/memoTheme-qFyKAk7y.js +15 -0
  77. package/dist/mergeSlotProps-DC8r4QzS.js +45 -0
  78. package/dist/monthCalendarClasses-b964KRbc.js +14 -0
  79. package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +12 -0
  80. package/dist/outlinedInputClasses-ci1zDasn.js +17 -0
  81. package/dist/ownerDocument-CJjQZweZ.js +6 -0
  82. package/dist/ownerDocument-pYjJiXem.js +5 -0
  83. package/dist/ownerWindow-SSeeoqPT.js +18 -0
  84. package/dist/palettes/index.js +1 -1
  85. package/dist/{palettes-CJLuEy1m.js → palettes-B1FcGUYs.js} +163 -163
  86. package/dist/pickersCalendarHeaderClasses-BAiPN_oY.js +12 -0
  87. package/dist/prop-types-BzYPyWN7.js +516 -0
  88. package/dist/refType-j5S9pc_e.js +6 -0
  89. package/dist/resolveProps-7jIA45vn.js +30 -0
  90. package/dist/s-accordion/index.js +1 -1
  91. package/dist/s-accordion/s-accordion.js +2 -70
  92. package/dist/s-accordion-1oLxQhod.js +487 -0
  93. package/dist/s-action-overlay/s-action-overlay.js +21 -21
  94. package/dist/s-animated-gradient-text/index.d.ts +2 -0
  95. package/dist/s-animated-gradient-text/index.js +2 -0
  96. package/dist/s-animated-gradient-text/s-animated-gradient-text.d.ts +64 -0
  97. package/dist/s-animated-gradient-text/s-animated-gradient-text.js +93 -0
  98. package/dist/s-announcement-bar/index.d.ts +2 -0
  99. package/dist/s-announcement-bar/index.js +2 -0
  100. package/dist/s-announcement-bar/s-announcement-bar.d.ts +113 -0
  101. package/dist/s-announcement-bar/s-announcement-bar.js +275 -0
  102. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  103. package/dist/s-avatar/s-avatar.js +17 -17
  104. package/dist/s-blur-text/s-blur-text.js +16 -16
  105. package/dist/s-brand-logo/index.js +1 -1
  106. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  107. package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
  108. package/dist/s-carousel/index.js +1 -1
  109. package/dist/s-carousel/s-carousel.d.ts +2 -0
  110. package/dist/s-carousel/s-carousel.js +2 -184
  111. package/dist/s-carousel-CAyAl3ka.js +1355 -0
  112. package/dist/s-category-card/s-category-card.js +22 -22
  113. package/dist/s-chat-input/index.js +1 -1
  114. package/dist/s-chat-input/s-chat-input.js +2 -398
  115. package/dist/s-chat-input-T3gyan60.js +419 -0
  116. package/dist/s-chat-message/index.js +1 -1
  117. package/dist/s-chat-message/s-chat-message.js +2 -314
  118. package/dist/s-chat-message-NFTpNgt5.js +315 -0
  119. package/dist/s-checkbox/s-checkbox.js +19 -18
  120. package/dist/s-chips/index.js +1 -1
  121. package/dist/s-chips/s-chips.js +2 -174
  122. package/dist/s-chips-Dqq1fgz-.js +176 -0
  123. package/dist/s-code-block/index.js +1 -1
  124. package/dist/s-code-block/s-code-block.js +2 -103
  125. package/dist/s-code-block-DyDtctGG.js +658 -0
  126. package/dist/s-comment-message/index.js +1 -1
  127. package/dist/s-comment-message/s-comment-message.js +2 -189
  128. package/dist/s-comment-message-DpCVBKiE.js +192 -0
  129. package/dist/s-copyable-text/s-copyable-text.js +18 -18
  130. package/dist/s-countdown/s-count-box.js +18 -18
  131. package/dist/s-data-table/index.js +1 -1
  132. package/dist/s-data-table/s-data-table.js +2 -213
  133. package/dist/s-data-table-D4V58HFR.js +805 -0
  134. package/dist/s-date-picker/index.js +1 -1
  135. package/dist/s-date-picker/s-date-picker.js +2 -106
  136. package/dist/s-date-picker-BFIQOA8C.js +657 -0
  137. package/dist/s-datetime-picker/index.js +1 -1
  138. package/dist/s-datetime-picker/s-datetime-picker.js +2 -108
  139. package/dist/s-datetime-picker-zfg7BEOW.js +3886 -0
  140. package/dist/s-dialog/index.js +1 -1
  141. package/dist/s-dialog/s-dialog.js +2 -80
  142. package/dist/s-dialog-BNlXsVVP.js +123 -0
  143. package/dist/s-dialog-confirm/s-dialog-confirm.js +33 -32
  144. package/dist/s-dialog-message/s-dialog-message.js +32 -31
  145. package/dist/s-drawer/index.d.ts +3 -0
  146. package/dist/s-drawer/index.js +2 -0
  147. package/dist/s-drawer/s-drawer.d.ts +70 -0
  148. package/dist/s-drawer/s-drawer.js +2 -0
  149. package/dist/s-drawer-4h5ZyoM8.js +562 -0
  150. package/dist/s-empty/s-empty.js +14 -13
  151. package/dist/s-file-dropzone/index.js +1 -1
  152. package/dist/s-file-dropzone/s-file-dropzone.js +2 -219
  153. package/dist/s-file-dropzone-Cfzv1Cm8.js +422 -0
  154. package/dist/s-file-icon/s-file-icon.js +88 -87
  155. package/dist/s-flex-box/s-flex-box.js +12 -11
  156. package/dist/s-form/s-form.js +15 -15
  157. package/dist/s-gallery/s-gallery.js +1 -1
  158. package/dist/s-glow-button/s-glow-button.js +10 -9
  159. package/dist/s-gradient-blob-pulse/index.d.ts +2 -0
  160. package/dist/s-gradient-blob-pulse/index.js +2 -0
  161. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.d.ts +62 -0
  162. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +237 -0
  163. package/dist/s-gradient-icon/index.d.ts +1 -1
  164. package/dist/s-gradient-icon/s-gradient-icon.d.ts +4 -4
  165. package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
  166. package/dist/s-icon-button/s-icon-button.d.ts +6 -2
  167. package/dist/s-icon-button/s-icon-button.js +14 -13
  168. package/dist/s-image-comparison/s-image-comparison.js +31 -29
  169. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  170. package/dist/s-image-viewer/index.js +3 -3
  171. package/dist/s-image-viewer/s-image-viewer.js +2 -266
  172. package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
  173. package/dist/s-image-viewer-CjK67-rs.js +269 -0
  174. package/dist/s-interactive-card/index.d.ts +3 -0
  175. package/dist/s-interactive-card/index.js +2 -0
  176. package/dist/s-interactive-card/s-interactive-card.d.ts +57 -0
  177. package/dist/s-interactive-card/s-interactive-card.js +152 -0
  178. package/dist/s-label/s-label.js +26 -25
  179. package/dist/s-language-switcher/index.js +2 -2
  180. package/dist/s-language-switcher/s-language-switcher.js +2 -150
  181. package/dist/s-language-switcher-PaMgHWc2.js +246 -0
  182. package/dist/s-lazy-image/s-lazy-image.js +18 -17
  183. package/dist/s-link/index.js +1 -1
  184. package/dist/s-link/s-link.js +2 -5
  185. package/dist/s-link-Db1aabHh.js +235 -0
  186. package/dist/s-list-action-item/index.d.ts +2 -0
  187. package/dist/s-list-action-item/index.js +2 -0
  188. package/dist/s-list-action-item/s-list-action-item.d.ts +89 -0
  189. package/dist/s-list-action-item/s-list-action-item.js +150 -0
  190. package/dist/s-localization-provider/index.js +1 -1
  191. package/dist/s-localization-provider/s-localization-provider.js +2 -12
  192. package/dist/s-localization-provider-CeyB_SGz.js +519 -0
  193. package/dist/s-mega-menu/index.d.ts +3 -0
  194. package/dist/s-mega-menu/index.js +2 -0
  195. package/dist/s-mega-menu/mega-menu-panel.d.ts +38 -0
  196. package/dist/s-mega-menu/mega-menu-panel.js +253 -0
  197. package/dist/s-mega-menu/mega-menu-slots.d.ts +65 -0
  198. package/dist/s-mega-menu/mega-menu-slots.js +232 -0
  199. package/dist/s-mega-menu/mega-menu-trigger.d.ts +35 -0
  200. package/dist/s-mega-menu/mega-menu-trigger.js +2 -0
  201. package/dist/s-mega-menu/s-mega-menu.d.ts +23 -0
  202. package/dist/s-mega-menu/s-mega-menu.js +228 -0
  203. package/dist/s-mega-menu/types.d.ts +188 -0
  204. package/dist/s-mega-menu/types.js +0 -0
  205. package/dist/s-mega-menu/utils.d.ts +51 -0
  206. package/dist/s-mega-menu/utils.js +51 -0
  207. package/dist/s-mobile-dock/index.d.ts +3 -0
  208. package/dist/s-mobile-dock/index.js +2 -0
  209. package/dist/s-mobile-dock/s-mobile-dock.d.ts +96 -0
  210. package/dist/s-mobile-dock/s-mobile-dock.js +2 -0
  211. package/dist/s-mobile-dock-8F3UWAb8.js +615 -0
  212. package/dist/s-nav-item/index.d.ts +1 -1
  213. package/dist/s-nav-item/s-nav-item.d.ts +35 -16
  214. package/dist/s-nav-item/s-nav-item.js +56 -77
  215. package/dist/s-nav-items/s-nav-items.js +78 -121
  216. package/dist/s-no-ssr/index.js +1 -1
  217. package/dist/s-no-ssr/s-no-ssr.js +2 -5
  218. package/dist/s-no-ssr-DH57_uP_.js +25 -0
  219. package/dist/s-number-range/index.d.ts +3 -0
  220. package/dist/s-number-range/index.js +2 -0
  221. package/dist/s-number-range/s-number-range.d.ts +109 -0
  222. package/dist/s-number-range/s-number-range.js +2 -0
  223. package/dist/s-number-range-Low5QjuD.js +253 -0
  224. package/dist/s-pagination/index.js +1 -1
  225. package/dist/s-pagination/s-pagination.js +2 -85
  226. package/dist/s-pagination-s46hBifh.js +606 -0
  227. package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
  228. package/dist/s-popover/index.d.ts +5 -0
  229. package/dist/s-popover/index.js +3 -0
  230. package/dist/s-popover/placement.d.ts +14 -0
  231. package/dist/s-popover/placement.js +65 -0
  232. package/dist/s-popover/s-popover-content.d.ts +22 -0
  233. package/dist/s-popover/s-popover-content.js +22 -0
  234. package/dist/s-popover/s-popover.d.ts +59 -0
  235. package/dist/s-popover/s-popover.js +68 -0
  236. package/dist/s-product-card/index.d.ts +3 -0
  237. package/dist/s-product-card/index.js +2 -0
  238. package/dist/s-product-card/s-product-card.d.ts +216 -0
  239. package/dist/s-product-card/s-product-card.js +502 -0
  240. package/dist/s-product-gallery/index.d.ts +3 -0
  241. package/dist/s-product-gallery/index.js +2 -0
  242. package/dist/s-product-gallery/s-product-gallery.d.ts +116 -0
  243. package/dist/s-product-gallery/s-product-gallery.js +2 -0
  244. package/dist/s-product-gallery-Dj9eGg5i.js +430 -0
  245. package/dist/s-quantity-input/s-quantity-input.js +24 -24
  246. package/dist/s-review/index.js +1 -1
  247. package/dist/s-review/s-review.js +2 -272
  248. package/dist/s-review--Q2C0ngO.js +272 -0
  249. package/dist/s-scroll-reveal/s-scroll-reveal.js +8 -7
  250. package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +1 -1
  251. package/dist/s-scroll-to-top/s-scroll-to-top.js +28 -27
  252. package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
  253. package/dist/s-segmented-control/index.d.ts +3 -0
  254. package/dist/s-segmented-control/index.js +2 -0
  255. package/dist/s-segmented-control/s-segmented-control.d.ts +94 -0
  256. package/dist/s-segmented-control/s-segmented-control.js +302 -0
  257. package/dist/s-select/index.js +1 -1
  258. package/dist/s-select/s-select.js +2 -201
  259. package/dist/s-select-CtVKEOZ5.js +204 -0
  260. package/dist/s-select-list/s-select-list.js +50 -47
  261. package/dist/s-skeleton/s-skeleton.js +13 -12
  262. package/dist/s-snackbar-message/index.js +2 -2
  263. package/dist/s-snackbar-message/s-snackbar-message.js +2 -89
  264. package/dist/s-snackbar-message-DsfJlDYd.js +810 -0
  265. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
  266. package/dist/s-status-illustration/s-status-illustration.js +74 -74
  267. package/dist/s-stepper/index.d.ts +3 -0
  268. package/dist/s-stepper/index.js +2 -0
  269. package/dist/s-stepper/s-stepper.d.ts +90 -0
  270. package/dist/s-stepper/s-stepper.js +2 -0
  271. package/dist/s-stepper-BtODHVro.js +892 -0
  272. package/dist/s-stripe/s-stripe.js +12 -11
  273. package/dist/s-stripe/stripe-input.js +2 -3
  274. package/dist/s-swatch/index.d.ts +3 -0
  275. package/dist/s-swatch/index.js +2 -0
  276. package/dist/s-swatch/s-swatch.d.ts +235 -0
  277. package/dist/s-swatch/s-swatch.js +219 -0
  278. package/dist/s-switch/index.js +1 -1
  279. package/dist/s-switch/s-switch.js +2 -48
  280. package/dist/s-switch-BCeBoxWf.js +307 -0
  281. package/dist/s-tabs/s-tabs.js +50 -48
  282. package/dist/s-text-editor/index.js +1 -1
  283. package/dist/s-text-editor/s-text-editor-toolbar.js +2 -216
  284. package/dist/s-text-editor/s-text-editor.js +26 -25
  285. package/dist/s-text-editor-toolbar-D5eQ-jCs.js +2124 -0
  286. package/dist/s-text-field/index.js +1 -1
  287. package/dist/s-text-field/s-text-field.js +2 -52
  288. package/dist/s-text-field-HYyDf1Jo.js +51 -0
  289. package/dist/s-text-shimmer/s-text-shimmer.js +3 -1
  290. package/dist/s-text-truncation/s-text-truncation.js +20 -20
  291. package/dist/s-theme-demo/s-theme-demo.js +8 -8
  292. package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
  293. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  294. package/dist/s-theme-demo/theme-demo-components-section.js +2 -265
  295. package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
  296. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  297. package/dist/s-theme-switch/index.js +1 -1
  298. package/dist/s-theme-switch/s-theme-switch.js +2 -60
  299. package/dist/s-theme-switch-BFWpADh3.js +60 -0
  300. package/dist/s-tip/index.js +1 -1
  301. package/dist/s-tip/s-tip.js +2 -61
  302. package/dist/s-tip-jbL7vtoU.js +62 -0
  303. package/dist/s-tool-bar/s-tool-bar.js +28 -28
  304. package/dist/s-tool-bar/tool-bar-action-buttons.js +2 -55
  305. package/dist/s-tool-bar/tool-bar-image-input.js +2 -148
  306. package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
  307. package/dist/s-tool-item/s-tool-item.d.ts +10 -6
  308. package/dist/s-tool-item/s-tool-item.js +29 -29
  309. package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
  310. package/dist/s-zoom-image/s-zoom-image.js +19 -18
  311. package/dist/selectClasses-CPxME5jE.js +22 -0
  312. package/dist/setRef-BWPyWnrr.js +6 -0
  313. package/dist/styled-Bog8QCl3.js +163 -0
  314. package/dist/svgIconClasses-1kWGzgux.js +20 -0
  315. package/dist/switchClasses-BtweO7PC.js +23 -0
  316. package/dist/theme/component-augmentation.d.ts +65 -1
  317. package/dist/theme/components/autocomplete.js +2 -43
  318. package/dist/theme/components/avatar.js +2 -9
  319. package/dist/theme/components/card.js +3 -3
  320. package/dist/theme/components/checkbox.js +2 -90
  321. package/dist/theme/components/chip.js +3 -3
  322. package/dist/theme/components/components.js +20 -20
  323. package/dist/theme/components/date-calendar.js +0 -1
  324. package/dist/theme/components/day-calendar.js +0 -1
  325. package/dist/theme/components/drawer.d.ts +1 -0
  326. package/dist/theme/components/drawer.js +4 -1
  327. package/dist/theme/components/field-label-styles.js +2 -19
  328. package/dist/theme/components/form-label.js +1 -1
  329. package/dist/theme/components/list-item-button.js +1 -1
  330. package/dist/theme/components/list-item.js +7 -7
  331. package/dist/theme/components/month-calendar.js +13 -14
  332. package/dist/theme/components/multi-section-digital-clock-section.js +0 -1
  333. package/dist/theme/components/outlined-input.js +6 -6
  334. package/dist/theme/components/picker-day.js +0 -1
  335. package/dist/theme/components/pickers-arrow-switcher.js +0 -1
  336. package/dist/theme/components/pickers-calendar-header.js +2 -3
  337. package/dist/theme/components/select.js +6 -6
  338. package/dist/theme/components/slider.js +18 -1
  339. package/dist/theme/components/step-connector.d.ts +0 -3
  340. package/dist/theme/components/step-connector.js +1 -6
  341. package/dist/theme/components/step-icon.d.ts +3 -12
  342. package/dist/theme/components/step-icon.js +3 -14
  343. package/dist/theme/components/switch.js +1 -1
  344. package/dist/theme/components/table-pagination.js +1 -1
  345. package/dist/theme/components/toggle-button.js +2 -93
  346. package/dist/theme/components/year-calendar.js +13 -14
  347. package/dist/theme/theme-primitives.js +2 -2
  348. package/dist/theme-demo-components-section-C7l_2KAo.js +267 -0
  349. package/dist/{theme-primitives-CRfnMsNy.js → theme-primitives-CXtaMdVj.js} +109 -108
  350. package/dist/toggle-button-BsGb-tOr.js +104 -0
  351. package/dist/tool-bar-action-buttons-v1koaasr.js +54 -0
  352. package/dist/tool-bar-image-input-DtXTyEe1.js +148 -0
  353. package/dist/typographyClasses-BH_-zLwg.js +31 -0
  354. package/dist/unsupportedProp-whMV_uOi.js +11 -0
  355. package/dist/useControlled-DqNPBJNp.js +5 -0
  356. package/dist/useControlled-uxVKygk1.js +29 -0
  357. package/dist/useEnhancedEffect-DFq_FMGX.js +5 -0
  358. package/dist/useEnhancedEffect-dBFfkm1e.js +5 -0
  359. package/dist/useEventCallback-DGCsaRIu.js +5 -0
  360. package/dist/useEventCallback-DhCPBxRG.js +11 -0
  361. package/dist/useForkRef-BuNFTXxE.js +29 -0
  362. package/dist/useFormControl-gXwNeUM1.js +18 -0
  363. package/dist/useMobilePicker-CdrT935R.js +7584 -0
  364. package/dist/useRovingTabIndex-DPlW997R.js +242 -0
  365. package/dist/useSlot-BG8ReOxN.js +83 -0
  366. package/dist/useSlotProps-BOO3qaI9.js +16 -0
  367. package/dist/useTheme-BIWMbX3i.js +9 -0
  368. package/dist/useThemeProps-Dw9dmKyT.js +29 -0
  369. package/dist/useTimeout-CoK-Khfm.js +49 -0
  370. package/dist/utils/dayjs.js +146 -9
  371. package/dist/utils-Bfqbev5I.js +248 -0
  372. package/dist/warning-D5YhCbje.js +99 -0
  373. package/dist/yearCalendarClasses-D9k_KT38.js +14 -0
  374. package/package.json +1 -1
  375. package/dist/theme/components/components.d.ts +0 -2
  376. package/dist/theme/components/slider.d.ts +0 -34
  377. /package/dist/{colors-CNjL5fhq.js → colors-Bik9qOU9.js} +0 -0
  378. /package/dist/{s-brand-logo-CErW9Slg.js → s-brand-logo-D7Jovf5K.js} +0 -0
  379. /package/dist/{utils-CMeAWSRO.js → utils-DOY6v6ln.js} +0 -0
@@ -1,201 +1,2 @@
1
- import { staticFieldLabelStyles as e } from "../theme/components/field-label-styles.js";
2
- import * as t from "react";
3
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
- import { Box as i, FormControl as a, FormHelperText as o, InputAdornment as s, InputLabel as c, ListSubheader as l, MenuItem as u, Select as ee, TextField as d, styled as f, useThemeProps as te } from "@mui/material";
5
- import { mergeSlotProps as p } from "@mui/material/utils";
6
- import ne from "@mui/icons-material/Search";
7
- //#region lib/s-select/s-select.tsx
8
- function m(e) {
9
- return typeof e == "string" || typeof e == "number";
10
- }
11
- function h(e, t) {
12
- return m(e) ? String(e) : String(e[t]);
13
- }
14
- function re(e, t) {
15
- return m(e) ? e : e[t];
16
- }
17
- function g(e) {
18
- return /* @__PURE__ */ n(i, {
19
- component: "span",
20
- sx: { color: "text.secondary" },
21
- children: e
22
- });
23
- }
24
- function _(e, t, n) {
25
- return e.find((e) => n(e) === t);
26
- }
27
- function ie(e, t, n, r, i, a) {
28
- if (e == null || e === "") return g(r);
29
- if (t) return String(e);
30
- let o = _(n, e, a);
31
- return o ? i(o) : "";
32
- }
33
- function ae(e, t, n, r, i, a) {
34
- return e.length === 0 ? g(r) : t ? e.map(String).join(", ") : e.map((e) => {
35
- let t = _(n, e, a);
36
- return t ? i(t) : "";
37
- }).filter(Boolean).join(", ");
38
- }
39
- function oe(e, t, n, r) {
40
- if (!t || !n) return e;
41
- let i = n.toLowerCase();
42
- return e.filter((e) => r(e).toLowerCase().includes(i));
43
- }
44
- function v(e, t) {
45
- return e.reduce((e, n) => {
46
- let r = String(t(n));
47
- return e.set(r, (e.get(r) ?? 0) + 1), e;
48
- }, /* @__PURE__ */ new Map());
49
- }
50
- function y(e, t, n, r, i) {
51
- let a = i?.(e, t);
52
- if (a !== void 0) return a;
53
- let o = String(r(e));
54
- return (n.get(o) ?? 0) > 1 ? `${o}-${t}` : o;
55
- }
56
- function b(e, t, r, i, a) {
57
- let o = v(e, t);
58
- return e.map((e, s) => {
59
- let c = t(e), l = y(e, s, o, t, a);
60
- return /* @__PURE__ */ n(u, {
61
- disabled: e?.disabled ?? !1,
62
- value: c,
63
- children: i ? i(e) : r(e)
64
- }, l);
65
- });
66
- }
67
- function x(e) {
68
- if (e) return {
69
- autoFocus: !1,
70
- slotProps: { paper: { onKeyDown: (e) => {
71
- e.key !== "Escape" && e.stopPropagation();
72
- } } }
73
- };
74
- }
75
- function se(e, t) {
76
- let n = x(e);
77
- if (!n) return t;
78
- if (!t) return n;
79
- let { slotProps: r, slots: i, ...a } = n, { slotProps: o, slots: s, ...c } = t;
80
- return {
81
- ...a,
82
- ...c,
83
- slots: {
84
- ...i,
85
- ...s
86
- },
87
- slotProps: {
88
- ...r,
89
- ...o,
90
- paper: p(o?.paper, r?.paper ?? {})
91
- }
92
- };
93
- }
94
- var S = f(a, {
95
- name: "SSelect",
96
- slot: "Root",
97
- shouldForwardProp: (e) => e !== "ownerState"
98
- })({ ...e });
99
- function C(e, a) {
100
- let f = te({
101
- props: e,
102
- name: "SSelect"
103
- }), { options: p = [], getOptionKey: m, optionLabel: g = "name", optionValue: _ = "id", placeholder: v, label: y = "", error: x = !1, helperText: C, required: w = !1, simple: T = !1, searchable: E = !1, searchPlaceholder: ce = "", noResultsText: le = "No results found", renderOption: D, className: O, color: k = "primary", defaultValue: A, disabled: j = !1, displayEmpty: M = !0, fullWidth: N = !0, id: ue, inputProps: P, labelId: F, margin: I = "none", MenuProps: L, onChange: R, onClose: z, onOpen: B, open: V, renderValue: H, size: U = "medium", sx: de, variant: W = "outlined", ...G } = f, [K, q] = t.useState(""), fe = t.useId(), J = ue ?? fe, Y = F ?? `${J}-label`, X = C ? `${J}-helper-text` : void 0, pe = [P?.["aria-describedby"], X].filter(Boolean).join(" ") || void 0, me = G.value === void 0 ? A ?? (G.multiple ? [] : "") : void 0, he = {
104
- ...f,
105
- color: k,
106
- disabled: j,
107
- displayEmpty: M,
108
- error: x,
109
- fullWidth: N,
110
- margin: I,
111
- required: w,
112
- searchable: E,
113
- size: U,
114
- variant: W
115
- }, Z = (e) => h(e, g), Q = (e) => re(e, _), $ = oe(p, E, K, Z), ge = (e) => {
116
- z?.(e), E && q("");
117
- }, _e = (e) => G.multiple ? ae(Array.isArray(e) ? e : [], T, p, v, Z, Q) : ie(e, T, p, v, Z, Q), ve = () => E ? $.length > 0 ? b($, Q, Z, D, m) : K ? /* @__PURE__ */ n(u, {
118
- disabled: !0,
119
- children: /* @__PURE__ */ n(i, {
120
- sx: {
121
- color: "text.secondary",
122
- textAlign: "center",
123
- width: "100%"
124
- },
125
- children: le
126
- })
127
- }) : b(p, Q, Z, D, m) : b(p, Q, Z, D, m), ye = se(E, L);
128
- return /* @__PURE__ */ r(S, {
129
- className: O,
130
- color: k,
131
- disabled: j,
132
- error: x,
133
- fullWidth: N,
134
- margin: I,
135
- ownerState: he,
136
- ref: a,
137
- required: w,
138
- size: U,
139
- sx: de,
140
- variant: W,
141
- children: [
142
- y ? /* @__PURE__ */ n(c, {
143
- id: Y,
144
- shrink: !!v || M && !!H || void 0,
145
- children: y
146
- }) : null,
147
- /* @__PURE__ */ r(ee, {
148
- ...G,
149
- defaultValue: me,
150
- id: J,
151
- label: y,
152
- labelId: y ? Y : F,
153
- displayEmpty: M,
154
- inputProps: {
155
- ...P,
156
- "aria-describedby": pe
157
- },
158
- open: V,
159
- onOpen: B,
160
- onClose: ge,
161
- MenuProps: ye,
162
- onChange: R,
163
- renderValue: H ?? _e,
164
- variant: W,
165
- children: [E && /* @__PURE__ */ n(l, {
166
- sx: {
167
- px: 2,
168
- py: 1,
169
- position: "sticky",
170
- top: 0,
171
- bgcolor: "background.paper",
172
- zIndex: 1
173
- },
174
- children: /* @__PURE__ */ n(d, {
175
- fullWidth: !0,
176
- autoFocus: !0,
177
- placeholder: ce,
178
- value: K,
179
- onChange: (e) => q(e.target.value),
180
- onKeyDown: (e) => {
181
- e.key !== "Escape" && e.stopPropagation();
182
- },
183
- onClick: (e) => e.stopPropagation(),
184
- slotProps: { input: { startAdornment: /* @__PURE__ */ n(s, {
185
- position: "start",
186
- children: /* @__PURE__ */ n(ne, {})
187
- }) } }
188
- })
189
- }), ve()]
190
- }),
191
- C ? /* @__PURE__ */ n(o, {
192
- id: X,
193
- children: C
194
- }) : null
195
- ]
196
- });
197
- }
198
- var w = t.forwardRef(C);
199
- w.displayName = "SSelect";
200
- //#endregion
201
- export { w as SSelect, w as default };
1
+ import { t as e } from "../s-select-CtVKEOZ5.js";
2
+ export { e as SSelect, e as default };
@@ -0,0 +1,204 @@
1
+ import { t as e } from "./createSvgIcon-3y-gS0r1.js";
2
+ import { t } from "./mergeSlotProps-DC8r4QzS.js";
3
+ import { t as n } from "./field-label-styles-4praXMaE.js";
4
+ import * as r from "react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { Box as o, FormControl as s, FormHelperText as c, InputAdornment as l, InputLabel as ee, ListSubheader as u, MenuItem as d, Select as te, TextField as ne, styled as f, useThemeProps as re } from "@mui/material";
7
+ //#region ../../node_modules/@mui/icons-material/Search.mjs
8
+ var ie = e(/* @__PURE__ */ i("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14" }), "Search");
9
+ //#endregion
10
+ //#region lib/s-select/s-select.tsx
11
+ function p(e) {
12
+ return typeof e == "string" || typeof e == "number";
13
+ }
14
+ function m(e, t) {
15
+ return p(e) ? String(e) : String(e[t]);
16
+ }
17
+ function ae(e, t) {
18
+ return p(e) ? e : e[t];
19
+ }
20
+ function h(e) {
21
+ return /* @__PURE__ */ i(o, {
22
+ component: "span",
23
+ sx: { color: "text.secondary" },
24
+ children: e
25
+ });
26
+ }
27
+ function g(e, t, n) {
28
+ return e.find((e) => n(e) === t);
29
+ }
30
+ function oe(e, t, n, r, i, a) {
31
+ if (e == null || e === "") return h(r);
32
+ if (t) return String(e);
33
+ let o = g(n, e, a);
34
+ return o ? i(o) : "";
35
+ }
36
+ function se(e, t, n, r, i, a) {
37
+ return e.length === 0 ? h(r) : t ? e.map(String).join(", ") : e.map((e) => {
38
+ let t = g(n, e, a);
39
+ return t ? i(t) : "";
40
+ }).filter(Boolean).join(", ");
41
+ }
42
+ function ce(e, t, n, r) {
43
+ if (!t || !n) return e;
44
+ let i = n.toLowerCase();
45
+ return e.filter((e) => r(e).toLowerCase().includes(i));
46
+ }
47
+ function _(e, t) {
48
+ return e.reduce((e, n) => {
49
+ let r = String(t(n));
50
+ return e.set(r, (e.get(r) ?? 0) + 1), e;
51
+ }, /* @__PURE__ */ new Map());
52
+ }
53
+ function v(e, t, n, r, i) {
54
+ let a = i?.(e, t);
55
+ if (a !== void 0) return a;
56
+ let o = String(r(e));
57
+ return (n.get(o) ?? 0) > 1 ? `${o}-${t}` : o;
58
+ }
59
+ function y(e, t, n, r, a) {
60
+ let o = _(e, t);
61
+ return e.map((e, s) => {
62
+ let c = t(e), l = v(e, s, o, t, a);
63
+ return /* @__PURE__ */ i(d, {
64
+ disabled: e?.disabled ?? !1,
65
+ value: c,
66
+ children: r ? r(e) : n(e)
67
+ }, l);
68
+ });
69
+ }
70
+ function b(e) {
71
+ if (e) return {
72
+ autoFocus: !1,
73
+ slotProps: { paper: { onKeyDown: (e) => {
74
+ e.key !== "Escape" && e.stopPropagation();
75
+ } } }
76
+ };
77
+ }
78
+ function x(e, n) {
79
+ let r = b(e);
80
+ if (!r) return n;
81
+ if (!n) return r;
82
+ let { slotProps: i, slots: a, ...o } = r, { slotProps: s, slots: c, ...l } = n;
83
+ return {
84
+ ...o,
85
+ ...l,
86
+ slots: {
87
+ ...a,
88
+ ...c
89
+ },
90
+ slotProps: {
91
+ ...i,
92
+ ...s,
93
+ paper: t(s?.paper, i?.paper ?? {})
94
+ }
95
+ };
96
+ }
97
+ var S = f(s, {
98
+ name: "SSelect",
99
+ slot: "Root",
100
+ shouldForwardProp: (e) => e !== "ownerState"
101
+ })({ ...n });
102
+ function C(e, t) {
103
+ let n = re({
104
+ props: e,
105
+ name: "SSelect"
106
+ }), { options: s = [], getOptionKey: f, optionLabel: p = "name", optionValue: h = "id", placeholder: g, label: _ = "", error: v = !1, helperText: b, required: C = !1, simple: w = !1, searchable: T = !1, searchPlaceholder: le = "", noResultsText: E = "No results found", renderOption: D, className: O, color: k = "primary", defaultValue: ue, disabled: A = !1, displayEmpty: j = !0, fullWidth: M = !0, id: N, inputProps: P, labelId: F, margin: I = "none", MenuProps: L, onChange: R, onClose: z, onOpen: B, open: V, renderValue: H, size: U = "medium", sx: de, variant: W = "outlined", ...G } = n, [K, q] = r.useState(""), fe = r.useId(), J = N ?? fe, Y = F ?? `${J}-label`, X = b ? `${J}-helper-text` : void 0, pe = [P?.["aria-describedby"], X].filter(Boolean).join(" ") || void 0, me = G.value === void 0 ? ue ?? (G.multiple ? [] : "") : void 0, he = {
107
+ ...n,
108
+ color: k,
109
+ disabled: A,
110
+ displayEmpty: j,
111
+ error: v,
112
+ fullWidth: M,
113
+ margin: I,
114
+ required: C,
115
+ searchable: T,
116
+ size: U,
117
+ variant: W
118
+ }, Z = (e) => m(e, p), Q = (e) => ae(e, h), $ = ce(s, T, K, Z), ge = (e) => {
119
+ z?.(e), T && q("");
120
+ }, _e = (e) => G.multiple ? se(Array.isArray(e) ? e : [], w, s, g, Z, Q) : oe(e, w, s, g, Z, Q), ve = () => T ? $.length > 0 ? y($, Q, Z, D, f) : K ? /* @__PURE__ */ i(d, {
121
+ disabled: !0,
122
+ children: /* @__PURE__ */ i(o, {
123
+ sx: {
124
+ color: "text.secondary",
125
+ textAlign: "center",
126
+ width: "100%"
127
+ },
128
+ children: E
129
+ })
130
+ }) : y(s, Q, Z, D, f) : y(s, Q, Z, D, f), ye = x(T, L);
131
+ return /* @__PURE__ */ a(S, {
132
+ className: O,
133
+ color: k,
134
+ disabled: A,
135
+ error: v,
136
+ fullWidth: M,
137
+ margin: I,
138
+ ownerState: he,
139
+ ref: t,
140
+ required: C,
141
+ size: U,
142
+ sx: de,
143
+ variant: W,
144
+ children: [
145
+ _ ? /* @__PURE__ */ i(ee, {
146
+ id: Y,
147
+ shrink: !!g || j && !!H || void 0,
148
+ children: _
149
+ }) : null,
150
+ /* @__PURE__ */ a(te, {
151
+ ...G,
152
+ defaultValue: me,
153
+ id: J,
154
+ label: _,
155
+ labelId: _ ? Y : F,
156
+ displayEmpty: j,
157
+ inputProps: {
158
+ ...P,
159
+ "aria-describedby": pe
160
+ },
161
+ open: V,
162
+ onOpen: B,
163
+ onClose: ge,
164
+ MenuProps: ye,
165
+ onChange: R,
166
+ renderValue: H ?? _e,
167
+ variant: W,
168
+ children: [T && /* @__PURE__ */ i(u, {
169
+ sx: {
170
+ px: 2,
171
+ py: 1,
172
+ position: "sticky",
173
+ top: 0,
174
+ bgcolor: "background.paper",
175
+ zIndex: 1
176
+ },
177
+ children: /* @__PURE__ */ i(ne, {
178
+ fullWidth: !0,
179
+ autoFocus: !0,
180
+ placeholder: le,
181
+ value: K,
182
+ onChange: (e) => q(e.target.value),
183
+ onKeyDown: (e) => {
184
+ e.key !== "Escape" && e.stopPropagation();
185
+ },
186
+ onClick: (e) => e.stopPropagation(),
187
+ slotProps: { input: { startAdornment: /* @__PURE__ */ i(l, {
188
+ position: "start",
189
+ children: /* @__PURE__ */ i(ie, {})
190
+ }) } }
191
+ })
192
+ }), ve()]
193
+ }),
194
+ b ? /* @__PURE__ */ i(c, {
195
+ id: X,
196
+ children: b
197
+ }) : null
198
+ ]
199
+ });
200
+ }
201
+ var w = r.forwardRef(C);
202
+ w.displayName = "SSelect";
203
+ //#endregion
204
+ export { w as t };
@@ -1,10 +1,13 @@
1
1
  import { resolveOwnerStateSlotProps as e } from "../utils/slots.js";
2
- import * as t from "react";
3
- import { createElement as n } from "react";
4
- import { jsx as r } from "react/jsx-runtime";
5
- import { Box as i, Collapse as a, FormControlLabel as o, Radio as s, RadioGroup as c, formControlLabelClasses as l, styled as u, useThemeProps as d } from "@mui/material";
6
- import { mergeSlotProps as f, useControlled as p, useEventCallback as m, useForkRef as h } from "@mui/material/utils";
7
- import g from "@mui/utils/appendOwnerState";
2
+ import { t } from "../useForkRef-BuNFTXxE.js";
3
+ import { t as n } from "../useEventCallback-DGCsaRIu.js";
4
+ import { t as r } from "../appendOwnerState-CFQTq3pb.js";
5
+ import { t as i } from "../useControlled-DqNPBJNp.js";
6
+ import { t as a } from "../mergeSlotProps-DC8r4QzS.js";
7
+ import * as o from "react";
8
+ import { createElement as s } from "react";
9
+ import { jsx as c } from "react/jsx-runtime";
10
+ import { Box as l, Collapse as u, FormControlLabel as d, Radio as f, RadioGroup as p, formControlLabelClasses as m, styled as h, useThemeProps as g } from "@mui/material";
8
11
  import { visuallyHidden as _ } from "@mui/utils";
9
12
  //#region lib/s-select-list/s-select-list.tsx
10
13
  var v = [
@@ -27,11 +30,11 @@ function x(e, t) {
27
30
  delete n[e];
28
31
  }), n;
29
32
  }
30
- var S = u(c, {
33
+ var S = h(p, {
31
34
  name: "SSelectList",
32
35
  slot: "Root",
33
36
  shouldForwardProp: (e) => e !== "ownerState"
34
- })(({ theme: e }) => ({ gap: e.spacing(1) })), C = u(i, {
37
+ })(({ theme: e }) => ({ gap: e.spacing(1) })), C = h(l, {
35
38
  name: "SSelectList",
36
39
  slot: "Option",
37
40
  shouldForwardProp: (e) => e !== "ownerState"
@@ -45,7 +48,7 @@ var S = u(c, {
45
48
  width: 0
46
49
  }
47
50
  }]
48
- }), w = u(o, {
51
+ }), w = h(d, {
49
52
  name: "SSelectList",
50
53
  slot: "Item",
51
54
  shouldForwardProp: (e) => e !== "ownerState"
@@ -57,7 +60,7 @@ var S = u(c, {
57
60
  margin: 0,
58
61
  padding: e.spacing(1, 2),
59
62
  width: "100%",
60
- [`&.${l.disabled}`]: { color: (e.vars ?? e).palette.text.disabled },
63
+ [`&.${m.disabled}`]: { color: (e.vars ?? e).palette.text.disabled },
61
64
  variants: [{
62
65
  props: ({ ownerState: e }) => e.selected,
63
66
  style: { borderColor: (e.vars ?? e).palette.primary.dark }
@@ -68,7 +71,7 @@ var S = u(c, {
68
71
  outlineOffset: 2
69
72
  } }
70
73
  }]
71
- })), T = u("span", {
74
+ })), T = h("span", {
72
75
  name: "SSelectList",
73
76
  slot: "Label",
74
77
  shouldForwardProp: (e) => e !== "ownerState"
@@ -76,18 +79,18 @@ var S = u(c, {
76
79
  display: "block",
77
80
  flex: 1,
78
81
  minWidth: 0
79
- }), E = u(s, {
82
+ }), E = h(f, {
80
83
  name: "SSelectList",
81
84
  slot: "Radio",
82
85
  shouldForwardProp: (e) => e !== "ownerState"
83
86
  })({ variants: [{
84
87
  props: ({ ownerState: e }) => !e.showRadio,
85
88
  style: b
86
- }] }), D = u(a, {
89
+ }] }), D = h(u, {
87
90
  name: "SSelectList",
88
91
  slot: "Transition",
89
92
  shouldForwardProp: (e) => e !== "ownerState"
90
- })({}), O = u(i, {
93
+ })({}), O = h(l, {
91
94
  name: "SSelectList",
92
95
  slot: "Details",
93
96
  shouldForwardProp: (e) => e !== "ownerState"
@@ -96,64 +99,64 @@ var S = u(c, {
96
99
  marginTop: e.spacing(1),
97
100
  width: "100%"
98
101
  }));
99
- function k(t, i) {
100
- let a = d({
101
- props: t,
102
+ function k(o, l) {
103
+ let u = g({
104
+ props: o,
102
105
  name: "SSelectList"
103
- }), { defaultValue: o, items: s, onChange: c, renderBelow: l, renderItem: u, showRadio: _ = !0, slotProps: b, slots: k, value: A, ...j } = a, [M, N] = p({
106
+ }), { defaultValue: d, items: f, onChange: p, renderBelow: m, renderItem: h, showRadio: _ = !0, slotProps: b, slots: k, value: A, ...j } = u, [M, N] = i({
104
107
  controlled: A,
105
- default: o ?? "",
108
+ default: d ?? "",
106
109
  name: "SSelectList",
107
110
  state: "value"
108
111
  }), P = {
109
- ...a,
112
+ ...u,
110
113
  showRadio: _,
111
114
  value: M
112
- }, F = k?.root ?? S, I = k?.option ?? C, L = k?.item ?? w, R = k?.label ?? T, z = k?.radio ?? E, B = k?.transition ?? D, V = k?.details ?? O, H = m((e, t) => {
113
- N(t), c?.(e, t);
114
- }), { ref: U, ...W } = g(F, f(e(b?.root, P), {
115
+ }, F = k?.root ?? S, I = k?.option ?? C, L = k?.item ?? w, R = k?.label ?? T, z = k?.radio ?? E, B = k?.transition ?? D, V = k?.details ?? O, H = n((e, t) => {
116
+ N(t), p?.(e, t);
117
+ }), { ref: U, ...W } = r(F, a(e(b?.root, P), {
115
118
  ...j,
116
119
  onChange: H,
117
120
  value: M
118
- }), P), G = h(U, i);
119
- return /* @__PURE__ */ r(F, {
121
+ }), P), G = t(U, l);
122
+ return /* @__PURE__ */ c(F, {
120
123
  ...W,
121
124
  ref: G,
122
- children: s.map((t) => {
123
- let i = t.id === M, a = {
125
+ children: f.map((t) => {
126
+ let n = t.id === M, i = {
124
127
  ...P,
125
128
  item: t,
126
- selected: i
127
- }, o = e(b?.option, a), s = e(b?.item, a), c = e(b?.label, a), d = e(b?.radio, a), p = e(b?.transition, a) ?? {}, m = g(I, o ?? {}, a), h = g(L, x(f(s, {
129
+ selected: n
130
+ }, o = e(b?.option, i), l = e(b?.item, i), u = e(b?.label, i), d = e(b?.radio, i), f = e(b?.transition, i) ?? {}, p = r(I, o ?? {}, i), g = r(L, x(a(l, {
128
131
  disableTypography: !0,
129
132
  labelPlacement: "start"
130
- }), v), a), _ = g(R, c ?? {}, a), S = g(z, x(d, y), a);
131
- return /* @__PURE__ */ n(I, {
132
- ...m,
133
+ }), v), i), _ = r(R, u ?? {}, i), S = r(z, x(d, y), i);
134
+ return /* @__PURE__ */ s(I, {
135
+ ...p,
133
136
  key: t.id
134
- }, /* @__PURE__ */ r(L, {
135
- ...h,
136
- control: /* @__PURE__ */ r(z, { ...S }),
137
- label: /* @__PURE__ */ r(R, {
137
+ }, /* @__PURE__ */ c(L, {
138
+ ...g,
139
+ control: /* @__PURE__ */ c(z, { ...S }),
140
+ label: /* @__PURE__ */ c(R, {
138
141
  ..._,
139
- children: u(t, i)
142
+ children: h(t, n)
140
143
  }),
141
144
  value: t.id
142
- }), l ? /* @__PURE__ */ r(B, {
143
- ...g(B, {
144
- ...p,
145
- unmountOnExit: p.unmountOnExit ?? !0
146
- }, a),
147
- in: i,
148
- children: /* @__PURE__ */ r(V, {
149
- ...g(V, e(b?.details, a) ?? {}, a),
150
- children: l(t)
145
+ }), m ? /* @__PURE__ */ c(B, {
146
+ ...r(B, {
147
+ ...f,
148
+ unmountOnExit: f.unmountOnExit ?? !0
149
+ }, i),
150
+ in: n,
151
+ children: /* @__PURE__ */ c(V, {
152
+ ...r(V, e(b?.details, i) ?? {}, i),
153
+ children: m(t)
151
154
  })
152
155
  }) : null);
153
156
  })
154
157
  });
155
158
  }
156
- var A = t.forwardRef(k);
159
+ var A = o.forwardRef(k);
157
160
  A.displayName = "SSelectList";
158
161
  //#endregion
159
162
  export { A as SSelectList, A as default };
@@ -1,7 +1,8 @@
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/Skeleton";
1
+ import { t as e } from "../styled-Bog8QCl3.js";
2
+ import { t } from "../useThemeProps-Dw9dmKyT.js";
3
+ import { t as n } from "../Skeleton-iZFynl7z.js";
4
+ import * as r from "react";
5
+ import { jsx as i } from "react/jsx-runtime";
5
6
  //#region lib/s-skeleton/s-skeleton.tsx
6
7
  var a = {
7
8
  avatar: {
@@ -24,24 +25,24 @@ var a = {
24
25
  variant: "rounded",
25
26
  width: 32
26
27
  }
27
- }, o = e(i, {
28
+ }, o = e(n, {
28
29
  name: "SSkeleton",
29
30
  slot: "Root"
30
31
  })(({ ownerState: e, theme: t }) => ({
31
32
  ...e.preset === "checkbox" && { borderRadius: t.radius.sm },
32
33
  ...e.variant === "text" && e.fontSize != null && { fontSize: e.fontSize }
33
- })), s = n.forwardRef(function(e, n) {
34
- let i = t({
34
+ })), s = r.forwardRef(function(e, n) {
35
+ let r = t({
35
36
  props: e,
36
37
  name: "SSkeleton"
37
38
  });
38
- if (i.preset) {
39
- let { preset: e, ...t } = i, s = a[e], c = {
39
+ if (r.preset) {
40
+ let { preset: e, ...t } = r, s = a[e], c = {
40
41
  animation: t.animation,
41
42
  preset: e,
42
43
  variant: s.variant
43
44
  };
44
- return /* @__PURE__ */ r(o, {
45
+ return /* @__PURE__ */ i(o, {
45
46
  ...t,
46
47
  height: s.height,
47
48
  ownerState: c,
@@ -50,12 +51,12 @@ var a = {
50
51
  width: s.width
51
52
  });
52
53
  }
53
- let { fontSize: s, variant: c = "text", ...l } = i, u = {
54
+ let { fontSize: s, variant: c = "text", ...l } = r, u = {
54
55
  animation: l.animation,
55
56
  fontSize: s,
56
57
  variant: c
57
58
  };
58
- return /* @__PURE__ */ r(o, {
59
+ return /* @__PURE__ */ i(o, {
59
60
  ...l,
60
61
  ownerState: u,
61
62
  ref: n,
@@ -1,2 +1,2 @@
1
- import { SSnackbarMessage as e, SnackbarMessageProvider as t, useSnackbarMessage as n } from "./s-snackbar-message.js";
2
- export { e as SSnackbarMessage, e as default, t as SnackbarMessageProvider, n as useSnackbarMessage };
1
+ import { n as e, r as t, t as n } from "../s-snackbar-message-DsfJlDYd.js";
2
+ export { n as SSnackbarMessage, n as default, e as SnackbarMessageProvider, t as useSnackbarMessage };