jcicl 0.0.345 → 1.0.3

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.
@@ -89,7 +89,7 @@ function st(e) {
89
89
  includeInputInList: de = !1,
90
90
  inputValue: ye,
91
91
  isOptionEqualToValue: W = (r, t) => r === t,
92
- multiple: $ = !1,
92
+ multiple: C = !1,
93
93
  onChange: fe,
94
94
  onClose: _,
95
95
  onHighlightChange: ve,
@@ -98,7 +98,7 @@ function st(e) {
98
98
  open: xe,
99
99
  openOnFocus: M = !1,
100
100
  options: Ro,
101
- readOnly: $e = !1,
101
+ readOnly: Ce = !1,
102
102
  selectOnFocus: Fe = !e.freeSolo,
103
103
  value: go
104
104
  } = e, U = Qo(Ve);
@@ -118,16 +118,16 @@ function st(e) {
118
118
  controlled: go,
119
119
  default: I,
120
120
  name: d
121
- }), [S, Ce] = Po({
121
+ }), [S, $e] = Po({
122
122
  controlled: ye,
123
123
  default: "",
124
124
  name: d,
125
125
  state: "inputValue"
126
126
  }), [Ie, He] = m.useState(!1), Oe = m.useCallback((r, t, l) => {
127
- if (!($ ? s.length < t.length : t !== null) && !y)
127
+ if (!(C ? s.length < t.length : t !== null) && !y)
128
128
  return;
129
129
  let c;
130
- if ($)
130
+ if (C)
131
131
  c = "";
132
132
  else if (t == null)
133
133
  c = "";
@@ -135,14 +135,14 @@ function st(e) {
135
135
  const O = D(t);
136
136
  c = typeof O == "string" ? O : "";
137
137
  }
138
- S !== c && (Ce(c), q && q(r, c, l));
139
- }, [D, S, $, q, Ce, y, s]), [se, Qe] = Po({
138
+ S !== c && ($e(c), q && q(r, c, l));
139
+ }, [D, S, C, q, $e, y, s]), [se, Qe] = Po({
140
140
  controlled: xe,
141
141
  default: !1,
142
142
  name: d,
143
143
  state: "open"
144
- }), [Ze, mo] = m.useState(!0), Pe = !$ && s != null && S === D(s), j = se && !$e, T = j ? Ne(
145
- Ro.filter((r) => !(me && ($ ? s : [s]).some((t) => t !== null && W(r, t)))),
144
+ }), [Ze, mo] = m.useState(!0), Pe = !C && s != null && S === D(s), j = se && !Ce, T = j ? Ne(
145
+ Ro.filter((r) => !(me && (C ? s : [s]).some((t) => t !== null && W(r, t)))),
146
146
  // we use the empty string to manipulate `filterOptions` to not filter any options
147
147
  // i.e. the filter predicate always returns true
148
148
  {
@@ -158,12 +158,12 @@ function st(e) {
158
158
  const r = s !== Q.value;
159
159
  Ie && !r || le && !r || Oe(null, s, "reset");
160
160
  }, [s, Oe, Ie, Q.value, le]);
161
- const We = se && T.length > 0 && !$e, Se = io((r) => {
161
+ const We = se && T.length > 0 && !Ce, Se = io((r) => {
162
162
  r === -1 ? k.current.focus() : Ue.querySelector(`[data-tag-index="${r}"]`).focus();
163
163
  });
164
164
  m.useEffect(() => {
165
- $ && G > s.length - 1 && (Xe(-1), Se(-1));
166
- }, [s, $, G, Se]);
165
+ C && G > s.length - 1 && (Xe(-1), Se(-1));
166
+ }, [s, C, G, Se]);
167
167
  function eo(r, t) {
168
168
  if (!K.current || r < 0 || r >= T.length)
169
169
  return -1;
@@ -194,8 +194,8 @@ function st(e) {
194
194
  }
195
195
  const O = K.current.querySelector(`[data-option-index="${t}"]`);
196
196
  if (O && (O.classList.add(`${a}-focused`), l === "keyboard" && O.classList.add(`${a}-focusVisible`), c.scrollHeight > c.clientHeight && l !== "mouse" && l !== "touch")) {
197
- const C = O, B = c.clientHeight + c.scrollTop, Le = C.offsetTop + C.offsetHeight;
198
- Le > B ? c.scrollTop = Le - c.clientHeight : C.offsetTop - C.offsetHeight * (oe ? 1.3 : 0) < c.scrollTop && (c.scrollTop = C.offsetTop - C.offsetHeight * (oe ? 1.3 : 0));
197
+ const $ = O, B = c.clientHeight + c.scrollTop, Le = $.offsetTop + $.offsetHeight;
198
+ Le > B ? c.scrollTop = Le - c.clientHeight : $.offsetTop - $.offsetHeight * (oe ? 1.3 : 0) < c.scrollTop && (c.scrollTop = $.offsetTop - $.offsetHeight * (oe ? 1.3 : 0));
199
199
  }
200
200
  }), Y = io(({
201
201
  event: r,
@@ -206,15 +206,15 @@ function st(e) {
206
206
  if (!j)
207
207
  return;
208
208
  const O = eo((() => {
209
- const C = T.length - 1;
209
+ const $ = T.length - 1;
210
210
  if (t === "reset")
211
211
  return bo;
212
212
  if (t === "start")
213
213
  return 0;
214
214
  if (t === "end")
215
- return C;
215
+ return $;
216
216
  const B = z.current + t;
217
- return B < 0 ? B === -1 && de ? -1 : ue && z.current !== -1 || Math.abs(t) > 1 ? 0 : C : B > C ? B === C + 1 && de ? -1 : ue || Math.abs(t) > 1 ? C : 0 : B;
217
+ return B < 0 ? B === -1 && de ? -1 : ue && z.current !== -1 || Math.abs(t) > 1 ? 0 : $ : B > $ ? B === $ + 1 && de ? -1 : ue || Math.abs(t) > 1 ? $ : 0 : B;
218
218
  })(), l);
219
219
  if (te({
220
220
  index: O,
@@ -224,15 +224,15 @@ function st(e) {
224
224
  if (O === -1)
225
225
  k.current.value = S;
226
226
  else {
227
- const C = D(T[O]);
228
- k.current.value = C, C.toLowerCase().indexOf(S.toLowerCase()) === 0 && S.length > 0 && k.current.setSelectionRange(S.length, C.length);
227
+ const $ = D(T[O]);
228
+ k.current.value = $, $.toLowerCase().indexOf(S.toLowerCase()) === 0 && S.length > 0 && k.current.setSelectionRange(S.length, $.length);
229
229
  }
230
230
  }), ho = () => {
231
231
  const r = (t, l) => {
232
232
  const p = t ? D(t) : "", c = l ? D(l) : "";
233
233
  return p === c;
234
234
  };
235
- if (z.current !== -1 && Q.filteredOptions && Q.filteredOptions.length !== T.length && Q.inputValue === S && ($ ? s.length === Q.value.length && Q.value.every((t, l) => D(s[l]) === D(t)) : r(Q.value, s))) {
235
+ if (z.current !== -1 && Q.filteredOptions && Q.filteredOptions.length !== T.length && Q.inputValue === S && (C ? s.length === Q.value.length && Q.value.every((t, l) => D(s[l]) === D(t)) : r(Q.value, s))) {
236
236
  const t = Q.filteredOptions[z.current];
237
237
  if (t)
238
238
  return T.findIndex((l) => D(l) === D(t));
@@ -246,7 +246,7 @@ function st(e) {
246
246
  z.current = r;
247
247
  return;
248
248
  }
249
- const t = $ ? s[0] : s;
249
+ const t = C ? s[0] : s;
250
250
  if (T.length === 0 || t == null) {
251
251
  Y({
252
252
  diff: "reset"
@@ -256,7 +256,7 @@ function st(e) {
256
256
  if (K.current) {
257
257
  if (t != null) {
258
258
  const l = T[z.current];
259
- if ($ && l && s.findIndex((c) => W(l, c)) !== -1)
259
+ if (C && l && s.findIndex((c) => W(l, c)) !== -1)
260
260
  return;
261
261
  const p = T.findIndex((c) => W(c, t));
262
262
  p === -1 ? Y({
@@ -281,13 +281,13 @@ function st(e) {
281
281
  T.length,
282
282
  // Don't sync the highlighted index with the value when multiple
283
283
  // eslint-disable-next-line react-hooks/exhaustive-deps
284
- $ ? !1 : s,
284
+ C ? !1 : s,
285
285
  me,
286
286
  Y,
287
287
  te,
288
288
  j,
289
289
  S,
290
- $
290
+ C
291
291
  ]), yo = io((r) => {
292
292
  Zo(K, r), r && Ke();
293
293
  });
@@ -303,7 +303,7 @@ function st(e) {
303
303
  }, re = (r, t) => {
304
304
  se && (Qe(!1), _ && _(r, t));
305
305
  }, pe = (r, t, l, p) => {
306
- if ($) {
306
+ if (C) {
307
307
  if (s.length === t.length && s.every((c, O) => c === t[O]))
308
308
  return;
309
309
  } else if (s === t)
@@ -311,14 +311,14 @@ function st(e) {
311
311
  fe && fe(r, t, l, p), Ao(t);
312
312
  }, we = m.useRef(!1), ge = (r, t, l = "selectOption", p = "options") => {
313
313
  let c = l, O = t;
314
- if ($) {
314
+ if (C) {
315
315
  if (O = Array.isArray(s) ? s.slice() : [], process.env.NODE_ENV !== "production") {
316
316
  const B = O.filter((Le) => W(t, Le));
317
317
  B.length > 1 && console.error([`MUI: The \`isOptionEqualToValue\` method of ${d} does not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${B.length} matches.`].join(`
318
318
  `));
319
319
  }
320
- const C = O.findIndex((B) => W(t, B));
321
- C === -1 ? O.push(t) : p !== "freeSolo" && (O.splice(C, 1), c = "removeOption");
320
+ const $ = O.findIndex((B) => W(t, B));
321
+ $ === -1 ? O.push(t) : p !== "freeSolo" && (O.splice($, 1), c = "removeOption");
322
322
  }
323
323
  Oe(r, O, c), pe(r, O, c, {
324
324
  option: t
@@ -339,13 +339,13 @@ function st(e) {
339
339
  }
340
340
  }
341
341
  const Ge = (r, t) => {
342
- if (!$)
342
+ if (!C)
343
343
  return;
344
344
  S === "" && re(r, "toggleInput");
345
345
  let l = G;
346
346
  G === -1 ? S === "" && 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);
347
347
  }, oo = (r) => {
348
- je.current = !0, Ce(""), q && q(r, "", "clear"), pe(r, $ ? [] : null, "clear");
348
+ je.current = !0, $e(""), q && q(r, "", "clear"), pe(r, C ? [] : null, "clear");
349
349
  }, ke = (r) => (t) => {
350
350
  if (r.onKeyDown && r.onKeyDown(t), !t.defaultMuiPrevented && (G !== -1 && !["ArrowLeft", "ArrowRight"].includes(t.key) && (Xe(-1), Se(-1)), t.which !== 229))
351
351
  switch (t.key) {
@@ -409,13 +409,13 @@ function st(e) {
409
409
  if (t.preventDefault(), p)
410
410
  return;
411
411
  ge(t, l, "selectOption"), i && k.current.setSelectionRange(k.current.value.length, k.current.value.length);
412
- } else le && S !== "" && Pe === !1 && ($ && t.preventDefault(), ge(t, S, "createOption", "freeSolo"));
412
+ } else le && S !== "" && Pe === !1 && (C && t.preventDefault(), ge(t, S, "createOption", "freeSolo"));
413
413
  break;
414
414
  case "Escape":
415
- j ? (t.preventDefault(), t.stopPropagation(), re(t, "escape")) : P && (S !== "" || $ && s.length > 0) && (t.preventDefault(), t.stopPropagation(), oo(t));
415
+ j ? (t.preventDefault(), t.stopPropagation(), re(t, "escape")) : P && (S !== "" || C && s.length > 0) && (t.preventDefault(), t.stopPropagation(), oo(t));
416
416
  break;
417
417
  case "Backspace":
418
- if ($ && !$e && S === "" && s.length > 0) {
418
+ if (C && !Ce && S === "" && s.length > 0) {
419
419
  const l = G === -1 ? s.length - 1 : G, p = s.slice();
420
420
  p.splice(l, 1), pe(t, p, "removeOption", {
421
421
  option: s[l]
@@ -423,7 +423,7 @@ function st(e) {
423
423
  }
424
424
  break;
425
425
  case "Delete":
426
- if ($ && !$e && S === "" && s.length > 0 && G !== -1) {
426
+ if (C && !Ce && S === "" && s.length > 0 && G !== -1) {
427
427
  const l = G, p = s.slice();
428
428
  p.splice(l, 1), pe(t, p, "removeOption", {
429
429
  option: s[l]
@@ -441,7 +441,7 @@ function st(e) {
441
441
  He(!1), Be.current = !0, je.current = !1, h && z.current !== -1 && j ? ge(r, T[z.current], "blur") : h && le && S !== "" ? ge(r, S, "blur", "freeSolo") : y && Oe(r, s, "blur"), re(r, "blur");
442
442
  }, Re = (r) => {
443
443
  const t = r.target.value;
444
- S !== t && (Ce(t), mo(!1), q && q(r, t, "input")), t === "" ? !L && !$ && pe(r, null, "clear") : ne(r);
444
+ S !== t && ($e(t), mo(!1), q && q(r, t, "input")), t === "" ? !L && !C && pe(r, null, "clear") : ne(r);
445
445
  }, _e = (r) => {
446
446
  const t = Number(r.currentTarget.getAttribute("data-option-index"));
447
447
  z.current !== t && te({
@@ -458,7 +458,7 @@ function st(e) {
458
458
  }, xo = (r) => {
459
459
  const t = Number(r.currentTarget.getAttribute("data-option-index"));
460
460
  ge(r, T[t], "selectOption"), we.current = !1;
461
- }, $o = (r) => (t) => {
461
+ }, Co = (r) => (t) => {
462
462
  const l = s.slice();
463
463
  l.splice(r, 1), pe(t, l, "removeOption", {
464
464
  option: s[r]
@@ -473,7 +473,7 @@ function st(e) {
473
473
  !A && (S === "" || !se) && (no(r), r.stopPropagation());
474
474
  };
475
475
  let R = le && S.length > 0;
476
- R = R || ($ ? s.length > 0 : s !== null);
476
+ R = R || (C ? s.length > 0 : s !== null);
477
477
  let ae = T;
478
478
  if (oe) {
479
479
  const r = /* @__PURE__ */ new Map();
@@ -539,8 +539,8 @@ function st(e) {
539
539
  key: r,
540
540
  "data-tag-index": r,
541
541
  tabIndex: -1,
542
- ...!$e && {
543
- onDelete: $o(r)
542
+ ...!Ce && {
543
+ onDelete: Co(r)
544
544
  }
545
545
  }),
546
546
  getListboxProps: () => ({
@@ -556,7 +556,7 @@ function st(e) {
556
556
  index: r,
557
557
  option: t
558
558
  }) => {
559
- const l = ($ ? s : [s]).some((c) => c != null && W(t, c)), p = H ? H(t) : !1;
559
+ const l = (C ? s : [s]).some((c) => c != null && W(t, c)), p = H ? H(t) : !1;
560
560
  return {
561
561
  key: (he == null ? void 0 : he(t)) ?? D(t),
562
562
  tabIndex: -1,
@@ -1314,9 +1314,9 @@ const _o = /* @__PURE__ */ m.forwardRef(function(n, a) {
1314
1314
  M.currentTarget === M.target && jo(M) && M.preventDefault(), ue && ue(M);
1315
1315
  }, ye = (M) => {
1316
1316
  M.currentTarget === M.target && E && jo(M) && E(M), Ne && Ne(M);
1317
- }, W = x !== !1 && A ? !0 : x, $ = W || E ? So : P || "div", fe = {
1317
+ }, W = x !== !1 && A ? !0 : x, C = W || E ? So : P || "div", fe = {
1318
1318
  ...i,
1319
- component: $,
1319
+ component: C,
1320
1320
  disabled: I,
1321
1321
  size: me,
1322
1322
  color: y,
@@ -1324,7 +1324,7 @@ const _o = /* @__PURE__ */ m.forwardRef(function(n, a) {
1324
1324
  onDelete: !!E,
1325
1325
  clickable: W,
1326
1326
  variant: le
1327
- }, _ = yt(fe), ve = $ === So ? {
1327
+ }, _ = yt(fe), ve = C === So ? {
1328
1328
  component: P || "div",
1329
1329
  focusVisibleClassName: _.focusVisible,
1330
1330
  ...E && {
@@ -1347,7 +1347,7 @@ const _o = /* @__PURE__ */ m.forwardRef(function(n, a) {
1347
1347
  return L && /* @__PURE__ */ m.isValidElement(L) && (xe = /* @__PURE__ */ m.cloneElement(L, {
1348
1348
  className: J(_.icon, L.props.className)
1349
1349
  })), 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__ */ De(vt, {
1350
- as: $,
1350
+ as: C,
1351
1351
  className: J(_.root, h),
1352
1352
  disabled: W && I ? !0 : void 0,
1353
1353
  onClick: A,
@@ -1467,10 +1467,10 @@ process.env.NODE_ENV !== "production" && (_o.propTypes = {
1467
1467
  */
1468
1468
  variant: o.oneOfType([o.oneOf(["filled", "outlined"]), o.string])
1469
1469
  });
1470
- const $t = Wo(/* @__PURE__ */ w("path", {
1470
+ const Ct = Wo(/* @__PURE__ */ w("path", {
1471
1471
  d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
1472
1472
  }), "Close");
1473
- function Ct(e) {
1473
+ function $t(e) {
1474
1474
  return po("MuiAutocomplete", e);
1475
1475
  }
1476
1476
  const u = co("MuiAutocomplete", ["root", "expanded", "fullWidth", "focused", "focusVisible", "tag", "tagSizeSmall", "tagSizeMedium", "hasPopupIcon", "hasClearIcon", "inputRoot", "input", "inputFocused", "endAdornment", "clearIndicator", "popupIndicator", "popupIndicatorOpen", "popper", "popperDisablePortal", "paper", "listbox", "loading", "noOptions", "option", "groupLabel", "groupUl"]);
@@ -1504,7 +1504,7 @@ const It = (e) => {
1504
1504
  groupLabel: ["groupLabel"],
1505
1505
  groupUl: ["groupUl"]
1506
1506
  };
1507
- return fo(L, Ct, n);
1507
+ return fo(L, $t, n);
1508
1508
  }, Ot = F("div", {
1509
1509
  name: "MuiAutocomplete",
1510
1510
  slot: "Root",
@@ -1847,7 +1847,7 @@ const It = (e) => {
1847
1847
  blurOnSelect: y = !1,
1848
1848
  ChipProps: P,
1849
1849
  className: d,
1850
- clearIcon: I = Bo || (Bo = /* @__PURE__ */ w($t, {
1850
+ clearIcon: I = Bo || (Bo = /* @__PURE__ */ w(Ct, {
1851
1851
  fontSize: "small"
1852
1852
  })),
1853
1853
  clearOnBlur: L = !i.freeSolo,
@@ -1867,7 +1867,7 @@ const It = (e) => {
1867
1867
  forcePopupIcon: de = "auto",
1868
1868
  freeSolo: ye = !1,
1869
1869
  fullWidth: W = !1,
1870
- getLimitTagsText: $ = (v) => `+${v}`,
1870
+ getLimitTagsText: C = (v) => `+${v}`,
1871
1871
  getOptionDisabled: fe,
1872
1872
  getOptionKey: _,
1873
1873
  getOptionLabel: ve,
@@ -1876,7 +1876,7 @@ const It = (e) => {
1876
1876
  handleHomeEndKeys: xe = !i.freeSolo,
1877
1877
  id: M,
1878
1878
  includeInputInList: Ro = !1,
1879
- inputValue: $e,
1879
+ inputValue: Ce,
1880
1880
  limitTags: Fe = -1,
1881
1881
  ListboxComponent: go,
1882
1882
  ListboxProps: U,
@@ -1894,7 +1894,7 @@ const It = (e) => {
1894
1894
  openText: s = "Open",
1895
1895
  options: Ao,
1896
1896
  PaperComponent: S,
1897
- PopperComponent: Ce,
1897
+ PopperComponent: $e,
1898
1898
  popupIcon: Ie = Uo || (Uo = /* @__PURE__ */ w(Xo, {})),
1899
1899
  readOnly: He = !1,
1900
1900
  renderGroup: Oe,
@@ -1933,7 +1933,7 @@ const It = (e) => {
1933
1933
  }), _e = !me && !H && pe && !He, qe = (!ye || de === !0) && de !== !1, {
1934
1934
  onMouseDown: xo
1935
1935
  } = eo(), {
1936
- ref: $o,
1936
+ ref: Co,
1937
1937
  ...no
1938
1938
  } = yo(), Ye = ve || ((v) => v.label ?? v), N = {
1939
1939
  ...i,
@@ -1951,7 +1951,7 @@ const It = (e) => {
1951
1951
  slots: {
1952
1952
  listbox: go,
1953
1953
  paper: S,
1954
- popper: Ce,
1954
+ popper: $e,
1955
1955
  ...j
1956
1956
  },
1957
1957
  slotProps: {
@@ -1966,7 +1966,7 @@ const It = (e) => {
1966
1966
  ownerState: N,
1967
1967
  className: R.listbox,
1968
1968
  additionalProps: no,
1969
- ref: $o
1969
+ ref: Co
1970
1970
  }), [l, p] = Oo("paper", {
1971
1971
  elementType: Go,
1972
1972
  externalForwardedProps: ae,
@@ -1987,14 +1987,14 @@ const It = (e) => {
1987
1987
  open: Te
1988
1988
  }
1989
1989
  });
1990
- let C;
1990
+ let $;
1991
1991
  if (Be && re.length > 0) {
1992
1992
  const v = (Z) => ({
1993
1993
  className: R.tag,
1994
1994
  disabled: H,
1995
1995
  ...Ke(Z)
1996
1996
  });
1997
- Ze ? C = Ze(re, v, N) : C = re.map((Z, ce) => {
1997
+ Ze ? $ = Ze(re, v, N) : $ = re.map((Z, ce) => {
1998
1998
  const {
1999
1999
  key: Je,
2000
2000
  ...Yo
@@ -2009,12 +2009,12 @@ const It = (e) => {
2009
2009
  }, Je);
2010
2010
  });
2011
2011
  }
2012
- if (Fe > -1 && Array.isArray(C)) {
2013
- const v = C.length - Fe;
2014
- !Ge && v > 0 && (C = C.splice(0, Fe), C.push(/* @__PURE__ */ w("span", {
2012
+ if (Fe > -1 && Array.isArray($)) {
2013
+ const v = $.length - Fe;
2014
+ !Ge && v > 0 && ($ = $.splice(0, Fe), $.push(/* @__PURE__ */ w("span", {
2015
2015
  className: R.tag,
2016
- children: $(v)
2017
- }, C.length)));
2016
+ children: C(v)
2017
+ }, $.length)));
2018
2018
  }
2019
2019
  const Le = Oe || ((v) => /* @__PURE__ */ De("li", {
2020
2020
  children: [/* @__PURE__ */ w(Mt, {
@@ -2049,7 +2049,7 @@ const It = (e) => {
2049
2049
  index: Z,
2050
2050
  inputValue: to
2051
2051
  }, N);
2052
- }, ro = ae.slotProps.clearIndicator, ao = ae.slotProps.popupIndicator, Co = (v) => /* @__PURE__ */ w(Tt, {
2052
+ }, ro = ae.slotProps.clearIndicator, ao = ae.slotProps.popupIndicator, $o = (v) => /* @__PURE__ */ w(Tt, {
2053
2053
  as: c,
2054
2054
  ...O,
2055
2055
  children: /* @__PURE__ */ w(kt, {
@@ -2059,7 +2059,7 @@ const It = (e) => {
2059
2059
  })
2060
2060
  });
2061
2061
  let lo = null;
2062
- return Re.length > 0 ? lo = Co(/* @__PURE__ */ w(At, {
2062
+ return Re.length > 0 ? lo = $o(/* @__PURE__ */ w(At, {
2063
2063
  as: r,
2064
2064
  ...t,
2065
2065
  children: Re.map((v, Z) => ie ? Le({
@@ -2067,11 +2067,11 @@ const It = (e) => {
2067
2067
  group: v.group,
2068
2068
  children: v.options.map((ce, Je) => Do(ce, v.index + Je))
2069
2069
  }) : Do(v, Z))
2070
- })) : D && Re.length === 0 ? lo = Co(/* @__PURE__ */ w(Rt, {
2070
+ })) : D && Re.length === 0 ? lo = $o(/* @__PURE__ */ w(Rt, {
2071
2071
  className: R.loading,
2072
2072
  ownerState: N,
2073
2073
  children: je
2074
- })) : Re.length === 0 && !ye && !D && (lo = Co(/* @__PURE__ */ w(Lt, {
2074
+ })) : Re.length === 0 && !ye && !D && (lo = $o(/* @__PURE__ */ w(Lt, {
2075
2075
  className: R.noOptions,
2076
2076
  ownerState: N,
2077
2077
  role: "presentation",
@@ -2094,7 +2094,7 @@ const It = (e) => {
2094
2094
  InputProps: {
2095
2095
  ref: vo,
2096
2096
  className: R.inputRoot,
2097
- startAdornment: C,
2097
+ startAdornment: $,
2098
2098
  onMouseDown: (v) => xo(v),
2099
2099
  ...(_e || qe) && {
2100
2100
  endAdornment: /* @__PURE__ */ De(Pt, {
@@ -2561,7 +2561,7 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
2561
2561
  value: wo(o.any, (e) => e.multiple && e.value !== void 0 && !Array.isArray(e.value) ? new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.", `However, ${e.value} was provided.`].join(`
2562
2562
  `)) : null)
2563
2563
  });
2564
- const Nt = ["colon"], Et = Jo("div", { shouldForwardProp: (e) => !Nt.includes(e) })(({ borderFocusColor: e, minWidth: n = "180px", multiple: a }) => ({
2564
+ const Nt = ["colon", "borderFocusColor", "minWidth", "noLabel"], Et = Jo("div", { shouldForwardProp: (e) => !Nt.includes(e) })(({ borderFocusColor: e, minWidth: n = "180px", multiple: a }) => ({
2565
2565
  ...No`
2566
2566
  display: flex;
2567
2567
  flex-wrap: nowrap;
@@ -1,9 +1,11 @@
1
1
  import { jsxs as r, jsx as s } from "react/jsx-runtime";
2
2
  import { n as l } from "../.chunks/emotion-styled.browser.esm.js";
3
- import { c as a } from "../.chunks/emotion-react.browser.esm.js";
3
+ import { c as e } from "../.chunks/emotion-react.browser.esm.js";
4
4
  import { Input as d } from "../Input/Input.js";
5
- const f = l("div")(({ grid: t, displayMode: o }) => ({
6
- ...a`
5
+ const c = ["noLabel"], u = l("div", {
6
+ shouldForwardProp: (t) => !c.includes(t)
7
+ })(({ grid: t, displayMode: o }) => ({
8
+ ...e`
7
9
  display: flex;
8
10
  flex-wrap: nowrap;
9
11
  gap: 9px;
@@ -22,7 +24,7 @@ const f = l("div")(({ grid: t, displayMode: o }) => ({
22
24
  width: ${t && "100%"};
23
25
  }
24
26
 
25
- ${o && a`
27
+ ${o && e`
26
28
  .Mui-disabled {
27
29
  color: inherit !important;
28
30
  -webkit-text-fill-color: inherit !important;
@@ -32,21 +34,21 @@ const f = l("div")(({ grid: t, displayMode: o }) => ({
32
34
  }
33
35
  `}
34
36
  `
35
- })), x = ({
37
+ })), b = ({
36
38
  label: t,
37
39
  grid: o = !0,
38
- displayMode: e = !1,
39
- noLabel: i = !1,
40
+ displayMode: a = !1,
41
+ noLabel: n = !1,
40
42
  limit: p,
41
- ...n
42
- }) => /* @__PURE__ */ r(f, { grid: o, displayMode: e, className: "jcLabeledInput", children: [
43
- !i && /* @__PURE__ */ r("span", { children: [
43
+ ...i
44
+ }) => /* @__PURE__ */ r(u, { grid: o, displayMode: a, className: "jcLabeledInput", children: [
45
+ !n && /* @__PURE__ */ r("span", { children: [
44
46
  t,
45
47
  ":"
46
48
  ] }),
47
- /* @__PURE__ */ s(d, { ...n, slotProps: { htmlInput: { limit: p } } })
49
+ /* @__PURE__ */ s(d, { ...i, slotProps: { htmlInput: { limit: p } } })
48
50
  ] });
49
51
  export {
50
- x as LabeledInput,
51
- x as default
52
+ b as LabeledInput,
53
+ b as default
52
54
  };
@@ -1,10 +1,10 @@
1
1
  import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
- import { n as s } from "../.chunks/emotion-styled.browser.esm.js";
3
- import { c as a } from "../.chunks/emotion-react.browser.esm.js";
2
+ import { n as a } from "../.chunks/emotion-styled.browser.esm.js";
3
+ import { c as s } from "../.chunks/emotion-react.browser.esm.js";
4
4
  import o from "../theme.js";
5
5
  import { T as n } from "../.chunks/TextField.js";
6
- const d = s("div")(() => ({
7
- ...a`
6
+ const d = a("div")(() => ({
7
+ ...s`
8
8
  display: flex;
9
9
  flex-direction: column;
10
10
  font-family: 'Roboto', sans-serif;
@@ -24,7 +24,7 @@ const d = s("div")(() => ({
24
24
  }
25
25
  width: 100%;
26
26
  padding: 13px;
27
- border: 1px solid ${o.colors.formBorder};
27
+ border: 1px solid ${o.colors.gray};
28
28
  border-radius: 9px;
29
29
  resize: vertical;
30
30
  min-height: 130px;
package/Nav/Nav.d.ts CHANGED
@@ -5,6 +5,11 @@ export interface NavItemProps {
5
5
  onClick?: () => void;
6
6
  active?: boolean;
7
7
  url?: string;
8
+ /** hue and onChange are defined for the Hue selector */
9
+ hue?: any;
10
+ onChange?: (newHue: {
11
+ h: number;
12
+ }) => void;
8
13
  /** This is defined only to enable type safe external management of the AppContainer actions panel */
9
14
  actionsPanelContent?: React.ReactNode;
10
15
  subnavItems?: NavItemProps[];