@solostylist/ui-kit 2.0.0 → 2.0.1

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 (268) hide show
  1. package/dist/{gradients-90SYkAC0.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-Dw3PEYF5.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-autocomplete/s-autocomplete.js +1 -1
  9. package/dist/s-avatar/s-avatar.js +17 -17
  10. package/dist/s-blur-text/s-blur-text.js +16 -16
  11. package/dist/s-brand-logo/index.js +1 -1
  12. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  13. package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
  14. package/dist/s-carousel/index.js +1 -1
  15. package/dist/s-carousel/s-carousel.js +184 -2
  16. package/dist/s-category-card/s-category-card.js +22 -22
  17. package/dist/s-chat-input/index.js +1 -1
  18. package/dist/s-chat-input/s-chat-input.js +398 -2
  19. package/dist/s-chat-message/index.js +1 -1
  20. package/dist/s-chat-message/s-chat-message.js +314 -2
  21. package/dist/s-checkbox/s-checkbox.js +18 -19
  22. package/dist/s-chips/index.js +1 -1
  23. package/dist/s-chips/s-chips.js +174 -2
  24. package/dist/s-code-block/index.js +1 -1
  25. package/dist/s-code-block/s-code-block.js +103 -2
  26. package/dist/s-comment-message/index.js +1 -1
  27. package/dist/s-comment-message/s-comment-message.js +189 -2
  28. package/dist/s-copyable-text/s-copyable-text.js +18 -18
  29. package/dist/s-countdown/s-count-box.js +18 -18
  30. package/dist/s-data-table/index.js +1 -1
  31. package/dist/s-data-table/s-data-table.js +213 -2
  32. package/dist/s-date-picker/index.js +1 -1
  33. package/dist/s-date-picker/s-date-picker.js +106 -2
  34. package/dist/s-datetime-picker/index.js +1 -1
  35. package/dist/s-datetime-picker/s-datetime-picker.js +108 -2
  36. package/dist/s-dialog/index.js +1 -1
  37. package/dist/s-dialog/s-dialog.js +80 -2
  38. package/dist/s-dialog-confirm/s-dialog-confirm.js +32 -33
  39. package/dist/s-dialog-message/s-dialog-message.js +31 -32
  40. package/dist/s-empty/s-empty.js +13 -14
  41. package/dist/s-file-dropzone/index.js +1 -1
  42. package/dist/s-file-dropzone/s-file-dropzone.js +219 -2
  43. package/dist/s-file-icon/s-file-icon.js +87 -88
  44. package/dist/s-flex-box/s-flex-box.js +11 -12
  45. package/dist/s-form/s-form.js +15 -15
  46. package/dist/s-gallery/s-gallery.js +1 -1
  47. package/dist/s-glow-button/s-glow-button.js +9 -10
  48. package/dist/s-icon-button/s-icon-button.js +15 -16
  49. package/dist/s-image-comparison/s-image-comparison.js +29 -31
  50. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  51. package/dist/s-image-viewer/index.js +3 -3
  52. package/dist/s-image-viewer/s-image-viewer.js +266 -2
  53. package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
  54. package/dist/s-label/s-label.js +26 -27
  55. package/dist/s-language-switcher/index.js +2 -2
  56. package/dist/s-language-switcher/s-language-switcher.js +150 -2
  57. package/dist/s-lazy-image/s-lazy-image.js +17 -18
  58. package/dist/s-link/index.js +1 -1
  59. package/dist/s-link/s-link.js +5 -2
  60. package/dist/s-localization-provider/index.js +1 -1
  61. package/dist/s-localization-provider/s-localization-provider.js +12 -2
  62. package/dist/s-nav-item/s-nav-item.js +16 -16
  63. package/dist/s-nav-items/index.js +2 -2
  64. package/dist/s-nav-items/s-nav-items.js +167 -2
  65. package/dist/s-no-ssr/index.js +1 -1
  66. package/dist/s-no-ssr/s-no-ssr.js +5 -2
  67. package/dist/s-pagination/index.js +1 -1
  68. package/dist/s-pagination/s-pagination.js +85 -2
  69. package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
  70. package/dist/s-quantity-input/index.js +1 -1
  71. package/dist/s-quantity-input/s-quantity-input.js +246 -2
  72. package/dist/s-review/index.js +1 -1
  73. package/dist/s-review/s-review.js +272 -2
  74. package/dist/s-scroll-reveal/s-scroll-reveal.js +7 -8
  75. package/dist/s-scroll-to-top/s-scroll-to-top.js +27 -28
  76. package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
  77. package/dist/s-select/index.js +1 -1
  78. package/dist/s-select/s-select.js +201 -2
  79. package/dist/s-select-list/s-select-list.js +47 -50
  80. package/dist/s-skeleton/s-skeleton.js +16 -17
  81. package/dist/s-snackbar-message/index.js +2 -2
  82. package/dist/s-snackbar-message/s-snackbar-message.js +89 -2
  83. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
  84. package/dist/s-status-illustration/s-status-illustration.js +74 -74
  85. package/dist/s-stripe/s-stripe.js +11 -12
  86. package/dist/s-stripe/stripe-input.js +3 -2
  87. package/dist/s-switch/index.js +1 -1
  88. package/dist/s-switch/s-switch.js +48 -2
  89. package/dist/s-tabs/s-tabs.js +48 -50
  90. package/dist/s-text-editor/index.js +1 -1
  91. package/dist/s-text-editor/s-text-editor-toolbar.js +216 -2
  92. package/dist/s-text-editor/s-text-editor.js +25 -26
  93. package/dist/s-text-field/index.js +1 -1
  94. package/dist/s-text-field/s-text-field.js +52 -2
  95. package/dist/s-text-shimmer/s-text-shimmer.js +1 -3
  96. package/dist/s-text-truncation/s-text-truncation.js +20 -20
  97. package/dist/s-theme-demo/s-theme-demo.js +8 -8
  98. package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
  99. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  100. package/dist/s-theme-demo/theme-demo-components-section.js +265 -2
  101. package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
  102. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  103. package/dist/s-theme-switch/index.js +1 -1
  104. package/dist/s-theme-switch/s-theme-switch.js +60 -2
  105. package/dist/s-tip/index.js +1 -1
  106. package/dist/s-tip/s-tip.js +61 -2
  107. package/dist/s-tool-bar/s-tool-bar.js +28 -28
  108. package/dist/s-tool-bar/tool-bar-action-buttons.js +55 -2
  109. package/dist/s-tool-bar/tool-bar-image-input.js +148 -2
  110. package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
  111. package/dist/s-tool-item/s-tool-item.js +22 -22
  112. package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
  113. package/dist/s-zoom-image/s-zoom-image.js +18 -19
  114. package/dist/theme/components/autocomplete.js +43 -2
  115. package/dist/theme/components/avatar.js +9 -2
  116. package/dist/theme/components/card.js +3 -3
  117. package/dist/theme/components/checkbox.js +90 -2
  118. package/dist/theme/components/chip.js +3 -3
  119. package/dist/theme/components/components.js +20 -20
  120. package/dist/theme/components/date-calendar.js +1 -0
  121. package/dist/theme/components/day-calendar.js +1 -0
  122. package/dist/theme/components/field-label-styles.js +19 -2
  123. package/dist/theme/components/form-label.js +1 -1
  124. package/dist/theme/components/list-item-button.js +1 -1
  125. package/dist/theme/components/list-item.js +7 -7
  126. package/dist/theme/components/month-calendar.js +14 -13
  127. package/dist/theme/components/multi-section-digital-clock-section.js +1 -0
  128. package/dist/theme/components/outlined-input.js +6 -6
  129. package/dist/theme/components/picker-day.js +1 -0
  130. package/dist/theme/components/pickers-arrow-switcher.js +1 -0
  131. package/dist/theme/components/pickers-calendar-header.js +3 -2
  132. package/dist/theme/components/select.js +6 -6
  133. package/dist/theme/components/switch.js +1 -1
  134. package/dist/theme/components/table-pagination.js +1 -1
  135. package/dist/theme/components/toggle-button.js +93 -2
  136. package/dist/theme/components/year-calendar.js +14 -13
  137. package/dist/theme/theme-primitives.js +2 -2
  138. package/dist/{theme-primitives-Dt_DT9b5.js → theme-primitives-CRfnMsNy.js} +108 -109
  139. package/dist/utils/dayjs.js +9 -146
  140. package/package.json +1 -1
  141. package/dist/Add-COc9VdNg.js +0 -6
  142. package/dist/ArrowUpward-D88i2k4q.js +0 -6
  143. package/dist/Box-9oeZgA1U.js +0 -46
  144. package/dist/Button-DgIFcM44.js +0 -534
  145. package/dist/ButtonBase-DxKtpFYs.js +0 -747
  146. package/dist/Checkbox-BoZu9z2l.js +0 -152
  147. package/dist/ChevronRight-BxsM4W78.js +0 -6
  148. package/dist/Close-o4HFfK0I.js +0 -6
  149. package/dist/Collapse-zgIFP5Sj.js +0 -266
  150. package/dist/ContentCopy-5unyTYXy.js +0 -6
  151. package/dist/DefaultPropsProvider-ebWx4_5E.js +0 -128
  152. package/dist/DialogContent-CAry6lVf.js +0 -450
  153. package/dist/Download-DtvoRwpl.js +0 -6
  154. package/dist/ExpandMore-Ba5bg6s-.js +0 -6
  155. package/dist/Favorite-B_GsElm0.js +0 -6
  156. package/dist/FormControl-BxmM9UP6.js +0 -221
  157. package/dist/FormControlLabel-DzgppcC_.js +0 -173
  158. package/dist/Grow-zRRuwUl-.js +0 -121
  159. package/dist/InfoOutlined-VC7X46pc.js +0 -6
  160. package/dist/List-CnGIAXAS.js +0 -103
  161. package/dist/ListContext-B1HQt3OD.js +0 -6
  162. package/dist/Menu-C4Zabc9U.js +0 -504
  163. package/dist/MenuItem-rXJfQzDC.js +0 -223
  164. package/dist/MenuList-DDV8J-yd.js +0 -407
  165. package/dist/Modal-jAiibALV.js +0 -707
  166. package/dist/Paper-ixxCeml9.js +0 -115
  167. package/dist/Popper-CVYyMS3c.js +0 -1350
  168. package/dist/Portal-AnyvFRC4.js +0 -53
  169. package/dist/RtlProvider-B7uVJXUY.js +0 -19
  170. package/dist/Skeleton-iZFynl7z.js +0 -220
  171. package/dist/Stack-UMc4dV4G.js +0 -158
  172. package/dist/SwitchBase-D7zqrstO.js +0 -198
  173. package/dist/Tooltip-DbCd6rgF.js +0 -447
  174. package/dist/Typography-yXjc7kVP.js +0 -168
  175. package/dist/UnfoldMoreRounded-DsN0HVDV.js +0 -6
  176. package/dist/appendOwnerState-CELpvdMz.js +0 -17
  177. package/dist/assets/stripe-input.css +0 -1
  178. package/dist/autocomplete-B_4y84Ba.js +0 -43
  179. package/dist/avatar-BHuZu3DN.js +0 -10
  180. package/dist/buttonBaseClasses-BvBqFLb_.js +0 -13
  181. package/dist/capitalize-CccCFNpQ.js +0 -5
  182. package/dist/checkbox-BKMZEVU5.js +0 -88
  183. package/dist/checkboxClasses-CEsqS4sc.js +0 -18
  184. package/dist/chunk-C_CI6nMA.js +0 -13
  185. package/dist/clsx-DGZSe4Nt.js +0 -16
  186. package/dist/colorManipulator-DmUjcif3.js +0 -129
  187. package/dist/contains-WOhYaq1E.js +0 -16
  188. package/dist/createSimplePaletteValueFilter-C1gWywW_.js +0 -14
  189. package/dist/createSvgIcon-B0SZlJF1.js +0 -155
  190. package/dist/createTheme-xB2Em0Na.js +0 -1869
  191. package/dist/defaultTheme-BaGcIzCh.js +0 -210
  192. package/dist/elementAcceptingRef-DhkNAkFH.js +0 -472
  193. package/dist/exactProp-C_IsucXf.js +0 -13
  194. package/dist/field-label-styles-BOyhp6gw.js +0 -50
  195. package/dist/formLabelClasses-B0Fa-86T.js +0 -18
  196. package/dist/generateUtilityClass-PAIOm1jC.js +0 -34
  197. package/dist/generateUtilityClasses-DvX505Gy.js +0 -10
  198. package/dist/iconButtonClasses-CkciZuIe.js +0 -27
  199. package/dist/inputAdornmentClasses-D5yYK5bM.js +0 -19
  200. package/dist/inputBaseClasses-DuWQGq8Z.js +0 -25
  201. package/dist/integerPropType-Disnft4a.js +0 -27
  202. package/dist/isEventHandler-8dPdzK9U.js +0 -7
  203. package/dist/isFocusVisible-Y7157FQS.js +0 -35
  204. package/dist/isLayoutSupported-Ceir7nyK.js +0 -21
  205. package/dist/listItemButtonClasses-DbL-aTVf.js +0 -18
  206. package/dist/memoTheme-qFyKAk7y.js +0 -15
  207. package/dist/mergeSlotProps-xl1-PgWL.js +0 -45
  208. package/dist/monthCalendarClasses-BYVHyEfI.js +0 -14
  209. package/dist/objectWithoutPropertiesLoose-Cpds-4w8.js +0 -23
  210. package/dist/outlinedInputClasses-DECY98u0.js +0 -17
  211. package/dist/pickersCalendarHeaderClasses-CIj0gBye.js +0 -12
  212. package/dist/prop-types-BzYPyWN7.js +0 -516
  213. package/dist/resolveProps-7jIA45vn.js +0 -30
  214. package/dist/s-accordion-B8nlrdFc.js +0 -487
  215. package/dist/s-carousel-Dnjke4JQ.js +0 -1353
  216. package/dist/s-chat-input-DCS0mJE4.js +0 -419
  217. package/dist/s-chat-message-9oollJJq.js +0 -315
  218. package/dist/s-chips-WqGdqHW9.js +0 -176
  219. package/dist/s-code-block-DzGoGg5e.js +0 -658
  220. package/dist/s-comment-message-C6kfgRjv.js +0 -191
  221. package/dist/s-data-table-B1TGVupB.js +0 -805
  222. package/dist/s-date-picker-BpX4HmBp.js +0 -656
  223. package/dist/s-datetime-picker-ByzW44E0.js +0 -3878
  224. package/dist/s-dialog-BLiyjLkx.js +0 -123
  225. package/dist/s-file-dropzone-CVQpYRdY.js +0 -422
  226. package/dist/s-image-viewer-DNIEYdtL.js +0 -269
  227. package/dist/s-language-switcher-D-1nywT3.js +0 -251
  228. package/dist/s-link-CAMTGfd9.js +0 -234
  229. package/dist/s-localization-provider-Xw3NO2uP.js +0 -519
  230. package/dist/s-nav-items-BUp7DddG.js +0 -327
  231. package/dist/s-no-ssr-D8tPdDfh.js +0 -25
  232. package/dist/s-pagination-Dt8Pk5Tp.js +0 -606
  233. package/dist/s-quantity-input-mYCixlJc.js +0 -246
  234. package/dist/s-review-DSXXtWlL.js +0 -272
  235. package/dist/s-select-dwY2DYa9.js +0 -204
  236. package/dist/s-snackbar-message-3Z6VySlB.js +0 -808
  237. package/dist/s-switch-B8bZAzLh.js +0 -307
  238. package/dist/s-text-editor-toolbar-D-XgFQix.js +0 -2121
  239. package/dist/s-text-field-BM4qk0mf.js +0 -51
  240. package/dist/s-theme-switch-BLMz1_m2.js +0 -60
  241. package/dist/s-tip-ty41ePQm.js +0 -62
  242. package/dist/selectClasses-DoUlWfzV.js +0 -22
  243. package/dist/styled-Bog8QCl3.js +0 -163
  244. package/dist/svgIconClasses-C8D4AsMj.js +0 -20
  245. package/dist/switchClasses-eiq1bkQN.js +0 -23
  246. package/dist/theme-demo-components-section-gtIYRngY.js +0 -267
  247. package/dist/toggle-button-Cxi5CfXC.js +0 -104
  248. package/dist/tool-bar-action-buttons-Dt-pV3GA.js +0 -54
  249. package/dist/tool-bar-image-input-BXlll_hV.js +0 -148
  250. package/dist/typographyClasses-BLM3NmYd.js +0 -31
  251. package/dist/useControlled-BeB0W_Ui.js +0 -5
  252. package/dist/useControlled-C4QJnpiR.js +0 -29
  253. package/dist/useEnhancedEffect-Bc3gBClC.js +0 -5
  254. package/dist/useEnhancedEffect-DFq_FMGX.js +0 -5
  255. package/dist/useEventCallback-CVqMfiG_.js +0 -14
  256. package/dist/useForkRef-CKneCEtr.js +0 -29
  257. package/dist/useFormControl-iWLrn7Ek.js +0 -18
  258. package/dist/useMobilePicker-C4UQFvkj.js +0 -7580
  259. package/dist/useSlot-iIu8ek6E.js +0 -83
  260. package/dist/useTheme-BIWMbX3i.js +0 -9
  261. package/dist/useThemeProps-BI9yq95N.js +0 -19
  262. package/dist/useThemeProps-Cr28OQu3.js +0 -13
  263. package/dist/utils-oJyTAkZY.js +0 -214
  264. package/dist/warning-CNkSZkq6.js +0 -98
  265. package/dist/yearCalendarClasses-CuAQumpz.js +0 -14
  266. /package/dist/{colors-DKqWMRgW.js → colors-CNjL5fhq.js} +0 -0
  267. /package/dist/{s-brand-logo-jtAJZQIv.js → s-brand-logo-CErW9Slg.js} +0 -0
  268. /package/dist/{utils-DaSrTYUS.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-Cr28OQu3.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-CKneCEtr.js";
3
- import { t as n } from "../appendOwnerState-CELpvdMz.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-DNIEYdtL.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-Cr28OQu3.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,12 +1,11 @@
1
- import { t as e } from "../styled-Bog8QCl3.js";
2
- import { r as t } from "../elementAcceptingRef-DhkNAkFH.js";
3
- import { t as n } from "../useThemeProps-Cr28OQu3.js";
4
- import { t as r } from "../appendOwnerState-CELpvdMz.js";
5
- import { t as i } from "../Tooltip-DbCd6rgF.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
- var s = e(t, {
8
+ var s = e(n, {
10
9
  name: "SIconButton",
11
10
  slot: "Root"
12
11
  })(({ theme: e, ownerState: t }) => {
@@ -23,26 +22,26 @@ var s = e(t, {
23
22
  function c(e, t) {
24
23
  return typeof e == "function" ? e(t) : e;
25
24
  }
26
- var l = a.forwardRef(function(e, t) {
27
- let a = n({
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
- ref: t
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-Cr28OQu3.js";
3
- import { toSxArray as n } from "../utils/sx.js";
4
- import { t as r } from "../useForkRef-CKneCEtr.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-BeB0W_Ui.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-Dt_DT9b5.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-DNIEYdtL.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 };
@@ -1,2 +1,266 @@
1
- import { t as e } from "../s-image-viewer-DNIEYdtL.js";
2
- export { e as SImageViewer, e as default };
1
+ import { toSxArray as e } from "../utils/sx.js";
2
+ import { DefaultMediaItem as t } from "./default-media-item.js";
3
+ import { ImageViewerThumbnailDock as n } from "./image-viewer-thumbnail-dock.js";
4
+ import { useImageViewerNavigation as r } from "./use-image-viewer-navigation.js";
5
+ import { styled as i, useThemeProps as a } from "@mui/material/styles";
6
+ import o from "react";
7
+ import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
8
+ import { ChevronLeft as u, ChevronRight as d, Close as f } from "@mui/icons-material";
9
+ import { Box as p, IconButton as m, Modal as h, Paper as g, Typography as _ } from "@mui/material";
10
+ import { mergeSlotProps as v } from "@mui/material/utils";
11
+ import { AnimatePresence as y, motion as b, useReducedMotion as x } from "framer-motion";
12
+ //#region lib/s-image-viewer/s-image-viewer.tsx
13
+ var S = i(h, {
14
+ name: "SImageViewer",
15
+ slot: "Root"
16
+ })({}), C = o.forwardRef(function(i, o) {
17
+ let h = a({
18
+ props: i,
19
+ name: "SImageViewer"
20
+ }), { "aria-label": C, "aria-labelledby": w, selectedItem: T, defaultSelectedItem: E, open: D, onClose: O, onCloseButtonClick: k, onItemChange: A, mediaItems: j = [], renderMediaItem: M, showNavigation: N = !0, showThumbnailDock: P = !0, showCounter: F = !0, closeText: I = "Close", previousText: L = "Previous image", nextText: R = "Next image", getThumbnailLabel: z, slotProps: B, sx: V, ...H } = h, { currentSelectedItem: U, navigationEnabled: W, currentIndex: G, totalItems: K, selectItem: q, goToPrevious: J, goToNext: Y, handleKeyDown: X } = r({
21
+ selectedItem: T,
22
+ defaultSelectedItem: E,
23
+ onItemChange: A,
24
+ mediaItems: j,
25
+ showNavigation: N
26
+ }), Z = {
27
+ ...h,
28
+ currentIndex: G,
29
+ navigationEnabled: W
30
+ }, Q = x();
31
+ return U ? /* @__PURE__ */ c(S, {
32
+ ...H,
33
+ ownerState: Z,
34
+ open: D,
35
+ onClose: O,
36
+ ref: o,
37
+ sx: [(e) => ({ zIndex: e.zIndex.modal + 100 }), ...e(V)],
38
+ slotProps: {
39
+ ...B,
40
+ backdrop: v(B?.backdrop, { sx: {
41
+ backdropFilter: "blur(8px)",
42
+ zIndex: (e) => e.zIndex.modal + 99
43
+ } })
44
+ },
45
+ children: /* @__PURE__ */ l(p, {
46
+ onKeyDown: X,
47
+ children: [/* @__PURE__ */ c(b.div, {
48
+ initial: Q ? !1 : { scale: .98 },
49
+ animate: { scale: 1 },
50
+ exit: Q ? void 0 : { scale: .98 },
51
+ transition: Q ? { duration: 0 } : {
52
+ type: "spring",
53
+ stiffness: 400,
54
+ damping: 30
55
+ },
56
+ children: /* @__PURE__ */ l(g, {
57
+ "aria-label": C,
58
+ "aria-labelledby": w,
59
+ "aria-modal": !0,
60
+ role: "dialog",
61
+ sx: {
62
+ position: "fixed",
63
+ inset: 0,
64
+ width: "100%",
65
+ minHeight: "100vh",
66
+ borderRadius: 0,
67
+ overflow: "hidden",
68
+ zIndex: (e) => e.zIndex.modal + 101
69
+ },
70
+ children: [
71
+ /* @__PURE__ */ c(p, {
72
+ sx: {
73
+ height: "100%",
74
+ display: "flex",
75
+ flexDirection: "column"
76
+ },
77
+ children: /* @__PURE__ */ c(p, {
78
+ sx: {
79
+ flex: 1,
80
+ p: {
81
+ xs: 1,
82
+ sm: 2,
83
+ md: 3
84
+ },
85
+ display: "flex",
86
+ alignItems: "center",
87
+ justifyContent: "center",
88
+ bgcolor: "background.default"
89
+ },
90
+ children: /* @__PURE__ */ c(y, {
91
+ initial: !Q,
92
+ mode: "wait",
93
+ children: /* @__PURE__ */ c(b.div, {
94
+ style: { position: "relative" },
95
+ initial: Q ? !1 : {
96
+ y: 20,
97
+ scale: .97
98
+ },
99
+ animate: {
100
+ y: 0,
101
+ scale: 1,
102
+ transition: Q ? { duration: 0 } : {
103
+ type: "spring",
104
+ stiffness: 500,
105
+ damping: 30,
106
+ mass: .5
107
+ }
108
+ },
109
+ exit: Q ? void 0 : {
110
+ y: 20,
111
+ scale: .97,
112
+ transition: { duration: .15 }
113
+ },
114
+ children: /* @__PURE__ */ l(g, {
115
+ onClick: (e) => e.stopPropagation(),
116
+ sx: {
117
+ position: "relative",
118
+ width: "100%",
119
+ aspectRatio: "16 / 9",
120
+ maxWidth: {
121
+ xs: "95%",
122
+ sm: "85%",
123
+ md: 960
124
+ },
125
+ height: "70vh",
126
+ borderRadius: 1,
127
+ border: "1px solid",
128
+ borderColor: "divider",
129
+ overflow: "hidden",
130
+ bgcolor: "grey.900"
131
+ },
132
+ children: [M ? M(U) : /* @__PURE__ */ c(t, { item: U }), (U.title || U.desc) && /* @__PURE__ */ l(p, {
133
+ sx: {
134
+ position: "absolute",
135
+ left: 0,
136
+ right: 0,
137
+ bottom: 0,
138
+ p: {
139
+ xs: 1.5,
140
+ sm: 2,
141
+ md: 3
142
+ },
143
+ color: "common.white",
144
+ gradient: "overlay.media"
145
+ },
146
+ onClick: (e) => e.stopPropagation(),
147
+ children: [U.title && /* @__PURE__ */ c(_, {
148
+ variant: "h6",
149
+ sx: { fontSize: {
150
+ xs: 14,
151
+ sm: 18,
152
+ md: 20
153
+ } },
154
+ children: U.title
155
+ }), U.desc && /* @__PURE__ */ c(_, {
156
+ variant: "body2",
157
+ sx: { mt: .5 },
158
+ children: U.desc
159
+ })]
160
+ })]
161
+ })
162
+ }, U.id)
163
+ })
164
+ })
165
+ }),
166
+ /* @__PURE__ */ c(m, {
167
+ "aria-label": I,
168
+ onClick: k,
169
+ sx: {
170
+ position: "absolute",
171
+ top: {
172
+ xs: 8,
173
+ sm: 10,
174
+ md: 12
175
+ },
176
+ right: {
177
+ xs: 8,
178
+ sm: 10,
179
+ md: 12
180
+ },
181
+ zIndex: (e) => e.zIndex.modal + 102
182
+ },
183
+ children: /* @__PURE__ */ c(f, {})
184
+ }),
185
+ F && W && /* @__PURE__ */ l(p, {
186
+ sx: {
187
+ position: "absolute",
188
+ top: {
189
+ xs: 8,
190
+ sm: 10,
191
+ md: 12
192
+ },
193
+ left: {
194
+ xs: 8,
195
+ sm: 10,
196
+ md: 12
197
+ },
198
+ zIndex: (e) => e.zIndex.modal + 102,
199
+ padding: 1,
200
+ px: 2,
201
+ fontSize: {
202
+ xs: 14,
203
+ sm: 16
204
+ },
205
+ color: "text.primary"
206
+ },
207
+ children: [
208
+ G + 1,
209
+ " / ",
210
+ K
211
+ ]
212
+ }),
213
+ W && /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c(m, {
214
+ "aria-label": L,
215
+ onClick: (e) => {
216
+ e.stopPropagation(), J(e);
217
+ },
218
+ disabled: G === 0,
219
+ sx: {
220
+ position: "absolute",
221
+ left: {
222
+ xs: 8,
223
+ sm: 10,
224
+ md: 12
225
+ },
226
+ top: "50%",
227
+ transform: "translateY(-50%)",
228
+ zIndex: (e) => e.zIndex.modal + 102,
229
+ "&:disabled": { opacity: .5 }
230
+ },
231
+ children: /* @__PURE__ */ c(u, {})
232
+ }), /* @__PURE__ */ c(m, {
233
+ "aria-label": R,
234
+ onClick: (e) => {
235
+ e.stopPropagation(), Y(e);
236
+ },
237
+ disabled: G === K - 1,
238
+ sx: {
239
+ position: "absolute",
240
+ right: {
241
+ xs: 8,
242
+ sm: 10,
243
+ md: 12
244
+ },
245
+ top: "50%",
246
+ transform: "translateY(-50%)",
247
+ zIndex: (e) => e.zIndex.modal + 102,
248
+ "&:disabled": { opacity: .5 }
249
+ },
250
+ children: /* @__PURE__ */ c(d, {})
251
+ })] })
252
+ ]
253
+ })
254
+ }), P && W && j.length > 1 && /* @__PURE__ */ c(n, {
255
+ mediaItems: j,
256
+ selectedItem: U,
257
+ onSelect: q,
258
+ renderMediaItem: M,
259
+ getThumbnailLabel: z
260
+ })]
261
+ })
262
+ }) : null;
263
+ });
264
+ C.displayName = "SImageViewer";
265
+ //#endregion
266
+ export { C as SImageViewer, C as default };