quirk-ui 0.0.49 → 0.0.51
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/assets/index14.css +1 -1
- package/dist/components/CallToAction/index.js +32 -32
- package/dist/components/Carousel/Carousel.test.js +6 -4
- package/dist/components/Carousel/index.js +88 -82
- package/dist/lib/components/Carousel/index.d.ts +4 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/assets/index14.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._callToAction_1tdql_1{display:inline-flex;text-decoration:none;border-radius:var(--radius-md);border:2px solid transparent;padding:var(--spacing-sm) var(--spacing-md);font-size:var(--font-size-md);font-weight:var(--font-weight-bold);font-family:inherit;background-color:var(--color-primary);cursor:pointer;transition:background-color .25s,border-color .25s;height:40px}._callToAction_1tdql_1:focus,._callToAction_1tdql_1:focus-visible{outline:4px auto -webkit-focus-ring-color}._callToAction_1tdql_1:disabled{border-color:var(--color-muted);background-color:var(--color-muted);color:#e0e0e0;cursor:not-allowed}._primary_1tdql_28{background-color:var(--color-primary);color:#fff}._primary_1tdql_28:hover{background-color:var(--color-secondary);color:#fff}._primaryInverted_1tdql_38{border-color:#fff;background-color:#fff;color:var(--color-primary)}._primaryInverted_1tdql_38:hover{border-color:var(--color-secondary);background-color:var(--color-secondary);color:var(--color-primary)}._secondary_1tdql_50{background-color:transparent;border-color:var(--color-primary);border-width:2px;color:var(--color-primary)}._secondary_1tdql_50:hover{border-color:var(--color-primary);background-color:var(--color-primary);color:#fff}._secondaryInverted_1tdql_63{background-color:transparent;border-color:#fff;border-width:2px;color:#fff}._secondaryInverted_1tdql_63:hover{border-color:#fff;background-color:#fff;color:var(--color-primary)}._link_1tdql_76{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._linkInverted_1tdql_85{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._underline_1tdql_94{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._underlineInverted_1tdql_103{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._muted_1tdql_112{color:var(--color-muted);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._icon_1tdql_121{display:inline-flex}._content_1tdql_125{display:inline-flex;align-items:center;justify-content:center;flex-direction:row;gap:var(--spacing-sm);text-wrap:nowrap}._iconLeft_1tdql_134{flex-direction:row-reverse}._iconRight_1tdql_138{flex-direction:row}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import '../../assets/index14.css';const
|
|
3
|
-
callToAction:
|
|
4
|
-
primary:
|
|
1
|
+
import { jsx as e, jsxs as I } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/index14.css';const p = "_callToAction_1tdql_1", m = "_primary_1tdql_28", u = "_primaryInverted_1tdql_38", q = "_secondary_1tdql_50", f = "_secondaryInverted_1tdql_63", h = "_link_1tdql_76", k = "_linkInverted_1tdql_85", g = "_underline_1tdql_94", $ = "_underlineInverted_1tdql_103", A = "_icon_1tdql_121", T = "_content_1tdql_125", x = "_iconLeft_1tdql_134", R = "_iconRight_1tdql_138", n = {
|
|
3
|
+
callToAction: p,
|
|
4
|
+
primary: m,
|
|
5
5
|
primaryInverted: u,
|
|
6
|
-
secondary:
|
|
7
|
-
secondaryInverted:
|
|
8
|
-
link:
|
|
9
|
-
linkInverted:
|
|
10
|
-
underline:
|
|
11
|
-
underlineInverted:
|
|
12
|
-
icon:
|
|
13
|
-
content:
|
|
14
|
-
iconLeft:
|
|
15
|
-
iconRight:
|
|
16
|
-
},
|
|
6
|
+
secondary: q,
|
|
7
|
+
secondaryInverted: f,
|
|
8
|
+
link: h,
|
|
9
|
+
linkInverted: k,
|
|
10
|
+
underline: g,
|
|
11
|
+
underlineInverted: $,
|
|
12
|
+
icon: A,
|
|
13
|
+
content: T,
|
|
14
|
+
iconLeft: x,
|
|
15
|
+
iconRight: R
|
|
16
|
+
}, d = {
|
|
17
17
|
primary: n.primary,
|
|
18
18
|
primaryInverted: n.primaryInverted,
|
|
19
19
|
secondary: n.secondary,
|
|
@@ -22,34 +22,34 @@ import '../../assets/index14.css';const I = "_callToAction_175rm_1", p = "_prima
|
|
|
22
22
|
linkInverted: n.linkInverted,
|
|
23
23
|
underline: n.underline,
|
|
24
24
|
underlineInverted: n.underlineInverted
|
|
25
|
-
},
|
|
25
|
+
}, L = {
|
|
26
26
|
left: n.iconLeft,
|
|
27
27
|
right: n.iconRight
|
|
28
28
|
};
|
|
29
|
-
function
|
|
30
|
-
variant:
|
|
29
|
+
function j({
|
|
30
|
+
variant: r = "primary",
|
|
31
31
|
icon: o,
|
|
32
|
-
iconAlignemnt:
|
|
33
|
-
useRouter:
|
|
32
|
+
iconAlignemnt: s = "right",
|
|
33
|
+
useRouter: C = !1,
|
|
34
34
|
className: i,
|
|
35
|
-
children:
|
|
35
|
+
children: a,
|
|
36
36
|
disabled: _ = !1,
|
|
37
|
-
...
|
|
37
|
+
...t
|
|
38
38
|
}) {
|
|
39
|
-
const c = /* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */ e("span", { children:
|
|
39
|
+
const c = /* @__PURE__ */ I("span", { className: `${n.content} ${L[s]}`, children: [
|
|
40
|
+
/* @__PURE__ */ e("span", { children: a }),
|
|
41
41
|
o && /* @__PURE__ */ e("span", { className: n.icon, children: o })
|
|
42
42
|
] });
|
|
43
|
-
if (
|
|
44
|
-
const { href:
|
|
43
|
+
if (t.as == "a") {
|
|
44
|
+
const { href: y, target: l, ...v } = t;
|
|
45
45
|
return /* @__PURE__ */ e(
|
|
46
46
|
"a",
|
|
47
47
|
{
|
|
48
|
-
href:
|
|
48
|
+
href: y,
|
|
49
49
|
target: l,
|
|
50
50
|
rel: l === "_blank" ? "noopener noreferrer" : void 0,
|
|
51
|
-
className: `${i ?? ""} ${n.callToAction} ${
|
|
52
|
-
...
|
|
51
|
+
className: `${i ?? ""} ${n.callToAction} ${d[r]}`,
|
|
52
|
+
...v,
|
|
53
53
|
children: c
|
|
54
54
|
}
|
|
55
55
|
);
|
|
@@ -57,13 +57,13 @@ function E({
|
|
|
57
57
|
return /* @__PURE__ */ e(
|
|
58
58
|
"button",
|
|
59
59
|
{
|
|
60
|
-
className: `${i ?? ""} ${n.callToAction} ${
|
|
60
|
+
className: `${i ?? ""} ${n.callToAction} ${d[r]}`,
|
|
61
61
|
disabled: _,
|
|
62
|
-
...
|
|
62
|
+
...t,
|
|
63
63
|
children: c
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
67
|
export {
|
|
68
|
-
|
|
68
|
+
j as CallToAction
|
|
69
69
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as t, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { d as
|
|
2
|
+
import { d as i, a, i as o, r as n, g as l, s as c } from "../../vi.ClIskdbk-CZ8iFAMK.js";
|
|
3
3
|
import { Carousel as d } from "./index.js";
|
|
4
4
|
import "../../index-BBIdMcpm.js";
|
|
5
|
-
|
|
5
|
+
i("Carousel", () => {
|
|
6
6
|
const r = Array.from({ length: 6 }, (m, e) => /* @__PURE__ */ t("div", { "data-testid": "carousel-item", children: [
|
|
7
7
|
"Item ",
|
|
8
8
|
e + 1
|
|
@@ -12,7 +12,7 @@ a("Carousel", () => {
|
|
|
12
12
|
writable: !0,
|
|
13
13
|
configurable: !0,
|
|
14
14
|
value: 1024
|
|
15
|
-
}),
|
|
15
|
+
}), a(() => {
|
|
16
16
|
window.dispatchEvent(new Event("resize"));
|
|
17
17
|
}), global.ResizeObserver = class {
|
|
18
18
|
observe() {
|
|
@@ -23,6 +23,8 @@ a("Carousel", () => {
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
}), o("renders without crashing", () => {
|
|
26
|
-
n(
|
|
26
|
+
n(
|
|
27
|
+
/* @__PURE__ */ s(d, { isSplit: !0, items: r, itemsPerPage: 3, itemsPerRow: 1 })
|
|
28
|
+
), l(c.getAllByTestId("carousel-item").length).toBeGreaterThan(0);
|
|
27
29
|
});
|
|
28
30
|
});
|
|
@@ -1,129 +1,135 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { A as
|
|
4
|
-
import { A as
|
|
5
|
-
import '../../assets/index31.css';const
|
|
6
|
-
carousel:
|
|
7
|
-
trackContainer:
|
|
8
|
-
track:
|
|
9
|
-
page:
|
|
10
|
-
controls:
|
|
11
|
-
indicators:
|
|
12
|
-
indicator:
|
|
1
|
+
import { jsxs as w, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useState as m, useRef as W, useEffect as x } from "react";
|
|
3
|
+
import { A as O } from "../../arrow-left-BIJvHwNQ.js";
|
|
4
|
+
import { A as q } from "../../arrow-right-QEwnX3Sk.js";
|
|
5
|
+
import '../../assets/index31.css';const B = "_carousel_pk3a7_1", F = "_trackContainer_pk3a7_9", H = "_track_pk3a7_9", J = "_page_pk3a7_24", K = "_controls_pk3a7_30", Q = "_indicators_pk3a7_47", R = "_indicator_pk3a7_47", S = "_active_pk3a7_64", U = "_buttons_pk3a7_68", V = "_prev_pk3a7_73", Y = "_disabled_pk3a7_73", Z = "_next_pk3a7_74", n = {
|
|
6
|
+
carousel: B,
|
|
7
|
+
trackContainer: F,
|
|
8
|
+
track: H,
|
|
9
|
+
page: J,
|
|
10
|
+
controls: K,
|
|
11
|
+
indicators: Q,
|
|
12
|
+
indicator: R,
|
|
13
13
|
active: S,
|
|
14
|
-
buttons:
|
|
15
|
-
prev:
|
|
16
|
-
disabled:
|
|
17
|
-
next:
|
|
14
|
+
buttons: U,
|
|
15
|
+
prev: V,
|
|
16
|
+
disabled: Y,
|
|
17
|
+
next: Z
|
|
18
18
|
};
|
|
19
|
-
function
|
|
20
|
-
items:
|
|
21
|
-
itemsPerPage:
|
|
22
|
-
itemsPerRow:
|
|
23
|
-
autoPlay:
|
|
24
|
-
autoPlayInterval:
|
|
25
|
-
className:
|
|
19
|
+
function rt({
|
|
20
|
+
items: $,
|
|
21
|
+
itemsPerPage: v = 3,
|
|
22
|
+
itemsPerRow: z = 3,
|
|
23
|
+
autoPlay: c = !1,
|
|
24
|
+
autoPlayInterval: N = 3e3,
|
|
25
|
+
className: A,
|
|
26
|
+
externalRef: y,
|
|
27
|
+
siblingRef: o,
|
|
28
|
+
isSplit: b = !1
|
|
26
29
|
}) {
|
|
27
|
-
const [
|
|
28
|
-
const
|
|
29
|
-
for (let
|
|
30
|
-
|
|
31
|
-
return
|
|
30
|
+
const [i, p] = m(0), [l, C] = m(0), [h, T] = m(v), [g, E] = m(!0), I = W(null), k = W(null), u = b && g ? y : I, L = (t, e) => {
|
|
31
|
+
const a = [];
|
|
32
|
+
for (let r = 0; r < t.length; r += e)
|
|
33
|
+
a.push(t.slice(r, r + e));
|
|
34
|
+
return a;
|
|
32
35
|
};
|
|
33
|
-
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
|
|
36
|
+
x(() => {
|
|
37
|
+
const t = () => {
|
|
38
|
+
const e = window.innerWidth < 768;
|
|
39
|
+
E(e), T(e ? 1 : v);
|
|
37
40
|
};
|
|
38
|
-
return
|
|
39
|
-
}, [
|
|
40
|
-
const _ = Math.ceil(
|
|
41
|
-
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
|
|
42
|
+
}, [v]);
|
|
43
|
+
const _ = Math.ceil(h / z), M = L($, h), d = M.length, j = 3 * 16;
|
|
44
|
+
x(() => {
|
|
45
|
+
const t = new ResizeObserver((e) => {
|
|
46
|
+
var a;
|
|
47
|
+
for (let r of e)
|
|
48
|
+
r.contentRect && (b && g ? o != null && o.current && C(
|
|
49
|
+
r.contentRect.width - ((a = o == null ? void 0 : o.current) == null ? void 0 : a.offsetWidth) - j
|
|
50
|
+
) : C(r.contentRect.width), p(0));
|
|
45
51
|
});
|
|
46
|
-
return u.current &&
|
|
52
|
+
return u != null && u.current && t.observe(u.current), () => t.disconnect();
|
|
47
53
|
}, []);
|
|
48
54
|
const f = () => {
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
},
|
|
55
|
-
return
|
|
56
|
-
|
|
57
|
-
}), [
|
|
58
|
-
/* @__PURE__ */
|
|
55
|
+
p((t) => Math.min(t + 1, d - 1));
|
|
56
|
+
}, X = () => {
|
|
57
|
+
p((t) => Math.max(t - 1, 0));
|
|
58
|
+
}, D = (t) => {
|
|
59
|
+
p(t);
|
|
60
|
+
}, G = () => l ? `translateX(-${i * l}px)` : "translateX(0px)";
|
|
61
|
+
return x(() => (c && (k.current = setInterval(f, N)), () => {
|
|
62
|
+
k.current && clearInterval(k.current);
|
|
63
|
+
}), [c, N, f]), /* @__PURE__ */ w("div", { className: `${A ?? ""} ${n.carousel}`, ref: I, children: [
|
|
64
|
+
/* @__PURE__ */ s(
|
|
59
65
|
"div",
|
|
60
66
|
{
|
|
61
|
-
className:
|
|
62
|
-
style: { maxWidth: `${
|
|
63
|
-
children: /* @__PURE__ */
|
|
67
|
+
className: n.trackContainer,
|
|
68
|
+
style: { maxWidth: `${l}px` },
|
|
69
|
+
children: /* @__PURE__ */ s(
|
|
64
70
|
"div",
|
|
65
71
|
{
|
|
66
|
-
className:
|
|
67
|
-
style: { width: `${
|
|
68
|
-
children:
|
|
72
|
+
className: n.track,
|
|
73
|
+
style: { width: `${d * 100}%`, transform: G() },
|
|
74
|
+
children: M.map((t, e) => /* @__PURE__ */ s(
|
|
69
75
|
"div",
|
|
70
76
|
{
|
|
71
|
-
className:
|
|
77
|
+
className: n.page,
|
|
72
78
|
style: {
|
|
73
79
|
display: _ > 1 ? "grid" : "flex",
|
|
74
80
|
gridTemplateColumns: `repeat(${Math.ceil(
|
|
75
|
-
|
|
81
|
+
h / _
|
|
76
82
|
)}, 1fr)`,
|
|
77
83
|
gridTemplateRows: `repeat(${_}, auto)`,
|
|
78
|
-
width: `${
|
|
84
|
+
width: `${l}px`
|
|
79
85
|
},
|
|
80
|
-
children:
|
|
86
|
+
children: t.map((a, r) => /* @__PURE__ */ s(
|
|
81
87
|
"div",
|
|
82
88
|
{
|
|
83
|
-
className:
|
|
89
|
+
className: n.slide,
|
|
84
90
|
style: {
|
|
85
|
-
width: `${
|
|
91
|
+
width: `${l / _ - 16}px`
|
|
86
92
|
},
|
|
87
|
-
children:
|
|
93
|
+
children: a
|
|
88
94
|
},
|
|
89
|
-
|
|
95
|
+
r
|
|
90
96
|
))
|
|
91
97
|
},
|
|
92
|
-
|
|
98
|
+
e
|
|
93
99
|
))
|
|
94
100
|
}
|
|
95
101
|
)
|
|
96
102
|
}
|
|
97
103
|
),
|
|
98
|
-
|
|
99
|
-
/* @__PURE__ */
|
|
104
|
+
d > 1 && /* @__PURE__ */ w("div", { className: n.controls, children: [
|
|
105
|
+
/* @__PURE__ */ s("div", { className: n.indicators, children: Array.from({ length: d }).map((t, e) => /* @__PURE__ */ s(
|
|
100
106
|
"button",
|
|
101
107
|
{
|
|
102
|
-
className: `${
|
|
103
|
-
onClick: () =>
|
|
104
|
-
"aria-label": `Go to group ${
|
|
108
|
+
className: `${n.indicator} ${e === i ? n.active : ""}`,
|
|
109
|
+
onClick: () => D(e),
|
|
110
|
+
"aria-label": `Go to group ${e + 1}`
|
|
105
111
|
},
|
|
106
|
-
|
|
112
|
+
e
|
|
107
113
|
)) }),
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
-
/* @__PURE__ */
|
|
114
|
+
/* @__PURE__ */ w("div", { className: n.buttons, children: [
|
|
115
|
+
/* @__PURE__ */ s(
|
|
110
116
|
"button",
|
|
111
117
|
{
|
|
112
118
|
"aria-label": "Previous slide",
|
|
113
|
-
className: `${
|
|
114
|
-
onClick:
|
|
115
|
-
disabled: !
|
|
116
|
-
children: /* @__PURE__ */
|
|
119
|
+
className: `${n.prev} ${!c && i === 0 ? n.disabled : ""}`,
|
|
120
|
+
onClick: X,
|
|
121
|
+
disabled: !c && i === 0,
|
|
122
|
+
children: /* @__PURE__ */ s(O, { size: 36 })
|
|
117
123
|
}
|
|
118
124
|
),
|
|
119
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ s(
|
|
120
126
|
"button",
|
|
121
127
|
{
|
|
122
128
|
"aria-label": "Next slide",
|
|
123
|
-
className: `${
|
|
129
|
+
className: `${n.next} ${!c && i >= d - 1 ? n.disabled : ""}`,
|
|
124
130
|
onClick: f,
|
|
125
|
-
disabled: !
|
|
126
|
-
children: /* @__PURE__ */
|
|
131
|
+
disabled: !c && i >= $.length - h,
|
|
132
|
+
children: /* @__PURE__ */ s(q, { size: 36 })
|
|
127
133
|
}
|
|
128
134
|
)
|
|
129
135
|
] })
|
|
@@ -131,5 +137,5 @@ function V({
|
|
|
131
137
|
] });
|
|
132
138
|
}
|
|
133
139
|
export {
|
|
134
|
-
|
|
140
|
+
rt as Carousel
|
|
135
141
|
};
|
|
@@ -5,7 +5,10 @@ type CarouselProps = {
|
|
|
5
5
|
itemsPerRow?: number;
|
|
6
6
|
autoPlay?: boolean;
|
|
7
7
|
autoPlayInterval?: number;
|
|
8
|
+
externalRef?: React.RefObject<HTMLElement>;
|
|
9
|
+
siblingRef?: React.RefObject<HTMLElement>;
|
|
10
|
+
isSplit: boolean;
|
|
8
11
|
className?: string;
|
|
9
12
|
};
|
|
10
|
-
export declare function Carousel({ items, itemsPerPage, itemsPerRow, autoPlay, autoPlayInterval, className, }: CarouselProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function Carousel({ items, itemsPerPage, itemsPerRow, autoPlay, autoPlayInterval, className, externalRef, siblingRef, isSplit, }: CarouselProps): import("react/jsx-runtime").JSX.Element;
|
|
11
14
|
export {};
|
package/dist/styles.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
._skeleton_u21vc_1{background-color:#e0e0e0;overflow:hidden;position:relative;display:inline-block;animation:_shimmer_u21vc_1 1.5s infinite;background:linear-gradient(90deg,#e0e0e0,#f0f0f0,#e0e0e0);background-size:200% 100%}._text_u21vc_16{height:16px;width:100%;border-radius:4px}._circle_u21vc_22{border-radius:50%;aspect-ratio:1/1}._rectangle_u21vc_27{border-radius:4px}@keyframes _shimmer_u21vc_1{0%{background-position:-200%}50%{background-position:100%}to{background-position:200%}}
|
|
12
12
|
._buttonGroup_e1koo_1{display:flex;gap:.5rem}._buttonGroup_e1koo_1>*{align-self:flex-start;width:auto}._left_e1koo_11{justify-content:flex-start}._center_e1koo_15{justify-content:center}._right_e1koo_19{justify-content:flex-end}._vertical_e1koo_23{flex-direction:column}._horizontal_e1koo_27{flex-direction:row}@media (max-width: 480px){._buttonGroup_e1koo_1{flex-direction:column}}
|
|
13
13
|
._fab_1p460_1{position:fixed;bottom:var(--spacing-lg);right:var(--spacing-lg);z-index:25;background-color:var(--color-primary, #000);color:#fff;border:none;border-radius:var(--radius-full);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-md);transition:background-color .25s ease-in-out}._fab_1p460_1:hover{background-color:var(--color-secondary)}._sm_1p460_22{width:40px;height:40px}._md_1p460_27{width:56px;height:56px}._lg_1p460_31{width:72px;height:72px}._bottom-right_1p460_36{bottom:var(--spacing-lg);right:var(--spacing-lg)}._bottom-left_1p460_41{bottom:var(--spacing-lg);left:var(--spacing-lg)}._top-right_1p460_46{top:var(--spacing-lg);right:var(--spacing-lg)}._top-left_1p460_51{top:var(--spacing-lg);left:var(--spacing-lg)}._disabled_1p460_56{color:var(--color-muted)}
|
|
14
|
-
.
|
|
14
|
+
._callToAction_1tdql_1{display:inline-flex;text-decoration:none;border-radius:var(--radius-md);border:2px solid transparent;padding:var(--spacing-sm) var(--spacing-md);font-size:var(--font-size-md);font-weight:var(--font-weight-bold);font-family:inherit;background-color:var(--color-primary);cursor:pointer;transition:background-color .25s,border-color .25s;height:40px}._callToAction_1tdql_1:focus,._callToAction_1tdql_1:focus-visible{outline:4px auto -webkit-focus-ring-color}._callToAction_1tdql_1:disabled{border-color:var(--color-muted);background-color:var(--color-muted);color:#e0e0e0;cursor:not-allowed}._primary_1tdql_28{background-color:var(--color-primary);color:#fff}._primary_1tdql_28:hover{background-color:var(--color-secondary);color:#fff}._primaryInverted_1tdql_38{border-color:#fff;background-color:#fff;color:var(--color-primary)}._primaryInverted_1tdql_38:hover{border-color:var(--color-secondary);background-color:var(--color-secondary);color:var(--color-primary)}._secondary_1tdql_50{background-color:transparent;border-color:var(--color-primary);border-width:2px;color:var(--color-primary)}._secondary_1tdql_50:hover{border-color:var(--color-primary);background-color:var(--color-primary);color:#fff}._secondaryInverted_1tdql_63{background-color:transparent;border-color:#fff;border-width:2px;color:#fff}._secondaryInverted_1tdql_63:hover{border-color:#fff;background-color:#fff;color:var(--color-primary)}._link_1tdql_76{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._linkInverted_1tdql_85{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._underline_1tdql_94{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._underlineInverted_1tdql_103{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._muted_1tdql_112{color:var(--color-muted);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._icon_1tdql_121{display:inline-flex}._content_1tdql_125{display:inline-flex;align-items:center;justify-content:center;flex-direction:row;gap:var(--spacing-sm);text-wrap:nowrap}._iconLeft_1tdql_134{flex-direction:row-reverse}._iconRight_1tdql_138{flex-direction:row}
|
|
15
15
|
._iconButton_e9jmu_1{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;padding:var(--spacing-sm);border-radius:var(--radius-md);cursor:pointer;transition:background .25s ease}._iconButton_e9jmu_1:disabled{opacity:.5;cursor:not-allowed}._sm_e9jmu_18{width:32px;height:32px}._md_e9jmu_23{width:40px;height:40px}._lg_e9jmu_28{width:48px;height:48px}._default_e9jmu_33{background-color:#f0f0f0;color:#111}._muted_e9jmu_38{background-color:#bbb;color:var(--color-muted)}._accent_e9jmu_43{background-color:var(--color-primary);color:#fff}._error_e9jmu_48{background-color:var(--color-error);color:#fff}._srOnly_e9jmu_53{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
|
|
16
16
|
h1,h2,h3,h4,h5,h6{line-height:var(--line-height-tight);margin-block:0 var(--spacing-md);color:var(--color-heading)}h1[class*=bg],h2[class*=bg],h3[class*=bg],h4[class*=bg],h5[class*=bg],h6[class*=bg]{padding:var(--spacing-sm) var(--spacing-md);border-radius:var(--radius-md)}h1{font-size:var(--font-size-h1);font-weight:var(--font-weight-bold);margin-block:0 var(--spacing-md)}h2{font-size:var(--font-size-h2);font-weight:var(--font-weight-bold);margin-block:0 var(--spacing-md)}h3{font-size:var(--font-size-h3);font-weight:var(--font-weight-semibold);margin-block:0 var(--spacing-sm)}h4{font-size:var(--font-size-h4);font-weight:var(--font-weight-semibold);margin-block:0 var(--spacing-sm)}h5{font-size:var(--font-size-h5);font-weight:var(--font-weight-medium);margin-block:var(--spacing-xs)}h6{font-size:var(--font-size-h6);font-weight:var(--font-weight-medium);margin-block:var(--spacing-xs)}
|
|
17
17
|
._grid_1pzcn_1{display:grid;width:100%;gap:var(--spacing-md, 1rem);grid-template-columns:var(--xs-columns, repeat(1, 1fr));grid-auto-rows:1fr}@media (min-width: 480px){._grid_1pzcn_1{grid-template-columns:var(--sm-columns, var(--xs-columns))}}@media (min-width: 768px){._grid_1pzcn_1{grid-template-columns:var(--md-columns, var(--sm-columns))}}@media (min-width: 1024px){._grid_1pzcn_1{grid-template-columns:var(--lg-columns, var(--md-columns))}}@media (min-width: 1280px){._grid_1pzcn_1{grid-template-columns:var(--xl-columns, var(--lg-columns))}}@media (min-width: 1536px){._grid_1pzcn_1{grid-template-columns:var(--2xl-columns, var(--xl-columns))}}
|