@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.
Files changed (83) hide show
  1. package/dist/{Box-6v9dDzdR.js → Box-reWd7MO-.js} +16 -16
  2. package/dist/{Close-Cq0bfDqS.js → Close-CVFQMMUW.js} +2 -2
  3. package/dist/{HelpOutlineOutlined-CrsJM_1C.js → HelpOutlineOutlined-Dw_XSjYK.js} +2 -2
  4. package/dist/{Menu-C3Ku2lqS.js → Menu-CGTDGEoX.js} +23 -23
  5. package/dist/{MenuItem-ODcKB-fe.js → MenuItem-Bdna3McP.js} +84 -86
  6. package/dist/{Select-CukDtghB.js → Select-D54ugORZ.js} +473 -466
  7. package/dist/{Stack-DvJ0EY9Z.js → Stack-ISlVeD89.js} +23 -24
  8. package/dist/{TransitionGroup-D2o-MIVr.js → TransitionGroup-DuMpOHcM.js} +1 -1
  9. package/dist/{Typography-BnBI5JmA.js → Typography-D38zoHJr.js} +42 -44
  10. package/dist/{buttonBaseClasses-jvvoR1a5.js → buttonBaseClasses-CF7RfAgE.js} +2 -2
  11. package/dist/{chipClasses-DCs-mJQc.js → chipClasses-WFcUH6gU.js} +2 -2
  12. package/dist/chunk-5P46WS5M-OG9gpzOE.js +4862 -0
  13. package/dist/clsx-OuTLNxxd.js +16 -0
  14. package/dist/createSvgIcon-DN-sh_sr.js +520 -0
  15. package/dist/createTheme-DuP3DZSF.js +3005 -0
  16. package/dist/defaultTheme-BDQAWvCM.js +55 -0
  17. package/dist/{extendSxProp-B_wB9j9Z.js → extendSxProp-KtEeHd8h.js} +1 -1
  18. package/dist/{generateUtilityClasses-DMkCz287.js → generateUtilityClasses-BpNk3DNr.js} +2 -2
  19. package/dist/{iconButtonClasses-FfLS-X2M.js → iconButtonClasses-DMst1jJO.js} +2 -2
  20. package/dist/identifier-BKLqN993.js +4 -0
  21. package/dist/{index-Bs0mGmsj.js → index-x815ub0T.js} +46 -40
  22. package/dist/{jsx-runtime-C5mzlN2N.js → jsx-runtime-DywqP_6a.js} +13 -13
  23. package/dist/{outlinedInputClasses-rfxFh721.js → outlinedInputClasses-E4FwVkZh.js} +2 -2
  24. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  25. package/dist/s-button-link/s-button-link.js +1 -1
  26. package/dist/s-checkbox/s-checkbox.js +1 -1
  27. package/dist/s-chips/s-chips.js +1 -1
  28. package/dist/s-copilot-kit-provider/s-copilot-kit-provider.js +6 -6
  29. package/dist/s-data-table/s-data-table.js +271 -270
  30. package/dist/s-date-picker/s-date-picker.js +28 -30
  31. package/dist/s-datetime-picker/s-datetime-picker.js +655 -657
  32. package/dist/s-dialog/s-dialog.js +2 -2
  33. package/dist/s-dialog-confirm/s-dialog-confirm.js +3 -3
  34. package/dist/s-dialog-message/s-dialog-message.js +3 -3
  35. package/dist/s-empty/s-empty.js +1 -1
  36. package/dist/s-error/s-error.js +1 -1
  37. package/dist/s-file-dropzone/s-file-dropzone.js +5 -5
  38. package/dist/s-file-icon/s-file-icon.js +2 -2
  39. package/dist/s-form/s-form.js +2 -2
  40. package/dist/s-glow-button/s-glow-button.js +12 -11
  41. package/dist/s-gradient-icon/s-gradient-icon.js +1 -1
  42. package/dist/s-i18n-provider/s-i18n-provider.js +1 -1
  43. package/dist/s-icon-button/s-icon-button.js +1 -1
  44. package/dist/s-label/s-label.js +2 -2
  45. package/dist/s-localization-provider/s-localization-provider.js +196 -199
  46. package/dist/s-moving-border/s-moving-border.js +1 -1
  47. package/dist/s-multi-select/s-multi-select.js +4 -4
  48. package/dist/s-no-ssr/s-no-ssr.js +1 -1
  49. package/dist/s-pagination/s-pagination.js +1 -1
  50. package/dist/s-select/s-select.js +1 -1
  51. package/dist/s-skeleton/s-skeleton.js +1 -1
  52. package/dist/s-smart-text-field/s-smart-text-field.js +4252 -4226
  53. package/dist/s-snackbar-message/s-snackbar-message.js +1 -1
  54. package/dist/s-stripe/s-stripe.js +1 -1
  55. package/dist/s-stripe/stripe-input.js +1 -1
  56. package/dist/s-text-editor/s-text-editor-toolbar.js +5 -5
  57. package/dist/s-text-editor/s-text-editor.js +2 -2
  58. package/dist/s-text-field/s-text-field.js +1 -1
  59. package/dist/s-text-truncation/s-text-truncation.js +1 -1
  60. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  61. package/dist/s-tip/s-tip.js +4 -4
  62. package/dist/{tabClasses-PH6lKUvl.js → tabClasses-LXCeUS4i.js} +2 -2
  63. package/dist/theme/components/avatar.js +2 -2
  64. package/dist/theme/customizations/data-display.js +8 -8
  65. package/dist/theme/customizations/feedback.js +1 -1
  66. package/dist/theme/customizations/inputs.js +5 -5
  67. package/dist/theme/customizations/navigation.js +4 -4
  68. package/dist/theme/customizations/surfaces.js +1 -1
  69. package/dist/theme/theme-primitives.js +1 -1
  70. package/dist/{typographyClasses-ZiwLh_jE.js → typographyClasses-QAKcrTAX.js} +2 -2
  71. package/dist/{useMobilePicker-BzxyifzK.js → useMobilePicker-DlmTFHhN.js} +2811 -2789
  72. package/dist/{useSlot-C4SHe-Bx.js → useSlot-CiHsL61G.js} +134 -134
  73. package/dist/{useTheme-Bn9C3FUK.js → useTheme-Dy5JmnOe.js} +1 -1
  74. package/dist/{useThemeProps-BUFb1TtB.js → useThemeProps-BGjjVPlJ.js} +2 -2
  75. package/dist/utils/dayjs.js +14 -14
  76. package/dist/{warning-D7W5-6D5.js → warning-DWsjz4u6.js} +5 -5
  77. package/package.json +3 -3
  78. package/dist/chunk-GIMSRCVW-DUi-T6vz.js +0 -10072
  79. package/dist/createSvgIcon-BTLVR-ad.js +0 -504
  80. package/dist/createTheme-BlQh0eyI.js +0 -2268
  81. package/dist/defaultTheme-CkLTWyeE.js +0 -42
  82. package/dist/identifier-CGgVMHib.js +0 -18
  83. 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,4 +1,4 @@
1
- import { i as c, d as l } from "./createTheme-BlQh0eyI.js";
1
+ import { i as c, d as l } from "./createTheme-DuP3DZSF.js";
2
2
  const a = (t) => {
3
3
  var s;
4
4
  const e = {
@@ -1,6 +1,6 @@
1
1
  import C from "@emotion/styled";
2
2
  import "@emotion/react";
3
- import { g as w } from "./createTheme-BlQh0eyI.js";
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.1.1
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-DMkCz287.js";
2
- import { g as t } from "./createTheme-BlQh0eyI.js";
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
  }
@@ -0,0 +1,4 @@
1
+ const a = "$$material";
2
+ export {
3
+ a as T
4
+ };
@@ -1,38 +1,44 @@
1
1
  import "react";
2
- import { j as p } from "./jsx-runtime-C5mzlN2N.js";
3
- import { e as f } from "./extendSxProp-B_wB9j9Z.js";
4
- import { P as e } from "./index-5OJKu9qh.js";
5
- import { d as a } from "./defaultTheme-CkLTWyeE.js";
6
- import { T as c } from "./identifier-CGgVMHib.js";
7
- import { u as m } from "./useTheme-Bn9C3FUK.js";
8
- import { Global as y } from "@emotion/react";
9
- function d(o) {
10
- return o == null || Object.keys(o).length === 0;
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 l(o) {
13
+ function u(r) {
13
14
  const {
14
- styles: t,
15
- defaultTheme: n = {}
16
- } = o, r = typeof t == "function" ? (s) => t(d(s) ? n : s) : t;
17
- return /* @__PURE__ */ p.jsx(y, {
18
- styles: r
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" && (l.propTypes = {
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 u({
26
- styles: o,
27
- themeId: t,
28
- defaultTheme: n = {}
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 r = m(n), s = typeof o == "function" ? o(t && r[t] || r) : o;
31
- return /* @__PURE__ */ p.jsx(l, {
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" && (u.propTypes = {
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 i(o) {
54
- return /* @__PURE__ */ p.jsx(u, {
55
- ...o,
56
- defaultTheme: a,
57
- themeId: c
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" && (i.propTypes = {
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 O(o) {
71
- return function(n) {
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__ */ p.jsx(i, {
75
- styles: typeof o == "function" ? (r) => o({
76
- theme: r,
77
- ...n
78
- }) : o
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 v() {
84
- return f;
89
+ function P() {
90
+ return m;
85
91
  }
86
92
  export {
87
- O as g,
88
- v as i
93
+ D as g,
94
+ P as i
89
95
  };
@@ -1,5 +1,5 @@
1
1
  import ee from "react";
2
- var T = { exports: {} }, R = {};
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 R;
14
+ if (F) return _;
15
15
  F = 1;
16
- var l = Symbol.for("react.transitional.element"), _ = Symbol.for("react.fragment");
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 R.Fragment = _, R.jsx = f, R.jsxs = f, R;
32
+ return _.Fragment = b, _.jsx = f, _.jsxs = f, _;
33
33
  }
34
- var b = {};
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 _(e) {
90
+ function b(e) {
91
91
  return "" + e;
92
92
  }
93
93
  function f(e) {
94
94
  try {
95
- _(e);
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
- ), _(e);
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
- "react-stack-bottom-frame": function(e) {
242
+ react_stack_bottom_frame: function(e) {
243
243
  return e();
244
244
  }
245
245
  };
246
- var y, N = {}, C = v["react-stack-bottom-frame"].bind(
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
- b.Fragment = p, b.jsx = function(e, r, t, n, c) {
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
- }, b.jsxs = function(e, r, t, n, c) {
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
- }()), b;
275
+ }()), R;
276
276
  }
277
277
  var $;
278
278
  function ne() {
@@ -1,5 +1,5 @@
1
- import { g as n } from "./generateUtilityClasses-DMkCz287.js";
2
- import { g as e } from "./createTheme-BlQh0eyI.js";
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
  }
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-C5mzlN2N.js";
1
+ import { j as r } from "../jsx-runtime-DywqP_6a.js";
2
2
  import { forwardRef as l } from "react";
3
3
  import { Autocomplete as p, TextField as u } from "@mui/material";
4
4
  import d from "../s-form/s-form.js";
@@ -1,4 +1,4 @@
1
- import { j as o } from "../jsx-runtime-C5mzlN2N.js";
1
+ import { j as o } from "../jsx-runtime-DywqP_6a.js";
2
2
  import { Typography as m, Link as u } from "@mui/material";
3
3
  const j = ({
4
4
  onClick: r,
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-C5mzlN2N.js";
1
+ import { j as r } from "../jsx-runtime-DywqP_6a.js";
2
2
  import { forwardRef as a, useId as d } from "react";
3
3
  import { Stack as s, Checkbox as l, Typography as n } from "@mui/material";
4
4
  const m = a(
@@ -1,4 +1,4 @@
1
- import { j as s } from "../jsx-runtime-C5mzlN2N.js";
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-C5mzlN2N.js";
2
- import { C as i } from "../chunk-GIMSRCVW-DUi-T6vz.js";
3
- function e({ children: o, ...t }) {
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
- e as SCopilotKitProvider,
8
- e as default
7
+ p as SCopilotKitProvider,
8
+ p as default
9
9
  };