@solostylist/ui-kit 1.0.114 → 1.0.115
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/{Box-BVty_s6i.js → Box-D0kAx4PT.js} +5 -5
- package/dist/{ButtonBase-mQcNFFZT.js → ButtonBase-QnP537_L.js} +6 -5
- package/dist/{ChevronRight-DHNkZLlo.js → ChevronRight-SimL9kDt.js} +2 -2
- package/dist/{Close-NkxvAwQr.js → Close-BmQG3xZp.js} +2 -2
- package/dist/{DefaultPropsProvider-B--diaQ3.js → DefaultPropsProvider-CoEfFcSh.js} +2 -2
- package/dist/{ExpandMore-DpFPV8W9.js → ExpandMore-CM0JYSoz.js} +2 -2
- package/dist/{Favorite-DpJ7EDHh.js → Favorite-BEKdrIQq.js} +2 -2
- package/dist/{GlobalStyles-OdaYqxTO.js → GlobalStyles-CpyAg53D.js} +4 -4
- package/dist/{Menu-CcW81QRb.js → Menu-ClZKHyC1.js} +23 -27
- package/dist/{MenuItem-DGNNylSd.js → MenuItem-DxJh8UvK.js} +6 -6
- package/dist/{Paper-BUFfm5KI.js → Paper-CpSojup3.js} +10 -10
- package/dist/{Select-CWgjtbUU.js → Select-CmJydrV_.js} +14 -14
- package/dist/{Stack-CQ7zBwkJ.js → Stack-DKN2SxRo.js} +6 -6
- package/dist/{TransitionGroup-Buyx2ey4.js → TransitionGroup-iVQWCEuB.js} +3 -3
- package/dist/{Typography-fMf8hWqG.js → Typography-N0Mzi70r.js} +5 -5
- package/dist/assets/stripe-input.css +1 -1
- package/dist/{chunk-5P46WS5M-OG9gpzOE.js → chunk-6WTWBXEJ-CEca0jKr.js} +963 -922
- package/dist/{createSvgIcon-PpKM6urg.js → createSvgIcon-L9c3q_HV.js} +4 -4
- package/dist/{createTheme-ubqb7_yU.js → createTheme-CSzTQZIR.js} +4 -4
- package/dist/defaultTheme-QdH8_nrP.js +5 -0
- package/dist/{extendSxProp-5t2om437.js → extendSxProp-BDhPgeA-.js} +1 -1
- package/dist/{index-B6k9mhKf.js → index--x2dvtup.js} +1 -1
- package/dist/{index-N6ZbgVEG.js → index-C8hHiHry.js} +2 -2
- package/dist/{index-h98nw21y.js → index-bBtpkEYO.js} +5 -5
- package/dist/{jsx-runtime-DywqP_6a.js → jsx-runtime-OVHDjVDe.js} +2 -2
- package/dist/{mergeSlotProps-DKFm7I5M.js → mergeSlotProps-BqZn7QoU.js} +1 -1
- package/dist/s-accordion/s-accordion.js +10 -10
- package/dist/s-action-overlay/s-action-overlay.js +1 -1
- package/dist/s-autocomplete/s-autocomplete.js +1 -1
- package/dist/s-avatar/s-avatar.js +1 -1
- package/dist/s-blur-text/s-blur-text.js +1 -1
- package/dist/s-button/s-button.js +1 -1
- package/dist/s-button-link/s-button-link.js +1 -1
- package/dist/s-carousel/s-carousel.js +46 -46
- package/dist/s-category-card/s-category-card.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +3 -3
- package/dist/s-chat-message/s-chat-message.js +2 -2
- package/dist/s-checkbox/s-checkbox.js +1 -1
- package/dist/s-chip/s-chip.js +1 -1
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +4 -4
- package/dist/s-copilot-kit-provider/s-copilot-kit-provider.js +2 -2
- package/dist/s-copyable-text/s-copyable-text.js +2 -2
- package/dist/s-countdown/s-count-down.js +1 -1
- package/dist/s-data-table/s-data-table.js +7 -7
- package/dist/s-date-picker/s-date-picker.js +49 -46
- package/dist/s-datetime-picker/s-datetime-picker.js +655 -653
- package/dist/s-dialog/s-dialog.js +2 -2
- package/dist/s-dialog-confirm/s-dialog-confirm.js +3 -3
- package/dist/s-dialog-message/s-dialog-message.js +3 -3
- package/dist/s-empty/s-empty.js +1 -1
- package/dist/s-error/s-error.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +5 -5
- package/dist/s-file-icon/s-file-icon.js +2 -2
- package/dist/s-flex-box/s-flex-box.js +2 -2
- package/dist/s-form/s-form.js +1 -1
- package/dist/s-glow-button/s-glow-button.js +1 -1
- package/dist/s-gradient-icon/s-gradient-icon.js +1 -1
- package/dist/s-i18n-provider/s-i18n-provider.js +1 -1
- package/dist/s-icon-button/s-icon-button.js +1 -1
- package/dist/s-image-comparison/s-image-comparison.js +2 -2
- package/dist/s-image-modal/s-image-modal.js +3 -3
- package/dist/s-interactive-gallery/s-interactive-gallery.js +1 -1
- package/dist/s-label/s-label.js +2 -2
- package/dist/s-lazy-image/s-lazy-image.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +378 -293
- package/dist/s-moving-border/s-moving-border.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +4 -4
- package/dist/s-no-ssr/s-no-ssr.js +1 -1
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +2 -2
- package/dist/s-pagination/s-pagination.js +1 -1
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +1 -1
- package/dist/s-rating/s-rating.js +1 -1
- package/dist/s-review/s-review.js +2 -2
- package/dist/s-scroll-reveal/s-scroll-reveal.js +1 -1
- package/dist/s-select/s-select.js +1 -1
- package/dist/s-skeleton/s-skeleton.js +1 -1
- package/dist/s-smart-text-field/s-smart-text-field.js +84 -84
- package/dist/s-snackbar-message/s-snackbar-message.js +1 -1
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +1 -1
- package/dist/s-stripe/s-stripe.js +1 -1
- package/dist/s-stripe/stripe-input.js +1 -1
- package/dist/s-tabs/s-tab-panel.js +1 -1
- package/dist/s-tabs/s-tab.js +1 -1
- package/dist/s-tabs/s-tabs.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +5 -5
- package/dist/s-text-editor/s-text-editor.js +2 -2
- package/dist/s-text-field/s-text-field.js +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +2 -2
- package/dist/s-text-truncation/s-text-truncation.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +3 -3
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-theme-provider/use-theme.js +8 -8
- package/dist/s-theme-switch/s-theme-switch.js +2 -2
- package/dist/s-tip/s-tip.js +4 -4
- package/dist/s-typewriter-text/s-typewriter-text.js +1 -1
- package/dist/{styled-C9vD3j80.js → styled-B6SqfqyN.js} +3 -3
- package/dist/theme/components/avatar.js +2 -2
- package/dist/theme/components/chip.js +2 -2
- package/dist/theme/customizations/inputs.js +2 -2
- package/dist/theme/customizations/navigation.js +2 -2
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{useControlled-nm4pBabJ.js → useControlled-D1L5tREc.js} +11 -11
- package/dist/{useMobilePicker-kwoV49Bq.js → useMobilePicker-BKb9wDk9.js} +4043 -3997
- package/dist/{useTheme-BRW1H8JQ.js → useTheme-DQFlX-BU.js} +1 -1
- package/dist/{useThemeProps-DEztVr97.js → useThemeProps-DI2LSvKR.js} +1 -1
- package/dist/utils/dayjs.js +14 -14
- package/dist/{warning-Dcl59VWg.js → warning-DRu3W3_g.js} +4 -4
- package/package.json +6 -6
- package/dist/defaultTheme-CtLmY7I4.js +0 -5
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as r } from "../jsx-runtime-
|
|
1
|
+
import { j as r } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
2
|
import * as y from "react";
|
|
3
3
|
import ve from "../s-empty/s-empty.js";
|
|
4
|
-
import { c as j, P as e } from "../createTheme-
|
|
5
|
-
import { b as N, c as q, u as $, a as I, m as _ } from "../createSvgIcon-
|
|
4
|
+
import { c as j, P as e } from "../createTheme-CSzTQZIR.js";
|
|
5
|
+
import { b as N, c as q, u as $, a as I, m as _ } from "../createSvgIcon-L9c3q_HV.js";
|
|
6
6
|
import { g as B } from "../colorManipulator-ep5lERxB.js";
|
|
7
7
|
import { g as M } from "../generateUtilityClasses-BtVDwGrk.js";
|
|
8
|
-
import { s as S, r as se } from "../styled-
|
|
8
|
+
import { s as S, r as se } from "../styled-B6SqfqyN.js";
|
|
9
9
|
import { u as Te } from "../useFormControl-CatNKXAi.js";
|
|
10
|
-
import { d as L, B as Ce, r as ke } from "../ButtonBase-
|
|
11
|
-
import { u as je } from "../useControlled-
|
|
10
|
+
import { d as L, B as Ce, r as ke } from "../ButtonBase-QnP537_L.js";
|
|
11
|
+
import { u as je } from "../useControlled-D1L5tREc.js";
|
|
12
12
|
import { c as X } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
13
|
-
import { m as we } from "../mergeSlotProps-
|
|
13
|
+
import { m as we } from "../mergeSlotProps-BqZn7QoU.js";
|
|
14
14
|
function Re(o) {
|
|
15
15
|
return B("PrivateSwitchBase", o);
|
|
16
16
|
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as f } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
2
|
import { useTheme as I, TextField as z } from "@mui/material";
|
|
3
3
|
import L from "../s-form/s-form.js";
|
|
4
|
-
import { _ as
|
|
4
|
+
import { _ as P, a } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
5
5
|
import * as b from "react";
|
|
6
|
-
import { P as e } from "../createTheme-
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as y } from "../warning-
|
|
9
|
-
import { g as
|
|
10
|
-
import { g as
|
|
11
|
-
import { s as N } from "../styled-
|
|
12
|
-
import { b as
|
|
13
|
-
import { T as
|
|
14
|
-
import { r as h, a as C } from "../ButtonBase-
|
|
15
|
-
function
|
|
16
|
-
return
|
|
6
|
+
import { P as e } from "../createTheme-CSzTQZIR.js";
|
|
7
|
+
import { u as O, a as U, b as Y, c as Q, r as T, d as q, P as B, e as H, f as $, g as K, h as Z, i as G, j as J, k as X, C as ee, l as m, m as M, n as oe, v as F, s as R, o as te, D as se, p as ae } from "../useMobilePicker-BKb9wDk9.js";
|
|
8
|
+
import { u as y } from "../warning-DRu3W3_g.js";
|
|
9
|
+
import { g as ne } from "../colorManipulator-ep5lERxB.js";
|
|
10
|
+
import { g as re } from "../generateUtilityClasses-BtVDwGrk.js";
|
|
11
|
+
import { s as N } from "../styled-B6SqfqyN.js";
|
|
12
|
+
import { b as le } from "../createSvgIcon-L9c3q_HV.js";
|
|
13
|
+
import { T as ie } from "../Typography-N0Mzi70r.js";
|
|
14
|
+
import { r as h, a as C } from "../ButtonBase-QnP537_L.js";
|
|
15
|
+
function ce(l) {
|
|
16
|
+
return ne("MuiDatePickerToolbar", l);
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
const
|
|
18
|
+
re("MuiDatePickerToolbar", ["root", "title"]);
|
|
19
|
+
const ue = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], de = (l) => le({
|
|
20
20
|
root: ["root"],
|
|
21
21
|
title: ["title"]
|
|
22
|
-
},
|
|
22
|
+
}, ce, l), fe = N(B, {
|
|
23
23
|
name: "MuiDatePickerToolbar",
|
|
24
24
|
slot: "Root"
|
|
25
|
-
})({}),
|
|
25
|
+
})({}), pe = N(ie, {
|
|
26
26
|
name: "MuiDatePickerToolbar",
|
|
27
27
|
slot: "Title"
|
|
28
28
|
})({
|
|
@@ -42,12 +42,12 @@ const ce = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ue =
|
|
|
42
42
|
toolbarFormat: o,
|
|
43
43
|
toolbarPlaceholder: s = "––",
|
|
44
44
|
className: i,
|
|
45
|
-
classes:
|
|
46
|
-
} = r, c =
|
|
45
|
+
classes: p
|
|
46
|
+
} = r, c = P(r, ue), d = O(), {
|
|
47
47
|
value: u,
|
|
48
48
|
views: v,
|
|
49
49
|
orientation: E
|
|
50
|
-
} =
|
|
50
|
+
} = U(), V = Y(), _ = Q(), w = de(p), A = b.useMemo(() => {
|
|
51
51
|
if (!d.isValid(u))
|
|
52
52
|
return s;
|
|
53
53
|
const W = T(d, {
|
|
@@ -56,12 +56,12 @@ const ce = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ue =
|
|
|
56
56
|
}, !0);
|
|
57
57
|
return d.formatByString(u, W);
|
|
58
58
|
}, [u, o, s, d, v]);
|
|
59
|
-
return /* @__PURE__ */
|
|
59
|
+
return /* @__PURE__ */ f.jsx(fe, a({
|
|
60
60
|
ref: t,
|
|
61
61
|
toolbarTitle: V.datePickerToolbarTitle,
|
|
62
62
|
className: q(w.root, i)
|
|
63
63
|
}, c, {
|
|
64
|
-
children: /* @__PURE__ */
|
|
64
|
+
children: /* @__PURE__ */ f.jsx(pe, {
|
|
65
65
|
variant: "h4",
|
|
66
66
|
align: E === "landscape" ? "left" : "center",
|
|
67
67
|
ownerState: _,
|
|
@@ -124,29 +124,32 @@ function S(l, n) {
|
|
|
124
124
|
}, t.slots)
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
|
-
const
|
|
127
|
+
const be = (l) => {
|
|
128
128
|
const n = K(l);
|
|
129
129
|
return Z({
|
|
130
130
|
manager: n,
|
|
131
131
|
props: l
|
|
132
132
|
});
|
|
133
|
-
},
|
|
133
|
+
}, me = ["slots", "slotProps"], D = /* @__PURE__ */ b.forwardRef(function(n, t) {
|
|
134
134
|
const r = y({
|
|
135
135
|
props: n,
|
|
136
136
|
name: "MuiDateField"
|
|
137
137
|
}), {
|
|
138
138
|
slots: o,
|
|
139
139
|
slotProps: s
|
|
140
|
-
} = r, i =
|
|
140
|
+
} = r, i = P(r, me), p = G({
|
|
141
141
|
slotProps: s,
|
|
142
142
|
ref: t,
|
|
143
143
|
externalForwardedProps: i
|
|
144
|
-
}), c =
|
|
145
|
-
return /* @__PURE__ */
|
|
144
|
+
}), c = be(p);
|
|
145
|
+
return /* @__PURE__ */ f.jsx(J, {
|
|
146
146
|
slots: o,
|
|
147
147
|
slotProps: s,
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
inputRef: i.inputRef,
|
|
149
|
+
children: /* @__PURE__ */ f.jsx(X, {
|
|
150
|
+
fieldResponse: c,
|
|
151
|
+
defaultOpenPickerIcon: ee
|
|
152
|
+
})
|
|
150
153
|
});
|
|
151
154
|
});
|
|
152
155
|
process.env.NODE_ENV !== "production" && (D.displayName = "DateField");
|
|
@@ -433,7 +436,7 @@ process.env.NODE_ENV !== "production" && (D.propTypes = {
|
|
|
433
436
|
});
|
|
434
437
|
const k = /* @__PURE__ */ b.forwardRef(function(n, t) {
|
|
435
438
|
var c;
|
|
436
|
-
const r =
|
|
439
|
+
const r = O(), o = S(n, "MuiDesktopDatePicker"), s = a({
|
|
437
440
|
day: m,
|
|
438
441
|
month: m,
|
|
439
442
|
year: m
|
|
@@ -455,8 +458,8 @@ const k = /* @__PURE__ */ b.forwardRef(function(n, t) {
|
|
|
455
458
|
}, (c = o.slotProps) == null ? void 0 : c.toolbar)
|
|
456
459
|
})
|
|
457
460
|
}), {
|
|
458
|
-
renderPicker:
|
|
459
|
-
} =
|
|
461
|
+
renderPicker: p
|
|
462
|
+
} = oe({
|
|
460
463
|
ref: t,
|
|
461
464
|
props: i,
|
|
462
465
|
valueManager: R,
|
|
@@ -464,7 +467,7 @@ const k = /* @__PURE__ */ b.forwardRef(function(n, t) {
|
|
|
464
467
|
validator: F,
|
|
465
468
|
steps: null
|
|
466
469
|
});
|
|
467
|
-
return
|
|
470
|
+
return p();
|
|
468
471
|
});
|
|
469
472
|
process.env.NODE_ENV !== "production" && (k.displayName = "DesktopDatePicker");
|
|
470
473
|
k.propTypes = {
|
|
@@ -783,7 +786,7 @@ k.propTypes = {
|
|
|
783
786
|
};
|
|
784
787
|
const j = /* @__PURE__ */ b.forwardRef(function(n, t) {
|
|
785
788
|
var c;
|
|
786
|
-
const r =
|
|
789
|
+
const r = O(), o = S(n, "MuiMobileDatePicker"), s = a({
|
|
787
790
|
day: m,
|
|
788
791
|
month: m,
|
|
789
792
|
year: m
|
|
@@ -803,8 +806,8 @@ const j = /* @__PURE__ */ b.forwardRef(function(n, t) {
|
|
|
803
806
|
}, (c = o.slotProps) == null ? void 0 : c.toolbar)
|
|
804
807
|
})
|
|
805
808
|
}), {
|
|
806
|
-
renderPicker:
|
|
807
|
-
} =
|
|
809
|
+
renderPicker: p
|
|
810
|
+
} = te({
|
|
808
811
|
ref: t,
|
|
809
812
|
props: i,
|
|
810
813
|
valueManager: R,
|
|
@@ -812,7 +815,7 @@ const j = /* @__PURE__ */ b.forwardRef(function(n, t) {
|
|
|
812
815
|
validator: F,
|
|
813
816
|
steps: null
|
|
814
817
|
});
|
|
815
|
-
return
|
|
818
|
+
return p();
|
|
816
819
|
});
|
|
817
820
|
process.env.NODE_ENV !== "production" && (j.displayName = "MobileDatePicker");
|
|
818
821
|
j.propTypes = {
|
|
@@ -1129,18 +1132,18 @@ j.propTypes = {
|
|
|
1129
1132
|
*/
|
|
1130
1133
|
yearsPerRow: e.oneOf([3, 4])
|
|
1131
1134
|
};
|
|
1132
|
-
const
|
|
1135
|
+
const ye = ["desktopModeMediaQuery"], x = /* @__PURE__ */ b.forwardRef(function(n, t) {
|
|
1133
1136
|
const r = y({
|
|
1134
1137
|
props: n,
|
|
1135
1138
|
name: "MuiDatePicker"
|
|
1136
1139
|
}), {
|
|
1137
|
-
desktopModeMediaQuery: o =
|
|
1138
|
-
} = r, s =
|
|
1139
|
-
return
|
|
1140
|
+
desktopModeMediaQuery: o = se
|
|
1141
|
+
} = r, s = P(r, ye);
|
|
1142
|
+
return ae(o, {
|
|
1140
1143
|
defaultMatches: !0
|
|
1141
|
-
}) ? /* @__PURE__ */
|
|
1144
|
+
}) ? /* @__PURE__ */ f.jsx(k, a({
|
|
1142
1145
|
ref: t
|
|
1143
|
-
}, s)) : /* @__PURE__ */
|
|
1146
|
+
}, s)) : /* @__PURE__ */ f.jsx(j, a({
|
|
1144
1147
|
ref: t
|
|
1145
1148
|
}, s));
|
|
1146
1149
|
});
|
|
@@ -1465,9 +1468,9 @@ process.env.NODE_ENV !== "production" && (x.propTypes = {
|
|
|
1465
1468
|
*/
|
|
1466
1469
|
yearsPerRow: e.oneOf([3, 4])
|
|
1467
1470
|
});
|
|
1468
|
-
function
|
|
1471
|
+
function Re({ label: l, required: n = !1, error: t, htmlFor: r, hint: o, ...s }) {
|
|
1469
1472
|
const i = I();
|
|
1470
|
-
return /* @__PURE__ */
|
|
1473
|
+
return /* @__PURE__ */ f.jsx(L, { label: l, required: n, error: t, htmlFor: r, hint: o, children: /* @__PURE__ */ f.jsx(
|
|
1471
1474
|
x,
|
|
1472
1475
|
{
|
|
1473
1476
|
enableAccessibleFieldDOMStructure: !1,
|
|
@@ -1496,5 +1499,5 @@ function Fe({ label: l, required: n = !1, error: t, htmlFor: r, hint: o, ...s })
|
|
|
1496
1499
|
) });
|
|
1497
1500
|
}
|
|
1498
1501
|
export {
|
|
1499
|
-
|
|
1502
|
+
Re as default
|
|
1500
1503
|
};
|