@novie/ui 0.1.36 → 1.0.0
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/index.css +2 -1
- package/dist/index.js +37 -37
- package/dist/index.js.map +1 -1
- package/package.json +7 -11
- package/src/index.css +244 -3
- package/tailwind.config.ts +0 -14
- package/tailwind.preset.ts +0 -198
package/dist/index.js
CHANGED
|
@@ -3780,7 +3780,7 @@ function Tn({ className: e, ...t }) {
|
|
|
3780
3780
|
}
|
|
3781
3781
|
//#endregion
|
|
3782
3782
|
//#region src/components/ui/button.tsx
|
|
3783
|
-
var En = n("inline-flex shrink-0 items-center justify-center whitespace-nowrap font-medium transition-colors focus-visible:outline-
|
|
3783
|
+
var En = n("inline-flex shrink-0 items-center justify-center whitespace-nowrap font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:h-4 [&_svg]:w-4", {
|
|
3784
3784
|
variants: {
|
|
3785
3785
|
variant: {
|
|
3786
3786
|
default: "bg-[hsl(var(--button-brand-default))] text-white hover:bg-[hsl(var(--button-brand-hover))] active:bg-[hsl(var(--button-brand-pressed))] disabled:bg-[hsl(var(--button-primary-bg-disabled))] disabled:text-[hsl(var(--button-primary-text-disabled))]",
|
|
@@ -3862,7 +3862,7 @@ function On({ className: e, type: t, ...n }) {
|
|
|
3862
3862
|
return /* @__PURE__ */ i("input", {
|
|
3863
3863
|
type: t,
|
|
3864
3864
|
"data-slot": "input",
|
|
3865
|
-
className: w("flex h-8 w-full rounded-lg border border-input bg-background px-2.5 py-2 text-sm ring-offset-background transition-colors", "file:border-0 file:bg-transparent file:text-sm file:font-medium", "placeholder:text-primary-secondary", "focus-visible:outline-
|
|
3865
|
+
className: w("flex h-8 w-full rounded-lg border border-input bg-background px-2.5 py-2 text-sm ring-offset-background transition-colors", "file:border-0 file:bg-transparent file:text-sm file:font-medium", "placeholder:text-primary-secondary", "focus-visible:outline-hidden focus-visible:shadow-[0_1px_2px_0_hsl(var(--shadow-sm))]", "disabled:cursor-not-allowed disabled:opacity-50", "aria-[invalid]:border-destructive aria-[invalid]:ring-destructive/20", e),
|
|
3866
3866
|
...n
|
|
3867
3867
|
});
|
|
3868
3868
|
}
|
|
@@ -3878,8 +3878,8 @@ function kn({ className: e, ...t }) {
|
|
|
3878
3878
|
//#endregion
|
|
3879
3879
|
//#region src/components/ui/checkbox.tsx
|
|
3880
3880
|
var An = n([
|
|
3881
|
-
"peer shrink-0 rounded border-[1.5px] border-border bg-background transition-colors",
|
|
3882
|
-
"focus-visible:outline-
|
|
3881
|
+
"peer shrink-0 rounded-sm border-[1.5px] border-border bg-background transition-colors",
|
|
3882
|
+
"focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
3883
3883
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
3884
3884
|
"data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=checked]:text-primary-foreground",
|
|
3885
3885
|
"data-[state=indeterminate]:border-border data-[state=indeterminate]:text-foreground"
|
|
@@ -3916,7 +3916,7 @@ function Mn({ className: e, size: t = "sm", ...n }) {
|
|
|
3916
3916
|
var Nn = n([
|
|
3917
3917
|
"peer inline-flex shrink-0 cursor-pointer items-center rounded-full",
|
|
3918
3918
|
"transition-colors",
|
|
3919
|
-
"focus-visible:outline-
|
|
3919
|
+
"focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
3920
3920
|
"disabled:cursor-not-allowed",
|
|
3921
3921
|
"data-[state=checked]:bg-[hsl(var(--button-brand-default))]",
|
|
3922
3922
|
"data-[state=unchecked]:bg-[hsl(var(--icon-secondary))]",
|
|
@@ -4595,7 +4595,7 @@ var Wr = "RadioGroupIndicator", Gr = o.forwardRef((e, t) => {
|
|
|
4595
4595
|
Gr.displayName = Wr;
|
|
4596
4596
|
var Kr = Vr, qr = Ur, Jr = Gr, Yr = n([
|
|
4597
4597
|
"peer aspect-square shrink-0 rounded-full border-[1.5px] transition-colors",
|
|
4598
|
-
"focus-visible:outline-
|
|
4598
|
+
"focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
4599
4599
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
4600
4600
|
"border-border bg-background",
|
|
4601
4601
|
"data-[state=checked]:border-primary data-[state=checked]:bg-primary"
|
|
@@ -4762,7 +4762,7 @@ function ri({ className: e, variant: t, size: n, onDismiss: r, children: o, ...s
|
|
|
4762
4762
|
type: "button",
|
|
4763
4763
|
"aria-label": "Dismiss",
|
|
4764
4764
|
onClick: r,
|
|
4765
|
-
className: w("inline-flex items-center justify-center rounded-full transition-colors", "hover:bg-foreground/10 focus-visible:outline-
|
|
4765
|
+
className: w("inline-flex items-center justify-center rounded-full transition-colors", "hover:bg-foreground/10 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring", n === "sm" ? "h-3.5 w-3.5" : "h-4 w-4"),
|
|
4766
4766
|
children: /* @__PURE__ */ i(re, { className: n === "sm" ? "h-2.5 w-2.5" : "h-3 w-3" })
|
|
4767
4767
|
})]
|
|
4768
4768
|
});
|
|
@@ -4786,7 +4786,7 @@ var ii = n("relative inline-flex shrink-0 items-center justify-center overflow-h
|
|
|
4786
4786
|
size: "md",
|
|
4787
4787
|
shape: "circle"
|
|
4788
4788
|
}
|
|
4789
|
-
}), ai = n("absolute bottom-0 right-0 block rounded-full border border-background shadow-
|
|
4789
|
+
}), ai = n("absolute bottom-0 right-0 block rounded-full border border-background shadow-xs", {
|
|
4790
4790
|
variants: {
|
|
4791
4791
|
size: {
|
|
4792
4792
|
xs: "h-[4.5px] w-[4.5px]",
|
|
@@ -4840,7 +4840,7 @@ function ci({ className: e, ...t }) {
|
|
|
4840
4840
|
}
|
|
4841
4841
|
//#endregion
|
|
4842
4842
|
//#region src/components/ui/icon-button.tsx
|
|
4843
|
-
var li = n("inline-flex shrink-0 items-center justify-center transition-colors focus-visible:outline-
|
|
4843
|
+
var li = n("inline-flex shrink-0 items-center justify-center transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0", {
|
|
4844
4844
|
variants: {
|
|
4845
4845
|
variant: {
|
|
4846
4846
|
default: "bg-primary text-primary-foreground hover:bg-[hsl(var(--icon-button-hover))] disabled:bg-[hsl(var(--icon-button-disabled))] active:bg-primary active:ring-2 active:ring-primary active:ring-offset-2",
|
|
@@ -4970,7 +4970,7 @@ function hi({ className: e, label: t, required: n = !1, helpText: r, errorMessag
|
|
|
4970
4970
|
children: [/* @__PURE__ */ i("div", {
|
|
4971
4971
|
"data-slot": "input-field-prefix",
|
|
4972
4972
|
"data-disabled": f || void 0,
|
|
4973
|
-
className: w("flex h-8 shrink-0 items-center rounded-lg border border-input bg-background px-2.5 text-sm shadow-
|
|
4973
|
+
className: w("flex h-8 shrink-0 items-center rounded-lg border border-input bg-background px-2.5 text-sm shadow-xs transition-colors", "focus-within:border-ring", v && "border-destructive", f && "cursor-not-allowed opacity-50"),
|
|
4974
4974
|
children: /* @__PURE__ */ i("span", {
|
|
4975
4975
|
className: "text-muted-foreground",
|
|
4976
4976
|
children: d
|
|
@@ -4978,7 +4978,7 @@ function hi({ className: e, label: t, required: n = !1, helpText: r, errorMessag
|
|
|
4978
4978
|
}), /* @__PURE__ */ i("div", {
|
|
4979
4979
|
"data-slot": "input-wrapper",
|
|
4980
4980
|
"data-disabled": f || void 0,
|
|
4981
|
-
className: w("flex h-8 w-full items-center gap-1.5 rounded-lg border border-input bg-background px-2.5 shadow-
|
|
4981
|
+
className: w("flex h-8 w-full items-center gap-1.5 rounded-lg border border-input bg-background px-2.5 shadow-xs transition-colors", "focus-within:border-ring", v && "border-destructive", f && "cursor-not-allowed opacity-50", e),
|
|
4982
4982
|
children: /* @__PURE__ */ i(On, {
|
|
4983
4983
|
id: _,
|
|
4984
4984
|
type: "tel",
|
|
@@ -4987,7 +4987,7 @@ function hi({ className: e, label: t, required: n = !1, helpText: r, errorMessag
|
|
|
4987
4987
|
"aria-invalid": v || void 0,
|
|
4988
4988
|
"aria-describedby": x,
|
|
4989
4989
|
"data-slot": "input-field-input",
|
|
4990
|
-
className: "h-full border-0 bg-transparent px-0 shadow-none ring-0 ring-offset-0 focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
4990
|
+
className: "h-full border-0 bg-transparent px-0 shadow-none ring-0 ring-offset-0 focus-visible:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
4991
4991
|
...h
|
|
4992
4992
|
})
|
|
4993
4993
|
})]
|
|
@@ -5009,7 +5009,7 @@ function hi({ className: e, label: t, required: n = !1, helpText: r, errorMessag
|
|
|
5009
5009
|
"aria-invalid": v || void 0,
|
|
5010
5010
|
"aria-describedby": x,
|
|
5011
5011
|
"data-slot": "input-field-input",
|
|
5012
|
-
className: "h-full border-0 bg-transparent px-0 shadow-none ring-0 ring-offset-0 focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
5012
|
+
className: "h-full border-0 bg-transparent px-0 shadow-none ring-0 ring-offset-0 focus-visible:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
5013
5013
|
...h
|
|
5014
5014
|
}),
|
|
5015
5015
|
l && p && !f && /* @__PURE__ */ i("button", {
|
|
@@ -5076,7 +5076,7 @@ function gi({ className: e, inputSize: t = "sm", clearable: n = !0, onClear: r,
|
|
|
5076
5076
|
type: "button",
|
|
5077
5077
|
onClick: y,
|
|
5078
5078
|
disabled: c,
|
|
5079
|
-
className: w("inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full", "bg-foreground/5 text-muted-foreground transition-colors hover:bg-foreground/10 hover:text-foreground", "focus-visible:outline-
|
|
5079
|
+
className: w("inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full", "bg-foreground/5 text-muted-foreground transition-colors hover:bg-foreground/10 hover:text-foreground", "focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring"),
|
|
5080
5080
|
"aria-label": "Clear search",
|
|
5081
5081
|
children: /* @__PURE__ */ i(re, { className: "h-3.5 w-3.5" })
|
|
5082
5082
|
})
|
|
@@ -5380,7 +5380,7 @@ function Gi({ className: e, children: t, ...n }) {
|
|
|
5380
5380
|
...n,
|
|
5381
5381
|
children: [t, /* @__PURE__ */ a(x.Close, {
|
|
5382
5382
|
"data-slot": "dialog-close-button",
|
|
5383
|
-
className: "absolute top-6 right-6 rounded-
|
|
5383
|
+
className: "absolute top-6 right-6 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
|
|
5384
5384
|
children: [/* @__PURE__ */ i(re, { className: "h-6 w-6" }), /* @__PURE__ */ i("span", {
|
|
5385
5385
|
className: "sr-only",
|
|
5386
5386
|
children: "Close"
|
|
@@ -8669,7 +8669,7 @@ function sp({ ...e }) {
|
|
|
8669
8669
|
function cp({ className: e, inset: t, children: n, ...r }) {
|
|
8670
8670
|
return /* @__PURE__ */ a(tp, {
|
|
8671
8671
|
"data-slot": "context-menu-sub-trigger",
|
|
8672
|
-
className: w("flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-
|
|
8672
|
+
className: w("flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-hidden", "focus:bg-accent focus:text-accent-foreground", "data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", t && "pl-8", e),
|
|
8673
8673
|
...r,
|
|
8674
8674
|
children: [n, /* @__PURE__ */ i(xt, { className: "ml-auto h-4 w-4" })]
|
|
8675
8675
|
});
|
|
@@ -8691,14 +8691,14 @@ function up({ className: e, ...t }) {
|
|
|
8691
8691
|
function dp({ className: e, inset: t, ...n }) {
|
|
8692
8692
|
return /* @__PURE__ */ i(Jf, {
|
|
8693
8693
|
"data-slot": "context-menu-item",
|
|
8694
|
-
className: w("relative flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-
|
|
8694
|
+
className: w("relative flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-hidden", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t && "pl-8", e),
|
|
8695
8695
|
...n
|
|
8696
8696
|
});
|
|
8697
8697
|
}
|
|
8698
8698
|
function fp({ className: e, children: t, checked: n, ...r }) {
|
|
8699
8699
|
return /* @__PURE__ */ a(Yf, {
|
|
8700
8700
|
"data-slot": "context-menu-checkbox-item",
|
|
8701
|
-
className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-
|
|
8701
|
+
className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-hidden", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
|
|
8702
8702
|
checked: n,
|
|
8703
8703
|
...r,
|
|
8704
8704
|
children: [/* @__PURE__ */ i("span", {
|
|
@@ -8710,7 +8710,7 @@ function fp({ className: e, children: t, checked: n, ...r }) {
|
|
|
8710
8710
|
function pp({ className: e, children: t, ...n }) {
|
|
8711
8711
|
return /* @__PURE__ */ a(Zf, {
|
|
8712
8712
|
"data-slot": "context-menu-radio-item",
|
|
8713
|
-
className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-
|
|
8713
|
+
className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-hidden", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
|
|
8714
8714
|
...n,
|
|
8715
8715
|
children: [/* @__PURE__ */ i("span", {
|
|
8716
8716
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
@@ -9437,7 +9437,7 @@ function qm({ ...e }) {
|
|
|
9437
9437
|
function Jm({ className: e, children: t, ...n }) {
|
|
9438
9438
|
return /* @__PURE__ */ a(jm, {
|
|
9439
9439
|
"data-slot": "select-trigger",
|
|
9440
|
-
className: w("flex h-10 w-full items-center justify-between rounded-lg border border-input bg-background px-3 py-2 text-sm text-foreground ring-offset-background", "placeholder:text-muted-foreground", "focus:outline-
|
|
9440
|
+
className: w("flex h-10 w-full items-center justify-between rounded-lg border border-input bg-background px-3 py-2 text-sm text-foreground ring-offset-background", "placeholder:text-muted-foreground", "focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2", "disabled:cursor-not-allowed disabled:opacity-50", "[&>span]:line-clamp-1", e),
|
|
9441
9441
|
...n,
|
|
9442
9442
|
children: [t, /* @__PURE__ */ i(Nm, {
|
|
9443
9443
|
asChild: !0,
|
|
@@ -9487,7 +9487,7 @@ function Qm({ className: e, ...t }) {
|
|
|
9487
9487
|
function $m({ className: e, children: t, ...n }) {
|
|
9488
9488
|
return /* @__PURE__ */ a(zm, {
|
|
9489
9489
|
"data-slot": "select-item",
|
|
9490
|
-
className: w("relative flex w-full cursor-default select-none items-center rounded-
|
|
9490
|
+
className: w("relative flex w-full cursor-default select-none items-center rounded-xs py-1.5 pl-8 pr-2 text-sm outline-hidden", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
|
|
9491
9491
|
...n,
|
|
9492
9492
|
children: [/* @__PURE__ */ i("span", {
|
|
9493
9493
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
@@ -9743,7 +9743,7 @@ function ng({ ...e }) {
|
|
|
9743
9743
|
function rg({ className: e, inset: t, children: n, ...r }) {
|
|
9744
9744
|
return /* @__PURE__ */ a(Yh, {
|
|
9745
9745
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
9746
|
-
className: w("flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-
|
|
9746
|
+
className: w("flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-hidden focus:bg-accent data-[state=open]:bg-accent", t && "pl-8", e),
|
|
9747
9747
|
...r,
|
|
9748
9748
|
children: [n, /* @__PURE__ */ i(xt, { className: "ml-auto h-4 w-4" })]
|
|
9749
9749
|
});
|
|
@@ -9766,14 +9766,14 @@ function ag({ className: e, sideOffset: t = 4, ...n }) {
|
|
|
9766
9766
|
function og({ className: e, inset: t, ...n }) {
|
|
9767
9767
|
return /* @__PURE__ */ i(Hh, {
|
|
9768
9768
|
"data-slot": "dropdown-menu-item",
|
|
9769
|
-
className: w("relative flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-
|
|
9769
|
+
className: w("relative flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t && "pl-8", e),
|
|
9770
9770
|
...n
|
|
9771
9771
|
});
|
|
9772
9772
|
}
|
|
9773
9773
|
function sg({ className: e, children: t, checked: n, ...r }) {
|
|
9774
9774
|
return /* @__PURE__ */ a(Uh, {
|
|
9775
9775
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
9776
|
-
className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-
|
|
9776
|
+
className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
|
|
9777
9777
|
checked: n,
|
|
9778
9778
|
...r,
|
|
9779
9779
|
children: [/* @__PURE__ */ i("span", {
|
|
@@ -9785,7 +9785,7 @@ function sg({ className: e, children: t, checked: n, ...r }) {
|
|
|
9785
9785
|
function cg({ className: e, children: t, ...n }) {
|
|
9786
9786
|
return /* @__PURE__ */ a(Gh, {
|
|
9787
9787
|
"data-slot": "dropdown-menu-radio-item",
|
|
9788
|
-
className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-
|
|
9788
|
+
className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
|
|
9789
9789
|
...n,
|
|
9790
9790
|
children: [/* @__PURE__ */ i("span", {
|
|
9791
9791
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
@@ -10476,20 +10476,20 @@ function Tv({ className: e, size: t = "default", ...n }) {
|
|
|
10476
10476
|
}
|
|
10477
10477
|
function Ev({ className: e, ...t }) {
|
|
10478
10478
|
let { variant: n, bordered: r } = Sv(), a = {
|
|
10479
|
-
pill: w("inline-flex h-full items-center justify-center gap-2 whitespace-nowrap rounded-md px-3 text-tab text-muted-foreground transition-all", "data-[state=active]:bg-page data-[state=active]:text-foreground data-[state=active]:shadow-
|
|
10479
|
+
pill: w("inline-flex h-full items-center justify-center gap-2 whitespace-nowrap rounded-md px-3 text-tab text-muted-foreground transition-all", "data-[state=active]:bg-page data-[state=active]:text-foreground data-[state=active]:shadow-xs"),
|
|
10480
10480
|
filled: w("inline-flex h-full items-center justify-center gap-2 whitespace-nowrap rounded-lg px-2.5 py-3 text-label text-[hsl(var(--text-disabled-on))] transition-all", "data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:rounded-lg"),
|
|
10481
|
-
browser: r ? w("inline-flex flex-col items-center justify-center gap-1 whitespace-nowrap px-6 py-3 text-label text-[hsl(var(--text-disabled-on))] transition-all", "border border-transparent rounded-t-lg", "data-[state=active]:bg-page data-[state=active]:text-foreground data-[state=active]:border-border data-[state=active]:border-b-transparent data-[state=active]:shadow-
|
|
10481
|
+
browser: r ? w("inline-flex flex-col items-center justify-center gap-1 whitespace-nowrap px-6 py-3 text-label text-[hsl(var(--text-disabled-on))] transition-all", "border border-transparent rounded-t-lg", "data-[state=active]:bg-page data-[state=active]:text-foreground data-[state=active]:border-border data-[state=active]:border-b-transparent data-[state=active]:shadow-xs") : w("inline-flex flex-col items-center justify-center gap-1 whitespace-nowrap px-6 py-3 text-label text-[hsl(var(--text-disabled-on))] transition-all", "data-[state=active]:bg-page data-[state=active]:text-foreground")
|
|
10482
10482
|
};
|
|
10483
10483
|
return /* @__PURE__ */ i(yv, {
|
|
10484
10484
|
"data-slot": "tabs-trigger",
|
|
10485
|
-
className: w(a[n], "focus-visible:outline-
|
|
10485
|
+
className: w(a[n], "focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", "disabled:pointer-events-none disabled:opacity-50", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:h-4 [&_svg]:w-4", e),
|
|
10486
10486
|
...t
|
|
10487
10487
|
});
|
|
10488
10488
|
}
|
|
10489
10489
|
function Dv({ className: e, ...t }) {
|
|
10490
10490
|
return /* @__PURE__ */ i(bv, {
|
|
10491
10491
|
"data-slot": "tabs-content",
|
|
10492
|
-
className: w("mt-2 focus-visible:outline-
|
|
10492
|
+
className: w("mt-2 focus-visible:outline-hidden", e),
|
|
10493
10493
|
...t
|
|
10494
10494
|
});
|
|
10495
10495
|
}
|
|
@@ -10831,7 +10831,7 @@ function Kv({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
|
|
|
10831
10831
|
"data-slot": "calendar-nav-prev",
|
|
10832
10832
|
type: "button",
|
|
10833
10833
|
onClick: () => y(-1),
|
|
10834
|
-
className: "inline-flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground hover:text-foreground focus:outline-
|
|
10834
|
+
className: "inline-flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground hover:text-foreground focus:outline-hidden focus:ring-2 focus:ring-ring",
|
|
10835
10835
|
"aria-label": "Previous month",
|
|
10836
10836
|
children: /* @__PURE__ */ i(bt, { className: "h-5 w-5" })
|
|
10837
10837
|
}),
|
|
@@ -10844,7 +10844,7 @@ function Kv({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
|
|
|
10844
10844
|
"data-slot": "calendar-nav-next",
|
|
10845
10845
|
type: "button",
|
|
10846
10846
|
onClick: () => y(1),
|
|
10847
|
-
className: "inline-flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground hover:text-foreground focus:outline-
|
|
10847
|
+
className: "inline-flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground hover:text-foreground focus:outline-hidden focus:ring-2 focus:ring-ring",
|
|
10848
10848
|
"aria-label": "Next month",
|
|
10849
10849
|
children: /* @__PURE__ */ i(xt, { className: "h-5 w-5" })
|
|
10850
10850
|
})
|
|
@@ -10865,7 +10865,7 @@ function Kv({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
|
|
|
10865
10865
|
type: "button",
|
|
10866
10866
|
disabled: !r,
|
|
10867
10867
|
onClick: () => r && b(e.day),
|
|
10868
|
-
className: w("flex h-10 w-10 items-center justify-center rounded-full text-sm transition-colors focus:outline-
|
|
10868
|
+
className: w("flex h-10 w-10 items-center justify-center rounded-full text-sm transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring", !r && "pointer-events-none text-muted-foreground/40", r && !o && !s && "text-foreground hover:bg-accent", s && !o && "font-semibold text-foreground", o && "bg-primary text-primary-foreground font-medium"),
|
|
10869
10869
|
"aria-selected": o || void 0,
|
|
10870
10870
|
"aria-current": s ? "date" : void 0,
|
|
10871
10871
|
children: e.day
|
|
@@ -10880,7 +10880,7 @@ function qv({ className: e, active: t = !1, ...n }) {
|
|
|
10880
10880
|
return /* @__PURE__ */ i("div", {
|
|
10881
10881
|
"data-slot": "skeleton",
|
|
10882
10882
|
"data-active": t || void 0,
|
|
10883
|
-
className: w("rounded-md bg-muted", t ? "relative overflow-hidden before:absolute before:inset-0 before:-translate-x-full before:bg-
|
|
10883
|
+
className: w("rounded-md bg-muted", t ? "relative overflow-hidden before:absolute before:inset-0 before:-translate-x-full before:bg-linear-to-r before:from-transparent before:via-white/20 before:to-transparent before:animate-skeleton-shimmer before:content-['']" : "animate-pulse", e),
|
|
10884
10884
|
...n
|
|
10885
10885
|
});
|
|
10886
10886
|
}
|
|
@@ -10966,7 +10966,7 @@ function Yv({ className: e, variant: t = "default", filled: n = !1, onDismiss: r
|
|
|
10966
10966
|
"data-slot": "alert-dismiss",
|
|
10967
10967
|
type: "button",
|
|
10968
10968
|
onClick: r,
|
|
10969
|
-
className: "shrink-0 rounded-
|
|
10969
|
+
className: "shrink-0 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
10970
10970
|
"aria-label": "Dismiss",
|
|
10971
10971
|
children: /* @__PURE__ */ i(re, { className: "h-6 w-6" })
|
|
10972
10972
|
}) : null]
|
|
@@ -11026,7 +11026,7 @@ function ty({ className: e, variant: t = "default", onClose: n, children: r, ...
|
|
|
11026
11026
|
"data-slot": "toast-close",
|
|
11027
11027
|
type: "button",
|
|
11028
11028
|
onClick: n,
|
|
11029
|
-
className: w("absolute right-3 top-5 rounded-
|
|
11029
|
+
className: w("absolute right-3 top-5 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2", t === "destructive" && "text-destructive"),
|
|
11030
11030
|
"aria-label": "Close",
|
|
11031
11031
|
children: /* @__PURE__ */ i(re, { className: "h-6 w-6" })
|
|
11032
11032
|
})]
|
|
@@ -11097,7 +11097,7 @@ function cy({ className: e, ...t }) {
|
|
|
11097
11097
|
"data-slot": "notification-close",
|
|
11098
11098
|
type: "button",
|
|
11099
11099
|
"aria-label": "Close notification",
|
|
11100
|
-
className: w("absolute right-4 top-4 rounded-
|
|
11100
|
+
className: w("absolute right-4 top-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", e),
|
|
11101
11101
|
...t,
|
|
11102
11102
|
children: [/* @__PURE__ */ i(re, { className: "h-4 w-4" }), /* @__PURE__ */ i("span", {
|
|
11103
11103
|
className: "sr-only",
|
|
@@ -11301,7 +11301,7 @@ function Ay({ className: e, active: t = !1, children: n, ...r }) {
|
|
|
11301
11301
|
return /* @__PURE__ */ i("button", {
|
|
11302
11302
|
"data-slot": "sidebar-menu-button",
|
|
11303
11303
|
"data-active": t || void 0,
|
|
11304
|
-
className: w("flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium text-foreground transition-colors", "hover:bg-background/50", "focus-visible:outline-
|
|
11304
|
+
className: w("flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium text-foreground transition-colors", "hover:bg-background/50", "focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring", t && "bg-background text-foreground shadow-xs", !a && "justify-center px-0", e),
|
|
11305
11305
|
...r,
|
|
11306
11306
|
children: n
|
|
11307
11307
|
});
|