qaema-ui 0.0.61 → 0.0.62

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.
Files changed (63) hide show
  1. package/dist/_virtual/index.js +5 -5
  2. package/dist/_virtual/index2.js +4 -4
  3. package/dist/_virtual/index3.js +5 -5
  4. package/dist/_virtual/index4.js +4 -4
  5. package/dist/components/Badge.js +1 -1
  6. package/dist/components/PageHeader.js +4 -4
  7. package/dist/components/SearchBar.js +10 -9
  8. package/dist/components/Sidemenu.js +58 -51
  9. package/dist/components/StatCard.js +1 -1
  10. package/dist/components/Table/Table.js +104 -100
  11. package/dist/components/Table/Table.styles.d.ts +4 -2
  12. package/dist/components/Table/Table.styles.js +49 -36
  13. package/dist/components/Table/Table.types.d.ts +1 -0
  14. package/dist/node_modules/react-bootstrap/esm/Alert.js +1 -1
  15. package/dist/node_modules/react-bootstrap/esm/AlertHeading.js +1 -1
  16. package/dist/node_modules/react-bootstrap/esm/AlertLink.js +1 -1
  17. package/dist/node_modules/react-bootstrap/esm/Button.js +1 -1
  18. package/dist/node_modules/react-bootstrap/esm/CloseButton.js +2 -2
  19. package/dist/node_modules/react-bootstrap/esm/Col.js +1 -1
  20. package/dist/node_modules/react-bootstrap/esm/Collapse.js +1 -1
  21. package/dist/node_modules/react-bootstrap/esm/Dropdown.js +1 -1
  22. package/dist/node_modules/react-bootstrap/esm/DropdownDivider.js +1 -1
  23. package/dist/node_modules/react-bootstrap/esm/DropdownHeader.js +1 -1
  24. package/dist/node_modules/react-bootstrap/esm/DropdownItem.js +1 -1
  25. package/dist/node_modules/react-bootstrap/esm/DropdownItemText.js +1 -1
  26. package/dist/node_modules/react-bootstrap/esm/DropdownMenu.js +1 -1
  27. package/dist/node_modules/react-bootstrap/esm/DropdownToggle.js +1 -1
  28. package/dist/node_modules/react-bootstrap/esm/Fade.js +1 -1
  29. package/dist/node_modules/react-bootstrap/esm/Feedback.js +2 -2
  30. package/dist/node_modules/react-bootstrap/esm/FloatingLabel.js +1 -1
  31. package/dist/node_modules/react-bootstrap/esm/Form.js +2 -2
  32. package/dist/node_modules/react-bootstrap/esm/FormCheck.js +1 -1
  33. package/dist/node_modules/react-bootstrap/esm/FormCheckInput.js +1 -1
  34. package/dist/node_modules/react-bootstrap/esm/FormCheckLabel.js +1 -1
  35. package/dist/node_modules/react-bootstrap/esm/FormControl.js +1 -1
  36. package/dist/node_modules/react-bootstrap/esm/FormFloating.js +1 -1
  37. package/dist/node_modules/react-bootstrap/esm/FormLabel.js +1 -1
  38. package/dist/node_modules/react-bootstrap/esm/FormRange.js +1 -1
  39. package/dist/node_modules/react-bootstrap/esm/FormSelect.js +1 -1
  40. package/dist/node_modules/react-bootstrap/esm/FormText.js +1 -1
  41. package/dist/node_modules/react-bootstrap/esm/Image.js +2 -2
  42. package/dist/node_modules/react-bootstrap/esm/Nav.js +1 -1
  43. package/dist/node_modules/react-bootstrap/esm/NavItem.js +1 -1
  44. package/dist/node_modules/react-bootstrap/esm/NavLink.js +1 -1
  45. package/dist/node_modules/react-bootstrap/esm/Navbar.js +1 -1
  46. package/dist/node_modules/react-bootstrap/esm/NavbarBrand.js +1 -1
  47. package/dist/node_modules/react-bootstrap/esm/NavbarText.js +1 -1
  48. package/dist/node_modules/react-bootstrap/esm/NavbarToggle.js +1 -1
  49. package/dist/node_modules/react-bootstrap/esm/Offcanvas.js +1 -1
  50. package/dist/node_modules/react-bootstrap/esm/OffcanvasBody.js +1 -1
  51. package/dist/node_modules/react-bootstrap/esm/OffcanvasHeader.js +1 -1
  52. package/dist/node_modules/react-bootstrap/esm/OffcanvasTitle.js +1 -1
  53. package/dist/node_modules/react-bootstrap/esm/OffcanvasToggling.js +1 -1
  54. package/dist/node_modules/react-bootstrap/esm/Toast.js +1 -1
  55. package/dist/node_modules/react-bootstrap/esm/ToastBody.js +1 -1
  56. package/dist/node_modules/react-bootstrap/esm/ToastHeader.js +1 -1
  57. package/dist/node_modules/react-bootstrap/esm/divWithClassName.js +1 -1
  58. package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
  59. package/dist/node_modules/react-icons/fi/index.js +5 -1
  60. package/dist/node_modules/react-smooth/es6/Animate.js +1 -1
  61. package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
  62. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  63. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
- import { __require as t } from "../node_modules/react-helmet-async/node_modules/react-fast-compare/index.js";
3
- var a = t();
4
- const m = /* @__PURE__ */ r(a);
1
+ import { getDefaultExportFromCjs as s } from "./_commonjsHelpers.js";
2
+ import { __require as r } from "../node_modules/classnames/index.js";
3
+ var a = r();
4
+ const t = /* @__PURE__ */ s(a);
5
5
  export {
6
- m as default
6
+ t as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
- import { __require as o } from "../node_modules/shallowequal/index.js";
3
- var a = o();
4
- const t = /* @__PURE__ */ r(a);
2
+ import { __require as o } from "../node_modules/prop-types/index.js";
3
+ var p = /* @__PURE__ */ o();
4
+ const s = /* @__PURE__ */ r(p);
5
5
  export {
6
- t as default
6
+ s as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as s } from "./_commonjsHelpers.js";
2
- import { __require as r } from "../node_modules/classnames/index.js";
3
- var a = r();
4
- const t = /* @__PURE__ */ s(a);
1
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
+ import { __require as t } from "../node_modules/react-helmet-async/node_modules/react-fast-compare/index.js";
3
+ var a = t();
4
+ const m = /* @__PURE__ */ r(a);
5
5
  export {
6
- t as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
- import { __require as o } from "../node_modules/prop-types/index.js";
3
- var p = /* @__PURE__ */ o();
4
- const s = /* @__PURE__ */ r(p);
2
+ import { __require as o } from "../node_modules/shallowequal/index.js";
3
+ var a = o();
4
+ const t = /* @__PURE__ */ r(a);
5
5
  export {
6
- s as default
6
+ t as default
7
7
  };
@@ -38,7 +38,7 @@ const u = i.div`
38
38
  const t = g(d ?? "default");
39
39
  return /* @__PURE__ */ e.jsxs(u, { bgColor: r, $variantStyles: t, children: [
40
40
  n && /* @__PURE__ */ e.jsx(f, { src: n, alt: "badge-image" }),
41
- s && /* @__PURE__ */ e.jsx(m, { variant: "span", color: o ?? t.color, weight: c, children: s }),
41
+ s && /* @__PURE__ */ e.jsx(m, { variant: "span", color: o ?? t.color, weight: c ?? "semiBold", children: s }),
42
42
  l,
43
43
  a && /* @__PURE__ */ e.jsx(h, { onClick: a, $variantStyles: t, children: /* @__PURE__ */ e.jsx(p, { color: o ?? t.color, size: "0.75rem" }) })
44
44
  ] });
@@ -18,21 +18,21 @@ const p = r.div`
18
18
  `, d = r.div`
19
19
  display: flex;
20
20
  align-items: center;
21
- `, u = ({ onHeaderBack: e, headerTitle: o, withRightIcon: s }) => {
22
- const a = c().dir === "rtl", i = s;
21
+ `, u = ({ onHeaderBack: e, headerTitle: s, withRightIcon: o }) => {
22
+ const a = c().dir === "rtl", i = o;
23
23
  return /* @__PURE__ */ t.jsxs(p, { children: [
24
24
  /* @__PURE__ */ t.jsxs(d, { children: [
25
25
  e && /* @__PURE__ */ t.jsx(
26
26
  n,
27
27
  {
28
- icon: /* @__PURE__ */ t.jsx(m, { style: a ? { transform: "rotate(180deg)" } : {} }),
28
+ icon: /* @__PURE__ */ t.jsx(m, { style: a ? { transform: "rotate(180deg)" } : {}, size: 20 }),
29
29
  onClick: e,
30
30
  onlyIcon: !0,
31
31
  size: "md",
32
32
  variant: "outline-primary"
33
33
  }
34
34
  ),
35
- /* @__PURE__ */ t.jsx(l, { variant: "h3", children: o })
35
+ /* @__PURE__ */ t.jsx(l, { variant: "h3", children: s })
36
36
  ] }),
37
37
  i && /* @__PURE__ */ t.jsx(n, { icon: /* @__PURE__ */ t.jsx(i, {}), onClick: e, onlyIcon: !0, size: "md", variant: "outline-primary" })
38
38
  ] });
@@ -1,12 +1,12 @@
1
1
  import { j as n } from "../_virtual/jsx-runtime.js";
2
2
  import { useState as c } from "react";
3
- import { FaSearch as f } from "../node_modules/react-icons/fa/index.js";
3
+ import { FaSearch as u } from "../node_modules/react-icons/fa/index.js";
4
4
  import a, { useTheme as y } from "styled-components";
5
5
  import { useQaemaCoreTranslation as x } from "../i18n/i18n.js";
6
6
  import { a as h } from "../node_modules/@react-spring/web/dist/react-spring_web.modern.js";
7
7
  import { useSpring as b } from "../node_modules/@react-spring/core/dist/react-spring_core.modern.js";
8
- import w from "../node_modules/react-bootstrap/esm/Button.js";
9
- import $ from "../node_modules/react-bootstrap/esm/Form.js";
8
+ import $ from "../node_modules/react-bootstrap/esm/Button.js";
9
+ import w from "../node_modules/react-bootstrap/esm/Form.js";
10
10
  const j = a(h.div)`
11
11
  display: flex;
12
12
  flex-direction: row;
@@ -17,14 +17,14 @@ const j = a(h.div)`
17
17
  background-color: ${({ theme: e }) => e.colors.grey.n50};
18
18
  overflow: hidden;
19
19
  height: 2rem;
20
- `, v = a(w)`
20
+ `, v = a($)`
21
21
  border: none;
22
22
  padding: 0 0.5rem;
23
23
  background-color: transparent;
24
24
  display: flex;
25
25
  align-items: center;
26
26
  justify-content: center;
27
- `, E = a($.Control)`
27
+ `, E = a(w.Control)`
28
28
  border: none;
29
29
  background-color: transparent;
30
30
  height: 2rem;
@@ -38,7 +38,8 @@ const j = a(h.div)`
38
38
  }
39
39
 
40
40
  &::placeholder {
41
- color: ${({ theme: e }) => e.colors.grey.n300};
41
+ color: ${({ theme: e }) => e.colors.grey.n350};
42
+ font-size: ${({ theme: e }) => e.typography.sizes.s3};
42
43
  }
43
44
  `, I = ({ placeholder: e, onSearch: r }) => {
44
45
  const i = y(), { t: p } = x(), [m, l] = c(!1), [o, d] = c(""), t = m || !!o, g = b({
@@ -46,7 +47,7 @@ const j = a(h.div)`
46
47
  paddingLeft: t ? i.spacing.s : "0rem",
47
48
  paddingRight: t ? i.spacing.s : "0rem",
48
49
  config: { tension: 250, friction: 20 }
49
- }), u = (s) => {
50
+ }), f = (s) => {
50
51
  s.key === "Enter" && r && r(o);
51
52
  };
52
53
  return /* @__PURE__ */ n.jsxs(j, { style: g, onMouseEnter: () => l(!0), onMouseLeave: () => l(!1), children: [
@@ -56,7 +57,7 @@ const j = a(h.div)`
56
57
  onClick: () => {
57
58
  (o == null ? void 0 : o.length) > 0 && r && r(o);
58
59
  },
59
- children: /* @__PURE__ */ n.jsx(f, { color: i.colors.grey.n400, size: "1rem" })
60
+ children: /* @__PURE__ */ n.jsx(u, { color: i.colors.grey.n400, size: "1rem" })
60
61
  }
61
62
  ),
62
63
  t && /* @__PURE__ */ n.jsx(
@@ -67,7 +68,7 @@ const j = a(h.div)`
67
68
  onChange: (s) => {
68
69
  s.target.value == "" && o ? (r == null || r(""), d("")) : d(s.target.value);
69
70
  },
70
- onKeyDown: u,
71
+ onKeyDown: f,
71
72
  autoFocus: !0
72
73
  }
73
74
  )
@@ -1,7 +1,8 @@
1
- import { j as i } from "../_virtual/jsx-runtime.js";
1
+ import { j as o } from "../_virtual/jsx-runtime.js";
2
2
  import { useState as m, useEffect as H } from "react";
3
- import { FaTimesCircle as O, FaSearch as R } from "../node_modules/react-icons/fa/index.js";
4
- import o, { useTheme as X } from "styled-components";
3
+ import { FaTimesCircle as O } from "../node_modules/react-icons/fa/index.js";
4
+ import { FiSearch as R } from "../node_modules/react-icons/fi/index.js";
5
+ import n, { useTheme as X } from "styled-components";
5
6
  import { device as S } from "../constants/breakPoints.constant.js";
6
7
  import K from "../hooks/useZIndex.js";
7
8
  import { useQaemaCoreTranslation as M } from "../i18n/i18n.js";
@@ -12,7 +13,7 @@ import b from "./NavItem.js";
12
13
  import w from "./Typography.js";
13
14
  import Z from "../node_modules/react-bootstrap/esm/Button.js";
14
15
  import _ from "../node_modules/react-bootstrap/esm/Form.js";
15
- const v = o.div`
16
+ const v = n.div`
16
17
  direction: ${({ theme: r }) => r == null ? void 0 : r.dir};
17
18
  position: fixed;
18
19
  top: 0;
@@ -43,16 +44,16 @@ const v = o.div`
43
44
  ${({ theme: r }) => {
44
45
  if ((r == null ? void 0 : r.dir) === "rtl") return `padding-left: 0 !important;padding-right: ${r.spacing.xs};`;
45
46
  }}
46
- `, A = o.div`
47
+ `, A = n.div`
47
48
  display: flex;
48
49
  flex-direction: row;
49
50
  width: 100%;
50
51
  justify-content: space-between;
51
- `, J = o.div`
52
+ `, J = n.div`
52
53
  padding-right: ${({ theme: r }) => r.spacing.sm};
53
54
  padding-left: ${({ theme: r }) => r.spacing.sm};
54
55
  cursor: pointer;
55
- `, Q = o.div`
56
+ `, Q = n.div`
56
57
  display: none;
57
58
 
58
59
  @media ${S.tablet} {
@@ -64,15 +65,15 @@ const v = o.div`
64
65
  height: 1.5rem;
65
66
  }
66
67
  }
67
- `, q = o.div`
68
+ `, q = n.div`
68
69
  padding-right: ${({ theme: r }) => r.spacing.s};
69
70
  padding-left: ${({ theme: r }) => r.spacing.s};
70
- `, G = o.div`
71
+ `, G = n.div`
71
72
  justify-content: space-between;
72
73
  display: flex;
73
74
  flex-direction: column;
74
75
  height: 100%;
75
- `, Y = o.div`
76
+ `, Y = n.div`
76
77
  display: flex;
77
78
  flex-direction: row;
78
79
  gap: ${({ theme: r }) => r.spacing.xxs};
@@ -80,7 +81,7 @@ const v = o.div`
80
81
  background-color: ${({ theme: r }) => r.colors.grey.n150};
81
82
  border: 1px solid transparent;
82
83
  border-radius: ${({ theme: r }) => r.borderRadius.lg};
83
- `, P = o(Z)`
84
+ `, P = n(Z)`
84
85
  border: none;
85
86
  padding: 0;
86
87
  margin-top: ${({ theme: r }) => r.spacing.xxs};
@@ -90,16 +91,22 @@ const v = o.div`
90
91
  svg {
91
92
  background-color: ${({ theme: r }) => r.colors.grey.n150};
92
93
  }
93
- `, I = o(_.Control)`
94
+ `, I = n(_.Control)`
94
95
  padding: ${({ theme: r }) => r.spacing.xxs};
95
96
  border: none;
96
97
  background-color: ${({ theme: r }) => r.colors.grey.n150};
97
98
  color: ${({ theme: r }) => r.colors.grey.n350};
99
+ font-size: ${({ theme: r }) => r.typography.sizes.s4};
98
100
 
99
101
  &:focus-visible {
100
102
  outline: none;
101
103
  }
102
- `, rr = o.div`
104
+
105
+ &::placeholder {
106
+ font-size: ${({ theme: r }) => r.typography.sizes.s4} !important;
107
+ color: ${({ theme: r }) => r.colors.grey.n350} !important;
108
+ }
109
+ `, rr = n.div`
103
110
  padding-right: ${({ theme: r }) => r.spacing.s};
104
111
  button {
105
112
  width: 100%;
@@ -108,89 +115,89 @@ const v = o.div`
108
115
  ${({ theme: r }) => {
109
116
  if ((r == null ? void 0 : r.dir) === "rtl") return `padding-right: 0 !important;padding-left: ${r.spacing.s};`;
110
117
  }}
111
- `, nr = o(w)`
118
+ `, ir = n(w)`
112
119
  padding-right: ${({ theme: r }) => r.spacing.s};
113
120
  padding-left: ${({ theme: r }) => r.spacing.s};
114
121
  margin-top: 0;
115
122
  margin-bottom: ${({ theme: r }) => r.spacing.xs};
116
- `, ir = o.div`
123
+ `, or = n.div`
117
124
  padding: ${({ theme: r }) => r.spacing.m};
118
125
  text-align: center;
119
- `, or = o.div`
126
+ `, nr = n.div`
120
127
  button {
121
128
  width: 100%;
122
129
  border-radius: ${({ theme: r }) => r.spacing.xxs};
123
130
  }
124
- `, sr = o(U)`
131
+ `, sr = n(U)`
125
132
  margin-left: -${({ theme: r }) => r.spacing.xs};
126
133
  width: calc(100% + ${({ theme: r }) => r.spacing.xs});
127
134
  ${({ theme: r }) => {
128
135
  if ((r == null ? void 0 : r.dir) === "rtl") return `margin-left: 0; margin-right: -${r.spacing.xs}; width: calc(100% + ${r.spacing.xs});`;
129
136
  }}
130
137
  margin-bottom: ${({ theme: r }) => r.spacing.sm};
131
- `, mr = (r) => {
132
- const { logoSrc: C, searchPlaceHolder: k, categories: a, linkComponent: f, open: T, setOpen: E, currentPath: u, extraSideMenuItems: l, onLogoClick: D } = r, p = X(), { t: L } = M(), B = K("sidemenu"), [c, F] = m(""), [d, N] = m(a), g = (n) => {
138
+ `, jr = (r) => {
139
+ const { logoSrc: C, searchPlaceHolder: k, categories: p, linkComponent: f, open: z, setOpen: T, currentPath: u, extraSideMenuItems: l, onLogoClick: E } = r, a = X(), { t: D } = M(), L = K("sidemenu"), [c, B] = m(""), [t, F] = m(p), g = (i) => {
133
140
  const e = [];
134
- a == null || a.forEach((t) => {
141
+ p == null || p.forEach((d) => {
135
142
  var h;
136
- const s = (h = t == null ? void 0 : t.navItems) == null ? void 0 : h.filter((x) => {
143
+ const s = (h = d == null ? void 0 : d.navItems) == null ? void 0 : h.filter((x) => {
137
144
  var $, y;
138
- return (y = ($ = x == null ? void 0 : x.title) == null ? void 0 : $.toLowerCase()) == null ? void 0 : y.includes(n == null ? void 0 : n.toLowerCase());
145
+ return (y = ($ = x == null ? void 0 : x.title) == null ? void 0 : $.toLowerCase()) == null ? void 0 : y.includes(i == null ? void 0 : i.toLowerCase());
139
146
  });
140
- (s == null ? void 0 : s.length) > 0 && e.push({ ...t, navItems: s });
141
- }), N(e);
142
- }, W = (n) => {
143
- n.key === "Enter" && g(c);
147
+ (s == null ? void 0 : s.length) > 0 && e.push({ ...d, navItems: s });
148
+ }), F(e);
149
+ }, N = (i) => {
150
+ i.key === "Enter" && g(c);
144
151
  };
145
152
  H(() => {
146
153
  c === "" && g(c);
147
154
  }, [c]);
148
- const z = (n, e) => n ? e === n || (e == null ? void 0 : e.startsWith(n + "/")) : !1;
149
- return /* @__PURE__ */ i.jsxs(v, { className: T ? "active" : "", $zIndex: B, children: [
150
- /* @__PURE__ */ i.jsxs(A, { children: [
151
- /* @__PURE__ */ i.jsx(J, { onClick: D, children: /* @__PURE__ */ i.jsx(V, { src: C, width: "6.336rem", height: "2rem" }) }),
152
- /* @__PURE__ */ i.jsx(Q, { onClick: () => E(!1), children: /* @__PURE__ */ i.jsx(O, { color: p.colors.primary.purple.n450 }) })
155
+ const W = (i, e) => i ? e === i || (e == null ? void 0 : e.startsWith(i + "/")) : !1;
156
+ return /* @__PURE__ */ o.jsxs(v, { className: z ? "active" : "", $zIndex: L, children: [
157
+ /* @__PURE__ */ o.jsxs(A, { children: [
158
+ /* @__PURE__ */ o.jsx(J, { onClick: E, children: /* @__PURE__ */ o.jsx(V, { src: C, width: "6.336rem", height: "2rem" }) }),
159
+ /* @__PURE__ */ o.jsx(Q, { onClick: () => T(!1), children: /* @__PURE__ */ o.jsx(O, { color: a.colors.primary.purple.n450 }) })
153
160
  ] }),
154
- /* @__PURE__ */ i.jsx(q, { children: /* @__PURE__ */ i.jsxs(Y, { children: [
155
- /* @__PURE__ */ i.jsx(
161
+ /* @__PURE__ */ o.jsx(q, { children: /* @__PURE__ */ o.jsxs(Y, { children: [
162
+ /* @__PURE__ */ o.jsx(
156
163
  P,
157
164
  {
158
165
  onClick: () => {
159
166
  g(c);
160
167
  },
161
- children: /* @__PURE__ */ i.jsx(R, { color: p.colors.grey.n350 })
168
+ children: /* @__PURE__ */ o.jsx(R, { color: a.colors.grey.n350, size: 20 })
162
169
  }
163
170
  ),
164
- /* @__PURE__ */ i.jsx(
171
+ /* @__PURE__ */ o.jsx(
165
172
  I,
166
173
  {
167
174
  placeholder: k ?? "Search",
168
175
  value: c,
169
- onChange: (n) => {
170
- F(n.target.value);
176
+ onChange: (i) => {
177
+ B(i.target.value);
171
178
  },
172
- onKeyDown: W
179
+ onKeyDown: N
173
180
  }
174
181
  )
175
182
  ] }) }),
176
- /* @__PURE__ */ i.jsxs(G, { children: [
177
- /* @__PURE__ */ i.jsxs("div", { children: [
178
- (d == null ? void 0 : d.length) === 0 && /* @__PURE__ */ i.jsx(ir, { children: /* @__PURE__ */ i.jsx(w, { variant: "smText", children: L("NO_RESULTS_FOUND") }) }),
179
- (d == null ? void 0 : d.length) > 0 && (d == null ? void 0 : d.map((n) => {
180
- var e, t;
181
- return ((e = n == null ? void 0 : n.navItems) == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ i.jsxs(rr, { className: n == null ? void 0 : n.code, children: [
182
- /* @__PURE__ */ i.jsx(nr, { variant: "xsText", color: p.colors.grey.n300, children: n == null ? void 0 : n.title }),
183
- (t = n == null ? void 0 : n.navItems) == null ? void 0 : t.map((s) => /* @__PURE__ */ i.jsx(j, { to: (s == null ? void 0 : s.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ i.jsx(b, { item: { variant: "normal", active: z(s.path, u), ...s } }) }, s == null ? void 0 : s.path))
184
- ] }, n == null ? void 0 : n.title);
183
+ /* @__PURE__ */ o.jsxs(G, { children: [
184
+ /* @__PURE__ */ o.jsxs("div", { children: [
185
+ (t == null ? void 0 : t.length) === 0 && /* @__PURE__ */ o.jsx(or, { children: /* @__PURE__ */ o.jsx(w, { variant: "smText", children: D("NO_RESULTS_FOUND") }) }),
186
+ (t == null ? void 0 : t.length) > 0 && (t == null ? void 0 : t.map((i) => {
187
+ var e, d;
188
+ return ((e = i == null ? void 0 : i.navItems) == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ o.jsxs(rr, { className: i == null ? void 0 : i.code, children: [
189
+ /* @__PURE__ */ o.jsx(ir, { variant: "xsText", color: a.colors.grey.n300, children: i == null ? void 0 : i.title }),
190
+ (d = i == null ? void 0 : i.navItems) == null ? void 0 : d.map((s) => /* @__PURE__ */ o.jsx(j, { to: (s == null ? void 0 : s.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ o.jsx(b, { item: { variant: "normal", active: W(s.path, u), ...s } }) }, s == null ? void 0 : s.path))
191
+ ] }, i == null ? void 0 : i.title);
185
192
  }))
186
193
  ] }),
187
- /* @__PURE__ */ i.jsxs(or, { children: [
188
- (l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ i.jsx(sr, { color: p.colors.grey.n150 }),
189
- l == null ? void 0 : l.map((n) => /* @__PURE__ */ i.jsx(j, { to: (n == null ? void 0 : n.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ i.jsx(b, { item: { variant: "normal", active: u === n.path, ...n } }) }, n == null ? void 0 : n.path))
194
+ /* @__PURE__ */ o.jsxs(nr, { children: [
195
+ (l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ o.jsx(sr, { color: a.colors.grey.n150 }),
196
+ l == null ? void 0 : l.map((i) => /* @__PURE__ */ o.jsx(j, { to: (i == null ? void 0 : i.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ o.jsx(b, { item: { variant: "normal", active: u === i.path, ...i } }) }, i == null ? void 0 : i.path))
190
197
  ] })
191
198
  ] })
192
199
  ] });
193
200
  };
194
201
  export {
195
- mr as default
202
+ jr as default
196
203
  };
@@ -49,7 +49,7 @@ const w = s.div`
49
49
  justify-content: start;
50
50
  font-family: 'Noto Sans Display', sans-serif;
51
51
  font-weight: 600;
52
- font-size: ${({ theme: r }) => r.typography.sizes.s1};
52
+ font-size: ${({ theme: r }) => r.typography.sizes.s2};
53
53
  line-height: 0.8125rem;
54
54
  color: ${({ theme: r, state: e }) => e === "negative" ? r.colors.state.error.n450 : r.colors.grey.n650};
55
55
  svg {