@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
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { b as r } from "./createTheme-DuP3DZSF.js";
|
|
2
|
+
function f(t) {
|
|
3
|
+
var n, s, e = "";
|
|
4
|
+
if (typeof t == "string" || typeof t == "number") e += t;
|
|
5
|
+
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
6
|
+
var i = t.length;
|
|
7
|
+
for (n = 0; n < i; n++) t[n] && (s = f(t[n])) && (e && (e += " "), e += s);
|
|
8
|
+
} else for (s in t) t[s] && (e && (e += " "), e += s);
|
|
9
|
+
return e;
|
|
10
|
+
}
|
|
11
|
+
function m() {
|
|
12
|
+
for (var t, n, s = 0, e = "", i = arguments.length; s < i; s++) (t = arguments[s]) && (n = f(t)) && (e && (e += " "), e += n);
|
|
13
|
+
return e;
|
|
14
|
+
}
|
|
15
|
+
function h(t, n, s = !1) {
|
|
16
|
+
const e = {
|
|
17
|
+
...n
|
|
18
|
+
};
|
|
19
|
+
for (const i in t)
|
|
20
|
+
if (Object.prototype.hasOwnProperty.call(t, i)) {
|
|
21
|
+
const c = i;
|
|
22
|
+
if (c === "components" || c === "slots")
|
|
23
|
+
e[c] = {
|
|
24
|
+
...t[c],
|
|
25
|
+
...e[c]
|
|
26
|
+
};
|
|
27
|
+
else if (c === "componentsProps" || c === "slotProps") {
|
|
28
|
+
const o = t[c], l = n[c];
|
|
29
|
+
if (!l)
|
|
30
|
+
e[c] = o || {};
|
|
31
|
+
else if (!o)
|
|
32
|
+
e[c] = l;
|
|
33
|
+
else {
|
|
34
|
+
e[c] = {
|
|
35
|
+
...l
|
|
36
|
+
};
|
|
37
|
+
for (const a in o)
|
|
38
|
+
if (Object.prototype.hasOwnProperty.call(o, a)) {
|
|
39
|
+
const y = a;
|
|
40
|
+
e[c][y] = h(o[y], l[y], s);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
} else c === "className" && s && n.className ? e.className = m(t == null ? void 0 : t.className, n == null ? void 0 : n.className) : c === "style" && s && n.style ? e.style = {
|
|
44
|
+
...t == null ? void 0 : t.style,
|
|
45
|
+
...n == null ? void 0 : n.style
|
|
46
|
+
} : e[c] === void 0 && (e[c] = t[c]);
|
|
47
|
+
}
|
|
48
|
+
return e;
|
|
49
|
+
}
|
|
50
|
+
const N = r();
|
|
51
|
+
export {
|
|
52
|
+
m as c,
|
|
53
|
+
N as d,
|
|
54
|
+
h as r
|
|
55
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import C from "@emotion/styled";
|
|
2
2
|
import "@emotion/react";
|
|
3
|
-
import { g as w } from "./createTheme-
|
|
3
|
+
import { g as w } from "./createTheme-DuP3DZSF.js";
|
|
4
4
|
function _(n) {
|
|
5
5
|
for (var e = 0, r, t = 0, o = n.length; o >= 4; ++t, o -= 4)
|
|
6
6
|
r = n.charCodeAt(t) & 255 | (n.charCodeAt(++t) & 255) << 8 | (n.charCodeAt(++t) & 255) << 16 | (n.charCodeAt(++t) & 255) << 24, r = /* Math.imul(k, m): */
|
|
@@ -194,7 +194,7 @@ function R(n, e, r) {
|
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
/**
|
|
197
|
-
* @mui/styled-engine v7.
|
|
197
|
+
* @mui/styled-engine v7.3.1
|
|
198
198
|
*
|
|
199
199
|
* @license MIT
|
|
200
200
|
* This source code is licensed under the MIT license found in the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as r } from "./generateUtilityClasses-
|
|
2
|
-
import { g as t } from "./createTheme-
|
|
1
|
+
import { g as r } from "./generateUtilityClasses-BpNk3DNr.js";
|
|
2
|
+
import { g as t } from "./createTheme-DuP3DZSF.js";
|
|
3
3
|
function n(o) {
|
|
4
4
|
return t("MuiIconButton", o);
|
|
5
5
|
}
|
|
@@ -1,38 +1,44 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import { j as
|
|
3
|
-
import { e as
|
|
4
|
-
import { P as e } from "./
|
|
5
|
-
import { d as
|
|
6
|
-
import { T as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { j as i } from "./jsx-runtime-DywqP_6a.js";
|
|
3
|
+
import { e as m } from "./extendSxProp-KtEeHd8h.js";
|
|
4
|
+
import { P as e } from "./createTheme-DuP3DZSF.js";
|
|
5
|
+
import { d as y } from "./defaultTheme-BDQAWvCM.js";
|
|
6
|
+
import { T as d } from "./identifier-BKLqN993.js";
|
|
7
|
+
import { i as b } from "./generateUtilityClasses-BpNk3DNr.js";
|
|
8
|
+
import { u as T } from "./useTheme-Dy5JmnOe.js";
|
|
9
|
+
import { Global as x } from "@emotion/react";
|
|
10
|
+
function E(r) {
|
|
11
|
+
return r == null || Object.keys(r).length === 0;
|
|
11
12
|
}
|
|
12
|
-
function
|
|
13
|
+
function u(r) {
|
|
13
14
|
const {
|
|
14
|
-
styles:
|
|
15
|
-
defaultTheme:
|
|
16
|
-
} =
|
|
17
|
-
return /* @__PURE__ */
|
|
18
|
-
styles:
|
|
15
|
+
styles: o,
|
|
16
|
+
defaultTheme: l = {}
|
|
17
|
+
} = r, t = typeof o == "function" ? (n) => o(E(n) ? l : n) : o;
|
|
18
|
+
return /* @__PURE__ */ i.jsx(x, {
|
|
19
|
+
styles: t
|
|
19
20
|
});
|
|
20
21
|
}
|
|
21
|
-
process.env.NODE_ENV !== "production" && (
|
|
22
|
+
process.env.NODE_ENV !== "production" && (u.propTypes = {
|
|
22
23
|
defaultTheme: e.object,
|
|
23
24
|
styles: e.oneOfType([e.array, e.string, e.object, e.func])
|
|
24
25
|
});
|
|
25
|
-
function
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
function p(r) {
|
|
27
|
+
const o = b(r);
|
|
28
|
+
return r !== o && o.styles ? (o.styles.match(/^@layer\s+[^{]*$/) || (o.styles = `@layer global{${o.styles}}`), o) : r;
|
|
29
|
+
}
|
|
30
|
+
function f({
|
|
31
|
+
styles: r,
|
|
32
|
+
themeId: o,
|
|
33
|
+
defaultTheme: l = {}
|
|
29
34
|
}) {
|
|
30
|
-
const
|
|
31
|
-
|
|
35
|
+
const t = T(l), n = o && t[o] || t;
|
|
36
|
+
let s = typeof r == "function" ? r(n) : r;
|
|
37
|
+
return n.modularCssLayers && (Array.isArray(s) ? s = s.map((a) => p(typeof a == "function" ? a(n) : a)) : s = p(s)), /* @__PURE__ */ i.jsx(u, {
|
|
32
38
|
styles: s
|
|
33
39
|
});
|
|
34
40
|
}
|
|
35
|
-
process.env.NODE_ENV !== "production" && (
|
|
41
|
+
process.env.NODE_ENV !== "production" && (f.propTypes = {
|
|
36
42
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
37
43
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
38
44
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -50,14 +56,14 @@ process.env.NODE_ENV !== "production" && (u.propTypes = {
|
|
|
50
56
|
*/
|
|
51
57
|
themeId: e.string
|
|
52
58
|
});
|
|
53
|
-
function
|
|
54
|
-
return /* @__PURE__ */
|
|
55
|
-
...
|
|
56
|
-
defaultTheme:
|
|
57
|
-
themeId:
|
|
59
|
+
function c(r) {
|
|
60
|
+
return /* @__PURE__ */ i.jsx(f, {
|
|
61
|
+
...r,
|
|
62
|
+
defaultTheme: y,
|
|
63
|
+
themeId: d
|
|
58
64
|
});
|
|
59
65
|
}
|
|
60
|
-
process.env.NODE_ENV !== "production" && (
|
|
66
|
+
process.env.NODE_ENV !== "production" && (c.propTypes = {
|
|
61
67
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
62
68
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
63
69
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -67,23 +73,23 @@ process.env.NODE_ENV !== "production" && (i.propTypes = {
|
|
|
67
73
|
*/
|
|
68
74
|
styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool])
|
|
69
75
|
});
|
|
70
|
-
function
|
|
71
|
-
return function(
|
|
76
|
+
function D(r) {
|
|
77
|
+
return function(l) {
|
|
72
78
|
return (
|
|
73
79
|
// Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
-
styles: typeof
|
|
76
|
-
theme:
|
|
77
|
-
...
|
|
78
|
-
}) :
|
|
80
|
+
/* @__PURE__ */ i.jsx(c, {
|
|
81
|
+
styles: typeof r == "function" ? (t) => r({
|
|
82
|
+
theme: t,
|
|
83
|
+
...l
|
|
84
|
+
}) : r
|
|
79
85
|
})
|
|
80
86
|
);
|
|
81
87
|
};
|
|
82
88
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
89
|
+
function P() {
|
|
90
|
+
return m;
|
|
85
91
|
}
|
|
86
92
|
export {
|
|
87
|
-
|
|
88
|
-
|
|
93
|
+
D as g,
|
|
94
|
+
P as i
|
|
89
95
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import ee from "react";
|
|
2
|
-
var T = { exports: {} },
|
|
2
|
+
var T = { exports: {} }, _ = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.js
|
|
@@ -11,9 +11,9 @@ var T = { exports: {} }, R = {};
|
|
|
11
11
|
*/
|
|
12
12
|
var F;
|
|
13
13
|
function re() {
|
|
14
|
-
if (F) return
|
|
14
|
+
if (F) return _;
|
|
15
15
|
F = 1;
|
|
16
|
-
var l = Symbol.for("react.transitional.element"),
|
|
16
|
+
var l = Symbol.for("react.transitional.element"), b = Symbol.for("react.fragment");
|
|
17
17
|
function f(d, a, s) {
|
|
18
18
|
var m = null;
|
|
19
19
|
if (s !== void 0 && (m = "" + s), a.key !== void 0 && (m = "" + a.key), "key" in a) {
|
|
@@ -29,9 +29,9 @@ function re() {
|
|
|
29
29
|
props: s
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return _.Fragment = b, _.jsx = f, _.jsxs = f, _;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var R = {};
|
|
35
35
|
/**
|
|
36
36
|
* @license React
|
|
37
37
|
* react-jsx-runtime.development.js
|
|
@@ -87,12 +87,12 @@ function te() {
|
|
|
87
87
|
}
|
|
88
88
|
return null;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function b(e) {
|
|
91
91
|
return "" + e;
|
|
92
92
|
}
|
|
93
93
|
function f(e) {
|
|
94
94
|
try {
|
|
95
|
-
|
|
95
|
+
b(e);
|
|
96
96
|
var r = !1;
|
|
97
97
|
} catch {
|
|
98
98
|
r = !0;
|
|
@@ -104,7 +104,7 @@ function te() {
|
|
|
104
104
|
r,
|
|
105
105
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
106
|
n
|
|
107
|
-
),
|
|
107
|
+
), b(e);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
function d(e) {
|
|
@@ -239,15 +239,15 @@ React keys must be passed directly to JSX without using spread:
|
|
|
239
239
|
return null;
|
|
240
240
|
};
|
|
241
241
|
v = {
|
|
242
|
-
|
|
242
|
+
react_stack_bottom_frame: function(e) {
|
|
243
243
|
return e();
|
|
244
244
|
}
|
|
245
245
|
};
|
|
246
|
-
var y, N = {}, C = v
|
|
246
|
+
var y, N = {}, C = v.react_stack_bottom_frame.bind(
|
|
247
247
|
v,
|
|
248
248
|
s
|
|
249
249
|
)(), Y = O(d(s)), I = {};
|
|
250
|
-
|
|
250
|
+
R.Fragment = p, R.jsx = function(e, r, t, n, c) {
|
|
251
251
|
var u = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
252
252
|
return j(
|
|
253
253
|
e,
|
|
@@ -259,7 +259,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
259
259
|
u ? Error("react-stack-top-frame") : C,
|
|
260
260
|
u ? O(d(e)) : Y
|
|
261
261
|
);
|
|
262
|
-
},
|
|
262
|
+
}, R.jsxs = function(e, r, t, n, c) {
|
|
263
263
|
var u = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
264
264
|
return j(
|
|
265
265
|
e,
|
|
@@ -272,7 +272,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
272
272
|
u ? O(d(e)) : Y
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
|
-
}()),
|
|
275
|
+
}()), R;
|
|
276
276
|
}
|
|
277
277
|
var $;
|
|
278
278
|
function ne() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as n } from "./generateUtilityClasses-
|
|
2
|
-
import { g as e } from "./createTheme-
|
|
1
|
+
import { g as n } from "./generateUtilityClasses-BpNk3DNr.js";
|
|
2
|
+
import { g as e } from "./createTheme-DuP3DZSF.js";
|
|
3
3
|
function l(t) {
|
|
4
4
|
return e("MuiInputBase", t);
|
|
5
5
|
}
|
package/dist/s-chips/s-chips.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as s } from "../jsx-runtime-
|
|
1
|
+
import { j as s } from "../jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import { useRef as S, useState as m, useEffect as E } from "react";
|
|
3
3
|
import { Box as o, Chip as h, Tooltip as R } from "@mui/material";
|
|
4
4
|
const P = ({ chips: n, overflow: l = !0, onClick: r, overflowText: c = "keywords" }) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as r } from "../jsx-runtime-
|
|
2
|
-
import { C as i } from "../chunk-
|
|
3
|
-
function
|
|
4
|
-
return /* @__PURE__ */ r.jsx(i, { ...t, children: o });
|
|
1
|
+
import { j as r } from "../jsx-runtime-DywqP_6a.js";
|
|
2
|
+
import { C as i } from "../chunk-5P46WS5M-OG9gpzOE.js";
|
|
3
|
+
function p({ children: o, ...t }) {
|
|
4
|
+
return /* @__PURE__ */ r.jsx(i, { showDevConsole: !1, ...t, children: o });
|
|
5
5
|
}
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
p as SCopilotKitProvider,
|
|
8
|
+
p as default
|
|
9
9
|
};
|