@solostylist/ui-kit 1.0.175 → 1.0.176

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 (203) hide show
  1. package/dist/{ArrowUpward-DhTFpzoh.js → ArrowUpward-CEeqSc-C.js} +2 -2
  2. package/dist/{Box-Ha0cQ4KO.js → Box-CE3rycd-.js} +5 -5
  3. package/dist/ButtonBase-C_YYB9Ry.js +1099 -0
  4. package/dist/{ChevronLeft-CBuFk2Fh.js → ChevronLeft-6gdh4lRt.js} +2 -2
  5. package/dist/{ChevronRight-CnDWPrOm.js → ChevronRight-CC3l-wPC.js} +2 -2
  6. package/dist/{Close-BRlEKA2Q.js → Close-DOHlPcFK.js} +2 -2
  7. package/dist/{ContentCopy-7nFBtjhs.js → ContentCopy-2xxDThyB.js} +2 -2
  8. package/dist/DefaultPropsProvider-sk0uWcA6.js +64 -0
  9. package/dist/{Download-UsLvGg3y.js → Download-Chao5NQl.js} +2 -2
  10. package/dist/{ExpandMore-DTWX_mHf.js → ExpandMore-DIGPB4Mj.js} +2 -2
  11. package/dist/{Favorite-DS5Gpq2s.js → Favorite-wp65zwWq.js} +2 -2
  12. package/dist/{Menu-CWq-a1Wz.js → Menu-DZYzE2Mg.js} +908 -906
  13. package/dist/{MenuItem-DY_qFSPR.js → MenuItem-BXiIhfBS.js} +26 -25
  14. package/dist/Paper-DnctZB5U.js +689 -0
  15. package/dist/{Select-DabtQlJT.js → Select-DY7XGVsv.js} +2152 -2115
  16. package/dist/{Stack-Cq2r2NmC.js → Stack-BScsuyQy.js} +6 -6
  17. package/dist/{Typography-C8jwvSWe.js → Typography-9Kg27dDw.js} +84 -86
  18. package/dist/{_commonjsHelpers-B4e78b8K.js → _commonjsHelpers-ByX85dGu.js} +18 -13
  19. package/dist/assets/s-overlay-scrollbar.css +1 -9
  20. package/dist/createSvgIcon-BKymXuBG.js +242 -0
  21. package/dist/{createTheme-3Wd3hHrj.js → createTheme-f5g1s6ww.js} +859 -906
  22. package/dist/defaultTheme-LSr-S9un.js +5 -0
  23. package/dist/entries/carousel.d.ts +10 -0
  24. package/dist/entries/carousel.js +4 -0
  25. package/dist/entries/chat.d.ts +9 -0
  26. package/dist/entries/chat.js +4 -0
  27. package/dist/entries/code.d.ts +9 -0
  28. package/dist/entries/code.js +4 -0
  29. package/dist/entries/core.d.ts +100 -0
  30. package/dist/entries/core.js +122 -0
  31. package/dist/entries/dates.d.ts +16 -0
  32. package/dist/entries/dates.js +12 -0
  33. package/dist/entries/dropzone.d.ts +9 -0
  34. package/dist/entries/dropzone.js +4 -0
  35. package/dist/entries/editor.d.ts +12 -0
  36. package/dist/entries/editor.js +4 -0
  37. package/dist/entries/gallery.d.ts +17 -0
  38. package/dist/entries/gallery.js +13 -0
  39. package/dist/entries/i18n.d.ts +13 -0
  40. package/dist/entries/i18n.js +8 -0
  41. package/dist/entries/motion.d.ts +29 -0
  42. package/dist/entries/motion.js +28 -0
  43. package/dist/entries/scrollbar.d.ts +9 -0
  44. package/dist/entries/scrollbar.js +4 -0
  45. package/dist/entries/stripe.d.ts +10 -0
  46. package/dist/entries/stripe.js +10 -0
  47. package/dist/extendSxProp-DitxZ8We.js +36 -0
  48. package/dist/hooks/index.js +8 -9
  49. package/dist/hooks/use-is-passed-position.js +10 -10
  50. package/dist/{index-BGvzecIA.js → index-D3G5Rwl-.js} +0 -7
  51. package/dist/{index-CfKHZ86U.js → index-DtYP8YE7.js} +12 -13
  52. package/dist/{jsx-runtime-OVHDjVDe.js → jsx-runtime-tc70JA_2.js} +108 -128
  53. package/dist/main.d.ts +29 -145
  54. package/dist/main.js +187 -187
  55. package/dist/mergeSlotProps-CuzBQdlp.js +62 -0
  56. package/dist/resolveProps-BDH0VJjn.js +39 -0
  57. package/dist/s-accordion/package.json +5 -5
  58. package/dist/s-accordion/s-accordion.js +374 -358
  59. package/dist/s-action-overlay/package.json +5 -5
  60. package/dist/s-action-overlay/s-action-overlay.js +64 -79
  61. package/dist/s-ai-tool-bar/package.json +5 -5
  62. package/dist/s-ai-tool-bar/s-ai-tool-bar.js +260 -275
  63. package/dist/s-autocomplete/s-autocomplete.js +19 -25
  64. package/dist/s-avatar/package.json +5 -5
  65. package/dist/s-avatar/s-avatar.js +14 -25
  66. package/dist/s-blur-text/package.json +5 -5
  67. package/dist/s-blur-text/s-blur-text.js +55 -59
  68. package/dist/s-breadcrumbs/package.json +5 -5
  69. package/dist/s-breadcrumbs/s-breadcrumbs.js +31 -39
  70. package/dist/s-button/package.json +5 -5
  71. package/dist/s-button/s-button.js +7 -15
  72. package/dist/s-button-link/s-button-link.js +28 -36
  73. package/dist/s-carousel/package.json +4 -4
  74. package/dist/s-carousel/s-carousel.js +267 -280
  75. package/dist/s-category-card/package.json +4 -4
  76. package/dist/s-category-card/s-category-card.js +60 -77
  77. package/dist/s-chat-input/package.json +5 -5
  78. package/dist/s-chat-input/s-chat-input.js +84 -92
  79. package/dist/s-chat-message/s-chat-message.js +111 -120
  80. package/dist/s-checkbox/s-checkbox.js +12 -20
  81. package/dist/s-chip/package.json +5 -5
  82. package/dist/s-chip/s-chip.js +7 -15
  83. package/dist/s-chips/s-chips.js +47 -56
  84. package/dist/s-code-block/package.json +5 -5
  85. package/dist/s-code-block/s-code-block.js +35 -43
  86. package/dist/s-comment-message/package.json +5 -5
  87. package/dist/s-comment-message/s-comment-message.js +90 -94
  88. package/dist/s-copyable-text/s-copyable-text.js +24 -32
  89. package/dist/s-countdown/s-count-box.js +42 -50
  90. package/dist/s-countdown/s-count-down.js +79 -107
  91. package/dist/s-data-table/s-data-table.js +374 -384
  92. package/dist/s-date-picker/s-date-picker.js +164 -164
  93. package/dist/s-datetime-picker/s-datetime-picker.js +1599 -1603
  94. package/dist/s-dialog/s-dialog.js +24 -32
  95. package/dist/s-dialog-confirm/s-dialog-confirm.js +46 -50
  96. package/dist/s-dialog-message/s-dialog-message.js +40 -44
  97. package/dist/s-empty/s-empty.js +6 -14
  98. package/dist/s-error/s-error.js +9 -17
  99. package/dist/s-error-layout/s-error-layout.js +38 -47
  100. package/dist/s-file-dropzone/s-file-dropzone.js +55 -64
  101. package/dist/s-file-icon/s-file-icon.js +9 -13
  102. package/dist/s-flex-box/s-flex-box.js +6 -14
  103. package/dist/s-form/s-form.js +11 -19
  104. package/dist/s-gallery/index.js +3 -33
  105. package/dist/s-gallery/s-gallery.js +91 -114
  106. package/dist/s-glow-button/s-glow-button.js +22 -26
  107. package/dist/s-gradient-icon/s-gradient-icon.js +49 -59
  108. package/dist/s-i18n-provider/s-i18n-provider.js +17 -25
  109. package/dist/s-icon-button/s-icon-button.js +6 -14
  110. package/dist/s-image-comparison/package.json +5 -5
  111. package/dist/s-image-comparison/s-image-comparison.js +48 -53
  112. package/dist/s-image-modal/package.json +5 -5
  113. package/dist/s-image-modal/s-image-modal.js +137 -150
  114. package/dist/s-item-not-found/s-item-not-found.js +13 -22
  115. package/dist/s-label/s-label.js +12 -20
  116. package/dist/s-language-switcher/s-language-switcher.js +119 -141
  117. package/dist/s-lazy-image/index.js +2 -10
  118. package/dist/s-lazy-image/s-lazy-image.js +33 -37
  119. package/dist/s-localization-provider/s-localization-provider.js +368 -380
  120. package/dist/s-moving-border/s-moving-border.js +52 -67
  121. package/dist/s-multi-select/s-multi-select.js +43 -51
  122. package/dist/s-no-ssr/s-no-ssr.js +13 -21
  123. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +12 -16
  124. package/dist/s-pagination/s-pagination.js +13 -17
  125. package/dist/s-pixel-reveal/package.json +5 -5
  126. package/dist/s-pixel-reveal/s-pixel-reveal.js +92 -99
  127. package/dist/s-radial-pulse-animate/package.json +5 -5
  128. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +40 -48
  129. package/dist/s-rating/package.json +5 -5
  130. package/dist/s-rating/s-rating.js +7 -15
  131. package/dist/s-review/package.json +5 -5
  132. package/dist/s-review/s-review.js +101 -106
  133. package/dist/s-scroll-reveal/package.json +5 -5
  134. package/dist/s-scroll-reveal/s-scroll-reveal.js +40 -48
  135. package/dist/s-scroll-to-top/package.json +5 -5
  136. package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -30
  137. package/dist/s-scroll-velocity/package.json +5 -5
  138. package/dist/s-scroll-velocity/s-scroll-velocity.js +5 -19
  139. package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -27
  140. package/dist/s-scroll-velocity/scroll-velocity-row.js +62 -71
  141. package/dist/s-select/s-select.js +67 -75
  142. package/dist/s-select-list/s-select-list.js +28 -32
  143. package/dist/s-skeleton/s-skeleton.js +20 -28
  144. package/dist/s-snackbar-message/s-snackbar-message.js +36 -40
  145. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +31 -35
  146. package/dist/s-stripe/s-stripe-cvc.js +8 -12
  147. package/dist/s-stripe/s-stripe-expiry.js +8 -12
  148. package/dist/s-stripe/s-stripe-number.js +8 -12
  149. package/dist/s-stripe/s-stripe.d.ts +2 -2
  150. package/dist/s-stripe/s-stripe.js +17 -26
  151. package/dist/s-stripe/stripe-input.js +25 -29
  152. package/dist/s-tabs/package.json +3 -3
  153. package/dist/s-tabs/s-tab-panel.js +17 -25
  154. package/dist/s-tabs/s-tab.js +5 -9
  155. package/dist/s-tabs/s-tabs.js +19 -27
  156. package/dist/s-text-editor/s-text-editor-toolbar.js +73 -88
  157. package/dist/s-text-editor/s-text-editor.js +33 -45
  158. package/dist/s-text-field/s-text-field.js +31 -40
  159. package/dist/s-text-shimmer/package.json +4 -4
  160. package/dist/s-text-shimmer/s-text-shimmer.js +19 -27
  161. package/dist/s-text-truncation/s-text-truncation.js +24 -32
  162. package/dist/s-theme-demo/package.json +5 -5
  163. package/dist/s-theme-demo/s-theme-demo.js +219 -234
  164. package/dist/s-theme-provider/s-theme-provider.js +37 -45
  165. package/dist/s-theme-switch/package.json +4 -4
  166. package/dist/s-theme-switch/s-theme-switch.js +19 -23
  167. package/dist/s-tip/s-tip.js +14 -22
  168. package/dist/s-two-pane-layout/index.js +2 -10
  169. package/dist/s-two-pane-layout/s-two-pane-layout.js +47 -55
  170. package/dist/s-typewriter-text/package.json +5 -5
  171. package/dist/s-typewriter-text/s-typewriter-text.js +27 -35
  172. package/dist/s-zoom-image/index.js +2 -10
  173. package/dist/s-zoom-image/package.json +5 -5
  174. package/dist/s-zoom-image/s-zoom-image.js +53 -62
  175. package/dist/styled-B0KflPi-.js +203 -0
  176. package/dist/theme/components/alert.d.ts +484 -264
  177. package/dist/theme/components/avatar.js +2 -2
  178. package/dist/theme/components/button.d.ts +726 -396
  179. package/dist/theme/components/chip.js +2 -2
  180. package/dist/theme/components/icon-button.d.ts +726 -396
  181. package/dist/theme/customizations/data-display.js +1 -1
  182. package/dist/theme/customizations/inputs.js +2 -2
  183. package/dist/theme/customizations/navigation.js +2 -2
  184. package/dist/theme/theme-primitives.d.ts +8 -246
  185. package/dist/theme/theme-primitives.js +76 -87
  186. package/dist/{typographyClasses-DDyl9mok.js → typographyClasses-C7fhAsUD.js} +4 -4
  187. package/dist/{useMobilePicker-C1RZZUWr.js → useMobilePicker-C4AYe0Ch.js} +11249 -11231
  188. package/dist/{useTheme-B5czKfC4.js → useTheme-CtdhfT4P.js} +1 -1
  189. package/dist/{useThemeProps-DqA5BinV.js → useThemeProps-_apS-Aua.js} +2 -2
  190. package/dist/utils/dayjs.js +7 -7
  191. package/dist/utils/logger.js +29 -32
  192. package/dist/{warning-BCwEnWrE.js → warning-DnPRVtW6.js} +4 -4
  193. package/package.json +240 -81
  194. package/README.md +0 -13
  195. package/dist/ButtonBase-DfTfJ_ou.js +0 -1105
  196. package/dist/DefaultPropsProvider-CaCsvQaq.js +0 -78
  197. package/dist/Paper-hkbPWyBT.js +0 -553
  198. package/dist/createSvgIcon-DxwgGAVe.js +0 -247
  199. package/dist/defaultTheme-fEi1x1Gb.js +0 -5
  200. package/dist/extendSxProp-BKWjdW12.js +0 -37
  201. package/dist/mergeSlotProps-Dl_rJtoN.js +0 -62
  202. package/dist/resolveProps-61uUKnlS.js +0 -52
  203. package/dist/styled-B0Z4EDy9.js +0 -206
@@ -1,35 +1,34 @@
1
- import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
- import * as j from "react";
3
- import { c } from "../createSvgIcon-DxwgGAVe.js";
4
- import { Avatar as q, Tooltip as C, IconButton as w, Button as V } from "@mui/material";
5
- import { useDropzone as R } from "react-dropzone";
6
- import { SFileIcon as z } from "../s-file-icon/s-file-icon.js";
7
- import { SForm as A } from "../s-form/s-form.js";
8
- import { bytesToSize as S } from "../utils/bytes-to-size.js";
9
- import { B as u } from "../Box-Ha0cQ4KO.js";
10
- import { S as l } from "../Stack-Cq2r2NmC.js";
11
- import { T as a } from "../Typography-C8jwvSWe.js";
12
- const _ = c(/* @__PURE__ */ e.jsx("path", {
1
+ import { j as o } from "../jsx-runtime-tc70JA_2.js";
2
+ import * as g from "react";
3
+ import { c as l } from "../createSvgIcon-BKymXuBG.js";
4
+ import { Avatar as b, Tooltip as v, IconButton as y, Button as C } from "@mui/material";
5
+ import { useDropzone as z } from "react-dropzone";
6
+ import { bytesToSize as I } from "../utils/bytes-to-size.js";
7
+ import { SForm as S } from "../s-form/s-form.js";
8
+ import { B as i } from "../Box-CE3rycd-.js";
9
+ import { S as e } from "../Stack-BScsuyQy.js";
10
+ import { T as t } from "../Typography-9Kg27dDw.js";
11
+ import { SFileIcon as R } from "../s-file-icon/s-file-icon.js";
12
+ const k = l(/* @__PURE__ */ o.jsx("path", {
13
13
  d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
14
- }), "CloseOutlined"), I = c(/* @__PURE__ */ e.jsx("path", {
14
+ }), "CloseOutlined"), D = l(/* @__PURE__ */ o.jsx("path", {
15
15
  d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"
16
- }), "CloudUploadOutlined"), t = ({
17
- hint: r,
18
- label: m = "",
19
- error: f,
20
- onRemoveAll: h,
21
- onUpload: U,
22
- onRemove: i,
23
- required: y = !1,
24
- disabledUpload: k = !1,
25
- isShowBtnRemoveAll: x = !1,
16
+ }), "CloudUploadOutlined"), F = ({
17
+ hint: a,
18
+ label: c = "",
19
+ error: d,
20
+ onRemoveAll: p,
21
+ onUpload: w,
22
+ onRemove: x,
23
+ required: m = !1,
24
+ disabledUpload: B = !1,
25
+ isShowBtnRemoveAll: h = !1,
26
26
  ...n
27
27
  }) => {
28
- var s, p;
29
- const { getRootProps: g, getInputProps: b, isDragActive: d } = R(n);
30
- return /* @__PURE__ */ e.jsxs(j.Fragment, { children: [
31
- /* @__PURE__ */ e.jsx(A, { error: f, label: m, required: y, hint: r, children: /* @__PURE__ */ e.jsxs(
32
- u,
28
+ const { getRootProps: u, getInputProps: j, isDragActive: s } = z(n);
29
+ return /* @__PURE__ */ o.jsxs(g.Fragment, { children: [
30
+ /* @__PURE__ */ o.jsx(S, { error: d, label: c, required: m, hint: a, children: /* @__PURE__ */ o.jsxs(
31
+ i,
33
32
  {
34
33
  sx: {
35
34
  alignItems: "center",
@@ -43,23 +42,23 @@ const _ = c(/* @__PURE__ */ e.jsx("path", {
43
42
  outline: "none",
44
43
  p: 4,
45
44
  // Visual feedback when files are being dragged over
46
- ...d && {
45
+ ...s && {
47
46
  bgcolor: "action.selected",
48
47
  opacity: 0.5
49
48
  },
50
49
  // Hover effect when not actively dragging
51
50
  "&:hover": {
52
- ...!d && {
51
+ ...!s && {
53
52
  bgcolor: "action.hover"
54
53
  }
55
54
  }
56
55
  },
57
- ...g(),
56
+ ...u(),
58
57
  children: [
59
- /* @__PURE__ */ e.jsx("input", { ...b() }),
60
- /* @__PURE__ */ e.jsxs(l, { direction: "row", spacing: 1, sx: { alignItems: "center" }, children: [
61
- /* @__PURE__ */ e.jsx(
62
- q,
58
+ /* @__PURE__ */ o.jsx("input", { ...j() }),
59
+ /* @__PURE__ */ o.jsxs(e, { direction: "row", spacing: 1, sx: { alignItems: "center" }, children: [
60
+ /* @__PURE__ */ o.jsx(
61
+ b,
63
62
  {
64
63
  sx: {
65
64
  border: "1px dashed",
@@ -67,11 +66,11 @@ const _ = c(/* @__PURE__ */ e.jsx("path", {
67
66
  color: "text.secondary",
68
67
  backgroundColor: "transparent"
69
68
  },
70
- children: /* @__PURE__ */ e.jsx(I, { fontSize: "small" })
69
+ children: /* @__PURE__ */ o.jsx(D, { fontSize: "small" })
71
70
  }
72
71
  ),
73
- /* @__PURE__ */ e.jsx(l, { spacing: 1, children: /* @__PURE__ */ e.jsxs(a, { color: "text.secondary", variant: "body2", children: [
74
- /* @__PURE__ */ e.jsx(a, { component: "span", sx: { textDecoration: "underline" }, variant: "inherit", children: "Click to upload" }),
72
+ /* @__PURE__ */ o.jsx(e, { spacing: 1, children: /* @__PURE__ */ o.jsxs(t, { color: "text.secondary", variant: "body2", children: [
73
+ /* @__PURE__ */ o.jsx(t, { component: "span", sx: { textDecoration: "underline" }, variant: "inherit", children: "Click to upload" }),
75
74
  " ",
76
75
  "or drag and drop your files here"
77
76
  ] }) })
@@ -79,11 +78,11 @@ const _ = c(/* @__PURE__ */ e.jsx("path", {
79
78
  ]
80
79
  }
81
80
  ) }),
82
- (s = n.files) != null && s.length ? /* @__PURE__ */ e.jsxs(l, { mt: 1, spacing: 1, children: [
83
- /* @__PURE__ */ e.jsx(l, { component: "ul", spacing: 1, sx: { listStyle: "none", m: 0, p: 0 }, children: (p = n.files) == null ? void 0 : p.map((o) => {
84
- const v = o.name.split(".").pop();
85
- return /* @__PURE__ */ e.jsxs(
86
- l,
81
+ n.files?.length ? /* @__PURE__ */ o.jsxs(e, { mt: 1, spacing: 1, children: [
82
+ /* @__PURE__ */ o.jsx(e, { component: "ul", spacing: 1, sx: { listStyle: "none", m: 0, p: 0 }, children: n.files?.map((r) => {
83
+ const f = r.name.split(".").pop();
84
+ return /* @__PURE__ */ o.jsxs(
85
+ e,
87
86
  {
88
87
  component: "li",
89
88
  direction: "row",
@@ -97,39 +96,31 @@ const _ = c(/* @__PURE__ */ e.jsx("path", {
97
96
  p: 1
98
97
  },
99
98
  children: [
100
- /* @__PURE__ */ e.jsx(z, { extension: v }),
101
- /* @__PURE__ */ e.jsxs(u, { sx: { flex: "1 1 auto" }, children: [
102
- /* @__PURE__ */ e.jsx(a, { variant: "subtitle2", children: o.name }),
103
- /* @__PURE__ */ e.jsx(a, { color: "text.secondary", variant: "body2", children: S(o.size) })
99
+ /* @__PURE__ */ o.jsx(R, { extension: f }),
100
+ /* @__PURE__ */ o.jsxs(i, { sx: { flex: "1 1 auto" }, children: [
101
+ /* @__PURE__ */ o.jsx(t, { variant: "subtitle2", children: r.name }),
102
+ /* @__PURE__ */ o.jsx(t, { color: "text.secondary", variant: "body2", children: I(r.size) })
104
103
  ] }),
105
- /* @__PURE__ */ e.jsx(C, { title: "Remove", children: /* @__PURE__ */ e.jsx(
106
- w,
104
+ /* @__PURE__ */ o.jsx(v, { title: "Remove", children: /* @__PURE__ */ o.jsx(
105
+ y,
107
106
  {
108
107
  onClick: () => {
109
- i == null || i(o);
108
+ x?.(r);
110
109
  },
111
- children: /* @__PURE__ */ e.jsx(_, {})
110
+ children: /* @__PURE__ */ o.jsx(k, {})
112
111
  }
113
112
  ) })
114
113
  ]
115
114
  },
116
- o.size
115
+ r.size
117
116
  );
118
117
  }) }),
119
- /* @__PURE__ */ e.jsx(l, { direction: "row", sx: { alignItems: "center", justifyContent: "flex-end" }, children: x && /* @__PURE__ */ e.jsx(V, { onClick: h, size: "small", type: "button", variant: "text", children: "Remove all" }) })
118
+ /* @__PURE__ */ o.jsx(e, { direction: "row", sx: { alignItems: "center", justifyContent: "flex-end" }, children: h && /* @__PURE__ */ o.jsx(C, { onClick: p, size: "small", type: "button", variant: "text", children: "Remove all" }) })
120
119
  ] }) : null
121
120
  ] });
122
121
  };
123
- t.displayName = "SFileDropzone";
124
- try {
125
- t.displayName = "SFileDropzone", t.__docgenInfo = { description: "A file dropzone component with drag-and-drop, file management, and form integration.", displayName: "SFileDropzone", props: { hint: { defaultValue: null, description: "Additional hint text displayed below the main upload message", name: "hint", required: !1, type: { name: "string" } }, files: { defaultValue: null, description: "Array of files currently selected/uploaded", name: "files", required: !1, type: { name: "CustomFile[]" } }, onRemove: { defaultValue: null, description: "Callback when a single file is removed", name: "onRemove", required: !1, type: { name: "((file: CustomFile) => void)" } }, onRemoveAll: { defaultValue: null, description: "Callback when all files are removed", name: "onRemoveAll", required: !1, type: { name: "(() => void)" } }, onUpload: { defaultValue: null, description: "Callback when upload is triggered (optional - for custom upload logic)", name: "onUpload", required: !1, type: { name: "(() => void)" } }, label: { defaultValue: { value: "" }, description: "Label for the form field", name: "label", required: !1, type: { name: "ReactNode" } }, disabledUpload: { defaultValue: { value: "false" }, description: "Whether upload functionality is disabled", name: "disabledUpload", required: !1, type: { name: "boolean" } }, error: { defaultValue: null, description: "Error message to display", name: "error", required: !1, type: { name: "string" } }, required: { defaultValue: { value: "false" }, description: "Whether the field is required", name: "required", required: !1, type: { name: "boolean" } }, isShowBtnRemoveAll: { defaultValue: { value: "false" }, description: "Whether to show the 'Remove all' button", name: "isShowBtnRemoveAll", required: !1, type: { name: "boolean" } } } };
126
- } catch {
127
- }
128
- try {
129
- sfiledropzone.displayName = "sfiledropzone", sfiledropzone.__docgenInfo = { description: "A file dropzone component with drag-and-drop, file management, and form integration.", displayName: "sfiledropzone", props: { hint: { defaultValue: null, description: "Additional hint text displayed below the main upload message", name: "hint", required: !1, type: { name: "string" } }, files: { defaultValue: null, description: "Array of files currently selected/uploaded", name: "files", required: !1, type: { name: "CustomFile[]" } }, onRemove: { defaultValue: null, description: "Callback when a single file is removed", name: "onRemove", required: !1, type: { name: "((file: CustomFile) => void)" } }, onRemoveAll: { defaultValue: null, description: "Callback when all files are removed", name: "onRemoveAll", required: !1, type: { name: "(() => void)" } }, onUpload: { defaultValue: null, description: "Callback when upload is triggered (optional - for custom upload logic)", name: "onUpload", required: !1, type: { name: "(() => void)" } }, label: { defaultValue: { value: "" }, description: "Label for the form field", name: "label", required: !1, type: { name: "ReactNode" } }, disabledUpload: { defaultValue: { value: "false" }, description: "Whether upload functionality is disabled", name: "disabledUpload", required: !1, type: { name: "boolean" } }, error: { defaultValue: null, description: "Error message to display", name: "error", required: !1, type: { name: "string" } }, required: { defaultValue: { value: "false" }, description: "Whether the field is required", name: "required", required: !1, type: { name: "boolean" } }, isShowBtnRemoveAll: { defaultValue: { value: "false" }, description: "Whether to show the 'Remove all' button", name: "isShowBtnRemoveAll", required: !1, type: { name: "boolean" } } } };
130
- } catch {
131
- }
122
+ F.displayName = "SFileDropzone";
132
123
  export {
133
- t as SFileDropzone,
134
- t as default
124
+ F as SFileDropzone,
125
+ F as default
135
126
  };
@@ -1,5 +1,5 @@
1
- import { j as i } from "../jsx-runtime-OVHDjVDe.js";
2
- import { B as n } from "../Box-Ha0cQ4KO.js";
1
+ import { j as t } from "../jsx-runtime-tc70JA_2.js";
2
+ import { B as i } from "../Box-CE3rycd-.js";
3
3
  const o = {
4
4
  jpeg: "/assets/icon-jpg.svg",
5
5
  jpg: "/assets/icon-jpg.svg",
@@ -7,11 +7,11 @@ const o = {
7
7
  pdf: "/assets/icon-pdf.svg",
8
8
  png: "/assets/icon-png.svg",
9
9
  svg: "/assets/icon-svg.svg"
10
- }, t = ({ extension: e }) => {
10
+ }, n = ({ extension: e }) => {
11
11
  let s;
12
12
  return e ? s = o[e] ?? "/assets/icon-other.svg" : s = "/assets/icon-other.svg", // Container box with fixed dimensions for consistent icon sizing
13
- /* @__PURE__ */ i.jsx(
14
- n,
13
+ /* @__PURE__ */ t.jsx(
14
+ i,
15
15
  {
16
16
  sx: {
17
17
  alignItems: "center",
@@ -23,16 +23,12 @@ const o = {
23
23
  // Standard icon container size
24
24
  height: "36px"
25
25
  },
26
- children: /* @__PURE__ */ i.jsx(n, { alt: "File", component: "img", src: s, sx: { height: "100%", width: "auto" } })
26
+ children: /* @__PURE__ */ t.jsx(i, { alt: "File", component: "img", src: s, sx: { height: "100%", width: "auto" } })
27
27
  }
28
28
  );
29
29
  };
30
- t.displayName = "SFileIcon";
31
- try {
32
- t.displayName = "SFileIcon", t.__docgenInfo = { description: "A file type icon component that displays appropriate icons based on file extensions.", displayName: "SFileIcon", props: { extension: { defaultValue: null, description: "File extension (without dot) to determine which icon to display", name: "extension", required: !1, type: { name: "string" } } } };
33
- } catch {
34
- }
30
+ n.displayName = "SFileIcon";
35
31
  export {
36
- t as SFileIcon,
37
- t as default
32
+ n as SFileIcon,
33
+ n as default
38
34
  };
@@ -1,16 +1,8 @@
1
- import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
- import { B as l } from "../Box-Ha0cQ4KO.js";
3
- const o = ({ children: e, ...a }) => /* @__PURE__ */ t.jsx(l, { display: "flex", ...a, children: e });
4
- o.displayName = "SFlexBox";
5
- try {
6
- o.displayName = "SFlexBox", o.__docgenInfo = { description: "A flex container component that defaults display to flex with all Material-UI Box capabilities.", displayName: "SFlexBox", props: {} };
7
- } catch {
8
- }
9
- try {
10
- sflexbox.displayName = "sflexbox", sflexbox.__docgenInfo = { description: "A flex container component that defaults display to flex with all Material-UI Box capabilities.", displayName: "sflexbox", props: {} };
11
- } catch {
12
- }
1
+ import { j as s } from "../jsx-runtime-tc70JA_2.js";
2
+ import { B as e } from "../Box-CE3rycd-.js";
3
+ const r = ({ children: o, ...x }) => /* @__PURE__ */ s.jsx(e, { display: "flex", ...x, children: o });
4
+ r.displayName = "SFlexBox";
13
5
  export {
14
- o as SFlexBox,
15
- o as default
6
+ r as SFlexBox,
7
+ r as default
16
8
  };
@@ -1,24 +1,16 @@
1
- import { j as r } from "../jsx-runtime-OVHDjVDe.js";
2
- import { FormControl as s, FormLabel as u, FormHelperText as n } from "@mui/material";
3
- const l = ({ label: e, hint: a, error: t, required: i, children: o, htmlFor: d }) => /* @__PURE__ */ r.jsxs(s, { error: !!t, fullWidth: !0, children: [
4
- e ? /* @__PURE__ */ r.jsxs(u, { htmlFor: d, required: i, sx: { display: "flex", alignItems: "center" }, children: [
5
- e,
1
+ import { j as e } from "../jsx-runtime-tc70JA_2.js";
2
+ import { FormControl as i, FormLabel as x, FormHelperText as o } from "@mui/material";
3
+ const a = ({ label: r, hint: s, error: l, required: n, children: t, htmlFor: m }) => /* @__PURE__ */ e.jsxs(i, { error: !!l, fullWidth: !0, children: [
4
+ r ? /* @__PURE__ */ e.jsxs(x, { htmlFor: m, required: n, sx: { display: "flex", alignItems: "center" }, children: [
5
+ r,
6
6
  " "
7
7
  ] }) : null,
8
- o,
9
- a && !t ? /* @__PURE__ */ r.jsx(n, { children: a }) : null,
10
- t ? /* @__PURE__ */ r.jsx(n, { children: t }) : null
8
+ t,
9
+ s && !l ? /* @__PURE__ */ e.jsx(o, { children: s }) : null,
10
+ l ? /* @__PURE__ */ e.jsx(o, { children: l }) : null
11
11
  ] });
12
- l.displayName = "SForm";
13
- try {
14
- l.displayName = "SForm", l.__docgenInfo = { description: "A form wrapper component that provides consistent labeling, error handling, and help text.", displayName: "SForm", props: { label: { defaultValue: null, description: "The form field label - can be text or a React element", name: "label", required: !0, type: { name: "ReactNode" } }, hint: { defaultValue: null, description: "Optional hint text displayed as a tooltip next to the label", name: "hint", required: !1, type: { name: "string" } }, error: { defaultValue: null, description: "Error message to display below the form field", name: "error", required: !1, type: { name: "string" } }, required: { defaultValue: null, description: "Whether the form field is required (adds asterisk to label)", name: "required", required: !0, type: { name: "boolean" } }, children: { defaultValue: null, description: "Child form elements (input, select, etc.) to wrap", name: "children", required: !0, type: { name: "ReactNode" } }, htmlFor: { defaultValue: null, description: "HTML 'for' attribute to associate label with input element", name: "htmlFor", required: !1, type: { name: "string" } } } };
15
- } catch {
16
- }
17
- try {
18
- sform.displayName = "sform", sform.__docgenInfo = { description: "A form wrapper component that provides consistent labeling, error handling, and help text.", displayName: "sform", props: { label: { defaultValue: null, description: "The form field label - can be text or a React element", name: "label", required: !0, type: { name: "ReactNode" } }, hint: { defaultValue: null, description: "Optional hint text displayed as a tooltip next to the label", name: "hint", required: !1, type: { name: "string" } }, error: { defaultValue: null, description: "Error message to display below the form field", name: "error", required: !1, type: { name: "string" } }, required: { defaultValue: null, description: "Whether the form field is required (adds asterisk to label)", name: "required", required: !0, type: { name: "boolean" } }, children: { defaultValue: null, description: "Child form elements (input, select, etc.) to wrap", name: "children", required: !0, type: { name: "ReactNode" } }, htmlFor: { defaultValue: null, description: "HTML 'for' attribute to associate label with input element", name: "htmlFor", required: !1, type: { name: "string" } } } };
19
- } catch {
20
- }
12
+ a.displayName = "SForm";
21
13
  export {
22
- l as SForm,
23
- l as default
14
+ a as SForm,
15
+ a as default
24
16
  };
@@ -1,35 +1,5 @@
1
- import { MediaItem as r, SGallery as o } from "./s-gallery.js";
2
- try {
3
- sgallery.displayName = "sgallery", sgallery.__docgenInfo = { description: "A sophisticated media gallery with drag-and-drop reordering, modal viewing, and multiple layout variants.", displayName: "sgallery", props: { mediaItems: { defaultValue: null, description: "Array of media items to display in the gallery", name: "mediaItems", required: !0, type: { name: "MediaItemType[]" } }, variant: { defaultValue: { value: "masonry" }, description: "Layout variant to use (default: 'masonry')", name: "variant", required: !1, type: { name: "enum", value: [{ value: '"grid"' }, { value: '"masonry"' }, { value: '"spotlight"' }, { value: '"featured"' }, { value: '"highlight"' }, { value: '"custom"' }] } }, loading: { defaultValue: { value: "false" }, description: "Loading state - shows skeleton placeholders matching the variant layout", name: "loading", required: !1, type: { name: "boolean" } }, skeletonCount: { defaultValue: { value: "6" }, description: "Number of skeleton items to show when loading (default: 6)", name: "skeletonCount", required: !1, type: { name: "number" } } } };
4
- } catch {
5
- }
6
- try {
7
- MediaItem.displayName = "MediaItem", MediaItem.__docgenInfo = { description: `MediaItem - Renders individual media items (images or videos) with optimized loading and playback.
8
-
9
- For videos:
10
- - Intersection Observer for viewport-based autoplay/pause
11
- - Buffering state management with loading indicator
12
- - Muted autoplay with loop for engagement
13
- - Preloading for smooth playback
14
-
15
- For images:
16
- - Lazy loading via SLazyImage component
17
- - Optimized object-fit handling`, displayName: "MediaItem", props: {} };
18
- } catch {
19
- }
20
- try {
21
- SGalleryProps.displayName = "SGalleryProps", SGalleryProps.__docgenInfo = { description: "Props for the SGallery component.", displayName: "SGalleryProps", props: {} };
22
- } catch {
23
- }
24
- try {
25
- MediaItemProps.displayName = "MediaItemProps", MediaItemProps.__docgenInfo = { description: "Props for individual MediaItem components", displayName: "MediaItemProps", props: {} };
26
- } catch {
27
- }
28
- try {
29
- GalleryLayoutVariant.displayName = "GalleryLayoutVariant", GalleryLayoutVariant.__docgenInfo = { description: "Built-in layout variants for the gallery", displayName: "GalleryLayoutVariant", props: {} };
30
- } catch {
31
- }
1
+ import { MediaItem as l, SGallery as r } from "./s-gallery.js";
32
2
  export {
33
- r as MediaItem,
34
- o as default
3
+ l as MediaItem,
4
+ r as default
35
5
  };