@novie/ui 0.1.36 → 0.1.37

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
@@ -5326,18 +5326,16 @@ function Ri({ className: e, ...t }) {
5326
5326
  });
5327
5327
  }
5328
5328
  function zi({ className: e, ...t }) {
5329
- let n = ji();
5330
5329
  return /* @__PURE__ */ i("th", {
5331
5330
  "data-slot": "table-head",
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),
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),
5333
5332
  ...t
5334
5333
  });
5335
5334
  }
5336
5335
  function Bi({ className: e, ...t }) {
5337
- let n = ji();
5338
5336
  return /* @__PURE__ */ i("td", {
5339
5337
  "data-slot": "table-cell",
5340
- className: w(Ni[n], "px-2 align-middle text-base text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
5338
+ className: w(Ni[ji()], "px-2 align-middle text-base text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
5341
5339
  ...t
5342
5340
  });
5343
5341
  }
@@ -7133,7 +7131,7 @@ function Dc(e, t) {
7133
7131
  }
7134
7132
  function Oc(e) {
7135
7133
  let t = e.slice();
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);
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);
7137
7135
  }
7138
7136
  function kc(e) {
7139
7137
  if (e.length <= 1) return e.slice();
@@ -10475,14 +10473,14 @@ function Tv({ className: e, size: t = "default", ...n }) {
10475
10473
  });
10476
10474
  }
10477
10475
  function Ev({ className: e, ...t }) {
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-sm"),
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-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")
10482
- };
10476
+ let { variant: n, bordered: r } = Sv();
10483
10477
  return /* @__PURE__ */ i(yv, {
10484
10478
  "data-slot": "tabs-trigger",
10485
- className: w(a[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),
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),
10486
10484
  ...t
10487
10485
  });
10488
10486
  }
@@ -10880,7 +10878,7 @@ function qv({ className: e, active: t = !1, ...n }) {
10880
10878
  return /* @__PURE__ */ i("div", {
10881
10879
  "data-slot": "skeleton",
10882
10880
  "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-gradient-to-r before:from-transparent before:via-white/10 before:to-transparent before:animate-skeleton-shimmer before:content-['']" : "animate-pulse", e),
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),
10884
10882
  ...n
10885
10883
  });
10886
10884
  }