jcicl 0.0.23 → 0.0.24

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.
@@ -20,16 +20,16 @@ const Y = (o) => {
20
20
  size: s,
21
21
  variant: p,
22
22
  classes: u
23
- } = o, f = {
23
+ } = o, y = {
24
24
  root: ["root", p, `${p}${e(a)}`, `size${e(s)}`, `${p}Size${e(s)}`, `color${e(a)}`, n && "disableElevation", r && "fullWidth"],
25
25
  label: ["label"],
26
26
  startIcon: ["icon", "startIcon", `iconSize${e(s)}`],
27
27
  endIcon: ["icon", "endIcon", `iconSize${e(s)}`]
28
- }, y = q(f, X, u);
28
+ }, f = q(y, X, u);
29
29
  return {
30
30
  ...u,
31
31
  // forward the focused, disabled, etc. classes to the ButtonBase
32
- ...y
32
+ ...f
33
33
  };
34
34
  }, O = [{
35
35
  props: {
@@ -301,8 +301,8 @@ const Y = (o) => {
301
301
  props: p,
302
302
  name: "MuiButton"
303
303
  }), {
304
- children: f,
305
- color: y = "primary",
304
+ children: y,
305
+ color: f = "primary",
306
306
  component: S = "button",
307
307
  className: N,
308
308
  disabled: z = !1,
@@ -312,25 +312,25 @@ const Y = (o) => {
312
312
  focusVisibleClassName: T,
313
313
  fullWidth: P = !1,
314
314
  size: W = "medium",
315
- startIcon: m,
316
- type: $,
315
+ startIcon: $,
316
+ type: m,
317
317
  variant: M = "text",
318
318
  ...V
319
319
  } = u, x = {
320
320
  ...u,
321
- color: y,
321
+ color: f,
322
322
  component: S,
323
323
  disabled: z,
324
324
  disableElevation: k,
325
325
  disableFocusRipple: B,
326
326
  fullWidth: P,
327
327
  size: W,
328
- type: $,
328
+ type: m,
329
329
  variant: M
330
- }, v = Y(x), L = m && /* @__PURE__ */ d(oo, {
330
+ }, v = Y(x), L = $ && /* @__PURE__ */ d(oo, {
331
331
  className: v.startIcon,
332
332
  ownerState: x,
333
- children: m
333
+ children: $
334
334
  }), j = C && /* @__PURE__ */ d(to, {
335
335
  className: v.endIcon,
336
336
  ownerState: x,
@@ -344,10 +344,10 @@ const Y = (o) => {
344
344
  focusRipple: !B,
345
345
  focusVisibleClassName: w(v.focusVisible, T),
346
346
  ref: n,
347
- type: $,
347
+ type: m,
348
348
  ...V,
349
349
  classes: v,
350
- children: [L, f, j]
350
+ children: [L, y, j]
351
351
  });
352
352
  });
353
353
  process.env.NODE_ENV !== "production" && (R.propTypes = {
@@ -464,11 +464,11 @@ const E = c(R)`
464
464
  font-weight: 400;
465
465
  padding: 0.75rem 2rem;
466
466
  font-size: 1rem;
467
- box-shadow: 0px 0px 2px 1px rgba(100, 100, 100, 0.63);
467
+ box-shadow: ${i.boxShadow.gray63};
468
468
  &:hover,
469
469
  :focus {
470
470
  background-color: ${i.colors.darkGreen};
471
- box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.63);
471
+ box-shadow: ${i.boxShadow.black63};
472
472
  }
473
473
  &:disabled {
474
474
  background-color: ${i.colors.darkGreen};
@@ -127,12 +127,12 @@ const Ro = /* @__PURE__ */ i.forwardRef(function(t, n) {
127
127
  const w = x.current;
128
128
  w.style.width = p.width, w.value = g.value || t.placeholder || "x", w.value.slice(-1) === `
129
129
  ` && (w.value += " ");
130
- const A = p.boxSizing, L = Ke(p.paddingBottom) + Ke(p.paddingTop), k = Ke(p.borderBottomWidth) + Ke(p.borderTopWidth), D = w.scrollHeight;
130
+ const A = p.boxSizing, L = Ke(p.paddingBottom) + Ke(p.paddingTop), $ = Ke(p.borderBottomWidth) + Ke(p.borderTopWidth), D = w.scrollHeight;
131
131
  w.value = "x";
132
132
  const B = w.scrollHeight;
133
133
  let E = D;
134
134
  a && (E = Math.max(Number(a) * B, E)), s && (E = Math.min(Number(s) * B, E)), E = Math.max(E, B);
135
- const U = E + (A === "border-box" ? L + k : 0), j = Math.abs(E - D) <= 1;
135
+ const U = E + (A === "border-box" ? L + $ : 0), j = Math.abs(E - D) <= 1;
136
136
  return {
137
137
  outerHeightStyle: U,
138
138
  overflowing: j
@@ -155,9 +155,9 @@ const Ro = /* @__PURE__ */ i.forwardRef(function(t, n) {
155
155
  });
156
156
  }, w = Ho(g), A = b.current, L = co(A);
157
157
  L.addEventListener("resize", w);
158
- let k;
159
- return typeof ResizeObserver < "u" && (k = new ResizeObserver(process.env.NODE_ENV === "test" ? p : g), k.observe(A)), () => {
160
- w.clear(), cancelAnimationFrame(v), L.removeEventListener("resize", w), k && k.disconnect();
158
+ let $;
159
+ return typeof ResizeObserver < "u" && ($ = new ResizeObserver(process.env.NODE_ENV === "test" ? p : g), $.observe(A)), () => {
160
+ w.clear(), cancelAnimationFrame(v), L.removeEventListener("resize", w), $ && $.disconnect();
161
161
  };
162
162
  }, [C, O]), ro(() => {
163
163
  O();
@@ -223,7 +223,7 @@ process.env.NODE_ENV !== "production" && (Ro.propTypes = {
223
223
  */
224
224
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
225
225
  });
226
- function ke({
226
+ function $e({
227
227
  props: o,
228
228
  states: t,
229
229
  muiFormControl: n
@@ -247,7 +247,7 @@ function st(o) {
247
247
  function lt(o) {
248
248
  return ee("MuiInputBase", o);
249
249
  }
250
- const $e = Q("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
250
+ const ke = Q("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
251
251
  var ho;
252
252
  const Ze = (o, t) => {
253
253
  const {
@@ -297,7 +297,7 @@ const Ze = (o, t) => {
297
297
  cursor: "text",
298
298
  display: "inline-flex",
299
299
  alignItems: "center",
300
- [`&.${$e.disabled}`]: {
300
+ [`&.${ke.disabled}`]: {
301
301
  color: (o.vars || o).palette.text.disabled,
302
302
  cursor: "default"
303
303
  },
@@ -382,7 +382,7 @@ const Ze = (o, t) => {
382
382
  WebkitAppearance: "none"
383
383
  },
384
384
  // Show and hide the placeholder logic
385
- [`label[data-shrink=false] + .${$e.formControl} &`]: {
385
+ [`label[data-shrink=false] + .${ke.formControl} &`]: {
386
386
  "&::-webkit-input-placeholder": r,
387
387
  "&::-moz-placeholder": r,
388
388
  // Firefox 19+
@@ -394,7 +394,7 @@ const Ze = (o, t) => {
394
394
  "&:focus::-ms-input-placeholder": s
395
395
  // Edge
396
396
  },
397
- [`&.${$e.disabled}`]: {
397
+ [`&.${ke.disabled}`]: {
398
398
  opacity: 1,
399
399
  // Reset iOS opacity
400
400
  WebkitTextFillColor: (o.vars || o).palette.text.disabled
@@ -474,7 +474,7 @@ const Ze = (o, t) => {
474
474
  inputRef: w,
475
475
  margin: A,
476
476
  maxRows: L,
477
- minRows: k,
477
+ minRows: $,
478
478
  multiline: D = !1,
479
479
  name: B,
480
480
  onBlur: E,
@@ -482,7 +482,7 @@ const Ze = (o, t) => {
482
482
  onClick: j,
483
483
  onFocus: W,
484
484
  onKeyDown: V,
485
- onKeyUp: $,
485
+ onKeyUp: k,
486
486
  placeholder: Y,
487
487
  readOnly: G,
488
488
  renderSuffix: I,
@@ -504,7 +504,7 @@ const Ze = (o, t) => {
504
504
  if (N)
505
505
  return N.registerEffect();
506
506
  }, [N]);
507
- const M = ke({
507
+ const M = $e({
508
508
  props: r,
509
509
  muiFormControl: N,
510
510
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
@@ -542,7 +542,7 @@ const Ze = (o, t) => {
542
542
  H.current && R.currentTarget === R.target && H.current.focus(), j && j(R);
543
543
  };
544
544
  let ge = v, q = p;
545
- D && ge === "input" && (J ? (process.env.NODE_ENV !== "production" && (k || L) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), q = {
545
+ D && ge === "input" && (J ? (process.env.NODE_ENV !== "production" && ($ || L) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), q = {
546
546
  type: void 0,
547
547
  minRows: J,
548
548
  maxRows: J,
@@ -550,7 +550,7 @@ const Ze = (o, t) => {
550
550
  }) : q = {
551
551
  type: void 0,
552
552
  maxRows: L,
553
- minRows: k,
553
+ minRows: $,
554
554
  ...q
555
555
  }, ge = Ro);
556
556
  const je = (R) => {
@@ -612,7 +612,7 @@ const Ze = (o, t) => {
612
612
  rows: J,
613
613
  value: de,
614
614
  onKeyDown: V,
615
- onKeyUp: $,
615
+ onKeyUp: k,
616
616
  type: X,
617
617
  ...q,
618
618
  ...!fo(xe) && {
@@ -867,7 +867,7 @@ function at(o) {
867
867
  return ee("MuiInput", o);
868
868
  }
869
869
  const De = {
870
- ...$e,
870
+ ...ke,
871
871
  ...Q("MuiInput", ["root", "underline", "input"])
872
872
  }, dt = (o) => {
873
873
  const {
@@ -1203,7 +1203,7 @@ function ct(o) {
1203
1203
  return ee("MuiFilledInput", o);
1204
1204
  }
1205
1205
  const Te = {
1206
- ...$e,
1206
+ ...ke,
1207
1207
  ...Q("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
1208
1208
  }, ft = (o) => {
1209
1209
  const {
@@ -1835,7 +1835,7 @@ function ht(o) {
1835
1835
  return ee("MuiOutlinedInput", o);
1836
1836
  }
1837
1837
  const se = {
1838
- ...$e,
1838
+ ...ke,
1839
1839
  ...Q("MuiOutlinedInput", ["root", "notchedOutline", "input"])
1840
1840
  }, vt = (o) => {
1841
1841
  const {
@@ -2008,7 +2008,7 @@ const se = {
2008
2008
  slots: y = {},
2009
2009
  type: h = "text",
2010
2010
  ...x
2011
- } = s, C = vt(s), O = Me(), f = ke({
2011
+ } = s, C = vt(s), O = Me(), f = $e({
2012
2012
  props: s,
2013
2013
  muiFormControl: O,
2014
2014
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
@@ -2296,7 +2296,7 @@ const Ve = Q("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "
2296
2296
  focused: y,
2297
2297
  required: h,
2298
2298
  ...x
2299
- } = r, C = Me(), O = ke({
2299
+ } = r, C = Me(), O = $e({
2300
2300
  props: r,
2301
2301
  muiFormControl: C,
2302
2302
  states: ["color", "required", "focused", "disabled", "error", "filled"]
@@ -2547,7 +2547,7 @@ const Ft = (o) => {
2547
2547
  } = r, b = Me();
2548
2548
  let y = l;
2549
2549
  typeof y > "u" && b && (y = b.filled || b.focused || b.adornedStart);
2550
- const h = ke({
2550
+ const h = $e({
2551
2551
  props: r,
2552
2552
  muiFormControl: b,
2553
2553
  states: ["size", "variant", "required", "focused"]
@@ -2650,7 +2650,7 @@ const Pt = (o) => {
2650
2650
  root: ["root", n !== "none" && `margin${_(n)}`, r && "fullWidth"]
2651
2651
  };
2652
2652
  return oe(s, Et, t);
2653
- }, $t = F("div", {
2653
+ }, kt = F("div", {
2654
2654
  name: "MuiFormControl",
2655
2655
  slot: "Root",
2656
2656
  overridesResolver: ({
@@ -2728,16 +2728,16 @@ const Pt = (o) => {
2728
2728
  variant: f
2729
2729
  }, p = Pt(v), [w, A] = i.useState(() => {
2730
2730
  let V = !1;
2731
- return s && i.Children.forEach(s, ($) => {
2732
- if (!no($, ["Input", "Select"]))
2731
+ return s && i.Children.forEach(s, (k) => {
2732
+ if (!no(k, ["Input", "Select"]))
2733
2733
  return;
2734
- const Y = no($, ["Select"]) ? $.props.input : $;
2734
+ const Y = no(k, ["Select"]) ? k.props.input : k;
2735
2735
  Y && st(Y.props) && (V = !0);
2736
2736
  }), V;
2737
- }), [L, k] = i.useState(() => {
2737
+ }), [L, $] = i.useState(() => {
2738
2738
  let V = !1;
2739
- return s && i.Children.forEach(s, ($) => {
2740
- no($, ["Input", "Select"]) && (Ge($.props, !0) || Ge($.props.inputProps, !0)) && (V = !0);
2739
+ return s && i.Children.forEach(s, (k) => {
2740
+ no(k, ["Input", "Select"]) && (Ge(k.props, !0) || Ge(k.props.inputProps, !0)) && (V = !0);
2741
2741
  }), V;
2742
2742
  }), [D, B] = i.useState(!1);
2743
2743
  c && D && B(!1);
@@ -2763,10 +2763,10 @@ const Pt = (o) => {
2763
2763
  B(!1);
2764
2764
  },
2765
2765
  onEmpty: () => {
2766
- k(!1);
2766
+ $(!1);
2767
2767
  },
2768
2768
  onFilled: () => {
2769
- k(!0);
2769
+ $(!0);
2770
2770
  },
2771
2771
  onFocus: () => {
2772
2772
  B(!0);
@@ -2777,7 +2777,7 @@ const Pt = (o) => {
2777
2777
  }), [w, l, c, m, L, E, y, h, U, C, O, f]);
2778
2778
  return /* @__PURE__ */ S(Je.Provider, {
2779
2779
  value: W,
2780
- children: /* @__PURE__ */ S($t, {
2780
+ children: /* @__PURE__ */ S(kt, {
2781
2781
  as: d,
2782
2782
  ownerState: v,
2783
2783
  className: le(p.root, a),
@@ -2867,7 +2867,7 @@ process.env.NODE_ENV !== "production" && (Po.propTypes = {
2867
2867
  */
2868
2868
  variant: e.oneOf(["filled", "outlined", "standard"])
2869
2869
  });
2870
- function kt(o) {
2870
+ function $t(o) {
2871
2871
  return ee("MuiFormHelperText", o);
2872
2872
  }
2873
2873
  const Co = Q("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
@@ -2885,7 +2885,7 @@ const Mt = (o) => {
2885
2885
  } = o, m = {
2886
2886
  root: ["root", s && "disabled", a && "error", r && `size${_(r)}`, n && "contained", d && "focused", l && "filled", c && "required"]
2887
2887
  };
2888
- return oe(m, kt, t);
2888
+ return oe(m, $t, t);
2889
2889
  }, Lt = F("p", {
2890
2890
  name: "MuiFormHelperText",
2891
2891
  slot: "Root",
@@ -2927,7 +2927,7 @@ const Mt = (o) => {
2927
2927
  marginRight: 14
2928
2928
  }
2929
2929
  }]
2930
- }))), $o = /* @__PURE__ */ i.forwardRef(function(t, n) {
2930
+ }))), ko = /* @__PURE__ */ i.forwardRef(function(t, n) {
2931
2931
  const r = fe({
2932
2932
  props: t,
2933
2933
  name: "MuiFormHelperText"
@@ -2943,7 +2943,7 @@ const Mt = (o) => {
2943
2943
  required: h,
2944
2944
  variant: x,
2945
2945
  ...C
2946
- } = r, O = Me(), f = ke({
2946
+ } = r, O = Me(), f = $e({
2947
2947
  props: r,
2948
2948
  muiFormControl: O,
2949
2949
  states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
@@ -2976,7 +2976,7 @@ const Mt = (o) => {
2976
2976
  ) : s
2977
2977
  });
2978
2978
  });
2979
- process.env.NODE_ENV !== "production" && ($o.propTypes = {
2979
+ process.env.NODE_ENV !== "production" && (ko.propTypes = {
2980
2980
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2981
2981
  // │ These PropTypes are generated from the TypeScript type definitions. │
2982
2982
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3050,7 +3050,7 @@ const lo = Q("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
3050
3050
  icon: ["icon", `icon${_(n)}`, a && "iconOpen", r && "disabled"]
3051
3051
  };
3052
3052
  return oe(d, jt, t);
3053
- }, ko = F("select")(({
3053
+ }, $o = F("select")(({
3054
3054
  theme: o
3055
3055
  }) => ({
3056
3056
  // Reset
@@ -3112,7 +3112,7 @@ const lo = Q("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
3112
3112
  }
3113
3113
  }
3114
3114
  }]
3115
- })), At = F(ko, {
3115
+ })), At = F($o, {
3116
3116
  name: "MuiNativeSelect",
3117
3117
  slot: "Select",
3118
3118
  shouldForwardProp: ye,
@@ -3259,7 +3259,7 @@ function Wt(o) {
3259
3259
  }
3260
3260
  const Ue = Q("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
3261
3261
  var xo;
3262
- const Dt = F(ko, {
3262
+ const Dt = F($o, {
3263
3263
  name: "MuiSelect",
3264
3264
  slot: "Select",
3265
3265
  overridesResolver: (o, t) => {
@@ -3359,7 +3359,7 @@ const qt = (o) => {
3359
3359
  onBlur: w,
3360
3360
  onChange: A,
3361
3361
  onClose: L,
3362
- onFocus: k,
3362
+ onFocus: $,
3363
3363
  onOpen: D,
3364
3364
  open: B,
3365
3365
  readOnly: E,
@@ -3368,11 +3368,11 @@ const qt = (o) => {
3368
3368
  tabIndex: W,
3369
3369
  // catching `type` from Input which makes no sense for SelectInput
3370
3370
  type: V,
3371
- value: $,
3371
+ value: k,
3372
3372
  variant: Y = "standard",
3373
3373
  ...G
3374
3374
  } = t, [I, J] = go({
3375
- controlled: $,
3375
+ controlled: k,
3376
3376
  default: b,
3377
3377
  name: "Select"
3378
3378
  }), [Re, ie] = go({
@@ -3525,7 +3525,7 @@ const qt = (o) => {
3525
3525
  onKeyDown: pe,
3526
3526
  onMouseDown: y || E ? null : ve,
3527
3527
  onBlur: Le,
3528
- onFocus: k,
3528
+ onFocus: $,
3529
3529
  ...j,
3530
3530
  ownerState: xe,
3531
3531
  className: le(j.className, R.select, c),
@@ -3770,10 +3770,10 @@ const _t = Xo(/* @__PURE__ */ S("path", {
3770
3770
  onOpen: w,
3771
3771
  open: A,
3772
3772
  renderValue: L,
3773
- SelectDisplayProps: k,
3773
+ SelectDisplayProps: $,
3774
3774
  variant: D = "outlined",
3775
3775
  ...B
3776
- } = r, E = v ? Lo : jo, U = Me(), j = ke({
3776
+ } = r, E = v ? Lo : jo, U = Me(), j = $e({
3777
3777
  props: r,
3778
3778
  muiFormControl: U,
3779
3779
  states: ["variant", "error"]
@@ -3781,10 +3781,10 @@ const _t = Xo(/* @__PURE__ */ S("path", {
3781
3781
  ...r,
3782
3782
  variant: W,
3783
3783
  classes: l
3784
- }, $ = Kt(V), {
3784
+ }, k = Kt(V), {
3785
3785
  root: Y,
3786
3786
  ...G
3787
- } = $, I = h || {
3787
+ } = k, I = h || {
3788
3788
  standard: /* @__PURE__ */ S(Gt, {
3789
3789
  ownerState: V
3790
3790
  }),
@@ -3823,7 +3823,7 @@ const _t = Xo(/* @__PURE__ */ S("path", {
3823
3823
  renderValue: L,
3824
3824
  SelectDisplayProps: {
3825
3825
  id: y,
3826
- ...k
3826
+ ...$
3827
3827
  }
3828
3828
  },
3829
3829
  ...x,
@@ -3834,7 +3834,7 @@ const _t = Xo(/* @__PURE__ */ S("path", {
3834
3834
  notched: !0
3835
3835
  } : {},
3836
3836
  ref: J,
3837
- className: le(I.props.className, d, $.root),
3837
+ className: le(I.props.className, d, k.root),
3838
3838
  // If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.
3839
3839
  ...!h && {
3840
3840
  variant: W
@@ -4034,7 +4034,7 @@ const Zt = {
4034
4034
  label: w,
4035
4035
  maxRows: A,
4036
4036
  minRows: L,
4037
- multiline: k = !1,
4037
+ multiline: $ = !1,
4038
4038
  name: D,
4039
4039
  onBlur: B,
4040
4040
  onChange: E,
@@ -4042,7 +4042,7 @@ const Zt = {
4042
4042
  placeholder: j,
4043
4043
  required: W = !1,
4044
4044
  rows: V,
4045
- select: $ = !1,
4045
+ select: k = !1,
4046
4046
  SelectProps: Y,
4047
4047
  slots: G = {},
4048
4048
  slotProps: I = {},
@@ -4057,12 +4057,12 @@ const Zt = {
4057
4057
  disabled: b,
4058
4058
  error: y,
4059
4059
  fullWidth: x,
4060
- multiline: k,
4060
+ multiline: $,
4061
4061
  required: W,
4062
- select: $,
4062
+ select: k,
4063
4063
  variant: ie
4064
4064
  }, X = Qt(P);
4065
- process.env.NODE_ENV !== "production" && $ && !l && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
4065
+ process.env.NODE_ENV !== "production" && k && !l && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
4066
4066
  const Z = Io(O), ae = C && Z ? `${Z}-helper-text` : void 0, de = w && Z ? `${Z}-label` : void 0, me = Zt[ie], H = {
4067
4067
  slots: G,
4068
4068
  slotProps: {
@@ -4074,7 +4074,7 @@ const Zt = {
4074
4074
  ...I
4075
4075
  }
4076
4076
  }, ue = {}, te = H.slotProps.inputLabel;
4077
- ie === "outlined" && (te && typeof te.shrink < "u" && (ue.notched = te.shrink), ue.label = w), $ && ((!Y || !Y.native) && (ue.id = void 0), ue["aria-describedby"] = void 0);
4077
+ ie === "outlined" && (te && typeof te.shrink < "u" && (ue.notched = te.shrink), ue.label = w), k && ((!Y || !Y.native) && (ue.id = void 0), ue["aria-describedby"] = void 0);
4078
4078
  const [ne, ve] = We("input", {
4079
4079
  elementType: me,
4080
4080
  externalForwardedProps: H,
@@ -4089,7 +4089,7 @@ const Zt = {
4089
4089
  externalForwardedProps: H,
4090
4090
  ownerState: P
4091
4091
  }), [pe, be] = We("formHelperText", {
4092
- elementType: $o,
4092
+ elementType: ko,
4093
4093
  externalForwardedProps: H,
4094
4094
  ownerState: P
4095
4095
  }), [Le, re] = We("select", {
@@ -4102,7 +4102,7 @@ const Zt = {
4102
4102
  autoFocus: a,
4103
4103
  defaultValue: m,
4104
4104
  fullWidth: x,
4105
- multiline: k,
4105
+ multiline: $,
4106
4106
  name: D,
4107
4107
  rows: V,
4108
4108
  maxRows: A,
@@ -4137,7 +4137,7 @@ const Zt = {
4137
4137
  id: de,
4138
4138
  ...M,
4139
4139
  children: w
4140
- }), $ ? /* @__PURE__ */ S(Le, {
4140
+ }), k ? /* @__PURE__ */ S(Le, {
4141
4141
  "aria-describedby": ae,
4142
4142
  id: Z,
4143
4143
  labelId: de,
@@ -4365,13 +4365,13 @@ const on = Ao(zo)({
4365
4365
  boxShadow: "0 0 0 0",
4366
4366
  "&:focus, :focus-visible": {
4367
4367
  borderColor: we.colors.darkGreen,
4368
- boxShadow: `0 0 2px 1px ${we.colors.darkGreen}`
4368
+ boxShadow: we.boxShadow.darkGreenThick
4369
4369
  }
4370
4370
  },
4371
4371
  "&:hover, :focus, :focus-visible": {
4372
4372
  input: {
4373
4373
  borderColor: we.colors.darkGreen,
4374
- boxShadow: `0 0 2px 1px ${we.colors.darkGreen}`
4374
+ boxShadow: we.boxShadow.darkGreenThick
4375
4375
  }
4376
4376
  },
4377
4377
  "&:focus-visible": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.23",
4
+ "version": "0.0.24",
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",
@@ -5,42 +5,39 @@ import e from "../../theme.js";
5
5
  import { B as x } from "../../.chunks/ButtonBase.js";
6
6
  const g = s(x, {
7
7
  shouldForwardProp: (o) => f(o)
8
- })(({ active: o }) => {
9
- var t;
10
- return {
8
+ })(({ active: o }) => ({
9
+ display: "flex",
10
+ flexDirection: "column",
11
+ alignItems: "center",
12
+ justifyContent: "center",
13
+ padding: "0 8px 8px 8px",
14
+ transition: "313ms all ease-in-out",
15
+ backgroundColor: o ? e.colors.sunlight : "transparent",
16
+ boxShadow: o ? e.boxShadow.darkGreen : "none",
17
+ "&:hover, :focus-visible": {
18
+ svg: {
19
+ backgroundColor: e.colors.sunlight
20
+ }
21
+ },
22
+ svg: {
23
+ fontSize: "2.1rem",
24
+ fill: e.colors.darkGreen,
25
+ backgroundColor: o ? e.colors.sunlight : "transparent",
26
+ borderRadius: "50%",
27
+ padding: "8px",
11
28
  display: "flex",
12
- flexDirection: "column",
13
29
  alignItems: "center",
14
30
  justifyContent: "center",
15
- padding: "0 8px 8px 8px",
16
- transition: "313ms all ease-in-out",
17
- backgroundColor: o ? e.colors.sunlight : "transparent",
18
- boxShadow: o ? (t = e.boxShadow) == null ? void 0 : t.darkGreen : "none",
19
- "&:hover, :focus-visible": {
20
- svg: {
21
- backgroundColor: e.colors.sunlight
22
- }
23
- },
24
- svg: {
25
- fontSize: "2.1rem",
26
- fill: e.colors.darkGreen,
27
- backgroundColor: o ? e.colors.sunlight : "transparent",
28
- borderRadius: "50%",
29
- padding: "8px",
30
- display: "flex",
31
- alignItems: "center",
32
- justifyContent: "center",
33
- transition: "313ms all ease-in-out"
34
- },
35
- span: {
36
- fontFamily: "Roboto, sans-serif",
37
- fontSize: "12px",
38
- fontWeight: "bold",
39
- color: e.colors.darkGreen,
40
- textAlign: "center"
41
- }
42
- };
43
- }), h = s("div")({
31
+ transition: "313ms all ease-in-out"
32
+ },
33
+ span: {
34
+ fontFamily: "Roboto, sans-serif",
35
+ fontSize: "12px",
36
+ fontWeight: "bold",
37
+ color: e.colors.darkGreen,
38
+ textAlign: "center"
39
+ }
40
+ })), h = s("div")({
44
41
  display: "flex",
45
42
  flexDirection: "column",
46
43
  backgroundColor: "transparent",
@@ -72,13 +69,13 @@ const g = s(x, {
72
69
  backgroundColor: e.colors.darkGreenO99
73
70
  }
74
71
  }
75
- }), S = ({ navItems: o, activeRoute: t }) => {
76
- const [a, l] = m(""), c = (n, r) => {
77
- l(n), r();
72
+ }), S = ({ navItems: o, activeRoute: n }) => {
73
+ const [a, l] = m(""), c = (t, r) => {
74
+ l(t), r();
78
75
  };
79
- return /* @__PURE__ */ i(h, { children: o.map(({ icon: n, label: r = "", onClick: d = () => {
80
- }, ...p }) => /* @__PURE__ */ u(g, { ...p, active: t ? t === r : a === r, onClick: () => c(r, d), children: [
81
- n,
76
+ return /* @__PURE__ */ i(h, { children: o.map(({ icon: t, label: r = "", onClick: d = () => {
77
+ }, ...p }) => /* @__PURE__ */ u(g, { ...p, active: n ? n === r : a === r, onClick: () => c(r, d), children: [
78
+ t,
82
79
  /* @__PURE__ */ i("span", { children: r })
83
80
  ] }, r)) });
84
81
  };
package/theme.d.ts CHANGED
@@ -1,28 +1,32 @@
1
+ export interface ThemeColors {
2
+ black: string;
3
+ blue: string;
4
+ charcoal: string;
5
+ darkBlue: string;
6
+ darkGreen: string;
7
+ darkGreenO22: string;
8
+ darkGreenO99: string;
9
+ darkRed: string;
10
+ gold: string;
11
+ gray: string;
12
+ veryLightGray: string;
13
+ grayO44: string;
14
+ green: string;
15
+ midnight: string;
16
+ mint: string;
17
+ sunlight: string;
18
+ white: string;
19
+ whiteGreen: string;
20
+ whiteGreen2: string;
21
+ }
22
+ export interface ThemeBoxShadows extends Partial<ThemeColors> {
23
+ black63?: string;
24
+ darkGreenThick?: string;
25
+ gray63?: string;
26
+ }
1
27
  export interface Theme {
2
- boxShadow?: {
3
- darkGreen: string;
4
- };
5
- colors: {
6
- black: string;
7
- blue: string;
8
- charcoal: string;
9
- darkBlue: string;
10
- darkGreen: string;
11
- darkGreenO22: string;
12
- darkGreenO99: string;
13
- darkRed: string;
14
- gold: string;
15
- gray: string;
16
- veryLightGray: string;
17
- grayO44: string;
18
- green: string;
19
- midnight: string;
20
- mint: string;
21
- sunlight: string;
22
- white: string;
23
- whiteGreen: string;
24
- whiteGreen2: string;
25
- };
28
+ boxShadow: ThemeBoxShadows;
29
+ colors: ThemeColors;
26
30
  constants: {
27
31
  actionsPaneWidth: number;
28
32
  appHeaderHeight: number;
@@ -31,5 +35,5 @@ export interface Theme {
31
35
  oldNavBarWidth: number;
32
36
  };
33
37
  }
34
- declare let theme: Theme;
38
+ declare const theme: Theme;
35
39
  export default theme;
package/theme.js CHANGED
@@ -1,4 +1,5 @@
1
- let e = {
1
+ const e = {
2
+ boxShadow: {},
2
3
  colors: {
3
4
  black: "black",
4
5
  blue: "#1976d2",
@@ -29,7 +30,15 @@ let e = {
29
30
  }
30
31
  };
31
32
  e.boxShadow = {
32
- darkGreen: `0 0 8px -2px ${e.colors.darkGreen}`
33
+ ...Object.fromEntries(
34
+ Object.keys(e.colors).map((a) => [
35
+ a,
36
+ `0 0 8px -2px ${e.colors[a]}`
37
+ ])
38
+ ),
39
+ darkGreenThick: `0 0 2px 1px ${e.colors.darkGreen}`,
40
+ gray63: "0px 0px 2px 1px rgba(100, 100, 100, 0.63)",
41
+ black63: "0px 0px 2px 1px rgba(0, 0, 0, 0.63)"
33
42
  };
34
43
  export {
35
44
  e as default