@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,5 +1,5 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
5
- }
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -1,28 +1,28 @@
1
- import { j as o } from "../jsx-runtime-OVHDjVDe.js";
2
- import { useState as w } from "react";
3
- import { Box as l, Grid as p } from "@mui/material";
4
- import { SIconButton as I } from "../s-icon-button/s-icon-button.js";
5
- const j = 40, S = 16, s = ({
6
- actions: n,
7
- maxWidth: m,
1
+ import { j as e } from "../jsx-runtime-tc70JA_2.js";
2
+ import { useState as M } from "react";
3
+ import { Box as i, Grid as c } from "@mui/material";
4
+ import { SIconButton as T } from "../s-icon-button/s-icon-button.js";
5
+ const k = 40, _ = 16, O = ({
6
+ actions: f,
7
+ maxWidth: u,
8
8
  columns: r = 3,
9
- children: f,
10
- showOnHover: i = !0,
11
- visible: a,
12
- position: u = "center",
13
- backdropColor: v = "background.paper",
14
- backdropOpacity: y = 0.9,
15
- blurAmount: b = 10,
16
- borderRadius: h = 0,
17
- overlaySx: x,
18
- onVisibilityChange: t
9
+ children: d,
10
+ showOnHover: o = !0,
11
+ visible: s,
12
+ position: n = "center",
13
+ backdropColor: p = "background.paper",
14
+ backdropOpacity: x = 0.9,
15
+ blurAmount: m = 10,
16
+ borderRadius: g = 0,
17
+ overlaySx: y,
18
+ onVisibilityChange: a
19
19
  }) => {
20
- const [g, d] = w(!1), k = a !== void 0 ? a : i && g, q = () => {
21
- i && a === void 0 && (d(!0), t == null || t(!0));
22
- }, A = () => {
23
- i && a === void 0 && (d(!1), t == null || t(!1));
24
- }, _ = () => {
25
- switch (u) {
20
+ const [h, l] = M(!1), v = s !== void 0 ? s : o && h, j = () => {
21
+ o && s === void 0 && (l(!0), a?.(!0));
22
+ }, b = () => {
23
+ o && s === void 0 && (l(!1), a?.(!1));
24
+ }, C = () => {
25
+ switch (n) {
26
26
  case "top-left":
27
27
  return { justifyContent: "flex-start", alignItems: "flex-start" };
28
28
  case "top-right":
@@ -31,12 +31,11 @@ const j = 40, S = 16, s = ({
31
31
  return { justifyContent: "flex-start", alignItems: "flex-end" };
32
32
  case "bottom-right":
33
33
  return { justifyContent: "flex-end", alignItems: "flex-end" };
34
- case "center":
35
34
  default:
36
35
  return { justifyContent: "center", alignItems: "center" };
37
36
  }
38
- }, O = () => {
39
- switch (u) {
37
+ }, I = () => {
38
+ switch (n) {
40
39
  case "top-left":
41
40
  return "flex-start";
42
41
  case "top-right":
@@ -45,20 +44,19 @@ const j = 40, S = 16, s = ({
45
44
  return "flex-start";
46
45
  case "bottom-right":
47
46
  return "flex-end";
48
- case "center":
49
47
  default:
50
48
  return "center";
51
49
  }
52
- }, V = () => {
53
- let e = m;
54
- return r && (e = r * j + (r - 1) * S + r * 16), e;
50
+ }, A = () => {
51
+ let t = u;
52
+ return r && (t = r * k + (r - 1) * _ + r * 16), t;
55
53
  };
56
54
  return (
57
55
  // Main container with flex to center the children
58
- /* @__PURE__ */ o.jsx(l, { display: "flex", children: /* @__PURE__ */ o.jsxs(l, { position: "relative", onMouseEnter: q, onMouseLeave: A, children: [
59
- f,
60
- k && /* @__PURE__ */ o.jsx(
61
- l,
56
+ /* @__PURE__ */ e.jsx(i, { display: "flex", children: /* @__PURE__ */ e.jsxs(i, { position: "relative", onMouseEnter: j, onMouseLeave: b, children: [
57
+ d,
58
+ v && /* @__PURE__ */ e.jsx(
59
+ i,
62
60
  {
63
61
  position: "absolute",
64
62
  top: 0,
@@ -66,61 +64,48 @@ const j = 40, S = 16, s = ({
66
64
  width: "100%",
67
65
  height: "100%",
68
66
  display: "flex",
69
- bgcolor: v,
67
+ bgcolor: p,
70
68
  sx: {
71
- opacity: y,
72
- backdropFilter: `blur(${b}px)`,
69
+ opacity: x,
70
+ backdropFilter: `blur(${m}px)`,
73
71
  transform: "translateZ(0)",
74
72
  willChange: "transform",
75
73
  transition: "opacity 0.2s ease-in-out",
76
- ..._(),
77
- ...x
74
+ ...C(),
75
+ ...y
78
76
  },
79
- borderRadius: h,
80
- children: /* @__PURE__ */ o.jsx(p, { container: !0, spacing: 2, justifyContent: O(), maxWidth: V(), children: n.map((e, C) => {
81
- var c;
82
- return /* @__PURE__ */ o.jsx(p, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ o.jsx(
83
- I,
84
- {
85
- tooltipOptions: { title: e.tooltip, placement: "top" },
86
- onClick: e.onClick,
87
- disabled: e.disabled,
88
- color: e.color,
89
- size: "small",
90
- sx: {
91
- margin: 1,
92
- backgroundColor: e.isActive ? "primary.main" : void 0,
93
- color: e.isActive ? "primary.contrastText" : void 0,
94
- transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
95
- opacity: e.disabled ? 0.5 : 1,
96
- "&:hover": {
97
- backgroundColor: e.isActive ? "primary.main" : void 0,
98
- color: e.isActive ? "primary.contrastText" : void 0
99
- },
100
- ...(c = e.iconButtonProps) == null ? void 0 : c.sx
77
+ borderRadius: g,
78
+ children: /* @__PURE__ */ e.jsx(c, { container: !0, spacing: 2, justifyContent: I(), maxWidth: A(), children: f.map((t, E) => /* @__PURE__ */ e.jsx(c, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e.jsx(
79
+ T,
80
+ {
81
+ tooltipOptions: { title: t.tooltip, placement: "top" },
82
+ onClick: t.onClick,
83
+ disabled: t.disabled,
84
+ color: t.color,
85
+ size: "small",
86
+ sx: {
87
+ margin: 1,
88
+ backgroundColor: t.isActive ? "primary.main" : void 0,
89
+ color: t.isActive ? "primary.contrastText" : void 0,
90
+ transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
91
+ opacity: t.disabled ? 0.5 : 1,
92
+ "&:hover": {
93
+ backgroundColor: t.isActive ? "primary.main" : void 0,
94
+ color: t.isActive ? "primary.contrastText" : void 0
101
95
  },
102
- ...e.iconButtonProps,
103
- children: e.icon
104
- }
105
- ) }, `${e.tooltip}-${C}`);
106
- }) })
96
+ ...t.iconButtonProps?.sx
97
+ },
98
+ ...t.iconButtonProps,
99
+ children: t.icon
100
+ }
101
+ ) }, `${t.tooltip}-${E}`)) })
107
102
  }
108
103
  )
109
104
  ] }) })
110
105
  );
111
106
  };
112
- s.displayName = "SActionOverlay";
113
- try {
114
- s.displayName = "SActionOverlay", s.__docgenInfo = { description: `A flexible overlay component that displays action buttons on top of content.
115
- Supports hover-based or controlled visibility, multiple positioning options, and customizable backdrop effects.`, displayName: "SActionOverlay", props: { actions: { defaultValue: null, description: "Array of action configurations for the overlay buttons", name: "actions", required: !0, type: { name: "IActionOverlay[]" } }, maxWidth: { defaultValue: null, description: "Maximum width of the actions container (overrides columns calculation)", name: "maxWidth", required: !1, type: { name: "string | number" } }, columns: { defaultValue: { value: "3" }, description: "Number of columns for the action grid layout", name: "columns", required: !1, type: { name: "number" } }, children: { defaultValue: null, description: "The content to overlay the actions on", name: "children", required: !0, type: { name: "ReactNode" } }, showOnHover: { defaultValue: { value: "true" }, description: "Whether to show overlay on hover", name: "showOnHover", required: !1, type: { name: "boolean" } }, visible: { defaultValue: null, description: "Controlled visibility state (overrides showOnHover)", name: "visible", required: !1, type: { name: "boolean" } }, position: { defaultValue: { value: "center" }, description: "Position of the action buttons within the overlay", name: "position", required: !1, type: { name: "enum", value: [{ value: '"center"' }, { value: '"top-left"' }, { value: '"top-right"' }, { value: '"bottom-left"' }, { value: '"bottom-right"' }] } }, backdropColor: { defaultValue: { value: "background.paper" }, description: "Background color of the overlay backdrop", name: "backdropColor", required: !1, type: { name: "string" } }, backdropOpacity: { defaultValue: { value: "0.9" }, description: "Opacity of the backdrop (0-1)", name: "backdropOpacity", required: !1, type: { name: "number" } }, blurAmount: { defaultValue: { value: "10" }, description: "Blur amount in pixels for the backdrop filter", name: "blurAmount", required: !1, type: { name: "number" } }, borderRadius: { defaultValue: { value: "0" }, description: "Border radius of the overlay", name: "borderRadius", required: !1, type: { name: "string | number" } }, overlaySx: { defaultValue: null, description: "Custom styles for the overlay element", name: "overlaySx", required: !1, type: { name: "SxProps<Theme>" } }, onVisibilityChange: { defaultValue: null, description: "Callback when overlay visibility changes", name: "onVisibilityChange", required: !1, type: { name: "((visible: boolean) => void)" } } } };
116
- } catch {
117
- }
118
- try {
119
- sactionoverlay.displayName = "sactionoverlay", sactionoverlay.__docgenInfo = { description: `A flexible overlay component that displays action buttons on top of content.
120
- Supports hover-based or controlled visibility, multiple positioning options, and customizable backdrop effects.`, displayName: "sactionoverlay", props: { actions: { defaultValue: null, description: "Array of action configurations for the overlay buttons", name: "actions", required: !0, type: { name: "IActionOverlay[]" } }, maxWidth: { defaultValue: null, description: "Maximum width of the actions container (overrides columns calculation)", name: "maxWidth", required: !1, type: { name: "string | number" } }, columns: { defaultValue: { value: "3" }, description: "Number of columns for the action grid layout", name: "columns", required: !1, type: { name: "number" } }, children: { defaultValue: null, description: "The content to overlay the actions on", name: "children", required: !0, type: { name: "ReactNode" } }, showOnHover: { defaultValue: { value: "true" }, description: "Whether to show overlay on hover", name: "showOnHover", required: !1, type: { name: "boolean" } }, visible: { defaultValue: null, description: "Controlled visibility state (overrides showOnHover)", name: "visible", required: !1, type: { name: "boolean" } }, position: { defaultValue: { value: "center" }, description: "Position of the action buttons within the overlay", name: "position", required: !1, type: { name: "enum", value: [{ value: '"center"' }, { value: '"top-left"' }, { value: '"top-right"' }, { value: '"bottom-left"' }, { value: '"bottom-right"' }] } }, backdropColor: { defaultValue: { value: "background.paper" }, description: "Background color of the overlay backdrop", name: "backdropColor", required: !1, type: { name: "string" } }, backdropOpacity: { defaultValue: { value: "0.9" }, description: "Opacity of the backdrop (0-1)", name: "backdropOpacity", required: !1, type: { name: "number" } }, blurAmount: { defaultValue: { value: "10" }, description: "Blur amount in pixels for the backdrop filter", name: "blurAmount", required: !1, type: { name: "number" } }, borderRadius: { defaultValue: { value: "0" }, description: "Border radius of the overlay", name: "borderRadius", required: !1, type: { name: "string | number" } }, overlaySx: { defaultValue: null, description: "Custom styles for the overlay element", name: "overlaySx", required: !1, type: { name: "SxProps<Theme>" } }, onVisibilityChange: { defaultValue: null, description: "Callback when overlay visibility changes", name: "onVisibilityChange", required: !1, type: { name: "((visible: boolean) => void)" } } } };
121
- } catch {
122
- }
107
+ O.displayName = "SActionOverlay";
123
108
  export {
124
- s as SActionOverlay,
125
- s as default
109
+ O as SActionOverlay,
110
+ O as default
126
111
  };
@@ -1,5 +1,5 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
5
- }
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }