@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
@@ -0,0 +1,93 @@
1
+ import { resolveOwnerStateSlotProps as e } from "../utils/slots.js";
2
+ import { t } from "../useForkRef-BuNFTXxE.js";
3
+ import { t as n } from "../appendOwnerState-CFQTq3pb.js";
4
+ import { t as r } from "../mergeSlotProps-DC8r4QzS.js";
5
+ import * as i from "react";
6
+ import { jsx as a } from "react/jsx-runtime";
7
+ import { Typography as o, keyframes as s, styled as c, useThemeProps as l } from "@mui/material";
8
+ //#region lib/s-animated-gradient-text/s-animated-gradient-text.tsx
9
+ var u = s`
10
+ from { background-position: 0% 50%; }
11
+ to { background-position: 100% 50%; }
12
+ `, d = s`
13
+ from { background-position: 50% 0%; }
14
+ to { background-position: 50% 100%; }
15
+ `, f = {
16
+ diagonal: {
17
+ angle: "to bottom right",
18
+ backgroundSize: "300% 300%",
19
+ keyframe: s`
20
+ from { background-position: 0% 0%; }
21
+ to { background-position: 100% 100%; }
22
+ `
23
+ },
24
+ horizontal: {
25
+ angle: "to right",
26
+ backgroundSize: "300% 100%",
27
+ keyframe: u
28
+ },
29
+ vertical: {
30
+ angle: "to bottom",
31
+ backgroundSize: "100% 300%",
32
+ keyframe: d
33
+ }
34
+ }, p = 200 / 3, m = (e, t) => {
35
+ let n = (e.vars ?? e).palette, { angle: r, backgroundSize: i, keyframe: a } = f[t.direction], o = t.colors?.length ? t.colors : [n.primary.main, n.secondary.main], s = [...o, o[0]].map((e, t) => `${e} ${t / o.length * p}%`).join(", ");
36
+ return {
37
+ animation: `${a} ${t.animationDuration}ms linear infinite`,
38
+ animationDirection: t.alternate ? "alternate" : "normal",
39
+ backgroundImage: `repeating-linear-gradient(${r}, ${s})`,
40
+ backgroundRepeat: "no-repeat",
41
+ backgroundSize: i,
42
+ "@media (prefers-reduced-motion: reduce)": {
43
+ animation: "none",
44
+ backgroundPosition: "center"
45
+ }
46
+ };
47
+ }, h = c(o, {
48
+ name: "SAnimatedGradientText",
49
+ slot: "Root",
50
+ shouldForwardProp: (e) => e !== "ownerState"
51
+ })(({ ownerState: e, theme: t }) => ({
52
+ ...m(t, e),
53
+ backgroundClip: "text",
54
+ color: "transparent",
55
+ display: "inline-block",
56
+ WebkitBackgroundClip: "text",
57
+ WebkitTextFillColor: "transparent",
58
+ "@media (forced-colors: active)": {
59
+ backgroundImage: "none",
60
+ color: "CanvasText",
61
+ WebkitTextFillColor: "revert"
62
+ },
63
+ variants: [{
64
+ props: ({ ownerState: e }) => e.paused,
65
+ style: { animationPlayState: "paused" }
66
+ }, {
67
+ props: ({ ownerState: e }) => e.pauseOnHover,
68
+ style: { "@media (hover: hover) and (pointer: fine)": { "&:hover": { animationPlayState: "paused" } } }
69
+ }]
70
+ }));
71
+ function g(i, o) {
72
+ let s = l({
73
+ props: i,
74
+ name: "SAnimatedGradientText"
75
+ }), { alternate: c = !0, animationDuration: u = 8e3, children: d, colors: f, direction: p = "horizontal", pauseOnHover: m = !1, paused: g = !1, slotProps: _, slots: v, ...y } = s, b = {
76
+ ...s,
77
+ alternate: c,
78
+ animationDuration: u,
79
+ colors: f,
80
+ direction: p,
81
+ pauseOnHover: m,
82
+ paused: g
83
+ }, x = v?.root ?? h, { ref: S, ...C } = n(x, r(e(_?.root, b), y), b), w = t(S, o);
84
+ return /* @__PURE__ */ a(x, {
85
+ ...C,
86
+ ref: w,
87
+ children: d
88
+ });
89
+ }
90
+ var _ = i.forwardRef(g);
91
+ _.displayName = "SAnimatedGradientText";
92
+ //#endregion
93
+ export { _ as SAnimatedGradientText, _ as default };
@@ -0,0 +1,2 @@
1
+ export { default, default as SAnnouncementBar } from './s-announcement-bar';
2
+ export type { SAnnouncementBarOwnerState, SAnnouncementBarProps, SAnnouncementBarSlotProps, SAnnouncementBarSlots, SAnnouncementBarVariant, } from './s-announcement-bar';
@@ -0,0 +1,2 @@
1
+ import { SAnnouncementBar as e } from "./s-announcement-bar.js";
2
+ export { e as SAnnouncementBar, e as default };
@@ -0,0 +1,113 @@
1
+ import { BoxProps, ChipProps, ContainerProps, TypographyProps } from '@mui/material';
2
+ import { SIconButtonProps } from '../s-icon-button';
3
+ import { OwnerStateSlotProps as MuiOwnerStateSlotProps } from '../utils/slots';
4
+ import * as React from 'react';
5
+ /** Background treatment of the bar. */
6
+ export type SAnnouncementBarVariant = 'announcement' | 'plain';
7
+ export interface SAnnouncementBarSlots {
8
+ /** Trailing cluster holding `actions`. */
9
+ actions?: React.ElementType;
10
+ /** Leading label chip. */
11
+ badge?: React.ElementType;
12
+ /** Width-constraining row inside the bar. */
13
+ container?: React.ElementType;
14
+ /** Button that dismisses the bar. */
15
+ dismissButton?: React.ElementType;
16
+ /** Button that toggles the collapsed action row on small screens. */
17
+ expandToggle?: React.ElementType;
18
+ /** Bloom layer anchored to the trailing side. */
19
+ glowEnd?: React.ElementType;
20
+ /** Bloom layer anchored to the leading side. */
21
+ glowStart?: React.ElementType;
22
+ /** Announcement message. */
23
+ message?: React.ElementType;
24
+ /** Full-bleed bar surface. */
25
+ root?: React.ElementType;
26
+ }
27
+ type OwnerStateSlotProps<Props> = MuiOwnerStateSlotProps<Props, SAnnouncementBarOwnerState>;
28
+ export interface SAnnouncementBarSlotProps {
29
+ /** Props or owner-state callback for the actions slot. */
30
+ actions?: OwnerStateSlotProps<Omit<BoxProps, 'children'>>;
31
+ /** Props or owner-state callback for the badge slot. */
32
+ badge?: OwnerStateSlotProps<Omit<ChipProps, 'children' | 'label'>>;
33
+ /** Props or owner-state callback for the container slot. */
34
+ container?: OwnerStateSlotProps<Omit<ContainerProps, 'children'>>;
35
+ /** Props or owner-state callback for the dismiss button slot. */
36
+ dismissButton?: OwnerStateSlotProps<Omit<SIconButtonProps, 'children'>>;
37
+ /** Props or owner-state callback for the expand toggle slot. */
38
+ expandToggle?: OwnerStateSlotProps<Omit<SIconButtonProps, 'children'>>;
39
+ /** Props or owner-state callback for the trailing glow slot. */
40
+ glowEnd?: OwnerStateSlotProps<Omit<BoxProps, 'children'>>;
41
+ /** Props or owner-state callback for the leading glow slot. */
42
+ glowStart?: OwnerStateSlotProps<Omit<BoxProps, 'children'>>;
43
+ /** Props or owner-state callback for the message slot. */
44
+ message?: OwnerStateSlotProps<Omit<TypographyProps, 'children'>>;
45
+ /** Props or owner-state callback for the root slot. */
46
+ root?: OwnerStateSlotProps<Omit<BoxProps, 'children'>>;
47
+ }
48
+ /** Props for a full-bleed announcement bar. */
49
+ export interface SAnnouncementBarProps extends Omit<BoxProps, 'children' | 'component' | 'title'> {
50
+ /** Trailing content — social links, a locale switcher, a call to action. */
51
+ actions?: React.ReactNode;
52
+ /** Duration of one gradient pan, in milliseconds. */
53
+ animationDuration?: number;
54
+ /** Leading label, rendered inside an `SChip`. */
55
+ badge?: React.ReactNode;
56
+ /** Announcement message. */
57
+ children?: React.ReactNode;
58
+ /** Accessible name of the expand toggle while the action row is open. */
59
+ collapseLabel?: string;
60
+ /**
61
+ * Collapses `actions` behind a toggle below the `sm` breakpoint, so a long
62
+ * message and a wide action row never fight for the same line on mobile.
63
+ */
64
+ collapsible?: boolean;
65
+ /**
66
+ * Gradient stop colors of the `announcement` variant, in order. Defaults to
67
+ * the live brand and secondary ramps so a palette switch follows along.
68
+ */
69
+ colors?: string[];
70
+ /** Initial expanded state of the collapsible action row. */
71
+ defaultExpanded?: boolean;
72
+ /** Initial visibility for uncontrolled dismissal. */
73
+ defaultOpen?: boolean;
74
+ /** Accessible name of the dismiss button. */
75
+ dismissLabel?: string;
76
+ /** Renders a dismiss button at the trailing end of the bar. */
77
+ dismissible?: boolean;
78
+ /** Expanded state of the collapsible action row for controlled usage. */
79
+ expanded?: boolean;
80
+ /** Accessible name of the expand toggle while the action row is closed. */
81
+ expandLabel?: string;
82
+ /** Called when the dismiss button is pressed. */
83
+ onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
84
+ /** Called with the next expanded state when the toggle is pressed. */
85
+ onExpandedChange?: (event: React.MouseEvent<HTMLButtonElement>, expanded: boolean) => void;
86
+ /** Visibility for controlled dismissal. */
87
+ open?: boolean;
88
+ /** Freezes the gradient pan and the glow cycle. */
89
+ paused?: boolean;
90
+ /** Props or owner-state callbacks for internal structural slots. */
91
+ slotProps?: SAnnouncementBarSlotProps;
92
+ /** Components used for internal structural slots. */
93
+ slots?: SAnnouncementBarSlots;
94
+ /** Background treatment of the bar. */
95
+ variant?: SAnnouncementBarVariant;
96
+ }
97
+ export interface SAnnouncementBarOwnerState extends SAnnouncementBarProps {
98
+ animationDuration: number;
99
+ collapsible: boolean;
100
+ dismissible: boolean;
101
+ expanded: boolean;
102
+ open: boolean;
103
+ paused: boolean;
104
+ variant: SAnnouncementBarVariant;
105
+ }
106
+ /**
107
+ * Full-bleed announcement bar with a badge, a message, an action cluster and an
108
+ * optional dismiss control. The `announcement` variant paints an animated brand
109
+ * gradient with two drifting glow layers, all of which stop under
110
+ * `prefers-reduced-motion` or when `paused` is set.
111
+ */
112
+ export declare const SAnnouncementBar: React.ForwardRefExoticComponent<Omit<SAnnouncementBarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
113
+ export default SAnnouncementBar;
@@ -0,0 +1,275 @@
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 { t as a } from "../useControlled-DqNPBJNp.js";
7
+ import { t as o } from "../mergeSlotProps-DC8r4QzS.js";
8
+ import { t as ee } from "../Add-CEnTWsXs.js";
9
+ import { t as te } from "../Close-CIYOM-Sc.js";
10
+ import { t as s } from "../Remove-DDEn8ek8.js";
11
+ import { SIconButton as c } from "../s-icon-button/s-icon-button.js";
12
+ import { SChip as l } from "../s-chip/s-chip.js";
13
+ import * as u from "react";
14
+ import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
15
+ import { Box as m, Container as h, Typography as g, keyframes as _, styled as v, useThemeProps as y } from "@mui/material";
16
+ //#region lib/s-announcement-bar/s-announcement-bar.tsx
17
+ var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) saturate(105%)", C = "scale(1.14)", w = "blur(8px) saturate(115%)", T = "100% 100%, 220% 220%", E = "115deg", D = .34, O = "--SAnnouncementBar-scrimOpacity", k = .62, A = _`
18
+ 0% { background-position: 0 0, 0% 50%; }
19
+ 50% { background-position: 0 0, 100% 50%; }
20
+ 100% { background-position: 0 0, 0% 50%; }
21
+ `, j = _`
22
+ 0%, 28% { opacity: 0; }
23
+ 33%, 61% { opacity: 0.36; }
24
+ 66%, 100% { opacity: 0; }
25
+ `, M = _`
26
+ 0%, 61% { opacity: 0; }
27
+ 66%, 94% { opacity: 0.28; }
28
+ 100% { opacity: 0; }
29
+ `, N = ({ ownerState: e }) => e.variant === "announcement", P = (e, t) => {
30
+ let n = (e.vars ?? e).palette;
31
+ return t.colors?.length ? t.colors : [
32
+ n.primary[900],
33
+ n.primary[600],
34
+ n.secondary[400],
35
+ n.secondary[200]
36
+ ];
37
+ }, F = (e) => e.map((t, n) => `${t} ${n / Math.max(e.length - 1, 1) * 100}%`).join(", "), I = (e, t, n) => ({
38
+ animation: `${n} ${t.animationDuration}ms ${e.transitions.easing.easeInOut} infinite`,
39
+ filter: S,
40
+ inset: x,
41
+ opacity: 0,
42
+ pointerEvents: "none",
43
+ position: "absolute",
44
+ transform: C,
45
+ willChange: "opacity",
46
+ zIndex: 0,
47
+ [b]: {
48
+ animation: "none",
49
+ opacity: .3
50
+ }
51
+ }), ne = v(m, {
52
+ name: "SAnnouncementBar",
53
+ slot: "Root",
54
+ shouldForwardProp: (e) => e !== "ownerState"
55
+ })(({ ownerState: e, theme: t }) => {
56
+ let n = (t.vars ?? t).palette, r = `rgba(${n.background.paperChannel} / var(${O}))`;
57
+ return {
58
+ ...t.typography.body2,
59
+ minHeight: t.spacing(5),
60
+ overflow: "hidden",
61
+ position: "relative",
62
+ width: "100%",
63
+ variants: [
64
+ {
65
+ props: ({ ownerState: e }) => e.variant === "plain",
66
+ style: {
67
+ backgroundColor: n.background.paper,
68
+ borderBottom: `1px solid ${n.divider}`,
69
+ color: n.text.primary
70
+ }
71
+ },
72
+ {
73
+ props: N,
74
+ style: {
75
+ [O]: k,
76
+ animation: `${A} ${e.animationDuration}ms ${t.transitions.easing.easeInOut} infinite`,
77
+ backdropFilter: w,
78
+ backgroundImage: `linear-gradient(${r}, ${r}), linear-gradient(${E}, ${F(P(t, e))})`,
79
+ backgroundSize: T,
80
+ borderBottom: `1px solid rgba(${n.primary.mainChannel} / ${D})`,
81
+ boxShadow: t.shadows[1],
82
+ color: n.text.primary,
83
+ isolation: "isolate",
84
+ [b]: {
85
+ animation: "none",
86
+ backgroundPosition: "0 0, 50% 50%"
87
+ }
88
+ }
89
+ },
90
+ {
91
+ props: ({ ownerState: e }) => e.paused,
92
+ style: { "&, & > *": { animationPlayState: "paused" } }
93
+ }
94
+ ]
95
+ };
96
+ }), re = v(m, {
97
+ name: "SAnnouncementBar",
98
+ slot: "GlowStart",
99
+ shouldForwardProp: (e) => e !== "ownerState"
100
+ })(({ ownerState: e, theme: t }) => {
101
+ let n = P(t, e);
102
+ return {
103
+ ...I(t, e, j),
104
+ backgroundImage: `radial-gradient(circle at 18% 50%, ${n[n.length - 1]} 0%, ${n[Math.max(n.length - 2, 0)]} 36%, transparent 70%)`
105
+ };
106
+ }), ie = v(m, {
107
+ name: "SAnnouncementBar",
108
+ slot: "GlowEnd",
109
+ shouldForwardProp: (e) => e !== "ownerState"
110
+ })(({ ownerState: e, theme: t }) => {
111
+ let n = P(t, e);
112
+ return {
113
+ ...I(t, e, M),
114
+ backgroundImage: `radial-gradient(circle at 82% 50%, ${n[Math.min(1, n.length - 1)]} 0%, ${n[0]} 38%, transparent 72%)`
115
+ };
116
+ }), ae = v(h, {
117
+ name: "SAnnouncementBar",
118
+ slot: "Container",
119
+ shouldForwardProp: (e) => e !== "ownerState"
120
+ })(({ theme: e }) => ({
121
+ alignItems: "center",
122
+ display: "flex",
123
+ flexWrap: "wrap",
124
+ gap: e.spacing(1),
125
+ minHeight: e.spacing(5),
126
+ paddingBlock: e.spacing(.5),
127
+ position: "relative",
128
+ zIndex: 1
129
+ })), oe = v(l, {
130
+ name: "SAnnouncementBar",
131
+ slot: "Badge",
132
+ shouldForwardProp: (e) => e !== "ownerState"
133
+ })(({ theme: e }) => ({
134
+ flexShrink: 0,
135
+ height: e.spacing(3),
136
+ variants: [{ props: N }]
137
+ })), se = v(g, {
138
+ name: "SAnnouncementBar",
139
+ slot: "Message",
140
+ shouldForwardProp: (e) => e !== "ownerState"
141
+ })({
142
+ flex: "1 1 auto",
143
+ minWidth: 0
144
+ }), ce = v(m, {
145
+ name: "SAnnouncementBar",
146
+ slot: "Actions",
147
+ shouldForwardProp: (e) => e !== "ownerState"
148
+ })(({ theme: e }) => ({
149
+ alignItems: "center",
150
+ color: "inherit",
151
+ display: "flex",
152
+ flexShrink: 0,
153
+ gap: e.spacing(1.5),
154
+ marginInlineStart: "auto",
155
+ "& a": { color: "inherit" },
156
+ variants: [{
157
+ props: ({ ownerState: e }) => e.collapsible,
158
+ style: { [e.breakpoints.down("sm")]: { display: "none" } }
159
+ }, {
160
+ props: ({ ownerState: e }) => e.collapsible && e.expanded,
161
+ style: { [e.breakpoints.down("sm")]: {
162
+ display: "flex",
163
+ flexBasis: "100%",
164
+ marginInlineStart: 0,
165
+ order: 4
166
+ } }
167
+ }]
168
+ })), le = v(c, {
169
+ name: "SAnnouncementBar",
170
+ slot: "ExpandToggle",
171
+ shouldForwardProp: (e) => e !== "ownerState"
172
+ })(({ theme: e }) => ({
173
+ display: "none",
174
+ flexShrink: 0,
175
+ order: 2,
176
+ [e.breakpoints.down("sm")]: { display: "inline-flex" }
177
+ })), ue = v(c, {
178
+ name: "SAnnouncementBar",
179
+ slot: "DismissButton",
180
+ shouldForwardProp: (e) => e !== "ownerState"
181
+ })({
182
+ flexShrink: 0,
183
+ order: 3
184
+ }), L = u.forwardRef(function(c, l) {
185
+ let m = y({
186
+ props: c,
187
+ name: "SAnnouncementBar"
188
+ }), { actions: h, animationDuration: g = 7e3, badge: _, children: v, collapseLabel: b = "Hide announcement details", collapsible: x = !1, colors: S, defaultExpanded: C = !1, defaultOpen: w = !0, dismissLabel: T = "Dismiss announcement", dismissible: E = !1, expandLabel: D = "Show announcement details", expanded: O, onClose: k, onExpandedChange: A, open: j, paused: M = !1, slotProps: N, slots: P, sx: F, variant: I = "plain", ...L } = m, [R, z] = a({
189
+ controlled: O,
190
+ default: C,
191
+ name: "SAnnouncementBar",
192
+ state: "expanded"
193
+ }), [B, V] = a({
194
+ controlled: j,
195
+ default: w,
196
+ name: "SAnnouncementBar",
197
+ state: "open"
198
+ }), H = {
199
+ ...m,
200
+ animationDuration: g,
201
+ collapsible: x,
202
+ colors: S,
203
+ dismissible: E,
204
+ expanded: R,
205
+ open: B,
206
+ paused: M,
207
+ variant: I
208
+ }, U = P?.root ?? ne, W = P?.glowStart ?? re, G = P?.glowEnd ?? ie, K = P?.container ?? ae, q = P?.badge ?? oe, J = P?.message ?? se, Y = P?.actions ?? ce, X = P?.expandToggle ?? le, Z = P?.dismissButton ?? ue, Q = `${u.useId()}-actions`, de = r((e) => {
209
+ let t = !R;
210
+ z(t), A?.(e, t);
211
+ }), fe = r((e) => {
212
+ V(!1), k?.(e);
213
+ }), { ref: pe, sx: me, ...he } = i(U, o(t(N?.root, H), {
214
+ ...L,
215
+ "aria-label": L["aria-label"] ?? "Announcement",
216
+ role: "region"
217
+ }), H), ge = n(pe, l), $ = i(W, t(N?.glowStart, H) ?? {}, H), _e = i(G, t(N?.glowEnd, H) ?? {}, H), ve = i(K, t(N?.container, H) ?? {}, H), ye = i(q, o(t(N?.badge, H), {
218
+ color: "error",
219
+ size: "small"
220
+ }), H), be = i(J, o(t(N?.message, H), {
221
+ component: "span",
222
+ variant: "body2"
223
+ }), H), xe = i(Y, o(t(N?.actions, H), { id: Q }), H), Se = i(X, o(t(N?.expandToggle, H), {
224
+ "aria-controls": Q,
225
+ "aria-expanded": R,
226
+ "aria-label": R ? b : D,
227
+ color: "inherit",
228
+ onClick: de,
229
+ size: "small"
230
+ }), H), Ce = i(Z, o(t(N?.dismissButton, H), {
231
+ "aria-label": T,
232
+ color: "inherit",
233
+ onClick: fe,
234
+ size: "small"
235
+ }), H);
236
+ return B ? /* @__PURE__ */ p(U, {
237
+ ...he,
238
+ ref: ge,
239
+ sx: [...e(me), ...e(F)],
240
+ children: [I === "announcement" ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f(W, {
241
+ ...$,
242
+ "aria-hidden": !0
243
+ }), /* @__PURE__ */ f(G, {
244
+ ..._e,
245
+ "aria-hidden": !0
246
+ })] }) : null, /* @__PURE__ */ p(K, {
247
+ ...ve,
248
+ children: [
249
+ _ == null ? null : /* @__PURE__ */ f(q, {
250
+ ...ye,
251
+ label: _
252
+ }),
253
+ v == null ? null : /* @__PURE__ */ f(J, {
254
+ ...be,
255
+ children: v
256
+ }),
257
+ h == null ? null : /* @__PURE__ */ f(Y, {
258
+ ...xe,
259
+ children: h
260
+ }),
261
+ x && h != null ? /* @__PURE__ */ f(X, {
262
+ ...Se,
263
+ children: f(R ? s : ee, {})
264
+ }) : null,
265
+ E ? /* @__PURE__ */ f(Z, {
266
+ ...Ce,
267
+ children: /* @__PURE__ */ f(te, {})
268
+ }) : null
269
+ ]
270
+ })]
271
+ }) : null;
272
+ });
273
+ L.displayName = "SAnnouncementBar";
274
+ //#endregion
275
+ export { L as SAnnouncementBar, L as default };
@@ -1,4 +1,4 @@
1
- import { STextField as e } from "../s-text-field/s-text-field.js";
1
+ import { t as e } from "../s-text-field-HYyDf1Jo.js";
2
2
  import { forwardRef as t, useId as n } from "react";
3
3
  import { jsx as r } from "react/jsx-runtime";
4
4
  import { Autocomplete as i, styled as a, useThemeProps as o } from "@mui/material";
@@ -1,43 +1,43 @@
1
1
  import { toSxArray as e } from "../utils/sx.js";
2
- import { SLazyImage as t } from "../s-lazy-image/s-lazy-image.js";
3
- import * as n from "react";
4
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
- import { Avatar as a, Box as o, Typography as s, styled as c, useThemeProps as l } from "@mui/material";
6
- import u from "@mui/utils/appendOwnerState";
2
+ import { t } from "../appendOwnerState-CFQTq3pb.js";
3
+ import { SLazyImage as n } from "../s-lazy-image/s-lazy-image.js";
4
+ import * as r from "react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { Avatar as o, Box as s, Typography as c, styled as l, useThemeProps as u } from "@mui/material";
7
7
  //#region lib/s-avatar/s-avatar.tsx
8
- var d = c(o, {
8
+ var d = l(s, {
9
9
  name: "SAvatar",
10
10
  slot: "Root"
11
11
  })({}), f = (e) => e <= 32 ? 12 : e <= 40 ? 16 : e <= 56 ? 18 : Math.round(e * .4);
12
12
  function p(e, t) {
13
13
  return typeof e == "function" ? e(t) : e;
14
14
  }
15
- var m = n.forwardRef(function(n, o) {
16
- let c = l({
17
- props: n,
15
+ var m = r.forwardRef(function(r, s) {
16
+ let l = u({
17
+ props: r,
18
18
  name: "SAvatar"
19
- }), { alt: m, children: h, name: g, showName: _ = !1, size: v = 40, slotProps: y, slots: b, src: x, sx: S, ...C } = c, w = {
20
- ...c,
19
+ }), { alt: m, children: h, name: g, showName: _ = !1, size: v = 40, slotProps: y, slots: b, src: x, sx: S, ...C } = l, w = {
20
+ ...l,
21
21
  showName: _,
22
22
  size: v
23
- }, T = b?.avatar ?? a, E = b?.image ?? t, D = b?.name ?? s, O = u(b?.avatar, p(y?.avatar, w) ?? {}, w), k = u(b?.image, p(y?.image, w) ?? {}, w), A = u(b?.name, p(y?.name, w) ?? {}, w), { sx: j, ...M } = O;
24
- return /* @__PURE__ */ i(d, {
23
+ }, T = b?.avatar ?? o, E = b?.image ?? n, D = b?.name ?? c, O = t(b?.avatar, p(y?.avatar, w) ?? {}, w), k = t(b?.image, p(y?.image, w) ?? {}, w), A = t(b?.name, p(y?.name, w) ?? {}, w), { sx: j, ...M } = O;
24
+ return /* @__PURE__ */ a(d, {
25
25
  ...C,
26
26
  ownerState: w,
27
- ref: o,
27
+ ref: s,
28
28
  sx: [{
29
29
  alignItems: "center",
30
30
  display: "flex",
31
31
  gap: 2
32
32
  }, ...e(S)],
33
- children: [/* @__PURE__ */ r(T, {
33
+ children: [/* @__PURE__ */ i(T, {
34
34
  ...M,
35
35
  sx: [{
36
36
  fontSize: f(v),
37
37
  height: v,
38
38
  width: v
39
39
  }, ...e(j)],
40
- children: h ?? (x ? /* @__PURE__ */ r(E, {
40
+ children: h ?? (x ? /* @__PURE__ */ i(E, {
41
41
  ...k,
42
42
  alt: m ?? (typeof g == "string" ? g : "Avatar"),
43
43
  height: v,
@@ -45,7 +45,7 @@ var m = n.forwardRef(function(n, o) {
45
45
  variant: "circular",
46
46
  width: v
47
47
  }) : (typeof g == "string" ? g[0] : void 0) ?? "A")
48
- }), _ && g != null ? /* @__PURE__ */ r(D, {
48
+ }), _ && g != null ? /* @__PURE__ */ i(D, {
49
49
  ...A,
50
50
  children: g
51
51
  }) : null]
@@ -1,10 +1,10 @@
1
- import e, { useEffect as t, useMemo as n, useRef as r, useState as i } from "react";
2
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
3
- import { Typography as s, styled as c, useThemeProps as l } from "@mui/material";
4
- import { useForkRef as u } from "@mui/material/utils";
1
+ import { t as e } from "../useForkRef-BuNFTXxE.js";
2
+ import t, { useEffect as n, useMemo as r, useRef as i, useState as a } from "react";
3
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
4
+ import { Typography as c, styled as l, useThemeProps as u } from "@mui/material";
5
5
  import { motion as d, useReducedMotion as f } from "framer-motion";
6
6
  //#region lib/s-blur-text/s-blur-text.tsx
7
- var p = c(s, {
7
+ var p = l(c, {
8
8
  name: "SBlurText",
9
9
  slot: "Root"
10
10
  })({}), m = (e, t) => {
@@ -23,12 +23,12 @@ function h(e, t) {
23
23
  };
24
24
  });
25
25
  }
26
- var g = e.forwardRef(function(e, s) {
27
- let c = l({
28
- props: e,
26
+ var g = t.forwardRef(function(t, c) {
27
+ let l = u({
28
+ props: t,
29
29
  name: "SBlurText"
30
- }), { children: g, delay: _ = 100, animateBy: v = "words", direction: y = "top", threshold: b = .1, rootMargin: x = "0px", animationFrom: S, animationTo: C, easing: w = (e) => e, onAnimationComplete: T, stepDuration: E = .35, variant: D = "body1", sx: O, ...k } = c, A = n(() => h(g, v), [g, v]), [j, M] = i(!1), N = r(null), P = r(null), F = u(N, s), I = f();
31
- t(() => {
30
+ }), { children: g, delay: _ = 100, animateBy: v = "words", direction: y = "top", threshold: b = .1, rootMargin: x = "0px", animationFrom: S, animationTo: C, easing: w = (e) => e, onAnimationComplete: T, stepDuration: E = .35, variant: D = "body1", sx: O, ...k } = l, A = r(() => h(g, v), [g, v]), [j, M] = a(!1), N = i(null), P = i(null), F = e(N, c), I = f();
31
+ n(() => {
32
32
  if (I) {
33
33
  M(!0);
34
34
  return;
@@ -45,7 +45,7 @@ var g = e.forwardRef(function(e, s) {
45
45
  x,
46
46
  I,
47
47
  b
48
- ]), t(() => {
48
+ ]), n(() => {
49
49
  if (!I) return;
50
50
  let e = `${v}:${g}`;
51
51
  P.current !== e && (P.current = e, T?.());
@@ -55,7 +55,7 @@ var g = e.forwardRef(function(e, s) {
55
55
  I,
56
56
  g
57
57
  ]);
58
- let L = n(() => y === "top" ? {
58
+ let L = r(() => y === "top" ? {
59
59
  filter: "blur(10px)",
60
60
  opacity: 0,
61
61
  y: -50
@@ -63,7 +63,7 @@ var g = e.forwardRef(function(e, s) {
63
63
  filter: "blur(10px)",
64
64
  opacity: 0,
65
65
  y: 50
66
- }, [y]), R = n(() => [{
66
+ }, [y]), R = r(() => [{
67
67
  filter: "blur(5px)",
68
68
  opacity: .5,
69
69
  y: y === "top" ? 5 : -5
@@ -72,10 +72,10 @@ var g = e.forwardRef(function(e, s) {
72
72
  opacity: 1,
73
73
  y: 0
74
74
  }], [y]), z = S ?? L, B = C ?? R, V = B[B.length - 1] ?? z, H = {
75
- ...c,
75
+ ...l,
76
76
  inView: j
77
77
  }, U = B.length + 1, W = E * (U - 1), G = Array.from({ length: U }, (e, t) => U === 1 ? 0 : t / (U - 1));
78
- return /* @__PURE__ */ a(p, {
78
+ return /* @__PURE__ */ o(p, {
79
79
  ...k,
80
80
  ownerState: H,
81
81
  ref: F,
@@ -88,7 +88,7 @@ var g = e.forwardRef(function(e, s) {
88
88
  delay: n * _ / 1e3,
89
89
  ease: w
90
90
  };
91
- return /* @__PURE__ */ o(d.span, {
91
+ return /* @__PURE__ */ s(d.span, {
92
92
  initial: I ? !1 : z,
93
93
  animate: I ? V : j ? r : z,
94
94
  transition: I ? { duration: 0 } : i,
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-brand-logo-CErW9Slg.js";
1
+ import { t as e } from "../s-brand-logo-D7Jovf5K.js";
2
2
  export { e as SBrandLogo, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-brand-logo-CErW9Slg.js";
1
+ import { t as e } from "../s-brand-logo-D7Jovf5K.js";
2
2
  export { e as SBrandLogo, e as default };