quirk-ui 0.1.113 → 0.1.115
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/AccordionItem.css.d.ts +13 -0
- package/dist/{CategoryFilters-CIWwf9VY.js → CategoryFilters-CR4MkgvA.js} +1 -1
- package/dist/{CategoryFilters-CvmFCE3e.cjs → CategoryFilters-oA43LCO6.cjs} +1 -1
- package/dist/CategoryFilters.css.d.ts +31 -0
- package/dist/FormField.css.d.ts +27 -0
- package/dist/HeroSubComponents.css.d.ts +30 -0
- package/dist/NavLink-Cog4-Ds3.cjs +1 -0
- package/dist/NavLink-DhezdhFU.js +161 -0
- package/dist/NavLink.css +1 -1
- package/dist/NavLink.css.d.ts +76 -0
- package/dist/core/components/Announcement/Announcement.test.cjs +1 -0
- package/dist/core/components/Announcement/Announcement.test.mjs +107 -0
- package/dist/core/components/Announcement/index.cjs +1 -0
- package/dist/core/components/Announcement/index.mjs +41 -0
- package/dist/core/components/Box/index.cjs +1 -1
- package/dist/core/components/Box/index.mjs +1 -1
- package/dist/core/components/Breadcrumbs/index.cjs +1 -1
- package/dist/core/components/Breadcrumbs/index.mjs +1 -1
- package/dist/core/components/Button/Button.test.cjs +1 -1
- package/dist/core/components/Button/Button.test.mjs +1 -1
- package/dist/core/components/Button/index.cjs +1 -1
- package/dist/core/components/Button/index.mjs +1 -1
- package/dist/core/components/Calendar/Calendar.test.cjs +1 -1
- package/dist/core/components/Calendar/Calendar.test.mjs +1 -1
- package/dist/core/components/Calendar/index.cjs +1 -1
- package/dist/core/components/Calendar/index.mjs +1 -1
- package/dist/core/components/Card/index.cjs +1 -1
- package/dist/core/components/Card/index.mjs +1 -1
- package/dist/core/components/Container/index.cjs +1 -1
- package/dist/core/components/Container/index.mjs +1 -1
- package/dist/core/components/DatePicker/DatePicker.test.cjs +1 -1
- package/dist/core/components/DatePicker/DatePicker.test.mjs +1 -1
- package/dist/core/components/DatePicker/index.cjs +1 -1
- package/dist/core/components/DatePicker/index.mjs +2 -2
- package/dist/core/components/Divider/index.cjs +1 -1
- package/dist/core/components/Divider/index.mjs +1 -1
- package/dist/core/components/Drawer/index.cjs +1 -1
- package/dist/core/components/Drawer/index.mjs +1 -1
- package/dist/core/components/FileUpload/index.cjs +1 -1
- package/dist/core/components/FileUpload/index.mjs +1 -1
- package/dist/core/components/FloatingActionButton/index.cjs +1 -1
- package/dist/core/components/FloatingActionButton/index.mjs +1 -1
- package/dist/core/components/Footer/index.cjs +1 -1
- package/dist/core/components/Footer/index.mjs +2 -2
- package/dist/core/components/List/index.cjs +1 -1
- package/dist/core/components/List/index.mjs +1 -1
- package/dist/core/components/NavBar/NavLink.cjs +1 -1
- package/dist/core/components/NavBar/NavLink.mjs +1 -1
- package/dist/core/components/NavBar/index.cjs +3 -3
- package/dist/core/components/NavBar/index.mjs +70 -69
- package/dist/core/components/Notification/index.cjs +1 -1
- package/dist/core/components/Notification/index.mjs +1 -1
- package/dist/core/components/NotificationContainer/index.cjs +1 -1
- package/dist/core/components/NotificationContainer/index.mjs +1 -1
- package/dist/core/components/Sidebar/index.cjs +1 -1
- package/dist/core/components/Sidebar/index.mjs +1 -1
- package/dist/core/components/Skeleton/index.cjs +1 -1
- package/dist/core/components/Skeleton/index.mjs +1 -1
- package/dist/core/components/Spacer/index.cjs +1 -1
- package/dist/core/components/Spacer/index.mjs +1 -1
- package/dist/core/components/Spinner/index.cjs +1 -1
- package/dist/core/components/Spinner/index.mjs +1 -1
- package/dist/core/components/Stack/index.cjs +1 -1
- package/dist/core/components/Stack/index.mjs +1 -1
- package/dist/core/components/Switch/index.cjs +1 -1
- package/dist/core/components/Switch/index.mjs +1 -1
- package/dist/core/components/Tooltip/index.cjs +1 -1
- package/dist/core/components/Tooltip/index.mjs +1 -1
- package/dist/core/tokens/theme.cjs +1 -1
- package/dist/core/tokens/theme.mjs +2 -2
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +16 -0
- package/dist/core.mjs +94 -92
- package/dist/{index-2ZLA4POI.js → index-BCIEIAnC.js} +1 -1
- package/dist/{index-D0ylyll7.cjs → index-CAS0iFfs.cjs} +1 -1
- package/dist/{index-odc0vuSq.cjs → index-CMkOXBU5.cjs} +1 -1
- package/dist/{index-CnlJ2RgH.js → index-Cahn_yoK.js} +1 -1
- package/dist/index.css.d.ts +1 -0
- package/dist/index10.css.d.ts +10 -0
- package/dist/index11.css.d.ts +26 -0
- package/dist/index12.css.d.ts +24 -0
- package/dist/index13.css.d.ts +33 -0
- package/dist/index14.css.d.ts +9 -0
- package/dist/index15.css.d.ts +10 -0
- package/dist/index16.css.d.ts +18 -0
- package/dist/index17.css.d.ts +38 -0
- package/dist/index18.css.d.ts +16 -0
- package/dist/index19.css.d.ts +14 -0
- package/dist/index2.css.d.ts +12 -0
- package/dist/index20.css.d.ts +17 -0
- package/dist/index21.css.d.ts +13 -0
- package/dist/index22.css.d.ts +25 -0
- package/dist/index23.css.d.ts +5 -0
- package/dist/index24.css.d.ts +19 -0
- package/dist/index25.css.d.ts +21 -0
- package/dist/index26.css.d.ts +16 -0
- package/dist/index27.css.d.ts +10 -0
- package/dist/index28.css.d.ts +18 -0
- package/dist/index29.css.d.ts +16 -0
- package/dist/index3.css.d.ts +10 -0
- package/dist/index30.css.d.ts +10 -0
- package/dist/index31.css.d.ts +19 -0
- package/dist/index32.css.d.ts +15 -0
- package/dist/index33.css.d.ts +22 -0
- package/dist/index34.css.d.ts +15 -0
- package/dist/index35.css.d.ts +14 -0
- package/dist/index36.css.d.ts +23 -0
- package/dist/index37.css.d.ts +14 -0
- package/dist/index38.css.d.ts +18 -0
- package/dist/index39.css.d.ts +21 -0
- package/dist/index4.css.d.ts +22 -0
- package/dist/index40.css.d.ts +20 -0
- package/dist/index41.css.d.ts +17 -0
- package/dist/index42.css.d.ts +14 -0
- package/dist/index43.css.d.ts +22 -0
- package/dist/index44.css +1 -1
- package/dist/index44.css.d.ts +8 -0
- package/dist/index45.css +1 -1
- package/dist/index45.css.d.ts +35 -0
- package/dist/index46.css +1 -1
- package/dist/index46.css.d.ts +13 -0
- package/dist/index47.css +1 -1
- package/dist/index47.css.d.ts +23 -0
- package/dist/index48.css +1 -1
- package/dist/index48.css.d.ts +12 -0
- package/dist/index49.css +1 -1
- package/dist/index49.css.d.ts +19 -0
- package/dist/index5.css.d.ts +19 -0
- package/dist/index50.css +1 -1
- package/dist/index50.css.d.ts +20 -0
- package/dist/index51.css +1 -1
- package/dist/index51.css.d.ts +20 -0
- package/dist/index52.css +1 -1
- package/dist/index52.css.d.ts +27 -0
- package/dist/index53.css +1 -1
- package/dist/index53.css.d.ts +17 -0
- package/dist/index54.css +1 -1
- package/dist/index54.css.d.ts +11 -0
- package/dist/index55.css +1 -1
- package/dist/index55.css.d.ts +12 -0
- package/dist/index56.css +1 -1
- package/dist/index56.css.d.ts +14 -0
- package/dist/index57.css +1 -1
- package/dist/index57.css.d.ts +20 -0
- package/dist/index58.css +1 -1
- package/dist/index58.css.d.ts +24 -0
- package/dist/index59.css +1 -1
- package/dist/index59.css.d.ts +13 -0
- package/dist/index6.css.d.ts +40 -0
- package/dist/index60.css +1 -1
- package/dist/index60.css.d.ts +12 -0
- package/dist/index61.css +1 -1
- package/dist/index61.css.d.ts +20 -0
- package/dist/index62.css +1 -1
- package/dist/index62.css.d.ts +20 -0
- package/dist/index63.css +1 -1
- package/dist/index63.css.d.ts +18 -0
- package/dist/index64.css +1 -1
- package/dist/index64.css.d.ts +22 -0
- package/dist/index65.css +1 -1
- package/dist/index65.css.d.ts +28 -0
- package/dist/index66.css +1 -1
- package/dist/index66.css.d.ts +26 -0
- package/dist/index67.css +1 -0
- package/dist/index67.css.d.ts +19 -0
- package/dist/index7.css.d.ts +32 -0
- package/dist/index8.css.d.ts +9 -0
- package/dist/index9.css.d.ts +7 -0
- package/dist/main.cjs +1 -1
- package/dist/main.d.ts +16 -0
- package/dist/main.mjs +166 -164
- package/dist/next/blocks/DocumentListBlock/CategoryFilters.cjs +1 -1
- package/dist/next/blocks/DocumentListBlock/CategoryFilters.mjs +2 -2
- package/dist/next/blocks/DocumentListBlock/CategoryFilters.test.cjs +1 -1
- package/dist/next/blocks/DocumentListBlock/CategoryFilters.test.mjs +1 -1
- package/dist/next/blocks/DocumentListBlock/index.cjs +1 -1
- package/dist/next/blocks/DocumentListBlock/index.mjs +2 -2
- package/dist/next/blocks/FormBlock/index.cjs +1 -1
- package/dist/next/blocks/FormBlock/index.mjs +1 -1
- package/dist/next/blocks/TabsBlock/index.cjs +1 -1
- package/dist/next/blocks/TabsBlock/index.mjs +1 -1
- package/dist/next/blocks/WasHelpfulBlock/index.cjs +1 -1
- package/dist/next/blocks/WasHelpfulBlock/index.mjs +1 -1
- package/dist/next/cards/BlogArticleCard/index.cjs +1 -1
- package/dist/next/cards/BlogArticleCard/index.mjs +1 -1
- package/dist/next/cards/SpotlightCard/index.cjs +1 -1
- package/dist/next/cards/SpotlightCard/index.mjs +1 -1
- package/dist/next/ui/CallToAction/index.cjs +1 -1
- package/dist/next/ui/CallToAction/index.mjs +1 -1
- package/dist/styles.css.d.ts +1 -0
- package/dist/tokens.css.d.ts +1 -0
- package/package.json +1 -1
- package/dist/NavLink-CaWX-AXn.js +0 -159
- package/dist/NavLink-jxzO9Z90.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as a, jsxs as i, Fragment as
|
|
1
|
+
import { jsx as a, jsxs as i, Fragment as ce } from "react/jsx-runtime";
|
|
2
2
|
import { useState as v, useRef as F, useCallback as _, useEffect as z } from "react";
|
|
3
|
-
import { Modal as
|
|
4
|
-
import { B as J, M as Ae } from "../../../index-
|
|
5
|
-
import { ButtonGroup as
|
|
6
|
-
import { s as e, N as Re } from "../../../NavLink-
|
|
7
|
-
import { lockScroll as Be, unlockScroll as
|
|
3
|
+
import { Modal as oe } from "../Modal/index.mjs";
|
|
4
|
+
import { B as J, M as Ae } from "../../../index-Cahn_yoK.js";
|
|
5
|
+
import { ButtonGroup as de } from "../ButtonGroup/index.mjs";
|
|
6
|
+
import { s as e, N as Re } from "../../../NavLink-DhezdhFU.js";
|
|
7
|
+
import { lockScroll as Be, unlockScroll as ue } from "../../utils/NoScroll/noScroll.mjs";
|
|
8
8
|
import { C as Oe } from "../../../chevron-right-Cim1KPuL.js";
|
|
9
9
|
import { E as Y } from "../../../external-link-BOPobeQJ.js";
|
|
10
10
|
import { X as We } from "../../../x-CnsEH4Ox.js";
|
|
11
|
-
import { c as
|
|
11
|
+
import { c as me } from "../../../createLucideIcon-C8GTh_Qx.js";
|
|
12
12
|
import { C as De } from "../../../chevron-down-DSUzBz9F.js";
|
|
13
13
|
/**
|
|
14
14
|
* @license lucide-react v0.488.0 - ISC
|
|
@@ -27,7 +27,7 @@ const Ue = [
|
|
|
27
27
|
],
|
|
28
28
|
["path", { d: "M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05", key: "14pb5j" }],
|
|
29
29
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
|
|
30
|
-
], Fe =
|
|
30
|
+
], Fe = me("earth", Ue);
|
|
31
31
|
/**
|
|
32
32
|
* @license lucide-react v0.488.0 - ISC
|
|
33
33
|
*
|
|
@@ -37,7 +37,7 @@ const Ue = [
|
|
|
37
37
|
const je = [
|
|
38
38
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
39
39
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
40
|
-
], Ge =
|
|
40
|
+
], Ge = me("search", je), Pe = {
|
|
41
41
|
standard: e.standard,
|
|
42
42
|
transparent: e.transparent
|
|
43
43
|
}, qe = {
|
|
@@ -81,7 +81,7 @@ const je = [
|
|
|
81
81
|
) })
|
|
82
82
|
] });
|
|
83
83
|
};
|
|
84
|
-
function
|
|
84
|
+
function tn({
|
|
85
85
|
renderText: s,
|
|
86
86
|
title: k,
|
|
87
87
|
logo: o,
|
|
@@ -94,7 +94,7 @@ function rn({
|
|
|
94
94
|
showThemeToggle: C = !0,
|
|
95
95
|
themeToggleComponent: A,
|
|
96
96
|
alignment: j = "right",
|
|
97
|
-
variant:
|
|
97
|
+
variant: Q = "standard",
|
|
98
98
|
navigationType: R = "default",
|
|
99
99
|
searchComponent: he,
|
|
100
100
|
localeSelectComponent: fe,
|
|
@@ -102,9 +102,9 @@ function rn({
|
|
|
102
102
|
style: pe,
|
|
103
103
|
...ve
|
|
104
104
|
}) {
|
|
105
|
-
const [f,
|
|
105
|
+
const [f, Z] = v(!1), [T, N] = v(null), [ke, ge] = v(0), [Ne, ye] = v(!1), [G, $e] = v(!1), [we, Ce] = v(null), [d, M] = v([]), [B, P] = v(
|
|
106
106
|
0
|
|
107
|
-
), [Ee,
|
|
107
|
+
), [Ee, ee] = v(null), [I, Me] = v(!1), [O, W] = v("forward"), q = F(null), y = F(null), ne = F(null), K = F(/* @__PURE__ */ new Map()), ae = () => /* @__PURE__ */ a(
|
|
108
108
|
"div",
|
|
109
109
|
{
|
|
110
110
|
className: `${e.linkWrapper} ${e.parent}`,
|
|
@@ -123,7 +123,7 @@ function rn({
|
|
|
123
123
|
{
|
|
124
124
|
className: `${e.linkWrapper} ${e.parent} ${e.searchWrapper}`,
|
|
125
125
|
children: /* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ a(
|
|
126
|
-
|
|
126
|
+
oe,
|
|
127
127
|
{
|
|
128
128
|
size: "lg",
|
|
129
129
|
className: e.searchModal,
|
|
@@ -140,8 +140,8 @@ function rn({
|
|
|
140
140
|
}
|
|
141
141
|
) })
|
|
142
142
|
}
|
|
143
|
-
),
|
|
144
|
-
|
|
143
|
+
), le = () => /* @__PURE__ */ a("div", { className: `${e.linkWrapper} ${e.parent}`, children: /* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ a(
|
|
144
|
+
oe,
|
|
145
145
|
{
|
|
146
146
|
className: e.localeModal,
|
|
147
147
|
trigger: /* @__PURE__ */ a(
|
|
@@ -157,23 +157,23 @@ function rn({
|
|
|
157
157
|
}
|
|
158
158
|
) }) }), D = _(() => {
|
|
159
159
|
y.current && ge(y.current.getBoundingClientRect().width);
|
|
160
|
-
}, []),
|
|
161
|
-
|
|
160
|
+
}, []), ie = () => {
|
|
161
|
+
Z((n) => {
|
|
162
162
|
const l = !n;
|
|
163
163
|
return l || (M([]), W("forward"), N(null)), l;
|
|
164
164
|
});
|
|
165
|
-
},
|
|
165
|
+
}, te = _((n) => {
|
|
166
166
|
const l = K.current.get(n);
|
|
167
167
|
if (l && y.current) {
|
|
168
|
-
const c = l.getBoundingClientRect(),
|
|
169
|
-
Ce(c.left -
|
|
168
|
+
const c = l.getBoundingClientRect(), r = y.current.getBoundingClientRect();
|
|
169
|
+
Ce(c.left - r.left + c.width / 2);
|
|
170
170
|
}
|
|
171
171
|
}, []), Ie = _((n) => {
|
|
172
172
|
N((l) => l === n ? null : n);
|
|
173
173
|
}, []), H = _((n) => {
|
|
174
174
|
q.current && !q.current.contains(n.target) && N(null);
|
|
175
175
|
}, []), X = _(() => {
|
|
176
|
-
D(), typeof window < "u" && window.innerWidth > 768 && (
|
|
176
|
+
D(), typeof window < "u" && window.innerWidth > 768 && (Z(!1), N(null));
|
|
177
177
|
}, [D]), Le = () => M([]), Se = (n) => {
|
|
178
178
|
W("forward"), M([
|
|
179
179
|
{
|
|
@@ -211,45 +211,45 @@ function rn({
|
|
|
211
211
|
};
|
|
212
212
|
}, [X, H, D]), z(() => {
|
|
213
213
|
if (!(typeof document > "u"))
|
|
214
|
-
return f ? setTimeout(() => Be(), 0) :
|
|
214
|
+
return f ? setTimeout(() => Be(), 0) : ue(), () => ue();
|
|
215
215
|
}, [f]), z(() => {
|
|
216
216
|
var c;
|
|
217
217
|
if (!f) return;
|
|
218
218
|
if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(pointer: fine)").matches) {
|
|
219
|
-
const
|
|
219
|
+
const r = (c = y.current) == null ? void 0 : c.querySelector(
|
|
220
220
|
'a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
221
221
|
);
|
|
222
|
-
|
|
222
|
+
r == null || r.focus();
|
|
223
223
|
}
|
|
224
|
-
const l = (
|
|
224
|
+
const l = (r) => {
|
|
225
225
|
var S;
|
|
226
|
-
if (
|
|
227
|
-
|
|
226
|
+
if (r.key === "Escape") {
|
|
227
|
+
ie(), (S = ne.current) == null || S.focus();
|
|
228
228
|
return;
|
|
229
229
|
}
|
|
230
|
-
if (
|
|
230
|
+
if (r.key !== "Tab" || !y.current) return;
|
|
231
231
|
const p = Array.from(
|
|
232
232
|
y.current.querySelectorAll(
|
|
233
233
|
'a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
234
234
|
)
|
|
235
|
-
).filter((
|
|
235
|
+
).filter((t) => !t.closest("[aria-hidden=true]"));
|
|
236
236
|
if (p.length === 0) return;
|
|
237
237
|
const b = p[0], L = p[p.length - 1];
|
|
238
|
-
|
|
238
|
+
r.shiftKey ? document.activeElement === b && (r.preventDefault(), L.focus()) : document.activeElement === L && (r.preventDefault(), b.focus());
|
|
239
239
|
};
|
|
240
240
|
return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
|
|
241
241
|
}, [f]);
|
|
242
|
-
const U = (n, l = "") => n.map((c,
|
|
243
|
-
const p = `${l}/${c._key ?? c.label}-${
|
|
242
|
+
const U = (n, l = "") => n.map((c, r) => {
|
|
243
|
+
const p = `${l}/${c._key ?? c.label}-${r}`;
|
|
244
244
|
return /* @__PURE__ */ a(
|
|
245
245
|
Re,
|
|
246
246
|
{
|
|
247
247
|
link: c,
|
|
248
248
|
path: p,
|
|
249
249
|
parentPath: l,
|
|
250
|
-
openPath:
|
|
250
|
+
openPath: T,
|
|
251
251
|
togglePath: Ie,
|
|
252
|
-
updateTriangleIndicator:
|
|
252
|
+
updateTriangleIndicator: te,
|
|
253
253
|
setOpenPath: N,
|
|
254
254
|
renderLinks: U,
|
|
255
255
|
buttonRefs: K
|
|
@@ -258,20 +258,20 @@ function rn({
|
|
|
258
258
|
);
|
|
259
259
|
}), ze = (n) => n.map((l, c) => {
|
|
260
260
|
var L, S;
|
|
261
|
-
const
|
|
261
|
+
const r = `group-${c}`, p = Ee === c, b = (L = l.primaryItems) == null ? void 0 : L[B ?? 0];
|
|
262
262
|
return /* @__PURE__ */ i(
|
|
263
263
|
"div",
|
|
264
264
|
{
|
|
265
265
|
className: `${e.linkWrapper} ${e.parent}`,
|
|
266
266
|
onMouseEnter: () => {
|
|
267
|
-
|
|
267
|
+
ee(c), N(r), te(r);
|
|
268
268
|
},
|
|
269
269
|
children: [
|
|
270
270
|
/* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ i(
|
|
271
271
|
"button",
|
|
272
272
|
{
|
|
273
|
-
ref: (
|
|
274
|
-
K.current.set(
|
|
273
|
+
ref: (t) => {
|
|
274
|
+
K.current.set(r, t);
|
|
275
275
|
},
|
|
276
276
|
"aria-haspopup": !0,
|
|
277
277
|
"aria-expanded": p,
|
|
@@ -298,7 +298,7 @@ function rn({
|
|
|
298
298
|
role: "menu",
|
|
299
299
|
"aria-label": `${l.title} submenu`,
|
|
300
300
|
onMouseLeave: () => {
|
|
301
|
-
|
|
301
|
+
ee(null), P(0), N(null);
|
|
302
302
|
},
|
|
303
303
|
children: /* @__PURE__ */ a("div", { children: /* @__PURE__ */ i(
|
|
304
304
|
"div",
|
|
@@ -312,24 +312,24 @@ function rn({
|
|
|
312
312
|
children: [
|
|
313
313
|
/* @__PURE__ */ a("div", { className: e.linkItem }),
|
|
314
314
|
(S = l.primaryItems) == null ? void 0 : S.map(
|
|
315
|
-
(
|
|
315
|
+
(t, E) => t.href ? /* @__PURE__ */ a("div", { role: "menuitem", children: /* @__PURE__ */ i(
|
|
316
316
|
"a",
|
|
317
317
|
{
|
|
318
|
-
href:
|
|
318
|
+
href: t.href,
|
|
319
319
|
className: `${e.link} ${B === E ? e.open : ""}`,
|
|
320
|
-
target:
|
|
321
|
-
rel:
|
|
320
|
+
target: t.isExternal ? "_blank" : "_self",
|
|
321
|
+
rel: t.isExternal ? "noopener noreferrer" : void 0,
|
|
322
322
|
onClick: () => {
|
|
323
|
-
var
|
|
324
|
-
N(null), (
|
|
323
|
+
var se;
|
|
324
|
+
N(null), (se = t.onClick) == null || se.call(t);
|
|
325
325
|
},
|
|
326
326
|
onMouseEnter: () => P(E),
|
|
327
327
|
children: [
|
|
328
328
|
/* @__PURE__ */ i("span", { className: e.linkContent, children: [
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
t.label,
|
|
330
|
+
t.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: t.subtitle })
|
|
331
331
|
] }),
|
|
332
|
-
|
|
332
|
+
t.isExternal && /* @__PURE__ */ a(
|
|
333
333
|
Y,
|
|
334
334
|
{
|
|
335
335
|
className: e.newTabIcon,
|
|
@@ -339,17 +339,17 @@ function rn({
|
|
|
339
339
|
)
|
|
340
340
|
]
|
|
341
341
|
}
|
|
342
|
-
) },
|
|
342
|
+
) }, t._key ?? E) : /* @__PURE__ */ a("div", { role: "menuitem", children: /* @__PURE__ */ a(
|
|
343
343
|
"button",
|
|
344
344
|
{
|
|
345
345
|
className: `${e.sublinkToggle} ${B === E ? e.open : ""}`,
|
|
346
346
|
onMouseEnter: () => P(E),
|
|
347
347
|
children: /* @__PURE__ */ i("span", { className: e.linkContent, children: [
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
t.label,
|
|
349
|
+
t.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: t.subtitle })
|
|
350
350
|
] })
|
|
351
351
|
}
|
|
352
|
-
) },
|
|
352
|
+
) }, t._key ?? E)
|
|
353
353
|
)
|
|
354
354
|
]
|
|
355
355
|
}
|
|
@@ -362,7 +362,7 @@ function rn({
|
|
|
362
362
|
b.description && /* @__PURE__ */ a("div", { className: e.sublinksDescription, children: s == null ? void 0 : s(b.description) }),
|
|
363
363
|
U(
|
|
364
364
|
b.sublinks,
|
|
365
|
-
`${
|
|
365
|
+
`${r}-${B}`
|
|
366
366
|
)
|
|
367
367
|
]
|
|
368
368
|
},
|
|
@@ -372,7 +372,7 @@ function rn({
|
|
|
372
372
|
"div",
|
|
373
373
|
{
|
|
374
374
|
className: `${e.sublinksColumn} ${e.secondaryColumn}`,
|
|
375
|
-
children: U(l.secondaryItems, `${
|
|
375
|
+
children: U(l.secondaryItems, `${r}-secondary`)
|
|
376
376
|
}
|
|
377
377
|
),
|
|
378
378
|
l.spotlight && /* @__PURE__ */ a(
|
|
@@ -400,7 +400,7 @@ function rn({
|
|
|
400
400
|
}), xe = [
|
|
401
401
|
e.navbar,
|
|
402
402
|
qe[j],
|
|
403
|
-
Pe[
|
|
403
|
+
Pe[Q],
|
|
404
404
|
x ? e.sticky : "",
|
|
405
405
|
G ? e.scrolled : "",
|
|
406
406
|
m != null && m.length ? e.advanced : e.default,
|
|
@@ -436,7 +436,7 @@ function rn({
|
|
|
436
436
|
"svg",
|
|
437
437
|
{
|
|
438
438
|
style: { left: `${we}px` },
|
|
439
|
-
className: `${e.triangle} ${
|
|
439
|
+
className: `${e.triangle} ${T ? e.show : ""}`,
|
|
440
440
|
width: 16,
|
|
441
441
|
height: 12,
|
|
442
442
|
viewBox: "0 0 100 75",
|
|
@@ -455,7 +455,7 @@ function rn({
|
|
|
455
455
|
),
|
|
456
456
|
R === "default" && $ && /* @__PURE__ */ i("div", { className: e.grid, children: [
|
|
457
457
|
$.length > 0 && /* @__PURE__ */ a("div", { role: "menubar", className: e.menubar, children: U($) }),
|
|
458
|
-
(g || w || C) && /* @__PURE__ */ i(
|
|
458
|
+
(g || w || C) && /* @__PURE__ */ i(ce, { children: [
|
|
459
459
|
/* @__PURE__ */ a("span", { className: e.separator, "aria-hidden": "true" }),
|
|
460
460
|
/* @__PURE__ */ i(
|
|
461
461
|
"div",
|
|
@@ -464,9 +464,9 @@ function rn({
|
|
|
464
464
|
"aria-label": "Site controls",
|
|
465
465
|
className: e.toolbar,
|
|
466
466
|
children: [
|
|
467
|
-
C && /* @__PURE__ */ a(
|
|
467
|
+
C && /* @__PURE__ */ a(ae, {}),
|
|
468
468
|
g && !I && /* @__PURE__ */ a(V, {}),
|
|
469
|
-
w && /* @__PURE__ */ a(
|
|
469
|
+
w && /* @__PURE__ */ a(le, {})
|
|
470
470
|
]
|
|
471
471
|
}
|
|
472
472
|
)
|
|
@@ -474,7 +474,7 @@ function rn({
|
|
|
474
474
|
] }),
|
|
475
475
|
!I && R === "advanced" && m && /* @__PURE__ */ i("div", { className: e.grid, children: [
|
|
476
476
|
m.length > 0 && /* @__PURE__ */ a("div", { role: "menubar", className: e.menubar, children: ze(m) }),
|
|
477
|
-
(g || w || C) && /* @__PURE__ */ i(
|
|
477
|
+
(g || w || C) && /* @__PURE__ */ i(ce, { children: [
|
|
478
478
|
/* @__PURE__ */ a("span", { className: e.separator, "aria-hidden": "true" }),
|
|
479
479
|
/* @__PURE__ */ i(
|
|
480
480
|
"div",
|
|
@@ -483,9 +483,9 @@ function rn({
|
|
|
483
483
|
"aria-label": "Site controls",
|
|
484
484
|
className: e.toolbar,
|
|
485
485
|
children: [
|
|
486
|
-
C && /* @__PURE__ */ a(
|
|
486
|
+
C && /* @__PURE__ */ a(ae, {}),
|
|
487
487
|
g && /* @__PURE__ */ a(V, {}),
|
|
488
|
-
w && /* @__PURE__ */ a(
|
|
488
|
+
w && /* @__PURE__ */ a(le, {})
|
|
489
489
|
]
|
|
490
490
|
}
|
|
491
491
|
)
|
|
@@ -621,19 +621,20 @@ function rn({
|
|
|
621
621
|
className: e.utility,
|
|
622
622
|
"data-scrolled": G,
|
|
623
623
|
"aria-label": "Utility navigation",
|
|
624
|
-
children: /* @__PURE__ */ a(
|
|
624
|
+
children: /* @__PURE__ */ a(de, { spacing: "sm", children: h.map((n, l) => /* @__PURE__ */ a(
|
|
625
625
|
J,
|
|
626
626
|
{
|
|
627
627
|
as: "a",
|
|
628
628
|
size: "sm",
|
|
629
629
|
href: n.href ?? "/",
|
|
630
|
-
variant: n.variant
|
|
630
|
+
variant: n.variant ?? "primary",
|
|
631
631
|
displayType: n.displayType ?? "text",
|
|
632
632
|
imageSrc: n.imageSrc,
|
|
633
633
|
imageAlt: n.imageAlt,
|
|
634
634
|
"aria-label": n.ariaLabel,
|
|
635
635
|
icon: n.icon,
|
|
636
636
|
iconAlignment: n.iconAlignment,
|
|
637
|
+
className: Q == "transparent" && n.variant === "link" && G ? e.utilityScrolled : e.utilityDefault,
|
|
637
638
|
children: n.imageSrc ? /* @__PURE__ */ a(
|
|
638
639
|
"img",
|
|
639
640
|
{
|
|
@@ -651,7 +652,7 @@ function rn({
|
|
|
651
652
|
{
|
|
652
653
|
"aria-label": "Utility navigation",
|
|
653
654
|
className: `${e.utilityMobile} ${f ? e.open : ""}`,
|
|
654
|
-
children: /* @__PURE__ */ a(
|
|
655
|
+
children: /* @__PURE__ */ a(de, { alignment: "center", children: /* @__PURE__ */ a(
|
|
655
656
|
J,
|
|
656
657
|
{
|
|
657
658
|
as: "a",
|
|
@@ -680,9 +681,9 @@ function rn({
|
|
|
680
681
|
/* @__PURE__ */ a(
|
|
681
682
|
"button",
|
|
682
683
|
{
|
|
683
|
-
ref:
|
|
684
|
+
ref: ne,
|
|
684
685
|
className: e.menuToggle,
|
|
685
|
-
onClick:
|
|
686
|
+
onClick: ie,
|
|
686
687
|
"aria-label": f ? "Close menu" : "Open menu",
|
|
687
688
|
"aria-expanded": f,
|
|
688
689
|
"aria-controls": "main-menu",
|
|
@@ -697,5 +698,5 @@ function rn({
|
|
|
697
698
|
);
|
|
698
699
|
}
|
|
699
700
|
export {
|
|
700
|
-
|
|
701
|
+
tn as Navbar
|
|
701
702
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index65.css');const o=require("react/jsx-runtime"),_=require("react"),n=require("../../../createLucideIcon-DpotSgUx.cjs"),N=require("../../../info-84t9SZ3O.cjs"),j=require("../../../x-Dft9NVe_.cjs");/**
|
|
2
2
|
* @license lucide-react v0.488.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -3,7 +3,7 @@ import { useState as k, useEffect as N } from "react";
|
|
|
3
3
|
import { c as n } from "../../../createLucideIcon-C8GTh_Qx.js";
|
|
4
4
|
import { I as v } from "../../../info-Cq103K5v.js";
|
|
5
5
|
import { X as T } from "../../../x-CnsEH4Ox.js";
|
|
6
|
-
import '../../../
|
|
6
|
+
import '../../../index65.css';/**
|
|
7
7
|
* @license lucide-react v0.488.0 - ISC
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index54.css');const r=require("react/jsx-runtime"),n=require("react"),g=require("../Notification/index.cjs"),b="_container_1p8kf_2",f={container:b,"position-top-right":"_position-top-right_1p8kf_19","position-top-left":"_position-top-left_1p8kf_24","position-top-center":"_position-top-center_1p8kf_29","position-bottom-right":"_position-bottom-right_1p8kf_35","position-bottom-left":"_position-bottom-left_1p8kf_41","position-bottom-center":"_position-bottom-center_1p8kf_47"};function m({position:i="top-right",maxNotifications:o=5,className:e}){const[a,c]=n.useState([]),p=n.useCallback(t=>{const s=Date.now().toString()+Math.random().toString(36).substr(2,9);return c(d=>{const l=[...d,{...t,id:s}];return l.length>o?l.slice(-o):l}),s},[o]),u=n.useCallback(t=>{c(s=>s.filter(d=>d.id!==t))},[]),w=n.useCallback(()=>{c([])},[]),_=f[`position-${i}`]||f["position-top-right"];return r.jsxs(r.Fragment,{children:[r.jsx("div",{className:`${f.container} ${_} ${e??""}`.trim(),children:a.map(t=>r.jsx(g.Notification,{id:t.id,message:t.message,variant:t.variant,title:t.title,action:t.action,duration:t.duration,showIcon:t.showIcon,closable:t.closable,position:i,onClose:()=>u(t.id)},t.id))}),typeof window<"u"&&r.jsx(k,{addNotification:p,removeNotification:u,clearAll:w})]})}function k({addNotification:i,removeNotification:o,clearAll:e}){return n.useEffect(()=>{typeof window<"u"&&(window.notificationManager={add:i,remove:o,clear:e})},[i,o,e]),null}function h(){const i=n.useCallback(a=>typeof window<"u"&&window.notificationManager?window.notificationManager.add(a):(console.warn("NotificationContainer not found. Please add <NotificationContainer /> to your app."),null),[]),o=n.useCallback(a=>{typeof window<"u"&&window.notificationManager&&window.notificationManager.remove(a)},[]),e=n.useCallback(()=>{typeof window<"u"&&window.notificationManager&&window.notificationManager.clear()},[]);return{addNotification:i,removeNotification:o,clearAll:e}}exports.NotificationContainer=m;exports.useNotifications=h;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as g, Fragment as m, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import h, { useState as b, useCallback as e } from "react";
|
|
3
3
|
import { Notification as M } from "../Notification/index.mjs";
|
|
4
|
-
import '../../../
|
|
4
|
+
import '../../../index54.css';const N = "_container_1p8kf_2", p = {
|
|
5
5
|
container: N,
|
|
6
6
|
"position-top-right": "_position-top-right_1p8kf_19",
|
|
7
7
|
"position-top-left": "_position-top-left_1p8kf_24",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index63.css');const n=require("react/jsx-runtime"),a=require("react"),r=require("../../utils/NoScroll/noScroll.cjs"),x=require("../../../x-Dft9NVe_.cjs"),q=require("../../../createLucideIcon-DpotSgUx.cjs");/**
|
|
2
2
|
* @license lucide-react v0.488.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -3,7 +3,7 @@ import { useState as c, useEffect as _ } from "react";
|
|
|
3
3
|
import { lockScroll as x, unlockScroll as d } from "../../utils/NoScroll/noScroll.mjs";
|
|
4
4
|
import { X as T } from "../../../x-CnsEH4Ox.js";
|
|
5
5
|
import { c as y } from "../../../createLucideIcon-C8GTh_Qx.js";
|
|
6
|
-
import '../../../
|
|
6
|
+
import '../../../index63.css';/**
|
|
7
7
|
* @license lucide-react v0.488.0 - ISC
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index55.css');const n=require("react/jsx-runtime"),x="_skeleton_117za_2",p="_noAnimation_117za_17",y="_text_117za_23",$="_circle_117za_30",f="_rectangle_117za_36",z="_rounded_117za_40",b="_skeletonGroup_117za_45",e={skeleton:x,noAnimation:p,text:y,circle:$,rectangle:f,rounded:z,skeletonGroup:b},c={text:e.text,circle:e.circle,rectangle:e.rectangle,rounded:e.rounded};function A({width:u="100%",height:d="16px",borderRadius:r,variant:t="rectangle",className:o,style:_,count:s=1,spacing:g="0.5rem",animated:m=!0,...l}){const a={width:u,height:d,borderRadius:r!==void 0?r:t==="circle"?"50%":t==="rounded"?"9999px":"4px",..._},i=m?"":e.noAnimation;return s===1?n.jsx("div",{className:`${e.skeleton} ${c[t]} ${i} ${o??""}`.trim(),style:a,role:"status","aria-label":"Loading","aria-busy":"true",...l}):n.jsx("div",{className:e.skeletonGroup,style:{gap:g},role:"status","aria-label":"Loading","aria-busy":"true",children:Array.from({length:s}).map((j,k)=>n.jsx("div",{className:`${e.skeleton} ${c[t]} ${i} ${o??""}`.trim(),style:a,...l},k))})}exports.Skeleton=A;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index55.css';const p = "_skeleton_117za_2", x = "_noAnimation_117za_17", y = "_text_117za_23", $ = "_circle_117za_30", f = "_rectangle_117za_36", z = "_rounded_117za_40", A = "_skeletonGroup_117za_45", e = {
|
|
3
3
|
skeleton: p,
|
|
4
4
|
noAnimation: x,
|
|
5
5
|
text: y,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index56.css');const _=require("react/jsx-runtime"),d="_spacer_1dpkl_2",p="_horizontal_1dpkl_9",h="_vertical_1dpkl_14",m="_both_1dpkl_19",x="_xs_1dpkl_25",u="_sm_1dpkl_30",g="_md_1dpkl_35",k="_lg_1dpkl_40",b="_xl_1dpkl_45",t={spacer:d,horizontal:p,vertical:h,both:m,xs:x,sm:u,md:g,lg:k,xl:b,"2xl":"_2xl_1dpkl_50"},c={xs:t.xs,sm:t.sm,md:t.md,lg:t.lg,xl:t.xl,"2xl":t["2xl"]},v={horizontal:t.horizontal,vertical:t.vertical,both:t.both};function f({size:l="md",axis:e="horizontal",className:n,style:a,...i}){const s={};let r="";if(typeof l=="string"&&l in c)r=c[l];else{const o=typeof l=="number"?`${l}px`:l;e==="horizontal"?s.height=o:e==="vertical"?s.width=o:(s.width=o,s.height=o)}return _.jsx("div",{className:`${t.spacer} ${v[e]} ${r} ${n??""}`.trim(),style:{...s,...a},role:"presentation","aria-hidden":"true",...i})}exports.Spacer=f;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index56.css';const p = "_spacer_1dpkl_2", d = "_horizontal_1dpkl_9", h = "_vertical_1dpkl_14", m = "_both_1dpkl_19", x = "_xs_1dpkl_25", k = "_sm_1dpkl_30", g = "_md_1dpkl_35", f = "_lg_1dpkl_40", v = "_xl_1dpkl_45", t = {
|
|
3
3
|
spacer: p,
|
|
4
4
|
horizontal: d,
|
|
5
5
|
vertical: h,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index57.css');const n=require("react/jsx-runtime"),m="_spinner_ae9ct_2",p="_xs_ae9ct_11",d="_prong_ae9ct_15",g="_sm_ae9ct_20",y="_md_ae9ct_29",u="_lg_ae9ct_38",f="_xl_ae9ct_47",x="_primary_ae9ct_70",O="_success_ae9ct_74",S="_warning_ae9ct_78",v="_danger_ae9ct_82",$="_info_ae9ct_86",j="_secondary_ae9ct_90",w="_srOnly_ae9ct_156",h="_fullScreenOverlay_ae9ct_169",s={spinner:m,xs:p,prong:d,sm:g,md:y,lg:u,xl:f,primary:x,success:O,warning:S,danger:v,info:$,secondary:j,srOnly:w,fullScreenOverlay:h},N={xs:s.xs,sm:s.sm,md:s.md,lg:s.lg,xl:s.xl},M={primary:s.primary,success:s.success,warning:s.warning,danger:s.danger,info:s.info,secondary:s.secondary};function q({size:a="md",variant:c="primary",label:e="Loading",fullScreen:t=!1,className:_,style:o,...l}){const r=n.jsxs("span",{className:`${s.spinner} ${N[a]} ${M[c]} ${_??""}`.trim(),role:"status","aria-label":e,style:o,...l,children:[Array.from({length:10}).map((C,i)=>n.jsx("span",{className:s.prong},i)),e&&n.jsx("span",{className:s.srOnly,children:e})]});return t?n.jsx("div",{className:s.fullScreenOverlay,children:r}):r}exports.Spinner=q;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index57.css';const p = "_spinner_ae9ct_2", d = "_xs_ae9ct_11", g = "_prong_ae9ct_15", y = "_sm_ae9ct_20", f = "_md_ae9ct_29", u = "_lg_ae9ct_38", x = "_xl_ae9ct_47", O = "_primary_ae9ct_70", v = "_success_ae9ct_74", w = "_warning_ae9ct_78", S = "_danger_ae9ct_82", h = "_info_ae9ct_86", N = "_secondary_ae9ct_90", $ = "_srOnly_ae9ct_156", j = "_fullScreenOverlay_ae9ct_169", s = {
|
|
3
3
|
spinner: p,
|
|
4
4
|
xs: d,
|
|
5
5
|
prong: g,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index58.css');const w=require("react/jsx-runtime"),j="_stack_bxyw0_2",b="_vertical_bxyw0_7",d="_horizontal_bxyw0_11",x="_wrap_bxyw0_16",v="_gapXs_bxyw0_21",C="_gapSm_bxyw0_25",m="_gapMd_bxyw0_29",E="_gapLg_bxyw0_33",h="_gapXl_bxyw0_37",B="_alignStart_bxyw0_42",M="_alignCenter_bxyw0_46",X="_alignEnd_bxyw0_50",k="_alignStretch_bxyw0_54",z="_alignBaseline_bxyw0_58",A="_justifyStart_bxyw0_63",L="_justifyCenter_bxyw0_67",$="_justifyEnd_bxyw0_71",q="_justifySpaceBetween_bxyw0_75",T="_justifySpaceAround_bxyw0_79",G="_justifySpaceEvenly_bxyw0_83",t={stack:j,vertical:b,horizontal:d,wrap:x,gapXs:v,gapSm:C,gapMd:m,gapLg:E,gapXl:h,alignStart:B,alignCenter:M,alignEnd:X,alignStretch:k,alignBaseline:z,justifyStart:A,justifyCenter:L,justifyEnd:$,justifySpaceBetween:q,justifySpaceAround:T,justifySpaceEvenly:G},N={vertical:t.vertical,horizontal:t.horizontal},s={xs:t.gapXs,sm:t.gapSm,md:t.gapMd,lg:t.gapLg,xl:t.gapXl},O={start:t.alignStart,center:t.alignCenter,end:t.alignEnd,stretch:t.alignStretch,baseline:t.alignBaseline},P={start:t.justifyStart,center:t.justifyCenter,end:t.justifyEnd,"space-between":t.justifySpaceBetween,"space-around":t.justifySpaceAround,"space-evenly":t.justifySpaceEvenly};function D({direction:i="vertical",gap:a="md",align:c="stretch",justify:l="start",wrap:r=!1,as:_="div",className:o,style:y,children:g,...p}){const u=_,e={};let n="";if(typeof a=="string"&&a in s)n=s[a];else{const f=typeof a=="number"?`${a}px`:a;e.gap=f}const S=[t.stack,N[i],n,O[c],P[l],r?t.wrap:"",o??""].filter(Boolean).join(" ");return w.jsx(u,{className:S,style:{...e,...y},...p,children:g})}exports.Stack=D;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as w } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index58.css';const j = "_stack_bxyw0_2", x = "_vertical_bxyw0_7", b = "_horizontal_bxyw0_11", d = "_wrap_bxyw0_16", m = "_gapXs_bxyw0_21", C = "_gapSm_bxyw0_25", v = "_gapMd_bxyw0_29", E = "_gapLg_bxyw0_33", h = "_gapXl_bxyw0_37", B = "_alignStart_bxyw0_42", M = "_alignCenter_bxyw0_46", X = "_alignEnd_bxyw0_50", k = "_alignStretch_bxyw0_54", z = "_alignBaseline_bxyw0_58", A = "_justifyStart_bxyw0_63", L = "_justifyCenter_bxyw0_67", G = "_justifyEnd_bxyw0_71", N = "_justifySpaceBetween_bxyw0_75", T = "_justifySpaceAround_bxyw0_79", $ = "_justifySpaceEvenly_bxyw0_83", t = {
|
|
3
3
|
stack: j,
|
|
4
4
|
vertical: x,
|
|
5
5
|
horizontal: b,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index59.css');const t=require("react/jsx-runtime"),h="_wrapper_4tv3c_1",v="_disabled_4tv3c_10",g="_input_4tv3c_15",w="_slider_4tv3c_24",x="_thumb_4tv3c_34",y="_label_4tv3c_65",$="_sm_4tv3c_77",j="_md_4tv3c_96",N="_lg_4tv3c_115",s={wrapper:h,disabled:v,input:g,slider:w,thumb:x,label:y,sm:$,md:j,lg:N},f={sm:s.sm,md:s.md,lg:s.lg};function S({id:l,name:c,checked:a,disabled:i=!1,label:e,size:d="md",className:n,onChange:_,onBlur:o,onFocus:m,"aria-label":p,"aria-describedby":b,...u}){const r=l||`switch-${c}`;return t.jsxs("label",{className:`${n??""} ${s.wrapper} ${f[d]} ${i?s.disabled:""}`,htmlFor:r,children:[t.jsx("input",{type:"checkbox",id:r,name:c,checked:a,disabled:i,onChange:_,onBlur:o,onFocus:m,className:s.input,role:"checkbox","aria-checked":a,"aria-label":p||(typeof e=="string"?e:void 0),"aria-describedby":b,...u}),t.jsx("span",{className:s.slider,"aria-hidden":"true",children:t.jsx("span",{className:s.thumb})}),e&&t.jsx("span",{className:s.label,children:e})]})}exports.Switch=S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as u, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import '../../../
|
|
2
|
+
import '../../../index59.css';const v = "_wrapper_4tv3c_1", w = "_disabled_4tv3c_10", g = "_input_4tv3c_15", x = "_slider_4tv3c_24", y = "_thumb_4tv3c_34", N = "_label_4tv3c_65", $ = "_sm_4tv3c_77", f = "_md_4tv3c_96", j = "_lg_4tv3c_115", s = {
|
|
3
3
|
wrapper: v,
|
|
4
4
|
disabled: w,
|
|
5
5
|
input: g,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index60.css');const e=require("react/jsx-runtime"),o=require("react"),q="_tooltipContainer_v8gjn_1",y="_tooltip_v8gjn_1",F="_top_v8gjn_28",N="_bottom_v8gjn_35",V="_left_v8gjn_42",B="_right_v8gjn_49",H="_visible_v8gjn_57",I="_arrow_v8gjn_79",t={tooltipContainer:q,tooltip:y,top:F,bottom:N,left:V,right:B,visible:H,arrow:I},h={top:t.top,bottom:t.bottom,left:t.left,right:t.right};function O({content:d,children:a,position:f="top",showDelay:_=200,hideDelay:p=0,disabled:m=!1,arrow:b=!0,maxWidth:l=250,interactive:u=!1,className:j,style:T,...M}){const[v,n]=o.useState(!1),s=o.useRef(null),r=o.useRef(null),$=o.useRef(null),i=()=>{s.current&&(clearTimeout(s.current),s.current=null),r.current&&(clearTimeout(r.current),r.current=null)},g=()=>{m||(i(),_>0?s.current=setTimeout(()=>{n(!0)},_):n(!0))},c=()=>{i(),p>0?r.current=setTimeout(()=>{n(!1)},p):n(!1)},R=()=>{g()},w=()=>{u||c()},x=()=>{g()},C=()=>{c()},E=()=>{u&&i()},L=()=>{u&&c()};o.useEffect(()=>()=>{i()},[]);const S=typeof l=="number"?`${l}px`:l;return m?e.jsx(e.Fragment,{children:a}):e.jsxs("div",{ref:$,className:`${t.tooltipContainer} ${j??""}`.trim(),onMouseEnter:R,onMouseLeave:w,onFocus:x,onBlur:C,style:T,...M,children:[a,e.jsxs("div",{className:`${t.tooltip} ${h[f]} ${v?t.visible:""}`.trim(),style:{maxWidth:S},onMouseEnter:E,onMouseLeave:L,role:"tooltip","aria-hidden":!v,children:[d,b&&e.jsx("div",{className:`${t.arrow} ${h[f]}`})]})]})}exports.Tooltip=O;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as h, Fragment as V, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import { useState as B, useRef as u, useEffect as S } from "react";
|
|
3
|
-
import '../../../
|
|
3
|
+
import '../../../index60.css';const y = "_tooltipContainer_v8gjn_1", H = "_tooltip_v8gjn_1", I = "_top_v8gjn_28", k = "_bottom_v8gjn_35", q = "_left_v8gjn_42", z = "_right_v8gjn_49", A = "_visible_v8gjn_57", G = "_arrow_v8gjn_79", t = {
|
|
4
4
|
tooltipContainer: y,
|
|
5
5
|
tooltip: H,
|
|
6
6
|
top: I,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f={mode:"light",primary:{10:"#e6f0ff",25:"#b3d1ff",50:"#4da3ff",75:"#0066cc",100:"#004a99",foreground:"#ffffff",rgb:"0, 74, 153"},secondary:{10:"#f2f4f7",25:"#d0d5db",50:"#6b7280",75:"#374151",100:"#111827",foreground:"#ffffff",rgb:"17, 24, 39"},text:{primary:"#111111"},button:{primary:{base:{bg:"primary.100",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"primary.100",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},secondary:{base:{bg:"primary.100",text:"primary.100",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},blurred:{base:{bg:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f={mode:"light",primary:{10:"#e6f0ff",25:"#b3d1ff",50:"#4da3ff",75:"#0066cc",100:"#004a99",foreground:"#ffffff",rgb:"0, 74, 153"},secondary:{10:"#f2f4f7",25:"#d0d5db",50:"#6b7280",75:"#374151",100:"#111827",foreground:"#ffffff",rgb:"17, 24, 39"},text:{primary:"#111111"},button:{primary:{base:{bg:"primary.100",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"primary.100",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},secondary:{base:{bg:"primary.100",text:"primary.100",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},blurred:{base:{bg:"rgba(0, 74, 153, 0.75)",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"rgba(255, 255, 255, 0.75)",text:"primary.100",hover:{bg:"primary.100",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}}},navigation:{transparent:{links:"#111827",linksHover:"#004a99"}},carousel:{button:{background:"#d1d5db",text:"secondary.100"}},background:"#ffffff",backgroundRgb:"255, 255, 255",foreground:"#ffffff",foregroundRgb:"255, 255, 255",border:"#d1d5db",heading:"#111111",link:{base:"#004a99",hover:"#004a99",inverted:"#ffffff"},error:"#b91c1c",success:"#1e7e34",warning:"#d97706",status:{online:"#1e7e34",offline:"#6b7280",busy:"#b91c1c"},states:{muted:{bg:"#d1d5db",text:"#292A2B",hover:"#BCBFC5"},info:{bg:"#004a99",text:"#ffffff",hover:"#4da3ff"},success:{bg:"#1e7e34",text:"#ffffff",hover:"#4ade80"},error:{bg:"#b91c1c",text:"#ffffff",hover:"#f87171"},warning:{bg:"#b97706",text:"#ffffff",hover:"#facc15"}},tab:{background:"#1f2937",text:"#ffffff"}},r={...f,mode:"light"},e={mode:"dark",primary:{10:"#1a2b47",25:"#274572",50:"#336199",75:"#3d7ad1",100:"#4da3ff",foreground:"#ffffff",rgb:"77, 163, 255"},secondary:{10:"#1f2937",25:"#374151",50:"#6b7280",75:"#9ca3af",100:"#d1d5db",foreground:"#111111",rgb:"209, 213, 219"},text:{primary:"#f9fafb"},button:{primary:{base:{bg:"primary.100",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"secondary.10",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},secondary:{base:{bg:"primary.100",text:"primary.100",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},blurred:{base:{bg:"primary.100",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"secondary.10",hover:{bg:"primary.100",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}}},navigation:{transparent:{links:"#f9fafb",linksHover:"#4da3ff"}},carousel:{button:{background:"#d1d5db",text:"secondary.10"}},background:"#111827",backgroundRgb:"17, 24, 39",foreground:"#1f2937",foregroundRgb:"12, 26, 22",border:"#374151",heading:"#f9fafb",link:{base:"#4da3ff",hover:"#4da3ff",inverted:"secondary.100"},error:"#f87171",success:"#4ade80",warning:"#facc15",status:{online:"#1e7e34",offline:"#6b7280",busy:"#b91c1c"},states:{info:{bg:"#4da3ff",text:"#111111",hover:"#004a99"},success:{bg:"#4ade80",text:"#111111",hover:"#1e7e34"},error:{bg:"#f87171",text:"#111111",hover:"#b91c1c"},warning:{bg:"#facc15",text:"#111111",hover:"#b97706"}},tab:{background:"#f2f4f7",text:"#111111"}};exports.darkTheme=e;exports.defaultTheme=f;exports.lightTheme=r;
|
|
@@ -76,7 +76,7 @@ const f = {
|
|
|
76
76
|
},
|
|
77
77
|
blurred: {
|
|
78
78
|
base: {
|
|
79
|
-
bg: "
|
|
79
|
+
bg: "rgba(0, 74, 153, 0.75)",
|
|
80
80
|
text: "#ffffff",
|
|
81
81
|
hover: {
|
|
82
82
|
bg: "primary.75",
|
|
@@ -84,7 +84,7 @@ const f = {
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
inverted: {
|
|
87
|
-
bg: "
|
|
87
|
+
bg: "rgba(255, 255, 255, 0.75)",
|
|
88
88
|
text: "primary.100",
|
|
89
89
|
hover: {
|
|
90
90
|
bg: "primary.100",
|