qaema-ui 0.0.53 → 0.0.54

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 (59) 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/Divider.d.ts +1 -0
  6. package/dist/components/Divider.js +6 -5
  7. package/dist/components/Sidemenu.js +71 -55
  8. package/dist/components/Table/Table.styles.js +1 -1
  9. package/dist/components/Tabs.js +5 -4
  10. package/dist/node_modules/react-bootstrap/esm/Alert.js +1 -1
  11. package/dist/node_modules/react-bootstrap/esm/AlertHeading.js +1 -1
  12. package/dist/node_modules/react-bootstrap/esm/AlertLink.js +1 -1
  13. package/dist/node_modules/react-bootstrap/esm/Button.js +1 -1
  14. package/dist/node_modules/react-bootstrap/esm/CloseButton.js +2 -2
  15. package/dist/node_modules/react-bootstrap/esm/Col.js +1 -1
  16. package/dist/node_modules/react-bootstrap/esm/Collapse.js +1 -1
  17. package/dist/node_modules/react-bootstrap/esm/Dropdown.js +1 -1
  18. package/dist/node_modules/react-bootstrap/esm/DropdownDivider.js +1 -1
  19. package/dist/node_modules/react-bootstrap/esm/DropdownHeader.js +1 -1
  20. package/dist/node_modules/react-bootstrap/esm/DropdownItem.js +1 -1
  21. package/dist/node_modules/react-bootstrap/esm/DropdownItemText.js +1 -1
  22. package/dist/node_modules/react-bootstrap/esm/DropdownMenu.js +1 -1
  23. package/dist/node_modules/react-bootstrap/esm/DropdownToggle.js +1 -1
  24. package/dist/node_modules/react-bootstrap/esm/Fade.js +1 -1
  25. package/dist/node_modules/react-bootstrap/esm/Feedback.js +2 -2
  26. package/dist/node_modules/react-bootstrap/esm/FloatingLabel.js +1 -1
  27. package/dist/node_modules/react-bootstrap/esm/Form.js +2 -2
  28. package/dist/node_modules/react-bootstrap/esm/FormCheck.js +1 -1
  29. package/dist/node_modules/react-bootstrap/esm/FormCheckInput.js +1 -1
  30. package/dist/node_modules/react-bootstrap/esm/FormCheckLabel.js +1 -1
  31. package/dist/node_modules/react-bootstrap/esm/FormControl.js +1 -1
  32. package/dist/node_modules/react-bootstrap/esm/FormFloating.js +1 -1
  33. package/dist/node_modules/react-bootstrap/esm/FormLabel.js +1 -1
  34. package/dist/node_modules/react-bootstrap/esm/FormRange.js +1 -1
  35. package/dist/node_modules/react-bootstrap/esm/FormSelect.js +1 -1
  36. package/dist/node_modules/react-bootstrap/esm/FormText.js +1 -1
  37. package/dist/node_modules/react-bootstrap/esm/Image.js +2 -2
  38. package/dist/node_modules/react-bootstrap/esm/Nav.js +1 -1
  39. package/dist/node_modules/react-bootstrap/esm/NavItem.js +1 -1
  40. package/dist/node_modules/react-bootstrap/esm/NavLink.js +1 -1
  41. package/dist/node_modules/react-bootstrap/esm/Navbar.js +1 -1
  42. package/dist/node_modules/react-bootstrap/esm/NavbarBrand.js +1 -1
  43. package/dist/node_modules/react-bootstrap/esm/NavbarText.js +1 -1
  44. package/dist/node_modules/react-bootstrap/esm/NavbarToggle.js +1 -1
  45. package/dist/node_modules/react-bootstrap/esm/Offcanvas.js +1 -1
  46. package/dist/node_modules/react-bootstrap/esm/OffcanvasBody.js +1 -1
  47. package/dist/node_modules/react-bootstrap/esm/OffcanvasHeader.js +1 -1
  48. package/dist/node_modules/react-bootstrap/esm/OffcanvasTitle.js +1 -1
  49. package/dist/node_modules/react-bootstrap/esm/OffcanvasToggling.js +1 -1
  50. package/dist/node_modules/react-bootstrap/esm/Toast.js +1 -1
  51. package/dist/node_modules/react-bootstrap/esm/ToastBody.js +1 -1
  52. package/dist/node_modules/react-bootstrap/esm/ToastHeader.js +1 -1
  53. package/dist/node_modules/react-bootstrap/esm/divWithClassName.js +1 -1
  54. package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
  55. package/dist/node_modules/react-smooth/es6/Animate.js +1 -1
  56. package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
  57. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  58. package/dist/theme/colors.d.ts +1 -0
  59. package/package.json +1 -1
@@ -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
  };
@@ -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,5 +1,6 @@
1
1
  export type DividerProps = {
2
2
  marginVertical?: string;
3
+ color?: string;
3
4
  };
4
5
  declare const Divider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
6
  ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
@@ -1,12 +1,13 @@
1
- import t from "styled-components";
2
- const e = t.div.attrs((r) => ({
3
- marginVertical: r.marginVertical
1
+ import o from "styled-components";
2
+ const a = o.div.attrs((r) => ({
3
+ marginVertical: r.marginVertical,
4
+ color: r.color
4
5
  }))`
5
6
  width: 100%;
6
7
  height: 0;
7
- border: 1px solid ${({ theme: r }) => r.colors.grey.n150};
8
+ border: 1px solid ${({ color: r, theme: i }) => r ?? i.colors.grey.n150};
8
9
  margin: ${({ marginVertical: r, theme: i }) => `${r ?? i.spacing.xxs} 0`};
9
10
  `;
10
11
  export {
11
- e as default
12
+ a as default
12
13
  };
@@ -1,17 +1,18 @@
1
- import { j as o } from "../_virtual/jsx-runtime.js";
1
+ import { j as i } from "../_virtual/jsx-runtime.js";
2
2
  import { useState as m, useEffect as H } from "react";
3
3
  import { FaTimesCircle as O, FaSearch as R } from "../node_modules/react-icons/fa/index.js";
4
- import s, { useTheme as X } from "styled-components";
5
- import { device as w } from "../constants/breakPoints.constant.js";
4
+ import o, { useTheme as X } from "styled-components";
5
+ import { device as S } from "../constants/breakPoints.constant.js";
6
6
  import K from "../hooks/useZIndex.js";
7
- import { useQaemaCoreTranslation as U } from "../i18n/i18n.js";
7
+ import { useQaemaCoreTranslation as M } from "../i18n/i18n.js";
8
+ import U from "./Divider.js";
8
9
  import V from "./Image.js";
9
10
  import j from "./Link.js";
10
- import S from "./NavItem.js";
11
- import k from "./Typography.js";
11
+ import b from "./NavItem.js";
12
+ import w from "./Typography.js";
12
13
  import Z from "../node_modules/react-bootstrap/esm/Button.js";
13
14
  import _ from "../node_modules/react-bootstrap/esm/Form.js";
14
- const A = s.div`
15
+ const v = o.div`
15
16
  direction: ${({ theme: r }) => r == null ? void 0 : r.dir};
16
17
  position: fixed;
17
18
  top: 0;
@@ -28,7 +29,7 @@ const A = s.div`
28
29
  flex-direction: column;
29
30
  gap: 1rem;
30
31
 
31
- @media ${w.tablet} {
32
+ @media ${S.tablet} {
32
33
  transform: ${({ theme: r }) => r.dir === "ltr" ? "translateX(-100%)" : "translateX(100%)"}; /* Hide menu off-screen */
33
34
  margin-left: 0;
34
35
 
@@ -42,19 +43,19 @@ const A = s.div`
42
43
  ${({ theme: r }) => {
43
44
  if ((r == null ? void 0 : r.dir) === "rtl") return `padding-left: 0 !important;padding-right: ${r.spacing.xs};`;
44
45
  }}
45
- `, J = s.div`
46
+ `, A = o.div`
46
47
  display: flex;
47
48
  flex-direction: row;
48
49
  width: 100%;
49
50
  justify-content: space-between;
50
- `, Q = s.div`
51
+ `, J = o.div`
51
52
  padding-right: ${({ theme: r }) => r.spacing.sm};
52
53
  padding-left: ${({ theme: r }) => r.spacing.sm};
53
54
  cursor: pointer;
54
- `, q = s.div`
55
+ `, Q = o.div`
55
56
  display: none;
56
57
 
57
- @media ${w.tablet} {
58
+ @media ${S.tablet} {
58
59
  display: unset;
59
60
  padding-right: ${({ theme: r }) => r.spacing.s};
60
61
  padding-left: ${({ theme: r }) => r.spacing.s};
@@ -63,15 +64,15 @@ const A = s.div`
63
64
  height: 1.5rem;
64
65
  }
65
66
  }
66
- `, G = s.div`
67
+ `, q = o.div`
67
68
  padding-right: ${({ theme: r }) => r.spacing.s};
68
69
  padding-left: ${({ theme: r }) => r.spacing.s};
69
- `, Y = s.div`
70
+ `, G = o.div`
70
71
  justify-content: space-between;
71
72
  display: flex;
72
73
  flex-direction: column;
73
74
  height: 100%;
74
- `, v = s.div`
75
+ `, Y = o.div`
75
76
  display: flex;
76
77
  flex-direction: row;
77
78
  gap: ${({ theme: r }) => r.spacing.xxs};
@@ -79,7 +80,7 @@ const A = s.div`
79
80
  background-color: ${({ theme: r }) => r.colors.grey.n150};
80
81
  border: 1px solid transparent;
81
82
  border-radius: ${({ theme: r }) => r.borderRadius.lg};
82
- `, P = s(Z)`
83
+ `, P = o(Z)`
83
84
  border: none;
84
85
  padding: 0;
85
86
  margin-top: ${({ theme: r }) => r.spacing.xxs};
@@ -89,7 +90,7 @@ const A = s.div`
89
90
  svg {
90
91
  background-color: ${({ theme: r }) => r.colors.grey.n150};
91
92
  }
92
- `, I = s(_.Control)`
93
+ `, I = o(_.Control)`
93
94
  padding: ${({ theme: r }) => r.spacing.xxs};
94
95
  border: none;
95
96
  background-color: ${({ theme: r }) => r.colors.grey.n150};
@@ -98,7 +99,7 @@ const A = s.div`
98
99
  &:focus-visible {
99
100
  outline: none;
100
101
  }
101
- `, b = s.div`
102
+ `, rr = o.div`
102
103
  padding-right: ${({ theme: r }) => r.spacing.s};
103
104
  button {
104
105
  width: 100%;
@@ -107,74 +108,89 @@ const A = s.div`
107
108
  ${({ theme: r }) => {
108
109
  if ((r == null ? void 0 : r.dir) === "rtl") return `padding-right: 0 !important;padding-left: ${r.spacing.s};`;
109
110
  }}
110
- `, rr = s(k)`
111
+ `, nr = o(w)`
111
112
  padding-right: ${({ theme: r }) => r.spacing.s};
112
113
  padding-left: ${({ theme: r }) => r.spacing.s};
113
114
  margin-top: 0;
114
115
  margin-bottom: ${({ theme: r }) => r.spacing.xs};
115
- `, nr = s.div`
116
+ `, ir = o.div`
116
117
  padding: ${({ theme: r }) => r.spacing.m};
117
118
  text-align: center;
118
- `, ur = (r) => {
119
- const { logoSrc: C, searchPlaceHolder: T, categories: c, linkComponent: f, open: E, setOpen: L, currentPath: u, extraSideMenuItems: p, onLogoClick: B } = r, a = X(), { t: D } = U(), F = K("sidemenu"), [l, M] = m(""), [t, N] = m(c), g = (n) => {
120
- const e = [];
121
- c == null || c.forEach((d) => {
119
+ `, or = o.div`
120
+ button {
121
+ width: 100%;
122
+ border-radius: ${({ theme: r }) => r.spacing.xxs};
123
+ }
124
+ `, sr = o(U)`
125
+ margin-left: -${({ theme: r }) => r.spacing.xs};
126
+ width: calc(100% + ${({ theme: r }) => r.spacing.xs});
127
+ ${({ theme: r }) => {
128
+ if ((r == null ? void 0 : r.dir) === "rtl") return `margin-left: 0; margin-right: -${r.spacing.xs}; width: calc(100% + ${r.spacing.xs});`;
129
+ }}
130
+ 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(""), [e, W] = m(a), g = (n) => {
133
+ const t = [];
134
+ a == null || a.forEach((d) => {
122
135
  var h;
123
- const i = (h = d == null ? void 0 : d.navItems) == null ? void 0 : h.filter((x) => {
136
+ const s = (h = d == null ? void 0 : d.navItems) == null ? void 0 : h.filter((x) => {
124
137
  var $, y;
125
138
  return (y = ($ = x == null ? void 0 : x.title) == null ? void 0 : $.toLowerCase()) == null ? void 0 : y.includes(n == null ? void 0 : n.toLowerCase());
126
139
  });
127
- (i == null ? void 0 : i.length) > 0 && e.push({ ...d, navItems: i });
128
- }), N(e);
129
- }, W = (n) => {
130
- n.key === "Enter" && g(l);
140
+ (s == null ? void 0 : s.length) > 0 && t.push({ ...d, navItems: s });
141
+ }), W(t);
142
+ }, N = (n) => {
143
+ n.key === "Enter" && g(c);
131
144
  };
132
145
  H(() => {
133
- l === "" && g(l);
134
- }, [l]);
135
- const z = (n, e) => n ? e === n || (e == null ? void 0 : e.startsWith(n + "/")) : !1;
136
- return /* @__PURE__ */ o.jsxs(A, { className: E ? "active" : "", $zIndex: F, children: [
137
- /* @__PURE__ */ o.jsxs(J, { children: [
138
- /* @__PURE__ */ o.jsx(Q, { onClick: B, children: /* @__PURE__ */ o.jsx(V, { src: C, width: "6.336rem", height: "2rem" }) }),
139
- /* @__PURE__ */ o.jsx(q, { onClick: () => L(!1), children: /* @__PURE__ */ o.jsx(O, { color: a.colors.primary.purple.n450 }) })
146
+ c === "" && g(c);
147
+ }, [c]);
148
+ const z = (n, t) => n ? t === n || (t == null ? void 0 : t.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 }) })
140
153
  ] }),
141
- /* @__PURE__ */ o.jsx(G, { children: /* @__PURE__ */ o.jsxs(v, { children: [
142
- /* @__PURE__ */ o.jsx(
154
+ /* @__PURE__ */ i.jsx(q, { children: /* @__PURE__ */ i.jsxs(Y, { children: [
155
+ /* @__PURE__ */ i.jsx(
143
156
  P,
144
157
  {
145
158
  onClick: () => {
146
- g(l);
159
+ g(c);
147
160
  },
148
- children: /* @__PURE__ */ o.jsx(R, { color: a.colors.grey.n350 })
161
+ children: /* @__PURE__ */ i.jsx(R, { color: p.colors.grey.n350 })
149
162
  }
150
163
  ),
151
- /* @__PURE__ */ o.jsx(
164
+ /* @__PURE__ */ i.jsx(
152
165
  I,
153
166
  {
154
- placeholder: T ?? "Search",
155
- value: l,
167
+ placeholder: k ?? "Search",
168
+ value: c,
156
169
  onChange: (n) => {
157
- M(n.target.value);
170
+ F(n.target.value);
158
171
  },
159
- onKeyDown: W
172
+ onKeyDown: N
160
173
  }
161
174
  )
162
175
  ] }) }),
163
- /* @__PURE__ */ o.jsxs(Y, { children: [
164
- /* @__PURE__ */ o.jsxs("div", { children: [
165
- (t == null ? void 0 : t.length) === 0 && /* @__PURE__ */ o.jsx(nr, { children: /* @__PURE__ */ o.jsx(k, { variant: "smText", children: D("NO_RESULTS_FOUND") }) }),
166
- (t == null ? void 0 : t.length) > 0 && (t == null ? void 0 : t.map((n) => {
167
- var e, d;
168
- return ((e = n == null ? void 0 : n.navItems) == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ o.jsxs(b, { children: [
169
- /* @__PURE__ */ o.jsx(rr, { variant: "xsText", color: a.colors.grey.n300, children: n == null ? void 0 : n.title }),
170
- (d = n == null ? void 0 : n.navItems) == null ? void 0 : d.map((i) => /* @__PURE__ */ o.jsx(j, { to: (i == null ? void 0 : i.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ o.jsx(S, { item: { variant: "normal", active: z(i.path, u), ...i } }) }, i == null ? void 0 : i.path))
176
+ /* @__PURE__ */ i.jsxs(G, { children: [
177
+ /* @__PURE__ */ i.jsxs("div", { children: [
178
+ (e == null ? void 0 : e.length) === 0 && /* @__PURE__ */ i.jsx(ir, { children: /* @__PURE__ */ i.jsx(w, { variant: "smText", children: L("NO_RESULTS_FOUND") }) }),
179
+ (e == null ? void 0 : e.length) > 0 && (e == null ? void 0 : e.map((n) => {
180
+ var t, d;
181
+ return ((t = n == null ? void 0 : n.navItems) == null ? void 0 : t.length) === 0 ? null : /* @__PURE__ */ i.jsxs(rr, { children: [
182
+ /* @__PURE__ */ i.jsx(nr, { variant: "xsText", color: p.colors.grey.n300, children: n == null ? void 0 : n.title }),
183
+ (d = n == null ? void 0 : n.navItems) == null ? void 0 : d.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))
171
184
  ] }, n == null ? void 0 : n.title);
172
185
  }))
173
186
  ] }),
174
- /* @__PURE__ */ o.jsx(b, { children: p == null ? void 0 : p.map((n) => /* @__PURE__ */ o.jsx(j, { to: (n == null ? void 0 : n.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ o.jsx(S, { item: { variant: "normal", active: u === n.path, ...n } }) }, n == null ? void 0 : n.path)) })
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))
190
+ ] })
175
191
  ] })
176
192
  ] });
177
193
  };
178
194
  export {
179
- ur as default
195
+ mr as default
180
196
  };
@@ -259,7 +259,7 @@ const k = r.div`
259
259
  /* position: sticky;
260
260
  right: 0; */
261
261
  flex: 0 0 auto;
262
- width: 4.5rem; /* adjust to your icon width */
262
+ width: 6rem; /* adjust to your icon width */
263
263
  table-layout: fixed;
264
264
  background-color: ${({ theme: o }) => o.colors.grey.n50};
265
265
  `;
@@ -42,7 +42,7 @@ const y = (r) => r === "active" ? a`
42
42
  padding: ${({ theme: r }) => r.spacing.xxs};
43
43
  border-radius: ${({ theme: r }) => r.borderRadius.lg};
44
44
  background-color: ${({ theme: r }) => r.colors.grey.n100};
45
- `, f = d(b)`
45
+ `, $ = d(b)`
46
46
  display: flex;
47
47
  align-items: center;
48
48
  justify-content: center;
@@ -71,13 +71,14 @@ const y = (r) => r === "active" ? a`
71
71
  &:hover {
72
72
  box-shadow: ${({ theme: r }) => r.boxShadow.s2};
73
73
  border-color: transparent;
74
+ background-color: ${({ theme: r }) => r.colors.grey.n200};
74
75
  }
75
76
 
76
77
  &:active {
77
78
  background-color: ${({ theme: r }) => r.colors.grey.n150};
78
79
  border-color: transparent;
79
80
  }
80
- `, $ = d(h)`
81
+ `, f = d(h)`
81
82
  @media ${e.tablet} {
82
83
  font-size: ${({ theme: r }) => r.typography.sizes.s2};
83
84
  }
@@ -89,7 +90,7 @@ const y = (r) => r === "active" ? a`
89
90
  var l;
90
91
  const { items: n, active: c, setActive: t } = r, p = (o, i) => i === (o == null ? void 0 : o.code) ? "active" : o != null && o.disabled ? "disabled" : "neutral";
91
92
  return (n == null ? void 0 : n.length) === 0 ? null : /* @__PURE__ */ s.jsx(u, { variant: "pills", defaultActiveKey: (l = n[0]) == null ? void 0 : l.code, children: n == null ? void 0 : n.map((o) => o != null && o.hidden ? null : /* @__PURE__ */ s.jsx(
92
- f,
93
+ $,
93
94
  {
94
95
  title: o == null ? void 0 : o.title,
95
96
  $mode: p(o, c),
@@ -97,7 +98,7 @@ const y = (r) => r === "active" ? a`
97
98
  o != null && o.disabled || t(o == null ? void 0 : o.code);
98
99
  },
99
100
  disabled: (o == null ? void 0 : o.disabled) ?? !1,
100
- children: /* @__PURE__ */ s.jsx($, { variant: "mdText", children: o == null ? void 0 : o.title })
101
+ children: /* @__PURE__ */ s.jsx(f, { variant: "mdText", children: o == null ? void 0 : o.title })
101
102
  },
102
103
  o == null ? void 0 : o.code
103
104
  )) });
@@ -1,4 +1,4 @@
1
- import k from "../../../_virtual/index.js";
1
+ import k from "../../../_virtual/index3.js";
2
2
  import * as v from "react";
3
3
  import N from "../../uncontrollable/lib/esm/hook.js";
4
4
  import "../../../_virtual/browser.js";
@@ -1,5 +1,5 @@
1
1
  import * as m from "react";
2
- import i from "../../../_virtual/index.js";
2
+ import i from "../../../_virtual/index3.js";
3
3
  import { useBootstrapPrefix as l } from "./ThemeProvider.js";
4
4
  import d from "./divWithClassName.js";
5
5
  import { j as p } from "../../../_virtual/jsx-runtime.js";
@@ -1,5 +1,5 @@
1
1
  import * as s from "react";
2
- import e from "../../../_virtual/index.js";
2
+ import e from "../../../_virtual/index3.js";
3
3
  import i from "../../@restart/ui/esm/Anchor.js";
4
4
  import { useBootstrapPrefix as p } from "./ThemeProvider.js";
5
5
  import { j as f } from "../../../_virtual/jsx-runtime.js";
@@ -1,4 +1,4 @@
1
- import l from "../../../_virtual/index.js";
1
+ import l from "../../../_virtual/index3.js";
2
2
  import * as x from "react";
3
3
  import { useButtonProps as N } from "../../@restart/ui/esm/Button.js";
4
4
  import { useBootstrapPrefix as B } from "./ThemeProvider.js";
@@ -1,6 +1,6 @@
1
- import o from "../../../_virtual/index2.js";
1
+ import o from "../../../_virtual/index4.js";
2
2
  import * as p from "react";
3
- import n from "../../../_virtual/index.js";
3
+ import n from "../../../_virtual/index3.js";
4
4
  import { j as i } from "../../../_virtual/jsx-runtime.js";
5
5
  const m = {
6
6
  /** An accessible label indicating the relevant information about the Close Button. */
@@ -1,4 +1,4 @@
1
- import $ from "../../../_virtual/index.js";
1
+ import $ from "../../../_virtual/index3.js";
2
2
  import * as d from "react";
3
3
  import { useBootstrapPrefix as B, useBootstrapBreakpoints as h, useBootstrapMinBreakpoint as N } from "./ThemeProvider.js";
4
4
  import { j } from "../../../_virtual/jsx-runtime.js";
@@ -1,4 +1,4 @@
1
- import j from "../../../_virtual/index.js";
1
+ import j from "../../../_virtual/index3.js";
2
2
  import d from "../../dom-helpers/esm/css.js";
3
3
  import h, { useMemo as r } from "react";
4
4
  import { ENTERED as G, ENTERING as L, EXITING as B, EXITED as M } from "../../react-transition-group/esm/Transition.js";
@@ -1,4 +1,4 @@
1
- import j from "../../../_virtual/index.js";
1
+ import j from "../../../_virtual/index3.js";
2
2
  import * as P from "react";
3
3
  import { useContext as R, useMemo as S } from "react";
4
4
  import $ from "../../@restart/ui/esm/Dropdown.js";
@@ -1,5 +1,5 @@
1
1
  import * as m from "react";
2
- import p from "../../../_virtual/index.js";
2
+ import p from "../../../_virtual/index3.js";
3
3
  import { useBootstrapPrefix as d } from "./ThemeProvider.js";
4
4
  import { j as i } from "../../../_virtual/jsx-runtime.js";
5
5
  const f = /* @__PURE__ */ m.forwardRef(({
@@ -1,5 +1,5 @@
1
1
  import * as d from "react";
2
- import m from "../../../_virtual/index.js";
2
+ import m from "../../../_virtual/index3.js";
3
3
  import { useBootstrapPrefix as p } from "./ThemeProvider.js";
4
4
  import { j as f } from "../../../_virtual/jsx-runtime.js";
5
5
  const i = /* @__PURE__ */ d.forwardRef(({
@@ -1,4 +1,4 @@
1
- import c from "../../../_virtual/index.js";
1
+ import c from "../../../_virtual/index3.js";
2
2
  import * as w from "react";
3
3
  import { useDropdownItem as x } from "../../@restart/ui/esm/DropdownItem.js";
4
4
  import l from "../../@restart/ui/esm/Anchor.js";
@@ -1,5 +1,5 @@
1
1
  import * as m from "react";
2
- import s from "../../../_virtual/index.js";
2
+ import s from "../../../_virtual/index3.js";
3
3
  import { useBootstrapPrefix as p } from "./ThemeProvider.js";
4
4
  import { j as d } from "../../../_virtual/jsx-runtime.js";
5
5
  const f = /* @__PURE__ */ m.forwardRef(({
@@ -1,4 +1,4 @@
1
- import W from "../../../_virtual/index.js";
1
+ import W from "../../../_virtual/index3.js";
2
2
  import * as C from "react";
3
3
  import { useContext as x } from "react";
4
4
  import { useDropdownMenu as I } from "../../@restart/ui/esm/DropdownMenu.js";
@@ -1,7 +1,7 @@
1
1
  import a from "../../@restart/hooks/esm/useMergedRefs.js";
2
2
  import d from "../../@restart/ui/esm/DropdownContext.js";
3
3
  import { useDropdownToggle as g } from "../../@restart/ui/esm/DropdownToggle.js";
4
- import l from "../../../_virtual/index.js";
4
+ import l from "../../../_virtual/index3.js";
5
5
  import * as u from "react";
6
6
  import { useContext as w } from "react";
7
7
  import x from "./Button.js";
@@ -1,4 +1,4 @@
1
- import l from "../../../_virtual/index.js";
1
+ import l from "../../../_virtual/index3.js";
2
2
  import * as s from "react";
3
3
  import { useCallback as d } from "react";
4
4
  import { ENTERED as E, ENTERING as c } from "../../react-transition-group/esm/Transition.js";
@@ -1,6 +1,6 @@
1
- import i from "../../../_virtual/index.js";
1
+ import i from "../../../_virtual/index3.js";
2
2
  import * as f from "react";
3
- import e from "../../../_virtual/index2.js";
3
+ import e from "../../../_virtual/index4.js";
4
4
  import { j as l } from "../../../_virtual/jsx-runtime.js";
5
5
  const c = {
6
6
  /**
@@ -1,4 +1,4 @@
1
- import i from "../../../_virtual/index.js";
1
+ import i from "../../../_virtual/index3.js";
2
2
  import * as f from "react";
3
3
  import p from "./FormGroup.js";
4
4
  import { useBootstrapPrefix as n } from "./ThemeProvider.js";
@@ -1,5 +1,5 @@
1
- import i from "../../../_virtual/index.js";
2
- import o from "../../../_virtual/index2.js";
1
+ import i from "../../../_virtual/index3.js";
2
+ import o from "../../../_virtual/index4.js";
3
3
  import * as s from "react";
4
4
  import f from "./FormCheck.js";
5
5
  import l from "./FormControl.js";
@@ -1,4 +1,4 @@
1
- import O from "../../../_virtual/index.js";
1
+ import O from "../../../_virtual/index3.js";
2
2
  import * as B from "react";
3
3
  import { useContext as E, useMemo as M } from "react";
4
4
  import T from "./Feedback.js";
@@ -1,4 +1,4 @@
1
- import f from "../../../_virtual/index.js";
1
+ import f from "../../../_virtual/index3.js";
2
2
  import * as n from "react";
3
3
  import { useContext as l } from "react";
4
4
  import u from "./FormContext.js";
@@ -1,4 +1,4 @@
1
- import s from "../../../_virtual/index.js";
1
+ import s from "../../../_virtual/index3.js";
2
2
  import * as l from "react";
3
3
  import { useContext as c } from "react";
4
4
  import f from "./FormContext.js";
@@ -1,4 +1,4 @@
1
- import C from "../../../_virtual/index.js";
1
+ import C from "../../../_virtual/index3.js";
2
2
  import * as F from "react";
3
3
  import { useContext as N } from "react";
4
4
  import $ from "../../../_virtual/warning.js";
@@ -1,5 +1,5 @@
1
1
  import * as s from "react";
2
- import e from "../../../_virtual/index.js";
2
+ import e from "../../../_virtual/index3.js";
3
3
  import { useBootstrapPrefix as f } from "./ThemeProvider.js";
4
4
  import { j as i } from "../../../_virtual/jsx-runtime.js";
5
5
  const p = /* @__PURE__ */ s.forwardRef(({
@@ -1,4 +1,4 @@
1
- import c from "../../../_virtual/index.js";
1
+ import c from "../../../_virtual/index3.js";
2
2
  import * as d from "react";
3
3
  import { useContext as u } from "react";
4
4
  import x from "../../../_virtual/warning.js";
@@ -1,4 +1,4 @@
1
- import s from "../../../_virtual/index.js";
1
+ import s from "../../../_virtual/index3.js";
2
2
  import * as n from "react";
3
3
  import { useContext as p } from "react";
4
4
  import { useBootstrapPrefix as f } from "./ThemeProvider.js";
@@ -1,4 +1,4 @@
1
- import c from "../../../_virtual/index.js";
1
+ import c from "../../../_virtual/index3.js";
2
2
  import * as p from "react";
3
3
  import { useContext as n } from "react";
4
4
  import { useBootstrapPrefix as d } from "./ThemeProvider.js";
@@ -1,4 +1,4 @@
1
- import s from "../../../_virtual/index.js";
1
+ import s from "../../../_virtual/index3.js";
2
2
  import * as f from "react";
3
3
  import { useBootstrapPrefix as p } from "./ThemeProvider.js";
4
4
  import { j as x } from "../../../_virtual/jsx-runtime.js";
@@ -1,6 +1,6 @@
1
- import f from "../../../_virtual/index.js";
1
+ import f from "../../../_virtual/index3.js";
2
2
  import * as d from "react";
3
- import o from "../../../_virtual/index2.js";
3
+ import o from "../../../_virtual/index4.js";
4
4
  import { useBootstrapPrefix as u } from "./ThemeProvider.js";
5
5
  import { j as p } from "../../../_virtual/jsx-runtime.js";
6
6
  o.string, o.bool, o.bool, o.bool, o.bool;
@@ -1,4 +1,4 @@
1
- import P from "../../../_virtual/index.js";
1
+ import P from "../../../_virtual/index3.js";
2
2
  import * as j from "react";
3
3
  import { useContext as m } from "react";
4
4
  import y from "../../uncontrollable/lib/esm/hook.js";
@@ -1,5 +1,5 @@
1
1
  import * as s from "react";
2
- import e from "../../../_virtual/index.js";
2
+ import e from "../../../_virtual/index3.js";
3
3
  import { useBootstrapPrefix as p } from "./ThemeProvider.js";
4
4
  import { j as f } from "../../../_virtual/jsx-runtime.js";
5
5
  const i = /* @__PURE__ */ s.forwardRef(({
@@ -1,4 +1,4 @@
1
- import c from "../../../_virtual/index.js";
1
+ import c from "../../../_virtual/index3.js";
2
2
  import * as p from "react";
3
3
  import v from "../../@restart/ui/esm/Anchor.js";
4
4
  import { useNavItem as l } from "../../@restart/ui/esm/NavItem.js";
@@ -1,4 +1,4 @@
1
- import P from "../../../_virtual/index.js";
1
+ import P from "../../../_virtual/index3.js";
2
2
  import * as T from "react";
3
3
  import { useCallback as j, useMemo as h } from "react";
4
4
  import y from "../../@restart/ui/esm/SelectableContext.js";
@@ -1,4 +1,4 @@
1
- import e from "../../../_virtual/index.js";
1
+ import e from "../../../_virtual/index3.js";
2
2
  import * as n from "react";
3
3
  import { useBootstrapPrefix as f } from "./ThemeProvider.js";
4
4
  import { j as p } from "../../../_virtual/jsx-runtime.js";
@@ -1,5 +1,5 @@
1
1
  import * as e from "react";
2
- import m from "../../../_virtual/index.js";
2
+ import m from "../../../_virtual/index3.js";
3
3
  import { useBootstrapPrefix as p } from "./ThemeProvider.js";
4
4
  import { j as f } from "../../../_virtual/jsx-runtime.js";
5
5
  const x = /* @__PURE__ */ e.forwardRef(({
@@ -1,4 +1,4 @@
1
- import g from "../../../_virtual/index.js";
1
+ import g from "../../../_virtual/index3.js";
2
2
  import * as u from "react";
3
3
  import { useContext as d } from "react";
4
4
  import x from "../../@restart/hooks/esm/useEventCallback.js";
@@ -1,4 +1,4 @@
1
- import v from "../../../_virtual/index.js";
1
+ import v from "../../../_virtual/index3.js";
2
2
  import Q from "../../@restart/hooks/esm/useBreakpoint.js";
3
3
  import U from "../../@restart/hooks/esm/useEventCallback.js";
4
4
  import * as V from "react";
@@ -1,5 +1,5 @@
1
1
  import * as t from "react";
2
- import m from "../../../_virtual/index.js";
2
+ import m from "../../../_virtual/index3.js";
3
3
  import { useBootstrapPrefix as e } from "./ThemeProvider.js";
4
4
  import { j as p } from "../../../_virtual/jsx-runtime.js";
5
5
  const c = /* @__PURE__ */ t.forwardRef(({
@@ -1,4 +1,4 @@
1
- import f from "../../../_virtual/index.js";
1
+ import f from "../../../_virtual/index3.js";
2
2
  import * as m from "react";
3
3
  import { useBootstrapPrefix as c } from "./ThemeProvider.js";
4
4
  import l from "./AbstractModalHeader.js";
@@ -1,5 +1,5 @@
1
1
  import * as e from "react";
2
- import m from "../../../_virtual/index.js";
2
+ import m from "../../../_virtual/index3.js";
3
3
  import f from "./divWithClassName.js";
4
4
  import { useBootstrapPrefix as i } from "./ThemeProvider.js";
5
5
  import { j as l } from "../../../_virtual/jsx-runtime.js";
@@ -1,4 +1,4 @@
1
- import c from "../../../_virtual/index.js";
1
+ import c from "../../../_virtual/index3.js";
2
2
  import * as n from "react";
3
3
  import { ENTERING as t, EXITING as g, ENTERED as d } from "../../react-transition-group/esm/Transition.js";
4
4
  import { getChildRef as N } from "../../@restart/ui/esm/utils.js";
@@ -1,6 +1,6 @@
1
1
  import * as $ from "react";
2
2
  import { useRef as l, useEffect as x, useCallback as k, useMemo as A } from "react";
3
- import M from "../../../_virtual/index.js";
3
+ import M from "../../../_virtual/index3.js";
4
4
  import b from "../../@restart/hooks/esm/useTimeout.js";
5
5
  import q from "./ToastFade.js";
6
6
  import w from "./ToastHeader.js";
@@ -1,5 +1,5 @@
1
1
  import * as m from "react";
2
- import e from "../../../_virtual/index.js";
2
+ import e from "../../../_virtual/index3.js";
3
3
  import { useBootstrapPrefix as p } from "./ThemeProvider.js";
4
4
  import { j as d } from "../../../_virtual/jsx-runtime.js";
5
5
  const f = /* @__PURE__ */ m.forwardRef(({
@@ -1,4 +1,4 @@
1
- import d from "../../../_virtual/index.js";
1
+ import d from "../../../_virtual/index3.js";
2
2
  import * as f from "react";
3
3
  import { useContext as u } from "react";
4
4
  import C from "../../@restart/hooks/esm/useEventCallback.js";
@@ -1,5 +1,5 @@
1
1
  import * as r from "react";
2
- import e from "../../../_virtual/index.js";
2
+ import e from "../../../_virtual/index3.js";
3
3
  import { j as o } from "../../../_virtual/jsx-runtime.js";
4
4
  const i = ((a) => (
5
5
  // eslint-disable-next-line react/display-name
@@ -2,9 +2,9 @@ var Q = Object.defineProperty;
2
2
  var X = (e, t, r) => t in e ? Q(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var h = (e, t, r) => X(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import y, { Component as R } from "react";
5
- import ee from "../../../_virtual/index3.js";
5
+ import ee from "../../../_virtual/index.js";
6
6
  import F from "../../../_virtual/browser.js";
7
- import te from "../../../_virtual/index4.js";
7
+ import te from "../../../_virtual/index2.js";
8
8
  var Y = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(Y || {}), $ = {
9
9
  link: { rel: ["amphtml", "canonical", "alternate"] },
10
10
  script: { type: ["application/ld+json"] },
@@ -1,5 +1,5 @@
1
1
  import x, { Children as w, cloneElement as z, PureComponent as F } from "react";
2
- import a from "../../../_virtual/index2.js";
2
+ import a from "../../../_virtual/index4.js";
3
3
  import { deepEqual as H } from "../../fast-equals/dist/esm/index.js";
4
4
  import L from "./AnimateManager.js";
5
5
  import { configEasing as V } from "./easing.js";
@@ -1,6 +1,6 @@
1
1
  import C from "../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";
2
2
  import D from "../../@babel/runtime/helpers/esm/inheritsLoose.js";
3
- import o from "../../../_virtual/index2.js";
3
+ import o from "../../../_virtual/index4.js";
4
4
  import v from "react";
5
5
  import b from "react-dom";
6
6
  import T from "./config.js";
@@ -1,4 +1,4 @@
1
- import e from "../../../../_virtual/index2.js";
1
+ import e from "../../../../_virtual/index4.js";
2
2
  var n = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
3
3
  enter: e.number,
4
4
  exit: e.number,
@@ -17,6 +17,7 @@ type ColorScale = {
17
17
  n700: string;
18
18
  n750?: string;
19
19
  n800: string;
20
+ n375?: string;
20
21
  };
21
22
  export type ThemeColors = {
22
23
  grey: ColorScale;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qaema-ui",
3
3
  "private": false,
4
- "version": "0.0.53",
4
+ "version": "0.0.54",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"