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.
- package/dist/_virtual/index.js +5 -5
- package/dist/_virtual/index2.js +4 -4
- package/dist/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +4 -4
- package/dist/components/Divider.d.ts +1 -0
- package/dist/components/Divider.js +6 -5
- package/dist/components/Sidemenu.js +71 -55
- package/dist/components/Table/Table.styles.js +1 -1
- package/dist/components/Tabs.js +5 -4
- package/dist/node_modules/react-bootstrap/esm/Alert.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/AlertHeading.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/AlertLink.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Button.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/CloseButton.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/Col.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Collapse.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Dropdown.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownDivider.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownItem.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownItemText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownMenu.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownToggle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Fade.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Feedback.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/FloatingLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Form.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/FormCheck.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormCheckInput.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormCheckLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormControl.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormFloating.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormRange.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormSelect.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Image.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/Nav.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavItem.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavLink.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Navbar.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarBrand.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarToggle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Offcanvas.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasBody.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasTitle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasToggling.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Toast.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/ToastBody.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/ToastHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/divWithClassName.js +1 -1
- package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
- package/dist/node_modules/react-smooth/es6/Animate.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/theme/colors.d.ts +1 -0
- package/package.json +1 -1
package/dist/_virtual/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
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
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/dist/_virtual/index2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as o } from "../node_modules/
|
|
3
|
-
var
|
|
4
|
-
const
|
|
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
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
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
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as o } from "../node_modules/
|
|
3
|
-
var
|
|
4
|
-
const
|
|
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
|
-
|
|
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
|
|
2
|
-
const
|
|
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 ${({
|
|
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
|
-
|
|
12
|
+
a as default
|
|
12
13
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { j as
|
|
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
|
|
5
|
-
import { device as
|
|
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
|
|
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
|
|
11
|
-
import
|
|
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
|
|
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 ${
|
|
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
|
-
`,
|
|
46
|
+
`, A = o.div`
|
|
46
47
|
display: flex;
|
|
47
48
|
flex-direction: row;
|
|
48
49
|
width: 100%;
|
|
49
50
|
justify-content: space-between;
|
|
50
|
-
`,
|
|
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
|
-
`,
|
|
55
|
+
`, Q = o.div`
|
|
55
56
|
display: none;
|
|
56
57
|
|
|
57
|
-
@media ${
|
|
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
|
-
`,
|
|
67
|
+
`, q = o.div`
|
|
67
68
|
padding-right: ${({ theme: r }) => r.spacing.s};
|
|
68
69
|
padding-left: ${({ theme: r }) => r.spacing.s};
|
|
69
|
-
`,
|
|
70
|
+
`, G = o.div`
|
|
70
71
|
justify-content: space-between;
|
|
71
72
|
display: flex;
|
|
72
73
|
flex-direction: column;
|
|
73
74
|
height: 100%;
|
|
74
|
-
`,
|
|
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 =
|
|
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 =
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
116
|
+
`, ir = o.div`
|
|
116
117
|
padding: ${({ theme: r }) => r.spacing.m};
|
|
117
118
|
text-align: center;
|
|
118
|
-
`,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
|
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
|
-
(
|
|
128
|
-
}),
|
|
129
|
-
},
|
|
130
|
-
n.key === "Enter" && g(
|
|
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
|
-
|
|
134
|
-
}, [
|
|
135
|
-
const z = (n,
|
|
136
|
-
return /* @__PURE__ */
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
/* @__PURE__ */
|
|
139
|
-
/* @__PURE__ */
|
|
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__ */
|
|
142
|
-
/* @__PURE__ */
|
|
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(
|
|
159
|
+
g(c);
|
|
147
160
|
},
|
|
148
|
-
children: /* @__PURE__ */
|
|
161
|
+
children: /* @__PURE__ */ i.jsx(R, { color: p.colors.grey.n350 })
|
|
149
162
|
}
|
|
150
163
|
),
|
|
151
|
-
/* @__PURE__ */
|
|
164
|
+
/* @__PURE__ */ i.jsx(
|
|
152
165
|
I,
|
|
153
166
|
{
|
|
154
|
-
placeholder:
|
|
155
|
-
value:
|
|
167
|
+
placeholder: k ?? "Search",
|
|
168
|
+
value: c,
|
|
156
169
|
onChange: (n) => {
|
|
157
|
-
|
|
170
|
+
F(n.target.value);
|
|
158
171
|
},
|
|
159
|
-
onKeyDown:
|
|
172
|
+
onKeyDown: N
|
|
160
173
|
}
|
|
161
174
|
)
|
|
162
175
|
] }) }),
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
(
|
|
166
|
-
(
|
|
167
|
-
var
|
|
168
|
-
return ((
|
|
169
|
-
/* @__PURE__ */
|
|
170
|
-
(d = n == null ? void 0 : n.navItems) == null ? void 0 : d.map((
|
|
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__ */
|
|
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
|
-
|
|
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:
|
|
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
|
`;
|
package/dist/components/Tabs.js
CHANGED
|
@@ -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
|
-
`,
|
|
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
|
-
`,
|
|
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
|
-
|
|
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(
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import i from "../../../_virtual/
|
|
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/
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import o from "../../../_virtual/
|
|
1
|
+
import o from "../../../_virtual/index4.js";
|
|
2
2
|
import * as p from "react";
|
|
3
|
-
import n from "../../../_virtual/
|
|
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/
|
|
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/
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import p from "../../../_virtual/
|
|
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/
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import s from "../../../_virtual/
|
|
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,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/
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import i from "../../../_virtual/
|
|
1
|
+
import i from "../../../_virtual/index3.js";
|
|
2
2
|
import * as f from "react";
|
|
3
|
-
import e from "../../../_virtual/
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import i from "../../../_virtual/
|
|
2
|
-
import o from "../../../_virtual/
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import e from "../../../_virtual/
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import f from "../../../_virtual/
|
|
1
|
+
import f from "../../../_virtual/index3.js";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import o from "../../../_virtual/
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import e from "../../../_virtual/
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
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/
|
|
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/
|
|
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/
|
|
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(({
|
|
@@ -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/
|
|
5
|
+
import ee from "../../../_virtual/index.js";
|
|
6
6
|
import F from "../../../_virtual/browser.js";
|
|
7
|
-
import te from "../../../_virtual/
|
|
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/
|
|
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/
|
|
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";
|
package/dist/theme/colors.d.ts
CHANGED