quirk-ui 0.0.96 → 0.0.97
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_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}}
|
|
@@ -1,31 +1,31 @@
|
|
|
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_e1koo_1", _ = "_left_e1koo_11", a = "_center_e1koo_15", u = "_right_e1koo_19", h = "_vertical_e1koo_23", p = "_horizontal_e1koo_27", t = {
|
|
3
3
|
buttonGroup: s,
|
|
4
4
|
left: _,
|
|
5
5
|
center: a,
|
|
6
|
-
right:
|
|
7
|
-
vertical:
|
|
8
|
-
horizontal:
|
|
9
|
-
},
|
|
6
|
+
right: u,
|
|
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
14
|
function v({
|
|
15
|
-
children:
|
|
16
|
-
className:
|
|
15
|
+
children: o,
|
|
16
|
+
className: e,
|
|
17
17
|
alignment: r = "left",
|
|
18
|
-
orientation:
|
|
19
|
-
role:
|
|
18
|
+
orientation: n = "horizontal",
|
|
19
|
+
role: g = "group",
|
|
20
20
|
...l
|
|
21
21
|
}) {
|
|
22
|
-
const c =
|
|
22
|
+
const c = n === "vertical" ? t.vertical : t.horizontal;
|
|
23
23
|
return /* @__PURE__ */ i(
|
|
24
24
|
"div",
|
|
25
25
|
{
|
|
26
|
-
className: `${
|
|
26
|
+
className: `${e ?? ""} ${t.buttonGroup} ${c} ${f[r]}`,
|
|
27
27
|
...l,
|
|
28
|
-
children:
|
|
28
|
+
children: o
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
31
|
}
|
package/dist/styles.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
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_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}
|