jcicl 0.0.279 → 0.0.283

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.
@@ -11,6 +11,7 @@ interface UserInfo {
11
11
  }
12
12
  export interface AppContainerProps {
13
13
  navProps: Omit<NavProps, 'themeColors'>;
14
+ activeSubnavRoute?: string;
14
15
  appHeaderProps?: ReducedAppHeaderProps;
15
16
  actionsPanelContent?: React.ReactNode;
16
17
  navWidth?: number;
@@ -1,145 +1,145 @@
1
- import { jsx as i, jsxs as C, Fragment as fe } from "react/jsx-runtime";
2
- import * as D from "react";
3
- import { useState as Y } from "react";
4
- import { c as se } from "../.chunks/createSvgIcon.js";
5
- import { n as g, i as Z } from "../.chunks/emotion-styled.browser.esm.js";
6
- import { c as H } from "../.chunks/emotion-react.browser.esm.js";
7
- import Ie from "../AppHeader/AppHeader.js";
8
- import { Nav as U } from "../Nav/Nav.js";
9
- import _ from "../ScrollContainer/ScrollContainer.js";
10
- import { Button as J } from "../Button/Button.js";
1
+ import { jsx as i, jsxs as $, Fragment as xe } from "react/jsx-runtime";
2
+ import * as z from "react";
3
+ import { useState as q } from "react";
4
+ import { c as le } from "../.chunks/createSvgIcon.js";
5
+ import { n as f, i as G } from "../.chunks/emotion-styled.browser.esm.js";
6
+ import { c as M } from "../.chunks/emotion-react.browser.esm.js";
7
+ import je from "../AppHeader/AppHeader.js";
8
+ import { Nav as L } from "../Nav/Nav.js";
9
+ import Q from "../ScrollContainer/ScrollContainer.js";
10
+ import { Button as Z } from "../Button/Button.js";
11
11
  import t from "../theme.js";
12
- import { l as Ae } from "../.chunks/jocologo.js";
13
- import { X as Le } from "../.chunks/Close.js";
14
- import { P as r, g as je, a as Fe, s as le, r as Ue, c as K, u as We, b as q, d as Ve } from "../.chunks/DefaultPropsProvider.js";
15
- import { u as Xe } from "../.chunks/index.js";
16
- import { a as ye } from "../.chunks/useTheme.js";
17
- import { m as Ce } from "../.chunks/memoTheme.js";
18
- import { o as $e, d as Ge, M as Ye } from "../.chunks/TextField.js";
19
- import { P as _e } from "../.chunks/Paper.js";
20
- import { i as qe } from "../.chunks/integerPropType.js";
21
- import { e as Qe, H as Je, g as Ke, T as Ze, r as eo, a as me } from "../.chunks/Portal.js";
22
- import { c as oo } from "../.chunks/chainPropTypes.js";
23
- import { a as ro } from "../.chunks/TransitionGroupContext.js";
24
- import { u as ge } from "../.chunks/useMediaQuery.js";
25
- function to(e, o, a) {
26
- const n = o.getBoundingClientRect(), c = a && a.getBoundingClientRect(), u = $e(o);
27
- let f;
12
+ import { l as Ue } from "../.chunks/jocologo.js";
13
+ import { X as We } from "../.chunks/Close.js";
14
+ import { P as r, g as Ve, a as Xe, s as ce, r as Ge, c as ee, u as Ye, b as J, d as _e } from "../.chunks/DefaultPropsProvider.js";
15
+ import { u as qe } from "../.chunks/index.js";
16
+ import { a as Pe } from "../.chunks/useTheme.js";
17
+ import { m as Re } from "../.chunks/memoTheme.js";
18
+ import { o as Me, d as Qe, M as Je } from "../.chunks/TextField.js";
19
+ import { P as Ke } from "../.chunks/Paper.js";
20
+ import { i as Ze } from "../.chunks/integerPropType.js";
21
+ import { e as eo, H as oo, g as ro, T as to, r as no, a as ve } from "../.chunks/Portal.js";
22
+ import { c as io } from "../.chunks/chainPropTypes.js";
23
+ import { a as ao } from "../.chunks/TransitionGroupContext.js";
24
+ import { u as we } from "../.chunks/useMediaQuery.js";
25
+ function so(e, o, s) {
26
+ const n = o.getBoundingClientRect(), l = s && s.getBoundingClientRect(), H = Me(o);
27
+ let c;
28
28
  if (o.fakeTransform)
29
- f = o.fakeTransform;
29
+ c = o.fakeTransform;
30
30
  else {
31
- const h = u.getComputedStyle(o);
32
- f = h.getPropertyValue("-webkit-transform") || h.getPropertyValue("transform");
31
+ const d = H.getComputedStyle(o);
32
+ c = d.getPropertyValue("-webkit-transform") || d.getPropertyValue("transform");
33
33
  }
34
- let x = 0, b = 0;
35
- if (f && f !== "none" && typeof f == "string") {
36
- const h = f.split("(")[1].split(")")[0].split(",");
37
- x = parseInt(h[4], 10), b = parseInt(h[5], 10);
34
+ let m = 0, w = 0;
35
+ if (c && c !== "none" && typeof c == "string") {
36
+ const d = c.split("(")[1].split(")")[0].split(",");
37
+ m = parseInt(d[4], 10), w = parseInt(d[5], 10);
38
38
  }
39
- return e === "left" ? c ? `translateX(${c.right + x - n.left}px)` : `translateX(${u.innerWidth + x - n.left}px)` : e === "right" ? c ? `translateX(-${n.right - c.left - x}px)` : `translateX(-${n.left + n.width - x}px)` : e === "up" ? c ? `translateY(${c.bottom + b - n.top}px)` : `translateY(${u.innerHeight + b - n.top}px)` : c ? `translateY(-${n.top - c.top + n.height - b}px)` : `translateY(-${n.top + n.height - b}px)`;
39
+ return e === "left" ? l ? `translateX(${l.right + m - n.left}px)` : `translateX(${H.innerWidth + m - n.left}px)` : e === "right" ? l ? `translateX(-${n.right - l.left - m}px)` : `translateX(-${n.left + n.width - m}px)` : e === "up" ? l ? `translateY(${l.bottom + w - n.top}px)` : `translateY(${H.innerHeight + w - n.top}px)` : l ? `translateY(-${n.top - l.top + n.height - w}px)` : `translateY(-${n.top + n.height - w}px)`;
40
40
  }
41
- function Pe(e) {
41
+ function He(e) {
42
42
  return typeof e == "function" ? e() : e;
43
43
  }
44
- function Q(e, o, a) {
45
- const n = Pe(a), c = to(e, o, n);
46
- c && (o.style.webkitTransform = c, o.style.transform = c);
44
+ function K(e, o, s) {
45
+ const n = He(s), l = so(e, o, n);
46
+ l && (o.style.webkitTransform = l, o.style.transform = l);
47
47
  }
48
- const Te = /* @__PURE__ */ D.forwardRef(function(o, a) {
49
- const n = ye(), c = {
48
+ const Ee = /* @__PURE__ */ z.forwardRef(function(o, s) {
49
+ const n = Pe(), l = {
50
50
  enter: n.transitions.easing.easeOut,
51
51
  exit: n.transitions.easing.sharp
52
- }, u = {
52
+ }, H = {
53
53
  enter: n.transitions.duration.enteringScreen,
54
54
  exit: n.transitions.duration.leavingScreen
55
55
  }, {
56
- addEndListener: f,
57
- appear: x = !0,
58
- children: b,
59
- container: h,
60
- direction: m = "down",
61
- easing: I = c,
62
- in: $,
63
- onEnter: L,
64
- onEntered: z,
65
- onEntering: j,
66
- onExit: P,
67
- onExited: S,
68
- onExiting: T,
69
- style: N,
70
- timeout: M = u,
56
+ addEndListener: c,
57
+ appear: m = !0,
58
+ children: w,
59
+ container: d,
60
+ direction: g = "down",
61
+ easing: O = l,
62
+ in: T,
63
+ onEnter: F,
64
+ onEntered: W,
65
+ onEntering: E,
66
+ onExit: N,
67
+ onExited: D,
68
+ onExiting: j,
69
+ style: y,
70
+ timeout: S = H,
71
71
  // eslint-disable-next-line react/prop-types
72
- TransitionComponent: O = Ze,
73
- ...B
74
- } = o, l = D.useRef(null), v = ro(Ke(b), l, a), k = (s) => (d) => {
75
- s && (d === void 0 ? s(l.current) : s(l.current, d));
76
- }, w = k((s, d) => {
77
- Q(m, s, h), eo(s), L && L(s, d);
78
- }), p = k((s, d) => {
79
- const V = me({
80
- timeout: M,
81
- style: N,
82
- easing: I
72
+ TransitionComponent: P = to,
73
+ ...I
74
+ } = o, u = z.useRef(null), b = ao(ro(w), u, s), h = (a) => (p) => {
75
+ a && (p === void 0 ? a(u.current) : a(u.current, p));
76
+ }, C = h((a, p) => {
77
+ K(g, a, d), no(a), F && F(a, p);
78
+ }), x = h((a, p) => {
79
+ const B = ve({
80
+ timeout: S,
81
+ style: y,
82
+ easing: O
83
83
  }, {
84
84
  mode: "enter"
85
85
  });
86
- s.style.webkitTransition = n.transitions.create("-webkit-transform", {
87
- ...V
88
- }), s.style.transition = n.transitions.create("transform", {
89
- ...V
90
- }), s.style.webkitTransform = "none", s.style.transform = "none", j && j(s, d);
91
- }), R = k(z), F = k(T), ee = k((s) => {
92
- const d = me({
93
- timeout: M,
94
- style: N,
95
- easing: I
86
+ a.style.webkitTransition = n.transitions.create("-webkit-transform", {
87
+ ...B
88
+ }), a.style.transition = n.transitions.create("transform", {
89
+ ...B
90
+ }), a.style.webkitTransform = "none", a.style.transform = "none", E && E(a, p);
91
+ }), v = h(W), R = h(j), oe = h((a) => {
92
+ const p = ve({
93
+ timeout: S,
94
+ style: y,
95
+ easing: O
96
96
  }, {
97
97
  mode: "exit"
98
98
  });
99
- s.style.webkitTransition = n.transitions.create("-webkit-transform", d), s.style.transition = n.transitions.create("transform", d), Q(m, s, h), P && P(s);
100
- }), oe = k((s) => {
101
- s.style.webkitTransition = "", s.style.transition = "", S && S(s);
102
- }), re = (s) => {
103
- f && f(l.current, s);
104
- }, E = D.useCallback(() => {
105
- l.current && Q(m, l.current, h);
106
- }, [m, h]);
107
- return D.useEffect(() => {
108
- if ($ || m === "down" || m === "right")
99
+ a.style.webkitTransition = n.transitions.create("-webkit-transform", p), a.style.transition = n.transitions.create("transform", p), K(g, a, d), N && N(a);
100
+ }), re = h((a) => {
101
+ a.style.webkitTransition = "", a.style.transition = "", D && D(a);
102
+ }), te = (a) => {
103
+ c && c(u.current, a);
104
+ }, Y = z.useCallback(() => {
105
+ u.current && K(g, u.current, d);
106
+ }, [g, d]);
107
+ return z.useEffect(() => {
108
+ if (T || g === "down" || g === "right")
109
109
  return;
110
- const s = Ge(() => {
111
- l.current && Q(m, l.current, h);
112
- }), d = $e(l.current);
113
- return d.addEventListener("resize", s), () => {
114
- s.clear(), d.removeEventListener("resize", s);
110
+ const a = Qe(() => {
111
+ u.current && K(g, u.current, d);
112
+ }), p = Me(u.current);
113
+ return p.addEventListener("resize", a), () => {
114
+ a.clear(), p.removeEventListener("resize", a);
115
115
  };
116
- }, [m, $, h]), D.useEffect(() => {
117
- $ || E();
118
- }, [$, E]), /* @__PURE__ */ i(O, {
119
- nodeRef: l,
120
- onEnter: w,
121
- onEntered: R,
122
- onEntering: p,
123
- onExit: ee,
124
- onExited: oe,
125
- onExiting: F,
126
- addEndListener: re,
127
- appear: x,
128
- in: $,
129
- timeout: M,
130
- ...B,
131
- children: (s, d) => /* @__PURE__ */ D.cloneElement(b, {
132
- ref: v,
116
+ }, [g, T, d]), z.useEffect(() => {
117
+ T || Y();
118
+ }, [T, Y]), /* @__PURE__ */ i(P, {
119
+ nodeRef: u,
120
+ onEnter: C,
121
+ onEntered: v,
122
+ onEntering: x,
123
+ onExit: oe,
124
+ onExited: re,
125
+ onExiting: R,
126
+ addEndListener: te,
127
+ appear: m,
128
+ in: T,
129
+ timeout: S,
130
+ ...I,
131
+ children: (a, p) => /* @__PURE__ */ z.cloneElement(w, {
132
+ ref: b,
133
133
  style: {
134
- visibility: s === "exited" && !$ ? "hidden" : void 0,
135
- ...N,
136
- ...b.props.style
134
+ visibility: a === "exited" && !T ? "hidden" : void 0,
135
+ ...y,
136
+ ...w.props.style
137
137
  },
138
- ...d
138
+ ...p
139
139
  })
140
140
  });
141
141
  });
142
- process.env.NODE_ENV !== "production" && (Te.propTypes = {
142
+ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
143
143
  // ┌────────────────────────────── Warning ──────────────────────────────┐
144
144
  // │ These PropTypes are generated from the TypeScript type definitions. │
145
145
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -159,17 +159,17 @@ process.env.NODE_ENV !== "production" && (Te.propTypes = {
159
159
  /**
160
160
  * A single child content element.
161
161
  */
162
- children: Qe.isRequired,
162
+ children: eo.isRequired,
163
163
  /**
164
164
  * An HTML element, or a function that returns one.
165
165
  * It's used to set the container the Slide is transitioning from.
166
166
  */
167
- container: oo(r.oneOfType([Je, r.func]), (e) => {
167
+ container: io(r.oneOfType([oo, r.func]), (e) => {
168
168
  if (e.open) {
169
- const o = Pe(e.container);
169
+ const o = He(e.container);
170
170
  if (o && o.nodeType === 1) {
171
- const a = o.getBoundingClientRect();
172
- if (process.env.NODE_ENV !== "test" && a.top === 0 && a.left === 0 && a.right === 0 && a.bottom === 0)
171
+ const s = o.getBoundingClientRect();
172
+ if (process.env.NODE_ENV !== "test" && s.top === 0 && s.left === 0 && s.right === 0 && s.bottom === 0)
173
173
  return new Error(["MUI: The `container` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
174
174
  `));
175
175
  } else if (!o || typeof o.getBoundingClientRect != "function" || o.contextElement != null && o.contextElement.nodeType !== 1)
@@ -241,53 +241,53 @@ process.env.NODE_ENV !== "production" && (Te.propTypes = {
241
241
  exit: r.number
242
242
  })])
243
243
  });
244
- function no(e) {
245
- return je("MuiDrawer", e);
244
+ function lo(e) {
245
+ return Ve("MuiDrawer", e);
246
246
  }
247
- Fe("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
248
- const Me = (e, o) => {
247
+ Xe("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
248
+ const De = (e, o) => {
249
249
  const {
250
- ownerState: a
250
+ ownerState: s
251
251
  } = e;
252
- return [o.root, (a.variant === "permanent" || a.variant === "persistent") && o.docked, o.modal];
253
- }, io = (e) => {
252
+ return [o.root, (s.variant === "permanent" || s.variant === "persistent") && o.docked, o.modal];
253
+ }, co = (e) => {
254
254
  const {
255
255
  classes: o,
256
- anchor: a,
256
+ anchor: s,
257
257
  variant: n
258
- } = e, c = {
258
+ } = e, l = {
259
259
  root: ["root"],
260
260
  docked: [(n === "permanent" || n === "persistent") && "docked"],
261
261
  modal: ["modal"],
262
- paper: ["paper", `paperAnchor${K(a)}`, n !== "temporary" && `paperAnchorDocked${K(a)}`]
262
+ paper: ["paper", `paperAnchor${ee(s)}`, n !== "temporary" && `paperAnchorDocked${ee(s)}`]
263
263
  };
264
- return Ve(c, no, o);
265
- }, ao = le(Ye, {
264
+ return _e(l, lo, o);
265
+ }, po = ce(Je, {
266
266
  name: "MuiDrawer",
267
267
  slot: "Root",
268
- overridesResolver: Me
269
- })(Ce(({
268
+ overridesResolver: De
269
+ })(Re(({
270
270
  theme: e
271
271
  }) => ({
272
272
  zIndex: (e.vars || e).zIndex.drawer
273
- }))), be = le("div", {
274
- shouldForwardProp: Ue,
273
+ }))), ke = ce("div", {
274
+ shouldForwardProp: Ge,
275
275
  name: "MuiDrawer",
276
276
  slot: "Docked",
277
277
  skipVariantsResolver: !1,
278
- overridesResolver: Me
278
+ overridesResolver: De
279
279
  })({
280
280
  flex: "0 0 auto"
281
- }), so = le(_e, {
281
+ }), ho = ce(Ke, {
282
282
  name: "MuiDrawer",
283
283
  slot: "Paper",
284
284
  overridesResolver: (e, o) => {
285
285
  const {
286
- ownerState: a
286
+ ownerState: s
287
287
  } = e;
288
- return [o.paper, o[`paperAnchor${K(a.anchor)}`], a.variant !== "temporary" && o[`paperAnchorDocked${K(a.anchor)}`]];
288
+ return [o.paper, o[`paperAnchor${ee(s.anchor)}`], s.variant !== "temporary" && o[`paperAnchorDocked${ee(s.anchor)}`]];
289
289
  }
290
- })(Ce(({
290
+ })(Re(({
291
291
  theme: e
292
292
  }) => ({
293
293
  overflowY: "auto",
@@ -371,108 +371,108 @@ const Me = (e, o) => {
371
371
  borderTop: `1px solid ${(e.vars || e).palette.divider}`
372
372
  }
373
373
  }]
374
- }))), He = {
374
+ }))), Se = {
375
375
  left: "right",
376
376
  right: "left",
377
377
  top: "down",
378
378
  bottom: "up"
379
379
  };
380
- function lo(e) {
380
+ function uo(e) {
381
381
  return ["left", "right"].includes(e);
382
382
  }
383
- function co({
383
+ function fo({
384
384
  direction: e
385
385
  }, o) {
386
- return e === "rtl" && lo(o) ? He[o] : o;
386
+ return e === "rtl" && uo(o) ? Se[o] : o;
387
387
  }
388
- const W = /* @__PURE__ */ D.forwardRef(function(o, a) {
389
- const n = We({
388
+ const U = /* @__PURE__ */ z.forwardRef(function(o, s) {
389
+ const n = Ye({
390
390
  props: o,
391
391
  name: "MuiDrawer"
392
- }), c = ye(), u = Xe(), f = {
393
- enter: c.transitions.duration.enteringScreen,
394
- exit: c.transitions.duration.leavingScreen
392
+ }), l = Pe(), H = qe(), c = {
393
+ enter: l.transitions.duration.enteringScreen,
394
+ exit: l.transitions.duration.leavingScreen
395
395
  }, {
396
- anchor: x = "left",
397
- BackdropProps: b,
398
- children: h,
399
- className: m,
400
- elevation: I = 16,
401
- hideBackdrop: $ = !1,
396
+ anchor: m = "left",
397
+ BackdropProps: w,
398
+ children: d,
399
+ className: g,
400
+ elevation: O = 16,
401
+ hideBackdrop: T = !1,
402
402
  ModalProps: {
403
- BackdropProps: L,
404
- ...z
403
+ BackdropProps: F,
404
+ ...W
405
405
  } = {},
406
- onClose: j,
407
- open: P = !1,
408
- PaperProps: S = {},
409
- SlideProps: T,
406
+ onClose: E,
407
+ open: N = !1,
408
+ PaperProps: D = {},
409
+ SlideProps: j,
410
410
  // eslint-disable-next-line react/prop-types
411
- TransitionComponent: N = Te,
412
- transitionDuration: M = f,
413
- variant: O = "temporary",
414
- ...B
415
- } = n, l = D.useRef(!1);
416
- D.useEffect(() => {
417
- l.current = !0;
411
+ TransitionComponent: y = Ee,
412
+ transitionDuration: S = c,
413
+ variant: P = "temporary",
414
+ ...I
415
+ } = n, u = z.useRef(!1);
416
+ z.useEffect(() => {
417
+ u.current = !0;
418
418
  }, []);
419
- const v = co({
420
- direction: u ? "rtl" : "ltr"
421
- }, x), w = {
419
+ const b = fo({
420
+ direction: H ? "rtl" : "ltr"
421
+ }, m), C = {
422
422
  ...n,
423
- anchor: x,
424
- elevation: I,
425
- open: P,
426
- variant: O,
427
- ...B
428
- }, p = io(w), R = /* @__PURE__ */ i(so, {
429
- elevation: O === "temporary" ? I : 0,
423
+ anchor: m,
424
+ elevation: O,
425
+ open: N,
426
+ variant: P,
427
+ ...I
428
+ }, x = co(C), v = /* @__PURE__ */ i(ho, {
429
+ elevation: P === "temporary" ? O : 0,
430
430
  square: !0,
431
- ...S,
432
- className: q(p.paper, S.className),
433
- ownerState: w,
434
- children: h
431
+ ...D,
432
+ className: J(x.paper, D.className),
433
+ ownerState: C,
434
+ children: d
435
435
  });
436
- if (O === "permanent")
437
- return /* @__PURE__ */ i(be, {
438
- className: q(p.root, p.docked, m),
439
- ownerState: w,
440
- ref: a,
441
- ...B,
442
- children: R
436
+ if (P === "permanent")
437
+ return /* @__PURE__ */ i(ke, {
438
+ className: J(x.root, x.docked, g),
439
+ ownerState: C,
440
+ ref: s,
441
+ ...I,
442
+ children: v
443
443
  });
444
- const F = /* @__PURE__ */ i(N, {
445
- in: P,
446
- direction: He[v],
447
- timeout: M,
448
- appear: l.current,
449
- ...T,
450
- children: R
444
+ const R = /* @__PURE__ */ i(y, {
445
+ in: N,
446
+ direction: Se[b],
447
+ timeout: S,
448
+ appear: u.current,
449
+ ...j,
450
+ children: v
451
451
  });
452
- return O === "persistent" ? /* @__PURE__ */ i(be, {
453
- className: q(p.root, p.docked, m),
454
- ownerState: w,
455
- ref: a,
456
- ...B,
457
- children: F
458
- }) : /* @__PURE__ */ i(ao, {
452
+ return P === "persistent" ? /* @__PURE__ */ i(ke, {
453
+ className: J(x.root, x.docked, g),
454
+ ownerState: C,
455
+ ref: s,
456
+ ...I,
457
+ children: R
458
+ }) : /* @__PURE__ */ i(po, {
459
459
  BackdropProps: {
460
- ...b,
461
- ...L,
462
- transitionDuration: M
460
+ ...w,
461
+ ...F,
462
+ transitionDuration: S
463
463
  },
464
- className: q(p.root, p.modal, m),
465
- open: P,
466
- ownerState: w,
467
- onClose: j,
468
- hideBackdrop: $,
469
- ref: a,
470
- ...B,
471
- ...z,
472
- children: F
464
+ className: J(x.root, x.modal, g),
465
+ open: N,
466
+ ownerState: C,
467
+ onClose: E,
468
+ hideBackdrop: T,
469
+ ref: s,
470
+ ...I,
471
+ ...W,
472
+ children: R
473
473
  });
474
474
  });
475
- process.env.NODE_ENV !== "production" && (W.propTypes = {
475
+ process.env.NODE_ENV !== "production" && (U.propTypes = {
476
476
  // ┌────────────────────────────── Warning ──────────────────────────────┐
477
477
  // │ These PropTypes are generated from the TypeScript type definitions. │
478
478
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -502,7 +502,7 @@ process.env.NODE_ENV !== "production" && (W.propTypes = {
502
502
  * The elevation of the drawer.
503
503
  * @default 16
504
504
  */
505
- elevation: qe,
505
+ elevation: Ze,
506
506
  /**
507
507
  * If `true`, the backdrop is not rendered.
508
508
  * @default false
@@ -558,14 +558,14 @@ process.env.NODE_ENV !== "production" && (W.propTypes = {
558
558
  */
559
559
  variant: r.oneOf(["permanent", "persistent", "temporary"])
560
560
  });
561
- const xe = se(/* @__PURE__ */ i("path", {
561
+ const ye = le(/* @__PURE__ */ i("path", {
562
562
  d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
563
- }), "ArrowForward"), ve = se(/* @__PURE__ */ i("path", {
563
+ }), "ArrowForward"), Ce = le(/* @__PURE__ */ i("path", {
564
564
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
565
- }), "Cancel"), po = se(/* @__PURE__ */ i("path", {
565
+ }), "Cancel"), mo = le(/* @__PURE__ */ i("path", {
566
566
  d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
567
- }), "MoreHoriz"), ho = g("div", {
568
- shouldForwardProp: (e) => Z(e)
567
+ }), "MoreHoriz"), go = f("div", {
568
+ shouldForwardProp: (e) => G(e)
569
569
  })(({ backgroundColor: e }) => ({
570
570
  display: "flex",
571
571
  flexDirection: "column",
@@ -575,7 +575,7 @@ const xe = se(/* @__PURE__ */ i("path", {
575
575
  height: "100vh",
576
576
  fontFamily: "Roboto, sans-serif",
577
577
  overflow: "hidden"
578
- })), uo = g("div")(
578
+ })), bo = f("div")(
579
579
  ({ tabletPadding: e, mobile: o }) => ({
580
580
  display: "flex",
581
581
  flexDirection: o ? "column-reverse" : "row",
@@ -587,13 +587,13 @@ const xe = se(/* @__PURE__ */ i("path", {
587
587
  boxSizing: "border-box",
588
588
  minHeight: `calc(100% - ${t.constants.appHeaderHeight}px)`
589
589
  })
590
- ), fo = g("div", {
591
- shouldForwardProp: (e) => Z(e)
592
- })(({ withActionsPanel: e, tablet: o, borderColor: a, backgroundColor: n }) => ({
590
+ ), xo = f("div", {
591
+ shouldForwardProp: (e) => G(e)
592
+ })(({ withActionsPanel: e, tablet: o, borderColor: s, backgroundColor: n }) => ({
593
593
  display: "flex",
594
594
  flexDirection: "column",
595
595
  opacity: e ? 1 : 0,
596
- border: `1px solid ${a}`,
596
+ border: `1px solid ${s}`,
597
597
  borderRight: 0,
598
598
  borderRadius: "4px",
599
599
  borderTopRightRadius: 0,
@@ -608,9 +608,29 @@ const xe = se(/* @__PURE__ */ i("path", {
608
608
  ...!e && {
609
609
  border: "none"
610
610
  }
611
- })), mo = g(W)(
611
+ })), vo = f("div", {
612
+ shouldForwardProp: (e) => G(e)
613
+ })(({ show: e, width: o = t.constants.navDefaultWidth, borderColor: s, backgroundColor: n }) => ({
614
+ display: "flex",
615
+ flexDirection: "column",
616
+ alignItems: "center",
617
+ opacity: e ? 1 : 0,
618
+ border: `1px solid ${s}`,
619
+ borderRight: 0,
620
+ borderRadius: "4px",
621
+ borderTopRightRadius: 0,
622
+ borderBottomRightRadius: 0,
623
+ height: e ? "calc(100% + 2px)" : "100%",
624
+ boxSizing: "border-box",
625
+ backgroundColor: n,
626
+ width: e ? `${o}px` : 0,
627
+ transition: "313ms all ease-in-out",
628
+ ...!e && {
629
+ border: "none"
630
+ }
631
+ })), wo = f(U)(
612
632
  ({ shadowColor: e, backgroundColor: o }) => ({
613
- ...H`
633
+ ...M`
614
634
  top: ${t.constants.appHeaderHeight}px;
615
635
  font-family: 'Roboto';
616
636
 
@@ -632,8 +652,8 @@ const xe = se(/* @__PURE__ */ i("path", {
632
652
  }
633
653
  `
634
654
  })
635
- ), we = g(J)(({ iconColor: e, highlight1: o, highlight2: a, rightDrawer: n = !1 }) => ({
636
- ...H`
655
+ ), $e = f(Z)(({ iconColor: e, highlight1: o, highlight2: s, rightDrawer: n = !1 }) => ({
656
+ ...M`
637
657
  position: absolute;
638
658
  top: -0.5rem;
639
659
  ${!n && { right: "-0.5rem" }};
@@ -651,17 +671,17 @@ const xe = se(/* @__PURE__ */ i("path", {
651
671
  :focus-visible {
652
672
  svg {
653
673
  filter: unset;
654
- background-color: ${a};
674
+ background-color: ${s};
655
675
  fill: ${e};
656
676
  }
657
677
  }
658
678
  `
659
- })), go = g("div", {
660
- shouldForwardProp: (e) => Z(e)
661
- })(({ withActionsPanel: e, borderColor: o, backgroundColor: a, mobileScreen: n }) => ({
679
+ })), ko = f("div", {
680
+ shouldForwardProp: (e) => G(e)
681
+ })(({ withActionsPanel: e, borderColor: o, backgroundColor: s, mobileScreen: n }) => ({
662
682
  display: "flex",
663
683
  overflow: "hidden",
664
- backgroundColor: a,
684
+ backgroundColor: s,
665
685
  borderRadius: "4px",
666
686
  borderBottomLeftRadius: e ? 0 : "4px",
667
687
  borderTopLeftRadius: e ? 0 : "4px",
@@ -679,10 +699,10 @@ const xe = se(/* @__PURE__ */ i("path", {
679
699
  borderBottomLeftRadius: 0,
680
700
  borderTopLeftRadius: 0
681
701
  }
682
- })), bo = g(W, {
702
+ })), yo = f(U, {
683
703
  shouldForwardProp: (e) => !["backgroundColor", "shadowColor"].includes(e)
684
704
  })(({ backgroundColor: e, shadowColor: o }) => ({
685
- ...H`
705
+ ...M`
686
706
  z-index: 1327;
687
707
 
688
708
  .MuiDrawer-paper {
@@ -697,10 +717,10 @@ const xe = se(/* @__PURE__ */ i("path", {
697
717
  background-color: transparent;
698
718
  }
699
719
  `
700
- })), xo = g(W, {
720
+ })), Co = f(U, {
701
721
  shouldForwardProp: (e) => e != "backgroundColor"
702
722
  })(({ backgroundColor: e }) => ({
703
- ...H`
723
+ ...M`
704
724
  z-index: 1300;
705
725
 
706
726
  .MuiDrawer-paper {
@@ -719,10 +739,10 @@ const xe = se(/* @__PURE__ */ i("path", {
719
739
  background-color: transparent;
720
740
  }
721
741
  `
722
- })), vo = g("div", {
723
- shouldForwardProp: (e) => Z(e)
742
+ })), $o = f("div", {
743
+ shouldForwardProp: (e) => G(e)
724
744
  })(({ backgroundColor: e, open: o }) => ({
725
- ...H`
745
+ ...M`
726
746
  position: fixed;
727
747
  transition: height 201ms cubic-bezier(0, 0, 0.2, 1);
728
748
  z-index: 1300;
@@ -734,15 +754,15 @@ const xe = se(/* @__PURE__ */ i("path", {
734
754
  box-sizing: border-box;
735
755
  padding: ${o ? "16px" : 0};
736
756
  `
737
- })), wo = g("h1")(({ color: e }) => ({
738
- ...H`
757
+ })), To = f("h1")(({ color: e }) => ({
758
+ ...M`
739
759
  margin: 0;
740
760
  font-size: 2.1rem;
741
761
  font-family: 'Roboto';
742
762
  color: ${e};
743
763
  `
744
- })), ko = g(W)(({ backgroundQuaternary: e }) => ({
745
- ...H`
764
+ })), Po = f(U)(({ backgroundQuaternary: e }) => ({
765
+ ...M`
746
766
  top: ${t.constants.appHeaderHeight}px;
747
767
  font-family: 'Roboto';
748
768
  z-index: 1336;
@@ -761,21 +781,21 @@ const xe = se(/* @__PURE__ */ i("path", {
761
781
  background-color: transparent;
762
782
  }
763
783
  `
764
- })), yo = g("img")(({ width: e, height: o }) => ({
765
- ...H`
784
+ })), Ro = f("img")(({ width: e, height: o }) => ({
785
+ ...M`
766
786
  width: ${e}px;
767
787
  height: ${o}px;
768
788
  `
769
- })), ke = g("div")(({ justifyStart: e }) => ({
770
- ...H`
789
+ })), Te = f("div")(({ justifyStart: e }) => ({
790
+ ...M`
771
791
  display: flex;
772
792
  flex-direction: row;
773
793
  align-items: flex-start;
774
794
  justify-content: ${e ? "start" : "space-between"};
775
795
  padding: 8px 16px 8px 24px;
776
796
  `
777
- })), Co = g(W)(() => ({
778
- ...H`
797
+ })), Mo = f(U)(() => ({
798
+ ...M`
779
799
  top: ${t.constants.appHeaderHeight}px;
780
800
  font-family: 'Roboto';
781
801
 
@@ -796,197 +816,203 @@ const xe = se(/* @__PURE__ */ i("path", {
796
816
  background-color: transparent;
797
817
  }
798
818
  `
799
- })), _o = ({
819
+ })), Zo = ({
800
820
  navProps: e,
801
- appHeaderProps: o = {},
802
- userInfo: a,
803
- userSettingsEnabled: n = !0,
804
- userProfileMenuItems: c = [],
805
- actionsPanelContent: u,
806
- navWidth: f = t.constants.navDefaultWidth,
807
- breakpoints: x = { mobile: t.screenSizes.mobile, tablet: t.screenSizes.tablet },
808
- children: b,
809
- themeColors: h = {},
810
- logoProps: m = {},
811
- loggedIn: I,
812
- mobileActionsPanelOpen: $
821
+ activeSubnavRoute: o,
822
+ appHeaderProps: s = {},
823
+ userInfo: n,
824
+ userSettingsEnabled: l = !0,
825
+ userProfileMenuItems: H = [],
826
+ actionsPanelContent: c,
827
+ navWidth: m = t.constants.navDefaultWidth,
828
+ breakpoints: w = { mobile: t.screenSizes.mobile, tablet: t.screenSizes.tablet },
829
+ children: d,
830
+ themeColors: g = {},
831
+ logoProps: O = {},
832
+ loggedIn: T,
833
+ mobileActionsPanelOpen: F
813
834
  }) => {
814
- const [L, z] = Y(!1), [j, P] = Y(!1), [S, T] = Y(!1), [N, M] = Y(!1), { mobile: O = t.screenSizes.mobile, tablet: B = t.screenSizes.tablet } = x, l = ge(`(max-width: ${O})`), v = ge(`(max-width: ${B})`) && !l, k = !l && !v, {
815
- backgroundPrimary: w = t.colors.whiteGreen,
816
- backgroundSecondary: p = t.colors.whiteGreenA,
835
+ var be;
836
+ const [W, E] = q(!1), [N, D] = q(!1), [j, y] = q(!1), [S, P] = q(!1), { mobile: I = t.screenSizes.mobile, tablet: u = t.screenSizes.tablet } = w, b = we(`(max-width: ${I})`), h = we(`(max-width: ${u})`) && !b, C = !b && !h, {
837
+ backgroundPrimary: x = t.colors.whiteGreen,
838
+ backgroundSecondary: v = t.colors.whiteGreenA,
817
839
  backgroundTertiary: R = t.colors.sage,
818
- highlightPrimary: F = t.colors.sunlight,
819
- backgroundQuaternary: ee = t.colors.moss,
820
- highlightSecondary: oe = t.colors.dandelion,
821
- highlightTertiary: re = `${t.colors.dandelion}99`,
822
- iconPrimary: E = t.colors.darkGreen,
823
- shadowPrimary: s = t.colors.darkGreenO99,
824
- shadowSecondary: d = t.boxShadows.darkGreen,
825
- shadowTertiary: V = t.boxShadows.darkGreenThick,
826
- borderPrimary: G = t.colors.green,
840
+ highlightPrimary: oe = t.colors.sunlight,
841
+ backgroundQuaternary: re = t.colors.moss,
842
+ highlightSecondary: te = t.colors.dandelion,
843
+ highlightTertiary: Y = `${t.colors.dandelion}99`,
844
+ iconPrimary: a = t.colors.darkGreen,
845
+ shadowPrimary: p = t.colors.darkGreenO99,
846
+ shadowSecondary: B = t.boxShadows.darkGreen,
847
+ shadowTertiary: pe = t.boxShadows.darkGreenThick,
848
+ borderPrimary: V = t.colors.green,
827
849
  scrollColor: A = t.colors.darkGreenO99,
828
- iconColors: Re
829
- } = h, { logoSrc: ce = Ae, logoWidth: pe = 36, logoHeight: de = 50 } = m, Ee = {
830
- backgroundPrimary: w,
831
- backgroundSecondary: p,
850
+ iconColors: ze
851
+ } = g, { logoSrc: de = Ue, logoWidth: he = 36, logoHeight: ue = 50 } = O, fe = {
852
+ backgroundPrimary: x,
853
+ backgroundSecondary: v,
832
854
  backgroundTertiary: R,
833
- highlightPrimary: F,
834
- highlightSecondary: oe,
835
- highlightTertiary: re,
836
- borderPrimary: G,
837
- iconPrimary: E,
838
- shadowPrimary: s,
839
- shadowSecondary: d,
840
- shadowTertiary: V,
855
+ highlightPrimary: oe,
856
+ highlightSecondary: te,
857
+ highlightTertiary: Y,
858
+ borderPrimary: V,
859
+ iconPrimary: a,
860
+ shadowPrimary: p,
861
+ shadowSecondary: B,
862
+ shadowTertiary: pe,
841
863
  scrollColor: A
842
- }, De = { logoSrc: ce, logoWidth: pe, logoHeight: de }, te = u != null, ze = { ...o, navWidth: f, loggedIn: I }, X = { ...e, themeColors: Ee }, Se = {
864
+ }, Ne = { logoSrc: de, logoWidth: he, logoHeight: ue }, ne = c != null, Ie = { ...s, navWidth: m, loggedIn: T }, X = { ...e, themeColors: fe }, Oe = {
843
865
  ...X,
844
- navWidth: `${f}px`,
845
- isMobile: l
846
- }, he = [
866
+ navWidth: `${m}px`,
867
+ isMobile: b
868
+ }, { navItems: _ } = e, ie = ((be = _.find((k) => k.label === (e == null ? void 0 : e.activeRoute))) == null ? void 0 : be.subnavItems) || [], Be = {
869
+ themeColors: fe,
870
+ activeRoute: o,
871
+ navItems: ie
872
+ }, me = [
847
873
  // { label: 'Log Out', icon: <LogoutIcon />, onClick: onLogout },
848
- ...c
849
- ].map((y) => ({
850
- ...y,
874
+ ...H
875
+ ].map((k) => ({
876
+ ...k,
851
877
  onClick: () => {
852
- y.onClick && y.onClick(), T(!1);
878
+ k.onClick && k.onClick(), y(!1);
853
879
  }
854
- })), { navItems: ne } = e, Ne = ne.map((y) => ({
855
- ...y,
880
+ })), Ae = _.map((k) => ({
881
+ ...k,
856
882
  onClick: () => {
857
- y.onClick && y.onClick(), z(!1);
883
+ k.onClick && k.onClick(), E(!1);
858
884
  }
859
- })), ie = {
885
+ })), ae = {
860
886
  ...X,
861
887
  navWidth: "100%",
862
888
  isTablet: !0,
863
- navItems: Ne
889
+ navItems: Ae
864
890
  };
865
- let ae = ne.map((y) => ({
866
- ...y,
891
+ let se = _.map((k) => ({
892
+ ...k,
867
893
  onClick: () => {
868
- y.onClick && y.onClick(), M(!1);
894
+ k.onClick && k.onClick(), P(!1);
869
895
  }
870
- })), ue = [];
871
- ne.length > 4 && l && (ue = ae.splice(3), ae.push({
896
+ })), ge = [];
897
+ _.length > 4 && b && (ge = se.splice(3), se.push({
872
898
  label: "More",
873
- icon: /* @__PURE__ */ i(po, {}),
874
- onClick: () => M(!0)
899
+ icon: /* @__PURE__ */ i(mo, {}),
900
+ onClick: () => P(!0)
875
901
  }));
876
- const Oe = {
902
+ const Le = {
877
903
  ...X,
878
904
  navWidth: "100%",
879
- navItems: ae,
905
+ navItems: se,
880
906
  isMobile: !0,
881
- activeRoute: N ? "More" : X.activeRoute
882
- }, Be = {
907
+ activeRoute: S ? "More" : X.activeRoute
908
+ }, Fe = {
883
909
  ...X,
884
910
  navWidth: "100%",
885
- navItems: ue,
911
+ navItems: ge,
886
912
  isTablet: !0
887
913
  };
888
- return /* @__PURE__ */ C(ho, { backgroundColor: p, children: [
914
+ return /* @__PURE__ */ $(go, { backgroundColor: v, children: [
889
915
  /* @__PURE__ */ i(
890
- Ie,
916
+ je,
891
917
  {
892
- ...ze,
893
- hamburgerMenu: v,
894
- onHamburgerMenuClick: () => z(!0),
895
- onUserMenuClick: () => T(!0),
896
- logoProps: De,
897
- iconColor: E,
898
- isMobile: l,
899
- themeProps: { shadowSecondary: d, shadowTertiary: V, iconPrimary: E, borderPrimary: G },
900
- iconColors: Re,
901
- userName: a == null ? void 0 : a.name,
902
- userSettingsEnabled: n
918
+ ...Ie,
919
+ hamburgerMenu: h,
920
+ onHamburgerMenuClick: () => E(!0),
921
+ onUserMenuClick: () => y(!0),
922
+ logoProps: Ne,
923
+ iconColor: a,
924
+ isMobile: b,
925
+ themeProps: { shadowSecondary: B, shadowTertiary: pe, iconPrimary: a, borderPrimary: V },
926
+ iconColors: ze,
927
+ userName: n == null ? void 0 : n.name,
928
+ userSettingsEnabled: l
903
929
  }
904
930
  ),
905
- /* @__PURE__ */ C(uo, { tabletPadding: v, mobile: l, children: [
906
- k && /* @__PURE__ */ i(U, { ...Se }),
907
- l && /* @__PURE__ */ C(fe, { children: [
908
- /* @__PURE__ */ i(U, { ...Oe }),
931
+ /* @__PURE__ */ $(bo, { tabletPadding: h, mobile: b, children: [
932
+ C && /* @__PURE__ */ i(L, { ...Oe }),
933
+ b && /* @__PURE__ */ $(xe, { children: [
934
+ /* @__PURE__ */ i(L, { ...Le }),
909
935
  /* @__PURE__ */ i(
910
- xo,
936
+ Co,
911
937
  {
912
- open: N,
913
- onClose: () => M(!1),
914
- backgroundColor: p,
938
+ open: S,
939
+ onClose: () => P(!1),
940
+ backgroundColor: v,
915
941
  anchor: "right",
916
- children: /* @__PURE__ */ i(U, { ...Be })
942
+ children: /* @__PURE__ */ i(L, { ...Fe })
917
943
  }
918
944
  )
919
945
  ] }),
920
- v && /* @__PURE__ */ C(
921
- bo,
946
+ h && /* @__PURE__ */ $(
947
+ yo,
922
948
  {
923
- open: L,
924
- onClose: () => z(!1),
925
- backgroundColor: p,
926
- shadowColor: s,
949
+ open: W,
950
+ onClose: () => E(!1),
951
+ backgroundColor: v,
952
+ shadowColor: p,
927
953
  children: [
928
- /* @__PURE__ */ C(ke, { children: [
929
- /* @__PURE__ */ i(yo, { src: ce, alt: "logo", width: pe, height: de }),
930
- /* @__PURE__ */ i(J, { variant: "icon", size: 36, onClick: () => z(!1), color: E, children: /* @__PURE__ */ i(Le, {}) })
954
+ /* @__PURE__ */ $(Te, { children: [
955
+ /* @__PURE__ */ i(Ro, { src: de, alt: "logo", width: he, height: ue }),
956
+ /* @__PURE__ */ i(Z, { variant: "icon", size: 36, onClick: () => E(!1), color: a, children: /* @__PURE__ */ i(We, {}) })
931
957
  ] }),
932
- /* @__PURE__ */ i(U, { ...ie })
958
+ /* @__PURE__ */ i(L, { ...ae })
933
959
  ]
934
960
  }
935
961
  ),
936
- v && /* @__PURE__ */ C(
937
- mo,
962
+ h && /* @__PURE__ */ $(
963
+ wo,
938
964
  {
939
- open: j && te,
940
- onClose: () => P(!1),
941
- shadowColor: s,
965
+ open: N && ne,
966
+ onClose: () => D(!1),
967
+ shadowColor: p,
942
968
  backgroundColor: R,
943
969
  children: [
944
970
  /* @__PURE__ */ i(
945
- we,
971
+ $e,
946
972
  {
947
973
  variant: "icon",
948
974
  size: 24,
949
- onClick: () => P(!1),
950
- iconColor: E,
951
- highlight1: p,
952
- highlight2: p,
953
- children: /* @__PURE__ */ i(ve, {})
975
+ onClick: () => D(!1),
976
+ iconColor: a,
977
+ highlight1: v,
978
+ highlight2: v,
979
+ children: /* @__PURE__ */ i(Ce, {})
954
980
  }
955
981
  ),
956
- /* @__PURE__ */ i(_, { scrollColor: A, direction: "vertical", children: u && u })
982
+ /* @__PURE__ */ i(Q, { scrollColor: A, direction: "vertical", children: c && c })
957
983
  ]
958
984
  }
959
985
  ),
960
- (v || k) && /* @__PURE__ */ C(
961
- Co,
986
+ (h || C) && /* @__PURE__ */ $(
987
+ Mo,
962
988
  {
963
989
  anchor: "right",
964
- open: S,
965
- onClose: () => T(!1),
990
+ open: j,
991
+ onClose: () => y(!1),
966
992
  children: [
967
993
  /* @__PURE__ */ i(
968
- we,
994
+ $e,
969
995
  {
970
996
  variant: "icon",
971
997
  size: 24,
972
- onClick: () => T(!1),
998
+ onClick: () => y(!1),
973
999
  iconColor: t.colors.midnight,
974
1000
  highlight1: t.colors.white,
975
- highlight2: p,
1001
+ highlight2: v,
976
1002
  rightDrawer: !0,
977
- children: /* @__PURE__ */ i(ve, {})
1003
+ children: /* @__PURE__ */ i(Ce, {})
978
1004
  }
979
1005
  ),
980
1006
  /* @__PURE__ */ i(
981
- U,
1007
+ L,
982
1008
  {
983
- ...ie,
984
- navItems: he,
1009
+ ...ae,
1010
+ navItems: me,
985
1011
  themeColors: {
986
1012
  iconPrimary: t.colors.midnight,
987
- highlightPrimary: w,
988
- highlightTertiary: p,
989
- shadowSecondary: d,
1013
+ highlightPrimary: x,
1014
+ highlightTertiary: v,
1015
+ shadowSecondary: B,
990
1016
  scrollColor: A
991
1017
  }
992
1018
  }
@@ -994,38 +1020,38 @@ const xe = se(/* @__PURE__ */ i("path", {
994
1020
  ]
995
1021
  }
996
1022
  ),
997
- l && /* @__PURE__ */ C(fe, { children: [
998
- /* @__PURE__ */ C(
999
- ko,
1023
+ b && /* @__PURE__ */ $(xe, { children: [
1024
+ /* @__PURE__ */ $(
1025
+ Po,
1000
1026
  {
1001
1027
  anchor: "right",
1002
- open: S,
1003
- onClose: () => T(!1),
1004
- backgroundQuaternary: ee,
1028
+ open: j,
1029
+ onClose: () => y(!1),
1030
+ backgroundQuaternary: re,
1005
1031
  children: [
1006
- /* @__PURE__ */ C(ke, { children: [
1007
- /* @__PURE__ */ i(wo, { color: t.colors.midnight, children: "Settings" }),
1032
+ /* @__PURE__ */ $(Te, { children: [
1033
+ /* @__PURE__ */ i(To, { color: t.colors.midnight, children: "Settings" }),
1008
1034
  /* @__PURE__ */ i(
1009
- J,
1035
+ Z,
1010
1036
  {
1011
1037
  variant: "icon",
1012
1038
  size: 36,
1013
- onClick: () => T(!1),
1039
+ onClick: () => y(!1),
1014
1040
  color: t.colors.midnight,
1015
- children: /* @__PURE__ */ i(xe, {})
1041
+ children: /* @__PURE__ */ i(ye, {})
1016
1042
  }
1017
1043
  )
1018
1044
  ] }),
1019
1045
  /* @__PURE__ */ i(
1020
- U,
1046
+ L,
1021
1047
  {
1022
- ...ie,
1023
- navItems: he,
1048
+ ...ae,
1049
+ navItems: me,
1024
1050
  themeColors: {
1025
1051
  iconPrimary: t.colors.midnight,
1026
- highlightPrimary: w,
1027
- highlightTertiary: p,
1028
- shadowSecondary: d,
1052
+ highlightPrimary: x,
1053
+ highlightTertiary: v,
1054
+ shadowSecondary: B,
1029
1055
  scrollColor: A
1030
1056
  }
1031
1057
  }
@@ -1033,43 +1059,53 @@ const xe = se(/* @__PURE__ */ i("path", {
1033
1059
  ]
1034
1060
  }
1035
1061
  ),
1036
- /* @__PURE__ */ i(vo, { backgroundColor: R, open: $, children: /* @__PURE__ */ i(_, { scrollColor: A, direction: "vertical", children: u }) })
1062
+ /* @__PURE__ */ i($o, { backgroundColor: R, open: F, children: /* @__PURE__ */ i(Q, { scrollColor: A, direction: "vertical", children: c }) })
1037
1063
  ] }),
1038
- !l && /* @__PURE__ */ C(
1039
- fo,
1064
+ !b && /* @__PURE__ */ $(
1065
+ xo,
1040
1066
  {
1041
- withActionsPanel: te,
1042
- tablet: v,
1043
- borderColor: G,
1067
+ withActionsPanel: ne,
1068
+ tablet: h,
1069
+ borderColor: V,
1044
1070
  backgroundColor: R,
1045
1071
  children: [
1046
- k && /* @__PURE__ */ i(_, { scrollColor: A, direction: "vertical", children: u && u }),
1047
- v && /* @__PURE__ */ i(
1048
- J,
1072
+ C && /* @__PURE__ */ i(Q, { scrollColor: A, direction: "vertical", children: c && c }),
1073
+ h && /* @__PURE__ */ i(
1074
+ Z,
1049
1075
  {
1050
1076
  variant: "icon",
1051
1077
  size: 36,
1052
- onClick: () => P(!0),
1053
- color: E,
1054
- children: /* @__PURE__ */ i(xe, {})
1078
+ onClick: () => D(!0),
1079
+ color: a,
1080
+ children: /* @__PURE__ */ i(ye, {})
1055
1081
  }
1056
1082
  )
1057
1083
  ]
1058
1084
  }
1059
1085
  ),
1086
+ !C && /* @__PURE__ */ i(
1087
+ vo,
1088
+ {
1089
+ show: ie && ie.length > 0,
1090
+ borderColor: V,
1091
+ backgroundColor: R,
1092
+ width: m,
1093
+ children: /* @__PURE__ */ i(L, { ...Be })
1094
+ }
1095
+ ),
1060
1096
  /* @__PURE__ */ i(
1061
- go,
1097
+ ko,
1062
1098
  {
1063
- withActionsPanel: te,
1064
- borderColor: G,
1065
- backgroundColor: w,
1066
- mobileScreen: l,
1067
- children: /* @__PURE__ */ i(_, { scrollColor: A, children: b })
1099
+ withActionsPanel: ne,
1100
+ borderColor: V,
1101
+ backgroundColor: x,
1102
+ mobileScreen: b,
1103
+ children: /* @__PURE__ */ i(Q, { scrollColor: A, children: d })
1068
1104
  }
1069
1105
  )
1070
1106
  ] })
1071
1107
  ] });
1072
1108
  };
1073
1109
  export {
1074
- _o as default
1110
+ Zo as default
1075
1111
  };
package/Nav/Nav.d.ts CHANGED
@@ -4,8 +4,10 @@ export interface NavItemProps {
4
4
  icon?: React.ReactNode;
5
5
  onClick?: () => void;
6
6
  active?: boolean;
7
+ url?: string;
7
8
  /** This is defined only to enable type safe external management of the AppContainer actions panel */
8
9
  actionsPanelContent?: React.ReactNode;
10
+ subnavItems?: NavItemProps[];
9
11
  }
10
12
  export interface NavProps {
11
13
  navItems: NavItemProps[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.279",
4
+ "version": "0.0.283",
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",