@orangecheck/design 0.3.0 → 0.5.0
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +112 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +113 -2
- package/dist/index.mjs.map +1 -1
- package/dist/primitives.d.mts +1 -1
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.js +1 -0
- package/dist/primitives.js.map +1 -1
- package/dist/primitives.mjs +1 -0
- package/dist/primitives.mjs.map +1 -1
- package/dist/tokens.d.mts +8 -1
- package/dist/tokens.d.ts +8 -1
- package/dist/tokens.js +110 -0
- package/dist/tokens.js.map +1 -1
- package/dist/tokens.mjs +111 -2
- package/dist/tokens.mjs.map +1 -1
- package/package.json +1 -1
package/dist/primitives.d.mts
CHANGED
|
@@ -21,7 +21,7 @@ declare function Button({ className, variant, size, asChild, ...props }: React.C
|
|
|
21
21
|
}): react_jsx_runtime.JSX.Element;
|
|
22
22
|
|
|
23
23
|
declare const badgeVariants: (props?: ({
|
|
24
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "warning" | "success" | "info" | null | undefined;
|
|
24
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "warning" | "success" | "info" | "brand" | null | undefined;
|
|
25
25
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
26
26
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
27
27
|
asChild?: boolean;
|
package/dist/primitives.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare function Button({ className, variant, size, asChild, ...props }: React.C
|
|
|
21
21
|
}): react_jsx_runtime.JSX.Element;
|
|
22
22
|
|
|
23
23
|
declare const badgeVariants: (props?: ({
|
|
24
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "warning" | "success" | "info" | null | undefined;
|
|
24
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "warning" | "success" | "info" | "brand" | null | undefined;
|
|
25
25
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
26
26
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
27
27
|
asChild?: boolean;
|
package/dist/primitives.js
CHANGED
|
@@ -103,6 +103,7 @@ var badgeVariants = classVarianceAuthority.cva(
|
|
|
103
103
|
warning: "bg-warning text-warning-foreground [a&]:hover:bg-warning/90 border-transparent",
|
|
104
104
|
success: "bg-success text-success-foreground [a&]:hover:bg-success/90 border-transparent",
|
|
105
105
|
info: "bg-info text-info-foreground [a&]:hover:bg-info/90 border-transparent",
|
|
106
|
+
brand: "bg-brand-soft text-brand border-brand-soft",
|
|
106
107
|
outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
|
|
107
108
|
}
|
|
108
109
|
},
|