quirk-ui 0.0.272 → 0.0.274
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/components/CallToAction/CallToAction.test.js +1 -1
- package/dist/components/CallToAction/index.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/NavBar/index.js +80 -80
- package/dist/{index-rGvptsTg.js → index-CHqqMxmE.js} +127 -97
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { d as i, i as o, r, s as l, g as t } from "../../vi.ClIskdbk-CZ8iFAMK.js";
|
|
3
|
-
import { C as a } from "../../index-
|
|
3
|
+
import { C as a } from "../../index-CHqqMxmE.js";
|
|
4
4
|
import "../../index-BBIdMcpm.js";
|
|
5
5
|
i("CallToAction", () => {
|
|
6
6
|
o("renders as a button when 'as' is set to 'button'", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { C as y, F as T, a as I, b as k, c as F, d as $ } from "../../index-
|
|
2
|
+
import { C as y, F as T, a as I, b as k, c as F, d as $ } from "../../index-CHqqMxmE.js";
|
|
3
3
|
import { ButtonGroup as x } from "../ButtonGroup/index.js";
|
|
4
4
|
import { E as A } from "../../external-link-BOPobeQJ.js";
|
|
5
5
|
import '../../assets/index33.css';const E = "_footer_aj3nw_1", L = "_container_aj3nw_10", S = "_primaryNav_aj3nw_24", z = "_secondaryNav_aj3nw_34", C = "_details_aj3nw_71", Y = "_nav_aj3nw_84", B = "_logo_aj3nw_92", G = "_socialItems_aj3nw_98", M = "_group_aj3nw_105", P = "_groups_aj3nw_115", W = "_groupTitle_aj3nw_126", q = "_sublinks_aj3nw_135", D = "_link_aj3nw_143", H = "_newTabIcon_aj3nw_161", J = "_bottom_aj3nw_175", a = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
1
|
+
import { jsx as a, jsxs as t, Fragment as ge } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h, useEffect as S, useRef as T, useCallback as _ } from "react";
|
|
3
3
|
import { s as e, N as Ne } from "../../NavLink-B8oPvlqf.js";
|
|
4
4
|
import { Modal as $e } from "../Modal/index.js";
|
|
5
|
-
import { e as we, C as
|
|
6
|
-
import { ButtonGroup as
|
|
5
|
+
import { e as we, C as Y } from "../../index-CHqqMxmE.js";
|
|
6
|
+
import { ButtonGroup as Z } from "../ButtonGroup/index.js";
|
|
7
7
|
import { E as z } from "../../external-link-BOPobeQJ.js";
|
|
8
8
|
import { X as ye } from "../../x-CnsEH4Ox.js";
|
|
9
9
|
import { c as P } from "../../createLucideIcon-C8GTh_Qx.js";
|
|
@@ -42,7 +42,7 @@ function Ge({
|
|
|
42
42
|
logo: R,
|
|
43
43
|
items: A,
|
|
44
44
|
groups: m,
|
|
45
|
-
utilityItems:
|
|
45
|
+
utilityItems: i,
|
|
46
46
|
isSticky: ne = !1,
|
|
47
47
|
showSearch: F = !0,
|
|
48
48
|
alignment: C = "right",
|
|
@@ -51,7 +51,7 @@ function Ge({
|
|
|
51
51
|
searchComponent: le,
|
|
52
52
|
className: se
|
|
53
53
|
}) {
|
|
54
|
-
const [f, W] = h(!1), [B, b] = h(null), [ie, re] = h(0), [
|
|
54
|
+
const [f, W] = h(!1), [B, b] = h(null), [ie, re] = h(0), [te, oe] = h(!1), [ce, de] = h(null), [o, k] = h([]), [g, x] = h(
|
|
55
55
|
0
|
|
56
56
|
), [he, D] = h(null), [N, fe] = h(!1), [$, L] = h("forward"), O = () => /* @__PURE__ */ a(
|
|
57
57
|
"div",
|
|
@@ -113,25 +113,25 @@ function Ge({
|
|
|
113
113
|
}, G = (n) => {
|
|
114
114
|
const l = E.current.get(n);
|
|
115
115
|
if (l && p.current) {
|
|
116
|
-
const
|
|
117
|
-
de(
|
|
116
|
+
const c = l.getBoundingClientRect(), d = p.current.getBoundingClientRect(), s = c.left - d.left + c.width / 4;
|
|
117
|
+
de(s);
|
|
118
118
|
}
|
|
119
119
|
}, ve = (n) => {
|
|
120
120
|
b((l) => l === n ? null : n);
|
|
121
|
-
},
|
|
121
|
+
}, I = _((n) => {
|
|
122
122
|
M.current && !M.current.contains(n.target) && b(null);
|
|
123
|
+
}, []), X = _(() => {
|
|
124
|
+
q(), typeof window < "u" && window.innerWidth > 768 && (W(!1), b(null), typeof document < "u" && (document.body.style.overflow = ""));
|
|
123
125
|
}, []), q = _(() => {
|
|
124
|
-
U(), typeof window < "u" && window.innerWidth > 768 && (W(!1), b(null), typeof document < "u" && (document.body.style.overflow = ""));
|
|
125
|
-
}, []), U = _(() => {
|
|
126
126
|
if (p.current) {
|
|
127
127
|
const n = p.current.getBoundingClientRect().width;
|
|
128
|
-
re(n),
|
|
128
|
+
re(n), oe(!0);
|
|
129
129
|
}
|
|
130
130
|
}, []);
|
|
131
131
|
S(() => {
|
|
132
132
|
const n = typeof window < "u", l = typeof document < "u";
|
|
133
|
-
return n && window.addEventListener("resize",
|
|
134
|
-
n && window.removeEventListener("resize",
|
|
133
|
+
return n && window.addEventListener("resize", X), l && document.addEventListener("click", I), q(), () => {
|
|
134
|
+
n && window.removeEventListener("resize", X), l && document.removeEventListener("click", I);
|
|
135
135
|
};
|
|
136
136
|
}, []), S(() => {
|
|
137
137
|
if (typeof document < "u")
|
|
@@ -139,21 +139,21 @@ function Ge({
|
|
|
139
139
|
document.body.style.overflow = "";
|
|
140
140
|
};
|
|
141
141
|
}, [f]);
|
|
142
|
-
const ke = (n) => n.map((l,
|
|
143
|
-
var V, H, J, K
|
|
144
|
-
const d = `group-${
|
|
145
|
-
return /* @__PURE__ */
|
|
142
|
+
const ke = (n) => n.map((l, c) => {
|
|
143
|
+
var U, V, H, J, K;
|
|
144
|
+
const d = `group-${c}`, y = he === c, s = (U = l.primaryItems) == null ? void 0 : U[g ?? 0];
|
|
145
|
+
return /* @__PURE__ */ t(
|
|
146
146
|
"div",
|
|
147
147
|
{
|
|
148
148
|
className: `${e.linkWrapper} ${e.parent}`,
|
|
149
149
|
onMouseEnter: () => {
|
|
150
|
-
D(
|
|
150
|
+
D(c), b(d), G(d);
|
|
151
151
|
},
|
|
152
152
|
onMouseLeave: () => {
|
|
153
153
|
D(null), x(0), b(null);
|
|
154
154
|
},
|
|
155
155
|
children: [
|
|
156
|
-
/* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */
|
|
156
|
+
/* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ t(
|
|
157
157
|
"button",
|
|
158
158
|
{
|
|
159
159
|
ref: (r) => {
|
|
@@ -162,7 +162,7 @@ function Ge({
|
|
|
162
162
|
role: "menuitem",
|
|
163
163
|
"aria-haspopup": "true",
|
|
164
164
|
"aria-expanded": y,
|
|
165
|
-
"aria-controls": `submenu-${
|
|
165
|
+
"aria-controls": `submenu-${c}`,
|
|
166
166
|
className: `${e.sublinkToggle} ${y ? e.open : ""} `,
|
|
167
167
|
children: [
|
|
168
168
|
l.title,
|
|
@@ -173,23 +173,23 @@ function Ge({
|
|
|
173
173
|
/* @__PURE__ */ a(
|
|
174
174
|
"div",
|
|
175
175
|
{
|
|
176
|
-
id: `submenu-${
|
|
176
|
+
id: `submenu-${c}`,
|
|
177
177
|
className: `${e.sublinks} ${y ? e.show : ""}`,
|
|
178
178
|
role: "menu",
|
|
179
179
|
"aria-label": `${l.title} submenu`,
|
|
180
|
-
children: /* @__PURE__ */ a("div", { children: /* @__PURE__ */
|
|
180
|
+
children: /* @__PURE__ */ a("div", { children: /* @__PURE__ */ t(
|
|
181
181
|
"div",
|
|
182
182
|
{
|
|
183
183
|
className: `${e.sublinksInner} ${l.spotlight ? e.withSpotlight : e.withoutSpotlight}`,
|
|
184
184
|
children: [
|
|
185
|
-
/* @__PURE__ */
|
|
185
|
+
/* @__PURE__ */ t(
|
|
186
186
|
"div",
|
|
187
187
|
{
|
|
188
188
|
className: `${e.sublinksColumn} ${e.primaryColumn}`,
|
|
189
189
|
children: [
|
|
190
190
|
/* @__PURE__ */ a("div", { className: e.linkItem }),
|
|
191
|
-
(
|
|
192
|
-
(r, u) => r.href ? /* @__PURE__ */
|
|
191
|
+
(V = l.primaryItems) == null ? void 0 : V.map(
|
|
192
|
+
(r, u) => r.href ? /* @__PURE__ */ t(
|
|
193
193
|
"a",
|
|
194
194
|
{
|
|
195
195
|
href: r.href,
|
|
@@ -197,13 +197,13 @@ function Ge({
|
|
|
197
197
|
target: r.isExternal ? "_blank" : "_self",
|
|
198
198
|
rel: r.isExternal ? "noopener noreferrer" : void 0,
|
|
199
199
|
onClick: () => {
|
|
200
|
-
var
|
|
201
|
-
b(null), (
|
|
200
|
+
var Q;
|
|
201
|
+
b(null), (Q = r.onClick) == null || Q.call(r);
|
|
202
202
|
},
|
|
203
203
|
onMouseEnter: () => r.sublinks ? x(u) : null,
|
|
204
204
|
role: "menuitem",
|
|
205
205
|
children: [
|
|
206
|
-
/* @__PURE__ */
|
|
206
|
+
/* @__PURE__ */ t("span", { className: e.linkContent, children: [
|
|
207
207
|
r.label,
|
|
208
208
|
r.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: r.subtitle })
|
|
209
209
|
] }),
|
|
@@ -222,7 +222,7 @@ function Ge({
|
|
|
222
222
|
{
|
|
223
223
|
className: `${e.sublinkToggle} ${g === u ? e.open : ""}`,
|
|
224
224
|
onMouseEnter: () => x(u),
|
|
225
|
-
children: /* @__PURE__ */
|
|
225
|
+
children: /* @__PURE__ */ t("span", { className: e.linkContent, children: [
|
|
226
226
|
r.label,
|
|
227
227
|
r.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: r.subtitle })
|
|
228
228
|
] })
|
|
@@ -233,21 +233,21 @@ function Ge({
|
|
|
233
233
|
]
|
|
234
234
|
}
|
|
235
235
|
),
|
|
236
|
-
(
|
|
236
|
+
(s == null ? void 0 : s.sublinks) && ((H = s == null ? void 0 : s.sublinks) == null ? void 0 : H.length) > 0 && /* @__PURE__ */ t(
|
|
237
237
|
"div",
|
|
238
238
|
{
|
|
239
239
|
className: `${e.sublinksColumn} ${e.childrenColumn} ${e.fadeInFromLeft}`,
|
|
240
240
|
children: [
|
|
241
|
-
(
|
|
242
|
-
(
|
|
243
|
-
|
|
241
|
+
(s == null ? void 0 : s.description) && /* @__PURE__ */ a("div", { className: e.sublinksDescription, children: s == null ? void 0 : s.description }),
|
|
242
|
+
(s == null ? void 0 : s.sublinks) && w(
|
|
243
|
+
s.sublinks,
|
|
244
244
|
`${d}-${g}`
|
|
245
245
|
)
|
|
246
246
|
]
|
|
247
247
|
},
|
|
248
|
-
`${
|
|
248
|
+
`${s.label}-${(J = s == null ? void 0 : s.sublinks) == null ? void 0 : J.length}`
|
|
249
249
|
),
|
|
250
|
-
(l == null ? void 0 : l.secondaryItems) && ((
|
|
250
|
+
(l == null ? void 0 : l.secondaryItems) && ((K = l == null ? void 0 : l.secondaryItems) == null ? void 0 : K.length) > 0 && /* @__PURE__ */ a(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
253
253
|
className: `${e.sublinksColumn} ${e.secondaryColumn}`,
|
|
@@ -268,14 +268,14 @@ function Ge({
|
|
|
268
268
|
)
|
|
269
269
|
]
|
|
270
270
|
},
|
|
271
|
-
|
|
271
|
+
c
|
|
272
272
|
);
|
|
273
|
-
}), w = (n, l = "") => n.map((
|
|
274
|
-
const d = `${l}/${
|
|
273
|
+
}), w = (n, l = "") => n.map((c) => {
|
|
274
|
+
const d = `${l}/${c.label}`;
|
|
275
275
|
return /* @__PURE__ */ a(
|
|
276
276
|
Ne,
|
|
277
277
|
{
|
|
278
|
-
link:
|
|
278
|
+
link: c,
|
|
279
279
|
path: d,
|
|
280
280
|
parentPath: l,
|
|
281
281
|
openPath: B,
|
|
@@ -295,10 +295,10 @@ function Ge({
|
|
|
295
295
|
className: `${se ?? ""} ${Te[C]} ${Se[ae]} ${e.navbar} ${ne ? e.sticky : ""} ${m && m.length ? e.advanced : e.default}`,
|
|
296
296
|
role: "navigation",
|
|
297
297
|
"aria-label": "Main navigation",
|
|
298
|
-
children: /* @__PURE__ */
|
|
298
|
+
children: /* @__PURE__ */ t(
|
|
299
299
|
"div",
|
|
300
300
|
{
|
|
301
|
-
className: `${e.container} ${(!
|
|
301
|
+
className: `${e.container} ${(!i || i.length === 0) && C !== "center" ? e.twoColumn : ""}`,
|
|
302
302
|
children: [
|
|
303
303
|
R ? /* @__PURE__ */ a("div", { className: e.logo, children: R }) : /* @__PURE__ */ a("div", { className: e.title, children: ee }),
|
|
304
304
|
/* @__PURE__ */ a(
|
|
@@ -308,15 +308,15 @@ function Ge({
|
|
|
308
308
|
style: {
|
|
309
309
|
left: C === "center" ? `calc(50% - ${ie / 2}px)` : "0"
|
|
310
310
|
},
|
|
311
|
-
className: `${e.nav} ${f ? e.open : ""} ${
|
|
311
|
+
className: `${e.nav} ${f ? e.open : ""} ${te ? e.visible : e.hidden}`,
|
|
312
312
|
id: "main-menu",
|
|
313
313
|
role: "menubar",
|
|
314
314
|
"aria-label": "Main navigation",
|
|
315
|
-
children: /* @__PURE__ */
|
|
315
|
+
children: /* @__PURE__ */ t("div", { className: e.navInner, children: [
|
|
316
316
|
/* @__PURE__ */ a(
|
|
317
317
|
"svg",
|
|
318
318
|
{
|
|
319
|
-
style: { left: `${
|
|
319
|
+
style: { left: `${ce}px` },
|
|
320
320
|
className: `${e.triangle} ${B ? e.show : ""}`,
|
|
321
321
|
width: 16,
|
|
322
322
|
height: 12,
|
|
@@ -334,14 +334,14 @@ function Ge({
|
|
|
334
334
|
}
|
|
335
335
|
),
|
|
336
336
|
v === "default" && A && /* @__PURE__ */ a("div", { className: e.grid, children: w(A) }),
|
|
337
|
-
!N && v === "advanced" && m && /* @__PURE__ */
|
|
337
|
+
!N && v === "advanced" && m && /* @__PURE__ */ t("div", { className: e.grid, children: [
|
|
338
338
|
ke(m),
|
|
339
|
-
F && /* @__PURE__ */
|
|
339
|
+
F && /* @__PURE__ */ t(ge, { children: [
|
|
340
340
|
/* @__PURE__ */ a("span", { className: e.separator }),
|
|
341
341
|
/* @__PURE__ */ a(O, {})
|
|
342
342
|
] })
|
|
343
343
|
] }),
|
|
344
|
-
N && v === "advanced" && f &&
|
|
344
|
+
N && v === "advanced" && f && o.length === 0 && m && /* @__PURE__ */ a("div", { className: `${e.mobileMenu}`, children: m.map((n, l) => /* @__PURE__ */ a(
|
|
345
345
|
"div",
|
|
346
346
|
{
|
|
347
347
|
className: `${e.mobileMenuItem} ${$ === "forward" ? e.fadeInFromLeft : e.fadeInFromRight}`,
|
|
@@ -356,7 +356,7 @@ function Ge({
|
|
|
356
356
|
},
|
|
357
357
|
n._key ?? l
|
|
358
358
|
)) }),
|
|
359
|
-
N && v === "advanced" && f &&
|
|
359
|
+
N && v === "advanced" && f && o.length > 0 && /* @__PURE__ */ t(
|
|
360
360
|
"div",
|
|
361
361
|
{
|
|
362
362
|
className: `${e.mobileMenuSlide} `,
|
|
@@ -365,7 +365,7 @@ function Ge({
|
|
|
365
365
|
"button",
|
|
366
366
|
{
|
|
367
367
|
className: e.back,
|
|
368
|
-
onClick:
|
|
368
|
+
onClick: o.length === 1 ? be : ue,
|
|
369
369
|
children: /* @__PURE__ */ a(
|
|
370
370
|
we,
|
|
371
371
|
{
|
|
@@ -376,14 +376,14 @@ function Ge({
|
|
|
376
376
|
)
|
|
377
377
|
}
|
|
378
378
|
),
|
|
379
|
-
|
|
379
|
+
o[o.length - 1].description && /* @__PURE__ */ a(
|
|
380
380
|
"div",
|
|
381
381
|
{
|
|
382
382
|
className: `${e.sublinksDescription} ${$ === "forward" ? e.fadeInFromLeft : e.fadeInFromRight}`,
|
|
383
|
-
children:
|
|
383
|
+
children: o[o.length - 1].description
|
|
384
384
|
}
|
|
385
385
|
),
|
|
386
|
-
|
|
386
|
+
o[o.length - 1].primary.map((n, l) => /* @__PURE__ */ a(
|
|
387
387
|
"div",
|
|
388
388
|
{
|
|
389
389
|
className: `${e.mobileMenuItem} ${$ === "forward" ? e.fadeInFromLeft : e.fadeInFromRight}`,
|
|
@@ -392,12 +392,12 @@ function Ge({
|
|
|
392
392
|
{
|
|
393
393
|
className: e.sublinkToggle,
|
|
394
394
|
onClick: () => j(n),
|
|
395
|
-
children: /* @__PURE__ */
|
|
395
|
+
children: /* @__PURE__ */ t("span", { className: e.linkContent, children: [
|
|
396
396
|
n.label,
|
|
397
397
|
n.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: n.subtitle })
|
|
398
398
|
] })
|
|
399
399
|
}
|
|
400
|
-
) : /* @__PURE__ */
|
|
400
|
+
) : /* @__PURE__ */ t(
|
|
401
401
|
"a",
|
|
402
402
|
{
|
|
403
403
|
href: n.href,
|
|
@@ -406,7 +406,7 @@ function Ge({
|
|
|
406
406
|
rel: n.isExternal ? "noopener noreferrer" : void 0,
|
|
407
407
|
role: "menuitem",
|
|
408
408
|
children: [
|
|
409
|
-
/* @__PURE__ */
|
|
409
|
+
/* @__PURE__ */ t("span", { className: e.linkContent, children: [
|
|
410
410
|
n.label,
|
|
411
411
|
n.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: n.subtitle })
|
|
412
412
|
] }),
|
|
@@ -423,8 +423,8 @@ function Ge({
|
|
|
423
423
|
},
|
|
424
424
|
n._key ?? `primary-${l}`
|
|
425
425
|
)),
|
|
426
|
-
|
|
427
|
-
|
|
426
|
+
o[o.length - 1].secondary.length > 0 && /* @__PURE__ */ a("hr", { className: e.groupDivider }),
|
|
427
|
+
o[o.length - 1].secondary.map(
|
|
428
428
|
(n, l) => /* @__PURE__ */ a(
|
|
429
429
|
"div",
|
|
430
430
|
{
|
|
@@ -436,7 +436,7 @@ function Ge({
|
|
|
436
436
|
onClick: () => j(n),
|
|
437
437
|
children: n.label
|
|
438
438
|
}
|
|
439
|
-
) : /* @__PURE__ */
|
|
439
|
+
) : /* @__PURE__ */ t(
|
|
440
440
|
"a",
|
|
441
441
|
{
|
|
442
442
|
href: n.href,
|
|
@@ -462,13 +462,13 @@ function Ge({
|
|
|
462
462
|
)
|
|
463
463
|
]
|
|
464
464
|
},
|
|
465
|
-
`stack-${
|
|
465
|
+
`stack-${o.length}`
|
|
466
466
|
)
|
|
467
467
|
] })
|
|
468
468
|
}
|
|
469
469
|
),
|
|
470
|
-
|
|
471
|
-
|
|
470
|
+
i && /* @__PURE__ */ a("nav", { className: e.utility, "aria-label": "Utility navigation", children: /* @__PURE__ */ a(Z, { children: i.map((n, l) => /* @__PURE__ */ a(
|
|
471
|
+
Y,
|
|
472
472
|
{
|
|
473
473
|
as: "a",
|
|
474
474
|
href: n.href ?? "/",
|
|
@@ -479,42 +479,42 @@ function Ge({
|
|
|
479
479
|
"aria-label": n.ariaLabel ?? n.label,
|
|
480
480
|
icon: n.icon,
|
|
481
481
|
iconAlignment: n.iconAlignment,
|
|
482
|
-
children:
|
|
482
|
+
children: n.imageSrc ? /* @__PURE__ */ a(
|
|
483
483
|
"img",
|
|
484
484
|
{
|
|
485
485
|
className: e.utilityImage,
|
|
486
|
-
src:
|
|
487
|
-
alt:
|
|
486
|
+
src: n.imageSrc,
|
|
487
|
+
alt: n.imageAlt ?? n.ariaLabel ?? n.label
|
|
488
488
|
}
|
|
489
|
-
) :
|
|
489
|
+
) : n.label
|
|
490
490
|
},
|
|
491
491
|
n._key || l
|
|
492
492
|
)) }) }),
|
|
493
|
-
|
|
493
|
+
i && /* @__PURE__ */ a(
|
|
494
494
|
"nav",
|
|
495
495
|
{
|
|
496
496
|
"aria-label": "Utility navigation",
|
|
497
497
|
className: `${e.utilityMobile} ${f ? e.open : ""}`,
|
|
498
|
-
children: /* @__PURE__ */ a(
|
|
499
|
-
|
|
498
|
+
children: /* @__PURE__ */ a(Z, { alignment: "center", children: /* @__PURE__ */ a(
|
|
499
|
+
Y,
|
|
500
500
|
{
|
|
501
501
|
as: "a",
|
|
502
|
-
href:
|
|
503
|
-
variant:
|
|
504
|
-
displayType:
|
|
505
|
-
imageSrc:
|
|
506
|
-
imageAlt:
|
|
507
|
-
"aria-label":
|
|
508
|
-
icon:
|
|
509
|
-
iconAlignment:
|
|
510
|
-
children:
|
|
502
|
+
href: i[1].href ?? "/",
|
|
503
|
+
variant: i[1].variant ?? "primary",
|
|
504
|
+
displayType: i[1].displayType ?? "text",
|
|
505
|
+
imageSrc: i[1].imageSrc,
|
|
506
|
+
imageAlt: i[1].imageAlt,
|
|
507
|
+
"aria-label": i[1].ariaLabel ?? i[1].label,
|
|
508
|
+
icon: i[1].icon,
|
|
509
|
+
iconAlignment: i[1].iconAlignment,
|
|
510
|
+
children: i[1].imageSrc ? /* @__PURE__ */ a(
|
|
511
511
|
"img",
|
|
512
512
|
{
|
|
513
513
|
className: e.utilityImage,
|
|
514
|
-
src:
|
|
515
|
-
"aria-label":
|
|
514
|
+
src: i[1].imageSrc,
|
|
515
|
+
"aria-label": i[1].imageAlt ?? i[1].ariaLabel ?? i[1].label
|
|
516
516
|
}
|
|
517
|
-
) :
|
|
517
|
+
) : i[1].label
|
|
518
518
|
}
|
|
519
519
|
) })
|
|
520
520
|
}
|
|
@@ -2,20 +2,20 @@ import { jsx as c, jsxs as I, Fragment as L } from "react/jsx-runtime";
|
|
|
2
2
|
import d from "react";
|
|
3
3
|
import { c as u } from "./createLucideIcon-C8GTh_Qx.js";
|
|
4
4
|
import { E as M } from "./external-link-BOPobeQJ.js";
|
|
5
|
-
import { C as
|
|
6
|
-
import { a as N, A as
|
|
7
|
-
import './assets/index45.css';const
|
|
8
|
-
callToAction:
|
|
9
|
-
blurred:
|
|
10
|
-
primary:
|
|
5
|
+
import { C as P } from "./chevron-down-DSUzBz9F.js";
|
|
6
|
+
import { a as N, A as V } from "./arrow-right-CnuUc2oD.js";
|
|
7
|
+
import './assets/index45.css';const E = "_callToAction_1wtpc_1", $ = "_blurred_1wtpc_26", A = "_primary_1wtpc_27", F = "_secondary_1wtpc_28", S = "_primaryInverted_1wtpc_29", B = "_secondaryInverted_1wtpc_30", R = "_blurredInverted_1wtpc_32", T = "_link_1wtpc_46", D = "_linkInverted_1wtpc_47", q = "_underline_1wtpc_48", H = "_underlineInverted_1wtpc_49", W = "_content_1wtpc_59", G = "_icon_1wtpc_193", K = "_iconLeft_1wtpc_213", Y = "_iconRight_1wtpc_217", a = {
|
|
8
|
+
callToAction: E,
|
|
9
|
+
blurred: $,
|
|
10
|
+
primary: A,
|
|
11
11
|
secondary: F,
|
|
12
12
|
primaryInverted: S,
|
|
13
13
|
secondaryInverted: B,
|
|
14
|
-
blurredInverted:
|
|
15
|
-
link:
|
|
14
|
+
blurredInverted: R,
|
|
15
|
+
link: T,
|
|
16
16
|
linkInverted: D,
|
|
17
|
-
underline:
|
|
18
|
-
underlineInverted:
|
|
17
|
+
underline: q,
|
|
18
|
+
underlineInverted: H,
|
|
19
19
|
content: W,
|
|
20
20
|
icon: G,
|
|
21
21
|
iconLeft: K,
|
|
@@ -68,24 +68,52 @@ const e1 = [
|
|
|
68
68
|
* See the LICENSE file in the root directory of this source tree.
|
|
69
69
|
*/
|
|
70
70
|
const r1 = [["polygon", { points: "6 3 20 12 6 21 6 3", key: "1oa8hb" }]], c1 = u("play", r1);
|
|
71
|
+
/**
|
|
72
|
+
* @license lucide-react v0.488.0 - ISC
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the ISC license.
|
|
75
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/
|
|
77
|
+
const a1 = [
|
|
78
|
+
["path", { d: "M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "14sxne" }],
|
|
79
|
+
["path", { d: "M3 3v5h5", key: "1xhq8a" }],
|
|
80
|
+
["path", { d: "M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16", key: "1hlbsb" }],
|
|
81
|
+
["path", { d: "M16 16h5v5", key: "ccwih5" }]
|
|
82
|
+
], i1 = u("refresh-ccw", a1);
|
|
83
|
+
/**
|
|
84
|
+
* @license lucide-react v0.488.0 - ISC
|
|
85
|
+
*
|
|
86
|
+
* This source code is licensed under the ISC license.
|
|
87
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
88
|
+
*/
|
|
89
|
+
const o1 = [
|
|
90
|
+
[
|
|
91
|
+
"path",
|
|
92
|
+
{
|
|
93
|
+
d: "M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",
|
|
94
|
+
key: "1qme2f"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
98
|
+
], l1 = u("settings", o1);
|
|
71
99
|
var O = {
|
|
72
100
|
color: void 0,
|
|
73
101
|
size: void 0,
|
|
74
102
|
className: void 0,
|
|
75
103
|
style: void 0,
|
|
76
104
|
attr: void 0
|
|
77
|
-
}, g = d.createContext && /* @__PURE__ */ d.createContext(O),
|
|
78
|
-
function
|
|
105
|
+
}, g = d.createContext && /* @__PURE__ */ d.createContext(O), s1 = ["attr", "size", "title"];
|
|
106
|
+
function d1(t, e) {
|
|
79
107
|
if (t == null) return {};
|
|
80
|
-
var n =
|
|
108
|
+
var n = u1(t, e), r, i;
|
|
81
109
|
if (Object.getOwnPropertySymbols) {
|
|
82
|
-
var
|
|
83
|
-
for (
|
|
84
|
-
r =
|
|
110
|
+
var o = Object.getOwnPropertySymbols(t);
|
|
111
|
+
for (i = 0; i < o.length; i++)
|
|
112
|
+
r = o[i], !(e.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(t, r) && (n[r] = t[r]);
|
|
85
113
|
}
|
|
86
114
|
return n;
|
|
87
115
|
}
|
|
88
|
-
function
|
|
116
|
+
function u1(t, e) {
|
|
89
117
|
if (t == null) return {};
|
|
90
118
|
var n = {};
|
|
91
119
|
for (var r in t)
|
|
@@ -95,45 +123,45 @@ function a1(t, e) {
|
|
|
95
123
|
}
|
|
96
124
|
return n;
|
|
97
125
|
}
|
|
98
|
-
function
|
|
99
|
-
return
|
|
126
|
+
function h() {
|
|
127
|
+
return h = Object.assign ? Object.assign.bind() : function(t) {
|
|
100
128
|
for (var e = 1; e < arguments.length; e++) {
|
|
101
129
|
var n = arguments[e];
|
|
102
130
|
for (var r in n)
|
|
103
131
|
Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
|
|
104
132
|
}
|
|
105
133
|
return t;
|
|
106
|
-
},
|
|
134
|
+
}, h.apply(this, arguments);
|
|
107
135
|
}
|
|
108
136
|
function w(t, e) {
|
|
109
137
|
var n = Object.keys(t);
|
|
110
138
|
if (Object.getOwnPropertySymbols) {
|
|
111
139
|
var r = Object.getOwnPropertySymbols(t);
|
|
112
|
-
e && (r = r.filter(function(
|
|
113
|
-
return Object.getOwnPropertyDescriptor(t,
|
|
140
|
+
e && (r = r.filter(function(i) {
|
|
141
|
+
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
114
142
|
})), n.push.apply(n, r);
|
|
115
143
|
}
|
|
116
144
|
return n;
|
|
117
145
|
}
|
|
118
|
-
function
|
|
146
|
+
function p(t) {
|
|
119
147
|
for (var e = 1; e < arguments.length; e++) {
|
|
120
148
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
121
149
|
e % 2 ? w(Object(n), !0).forEach(function(r) {
|
|
122
|
-
|
|
150
|
+
h1(t, r, n[r]);
|
|
123
151
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : w(Object(n)).forEach(function(r) {
|
|
124
152
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
125
153
|
});
|
|
126
154
|
}
|
|
127
155
|
return t;
|
|
128
156
|
}
|
|
129
|
-
function
|
|
130
|
-
return e =
|
|
157
|
+
function h1(t, e, n) {
|
|
158
|
+
return e = p1(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
|
|
131
159
|
}
|
|
132
|
-
function
|
|
133
|
-
var e =
|
|
160
|
+
function p1(t) {
|
|
161
|
+
var e = v1(t, "string");
|
|
134
162
|
return typeof e == "symbol" ? e : e + "";
|
|
135
163
|
}
|
|
136
|
-
function
|
|
164
|
+
function v1(t, e) {
|
|
137
165
|
if (typeof t != "object" || !t) return t;
|
|
138
166
|
var n = t[Symbol.toPrimitive];
|
|
139
167
|
if (n !== void 0) {
|
|
@@ -143,151 +171,153 @@ function d1(t, e) {
|
|
|
143
171
|
}
|
|
144
172
|
return (e === "string" ? String : Number)(t);
|
|
145
173
|
}
|
|
146
|
-
function
|
|
147
|
-
return t && t.map((e, n) => /* @__PURE__ */ d.createElement(e.tag,
|
|
174
|
+
function x(t) {
|
|
175
|
+
return t && t.map((e, n) => /* @__PURE__ */ d.createElement(e.tag, p({
|
|
148
176
|
key: n
|
|
149
|
-
}, e.attr),
|
|
177
|
+
}, e.attr), x(e.child)));
|
|
150
178
|
}
|
|
151
179
|
function s(t) {
|
|
152
|
-
return (e) => /* @__PURE__ */ d.createElement(
|
|
153
|
-
attr:
|
|
154
|
-
}, e),
|
|
180
|
+
return (e) => /* @__PURE__ */ d.createElement(f1, h({
|
|
181
|
+
attr: p({}, t.attr)
|
|
182
|
+
}, e), x(t.child));
|
|
155
183
|
}
|
|
156
|
-
function
|
|
184
|
+
function f1(t) {
|
|
157
185
|
var e = (n) => {
|
|
158
186
|
var {
|
|
159
187
|
attr: r,
|
|
160
|
-
size:
|
|
161
|
-
title:
|
|
162
|
-
} = t,
|
|
163
|
-
return n.className && (l = n.className), t.className && (l = (l ? l + " " : "") + t.className), /* @__PURE__ */ d.createElement("svg",
|
|
188
|
+
size: i,
|
|
189
|
+
title: o
|
|
190
|
+
} = t, v = d1(t, s1), f = i || n.size || "1em", l;
|
|
191
|
+
return n.className && (l = n.className), t.className && (l = (l ? l + " " : "") + t.className), /* @__PURE__ */ d.createElement("svg", h({
|
|
164
192
|
stroke: "currentColor",
|
|
165
193
|
fill: "currentColor",
|
|
166
194
|
strokeWidth: "0"
|
|
167
|
-
}, n.attr, r,
|
|
195
|
+
}, n.attr, r, v, {
|
|
168
196
|
className: l,
|
|
169
|
-
style:
|
|
197
|
+
style: p(p({
|
|
170
198
|
color: t.color || n.color
|
|
171
199
|
}, n.style), t.style),
|
|
172
|
-
height:
|
|
173
|
-
width:
|
|
200
|
+
height: f,
|
|
201
|
+
width: f,
|
|
174
202
|
xmlns: "http://www.w3.org/2000/svg"
|
|
175
|
-
}),
|
|
203
|
+
}), o && /* @__PURE__ */ d.createElement("title", null, o), t.children);
|
|
176
204
|
};
|
|
177
205
|
return g !== void 0 ? /* @__PURE__ */ d.createElement(g.Consumer, null, (n) => e(n)) : e(O);
|
|
178
206
|
}
|
|
179
|
-
function
|
|
207
|
+
function m1(t) {
|
|
180
208
|
return s({ attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z" }, child: [] }] })(t);
|
|
181
209
|
}
|
|
182
|
-
function
|
|
210
|
+
function k1(t) {
|
|
183
211
|
return s({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z" }, child: [] }] })(t);
|
|
184
212
|
}
|
|
185
|
-
function
|
|
213
|
+
function y1(t) {
|
|
186
214
|
return s({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z" }, child: [] }] })(t);
|
|
187
215
|
}
|
|
188
|
-
function
|
|
216
|
+
function L1(t) {
|
|
189
217
|
return s({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z" }, child: [] }] })(t);
|
|
190
218
|
}
|
|
191
|
-
function
|
|
219
|
+
function M1(t) {
|
|
192
220
|
return s({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z" }, child: [] }] })(t);
|
|
193
221
|
}
|
|
194
|
-
function
|
|
222
|
+
function P1(t) {
|
|
195
223
|
return s({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z" }, child: [] }] })(t);
|
|
196
224
|
}
|
|
197
|
-
function
|
|
225
|
+
function N1(t) {
|
|
198
226
|
return s({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z" }, child: [] }] })(t);
|
|
199
227
|
}
|
|
200
|
-
function
|
|
228
|
+
function _1(t) {
|
|
201
229
|
return s({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z" }, child: [] }] })(t);
|
|
202
230
|
}
|
|
203
|
-
const
|
|
231
|
+
const g1 = {
|
|
204
232
|
apps: /* @__PURE__ */ I(L, { children: [
|
|
205
|
-
/* @__PURE__ */ c(
|
|
233
|
+
/* @__PURE__ */ c(m1, {}),
|
|
206
234
|
" ",
|
|
207
|
-
/* @__PURE__ */ c(
|
|
235
|
+
/* @__PURE__ */ c(y1, {})
|
|
208
236
|
] }),
|
|
209
|
-
"arrow-left": /* @__PURE__ */ c(
|
|
237
|
+
"arrow-left": /* @__PURE__ */ c(V, {}),
|
|
210
238
|
"arrow-right": /* @__PURE__ */ c(N, {}),
|
|
211
|
-
"chevron-down": /* @__PURE__ */ c(
|
|
239
|
+
"chevron-down": /* @__PURE__ */ c(P, {}),
|
|
212
240
|
"chevron-left": /* @__PURE__ */ c(Q, {}),
|
|
213
241
|
"chevron-right": /* @__PURE__ */ c(X, {}),
|
|
214
|
-
envelope: /* @__PURE__ */ c(
|
|
242
|
+
envelope: /* @__PURE__ */ c(_1, {}),
|
|
215
243
|
phone: /* @__PURE__ */ c(n1, {}),
|
|
216
244
|
play: /* @__PURE__ */ c(c1, {}),
|
|
217
245
|
"new-tab": /* @__PURE__ */ c(M, {}),
|
|
246
|
+
refresh: /* @__PURE__ */ c(i1, {}),
|
|
247
|
+
settings: /* @__PURE__ */ c(l1, {}),
|
|
218
248
|
"sign-in": /* @__PURE__ */ c(t1, {})
|
|
219
249
|
}, b = {
|
|
220
|
-
primary:
|
|
221
|
-
primaryInverted:
|
|
222
|
-
secondary:
|
|
223
|
-
secondaryInverted:
|
|
224
|
-
link:
|
|
225
|
-
linkInverted:
|
|
226
|
-
underline:
|
|
227
|
-
underlineInverted:
|
|
228
|
-
blurred:
|
|
229
|
-
blurredInverted:
|
|
230
|
-
},
|
|
231
|
-
left:
|
|
232
|
-
right:
|
|
250
|
+
primary: a.primary,
|
|
251
|
+
primaryInverted: a.primaryInverted,
|
|
252
|
+
secondary: a.secondary,
|
|
253
|
+
secondaryInverted: a.secondaryInverted,
|
|
254
|
+
link: a.link,
|
|
255
|
+
linkInverted: a.linkInverted,
|
|
256
|
+
underline: a.underline,
|
|
257
|
+
underlineInverted: a.underlineInverted,
|
|
258
|
+
blurred: a.blurred,
|
|
259
|
+
blurredInverted: a.blurredInverted
|
|
260
|
+
}, w1 = {
|
|
261
|
+
left: a.iconLeft,
|
|
262
|
+
right: a.iconRight
|
|
233
263
|
};
|
|
234
|
-
function
|
|
264
|
+
function V1({
|
|
235
265
|
variant: t = "primary",
|
|
236
266
|
displayType: e = "text",
|
|
237
267
|
imageSrc: n,
|
|
238
268
|
imageAlt: r = "",
|
|
239
|
-
ImageComponent:
|
|
240
|
-
icon:
|
|
241
|
-
iconAlignment:
|
|
242
|
-
useRouter:
|
|
269
|
+
ImageComponent: i,
|
|
270
|
+
icon: o,
|
|
271
|
+
iconAlignment: v = "right",
|
|
272
|
+
useRouter: f = !1,
|
|
243
273
|
className: l,
|
|
244
|
-
children:
|
|
274
|
+
children: z,
|
|
245
275
|
disabled: C = !1,
|
|
246
276
|
...m
|
|
247
277
|
}) {
|
|
248
|
-
const
|
|
278
|
+
const y = e === "image" ? i || (n ? /* @__PURE__ */ c(
|
|
249
279
|
"img",
|
|
250
280
|
{
|
|
251
281
|
width: "175",
|
|
252
282
|
height: "59",
|
|
253
283
|
src: n,
|
|
254
284
|
alt: r,
|
|
255
|
-
className:
|
|
285
|
+
className: a.image
|
|
256
286
|
}
|
|
257
|
-
) : null) : /* @__PURE__ */ I("span", { className: `${
|
|
258
|
-
/* @__PURE__ */ c("span", { children:
|
|
259
|
-
|
|
287
|
+
) : null) : /* @__PURE__ */ I("span", { className: `${a.content} ${w1[v]}`, children: [
|
|
288
|
+
/* @__PURE__ */ c("span", { children: z }),
|
|
289
|
+
o && /* @__PURE__ */ c("span", { className: a.icon, children: g1[o] })
|
|
260
290
|
] });
|
|
261
291
|
if (m.as == "a") {
|
|
262
|
-
const { href: j, target:
|
|
292
|
+
const { href: j, target: _, ...k } = m;
|
|
263
293
|
return /* @__PURE__ */ c(
|
|
264
294
|
"a",
|
|
265
295
|
{
|
|
266
296
|
href: j,
|
|
267
|
-
target:
|
|
268
|
-
rel:
|
|
269
|
-
className: `${l ?? ""} ${
|
|
270
|
-
...
|
|
271
|
-
children:
|
|
297
|
+
target: _,
|
|
298
|
+
rel: _ === "_blank" ? "noopener noreferrer" : void 0,
|
|
299
|
+
className: `${l ?? ""} ${a.callToAction} ${b[t]}`,
|
|
300
|
+
...k,
|
|
301
|
+
children: y
|
|
272
302
|
}
|
|
273
303
|
);
|
|
274
304
|
}
|
|
275
305
|
return /* @__PURE__ */ c(
|
|
276
306
|
"button",
|
|
277
307
|
{
|
|
278
|
-
className: `${l ?? ""} ${
|
|
308
|
+
className: `${l ?? ""} ${a.callToAction} ${b[t]}`,
|
|
279
309
|
disabled: C,
|
|
280
310
|
...m,
|
|
281
|
-
children:
|
|
311
|
+
children: y
|
|
282
312
|
}
|
|
283
313
|
);
|
|
284
314
|
}
|
|
285
315
|
export {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
316
|
+
V1 as C,
|
|
317
|
+
N1 as F,
|
|
318
|
+
L1 as a,
|
|
319
|
+
M1 as b,
|
|
320
|
+
P1 as c,
|
|
321
|
+
k1 as d,
|
|
292
322
|
Q as e
|
|
293
323
|
};
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './assets/index.css';/* empty css */
|
|
2
2
|
import { ButtonGroup as t } from "./components/ButtonGroup/index.js";
|
|
3
3
|
import { FloatingActionButton as m } from "./components/FloatingActionButton/index.js";
|
|
4
|
-
import { C as f } from "./index-
|
|
4
|
+
import { C as f } from "./index-CHqqMxmE.js";
|
|
5
5
|
import { IconButton as i } from "./components/IconButton/index.js";
|
|
6
6
|
import { Heading as l } from "./components/Heading/index.js";
|
|
7
7
|
import { Text as d } from "./components/Text/index.js";
|