@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.
- package/dist/{ArrowUpward-DhTFpzoh.js → ArrowUpward-CEeqSc-C.js} +2 -2
- package/dist/{Box-Ha0cQ4KO.js → Box-CE3rycd-.js} +5 -5
- package/dist/ButtonBase-C_YYB9Ry.js +1099 -0
- package/dist/{ChevronLeft-CBuFk2Fh.js → ChevronLeft-6gdh4lRt.js} +2 -2
- package/dist/{ChevronRight-CnDWPrOm.js → ChevronRight-CC3l-wPC.js} +2 -2
- package/dist/{Close-BRlEKA2Q.js → Close-DOHlPcFK.js} +2 -2
- package/dist/{ContentCopy-7nFBtjhs.js → ContentCopy-2xxDThyB.js} +2 -2
- package/dist/DefaultPropsProvider-sk0uWcA6.js +64 -0
- package/dist/{Download-UsLvGg3y.js → Download-Chao5NQl.js} +2 -2
- package/dist/{ExpandMore-DTWX_mHf.js → ExpandMore-DIGPB4Mj.js} +2 -2
- package/dist/{Favorite-DS5Gpq2s.js → Favorite-wp65zwWq.js} +2 -2
- package/dist/{Menu-CWq-a1Wz.js → Menu-DZYzE2Mg.js} +908 -906
- package/dist/{MenuItem-DY_qFSPR.js → MenuItem-BXiIhfBS.js} +26 -25
- package/dist/Paper-DnctZB5U.js +689 -0
- package/dist/{Select-DabtQlJT.js → Select-DY7XGVsv.js} +2152 -2115
- package/dist/{Stack-Cq2r2NmC.js → Stack-BScsuyQy.js} +6 -6
- package/dist/{Typography-C8jwvSWe.js → Typography-9Kg27dDw.js} +84 -86
- package/dist/{_commonjsHelpers-B4e78b8K.js → _commonjsHelpers-ByX85dGu.js} +18 -13
- package/dist/assets/s-overlay-scrollbar.css +1 -9
- package/dist/createSvgIcon-BKymXuBG.js +242 -0
- package/dist/{createTheme-3Wd3hHrj.js → createTheme-f5g1s6ww.js} +859 -906
- package/dist/defaultTheme-LSr-S9un.js +5 -0
- package/dist/entries/carousel.d.ts +10 -0
- package/dist/entries/carousel.js +4 -0
- package/dist/entries/chat.d.ts +9 -0
- package/dist/entries/chat.js +4 -0
- package/dist/entries/code.d.ts +9 -0
- package/dist/entries/code.js +4 -0
- package/dist/entries/core.d.ts +100 -0
- package/dist/entries/core.js +122 -0
- package/dist/entries/dates.d.ts +16 -0
- package/dist/entries/dates.js +12 -0
- package/dist/entries/dropzone.d.ts +9 -0
- package/dist/entries/dropzone.js +4 -0
- package/dist/entries/editor.d.ts +12 -0
- package/dist/entries/editor.js +4 -0
- package/dist/entries/gallery.d.ts +17 -0
- package/dist/entries/gallery.js +13 -0
- package/dist/entries/i18n.d.ts +13 -0
- package/dist/entries/i18n.js +8 -0
- package/dist/entries/motion.d.ts +29 -0
- package/dist/entries/motion.js +28 -0
- package/dist/entries/scrollbar.d.ts +9 -0
- package/dist/entries/scrollbar.js +4 -0
- package/dist/entries/stripe.d.ts +10 -0
- package/dist/entries/stripe.js +10 -0
- package/dist/extendSxProp-DitxZ8We.js +36 -0
- package/dist/hooks/index.js +8 -9
- package/dist/hooks/use-is-passed-position.js +10 -10
- package/dist/{index-BGvzecIA.js → index-D3G5Rwl-.js} +0 -7
- package/dist/{index-CfKHZ86U.js → index-DtYP8YE7.js} +12 -13
- package/dist/{jsx-runtime-OVHDjVDe.js → jsx-runtime-tc70JA_2.js} +108 -128
- package/dist/main.d.ts +29 -145
- package/dist/main.js +187 -187
- package/dist/mergeSlotProps-CuzBQdlp.js +62 -0
- package/dist/resolveProps-BDH0VJjn.js +39 -0
- package/dist/s-accordion/package.json +5 -5
- package/dist/s-accordion/s-accordion.js +374 -358
- package/dist/s-action-overlay/package.json +5 -5
- package/dist/s-action-overlay/s-action-overlay.js +64 -79
- package/dist/s-ai-tool-bar/package.json +5 -5
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +260 -275
- package/dist/s-autocomplete/s-autocomplete.js +19 -25
- package/dist/s-avatar/package.json +5 -5
- package/dist/s-avatar/s-avatar.js +14 -25
- package/dist/s-blur-text/package.json +5 -5
- package/dist/s-blur-text/s-blur-text.js +55 -59
- package/dist/s-breadcrumbs/package.json +5 -5
- package/dist/s-breadcrumbs/s-breadcrumbs.js +31 -39
- package/dist/s-button/package.json +5 -5
- package/dist/s-button/s-button.js +7 -15
- package/dist/s-button-link/s-button-link.js +28 -36
- package/dist/s-carousel/package.json +4 -4
- package/dist/s-carousel/s-carousel.js +267 -280
- package/dist/s-category-card/package.json +4 -4
- package/dist/s-category-card/s-category-card.js +60 -77
- package/dist/s-chat-input/package.json +5 -5
- package/dist/s-chat-input/s-chat-input.js +84 -92
- package/dist/s-chat-message/s-chat-message.js +111 -120
- package/dist/s-checkbox/s-checkbox.js +12 -20
- package/dist/s-chip/package.json +5 -5
- package/dist/s-chip/s-chip.js +7 -15
- package/dist/s-chips/s-chips.js +47 -56
- package/dist/s-code-block/package.json +5 -5
- package/dist/s-code-block/s-code-block.js +35 -43
- package/dist/s-comment-message/package.json +5 -5
- package/dist/s-comment-message/s-comment-message.js +90 -94
- package/dist/s-copyable-text/s-copyable-text.js +24 -32
- package/dist/s-countdown/s-count-box.js +42 -50
- package/dist/s-countdown/s-count-down.js +79 -107
- package/dist/s-data-table/s-data-table.js +374 -384
- package/dist/s-date-picker/s-date-picker.js +164 -164
- package/dist/s-datetime-picker/s-datetime-picker.js +1599 -1603
- package/dist/s-dialog/s-dialog.js +24 -32
- package/dist/s-dialog-confirm/s-dialog-confirm.js +46 -50
- package/dist/s-dialog-message/s-dialog-message.js +40 -44
- package/dist/s-empty/s-empty.js +6 -14
- package/dist/s-error/s-error.js +9 -17
- package/dist/s-error-layout/s-error-layout.js +38 -47
- package/dist/s-file-dropzone/s-file-dropzone.js +55 -64
- package/dist/s-file-icon/s-file-icon.js +9 -13
- package/dist/s-flex-box/s-flex-box.js +6 -14
- package/dist/s-form/s-form.js +11 -19
- package/dist/s-gallery/index.js +3 -33
- package/dist/s-gallery/s-gallery.js +91 -114
- package/dist/s-glow-button/s-glow-button.js +22 -26
- package/dist/s-gradient-icon/s-gradient-icon.js +49 -59
- package/dist/s-i18n-provider/s-i18n-provider.js +17 -25
- package/dist/s-icon-button/s-icon-button.js +6 -14
- package/dist/s-image-comparison/package.json +5 -5
- package/dist/s-image-comparison/s-image-comparison.js +48 -53
- package/dist/s-image-modal/package.json +5 -5
- package/dist/s-image-modal/s-image-modal.js +137 -150
- package/dist/s-item-not-found/s-item-not-found.js +13 -22
- package/dist/s-label/s-label.js +12 -20
- package/dist/s-language-switcher/s-language-switcher.js +119 -141
- package/dist/s-lazy-image/index.js +2 -10
- package/dist/s-lazy-image/s-lazy-image.js +33 -37
- package/dist/s-localization-provider/s-localization-provider.js +368 -380
- package/dist/s-moving-border/s-moving-border.js +52 -67
- package/dist/s-multi-select/s-multi-select.js +43 -51
- package/dist/s-no-ssr/s-no-ssr.js +13 -21
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +12 -16
- package/dist/s-pagination/s-pagination.js +13 -17
- package/dist/s-pixel-reveal/package.json +5 -5
- package/dist/s-pixel-reveal/s-pixel-reveal.js +92 -99
- package/dist/s-radial-pulse-animate/package.json +5 -5
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +40 -48
- package/dist/s-rating/package.json +5 -5
- package/dist/s-rating/s-rating.js +7 -15
- package/dist/s-review/package.json +5 -5
- package/dist/s-review/s-review.js +101 -106
- package/dist/s-scroll-reveal/package.json +5 -5
- package/dist/s-scroll-reveal/s-scroll-reveal.js +40 -48
- package/dist/s-scroll-to-top/package.json +5 -5
- package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -30
- package/dist/s-scroll-velocity/package.json +5 -5
- package/dist/s-scroll-velocity/s-scroll-velocity.js +5 -19
- package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -27
- package/dist/s-scroll-velocity/scroll-velocity-row.js +62 -71
- package/dist/s-select/s-select.js +67 -75
- package/dist/s-select-list/s-select-list.js +28 -32
- package/dist/s-skeleton/s-skeleton.js +20 -28
- package/dist/s-snackbar-message/s-snackbar-message.js +36 -40
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +31 -35
- package/dist/s-stripe/s-stripe-cvc.js +8 -12
- package/dist/s-stripe/s-stripe-expiry.js +8 -12
- package/dist/s-stripe/s-stripe-number.js +8 -12
- package/dist/s-stripe/s-stripe.d.ts +2 -2
- package/dist/s-stripe/s-stripe.js +17 -26
- package/dist/s-stripe/stripe-input.js +25 -29
- package/dist/s-tabs/package.json +3 -3
- package/dist/s-tabs/s-tab-panel.js +17 -25
- package/dist/s-tabs/s-tab.js +5 -9
- package/dist/s-tabs/s-tabs.js +19 -27
- package/dist/s-text-editor/s-text-editor-toolbar.js +73 -88
- package/dist/s-text-editor/s-text-editor.js +33 -45
- package/dist/s-text-field/s-text-field.js +31 -40
- package/dist/s-text-shimmer/package.json +4 -4
- package/dist/s-text-shimmer/s-text-shimmer.js +19 -27
- package/dist/s-text-truncation/s-text-truncation.js +24 -32
- package/dist/s-theme-demo/package.json +5 -5
- package/dist/s-theme-demo/s-theme-demo.js +219 -234
- package/dist/s-theme-provider/s-theme-provider.js +37 -45
- package/dist/s-theme-switch/package.json +4 -4
- package/dist/s-theme-switch/s-theme-switch.js +19 -23
- package/dist/s-tip/s-tip.js +14 -22
- package/dist/s-two-pane-layout/index.js +2 -10
- package/dist/s-two-pane-layout/s-two-pane-layout.js +47 -55
- package/dist/s-typewriter-text/package.json +5 -5
- package/dist/s-typewriter-text/s-typewriter-text.js +27 -35
- package/dist/s-zoom-image/index.js +2 -10
- package/dist/s-zoom-image/package.json +5 -5
- package/dist/s-zoom-image/s-zoom-image.js +53 -62
- package/dist/styled-B0KflPi-.js +203 -0
- package/dist/theme/components/alert.d.ts +484 -264
- package/dist/theme/components/avatar.js +2 -2
- package/dist/theme/components/button.d.ts +726 -396
- package/dist/theme/components/chip.js +2 -2
- package/dist/theme/components/icon-button.d.ts +726 -396
- package/dist/theme/customizations/data-display.js +1 -1
- package/dist/theme/customizations/inputs.js +2 -2
- package/dist/theme/customizations/navigation.js +2 -2
- package/dist/theme/theme-primitives.d.ts +8 -246
- package/dist/theme/theme-primitives.js +76 -87
- package/dist/{typographyClasses-DDyl9mok.js → typographyClasses-C7fhAsUD.js} +4 -4
- package/dist/{useMobilePicker-C1RZZUWr.js → useMobilePicker-C4AYe0Ch.js} +11249 -11231
- package/dist/{useTheme-B5czKfC4.js → useTheme-CtdhfT4P.js} +1 -1
- package/dist/{useThemeProps-DqA5BinV.js → useThemeProps-_apS-Aua.js} +2 -2
- package/dist/utils/dayjs.js +7 -7
- package/dist/utils/logger.js +29 -32
- package/dist/{warning-BCwEnWrE.js → warning-DnPRVtW6.js} +4 -4
- package/package.json +240 -81
- package/README.md +0 -13
- package/dist/ButtonBase-DfTfJ_ou.js +0 -1105
- package/dist/DefaultPropsProvider-CaCsvQaq.js +0 -78
- package/dist/Paper-hkbPWyBT.js +0 -553
- package/dist/createSvgIcon-DxwgGAVe.js +0 -247
- package/dist/defaultTheme-fEi1x1Gb.js +0 -5
- package/dist/extendSxProp-BKWjdW12.js +0 -37
- package/dist/mergeSlotProps-Dl_rJtoN.js +0 -62
- package/dist/resolveProps-61uUKnlS.js +0 -52
- package/dist/styled-B0Z4EDy9.js +0 -206
|
@@ -1,66 +1,62 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
3
|
-
import { Snackbar as
|
|
4
|
-
import { useDialog as
|
|
5
|
-
const
|
|
6
|
-
message:
|
|
1
|
+
import { j as r } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { Snackbar as S, Alert as h } from "@mui/material";
|
|
4
|
+
import { useDialog as x } from "../hooks/use-dialog.js";
|
|
5
|
+
const c = ({
|
|
6
|
+
message: s,
|
|
7
7
|
onClose: e = () => {
|
|
8
8
|
},
|
|
9
|
-
open:
|
|
10
|
-
snackbarProps:
|
|
11
|
-
alertProps:
|
|
12
|
-
}) => /* @__PURE__ */
|
|
13
|
-
|
|
9
|
+
open: n = !1,
|
|
10
|
+
snackbarProps: t,
|
|
11
|
+
alertProps: o
|
|
12
|
+
}) => /* @__PURE__ */ r.jsx(
|
|
13
|
+
S,
|
|
14
14
|
{
|
|
15
|
-
open:
|
|
15
|
+
open: n,
|
|
16
16
|
autoHideDuration: 1e4,
|
|
17
17
|
onClose: e,
|
|
18
18
|
anchorOrigin: { vertical: "top", horizontal: "center" },
|
|
19
|
-
...
|
|
20
|
-
children: /* @__PURE__ */
|
|
19
|
+
...t,
|
|
20
|
+
children: /* @__PURE__ */ r.jsx(h, { onClose: e, severity: "info", sx: { width: "100%" }, ...o, children: s })
|
|
21
21
|
}
|
|
22
22
|
);
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
const e =
|
|
23
|
+
c.displayName = "SSnackbarMessage";
|
|
24
|
+
const l = a.createContext(null), C = ({ children: s }) => {
|
|
25
|
+
const e = x(), [n, t] = a.useState({
|
|
26
26
|
message: ""
|
|
27
|
-
}), [
|
|
28
|
-
handleOpen:
|
|
29
|
-
({ snackbarMessageOptions:
|
|
30
|
-
const { message:
|
|
31
|
-
|
|
27
|
+
}), [o, i] = a.useState({}), [p, u] = a.useState({}), g = {
|
|
28
|
+
handleOpen: a.useCallback(
|
|
29
|
+
({ snackbarMessageOptions: d, snackbarProps: b = {}, alertProps: m = {} }) => {
|
|
30
|
+
const { message: k } = d || { message: "" };
|
|
31
|
+
t({ message: k }), i(b), u(m), e.handleOpen();
|
|
32
32
|
},
|
|
33
33
|
[e]
|
|
34
34
|
),
|
|
35
35
|
handleClose: e.handleClose,
|
|
36
36
|
open: e.open
|
|
37
37
|
};
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
|
|
38
|
+
return /* @__PURE__ */ r.jsxs(l.Provider, { value: g, children: [
|
|
39
|
+
/* @__PURE__ */ r.jsx(
|
|
40
|
+
c,
|
|
41
41
|
{
|
|
42
42
|
open: e.open,
|
|
43
|
-
message:
|
|
43
|
+
message: n?.message,
|
|
44
44
|
onClose: e.handleClose,
|
|
45
|
-
snackbarProps:
|
|
45
|
+
snackbarProps: o,
|
|
46
46
|
alertProps: p
|
|
47
47
|
}
|
|
48
48
|
),
|
|
49
|
-
|
|
49
|
+
s
|
|
50
50
|
] });
|
|
51
|
-
},
|
|
52
|
-
const
|
|
53
|
-
if (!
|
|
51
|
+
}, j = () => {
|
|
52
|
+
const s = a.useContext(l);
|
|
53
|
+
if (!s)
|
|
54
54
|
throw new Error("useSnackbarMessage must be used within a SnackbarMessageProvider");
|
|
55
|
-
return
|
|
55
|
+
return s;
|
|
56
56
|
};
|
|
57
|
-
try {
|
|
58
|
-
t.displayName = "SSnackbarMessage", t.__docgenInfo = { description: "A notification snackbar component that displays temporary messages with Material-UI Alert styling.", displayName: "SSnackbarMessage", props: { message: { defaultValue: null, description: "Message content - can be string or React element", name: "message", required: !1, type: { name: "ReactNode" } }, onClose: { defaultValue: { value: "() => {}" }, description: "Callback fired when snackbar should close", name: "onClose", required: !1, type: { name: "(() => void)" } }, open: { defaultValue: { value: "false" }, description: "Whether the snackbar is open", name: "open", required: !1, type: { name: "boolean" } }, snackbarProps: { defaultValue: null, description: "Additional props passed to the Snackbar component", name: "snackbarProps", required: !1, type: { name: "SnackbarProps" } }, alertProps: { defaultValue: null, description: "Additional props passed to the Alert component", name: "alertProps", required: !1, type: { name: "AlertProps" } } } };
|
|
59
|
-
} catch {
|
|
60
|
-
}
|
|
61
57
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
58
|
+
c as SSnackbarMessage,
|
|
59
|
+
C as SnackbarMessageProvider,
|
|
60
|
+
c as default,
|
|
61
|
+
j as useSnackbarMessage
|
|
66
62
|
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { Box as
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
return
|
|
1
|
+
import { j as p } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { useRef as g, useEffect as x } from "react";
|
|
3
|
+
import { Box as E } from "@mui/material";
|
|
4
|
+
const b = (t) => {
|
|
5
|
+
const a = g(null);
|
|
6
|
+
return x(() => {
|
|
7
7
|
const e = a.current;
|
|
8
8
|
if (!e) return;
|
|
9
|
-
const
|
|
10
|
-
if (!
|
|
11
|
-
let
|
|
12
|
-
const
|
|
9
|
+
const o = e.getContext("2d");
|
|
10
|
+
if (!o) return;
|
|
11
|
+
let d, r = -1e3, s = -1e3;
|
|
12
|
+
const c = () => {
|
|
13
13
|
e.width = window.innerWidth, e.height = window.innerHeight;
|
|
14
|
-
},
|
|
15
|
-
r =
|
|
16
|
-
}, h = () => {
|
|
17
|
-
r = -1e3, i = -1e3;
|
|
18
|
-
}, p = (o) => {
|
|
19
|
-
const s = parseInt(o.slice(1), 16), f = s >> 16 & 255, g = s >> 8 & 255, v = s & 255;
|
|
20
|
-
return `${f},${g},${v}`;
|
|
14
|
+
}, l = (n) => {
|
|
15
|
+
r = n.clientX, s = n.clientY;
|
|
21
16
|
}, m = () => {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
r = -1e3, s = -1e3;
|
|
18
|
+
}, h = (n) => {
|
|
19
|
+
const i = parseInt(n.slice(1), 16), w = i >> 16 & 255, v = i >> 8 & 255, f = i & 255;
|
|
20
|
+
return `${w},${v},${f}`;
|
|
21
|
+
}, u = () => {
|
|
22
|
+
if (o.clearRect(0, 0, e.width, e.height), r !== -1e3 && s !== -1e3) {
|
|
23
|
+
const n = o.createRadialGradient(r, s, 0, r, s, t.radius || 200), i = h(t.color);
|
|
24
|
+
n.addColorStop(0, `rgba(${i}, ${t.brightness})`), n.addColorStop(1, "rgba(0,0,0,0)"), o.fillStyle = n, o.fillRect(0, 0, e.width, e.height);
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
d = requestAnimationFrame(u);
|
|
27
27
|
};
|
|
28
|
-
return
|
|
29
|
-
window.removeEventListener("resize",
|
|
28
|
+
return c(), window.addEventListener("resize", c), window.addEventListener("mousemove", l), window.addEventListener("mouseleave", m), d = requestAnimationFrame(u), () => {
|
|
29
|
+
window.removeEventListener("resize", c), window.removeEventListener("mousemove", l), window.removeEventListener("mouseleave", m), cancelAnimationFrame(d);
|
|
30
30
|
};
|
|
31
31
|
}, [t.radius, t.brightness, t.color]), a;
|
|
32
|
-
},
|
|
32
|
+
}, R = ({
|
|
33
33
|
config: t = { radius: 200, brightness: 0.15, color: "#0000ff", smoothing: 0.1 },
|
|
34
34
|
className: a,
|
|
35
35
|
...e
|
|
36
36
|
}) => {
|
|
37
|
-
const
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
|
|
37
|
+
const o = b(t);
|
|
38
|
+
return /* @__PURE__ */ p.jsx(
|
|
39
|
+
E,
|
|
40
40
|
{
|
|
41
41
|
component: "canvas",
|
|
42
|
-
ref:
|
|
42
|
+
ref: o,
|
|
43
43
|
className: a,
|
|
44
44
|
sx: {
|
|
45
45
|
position: "fixed",
|
|
@@ -54,12 +54,8 @@ const x = (t) => {
|
|
|
54
54
|
}
|
|
55
55
|
);
|
|
56
56
|
};
|
|
57
|
-
|
|
58
|
-
try {
|
|
59
|
-
l.displayName = "SSpotlightCursor", l.__docgenInfo = { description: "Creates an interactive spotlight effect that follows the mouse cursor.", displayName: "SSpotlightCursor", props: { config: { defaultValue: { value: "{ radius: 200, brightness: 0.15, color: '#0000ff', smoothing: 0.1 }" }, description: "Configuration object for spotlight appearance and behavior", name: "config", required: !1, type: { name: "SpotlightConfig" } } } };
|
|
60
|
-
} catch {
|
|
61
|
-
}
|
|
57
|
+
R.displayName = "SSpotlightCursor";
|
|
62
58
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
R as SSpotlightCursor,
|
|
60
|
+
R as default
|
|
65
61
|
};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { CardCvcElement as
|
|
3
|
-
import { StripeTextField as
|
|
4
|
-
function e
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
-
}
|
|
7
|
-
e.displayName = "SStripeCVC";
|
|
8
|
-
try {
|
|
9
|
-
e.displayName = "SStripeCVC", e.__docgenInfo = { description: "Card security code (CVC/CVV) input field with Stripe integration.", displayName: "SStripeCVC", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "CardCvcElementProps" } }, labelErrorMessage: { defaultValue: null, description: "Custom error message to display when validation fails", name: "labelErrorMessage", required: !1, type: { name: "string" } }, onChange: { defaultValue: null, description: "Change handler for Stripe Element events", name: "onChange", required: !1, type: { name: "((event: StripeCardCvcElementChangeEvent) => any)" } }, stripeElement: { defaultValue: null, description: "The Stripe Element component to render", name: "stripeElement", required: !1, type: { name: "CardCvcElementComponent" } } } };
|
|
10
|
-
} catch {
|
|
1
|
+
import { j as t } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { CardCvcElement as r } from "@stripe/react-stripe-js";
|
|
3
|
+
import { StripeTextField as i } from "./s-stripe.js";
|
|
4
|
+
function m(e) {
|
|
5
|
+
return /* @__PURE__ */ t.jsx(i, { label: "CVC", stripeElement: r, ...e });
|
|
11
6
|
}
|
|
7
|
+
m.displayName = "SStripeCVC";
|
|
12
8
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
m as SStripeCVC,
|
|
10
|
+
m as default
|
|
15
11
|
};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { j as t } from "../jsx-runtime-
|
|
2
|
-
import { CardExpiryElement as
|
|
3
|
-
import { StripeTextField as
|
|
4
|
-
function
|
|
5
|
-
return /* @__PURE__ */ t.jsx(
|
|
6
|
-
}
|
|
7
|
-
e.displayName = "SStripeExpiry";
|
|
8
|
-
try {
|
|
9
|
-
e.displayName = "SStripeExpiry", e.__docgenInfo = { description: "Card expiration date input field with Stripe integration.", displayName: "SStripeExpiry", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "CardExpiryElementProps" } }, labelErrorMessage: { defaultValue: null, description: "Custom error message to display when validation fails", name: "labelErrorMessage", required: !1, type: { name: "string" } }, onChange: { defaultValue: null, description: "Change handler for Stripe Element events", name: "onChange", required: !1, type: { name: "((event: StripeCardExpiryElementChangeEvent) => any)" } }, stripeElement: { defaultValue: null, description: "The Stripe Element component to render", name: "stripeElement", required: !1, type: { name: "CardExpiryElementComponent" } } } };
|
|
10
|
-
} catch {
|
|
1
|
+
import { j as t } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { CardExpiryElement as e } from "@stripe/react-stripe-js";
|
|
3
|
+
import { StripeTextField as i } from "./s-stripe.js";
|
|
4
|
+
function p(r) {
|
|
5
|
+
return /* @__PURE__ */ t.jsx(i, { label: "Expiration", stripeElement: e, ...r });
|
|
11
6
|
}
|
|
7
|
+
p.displayName = "SStripeExpiry";
|
|
12
8
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
p as SStripeExpiry,
|
|
10
|
+
p as default
|
|
15
11
|
};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { CardNumberElement as
|
|
3
|
-
import { StripeTextField as
|
|
4
|
-
function e
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
-
}
|
|
7
|
-
e.displayName = "SStripeNumber";
|
|
8
|
-
try {
|
|
9
|
-
e.displayName = "SStripeNumber", e.__docgenInfo = { description: "Card number input field with Stripe integration.", displayName: "SStripeNumber", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "CardNumberElementProps" } }, labelErrorMessage: { defaultValue: null, description: "Custom error message to display when validation fails", name: "labelErrorMessage", required: !1, type: { name: "string" } }, onChange: { defaultValue: null, description: "Change handler for Stripe Element events", name: "onChange", required: !1, type: { name: "((event: StripeCardNumberElementChangeEvent) => any)" } }, stripeElement: { defaultValue: null, description: "The Stripe Element component to render", name: "stripeElement", required: !1, type: { name: "CardNumberElementComponent" } } } };
|
|
10
|
-
} catch {
|
|
1
|
+
import { j as r } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { CardNumberElement as t } from "@stripe/react-stripe-js";
|
|
3
|
+
import { StripeTextField as m } from "./s-stripe.js";
|
|
4
|
+
function i(e) {
|
|
5
|
+
return /* @__PURE__ */ r.jsx(m, { label: "Card Number", stripeElement: t, ...e });
|
|
11
6
|
}
|
|
7
|
+
i.displayName = "SStripeNumber";
|
|
12
8
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
i as SStripeNumber,
|
|
10
|
+
i as default
|
|
15
11
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AuBankAccountElement, CardCvcElement, CardExpiryElement, CardNumberElement,
|
|
1
|
+
import { AuBankAccountElement, CardCvcElement, CardExpiryElement, CardNumberElement, IbanElement } from '@stripe/react-stripe-js';
|
|
2
2
|
import { STextFieldProps } from '../s-text-field';
|
|
3
3
|
/**
|
|
4
4
|
* Union type of all supported Stripe Elements
|
|
5
5
|
* Includes card payment elements and various regional payment methods
|
|
6
6
|
*/
|
|
7
|
-
export type StripeElement = typeof AuBankAccountElement | typeof CardCvcElement | typeof CardExpiryElement | typeof CardNumberElement | typeof
|
|
7
|
+
export type StripeElement = typeof AuBankAccountElement | typeof CardCvcElement | typeof CardExpiryElement | typeof CardNumberElement | typeof IbanElement;
|
|
8
8
|
/**
|
|
9
9
|
* Props for Stripe-integrated text field components
|
|
10
10
|
* Extends STextField props but excludes conflicting props that are handled by Stripe
|
|
@@ -1,47 +1,38 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { STextField as d } from "../s-text-field/s-text-field.js";
|
|
1
|
+
import { j as l } from "../jsx-runtime-tc70JA_2.js";
|
|
3
2
|
import u from "./stripe-input.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const { helperText:
|
|
7
|
-
return /* @__PURE__ */
|
|
8
|
-
|
|
3
|
+
import { STextField as m } from "../s-text-field/s-text-field.js";
|
|
4
|
+
const a = (r) => {
|
|
5
|
+
const { helperText: p, slotProps: t, inputProps: o, error: e, labelErrorMessage: i, stripeElement: n, ...s } = r;
|
|
6
|
+
return /* @__PURE__ */ l.jsx(
|
|
7
|
+
m,
|
|
9
8
|
{
|
|
10
9
|
fullWidth: !0,
|
|
11
10
|
slotProps: {
|
|
12
11
|
inputLabel: {
|
|
13
|
-
...
|
|
12
|
+
...t?.inputLabel,
|
|
14
13
|
shrink: !0
|
|
15
14
|
// Always shrink label since Stripe elements don't support placeholder-driven shrinking
|
|
16
15
|
},
|
|
17
16
|
input: {
|
|
18
|
-
...
|
|
17
|
+
...t?.input,
|
|
19
18
|
inputProps: {
|
|
20
|
-
...
|
|
21
|
-
...
|
|
22
|
-
component:
|
|
19
|
+
...o,
|
|
20
|
+
...t?.input?.inputProps,
|
|
21
|
+
component: n
|
|
23
22
|
// Pass Stripe element as component
|
|
24
23
|
},
|
|
25
24
|
inputComponent: u
|
|
26
25
|
// Custom input component for Stripe integration
|
|
27
26
|
}
|
|
28
27
|
},
|
|
29
|
-
error:
|
|
30
|
-
helperText:
|
|
31
|
-
...
|
|
28
|
+
error: e,
|
|
29
|
+
helperText: e ? i : p,
|
|
30
|
+
...s
|
|
32
31
|
}
|
|
33
32
|
);
|
|
34
33
|
};
|
|
35
|
-
|
|
36
|
-
try {
|
|
37
|
-
r.displayName = "StripeTextField", r.__docgenInfo = { description: "Generic Stripe text field component that integrates Stripe Elements with Material-UI styling.", displayName: "StripeTextField", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "AuBankAccountElementProps | CardCvcElementProps | CardExpiryElementProps | CardNumberElementProps | FpxBankElementProps | IbanElementProps | IdealBankElementProps" } }, labelErrorMessage: { defaultValue: null, description: "Custom error message to display when validation fails", name: "labelErrorMessage", required: !1, type: { name: "string" } }, onChange: { defaultValue: null, description: "Change handler for Stripe Element events", name: "onChange", required: !1, type: { name: "((event: StripeAuBankAccountElementChangeEvent) => any) | ((event: StripeCardCvcElementChangeEvent) => any) | ... 5 more ..." } }, stripeElement: { defaultValue: null, description: "The Stripe Element component to render", name: "stripeElement", required: !1, type: { name: "StripeElement" } } } };
|
|
38
|
-
} catch {
|
|
39
|
-
}
|
|
40
|
-
try {
|
|
41
|
-
sstripe.displayName = "sstripe", sstripe.__docgenInfo = { description: "Generic Stripe text field component that integrates Stripe Elements with Material-UI styling.", displayName: "sstripe", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "AuBankAccountElementProps | CardCvcElementProps | CardExpiryElementProps | CardNumberElementProps | FpxBankElementProps | IbanElementProps | IdealBankElementProps" } }, labelErrorMessage: { defaultValue: null, description: "Custom error message to display when validation fails", name: "labelErrorMessage", required: !1, type: { name: "string" } }, onChange: { defaultValue: null, description: "Change handler for Stripe Element events", name: "onChange", required: !1, type: { name: "((event: StripeAuBankAccountElementChangeEvent) => any) | ((event: StripeCardCvcElementChangeEvent) => any) | ... 5 more ..." } }, stripeElement: { defaultValue: null, description: "The Stripe Element component to render", name: "stripeElement", required: !1, type: { name: "StripeElement" } } } };
|
|
42
|
-
} catch {
|
|
43
|
-
}
|
|
34
|
+
a.displayName = "StripeTextField";
|
|
44
35
|
export {
|
|
45
|
-
|
|
46
|
-
|
|
36
|
+
a as StripeTextField,
|
|
37
|
+
a as default
|
|
47
38
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as h } from "../jsx-runtime-
|
|
1
|
+
import { j as h } from "../jsx-runtime-tc70JA_2.js";
|
|
2
2
|
import * as o from "react";
|
|
3
3
|
import '../assets/stripe-input.css';const y = {
|
|
4
4
|
dark: {
|
|
@@ -28,63 +28,59 @@ function S() {
|
|
|
28
28
|
function c() {
|
|
29
29
|
return y[S()];
|
|
30
30
|
}
|
|
31
|
-
function d(
|
|
31
|
+
function d(e, n) {
|
|
32
32
|
return {
|
|
33
33
|
base: {
|
|
34
34
|
fontFamily: "Outfit, sans-serif",
|
|
35
35
|
lineHeight: "1.5",
|
|
36
|
-
color: n ?
|
|
36
|
+
color: n ? e.textSecondary : e.text,
|
|
37
37
|
"::placeholder": {
|
|
38
|
-
color:
|
|
38
|
+
color: e.placeholder
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
invalid: {
|
|
42
|
-
color:
|
|
42
|
+
color: e.error
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
const g = o.forwardRef(function(n,
|
|
47
|
-
const { component:
|
|
46
|
+
const g = o.forwardRef(function(n, l) {
|
|
47
|
+
const { component: u, options: m, ...t } = n, [r, f] = o.useState(null);
|
|
48
48
|
o.useImperativeHandle(
|
|
49
|
-
|
|
49
|
+
l,
|
|
50
50
|
() => ({
|
|
51
|
-
focus: () =>
|
|
51
|
+
focus: () => r?.focus()
|
|
52
52
|
}),
|
|
53
|
-
[
|
|
53
|
+
[r]
|
|
54
54
|
), o.useEffect(() => {
|
|
55
|
-
if (!
|
|
55
|
+
if (!r) return;
|
|
56
56
|
const b = () => {
|
|
57
57
|
const a = c();
|
|
58
|
-
|
|
59
|
-
style: d(a,
|
|
58
|
+
r.update({
|
|
59
|
+
style: d(a, t.disabled)
|
|
60
60
|
});
|
|
61
|
-
},
|
|
62
|
-
for (const
|
|
63
|
-
if (
|
|
61
|
+
}, i = new MutationObserver((a) => {
|
|
62
|
+
for (const s of a)
|
|
63
|
+
if (s.attributeName === "data-mui-color-scheme" || s.attributeName === "class" || s.attributeName === "style") {
|
|
64
64
|
requestAnimationFrame(b);
|
|
65
65
|
break;
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
|
-
return
|
|
69
|
-
}, [
|
|
70
|
-
const
|
|
68
|
+
return i.observe(document.documentElement, { attributes: !0 }), () => i.disconnect();
|
|
69
|
+
}, [r, t.disabled]);
|
|
70
|
+
const p = c();
|
|
71
71
|
return /* @__PURE__ */ h.jsx(
|
|
72
|
-
|
|
72
|
+
u,
|
|
73
73
|
{
|
|
74
|
-
onReady:
|
|
74
|
+
onReady: f,
|
|
75
75
|
options: {
|
|
76
|
-
...
|
|
77
|
-
style: d(
|
|
78
|
-
disabled:
|
|
76
|
+
...m,
|
|
77
|
+
style: d(p, t.disabled),
|
|
78
|
+
disabled: t.disabled
|
|
79
79
|
},
|
|
80
|
-
...
|
|
80
|
+
...t
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
83
|
});
|
|
84
|
-
try {
|
|
85
|
-
stripeinput.displayName = "stripeinput", stripeinput.__docgenInfo = { description: "Forward ref component for Stripe Elements integration with Material-UI", displayName: "stripeinput", props: {} };
|
|
86
|
-
} catch {
|
|
87
|
-
}
|
|
88
84
|
export {
|
|
89
85
|
g as default
|
|
90
86
|
};
|
package/dist/s-tabs/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "s-tabs",
|
|
3
|
-
"main": "./index.ts"
|
|
1
|
+
{
|
|
2
|
+
"name": "s-tabs",
|
|
3
|
+
"main": "./index.ts"
|
|
4
4
|
}
|
|
@@ -1,37 +1,29 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { Box as
|
|
4
|
-
const
|
|
5
|
-
({ children:
|
|
6
|
-
const
|
|
7
|
-
return
|
|
8
|
-
|
|
1
|
+
import { j as d } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { forwardRef as i } from "react";
|
|
3
|
+
import { Box as p } from "@mui/material";
|
|
4
|
+
const b = i(
|
|
5
|
+
({ children: o, value: r, index: a, keepMounted: l = !1, sx: t, ...s }, n) => {
|
|
6
|
+
const e = r === a;
|
|
7
|
+
return e || l ? /* @__PURE__ */ d.jsx(
|
|
8
|
+
p,
|
|
9
9
|
{
|
|
10
|
-
ref:
|
|
10
|
+
ref: n,
|
|
11
11
|
role: "tabpanel",
|
|
12
|
-
hidden: !
|
|
12
|
+
hidden: !e,
|
|
13
13
|
id: `tabpanel-${a}`,
|
|
14
14
|
"aria-labelledby": `tab-${a}`,
|
|
15
15
|
sx: {
|
|
16
|
-
...
|
|
17
|
-
display:
|
|
16
|
+
...t,
|
|
17
|
+
display: e ? "block" : "none"
|
|
18
18
|
},
|
|
19
|
-
...
|
|
20
|
-
children:
|
|
19
|
+
...s,
|
|
20
|
+
children: o
|
|
21
21
|
}
|
|
22
22
|
) : null;
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
|
-
|
|
26
|
-
try {
|
|
27
|
-
t.displayName = "STabPanel", t.__docgenInfo = { description: "Individual tab content panel component with advanced mounting controls.", displayName: "STabPanel", props: { children: { defaultValue: null, description: "Content to display in the tab panel", name: "children", required: !1, type: { name: "ReactNode" } }, value: { defaultValue: null, description: "Current active tab index from the parent tabs component", name: "value", required: !0, type: { name: "number" } }, index: { defaultValue: null, description: "Index of this specific tab panel (0-based)", name: "index", required: !0, type: { name: "number" } }, keepMounted: { defaultValue: { value: "false" }, description: "Keep the panel mounted in the DOM when not active", name: "keepMounted", required: !1, type: { name: "boolean" } } } };
|
|
28
|
-
} catch {
|
|
29
|
-
}
|
|
30
|
-
try {
|
|
31
|
-
stabpanel.displayName = "stabpanel", stabpanel.__docgenInfo = { description: "Individual tab content panel component with advanced mounting controls.", displayName: "stabpanel", props: { children: { defaultValue: null, description: "Content to display in the tab panel", name: "children", required: !1, type: { name: "ReactNode" } }, value: { defaultValue: null, description: "Current active tab index from the parent tabs component", name: "value", required: !0, type: { name: "number" } }, index: { defaultValue: null, description: "Index of this specific tab panel (0-based)", name: "index", required: !0, type: { name: "number" } }, keepMounted: { defaultValue: { value: "false" }, description: "Keep the panel mounted in the DOM when not active", name: "keepMounted", required: !1, type: { name: "boolean" } } } };
|
|
32
|
-
} catch {
|
|
33
|
-
}
|
|
25
|
+
b.displayName = "STabPanel";
|
|
34
26
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
b as STabPanel,
|
|
28
|
+
b as default
|
|
37
29
|
};
|
package/dist/s-tabs/s-tab.js
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as a } from "../jsx-runtime-tc70JA_2.js";
|
|
2
2
|
import { forwardRef as t } from "react";
|
|
3
|
-
import { Tab as
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
try {
|
|
7
|
-
r.displayName = "STab", r.__docgenInfo = { description: "", displayName: "STab", props: {} };
|
|
8
|
-
} catch {
|
|
9
|
-
}
|
|
3
|
+
import { Tab as m } from "@mui/material";
|
|
4
|
+
const s = t((r, o) => /* @__PURE__ */ a.jsx(m, { ref: o, ...r }));
|
|
5
|
+
s.displayName = "STab";
|
|
10
6
|
export {
|
|
11
|
-
|
|
7
|
+
s as default
|
|
12
8
|
};
|
package/dist/s-tabs/s-tabs.js
CHANGED
|
@@ -1,43 +1,35 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
import { Tabs as
|
|
4
|
-
const
|
|
5
|
-
({ tabs:
|
|
6
|
-
const [
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}, [
|
|
10
|
-
const
|
|
11
|
-
|
|
1
|
+
import { j as r } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import a, { forwardRef as c } from "react";
|
|
3
|
+
import { Tabs as x, Tab as h, Box as j } from "@mui/material";
|
|
4
|
+
const g = c(
|
|
5
|
+
({ tabs: d, activeTab: s = 0, onTabChange: p, children: l, tabPanelProps: f, ...t }, m) => {
|
|
6
|
+
const [n, i] = a.useState(s);
|
|
7
|
+
a.useEffect(() => {
|
|
8
|
+
s !== !1 && i(s);
|
|
9
|
+
}, [s]);
|
|
10
|
+
const u = (e, o) => {
|
|
11
|
+
s === !1 && i(o), p?.(e, o);
|
|
12
12
|
};
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
14
|
+
/* @__PURE__ */ r.jsx(x, { ref: m, value: n, onChange: u, ...t, children: d.map((e, o) => /* @__PURE__ */ r.jsx(
|
|
15
15
|
h,
|
|
16
16
|
{
|
|
17
17
|
label: e.label,
|
|
18
|
-
value: e.value ??
|
|
18
|
+
value: e.value ?? o,
|
|
19
19
|
disabled: e.disabled,
|
|
20
20
|
icon: e.icon,
|
|
21
21
|
iconPosition: e.iconPosition,
|
|
22
22
|
wrapped: e.wrapped,
|
|
23
23
|
...e.tabProps
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
o
|
|
26
26
|
)) }),
|
|
27
|
-
|
|
27
|
+
l && /* @__PURE__ */ r.jsx(j, { role: "tabpanel", padding: 2, ...f, children: a.Children.toArray(l)[n] })
|
|
28
28
|
] });
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
|
-
|
|
32
|
-
try {
|
|
33
|
-
s.displayName = "STabs", s.__docgenInfo = { description: "A flexible tabs component system built on Material-UI Tabs.", displayName: "STabs", props: { children: { defaultValue: null, description: "Tab panel content. Children are matched to tabs by index", name: "children", required: !1, type: { name: "ReactNode" } }, tabs: { defaultValue: null, description: "Array of tab configuration objects defining the tabs to display", name: "tabs", required: !0, type: { name: "STabItem[]" } }, activeTab: { defaultValue: { value: "0" }, description: "Index of the currently active tab. Set to false for uncontrolled mode", name: "activeTab", required: !1, type: { name: "number | false" } }, onTabChange: { defaultValue: null, description: "Callback function called when a tab is selected", name: "onTabChange", required: !1, type: { name: "((event: SyntheticEvent<Element, Event>, value: number) => void)" } }, tabPanelProps: { defaultValue: null, description: "Additional props passed to the tab panel wrapper Box component", name: "tabPanelProps", required: !1, type: { name: "BoxProps" } } } };
|
|
34
|
-
} catch {
|
|
35
|
-
}
|
|
36
|
-
try {
|
|
37
|
-
stabs.displayName = "stabs", stabs.__docgenInfo = { description: "A flexible tabs component system built on Material-UI Tabs.", displayName: "stabs", props: { children: { defaultValue: null, description: "Tab panel content. Children are matched to tabs by index", name: "children", required: !1, type: { name: "ReactNode" } }, tabs: { defaultValue: null, description: "Array of tab configuration objects defining the tabs to display", name: "tabs", required: !0, type: { name: "STabItem[]" } }, activeTab: { defaultValue: { value: "0" }, description: "Index of the currently active tab. Set to false for uncontrolled mode", name: "activeTab", required: !1, type: { name: "number | false" } }, onTabChange: { defaultValue: null, description: "Callback function called when a tab is selected", name: "onTabChange", required: !1, type: { name: "((event: SyntheticEvent<Element, Event>, value: number) => void)" } }, tabPanelProps: { defaultValue: null, description: "Additional props passed to the tab panel wrapper Box component", name: "tabPanelProps", required: !1, type: { name: "BoxProps" } } } };
|
|
38
|
-
} catch {
|
|
39
|
-
}
|
|
31
|
+
g.displayName = "STabs";
|
|
40
32
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
33
|
+
g as STabs,
|
|
34
|
+
g as default
|
|
43
35
|
};
|