@turingpaper/ui 0.0.8 → 0.0.9

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/badge.mjs CHANGED
@@ -1,14 +1,14 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { cva as n } from "class-variance-authority";
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { cva as o } from "class-variance-authority";
3
3
  import { cn as i } from "./utils.mjs";
4
- const a = n(
4
+ const a = o(
5
5
  "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus-visible:outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50",
6
6
  {
7
7
  variants: {
8
8
  variant: {
9
- default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
10
- secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
11
- destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive-foreground/30",
9
+ default: "border-transparent bg-primary text-primary-foreground",
10
+ secondary: "border-transparent bg-secondary text-secondary-foreground",
11
+ destructive: "border-transparent bg-destructive text-destructive-foreground",
12
12
  outline: "text-foreground"
13
13
  }
14
14
  },
@@ -17,10 +17,10 @@ const a = n(
17
17
  }
18
18
  }
19
19
  );
20
- function c({ className: r, variant: e, ...t }) {
21
- return /* @__PURE__ */ o("div", { className: i(a({ variant: e }), r), ...t });
20
+ function f({ className: r, variant: e, ...t }) {
21
+ return /* @__PURE__ */ n("div", { className: i(a({ variant: e }), r), ...t });
22
22
  }
23
23
  export {
24
- c as Badge,
24
+ f as Badge,
25
25
  a as badgeVariants
26
26
  };