@solostylist/ui-kit 2.0.0 → 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 (365) hide show
  1. package/dist/{Add-COc9VdNg.js → Add-CEnTWsXs.js} +1 -1
  2. package/dist/{ArrowUpward-D88i2k4q.js → ArrowUpward-udL1ltj2.js} +1 -1
  3. package/dist/{Button-DgIFcM44.js → Button-DaLr1m20.js} +5 -5
  4. package/dist/{ButtonBase-DxKtpFYs.js → ButtonBase-DovDC6-1.js} +224 -271
  5. package/dist/{Checkbox-BoZu9z2l.js → Checkbox-C-Xjbzzh.js} +7 -7
  6. package/dist/{ChevronRight-BxsM4W78.js → ChevronRight-DsPfsFKB.js} +1 -1
  7. package/dist/{Close-o4HFfK0I.js → Close-CIYOM-Sc.js} +1 -1
  8. package/dist/{Collapse-zgIFP5Sj.js → Collapse-DPUr1cbP.js} +46 -46
  9. package/dist/{ContentCopy-5unyTYXy.js → ContentCopy-Hlh3azVb.js} +1 -1
  10. package/dist/{DialogContent-CAry6lVf.js → DialogContent-b3xbJVC6.js} +5 -5
  11. package/dist/{Download-DtvoRwpl.js → Download-D9PkFi7a.js} +1 -1
  12. package/dist/{ExpandMore-Ba5bg6s-.js → ExpandMore-sOgvEha9.js} +1 -1
  13. package/dist/{Favorite-B_GsElm0.js → Favorite-BP343hjM.js} +1 -1
  14. package/dist/FavoriteBorder-D15j9xEL.js +6 -0
  15. package/dist/{FormControl-BxmM9UP6.js → FormControl-DwMfZCiz.js} +46 -52
  16. package/dist/{FormControlLabel-DzgppcC_.js → FormControlLabel-Ihga1FTB.js} +5 -5
  17. package/dist/{Grow-zRRuwUl-.js → Grow-BQR7x52V.js} +20 -20
  18. package/dist/{elementAcceptingRef-DhkNAkFH.js → IconButton-CE-4GamO.js} +87 -111
  19. package/dist/{InfoOutlined-VC7X46pc.js → InfoOutlined-lpvhO6P8.js} +1 -1
  20. package/dist/{List-CnGIAXAS.js → List-RNcZhRdr.js} +26 -24
  21. package/dist/Menu-CnyB4SDS.js +180 -0
  22. package/dist/{MenuItem-rXJfQzDC.js → MenuItem-Ck30dBOR.js} +15 -14
  23. package/dist/MenuList-Cc98uWXq.js +160 -0
  24. package/dist/{Modal-jAiibALV.js → Modal-CD2EBfU8.js} +116 -121
  25. package/dist/{Paper-ixxCeml9.js → Paper-_3qggtBp.js} +2 -2
  26. package/dist/Popover-BFdKSYI5.js +340 -0
  27. package/dist/{Popper-CVYyMS3c.js → Popper-DYNAMSDd.js} +62 -61
  28. package/dist/{Portal-AnyvFRC4.js → Portal-i_wgIe9-.js} +13 -17
  29. package/dist/Remove-DDEn8ek8.js +6 -0
  30. package/dist/{Stack-UMc4dV4G.js → Stack-C0LGzM4c.js} +1 -1
  31. package/dist/{SwitchBase-D7zqrstO.js → SwitchBase-CjWtDdmE.js} +5 -5
  32. package/dist/{Tooltip-DbCd6rgF.js → Tooltip-B1sn94L0.js} +161 -160
  33. package/dist/{Typography-yXjc7kVP.js → Typography-_P0svrkO.js} +3 -3
  34. package/dist/{UnfoldMoreRounded-DsN0HVDV.js → UnfoldMoreRounded-CuCrdxoy.js} +1 -1
  35. package/dist/{autocomplete-B_4y84Ba.js → autocomplete-BgARERpp.js} +1 -1
  36. package/dist/{avatar-BHuZu3DN.js → avatar-XNOdbbRz.js} +1 -1
  37. package/dist/chainPropTypes-CkMRtDjQ.js +8 -0
  38. package/dist/{checkbox-BKMZEVU5.js → checkbox-D1U_JKqs.js} +3 -3
  39. package/dist/{createSvgIcon-B0SZlJF1.js → createSvgIcon-3y-gS0r1.js} +3 -3
  40. package/dist/elementAcceptingRef-pKEY6jPR.js +25 -0
  41. package/dist/elementTypeAcceptingRef-xl_04Y5-.js +19 -0
  42. package/dist/{objectWithoutPropertiesLoose-Cpds-4w8.js → extends-DXMyyJCW.js} +1 -12
  43. package/dist/{field-label-styles-BOyhp6gw.js → field-label-styles-4praXMaE.js} +1 -1
  44. package/dist/getActiveElement-BfBkhgy6.js +8 -0
  45. package/dist/{gradients-90SYkAC0.js → gradients-mQAYCK0_.js} +1 -1
  46. package/dist/isFocusVisible-4OIE8TST.js +11 -0
  47. package/dist/isLayoutSupported-Btg2X3QE.js +6 -0
  48. package/dist/isMuiElement-CPjhi284.js +10 -0
  49. package/dist/main.js +1 -1
  50. package/dist/mega-menu-trigger-BcOo8I5_.js +53 -0
  51. package/dist/{mergeSlotProps-xl1-PgWL.js → mergeSlotProps-DC8r4QzS.js} +1 -1
  52. package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +12 -0
  53. package/dist/{outlinedInputClasses-DECY98u0.js → outlinedInputClasses-ci1zDasn.js} +1 -1
  54. package/dist/ownerDocument-CJjQZweZ.js +6 -0
  55. package/dist/ownerDocument-pYjJiXem.js +5 -0
  56. package/dist/ownerWindow-SSeeoqPT.js +18 -0
  57. package/dist/palettes/index.js +1 -1
  58. package/dist/{palettes-Dw3PEYF5.js → palettes-B1FcGUYs.js} +2 -2
  59. package/dist/refType-j5S9pc_e.js +6 -0
  60. package/dist/s-accordion/index.js +1 -1
  61. package/dist/s-accordion/s-accordion.js +1 -1
  62. package/dist/{s-accordion-B8nlrdFc.js → s-accordion-1oLxQhod.js} +23 -23
  63. package/dist/s-action-overlay/s-action-overlay.js +1 -1
  64. package/dist/s-animated-gradient-text/index.d.ts +2 -0
  65. package/dist/s-animated-gradient-text/index.js +2 -0
  66. package/dist/s-animated-gradient-text/s-animated-gradient-text.d.ts +64 -0
  67. package/dist/s-animated-gradient-text/s-animated-gradient-text.js +93 -0
  68. package/dist/s-announcement-bar/index.d.ts +2 -0
  69. package/dist/s-announcement-bar/index.js +2 -0
  70. package/dist/s-announcement-bar/s-announcement-bar.d.ts +113 -0
  71. package/dist/s-announcement-bar/s-announcement-bar.js +275 -0
  72. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  73. package/dist/s-avatar/s-avatar.js +1 -1
  74. package/dist/s-blur-text/s-blur-text.js +1 -1
  75. package/dist/s-brand-logo/index.js +1 -1
  76. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  77. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  78. package/dist/s-carousel/index.js +1 -1
  79. package/dist/s-carousel/s-carousel.d.ts +2 -0
  80. package/dist/s-carousel/s-carousel.js +1 -1
  81. package/dist/{s-carousel-Dnjke4JQ.js → s-carousel-CAyAl3ka.js} +7 -5
  82. package/dist/s-category-card/s-category-card.js +1 -1
  83. package/dist/s-chat-input/index.js +1 -1
  84. package/dist/s-chat-input/s-chat-input.js +1 -1
  85. package/dist/{s-chat-input-DCS0mJE4.js → s-chat-input-T3gyan60.js} +8 -8
  86. package/dist/s-chat-message/index.js +1 -1
  87. package/dist/s-chat-message/s-chat-message.js +1 -1
  88. package/dist/{s-chat-message-9oollJJq.js → s-chat-message-NFTpNgt5.js} +4 -4
  89. package/dist/s-checkbox/s-checkbox.js +5 -5
  90. package/dist/s-chips/index.js +1 -1
  91. package/dist/s-chips/s-chips.js +1 -1
  92. package/dist/{s-chips-WqGdqHW9.js → s-chips-Dqq1fgz-.js} +5 -5
  93. package/dist/s-code-block/index.js +1 -1
  94. package/dist/s-code-block/s-code-block.js +1 -1
  95. package/dist/{s-code-block-DzGoGg5e.js → s-code-block-DyDtctGG.js} +2 -2
  96. package/dist/s-comment-message/index.js +1 -1
  97. package/dist/s-comment-message/s-comment-message.js +1 -1
  98. package/dist/{s-comment-message-C6kfgRjv.js → s-comment-message-DpCVBKiE.js} +53 -52
  99. package/dist/s-copyable-text/s-copyable-text.js +2 -2
  100. package/dist/s-countdown/s-count-box.js +1 -1
  101. package/dist/s-data-table/index.js +1 -1
  102. package/dist/s-data-table/s-data-table.js +1 -1
  103. package/dist/{s-data-table-B1TGVupB.js → s-data-table-D4V58HFR.js} +16 -16
  104. package/dist/s-date-picker/index.js +1 -1
  105. package/dist/s-date-picker/s-date-picker.js +1 -1
  106. package/dist/s-date-picker-BFIQOA8C.js +657 -0
  107. package/dist/s-datetime-picker/index.js +1 -1
  108. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  109. package/dist/{s-datetime-picker-ByzW44E0.js → s-datetime-picker-zfg7BEOW.js} +623 -615
  110. package/dist/s-dialog/index.js +1 -1
  111. package/dist/s-dialog/s-dialog.js +1 -1
  112. package/dist/{s-dialog-BLiyjLkx.js → s-dialog-BNlXsVVP.js} +10 -10
  113. package/dist/s-dialog-confirm/s-dialog-confirm.js +4 -4
  114. package/dist/s-dialog-message/s-dialog-message.js +4 -4
  115. package/dist/s-drawer/index.d.ts +3 -0
  116. package/dist/s-drawer/index.js +2 -0
  117. package/dist/s-drawer/s-drawer.d.ts +70 -0
  118. package/dist/s-drawer/s-drawer.js +2 -0
  119. package/dist/s-drawer-4h5ZyoM8.js +562 -0
  120. package/dist/s-empty/s-empty.js +2 -2
  121. package/dist/s-file-dropzone/index.js +1 -1
  122. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  123. package/dist/{s-file-dropzone-CVQpYRdY.js → s-file-dropzone-Cfzv1Cm8.js} +16 -16
  124. package/dist/s-file-icon/s-file-icon.js +1 -1
  125. package/dist/s-flex-box/s-flex-box.js +1 -1
  126. package/dist/s-form/s-form.js +2 -2
  127. package/dist/s-gallery/s-gallery.js +1 -1
  128. package/dist/s-glow-button/s-glow-button.js +1 -1
  129. package/dist/s-gradient-blob-pulse/index.d.ts +2 -0
  130. package/dist/s-gradient-blob-pulse/index.js +2 -0
  131. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.d.ts +62 -0
  132. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +237 -0
  133. package/dist/s-gradient-icon/index.d.ts +1 -1
  134. package/dist/s-gradient-icon/s-gradient-icon.d.ts +4 -4
  135. package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
  136. package/dist/s-icon-button/s-icon-button.d.ts +6 -2
  137. package/dist/s-icon-button/s-icon-button.js +8 -8
  138. package/dist/s-image-comparison/s-image-comparison.js +3 -3
  139. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  140. package/dist/s-image-viewer/index.js +1 -1
  141. package/dist/s-image-viewer/s-image-viewer.js +1 -1
  142. package/dist/s-image-viewer/use-image-viewer-navigation.js +1 -1
  143. package/dist/{s-image-viewer-DNIEYdtL.js → s-image-viewer-CjK67-rs.js} +5 -5
  144. package/dist/s-interactive-card/index.d.ts +3 -0
  145. package/dist/s-interactive-card/index.js +2 -0
  146. package/dist/s-interactive-card/s-interactive-card.d.ts +57 -0
  147. package/dist/s-interactive-card/s-interactive-card.js +152 -0
  148. package/dist/s-label/s-label.js +9 -9
  149. package/dist/s-language-switcher/index.js +1 -1
  150. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  151. package/dist/s-language-switcher-PaMgHWc2.js +246 -0
  152. package/dist/s-lazy-image/s-lazy-image.js +2 -2
  153. package/dist/s-link/index.js +1 -1
  154. package/dist/s-link/s-link.js +1 -1
  155. package/dist/{s-link-CAMTGfd9.js → s-link-Db1aabHh.js} +5 -4
  156. package/dist/s-list-action-item/index.d.ts +2 -0
  157. package/dist/s-list-action-item/index.js +2 -0
  158. package/dist/s-list-action-item/s-list-action-item.d.ts +89 -0
  159. package/dist/s-list-action-item/s-list-action-item.js +150 -0
  160. package/dist/s-localization-provider/index.js +1 -1
  161. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  162. package/dist/{s-localization-provider-Xw3NO2uP.js → s-localization-provider-CeyB_SGz.js} +2 -2
  163. package/dist/s-mega-menu/index.d.ts +3 -0
  164. package/dist/s-mega-menu/index.js +2 -0
  165. package/dist/s-mega-menu/mega-menu-panel.d.ts +38 -0
  166. package/dist/s-mega-menu/mega-menu-panel.js +253 -0
  167. package/dist/s-mega-menu/mega-menu-slots.d.ts +65 -0
  168. package/dist/s-mega-menu/mega-menu-slots.js +232 -0
  169. package/dist/s-mega-menu/mega-menu-trigger.d.ts +35 -0
  170. package/dist/s-mega-menu/mega-menu-trigger.js +2 -0
  171. package/dist/s-mega-menu/s-mega-menu.d.ts +23 -0
  172. package/dist/s-mega-menu/s-mega-menu.js +228 -0
  173. package/dist/s-mega-menu/types.d.ts +188 -0
  174. package/dist/s-mega-menu/types.js +0 -0
  175. package/dist/s-mega-menu/utils.d.ts +51 -0
  176. package/dist/s-mega-menu/utils.js +51 -0
  177. package/dist/s-mobile-dock/index.d.ts +3 -0
  178. package/dist/s-mobile-dock/index.js +2 -0
  179. package/dist/s-mobile-dock/s-mobile-dock.d.ts +96 -0
  180. package/dist/s-mobile-dock/s-mobile-dock.js +2 -0
  181. package/dist/s-mobile-dock-8F3UWAb8.js +615 -0
  182. package/dist/s-nav-item/index.d.ts +1 -1
  183. package/dist/s-nav-item/s-nav-item.d.ts +35 -16
  184. package/dist/s-nav-item/s-nav-item.js +56 -77
  185. package/dist/s-nav-items/index.js +2 -2
  186. package/dist/s-nav-items/s-nav-items.js +124 -2
  187. package/dist/s-no-ssr/index.js +1 -1
  188. package/dist/s-no-ssr/s-no-ssr.js +1 -1
  189. package/dist/s-number-range/index.d.ts +3 -0
  190. package/dist/s-number-range/index.js +2 -0
  191. package/dist/s-number-range/s-number-range.d.ts +109 -0
  192. package/dist/s-number-range/s-number-range.js +2 -0
  193. package/dist/s-number-range-Low5QjuD.js +253 -0
  194. package/dist/s-pagination/index.js +1 -1
  195. package/dist/s-pagination/s-pagination.js +1 -1
  196. package/dist/{s-pagination-Dt8Pk5Tp.js → s-pagination-s46hBifh.js} +33 -33
  197. package/dist/s-pixel-reveal/s-pixel-reveal.js +1 -1
  198. package/dist/s-popover/index.d.ts +5 -0
  199. package/dist/s-popover/index.js +3 -0
  200. package/dist/s-popover/placement.d.ts +14 -0
  201. package/dist/s-popover/placement.js +65 -0
  202. package/dist/s-popover/s-popover-content.d.ts +22 -0
  203. package/dist/s-popover/s-popover-content.js +22 -0
  204. package/dist/s-popover/s-popover.d.ts +59 -0
  205. package/dist/s-popover/s-popover.js +68 -0
  206. package/dist/s-product-card/index.d.ts +3 -0
  207. package/dist/s-product-card/index.js +2 -0
  208. package/dist/s-product-card/s-product-card.d.ts +216 -0
  209. package/dist/s-product-card/s-product-card.js +502 -0
  210. package/dist/s-product-gallery/index.d.ts +3 -0
  211. package/dist/s-product-gallery/index.js +2 -0
  212. package/dist/s-product-gallery/s-product-gallery.d.ts +116 -0
  213. package/dist/s-product-gallery/s-product-gallery.js +2 -0
  214. package/dist/s-product-gallery-Dj9eGg5i.js +430 -0
  215. package/dist/s-quantity-input/index.js +1 -1
  216. package/dist/s-quantity-input/s-quantity-input.js +246 -2
  217. package/dist/s-review/index.js +1 -1
  218. package/dist/s-review/s-review.js +1 -1
  219. package/dist/{s-review-DSXXtWlL.js → s-review--Q2C0ngO.js} +4 -4
  220. package/dist/s-scroll-reveal/s-scroll-reveal.js +1 -1
  221. package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +1 -1
  222. package/dist/s-scroll-to-top/s-scroll-to-top.js +2 -2
  223. package/dist/s-scroll-velocity/scroll-velocity-row.js +1 -1
  224. package/dist/s-segmented-control/index.d.ts +3 -0
  225. package/dist/s-segmented-control/index.js +2 -0
  226. package/dist/s-segmented-control/s-segmented-control.d.ts +94 -0
  227. package/dist/s-segmented-control/s-segmented-control.js +302 -0
  228. package/dist/s-select/index.js +1 -1
  229. package/dist/s-select/s-select.js +1 -1
  230. package/dist/{s-select-dwY2DYa9.js → s-select-CtVKEOZ5.js} +3 -3
  231. package/dist/s-select-list/s-select-list.js +5 -5
  232. package/dist/s-skeleton/s-skeleton.js +10 -10
  233. package/dist/s-snackbar-message/index.js +1 -1
  234. package/dist/s-snackbar-message/s-snackbar-message.js +1 -1
  235. package/dist/{s-snackbar-message-3Z6VySlB.js → s-snackbar-message-DsfJlDYd.js} +98 -96
  236. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +1 -1
  237. package/dist/s-status-illustration/s-status-illustration.js +1 -1
  238. package/dist/s-stepper/index.d.ts +3 -0
  239. package/dist/s-stepper/index.js +2 -0
  240. package/dist/s-stepper/s-stepper.d.ts +90 -0
  241. package/dist/s-stepper/s-stepper.js +2 -0
  242. package/dist/s-stepper-BtODHVro.js +892 -0
  243. package/dist/s-stripe/s-stripe.js +2 -2
  244. package/dist/s-stripe/stripe-input.js +1 -1
  245. package/dist/s-swatch/index.d.ts +3 -0
  246. package/dist/s-swatch/index.js +2 -0
  247. package/dist/s-swatch/s-swatch.d.ts +235 -0
  248. package/dist/s-swatch/s-swatch.js +219 -0
  249. package/dist/s-switch/index.js +1 -1
  250. package/dist/s-switch/s-switch.js +1 -1
  251. package/dist/{s-switch-B8bZAzLh.js → s-switch-BCeBoxWf.js} +18 -18
  252. package/dist/s-tabs/s-tabs.js +4 -4
  253. package/dist/s-text-editor/index.js +1 -1
  254. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  255. package/dist/s-text-editor/s-text-editor.js +2 -2
  256. package/dist/{s-text-editor-toolbar-D-XgFQix.js → s-text-editor-toolbar-D5eQ-jCs.js} +708 -705
  257. package/dist/s-text-field/index.js +1 -1
  258. package/dist/s-text-field/s-text-field.js +1 -1
  259. package/dist/{s-text-field-BM4qk0mf.js → s-text-field-HYyDf1Jo.js} +4 -4
  260. package/dist/s-text-shimmer/s-text-shimmer.js +1 -1
  261. package/dist/s-text-truncation/s-text-truncation.js +1 -1
  262. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  263. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  264. package/dist/s-theme-demo/theme-demo-components-section.js +1 -1
  265. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  266. package/dist/s-theme-switch/index.js +1 -1
  267. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  268. package/dist/{s-theme-switch-BLMz1_m2.js → s-theme-switch-BFWpADh3.js} +2 -2
  269. package/dist/s-tip/index.js +1 -1
  270. package/dist/s-tip/s-tip.js +1 -1
  271. package/dist/{s-tip-ty41ePQm.js → s-tip-jbL7vtoU.js} +5 -5
  272. package/dist/s-tool-bar/s-tool-bar.js +3 -3
  273. package/dist/s-tool-bar/tool-bar-action-buttons.js +1 -1
  274. package/dist/s-tool-bar/tool-bar-image-input.js +1 -1
  275. package/dist/s-tool-bar/tool-bar-inputs.js +3 -3
  276. package/dist/s-tool-item/s-tool-item.d.ts +10 -6
  277. package/dist/s-tool-item/s-tool-item.js +13 -13
  278. package/dist/s-two-pane-layout/s-two-pane-layout.js +1 -1
  279. package/dist/s-zoom-image/s-zoom-image.js +2 -2
  280. package/dist/setRef-BWPyWnrr.js +6 -0
  281. package/dist/theme/component-augmentation.d.ts +65 -1
  282. package/dist/theme/components/autocomplete.js +1 -1
  283. package/dist/theme/components/avatar.js +1 -1
  284. package/dist/theme/components/card.js +1 -1
  285. package/dist/theme/components/checkbox.js +1 -1
  286. package/dist/theme/components/chip.js +1 -1
  287. package/dist/theme/components/components.js +4 -4
  288. package/dist/theme/components/drawer.d.ts +1 -0
  289. package/dist/theme/components/drawer.js +4 -1
  290. package/dist/theme/components/field-label-styles.js +1 -1
  291. package/dist/theme/components/form-label.js +1 -1
  292. package/dist/theme/components/list-item-button.js +1 -1
  293. package/dist/theme/components/list-item.js +3 -3
  294. package/dist/theme/components/month-calendar.js +2 -2
  295. package/dist/theme/components/outlined-input.js +2 -2
  296. package/dist/theme/components/pickers-calendar-header.js +2 -2
  297. package/dist/theme/components/select.js +2 -2
  298. package/dist/theme/components/slider.js +18 -1
  299. package/dist/theme/components/step-connector.d.ts +0 -3
  300. package/dist/theme/components/step-connector.js +1 -6
  301. package/dist/theme/components/step-icon.d.ts +3 -12
  302. package/dist/theme/components/step-icon.js +3 -14
  303. package/dist/theme/components/switch.js +1 -1
  304. package/dist/theme/components/table-pagination.js +1 -1
  305. package/dist/theme/components/toggle-button.js +1 -1
  306. package/dist/theme/components/year-calendar.js +2 -2
  307. package/dist/theme/theme-primitives.js +2 -2
  308. package/dist/{theme-demo-components-section-gtIYRngY.js → theme-demo-components-section-C7l_2KAo.js} +4 -4
  309. package/dist/{theme-primitives-Dt_DT9b5.js → theme-primitives-CXtaMdVj.js} +2 -2
  310. package/dist/{toggle-button-Cxi5CfXC.js → toggle-button-BsGb-tOr.js} +1 -1
  311. package/dist/{tool-bar-action-buttons-Dt-pV3GA.js → tool-bar-action-buttons-v1koaasr.js} +3 -3
  312. package/dist/{tool-bar-image-input-BXlll_hV.js → tool-bar-image-input-DtXTyEe1.js} +2 -2
  313. package/dist/unsupportedProp-whMV_uOi.js +11 -0
  314. package/dist/{useControlled-BeB0W_Ui.js → useControlled-DqNPBJNp.js} +1 -1
  315. package/dist/useEventCallback-DGCsaRIu.js +5 -0
  316. package/dist/{useEventCallback-CVqMfiG_.js → useEventCallback-DhCPBxRG.js} +1 -4
  317. package/dist/{useMobilePicker-C4UQFvkj.js → useMobilePicker-CdrT935R.js} +2176 -2172
  318. package/dist/useRovingTabIndex-DPlW997R.js +242 -0
  319. package/dist/{useSlot-iIu8ek6E.js → useSlot-BG8ReOxN.js} +3 -3
  320. package/dist/{isLayoutSupported-Ceir7nyK.js → useSlotProps-BOO3qaI9.js} +4 -9
  321. package/dist/useThemeProps-Dw9dmKyT.js +29 -0
  322. package/dist/useTimeout-CoK-Khfm.js +49 -0
  323. package/dist/{utils-oJyTAkZY.js → utils-Bfqbev5I.js} +45 -11
  324. package/dist/{warning-CNkSZkq6.js → warning-D5YhCbje.js} +3 -2
  325. package/package.json +1 -1
  326. package/dist/ListContext-B1HQt3OD.js +0 -6
  327. package/dist/Menu-C4Zabc9U.js +0 -504
  328. package/dist/MenuList-DDV8J-yd.js +0 -407
  329. package/dist/isFocusVisible-Y7157FQS.js +0 -35
  330. package/dist/listItemButtonClasses-DbL-aTVf.js +0 -18
  331. package/dist/s-date-picker-BpX4HmBp.js +0 -656
  332. package/dist/s-language-switcher-D-1nywT3.js +0 -251
  333. package/dist/s-nav-items-BUp7DddG.js +0 -327
  334. package/dist/s-quantity-input-mYCixlJc.js +0 -246
  335. package/dist/theme/components/components.d.ts +0 -2
  336. package/dist/theme/components/slider.d.ts +0 -34
  337. package/dist/useThemeProps-BI9yq95N.js +0 -19
  338. package/dist/useThemeProps-Cr28OQu3.js +0 -13
  339. /package/dist/{appendOwnerState-CELpvdMz.js → appendOwnerState-CFQTq3pb.js} +0 -0
  340. /package/dist/{buttonBaseClasses-BvBqFLb_.js → buttonBaseClasses-B90LjsNK.js} +0 -0
  341. /package/dist/{capitalize-CccCFNpQ.js → capitalize-C0baBJCm.js} +0 -0
  342. /package/dist/{checkboxClasses-CEsqS4sc.js → checkboxClasses-B1up2lUn.js} +0 -0
  343. /package/dist/{colors-DKqWMRgW.js → colors-Bik9qOU9.js} +0 -0
  344. /package/dist/{contains-WOhYaq1E.js → contains-DnqPQsQU.js} +0 -0
  345. /package/dist/{createSimplePaletteValueFilter-C1gWywW_.js → createSimplePaletteValueFilter-DFvyXHoZ.js} +0 -0
  346. /package/dist/{formLabelClasses-B0Fa-86T.js → formLabelClasses-AuZHWfTs.js} +0 -0
  347. /package/dist/{iconButtonClasses-CkciZuIe.js → iconButtonClasses-CVVRFXRo.js} +0 -0
  348. /package/dist/{inputAdornmentClasses-D5yYK5bM.js → inputAdornmentClasses-BbB8s-Z4.js} +0 -0
  349. /package/dist/{inputBaseClasses-DuWQGq8Z.js → inputBaseClasses-Ce_jjdp9.js} +0 -0
  350. /package/dist/{integerPropType-Disnft4a.js → integerPropType-CCkQD1JY.js} +0 -0
  351. /package/dist/{isEventHandler-8dPdzK9U.js → isEventHandler-QShLXBxE.js} +0 -0
  352. /package/dist/{monthCalendarClasses-BYVHyEfI.js → monthCalendarClasses-b964KRbc.js} +0 -0
  353. /package/dist/{pickersCalendarHeaderClasses-CIj0gBye.js → pickersCalendarHeaderClasses-BAiPN_oY.js} +0 -0
  354. /package/dist/{s-brand-logo-jtAJZQIv.js → s-brand-logo-D7Jovf5K.js} +0 -0
  355. /package/dist/{s-no-ssr-D8tPdDfh.js → s-no-ssr-DH57_uP_.js} +0 -0
  356. /package/dist/{selectClasses-DoUlWfzV.js → selectClasses-CPxME5jE.js} +0 -0
  357. /package/dist/{svgIconClasses-C8D4AsMj.js → svgIconClasses-1kWGzgux.js} +0 -0
  358. /package/dist/{switchClasses-eiq1bkQN.js → switchClasses-BtweO7PC.js} +0 -0
  359. /package/dist/{typographyClasses-BLM3NmYd.js → typographyClasses-BH_-zLwg.js} +0 -0
  360. /package/dist/{useControlled-C4QJnpiR.js → useControlled-uxVKygk1.js} +0 -0
  361. /package/dist/{useEnhancedEffect-Bc3gBClC.js → useEnhancedEffect-dBFfkm1e.js} +0 -0
  362. /package/dist/{useForkRef-CKneCEtr.js → useForkRef-BuNFTXxE.js} +0 -0
  363. /package/dist/{useFormControl-iWLrn7Ek.js → useFormControl-gXwNeUM1.js} +0 -0
  364. /package/dist/{utils-DaSrTYUS.js → utils-DOY6v6ln.js} +0 -0
  365. /package/dist/{yearCalendarClasses-CuAQumpz.js → yearCalendarClasses-D9k_KT38.js} +0 -0
@@ -0,0 +1,152 @@
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 "../useEventCallback-DGCsaRIu.js";
5
+ import { t as i } from "../appendOwnerState-CFQTq3pb.js";
6
+ import { actionHoverMedia as a, getFocusVisibleStyle as o, reducedMotionMedia as s } from "../theme/components/action-styles.js";
7
+ import { t as c } from "../mergeSlotProps-DC8r4QzS.js";
8
+ import * as l from "react";
9
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
10
+ import { Box as f, Card as p, CardActionArea as m, keyframes as h, styled as g, useThemeProps as _ } from "@mui/material";
11
+ //#region lib/s-interactive-card/s-interactive-card.tsx
12
+ var v = "55%", y = "-18deg", b = "-140%", x = h`
13
+ from {
14
+ transform: translateX(${b}) skewX(${y});
15
+ }
16
+ to {
17
+ transform: translateX(${"260%"}) skewX(${y});
18
+ }
19
+ `, S = (e) => ({ [a]: { "&:hover": e } }), C = (e) => ({
20
+ ...S(e),
21
+ "&:has(.Mui-focusVisible)": e
22
+ }), w = g(p, {
23
+ name: "SInteractiveCard",
24
+ slot: "Root",
25
+ shouldForwardProp: (e) => e !== "ownerState"
26
+ })(({ theme: e }) => ({
27
+ borderRadius: e.radius.md,
28
+ overflow: "hidden",
29
+ position: "relative",
30
+ transition: e.transitions.create(["border-color", "transform"], {
31
+ duration: e.transitions.duration.complex,
32
+ easing: e.transitions.easing.easeOut
33
+ }),
34
+ zIndex: 0,
35
+ [s]: { transition: "none" },
36
+ variants: [
37
+ {
38
+ props: ({ ownerState: e }) => e.interactive && !e.disabled,
39
+ style: C({ borderColor: (e.vars ?? e).palette.primary.main })
40
+ },
41
+ {
42
+ props: ({ ownerState: e }) => e.interactive && !e.disabled && !e.disableLift,
43
+ style: {
44
+ ...S({ transform: `translateY(calc(${e.spacing(1.5)} * -1)) scale(1.02)` }),
45
+ [s]: S({ transform: "none" })
46
+ }
47
+ },
48
+ {
49
+ props: ({ ownerState: e }) => e.interactive && !e.disabled && e.sheen,
50
+ style: {
51
+ "&::after": {
52
+ backgroundImage: `linear-gradient(90deg, transparent, ${(e.vars ?? e).palette.whiteAlpha.light}, transparent)`,
53
+ content: "\"\"",
54
+ height: "100%",
55
+ insetBlockStart: 0,
56
+ insetInlineStart: 0,
57
+ pointerEvents: "none",
58
+ position: "absolute",
59
+ transform: `translateX(${b}) skewX(${y})`,
60
+ width: v,
61
+ willChange: "transform",
62
+ zIndex: 2
63
+ },
64
+ ...S({ "&::after": { animation: `${x} ${e.transitions.duration.complex}ms ${e.transitions.easing.easeOut} forwards` } }),
65
+ [s]: { "&::after": { content: "none" } }
66
+ }
67
+ },
68
+ {
69
+ props: ({ ownerState: e }) => e.disabled,
70
+ style: {
71
+ borderColor: (e.vars ?? e).palette.divider,
72
+ boxShadow: "none"
73
+ }
74
+ }
75
+ ]
76
+ })), T = g(m, {
77
+ name: "SInteractiveCard",
78
+ slot: "ActionArea",
79
+ shouldForwardProp: (e) => e !== "ownerState"
80
+ })(({ theme: e }) => ({
81
+ borderRadius: "inherit",
82
+ display: "block",
83
+ height: "100%",
84
+ textAlign: "inherit",
85
+ width: "100%",
86
+ "&.Mui-focusVisible": {
87
+ ...o(e),
88
+ outlineOffset: -2
89
+ }
90
+ })), E = g(f, {
91
+ name: "SInteractiveCard",
92
+ slot: "Overlay",
93
+ shouldForwardProp: (e) => e !== "ownerState"
94
+ })({
95
+ borderRadius: "inherit",
96
+ inset: 0,
97
+ overflow: "hidden",
98
+ pointerEvents: "none",
99
+ position: "absolute",
100
+ zIndex: 1
101
+ }), D = l.forwardRef(function(a, o) {
102
+ let s = _({
103
+ props: a,
104
+ name: "SInteractiveCard"
105
+ }), { "aria-describedby": l, "aria-label": f, "aria-labelledby": p, children: m, disableLift: h = !1, disabled: g = !1, href: v, interactive: y = !0, onClick: b, overlay: x, sheen: S = !1, slotProps: C, slots: D, sx: O, ...k } = s, A = v !== void 0 || b !== void 0, j = {
106
+ ...s,
107
+ clickable: A,
108
+ disableLift: h,
109
+ disabled: g,
110
+ interactive: y,
111
+ sheen: S
112
+ }, M = D?.root ?? w, N = D?.actionArea ?? T, P = D?.overlay ?? E, F = r((e) => {
113
+ if (g) {
114
+ e.preventDefault();
115
+ return;
116
+ }
117
+ b?.(e);
118
+ }), { ref: I, sx: L, ...R } = i(M, c(t(C?.root, j), {
119
+ ...k,
120
+ "aria-describedby": A ? void 0 : l,
121
+ "aria-label": A ? void 0 : f,
122
+ "aria-labelledby": A ? void 0 : p
123
+ }), j), z = n(I, o), B = c(t(C?.actionArea, j), {
124
+ "aria-describedby": l,
125
+ "aria-label": f,
126
+ "aria-labelledby": p,
127
+ onClick: F
128
+ }), V = i(N, {
129
+ ...B,
130
+ component: v === void 0 ? "button" : "a",
131
+ disabled: g || B.disabled,
132
+ href: v,
133
+ nativeButton: v === void 0,
134
+ type: v === void 0 ? "button" : void 0
135
+ }, j), H = i(P, t(C?.overlay, j) ?? {}, j);
136
+ return /* @__PURE__ */ d(M, {
137
+ ...R,
138
+ ref: z,
139
+ sx: [...e(L), ...e(O)],
140
+ children: [A ? /* @__PURE__ */ u(N, {
141
+ ...V,
142
+ children: m
143
+ }) : m, x == null ? null : /* @__PURE__ */ u(P, {
144
+ ...H,
145
+ "aria-hidden": !0,
146
+ children: x
147
+ })]
148
+ });
149
+ });
150
+ D.displayName = "SInteractiveCard";
151
+ //#endregion
152
+ export { D as SInteractiveCard, D as default };
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "../styled-Bog8QCl3.js";
2
- import { t } from "../Stack-UMc4dV4G.js";
3
- import { r as n } from "../elementAcceptingRef-DhkNAkFH.js";
4
- import { t as r } from "../useThemeProps-Cr28OQu3.js";
2
+ import { t } from "../Stack-C0LGzM4c.js";
3
+ import { t as n } from "../useThemeProps-Dw9dmKyT.js";
4
+ import { t as r } from "../IconButton-CE-4GamO.js";
5
5
  import { toSxArray as i } from "../utils/sx.js";
6
- import { t as a } from "../appendOwnerState-CELpvdMz.js";
7
- import { t as o } from "../Typography-yXjc7kVP.js";
8
- import { t as s } from "../InfoOutlined-VC7X46pc.js";
9
- import { t as c } from "../Tooltip-DbCd6rgF.js";
6
+ import { t as a } from "../appendOwnerState-CFQTq3pb.js";
7
+ import { t as o } from "../Typography-_P0svrkO.js";
8
+ import { t as s } from "../InfoOutlined-lpvhO6P8.js";
9
+ import { t as c } from "../Tooltip-B1sn94L0.js";
10
10
  import * as l from "react";
11
11
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
12
12
  //#region lib/s-label/s-label.tsx
@@ -18,7 +18,7 @@ function p(e, t) {
18
18
  return typeof e == "function" ? e(t) : e;
19
19
  }
20
20
  var m = (e, t) => !t && !(l.isValidElement(e) && e.type === o), h = l.forwardRef(function(e, l) {
21
- let h = r({
21
+ let h = n({
22
22
  props: e,
23
23
  name: "SLabel"
24
24
  }), { children: g, disableLabelTypography: _ = !1, disableValueTypography: v = !1, hint: y, label: b, slotProps: x, slots: S, sx: C, ...w } = h, T = typeof y == "string" ? y.trim().length > 0 : !!y, E = {
@@ -26,7 +26,7 @@ var m = (e, t) => !t && !(l.isValidElement(e) && e.type === o), h = l.forwardRef
26
26
  disableLabelTypography: _,
27
27
  disableValueTypography: v,
28
28
  hasHint: T
29
- }, D = S?.labelRow ?? t, O = S?.label ?? o, k = S?.value ?? o, A = S?.tooltip ?? c, j = S?.hintButton ?? n, M = a(S?.labelRow, p(x?.labelRow, E) ?? {}, E), N = a(S?.label, p(x?.label, E) ?? {}, E), P = a(S?.value, p(x?.value, E) ?? {}, E), F = a(S?.tooltip, p(x?.tooltip, E) ?? {}, E), I = a(S?.hintButton, p(x?.hintButton, E) ?? {}, E), L = m(b, _), R = m(g, v);
29
+ }, D = S?.labelRow ?? t, O = S?.label ?? o, k = S?.value ?? o, A = S?.tooltip ?? c, j = S?.hintButton ?? r, M = a(S?.labelRow, p(x?.labelRow, E) ?? {}, E), N = a(S?.label, p(x?.label, E) ?? {}, E), P = a(S?.value, p(x?.value, E) ?? {}, E), F = a(S?.tooltip, p(x?.tooltip, E) ?? {}, E), I = a(S?.hintButton, p(x?.hintButton, E) ?? {}, E), L = m(b, _), R = m(g, v);
30
30
  return /* @__PURE__ */ d(f, {
31
31
  ...w,
32
32
  ref: l,
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../s-language-switcher-D-1nywT3.js";
1
+ import { n as e, r as t, t as n } from "../s-language-switcher-PaMgHWc2.js";
2
2
  export { n as SLanguagePopover, e as SLanguageSwitcher, e as default, t as defaultLanguageOptions };
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../s-language-switcher-D-1nywT3.js";
1
+ import { n as e, r as t, t as n } from "../s-language-switcher-PaMgHWc2.js";
2
2
  export { n as SLanguagePopover, e as SLanguageSwitcher, e as default, t as defaultLanguageOptions };
@@ -0,0 +1,246 @@
1
+ import { n as e } from "./chunk-C_CI6nMA.js";
2
+ import { t } from "./prop-types-BzYPyWN7.js";
3
+ import { r as n, t as r } from "./DefaultPropsProvider-ebWx4_5E.js";
4
+ import { t as i } from "./clsx-DGZSe4Nt.js";
5
+ import { t as a } from "./styled-Bog8QCl3.js";
6
+ import { t as o } from "./useThemeProps-Dw9dmKyT.js";
7
+ import { t as s } from "./memoTheme-qFyKAk7y.js";
8
+ import { t as c } from "./mergeSlotProps-DC8r4QzS.js";
9
+ import { n as l } from "./List-RNcZhRdr.js";
10
+ import { t as u } from "./Menu-CnyB4SDS.js";
11
+ import { t as d } from "./Typography-_P0svrkO.js";
12
+ import { SIconButton as f } from "./s-icon-button/s-icon-button.js";
13
+ import { placementOrigins as p } from "./s-popover/placement.js";
14
+ import { r as m, t as h } from "./MenuItem-Ck30dBOR.js";
15
+ import * as g from "react";
16
+ import _, { createElement as v } from "react";
17
+ import { jsx as y, jsxs as b } from "react/jsx-runtime";
18
+ import { useTranslation as x } from "react-i18next";
19
+ //#region ../../node_modules/@mui/material/ListItemIcon/ListItemIcon.mjs
20
+ var S = /* @__PURE__ */ e(t(), 1), C = (e) => {
21
+ let { alignItems: t, classes: r } = e;
22
+ return n({ root: ["root", t === "flex-start" && "alignItemsFlexStart"] }, m, r);
23
+ }, w = a("div", {
24
+ name: "MuiListItemIcon",
25
+ slot: "Root",
26
+ overridesResolver: (e, t) => {
27
+ let { ownerState: n } = e;
28
+ return [t.root, n.alignItems === "flex-start" && t.alignItemsFlexStart];
29
+ }
30
+ })(s(({ theme: e }) => ({
31
+ minWidth: e.spacing(4.5),
32
+ color: (e.vars || e).palette.action.active,
33
+ flexShrink: 0,
34
+ display: "inline-flex",
35
+ variants: [{
36
+ props: { alignItems: "flex-start" },
37
+ style: { marginTop: 8 }
38
+ }]
39
+ }))), T = /* @__PURE__ */ g.forwardRef(function(e, t) {
40
+ let n = r({
41
+ props: e,
42
+ name: "MuiListItemIcon"
43
+ }), { className: a, ...o } = n, s = g.useContext(l), c = {
44
+ ...n,
45
+ alignItems: s.alignItems
46
+ };
47
+ return /* @__PURE__ */ y(w, {
48
+ className: i(C(c).root, a),
49
+ ownerState: c,
50
+ ref: t,
51
+ ...o
52
+ });
53
+ });
54
+ process.env.NODE_ENV !== "production" && (T.propTypes = {
55
+ children: S.default.node,
56
+ classes: S.default.object,
57
+ className: S.default.string,
58
+ sx: S.default.oneOfType([
59
+ S.default.arrayOf(S.default.oneOfType([
60
+ S.default.func,
61
+ S.default.object,
62
+ S.default.bool
63
+ ])),
64
+ S.default.func,
65
+ S.default.object
66
+ ])
67
+ });
68
+ //#endregion
69
+ //#region ../../node_modules/react-country-flag/dist/react-country-flag.esm.js
70
+ function E() {
71
+ return E = Object.assign ? Object.assign.bind() : function(e) {
72
+ for (var t = 1; t < arguments.length; t++) {
73
+ var n = arguments[t];
74
+ for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
75
+ }
76
+ return e;
77
+ }, E.apply(this, arguments);
78
+ }
79
+ function D(e, t) {
80
+ if (e == null) return {};
81
+ var n = {}, r = Object.keys(e), i, a;
82
+ for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
83
+ return n;
84
+ }
85
+ var O = [
86
+ "cdnSuffix",
87
+ "cdnUrl",
88
+ "countryCode",
89
+ "style",
90
+ "svg"
91
+ ], k = "https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/4x3/", A = "svg", j = 127397, M = function(e) {
92
+ var t = e.cdnSuffix, n = t === void 0 ? A : t, r = e.cdnUrl, i = r === void 0 ? k : r, a = e.countryCode, o = e.style, s = e.svg, c = s === void 0 ? !1 : s, l = D(e, O);
93
+ if (typeof a != "string") return null;
94
+ if (c) {
95
+ var u = "" + i + a.toLowerCase() + "." + n;
96
+ return v("img", Object.assign({}, l, {
97
+ src: u,
98
+ style: E({
99
+ display: "inline-block",
100
+ width: "1em",
101
+ height: "1em",
102
+ verticalAlign: "middle"
103
+ }, o)
104
+ }));
105
+ }
106
+ var d = a.toUpperCase().replace(/./g, function(e) {
107
+ return String.fromCodePoint(e.charCodeAt(0) + j);
108
+ });
109
+ return v("span", Object.assign({ role: "img" }, l, { style: E({
110
+ display: "inline-block",
111
+ fontSize: "1em",
112
+ lineHeight: "1em",
113
+ verticalAlign: "middle"
114
+ }, o) }), d);
115
+ }, N = 16, P = 20, F = [{
116
+ code: "en",
117
+ label: "English",
118
+ countryCode: "GB"
119
+ }, {
120
+ code: "vi",
121
+ label: "Vietnamese",
122
+ countryCode: "VN"
123
+ }], I = a(u, {
124
+ name: "SLanguagePopover",
125
+ slot: "Root"
126
+ })({}), L = _.forwardRef(function(e, t) {
127
+ let n = o({
128
+ props: e,
129
+ name: "SLanguagePopover"
130
+ }), { anchorOrigin: r = p["bottom-end"].anchorOrigin, currentLanguage: i, languages: a = F, menuId: s, menuLabelledBy: l, menuWidth: u = "220px", onLanguageChange: f, slotProps: m, transformOrigin: g = p["bottom-end"].transformOrigin, variant: _ = "selectedMenu", ...v } = n, x = {
131
+ ...n,
132
+ anchorOrigin: r,
133
+ currentLanguage: i,
134
+ languages: a,
135
+ menuId: s,
136
+ menuLabelledBy: l,
137
+ menuWidth: u,
138
+ onLanguageChange: f,
139
+ open: v.open,
140
+ slotProps: m,
141
+ transformOrigin: g,
142
+ variant: _
143
+ };
144
+ return /* @__PURE__ */ y(I, {
145
+ ...v,
146
+ ref: t,
147
+ anchorOrigin: r,
148
+ ownerState: x,
149
+ slotProps: {
150
+ ...m,
151
+ paper: c(m?.paper, { sx: { minWidth: u } }),
152
+ list: c(m?.list, {
153
+ id: s,
154
+ "aria-labelledby": l
155
+ })
156
+ },
157
+ transformOrigin: g,
158
+ variant: _,
159
+ children: a.map((e) => /* @__PURE__ */ b(h, {
160
+ onClick: (t) => {
161
+ f?.(t, e.code);
162
+ },
163
+ selected: i === e.code,
164
+ children: [/* @__PURE__ */ y(T, { children: /* @__PURE__ */ y(M, {
165
+ alt: "",
166
+ "aria-hidden": "true",
167
+ countryCode: e.countryCode,
168
+ svg: !0,
169
+ style: {
170
+ width: P,
171
+ height: P
172
+ }
173
+ }) }), /* @__PURE__ */ y(d, {
174
+ variant: "subtitle2",
175
+ children: e.label
176
+ })]
177
+ }, e.code))
178
+ });
179
+ });
180
+ L.displayName = "SLanguagePopover";
181
+ var R = a(f, {
182
+ name: "SLanguageSwitcher",
183
+ slot: "Root"
184
+ })({}), z = _.forwardRef(function(e, t) {
185
+ let n = o({
186
+ props: e,
187
+ name: "SLanguageSwitcher"
188
+ }), { "aria-label": r, languages: i = F, onLanguageChange: a, currentLanguage: s, tooltip: c, buttonFlagSize: l = N, menuWidth: u = "220px", onClick: d, useI18n: f = !0, ...p } = n, m = x(), h = f ? m.t : null, g = f ? m.i18n : null, [v, S] = _.useState(null), C = _.useId(), w = _.useId(), T = p.id ?? C, E = !!v, D = s ?? g?.language ?? i[0]?.code ?? "en", O = i.find((e) => e.code === D) || i[0], k = _.useCallback((e) => {
189
+ d?.(e), e.defaultPrevented || S(e.currentTarget);
190
+ }, [d]), A = _.useCallback(() => {
191
+ S(null);
192
+ }, []), j = _.useCallback((e, t) => {
193
+ a ? a(e, t) : g && g.changeLanguage(t), e.defaultPrevented || A();
194
+ }, [
195
+ A,
196
+ g,
197
+ a
198
+ ]), P = c ?? (h ? h("header:language.tooltip") : "Change language"), I = {
199
+ ...n,
200
+ "aria-label": r ?? (typeof P == "string" ? P : "Change language"),
201
+ buttonFlagSize: l,
202
+ currentLanguage: D,
203
+ languages: i,
204
+ menuWidth: u,
205
+ onClick: d,
206
+ onLanguageChange: a,
207
+ open: E,
208
+ tooltip: P,
209
+ useI18n: f
210
+ };
211
+ return /* @__PURE__ */ b(_.Fragment, { children: [/* @__PURE__ */ y(R, {
212
+ ...p,
213
+ ref: t,
214
+ id: T,
215
+ "aria-controls": E ? w : void 0,
216
+ "aria-expanded": E || void 0,
217
+ "aria-haspopup": "menu",
218
+ "aria-label": r ?? (typeof P == "string" ? P : "Change language"),
219
+ onClick: k,
220
+ ownerState: I,
221
+ tooltip: P,
222
+ children: /* @__PURE__ */ y(M, {
223
+ alt: "",
224
+ "aria-hidden": "true",
225
+ countryCode: O?.countryCode || "US",
226
+ svg: !0,
227
+ style: {
228
+ width: l,
229
+ height: l
230
+ }
231
+ })
232
+ }), /* @__PURE__ */ y(L, {
233
+ anchorEl: v,
234
+ menuId: w,
235
+ menuLabelledBy: T,
236
+ onClose: A,
237
+ open: E,
238
+ onLanguageChange: j,
239
+ languages: i,
240
+ currentLanguage: D,
241
+ menuWidth: u
242
+ })] });
243
+ });
244
+ z.displayName = "SLanguageSwitcher";
245
+ //#endregion
246
+ export { z as n, F as r, L as t };
@@ -1,6 +1,6 @@
1
1
  import { toSxArray as e } from "../utils/sx.js";
2
- import { t } from "../useForkRef-CKneCEtr.js";
3
- import { t as n } from "../mergeSlotProps-xl1-PgWL.js";
2
+ import { t } from "../useForkRef-BuNFTXxE.js";
3
+ import { t as n } from "../mergeSlotProps-DC8r4QzS.js";
4
4
  import * as r from "react";
5
5
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
6
  import { Box as o, Skeleton as s, styled as c, useTheme as l, useThemeProps as u } from "@mui/material";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-link-CAMTGfd9.js";
1
+ import { t as e } from "../s-link-Db1aabHh.js";
2
2
  export { e as SLink, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-link-CAMTGfd9.js";
1
+ import { t as e } from "../s-link-Db1aabHh.js";
2
2
  export { e as SLink, e as default };
@@ -9,10 +9,11 @@ import { t as c } from "./generateUtilityClasses-DvX505Gy.js";
9
9
  import { t as l } from "./styled-Bog8QCl3.js";
10
10
  import { t as u } from "./memoTheme-qFyKAk7y.js";
11
11
  import { t as d } from "./useTheme-BIWMbX3i.js";
12
- import { n as f, t as p } from "./isFocusVisible-Y7157FQS.js";
13
- import { t as m } from "./capitalize-CccCFNpQ.js";
14
- import { t as h } from "./createSimplePaletteValueFilter-C1gWywW_.js";
15
- import { t as g } from "./Typography-yXjc7kVP.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";
16
17
  import * as _ from "react";
17
18
  import { jsx as v } from "react/jsx-runtime";
18
19
  //#region ../../node_modules/@mui/material/Link/linkClasses.mjs
@@ -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;