@neynar/ui 0.2.0 → 0.2.1

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.
@@ -19,6 +19,9 @@ import { type VariantProps } from "class-variance-authority";
19
19
  * @variant default - Primary brand color badge for important status indicators and primary actions
20
20
  * @variant secondary - Muted background badge for supplementary information and low-priority labels
21
21
  * @variant destructive - Error/warning badge for critical states, failures, and urgent attention
22
+ * @variant success - Success badge for positive states, successes, and positive attention
23
+ * @variant warning - Warning badge for warning states, warnings, and negative attention
24
+ * @variant info - Info badge for informational states, information, and neutral attention
22
25
  * @variant outline - Subtle border-only badge for minimal emphasis and subtle labeling
23
26
  *
24
27
  * @param props - Variant configuration object
@@ -39,7 +42,7 @@ import { type VariantProps } from "class-variance-authority";
39
42
  * ```
40
43
  */
41
44
  declare const badgeVariants: (props?: ({
42
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
45
+ variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "info" | null | undefined;
43
46
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
44
47
  /**
45
48
  * Badge - Versatile status indicator component for labels, counts, and notifications
@@ -54,6 +57,9 @@ declare const badgeVariants: (props?: ({
54
57
  * <Badge>New</Badge>
55
58
  * <Badge variant="secondary">Draft</Badge>
56
59
  * <Badge variant="destructive">Error</Badge>
60
+ * <Badge variant="success">Success</Badge>
61
+ * <Badge variant="warning">Warning</Badge>
62
+ * <Badge variant="info">Info</Badge>
57
63
  * <Badge variant="outline">Pending</Badge>
58
64
  * ```
59
65
  *
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;A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