@caqophony/ui 0.9.3 → 0.9.4

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.
@@ -49,6 +49,8 @@ var buttonVariants = cva(
49
49
  outline: "border border-border dark:border-border bg-background dark:bg-background text-foreground dark:text-foreground shadow-sm hover:bg-muted dark:hover:bg-muted hover:text-foreground dark:hover:text-foreground",
50
50
  secondary: "bg-muted dark:bg-muted text-muted-foreground dark:text-muted-foreground shadow-sm hover:bg-muted/80 dark:hover:bg-muted/80",
51
51
  ghost: "hover:bg-muted dark:hover:bg-muted hover:text-foreground dark:hover:text-foreground",
52
+ // #6362: a quiet destructive action (a page's delete): error-toned text, no fill until hover. The solid `destructive` is kept for the confirm's own button.
53
+ "destructive-ghost": "text-intent-error-foreground hover:bg-intent-error hover:text-intent-error-foreground",
52
54
  link: "text-primary-text dark:text-primary-text underline-offset-4 hover:underline"
53
55
  },
54
56
  size: {
package/dist/index.d.mts CHANGED
@@ -12,7 +12,7 @@ import { LucideIcon } from 'lucide-react';
12
12
  import { ClassValue } from 'clsx';
13
13
 
14
14
  declare const buttonVariants: (props?: ({
15
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
15
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "destructive-ghost" | null | undefined;
16
16
  size?: "icon" | "default" | "sm" | "lg" | null | undefined;
17
17
  } & class_variance_authority_types.ClassProp) | undefined) => string;
18
18
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  buttonVariants,
12
12
  useModalSurface,
13
13
  usePanelRef
14
- } from "./chunk-K2B226HX.js";
14
+ } from "./chunk-A3GODQ6C.js";
15
15
  import {
16
16
  Alert,
17
17
  EMPTY_VALUE_GLYPH,
package/dist/marketing.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  Button,
4
4
  Container,
5
5
  NavbarMenu
6
- } from "./chunk-K2B226HX.js";
6
+ } from "./chunk-A3GODQ6C.js";
7
7
  import {
8
8
  ScrollHintXMark
9
9
  } from "./chunk-KXI4UQPS.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caqophony/ui",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Generic, optional React UI reuse library (Gossamer tokens). Centrally maintained by Caqophony.",
5
5
  "license": "MIT",
6
6
  "author": "Caqophony",