quirk-ui 0.0.98 → 0.0.99
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/index12.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._buttonGroup_w1976_1{display:flex;gap:.5rem}._buttonGroup_w1976_1>*{align-self:center;justify-content:center;width:auto}@media (max-width: 480px){._buttonGroup_w1976_1>*{width:100%}}._left_w1976_16{justify-content:flex-start}._center_w1976_20{justify-content:center}._center_w1976_20>*{align-self:center;justify-content:center}._right_w1976_29{justify-content:flex-end}._vertical_w1976_33{flex-direction:column}._horizontal_w1976_37{flex-direction:row}@media (max-width: 480px){._buttonGroup_w1976_1{flex-direction:column}}
|
package/dist/assets/index14.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._callToAction_9w64n_1{display:inline-flex;justify-content:center;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}@media (max-width: 480px){._callToAction_9w64n_1{width:100%}}._callToAction_9w64n_1:focus,._callToAction_9w64n_1:focus-visible{outline:4px auto -webkit-focus-ring-color}._callToAction_9w64n_1:disabled{border-color:var(--color-muted);background-color:var(--color-muted);color:#e0e0e0;cursor:not-allowed}._primary_9w64n_33{background-color:var(--color-primary);color:#fff}._primary_9w64n_33:hover{background-color:var(--color-secondary);color:#fff}._primaryInverted_9w64n_43{border-color:#fff;background-color:#fff;color:var(--color-primary)}._primaryInverted_9w64n_43:hover{border-color:var(--color-secondary);background-color:var(--color-secondary);color:var(--color-primary)}._secondary_9w64n_55{background-color:transparent;border-color:var(--color-primary);border-width:2px;color:var(--color-primary)}._secondary_9w64n_55:hover{border-color:var(--color-primary);background-color:var(--color-primary);color:#fff}._secondaryInverted_9w64n_68{background-color:transparent;border-color:#fff;border-width:2px;color:#fff}._secondaryInverted_9w64n_68:hover{border-color:#fff;background-color:#fff;color:var(--color-primary)}._link_9w64n_81{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._linkInverted_9w64n_90{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._underline_9w64n_99{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._underlineInverted_9w64n_108{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._muted_9w64n_117{color:var(--color-muted);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._icon_9w64n_126{display:inline-flex}._content_9w64n_130{display:inline-flex;align-items:center;justify-content:center;flex-direction:row;gap:var(--spacing-sm);text-wrap:nowrap}._iconLeft_9w64n_139{flex-direction:row-reverse}._iconRight_9w64n_143{flex-direction:row}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/index12.css';const s = "
|
|
2
|
+
import '../../assets/index12.css';const s = "_buttonGroup_w1976_1", _ = "_left_w1976_16", a = "_center_w1976_20", u = "_right_w1976_29", h = "_vertical_w1976_33", p = "_horizontal_w1976_37", t = {
|
|
3
3
|
buttonGroup: s,
|
|
4
4
|
left: _,
|
|
5
5
|
center: a,
|
|
6
6
|
right: u,
|
|
7
|
-
vertical:
|
|
8
|
-
horizontal:
|
|
9
|
-
},
|
|
7
|
+
vertical: h,
|
|
8
|
+
horizontal: p
|
|
9
|
+
}, f = {
|
|
10
10
|
left: t.left,
|
|
11
11
|
center: t.center,
|
|
12
12
|
right: t.right
|
|
13
13
|
};
|
|
14
|
-
function
|
|
15
|
-
children:
|
|
16
|
-
className:
|
|
17
|
-
alignment:
|
|
18
|
-
orientation:
|
|
19
|
-
role:
|
|
14
|
+
function w({
|
|
15
|
+
children: o,
|
|
16
|
+
className: r,
|
|
17
|
+
alignment: n = "left",
|
|
18
|
+
orientation: e = "horizontal",
|
|
19
|
+
role: g = "group",
|
|
20
20
|
...l
|
|
21
21
|
}) {
|
|
22
|
-
const c =
|
|
22
|
+
const c = e === "vertical" ? t.vertical : t.horizontal;
|
|
23
23
|
return /* @__PURE__ */ i(
|
|
24
24
|
"div",
|
|
25
25
|
{
|
|
26
|
-
className: `${
|
|
26
|
+
className: `${r ?? ""} ${t.buttonGroup} ${c} ${f[n]}`,
|
|
27
27
|
...l,
|
|
28
|
-
children:
|
|
28
|
+
children: o
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
31
|
}
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
w as ButtonGroup
|
|
34
34
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import '../../assets/index14.css';const
|
|
3
|
-
callToAction:
|
|
4
|
-
primary:
|
|
5
|
-
primaryInverted:
|
|
6
|
-
secondary:
|
|
7
|
-
secondaryInverted:
|
|
8
|
-
link:
|
|
1
|
+
import { jsx as e, jsxs as I } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/index14.css';const p = "_callToAction_9w64n_1", m = "_primary_9w64n_33", u = "_primaryInverted_9w64n_43", w = "_secondary_9w64n_55", f = "_secondaryInverted_9w64n_68", h = "_link_9w64n_81", k = "_linkInverted_9w64n_90", g = "_underline_9w64n_99", $ = "_underlineInverted_9w64n_108", A = "_icon_9w64n_126", T = "_content_9w64n_130", x = "_iconLeft_9w64n_139", R = "_iconRight_9w64n_143", n = {
|
|
3
|
+
callToAction: p,
|
|
4
|
+
primary: m,
|
|
5
|
+
primaryInverted: u,
|
|
6
|
+
secondary: w,
|
|
7
|
+
secondaryInverted: f,
|
|
8
|
+
link: h,
|
|
9
9
|
linkInverted: k,
|
|
10
10
|
underline: g,
|
|
11
11
|
underlineInverted: $,
|
|
@@ -36,20 +36,20 @@ function j({
|
|
|
36
36
|
disabled: _ = !1,
|
|
37
37
|
...r
|
|
38
38
|
}) {
|
|
39
|
-
const c = /* @__PURE__ */
|
|
39
|
+
const c = /* @__PURE__ */ I("span", { className: `${n.content} ${L[a]}`, children: [
|
|
40
40
|
/* @__PURE__ */ e("span", { children: d }),
|
|
41
41
|
o && /* @__PURE__ */ e("span", { className: n.icon, children: o })
|
|
42
42
|
] });
|
|
43
43
|
if (r.as == "a") {
|
|
44
|
-
const { href:
|
|
44
|
+
const { href: y, target: l, ...v } = r;
|
|
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
51
|
className: `${i ?? ""} ${n.callToAction} ${s[t]}`,
|
|
52
|
-
...
|
|
52
|
+
...v,
|
|
53
53
|
children: c
|
|
54
54
|
}
|
|
55
55
|
);
|
package/dist/styles.css
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
._spinner_sf4mt_1{display:inline-flex;align-items:center;justify-content:center;position:relative}._small_sf4mt_8{width:24px;height:24px}._medium_sf4mt_13{width:48px;height:48px}._large_sf4mt_18{width:72px;height:72px}._prong_sf4mt_23{width:8%;height:30%;background-color:currentColor;border-radius:4px;position:absolute;top:67%;transform-origin:center -55%;animation:_fade_sf4mt_1 1s linear infinite}._primary_sf4mt_34{color:var(--color-primary)}._success_sf4mt_38{color:var(--color-success)}._warning_sf4mt_42{color:var(--color-warning)}._danger_sf4mt_46{color:var(--color-error)}@keyframes _fade_sf4mt_1{0%{opacity:1}to{opacity:.2}}._prong_sf4mt_23:nth-child(1){transform:rotate(0);animation-delay:-.9s}._prong_sf4mt_23:nth-child(2){transform:rotate(36deg);animation-delay:-.8s}._prong_sf4mt_23:nth-child(3){transform:rotate(72deg);animation-delay:-.7s}._prong_sf4mt_23:nth-child(4){transform:rotate(108deg);animation-delay:-.6s}._prong_sf4mt_23:nth-child(5){transform:rotate(144deg);animation-delay:-.5s}._prong_sf4mt_23:nth-child(6){transform:rotate(180deg);animation-delay:-.4s}._prong_sf4mt_23:nth-child(7){transform:rotate(216deg);animation-delay:-.3s}._prong_sf4mt_23:nth-child(8){transform:rotate(252deg);animation-delay:-.2s}._prong_sf4mt_23:nth-child(9){transform:rotate(288deg);animation-delay:-.1s}._prong_sf4mt_23:nth-child(10){transform:rotate(324deg);animation-delay:0s}
|
|
10
10
|
._spacer_1pz5u_1{flex-shrink:0;background:none}._horizontal_1pz5u_6{width:100%;height:auto}._vertical_1pz5u_11{height:100%;width:auto}._sm_1pz5u_16{height:.5rem;width:.5rem}._md_1pz5u_21{height:1rem;width:1rem}._lg_1pz5u_26{height:2rem;width:2rem}._xl_1pz5u_31{height:3rem;width:3rem}
|
|
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_w1976_1{display:flex;gap:.5rem}._buttonGroup_w1976_1>*{align-self:center;justify-content:center;width:auto}@media (max-width: 480px){._buttonGroup_w1976_1>*{width:100%}}._left_w1976_16{justify-content:flex-start}._center_w1976_20{justify-content:center}._center_w1976_20>*{align-self:center;justify-content:center}._right_w1976_29{justify-content:flex-end}._vertical_w1976_33{flex-direction:column}._horizontal_w1976_37{flex-direction:row}@media (max-width: 480px){._buttonGroup_w1976_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_9w64n_1{display:inline-flex;justify-content:center;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}@media (max-width: 480px){._callToAction_9w64n_1{width:100%}}._callToAction_9w64n_1:focus,._callToAction_9w64n_1:focus-visible{outline:4px auto -webkit-focus-ring-color}._callToAction_9w64n_1:disabled{border-color:var(--color-muted);background-color:var(--color-muted);color:#e0e0e0;cursor:not-allowed}._primary_9w64n_33{background-color:var(--color-primary);color:#fff}._primary_9w64n_33:hover{background-color:var(--color-secondary);color:#fff}._primaryInverted_9w64n_43{border-color:#fff;background-color:#fff;color:var(--color-primary)}._primaryInverted_9w64n_43:hover{border-color:var(--color-secondary);background-color:var(--color-secondary);color:var(--color-primary)}._secondary_9w64n_55{background-color:transparent;border-color:var(--color-primary);border-width:2px;color:var(--color-primary)}._secondary_9w64n_55:hover{border-color:var(--color-primary);background-color:var(--color-primary);color:#fff}._secondaryInverted_9w64n_68{background-color:transparent;border-color:#fff;border-width:2px;color:#fff}._secondaryInverted_9w64n_68:hover{border-color:#fff;background-color:#fff;color:var(--color-primary)}._link_9w64n_81{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._linkInverted_9w64n_90{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._underline_9w64n_99{color:var(--color-link);background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._underlineInverted_9w64n_108{color:#fff;background-color:transparent;border:none;padding:0;text-decoration:underline;height:unset}._muted_9w64n_117{color:var(--color-muted);background-color:transparent;border:none;padding:0;text-decoration:none;height:unset}._icon_9w64n_126{display:inline-flex}._content_9w64n_130{display:inline-flex;align-items:center;justify-content:center;flex-direction:row;gap:var(--spacing-sm);text-wrap:nowrap}._iconLeft_9w64n_139{flex-direction:row-reverse}._iconRight_9w64n_143{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))}}
|