@solostylist/ui-kit 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/dist/{gradients-mQAYCK0_.js → gradients-DSnBONEQ.js} +1 -1
  2. package/dist/main.js +1 -1
  3. package/dist/palettes/index.js +1 -1
  4. package/dist/{palettes-B1FcGUYs.js → palettes-CJLuEy1m.js} +163 -163
  5. package/dist/s-accordion/index.js +1 -1
  6. package/dist/s-accordion/s-accordion.js +70 -2
  7. package/dist/s-action-overlay/s-action-overlay.js +21 -21
  8. package/dist/s-animated-gradient-text/s-animated-gradient-text.js +18 -19
  9. package/dist/s-announcement-bar/s-announcement-bar.js +50 -53
  10. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  11. package/dist/s-avatar/s-avatar.js +17 -17
  12. package/dist/s-blur-text/s-blur-text.js +16 -16
  13. package/dist/s-brand-logo/index.js +1 -1
  14. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  15. package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
  16. package/dist/s-carousel/index.js +1 -1
  17. package/dist/s-carousel/s-carousel.js +186 -2
  18. package/dist/s-category-card/s-category-card.js +22 -22
  19. package/dist/s-chat-input/index.js +1 -1
  20. package/dist/s-chat-input/s-chat-input.js +398 -2
  21. package/dist/s-chat-message/index.js +1 -1
  22. package/dist/s-chat-message/s-chat-message.js +314 -2
  23. package/dist/s-checkbox/s-checkbox.js +18 -19
  24. package/dist/s-chips/index.js +1 -1
  25. package/dist/s-chips/s-chips.js +174 -2
  26. package/dist/s-code-block/index.js +1 -1
  27. package/dist/s-code-block/s-code-block.js +103 -2
  28. package/dist/s-comment-message/index.js +1 -1
  29. package/dist/s-comment-message/s-comment-message.js +189 -2
  30. package/dist/s-copyable-text/s-copyable-text.js +18 -18
  31. package/dist/s-countdown/s-count-box.js +18 -18
  32. package/dist/s-data-table/index.js +1 -1
  33. package/dist/s-data-table/s-data-table.js +213 -2
  34. package/dist/s-date-picker/index.js +1 -1
  35. package/dist/s-date-picker/s-date-picker.js +106 -2
  36. package/dist/s-datetime-picker/index.js +1 -1
  37. package/dist/s-datetime-picker/s-datetime-picker.js +108 -2
  38. package/dist/s-dialog/index.js +1 -1
  39. package/dist/s-dialog/s-dialog.js +80 -2
  40. package/dist/s-dialog-confirm/s-dialog-confirm.js +32 -33
  41. package/dist/s-dialog-message/s-dialog-message.js +31 -32
  42. package/dist/s-drawer/index.js +1 -1
  43. package/dist/s-drawer/s-drawer.js +139 -2
  44. package/dist/s-empty/s-empty.js +13 -14
  45. package/dist/s-file-dropzone/index.js +1 -1
  46. package/dist/s-file-dropzone/s-file-dropzone.js +219 -2
  47. package/dist/s-file-icon/s-file-icon.js +87 -88
  48. package/dist/s-flex-box/s-flex-box.js +11 -12
  49. package/dist/s-form/s-form.js +15 -15
  50. package/dist/s-gallery/s-gallery.js +1 -1
  51. package/dist/s-glow-button/s-glow-button.js +9 -10
  52. package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +23 -24
  53. package/dist/s-icon-button/s-icon-button.js +13 -14
  54. package/dist/s-image-comparison/s-image-comparison.js +29 -31
  55. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  56. package/dist/s-image-viewer/index.js +3 -3
  57. package/dist/s-image-viewer/s-image-viewer.js +266 -2
  58. package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
  59. package/dist/s-interactive-card/s-interactive-card.js +39 -41
  60. package/dist/s-label/s-label.js +25 -26
  61. package/dist/s-language-switcher/index.js +2 -2
  62. package/dist/s-language-switcher/s-language-switcher.js +145 -2
  63. package/dist/s-lazy-image/s-lazy-image.js +17 -18
  64. package/dist/s-link/index.js +1 -1
  65. package/dist/s-link/s-link.js +5 -2
  66. package/dist/s-list-action-item/s-list-action-item.js +38 -39
  67. package/dist/s-localization-provider/index.js +1 -1
  68. package/dist/s-localization-provider/s-localization-provider.js +12 -2
  69. package/dist/s-mega-menu/mega-menu-panel.js +132 -134
  70. package/dist/s-mega-menu/mega-menu-trigger.js +49 -2
  71. package/dist/s-mega-menu/s-mega-menu.js +80 -83
  72. package/dist/s-mobile-dock/index.js +1 -1
  73. package/dist/s-mobile-dock/s-mobile-dock.js +145 -2
  74. package/dist/s-nav-item/s-nav-item.js +19 -20
  75. package/dist/s-nav-items/s-nav-items.js +51 -52
  76. package/dist/s-no-ssr/index.js +1 -1
  77. package/dist/s-no-ssr/s-no-ssr.js +5 -2
  78. package/dist/s-number-range/index.js +1 -1
  79. package/dist/s-number-range/s-number-range.js +250 -2
  80. package/dist/s-pagination/index.js +1 -1
  81. package/dist/s-pagination/s-pagination.js +85 -2
  82. package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
  83. package/dist/s-popover/s-popover-content.js +11 -12
  84. package/dist/s-popover/s-popover.js +22 -24
  85. package/dist/s-product-card/s-product-card.js +177 -180
  86. package/dist/s-product-gallery/index.js +1 -1
  87. package/dist/s-product-gallery/s-product-gallery.js +427 -2
  88. package/dist/s-quantity-input/s-quantity-input.js +24 -24
  89. package/dist/s-review/index.js +1 -1
  90. package/dist/s-review/s-review.js +272 -2
  91. package/dist/s-scroll-reveal/s-scroll-reveal.js +7 -8
  92. package/dist/s-scroll-to-top/s-scroll-to-top.js +27 -28
  93. package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
  94. package/dist/s-segmented-control/s-segmented-control.js +64 -68
  95. package/dist/s-select/index.js +1 -1
  96. package/dist/s-select/s-select.js +201 -2
  97. package/dist/s-select-list/s-select-list.js +47 -50
  98. package/dist/s-skeleton/s-skeleton.js +12 -13
  99. package/dist/s-snackbar-message/index.js +2 -2
  100. package/dist/s-snackbar-message/s-snackbar-message.js +89 -2
  101. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
  102. package/dist/s-status-illustration/s-status-illustration.js +74 -74
  103. package/dist/s-stepper/index.js +1 -1
  104. package/dist/s-stepper/s-stepper.js +102 -2
  105. package/dist/s-stripe/s-stripe.js +11 -12
  106. package/dist/s-stripe/stripe-input.js +3 -2
  107. package/dist/s-swatch/s-swatch.js +34 -35
  108. package/dist/s-switch/index.js +1 -1
  109. package/dist/s-switch/s-switch.js +48 -2
  110. package/dist/s-tabs/s-tabs.js +48 -50
  111. package/dist/s-text-editor/index.js +1 -1
  112. package/dist/s-text-editor/s-text-editor-toolbar.js +213 -2
  113. package/dist/s-text-editor/s-text-editor.js +25 -26
  114. package/dist/s-text-field/index.js +1 -1
  115. package/dist/s-text-field/s-text-field.js +52 -2
  116. package/dist/s-text-shimmer/s-text-shimmer.js +1 -3
  117. package/dist/s-text-truncation/s-text-truncation.js +20 -20
  118. package/dist/s-theme-demo/s-theme-demo.js +8 -8
  119. package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
  120. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  121. package/dist/s-theme-demo/theme-demo-components-section.js +265 -2
  122. package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
  123. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  124. package/dist/s-theme-switch/index.js +1 -1
  125. package/dist/s-theme-switch/s-theme-switch.js +60 -2
  126. package/dist/s-tip/index.js +1 -1
  127. package/dist/s-tip/s-tip.js +61 -2
  128. package/dist/s-tool-bar/s-tool-bar.js +28 -28
  129. package/dist/s-tool-bar/tool-bar-action-buttons.js +55 -2
  130. package/dist/s-tool-bar/tool-bar-image-input.js +148 -2
  131. package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
  132. package/dist/s-tool-item/s-tool-item.js +22 -22
  133. package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
  134. package/dist/s-zoom-image/s-zoom-image.js +18 -19
  135. package/dist/theme/components/autocomplete.js +43 -2
  136. package/dist/theme/components/avatar.js +9 -2
  137. package/dist/theme/components/card.js +3 -3
  138. package/dist/theme/components/checkbox.js +90 -2
  139. package/dist/theme/components/chip.js +3 -3
  140. package/dist/theme/components/components.js +20 -20
  141. package/dist/theme/components/date-calendar.js +1 -0
  142. package/dist/theme/components/day-calendar.js +1 -0
  143. package/dist/theme/components/drawer.js +1 -1
  144. package/dist/theme/components/field-label-styles.js +19 -2
  145. package/dist/theme/components/form-label.js +1 -1
  146. package/dist/theme/components/list-item-button.js +1 -1
  147. package/dist/theme/components/list-item.js +7 -7
  148. package/dist/theme/components/month-calendar.js +14 -13
  149. package/dist/theme/components/multi-section-digital-clock-section.js +1 -0
  150. package/dist/theme/components/outlined-input.js +6 -6
  151. package/dist/theme/components/picker-day.js +1 -0
  152. package/dist/theme/components/pickers-arrow-switcher.js +1 -0
  153. package/dist/theme/components/pickers-calendar-header.js +3 -2
  154. package/dist/theme/components/select.js +6 -6
  155. package/dist/theme/components/switch.js +1 -1
  156. package/dist/theme/components/table-pagination.js +1 -1
  157. package/dist/theme/components/toggle-button.js +93 -2
  158. package/dist/theme/components/year-calendar.js +14 -13
  159. package/dist/theme/theme-primitives.js +2 -2
  160. package/dist/{theme-primitives-CXtaMdVj.js → theme-primitives-CRfnMsNy.js} +108 -109
  161. package/dist/utils/dayjs.js +9 -146
  162. package/package.json +7 -2
  163. package/dist/Add-CEnTWsXs.js +0 -6
  164. package/dist/ArrowUpward-udL1ltj2.js +0 -6
  165. package/dist/Box-9oeZgA1U.js +0 -46
  166. package/dist/Button-DaLr1m20.js +0 -534
  167. package/dist/ButtonBase-DovDC6-1.js +0 -700
  168. package/dist/Checkbox-C-Xjbzzh.js +0 -152
  169. package/dist/ChevronRight-DsPfsFKB.js +0 -6
  170. package/dist/Close-CIYOM-Sc.js +0 -6
  171. package/dist/Collapse-DPUr1cbP.js +0 -266
  172. package/dist/ContentCopy-Hlh3azVb.js +0 -6
  173. package/dist/DefaultPropsProvider-ebWx4_5E.js +0 -128
  174. package/dist/DialogContent-b3xbJVC6.js +0 -450
  175. package/dist/Download-D9PkFi7a.js +0 -6
  176. package/dist/ExpandMore-sOgvEha9.js +0 -6
  177. package/dist/Favorite-BP343hjM.js +0 -6
  178. package/dist/FavoriteBorder-D15j9xEL.js +0 -6
  179. package/dist/FormControl-DwMfZCiz.js +0 -215
  180. package/dist/FormControlLabel-Ihga1FTB.js +0 -173
  181. package/dist/Grow-BQR7x52V.js +0 -121
  182. package/dist/IconButton-CE-4GamO.js +0 -448
  183. package/dist/InfoOutlined-lpvhO6P8.js +0 -6
  184. package/dist/List-RNcZhRdr.js +0 -105
  185. package/dist/Menu-CnyB4SDS.js +0 -180
  186. package/dist/MenuItem-Ck30dBOR.js +0 -224
  187. package/dist/MenuList-Cc98uWXq.js +0 -160
  188. package/dist/Modal-CD2EBfU8.js +0 -702
  189. package/dist/Paper-_3qggtBp.js +0 -115
  190. package/dist/Popover-BFdKSYI5.js +0 -340
  191. package/dist/Popper-DYNAMSDd.js +0 -1351
  192. package/dist/Portal-i_wgIe9-.js +0 -49
  193. package/dist/Remove-DDEn8ek8.js +0 -6
  194. package/dist/RtlProvider-B7uVJXUY.js +0 -19
  195. package/dist/Skeleton-iZFynl7z.js +0 -220
  196. package/dist/Stack-C0LGzM4c.js +0 -158
  197. package/dist/SwitchBase-CjWtDdmE.js +0 -198
  198. package/dist/Tooltip-B1sn94L0.js +0 -448
  199. package/dist/Typography-_P0svrkO.js +0 -168
  200. package/dist/UnfoldMoreRounded-CuCrdxoy.js +0 -6
  201. package/dist/appendOwnerState-CFQTq3pb.js +0 -17
  202. package/dist/assets/stripe-input.css +0 -1
  203. package/dist/autocomplete-BgARERpp.js +0 -43
  204. package/dist/avatar-XNOdbbRz.js +0 -10
  205. package/dist/buttonBaseClasses-B90LjsNK.js +0 -13
  206. package/dist/capitalize-C0baBJCm.js +0 -5
  207. package/dist/chainPropTypes-CkMRtDjQ.js +0 -8
  208. package/dist/checkbox-D1U_JKqs.js +0 -88
  209. package/dist/checkboxClasses-B1up2lUn.js +0 -18
  210. package/dist/chunk-C_CI6nMA.js +0 -13
  211. package/dist/clsx-DGZSe4Nt.js +0 -16
  212. package/dist/colorManipulator-DmUjcif3.js +0 -129
  213. package/dist/contains-DnqPQsQU.js +0 -16
  214. package/dist/createSimplePaletteValueFilter-DFvyXHoZ.js +0 -14
  215. package/dist/createSvgIcon-3y-gS0r1.js +0 -155
  216. package/dist/createTheme-xB2Em0Na.js +0 -1869
  217. package/dist/defaultTheme-BaGcIzCh.js +0 -210
  218. package/dist/elementAcceptingRef-pKEY6jPR.js +0 -25
  219. package/dist/elementTypeAcceptingRef-xl_04Y5-.js +0 -19
  220. package/dist/exactProp-C_IsucXf.js +0 -13
  221. package/dist/extends-DXMyyJCW.js +0 -12
  222. package/dist/field-label-styles-4praXMaE.js +0 -50
  223. package/dist/formLabelClasses-AuZHWfTs.js +0 -18
  224. package/dist/generateUtilityClass-PAIOm1jC.js +0 -34
  225. package/dist/generateUtilityClasses-DvX505Gy.js +0 -10
  226. package/dist/getActiveElement-BfBkhgy6.js +0 -8
  227. package/dist/iconButtonClasses-CVVRFXRo.js +0 -27
  228. package/dist/inputAdornmentClasses-BbB8s-Z4.js +0 -19
  229. package/dist/inputBaseClasses-Ce_jjdp9.js +0 -25
  230. package/dist/integerPropType-CCkQD1JY.js +0 -27
  231. package/dist/isEventHandler-QShLXBxE.js +0 -7
  232. package/dist/isFocusVisible-4OIE8TST.js +0 -11
  233. package/dist/isLayoutSupported-Btg2X3QE.js +0 -6
  234. package/dist/isMuiElement-CPjhi284.js +0 -10
  235. package/dist/mega-menu-trigger-BcOo8I5_.js +0 -53
  236. package/dist/memoTheme-qFyKAk7y.js +0 -15
  237. package/dist/mergeSlotProps-DC8r4QzS.js +0 -45
  238. package/dist/monthCalendarClasses-b964KRbc.js +0 -14
  239. package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +0 -12
  240. package/dist/outlinedInputClasses-ci1zDasn.js +0 -17
  241. package/dist/ownerDocument-CJjQZweZ.js +0 -6
  242. package/dist/ownerDocument-pYjJiXem.js +0 -5
  243. package/dist/ownerWindow-SSeeoqPT.js +0 -18
  244. package/dist/pickersCalendarHeaderClasses-BAiPN_oY.js +0 -12
  245. package/dist/prop-types-BzYPyWN7.js +0 -516
  246. package/dist/refType-j5S9pc_e.js +0 -6
  247. package/dist/resolveProps-7jIA45vn.js +0 -30
  248. package/dist/s-accordion-1oLxQhod.js +0 -487
  249. package/dist/s-carousel-CAyAl3ka.js +0 -1355
  250. package/dist/s-chat-input-T3gyan60.js +0 -419
  251. package/dist/s-chat-message-NFTpNgt5.js +0 -315
  252. package/dist/s-chips-Dqq1fgz-.js +0 -176
  253. package/dist/s-code-block-DyDtctGG.js +0 -658
  254. package/dist/s-comment-message-DpCVBKiE.js +0 -192
  255. package/dist/s-data-table-D4V58HFR.js +0 -805
  256. package/dist/s-date-picker-BFIQOA8C.js +0 -657
  257. package/dist/s-datetime-picker-zfg7BEOW.js +0 -3886
  258. package/dist/s-dialog-BNlXsVVP.js +0 -123
  259. package/dist/s-drawer-4h5ZyoM8.js +0 -562
  260. package/dist/s-file-dropzone-Cfzv1Cm8.js +0 -422
  261. package/dist/s-image-viewer-CjK67-rs.js +0 -269
  262. package/dist/s-language-switcher-PaMgHWc2.js +0 -246
  263. package/dist/s-link-Db1aabHh.js +0 -235
  264. package/dist/s-localization-provider-CeyB_SGz.js +0 -519
  265. package/dist/s-mobile-dock-8F3UWAb8.js +0 -615
  266. package/dist/s-no-ssr-DH57_uP_.js +0 -25
  267. package/dist/s-number-range-Low5QjuD.js +0 -253
  268. package/dist/s-pagination-s46hBifh.js +0 -606
  269. package/dist/s-product-gallery-Dj9eGg5i.js +0 -430
  270. package/dist/s-review--Q2C0ngO.js +0 -272
  271. package/dist/s-select-CtVKEOZ5.js +0 -204
  272. package/dist/s-snackbar-message-DsfJlDYd.js +0 -810
  273. package/dist/s-stepper-BtODHVro.js +0 -892
  274. package/dist/s-switch-BCeBoxWf.js +0 -307
  275. package/dist/s-text-editor-toolbar-D5eQ-jCs.js +0 -2124
  276. package/dist/s-text-field-HYyDf1Jo.js +0 -51
  277. package/dist/s-theme-switch-BFWpADh3.js +0 -60
  278. package/dist/s-tip-jbL7vtoU.js +0 -62
  279. package/dist/selectClasses-CPxME5jE.js +0 -22
  280. package/dist/setRef-BWPyWnrr.js +0 -6
  281. package/dist/styled-Bog8QCl3.js +0 -163
  282. package/dist/svgIconClasses-1kWGzgux.js +0 -20
  283. package/dist/switchClasses-BtweO7PC.js +0 -23
  284. package/dist/theme-demo-components-section-C7l_2KAo.js +0 -267
  285. package/dist/toggle-button-BsGb-tOr.js +0 -104
  286. package/dist/tool-bar-action-buttons-v1koaasr.js +0 -54
  287. package/dist/tool-bar-image-input-DtXTyEe1.js +0 -148
  288. package/dist/typographyClasses-BH_-zLwg.js +0 -31
  289. package/dist/unsupportedProp-whMV_uOi.js +0 -11
  290. package/dist/useControlled-DqNPBJNp.js +0 -5
  291. package/dist/useControlled-uxVKygk1.js +0 -29
  292. package/dist/useEnhancedEffect-DFq_FMGX.js +0 -5
  293. package/dist/useEnhancedEffect-dBFfkm1e.js +0 -5
  294. package/dist/useEventCallback-DGCsaRIu.js +0 -5
  295. package/dist/useEventCallback-DhCPBxRG.js +0 -11
  296. package/dist/useForkRef-BuNFTXxE.js +0 -29
  297. package/dist/useFormControl-gXwNeUM1.js +0 -18
  298. package/dist/useMobilePicker-CdrT935R.js +0 -7584
  299. package/dist/useRovingTabIndex-DPlW997R.js +0 -242
  300. package/dist/useSlot-BG8ReOxN.js +0 -83
  301. package/dist/useSlotProps-BOO3qaI9.js +0 -16
  302. package/dist/useTheme-BIWMbX3i.js +0 -9
  303. package/dist/useThemeProps-Dw9dmKyT.js +0 -29
  304. package/dist/useTimeout-CoK-Khfm.js +0 -49
  305. package/dist/utils-Bfqbev5I.js +0 -248
  306. package/dist/warning-D5YhCbje.js +0 -99
  307. package/dist/yearCalendarClasses-D9k_KT38.js +0 -14
  308. /package/dist/{colors-Bik9qOU9.js → colors-CNjL5fhq.js} +0 -0
  309. /package/dist/{s-brand-logo-D7Jovf5K.js → s-brand-logo-CErW9Slg.js} +0 -0
  310. /package/dist/{utils-DOY6v6ln.js → utils-CMeAWSRO.js} +0 -0
@@ -1,21 +1,20 @@
1
- import { t as e } from "../Box-9oeZgA1U.js";
2
- import { t } from "../styled-Bog8QCl3.js";
3
- import { t as n } from "../useThemeProps-Dw9dmKyT.js";
4
- import * as r from "react";
5
- import { jsx as i } from "react/jsx-runtime";
1
+ import { styled as e, useThemeProps as t } from "@mui/material/styles";
2
+ import * as n from "react";
3
+ import { jsx as r } from "react/jsx-runtime";
4
+ import i from "@mui/material/Box";
6
5
  //#region lib/s-flex-box/s-flex-box.tsx
7
- var a = t(e, {
6
+ var a = e(i, {
8
7
  name: "SFlexBox",
9
8
  slot: "Root"
10
- })({ display: "flex" }), o = Object.assign(r.forwardRef(function(e, t) {
11
- let r = n({
9
+ })({ display: "flex" }), o = Object.assign(n.forwardRef(function(e, n) {
10
+ let i = t({
12
11
  props: e,
13
12
  name: "SFlexBox"
14
13
  });
15
- return /* @__PURE__ */ i(a, {
16
- ...r,
17
- ownerState: r,
18
- ref: t
14
+ return /* @__PURE__ */ r(a, {
15
+ ...i,
16
+ ownerState: i,
17
+ ref: n
19
18
  });
20
19
  }), { displayName: "SFlexBox" });
21
20
  //#endregion
@@ -1,28 +1,28 @@
1
1
  import { toSxArray as e } from "../utils/sx.js";
2
- import { t } from "../useForkRef-BuNFTXxE.js";
3
- import { t as n } from "../appendOwnerState-CFQTq3pb.js";
4
- import * as r from "react";
5
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
- import { FormControl as o, FormHelperText as s, FormLabel as c, styled as l, useThemeProps as u } from "@mui/material";
2
+ import * as t from "react";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { FormControl as i, FormHelperText as a, FormLabel as o, styled as s, useThemeProps as c } from "@mui/material";
5
+ import { useForkRef as l } from "@mui/material/utils";
6
+ import u from "@mui/utils/appendOwnerState";
7
7
  //#region lib/s-form/s-form.tsx
8
- var d = l(o, {
8
+ var d = s(i, {
9
9
  name: "SForm",
10
10
  slot: "Root"
11
11
  })({});
12
12
  function f(e, t) {
13
13
  return typeof e == "function" ? e(t) : e;
14
14
  }
15
- var p = r.forwardRef(function(r, o) {
16
- let l = u({
17
- props: r,
15
+ var p = t.forwardRef(function(t, i) {
16
+ let s = c({
17
+ props: t,
18
18
  name: "SForm"
19
- }), { children: p, disabled: m = !1, error: h = !1, fullWidth: g = !0, helperText: _, label: v, required: y = !1, slots: b, slotProps: x, ...S } = l, C = {
20
- ...l,
19
+ }), { children: p, disabled: m = !1, error: h = !1, fullWidth: g = !0, helperText: _, label: v, required: y = !1, slots: b, slotProps: x, ...S } = s, C = {
20
+ ...s,
21
21
  disabled: m,
22
22
  error: h,
23
23
  required: y
24
- }, w = b?.root ?? d, T = b?.label ?? c, E = b?.helperText ?? s, D = f(x?.root, C), O = f(x?.label, C), k = f(x?.helperText, C), { ref: A, ...j } = n(w, D ?? {}, C), M = t(A, o), N = n(b?.label, O ?? {}, C), P = n(b?.helperText, k ?? {}, C), { sx: F, ...I } = N;
25
- return /* @__PURE__ */ a(w, {
24
+ }, w = b?.root ?? d, T = b?.label ?? o, E = b?.helperText ?? a, D = f(x?.root, C), O = f(x?.label, C), k = f(x?.helperText, C), { ref: A, ...j } = u(w, D ?? {}, C), M = l(A, i), N = u(b?.label, O ?? {}, C), P = u(b?.helperText, k ?? {}, C), { sx: F, ...I } = N;
25
+ return /* @__PURE__ */ r(w, {
26
26
  ...S,
27
27
  ...j,
28
28
  ref: M,
@@ -31,7 +31,7 @@ var p = r.forwardRef(function(r, o) {
31
31
  fullWidth: g,
32
32
  required: y,
33
33
  children: [
34
- v ? /* @__PURE__ */ i(T, {
34
+ v ? /* @__PURE__ */ n(T, {
35
35
  ...I,
36
36
  required: y,
37
37
  sx: [{
@@ -41,7 +41,7 @@ var p = r.forwardRef(function(r, o) {
41
41
  children: v
42
42
  }) : null,
43
43
  p,
44
- _ ? /* @__PURE__ */ i(E, {
44
+ _ ? /* @__PURE__ */ n(E, {
45
45
  ...P,
46
46
  children: _
47
47
  }) : null
@@ -1,5 +1,5 @@
1
1
  import { toSxArray as e } from "../utils/sx.js";
2
- import { t } from "../s-image-viewer-CjK67-rs.js";
2
+ import { SImageViewer as t } from "../s-image-viewer/s-image-viewer.js";
3
3
  import { GalleryGridItem as n } from "./gallery-grid-item.js";
4
4
  import { applyLayoutVariant as r, getLayoutDimensions as i } from "./gallery-layout.js";
5
5
  import a, { useCallback as o, useEffect as s, useId as c, useState as l } from "react";
@@ -1,17 +1,16 @@
1
- import { t as e } from "../styled-Bog8QCl3.js";
2
- import { t } from "../useThemeProps-Dw9dmKyT.js";
3
- import { toSxArray as n } from "../utils/sx.js";
4
- import { SMovingBorder as r } from "../s-moving-border/s-moving-border.js";
1
+ import { toSxArray as e } from "../utils/sx.js";
2
+ import { SMovingBorder as t } from "../s-moving-border/s-moving-border.js";
3
+ import { styled as n, useThemeProps as r } from "@mui/material/styles";
5
4
  import i from "react";
6
5
  import { jsx as a } from "react/jsx-runtime";
7
6
  import { Button as o } from "@mui/material";
8
7
  //#region lib/s-glow-button/s-glow-button.tsx
9
- var s = e(o, {
8
+ var s = n(o, {
10
9
  name: "SGlowButton",
11
10
  slot: "Root"
12
- })({}), c = i.forwardRef(function(e, i) {
13
- let o = t({
14
- props: e,
11
+ })({}), c = i.forwardRef(function(n, i) {
12
+ let o = r({
13
+ props: n,
15
14
  name: "SGlowButton"
16
15
  }), { borderRadius: c = 12, children: l, disableRipple: u, duration: d = 3e3, fullWidth: f = !1, glowColor: p = "var(--s-palette-info-main)", glowSize: m = 60, height: h = "60px", sx: g, width: _ = "fit-content", ...v } = o, y = f ? "100%" : _, b = {
17
16
  ...o,
@@ -22,7 +21,7 @@ var s = e(o, {
22
21
  height: h,
23
22
  width: y
24
23
  };
25
- return /* @__PURE__ */ a(r, {
24
+ return /* @__PURE__ */ a(t, {
26
25
  width: y,
27
26
  height: h,
28
27
  duration: d,
@@ -40,7 +39,7 @@ var s = e(o, {
40
39
  borderRadius: c,
41
40
  height: h,
42
41
  width: y
43
- }, ...n(g)],
42
+ }, ...e(g)],
44
43
  children: l
45
44
  })
46
45
  });
@@ -1,11 +1,10 @@
1
1
  import { toSxArray as e } from "../utils/sx.js";
2
2
  import { resolveOwnerStateSlotProps as t } from "../utils/slots.js";
3
- import { t as n } from "../useForkRef-BuNFTXxE.js";
4
- import { t as r } from "../appendOwnerState-CFQTq3pb.js";
5
- import { t as i } from "../mergeSlotProps-DC8r4QzS.js";
6
- import * as a from "react";
7
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
8
- import { Box as c, keyframes as l, styled as u, useThemeProps as d } from "@mui/material";
3
+ import * as n from "react";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { Box as a, keyframes as o, styled as s, useThemeProps as c } from "@mui/material";
6
+ import { mergeSlotProps as l, useForkRef as u } from "@mui/material/utils";
7
+ import d from "@mui/utils/appendOwnerState";
9
8
  //#region lib/s-gradient-blob-pulse/s-gradient-blob-pulse.tsx
10
9
  var f = "--SGradientBlobPulse-blur", p = {
11
10
  large: {
@@ -86,19 +85,19 @@ var f = "--SGradientBlobPulse-blur", p = {
86
85
  pulseDuration: 1.125
87
86
  }
88
87
  ], _ = 2.5, v = [
89
- l`
88
+ o`
90
89
  0%, 100% { transform: translate(-54%, -50%) scale(1); }
91
90
  50% { transform: translate(-47%, -55%) scale(1.22); }
92
91
  `,
93
- l`
92
+ o`
94
93
  0%, 100% { transform: translate(-46%, -48%) scale(1); }
95
94
  50% { transform: translate(-53%, -43%) scale(1.16); }
96
95
  `,
97
- l`
96
+ o`
98
97
  0%, 100% { transform: translate(-50%, -56%) scale(1); }
99
98
  50% { transform: translate(-43%, -49%) scale(1.25); }
100
99
  `
101
- ], y = l`
100
+ ], y = o`
102
101
  0%, 100% { background-image: var(--SGradientBlobPulse-gradient-1); }
103
102
  25% { background-image: var(--SGradientBlobPulse-gradient-2); }
104
103
  50% { background-image: var(--SGradientBlobPulse-gradient-3); }
@@ -116,7 +115,7 @@ var f = "--SGradientBlobPulse-blur", p = {
116
115
  r[2] ?? r[0],
117
116
  r[3] ?? r[0]
118
117
  ];
119
- }, x = u(c, {
118
+ }, x = s(a, {
120
119
  name: "SGradientBlobPulse",
121
120
  slot: "Root",
122
121
  shouldForwardProp: (e) => e !== "ownerState"
@@ -160,7 +159,7 @@ var f = "--SGradientBlobPulse-blur", p = {
160
159
  position: "relative",
161
160
  "@supports not (color: color-mix(in srgb, red, blue))": s
162
161
  };
163
- }), S = u(c, {
162
+ }), S = s(a, {
164
163
  name: "SGradientBlobPulse",
165
164
  slot: "Blob",
166
165
  shouldForwardProp: (e) => e !== "ownerState"
@@ -190,7 +189,7 @@ var f = "--SGradientBlobPulse-blur", p = {
190
189
  props: ({ ownerState: e }) => e.paused,
191
190
  style: { animationPlayState: "paused" }
192
191
  }]
193
- })), C = u(c, {
192
+ })), C = s(a, {
194
193
  name: "SGradientBlobPulse",
195
194
  slot: "Content",
196
195
  shouldForwardProp: (e) => e !== "ownerState"
@@ -201,19 +200,19 @@ var f = "--SGradientBlobPulse-blur", p = {
201
200
  0,
202
201
  1,
203
202
  2
204
- ], T = a.forwardRef(function(a, c) {
205
- let l = d({
206
- props: a,
203
+ ], T = n.forwardRef(function(n, a) {
204
+ let o = c({
205
+ props: n,
207
206
  name: "SGradientBlobPulse"
208
- }), { animationDuration: u = 3200, children: f, colors: p, paused: m = !1, size: h = "medium", slotProps: g, slots: _, sx: v, variant: y = "balanced", ...b } = l, T = {
209
- ...l,
210
- animationDuration: u,
207
+ }), { animationDuration: s = 3200, children: f, colors: p, paused: m = !1, size: h = "medium", slotProps: g, slots: _, sx: v, variant: y = "balanced", ...b } = o, T = {
208
+ ...o,
209
+ animationDuration: s,
211
210
  colors: p,
212
211
  paused: m,
213
212
  size: h,
214
213
  variant: y
215
- }, E = _?.root ?? x, D = _?.blob ?? S, O = _?.content ?? C, { ref: k, sx: A, ...j } = r(E, i(t(g?.root, T), b), T), M = n(k, c), N = r(O, t(g?.content, T) ?? {}, T);
216
- return /* @__PURE__ */ s(E, {
214
+ }, E = _?.root ?? x, D = _?.blob ?? S, O = _?.content ?? C, { ref: k, sx: A, ...j } = d(E, l(t(g?.root, T), b), T), M = u(k, a), N = d(O, t(g?.content, T) ?? {}, T);
215
+ return /* @__PURE__ */ i(E, {
217
216
  ...j,
218
217
  ref: M,
219
218
  sx: [...e(A), ...e(v)],
@@ -222,11 +221,11 @@ var f = "--SGradientBlobPulse-blur", p = {
222
221
  ...T,
223
222
  index: e
224
223
  };
225
- return /* @__PURE__ */ o(D, {
226
- ...r(D, t(g?.blob, n) ?? {}, n),
224
+ return /* @__PURE__ */ r(D, {
225
+ ...d(D, t(g?.blob, n) ?? {}, n),
227
226
  "aria-hidden": !0
228
227
  }, e);
229
- }), /* @__PURE__ */ o(O, {
228
+ }), /* @__PURE__ */ r(O, {
230
229
  ...N,
231
230
  children: f
232
231
  })]
@@ -1,10 +1,9 @@
1
- import { t as e } from "../styled-Bog8QCl3.js";
2
- import { t } from "../useThemeProps-Dw9dmKyT.js";
3
- import { t as n } from "../IconButton-CE-4GamO.js";
4
- import { t as r } from "../appendOwnerState-CFQTq3pb.js";
5
- import { t as i } from "../Tooltip-B1sn94L0.js";
6
- import * as a from "react";
7
- import { jsx as o } from "react/jsx-runtime";
1
+ import { styled as e, useThemeProps as t } from "@mui/material/styles";
2
+ import n from "@mui/material/IconButton";
3
+ import * as r from "react";
4
+ import { jsx as i } from "react/jsx-runtime";
5
+ import a from "@mui/utils/appendOwnerState";
6
+ import o from "@mui/material/Tooltip";
8
7
  //#region lib/s-icon-button/s-icon-button.tsx
9
8
  var s = e(n, {
10
9
  name: "SIconButton",
@@ -23,26 +22,26 @@ var s = e(n, {
23
22
  function c(e, t) {
24
23
  return typeof e == "function" ? e(t) : e;
25
24
  }
26
- var l = a.forwardRef(function(e, n) {
27
- let a = t({
25
+ var l = r.forwardRef(function(e, n) {
26
+ let r = t({
28
27
  props: e,
29
28
  name: "SIconButton"
30
- }), { disabled: l = !1, slotProps: u, slots: d, tooltip: f, variant: p, ...m } = a, h = {
31
- ...a,
29
+ }), { disabled: l = !1, slotProps: u, slots: d, tooltip: f, variant: p, ...m } = r, h = {
30
+ ...r,
32
31
  disabled: l,
33
32
  hasTooltip: f != null,
34
33
  variant: p
35
- }, g = d?.tooltip ?? i, _ = r(d?.tooltip, c(u?.tooltip, h) ?? {}, h), v = m["aria-label"] ?? (typeof f == "string" ? f : void 0), y = /* @__PURE__ */ o(s, {
34
+ }, g = d?.tooltip ?? o, _ = a(d?.tooltip, c(u?.tooltip, h) ?? {}, h), v = m["aria-label"] ?? (typeof f == "string" ? f : void 0), y = /* @__PURE__ */ i(s, {
36
35
  ...m,
37
36
  "aria-label": v,
38
37
  disabled: l,
39
38
  ownerState: h,
40
39
  ref: n
41
40
  });
42
- return f == null ? y : /* @__PURE__ */ o(g, {
41
+ return f == null ? y : /* @__PURE__ */ i(g, {
43
42
  ..._,
44
43
  title: f,
45
- children: l ? /* @__PURE__ */ o("span", { children: y }) : y
44
+ children: l ? /* @__PURE__ */ i("span", { children: y }) : y
46
45
  });
47
46
  });
48
47
  l.displayName = "SIconButton";
@@ -1,40 +1,38 @@
1
- import { t as e } from "../styled-Bog8QCl3.js";
2
- import { t } from "../useThemeProps-Dw9dmKyT.js";
3
- import { toSxArray as n } from "../utils/sx.js";
4
- import { t as r } from "../useForkRef-BuNFTXxE.js";
1
+ import { toSxArray as e } from "../utils/sx.js";
5
2
  import "../theme/components/action-styles.js";
6
- import { t as i } from "../useControlled-DqNPBJNp.js";
7
- import { SLazyImage as a } from "../s-lazy-image/s-lazy-image.js";
8
- import * as o from "react";
9
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
10
- import { Box as l, IconButton as u } from "@mui/material";
3
+ import { SLazyImage as t } from "../s-lazy-image/s-lazy-image.js";
4
+ import { styled as n, useThemeProps as r } from "@mui/material/styles";
5
+ import * as i from "react";
6
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
+ import { Box as s, IconButton as c } from "@mui/material";
8
+ import { useControlled as l, useForkRef as u } from "@mui/material/utils";
11
9
  //#region lib/s-image-comparison/s-image-comparison.tsx
12
- var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0, Math.min(100, e)), p = e(l, {
10
+ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0, Math.min(100, e)), p = n(s, {
13
11
  name: "SImageComparison",
14
12
  slot: "Root"
15
- })({}), m = o.forwardRef((e, m) => {
16
- let h = t({
17
- props: e,
13
+ })({}), m = i.forwardRef((n, m) => {
14
+ let h = r({
15
+ props: n,
18
16
  name: "SImageComparison"
19
- }), { sx: g, leftImage: _, rightImage: v, altLeft: y = "Left image", altRight: b = "Right image", value: x, defaultValue: S = 50, onChange: C, onMouseDown: w, onTouchStart: T, ...E } = h, D = Array.isArray(_) ? _ : [_], O = Array.isArray(y) ? y : [y], [k, A] = o.useState(0), j = Math.min(k, Math.max(0, D.length - 1)), [M, N] = i({
17
+ }), { sx: g, leftImage: _, rightImage: v, altLeft: y = "Left image", altRight: b = "Right image", value: x, defaultValue: S = 50, onChange: C, onMouseDown: w, onTouchStart: T, ...E } = h, D = Array.isArray(_) ? _ : [_], O = Array.isArray(y) ? y : [y], [k, A] = i.useState(0), j = Math.min(k, Math.max(0, D.length - 1)), [M, N] = l({
20
18
  controlled: x,
21
19
  default: f(S),
22
20
  name: "SImageComparison",
23
21
  state: "value"
24
- }), P = f(M), [F, I] = o.useState(!1), L = o.useRef(null), R = r(L, m), z = D.length > 1, B = P > 10, V = o.useCallback((e, t) => {
22
+ }), P = f(M), [F, I] = i.useState(!1), L = i.useRef(null), R = u(L, m), z = D.length > 1, B = P > 10, V = i.useCallback((e, t) => {
25
23
  let n = f(t);
26
24
  N(n), C?.(e, n);
27
- }, [C, N]), H = o.useCallback((e, t) => {
25
+ }, [C, N]), H = i.useCallback((e, t) => {
28
26
  if (!L.current) return;
29
27
  let n = L.current.getBoundingClientRect();
30
28
  V(t, (e - n.left) / n.width * 100);
31
- }, [V]), U = o.useCallback((e) => {
29
+ }, [V]), U = i.useCallback((e) => {
32
30
  F && (e.preventDefault(), H(e.clientX, e));
33
- }, [H, F]), W = o.useCallback((e) => {
31
+ }, [H, F]), W = i.useCallback((e) => {
34
32
  F && e.touches[0] && H(e.touches[0].clientX, e);
35
33
  }, [H, F]), G = (e) => {
36
34
  "button" in e && e.button !== 0 || (I(!0), "clientX" in e ? H(e.clientX, e.nativeEvent) : e.touches[0] && H(e.touches[0].clientX, e.nativeEvent));
37
- }, K = o.useCallback(() => {
35
+ }, K = i.useCallback(() => {
38
36
  I(!1);
39
37
  }, []), q = (e) => {
40
38
  V(e.nativeEvent, Number(e.target.value));
@@ -74,10 +72,10 @@ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0
74
72
  isDragging: F,
75
73
  sliderPosition: P
76
74
  };
77
- return o.useEffect(() => {
75
+ return i.useEffect(() => {
78
76
  let e = Math.max(0, D.length - 1);
79
77
  A((t) => Math.min(t, e));
80
- }, [D.length]), o.useEffect(() => {
78
+ }, [D.length]), i.useEffect(() => {
81
79
  if (!F) return;
82
80
  let e = document.body.style.cursor;
83
81
  return document.addEventListener("mousemove", U), document.addEventListener("touchmove", W), document.addEventListener("mouseup", K), document.addEventListener("touchend", K), document.addEventListener("touchcancel", K), document.body.style.cursor = "ew-resize", () => {
@@ -88,7 +86,7 @@ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0
88
86
  U,
89
87
  W,
90
88
  F
91
- ]), /* @__PURE__ */ c(p, {
89
+ ]), /* @__PURE__ */ o(p, {
92
90
  ownerState: Z,
93
91
  ref: R,
94
92
  sx: [{
@@ -98,12 +96,12 @@ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0
98
96
  overflow: "hidden",
99
97
  touchAction: "pan-y",
100
98
  userSelect: "none"
101
- }, ...n(g)],
99
+ }, ...e(g)],
102
100
  onMouseDown: Y,
103
101
  onTouchStart: X,
104
102
  ...E,
105
103
  children: [
106
- /* @__PURE__ */ s(a, {
104
+ /* @__PURE__ */ a(t, {
107
105
  src: v,
108
106
  alt: b,
109
107
  sx: {
@@ -118,7 +116,7 @@ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0
118
116
  }
119
117
  } }
120
118
  }),
121
- /* @__PURE__ */ s(l, {
119
+ /* @__PURE__ */ a(s, {
122
120
  sx: {
123
121
  position: "absolute",
124
122
  inset: 0,
@@ -128,7 +126,7 @@ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0
128
126
  pointerEvents: "none",
129
127
  clipPath: `polygon(0 0, ${P}% 0, ${P}% 100%, 0 100%)`
130
128
  },
131
- children: D.length > 0 ? /* @__PURE__ */ s(a, {
129
+ children: D.length > 0 ? /* @__PURE__ */ a(t, {
132
130
  src: D[j],
133
131
  alt: O[j] ?? O[0],
134
132
  slotProps: { image: {
@@ -137,7 +135,7 @@ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0
137
135
  } }
138
136
  }) : null
139
137
  }),
140
- z && /* @__PURE__ */ s(l, {
138
+ z && /* @__PURE__ */ a(s, {
141
139
  sx: {
142
140
  position: "absolute",
143
141
  left: 1,
@@ -158,7 +156,7 @@ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0
158
156
  onClick: (e) => e.stopPropagation(),
159
157
  onMouseDown: (e) => e.stopPropagation(),
160
158
  onTouchStart: (e) => e.stopPropagation(),
161
- children: D.map((e, t) => /* @__PURE__ */ s(u, {
159
+ children: D.map((e, t) => /* @__PURE__ */ a(c, {
162
160
  "aria-label": `Show comparison image ${t + 1}`,
163
161
  "aria-pressed": j === t,
164
162
  tabIndex: B ? 0 : -1,
@@ -202,7 +200,7 @@ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0
202
200
  }
203
201
  }, `${e}-${t}`))
204
202
  }),
205
- /* @__PURE__ */ c(l, {
203
+ /* @__PURE__ */ o(s, {
206
204
  sx: {
207
205
  position: "absolute",
208
206
  top: 0,
@@ -211,7 +209,7 @@ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0
211
209
  cursor: "ew-resize",
212
210
  left: `calc(${P}% - 3px)`
213
211
  },
214
- children: [/* @__PURE__ */ s(l, {
212
+ children: [/* @__PURE__ */ a(s, {
215
213
  className: "SImageComparison-range",
216
214
  component: "input",
217
215
  type: "range",
@@ -236,7 +234,7 @@ var d = "@media (pointer: coarse)", f = (e) => Number.isNaN(e) ? 50 : Math.max(0
236
234
  outlineOffset: 2
237
235
  }
238
236
  }
239
- }), /* @__PURE__ */ s(l, {
237
+ }), /* @__PURE__ */ a(s, {
240
238
  className: "SImageComparison-divider",
241
239
  sx: {
242
240
  position: "absolute",
@@ -1,4 +1,4 @@
1
- import { r as e } from "../theme-primitives-CXtaMdVj.js";
1
+ import { r as e } from "../theme-primitives-CRfnMsNy.js";
2
2
  import { DefaultMediaItem as t } from "./default-media-item.js";
3
3
  import "react";
4
4
  import { jsx as n } from "react/jsx-runtime";
@@ -1,3 +1,3 @@
1
- import { t as e } from "../s-image-viewer-CjK67-rs.js";
2
- import { DefaultMediaItem as t } from "./default-media-item.js";
3
- export { t as DefaultMediaItem, e as SImageViewer, e as default };
1
+ import { DefaultMediaItem as e } from "./default-media-item.js";
2
+ import { SImageViewer as t } from "./s-image-viewer.js";
3
+ export { e as DefaultMediaItem, t as SImageViewer, t as default };