@turingpaper/ui 0.0.5 → 0.0.7

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
@@ -8,7 +8,7 @@ const a = n(
8
8
  variant: {
9
9
  default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
10
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/80",
11
+ destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive-foreground/15",
12
12
  outline: "text-foreground"
13
13
  }
14
14
  },
package/dist/button.mjs CHANGED
@@ -9,7 +9,7 @@ const m = c(
9
9
  variants: {
10
10
  variant: {
11
11
  default: "bg-primary text-primary-foreground hover:bg-primary/90",
12
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
12
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive-foreground/15",
13
13
  outline: "border border-input bg-background hover:bg-muted hover:text-foreground",
14
14
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
15
15
  ghost: "hover:bg-accent hover:text-accent-foreground",
@@ -11,7 +11,7 @@ function v({ className: a, ...t }) {
11
11
  "data-slot": "input-group",
12
12
  role: "group",
13
13
  className: r(
14
- "group/input-group relative flex h-9 w-full min-w-0 items-center rounded-4xl border border-input bg-input/30 transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-data-[align=block-end]:rounded-2xl has-data-[align=block-start]:rounded-2xl has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-[3px] has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[textarea]:rounded-xl has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
14
+ "group/input-group relative flex h-9 w-full min-w-0 items-center rounded-4xl border border-input bg-input/30 transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-data-[align=block-end]:rounded-2xl has-data-[align=block-start]:rounded-2xl has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive-foreground has-[[data-slot][aria-invalid=true]]:ring-[3px] has-[[data-slot][aria-invalid=true]]:ring-destructive-foreground/20 has-[textarea]:rounded-xl has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:has-[[data-slot][aria-invalid=true]]:ring-destructive-foreground/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
15
15
  a
16
16
  ),
17
17
  ...t
@@ -53,7 +53,7 @@ function k({
53
53
  }
54
54
  );
55
55
  }
56
- const c = i(
56
+ const g = i(
57
57
  "flex items-center gap-2 rounded-4xl text-sm shadow-none",
58
58
  {
59
59
  variants: {
@@ -82,7 +82,7 @@ function z({
82
82
  type: t,
83
83
  "data-size": o,
84
84
  variant: e,
85
- className: r(c({ size: o }), a),
85
+ className: r(g({ size: o }), a),
86
86
  ...s
87
87
  }
88
88
  );