jcicl 0.0.132 → 0.0.135

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.
@@ -3,7 +3,7 @@ import { AppHeaderProps, CustomLogoProps } from '../../../../../../../../../src/
3
3
  import { NavProps, NavItemProps } from '../../../../../../../../../src/components/supercomposite/Nav/Nav';
4
4
  import { IconProps } from '../../../../../../../../../src/components/base/Icon';
5
5
  import { TemplateThemeProps } from '../../../../../../../../../src/components/theme';
6
- type ReducedAppHeaderProps = Omit<AppHeaderProps, 'logoProps' | 'iconColor | loggedIn'>;
6
+ type ReducedAppHeaderProps = Omit<AppHeaderProps, 'logoProps' | 'iconColor' | 'loggedIn' | 'themeProps'>;
7
7
  interface UserInfo {
8
8
  name: string;
9
9
  email: string;
@@ -1,17 +1,17 @@
1
1
  import { jsx as a, jsxs as T, Fragment as fe } from "react/jsx-runtime";
2
2
  import * as x from "react";
3
- import { useState as Y } from "react";
4
- import { c as ee } from "../.chunks/createSvgIcon.js";
5
- import { n as v, i as oe } from "../.chunks/emotion-styled.browser.esm.js";
3
+ import { useState as G } from "react";
4
+ import { c as q } from "../.chunks/createSvgIcon.js";
5
+ import { n as v, i as ee } from "../.chunks/emotion-styled.browser.esm.js";
6
6
  import { c as R } from "../.chunks/emotion-react.browser.esm.js";
7
7
  import Ae from "../AppHeader/AppHeader.js";
8
8
  import { Nav as F } from "../Nav/Nav.js";
9
- import _ from "../ScrollContainer/ScrollContainer.js";
10
- import { Button as Z } from "../Button/Button.js";
9
+ import Y from "../ScrollContainer/ScrollContainer.js";
10
+ import { Button as K } from "../Button/Button.js";
11
11
  import i from "../theme.js";
12
12
  import { l as je } from "../.chunks/jocologo.js";
13
13
  import { X as Ue } from "../.chunks/Close.js";
14
- import { P as r, g as Fe, a as Ve, s as ce, r as We, c as q, u as Qe, b as J, d as Xe } from "../.chunks/DefaultPropsProvider.js";
14
+ import { P as r, g as Fe, a as Ve, s as ce, r as We, c as Z, u as Qe, b as _, d as Xe } from "../.chunks/DefaultPropsProvider.js";
15
15
  import { u as Ge, e as Ye, H as _e, a as ke, g as Je, T as Ke, r as Ze, b as me, c as qe } from "../.chunks/Portal.js";
16
16
  import { m as Ce } from "../.chunks/memoTheme.js";
17
17
  import { g as eo, o as Te, d as oo, M as to, P as ro, i as no } from "../.chunks/TextField.js";
@@ -95,7 +95,7 @@ function ho(e, o, t) {
95
95
  function Pe(e) {
96
96
  return typeof e == "function" ? e() : e;
97
97
  }
98
- function K(e, o, t) {
98
+ function J(e, o, t) {
99
99
  const n = Pe(t), c = ho(e, o, n);
100
100
  c && (o.style.webkitTransform = c, o.style.transform = c);
101
101
  }
@@ -128,7 +128,7 @@ const Ee = /* @__PURE__ */ x.forwardRef(function(o, t) {
128
128
  } = o, d = x.useRef(null), w = so(Je(p), d, t), k = (s) => (g) => {
129
129
  s && (g === void 0 ? s(d.current) : s(d.current, g));
130
130
  }, y = k((s, g) => {
131
- K(h, s, b), Ze(s), A && A(s, g);
131
+ J(h, s, b), Ze(s), A && A(s, g);
132
132
  }), m = k((s, g) => {
133
133
  const W = me({
134
134
  timeout: H,
@@ -142,7 +142,7 @@ const Ee = /* @__PURE__ */ x.forwardRef(function(o, t) {
142
142
  }), s.style.transition = n.transitions.create("transform", {
143
143
  ...W
144
144
  }), s.style.webkitTransform = "none", s.style.transform = "none", j && j(s, g);
145
- }), S = k(z), U = k(M), X = k((s) => {
145
+ }), S = k(z), U = k(M), oe = k((s) => {
146
146
  const g = me({
147
147
  timeout: H,
148
148
  style: L,
@@ -150,19 +150,19 @@ const Ee = /* @__PURE__ */ x.forwardRef(function(o, t) {
150
150
  }, {
151
151
  mode: "exit"
152
152
  });
153
- s.style.webkitTransition = n.transitions.create("-webkit-transform", g), s.style.transition = n.transitions.create("transform", g), K(h, s, b), E && E(s);
153
+ s.style.webkitTransition = n.transitions.create("-webkit-transform", g), s.style.transition = n.transitions.create("transform", g), J(h, s, b), E && E(s);
154
154
  }), te = k((s) => {
155
155
  s.style.webkitTransition = "", s.style.transition = "", N && N(s);
156
156
  }), re = (s) => {
157
157
  u && u(d.current, s);
158
158
  }, D = x.useCallback(() => {
159
- d.current && K(h, d.current, b);
159
+ d.current && J(h, d.current, b);
160
160
  }, [h, b]);
161
161
  return x.useEffect(() => {
162
162
  if (P || h === "down" || h === "right")
163
163
  return;
164
164
  const s = oo(() => {
165
- d.current && K(h, d.current, b);
165
+ d.current && J(h, d.current, b);
166
166
  }), g = Te(d.current);
167
167
  return g.addEventListener("resize", s), () => {
168
168
  s.clear(), g.removeEventListener("resize", s);
@@ -174,7 +174,7 @@ const Ee = /* @__PURE__ */ x.forwardRef(function(o, t) {
174
174
  onEnter: y,
175
175
  onEntered: S,
176
176
  onEntering: m,
177
- onExit: X,
177
+ onExit: oe,
178
178
  onExited: te,
179
179
  onExiting: U,
180
180
  addEndListener: re,
@@ -313,7 +313,7 @@ const Me = (e, o) => {
313
313
  root: ["root"],
314
314
  docked: [(n === "permanent" || n === "persistent") && "docked"],
315
315
  modal: ["modal"],
316
- paper: ["paper", `paperAnchor${q(t)}`, n !== "temporary" && `paperAnchorDocked${q(t)}`]
316
+ paper: ["paper", `paperAnchor${Z(t)}`, n !== "temporary" && `paperAnchorDocked${Z(t)}`]
317
317
  };
318
318
  return Xe(c, uo, o);
319
319
  }, mo = ce(to, {
@@ -339,7 +339,7 @@ const Me = (e, o) => {
339
339
  const {
340
340
  ownerState: t
341
341
  } = e;
342
- return [o.paper, o[`paperAnchor${q(t.anchor)}`], t.variant !== "temporary" && o[`paperAnchorDocked${q(t.anchor)}`]];
342
+ return [o.paper, o[`paperAnchor${Z(t.anchor)}`], t.variant !== "temporary" && o[`paperAnchorDocked${Z(t.anchor)}`]];
343
343
  }
344
344
  })(Ce(({
345
345
  theme: e
@@ -483,13 +483,13 @@ const V = /* @__PURE__ */ x.forwardRef(function(o, t) {
483
483
  elevation: O === "temporary" ? $ : 0,
484
484
  square: !0,
485
485
  ...N,
486
- className: J(m.paper, N.className),
486
+ className: _(m.paper, N.className),
487
487
  ownerState: y,
488
488
  children: b
489
489
  });
490
490
  if (O === "permanent")
491
491
  return /* @__PURE__ */ a(be, {
492
- className: J(m.root, m.docked, h),
492
+ className: _(m.root, m.docked, h),
493
493
  ownerState: y,
494
494
  ref: t,
495
495
  ...B,
@@ -504,7 +504,7 @@ const V = /* @__PURE__ */ x.forwardRef(function(o, t) {
504
504
  children: S
505
505
  });
506
506
  return O === "persistent" ? /* @__PURE__ */ a(be, {
507
- className: J(m.root, m.docked, h),
507
+ className: _(m.root, m.docked, h),
508
508
  ownerState: y,
509
509
  ref: t,
510
510
  ...B,
@@ -515,7 +515,7 @@ const V = /* @__PURE__ */ x.forwardRef(function(o, t) {
515
515
  ...A,
516
516
  transitionDuration: H
517
517
  },
518
- className: J(m.root, m.modal, h),
518
+ className: _(m.root, m.modal, h),
519
519
  open: E,
520
520
  ownerState: y,
521
521
  onClose: j,
@@ -612,16 +612,16 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
612
612
  */
613
613
  variant: r.oneOf(["permanent", "persistent", "temporary"])
614
614
  });
615
- const xe = ee(/* @__PURE__ */ a("path", {
615
+ const xe = q(/* @__PURE__ */ a("path", {
616
616
  d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
617
- }), "ArrowForward"), vo = ee(/* @__PURE__ */ a("path", {
617
+ }), "ArrowForward"), vo = q(/* @__PURE__ */ a("path", {
618
618
  d: "m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"
619
- }), "Logout"), ve = ee(/* @__PURE__ */ a("path", {
619
+ }), "Logout"), ve = q(/* @__PURE__ */ a("path", {
620
620
  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"
621
- }), "Cancel"), wo = ee(/* @__PURE__ */ a("path", {
621
+ }), "Cancel"), wo = q(/* @__PURE__ */ a("path", {
622
622
  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"
623
623
  }), "MoreHoriz"), yo = v("div", {
624
- shouldForwardProp: (e) => oe(e)
624
+ shouldForwardProp: (e) => ee(e)
625
625
  })(({ backgroundColor: e }) => ({
626
626
  display: "flex",
627
627
  flexDirection: "column",
@@ -644,7 +644,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
644
644
  minHeight: `calc(100% - ${i.constants.appHeaderHeight}px)`
645
645
  })
646
646
  ), Co = v("div", {
647
- shouldForwardProp: (e) => oe(e)
647
+ shouldForwardProp: (e) => ee(e)
648
648
  })(({ withActionsPanel: e, tablet: o, borderColor: t, backgroundColor: n }) => ({
649
649
  display: "flex",
650
650
  flexDirection: "column",
@@ -688,7 +688,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
688
688
  }
689
689
  `
690
690
  })
691
- ), we = v(Z)(({ iconColor: e, highlight1: o, highlight2: t, rightDrawer: n = !1 }) => ({
691
+ ), we = v(K)(({ iconColor: e, highlight1: o, highlight2: t, rightDrawer: n = !1 }) => ({
692
692
  ...R`
693
693
  position: absolute;
694
694
  top: -0.5rem;
@@ -713,7 +713,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
713
713
  }
714
714
  `
715
715
  })), $o = v("div", {
716
- shouldForwardProp: (e) => oe(e)
716
+ shouldForwardProp: (e) => ee(e)
717
717
  })(({ withActionsPanel: e, borderColor: o, backgroundColor: t, mobileScreen: n }) => ({
718
718
  display: "flex",
719
719
  overflow: "hidden",
@@ -776,7 +776,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
776
776
  }
777
777
  `
778
778
  })), Mo = v("div", {
779
- shouldForwardProp: (e) => oe(e)
779
+ shouldForwardProp: (e) => ee(e)
780
780
  })(({ backgroundColor: e, open: o }) => ({
781
781
  ...R`
782
782
  position: fixed;
@@ -830,7 +830,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
830
830
  justify-content: ${e ? "start" : "space-between"};
831
831
  padding: 8px 16px 8px 24px;
832
832
  `
833
- })), Do = v(V)(({ backgroundQuaternary: e }) => ({
833
+ })), Do = v(V)(() => ({
834
834
  ...R`
835
835
  top: ${i.constants.appHeaderHeight}px;
836
836
  font-family: 'Roboto';
@@ -841,7 +841,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
841
841
  box-sizing: border-box;
842
842
  top: ${i.constants.appHeaderHeight}px;
843
843
  height: calc(100vh - ${i.constants.appHeaderHeight}px);
844
- background-image: linear-gradient(to bottom right, ${i.colors.oldPaper}, ${e});
844
+ background-color: ${i.colors.white};
845
845
  box-shadow: 0 3px 6px 3px ${i.colors.gray};
846
846
  padding: 0;
847
847
  overflow: visible;
@@ -867,19 +867,19 @@ const xe = ee(/* @__PURE__ */ a("path", {
867
867
  loggedIn: $,
868
868
  mobileActionsPanelOpen: P
869
869
  }) => {
870
- const [A, z] = Y(!1), [j, E] = Y(!1), [N, M] = Y(!1), [L, H] = Y(!1), { mobile: O = i.screenSizes.mobile, tablet: B = i.screenSizes.tablet } = f, d = ge(`(max-width: ${O})`), w = ge(`(max-width: ${B})`) && !d, k = !d && !w, {
870
+ const [A, z] = G(!1), [j, E] = G(!1), [N, M] = G(!1), [L, H] = G(!1), { mobile: O = i.screenSizes.mobile, tablet: B = i.screenSizes.tablet } = f, d = ge(`(max-width: ${O})`), w = ge(`(max-width: ${B})`) && !d, k = !d && !w, {
871
871
  backgroundPrimary: y = i.colors.whiteGreen,
872
872
  backgroundSecondary: m = i.colors.whiteGreenA,
873
873
  backgroundTertiary: S = i.colors.sage,
874
874
  highlightPrimary: U = i.colors.sunlight,
875
- backgroundQuaternary: X = i.colors.moss,
875
+ backgroundQuaternary: oe = i.colors.moss,
876
876
  highlightSecondary: te = i.colors.dandelion,
877
877
  highlightTertiary: re = `${i.colors.dandelion}99`,
878
878
  iconPrimary: D = i.colors.darkGreen,
879
879
  shadowPrimary: s = i.colors.darkGreenO99,
880
880
  shadowSecondary: g = i.boxShadows.darkGreen,
881
881
  shadowTertiary: W = i.boxShadows.darkGreenThick,
882
- borderPrimary: G = i.colors.green,
882
+ borderPrimary: X = i.colors.green,
883
883
  scrollColor: I = i.colors.darkGreenO99,
884
884
  iconColors: Re
885
885
  } = b, { logoSrc: le = je, logoWidth: pe = 36, logoHeight: de = 50 } = h, Se = {
@@ -889,7 +889,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
889
889
  highlightPrimary: U,
890
890
  highlightSecondary: te,
891
891
  highlightTertiary: re,
892
- borderPrimary: G,
892
+ borderPrimary: X,
893
893
  iconPrimary: D,
894
894
  shadowPrimary: s,
895
895
  shadowSecondary: g,
@@ -953,7 +953,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
953
953
  logoProps: De,
954
954
  iconColor: D,
955
955
  isMobile: d,
956
- themeProps: { shadowSecondary: g, shadowTertiary: W, iconPrimary: D, borderPrimary: G },
956
+ themeProps: { shadowSecondary: g, shadowTertiary: W, iconPrimary: D, borderPrimary: X },
957
957
  iconColors: Re,
958
958
  userName: t == null ? void 0 : t.name,
959
959
  userSettingsEnabled: n
@@ -984,7 +984,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
984
984
  children: [
985
985
  /* @__PURE__ */ T(ye, { children: [
986
986
  /* @__PURE__ */ a(So, { src: le, alt: "logo", width: pe, height: de }),
987
- /* @__PURE__ */ a(Z, { variant: "icon", size: 36, onClick: () => z(!1), color: D, children: /* @__PURE__ */ a(Ue, {}) })
987
+ /* @__PURE__ */ a(K, { variant: "icon", size: 36, onClick: () => z(!1), color: D, children: /* @__PURE__ */ a(Ue, {}) })
988
988
  ] }),
989
989
  /* @__PURE__ */ a(F, { ...ae })
990
990
  ]
@@ -1010,7 +1010,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
1010
1010
  children: /* @__PURE__ */ a(ve, {})
1011
1011
  }
1012
1012
  ),
1013
- /* @__PURE__ */ a(_, { scrollColor: I, direction: "vertical", children: l && l })
1013
+ /* @__PURE__ */ a(Y, { scrollColor: I, direction: "vertical", children: l && l })
1014
1014
  ]
1015
1015
  }
1016
1016
  ),
@@ -1020,7 +1020,6 @@ const xe = ee(/* @__PURE__ */ a("path", {
1020
1020
  anchor: "right",
1021
1021
  open: N,
1022
1022
  onClose: () => M(!1),
1023
- backgroundQuaternary: X,
1024
1023
  children: [
1025
1024
  /* @__PURE__ */ a(
1026
1025
  we,
@@ -1029,7 +1028,7 @@ const xe = ee(/* @__PURE__ */ a("path", {
1029
1028
  size: 24,
1030
1029
  onClick: () => M(!1),
1031
1030
  iconColor: i.colors.midnight,
1032
- highlight1: i.colors.sunlight,
1031
+ highlight1: i.colors.white,
1033
1032
  highlight2: m,
1034
1033
  rightDrawer: !0,
1035
1034
  children: /* @__PURE__ */ a(ve, {})
@@ -1059,12 +1058,12 @@ const xe = ee(/* @__PURE__ */ a("path", {
1059
1058
  anchor: "right",
1060
1059
  open: N,
1061
1060
  onClose: () => M(!1),
1062
- backgroundQuaternary: X,
1061
+ backgroundQuaternary: oe,
1063
1062
  children: [
1064
1063
  /* @__PURE__ */ T(ye, { children: [
1065
1064
  /* @__PURE__ */ a(Ho, { color: i.colors.midnight, children: "Settings" }),
1066
1065
  /* @__PURE__ */ a(
1067
- Z,
1066
+ K,
1068
1067
  {
1069
1068
  variant: "icon",
1070
1069
  size: 36,
@@ -1091,19 +1090,19 @@ const xe = ee(/* @__PURE__ */ a("path", {
1091
1090
  ]
1092
1091
  }
1093
1092
  ),
1094
- /* @__PURE__ */ a(Mo, { backgroundColor: S, open: P, children: /* @__PURE__ */ a(_, { scrollColor: I, direction: "vertical", children: l }) })
1093
+ /* @__PURE__ */ a(Mo, { backgroundColor: S, open: P, children: /* @__PURE__ */ a(Y, { scrollColor: I, direction: "vertical", children: l }) })
1095
1094
  ] }),
1096
1095
  !d && /* @__PURE__ */ T(
1097
1096
  Co,
1098
1097
  {
1099
1098
  withActionsPanel: ne,
1100
1099
  tablet: w,
1101
- borderColor: G,
1100
+ borderColor: X,
1102
1101
  backgroundColor: S,
1103
1102
  children: [
1104
- k && /* @__PURE__ */ a(_, { scrollColor: I, direction: "vertical", children: l && l }),
1103
+ k && /* @__PURE__ */ a(Y, { scrollColor: I, direction: "vertical", children: l && l }),
1105
1104
  w && /* @__PURE__ */ a(
1106
- Z,
1105
+ K,
1107
1106
  {
1108
1107
  variant: "icon",
1109
1108
  size: 36,
@@ -1119,10 +1118,10 @@ const xe = ee(/* @__PURE__ */ a("path", {
1119
1118
  $o,
1120
1119
  {
1121
1120
  withActionsPanel: ne,
1122
- borderColor: G,
1121
+ borderColor: X,
1123
1122
  backgroundColor: y,
1124
1123
  mobileScreen: d,
1125
- children: /* @__PURE__ */ a(_, { scrollColor: I, children: p })
1124
+ children: /* @__PURE__ */ a(Y, { scrollColor: I, children: p })
1126
1125
  }
1127
1126
  )
1128
1127
  ] })
@@ -1,3 +1,4 @@
1
+ import { SearchFilterProps } from '../../../../../../../../../src/components/composite/Search';
1
2
  import { IconProps } from '../../../../../../../../../src/components/base/Icon';
2
3
  import { TemplateThemeProps } from '../../../../../../../../../src/components/theme';
3
4
  export interface CustomLogoProps {
@@ -20,6 +21,7 @@ export interface AppHeaderProps {
20
21
  iconColors?: IconProps;
21
22
  userName?: string;
22
23
  userSettingsEnabled?: boolean;
24
+ searchFilters?: SearchFilterProps[];
23
25
  }
24
26
  declare const AppHeader: React.FC<AppHeaderProps>;
25
27
  export default AppHeader;
@@ -1,56 +1,56 @@
1
- import { jsx as t, jsxs as x } from "react/jsx-runtime";
2
- import * as k from "react";
3
- import G, { useState as $, useLayoutEffect as J } from "react";
4
- import { n as h } from "../.chunks/emotion-styled.browser.esm.js";
1
+ import { jsx as t, jsxs as w } from "react/jsx-runtime";
2
+ import * as W from "react";
3
+ import J, { useState as $, useLayoutEffect as K } from "react";
4
+ import { n as f } from "../.chunks/emotion-styled.browser.esm.js";
5
5
  import { c as m } from "../.chunks/emotion-react.browser.esm.js";
6
- import { Search as M } from "../Search/Search.js";
7
- import { Button as E } from "../Button/Button.js";
8
- import H from "../Icon/Icon.js";
9
- import K from "../WithLabel/WithLabel.js";
10
- import { c as j } from "../.chunks/createSvgIcon.js";
11
- const N = G[typeof document < "u" && document.createElement !== void 0 ? "useLayoutEffect" : "useEffect"], Q = (e) => {
12
- const n = k.useRef(e);
13
- return k.useEffect(() => {
6
+ import { Search as k } from "../Search/Search.js";
7
+ import { Button as M } from "../Button/Button.js";
8
+ import E from "../Icon/Icon.js";
9
+ import N from "../WithLabel/WithLabel.js";
10
+ import { c as A } from "../.chunks/createSvgIcon.js";
11
+ const Q = J[typeof document < "u" && document.createElement !== void 0 ? "useLayoutEffect" : "useEffect"], X = (e) => {
12
+ const n = W.useRef(e);
13
+ return W.useEffect(() => {
14
14
  n.current = e;
15
15
  }), n;
16
16
  };
17
- function X() {
17
+ function Y() {
18
18
  }
19
- function Y(e, n, l = {}) {
20
- const c = ee(l.polyfill), u = Q(n);
21
- return N(() => {
19
+ function Z(e, n, l = {}) {
20
+ const c = te(l.polyfill), a = X(n);
21
+ return Q(() => {
22
22
  let i = !1;
23
23
  const d = e && "current" in e ? e.current : e;
24
- if (!d) return X;
24
+ if (!d) return Y;
25
25
  function r(o, s) {
26
- i || u.current(o, s);
26
+ i || a.current(o, s);
27
27
  }
28
28
  return c.subscribe(d, r), () => {
29
29
  i = !0, c.unsubscribe(d, r);
30
30
  };
31
- }, [e, c, u]), c.observer;
31
+ }, [e, c, a]), c.observer;
32
32
  }
33
- function Z(e) {
33
+ function ee(e) {
34
34
  let n = !1, l = [];
35
- const c = /* @__PURE__ */ new Map(), u = new (e || window.ResizeObserver)((i, d) => {
35
+ const c = /* @__PURE__ */ new Map(), a = new (e || window.ResizeObserver)((i, d) => {
36
36
  l = l.concat(i);
37
37
  function r() {
38
38
  const o = /* @__PURE__ */ new Set();
39
39
  for (let s = 0; s < l.length; s++) {
40
40
  if (o.has(l[s].target)) continue;
41
41
  o.add(l[s].target);
42
- const a = c.get(l[s].target);
43
- a == null || a.forEach((w) => w(l[s], d));
42
+ const h = c.get(l[s].target);
43
+ h == null || h.forEach((b) => b(l[s], d));
44
44
  }
45
45
  l = [], n = !1;
46
46
  }
47
47
  n || window.requestAnimationFrame(r), n = !0;
48
48
  });
49
49
  return {
50
- observer: u,
50
+ observer: a,
51
51
  subscribe(i, d) {
52
52
  var r;
53
- u.observe(i);
53
+ a.observe(i);
54
54
  const o = (r = c.get(i)) !== null && r !== void 0 ? r : [];
55
55
  o.push(d), c.set(i, o);
56
56
  },
@@ -58,7 +58,7 @@ function Z(e) {
58
58
  var r;
59
59
  const o = (r = c.get(i)) !== null && r !== void 0 ? r : [];
60
60
  if (o.length === 1) {
61
- u.unobserve(i), c.delete(i);
61
+ a.unobserve(i), c.delete(i);
62
62
  return;
63
63
  }
64
64
  const s = o.indexOf(d);
@@ -67,11 +67,11 @@ function Z(e) {
67
67
  };
68
68
  }
69
69
  let y;
70
- const ee = (e) => y || (y = Z(e)), te = j(/* @__PURE__ */ t("path", {
70
+ const te = (e) => y || (y = ee(e)), ne = A(/* @__PURE__ */ t("path", {
71
71
  d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
72
- }), "Menu"), I = j(/* @__PURE__ */ t("path", {
72
+ }), "Menu"), H = A(/* @__PURE__ */ t("path", {
73
73
  d: "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4"
74
- }), "PersonOutlineOutlined"), L = h("div")(
74
+ }), "PersonOutlineOutlined"), I = f("div")(
75
75
  ({ mobile: e, shadowSecondary: n }) => ({
76
76
  ...m`
77
77
  z-index: 1313;
@@ -85,15 +85,15 @@ const ee = (e) => y || (y = Z(e)), te = j(/* @__PURE__ */ t("path", {
85
85
  box-shadow: ${e && n};
86
86
  `
87
87
  })
88
- ), R = h("img")(({ width: e }) => ({
88
+ ), L = f("img")(({ width: e }) => ({
89
89
  width: `${e}px`
90
- })), _ = h("div")(({ height: e }) => ({
90
+ })), R = f("div")(({ height: e }) => ({
91
91
  ...m`
92
92
  display: flex;
93
93
  gap: 1rem;
94
94
  height: ${e}px;
95
95
  `
96
- })), ne = h("div")(({ width: e, loggedIn: n }) => ({
96
+ })), ie = f("div")(({ width: e, loggedIn: n }) => ({
97
97
  ...m`
98
98
  width: ${e}px;
99
99
  display: flex;
@@ -105,14 +105,14 @@ const ee = (e) => y || (y = Z(e)), te = j(/* @__PURE__ */ t("path", {
105
105
  white-space: nowrap;
106
106
  }
107
107
  `
108
- })), P = h("div")(({ visible: e }) => ({
108
+ })), _ = f("div")(({ visible: e }) => ({
109
109
  ...m`
110
110
  z-index: ${e ? 1 : 0};
111
111
  opacity: ${e ? 1 : 0};
112
112
  pointer-events: ${e ? "auto" : "none"};
113
113
  position: ${e ? "relative" : "absolute"};
114
114
  `
115
- })), A = h("div")(() => ({
115
+ })), P = f("div")(() => ({
116
116
  ...m`
117
117
  display: flex;
118
118
  width: 1360px;
@@ -121,66 +121,74 @@ const ee = (e) => y || (y = Z(e)), te = j(/* @__PURE__ */ t("path", {
121
121
  width: 100%;
122
122
  }
123
123
  `
124
- })), fe = ({
124
+ })), he = ({
125
125
  isMobile: e,
126
126
  loggedIn: n,
127
127
  logoProps: l,
128
128
  iconColor: c,
129
- themeProps: u,
129
+ themeProps: a,
130
130
  hamburgerMenu: i,
131
131
  iconColors: d,
132
132
  userName: r = "User",
133
133
  userSettingsEnabled: o,
134
- onHamburgerMenuClick: s,
135
- onUserMenuClick: a,
136
- onLogin: w,
137
- onSearch: z = () => {
134
+ searchFilters: s,
135
+ onHamburgerMenuClick: h,
136
+ onUserMenuClick: b,
137
+ onLogin: j,
138
+ onSearch: V = () => {
138
139
  }
139
140
  }) => {
140
- const [b, C] = $(0), [f, V] = $(null), [v, F] = $(null), { logoSrc: O, logoWidth: S, logoHeight: g } = l, { shadowSecondary: U, shadowTertiary: B, iconPrimary: q, borderPrimary: T } = u, W = { shadowTertiary: B, borderColor: T, borderFocusColor: q };
141
- J(() => {
142
- f && f.clientWidth > b && C(f.clientWidth), v && v.clientWidth > b && C(v.clientWidth);
143
- }, [f, v]);
144
- const D = (p) => {
145
- p != null && p.clientWidth && p.clientWidth > b && C(p.clientWidth);
141
+ const [v, C] = $(0), [u, F] = $(null), [g, U] = $(null), { logoSrc: z, logoWidth: O, logoHeight: x } = l, { shadowSecondary: B, shadowTertiary: q, iconPrimary: T, borderPrimary: D } = a, S = {
142
+ shadowTertiary: q,
143
+ borderColor: D,
144
+ borderFocusColor: T,
145
+ filters: s,
146
+ onSearch: V,
147
+ placeholder: "Search..."
146
148
  };
147
- return Y(f, () => D(f)), e ? /* @__PURE__ */ x(L, { mobile: !0, shadowSecondary: U, children: [
148
- /* @__PURE__ */ t(_, { height: g, children: /* @__PURE__ */ t(R, { src: O, height: `${g}px`, width: S }) }),
149
- /* @__PURE__ */ t(A, { children: /* @__PURE__ */ t(M, { onSearch: z, ...W, placeholder: "Search..." }) }),
149
+ K(() => {
150
+ u && u.clientWidth > v && C(u.clientWidth), g && g.clientWidth > v && C(g.clientWidth);
151
+ }, [u, g]);
152
+ const G = (p) => {
153
+ p != null && p.clientWidth && p.clientWidth > v && C(p.clientWidth);
154
+ };
155
+ return Z(u, () => G(u)), e ? /* @__PURE__ */ w(I, { mobile: !0, shadowSecondary: B, children: [
156
+ /* @__PURE__ */ t(R, { height: x, children: /* @__PURE__ */ t(L, { src: z, height: `${x}px`, width: O }) }),
157
+ /* @__PURE__ */ t(P, { children: /* @__PURE__ */ t(k, { ...S }) }),
150
158
  /* @__PURE__ */ t(
151
- H,
159
+ E,
152
160
  {
153
- icon: /* @__PURE__ */ t(I, {}),
161
+ icon: /* @__PURE__ */ t(H, {}),
154
162
  ...d,
155
- onClick: o ? a : void 0
163
+ onClick: o ? b : void 0
156
164
  }
157
165
  )
158
- ] }) : /* @__PURE__ */ x(L, { children: [
159
- /* @__PURE__ */ x(_, { height: g, children: [
160
- /* @__PURE__ */ t(R, { src: O, height: `${g}px`, width: S }),
161
- i && /* @__PURE__ */ t(E, { variant: "icon", onClick: s, color: c, children: /* @__PURE__ */ t(te, {}) })
166
+ ] }) : /* @__PURE__ */ w(I, { children: [
167
+ /* @__PURE__ */ w(R, { height: x, children: [
168
+ /* @__PURE__ */ t(L, { src: z, height: `${x}px`, width: O }),
169
+ i && /* @__PURE__ */ t(M, { variant: "icon", onClick: h, color: c, children: /* @__PURE__ */ t(ne, {}) })
162
170
  ] }),
163
- /* @__PURE__ */ t(A, { children: /* @__PURE__ */ t(M, { onSearch: z, ...W, placeholder: "Search..." }) }),
164
- /* @__PURE__ */ x(ne, { width: b, loggedIn: !!n, children: [
165
- /* @__PURE__ */ t(P, { visible: !!n, ref: V, children: /* @__PURE__ */ t(
166
- K,
171
+ /* @__PURE__ */ t(P, { children: /* @__PURE__ */ t(k, { ...S }) }),
172
+ /* @__PURE__ */ w(ie, { width: v, loggedIn: !!n, children: [
173
+ /* @__PURE__ */ t(_, { visible: !!n, ref: F, children: /* @__PURE__ */ t(
174
+ N,
167
175
  {
168
176
  id: "accountMenuContainer",
169
177
  component: /* @__PURE__ */ t(
170
- H,
178
+ E,
171
179
  {
172
- icon: /* @__PURE__ */ t(I, {}),
180
+ icon: /* @__PURE__ */ t(H, {}),
173
181
  ...d,
174
- onClick: o ? a : void 0
182
+ onClick: o ? b : void 0
175
183
  }
176
184
  ),
177
185
  label: `Hi, ${r}!`
178
186
  }
179
187
  ) }),
180
- /* @__PURE__ */ t(P, { visible: !n, ref: F, children: /* @__PURE__ */ t(E, { id: "loginButtonContainer", onClick: w, children: "Log In" }) })
188
+ /* @__PURE__ */ t(_, { visible: !n, ref: U, children: /* @__PURE__ */ t(M, { id: "loginButtonContainer", onClick: j, children: "Log In" }) })
181
189
  ] })
182
190
  ] });
183
191
  };
184
192
  export {
185
- fe as default
193
+ he as default
186
194
  };
@@ -1,9 +1,10 @@
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';
3
+ variant?: 1 | 2 | 'unstyled' | 'icon' | 'bibi' | 'bibiOutlined' | 'bibiInverse' | 'filter';
4
4
  size?: number;
5
5
  color?: string;
6
6
  highlightColor?: string;
7
+ active?: boolean;
7
8
  }
8
9
  export declare const Button: React.FC<ButtonProps & {
9
10
  children: React.ReactNode;