@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,16 +1,17 @@
1
1
  import { toSxArray as e } from "../utils/sx.js";
2
- import * as t from "react";
3
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
- import { Box as i, Skeleton as a, styled as o, useTheme as s, useThemeProps as c } from "@mui/material";
5
- import { mergeSlotProps as l, useForkRef as u } from "@mui/material/utils";
2
+ import { t } from "../useForkRef-BuNFTXxE.js";
3
+ import { t as n } from "../mergeSlotProps-DC8r4QzS.js";
4
+ import * as r from "react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { Box as o, Skeleton as s, styled as c, useTheme as l, useThemeProps as u } from "@mui/material";
6
7
  //#region lib/s-lazy-image/s-lazy-image.tsx
7
- var d = o(i, {
8
+ var d = c(o, {
8
9
  name: "SLazyImage",
9
10
  slot: "Root"
10
- })({}), f = o("img", {
11
+ })({}), f = c("img", {
11
12
  name: "SLazyImage",
12
13
  slot: "Image"
13
- })({}), p = o(a, {
14
+ })({}), p = c(s, {
14
15
  name: "SLazyImage",
15
16
  slot: "Skeleton"
16
17
  })({});
@@ -20,12 +21,12 @@ function m(e, t) {
20
21
  function h(e, t) {
21
22
  return e === "circular" ? "50%" : e === "rounded" ? typeof t == "number" ? `${t}px` : t : 0;
22
23
  }
23
- var g = t.forwardRef(function(i, a) {
24
- let o = c({
25
- props: i,
24
+ var g = r.forwardRef(function(o, s) {
25
+ let c = u({
26
+ props: o,
26
27
  name: "SLazyImage"
27
- }), { alt: g, height: _ = "100%", minHeight: v = "auto", minWidth: y = "auto", slotProps: b, slots: x, src: S, sx: C, variant: w = "rounded", width: T = "100%", ...E } = o, D = s(), [O, k] = t.useState(null), A = O === S, j = {
28
- ...o,
28
+ }), { alt: g, height: _ = "100%", minHeight: v = "auto", minWidth: y = "auto", slotProps: b, slots: x, src: S, sx: C, variant: w = "rounded", width: T = "100%", ...E } = c, D = l(), [O, k] = r.useState(null), A = O === S, j = {
29
+ ...c,
29
30
  alt: g,
30
31
  height: _,
31
32
  loaded: A,
@@ -34,13 +35,13 @@ var g = t.forwardRef(function(i, a) {
34
35
  src: S,
35
36
  variant: w,
36
37
  width: T
37
- }, M = x?.root ?? d, N = x?.image ?? f, P = x?.skeleton ?? p, F = m(b?.root, j), I = m(b?.image, j), L = m(b?.skeleton, j), { ref: R, sx: z, ...B } = l(F, {
38
+ }, M = x?.root ?? d, N = x?.image ?? f, P = x?.skeleton ?? p, F = m(b?.root, j), I = m(b?.image, j), L = m(b?.skeleton, j), { ref: R, sx: z, ...B } = n(F, {
38
39
  ...E,
39
40
  sx: C
40
- }), { onLoad: V, sx: H, ...U } = I ?? {}, { sx: W, ...G } = L ?? {}, K = h(w, D.shape.borderRadius), q = u(R, a), J = (e) => {
41
+ }), { onLoad: V, sx: H, ...U } = I ?? {}, { sx: W, ...G } = L ?? {}, K = h(w, D.shape.borderRadius), q = t(R, s), J = (e) => {
41
42
  k(S), V?.(e);
42
43
  }, Y = { ownerState: j }, X = { ownerState: j }, Z = { ownerState: j };
43
- return /* @__PURE__ */ r(M, {
44
+ return /* @__PURE__ */ a(M, {
44
45
  ...B,
45
46
  ...Y,
46
47
  ref: q,
@@ -51,7 +52,7 @@ var g = t.forwardRef(function(i, a) {
51
52
  position: "relative",
52
53
  width: T
53
54
  }, ...e(z)],
54
- children: [A ? null : /* @__PURE__ */ n(P, {
55
+ children: [A ? null : /* @__PURE__ */ i(P, {
55
56
  animation: "wave",
56
57
  variant: w,
57
58
  ...G,
@@ -62,7 +63,7 @@ var g = t.forwardRef(function(i, a) {
62
63
  minWidth: y,
63
64
  width: "100%"
64
65
  }, ...e(W)]
65
- }), /* @__PURE__ */ n(N, {
66
+ }), /* @__PURE__ */ i(N, {
66
67
  ...U,
67
68
  ...X,
68
69
  alt: g,
@@ -1,2 +1,2 @@
1
- import { SLink as e } from "./s-link.js";
1
+ import { t as e } from "../s-link-Db1aabHh.js";
2
2
  export { e as SLink, e as default };
@@ -1,5 +1,2 @@
1
- import e from "@mui/material/Link";
2
- //#region lib/s-link/s-link.tsx
3
- var t = e;
4
- //#endregion
5
- export { t as SLink, t as default };
1
+ import { t as e } from "../s-link-Db1aabHh.js";
2
+ export { e as SLink, e as default };
@@ -0,0 +1,235 @@
1
+ import { n as e } from "./chunk-C_CI6nMA.js";
2
+ import { t } from "./colorManipulator-DmUjcif3.js";
3
+ import { t as n } from "./prop-types-BzYPyWN7.js";
4
+ import { r, t as i } from "./DefaultPropsProvider-ebWx4_5E.js";
5
+ import { c as a } from "./createTheme-xB2Em0Na.js";
6
+ import { t as o } from "./generateUtilityClass-PAIOm1jC.js";
7
+ import { t as s } from "./clsx-DGZSe4Nt.js";
8
+ import { t as c } from "./generateUtilityClasses-DvX505Gy.js";
9
+ import { t as l } from "./styled-Bog8QCl3.js";
10
+ import { t as u } from "./memoTheme-qFyKAk7y.js";
11
+ import { t as d } from "./useTheme-BIWMbX3i.js";
12
+ import { t as f } from "./elementTypeAcceptingRef-xl_04Y5-.js";
13
+ import { t as p } from "./isFocusVisible-4OIE8TST.js";
14
+ import { t as m } from "./capitalize-C0baBJCm.js";
15
+ import { t as h } from "./createSimplePaletteValueFilter-DFvyXHoZ.js";
16
+ import { t as g } from "./Typography-_P0svrkO.js";
17
+ import * as _ from "react";
18
+ import { jsx as v } from "react/jsx-runtime";
19
+ //#region ../../node_modules/@mui/material/Link/linkClasses.mjs
20
+ var y = /* @__PURE__ */ e(n(), 1);
21
+ function b(e) {
22
+ return o("MuiLink", e);
23
+ }
24
+ var x = c("MuiLink", [
25
+ "root",
26
+ "underlineNone",
27
+ "underlineHover",
28
+ "underlineAlways",
29
+ "button",
30
+ "focusVisible"
31
+ ]), S = ({ theme: e, ownerState: n }) => {
32
+ let r = n.color;
33
+ if ("colorSpace" in e && e.colorSpace) {
34
+ let t = a(e, `palette.${r}.main`) || a(e, `palette.${r}`) || n.color;
35
+ return e.alpha(t, .4);
36
+ }
37
+ let i = a(e, `palette.${r}.main`, !1) || a(e, `palette.${r}`, !1) || n.color, o = a(e, `palette.${r}.mainChannel`) || a(e, `palette.${r}Channel`);
38
+ return "vars" in e && o ? `rgba(${o} / 0.4)` : t(i, .4);
39
+ }, C = {
40
+ primary: !0,
41
+ secondary: !0,
42
+ error: !0,
43
+ info: !0,
44
+ success: !0,
45
+ warning: !0,
46
+ textPrimary: !0,
47
+ textSecondary: !0,
48
+ textDisabled: !0
49
+ }, w = (e) => {
50
+ let { classes: t, component: n, focusVisible: i, underline: a } = e;
51
+ return r({ root: [
52
+ "root",
53
+ `underline${m(a)}`,
54
+ n === "button" && "button",
55
+ i && "focusVisible"
56
+ ] }, b, t);
57
+ }, T = l(g, {
58
+ name: "MuiLink",
59
+ slot: "Root",
60
+ overridesResolver: (e, t) => {
61
+ let { ownerState: n } = e;
62
+ return [
63
+ t.root,
64
+ t[`underline${m(n.underline)}`],
65
+ n.component === "button" && t.button
66
+ ];
67
+ }
68
+ })(u(({ theme: e }) => ({ variants: [
69
+ {
70
+ props: { underline: "none" },
71
+ style: { textDecoration: "none" }
72
+ },
73
+ {
74
+ props: { underline: "hover" },
75
+ style: {
76
+ textDecoration: "none",
77
+ "&:hover": { textDecoration: "underline" }
78
+ }
79
+ },
80
+ {
81
+ props: { underline: "always" },
82
+ style: {
83
+ textDecoration: "underline",
84
+ "&:hover": { textDecorationColor: "inherit" }
85
+ }
86
+ },
87
+ {
88
+ props: ({ underline: e, ownerState: t }) => e === "always" && t.color !== "inherit",
89
+ style: { textDecorationColor: "var(--Link-underlineColor)" }
90
+ },
91
+ {
92
+ props: ({ underline: e, ownerState: t }) => e === "always" && t.color === "inherit",
93
+ style: e.colorSpace ? { textDecorationColor: e.alpha("currentColor", .4) } : null
94
+ },
95
+ ...Object.entries(e.palette).filter(h()).map(([t]) => ({
96
+ props: {
97
+ underline: "always",
98
+ color: t
99
+ },
100
+ style: { "--Link-underlineColor": e.alpha((e.vars || e).palette[t].main, .4) }
101
+ })),
102
+ {
103
+ props: {
104
+ underline: "always",
105
+ color: "textPrimary"
106
+ },
107
+ style: { "--Link-underlineColor": e.alpha((e.vars || e).palette.text.primary, .4) }
108
+ },
109
+ {
110
+ props: {
111
+ underline: "always",
112
+ color: "textSecondary"
113
+ },
114
+ style: { "--Link-underlineColor": e.alpha((e.vars || e).palette.text.secondary, .4) }
115
+ },
116
+ {
117
+ props: {
118
+ underline: "always",
119
+ color: "textDisabled"
120
+ },
121
+ style: { "--Link-underlineColor": (e.vars || e).palette.text.disabled }
122
+ },
123
+ {
124
+ props: { component: "button" },
125
+ style: {
126
+ position: "relative",
127
+ WebkitTapHighlightColor: "transparent",
128
+ backgroundColor: "transparent",
129
+ outline: 0,
130
+ border: 0,
131
+ margin: 0,
132
+ borderRadius: 0,
133
+ padding: 0,
134
+ cursor: "pointer",
135
+ userSelect: "none",
136
+ verticalAlign: "middle",
137
+ MozAppearance: "none",
138
+ WebkitAppearance: "none",
139
+ "&::-moz-focus-inner": { borderStyle: "none" },
140
+ [`&.${x.focusVisible}`]: { outline: "auto" }
141
+ }
142
+ }
143
+ ] }))), E = /* @__PURE__ */ _.forwardRef(function(e, t) {
144
+ let n = i({
145
+ props: e,
146
+ name: "MuiLink"
147
+ }), r = d(), { className: a, color: o = "primary", component: c = "a", onBlur: l, onFocus: u, TypographyClasses: f, underline: m = "always", variant: h = "inherit", sx: g, ...y } = n, [b, x] = _.useState(!1), E = (e) => {
148
+ p(e.target) || x(!1), l && l(e);
149
+ }, D = (e) => {
150
+ p(e.target) && x(!0), u && u(e);
151
+ }, O = {
152
+ ...n,
153
+ color: o,
154
+ component: c,
155
+ focusVisible: b,
156
+ underline: m,
157
+ variant: h
158
+ };
159
+ return /* @__PURE__ */ v(T, {
160
+ color: o,
161
+ className: s(w(O).root, a),
162
+ classes: f,
163
+ component: c,
164
+ onBlur: E,
165
+ onFocus: D,
166
+ ref: t,
167
+ ownerState: O,
168
+ variant: h,
169
+ ...y,
170
+ sx: [...C[o] === void 0 ? [{ color: o }] : [], ...Array.isArray(g) ? g : [g]],
171
+ style: {
172
+ ...y.style,
173
+ ...m === "always" && o !== "inherit" && !C[o] && { "--Link-underlineColor": S({
174
+ theme: r,
175
+ ownerState: O
176
+ }) }
177
+ }
178
+ });
179
+ });
180
+ process.env.NODE_ENV !== "production" && (E.propTypes = {
181
+ children: y.default.node,
182
+ classes: y.default.object,
183
+ className: y.default.string,
184
+ color: y.default.oneOfType([y.default.oneOf([
185
+ "primary",
186
+ "secondary",
187
+ "success",
188
+ "error",
189
+ "info",
190
+ "warning",
191
+ "textPrimary",
192
+ "textSecondary",
193
+ "textDisabled"
194
+ ]), y.default.string]),
195
+ component: f,
196
+ onBlur: y.default.func,
197
+ onFocus: y.default.func,
198
+ style: y.default.object,
199
+ sx: y.default.oneOfType([
200
+ y.default.arrayOf(y.default.oneOfType([
201
+ y.default.func,
202
+ y.default.object,
203
+ y.default.bool
204
+ ])),
205
+ y.default.func,
206
+ y.default.object
207
+ ]),
208
+ TypographyClasses: y.default.object,
209
+ underline: y.default.oneOf([
210
+ "always",
211
+ "hover",
212
+ "none"
213
+ ]),
214
+ variant: y.default.oneOfType([y.default.oneOf([
215
+ "body1",
216
+ "body2",
217
+ "button",
218
+ "caption",
219
+ "h1",
220
+ "h2",
221
+ "h3",
222
+ "h4",
223
+ "h5",
224
+ "h6",
225
+ "inherit",
226
+ "overline",
227
+ "subtitle1",
228
+ "subtitle2"
229
+ ]), y.default.string])
230
+ });
231
+ //#endregion
232
+ //#region lib/s-link/s-link.tsx
233
+ var D = E;
234
+ //#endregion
235
+ export { D as t };
@@ -0,0 +1,2 @@
1
+ export { default, default as SListActionItem } from './s-list-action-item';
2
+ export type { SListActionItemOwnerState, SListActionItemProps, SListActionItemRootSlotProps, SListActionItemSlotProps, SListActionItemSlots, SListActionItemVariant, } from './s-list-action-item';
@@ -0,0 +1,2 @@
1
+ import { SListActionItem as e } from "./s-list-action-item.js";
2
+ export { e as SListActionItem, e as default };
@@ -0,0 +1,89 @@
1
+ import { BoxProps, ListItemButtonProps, TypographyProps } from '@mui/material';
2
+ import { OwnerStateSlotProps as MuiOwnerStateSlotProps } from '../utils/slots';
3
+ import * as React from 'react';
4
+ /** Row shape: `plain` spans the full width, `inset` is inset and rounded for popover menus. */
5
+ export type SListActionItemVariant = 'inset' | 'plain';
6
+ export interface SListActionItemSlots {
7
+ /** Secondary text element. */
8
+ description?: React.ElementType;
9
+ /** Leading icon container. */
10
+ icon?: React.ElementType;
11
+ /** Primary label element. */
12
+ label?: React.ElementType;
13
+ /** Interactive row element. */
14
+ root?: React.ElementType;
15
+ /** Column wrapping label and description. */
16
+ text?: React.ElementType;
17
+ /** Trailing content container. */
18
+ trailing?: React.ElementType;
19
+ }
20
+ type OwnerStateSlotProps<Props> = MuiOwnerStateSlotProps<Props, SListActionItemOwnerState>;
21
+ /**
22
+ * Root slot props, widened with the anchor attributes the row forwards when
23
+ * `href` is set — `ListItemButtonProps` on its own describes a `div`.
24
+ */
25
+ export type SListActionItemRootSlotProps = Omit<ListItemButtonProps, 'children' | 'component'> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'rel' | 'target'>;
26
+ export interface SListActionItemSlotProps {
27
+ /** Props or owner-state callback for the description slot. */
28
+ description?: OwnerStateSlotProps<TypographyProps>;
29
+ /** Props or owner-state callback for the icon slot. */
30
+ icon?: OwnerStateSlotProps<BoxProps>;
31
+ /** Props or owner-state callback for the label slot. */
32
+ label?: OwnerStateSlotProps<TypographyProps>;
33
+ /** Props or owner-state callback for the root slot. */
34
+ root?: OwnerStateSlotProps<SListActionItemRootSlotProps>;
35
+ /** Props or owner-state callback for the text column slot. */
36
+ text?: OwnerStateSlotProps<BoxProps>;
37
+ /** Props or owner-state callback for the trailing slot. */
38
+ trailing?: OwnerStateSlotProps<BoxProps>;
39
+ }
40
+ /** Props for a list action row with button or link semantics. */
41
+ export interface SListActionItemProps extends Omit<ListItemButtonProps, 'children' | 'component' | 'dense' | 'disabled' | 'onClick' | 'selected' | 'title'> {
42
+ /** Root element override. Defaults to `a` when `href` is set, otherwise `button`. */
43
+ component?: React.ElementType;
44
+ /** Uses compact vertical padding. */
45
+ dense?: boolean;
46
+ /** Secondary text rendered under the label. */
47
+ description?: React.ReactNode;
48
+ /** Disables activation and exposes the disabled state to assistive technology. */
49
+ disabled?: boolean;
50
+ /** Link destination. When set, the row renders with anchor semantics. */
51
+ href?: string;
52
+ /** Leading content, usually an icon. */
53
+ icon?: React.ReactNode;
54
+ /** Primary label. */
55
+ label: React.ReactNode;
56
+ /** Called when the row is activated. Receives the original mouse event. */
57
+ onClick?: React.MouseEventHandler<HTMLElement>;
58
+ /** Anchor relationship, forwarded when the row renders as a link. */
59
+ rel?: string;
60
+ /** Marks the row as the current selection, and sets `aria-current="page"`. */
61
+ selected?: boolean;
62
+ /** Components used for internal structural slots. */
63
+ slots?: SListActionItemSlots;
64
+ /** Props or owner-state callbacks for internal structural slots. */
65
+ slotProps?: SListActionItemSlotProps;
66
+ /** Anchor target, forwarded when the row renders as a link. */
67
+ target?: React.HTMLAttributeAnchorTarget;
68
+ /** Trailing content, e.g. a check mark or shortcut hint. */
69
+ trailing?: React.ReactNode;
70
+ /** Row shape. `inset` adds side margins and a rounded corner for popover menus. */
71
+ variant?: SListActionItemVariant;
72
+ }
73
+ export interface SListActionItemOwnerState extends SListActionItemProps {
74
+ dense: boolean;
75
+ disabled: boolean;
76
+ hasDescription: boolean;
77
+ selected: boolean;
78
+ variant: SListActionItemVariant;
79
+ }
80
+ /**
81
+ * A single interactive row for menus, settings lists and popovers.
82
+ *
83
+ * Semantics follow the props rather than a flag: the row is a native `button`
84
+ * until `href` is set, at which point it becomes an anchor. Leading `icon`,
85
+ * `description` and `trailing` content are optional, and every structural
86
+ * element is swappable through `slots` / `slotProps`.
87
+ */
88
+ export declare const SListActionItem: React.ForwardRefExoticComponent<Omit<SListActionItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
89
+ export default SListActionItem;
@@ -0,0 +1,150 @@
1
+ import { toSxArray as e } from "../utils/sx.js";
2
+ import { resolveOwnerStateSlotProps as t } from "../utils/slots.js";
3
+ import { t as n } from "../useForkRef-BuNFTXxE.js";
4
+ import { t as r } from "../appendOwnerState-CFQTq3pb.js";
5
+ import { getFocusVisibleStyle as i, reducedMotionMedia as a } from "../theme/components/action-styles.js";
6
+ import { n as o } from "../svgIconClasses-1kWGzgux.js";
7
+ import { t as s } from "../mergeSlotProps-DC8r4QzS.js";
8
+ import * as c from "react";
9
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
10
+ import { Box as d, ListItemButton as f, Typography as p, styled as m, useThemeProps as h } from "@mui/material";
11
+ //#region lib/s-list-action-item/s-list-action-item.tsx
12
+ var g = 44, _ = 36, v = m(f, {
13
+ name: "SListActionItem",
14
+ slot: "Root",
15
+ shouldForwardProp: (e) => e !== "ownerState"
16
+ })(({ theme: e }) => ({
17
+ color: (e.vars ?? e).palette.text.primary,
18
+ gap: e.spacing(1),
19
+ minHeight: g,
20
+ transition: e.transitions.create(["background-color", "color"], { duration: e.transitions.duration.shorter }),
21
+ width: "100%",
22
+ [`&&& .${o.root}`]: { color: "inherit" },
23
+ "&.Mui-focusVisible": {
24
+ ...i(e),
25
+ outlineOffset: -2
26
+ },
27
+ [a]: { transition: "none" },
28
+ variants: [{
29
+ props: ({ ownerState: e }) => e.variant === "inset",
30
+ style: {
31
+ borderRadius: e.radius.md,
32
+ marginInline: e.spacing(.75),
33
+ width: "auto"
34
+ }
35
+ }, {
36
+ props: ({ ownerState: e }) => e.dense,
37
+ style: {
38
+ minHeight: _,
39
+ paddingBlock: e.spacing(.5)
40
+ }
41
+ }]
42
+ })), y = m(d, {
43
+ name: "SListActionItem",
44
+ slot: "Icon",
45
+ shouldForwardProp: (e) => e !== "ownerState"
46
+ })({
47
+ alignItems: "center",
48
+ color: "inherit",
49
+ display: "flex",
50
+ flexShrink: 0,
51
+ justifyContent: "center",
52
+ minWidth: 0
53
+ }), b = m(d, {
54
+ name: "SListActionItem",
55
+ slot: "Text",
56
+ shouldForwardProp: (e) => e !== "ownerState"
57
+ })(({ theme: e }) => ({
58
+ display: "flex",
59
+ flex: 1,
60
+ flexDirection: "column",
61
+ minWidth: 0,
62
+ variants: [{
63
+ props: ({ ownerState: e }) => e.hasDescription,
64
+ style: { gap: e.spacing(.25) }
65
+ }]
66
+ })), x = m(p, {
67
+ name: "SListActionItem",
68
+ slot: "Label",
69
+ shouldForwardProp: (e) => e !== "ownerState"
70
+ })({
71
+ display: "block",
72
+ minWidth: 0,
73
+ overflow: "hidden",
74
+ textOverflow: "ellipsis"
75
+ }), S = m(p, {
76
+ name: "SListActionItem",
77
+ slot: "Description",
78
+ shouldForwardProp: (e) => e !== "ownerState"
79
+ })(({ theme: e }) => ({
80
+ color: (e.vars ?? e).palette.text.secondary,
81
+ display: "block",
82
+ minWidth: 0,
83
+ overflow: "hidden",
84
+ textOverflow: "ellipsis"
85
+ })), C = m(d, {
86
+ name: "SListActionItem",
87
+ slot: "Trailing",
88
+ shouldForwardProp: (e) => e !== "ownerState"
89
+ })(({ theme: e }) => ({
90
+ alignItems: "center",
91
+ color: (e.vars ?? e).palette.text.secondary,
92
+ display: "flex",
93
+ flexShrink: 0,
94
+ marginInlineStart: "auto"
95
+ })), w = c.forwardRef(function(i, a) {
96
+ let o = h({
97
+ props: i,
98
+ name: "SListActionItem"
99
+ }), { "aria-current": c, component: d, dense: f = !1, description: p, disabled: m = !1, href: g, icon: _, label: w, selected: T = !1, slotProps: E, slots: D, sx: O, trailing: k, variant: A = "plain", ...j } = o, M = {
100
+ ...o,
101
+ dense: f,
102
+ disabled: m,
103
+ hasDescription: p != null,
104
+ selected: T,
105
+ variant: A
106
+ }, N = D?.root ?? v, P = D?.icon ?? y, F = D?.text ?? b, I = D?.label ?? x, L = D?.description ?? S, R = D?.trailing ?? C, z = d ?? (g ? "a" : "button"), B = T ? "page" : void 0, V = "aria-current" in o ? c : B, { ref: H, sx: U, ...W } = r(N, s(t(E?.root, M), {
107
+ ...j,
108
+ "aria-current": V,
109
+ dense: f,
110
+ disabled: m,
111
+ href: m ? void 0 : g,
112
+ selected: T
113
+ }), M), G = n(H, a), K = r(P, s(t(E?.icon, M), { component: "span" }), M), q = r(F, s(t(E?.text, M), { component: "span" }), M), J = r(I, s(t(E?.label, M), {
114
+ component: "span",
115
+ variant: "body1"
116
+ }), M), Y = r(L, s(t(E?.description, M), {
117
+ component: "span",
118
+ variant: "body2"
119
+ }), M), X = r(R, s(t(E?.trailing, M), { component: "span" }), M);
120
+ return /* @__PURE__ */ u(N, {
121
+ ...W,
122
+ ref: G,
123
+ component: z,
124
+ nativeButton: z === "button",
125
+ sx: [...e(U), ...e(O)],
126
+ children: [
127
+ _ == null ? null : /* @__PURE__ */ l(P, {
128
+ ...K,
129
+ children: _
130
+ }),
131
+ /* @__PURE__ */ u(F, {
132
+ ...q,
133
+ children: [/* @__PURE__ */ l(I, {
134
+ ...J,
135
+ children: w
136
+ }), p == null ? null : /* @__PURE__ */ l(L, {
137
+ ...Y,
138
+ children: p
139
+ })]
140
+ }),
141
+ k == null ? null : /* @__PURE__ */ l(R, {
142
+ ...X,
143
+ children: k
144
+ })
145
+ ]
146
+ });
147
+ });
148
+ w.displayName = "SListActionItem";
149
+ //#endregion
150
+ export { w as SListActionItem, w as default };
@@ -1,2 +1,2 @@
1
- import { SLocalizationProvider as e } from "./s-localization-provider.js";
1
+ import { t as e } from "../s-localization-provider-CeyB_SGz.js";
2
2
  export { e as SLocalizationProvider, e as default };
@@ -1,12 +1,2 @@
1
- import "react";
2
- import { jsx as e } from "react/jsx-runtime";
3
- import { AdapterDayjs as t } from "@mui/x-date-pickers/AdapterDayjs";
4
- import { LocalizationProvider as n } from "@mui/x-date-pickers/LocalizationProvider";
5
- //#region lib/s-localization-provider/s-localization-provider.tsx
6
- var r = (r) => /* @__PURE__ */ e(n, {
7
- ...r,
8
- dateAdapter: t
9
- });
10
- r.displayName = "SLocalizationProvider";
11
- //#endregion
12
- export { r as SLocalizationProvider, r as default };
1
+ import { t as e } from "../s-localization-provider-CeyB_SGz.js";
2
+ export { e as SLocalizationProvider, e as default };