@solostylist/ui-kit 1.0.69 → 1.0.71
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-6v9dDzdR.js → Box-reWd7MO-.js} +16 -16
- package/dist/{Close-Cq0bfDqS.js → Close-CVFQMMUW.js} +2 -2
- package/dist/{HelpOutlineOutlined-CrsJM_1C.js → HelpOutlineOutlined-Dw_XSjYK.js} +2 -2
- package/dist/{Menu-C3Ku2lqS.js → Menu-CGTDGEoX.js} +23 -23
- package/dist/{MenuItem-ODcKB-fe.js → MenuItem-Bdna3McP.js} +84 -86
- package/dist/{Select-CukDtghB.js → Select-D54ugORZ.js} +473 -466
- package/dist/{Stack-DvJ0EY9Z.js → Stack-ISlVeD89.js} +23 -24
- package/dist/{TransitionGroup-D2o-MIVr.js → TransitionGroup-DuMpOHcM.js} +1 -1
- package/dist/{Typography-BnBI5JmA.js → Typography-D38zoHJr.js} +42 -44
- package/dist/{buttonBaseClasses-jvvoR1a5.js → buttonBaseClasses-CF7RfAgE.js} +2 -2
- package/dist/{chipClasses-DCs-mJQc.js → chipClasses-WFcUH6gU.js} +2 -2
- package/dist/chunk-5P46WS5M-OG9gpzOE.js +4862 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/createSvgIcon-DN-sh_sr.js +520 -0
- package/dist/createTheme-DuP3DZSF.js +3005 -0
- package/dist/defaultTheme-BDQAWvCM.js +55 -0
- package/dist/{extendSxProp-B_wB9j9Z.js → extendSxProp-KtEeHd8h.js} +1 -1
- package/dist/{generateUtilityClasses-DMkCz287.js → generateUtilityClasses-BpNk3DNr.js} +2 -2
- package/dist/{iconButtonClasses-FfLS-X2M.js → iconButtonClasses-DMst1jJO.js} +2 -2
- package/dist/identifier-BKLqN993.js +4 -0
- package/dist/{index-Bs0mGmsj.js → index-x815ub0T.js} +46 -40
- package/dist/{jsx-runtime-C5mzlN2N.js → jsx-runtime-DywqP_6a.js} +13 -13
- package/dist/{outlinedInputClasses-rfxFh721.js → outlinedInputClasses-E4FwVkZh.js} +2 -2
- package/dist/s-autocomplete/s-autocomplete.js +1 -1
- package/dist/s-button-link/s-button-link.js +1 -1
- package/dist/s-checkbox/s-checkbox.js +1 -1
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/s-copilot-kit-provider/s-copilot-kit-provider.js +6 -6
- package/dist/s-data-table/s-data-table.js +271 -270
- package/dist/s-date-picker/s-date-picker.js +28 -30
- package/dist/s-datetime-picker/s-datetime-picker.js +655 -657
- 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-form/s-form.js +2 -2
- package/dist/s-glow-button/s-glow-button.js +12 -11
- 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-label/s-label.js +2 -2
- package/dist/s-localization-provider/s-localization-provider.js +196 -199
- 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-pagination/s-pagination.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 +4252 -4226
- package/dist/s-snackbar-message/s-snackbar-message.js +1 -1
- package/dist/s-stripe/s-stripe.js +1 -1
- package/dist/s-stripe/stripe-input.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 +1 -1
- package/dist/s-text-truncation/s-text-truncation.js +1 -1
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-tip/s-tip.js +4 -4
- package/dist/{tabClasses-PH6lKUvl.js → tabClasses-LXCeUS4i.js} +2 -2
- package/dist/theme/components/avatar.js +2 -2
- package/dist/theme/customizations/data-display.js +8 -8
- package/dist/theme/customizations/feedback.js +1 -1
- package/dist/theme/customizations/inputs.js +5 -5
- package/dist/theme/customizations/navigation.js +4 -4
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{typographyClasses-ZiwLh_jE.js → typographyClasses-QAKcrTAX.js} +2 -2
- package/dist/{useMobilePicker-BzxyifzK.js → useMobilePicker-DlmTFHhN.js} +2811 -2789
- package/dist/{useSlot-C4SHe-Bx.js → useSlot-CiHsL61G.js} +134 -134
- package/dist/{useTheme-Bn9C3FUK.js → useTheme-Dy5JmnOe.js} +1 -1
- package/dist/{useThemeProps-BUFb1TtB.js → useThemeProps-BGjjVPlJ.js} +2 -2
- package/dist/utils/dayjs.js +14 -14
- package/dist/{warning-D7W5-6D5.js → warning-DWsjz4u6.js} +5 -5
- package/package.json +3 -3
- package/dist/chunk-GIMSRCVW-DUi-T6vz.js +0 -10072
- package/dist/createSvgIcon-BTLVR-ad.js +0 -504
- package/dist/createTheme-BlQh0eyI.js +0 -2268
- package/dist/defaultTheme-CkLTWyeE.js +0 -42
- package/dist/identifier-CGgVMHib.js +0 -18
- package/dist/index-5OJKu9qh.js +0 -667
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { j as b } from "../jsx-runtime-
|
|
1
|
+
import { j as b } from "../jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import { TextField as z } from "@mui/material";
|
|
3
3
|
import I from "../s-form/s-form.js";
|
|
4
4
|
import { _ as h, a as s } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
5
5
|
import * as p from "react";
|
|
6
|
-
import { P as e } from "../
|
|
7
|
-
import { u as P, a as
|
|
8
|
-
import { u as y } from "../warning-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { T as re } from "../Typography-BnBI5JmA.js";
|
|
14
|
-
import { r as D, a as C } from "../useSlot-C4SHe-Bx.js";
|
|
6
|
+
import { g as L, P as e } from "../createTheme-DuP3DZSF.js";
|
|
7
|
+
import { u as P, a as Y, b as U, 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, C as X, k as m, l as M, m as ee, v as F, s as N, n as oe, D as te, o as ae } from "../useMobilePicker-DlmTFHhN.js";
|
|
8
|
+
import { u as y } from "../warning-DWsjz4u6.js";
|
|
9
|
+
import { g as se } from "../generateUtilityClasses-BpNk3DNr.js";
|
|
10
|
+
import { a as R, d as ne } from "../createSvgIcon-DN-sh_sr.js";
|
|
11
|
+
import { T as re } from "../Typography-D38zoHJr.js";
|
|
12
|
+
import { r as D, a as C } from "../useSlot-CiHsL61G.js";
|
|
15
13
|
function le(l) {
|
|
16
|
-
return
|
|
14
|
+
return L("MuiDatePickerToolbar", l);
|
|
17
15
|
}
|
|
18
16
|
se("MuiDatePickerToolbar", ["root", "title"]);
|
|
19
17
|
const ie = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ce = (l) => ne({
|
|
20
18
|
root: ["root"],
|
|
21
19
|
title: ["title"]
|
|
22
|
-
}, le, l), ue = R(
|
|
20
|
+
}, le, l), ue = R(B, {
|
|
23
21
|
name: "MuiDatePickerToolbar",
|
|
24
22
|
slot: "Root"
|
|
25
23
|
})({}), de = R(re, {
|
|
@@ -47,7 +45,7 @@ const ie = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ce =
|
|
|
47
45
|
value: c,
|
|
48
46
|
views: x,
|
|
49
47
|
orientation: E
|
|
50
|
-
} =
|
|
48
|
+
} = Y(), V = U(), _ = Q(), v = ce(f), A = p.useMemo(() => {
|
|
51
49
|
if (!d.isValid(c))
|
|
52
50
|
return a;
|
|
53
51
|
const W = T(d, {
|
|
@@ -59,7 +57,7 @@ const ie = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ce =
|
|
|
59
57
|
return /* @__PURE__ */ b.jsx(ue, s({
|
|
60
58
|
ref: t,
|
|
61
59
|
toolbarTitle: V.datePickerToolbarTitle,
|
|
62
|
-
className:
|
|
60
|
+
className: q(v.root, u)
|
|
63
61
|
}, i, {
|
|
64
62
|
children: /* @__PURE__ */ b.jsx(de, {
|
|
65
63
|
variant: "h4",
|
|
@@ -105,7 +103,7 @@ function S(l, n) {
|
|
|
105
103
|
const t = y({
|
|
106
104
|
props: l,
|
|
107
105
|
name: n
|
|
108
|
-
}), r =
|
|
106
|
+
}), r = H(t), o = p.useMemo(() => {
|
|
109
107
|
var a;
|
|
110
108
|
return ((a = t.localeText) == null ? void 0 : a.toolbarTitle) == null ? t.localeText : s({}, t.localeText, {
|
|
111
109
|
datePickerToolbarTitle: t.localeText.toolbarTitle
|
|
@@ -113,7 +111,7 @@ function S(l, n) {
|
|
|
113
111
|
}, [t.localeText]);
|
|
114
112
|
return s({}, t, r, {
|
|
115
113
|
localeText: o
|
|
116
|
-
},
|
|
114
|
+
}, $({
|
|
117
115
|
views: t.views,
|
|
118
116
|
openTo: t.openTo,
|
|
119
117
|
defaultViews: ["year", "day"],
|
|
@@ -125,8 +123,8 @@ function S(l, n) {
|
|
|
125
123
|
});
|
|
126
124
|
}
|
|
127
125
|
const fe = (l) => {
|
|
128
|
-
const n =
|
|
129
|
-
return
|
|
126
|
+
const n = K(l);
|
|
127
|
+
return Z({
|
|
130
128
|
manager: n,
|
|
131
129
|
props: l
|
|
132
130
|
});
|
|
@@ -137,16 +135,16 @@ const fe = (l) => {
|
|
|
137
135
|
}), {
|
|
138
136
|
slots: o,
|
|
139
137
|
slotProps: a
|
|
140
|
-
} = r, u = h(r, be), f =
|
|
138
|
+
} = r, u = h(r, be), f = G({
|
|
141
139
|
slotProps: a,
|
|
142
140
|
ref: t,
|
|
143
141
|
externalForwardedProps: u
|
|
144
142
|
}), i = fe(f);
|
|
145
|
-
return /* @__PURE__ */ b.jsx(
|
|
143
|
+
return /* @__PURE__ */ b.jsx(J, {
|
|
146
144
|
slots: o,
|
|
147
145
|
slotProps: a,
|
|
148
146
|
fieldResponse: i,
|
|
149
|
-
defaultOpenPickerIcon:
|
|
147
|
+
defaultOpenPickerIcon: X
|
|
150
148
|
});
|
|
151
149
|
});
|
|
152
150
|
process.env.NODE_ENV !== "production" && (O.displayName = "DateField");
|
|
@@ -456,7 +454,7 @@ const k = /* @__PURE__ */ p.forwardRef(function(n, t) {
|
|
|
456
454
|
})
|
|
457
455
|
}), {
|
|
458
456
|
renderPicker: f
|
|
459
|
-
} =
|
|
457
|
+
} = ee({
|
|
460
458
|
ref: t,
|
|
461
459
|
props: u,
|
|
462
460
|
valueManager: N,
|
|
@@ -634,7 +632,7 @@ k.propTypes = {
|
|
|
634
632
|
onSelectedSectionsChange: e.func,
|
|
635
633
|
/**
|
|
636
634
|
* Callback fired on view change.
|
|
637
|
-
* @template TView
|
|
635
|
+
* @template TView Type of the view. It will vary based on the Picker type and the `views` it uses.
|
|
638
636
|
* @param {TView} view The new view.
|
|
639
637
|
*/
|
|
640
638
|
onViewChange: e.func,
|
|
@@ -804,7 +802,7 @@ const j = /* @__PURE__ */ p.forwardRef(function(n, t) {
|
|
|
804
802
|
})
|
|
805
803
|
}), {
|
|
806
804
|
renderPicker: f
|
|
807
|
-
} =
|
|
805
|
+
} = oe({
|
|
808
806
|
ref: t,
|
|
809
807
|
props: u,
|
|
810
808
|
valueManager: N,
|
|
@@ -982,7 +980,7 @@ j.propTypes = {
|
|
|
982
980
|
onSelectedSectionsChange: e.func,
|
|
983
981
|
/**
|
|
984
982
|
* Callback fired on view change.
|
|
985
|
-
* @template TView
|
|
983
|
+
* @template TView Type of the view. It will vary based on the Picker type and the `views` it uses.
|
|
986
984
|
* @param {TView} view The new view.
|
|
987
985
|
*/
|
|
988
986
|
onViewChange: e.func,
|
|
@@ -1134,9 +1132,9 @@ const pe = ["desktopModeMediaQuery"], w = /* @__PURE__ */ p.forwardRef(function(
|
|
|
1134
1132
|
props: n,
|
|
1135
1133
|
name: "MuiDatePicker"
|
|
1136
1134
|
}), {
|
|
1137
|
-
desktopModeMediaQuery: o =
|
|
1135
|
+
desktopModeMediaQuery: o = te
|
|
1138
1136
|
} = r, a = h(r, pe);
|
|
1139
|
-
return
|
|
1137
|
+
return ae(o, {
|
|
1140
1138
|
defaultMatches: !0
|
|
1141
1139
|
}) ? /* @__PURE__ */ b.jsx(k, s({
|
|
1142
1140
|
ref: t
|
|
@@ -1318,7 +1316,7 @@ process.env.NODE_ENV !== "production" && (w.propTypes = {
|
|
|
1318
1316
|
onSelectedSectionsChange: e.func,
|
|
1319
1317
|
/**
|
|
1320
1318
|
* Callback fired on view change.
|
|
1321
|
-
* @template TView
|
|
1319
|
+
* @template TView Type of the view. It will vary based on the Picker type and the `views` it uses.
|
|
1322
1320
|
* @param {TView} view The new view.
|
|
1323
1321
|
*/
|
|
1324
1322
|
onViewChange: e.func,
|
|
@@ -1465,7 +1463,7 @@ process.env.NODE_ENV !== "production" && (w.propTypes = {
|
|
|
1465
1463
|
*/
|
|
1466
1464
|
yearsPerRow: e.oneOf([3, 4])
|
|
1467
1465
|
});
|
|
1468
|
-
function
|
|
1466
|
+
function xe({ label: l, required: n = !1, error: t, htmlFor: r, hint: o, ...a }) {
|
|
1469
1467
|
return /* @__PURE__ */ b.jsx(I, { label: l, required: n, error: t, htmlFor: r, hint: o, children: /* @__PURE__ */ b.jsx(
|
|
1470
1468
|
w,
|
|
1471
1469
|
{
|
|
@@ -1480,5 +1478,5 @@ function Me({ label: l, required: n = !1, error: t, htmlFor: r, hint: o, ...a })
|
|
|
1480
1478
|
) });
|
|
1481
1479
|
}
|
|
1482
1480
|
export {
|
|
1483
|
-
|
|
1481
|
+
xe as default
|
|
1484
1482
|
};
|