jcicl 1.0.9 → 1.0.13

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.
@@ -1,15 +1,13 @@
1
1
  import * as c from "react";
2
- import { P as e, j as Ot, i as Vo, T as Ho, a as oe, g as te, c as ce, s as j, u as de, b as ee, d as ne, n as qo, r as Se, o as bo, q as ho, m as xt } from "./DefaultPropsProvider.js";
2
+ import { P as e, h as Ot, m as Vo, T as Ho, a as oe, g as te, c as ce, s as j, u as de, b as ee, d as ne, n as qo, r as Se, o as bo, q as ho, j as xt } from "./DefaultPropsProvider.js";
3
3
  import { u as ye } from "./useSlot.js";
4
4
  import { jsx as R, jsxs as he } from "react/jsx-runtime";
5
5
  import { u as De, F as _o } from "./useFormControl.js";
6
- import { o as ge, g as yo, e as go, b as Et, T as Rt, r as St, a as Ro, P as wt, H as eo, G as Ct, c as So, u as Ko } from "./Portal.js";
6
+ import { d as Ko, o as ge, g as yo, e as go, f as Et, a as Rt, T as St, r as wt, c as Ro, P as Ct, H as eo, G as Pt, h as So, b as Go } from "./Portal.js";
7
7
  import { m as ue } from "./memoTheme.js";
8
8
  import { c as ro } from "./createSimplePaletteValueFilter.js";
9
- import { u as Pt } from "./index.js";
9
+ import { e as It, u as Nt } from "./index.js";
10
10
  import { a as Ee, u as oo, r as Pe, c as wo } from "./TransitionGroupContext.js";
11
- import { e as It } from "./resolveComponentProps.js";
12
- import { b as Go, a as Nt } from "./useTheme.js";
13
11
  import { P as Ft } from "./Paper.js";
14
12
  import { c as Mt } from "./chainPropTypes.js";
15
13
  import { i as kt } from "./integerPropType.js";
@@ -38,7 +36,7 @@ function Zo({
38
36
  themeId: t,
39
37
  defaultTheme: n = {}
40
38
  }) {
41
- const r = Go(n), s = typeof o == "function" ? o(t && r[t] || r) : o;
39
+ const r = Ko(n), s = typeof o == "function" ? o(t && r[t] || r) : o;
42
40
  return /* @__PURE__ */ R(Xo, {
43
41
  styles: s
44
42
  });
@@ -75,7 +73,7 @@ function $t({
75
73
  defaultTheme: n,
76
74
  themeId: r
77
75
  }) {
78
- let s = Go(n);
76
+ let s = Ko(n);
79
77
  return r && (s = s[r] || s), Dt({
80
78
  theme: s,
81
79
  name: t,
@@ -3674,7 +3672,7 @@ const jn = {
3674
3672
  opacity: 1
3675
3673
  }
3676
3674
  }, ut = /* @__PURE__ */ c.forwardRef(function(t, n) {
3677
- const r = Nt(), s = {
3675
+ const r = Rt(), s = {
3678
3676
  enter: r.transitions.duration.enteringScreen,
3679
3677
  exit: r.transitions.duration.leavingScreen
3680
3678
  }, {
@@ -3692,7 +3690,7 @@ const jn = {
3692
3690
  style: v,
3693
3691
  timeout: f = s,
3694
3692
  // eslint-disable-next-line react/prop-types
3695
- TransitionComponent: O = Rt,
3693
+ TransitionComponent: O = St,
3696
3694
  ...a
3697
3695
  } = t, m = c.useRef(null), w = Ee(m, yo(d), n), N = (k) => (x) => {
3698
3696
  if (k) {
@@ -3700,7 +3698,7 @@ const jn = {
3700
3698
  x === void 0 ? k(E) : k(E, x);
3701
3699
  }
3702
3700
  }, I = N(T), P = N((k, x) => {
3703
- St(k);
3701
+ wt(k);
3704
3702
  const E = Ro({
3705
3703
  style: v,
3706
3704
  timeout: f,
@@ -4253,7 +4251,7 @@ const Hn = (o) => {
4253
4251
  className: ee(i == null ? void 0 : i.className, G == null ? void 0 : G.backdrop),
4254
4252
  ownerState: H
4255
4253
  }), $ = Ee(i == null ? void 0 : i.ref, D.ref);
4256
- return !w && !M && (!fe || se) ? null : /* @__PURE__ */ R(wt, {
4254
+ return !w && !M && (!fe || se) ? null : /* @__PURE__ */ R(Ct, {
4257
4255
  ref: re,
4258
4256
  container: y,
4259
4257
  disablePortal: f,
@@ -4524,7 +4522,7 @@ const Gn = (o) => {
4524
4522
  vertical: "top",
4525
4523
  horizontal: "left"
4526
4524
  },
4527
- TransitionComponent: a = Ct,
4525
+ TransitionComponent: a = Pt,
4528
4526
  transitionDuration: m = "auto",
4529
4527
  TransitionProps: {
4530
4528
  onEntering: w,
@@ -4942,7 +4940,7 @@ const Zn = {
4942
4940
  slots: f = {},
4943
4941
  slotProps: O = {},
4944
4942
  ...a
4945
- } = r, m = Pt(), w = {
4943
+ } = r, m = Nt(), w = {
4946
4944
  ...r,
4947
4945
  autoFocus: s,
4948
4946
  disableAutoFocusItem: d,
@@ -5589,7 +5587,7 @@ const pr = (o) => {
5589
5587
  }, _ = pr(Ne), Le = {
5590
5588
  ...f.PaperProps,
5591
5589
  ...(xo = f.slotProps) == null ? void 0 : xo.paper
5592
- }, Ue = Ko();
5590
+ }, Ue = Go();
5593
5591
  return /* @__PURE__ */ he(c.Fragment, {
5594
5592
  children: [/* @__PURE__ */ R(ar, {
5595
5593
  as: "div",
@@ -6144,7 +6142,7 @@ const vr = {
6144
6142
  variant: se
6145
6143
  }, G = Tr(H);
6146
6144
  process.env.NODE_ENV !== "production" && x && !l && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
6147
- const Z = Ko(S), ie = b && Z ? `${Z}-helper-text` : void 0, pe = m && Z ? `${Z}-label` : void 0, me = vr[se], J = {
6145
+ const Z = Go(S), ie = b && Z ? `${Z}-helper-text` : void 0, pe = m && Z ? `${Z}-label` : void 0, me = vr[se], J = {
6148
6146
  slots: V,
6149
6147
  slotProps: {
6150
6148
  input: O,
@@ -0,0 +1,11 @@
1
+ import { c } from "./createLucideIcon.js";
2
+ /**
3
+ * @license lucide-react v0.525.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], t = c("check", e);
9
+ export {
10
+ t as C
11
+ };
package/.chunks/index.js CHANGED
@@ -1,9 +1,86 @@
1
- import * as e from "react";
2
- import { P as o } from "./DefaultPropsProvider.js";
1
+ import { b as v, P as h } from "./DefaultPropsProvider.js";
2
+ import * as E from "react";
3
3
  import "react/jsx-runtime";
4
- const t = /* @__PURE__ */ e.createContext();
5
- process.env.NODE_ENV !== "production" && (o.node, o.bool);
6
- const a = () => e.useContext(t) ?? !1;
4
+ function O(n) {
5
+ return typeof n == "string";
6
+ }
7
+ function Z(n, c, e) {
8
+ return n === void 0 || O(n) ? c : {
9
+ ...c,
10
+ ownerState: {
11
+ ...c.ownerState,
12
+ ...e
13
+ }
14
+ };
15
+ }
16
+ function R(n, c = []) {
17
+ if (n === void 0)
18
+ return {};
19
+ const e = {};
20
+ return Object.keys(n).filter((t) => t.match(/^on[A-Z]/) && typeof n[t] == "function" && !c.includes(t)).forEach((t) => {
21
+ e[t] = n[t];
22
+ }), e;
23
+ }
24
+ function g(n) {
25
+ if (n === void 0)
26
+ return {};
27
+ const c = {};
28
+ return Object.keys(n).filter((e) => !(e.match(/^on[A-Z]/) && typeof n[e] == "function")).forEach((e) => {
29
+ c[e] = n[e];
30
+ }), c;
31
+ }
32
+ function r(n) {
33
+ const {
34
+ getSlotProps: c,
35
+ additionalProps: e,
36
+ externalSlotProps: t,
37
+ externalForwardedProps: s,
38
+ className: m
39
+ } = n;
40
+ if (!c) {
41
+ const a = v(e == null ? void 0 : e.className, m, s == null ? void 0 : s.className, t == null ? void 0 : t.className), N = {
42
+ ...e == null ? void 0 : e.style,
43
+ ...s == null ? void 0 : s.style,
44
+ ...t == null ? void 0 : t.style
45
+ }, i = {
46
+ ...e,
47
+ ...s,
48
+ ...t
49
+ };
50
+ return a.length > 0 && (i.className = a), Object.keys(N).length > 0 && (i.style = N), {
51
+ props: i,
52
+ internalRef: void 0
53
+ };
54
+ }
55
+ const C = R({
56
+ ...s,
57
+ ...t
58
+ }), o = g(t), H = g(s), u = c(C), y = v(u == null ? void 0 : u.className, e == null ? void 0 : e.className, m, s == null ? void 0 : s.className, t == null ? void 0 : t.className), l = {
59
+ ...u == null ? void 0 : u.style,
60
+ ...e == null ? void 0 : e.style,
61
+ ...s == null ? void 0 : s.style,
62
+ ...t == null ? void 0 : t.style
63
+ }, f = {
64
+ ...u,
65
+ ...e,
66
+ ...H,
67
+ ...o
68
+ };
69
+ return y.length > 0 && (f.className = y), Object.keys(l).length > 0 && (f.style = l), {
70
+ props: f,
71
+ internalRef: u.ref
72
+ };
73
+ }
74
+ function D(n, c, e) {
75
+ return typeof n == "function" ? n(c, e) : n;
76
+ }
77
+ const k = /* @__PURE__ */ E.createContext();
78
+ process.env.NODE_ENV !== "production" && (h.node, h.bool);
79
+ const V = () => E.useContext(k) ?? !1;
7
80
  export {
8
- a as u
81
+ Z as a,
82
+ R as e,
83
+ r as m,
84
+ D as r,
85
+ V as u
9
86
  };
@@ -1,5 +1,5 @@
1
1
  import * as c from "react";
2
- import { u as p } from "./useTheme.js";
2
+ import { u as p } from "./Portal.js";
3
3
  import { g as h } from "./TextField.js";
4
4
  import { u as v } from "./TransitionGroupContext.js";
5
5
  function g(n, i, e, o, a) {
@@ -1,4 +1,4 @@
1
- import { r as T, m as h, a as k } from "./resolveComponentProps.js";
1
+ import { r as T, m as h, a as k } from "./index.js";
2
2
  import { a as E } from "./TransitionGroupContext.js";
3
3
  function j(o, r) {
4
4
  const {
package/.chunks/x.js CHANGED
@@ -1,22 +1,14 @@
1
- import { c } from "./createLucideIcon.js";
1
+ import { c as o } from "./createLucideIcon.js";
2
2
  /**
3
3
  * @license lucide-react v0.525.0 - ISC
4
4
  *
5
5
  * This source code is licensed under the ISC license.
6
6
  * See the LICENSE file in the root directory of this source tree.
7
7
  */
8
- const o = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], d = c("check", o);
9
- /**
10
- * @license lucide-react v0.525.0 - ISC
11
- *
12
- * This source code is licensed under the ISC license.
13
- * See the LICENSE file in the root directory of this source tree.
14
- */
15
- const e = [
8
+ const c = [
16
9
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
17
10
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
18
- ], n = c("x", e);
11
+ ], t = o("x", c);
19
12
  export {
20
- d as C,
21
- n as X
13
+ t as X
22
14
  };
@@ -11,14 +11,13 @@ import { Button as oe } from "../Button/Button.js";
11
11
  import t from "../theme.js";
12
12
  import { l as Ge } from "../.chunks/jocologo.js";
13
13
  import { X as Xe } from "../.chunks/Close.js";
14
- import { P as r, g as Ye, a as _e, s as pe, r as qe, c as re, u as Qe, b as Z, d as Je } from "../.chunks/DefaultPropsProvider.js";
14
+ import { P as r, g as Ye, a as _e, s as de, r as qe, c as re, u as Qe, b as Z, d as Je } from "../.chunks/DefaultPropsProvider.js";
15
15
  import { u as Ke } from "../.chunks/index.js";
16
- import { a as Me } from "../.chunks/useTheme.js";
16
+ import { e as Ze, H as eo, a as Me, g as oo, T as ro, r as to, c as ke } from "../.chunks/Portal.js";
17
17
  import { m as He } from "../.chunks/memoTheme.js";
18
- import { o as Ee, d as Ze, M as eo } from "../.chunks/TextField.js";
19
- import { P as oo } from "../.chunks/Paper.js";
20
- import { i as ro } from "../.chunks/integerPropType.js";
21
- import { e as to, H as no, g as io, T as ao, r as so, a as ke } from "../.chunks/Portal.js";
18
+ import { o as Ee, d as no, M as io } from "../.chunks/TextField.js";
19
+ import { P as ao } from "../.chunks/Paper.js";
20
+ import { i as so } from "../.chunks/integerPropType.js";
22
21
  import { c as lo } from "../.chunks/chainPropTypes.js";
23
22
  import { a as co } from "../.chunks/TransitionGroupContext.js";
24
23
  import { u as ye } from "../.chunks/useMediaQuery.js";
@@ -31,12 +30,12 @@ function po(e, o, a) {
31
30
  const h = M.getComputedStyle(o);
32
31
  w = h.getPropertyValue("-webkit-transform") || h.getPropertyValue("transform");
33
32
  }
34
- let p = 0, f = 0;
33
+ let d = 0, f = 0;
35
34
  if (w && w !== "none" && typeof w == "string") {
36
35
  const h = w.split("(")[1].split(")")[0].split(",");
37
- p = parseInt(h[4], 10), f = parseInt(h[5], 10);
36
+ d = parseInt(h[4], 10), f = parseInt(h[5], 10);
38
37
  }
39
- return e === "left" ? l ? `translateX(${l.right + p - n.left}px)` : `translateX(${M.innerWidth + p - n.left}px)` : e === "right" ? l ? `translateX(-${n.right - l.left - p}px)` : `translateX(-${n.left + n.width - p}px)` : e === "up" ? l ? `translateY(${l.bottom + f - n.top}px)` : `translateY(${M.innerHeight + f - n.top}px)` : l ? `translateY(-${n.top - l.top + n.height - f}px)` : `translateY(-${n.top + n.height - f}px)`;
38
+ return e === "left" ? l ? `translateX(${l.right + d - n.left}px)` : `translateX(${M.innerWidth + d - n.left}px)` : e === "right" ? l ? `translateX(-${n.right - l.left - d}px)` : `translateX(-${n.left + n.width - d}px)` : e === "up" ? l ? `translateY(${l.bottom + f - n.top}px)` : `translateY(${M.innerHeight + f - n.top}px)` : l ? `translateY(-${n.top - l.top + n.height - f}px)` : `translateY(-${n.top + n.height - f}px)`;
40
39
  }
41
40
  function De(e) {
42
41
  return typeof e == "function" ? e() : e;
@@ -54,7 +53,7 @@ const Se = /* @__PURE__ */ D.forwardRef(function(o, a) {
54
53
  exit: n.transitions.duration.leavingScreen
55
54
  }, {
56
55
  addEndListener: w,
57
- appear: p = !0,
56
+ appear: d = !0,
58
57
  children: f,
59
58
  container: h,
60
59
  direction: b = "down",
@@ -69,13 +68,13 @@ const Se = /* @__PURE__ */ D.forwardRef(function(o, a) {
69
68
  style: S,
70
69
  timeout: k = M,
71
70
  // eslint-disable-next-line react/prop-types
72
- TransitionComponent: H = ao,
71
+ TransitionComponent: H = ro,
73
72
  ...P
74
- } = o, m = D.useRef(null), V = co(io(f), m, a), d = (s) => (c) => {
73
+ } = o, m = D.useRef(null), V = co(oo(f), m, a), p = (s) => (c) => {
75
74
  s && (c === void 0 ? s(m.current) : s(m.current, c));
76
- }, u = d((s, c) => {
77
- ee(b, s, h), so(s), L && L(s, c);
78
- }), x = d((s, c) => {
75
+ }, u = p((s, c) => {
76
+ ee(b, s, h), to(s), L && L(s, c);
77
+ }), x = p((s, c) => {
79
78
  const j = ke({
80
79
  timeout: k,
81
80
  style: S,
@@ -88,7 +87,7 @@ const Se = /* @__PURE__ */ D.forwardRef(function(o, a) {
88
87
  }), s.style.transition = n.transitions.create("transform", {
89
88
  ...j
90
89
  }), s.style.webkitTransform = "none", s.style.transform = "none", F && F(s, c);
91
- }), E = d(W), v = d(O), I = d((s) => {
90
+ }), E = p(W), v = p(O), I = p((s) => {
92
91
  const c = ke({
93
92
  timeout: k,
94
93
  style: S,
@@ -97,7 +96,7 @@ const Se = /* @__PURE__ */ D.forwardRef(function(o, a) {
97
96
  mode: "exit"
98
97
  });
99
98
  s.style.webkitTransition = n.transitions.create("-webkit-transform", c), s.style.transition = n.transitions.create("transform", c), ee(b, s, h), C && C(s);
100
- }), te = d((s) => {
99
+ }), te = p((s) => {
101
100
  s.style.webkitTransition = "", s.style.transition = "", N && N(s);
102
101
  }), ne = (s) => {
103
102
  w && w(m.current, s);
@@ -107,7 +106,7 @@ const Se = /* @__PURE__ */ D.forwardRef(function(o, a) {
107
106
  return D.useEffect(() => {
108
107
  if (T || b === "down" || b === "right")
109
108
  return;
110
- const s = Ze(() => {
109
+ const s = no(() => {
111
110
  m.current && ee(b, m.current, h);
112
111
  }), c = Ee(m.current);
113
112
  return c.addEventListener("resize", s), () => {
@@ -124,7 +123,7 @@ const Se = /* @__PURE__ */ D.forwardRef(function(o, a) {
124
123
  onExited: te,
125
124
  onExiting: v,
126
125
  addEndListener: ne,
127
- appear: p,
126
+ appear: d,
128
127
  in: T,
129
128
  timeout: k,
130
129
  ...P,
@@ -159,12 +158,12 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
159
158
  /**
160
159
  * A single child content element.
161
160
  */
162
- children: to.isRequired,
161
+ children: Ze.isRequired,
163
162
  /**
164
163
  * An HTML element, or a function that returns one.
165
164
  * It's used to set the container the Slide is transitioning from.
166
165
  */
167
- container: lo(r.oneOfType([no, r.func]), (e) => {
166
+ container: lo(r.oneOfType([eo, r.func]), (e) => {
168
167
  if (e.open) {
169
168
  const o = De(e.container);
170
169
  if (o && o.nodeType === 1) {
@@ -262,7 +261,7 @@ const ze = (e, o) => {
262
261
  paper: ["paper", `paperAnchor${re(a)}`, n !== "temporary" && `paperAnchorDocked${re(a)}`]
263
262
  };
264
263
  return Je(l, ho, o);
265
- }, fo = pe(eo, {
264
+ }, fo = de(io, {
266
265
  name: "MuiDrawer",
267
266
  slot: "Root",
268
267
  overridesResolver: ze
@@ -270,7 +269,7 @@ const ze = (e, o) => {
270
269
  theme: e
271
270
  }) => ({
272
271
  zIndex: (e.vars || e).zIndex.drawer
273
- }))), Ce = pe("div", {
272
+ }))), Ce = de("div", {
274
273
  shouldForwardProp: qe,
275
274
  name: "MuiDrawer",
276
275
  slot: "Docked",
@@ -278,7 +277,7 @@ const ze = (e, o) => {
278
277
  overridesResolver: ze
279
278
  })({
280
279
  flex: "0 0 auto"
281
- }), mo = pe(oo, {
280
+ }), mo = de(ao, {
282
281
  name: "MuiDrawer",
283
282
  slot: "Paper",
284
283
  overridesResolver: (e, o) => {
@@ -393,7 +392,7 @@ const U = /* @__PURE__ */ D.forwardRef(function(o, a) {
393
392
  enter: l.transitions.duration.enteringScreen,
394
393
  exit: l.transitions.duration.leavingScreen
395
394
  }, {
396
- anchor: p = "left",
395
+ anchor: d = "left",
397
396
  BackdropProps: f,
398
397
  children: h,
399
398
  className: b,
@@ -418,9 +417,9 @@ const U = /* @__PURE__ */ D.forwardRef(function(o, a) {
418
417
  }, []);
419
418
  const V = bo({
420
419
  direction: M ? "rtl" : "ltr"
421
- }, p), u = {
420
+ }, d), u = {
422
421
  ...n,
423
- anchor: p,
422
+ anchor: d,
424
423
  elevation: z,
425
424
  open: C,
426
425
  variant: H,
@@ -502,7 +501,7 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
502
501
  * The elevation of the drawer.
503
502
  * @default 16
504
503
  */
505
- elevation: ro,
504
+ elevation: so,
506
505
  /**
507
506
  * If `true`, the backdrop is not rendered.
508
507
  * @default false
@@ -817,7 +816,7 @@ const $e = ce(/* @__PURE__ */ i("path", {
817
816
  background-color: transparent;
818
817
  }
819
818
  `
820
- })), rr = ({
819
+ })), or = ({
821
820
  navProps: e,
822
821
  subnavItems: o,
823
822
  activeSubnavRoute: a,
@@ -825,7 +824,7 @@ const $e = ce(/* @__PURE__ */ i("path", {
825
824
  userInfo: l,
826
825
  userSettingsEnabled: M = !0,
827
826
  userProfileMenuItems: w = [],
828
- actionsPanelContent: p,
827
+ actionsPanelContent: d,
829
828
  navWidth: f = t.constants.navDefaultWidth,
830
829
  breakpoints: h = { mobile: t.screenSizes.mobile, tablet: t.screenSizes.tablet },
831
830
  children: b,
@@ -835,7 +834,7 @@ const $e = ce(/* @__PURE__ */ i("path", {
835
834
  mobileActionsPanelOpen: W
836
835
  }) => {
837
836
  var ve;
838
- const [F, C] = J(!1), [N, O] = J(!1), [S, k] = J(!1), [H, P] = J(!1), { mobile: m = t.screenSizes.mobile, tablet: V = t.screenSizes.tablet } = h, d = ye(`(max-width: ${m})`), u = ye(`(max-width: ${V})`) && !d, x = !d && !u, {
837
+ const [F, C] = J(!1), [N, O] = J(!1), [S, k] = J(!1), [H, P] = J(!1), { mobile: m = t.screenSizes.mobile, tablet: V = t.screenSizes.tablet } = h, p = ye(`(max-width: ${m})`), u = ye(`(max-width: ${V})`) && !p, x = !p && !u, {
839
838
  backgroundPrimary: E = t.colors.whiteGreen,
840
839
  backgroundSecondary: v = t.colors.whiteGreenA,
841
840
  backgroundTertiary: I = t.colors.sage,
@@ -846,7 +845,7 @@ const $e = ce(/* @__PURE__ */ i("path", {
846
845
  iconPrimary: c = t.colors.darkGreen,
847
846
  shadowPrimary: j = t.colors.darkGreenO99,
848
847
  shadowSecondary: q = t.boxShadows.darkGreen,
849
- shadowTertiary: de = t.boxShadows.darkGreenThick,
848
+ shadowTertiary: pe = t.boxShadows.darkGreenThick,
850
849
  borderPrimary: G = t.colors.green,
851
850
  scrollColor: B = t.colors.darkGreenO99,
852
851
  loadingColor: Oe = t.colors.green,
@@ -866,14 +865,14 @@ const $e = ce(/* @__PURE__ */ i("path", {
866
865
  iconPrimary: c,
867
866
  shadowPrimary: j,
868
867
  shadowSecondary: q,
869
- shadowTertiary: de,
868
+ shadowTertiary: pe,
870
869
  scrollColor: B,
871
870
  loadingColor: Oe,
872
871
  iconColors: he
873
- }, Ie = { logoSrc: ue, logoWidth: fe, logoHeight: me }, ie = p != null, Be = { ...n, navWidth: f, loggedIn: L }, X = { ...e, themeColors: ge }, Ae = {
872
+ }, Ie = { logoSrc: ue, logoWidth: fe, logoHeight: me }, ie = d != null, Be = { ...n, navWidth: f, loggedIn: L }, X = { ...e, themeColors: ge }, Ae = {
874
873
  ...X,
875
874
  navWidth: `${f}px`,
876
- isMobile: d
875
+ isMobile: p
877
876
  }, { navItems: Q } = e, ae = o || ((ve = Q.find((y) => y.label === (e == null ? void 0 : e.activeRoute))) == null ? void 0 : ve.subnavItems) || [], Le = {
878
877
  themeColors: ge,
879
878
  activeRoute: a,
@@ -903,7 +902,7 @@ const $e = ce(/* @__PURE__ */ i("path", {
903
902
  y.onClick && y.onClick(), P(!1);
904
903
  }
905
904
  })), xe = [];
906
- Q.length > 4 && d && (xe = le.splice(3), le.push({
905
+ Q.length > 4 && p && (xe = le.splice(3), le.push({
907
906
  label: "More",
908
907
  icon: /* @__PURE__ */ i(xo, {}),
909
908
  onClick: () => P(!0)
@@ -930,16 +929,16 @@ const $e = ce(/* @__PURE__ */ i("path", {
930
929
  onUserMenuClick: () => k(!0),
931
930
  logoProps: Ie,
932
931
  iconColor: c,
933
- isMobile: d,
934
- themeProps: { shadowSecondary: q, shadowTertiary: de, iconPrimary: c, borderPrimary: G },
932
+ isMobile: p,
933
+ themeProps: { shadowSecondary: q, shadowTertiary: pe, iconPrimary: c, borderPrimary: G },
935
934
  iconColors: he,
936
935
  userName: l == null ? void 0 : l.name,
937
936
  userSettingsEnabled: M
938
937
  }
939
938
  ),
940
- /* @__PURE__ */ $(wo, { tabletPadding: u, mobile: d, children: [
939
+ /* @__PURE__ */ $(wo, { tabletPadding: u, mobile: p, children: [
941
940
  x && /* @__PURE__ */ i(A, { ...Ae }),
942
- d && /* @__PURE__ */ $(we, { children: [
941
+ p && /* @__PURE__ */ $(we, { children: [
943
942
  /* @__PURE__ */ i(A, { ...je }),
944
943
  /* @__PURE__ */ i(
945
944
  Po,
@@ -988,7 +987,7 @@ const $e = ce(/* @__PURE__ */ i("path", {
988
987
  children: /* @__PURE__ */ i(Te, {})
989
988
  }
990
989
  ),
991
- /* @__PURE__ */ i(K, { scrollColor: B, direction: "vertical", children: p && p })
990
+ /* @__PURE__ */ i(K, { scrollColor: B, direction: "vertical", children: d && d })
992
991
  ]
993
992
  }
994
993
  ),
@@ -1029,7 +1028,7 @@ const $e = ce(/* @__PURE__ */ i("path", {
1029
1028
  ]
1030
1029
  }
1031
1030
  ),
1032
- d && /* @__PURE__ */ $(we, { children: [
1031
+ p && /* @__PURE__ */ $(we, { children: [
1033
1032
  /* @__PURE__ */ $(
1034
1033
  Ho,
1035
1034
  {
@@ -1068,9 +1067,9 @@ const $e = ce(/* @__PURE__ */ i("path", {
1068
1067
  ]
1069
1068
  }
1070
1069
  ),
1071
- /* @__PURE__ */ i(Ro, { backgroundColor: I, open: W, children: /* @__PURE__ */ i(K, { scrollColor: B, direction: "vertical", children: p }) })
1070
+ /* @__PURE__ */ i(Ro, { backgroundColor: I, open: W, children: /* @__PURE__ */ i(K, { scrollColor: B, direction: "vertical", children: d }) })
1072
1071
  ] }),
1073
- !d && /* @__PURE__ */ $(
1072
+ !p && /* @__PURE__ */ $(
1074
1073
  ko,
1075
1074
  {
1076
1075
  withActionsPanel: ie,
@@ -1078,7 +1077,7 @@ const $e = ce(/* @__PURE__ */ i("path", {
1078
1077
  borderColor: G,
1079
1078
  backgroundColor: I,
1080
1079
  children: [
1081
- x && /* @__PURE__ */ i(K, { scrollColor: B, direction: "vertical", children: p && p }),
1080
+ x && /* @__PURE__ */ i(K, { scrollColor: B, direction: "vertical", children: d && d }),
1082
1081
  u && /* @__PURE__ */ i(
1083
1082
  oe,
1084
1083
  {
@@ -1108,7 +1107,7 @@ const $e = ce(/* @__PURE__ */ i("path", {
1108
1107
  withActionsPanel: ie,
1109
1108
  borderColor: G,
1110
1109
  backgroundColor: E,
1111
- mobileScreen: d,
1110
+ mobileScreen: p,
1112
1111
  children: /* @__PURE__ */ i(K, { scrollColor: B, children: b })
1113
1112
  }
1114
1113
  )
@@ -1116,5 +1115,5 @@ const $e = ce(/* @__PURE__ */ i("path", {
1116
1115
  ] });
1117
1116
  };
1118
1117
  export {
1119
- rr as default
1118
+ or as default
1120
1119
  };
@@ -1,6 +1,6 @@
1
1
  import { ButtonProps as MuiButtonProps } from '@mui/material/Button/Button';
2
2
  export interface ButtonProps extends Omit<MuiButtonProps, 'variant' | 'size' | 'color'> {
3
- variant?: 1 | 2 | 'unstyled' | 'icon' | 'bibi' | 'bibiOutlined' | 'bibiInverse' | 'filter' | 'custom';
3
+ variant?: 1 | 2 | 'unstyled' | 'copy' | 'icon' | 'bibi' | 'bibiOutlined' | 'bibiInverse' | 'filter' | 'custom' | 'pill';
4
4
  size?: number;
5
5
  color?: string;
6
6
  highlightColor?: string;
@@ -10,6 +10,7 @@ export interface ButtonProps extends Omit<MuiButtonProps, 'variant' | 'size' | '
10
10
  textColor?: string;
11
11
  customShadow1?: string;
12
12
  customShadow2?: string;
13
+ textToCopy?: string;
13
14
  }
14
15
  export declare const Button: React.FC<ButtonProps & {
15
16
  children: React.ReactNode;