@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,37 +1,31 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { Autocomplete as
|
|
4
|
-
import { SForm as
|
|
5
|
-
const
|
|
1
|
+
import { j as t } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { forwardRef as a, useId as i } from "react";
|
|
3
|
+
import { Autocomplete as f, TextField as c } from "@mui/material";
|
|
4
|
+
import { SForm as n } from "../s-form/s-form.js";
|
|
5
|
+
const x = a(
|
|
6
6
|
({
|
|
7
|
-
label:
|
|
8
|
-
required:
|
|
9
|
-
error:
|
|
10
|
-
htmlFor:
|
|
11
|
-
...
|
|
7
|
+
label: o = "",
|
|
8
|
+
required: r = !1,
|
|
9
|
+
error: m,
|
|
10
|
+
htmlFor: l,
|
|
11
|
+
...s
|
|
12
12
|
}, d) => {
|
|
13
|
-
const u =
|
|
14
|
-
return /* @__PURE__ */
|
|
15
|
-
|
|
13
|
+
const u = i(), e = l ?? u;
|
|
14
|
+
return /* @__PURE__ */ t.jsx(n, { error: m, label: o, required: r, htmlFor: e, children: /* @__PURE__ */ t.jsx(
|
|
15
|
+
f,
|
|
16
16
|
{
|
|
17
17
|
disablePortal: !0,
|
|
18
18
|
fullWidth: !0,
|
|
19
|
-
renderInput: (p) => /* @__PURE__ */
|
|
20
|
-
id:
|
|
21
|
-
...
|
|
19
|
+
renderInput: (p) => /* @__PURE__ */ t.jsx(c, { ...p }),
|
|
20
|
+
id: e,
|
|
21
|
+
...s,
|
|
22
22
|
ref: d
|
|
23
23
|
}
|
|
24
24
|
) });
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
|
-
|
|
28
|
-
try {
|
|
29
|
-
t.displayName = "SAutocomplete", t.__docgenInfo = { description: `A standardized autocomplete/combobox component that wraps Material-UI Autocomplete
|
|
30
|
-
with consistent form labeling, validation, and help text patterns. Maintains full
|
|
31
|
-
Material-UI API compatibility while providing enhanced form integration.`, displayName: "SAutocomplete", props: { renderInput: { defaultValue: null, description: "Optional custom renderInput function for advanced input customization", name: "renderInput", required: !1, type: { name: "((params: AutocompleteRenderInputParams) => ReactNode)" } }, label: { defaultValue: null, description: "Field label displayed above the autocomplete", name: "label", required: !1, type: { name: "ReactNode" } }, required: { defaultValue: null, description: "Whether the field is required (shows asterisk in label)", name: "required", required: !1, type: { name: "boolean" } }, error: { defaultValue: null, description: "Error message to display below the field", name: "error", required: !1, type: { name: "string" } }, htmlFor: { defaultValue: null, description: "HTML id attribute for the input element", name: "htmlFor", required: !1, type: { name: "string" } } } };
|
|
32
|
-
} catch {
|
|
33
|
-
}
|
|
27
|
+
x.displayName = "SAutocomplete";
|
|
34
28
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
x as SAutocomplete,
|
|
30
|
+
x as default
|
|
37
31
|
};
|
|
@@ -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,33 +1,22 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { Box as
|
|
3
|
-
import "../s-lazy-image/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
p,
|
|
1
|
+
import { j as t } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { Box as s, Avatar as l, Typography as d } from "@mui/material";
|
|
3
|
+
import h from "../s-lazy-image/s-lazy-image.js";
|
|
4
|
+
const n = ({ avatar: i, name: a, showName: e = !1, size: r = 40, avatarProps: o }) => /* @__PURE__ */ t.jsxs(s, { display: "flex", alignItems: "center", gap: 2, children: [
|
|
5
|
+
/* @__PURE__ */ t.jsx(l, { sx: { width: r, height: r, fontSize: 16 }, ...o, children: i ? /* @__PURE__ */ t.jsx(
|
|
6
|
+
h,
|
|
8
7
|
{
|
|
9
|
-
src:
|
|
8
|
+
src: i,
|
|
10
9
|
alt: a || "Avatar",
|
|
11
|
-
width:
|
|
12
|
-
height:
|
|
10
|
+
width: r,
|
|
11
|
+
height: r,
|
|
13
12
|
variant: "circular",
|
|
14
13
|
style: { borderRadius: "50%" }
|
|
15
14
|
}
|
|
16
|
-
) :
|
|
17
|
-
|
|
15
|
+
) : a?.[0] || "A" }),
|
|
16
|
+
e && /* @__PURE__ */ t.jsx(d, { variant: "body1", fontSize: 20, children: a })
|
|
18
17
|
] });
|
|
19
|
-
|
|
20
|
-
try {
|
|
21
|
-
r.displayName = "SAvatar", r.__docgenInfo = { description: `A flexible avatar component that displays user profile images with fallback to initials.
|
|
22
|
-
Built on Material-UI Avatar with optional name display and customizable sizing.`, displayName: "SAvatar", props: { avatar: { defaultValue: null, description: "URL of the avatar image to display", name: "avatar", required: !1, type: { name: "string" } }, name: { defaultValue: null, description: "Name of the user, used for initials fallback and optional display", name: "name", required: !1, type: { name: "string" } }, showName: { defaultValue: { value: "false" }, description: "Whether to display the name alongside the avatar", name: "showName", required: !1, type: { name: "boolean" } }, size: { defaultValue: { value: "40" }, description: "Size of the avatar in pixels (width and height)", name: "size", required: !1, type: { name: "number" } }, avatarProps: { defaultValue: null, description: "Additional props to pass to the underlying Material-UI Avatar component", name: "avatarProps", required: !1, type: { name: "AvatarProps" } } } };
|
|
23
|
-
} catch {
|
|
24
|
-
}
|
|
25
|
-
try {
|
|
26
|
-
savatar.displayName = "savatar", savatar.__docgenInfo = { description: `A flexible avatar component that displays user profile images with fallback to initials.
|
|
27
|
-
Built on Material-UI Avatar with optional name display and customizable sizing.`, displayName: "savatar", props: { avatar: { defaultValue: null, description: "URL of the avatar image to display", name: "avatar", required: !1, type: { name: "string" } }, name: { defaultValue: null, description: "Name of the user, used for initials fallback and optional display", name: "name", required: !1, type: { name: "string" } }, showName: { defaultValue: { value: "false" }, description: "Whether to display the name alongside the avatar", name: "showName", required: !1, type: { name: "boolean" } }, size: { defaultValue: { value: "40" }, description: "Size of the avatar in pixels (width and height)", name: "size", required: !1, type: { name: "number" } }, avatarProps: { defaultValue: null, description: "Additional props to pass to the underlying Material-UI Avatar component", name: "avatarProps", required: !1, type: { name: "AvatarProps" } } } };
|
|
28
|
-
} catch {
|
|
29
|
-
}
|
|
18
|
+
n.displayName = "SAvatar";
|
|
30
19
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
n as SAvatar,
|
|
21
|
+
n as default
|
|
33
22
|
};
|
|
@@ -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,85 +1,81 @@
|
|
|
1
|
-
import { j as y } from "../jsx-runtime-
|
|
2
|
-
import { useState as
|
|
3
|
-
import { Typography as
|
|
4
|
-
import { motion as
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
return
|
|
8
|
-
|
|
9
|
-
}),
|
|
10
|
-
},
|
|
11
|
-
text:
|
|
12
|
-
delay:
|
|
13
|
-
animateBy:
|
|
14
|
-
direction:
|
|
15
|
-
threshold:
|
|
1
|
+
import { j as y } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { useState as K, useRef as R, useEffect as V, useMemo as b } from "react";
|
|
3
|
+
import { Typography as B } from "@mui/material";
|
|
4
|
+
import { motion as D } from "framer-motion";
|
|
5
|
+
const F = (s, a) => {
|
|
6
|
+
const i = /* @__PURE__ */ new Set([...Object.keys(s), ...a.flatMap((t) => Object.keys(t))]), o = {};
|
|
7
|
+
return i.forEach((t) => {
|
|
8
|
+
o[t] = [s[t], ...a.map((l) => l[t])];
|
|
9
|
+
}), o;
|
|
10
|
+
}, M = ({
|
|
11
|
+
text: s,
|
|
12
|
+
delay: a = 100,
|
|
13
|
+
animateBy: i = "words",
|
|
14
|
+
direction: o = "top",
|
|
15
|
+
threshold: t = 0.1,
|
|
16
16
|
rootMargin: l = "0px",
|
|
17
|
-
animationFrom:
|
|
17
|
+
animationFrom: d,
|
|
18
18
|
animationTo: h,
|
|
19
|
-
easing:
|
|
20
|
-
onAnimationComplete:
|
|
21
|
-
stepDuration:
|
|
22
|
-
variant:
|
|
23
|
-
sx:
|
|
24
|
-
...
|
|
19
|
+
easing: w = (n) => n,
|
|
20
|
+
onAnimationComplete: x,
|
|
21
|
+
stepDuration: j = 0.35,
|
|
22
|
+
variant: S = "body1",
|
|
23
|
+
sx: g,
|
|
24
|
+
...v
|
|
25
25
|
}) => {
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
if (!
|
|
29
|
-
const
|
|
30
|
-
([
|
|
31
|
-
|
|
26
|
+
const n = i === "words" ? s.split(" ") : s.split(""), [T, k] = K(!1), c = R(null);
|
|
27
|
+
V(() => {
|
|
28
|
+
if (!c.current) return;
|
|
29
|
+
const r = new IntersectionObserver(
|
|
30
|
+
([e]) => {
|
|
31
|
+
e.isIntersecting && (k(!0), r.unobserve(c.current));
|
|
32
32
|
},
|
|
33
|
-
{ threshold:
|
|
33
|
+
{ threshold: t, rootMargin: l }
|
|
34
34
|
);
|
|
35
|
-
return
|
|
36
|
-
}, [
|
|
37
|
-
const
|
|
38
|
-
() =>
|
|
39
|
-
[
|
|
40
|
-
),
|
|
35
|
+
return r.observe(c.current), () => r.disconnect();
|
|
36
|
+
}, [t, l]);
|
|
37
|
+
const C = b(
|
|
38
|
+
() => o === "top" ? { filter: "blur(10px)", opacity: 0, y: -50 } : { filter: "blur(10px)", opacity: 0, y: 50 },
|
|
39
|
+
[o]
|
|
40
|
+
), E = b(
|
|
41
41
|
() => [
|
|
42
42
|
{
|
|
43
43
|
filter: "blur(5px)",
|
|
44
44
|
opacity: 0.5,
|
|
45
|
-
y:
|
|
45
|
+
y: o === "top" ? 5 : -5
|
|
46
46
|
},
|
|
47
47
|
{ filter: "blur(0px)", opacity: 1, y: 0 }
|
|
48
48
|
],
|
|
49
|
-
[
|
|
50
|
-
),
|
|
51
|
-
return /* @__PURE__ */ y.jsx(
|
|
52
|
-
const
|
|
53
|
-
duration:
|
|
54
|
-
times:
|
|
55
|
-
delay:
|
|
49
|
+
[o]
|
|
50
|
+
), u = d ?? C, f = h ?? E, p = f.length + 1, I = j * (p - 1), O = Array.from({ length: p }, (r, e) => p === 1 ? 0 : e / (p - 1));
|
|
51
|
+
return /* @__PURE__ */ y.jsx(B, { ref: c, variant: S, sx: g, ...v, children: n.map((r, e) => {
|
|
52
|
+
const A = F(u, f), m = {
|
|
53
|
+
duration: I,
|
|
54
|
+
times: O,
|
|
55
|
+
delay: e * a / 1e3
|
|
56
56
|
};
|
|
57
|
-
return
|
|
58
|
-
|
|
57
|
+
return m.ease = w, /* @__PURE__ */ y.jsxs(
|
|
58
|
+
D.span,
|
|
59
59
|
{
|
|
60
|
-
initial:
|
|
61
|
-
animate:
|
|
62
|
-
transition:
|
|
63
|
-
onAnimationComplete:
|
|
60
|
+
initial: u,
|
|
61
|
+
animate: T ? A : u,
|
|
62
|
+
transition: m,
|
|
63
|
+
onAnimationComplete: e === n.length - 1 ? x : void 0,
|
|
64
64
|
style: {
|
|
65
65
|
display: "inline-block",
|
|
66
66
|
willChange: "transform, filter, opacity"
|
|
67
67
|
},
|
|
68
68
|
children: [
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
r === " " ? " " : r,
|
|
70
|
+
i === "words" && e < n.length - 1 && " "
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
|
-
|
|
73
|
+
e
|
|
74
74
|
);
|
|
75
75
|
}) });
|
|
76
76
|
};
|
|
77
|
-
|
|
78
|
-
try {
|
|
79
|
-
c.displayName = "SBlurText", c.__docgenInfo = { description: "A Typography component that animates text with a blur effect when it comes into view.", displayName: "SBlurText", props: { text: { defaultValue: null, description: "The text content to animate", name: "text", required: !0, type: { name: "string" } }, delay: { defaultValue: { value: "100" }, description: "Delay between animating each segment in milliseconds", name: "delay", required: !1, type: { name: "number" } }, animateBy: { defaultValue: { value: "words" }, description: "Animation granularity - animate by words or individual letters", name: "animateBy", required: !1, type: { name: "enum", value: [{ value: '"words"' }, { value: '"letters"' }] } }, direction: { defaultValue: { value: "top" }, description: "Direction of the blur animation", name: "direction", required: !1, type: { name: "enum", value: [{ value: '"top"' }, { value: '"bottom"' }] } }, threshold: { defaultValue: { value: "0.1" }, description: "Intersection observer threshold for triggering animation", name: "threshold", required: !1, type: { name: "number" } }, rootMargin: { defaultValue: { value: "0px" }, description: "Intersection observer root margin", name: "rootMargin", required: !1, type: { name: "string" } }, animationFrom: { defaultValue: null, description: "Custom starting animation state", name: "animationFrom", required: !1, type: { name: "Record<string, string | number>" } }, animationTo: { defaultValue: null, description: "Custom ending animation states (array for multi-step animations)", name: "animationTo", required: !1, type: { name: "Record<string, string | number>[]" } }, easing: { defaultValue: { value: "(t) => t" }, description: "Custom easing function for animation timing", name: "easing", required: !1, type: { name: "((t: number) => number)" } }, onAnimationComplete: { defaultValue: null, description: "Callback fired when animation completes", name: "onAnimationComplete", required: !1, type: { name: "(() => void)" } }, stepDuration: { defaultValue: { value: "0.35" }, description: "Duration of each animation step in seconds", name: "stepDuration", required: !1, type: { name: "number" } } } };
|
|
80
|
-
} catch {
|
|
81
|
-
}
|
|
77
|
+
M.displayName = "SBlurText";
|
|
82
78
|
export {
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
M as SBlurText,
|
|
80
|
+
M as default
|
|
85
81
|
};
|
|
@@ -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,52 +1,44 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { C as
|
|
4
|
-
import { Breadcrumbs as
|
|
5
|
-
const
|
|
1
|
+
import { j as o } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { forwardRef as f } from "react";
|
|
3
|
+
import { C as i } from "../ChevronRight-CC3l-wPC.js";
|
|
4
|
+
import { Breadcrumbs as $, Typography as t, Link as e } from "@mui/material";
|
|
5
|
+
const j = f(
|
|
6
6
|
({
|
|
7
|
-
items:
|
|
8
|
-
separator:
|
|
9
|
-
LinkComponent:
|
|
10
|
-
currentColor:
|
|
11
|
-
linkColor:
|
|
12
|
-
sx:
|
|
13
|
-
...
|
|
14
|
-
}, p) => /* @__PURE__ */
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
|
|
7
|
+
items: a,
|
|
8
|
+
separator: u = /* @__PURE__ */ o.jsx(i, { fontSize: "small" }),
|
|
9
|
+
LinkComponent: s,
|
|
10
|
+
currentColor: c = "text.primary",
|
|
11
|
+
linkColor: n = "primary.main",
|
|
12
|
+
sx: b,
|
|
13
|
+
...h
|
|
14
|
+
}, p) => /* @__PURE__ */ o.jsx($, { ref: p, separator: u, sx: b, ...h, children: a.map((r, l) => {
|
|
15
|
+
const d = l === a.length - 1;
|
|
16
|
+
return r.isCurrent ?? d ? /* @__PURE__ */ o.jsx(t, { color: c, children: r.label }, `${r.label}-${l}`) : r.onClick ? /* @__PURE__ */ o.jsx(
|
|
17
|
+
e,
|
|
18
18
|
{
|
|
19
19
|
component: "button",
|
|
20
|
-
onClick:
|
|
21
|
-
color:
|
|
20
|
+
onClick: r.onClick,
|
|
21
|
+
color: n,
|
|
22
22
|
underline: "hover",
|
|
23
23
|
sx: { cursor: "pointer", background: "none", border: "none", padding: 0, font: "inherit" },
|
|
24
|
-
children:
|
|
24
|
+
children: r.label
|
|
25
25
|
},
|
|
26
|
-
`${
|
|
27
|
-
) :
|
|
28
|
-
|
|
26
|
+
`${r.label}-${l}`
|
|
27
|
+
) : r.to ? s ? /* @__PURE__ */ o.jsx(
|
|
28
|
+
e,
|
|
29
29
|
{
|
|
30
|
-
component:
|
|
31
|
-
to:
|
|
32
|
-
color:
|
|
30
|
+
component: s,
|
|
31
|
+
to: r.to,
|
|
32
|
+
color: n,
|
|
33
33
|
underline: "hover",
|
|
34
|
-
children:
|
|
34
|
+
children: r.label
|
|
35
35
|
},
|
|
36
|
-
`${
|
|
37
|
-
) : /* @__PURE__ */
|
|
36
|
+
`${r.label}-${l}`
|
|
37
|
+
) : /* @__PURE__ */ o.jsx(e, { href: r.to, color: n, underline: "hover", children: r.label }, `${r.label}-${l}`) : /* @__PURE__ */ o.jsx(t, { color: c, children: r.label }, `${r.label}-${l}`);
|
|
38
38
|
}) })
|
|
39
39
|
);
|
|
40
|
-
|
|
41
|
-
try {
|
|
42
|
-
l.displayName = "SBreadcrumbs", l.__docgenInfo = { description: "A breadcrumb navigation component for displaying hierarchical navigation paths.", displayName: "SBreadcrumbs", props: { sx: { defaultValue: null, description: "System prop for custom styling", name: "sx", required: !1, type: { name: "SxProps<Theme>" } }, separator: { defaultValue: { value: '<ChevronRightIcon fontSize="small" />' }, description: "Custom separator element between breadcrumb items", name: "separator", required: !1, type: { name: "ReactNode" } }, items: { defaultValue: null, description: "Array of breadcrumb items to display", name: "items", required: !0, type: { name: "BreadcrumbItem[]" } }, LinkComponent: { defaultValue: null, description: "Custom link component (e.g., React Router Link) for navigation", name: "LinkComponent", required: !1, type: { name: "ElementType<any, keyof IntrinsicElements>" } }, currentColor: { defaultValue: { value: "text.primary" }, description: "Color of the current (active) breadcrumb item", name: "currentColor", required: !1, type: { name: "string" } }, linkColor: { defaultValue: { value: "primary.main" }, description: "Color of clickable breadcrumb links", name: "linkColor", required: !1, type: { name: "string" } } } };
|
|
43
|
-
} catch {
|
|
44
|
-
}
|
|
45
|
-
try {
|
|
46
|
-
sbreadcrumbs.displayName = "sbreadcrumbs", sbreadcrumbs.__docgenInfo = { description: "A breadcrumb navigation component for displaying hierarchical navigation paths.", displayName: "sbreadcrumbs", props: { sx: { defaultValue: null, description: "System prop for custom styling", name: "sx", required: !1, type: { name: "SxProps<Theme>" } }, separator: { defaultValue: { value: '<ChevronRightIcon fontSize="small" />' }, description: "Custom separator element between breadcrumb items", name: "separator", required: !1, type: { name: "ReactNode" } }, items: { defaultValue: null, description: "Array of breadcrumb items to display", name: "items", required: !0, type: { name: "BreadcrumbItem[]" } }, LinkComponent: { defaultValue: null, description: "Custom link component (e.g., React Router Link) for navigation", name: "LinkComponent", required: !1, type: { name: "ElementType<any, keyof IntrinsicElements>" } }, currentColor: { defaultValue: { value: "text.primary" }, description: "Color of the current (active) breadcrumb item", name: "currentColor", required: !1, type: { name: "string" } }, linkColor: { defaultValue: { value: "primary.main" }, description: "Color of clickable breadcrumb links", name: "linkColor", required: !1, type: { name: "string" } } } };
|
|
47
|
-
} catch {
|
|
48
|
-
}
|
|
40
|
+
j.displayName = "SBreadcrumbs";
|
|
49
41
|
export {
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
j as SBreadcrumbs,
|
|
43
|
+
j as default
|
|
52
44
|
};
|
|
@@ -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,17 +1,9 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { Button as
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
try {
|
|
7
|
-
o.displayName = "SButton", o.__docgenInfo = { description: "A versatile button component built on Material-UI Button with consistent theming and accessibility features.", displayName: "SButton", props: {} };
|
|
8
|
-
} catch {
|
|
9
|
-
}
|
|
10
|
-
try {
|
|
11
|
-
sbutton.displayName = "sbutton", sbutton.__docgenInfo = { description: "A versatile button component built on Material-UI Button with consistent theming and accessibility features.", displayName: "sbutton", props: {} };
|
|
12
|
-
} catch {
|
|
13
|
-
}
|
|
1
|
+
import { j as r } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { forwardRef as m } from "react";
|
|
3
|
+
import { Button as s } from "@mui/material";
|
|
4
|
+
const a = m((t, o) => /* @__PURE__ */ r.jsx(s, { ref: o, ...t }));
|
|
5
|
+
a.displayName = "SButton";
|
|
14
6
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
a as SButton,
|
|
8
|
+
a as default
|
|
17
9
|
};
|
|
@@ -1,45 +1,37 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { Typography as
|
|
3
|
-
const
|
|
4
|
-
onClick:
|
|
5
|
-
beforeText:
|
|
6
|
-
afterText:
|
|
7
|
-
mainText:
|
|
8
|
-
href:
|
|
9
|
-
component:
|
|
10
|
-
target:
|
|
11
|
-
color:
|
|
12
|
-
linkColor:
|
|
13
|
-
variant:
|
|
14
|
-
lineHeight:
|
|
15
|
-
}) => /* @__PURE__ */
|
|
16
|
-
|
|
1
|
+
import { j as o } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { Typography as m, Link as u } from "@mui/material";
|
|
3
|
+
const l = ({
|
|
4
|
+
onClick: r,
|
|
5
|
+
beforeText: t = "",
|
|
6
|
+
afterText: i = "",
|
|
7
|
+
mainText: n = "",
|
|
8
|
+
href: e = "#",
|
|
9
|
+
component: s = "a",
|
|
10
|
+
target: a,
|
|
11
|
+
color: p = "text.secondary",
|
|
12
|
+
linkColor: d = void 0,
|
|
13
|
+
variant: x = "body2",
|
|
14
|
+
lineHeight: c
|
|
15
|
+
}) => /* @__PURE__ */ o.jsxs(m, { variant: x, lineHeight: c, color: p, children: [
|
|
16
|
+
t,
|
|
17
17
|
" ",
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
|
|
18
|
+
/* @__PURE__ */ o.jsx(
|
|
19
|
+
u,
|
|
20
20
|
{
|
|
21
|
-
href:
|
|
22
|
-
onClick:
|
|
21
|
+
href: e,
|
|
22
|
+
onClick: r,
|
|
23
23
|
sx: { cursor: "pointer", fontSize: "inherit" },
|
|
24
|
-
component:
|
|
25
|
-
target:
|
|
26
|
-
color:
|
|
27
|
-
children:
|
|
24
|
+
component: s,
|
|
25
|
+
target: a,
|
|
26
|
+
color: d,
|
|
27
|
+
children: n
|
|
28
28
|
}
|
|
29
29
|
),
|
|
30
30
|
" ",
|
|
31
|
-
|
|
31
|
+
i
|
|
32
32
|
] });
|
|
33
|
-
|
|
34
|
-
try {
|
|
35
|
-
t.displayName = "SButtonLink", t.__docgenInfo = { description: "A flexible link component that combines text and a clickable link element.", displayName: "SButtonLink", props: { beforeText: { defaultValue: { value: "" }, description: "Text or element displayed before the main link", name: "beforeText", required: !1, type: { name: "ReactNode" } }, afterText: { defaultValue: { value: "" }, description: "Text or element displayed after the main link", name: "afterText", required: !1, type: { name: "ReactNode" } }, mainText: { defaultValue: { value: "" }, description: "The main clickable link text or element", name: "mainText", required: !1, type: { name: "ReactNode" } }, href: { defaultValue: { value: "#" }, description: "URL for the link (defaults to '#')", name: "href", required: !1, type: { name: "string" } }, component: { defaultValue: { value: "a" }, description: "Component to render the link as (e.g., RouterLink for client-side routing)", name: "component", required: !1, type: { name: "ElementType<any, keyof IntrinsicElements>" } }, target: { defaultValue: null, description: "Target attribute for the link (e.g., '_blank' for new tab)", name: "target", required: !1, type: { name: "string" } }, color: { defaultValue: { value: "text.secondary" }, description: "Color of the surrounding text", name: "color", required: !1, type: { name: '(string & {}) | OverridableStringUnion<"textPrimary" | "textSecondary" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | "textDisabled", TypographyPropsColorOverrides>' } }, linkColor: { defaultValue: { value: "undefined" }, description: "Color of the link itself (overrides default link color)", name: "linkColor", required: !1, type: { name: '(string & {}) | OverridableStringUnion<"textPrimary" | "textSecondary" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | "textDisabled", TypographyPropsColorOverrides>' } }, lineHeight: { defaultValue: null, description: "Line height for the typography", name: "lineHeight", required: !1, type: { name: "ResponsiveStyleValue<LineHeight<string | number> | readonly NonNullable<LineHeight<string | number>>[]> | ((theme: Theme) => ResponsiveStyleValue<...>)" } }, variant: { defaultValue: { value: "body2" }, description: "Typography variant for the container text", name: "variant", 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"' }] } }, onClick: { defaultValue: null, description: "Click handler for the link", name: "onClick", required: !1, type: { name: "MouseEventHandler<HTMLAnchorElement>" } } } };
|
|
36
|
-
} catch {
|
|
37
|
-
}
|
|
38
|
-
try {
|
|
39
|
-
sbuttonlink.displayName = "sbuttonlink", sbuttonlink.__docgenInfo = { description: "A flexible link component that combines text and a clickable link element.", displayName: "sbuttonlink", props: { beforeText: { defaultValue: { value: "" }, description: "Text or element displayed before the main link", name: "beforeText", required: !1, type: { name: "ReactNode" } }, afterText: { defaultValue: { value: "" }, description: "Text or element displayed after the main link", name: "afterText", required: !1, type: { name: "ReactNode" } }, mainText: { defaultValue: { value: "" }, description: "The main clickable link text or element", name: "mainText", required: !1, type: { name: "ReactNode" } }, href: { defaultValue: { value: "#" }, description: "URL for the link (defaults to '#')", name: "href", required: !1, type: { name: "string" } }, component: { defaultValue: { value: "a" }, description: "Component to render the link as (e.g., RouterLink for client-side routing)", name: "component", required: !1, type: { name: "ElementType<any, keyof IntrinsicElements>" } }, target: { defaultValue: null, description: "Target attribute for the link (e.g., '_blank' for new tab)", name: "target", required: !1, type: { name: "string" } }, color: { defaultValue: { value: "text.secondary" }, description: "Color of the surrounding text", name: "color", required: !1, type: { name: '(string & {}) | OverridableStringUnion<"textPrimary" | "textSecondary" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | "textDisabled", TypographyPropsColorOverrides>' } }, linkColor: { defaultValue: { value: "undefined" }, description: "Color of the link itself (overrides default link color)", name: "linkColor", required: !1, type: { name: '(string & {}) | OverridableStringUnion<"textPrimary" | "textSecondary" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | "textDisabled", TypographyPropsColorOverrides>' } }, lineHeight: { defaultValue: null, description: "Line height for the typography", name: "lineHeight", required: !1, type: { name: "ResponsiveStyleValue<LineHeight<string | number> | readonly NonNullable<LineHeight<string | number>>[]> | ((theme: Theme) => ResponsiveStyleValue<...>)" } }, variant: { defaultValue: { value: "body2" }, description: "Typography variant for the container text", name: "variant", 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"' }] } }, onClick: { defaultValue: null, description: "Click handler for the link", name: "onClick", required: !1, type: { name: "MouseEventHandler<HTMLAnchorElement>" } } } };
|
|
40
|
-
} catch {
|
|
41
|
-
}
|
|
33
|
+
l.displayName = "SButtonLink";
|
|
42
34
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
35
|
+
l as SButtonLink,
|
|
36
|
+
l as default
|
|
45
37
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
"main": "./index.js",
|
|
3
|
-
"types": "./index.d.ts",
|
|
4
|
-
"sideEffects": false
|
|
1
|
+
{
|
|
2
|
+
"main": "./index.js",
|
|
3
|
+
"types": "./index.d.ts",
|
|
4
|
+
"sideEffects": false
|
|
5
5
|
}
|