@solostylist/ui-kit 1.0.174 → 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 (206) 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.d.ts +4 -0
  79. package/dist/s-chat-input/s-chat-input.js +103 -109
  80. package/dist/s-chat-message/s-chat-message.js +111 -120
  81. package/dist/s-checkbox/s-checkbox.js +12 -20
  82. package/dist/s-chip/package.json +5 -5
  83. package/dist/s-chip/s-chip.js +7 -15
  84. package/dist/s-chips/s-chips.js +47 -56
  85. package/dist/s-code-block/package.json +5 -5
  86. package/dist/s-code-block/s-code-block.js +35 -43
  87. package/dist/s-comment-message/package.json +5 -5
  88. package/dist/s-comment-message/s-comment-message.js +90 -94
  89. package/dist/s-copyable-text/s-copyable-text.js +24 -32
  90. package/dist/s-countdown/s-count-box.js +42 -50
  91. package/dist/s-countdown/s-count-down.js +79 -107
  92. package/dist/s-data-table/s-data-table.js +374 -384
  93. package/dist/s-date-picker/s-date-picker.js +164 -164
  94. package/dist/s-datetime-picker/s-datetime-picker.js +1599 -1603
  95. package/dist/s-dialog/s-dialog.js +24 -32
  96. package/dist/s-dialog-confirm/s-dialog-confirm.js +46 -50
  97. package/dist/s-dialog-message/s-dialog-message.js +40 -44
  98. package/dist/s-empty/s-empty.js +6 -14
  99. package/dist/s-error/s-error.js +9 -17
  100. package/dist/s-error-layout/s-error-layout.js +38 -47
  101. package/dist/s-file-dropzone/s-file-dropzone.js +55 -64
  102. package/dist/s-file-icon/s-file-icon.js +9 -13
  103. package/dist/s-flex-box/s-flex-box.js +6 -14
  104. package/dist/s-form/s-form.js +11 -19
  105. package/dist/s-gallery/index.js +3 -33
  106. package/dist/s-gallery/s-gallery.js +91 -114
  107. package/dist/s-glow-button/s-glow-button.js +22 -26
  108. package/dist/s-gradient-icon/s-gradient-icon.js +49 -59
  109. package/dist/s-i18n-provider/s-i18n-provider.js +17 -25
  110. package/dist/s-icon-button/s-icon-button.js +6 -14
  111. package/dist/s-image-comparison/package.json +5 -5
  112. package/dist/s-image-comparison/s-image-comparison.js +48 -53
  113. package/dist/s-image-modal/package.json +5 -5
  114. package/dist/s-image-modal/s-image-modal.js +137 -150
  115. package/dist/s-item-not-found/s-item-not-found.js +13 -22
  116. package/dist/s-label/s-label.js +12 -20
  117. package/dist/s-language-switcher/s-language-switcher.js +119 -141
  118. package/dist/s-lazy-image/index.js +2 -10
  119. package/dist/s-lazy-image/s-lazy-image.js +33 -37
  120. package/dist/s-localization-provider/s-localization-provider.js +368 -380
  121. package/dist/s-moving-border/s-moving-border.js +52 -67
  122. package/dist/s-multi-select/s-multi-select.js +43 -51
  123. package/dist/s-no-ssr/s-no-ssr.js +13 -21
  124. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +12 -16
  125. package/dist/s-pagination/s-pagination.js +13 -17
  126. package/dist/s-pixel-reveal/package.json +5 -5
  127. package/dist/s-pixel-reveal/s-pixel-reveal.js +92 -99
  128. package/dist/s-radial-pulse-animate/package.json +5 -5
  129. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +40 -48
  130. package/dist/s-rating/package.json +5 -5
  131. package/dist/s-rating/s-rating.js +7 -15
  132. package/dist/s-review/package.json +5 -5
  133. package/dist/s-review/s-review.js +101 -106
  134. package/dist/s-scroll-reveal/package.json +5 -5
  135. package/dist/s-scroll-reveal/s-scroll-reveal.js +40 -48
  136. package/dist/s-scroll-to-top/package.json +5 -5
  137. package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -30
  138. package/dist/s-scroll-velocity/package.json +5 -5
  139. package/dist/s-scroll-velocity/s-scroll-velocity.js +5 -19
  140. package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -27
  141. package/dist/s-scroll-velocity/scroll-velocity-row.js +62 -71
  142. package/dist/s-select/s-select.js +67 -75
  143. package/dist/s-select-list/s-select-list.js +28 -32
  144. package/dist/s-skeleton/s-skeleton.js +20 -28
  145. package/dist/s-snackbar-message/s-snackbar-message.js +36 -40
  146. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +31 -35
  147. package/dist/s-stripe/s-stripe-cvc.js +8 -12
  148. package/dist/s-stripe/s-stripe-expiry.js +8 -12
  149. package/dist/s-stripe/s-stripe-number.js +8 -12
  150. package/dist/s-stripe/s-stripe.d.ts +2 -2
  151. package/dist/s-stripe/s-stripe.js +17 -26
  152. package/dist/s-stripe/stripe-input.js +25 -29
  153. package/dist/s-tabs/package.json +3 -3
  154. package/dist/s-tabs/s-tab-panel.js +17 -25
  155. package/dist/s-tabs/s-tab.js +5 -9
  156. package/dist/s-tabs/s-tabs.js +19 -27
  157. package/dist/s-text-editor/s-text-editor-toolbar.js +73 -88
  158. package/dist/s-text-editor/s-text-editor.js +33 -45
  159. package/dist/s-text-field/s-text-field.js +31 -40
  160. package/dist/s-text-shimmer/package.json +4 -4
  161. package/dist/s-text-shimmer/s-text-shimmer.js +19 -27
  162. package/dist/s-text-truncation/s-text-truncation.js +24 -32
  163. package/dist/s-theme-demo/package.json +5 -5
  164. package/dist/s-theme-demo/s-theme-demo.js +219 -234
  165. package/dist/s-theme-provider/s-theme-provider.js +37 -45
  166. package/dist/s-theme-switch/package.json +4 -4
  167. package/dist/s-theme-switch/s-theme-switch.js +19 -23
  168. package/dist/s-tip/s-tip.js +14 -22
  169. package/dist/s-two-pane-layout/index.js +2 -10
  170. package/dist/s-two-pane-layout/s-two-pane-layout.js +47 -55
  171. package/dist/s-typewriter-text/package.json +5 -5
  172. package/dist/s-typewriter-text/s-typewriter-text.js +27 -35
  173. package/dist/s-zoom-image/index.js +2 -10
  174. package/dist/s-zoom-image/package.json +5 -5
  175. package/dist/s-zoom-image/s-zoom-image.js +53 -62
  176. package/dist/styled-B0KflPi-.js +203 -0
  177. package/dist/theme/components/alert.d.ts +484 -264
  178. package/dist/theme/components/avatar.js +2 -2
  179. package/dist/theme/components/button.d.ts +726 -396
  180. package/dist/theme/components/chip.js +2 -2
  181. package/dist/theme/components/components.js +14 -12
  182. package/dist/theme/components/icon-button.d.ts +6191 -0
  183. package/dist/theme/components/icon-button.js +90 -0
  184. package/dist/theme/customizations/data-display.js +1 -1
  185. package/dist/theme/customizations/inputs.js +2 -2
  186. package/dist/theme/customizations/navigation.js +2 -2
  187. package/dist/theme/theme-primitives.d.ts +8 -246
  188. package/dist/theme/theme-primitives.js +76 -87
  189. package/dist/{typographyClasses-DDyl9mok.js → typographyClasses-C7fhAsUD.js} +4 -4
  190. package/dist/{useMobilePicker-C1RZZUWr.js → useMobilePicker-C4AYe0Ch.js} +11249 -11231
  191. package/dist/{useTheme-B5czKfC4.js → useTheme-CtdhfT4P.js} +1 -1
  192. package/dist/{useThemeProps-DqA5BinV.js → useThemeProps-_apS-Aua.js} +2 -2
  193. package/dist/utils/dayjs.js +7 -7
  194. package/dist/utils/logger.js +29 -32
  195. package/dist/{warning-BCwEnWrE.js → warning-DnPRVtW6.js} +4 -4
  196. package/package.json +240 -81
  197. package/README.md +0 -13
  198. package/dist/ButtonBase-DfTfJ_ou.js +0 -1105
  199. package/dist/DefaultPropsProvider-CaCsvQaq.js +0 -78
  200. package/dist/Paper-hkbPWyBT.js +0 -553
  201. package/dist/createSvgIcon-DxwgGAVe.js +0 -247
  202. package/dist/defaultTheme-fEi1x1Gb.js +0 -5
  203. package/dist/extendSxProp-BKWjdW12.js +0 -37
  204. package/dist/mergeSlotProps-Dl_rJtoN.js +0 -62
  205. package/dist/resolveProps-61uUKnlS.js +0 -52
  206. package/dist/styled-B0Z4EDy9.js +0 -206
@@ -1,44 +1,36 @@
1
- import { j as e } from "../jsx-runtime-OVHDjVDe.js";
1
+ import { j as r } from "../jsx-runtime-tc70JA_2.js";
2
2
  import * as f from "react";
3
- import { C as h } from "../Close-BRlEKA2Q.js";
4
- import { Dialog as g, DialogTitle as y, Stack as v, Typography as r, IconButton as b, DialogContent as x, DialogActions as w } from "@mui/material";
5
- const o = f.forwardRef(
3
+ import { C as j } from "../Close-DOHlPcFK.js";
4
+ import { Dialog as m, DialogTitle as h, Stack as g, Typography as n, IconButton as u, DialogContent as y, DialogActions as D } from "@mui/material";
5
+ const w = f.forwardRef(
6
6
  ({
7
- title: a,
8
- content: t,
9
- actions: l,
10
- onClose: n = () => {
7
+ title: s,
8
+ content: e,
9
+ actions: i,
10
+ onClose: o = () => {
11
11
  },
12
- open: s = !1,
13
- maxWidth: d = "sm",
14
- useForm: u = !1,
15
- onSubmit: m = () => {
12
+ open: t = !1,
13
+ maxWidth: l = "sm",
14
+ useForm: c = !1,
15
+ onSubmit: d = () => {
16
16
  },
17
- showClose: c = !0
17
+ showClose: x = !0
18
18
  }, p) => {
19
- const i = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
20
- t && /* @__PURE__ */ e.jsx(x, { ref: p, children: typeof t == "string" ? /* @__PURE__ */ e.jsx(r, { color: "text.secondary", variant: "body2", children: t }) : t }),
21
- l && /* @__PURE__ */ e.jsx(w, { children: l })
19
+ const a = /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
20
+ e && /* @__PURE__ */ r.jsx(y, { ref: p, children: typeof e == "string" ? /* @__PURE__ */ r.jsx(n, { color: "text.secondary", variant: "body2", children: e }) : e }),
21
+ i && /* @__PURE__ */ r.jsx(D, { children: i })
22
22
  ] });
23
- return /* @__PURE__ */ e.jsxs(g, { fullWidth: !0, maxWidth: d, onClose: n, open: s, children: [
24
- a && /* @__PURE__ */ e.jsx(y, { children: /* @__PURE__ */ e.jsxs(v, { direction: "row", spacing: 3, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
25
- typeof a == "string" ? /* @__PURE__ */ e.jsx(r, { variant: "h5", textTransform: "capitalize", children: a }) : /* @__PURE__ */ e.jsx("div", { children: a }),
26
- c && /* @__PURE__ */ e.jsx(b, { onClick: n, children: /* @__PURE__ */ e.jsx(h, {}) })
23
+ return /* @__PURE__ */ r.jsxs(m, { fullWidth: !0, maxWidth: l, onClose: o, open: t, children: [
24
+ s && /* @__PURE__ */ r.jsx(h, { children: /* @__PURE__ */ r.jsxs(g, { direction: "row", spacing: 3, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
25
+ typeof s == "string" ? /* @__PURE__ */ r.jsx(n, { variant: "h5", textTransform: "capitalize", children: s }) : /* @__PURE__ */ r.jsx("div", { children: s }),
26
+ x && /* @__PURE__ */ r.jsx(u, { onClick: o, children: /* @__PURE__ */ r.jsx(j, {}) })
27
27
  ] }) }),
28
- u ? /* @__PURE__ */ e.jsx("form", { onSubmit: m, children: i }) : i
28
+ c ? /* @__PURE__ */ r.jsx("form", { onSubmit: d, children: a }) : a
29
29
  ] });
30
30
  }
31
31
  );
32
- o.displayName = "SDialog";
33
- try {
34
- o.displayName = "SDialog", o.__docgenInfo = { description: "A flexible dialog component that wraps Material-UI Dialog with enhanced form support and customization.", displayName: "SDialog", props: { title: { defaultValue: null, description: "Dialog title - can be string or React element", name: "title", required: !1, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Dialog content - can be string (auto-wrapped in Typography) or React element", name: "content", required: !1, type: { name: "ReactNode" } }, actions: { defaultValue: null, description: "Action buttons rendered in the dialog footer", name: "actions", required: !1, type: { name: "ReactNode" } }, onClose: { defaultValue: { value: "() => {}" }, description: "Callback fired when dialog should close", name: "onClose", required: !1, type: { name: "(() => void)" } }, open: { defaultValue: { value: "false" }, description: "Whether the dialog is open", name: "open", required: !1, type: { name: "boolean" } }, maxWidth: { defaultValue: { value: "sm" }, description: "Maximum width constraint (Material-UI breakpoint)", name: "maxWidth", required: !1, type: { name: "enum", value: [{ value: '"xs"' }, { value: '"sm"' }, { value: '"md"' }, { value: '"lg"' }, { value: '"xl"' }] } }, useForm: { defaultValue: { value: "false" }, description: "Whether to wrap content in a form element", name: "useForm", required: !1, type: { name: "boolean" } }, onSubmit: { defaultValue: { value: "() => {}" }, description: "Form submit handler (only used if useForm is true)", name: "onSubmit", required: !1, type: { name: "(() => void)" } }, showClose: { defaultValue: { value: "true" }, description: "Whether to show the close button in the title bar", name: "showClose", required: !1, type: { name: "boolean" } } } };
35
- } catch {
36
- }
37
- try {
38
- sdialog.displayName = "sdialog", sdialog.__docgenInfo = { description: "A flexible dialog component that wraps Material-UI Dialog with enhanced form support and customization.", displayName: "sdialog", props: { title: { defaultValue: null, description: "Dialog title - can be string or React element", name: "title", required: !1, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Dialog content - can be string (auto-wrapped in Typography) or React element", name: "content", required: !1, type: { name: "ReactNode" } }, actions: { defaultValue: null, description: "Action buttons rendered in the dialog footer", name: "actions", required: !1, type: { name: "ReactNode" } }, onClose: { defaultValue: { value: "() => {}" }, description: "Callback fired when dialog should close", name: "onClose", required: !1, type: { name: "(() => void)" } }, open: { defaultValue: { value: "false" }, description: "Whether the dialog is open", name: "open", required: !1, type: { name: "boolean" } }, maxWidth: { defaultValue: { value: "sm" }, description: "Maximum width constraint (Material-UI breakpoint)", name: "maxWidth", required: !1, type: { name: "enum", value: [{ value: '"xs"' }, { value: '"sm"' }, { value: '"md"' }, { value: '"lg"' }, { value: '"xl"' }] } }, useForm: { defaultValue: { value: "false" }, description: "Whether to wrap content in a form element", name: "useForm", required: !1, type: { name: "boolean" } }, onSubmit: { defaultValue: { value: "() => {}" }, description: "Form submit handler (only used if useForm is true)", name: "onSubmit", required: !1, type: { name: "(() => void)" } }, showClose: { defaultValue: { value: "true" }, description: "Whether to show the close button in the title bar", name: "showClose", required: !1, type: { name: "boolean" } } } };
39
- } catch {
40
- }
32
+ w.displayName = "SDialog";
41
33
  export {
42
- o as SDialog,
43
- o as default
34
+ w as SDialog,
35
+ w as default
44
36
  };
@@ -1,80 +1,76 @@
1
- import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
- import * as i from "react";
3
- import { C as x } from "../Close-BRlEKA2Q.js";
4
- import { Dialog as v, DialogTitle as y, Stack as j, IconButton as b, DialogContent as D, DialogActions as w, Button as u } from "@mui/material";
5
- import { useDialog as V } from "../hooks/use-dialog.js";
6
- import { T as m } from "../Typography-C8jwvSWe.js";
7
- const s = ({
8
- title: o,
1
+ import { j as o } from "../jsx-runtime-tc70JA_2.js";
2
+ import * as r from "react";
3
+ import { C as p } from "../Close-DOHlPcFK.js";
4
+ import { Dialog as j, DialogTitle as D, Stack as v, IconButton as y, DialogContent as b, DialogActions as k, Button as d } from "@mui/material";
5
+ import { useDialog as w } from "../hooks/use-dialog.js";
6
+ import { T as m } from "../Typography-9Kg27dDw.js";
7
+ const f = ({
8
+ title: e,
9
9
  content: n,
10
- onConfirm: l = () => {
10
+ onConfirm: s = () => {
11
11
  },
12
- onClose: a = () => {
12
+ onClose: i = () => {
13
13
  },
14
14
  open: t = !1,
15
- maxWidth: d = "sm",
15
+ maxWidth: a = "sm",
16
16
  showClose: c = !0,
17
- loading: r = !1
18
- }) => /* @__PURE__ */ e.jsxs(v, { fullWidth: !0, maxWidth: d, onClose: a, open: t, children: [
19
- o && /* @__PURE__ */ e.jsx(y, { children: /* @__PURE__ */ e.jsxs(j, { direction: "row", spacing: 3, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
20
- typeof o == "string" ? /* @__PURE__ */ e.jsx(m, { variant: "h5", textTransform: "capitalize", children: o }) : /* @__PURE__ */ e.jsx("div", { children: o }),
21
- c && /* @__PURE__ */ e.jsx(b, { onClick: a, children: /* @__PURE__ */ e.jsx(x, {}) })
17
+ loading: l = !1
18
+ }) => /* @__PURE__ */ o.jsxs(j, { fullWidth: !0, maxWidth: a, onClose: i, open: t, children: [
19
+ e && /* @__PURE__ */ o.jsx(D, { children: /* @__PURE__ */ o.jsxs(v, { direction: "row", spacing: 3, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
20
+ typeof e == "string" ? /* @__PURE__ */ o.jsx(m, { variant: "h5", textTransform: "capitalize", children: e }) : /* @__PURE__ */ o.jsx("div", { children: e }),
21
+ c && /* @__PURE__ */ o.jsx(y, { onClick: i, children: /* @__PURE__ */ o.jsx(p, {}) })
22
22
  ] }) }),
23
- n && /* @__PURE__ */ e.jsx(D, { children: typeof n == "string" ? /* @__PURE__ */ e.jsx(m, { color: "text.secondary", variant: "body2", children: n }) : n }),
24
- /* @__PURE__ */ e.jsx(w, { children: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
25
- /* @__PURE__ */ e.jsx(u, { onClick: a, variant: "outlined", disabled: r, children: "Cancel" }),
26
- /* @__PURE__ */ e.jsx(u, { onClick: l, loading: r, children: "Confirm" })
23
+ n && /* @__PURE__ */ o.jsx(b, { children: typeof n == "string" ? /* @__PURE__ */ o.jsx(m, { color: "text.secondary", variant: "body2", children: n }) : n }),
24
+ /* @__PURE__ */ o.jsx(k, { children: /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
25
+ /* @__PURE__ */ o.jsx(d, { onClick: i, variant: "outlined", disabled: l, children: "Cancel" }),
26
+ /* @__PURE__ */ o.jsx(d, { onClick: s, loading: l, children: "Confirm" })
27
27
  ] }) })
28
28
  ] });
29
- s.displayName = "SDialogConfirm";
30
- const f = i.createContext(null), W = ({ children: o }) => {
31
- const n = V(), [l, a] = i.useState(!1), [t, d] = i.useState({
29
+ f.displayName = "SDialogConfirm";
30
+ const C = r.createContext(null), E = ({ children: e }) => {
31
+ const n = w(), [s, i] = r.useState(!1), [t, a] = r.useState({
32
32
  title: "",
33
33
  content: "",
34
34
  onConfirm: () => {
35
35
  }
36
36
  }), c = {
37
- handleOpen: i.useCallback(
38
- (p) => {
39
- const { title: h, content: C, onConfirm: g } = p;
40
- d({ title: h, content: C, onConfirm: g }), n.handleOpen();
37
+ handleOpen: r.useCallback(
38
+ (x) => {
39
+ const { title: h, content: u, onConfirm: g } = x;
40
+ a({ title: h, content: u, onConfirm: g }), n.handleOpen();
41
41
  },
42
42
  [n]
43
43
  ),
44
44
  handleClose: n.handleClose,
45
45
  open: n.open,
46
- loading: l,
47
- setLoading: a
48
- }, r = () => {
46
+ loading: s,
47
+ setLoading: i
48
+ }, l = () => {
49
49
  t.onConfirm();
50
50
  };
51
- return /* @__PURE__ */ e.jsxs(f.Provider, { value: c, children: [
52
- /* @__PURE__ */ e.jsx(
53
- s,
51
+ return /* @__PURE__ */ o.jsxs(C.Provider, { value: c, children: [
52
+ /* @__PURE__ */ o.jsx(
53
+ f,
54
54
  {
55
55
  open: n.open,
56
- title: t == null ? void 0 : t.title,
57
- content: t == null ? void 0 : t.content,
56
+ title: t?.title,
57
+ content: t?.content,
58
58
  onClose: n.handleClose,
59
- onConfirm: r,
60
- loading: l
59
+ onConfirm: l,
60
+ loading: s
61
61
  }
62
62
  ),
63
- o
63
+ e
64
64
  ] });
65
- }, I = () => {
66
- const o = i.useContext(f);
67
- if (!o)
65
+ }, O = () => {
66
+ const e = r.useContext(C);
67
+ if (!e)
68
68
  throw new Error("useDialogConfirm must be used within a DialogConfirmProvider");
69
- return o;
69
+ return e;
70
70
  };
71
- try {
72
- s.displayName = "SDialogConfirm", s.__docgenInfo = { description: "A confirmation dialog component with Cancel/Confirm actions and loading state support.", displayName: "SDialogConfirm", props: { title: { defaultValue: null, description: "Dialog title - can be string or React element", name: "title", required: !1, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Dialog content - can be string (auto-wrapped in Typography) or React element", name: "content", required: !1, type: { name: "ReactNode" } }, onConfirm: { defaultValue: { value: "() => {}" }, description: "Callback fired when user confirms the action", name: "onConfirm", required: !1, type: { name: "(() => void)" } }, onClose: { defaultValue: { value: "() => {}" }, description: "Callback fired when dialog should close", name: "onClose", required: !1, type: { name: "(() => void)" } }, open: { defaultValue: { value: "false" }, description: "Whether the dialog is open", name: "open", required: !1, type: { name: "boolean" } }, maxWidth: { defaultValue: { value: "sm" }, description: "Maximum width constraint (Material-UI breakpoint)", name: "maxWidth", required: !1, type: { name: "enum", value: [{ value: '"xs"' }, { value: '"sm"' }, { value: '"md"' }, { value: '"lg"' }, { value: '"xl"' }] } }, showClose: { defaultValue: { value: "true" }, description: "Whether to show the close button in the title bar", name: "showClose", required: !1, type: { name: "boolean" } }, loading: { defaultValue: { value: "false" }, description: "Whether the dialog is in loading state (disables buttons)", name: "loading", required: !1, type: { name: "boolean" } } } };
73
- } catch {
74
- }
75
71
  export {
76
- W as DialogConfirmProvider,
77
- s as SDialogConfirm,
78
- s as default,
79
- I as useDialogConfirm
72
+ E as DialogConfirmProvider,
73
+ f as SDialogConfirm,
74
+ f as default,
75
+ O as useDialogConfirm
80
76
  };
@@ -1,71 +1,67 @@
1
- import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
- import * as n from "react";
3
- import { C as h } from "../Close-BRlEKA2Q.js";
4
- import { Dialog as g, DialogTitle as f, Stack as x, IconButton as y, DialogContent as C, DialogActions as v, Button as D } from "@mui/material";
5
- import { useDialog as j } from "../hooks/use-dialog.js";
6
- import { T as d } from "../Typography-C8jwvSWe.js";
7
- const l = ({
8
- title: o,
1
+ import { j as o } from "../jsx-runtime-tc70JA_2.js";
2
+ import * as t from "react";
3
+ import { C as p } from "../Close-DOHlPcFK.js";
4
+ import { Dialog as u, DialogTitle as m, Stack as j, IconButton as C, DialogContent as f, DialogActions as D, Button as M } from "@mui/material";
5
+ import { useDialog as k } from "../hooks/use-dialog.js";
6
+ import { T as c } from "../Typography-9Kg27dDw.js";
7
+ const d = ({
8
+ title: s,
9
9
  content: e,
10
- onClose: a = () => {
10
+ onClose: n = () => {
11
11
  },
12
- onOk: s = () => {
12
+ onOk: a = () => {
13
13
  },
14
14
  open: i = !1,
15
- maxWidth: r = "sm",
16
- showClose: c = !0
17
- }) => /* @__PURE__ */ t.jsxs(g, { fullWidth: !0, maxWidth: r, onClose: a, open: i, children: [
18
- o && /* @__PURE__ */ t.jsx(f, { children: /* @__PURE__ */ t.jsxs(x, { direction: "row", spacing: 3, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
19
- typeof o == "string" ? /* @__PURE__ */ t.jsx(d, { variant: "h5", textTransform: "capitalize", children: o }) : /* @__PURE__ */ t.jsx("div", { children: o }),
20
- c && /* @__PURE__ */ t.jsx(y, { onClick: a, children: /* @__PURE__ */ t.jsx(h, {}) })
15
+ maxWidth: l = "sm",
16
+ showClose: r = !0
17
+ }) => /* @__PURE__ */ o.jsxs(u, { fullWidth: !0, maxWidth: l, onClose: n, open: i, children: [
18
+ s && /* @__PURE__ */ o.jsx(m, { children: /* @__PURE__ */ o.jsxs(j, { direction: "row", spacing: 3, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
19
+ typeof s == "string" ? /* @__PURE__ */ o.jsx(c, { variant: "h5", textTransform: "capitalize", children: s }) : /* @__PURE__ */ o.jsx("div", { children: s }),
20
+ r && /* @__PURE__ */ o.jsx(C, { onClick: n, children: /* @__PURE__ */ o.jsx(p, {}) })
21
21
  ] }) }),
22
- e && /* @__PURE__ */ t.jsx(C, { children: typeof e == "string" ? /* @__PURE__ */ t.jsx(d, { color: "text.secondary", variant: "body2", children: e }) : e }),
23
- /* @__PURE__ */ t.jsx(v, { children: /* @__PURE__ */ t.jsx(D, { onClick: s, children: "Ok" }) })
22
+ e && /* @__PURE__ */ o.jsx(f, { children: typeof e == "string" ? /* @__PURE__ */ o.jsx(c, { color: "text.secondary", variant: "body2", children: e }) : e }),
23
+ /* @__PURE__ */ o.jsx(D, { children: /* @__PURE__ */ o.jsx(M, { onClick: a, children: "Ok" }) })
24
24
  ] });
25
- l.displayName = "SDialogMessage";
26
- const u = n.createContext(null), M = ({ children: o }) => {
27
- const e = j(), [a, s] = n.useState({
25
+ d.displayName = "SDialogMessage";
26
+ const g = t.createContext(null), S = ({ children: s }) => {
27
+ const e = k(), [n, a] = t.useState({
28
28
  title: "",
29
29
  content: "",
30
30
  onOk: e.handleClose
31
31
  // Default to closing dialog
32
32
  }), i = {
33
- handleOpen: n.useCallback(
34
- (r) => {
35
- const { title: c, content: p, onOk: m = e.handleClose } = r;
36
- s({ title: c, content: p, onOk: m }), e.handleOpen();
33
+ handleOpen: t.useCallback(
34
+ (l) => {
35
+ const { title: r, content: h, onOk: x = e.handleClose } = l;
36
+ a({ title: r, content: h, onOk: x }), e.handleOpen();
37
37
  },
38
38
  [e]
39
39
  ),
40
40
  handleClose: e.handleClose,
41
41
  open: e.open
42
42
  };
43
- return /* @__PURE__ */ t.jsxs(u.Provider, { value: i, children: [
44
- /* @__PURE__ */ t.jsx(
45
- l,
43
+ return /* @__PURE__ */ o.jsxs(g.Provider, { value: i, children: [
44
+ /* @__PURE__ */ o.jsx(
45
+ d,
46
46
  {
47
47
  open: e.open,
48
- title: a == null ? void 0 : a.title,
49
- content: a == null ? void 0 : a.content,
48
+ title: n?.title,
49
+ content: n?.content,
50
50
  onClose: e.handleClose,
51
- onOk: a == null ? void 0 : a.onOk
51
+ onOk: n?.onOk
52
52
  }
53
53
  ),
54
- o
54
+ s
55
55
  ] });
56
- }, V = () => {
57
- const o = n.useContext(u);
58
- if (!o)
56
+ }, T = () => {
57
+ const s = t.useContext(g);
58
+ if (!s)
59
59
  throw new Error("useDialogMessage must be used within a DialogMessageProvider");
60
- return o;
60
+ return s;
61
61
  };
62
- try {
63
- l.displayName = "SDialogMessage", l.__docgenInfo = { description: "A simple message dialog component for displaying informational messages that require user acknowledgment.", displayName: "SDialogMessage", props: { title: { defaultValue: null, description: "Dialog title - can be string or React element", name: "title", required: !1, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Dialog content - can be string (auto-wrapped in Typography) or React element", name: "content", required: !1, type: { name: "ReactNode" } }, onClose: { defaultValue: { value: "() => {}" }, description: "Callback fired when dialog should close", name: "onClose", required: !1, type: { name: "(() => void)" } }, onOk: { defaultValue: { value: "() => {}" }, description: "Callback fired when user clicks OK button", name: "onOk", required: !1, type: { name: "(() => void)" } }, open: { defaultValue: { value: "false" }, description: "Whether the dialog is open", name: "open", required: !1, type: { name: "boolean" } }, maxWidth: { defaultValue: { value: "sm" }, description: "Maximum width constraint (Material-UI breakpoint)", name: "maxWidth", required: !1, type: { name: "enum", value: [{ value: '"xs"' }, { value: '"sm"' }, { value: '"md"' }, { value: '"lg"' }, { value: '"xl"' }] } }, showClose: { defaultValue: { value: "true" }, description: "Whether to show the close button in the title bar", name: "showClose", required: !1, type: { name: "boolean" } } } };
64
- } catch {
65
- }
66
62
  export {
67
- M as DialogMessageProvider,
68
- l as SDialogMessage,
69
- l as default,
70
- V as useDialogMessage
63
+ S as DialogMessageProvider,
64
+ d as SDialogMessage,
65
+ d as default,
66
+ T as useDialogMessage
71
67
  };
@@ -1,16 +1,8 @@
1
- import { j as a } from "../jsx-runtime-OVHDjVDe.js";
2
- import { Typography as s } from "@mui/material";
3
- const e = ({ title: t }) => /* @__PURE__ */ a.jsx(s, { variant: "body2", color: "text.secondary", my: 3, children: t || "No data available." });
4
- e.displayName = "SEmpty";
5
- try {
6
- e.displayName = "SEmpty", e.__docgenInfo = { description: "A simple component for displaying empty states in lists, tables, or data containers.", displayName: "SEmpty", props: { title: { defaultValue: null, description: "Custom text to display (defaults to 'No data available.')", name: "title", required: !1, type: { name: "string" } } } };
7
- } catch {
8
- }
9
- try {
10
- sempty.displayName = "sempty", sempty.__docgenInfo = { description: "A simple component for displaying empty states in lists, tables, or data containers.", displayName: "sempty", props: { title: { defaultValue: null, description: "Custom text to display (defaults to 'No data available.')", name: "title", required: !1, type: { name: "string" } } } };
11
- } catch {
12
- }
1
+ import { j as t } from "../jsx-runtime-tc70JA_2.js";
2
+ import { Typography as o } from "@mui/material";
3
+ const r = ({ title: a }) => /* @__PURE__ */ t.jsx(o, { variant: "body2", color: "text.secondary", my: 3, children: a || "No data available." });
4
+ r.displayName = "SEmpty";
13
5
  export {
14
- e as SEmpty,
15
- e as default
6
+ r as SEmpty,
7
+ r as default
16
8
  };
@@ -1,8 +1,8 @@
1
- import { j as r } from "../jsx-runtime-OVHDjVDe.js";
2
- import { Stack as a, Box as s, Typography as o } from "@mui/material";
3
- const e = () => /* @__PURE__ */ r.jsxs(a, { alignItems: "center", gap: 2, children: [
1
+ import { j as r } from "../jsx-runtime-tc70JA_2.js";
2
+ import { Stack as t, Box as a, Typography as e } from "@mui/material";
3
+ const o = () => /* @__PURE__ */ r.jsxs(t, { alignItems: "center", gap: 2, children: [
4
4
  /* @__PURE__ */ r.jsx(
5
- s,
5
+ a,
6
6
  {
7
7
  alt: "Internal server error",
8
8
  component: "img",
@@ -10,19 +10,11 @@ const e = () => /* @__PURE__ */ r.jsxs(a, { alignItems: "center", gap: 2, childr
10
10
  sx: { height: "auto", maxWidth: "100%", width: "100px" }
11
11
  }
12
12
  ),
13
- /* @__PURE__ */ r.jsx(o, { variant: "h5", children: "500: Internal server error" }),
14
- /* @__PURE__ */ r.jsx(o, { variant: "body2", children: "We're sorry, but we encountered an error while trying to load the content. Please try again later." })
13
+ /* @__PURE__ */ r.jsx(e, { variant: "h5", children: "500: Internal server error" }),
14
+ /* @__PURE__ */ r.jsx(e, { variant: "body2", children: "We're sorry, but we encountered an error while trying to load the content. Please try again later." })
15
15
  ] });
16
- e.displayName = "SError";
17
- try {
18
- e.displayName = "SError", e.__docgenInfo = { description: "A standardized error display component for 500 Internal Server Error states.", displayName: "SError", props: {} };
19
- } catch {
20
- }
21
- try {
22
- serror.displayName = "serror", serror.__docgenInfo = { description: "A standardized error display component for 500 Internal Server Error states.", displayName: "serror", props: {} };
23
- } catch {
24
- }
16
+ o.displayName = "SError";
25
17
  export {
26
- e as SError,
27
- e as default
18
+ o as SError,
19
+ o as default
28
20
  };
@@ -1,34 +1,33 @@
1
- import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
- import { Box as t, Container as _, Stack as u, Typography as o, Button as w } from "@mui/material";
3
- import "../s-lazy-image/index.js";
4
- import A from "../s-lazy-image/s-lazy-image.js";
5
- const n = ({
1
+ import { j as e } from "../jsx-runtime-tc70JA_2.js";
2
+ import { Box as r, Container as w, Stack as i, Typography as l, Button as z } from "@mui/material";
3
+ import D from "../s-lazy-image/s-lazy-image.js";
4
+ const N = ({
6
5
  imageSrc: a,
7
- imageAlt: s,
8
- title: d,
9
- description: m,
10
- buttonText: l,
11
- imageWidth: p = "200px",
12
- imageHeight: c = "auto",
13
- maxWidth: f = "lg",
6
+ imageAlt: o,
7
+ title: x,
8
+ description: c,
9
+ buttonText: n,
10
+ imageWidth: d = "200px",
11
+ imageHeight: j = "auto",
12
+ maxWidth: y = "lg",
14
13
  height: h = "100vh",
15
- py: y = 8,
16
- spacing: v = 6,
17
- titleVariant: g = "h4",
18
- descriptionVariant: x = "body1",
19
- buttonVariant: b = "contained",
20
- buttonColor: V = "primary",
21
- containerSx: S,
22
- imageContainerSx: q,
23
- contentSx: C,
24
- titleSx: D,
25
- descriptionSx: P,
26
- buttonContainerSx: r,
27
- buttonProps: T,
28
- hideImage: j = !1,
29
- customActions: i
14
+ py: p = 8,
15
+ spacing: f = 6,
16
+ titleVariant: m = "h4",
17
+ descriptionVariant: u = "body1",
18
+ buttonVariant: g = "contained",
19
+ buttonColor: v = "primary",
20
+ containerSx: C,
21
+ imageContainerSx: E,
22
+ contentSx: L,
23
+ titleSx: S,
24
+ descriptionSx: B,
25
+ buttonContainerSx: t,
26
+ buttonProps: I,
27
+ hideImage: k = !1,
28
+ customActions: s
30
29
  }) => /* @__PURE__ */ e.jsx(
31
- t,
30
+ r,
32
31
  {
33
32
  component: "main",
34
33
  sx: {
@@ -36,30 +35,22 @@ const n = ({
36
35
  display: "flex",
37
36
  flexDirection: "column",
38
37
  justifyContent: "center",
39
- py: y,
38
+ py: p,
40
39
  height: h,
41
- ...S
40
+ ...C
42
41
  },
43
- children: /* @__PURE__ */ e.jsx(_, { maxWidth: f, children: /* @__PURE__ */ e.jsxs(u, { spacing: v, children: [
44
- !j && /* @__PURE__ */ e.jsx(t, { sx: { display: "flex", justifyContent: "center", ...q }, children: /* @__PURE__ */ e.jsx(A, { src: a, alt: s, width: p, height: c }) }),
45
- /* @__PURE__ */ e.jsxs(u, { spacing: 1, sx: { textAlign: "center", ...C }, children: [
46
- /* @__PURE__ */ e.jsx(o, { variant: g, sx: D, children: d }),
47
- /* @__PURE__ */ e.jsx(o, { variant: x, color: "text.secondary", sx: P, children: m })
42
+ children: /* @__PURE__ */ e.jsx(w, { maxWidth: y, children: /* @__PURE__ */ e.jsxs(i, { spacing: f, children: [
43
+ !k && /* @__PURE__ */ e.jsx(r, { sx: { display: "flex", justifyContent: "center", ...E }, children: /* @__PURE__ */ e.jsx(D, { src: a, alt: o, width: d, height: j }) }),
44
+ /* @__PURE__ */ e.jsxs(i, { spacing: 1, sx: { textAlign: "center", ...L }, children: [
45
+ /* @__PURE__ */ e.jsx(l, { variant: m, sx: S, children: x }),
46
+ /* @__PURE__ */ e.jsx(l, { variant: u, color: "text.secondary", sx: B, children: c })
48
47
  ] }),
49
- i ? /* @__PURE__ */ e.jsx(t, { sx: { display: "flex", justifyContent: "center", ...r }, children: i }) : l ? /* @__PURE__ */ e.jsx(t, { sx: { display: "flex", justifyContent: "center", ...r }, children: /* @__PURE__ */ e.jsx(w, { variant: b, color: V, ...T, children: l }) }) : null
48
+ s ? /* @__PURE__ */ e.jsx(r, { sx: { display: "flex", justifyContent: "center", ...t }, children: s }) : n ? /* @__PURE__ */ e.jsx(r, { sx: { display: "flex", justifyContent: "center", ...t }, children: /* @__PURE__ */ e.jsx(z, { variant: g, color: v, ...I, children: n }) }) : null
50
49
  ] }) })
51
50
  }
52
51
  );
53
- n.displayName = "SErrorLayout";
54
- try {
55
- n.displayName = "SErrorLayout", n.__docgenInfo = { description: "A full-screen error layout component for displaying error pages with customizable content and styling.", displayName: "SErrorLayout", props: { imageSrc: { defaultValue: null, description: "Source URL for the error image", name: "imageSrc", required: !0, type: { name: "string" } }, imageAlt: { defaultValue: null, description: "Alt text for the error image", name: "imageAlt", required: !0, type: { name: "string" } }, title: { defaultValue: null, description: "Main error title text", name: "title", required: !0, type: { name: "string" } }, description: { defaultValue: null, description: "Error description text", name: "description", required: !0, type: { name: "ReactNode" } }, buttonText: { defaultValue: null, description: "Text for the action button. If not provided, button will not be shown", name: "buttonText", required: !1, type: { name: "string" } }, imageWidth: { defaultValue: { value: "200px" }, description: "Image width. Default: '200px'", name: "imageWidth", required: !1, type: { name: "string | number" } }, imageHeight: { defaultValue: { value: "auto" }, description: "Image height. Default: 'auto'", name: "imageHeight", required: !1, type: { name: "string | number" } }, maxWidth: { defaultValue: { value: "lg" }, description: "Container max width. Default: 'lg'", name: "maxWidth", required: !1, type: { name: 'false | "xs" | "sm" | "md" | "lg" | "xl"' } }, height: { defaultValue: { value: "100vh" }, description: "Main container height. Default: '100vh'", name: "height", required: !1, type: { name: "string | number" } }, py: { defaultValue: { value: "8" }, description: "Vertical padding. Default: 8 (64px)", name: "py", required: !1, type: { name: "string | number" } }, spacing: { defaultValue: { value: "6" }, description: "Spacing between elements. Default: 6", name: "spacing", required: !1, type: { name: "number" } }, titleVariant: { defaultValue: { value: "h4" }, description: "Title typography variant. Default: 'h4'", name: "titleVariant", required: !1, type: { name: "enum", value: [{ value: '"button"' }, { value: '"caption"' }, { value: '"h1"' }, { value: '"h2"' }, { value: '"h3"' }, { value: '"h4"' }, { value: '"h5"' }, { value: '"h6"' }, { value: '"inherit"' }, { value: '"body2"' }, { value: '"body1"' }, { value: '"subtitle1"' }, { value: '"subtitle2"' }, { value: '"overline"' }] } }, descriptionVariant: { defaultValue: { value: "body1" }, description: "Description typography variant. Default: 'body1'", name: "descriptionVariant", required: !1, type: { name: "enum", value: [{ value: '"button"' }, { value: '"caption"' }, { value: '"h1"' }, { value: '"h2"' }, { value: '"h3"' }, { value: '"h4"' }, { value: '"h5"' }, { value: '"h6"' }, { value: '"inherit"' }, { value: '"body2"' }, { value: '"body1"' }, { value: '"subtitle1"' }, { value: '"subtitle2"' }, { value: '"overline"' }] } }, buttonVariant: { defaultValue: { value: "contained" }, description: "Button variant. Default: 'contained'", name: "buttonVariant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"outlined"' }, { value: '"contained"' }] } }, buttonColor: { defaultValue: { value: "primary" }, description: "Button color. Default: 'primary'", name: "buttonColor", required: !1, type: { name: "enum", value: [{ value: '"inherit"' }, { value: '"error"' }, { value: '"primary"' }, { value: '"secondary"' }, { value: '"info"' }, { value: '"success"' }, { value: '"warning"' }] } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, imageContainerSx: { defaultValue: null, description: "Custom styles for the image container", name: "imageContainerSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content stack", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, titleSx: { defaultValue: null, description: "Custom styles for the title", name: "titleSx", required: !1, type: { name: "SxProps<Theme>" } }, descriptionSx: { defaultValue: null, description: "Custom styles for the description", name: "descriptionSx", required: !1, type: { name: "SxProps<Theme>" } }, buttonContainerSx: { defaultValue: null, description: "Custom styles for the button container", name: "buttonContainerSx", required: !1, type: { name: "SxProps<Theme>" } }, buttonProps: { defaultValue: null, description: "Additional button props", name: "buttonProps", required: !1, type: { name: "Partial<ButtonProps>" } }, hideImage: { defaultValue: { value: "false" }, description: "Hide image. Default: false", name: "hideImage", required: !1, type: { name: "boolean" } }, customActions: { defaultValue: null, description: "Custom content to render instead of the button", name: "customActions", required: !1, type: { name: "ReactNode" } } } };
56
- } catch {
57
- }
58
- try {
59
- serrorlayout.displayName = "serrorlayout", serrorlayout.__docgenInfo = { description: "A full-screen error layout component for displaying error pages with customizable content and styling.", displayName: "serrorlayout", props: { imageSrc: { defaultValue: null, description: "Source URL for the error image", name: "imageSrc", required: !0, type: { name: "string" } }, imageAlt: { defaultValue: null, description: "Alt text for the error image", name: "imageAlt", required: !0, type: { name: "string" } }, title: { defaultValue: null, description: "Main error title text", name: "title", required: !0, type: { name: "string" } }, description: { defaultValue: null, description: "Error description text", name: "description", required: !0, type: { name: "ReactNode" } }, buttonText: { defaultValue: null, description: "Text for the action button. If not provided, button will not be shown", name: "buttonText", required: !1, type: { name: "string" } }, imageWidth: { defaultValue: { value: "200px" }, description: "Image width. Default: '200px'", name: "imageWidth", required: !1, type: { name: "string | number" } }, imageHeight: { defaultValue: { value: "auto" }, description: "Image height. Default: 'auto'", name: "imageHeight", required: !1, type: { name: "string | number" } }, maxWidth: { defaultValue: { value: "lg" }, description: "Container max width. Default: 'lg'", name: "maxWidth", required: !1, type: { name: 'false | "xs" | "sm" | "md" | "lg" | "xl"' } }, height: { defaultValue: { value: "100vh" }, description: "Main container height. Default: '100vh'", name: "height", required: !1, type: { name: "string | number" } }, py: { defaultValue: { value: "8" }, description: "Vertical padding. Default: 8 (64px)", name: "py", required: !1, type: { name: "string | number" } }, spacing: { defaultValue: { value: "6" }, description: "Spacing between elements. Default: 6", name: "spacing", required: !1, type: { name: "number" } }, titleVariant: { defaultValue: { value: "h4" }, description: "Title typography variant. Default: 'h4'", name: "titleVariant", required: !1, type: { name: "enum", value: [{ value: '"button"' }, { value: '"caption"' }, { value: '"h1"' }, { value: '"h2"' }, { value: '"h3"' }, { value: '"h4"' }, { value: '"h5"' }, { value: '"h6"' }, { value: '"inherit"' }, { value: '"body2"' }, { value: '"body1"' }, { value: '"subtitle1"' }, { value: '"subtitle2"' }, { value: '"overline"' }] } }, descriptionVariant: { defaultValue: { value: "body1" }, description: "Description typography variant. Default: 'body1'", name: "descriptionVariant", required: !1, type: { name: "enum", value: [{ value: '"button"' }, { value: '"caption"' }, { value: '"h1"' }, { value: '"h2"' }, { value: '"h3"' }, { value: '"h4"' }, { value: '"h5"' }, { value: '"h6"' }, { value: '"inherit"' }, { value: '"body2"' }, { value: '"body1"' }, { value: '"subtitle1"' }, { value: '"subtitle2"' }, { value: '"overline"' }] } }, buttonVariant: { defaultValue: { value: "contained" }, description: "Button variant. Default: 'contained'", name: "buttonVariant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"outlined"' }, { value: '"contained"' }] } }, buttonColor: { defaultValue: { value: "primary" }, description: "Button color. Default: 'primary'", name: "buttonColor", required: !1, type: { name: "enum", value: [{ value: '"inherit"' }, { value: '"error"' }, { value: '"primary"' }, { value: '"secondary"' }, { value: '"info"' }, { value: '"success"' }, { value: '"warning"' }] } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, imageContainerSx: { defaultValue: null, description: "Custom styles for the image container", name: "imageContainerSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content stack", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, titleSx: { defaultValue: null, description: "Custom styles for the title", name: "titleSx", required: !1, type: { name: "SxProps<Theme>" } }, descriptionSx: { defaultValue: null, description: "Custom styles for the description", name: "descriptionSx", required: !1, type: { name: "SxProps<Theme>" } }, buttonContainerSx: { defaultValue: null, description: "Custom styles for the button container", name: "buttonContainerSx", required: !1, type: { name: "SxProps<Theme>" } }, buttonProps: { defaultValue: null, description: "Additional button props", name: "buttonProps", required: !1, type: { name: "Partial<ButtonProps>" } }, hideImage: { defaultValue: { value: "false" }, description: "Hide image. Default: false", name: "hideImage", required: !1, type: { name: "boolean" } }, customActions: { defaultValue: null, description: "Custom content to render instead of the button", name: "customActions", required: !1, type: { name: "ReactNode" } } } };
60
- } catch {
61
- }
52
+ N.displayName = "SErrorLayout";
62
53
  export {
63
- n as SErrorLayout,
64
- n as default
54
+ N as SErrorLayout,
55
+ N as default
65
56
  };