@novie/ui 0.1.37 → 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.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-none 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", {
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-none 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),
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-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
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-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
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-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
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-none focus-visible:ring-2 focus-visible:ring-ring", n === "sm" ? "h-3.5 w-3.5" : "h-4 w-4"),
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-sm", {
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-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0", {
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-sm transition-colors", "focus-within:border-ring", v && "border-destructive", f && "cursor-not-allowed opacity-50"),
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-sm transition-colors", "focus-within:border-ring", v && "border-destructive", f && "cursor-not-allowed opacity-50", e),
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-none focus-visible:ring-2 focus-visible:ring-ring"),
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
  })
@@ -5326,16 +5326,18 @@ function Ri({ className: e, ...t }) {
5326
5326
  });
5327
5327
  }
5328
5328
  function zi({ className: e, ...t }) {
5329
+ let n = ji();
5329
5330
  return /* @__PURE__ */ i("th", {
5330
5331
  "data-slot": "table-head",
5331
- className: w(Mi[ji()], "bg-interactive-active px-2 text-left align-middle text-sm font-medium leading-5 text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
5332
+ className: w(Mi[n], "bg-interactive-active px-2 text-left align-middle text-sm font-medium leading-5 text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
5332
5333
  ...t
5333
5334
  });
5334
5335
  }
5335
5336
  function Bi({ className: e, ...t }) {
5337
+ let n = ji();
5336
5338
  return /* @__PURE__ */ i("td", {
5337
5339
  "data-slot": "table-cell",
5338
- className: w(Ni[ji()], "px-2 align-middle text-base text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
5340
+ className: w(Ni[n], "px-2 align-middle text-base text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
5339
5341
  ...t
5340
5342
  });
5341
5343
  }
@@ -5378,7 +5380,7 @@ function Gi({ className: e, children: t, ...n }) {
5378
5380
  ...n,
5379
5381
  children: [t, /* @__PURE__ */ a(x.Close, {
5380
5382
  "data-slot": "dialog-close-button",
5381
- className: "absolute top-6 right-6 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none 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",
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",
5382
5384
  children: [/* @__PURE__ */ i(re, { className: "h-6 w-6" }), /* @__PURE__ */ i("span", {
5383
5385
  className: "sr-only",
5384
5386
  children: "Close"
@@ -7131,7 +7133,7 @@ function Dc(e, t) {
7131
7133
  }
7132
7134
  function Oc(e) {
7133
7135
  let t = e.slice();
7134
- return t.sort((e, t) => e.x < t.x ? -1 : e.x > t.x ? 1 : e.y < t.y ? -1 : +(e.y > t.y)), kc(t);
7136
+ return t.sort((e, t) => e.x < t.x ? -1 : e.x > t.x ? 1 : e.y < t.y ? -1 : e.y > t.y ? 1 : 0), kc(t);
7135
7137
  }
7136
7138
  function kc(e) {
7137
7139
  if (e.length <= 1) return e.slice();
@@ -8667,7 +8669,7 @@ function sp({ ...e }) {
8667
8669
  function cp({ className: e, inset: t, children: n, ...r }) {
8668
8670
  return /* @__PURE__ */ a(tp, {
8669
8671
  "data-slot": "context-menu-sub-trigger",
8670
- className: w("flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-none", "focus:bg-accent focus:text-accent-foreground", "data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", t && "pl-8", e),
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),
8671
8673
  ...r,
8672
8674
  children: [n, /* @__PURE__ */ i(xt, { className: "ml-auto h-4 w-4" })]
8673
8675
  });
@@ -8689,14 +8691,14 @@ function up({ className: e, ...t }) {
8689
8691
  function dp({ className: e, inset: t, ...n }) {
8690
8692
  return /* @__PURE__ */ i(Jf, {
8691
8693
  "data-slot": "context-menu-item",
8692
- className: w("relative flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-none", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t && "pl-8", e),
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),
8693
8695
  ...n
8694
8696
  });
8695
8697
  }
8696
8698
  function fp({ className: e, children: t, checked: n, ...r }) {
8697
8699
  return /* @__PURE__ */ a(Yf, {
8698
8700
  "data-slot": "context-menu-checkbox-item",
8699
- className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-none", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
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),
8700
8702
  checked: n,
8701
8703
  ...r,
8702
8704
  children: [/* @__PURE__ */ i("span", {
@@ -8708,7 +8710,7 @@ function fp({ className: e, children: t, checked: n, ...r }) {
8708
8710
  function pp({ className: e, children: t, ...n }) {
8709
8711
  return /* @__PURE__ */ a(Zf, {
8710
8712
  "data-slot": "context-menu-radio-item",
8711
- className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-none", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
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),
8712
8714
  ...n,
8713
8715
  children: [/* @__PURE__ */ i("span", {
8714
8716
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
@@ -9435,7 +9437,7 @@ function qm({ ...e }) {
9435
9437
  function Jm({ className: e, children: t, ...n }) {
9436
9438
  return /* @__PURE__ */ a(jm, {
9437
9439
  "data-slot": "select-trigger",
9438
- 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-none focus:ring-2 focus:ring-ring focus:ring-offset-2", "disabled:cursor-not-allowed disabled:opacity-50", "[&>span]:line-clamp-1", e),
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),
9439
9441
  ...n,
9440
9442
  children: [t, /* @__PURE__ */ i(Nm, {
9441
9443
  asChild: !0,
@@ -9485,7 +9487,7 @@ function Qm({ className: e, ...t }) {
9485
9487
  function $m({ className: e, children: t, ...n }) {
9486
9488
  return /* @__PURE__ */ a(zm, {
9487
9489
  "data-slot": "select-item",
9488
- className: w("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
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),
9489
9491
  ...n,
9490
9492
  children: [/* @__PURE__ */ i("span", {
9491
9493
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
@@ -9741,7 +9743,7 @@ function ng({ ...e }) {
9741
9743
  function rg({ className: e, inset: t, children: n, ...r }) {
9742
9744
  return /* @__PURE__ */ a(Yh, {
9743
9745
  "data-slot": "dropdown-menu-sub-trigger",
9744
- className: w("flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent", t && "pl-8", e),
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),
9745
9747
  ...r,
9746
9748
  children: [n, /* @__PURE__ */ i(xt, { className: "ml-auto h-4 w-4" })]
9747
9749
  });
@@ -9764,14 +9766,14 @@ function ag({ className: e, sideOffset: t = 4, ...n }) {
9764
9766
  function og({ className: e, inset: t, ...n }) {
9765
9767
  return /* @__PURE__ */ i(Hh, {
9766
9768
  "data-slot": "dropdown-menu-item",
9767
- className: w("relative flex cursor-default select-none items-center rounded-md px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t && "pl-8", e),
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),
9768
9770
  ...n
9769
9771
  });
9770
9772
  }
9771
9773
  function sg({ className: e, children: t, checked: n, ...r }) {
9772
9774
  return /* @__PURE__ */ a(Uh, {
9773
9775
  "data-slot": "dropdown-menu-checkbox-item",
9774
- className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
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),
9775
9777
  checked: n,
9776
9778
  ...r,
9777
9779
  children: [/* @__PURE__ */ i("span", {
@@ -9783,7 +9785,7 @@ function sg({ className: e, children: t, checked: n, ...r }) {
9783
9785
  function cg({ className: e, children: t, ...n }) {
9784
9786
  return /* @__PURE__ */ a(Gh, {
9785
9787
  "data-slot": "dropdown-menu-radio-item",
9786
- className: w("relative flex cursor-default select-none items-center rounded-md py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
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),
9787
9789
  ...n,
9788
9790
  children: [/* @__PURE__ */ i("span", {
9789
9791
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
@@ -10473,21 +10475,21 @@ function Tv({ className: e, size: t = "default", ...n }) {
10473
10475
  });
10474
10476
  }
10475
10477
  function Ev({ className: e, ...t }) {
10476
- let { variant: n, bordered: r } = Sv();
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-xs"),
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-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
+ };
10477
10483
  return /* @__PURE__ */ i(yv, {
10478
10484
  "data-slot": "tabs-trigger",
10479
- className: w({
10480
- 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-sm"),
10481
- 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"),
10482
- 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-sm") : 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")
10483
- }[n], "focus-visible:outline-none 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),
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),
10484
10486
  ...t
10485
10487
  });
10486
10488
  }
10487
10489
  function Dv({ className: e, ...t }) {
10488
10490
  return /* @__PURE__ */ i(bv, {
10489
10491
  "data-slot": "tabs-content",
10490
- className: w("mt-2 focus-visible:outline-none", e),
10492
+ className: w("mt-2 focus-visible:outline-hidden", e),
10491
10493
  ...t
10492
10494
  });
10493
10495
  }
@@ -10829,7 +10831,7 @@ function Kv({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
10829
10831
  "data-slot": "calendar-nav-prev",
10830
10832
  type: "button",
10831
10833
  onClick: () => y(-1),
10832
- className: "inline-flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground hover:text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
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",
10833
10835
  "aria-label": "Previous month",
10834
10836
  children: /* @__PURE__ */ i(bt, { className: "h-5 w-5" })
10835
10837
  }),
@@ -10842,7 +10844,7 @@ function Kv({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
10842
10844
  "data-slot": "calendar-nav-next",
10843
10845
  type: "button",
10844
10846
  onClick: () => y(1),
10845
- className: "inline-flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground hover:text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
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",
10846
10848
  "aria-label": "Next month",
10847
10849
  children: /* @__PURE__ */ i(xt, { className: "h-5 w-5" })
10848
10850
  })
@@ -10863,7 +10865,7 @@ function Kv({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
10863
10865
  type: "button",
10864
10866
  disabled: !r,
10865
10867
  onClick: () => r && b(e.day),
10866
- className: w("flex h-10 w-10 items-center justify-center rounded-full text-sm transition-colors focus:outline-none 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"),
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"),
10867
10869
  "aria-selected": o || void 0,
10868
10870
  "aria-current": s ? "date" : void 0,
10869
10871
  children: e.day
@@ -10878,7 +10880,7 @@ function qv({ className: e, active: t = !1, ...n }) {
10878
10880
  return /* @__PURE__ */ i("div", {
10879
10881
  "data-slot": "skeleton",
10880
10882
  "data-active": t || void 0,
10881
- className: w("rounded-md bg-muted", t ? "relative overflow-hidden before:absolute before:inset-0 before:-translate-x-full before:bg-gradient-to-r before:from-transparent before:via-white/20 before:to-transparent before:animate-skeleton-shimmer before:content-['']" : "animate-pulse", e),
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),
10882
10884
  ...n
10883
10885
  });
10884
10886
  }
@@ -10964,7 +10966,7 @@ function Yv({ className: e, variant: t = "default", filled: n = !1, onDismiss: r
10964
10966
  "data-slot": "alert-dismiss",
10965
10967
  type: "button",
10966
10968
  onClick: r,
10967
- className: "shrink-0 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
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",
10968
10970
  "aria-label": "Dismiss",
10969
10971
  children: /* @__PURE__ */ i(re, { className: "h-6 w-6" })
10970
10972
  }) : null]
@@ -11024,7 +11026,7 @@ function ty({ className: e, variant: t = "default", onClose: n, children: r, ...
11024
11026
  "data-slot": "toast-close",
11025
11027
  type: "button",
11026
11028
  onClick: n,
11027
- className: w("absolute right-3 top-5 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", t === "destructive" && "text-destructive"),
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"),
11028
11030
  "aria-label": "Close",
11029
11031
  children: /* @__PURE__ */ i(re, { className: "h-6 w-6" })
11030
11032
  })]
@@ -11095,7 +11097,7 @@ function cy({ className: e, ...t }) {
11095
11097
  "data-slot": "notification-close",
11096
11098
  type: "button",
11097
11099
  "aria-label": "Close notification",
11098
- className: w("absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", e),
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),
11099
11101
  ...t,
11100
11102
  children: [/* @__PURE__ */ i(re, { className: "h-4 w-4" }), /* @__PURE__ */ i("span", {
11101
11103
  className: "sr-only",
@@ -11299,7 +11301,7 @@ function Ay({ className: e, active: t = !1, children: n, ...r }) {
11299
11301
  return /* @__PURE__ */ i("button", {
11300
11302
  "data-slot": "sidebar-menu-button",
11301
11303
  "data-active": t || void 0,
11302
- 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-none focus-visible:ring-2 focus-visible:ring-ring", t && "bg-background text-foreground shadow-sm", !a && "justify-center px-0", e),
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),
11303
11305
  ...r,
11304
11306
  children: n
11305
11307
  });