@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,11 +1,10 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { d as y } from "./defaultTheme-fEi1x1Gb.js";
|
|
1
|
+
import { j as i } from "./jsx-runtime-tc70JA_2.js";
|
|
2
|
+
import { e as y } from "./extendSxProp-DitxZ8We.js";
|
|
3
|
+
import { P as e } from "./createTheme-f5g1s6ww.js";
|
|
4
|
+
import { d as m } from "./defaultTheme-LSr-S9un.js";
|
|
6
5
|
import { T as d } from "./identifier-BKLqN993.js";
|
|
7
|
-
import { i as b } from "./index-
|
|
8
|
-
import { u as T } from "./useTheme-
|
|
6
|
+
import { i as b } from "./index-D3G5Rwl-.js";
|
|
7
|
+
import { u as T } from "./useTheme-CtdhfT4P.js";
|
|
9
8
|
import { Global as x } from "@emotion/react";
|
|
10
9
|
function E(r) {
|
|
11
10
|
return r == null || Object.keys(r).length === 0;
|
|
@@ -59,7 +58,7 @@ process.env.NODE_ENV !== "production" && (f.propTypes = {
|
|
|
59
58
|
function c(r) {
|
|
60
59
|
return /* @__PURE__ */ i.jsx(f, {
|
|
61
60
|
...r,
|
|
62
|
-
defaultTheme:
|
|
61
|
+
defaultTheme: m,
|
|
63
62
|
themeId: d
|
|
64
63
|
});
|
|
65
64
|
}
|
|
@@ -73,7 +72,7 @@ process.env.NODE_ENV !== "production" && (c.propTypes = {
|
|
|
73
72
|
*/
|
|
74
73
|
styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool])
|
|
75
74
|
});
|
|
76
|
-
function
|
|
75
|
+
function _(r) {
|
|
77
76
|
return function(l) {
|
|
78
77
|
return (
|
|
79
78
|
// Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.
|
|
@@ -86,10 +85,10 @@ function D(r) {
|
|
|
86
85
|
);
|
|
87
86
|
};
|
|
88
87
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
88
|
+
function D() {
|
|
89
|
+
return y;
|
|
91
90
|
}
|
|
92
91
|
export {
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
_ as g,
|
|
93
|
+
D as i
|
|
95
94
|
};
|
|
@@ -1,84 +1,66 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
var F;
|
|
13
|
-
function re() {
|
|
14
|
-
if (F) return _;
|
|
15
|
-
F = 1;
|
|
16
|
-
var l = Symbol.for("react.transitional.element"), b = Symbol.for("react.fragment");
|
|
17
|
-
function f(d, a, s) {
|
|
18
|
-
var m = null;
|
|
19
|
-
if (s !== void 0 && (m = "" + s), a.key !== void 0 && (m = "" + a.key), "key" in a) {
|
|
1
|
+
import K from "react";
|
|
2
|
+
var v = { exports: {} }, m = {};
|
|
3
|
+
var I;
|
|
4
|
+
function ee() {
|
|
5
|
+
if (I) return m;
|
|
6
|
+
I = 1;
|
|
7
|
+
var l = /* @__PURE__ */ Symbol.for("react.transitional.element"), E = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
8
|
+
function c(i, o, s) {
|
|
9
|
+
var f = null;
|
|
10
|
+
if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
|
|
20
11
|
s = {};
|
|
21
|
-
for (var
|
|
22
|
-
|
|
23
|
-
} else s =
|
|
24
|
-
return
|
|
12
|
+
for (var d in o)
|
|
13
|
+
d !== "key" && (s[d] = o[d]);
|
|
14
|
+
} else s = o;
|
|
15
|
+
return o = s.ref, {
|
|
25
16
|
$$typeof: l,
|
|
26
|
-
type:
|
|
27
|
-
key:
|
|
28
|
-
ref:
|
|
17
|
+
type: i,
|
|
18
|
+
key: f,
|
|
19
|
+
ref: o !== void 0 ? o : null,
|
|
29
20
|
props: s
|
|
30
21
|
};
|
|
31
22
|
}
|
|
32
|
-
return
|
|
23
|
+
return m.Fragment = E, m.jsx = c, m.jsxs = c, m;
|
|
33
24
|
}
|
|
34
|
-
var
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
*
|
|
39
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
-
*
|
|
41
|
-
* This source code is licensed under the MIT license found in the
|
|
42
|
-
* LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/
|
|
44
|
-
var D;
|
|
45
|
-
function te() {
|
|
46
|
-
return D || (D = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
25
|
+
var _ = {};
|
|
26
|
+
var $;
|
|
27
|
+
function re() {
|
|
28
|
+
return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
47
29
|
function l(e) {
|
|
48
30
|
if (e == null) return null;
|
|
49
31
|
if (typeof e == "function")
|
|
50
|
-
return e.$$typeof ===
|
|
32
|
+
return e.$$typeof === H ? null : e.displayName || e.name || null;
|
|
51
33
|
if (typeof e == "string") return e;
|
|
52
34
|
switch (e) {
|
|
53
35
|
case p:
|
|
54
36
|
return "Fragment";
|
|
55
|
-
case J:
|
|
56
|
-
return "Profiler";
|
|
57
37
|
case U:
|
|
38
|
+
return "Profiler";
|
|
39
|
+
case W:
|
|
58
40
|
return "StrictMode";
|
|
59
|
-
case
|
|
41
|
+
case z:
|
|
60
42
|
return "Suspense";
|
|
61
|
-
case
|
|
43
|
+
case G:
|
|
62
44
|
return "SuspenseList";
|
|
63
|
-
case
|
|
45
|
+
case B:
|
|
64
46
|
return "Activity";
|
|
65
47
|
}
|
|
66
48
|
if (typeof e == "object")
|
|
67
49
|
switch (typeof e.tag == "number" && console.error(
|
|
68
50
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
51
|
), e.$$typeof) {
|
|
70
|
-
case
|
|
52
|
+
case M:
|
|
71
53
|
return "Portal";
|
|
72
|
-
case z:
|
|
73
|
-
return (e.displayName || "Context") + ".Provider";
|
|
74
|
-
case q:
|
|
75
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
54
|
case V:
|
|
55
|
+
return e.displayName || "Context";
|
|
56
|
+
case J:
|
|
57
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
58
|
+
case q:
|
|
77
59
|
var r = e.render;
|
|
78
60
|
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
-
case
|
|
61
|
+
case X:
|
|
80
62
|
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
81
|
-
case
|
|
63
|
+
case T:
|
|
82
64
|
r = e._payload, e = e._init;
|
|
83
65
|
try {
|
|
84
66
|
return l(e(r));
|
|
@@ -87,12 +69,12 @@ function te() {
|
|
|
87
69
|
}
|
|
88
70
|
return null;
|
|
89
71
|
}
|
|
90
|
-
function
|
|
72
|
+
function E(e) {
|
|
91
73
|
return "" + e;
|
|
92
74
|
}
|
|
93
|
-
function
|
|
75
|
+
function c(e) {
|
|
94
76
|
try {
|
|
95
|
-
|
|
77
|
+
E(e);
|
|
96
78
|
var r = !1;
|
|
97
79
|
} catch {
|
|
98
80
|
r = !0;
|
|
@@ -104,12 +86,12 @@ function te() {
|
|
|
104
86
|
r,
|
|
105
87
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
88
|
n
|
|
107
|
-
),
|
|
89
|
+
), E(e);
|
|
108
90
|
}
|
|
109
91
|
}
|
|
110
|
-
function
|
|
92
|
+
function i(e) {
|
|
111
93
|
if (e === p) return "<>";
|
|
112
|
-
if (typeof e == "object" && e !== null && e.$$typeof ===
|
|
94
|
+
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
113
95
|
return "<...>";
|
|
114
96
|
try {
|
|
115
97
|
var r = l(e);
|
|
@@ -118,23 +100,23 @@ function te() {
|
|
|
118
100
|
return "<...>";
|
|
119
101
|
}
|
|
120
102
|
}
|
|
121
|
-
function
|
|
103
|
+
function o() {
|
|
122
104
|
var e = k.A;
|
|
123
105
|
return e === null ? null : e.getOwner();
|
|
124
106
|
}
|
|
125
107
|
function s() {
|
|
126
108
|
return Error("react-stack-top-frame");
|
|
127
109
|
}
|
|
128
|
-
function
|
|
129
|
-
if (
|
|
110
|
+
function f(e) {
|
|
111
|
+
if (x.call(e, "key")) {
|
|
130
112
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
113
|
if (r && r.isReactWarning) return !1;
|
|
132
114
|
}
|
|
133
115
|
return e.key !== void 0;
|
|
134
116
|
}
|
|
135
|
-
function
|
|
117
|
+
function d(e, r) {
|
|
136
118
|
function t() {
|
|
137
|
-
|
|
119
|
+
g || (g = !0, console.error(
|
|
138
120
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
139
121
|
r
|
|
140
122
|
));
|
|
@@ -144,22 +126,23 @@ function te() {
|
|
|
144
126
|
configurable: !0
|
|
145
127
|
});
|
|
146
128
|
}
|
|
147
|
-
function
|
|
129
|
+
function D() {
|
|
148
130
|
var e = l(this.type);
|
|
149
|
-
return
|
|
131
|
+
return h[e] || (h[e] = !0, console.error(
|
|
150
132
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
133
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
134
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
155
|
-
|
|
135
|
+
function L(e, r, t, n, b, A) {
|
|
136
|
+
var a = t.ref;
|
|
137
|
+
return e = {
|
|
138
|
+
$$typeof: j,
|
|
156
139
|
type: e,
|
|
157
140
|
key: r,
|
|
158
|
-
props:
|
|
159
|
-
_owner:
|
|
160
|
-
}, (
|
|
141
|
+
props: t,
|
|
142
|
+
_owner: n
|
|
143
|
+
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
144
|
enumerable: !1,
|
|
162
|
-
get:
|
|
145
|
+
get: D
|
|
163
146
|
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
164
147
|
configurable: !1,
|
|
165
148
|
enumerable: !1,
|
|
@@ -174,33 +157,33 @@ function te() {
|
|
|
174
157
|
configurable: !1,
|
|
175
158
|
enumerable: !1,
|
|
176
159
|
writable: !0,
|
|
177
|
-
value:
|
|
160
|
+
value: b
|
|
178
161
|
}), Object.defineProperty(e, "_debugTask", {
|
|
179
162
|
configurable: !1,
|
|
180
163
|
enumerable: !1,
|
|
181
164
|
writable: !0,
|
|
182
|
-
value:
|
|
165
|
+
value: A
|
|
183
166
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
167
|
}
|
|
185
|
-
function
|
|
186
|
-
var
|
|
187
|
-
if (
|
|
168
|
+
function P(e, r, t, n, b, A) {
|
|
169
|
+
var a = r.children;
|
|
170
|
+
if (a !== void 0)
|
|
188
171
|
if (n)
|
|
189
|
-
if (
|
|
190
|
-
for (n = 0; n <
|
|
191
|
-
w(
|
|
192
|
-
Object.freeze && Object.freeze(
|
|
172
|
+
if (Z(a)) {
|
|
173
|
+
for (n = 0; n < a.length; n++)
|
|
174
|
+
w(a[n]);
|
|
175
|
+
Object.freeze && Object.freeze(a);
|
|
193
176
|
} else
|
|
194
177
|
console.error(
|
|
195
178
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
196
179
|
);
|
|
197
|
-
else w(
|
|
198
|
-
if (
|
|
199
|
-
|
|
200
|
-
var
|
|
201
|
-
return
|
|
180
|
+
else w(a);
|
|
181
|
+
if (x.call(r, "key")) {
|
|
182
|
+
a = l(e);
|
|
183
|
+
var u = Object.keys(r).filter(function(Q) {
|
|
184
|
+
return Q !== "key";
|
|
202
185
|
});
|
|
203
|
-
n = 0 <
|
|
186
|
+
n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
187
|
`A props object containing a "key" prop is being spread into JSX:
|
|
205
188
|
let props = %s;
|
|
206
189
|
<%s {...props} />
|
|
@@ -208,77 +191,74 @@ React keys must be passed directly to JSX without using spread:
|
|
|
208
191
|
let props = %s;
|
|
209
192
|
<%s key={someKey} {...props} />`,
|
|
210
193
|
n,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
),
|
|
194
|
+
a,
|
|
195
|
+
u,
|
|
196
|
+
a
|
|
197
|
+
), Y[a + n] = !0);
|
|
215
198
|
}
|
|
216
|
-
if (
|
|
199
|
+
if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
|
|
217
200
|
t = {};
|
|
218
|
-
for (var
|
|
219
|
-
|
|
201
|
+
for (var S in r)
|
|
202
|
+
S !== "key" && (t[S] = r[S]);
|
|
220
203
|
} else t = r;
|
|
221
|
-
return
|
|
204
|
+
return a && d(
|
|
222
205
|
t,
|
|
223
206
|
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
|
-
),
|
|
207
|
+
), L(
|
|
225
208
|
e,
|
|
226
|
-
|
|
227
|
-
u,
|
|
228
|
-
c,
|
|
229
|
-
a(),
|
|
209
|
+
a,
|
|
230
210
|
t,
|
|
231
|
-
|
|
232
|
-
|
|
211
|
+
o(),
|
|
212
|
+
b,
|
|
213
|
+
A
|
|
233
214
|
);
|
|
234
215
|
}
|
|
235
216
|
function w(e) {
|
|
236
|
-
typeof e == "object" && e !== null && e.$$typeof ===
|
|
217
|
+
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
218
|
+
}
|
|
219
|
+
function y(e) {
|
|
220
|
+
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
237
221
|
}
|
|
238
|
-
var
|
|
222
|
+
var R = K, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), M = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), q = /* @__PURE__ */ Symbol.for("react.forward_ref"), z = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.suspense_list"), X = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), B = /* @__PURE__ */ Symbol.for("react.activity"), H = /* @__PURE__ */ Symbol.for("react.client.reference"), k = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
239
223
|
return null;
|
|
240
224
|
};
|
|
241
|
-
|
|
225
|
+
R = {
|
|
242
226
|
react_stack_bottom_frame: function(e) {
|
|
243
227
|
return e();
|
|
244
228
|
}
|
|
245
229
|
};
|
|
246
|
-
var
|
|
247
|
-
|
|
230
|
+
var g, h = {}, N = R.react_stack_bottom_frame.bind(
|
|
231
|
+
R,
|
|
248
232
|
s
|
|
249
|
-
)(),
|
|
250
|
-
|
|
251
|
-
var
|
|
252
|
-
return
|
|
233
|
+
)(), C = O(i(s)), Y = {};
|
|
234
|
+
_.Fragment = p, _.jsx = function(e, r, t) {
|
|
235
|
+
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
236
|
+
return P(
|
|
253
237
|
e,
|
|
254
238
|
r,
|
|
255
239
|
t,
|
|
256
240
|
!1,
|
|
257
|
-
n,
|
|
258
|
-
|
|
259
|
-
u ? Error("react-stack-top-frame") : C,
|
|
260
|
-
u ? O(d(e)) : Y
|
|
241
|
+
n ? Error("react-stack-top-frame") : N,
|
|
242
|
+
n ? O(i(e)) : C
|
|
261
243
|
);
|
|
262
|
-
},
|
|
263
|
-
var
|
|
264
|
-
return
|
|
244
|
+
}, _.jsxs = function(e, r, t) {
|
|
245
|
+
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
246
|
+
return P(
|
|
265
247
|
e,
|
|
266
248
|
r,
|
|
267
249
|
t,
|
|
268
250
|
!0,
|
|
269
|
-
n,
|
|
270
|
-
|
|
271
|
-
u ? Error("react-stack-top-frame") : C,
|
|
272
|
-
u ? O(d(e)) : Y
|
|
251
|
+
n ? Error("react-stack-top-frame") : N,
|
|
252
|
+
n ? O(i(e)) : C
|
|
273
253
|
);
|
|
274
254
|
};
|
|
275
|
-
})()),
|
|
255
|
+
})()), _;
|
|
276
256
|
}
|
|
277
|
-
var
|
|
278
|
-
function
|
|
279
|
-
return
|
|
257
|
+
var F;
|
|
258
|
+
function te() {
|
|
259
|
+
return F || (F = 1, process.env.NODE_ENV === "production" ? v.exports = ee() : v.exports = re()), v.exports;
|
|
280
260
|
}
|
|
281
|
-
var ae =
|
|
261
|
+
var ae = te();
|
|
282
262
|
export {
|
|
283
263
|
ae as j
|
|
284
264
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -1,145 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export type { SChipProps } from './s-chip/index';
|
|
31
|
-
export { default as SChips } from './s-chips/index';
|
|
32
|
-
export type { SChipsProps } from './s-chips/index';
|
|
33
|
-
export { default as SDataTable } from './s-data-table/index';
|
|
34
|
-
export type { ColumnDef, SDataTableProps } from './s-data-table/index';
|
|
35
|
-
export { default as SDialogConfirm, DialogConfirmProvider, useDialogConfirm } from './s-dialog-confirm/index';
|
|
36
|
-
export type { DialogConfirmContextProps, DialogConfirmOpenOptions } from './s-dialog-confirm/index';
|
|
37
|
-
export { default as SDialogMessage, DialogMessageProvider, useDialogMessage } from './s-dialog-message/index';
|
|
38
|
-
export type { DialogMessageContextProps, DialogMessageOpenOptions } from './s-dialog-message/index';
|
|
39
|
-
export { default as SError } from './s-error/index';
|
|
40
|
-
export { default as SEmpty } from './s-empty/index';
|
|
41
|
-
export type { SEmptyProps } from './s-empty/index';
|
|
42
|
-
export { default as SFlexBox } from './s-flex-box/index';
|
|
43
|
-
export type { SFlexBoxProps } from './s-flex-box/index';
|
|
44
|
-
export { default as STwoPaneLayout } from './s-two-pane-layout/index';
|
|
45
|
-
export type { STwoPaneLayoutProps } from './s-two-pane-layout/index';
|
|
46
|
-
export { default as SDialog } from './s-dialog/index';
|
|
47
|
-
export type { SDialogProps } from './s-dialog/index';
|
|
48
|
-
export { default as SErrorLayout } from './s-error-layout/index';
|
|
49
|
-
export type { SErrorLayoutProps } from './s-error-layout/index';
|
|
50
|
-
export { default as SFileDropzone } from './s-file-dropzone/index';
|
|
51
|
-
export type { CustomFile, SFileDropzoneProps } from './s-file-dropzone/index';
|
|
52
|
-
export { default as SFileIcon } from './s-file-icon/index';
|
|
53
|
-
export type { SFileIconProps } from './s-file-icon/index';
|
|
54
|
-
export { default as SI18nProvider } from './s-i18n-provider/index';
|
|
55
|
-
export type { SI18nProviderProps } from './s-i18n-provider/index';
|
|
56
|
-
export { default as SIconButton } from './s-icon-button/index';
|
|
57
|
-
export type { SIconButtonProps } from './s-icon-button/index';
|
|
58
|
-
export { default as SLabel } from './s-label/index';
|
|
59
|
-
export type { SLabelProps } from './s-label/index';
|
|
60
|
-
export { default as SMultiSelect } from './s-multi-select/index';
|
|
61
|
-
export type { SMultiSelectProps } from './s-multi-select/index';
|
|
62
|
-
export { default as SNoSsr } from './s-no-ssr/index';
|
|
63
|
-
export type { SNoSsrProps } from './s-no-ssr/index';
|
|
64
|
-
export { default as SOverlayScrollbar } from './s-overlay-scrollbar/index';
|
|
65
|
-
export type { SOverlayScrollbarProps } from './s-overlay-scrollbar/index';
|
|
66
|
-
export { default as STextField } from './s-text-field/index';
|
|
67
|
-
export type { STextFieldProps } from './s-text-field/index';
|
|
68
|
-
export { default as SPagination } from './s-pagination/index';
|
|
69
|
-
export type { SPaginationProps } from './s-pagination/index';
|
|
70
|
-
export { default as SSelect } from './s-select/index';
|
|
71
|
-
export type { SSelectProps } from './s-select/index';
|
|
72
|
-
export { default as SSelectList } from './s-select-list/index';
|
|
73
|
-
export type { SSelectListProps, SSelectListItem } from './s-select-list/index';
|
|
74
|
-
export { default as SSkeleton } from './s-skeleton/index';
|
|
75
|
-
export type { SSkeletonProps } from './s-skeleton/index';
|
|
76
|
-
export { default as STip } from './s-tip/index';
|
|
77
|
-
export type { STipProps } from './s-tip/index';
|
|
78
|
-
export { default as STextTruncation } from './s-text-truncation/index';
|
|
79
|
-
export { default as SSnackbarMessage, SnackbarMessageProvider, useSnackbarMessage } from './s-snackbar-message/index';
|
|
80
|
-
export type { SnackbarMessageContextProps, SnackbarMessageOpenOptions } from './s-snackbar-message/index';
|
|
81
|
-
export { default as SForm } from './s-form/index';
|
|
82
|
-
export type { SFormProps } from './s-form/index';
|
|
83
|
-
export { SStripeNumber, SStripeExpiry, SStripeCVC, StripeTextField } from './s-stripe/index';
|
|
84
|
-
export type { StripeTextFieldProps, StripeElement } from './s-stripe/index';
|
|
85
|
-
export { default as SThemeProvider } from './s-theme-provider/index';
|
|
86
|
-
export type { SThemeProviderProps } from './s-theme-provider/index';
|
|
87
|
-
export { default as SThemeSwitch } from './s-theme-switch/index';
|
|
88
|
-
export type { SThemeSwitchProps, SThemeMode } from './s-theme-switch/index';
|
|
89
|
-
export { default as SDateTimePicker } from './s-datetime-picker/index';
|
|
90
|
-
export type { SDateTimePickerProps } from './s-datetime-picker/index';
|
|
91
|
-
export { default as SDatePicker } from './s-date-picker/index';
|
|
92
|
-
export type { SDatePickerProps } from './s-date-picker/index';
|
|
93
|
-
export { default as SLocalizationProvider } from './s-localization-provider/index';
|
|
94
|
-
export type { SLocalizationProviderProps } from './s-localization-provider/index';
|
|
95
|
-
export { default as SGradientIcon } from './s-gradient-icon/index';
|
|
96
|
-
export type { SGradientIconProps } from './s-gradient-icon/index';
|
|
97
|
-
export { default as SGlowButton } from './s-glow-button/index';
|
|
98
|
-
export type { SGlowButtonProps } from './s-glow-button/index';
|
|
99
|
-
export { default as SMovingBorder } from './s-moving-border/index';
|
|
100
|
-
export type { SMovingBorderProps } from './s-moving-border/index';
|
|
101
|
-
export { default as SPixelReveal } from './s-pixel-reveal/index';
|
|
102
|
-
export type { SPixelRevealProps } from './s-pixel-reveal/index';
|
|
103
|
-
export { default as SScrollReveal } from './s-scroll-reveal/index';
|
|
104
|
-
export type { SScrollRevealProps } from './s-scroll-reveal/index';
|
|
105
|
-
export { default as SScrollVelocity, ScrollVelocityContainer, ScrollVelocityRow } from './s-scroll-velocity/index';
|
|
106
|
-
export type { SScrollVelocityProps, ScrollVelocityContainerProps, ScrollVelocityRowProps, } from './s-scroll-velocity/index';
|
|
107
|
-
export { default as SSpotlightCursor } from './s-spotlight-cursor/index';
|
|
108
|
-
export type { SSpotlightCursorProps, SpotlightConfig } from './s-spotlight-cursor/index';
|
|
109
|
-
export { default as SCopyableText } from './s-copyable-text/index';
|
|
110
|
-
export type { SCopyableTextProps } from './s-copyable-text/index';
|
|
111
|
-
export { default as SCodeBlock } from './s-code-block/index';
|
|
112
|
-
export type { SCodeBlockProps } from './s-code-block/index';
|
|
113
|
-
export { default as SGallery, MediaItem } from './s-gallery/index';
|
|
114
|
-
export type { SGalleryProps, MediaItemProps, GalleryLayoutVariant } from './s-gallery/index';
|
|
115
|
-
export { default as SImageModal } from './s-image-modal/index';
|
|
116
|
-
export type { MediaItemType } from './s-image-modal/index';
|
|
117
|
-
export type { SImageModalProps } from './s-image-modal/index';
|
|
118
|
-
export { default as SLazyImage } from './s-lazy-image/index';
|
|
119
|
-
export type { SLazyImageProps } from './s-lazy-image/index';
|
|
120
|
-
export { default as SImageComparison } from './s-image-comparison/index';
|
|
121
|
-
export type { SImageComparisonProps } from './s-image-comparison/index';
|
|
122
|
-
export { default as SZoomImage } from './s-zoom-image/index';
|
|
123
|
-
export type { SZoomImageProps } from './s-zoom-image/index';
|
|
124
|
-
export { default as SItemNotFound } from './s-item-not-found/index';
|
|
125
|
-
export type { SItemNotFoundProps } from './s-item-not-found/index';
|
|
126
|
-
export { default as SCategoryCard } from './s-category-card/index';
|
|
127
|
-
export type { SCategoryCardProps } from './s-category-card/index';
|
|
128
|
-
export { default as SRadialPulseAnimate } from './s-radial-pulse-animate/index';
|
|
129
|
-
export type { SRadialPulseAnimateProps } from './s-radial-pulse-animate/index';
|
|
130
|
-
export { default as SRating } from './s-rating/index';
|
|
131
|
-
export type { SRatingProps } from './s-rating/index';
|
|
132
|
-
export { default as SReview } from './s-review/index';
|
|
133
|
-
export type { SReviewProps } from './s-review/index';
|
|
134
|
-
export { STabs, STab, STabPanel } from './s-tabs/index';
|
|
135
|
-
export type { STabsProps, STabItem, STabProps, STabPanelProps } from './s-tabs/index';
|
|
136
|
-
export { default as STextShimmer } from './s-text-shimmer/index';
|
|
137
|
-
export type { STextShimmerProps } from './s-text-shimmer/index';
|
|
138
|
-
export { default as STypewriterText } from './s-typewriter-text/index';
|
|
139
|
-
export type { STypewriterTextProps } from './s-typewriter-text/index';
|
|
140
|
-
export { default as SLanguageSwitcher, SLanguagePopover, defaultLanguageOptions } from './s-language-switcher/index';
|
|
141
|
-
export type { SLanguageSwitcherProps, SLanguagePopoverProps, SLanguageOption } from './s-language-switcher/index';
|
|
142
|
-
export { default as SScrollToTop } from './s-scroll-to-top/index';
|
|
143
|
-
export type { SScrollToTopProps } from './s-scroll-to-top/index';
|
|
144
|
-
export * from './hooks';
|
|
145
|
-
export * from './utils';
|
|
1
|
+
/**
|
|
2
|
+
* Main entry point - Re-exports all components from subpath modules
|
|
3
|
+
*
|
|
4
|
+
* For optimized imports with fewer dependencies, use subpath imports:
|
|
5
|
+
* - @solostylist/ui-kit/core - Base MUI components
|
|
6
|
+
* - @solostylist/ui-kit/dates - Date/time pickers (@mui/x-date-pickers, dayjs)
|
|
7
|
+
* - @solostylist/ui-kit/editor - Rich text editor (@tiptap/*)
|
|
8
|
+
* - @solostylist/ui-kit/stripe - Payment components (@stripe/*)
|
|
9
|
+
* - @solostylist/ui-kit/motion - Animations (framer-motion)
|
|
10
|
+
* - @solostylist/ui-kit/gallery - Image components (framer-motion)
|
|
11
|
+
* - @solostylist/ui-kit/carousel - Carousel (react-slick)
|
|
12
|
+
* - @solostylist/ui-kit/chat - Chat with emoji (emoji-picker-react)
|
|
13
|
+
* - @solostylist/ui-kit/dropzone - File upload (react-dropzone)
|
|
14
|
+
* - @solostylist/ui-kit/code - Code display (react-syntax-highlighter)
|
|
15
|
+
* - @solostylist/ui-kit/scrollbar - Custom scrollbar (overlayscrollbars-react)
|
|
16
|
+
* - @solostylist/ui-kit/i18n - Internationalization (i18next)
|
|
17
|
+
*/
|
|
18
|
+
export * from './entries/core';
|
|
19
|
+
export * from './entries/dates';
|
|
20
|
+
export * from './entries/editor';
|
|
21
|
+
export * from './entries/stripe';
|
|
22
|
+
export * from './entries/motion';
|
|
23
|
+
export * from './entries/gallery';
|
|
24
|
+
export * from './entries/carousel';
|
|
25
|
+
export * from './entries/chat';
|
|
26
|
+
export * from './entries/dropzone';
|
|
27
|
+
export * from './entries/code';
|
|
28
|
+
export * from './entries/scrollbar';
|
|
29
|
+
export * from './entries/i18n';
|