@solostylist/ui-kit 1.0.19 → 1.0.21

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 (45) hide show
  1. package/dist/{Box-CppaOdse.js → Box-CYhpy9DM.js} +5 -5
  2. package/dist/{memoTheme-Bkr5VYLb.js → DefaultPropsProvider-DhE0_fCr.js} +19 -20
  3. package/dist/HelpOutline-BpAsfhrs.js +8 -0
  4. package/dist/{Menu-bcHHOGTe.js → Menu-DeygsmYI.js} +6 -6
  5. package/dist/{Stack-Cvqi8X8g.js → Stack-Du2vO-iF.js} +5 -5
  6. package/dist/{Typography--_YDZuXf.js → Typography-BUC2b3EE.js} +5 -5
  7. package/dist/{buttonBaseClasses-Djzc2AiG.js → buttonBaseClasses-D9p3ujfW.js} +2 -2
  8. package/dist/{createSvgIcon-Ct7gnxYc.js → createSvgIcon-CFj_BoDp.js} +4 -4
  9. package/dist/{createTheme-Hc7RjLJ8.js → createTheme-DkVAXJiq.js} +157 -156
  10. package/dist/{extendSxProp-CRSYESt2.js → extendSxProp-oTj2mv7x.js} +1 -1
  11. package/dist/{generateUtilityClasses-BUjlppXi.js → generateUtilityClasses-DStZbN71.js} +1 -1
  12. package/dist/{iconButtonClasses-p4XIdEHn.js → iconButtonClasses-Dx9aLkXb.js} +2 -2
  13. package/dist/{identifier-CHPjnqaz.js → identifier-DCmLmBSP.js} +23 -23
  14. package/dist/{index-DKnaPifQ.js → index-8QDI4GK5.js} +5 -5
  15. package/dist/{menuItemClasses-Dzm1zEZ_.js → menuItemClasses-D9_8SIPH.js} +2 -2
  16. package/dist/{outlinedInputClasses-49K73-OT.js → outlinedInputClasses-DNQT_xFJ.js} +2 -2
  17. package/dist/s-data-table/s-data-table.js +7 -7
  18. package/dist/s-dialog-confirm/s-dialog-confirm.js +1 -1
  19. package/dist/s-dialog-message/s-dialog-message.js +1 -1
  20. package/dist/s-file-dropzone/s-file-dropzone.js +3 -3
  21. package/dist/s-file-icon/s-file-icon.js +1 -1
  22. package/dist/s-form/s-form.d.ts +2 -1
  23. package/dist/s-form/s-form.js +12 -7
  24. package/dist/s-label/s-label.d.ts +2 -1
  25. package/dist/s-label/s-label.js +10 -6
  26. package/dist/s-multi-select/s-multi-select.js +45 -45
  27. package/dist/s-select/s-select.js +32 -29
  28. package/dist/s-text-editor/s-text-editor-toolbar.js +45 -45
  29. package/dist/s-text-editor/s-text-editor.js +1 -1
  30. package/dist/s-text-field/s-text-field.d.ts +2 -1
  31. package/dist/s-text-field/s-text-field.js +7 -6
  32. package/dist/s-tip/s-tip.js +3 -3
  33. package/dist/{selectClasses-5MwxZ3Fd.js → selectClasses-BDdGqseQ.js} +2 -2
  34. package/dist/{svgIconClasses-CeSsTTHM.js → svgIconClasses-ByelSBlO.js} +2 -2
  35. package/dist/theme/customizations/data-display.js +6 -6
  36. package/dist/theme/customizations/feedback.js +1 -1
  37. package/dist/theme/customizations/inputs.js +5 -5
  38. package/dist/theme/customizations/navigation.js +6 -6
  39. package/dist/theme/customizations/surfaces.js +1 -1
  40. package/dist/theme/theme-primitives.js +1 -1
  41. package/dist/{typographyClasses-ykhCbiPA.js → typographyClasses-By7qHJ5j.js} +2 -2
  42. package/dist/{useControlled-Bvu9pDu8.js → useFormControl-D6-HePVL.js} +8 -8
  43. package/dist/{useSlot-DeteCI62.js → useSlot-D9cy_5Wu.js} +14 -14
  44. package/dist/{useTheme-Z78hHaly.js → useTheme-B14mI9KW.js} +1 -1
  45. package/package.json +1 -1
@@ -4,6 +4,11 @@ function de(e, ...r) {
4
4
  const t = new URL(`https://mui.com/production-error/?code=${e}`);
5
5
  return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
6
6
  }
7
+ function Fr(e) {
8
+ if (typeof e != "string")
9
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : de(7));
10
+ return e.charAt(0).toUpperCase() + e.slice(1);
11
+ }
7
12
  var ke = { exports: {} }, Ie = { exports: {} }, M = {};
8
13
  /** @license React v16.13.1
9
14
  * react-is.production.min.js
@@ -172,7 +177,7 @@ function nt() {
172
177
  }()), D;
173
178
  }
174
179
  var yr;
175
- function Fr() {
180
+ function Wr() {
176
181
  return yr || (yr = 1, process.env.NODE_ENV === "production" ? Ie.exports = tt() : Ie.exports = nt()), Ie.exports;
177
182
  }
178
183
  /*
@@ -234,7 +239,7 @@ function sr() {
234
239
  return Je = e, Je;
235
240
  }
236
241
  var Ze, Sr;
237
- function Wr() {
242
+ function Yr() {
238
243
  return Sr || (Sr = 1, Ze = Function.call.bind(Object.prototype.hasOwnProperty)), Ze;
239
244
  }
240
245
  var er, Er;
@@ -244,7 +249,7 @@ function it() {
244
249
  var e = function() {
245
250
  };
246
251
  if (process.env.NODE_ENV !== "production") {
247
- var r = /* @__PURE__ */ sr(), t = {}, n = /* @__PURE__ */ Wr();
252
+ var r = /* @__PURE__ */ sr(), t = {}, n = /* @__PURE__ */ Yr();
248
253
  e = function(a) {
249
254
  var c = "Warning: " + a;
250
255
  typeof console < "u" && console.error(c);
@@ -290,7 +295,7 @@ var rr, Cr;
290
295
  function at() {
291
296
  if (Cr) return rr;
292
297
  Cr = 1;
293
- var e = Fr(), r = ot(), t = /* @__PURE__ */ sr(), n = /* @__PURE__ */ Wr(), o = /* @__PURE__ */ it(), a = function() {
298
+ var e = Wr(), r = ot(), t = /* @__PURE__ */ sr(), n = /* @__PURE__ */ Yr(), o = /* @__PURE__ */ it(), a = function() {
294
299
  };
295
300
  process.env.NODE_ENV !== "production" && (a = function(u) {
296
301
  var f = "Warning: " + u;
@@ -659,7 +664,7 @@ var $r;
659
664
  function ct() {
660
665
  if ($r) return ke.exports;
661
666
  if ($r = 1, process.env.NODE_ENV !== "production") {
662
- var e = Fr(), r = !0;
667
+ var e = Wr(), r = !0;
663
668
  ke.exports = /* @__PURE__ */ at()(e.isElement, r);
664
669
  } else
665
670
  ke.exports = /* @__PURE__ */ st()();
@@ -819,19 +824,19 @@ var xr;
819
824
  function dt() {
820
825
  return xr || (xr = 1, process.env.NODE_ENV === "production" ? Ne.exports = /* @__PURE__ */ lt() : Ne.exports = /* @__PURE__ */ ft()), Ne.exports;
821
826
  }
822
- var Yr = /* @__PURE__ */ dt();
827
+ var Ur = /* @__PURE__ */ dt();
823
828
  function fe(e) {
824
829
  if (typeof e != "object" || e === null)
825
830
  return !1;
826
831
  const r = Object.getPrototypeOf(e);
827
832
  return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
828
833
  }
829
- function Ur(e) {
830
- if (/* @__PURE__ */ Lr.isValidElement(e) || Yr.isValidElementType(e) || !fe(e))
834
+ function Vr(e) {
835
+ if (/* @__PURE__ */ Lr.isValidElement(e) || Ur.isValidElementType(e) || !fe(e))
831
836
  return e;
832
837
  const r = {};
833
838
  return Object.keys(e).forEach((t) => {
834
- r[t] = Ur(e[t]);
839
+ r[t] = Vr(e[t]);
835
840
  }), r;
836
841
  }
837
842
  function J(e, r, t = {
@@ -841,70 +846,18 @@ function J(e, r, t = {
841
846
  ...e
842
847
  } : e;
843
848
  return fe(e) && fe(r) && Object.keys(r).forEach((o) => {
844
- /* @__PURE__ */ Lr.isValidElement(r[o]) || Yr.isValidElementType(r[o]) ? n[o] = r[o] : fe(r[o]) && // Avoid prototype pollution
845
- Object.prototype.hasOwnProperty.call(e, o) && fe(e[o]) ? n[o] = J(e[o], r[o], t) : t.clone ? n[o] = fe(r[o]) ? Ur(r[o]) : r[o] : n[o] = r[o];
849
+ /* @__PURE__ */ Lr.isValidElement(r[o]) || Ur.isValidElementType(r[o]) ? n[o] = r[o] : fe(r[o]) && // Avoid prototype pollution
850
+ Object.prototype.hasOwnProperty.call(e, o) && fe(e[o]) ? n[o] = J(e[o], r[o], t) : t.clone ? n[o] = fe(r[o]) ? Vr(r[o]) : r[o] : n[o] = r[o];
846
851
  }), n;
847
852
  }
848
- const pt = (e) => {
849
- const r = Object.keys(e).map((t) => ({
850
- key: t,
851
- val: e[t]
852
- })) || [];
853
- return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
854
- ...t,
855
- [n.key]: n.val
856
- }), {});
857
- };
858
- function mt(e) {
859
- const {
860
- // The breakpoint **start** at this value.
861
- // For instance with the first breakpoint xs: [xs, sm).
862
- values: r = {
863
- xs: 0,
864
- // phone
865
- sm: 600,
866
- // tablet
867
- md: 900,
868
- // small laptop
869
- lg: 1200,
870
- // desktop
871
- xl: 1536
872
- // large screen
873
- },
874
- unit: t = "px",
875
- step: n = 5,
876
- ...o
877
- } = e, a = pt(r), c = Object.keys(a);
878
- function u(m) {
879
- return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
880
- }
881
- function f(m) {
882
- return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) - n / 100}${t})`;
883
- }
884
- function d(m, E) {
885
- const b = c.indexOf(E);
886
- return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(b !== -1 && typeof r[c[b]] == "number" ? r[c[b]] : E) - n / 100}${t})`;
887
- }
888
- function y(m) {
889
- return c.indexOf(m) + 1 < c.length ? d(m, c[c.indexOf(m) + 1]) : u(m);
890
- }
891
- function p(m) {
892
- const E = c.indexOf(m);
893
- return E === 0 ? u(c[1]) : E === c.length - 1 ? f(c[E]) : d(m, c[c.indexOf(m) + 1]).replace("@media", "@media not all and");
894
- }
895
- return {
896
- keys: c,
897
- values: a,
898
- up: u,
899
- down: f,
900
- between: d,
901
- only: y,
902
- not: p,
903
- unit: t,
904
- ...o
905
- };
853
+ function Oe(e, r) {
854
+ return r ? J(e, r, {
855
+ clone: !1
856
+ // No need to clone deep, it's way faster.
857
+ }) : e;
906
858
  }
907
- function gt(e, r) {
859
+ const me = process.env.NODE_ENV !== "production" ? Ce.oneOfType([Ce.number, Ce.string, Ce.object, Ce.array]) : {};
860
+ function pt(e, r) {
908
861
  if (!e.containerQueries)
909
862
  return r;
910
863
  const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
@@ -919,10 +872,10 @@ function gt(e, r) {
919
872
  ...r
920
873
  }) : r;
921
874
  }
922
- function ht(e, r) {
875
+ function mt(e, r) {
923
876
  return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
924
877
  }
925
- function yt(e, r) {
878
+ function gt(e, r) {
926
879
  const t = r.match(/^@([^/]+)?\/?(.+)?$/);
927
880
  if (!t) {
928
881
  if (process.env.NODE_ENV !== "production")
@@ -933,7 +886,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : de(18, `(${r})`));
933
886
  const [, n, o] = t, a = Number.isNaN(+n) ? n || 0 : +n;
934
887
  return e.containerQueries(o).up(a);
935
888
  }
936
- function bt(e) {
889
+ function ht(e) {
937
890
  const r = (a, c) => a.replace("@media", c ? `@container ${c}` : "@container");
938
891
  function t(a, c) {
939
892
  a.up = (...u) => r(e.breakpoints.up(...u), c), a.down = (...u) => r(e.breakpoints.down(...u), c), a.between = (...u) => r(e.breakpoints.between(...u), c), a.only = (...u) => r(e.breakpoints.only(...u), c), a.not = (...u) => {
@@ -947,15 +900,6 @@ function bt(e) {
947
900
  containerQueries: o
948
901
  };
949
902
  }
950
- const vt = {
951
- borderRadius: 4
952
- }, me = process.env.NODE_ENV !== "production" ? Ce.oneOfType([Ce.number, Ce.string, Ce.object, Ce.array]) : {};
953
- function Oe(e, r) {
954
- return r ? J(e, r, {
955
- clone: !1
956
- // No need to clone deep, it's way faster.
957
- }) : e;
958
- }
959
903
  const je = {
960
904
  xs: 0,
961
905
  // phone
@@ -972,7 +916,7 @@ const je = {
972
916
  // It can't be configured as it's used statically for propTypes.
973
917
  keys: ["xs", "sm", "md", "lg", "xl"],
974
918
  up: (e) => `@media (min-width:${je[e]}px)`
975
- }, St = {
919
+ }, yt = {
976
920
  containerQueries: (e) => ({
977
921
  up: (r) => {
978
922
  let t = typeof r == "number" ? r : je[r] || r;
@@ -989,8 +933,8 @@ function ue(e, r, t) {
989
933
  if (typeof r == "object") {
990
934
  const a = n.breakpoints || Ar;
991
935
  return Object.keys(r).reduce((c, u) => {
992
- if (ht(a.keys, u)) {
993
- const f = yt(n.containerQueries ? n : St, u);
936
+ if (mt(a.keys, u)) {
937
+ const f = gt(n.containerQueries ? n : yt, u);
994
938
  f && (c[f] = t(r[u], u));
995
939
  } else if (Object.keys(a.values || je).includes(u)) {
996
940
  const f = a.up(u);
@@ -1004,24 +948,24 @@ function ue(e, r, t) {
1004
948
  }
1005
949
  return t(r);
1006
950
  }
1007
- function Vr(e = {}) {
951
+ function zr(e = {}) {
1008
952
  var t;
1009
953
  return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
1010
954
  const a = e.up(o);
1011
955
  return n[a] = {}, n;
1012
956
  }, {})) || {};
1013
957
  }
1014
- function zr(e, r) {
958
+ function qr(e, r) {
1015
959
  return e.reduce((t, n) => {
1016
960
  const o = t[n];
1017
961
  return (!o || Object.keys(o).length === 0) && delete t[n], t;
1018
962
  }, r);
1019
963
  }
1020
964
  function oo(e, ...r) {
1021
- const t = Vr(e), n = [t, ...r].reduce((o, a) => J(o, a), {});
1022
- return zr(Object.keys(t), n);
965
+ const t = zr(e), n = [t, ...r].reduce((o, a) => J(o, a), {});
966
+ return qr(Object.keys(t), n);
1023
967
  }
1024
- function Et(e, r) {
968
+ function bt(e, r) {
1025
969
  if (typeof e != "object")
1026
970
  return {};
1027
971
  const t = {}, n = Object.keys(r);
@@ -1036,17 +980,12 @@ function io({
1036
980
  breakpoints: r,
1037
981
  base: t
1038
982
  }) {
1039
- const n = t || Et(e, r), o = Object.keys(n);
983
+ const n = t || bt(e, r), o = Object.keys(n);
1040
984
  if (o.length === 0)
1041
985
  return e;
1042
986
  let a;
1043
987
  return o.reduce((c, u, f) => (Array.isArray(e) ? (c[u] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (c[u] = e[u] != null ? e[u] : e[a], a = u) : c[u] = e, c), {});
1044
988
  }
1045
- function qr(e) {
1046
- if (typeof e != "string")
1047
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : de(7));
1048
- return e.charAt(0).toUpperCase() + e.slice(1);
1049
- }
1050
989
  function Le(e, r, t = !0) {
1051
990
  if (!r || typeof r != "string")
1052
991
  return null;
@@ -1073,7 +1012,7 @@ function G(e) {
1073
1012
  const u = c[r], f = c.theme, d = Le(f, n) || {};
1074
1013
  return ue(c, u, (p) => {
1075
1014
  let m = De(d, o, p);
1076
- return p === m && typeof p == "string" && (m = De(d, o, `${r}${p === "default" ? "" : qr(p)}`, p)), t === !1 ? m : {
1015
+ return p === m && typeof p == "string" && (m = De(d, o, `${r}${p === "default" ? "" : Fr(p)}`, p)), t === !1 ? m : {
1077
1016
  [t]: m
1078
1017
  };
1079
1018
  });
@@ -1082,14 +1021,14 @@ function G(e) {
1082
1021
  [r]: me
1083
1022
  } : {}, a.filterProps = [r], a;
1084
1023
  }
1085
- function Ct(e) {
1024
+ function vt(e) {
1086
1025
  const r = {};
1087
1026
  return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
1088
1027
  }
1089
- const Tt = {
1028
+ const St = {
1090
1029
  m: "margin",
1091
1030
  p: "padding"
1092
- }, $t = {
1031
+ }, Et = {
1093
1032
  t: "Top",
1094
1033
  r: "Right",
1095
1034
  b: "Bottom",
@@ -1101,15 +1040,15 @@ const Tt = {
1101
1040
  marginY: "my",
1102
1041
  paddingX: "px",
1103
1042
  paddingY: "py"
1104
- }, wt = Ct((e) => {
1043
+ }, Ct = vt((e) => {
1105
1044
  if (e.length > 2)
1106
1045
  if (_r[e])
1107
1046
  e = _r[e];
1108
1047
  else
1109
1048
  return [e];
1110
- const [r, t] = e.split(""), n = Tt[r], o = $t[t] || "";
1049
+ const [r, t] = e.split(""), n = St[r], o = Et[t] || "";
1111
1050
  return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
1112
- }), Fe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], We = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ot = [...Fe, ...We];
1051
+ }), Fe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], We = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Tt = [...Fe, ...We];
1113
1052
  function Ae(e, r, t, n) {
1114
1053
  const o = Le(e, r, !0) ?? t;
1115
1054
  return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? o.startsWith("var(") && a === 0 ? 0 : o.startsWith("var(") && a === 1 ? o : `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
@@ -1131,18 +1070,18 @@ function cr(e) {
1131
1070
  function _e(e, r) {
1132
1071
  return typeof r == "string" || r == null ? r : e(r);
1133
1072
  }
1134
- function xt(e, r) {
1073
+ function $t(e, r) {
1135
1074
  return (t) => e.reduce((n, o) => (n[o] = _e(r, t), n), {});
1136
1075
  }
1137
- function At(e, r, t, n) {
1076
+ function wt(e, r, t, n) {
1138
1077
  if (!r.includes(t))
1139
1078
  return null;
1140
- const o = wt(t), a = xt(o, n), c = e[t];
1079
+ const o = Ct(t), a = $t(o, n), c = e[t];
1141
1080
  return ue(e, c, a);
1142
1081
  }
1143
1082
  function Gr(e, r) {
1144
1083
  const t = cr(e.theme);
1145
- return Object.keys(e).map((n) => At(e, r, n, t)).reduce(Oe, {});
1084
+ return Object.keys(e).map((n) => wt(e, r, n, t)).reduce(Oe, {});
1146
1085
  }
1147
1086
  function z(e) {
1148
1087
  return Gr(e, Fe);
@@ -1154,18 +1093,7 @@ function q(e) {
1154
1093
  }
1155
1094
  q.propTypes = process.env.NODE_ENV !== "production" ? We.reduce((e, r) => (e[r] = me, e), {}) : {};
1156
1095
  q.filterProps = We;
1157
- process.env.NODE_ENV !== "production" && Ot.reduce((e, r) => (e[r] = me, e), {});
1158
- function Kr(e = 8, r = cr({
1159
- spacing: e
1160
- })) {
1161
- if (e.mui)
1162
- return e;
1163
- const t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((a) => {
1164
- const c = r(a);
1165
- return typeof c == "number" ? `${c}px` : c;
1166
- }).join(" "));
1167
- return t.mui = !0, t;
1168
- }
1096
+ process.env.NODE_ENV !== "production" && Tt.reduce((e, r) => (e[r] = me, e), {});
1169
1097
  function Ye(...e) {
1170
1098
  const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
1171
1099
  n[a] = o;
@@ -1182,7 +1110,7 @@ function te(e, r) {
1182
1110
  transform: r
1183
1111
  });
1184
1112
  }
1185
- const _t = te("border", re), Rt = te("borderTop", re), Pt = te("borderRight", re), kt = te("borderBottom", re), It = te("borderLeft", re), Nt = te("borderColor"), Bt = te("borderTopColor"), Mt = te("borderRightColor"), Dt = te("borderBottomColor"), jt = te("borderLeftColor"), Lt = te("outline", re), Ft = te("outlineColor"), Ue = (e) => {
1113
+ const Ot = te("border", re), xt = te("borderTop", re), At = te("borderRight", re), _t = te("borderBottom", re), Rt = te("borderLeft", re), Pt = te("borderColor"), kt = te("borderTopColor"), It = te("borderRightColor"), Nt = te("borderBottomColor"), Bt = te("borderLeftColor"), Mt = te("outline", re), Dt = te("outlineColor"), Ue = (e) => {
1186
1114
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1187
1115
  const r = Ae(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
1188
1116
  borderRadius: _e(r, n)
@@ -1195,7 +1123,7 @@ Ue.propTypes = process.env.NODE_ENV !== "production" ? {
1195
1123
  borderRadius: me
1196
1124
  } : {};
1197
1125
  Ue.filterProps = ["borderRadius"];
1198
- Ye(_t, Rt, Pt, kt, It, Nt, Bt, Mt, Dt, jt, Ue, Lt, Ft);
1126
+ Ye(Ot, xt, At, _t, Rt, Pt, kt, It, Nt, Bt, Ue, Mt, Dt);
1199
1127
  const Ve = (e) => {
1200
1128
  if (e.gap !== void 0 && e.gap !== null) {
1201
1129
  const r = Ae(e.theme, "spacing", 8, "gap"), t = (n) => ({
@@ -1235,48 +1163,48 @@ qe.propTypes = process.env.NODE_ENV !== "production" ? {
1235
1163
  rowGap: me
1236
1164
  } : {};
1237
1165
  qe.filterProps = ["rowGap"];
1238
- const Wt = G({
1166
+ const jt = G({
1239
1167
  prop: "gridColumn"
1240
- }), Yt = G({
1168
+ }), Lt = G({
1241
1169
  prop: "gridRow"
1242
- }), Ut = G({
1170
+ }), Ft = G({
1243
1171
  prop: "gridAutoFlow"
1244
- }), Vt = G({
1172
+ }), Wt = G({
1245
1173
  prop: "gridAutoColumns"
1246
- }), zt = G({
1174
+ }), Yt = G({
1247
1175
  prop: "gridAutoRows"
1248
- }), qt = G({
1176
+ }), Ut = G({
1249
1177
  prop: "gridTemplateColumns"
1250
- }), Gt = G({
1178
+ }), Vt = G({
1251
1179
  prop: "gridTemplateRows"
1252
- }), Kt = G({
1180
+ }), zt = G({
1253
1181
  prop: "gridTemplateAreas"
1254
- }), Ht = G({
1182
+ }), qt = G({
1255
1183
  prop: "gridArea"
1256
1184
  });
1257
- Ye(Ve, ze, qe, Wt, Yt, Ut, Vt, zt, qt, Gt, Kt, Ht);
1185
+ Ye(Ve, ze, qe, jt, Lt, Ft, Wt, Yt, Ut, Vt, zt, qt);
1258
1186
  function Ee(e, r) {
1259
1187
  return r === "grey" ? r : e;
1260
1188
  }
1261
- const Qt = G({
1189
+ const Gt = G({
1262
1190
  prop: "color",
1263
1191
  themeKey: "palette",
1264
1192
  transform: Ee
1265
- }), Xt = G({
1193
+ }), Kt = G({
1266
1194
  prop: "bgcolor",
1267
1195
  cssProperty: "backgroundColor",
1268
1196
  themeKey: "palette",
1269
1197
  transform: Ee
1270
- }), Jt = G({
1198
+ }), Ht = G({
1271
1199
  prop: "backgroundColor",
1272
1200
  themeKey: "palette",
1273
1201
  transform: Ee
1274
1202
  });
1275
- Ye(Qt, Xt, Jt);
1203
+ Ye(Gt, Kt, Ht);
1276
1204
  function Z(e) {
1277
1205
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1278
1206
  }
1279
- const Zt = G({
1207
+ const Qt = G({
1280
1208
  prop: "width",
1281
1209
  transform: Z
1282
1210
  }), ur = (e) => {
@@ -1297,16 +1225,16 @@ const Zt = G({
1297
1225
  return null;
1298
1226
  };
1299
1227
  ur.filterProps = ["maxWidth"];
1300
- const en = G({
1228
+ const Xt = G({
1301
1229
  prop: "minWidth",
1302
1230
  transform: Z
1303
- }), rn = G({
1231
+ }), Jt = G({
1304
1232
  prop: "height",
1305
1233
  transform: Z
1306
- }), tn = G({
1234
+ }), Zt = G({
1307
1235
  prop: "maxHeight",
1308
1236
  transform: Z
1309
- }), nn = G({
1237
+ }), en = G({
1310
1238
  prop: "minHeight",
1311
1239
  transform: Z
1312
1240
  });
@@ -1320,10 +1248,10 @@ G({
1320
1248
  cssProperty: "height",
1321
1249
  transform: Z
1322
1250
  });
1323
- const on = G({
1251
+ const rn = G({
1324
1252
  prop: "boxSizing"
1325
1253
  });
1326
- Ye(Zt, ur, en, rn, tn, nn, on);
1254
+ Ye(Qt, ur, Xt, Jt, Zt, en, rn);
1327
1255
  const Ge = {
1328
1256
  // borders
1329
1257
  border: {
@@ -1612,14 +1540,14 @@ const Ge = {
1612
1540
  themeKey: "typography"
1613
1541
  }
1614
1542
  };
1615
- function an(...e) {
1543
+ function tn(...e) {
1616
1544
  const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
1617
1545
  return e.every((n) => t.size === Object.keys(n).length);
1618
1546
  }
1619
- function sn(e, r) {
1547
+ function nn(e, r) {
1620
1548
  return typeof e == "function" ? e(r) : e;
1621
1549
  }
1622
- function cn() {
1550
+ function on() {
1623
1551
  function e(t, n, o, a) {
1624
1552
  const c = {
1625
1553
  [t]: n,
@@ -1644,7 +1572,7 @@ function cn() {
1644
1572
  const m = Le(o, d) || {};
1645
1573
  return p ? p(c) : ue(c, n, (b) => {
1646
1574
  let s = De(m, y, b);
1647
- return b === s && typeof b == "string" && (s = De(m, y, `${t}${b === "default" ? "" : qr(b)}`, b)), f === !1 ? s : {
1575
+ return b === s && typeof b == "string" && (s = De(m, y, `${t}${b === "default" ? "" : Fr(b)}`, b)), f === !1 ? s : {
1648
1576
  [f]: s
1649
1577
  };
1650
1578
  });
@@ -1665,10 +1593,10 @@ function cn() {
1665
1593
  return u;
1666
1594
  if (!f)
1667
1595
  return null;
1668
- const d = Vr(o.breakpoints), y = Object.keys(d);
1596
+ const d = zr(o.breakpoints), y = Object.keys(d);
1669
1597
  let p = d;
1670
1598
  return Object.keys(f).forEach((m) => {
1671
- const E = sn(f[m], o);
1599
+ const E = nn(f[m], o);
1672
1600
  if (E != null)
1673
1601
  if (typeof E == "object")
1674
1602
  if (a[m])
@@ -1679,21 +1607,94 @@ function cn() {
1679
1607
  }, E, (s) => ({
1680
1608
  [m]: s
1681
1609
  }));
1682
- an(b, E) ? p[m] = r({
1610
+ tn(b, E) ? p[m] = r({
1683
1611
  sx: E,
1684
1612
  theme: o
1685
1613
  }) : p = Oe(p, b);
1686
1614
  }
1687
1615
  else
1688
1616
  p = Oe(p, e(m, E, o, a));
1689
- }), gt(o, zr(y, p));
1617
+ }), pt(o, qr(y, p));
1690
1618
  }
1691
1619
  return Array.isArray(n) ? n.map(c) : c(n);
1692
1620
  }
1693
1621
  return r;
1694
1622
  }
1695
- const Ke = cn();
1623
+ const Ke = on();
1696
1624
  Ke.filterProps = ["sx"];
1625
+ const an = (e) => {
1626
+ const r = Object.keys(e).map((t) => ({
1627
+ key: t,
1628
+ val: e[t]
1629
+ })) || [];
1630
+ return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
1631
+ ...t,
1632
+ [n.key]: n.val
1633
+ }), {});
1634
+ };
1635
+ function sn(e) {
1636
+ const {
1637
+ // The breakpoint **start** at this value.
1638
+ // For instance with the first breakpoint xs: [xs, sm).
1639
+ values: r = {
1640
+ xs: 0,
1641
+ // phone
1642
+ sm: 600,
1643
+ // tablet
1644
+ md: 900,
1645
+ // small laptop
1646
+ lg: 1200,
1647
+ // desktop
1648
+ xl: 1536
1649
+ // large screen
1650
+ },
1651
+ unit: t = "px",
1652
+ step: n = 5,
1653
+ ...o
1654
+ } = e, a = an(r), c = Object.keys(a);
1655
+ function u(m) {
1656
+ return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
1657
+ }
1658
+ function f(m) {
1659
+ return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) - n / 100}${t})`;
1660
+ }
1661
+ function d(m, E) {
1662
+ const b = c.indexOf(E);
1663
+ return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(b !== -1 && typeof r[c[b]] == "number" ? r[c[b]] : E) - n / 100}${t})`;
1664
+ }
1665
+ function y(m) {
1666
+ return c.indexOf(m) + 1 < c.length ? d(m, c[c.indexOf(m) + 1]) : u(m);
1667
+ }
1668
+ function p(m) {
1669
+ const E = c.indexOf(m);
1670
+ return E === 0 ? u(c[1]) : E === c.length - 1 ? f(c[E]) : d(m, c[c.indexOf(m) + 1]).replace("@media", "@media not all and");
1671
+ }
1672
+ return {
1673
+ keys: c,
1674
+ values: a,
1675
+ up: u,
1676
+ down: f,
1677
+ between: d,
1678
+ only: y,
1679
+ not: p,
1680
+ unit: t,
1681
+ ...o
1682
+ };
1683
+ }
1684
+ const cn = {
1685
+ borderRadius: 4
1686
+ };
1687
+ function Kr(e = 8, r = cr({
1688
+ spacing: e
1689
+ })) {
1690
+ if (e.mui)
1691
+ return e;
1692
+ const t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((a) => {
1693
+ const c = r(a);
1694
+ return typeof c == "number" ? `${c}px` : c;
1695
+ }).join(" "));
1696
+ return t.mui = !0, t;
1697
+ }
1697
1698
  function un(e, r) {
1698
1699
  var n;
1699
1700
  const t = this;
@@ -1714,7 +1715,7 @@ function ln(e = {}, ...r) {
1714
1715
  spacing: o,
1715
1716
  shape: a = {},
1716
1717
  ...c
1717
- } = e, u = mt(t), f = Kr(o);
1718
+ } = e, u = sn(t), f = Kr(o);
1718
1719
  let d = J({
1719
1720
  breakpoints: u,
1720
1721
  direction: "ltr",
@@ -1726,11 +1727,11 @@ function ln(e = {}, ...r) {
1726
1727
  },
1727
1728
  spacing: f,
1728
1729
  shape: {
1729
- ...vt,
1730
+ ...cn,
1730
1731
  ...a
1731
1732
  }
1732
1733
  }, c);
1733
- return d = bt(d), d.applyStyles = un, d = r.reduce((y, p) => J(y, p), d), d.unstable_sxConfig = {
1734
+ return d = ht(d), d.applyStyles = un, d = r.reduce((y, p) => J(y, p), d), d.unstable_sxConfig = {
1734
1735
  ...Ge,
1735
1736
  ...c == null ? void 0 : c.unstable_sxConfig
1736
1737
  }, d.unstable_sx = function(p) {
@@ -2909,7 +2910,7 @@ export {
2909
2910
  Ce as P,
2910
2911
  bn as a,
2911
2912
  ao as b,
2912
- qr as c,
2913
+ Fr as c,
2913
2914
  Ge as d,
2914
2915
  ln as e,
2915
2916
  cr as f,
@@ -2918,7 +2919,7 @@ export {
2918
2919
  fe as i,
2919
2920
  J as j,
2920
2921
  _e as k,
2921
- Yr as l,
2922
+ Ur as l,
2922
2923
  oo as m,
2923
2924
  dr as n,
2924
2925
  fr as o,
@@ -1,4 +1,4 @@
1
- import { i as c, d as l } from "./createTheme-Hc7RjLJ8.js";
1
+ import { i as c, d as l } from "./createTheme-DkVAXJiq.js";
2
2
  const a = (t) => {
3
3
  var s;
4
4
  const e = {
@@ -1,4 +1,4 @@
1
- import { g as i } from "./createTheme-Hc7RjLJ8.js";
1
+ import { g as i } from "./createTheme-DkVAXJiq.js";
2
2
  function o(r, s, a = "Mui") {
3
3
  const t = {};
4
4
  return s.forEach((e) => {
@@ -1,5 +1,5 @@
1
- import { g as r } from "./generateUtilityClasses-BUjlppXi.js";
2
- import { g as t } from "./createTheme-Hc7RjLJ8.js";
1
+ import { g as r } from "./generateUtilityClasses-DStZbN71.js";
2
+ import { g as t } from "./createTheme-DkVAXJiq.js";
3
3
  function n(o) {
4
4
  return t("MuiIconButton", o);
5
5
  }