jcicl 0.0.205 → 0.0.207

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.
@@ -6,6 +6,7 @@ export type DropdownOption = {
6
6
  export type LabeledDropdownProps = {
7
7
  label: string;
8
8
  colon?: boolean;
9
+ noLabel?: boolean;
9
10
  options: DropdownOption[];
10
11
  borderFocusColor?: string;
11
12
  minWidth?: string;
@@ -15,11 +15,11 @@ import { P as Ho } from "../.chunks/Popper.js";
15
15
  import { a as Zo } from "../.chunks/Portal.js";
16
16
  import { u as Po } from "../.chunks/useControlled.js";
17
17
  import { b as io, s as et, u as ot } from "../.chunks/TransitionGroupContext.js";
18
- function tt(e, n, a, i, f) {
18
+ function tt(e, n, a, i, g) {
19
19
  if (process.env.NODE_ENV === "production")
20
20
  return null;
21
- const $ = f || n;
22
- return typeof e[n] < "u" ? new Error(`The prop \`${$}\` is not supported. Please remove it.`) : null;
21
+ const v = g || n;
22
+ return typeof e[n] < "u" ? new Error(`The prop \`${v}\` is not supported. Please remove it.`) : null;
23
23
  }
24
24
  const nt = (e) => {
25
25
  const n = b.useRef({});
@@ -35,20 +35,20 @@ function rt(e = {}) {
35
35
  ignoreAccents: n = !0,
36
36
  ignoreCase: a = !0,
37
37
  limit: i,
38
- matchFrom: f = "any",
39
- stringify: $,
38
+ matchFrom: g = "any",
39
+ stringify: v,
40
40
  trim: y = !1
41
41
  } = e;
42
- return (m, {
43
- inputValue: C,
44
- getOptionLabel: I
42
+ return (x, {
43
+ inputValue: $,
44
+ getOptionLabel: m
45
45
  }) => {
46
- let k = y ? C.trim() : C;
46
+ let k = y ? $.trim() : $;
47
47
  a && (k = k.toLowerCase()), n && (k = Mo(k));
48
- const L = k ? m.filter((X) => {
49
- let A = ($ || I)(X);
50
- return a && (A = A.toLowerCase()), n && (A = Mo(A)), f === "start" ? A.startsWith(k) : A.includes(k);
51
- }) : m;
48
+ const L = k ? x.filter((X) => {
49
+ let A = (v || m)(X);
50
+ return a && (A = A.toLowerCase()), n && (A = Mo(A)), g === "start" ? A.startsWith(k) : A.includes(k);
51
+ }) : x;
52
52
  return typeof i == "number" ? L.slice(0, i) : L;
53
53
  };
54
54
  }
@@ -63,12 +63,12 @@ function st(e) {
63
63
  // eslint-disable-next-line @typescript-eslint/naming-convention
64
64
  unstable_classNamePrefix: a = "Mui",
65
65
  autoComplete: i = !1,
66
- autoHighlight: f = !1,
67
- autoSelect: $ = !1,
66
+ autoHighlight: g = !1,
67
+ autoSelect: v = !1,
68
68
  blurOnSelect: y = !1,
69
- clearOnBlur: m = !e.freeSolo,
70
- clearOnEscape: C = !1,
71
- componentName: I = "useAutocomplete",
69
+ clearOnBlur: x = !e.freeSolo,
70
+ clearOnEscape: $ = !1,
71
+ componentName: m = "useAutocomplete",
72
72
  defaultValue: k = e.multiple ? it : null,
73
73
  disableClearable: L = !1,
74
74
  disableCloseOnSelect: X = !1,
@@ -87,7 +87,7 @@ function st(e) {
87
87
  includeInputInList: de = !1,
88
88
  inputValue: ye,
89
89
  isOptionEqualToValue: W = (r, t) => r === t,
90
- multiple: v = !1,
90
+ multiple: C = !1,
91
91
  onChange: fe,
92
92
  onClose: _,
93
93
  onHighlightChange: ve,
@@ -106,26 +106,26 @@ function st(e) {
106
106
  if (typeof t != "string") {
107
107
  if (process.env.NODE_ENV !== "production") {
108
108
  const l = t === void 0 ? "undefined" : `${typeof t} (${t})`;
109
- console.error(`MUI: The \`getOptionLabel\` method of ${I} returned ${l} instead of a string for ${JSON.stringify(r)}.`);
109
+ console.error(`MUI: The \`getOptionLabel\` method of ${m} returned ${l} instead of a string for ${JSON.stringify(r)}.`);
110
110
  }
111
111
  return String(t);
112
112
  }
113
113
  return t;
114
114
  };
115
- const je = b.useRef(!1), Be = b.useRef(!0), w = b.useRef(null), K = b.useRef(null), [Ue, Ro] = b.useState(null), [G, Xe] = b.useState(-1), bo = f ? 0 : -1, z = b.useRef(bo), [s, Lo] = Po({
115
+ const je = b.useRef(!1), Be = b.useRef(!0), w = b.useRef(null), K = b.useRef(null), [Ue, Ro] = b.useState(null), [G, Xe] = b.useState(-1), bo = g ? 0 : -1, z = b.useRef(bo), [s, Lo] = Po({
116
116
  controlled: go,
117
117
  default: k,
118
- name: I
118
+ name: m
119
119
  }), [P, Ce] = Po({
120
120
  controlled: ye,
121
121
  default: "",
122
- name: I,
122
+ name: m,
123
123
  state: "inputValue"
124
124
  }), [Ie, He] = b.useState(!1), Oe = b.useCallback((r, t, l) => {
125
- if (!(v ? s.length < t.length : t !== null) && !m)
125
+ if (!(C ? s.length < t.length : t !== null) && !x)
126
126
  return;
127
127
  let c;
128
- if (v)
128
+ if (C)
129
129
  c = "";
130
130
  else if (t == null)
131
131
  c = "";
@@ -134,13 +134,13 @@ function st(e) {
134
134
  c = typeof O == "string" ? O : "";
135
135
  }
136
136
  P !== c && (Ce(c), q && q(r, c, l));
137
- }, [N, P, v, q, Ce, m, s]), [se, Qe] = Po({
137
+ }, [N, P, C, q, Ce, x, s]), [se, Qe] = Po({
138
138
  controlled: xe,
139
139
  default: !1,
140
- name: I,
140
+ name: m,
141
141
  state: "open"
142
- }), [Ze, mo] = b.useState(!0), Pe = !v && s != null && P === N(s), j = se && !$e, S = j ? Me(
143
- ko.filter((r) => !(me && (v ? s : [s]).some((t) => t !== null && W(r, t)))),
142
+ }), [Ze, mo] = b.useState(!0), Pe = !C && s != null && P === N(s), j = se && !$e, S = j ? Me(
143
+ ko.filter((r) => !(me && (C ? s : [s]).some((t) => t !== null && W(r, t)))),
144
144
  // we use the empty string to manipulate `filterOptions` to not filter any options
145
145
  // i.e. the filter predicate always returns true
146
146
  {
@@ -160,8 +160,8 @@ function st(e) {
160
160
  r === -1 ? w.current.focus() : Ue.querySelector(`[data-tag-index="${r}"]`).focus();
161
161
  });
162
162
  b.useEffect(() => {
163
- v && G > s.length - 1 && (Xe(-1), Se(-1));
164
- }, [s, v, G, Se]);
163
+ C && G > s.length - 1 && (Xe(-1), Se(-1));
164
+ }, [s, C, G, Se]);
165
165
  function eo(r, t) {
166
166
  if (!K.current || r < 0 || r >= S.length)
167
167
  return -1;
@@ -192,8 +192,8 @@ function st(e) {
192
192
  }
193
193
  const O = K.current.querySelector(`[data-option-index="${t}"]`);
194
194
  if (O && (O.classList.add(`${a}-focused`), l === "keyboard" && O.classList.add(`${a}-focusVisible`), c.scrollHeight > c.clientHeight && l !== "mouse" && l !== "touch")) {
195
- const x = O, B = c.clientHeight + c.scrollTop, Le = x.offsetTop + x.offsetHeight;
196
- Le > B ? c.scrollTop = Le - c.clientHeight : x.offsetTop - x.offsetHeight * (oe ? 1.3 : 0) < c.scrollTop && (c.scrollTop = x.offsetTop - x.offsetHeight * (oe ? 1.3 : 0));
195
+ const I = O, B = c.clientHeight + c.scrollTop, Le = I.offsetTop + I.offsetHeight;
196
+ Le > B ? c.scrollTop = Le - c.clientHeight : I.offsetTop - I.offsetHeight * (oe ? 1.3 : 0) < c.scrollTop && (c.scrollTop = I.offsetTop - I.offsetHeight * (oe ? 1.3 : 0));
197
197
  }
198
198
  }), Y = io(({
199
199
  event: r,
@@ -204,15 +204,15 @@ function st(e) {
204
204
  if (!j)
205
205
  return;
206
206
  const O = eo((() => {
207
- const x = S.length - 1;
207
+ const I = S.length - 1;
208
208
  if (t === "reset")
209
209
  return bo;
210
210
  if (t === "start")
211
211
  return 0;
212
212
  if (t === "end")
213
- return x;
213
+ return I;
214
214
  const B = z.current + t;
215
- return B < 0 ? B === -1 && de ? -1 : ue && z.current !== -1 || Math.abs(t) > 1 ? 0 : x : B > x ? B === x + 1 && de ? -1 : ue || Math.abs(t) > 1 ? x : 0 : B;
215
+ return B < 0 ? B === -1 && de ? -1 : ue && z.current !== -1 || Math.abs(t) > 1 ? 0 : I : B > I ? B === I + 1 && de ? -1 : ue || Math.abs(t) > 1 ? I : 0 : B;
216
216
  })(), l);
217
217
  if (te({
218
218
  index: O,
@@ -222,15 +222,15 @@ function st(e) {
222
222
  if (O === -1)
223
223
  w.current.value = P;
224
224
  else {
225
- const x = N(S[O]);
226
- w.current.value = x, x.toLowerCase().indexOf(P.toLowerCase()) === 0 && P.length > 0 && w.current.setSelectionRange(P.length, x.length);
225
+ const I = N(S[O]);
226
+ w.current.value = I, I.toLowerCase().indexOf(P.toLowerCase()) === 0 && P.length > 0 && w.current.setSelectionRange(P.length, I.length);
227
227
  }
228
228
  }), ho = () => {
229
229
  const r = (t, l) => {
230
230
  const p = t ? N(t) : "", c = l ? N(l) : "";
231
231
  return p === c;
232
232
  };
233
- if (z.current !== -1 && Q.filteredOptions && Q.filteredOptions.length !== S.length && Q.inputValue === P && (v ? s.length === Q.value.length && Q.value.every((t, l) => N(s[l]) === N(t)) : r(Q.value, s))) {
233
+ if (z.current !== -1 && Q.filteredOptions && Q.filteredOptions.length !== S.length && Q.inputValue === P && (C ? s.length === Q.value.length && Q.value.every((t, l) => N(s[l]) === N(t)) : r(Q.value, s))) {
234
234
  const t = Q.filteredOptions[z.current];
235
235
  if (t)
236
236
  return S.findIndex((l) => N(l) === N(t));
@@ -244,7 +244,7 @@ function st(e) {
244
244
  z.current = r;
245
245
  return;
246
246
  }
247
- const t = v ? s[0] : s;
247
+ const t = C ? s[0] : s;
248
248
  if (S.length === 0 || t == null) {
249
249
  Y({
250
250
  diff: "reset"
@@ -254,7 +254,7 @@ function st(e) {
254
254
  if (K.current) {
255
255
  if (t != null) {
256
256
  const l = S[z.current];
257
- if (v && l && s.findIndex((c) => W(l, c)) !== -1)
257
+ if (C && l && s.findIndex((c) => W(l, c)) !== -1)
258
258
  return;
259
259
  const p = S.findIndex((c) => W(c, t));
260
260
  p === -1 ? Y({
@@ -279,21 +279,21 @@ function st(e) {
279
279
  S.length,
280
280
  // Don't sync the highlighted index with the value when multiple
281
281
  // eslint-disable-next-line react-hooks/exhaustive-deps
282
- v ? !1 : s,
282
+ C ? !1 : s,
283
283
  me,
284
284
  Y,
285
285
  te,
286
286
  j,
287
287
  P,
288
- v
288
+ C
289
289
  ]), yo = io((r) => {
290
290
  et(K, r), r && Ke();
291
291
  });
292
292
  process.env.NODE_ENV !== "production" && b.useEffect(() => {
293
- (!w.current || w.current.nodeName !== "INPUT") && (w.current && w.current.nodeName === "TEXTAREA" ? console.warn([`A textarea element was provided to ${I} where input was expected.`, "This is not a supported scenario but it may work under certain conditions.", "A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).", "Make sure to test keyboard navigation and add custom event handlers if necessary."].join(`
294
- `)) : console.error([`MUI: Unable to find the input element. It was resolved to ${w.current} while an HTMLInputElement was expected.`, `Instead, ${I} expects an input element.`, "", I === "useAutocomplete" ? "Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed." : "Make sure you have customized the input component correctly."].join(`
293
+ (!w.current || w.current.nodeName !== "INPUT") && (w.current && w.current.nodeName === "TEXTAREA" ? console.warn([`A textarea element was provided to ${m} where input was expected.`, "This is not a supported scenario but it may work under certain conditions.", "A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).", "Make sure to test keyboard navigation and add custom event handlers if necessary."].join(`
294
+ `)) : console.error([`MUI: Unable to find the input element. It was resolved to ${w.current} while an HTMLInputElement was expected.`, `Instead, ${m} expects an input element.`, "", m === "useAutocomplete" ? "Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed." : "Make sure you have customized the input component correctly."].join(`
295
295
  `)));
296
- }, [I]), b.useEffect(() => {
296
+ }, [m]), b.useEffect(() => {
297
297
  Ke();
298
298
  }, [Ke]);
299
299
  const ne = (r) => {
@@ -301,7 +301,7 @@ function st(e) {
301
301
  }, re = (r, t) => {
302
302
  se && (Qe(!1), _ && _(r, t));
303
303
  }, pe = (r, t, l, p) => {
304
- if (v) {
304
+ if (C) {
305
305
  if (s.length === t.length && s.every((c, O) => c === t[O]))
306
306
  return;
307
307
  } else if (s === t)
@@ -309,14 +309,14 @@ function st(e) {
309
309
  fe && fe(r, t, l, p), Lo(t);
310
310
  }, we = b.useRef(!1), ge = (r, t, l = "selectOption", p = "options") => {
311
311
  let c = l, O = t;
312
- if (v) {
312
+ if (C) {
313
313
  if (O = Array.isArray(s) ? s.slice() : [], process.env.NODE_ENV !== "production") {
314
314
  const B = O.filter((Le) => W(t, Le));
315
- B.length > 1 && console.error([`MUI: The \`isOptionEqualToValue\` method of ${I} does not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${B.length} matches.`].join(`
315
+ B.length > 1 && console.error([`MUI: The \`isOptionEqualToValue\` method of ${m} does not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${B.length} matches.`].join(`
316
316
  `));
317
317
  }
318
- const x = O.findIndex((B) => W(t, B));
319
- x === -1 ? O.push(t) : p !== "freeSolo" && (O.splice(x, 1), c = "removeOption");
318
+ const I = O.findIndex((B) => W(t, B));
319
+ I === -1 ? O.push(t) : p !== "freeSolo" && (O.splice(I, 1), c = "removeOption");
320
320
  }
321
321
  Oe(r, O, c), pe(r, O, c, {
322
322
  option: t
@@ -337,13 +337,13 @@ function st(e) {
337
337
  }
338
338
  }
339
339
  const Ge = (r, t) => {
340
- if (!v)
340
+ if (!C)
341
341
  return;
342
342
  P === "" && re(r, "toggleInput");
343
343
  let l = G;
344
344
  G === -1 ? P === "" && t === "previous" && (l = s.length - 1) : (l += t === "next" ? 1 : -1, l < 0 && (l = 0), l === s.length && (l = -1)), l = Te(l, t), Xe(l), Se(l);
345
345
  }, oo = (r) => {
346
- je.current = !0, Ce(""), q && q(r, "", "clear"), pe(r, v ? [] : null, "clear");
346
+ je.current = !0, Ce(""), q && q(r, "", "clear"), pe(r, C ? [] : null, "clear");
347
347
  }, ke = (r) => (t) => {
348
348
  if (r.onKeyDown && r.onKeyDown(t), !t.defaultMuiPrevented && (G !== -1 && !["ArrowLeft", "ArrowRight"].includes(t.key) && (Xe(-1), Se(-1)), t.which !== 229))
349
349
  switch (t.key) {
@@ -407,13 +407,13 @@ function st(e) {
407
407
  if (t.preventDefault(), p)
408
408
  return;
409
409
  ge(t, l, "selectOption"), i && w.current.setSelectionRange(w.current.value.length, w.current.value.length);
410
- } else le && P !== "" && Pe === !1 && (v && t.preventDefault(), ge(t, P, "createOption", "freeSolo"));
410
+ } else le && P !== "" && Pe === !1 && (C && t.preventDefault(), ge(t, P, "createOption", "freeSolo"));
411
411
  break;
412
412
  case "Escape":
413
- j ? (t.preventDefault(), t.stopPropagation(), re(t, "escape")) : C && (P !== "" || v && s.length > 0) && (t.preventDefault(), t.stopPropagation(), oo(t));
413
+ j ? (t.preventDefault(), t.stopPropagation(), re(t, "escape")) : $ && (P !== "" || C && s.length > 0) && (t.preventDefault(), t.stopPropagation(), oo(t));
414
414
  break;
415
415
  case "Backspace":
416
- if (v && !$e && P === "" && s.length > 0) {
416
+ if (C && !$e && P === "" && s.length > 0) {
417
417
  const l = G === -1 ? s.length - 1 : G, p = s.slice();
418
418
  p.splice(l, 1), pe(t, p, "removeOption", {
419
419
  option: s[l]
@@ -421,7 +421,7 @@ function st(e) {
421
421
  }
422
422
  break;
423
423
  case "Delete":
424
- if (v && !$e && P === "" && s.length > 0 && G !== -1) {
424
+ if (C && !$e && P === "" && s.length > 0 && G !== -1) {
425
425
  const l = G, p = s.slice();
426
426
  p.splice(l, 1), pe(t, p, "removeOption", {
427
427
  option: s[l]
@@ -436,10 +436,10 @@ function st(e) {
436
436
  w.current.focus();
437
437
  return;
438
438
  }
439
- He(!1), Be.current = !0, je.current = !1, $ && z.current !== -1 && j ? ge(r, S[z.current], "blur") : $ && le && P !== "" ? ge(r, P, "blur", "freeSolo") : m && Oe(r, s, "blur"), re(r, "blur");
439
+ He(!1), Be.current = !0, je.current = !1, v && z.current !== -1 && j ? ge(r, S[z.current], "blur") : v && le && P !== "" ? ge(r, P, "blur", "freeSolo") : x && Oe(r, s, "blur"), re(r, "blur");
440
440
  }, Re = (r) => {
441
441
  const t = r.target.value;
442
- P !== t && (Ce(t), mo(!1), q && q(r, t, "input")), t === "" ? !L && !v && pe(r, null, "clear") : ne(r);
442
+ P !== t && (Ce(t), mo(!1), q && q(r, t, "input")), t === "" ? !L && !C && pe(r, null, "clear") : ne(r);
443
443
  }, _e = (r) => {
444
444
  const t = Number(r.currentTarget.getAttribute("data-option-index"));
445
445
  z.current !== t && te({
@@ -471,14 +471,14 @@ function st(e) {
471
471
  !A && (P === "" || !se) && (no(r), r.stopPropagation());
472
472
  };
473
473
  let R = le && P.length > 0;
474
- R = R || (v ? s.length > 0 : s !== null);
474
+ R = R || (C ? s.length > 0 : s !== null);
475
475
  let ae = S;
476
476
  if (oe) {
477
477
  const r = /* @__PURE__ */ new Map();
478
478
  let t = !1;
479
479
  ae = S.reduce((l, p, c) => {
480
480
  const O = oe(p);
481
- return l.length > 0 && l[l.length - 1].group === O ? l[l.length - 1].options.push(p) : (process.env.NODE_ENV !== "production" && (r.get(O) && !t && (console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${I} returns duplicated headers.`, "You can solve the issue by sorting the options with the output of `groupBy`."), t = !0), r.set(O, !0)), l.push({
481
+ return l.length > 0 && l[l.length - 1].group === O ? l[l.length - 1].options.push(p) : (process.env.NODE_ENV !== "production" && (r.get(O) && !t && (console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${m} returns duplicated headers.`, "You can solve the issue by sorting the options with the output of `groupBy`."), t = !0), r.set(O, !0)), l.push({
482
482
  key: c,
483
483
  index: c,
484
484
  group: O,
@@ -554,7 +554,7 @@ function st(e) {
554
554
  index: r,
555
555
  option: t
556
556
  }) => {
557
- const l = (v ? s : [s]).some((c) => c != null && W(t, c)), p = H ? H(t) : !1;
557
+ const l = (C ? s : [s]).some((c) => c != null && W(t, c)), p = H ? H(t) : !1;
558
558
  return {
559
559
  key: (he == null ? void 0 : he(t)) ?? N(t),
560
560
  tabIndex: -1,
@@ -590,10 +590,10 @@ const ct = (e) => {
590
590
  classes: n,
591
591
  color: a,
592
592
  disableGutters: i,
593
- inset: f,
594
- disableSticky: $
593
+ inset: g,
594
+ disableSticky: v
595
595
  } = e, y = {
596
- root: ["root", a !== "default" && `color${d(a)}`, !i && "gutters", f && "inset", !$ && "sticky"]
596
+ root: ["root", a !== "default" && `color${d(a)}`, !i && "gutters", g && "inset", !v && "sticky"]
597
597
  };
598
598
  return fo(y, pt, n);
599
599
  }, ut = F("li", {
@@ -660,24 +660,24 @@ const ct = (e) => {
660
660
  props: n,
661
661
  name: "MuiListSubheader"
662
662
  }), {
663
- className: f,
664
- color: $ = "default",
663
+ className: g,
664
+ color: v = "default",
665
665
  component: y = "li",
666
- disableGutters: m = !1,
667
- disableSticky: C = !1,
668
- inset: I = !1,
666
+ disableGutters: x = !1,
667
+ disableSticky: $ = !1,
668
+ inset: m = !1,
669
669
  ...k
670
670
  } = i, L = {
671
671
  ...i,
672
- color: $,
672
+ color: v,
673
673
  component: y,
674
- disableGutters: m,
675
- disableSticky: C,
676
- inset: I
674
+ disableGutters: x,
675
+ disableSticky: $,
676
+ inset: m
677
677
  }, X = ct(L);
678
678
  return /* @__PURE__ */ T(ut, {
679
679
  as: y,
680
- className: J(X.root, f),
680
+ className: J(X.root, g),
681
681
  ref: a,
682
682
  ownerState: L,
683
683
  ...k
@@ -739,10 +739,10 @@ const ft = co("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
739
739
  classes: n,
740
740
  disabled: a,
741
741
  color: i,
742
- edge: f,
743
- size: $
742
+ edge: g,
743
+ size: v
744
744
  } = e, y = {
745
- root: ["root", a && "disabled", i !== "default" && `color${d(i)}`, f && `edge${d(f)}`, `size${d($)}`]
745
+ root: ["root", a && "disabled", i !== "default" && `color${d(i)}`, g && `edge${d(g)}`, `size${d(v)}`]
746
746
  };
747
747
  return fo(y, dt, n);
748
748
  }, bt = F(So, {
@@ -867,34 +867,34 @@ const ft = co("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
867
867
  props: n,
868
868
  name: "MuiIconButton"
869
869
  }), {
870
- edge: f = !1,
871
- children: $,
870
+ edge: g = !1,
871
+ children: v,
872
872
  className: y,
873
- color: m = "default",
874
- disabled: C = !1,
875
- disableFocusRipple: I = !1,
873
+ color: x = "default",
874
+ disabled: $ = !1,
875
+ disableFocusRipple: m = !1,
876
876
  disableRipple: k = !1,
877
877
  size: L = "medium",
878
878
  ...X
879
879
  } = i, A = {
880
880
  ...i,
881
- edge: f,
882
- color: m,
883
- disabled: C,
884
- disableFocusRipple: I,
881
+ edge: g,
882
+ color: x,
883
+ disabled: $,
884
+ disableFocusRipple: m,
885
885
  disableRipple: k,
886
886
  size: L
887
887
  }, E = gt(A);
888
888
  return /* @__PURE__ */ T(bt, {
889
889
  className: J(E.root, y),
890
890
  centerRipple: !0,
891
- focusRipple: !I,
892
- disabled: C,
891
+ focusRipple: !m,
892
+ disabled: $,
893
893
  disableRipple: k,
894
894
  ref: a,
895
895
  ...X,
896
896
  ownerState: A,
897
- children: $
897
+ children: v
898
898
  });
899
899
  });
900
900
  process.env.NODE_ENV !== "production" && (To.propTypes = {
@@ -965,24 +965,24 @@ const mt = Uo(/* @__PURE__ */ T("path", {
965
965
  function ht(e) {
966
966
  return po("MuiChip", e);
967
967
  }
968
- const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), yt = (e) => {
968
+ const f = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), yt = (e) => {
969
969
  const {
970
970
  classes: n,
971
971
  disabled: a,
972
972
  size: i,
973
- color: f,
974
- iconColor: $,
973
+ color: g,
974
+ iconColor: v,
975
975
  onDelete: y,
976
- clickable: m,
977
- variant: C
978
- } = e, I = {
979
- root: ["root", C, a && "disabled", `size${d(i)}`, `color${d(f)}`, m && "clickable", m && `clickableColor${d(f)}`, y && "deletable", y && `deletableColor${d(f)}`, `${C}${d(f)}`],
976
+ clickable: x,
977
+ variant: $
978
+ } = e, m = {
979
+ root: ["root", $, a && "disabled", `size${d(i)}`, `color${d(g)}`, x && "clickable", x && `clickableColor${d(g)}`, y && "deletable", y && `deletableColor${d(g)}`, `${$}${d(g)}`],
980
980
  label: ["label", `label${d(i)}`],
981
- avatar: ["avatar", `avatar${d(i)}`, `avatarColor${d(f)}`],
982
- icon: ["icon", `icon${d(i)}`, `iconColor${d($)}`],
983
- deleteIcon: ["deleteIcon", `deleteIcon${d(i)}`, `deleteIconColor${d(f)}`, `deleteIcon${d(C)}Color${d(f)}`]
981
+ avatar: ["avatar", `avatar${d(i)}`, `avatarColor${d(g)}`],
982
+ icon: ["icon", `icon${d(i)}`, `iconColor${d(v)}`],
983
+ deleteIcon: ["deleteIcon", `deleteIcon${d(i)}`, `deleteIconColor${d(g)}`, `deleteIcon${d($)}Color${d(g)}`]
984
984
  };
985
- return fo(I, ht, n);
985
+ return fo(m, ht, n);
986
986
  }, vt = F("div", {
987
987
  name: "MuiChip",
988
988
  slot: "Root",
@@ -991,33 +991,33 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
991
991
  ownerState: a
992
992
  } = e, {
993
993
  color: i,
994
- iconColor: f,
995
- clickable: $,
994
+ iconColor: g,
995
+ clickable: v,
996
996
  onDelete: y,
997
- size: m,
998
- variant: C
997
+ size: x,
998
+ variant: $
999
999
  } = a;
1000
1000
  return [{
1001
- [`& .${g.avatar}`]: n.avatar
1001
+ [`& .${f.avatar}`]: n.avatar
1002
1002
  }, {
1003
- [`& .${g.avatar}`]: n[`avatar${d(m)}`]
1003
+ [`& .${f.avatar}`]: n[`avatar${d(x)}`]
1004
1004
  }, {
1005
- [`& .${g.avatar}`]: n[`avatarColor${d(i)}`]
1005
+ [`& .${f.avatar}`]: n[`avatarColor${d(i)}`]
1006
1006
  }, {
1007
- [`& .${g.icon}`]: n.icon
1007
+ [`& .${f.icon}`]: n.icon
1008
1008
  }, {
1009
- [`& .${g.icon}`]: n[`icon${d(m)}`]
1009
+ [`& .${f.icon}`]: n[`icon${d(x)}`]
1010
1010
  }, {
1011
- [`& .${g.icon}`]: n[`iconColor${d(f)}`]
1011
+ [`& .${f.icon}`]: n[`iconColor${d(g)}`]
1012
1012
  }, {
1013
- [`& .${g.deleteIcon}`]: n.deleteIcon
1013
+ [`& .${f.deleteIcon}`]: n.deleteIcon
1014
1014
  }, {
1015
- [`& .${g.deleteIcon}`]: n[`deleteIcon${d(m)}`]
1015
+ [`& .${f.deleteIcon}`]: n[`deleteIcon${d(x)}`]
1016
1016
  }, {
1017
- [`& .${g.deleteIcon}`]: n[`deleteIconColor${d(i)}`]
1017
+ [`& .${f.deleteIcon}`]: n[`deleteIconColor${d(i)}`]
1018
1018
  }, {
1019
- [`& .${g.deleteIcon}`]: n[`deleteIcon${d(C)}Color${d(i)}`]
1020
- }, n.root, n[`size${d(m)}`], n[`color${d(i)}`], $ && n.clickable, $ && i !== "default" && n[`clickableColor${d(i)})`], y && n.deletable, y && i !== "default" && n[`deletableColor${d(i)}`], n[C], n[`${C}${d(i)}`]];
1019
+ [`& .${f.deleteIcon}`]: n[`deleteIcon${d($)}Color${d(i)}`]
1020
+ }, n.root, n[`size${d(x)}`], n[`color${d(i)}`], v && n.clickable, v && i !== "default" && n[`clickableColor${d(i)})`], y && n.deletable, y && i !== "default" && n[`deletableColor${d(i)}`], n[$], n[`${$}${d(i)}`]];
1021
1021
  }
1022
1022
  })(ee(({
1023
1023
  theme: e
@@ -1047,11 +1047,11 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1047
1047
  // Remove `button` padding
1048
1048
  verticalAlign: "middle",
1049
1049
  boxSizing: "border-box",
1050
- [`&.${g.disabled}`]: {
1050
+ [`&.${f.disabled}`]: {
1051
1051
  opacity: (e.vars || e).palette.action.disabledOpacity,
1052
1052
  pointerEvents: "none"
1053
1053
  },
1054
- [`& .${g.avatar}`]: {
1054
+ [`& .${f.avatar}`]: {
1055
1055
  marginLeft: 5,
1056
1056
  marginRight: -6,
1057
1057
  width: 24,
@@ -1059,26 +1059,26 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1059
1059
  color: e.vars ? e.vars.palette.Chip.defaultAvatarColor : n,
1060
1060
  fontSize: e.typography.pxToRem(12)
1061
1061
  },
1062
- [`& .${g.avatarColorPrimary}`]: {
1062
+ [`& .${f.avatarColorPrimary}`]: {
1063
1063
  color: (e.vars || e).palette.primary.contrastText,
1064
1064
  backgroundColor: (e.vars || e).palette.primary.dark
1065
1065
  },
1066
- [`& .${g.avatarColorSecondary}`]: {
1066
+ [`& .${f.avatarColorSecondary}`]: {
1067
1067
  color: (e.vars || e).palette.secondary.contrastText,
1068
1068
  backgroundColor: (e.vars || e).palette.secondary.dark
1069
1069
  },
1070
- [`& .${g.avatarSmall}`]: {
1070
+ [`& .${f.avatarSmall}`]: {
1071
1071
  marginLeft: 4,
1072
1072
  marginRight: -4,
1073
1073
  width: 18,
1074
1074
  height: 18,
1075
1075
  fontSize: e.typography.pxToRem(10)
1076
1076
  },
1077
- [`& .${g.icon}`]: {
1077
+ [`& .${f.icon}`]: {
1078
1078
  marginLeft: 5,
1079
1079
  marginRight: -6
1080
1080
  },
1081
- [`& .${g.deleteIcon}`]: {
1081
+ [`& .${f.deleteIcon}`]: {
1082
1082
  WebkitTapHighlightColor: "transparent",
1083
1083
  color: e.vars ? `rgba(${e.vars.palette.text.primaryChannel} / 0.26)` : V(e.palette.text.primary, 0.26),
1084
1084
  fontSize: 22,
@@ -1094,12 +1094,12 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1094
1094
  },
1095
1095
  style: {
1096
1096
  height: 24,
1097
- [`& .${g.icon}`]: {
1097
+ [`& .${f.icon}`]: {
1098
1098
  fontSize: 18,
1099
1099
  marginLeft: 4,
1100
1100
  marginRight: -4
1101
1101
  },
1102
- [`& .${g.deleteIcon}`]: {
1102
+ [`& .${f.deleteIcon}`]: {
1103
1103
  fontSize: 16,
1104
1104
  marginRight: 4,
1105
1105
  marginLeft: -4
@@ -1112,7 +1112,7 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1112
1112
  style: {
1113
1113
  backgroundColor: (e.vars || e).palette[a].main,
1114
1114
  color: (e.vars || e).palette[a].contrastText,
1115
- [`& .${g.deleteIcon}`]: {
1115
+ [`& .${f.deleteIcon}`]: {
1116
1116
  color: e.vars ? `rgba(${e.vars.palette[a].contrastTextChannel} / 0.7)` : V(e.palette[a].contrastText, 0.7),
1117
1117
  "&:hover, &:active": {
1118
1118
  color: (e.vars || e).palette[a].contrastText
@@ -1122,14 +1122,14 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1122
1122
  })), {
1123
1123
  props: (a) => a.iconColor === a.color,
1124
1124
  style: {
1125
- [`& .${g.icon}`]: {
1125
+ [`& .${f.icon}`]: {
1126
1126
  color: e.vars ? e.vars.palette.Chip.defaultIconColor : n
1127
1127
  }
1128
1128
  }
1129
1129
  }, {
1130
1130
  props: (a) => a.iconColor === a.color && a.color !== "default",
1131
1131
  style: {
1132
- [`& .${g.icon}`]: {
1132
+ [`& .${f.icon}`]: {
1133
1133
  color: "inherit"
1134
1134
  }
1135
1135
  }
@@ -1138,7 +1138,7 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1138
1138
  onDelete: !0
1139
1139
  },
1140
1140
  style: {
1141
- [`&.${g.focusVisible}`]: {
1141
+ [`&.${f.focusVisible}`]: {
1142
1142
  backgroundColor: e.vars ? `rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : V(e.palette.action.selected, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
1143
1143
  }
1144
1144
  }
@@ -1148,7 +1148,7 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1148
1148
  onDelete: !0
1149
1149
  },
1150
1150
  style: {
1151
- [`&.${g.focusVisible}`]: {
1151
+ [`&.${f.focusVisible}`]: {
1152
1152
  background: (e.vars || e).palette[a].dark
1153
1153
  }
1154
1154
  }
@@ -1163,7 +1163,7 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1163
1163
  "&:hover": {
1164
1164
  backgroundColor: e.vars ? `rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : V(e.palette.action.selected, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity)
1165
1165
  },
1166
- [`&.${g.focusVisible}`]: {
1166
+ [`&.${f.focusVisible}`]: {
1167
1167
  backgroundColor: e.vars ? `rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : V(e.palette.action.selected, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
1168
1168
  },
1169
1169
  "&:active": {
@@ -1176,7 +1176,7 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1176
1176
  clickable: !0
1177
1177
  },
1178
1178
  style: {
1179
- [`&:hover, &.${g.focusVisible}`]: {
1179
+ [`&:hover, &.${f.focusVisible}`]: {
1180
1180
  backgroundColor: (e.vars || e).palette[a].dark
1181
1181
  }
1182
1182
  }
@@ -1187,28 +1187,28 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1187
1187
  style: {
1188
1188
  backgroundColor: "transparent",
1189
1189
  border: e.vars ? `1px solid ${e.vars.palette.Chip.defaultBorder}` : `1px solid ${e.palette.mode === "light" ? e.palette.grey[400] : e.palette.grey[700]}`,
1190
- [`&.${g.clickable}:hover`]: {
1190
+ [`&.${f.clickable}:hover`]: {
1191
1191
  backgroundColor: (e.vars || e).palette.action.hover
1192
1192
  },
1193
- [`&.${g.focusVisible}`]: {
1193
+ [`&.${f.focusVisible}`]: {
1194
1194
  backgroundColor: (e.vars || e).palette.action.focus
1195
1195
  },
1196
- [`& .${g.avatar}`]: {
1196
+ [`& .${f.avatar}`]: {
1197
1197
  marginLeft: 4
1198
1198
  },
1199
- [`& .${g.avatarSmall}`]: {
1199
+ [`& .${f.avatarSmall}`]: {
1200
1200
  marginLeft: 2
1201
1201
  },
1202
- [`& .${g.icon}`]: {
1202
+ [`& .${f.icon}`]: {
1203
1203
  marginLeft: 4
1204
1204
  },
1205
- [`& .${g.iconSmall}`]: {
1205
+ [`& .${f.iconSmall}`]: {
1206
1206
  marginLeft: 2
1207
1207
  },
1208
- [`& .${g.deleteIcon}`]: {
1208
+ [`& .${f.deleteIcon}`]: {
1209
1209
  marginRight: 5
1210
1210
  },
1211
- [`& .${g.deleteIconSmall}`]: {
1211
+ [`& .${f.deleteIconSmall}`]: {
1212
1212
  marginRight: 3
1213
1213
  }
1214
1214
  }
@@ -1220,13 +1220,13 @@ const g = co("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "col
1220
1220
  style: {
1221
1221
  color: (e.vars || e).palette[a].main,
1222
1222
  border: `1px solid ${e.vars ? `rgba(${e.vars.palette[a].mainChannel} / 0.7)` : V(e.palette[a].main, 0.7)}`,
1223
- [`&.${g.clickable}:hover`]: {
1223
+ [`&.${f.clickable}:hover`]: {
1224
1224
  backgroundColor: e.vars ? `rgba(${e.vars.palette[a].mainChannel} / ${e.vars.palette.action.hoverOpacity})` : V(e.palette[a].main, e.palette.action.hoverOpacity)
1225
1225
  },
1226
- [`&.${g.focusVisible}`]: {
1226
+ [`&.${f.focusVisible}`]: {
1227
1227
  backgroundColor: e.vars ? `rgba(${e.vars.palette[a].mainChannel} / ${e.vars.palette.action.focusOpacity})` : V(e.palette[a].main, e.palette.action.focusOpacity)
1228
1228
  },
1229
- [`& .${g.deleteIcon}`]: {
1229
+ [`& .${f.deleteIcon}`]: {
1230
1230
  color: e.vars ? `rgba(${e.vars.palette[a].mainChannel} / 0.7)` : V(e.palette[a].main, 0.7),
1231
1231
  "&:hover, &:active": {
1232
1232
  color: (e.vars || e).palette[a].main
@@ -1287,12 +1287,12 @@ const Wo = /* @__PURE__ */ b.forwardRef(function(n, a) {
1287
1287
  props: n,
1288
1288
  name: "MuiChip"
1289
1289
  }), {
1290
- avatar: f,
1291
- className: $,
1290
+ avatar: g,
1291
+ className: v,
1292
1292
  clickable: y,
1293
- color: m = "default",
1294
- component: C,
1295
- deleteIcon: I,
1293
+ color: x = "default",
1294
+ component: $,
1295
+ deleteIcon: m,
1296
1296
  disabled: k = !1,
1297
1297
  icon: L,
1298
1298
  label: X,
@@ -1312,41 +1312,41 @@ const Wo = /* @__PURE__ */ b.forwardRef(function(n, a) {
1312
1312
  D.currentTarget === D.target && zo(D) && D.preventDefault(), ue && ue(D);
1313
1313
  }, ye = (D) => {
1314
1314
  D.currentTarget === D.target && E && zo(D) && E(D), Me && Me(D);
1315
- }, W = y !== !1 && A ? !0 : y, v = W || E ? So : C || "div", fe = {
1315
+ }, W = y !== !1 && A ? !0 : y, C = W || E ? So : $ || "div", fe = {
1316
1316
  ...i,
1317
- component: v,
1317
+ component: C,
1318
1318
  disabled: k,
1319
1319
  size: me,
1320
- color: m,
1321
- iconColor: /* @__PURE__ */ b.isValidElement(L) && L.props.color || m,
1320
+ color: x,
1321
+ iconColor: /* @__PURE__ */ b.isValidElement(L) && L.props.color || x,
1322
1322
  onDelete: !!E,
1323
1323
  clickable: W,
1324
1324
  variant: le
1325
- }, _ = yt(fe), ve = v === So ? {
1326
- component: C || "div",
1325
+ }, _ = yt(fe), ve = C === So ? {
1326
+ component: $ || "div",
1327
1327
  focusVisibleClassName: _.focusVisible,
1328
1328
  ...E && {
1329
1329
  disableRipple: !0
1330
1330
  }
1331
1331
  } : {};
1332
1332
  let q = null;
1333
- E && (q = I && /* @__PURE__ */ b.isValidElement(I) ? /* @__PURE__ */ b.cloneElement(I, {
1334
- className: J(I.props.className, _.deleteIcon),
1333
+ E && (q = m && /* @__PURE__ */ b.isValidElement(m) ? /* @__PURE__ */ b.cloneElement(m, {
1334
+ className: J(m.props.className, _.deleteIcon),
1335
1335
  onClick: Ve
1336
1336
  }) : /* @__PURE__ */ T(mt, {
1337
1337
  className: J(_.deleteIcon),
1338
1338
  onClick: Ve
1339
1339
  }));
1340
1340
  let ie = null;
1341
- f && /* @__PURE__ */ b.isValidElement(f) && (ie = /* @__PURE__ */ b.cloneElement(f, {
1342
- className: J(_.avatar, f.props.className)
1341
+ g && /* @__PURE__ */ b.isValidElement(g) && (ie = /* @__PURE__ */ b.cloneElement(g, {
1342
+ className: J(_.avatar, g.props.className)
1343
1343
  }));
1344
1344
  let xe = null;
1345
1345
  return L && /* @__PURE__ */ b.isValidElement(L) && (xe = /* @__PURE__ */ b.cloneElement(L, {
1346
1346
  className: J(_.icon, L.props.className)
1347
1347
  })), process.env.NODE_ENV !== "production" && ie && xe && console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."), /* @__PURE__ */ Ne(vt, {
1348
- as: v,
1349
- className: J(_.root, $),
1348
+ as: C,
1349
+ className: J(_.root, v),
1350
1350
  disabled: W && k ? !0 : void 0,
1351
1351
  onClick: A,
1352
1352
  onKeyDown: de,
@@ -1478,21 +1478,21 @@ const It = (e) => {
1478
1478
  classes: n,
1479
1479
  disablePortal: a,
1480
1480
  expanded: i,
1481
- focused: f,
1482
- fullWidth: $,
1481
+ focused: g,
1482
+ fullWidth: v,
1483
1483
  hasClearIcon: y,
1484
- hasPopupIcon: m,
1485
- inputFocused: C,
1486
- popupOpen: I,
1484
+ hasPopupIcon: x,
1485
+ inputFocused: $,
1486
+ popupOpen: m,
1487
1487
  size: k
1488
1488
  } = e, L = {
1489
- root: ["root", i && "expanded", f && "focused", $ && "fullWidth", y && "hasClearIcon", m && "hasPopupIcon"],
1489
+ root: ["root", i && "expanded", g && "focused", v && "fullWidth", y && "hasClearIcon", x && "hasPopupIcon"],
1490
1490
  inputRoot: ["inputRoot"],
1491
- input: ["input", C && "inputFocused"],
1491
+ input: ["input", $ && "inputFocused"],
1492
1492
  tag: ["tag", `tagSize${d(k)}`],
1493
1493
  endAdornment: ["endAdornment"],
1494
1494
  clearIndicator: ["clearIndicator"],
1495
- popupIndicator: ["popupIndicator", I && "popupIndicatorOpen"],
1495
+ popupIndicator: ["popupIndicator", m && "popupIndicatorOpen"],
1496
1496
  popper: ["popper", a && "popperDisablePortal"],
1497
1497
  paper: ["paper"],
1498
1498
  listbox: ["listbox"],
@@ -1511,22 +1511,22 @@ const It = (e) => {
1511
1511
  ownerState: a
1512
1512
  } = e, {
1513
1513
  fullWidth: i,
1514
- hasClearIcon: f,
1515
- hasPopupIcon: $,
1514
+ hasClearIcon: g,
1515
+ hasPopupIcon: v,
1516
1516
  inputFocused: y,
1517
- size: m
1517
+ size: x
1518
1518
  } = a;
1519
1519
  return [{
1520
1520
  [`& .${u.tag}`]: n.tag
1521
1521
  }, {
1522
- [`& .${u.tag}`]: n[`tagSize${d(m)}`]
1522
+ [`& .${u.tag}`]: n[`tagSize${d(x)}`]
1523
1523
  }, {
1524
1524
  [`& .${u.inputRoot}`]: n.inputRoot
1525
1525
  }, {
1526
1526
  [`& .${u.input}`]: n.input
1527
1527
  }, {
1528
1528
  [`& .${u.input}`]: y && n.inputFocused
1529
- }, n.root, i && n.fullWidth, $ && n.hasPopupIcon, f && n.hasClearIcon];
1529
+ }, n.root, i && n.fullWidth, v && n.hasPopupIcon, g && n.hasClearIcon];
1530
1530
  }
1531
1531
  })({
1532
1532
  [`&.${u.focused} .${u.clearIndicator}`]: {
@@ -1839,12 +1839,12 @@ const It = (e) => {
1839
1839
  props: n,
1840
1840
  name: "MuiAutocomplete"
1841
1841
  }), {
1842
- autoComplete: f = !1,
1843
- autoHighlight: $ = !1,
1842
+ autoComplete: g = !1,
1843
+ autoHighlight: v = !1,
1844
1844
  autoSelect: y = !1,
1845
- blurOnSelect: m = !1,
1846
- ChipProps: C,
1847
- className: I,
1845
+ blurOnSelect: x = !1,
1846
+ ChipProps: $,
1847
+ className: m,
1848
1848
  clearIcon: k = Vo || (Vo = /* @__PURE__ */ T($t, {
1849
1849
  fontSize: "small"
1850
1850
  })),
@@ -1865,7 +1865,7 @@ const It = (e) => {
1865
1865
  forcePopupIcon: de = "auto",
1866
1866
  freeSolo: ye = !1,
1867
1867
  fullWidth: W = !1,
1868
- getLimitTagsText: v = (h) => `+${h}`,
1868
+ getLimitTagsText: C = (h) => `+${h}`,
1869
1869
  getOptionDisabled: fe,
1870
1870
  getOptionKey: _,
1871
1871
  getOptionLabel: ve,
@@ -1953,7 +1953,7 @@ const It = (e) => {
1953
1953
  ...j
1954
1954
  },
1955
1955
  slotProps: {
1956
- chip: C,
1956
+ chip: $,
1957
1957
  listbox: U,
1958
1958
  ...ue,
1959
1959
  ...S
@@ -1985,14 +1985,14 @@ const It = (e) => {
1985
1985
  open: Te
1986
1986
  }
1987
1987
  });
1988
- let x;
1988
+ let I;
1989
1989
  if (Be && re.length > 0) {
1990
1990
  const h = (Z) => ({
1991
1991
  className: R.tag,
1992
1992
  disabled: H,
1993
1993
  ...Ke(Z)
1994
1994
  });
1995
- Ze ? x = Ze(re, h, M) : x = re.map((Z, ce) => {
1995
+ Ze ? I = Ze(re, h, M) : I = re.map((Z, ce) => {
1996
1996
  const {
1997
1997
  key: Je,
1998
1998
  ..._o
@@ -2007,12 +2007,12 @@ const It = (e) => {
2007
2007
  }, Je);
2008
2008
  });
2009
2009
  }
2010
- if (Fe > -1 && Array.isArray(x)) {
2011
- const h = x.length - Fe;
2012
- !Ge && h > 0 && (x = x.splice(0, Fe), x.push(/* @__PURE__ */ T("span", {
2010
+ if (Fe > -1 && Array.isArray(I)) {
2011
+ const h = I.length - Fe;
2012
+ !Ge && h > 0 && (I = I.splice(0, Fe), I.push(/* @__PURE__ */ T("span", {
2013
2013
  className: R.tag,
2014
- children: v(h)
2015
- }, x.length)));
2014
+ children: C(h)
2015
+ }, I.length)));
2016
2016
  }
2017
2017
  const Le = Oe || ((h) => /* @__PURE__ */ Ne("li", {
2018
2018
  children: [/* @__PURE__ */ T(Dt, {
@@ -2080,7 +2080,7 @@ const It = (e) => {
2080
2080
  }))), /* @__PURE__ */ Ne(b.Fragment, {
2081
2081
  children: [/* @__PURE__ */ T(Ot, {
2082
2082
  ref: a,
2083
- className: J(R.root, I),
2083
+ className: J(R.root, m),
2084
2084
  ownerState: M,
2085
2085
  ...Se(We),
2086
2086
  children: se({
@@ -2092,7 +2092,7 @@ const It = (e) => {
2092
2092
  InputProps: {
2093
2093
  ref: vo,
2094
2094
  className: R.inputRoot,
2095
- startAdornment: x,
2095
+ startAdornment: I,
2096
2096
  onMouseDown: (h) => xo(h),
2097
2097
  ...(_e || qe) && {
2098
2098
  endAdornment: /* @__PURE__ */ Ne(Pt, {
@@ -2641,13 +2641,14 @@ const Mt = ["colon"], Et = qo("div", { shouldForwardProp: (e) => !Mt.includes(e)
2641
2641
  label: e,
2642
2642
  colon: n = !0,
2643
2643
  options: a = [],
2644
- borderFocusColor: i = jo.colors.green,
2644
+ noLabel: i = !1,
2645
+ borderFocusColor: g = jo.colors.green,
2645
2646
  // border primary
2646
- onChange: f,
2647
- minWidth: $,
2648
- ...y
2649
- }) => /* @__PURE__ */ Ne(Et, { className: "jcLabeledDropdown", borderFocusColor: i, minWidth: $, children: [
2650
- /* @__PURE__ */ Ne("span", { className: "jcDropdownLabel", children: [
2647
+ onChange: v,
2648
+ minWidth: y,
2649
+ ...x
2650
+ }) => /* @__PURE__ */ Ne(Et, { className: "jcLabeledDropdown", borderFocusColor: g, minWidth: y, children: [
2651
+ !i && /* @__PURE__ */ Ne("span", { className: "jcDropdownLabel", children: [
2651
2652
  e,
2652
2653
  n && ":"
2653
2654
  ] }),
@@ -2655,12 +2656,12 @@ const Mt = ["colon"], Et = qo("div", { shouldForwardProp: (e) => !Mt.includes(e)
2655
2656
  Ko,
2656
2657
  {
2657
2658
  options: a,
2658
- onChange: (m, C) => (
2659
+ onChange: ($, m) => (
2659
2660
  // @ts-ignore
2660
- f && f({ ...m, target: { ...m.target, value: `${C == null ? void 0 : C.value}` || "" } })
2661
+ v && v({ ...$, target: { ...$.target, value: `${m == null ? void 0 : m.value}` || "" } })
2661
2662
  ),
2662
- ...y,
2663
- renderInput: (m) => /* @__PURE__ */ T(Xo, { ...m })
2663
+ ...x,
2664
+ renderInput: ($) => /* @__PURE__ */ T(Xo, { ...$ })
2664
2665
  }
2665
2666
  )
2666
2667
  ] });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.205",
4
+ "version": "0.0.207",
5
5
  "description": "Component library for the websites of Johnson County Iowa",
6
6
  "license": "MIT",
7
7
  "homepage": "https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary?path=%2FREADME.md&version=GBmaster",