quirk-ui 0.0.153 → 0.0.154
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._callToAction_16lyq_1{display:inline-flex;justify-content:center;text-decoration:none;border-radius:var(--radius-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}@media (max-width: 480px){._callToAction_16lyq_1{width:100%}}._callToAction_16lyq_1:focus,._callToAction_16lyq_1:focus-visible{outline:4px auto -webkit-focus-ring-color}._callToAction_16lyq_1:disabled{border-color:var(--color-muted);background-color:var(--color-muted);color:#e0e0e0;cursor:not-allowed}._blurred_16lyq_32{-webkit-backdrop-filter:saturate(1.1) blur(1rem);backdrop-filter:saturate(1.1) blur(1rem);background-color:transparent}._blurred_16lyq_32 ._content_16lyq_36{background-color:rgba(var(--color-primary-rgb),1);color:#fff}._blurred_16lyq_32:hover ._content_16lyq_36{background-color:rgba(var(--color-primary-rgb),.8)}._blurredInverted_16lyq_48{-webkit-backdrop-filter:saturate(1.1) blur(1rem);backdrop-filter:saturate(1.1) blur(1rem);background-color:transparent}._blurredInverted_16lyq_48 ._content_16lyq_36{background-color:#ffffff80;color:var(--color-primary)}._blurredInverted_16lyq_48:hover ._content_16lyq_36{background-color:rgba(var(--color-primary-rgb),1);color:#fff}._primary_16lyq_65{background-color:var(--color-primary);color:#fff}._primary_16lyq_65:hover{background-color:var(--color-secondary);color:#fff}._primaryInverted_16lyq_75{border-color:#fff;background-color:#fff;color:var(--color-primary)}._primaryInverted_16lyq_75:hover{border-color:var(--color-secondary);background-color:var(--color-secondary);color:var(--color-primary)}._secondary_16lyq_87{background-color:transparent;border-color:var(--color-primary);border-width:2px;border-style:solid;color:var(--color-primary)}._secondary_16lyq_87:hover{border-color:var(--color-primary);background-color:var(--color-primary);color:#fff}._secondaryInverted_16lyq_101{background-color:transparent;border:2px solid;border-color:#fff;border-width:2px;color:#fff}._secondaryInverted_16lyq_101:hover{border-color:#fff;background-color:#fff;color:var(--color-primary)}._link_16lyq_115{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._linkInverted_16lyq_124{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._underline_16lyq_133{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._underlineInverted_16lyq_142{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._muted_16lyq_151{color:var(--color-muted);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._icon_16lyq_160{display:inline-flex}._content_16lyq_36{display:inline-flex;align-items:center;justify-content:center;flex-direction:row;gap:var(--spacing-sm);text-wrap:nowrap;border-radius:var(--radius-md);padding:var(--spacing-sm) var(--spacing-md);transition:background-color .3s ease-in-out,color .3s ease-in-out}._iconLeft_16lyq_176{flex-direction:row-reverse}._iconRight_16lyq_180{flex-direction:row}
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import '../../assets/index14.css';const I = "
|
|
1
|
+
import { jsx as e, jsxs as v } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/index14.css';const I = "_callToAction_16lyq_1", p = "_blurred_16lyq_32", m = "_content_16lyq_36", q = "_blurredInverted_16lyq_48", b = "_primary_16lyq_65", f = "_primaryInverted_16lyq_75", h = "_secondary_16lyq_87", k = "_secondaryInverted_16lyq_101", g = "_link_16lyq_115", $ = "_linkInverted_16lyq_124", A = "_underline_16lyq_133", T = "_underlineInverted_16lyq_142", x = "_icon_16lyq_160", R = "_iconLeft_16lyq_176", L = "_iconRight_16lyq_180", n = {
|
|
3
3
|
callToAction: I,
|
|
4
4
|
blurred: p,
|
|
5
5
|
content: m,
|
|
6
|
-
blurredInverted:
|
|
7
|
-
primary:
|
|
8
|
-
primaryInverted:
|
|
9
|
-
secondary:
|
|
10
|
-
secondaryInverted:
|
|
11
|
-
link:
|
|
12
|
-
linkInverted:
|
|
13
|
-
underline:
|
|
14
|
-
underlineInverted:
|
|
15
|
-
icon:
|
|
16
|
-
iconLeft:
|
|
17
|
-
iconRight:
|
|
6
|
+
blurredInverted: q,
|
|
7
|
+
primary: b,
|
|
8
|
+
primaryInverted: f,
|
|
9
|
+
secondary: h,
|
|
10
|
+
secondaryInverted: k,
|
|
11
|
+
link: g,
|
|
12
|
+
linkInverted: $,
|
|
13
|
+
underline: A,
|
|
14
|
+
underlineInverted: T,
|
|
15
|
+
icon: x,
|
|
16
|
+
iconLeft: R,
|
|
17
|
+
iconRight: L
|
|
18
18
|
}, d = {
|
|
19
|
-
primary:
|
|
20
|
-
primaryInverted:
|
|
21
|
-
secondary:
|
|
22
|
-
secondaryInverted:
|
|
23
|
-
link:
|
|
24
|
-
linkInverted:
|
|
25
|
-
underline:
|
|
26
|
-
underlineInverted:
|
|
27
|
-
blurred:
|
|
28
|
-
blurredInverted:
|
|
29
|
-
},
|
|
30
|
-
left:
|
|
31
|
-
right:
|
|
19
|
+
primary: n.primary,
|
|
20
|
+
primaryInverted: n.primaryInverted,
|
|
21
|
+
secondary: n.secondary,
|
|
22
|
+
secondaryInverted: n.secondaryInverted,
|
|
23
|
+
link: n.link,
|
|
24
|
+
linkInverted: n.linkInverted,
|
|
25
|
+
underline: n.underline,
|
|
26
|
+
underlineInverted: n.underlineInverted,
|
|
27
|
+
blurred: n.blurred,
|
|
28
|
+
blurredInverted: n.blurredInverted
|
|
29
|
+
}, C = {
|
|
30
|
+
left: n.iconLeft,
|
|
31
|
+
right: n.iconRight
|
|
32
32
|
};
|
|
33
|
-
function
|
|
33
|
+
function M({
|
|
34
34
|
variant: t = "primary",
|
|
35
|
-
icon:
|
|
36
|
-
iconAlignemnt:
|
|
37
|
-
useRouter:
|
|
38
|
-
className:
|
|
35
|
+
icon: l,
|
|
36
|
+
iconAlignemnt: s = "right",
|
|
37
|
+
useRouter: N = !1,
|
|
38
|
+
className: o,
|
|
39
39
|
children: a,
|
|
40
40
|
disabled: _ = !1,
|
|
41
41
|
...r
|
|
42
42
|
}) {
|
|
43
|
-
const
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
|
|
43
|
+
const c = /* @__PURE__ */ v("span", { className: `${n.content} ${C[s]}`, children: [
|
|
44
|
+
/* @__PURE__ */ e("span", { children: a }),
|
|
45
|
+
l && /* @__PURE__ */ e("span", { className: n.icon, children: l })
|
|
46
46
|
] });
|
|
47
47
|
if (r.as == "a") {
|
|
48
48
|
const { href: y, target: i, ...u } = r;
|
|
49
|
-
return /* @__PURE__ */
|
|
49
|
+
return /* @__PURE__ */ e(
|
|
50
50
|
"a",
|
|
51
51
|
{
|
|
52
52
|
href: y,
|
|
53
53
|
target: i,
|
|
54
54
|
rel: i === "_blank" ? "noopener noreferrer" : void 0,
|
|
55
|
-
className: `${
|
|
55
|
+
className: `${o ?? ""} ${n.callToAction} ${d[t]}`,
|
|
56
56
|
...u,
|
|
57
|
-
children:
|
|
57
|
+
children: c
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
|
-
return /* @__PURE__ */
|
|
61
|
+
return /* @__PURE__ */ e(
|
|
62
62
|
"button",
|
|
63
63
|
{
|
|
64
|
-
className: `${
|
|
64
|
+
className: `${o ?? ""} ${n.callToAction} ${d[t]}`,
|
|
65
65
|
disabled: _,
|
|
66
66
|
...r,
|
|
67
|
-
children:
|
|
67
|
+
children: c
|
|
68
68
|
}
|
|
69
69
|
);
|
|
70
70
|
}
|
|
71
71
|
export {
|
|
72
|
-
|
|
72
|
+
M as CallToAction
|
|
73
73
|
};
|
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_15lw8_1{display:flex;gap:var(--spacing-md)}._buttonGroup_15lw8_1>*{align-self:center;justify-content:center;width:auto}@media (max-width: 480px){._buttonGroup_15lw8_1>*{width:100%}}._left_15lw8_16{justify-content:flex-start}._center_15lw8_20{justify-content:center}._center_15lw8_20>*{align-self:center;justify-content:center}._right_15lw8_29{justify-content:flex-end}._vertical_15lw8_33{flex-direction:column}._horizontal_15lw8_37{flex-direction:row}@media (max-width: 480px){._buttonGroup_15lw8_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_16lyq_1{display:inline-flex;justify-content:center;text-decoration:none;border-radius:var(--radius-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}@media (max-width: 480px){._callToAction_16lyq_1{width:100%}}._callToAction_16lyq_1:focus,._callToAction_16lyq_1:focus-visible{outline:4px auto -webkit-focus-ring-color}._callToAction_16lyq_1:disabled{border-color:var(--color-muted);background-color:var(--color-muted);color:#e0e0e0;cursor:not-allowed}._blurred_16lyq_32{-webkit-backdrop-filter:saturate(1.1) blur(1rem);backdrop-filter:saturate(1.1) blur(1rem);background-color:transparent}._blurred_16lyq_32 ._content_16lyq_36{background-color:rgba(var(--color-primary-rgb),1);color:#fff}._blurred_16lyq_32:hover ._content_16lyq_36{background-color:rgba(var(--color-primary-rgb),.8)}._blurredInverted_16lyq_48{-webkit-backdrop-filter:saturate(1.1) blur(1rem);backdrop-filter:saturate(1.1) blur(1rem);background-color:transparent}._blurredInverted_16lyq_48 ._content_16lyq_36{background-color:#ffffff80;color:var(--color-primary)}._blurredInverted_16lyq_48:hover ._content_16lyq_36{background-color:rgba(var(--color-primary-rgb),1);color:#fff}._primary_16lyq_65{background-color:var(--color-primary);color:#fff}._primary_16lyq_65:hover{background-color:var(--color-secondary);color:#fff}._primaryInverted_16lyq_75{border-color:#fff;background-color:#fff;color:var(--color-primary)}._primaryInverted_16lyq_75:hover{border-color:var(--color-secondary);background-color:var(--color-secondary);color:var(--color-primary)}._secondary_16lyq_87{background-color:transparent;border-color:var(--color-primary);border-width:2px;border-style:solid;color:var(--color-primary)}._secondary_16lyq_87:hover{border-color:var(--color-primary);background-color:var(--color-primary);color:#fff}._secondaryInverted_16lyq_101{background-color:transparent;border:2px solid;border-color:#fff;border-width:2px;color:#fff}._secondaryInverted_16lyq_101:hover{border-color:#fff;background-color:#fff;color:var(--color-primary)}._link_16lyq_115{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._linkInverted_16lyq_124{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._underline_16lyq_133{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._underlineInverted_16lyq_142{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._muted_16lyq_151{color:var(--color-muted);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._icon_16lyq_160{display:inline-flex}._content_16lyq_36{display:inline-flex;align-items:center;justify-content:center;flex-direction:row;gap:var(--spacing-sm);text-wrap:nowrap;border-radius:var(--radius-md);padding:var(--spacing-sm) var(--spacing-md);transition:background-color .3s ease-in-out,color .3s ease-in-out}._iconLeft_16lyq_176{flex-direction:row-reverse}._iconRight_16lyq_180{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,._h1_1nzl1_7,._h2_1nzl1_8,._h3_1nzl1_9,._h4_1nzl1_10,._h5_1nzl1_11,._h6_1nzl1_12{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],._h1_1nzl1_7[class*=bg],._h2_1nzl1_8[class*=bg],._h3_1nzl1_9[class*=bg],._h4_1nzl1_10[class*=bg],._h5_1nzl1_11[class*=bg],._h6_1nzl1_12[class*=bg]{padding:var(--spacing-sm) var(--spacing-md);border-radius:var(--radius-md)}h1,._h1_1nzl1_7{font-size:var(--font-size-h1);font-weight:var(--font-weight-bold);margin-block:0 var(--spacing-sm)}h2,._h2_1nzl1_8{font-size:var(--font-size-h2);font-weight:var(--font-weight-bold);margin-block:0 var(--spacing-sm)}h3,._h3_1nzl1_9{font-size:var(--font-size-h3);font-weight:var(--font-weight-semibold);margin-block:0 var(--spacing-sm)}h4,._h4_1nzl1_10{font-size:var(--font-size-h4);font-weight:var(--font-weight-semibold);margin-block:0 var(--spacing-sm)}h5,._h5_1nzl1_11{font-size:var(--font-size-h5);font-weight:var(--font-weight-medium);margin-block:var(--spacing-xs)}h6,._h6_1nzl1_12{font-size:var(--font-size-h6);font-weight:var(--font-weight-medium);margin-block:var(--spacing-xs)}
|
|
17
17
|
._grid_10mi0_1{display:grid;width:100%;gap:var(--spacing-md, 1rem);grid-template-columns:var(--xs-columns, repeat(1, 1fr));grid-auto-rows:auto 1fr}@media (min-width: 480px){._grid_10mi0_1{grid-template-columns:var(--sm-columns, var(--xs-columns));grid-auto-rows:auto 1fr}}@media (min-width: 768px){._grid_10mi0_1{grid-template-columns:var(--md-columns, var(--sm-columns));grid-auto-rows:1fr}}@media (min-width: 1024px){._grid_10mi0_1{grid-template-columns:var(--lg-columns, var(--md-columns))}}@media (min-width: 1280px){._grid_10mi0_1{grid-template-columns:var(--xl-columns, var(--lg-columns))}}@media (min-width: 1536px){._grid_10mi0_1{grid-template-columns:var(--2xl-columns, var(--xl-columns))}}
|