@bubo-squared/ui-framework 0.2.32 → 0.2.33
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.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -132,9 +132,9 @@ declare const Typography: <T extends ElementType = "span">(props: TypographyProp
|
|
|
132
132
|
|
|
133
133
|
declare const badgeVariants: (props?: ({
|
|
134
134
|
size?: "sm" | "lg" | "md" | "xl" | null | undefined;
|
|
135
|
-
variant?: "error" | "outline" | "secondary" | "disabled" | "primary" | "success" | "active" | "informal" | "warning" | null | undefined;
|
|
135
|
+
variant?: "error" | "outline" | "secondary" | "disabled" | "primary" | "success" | "primaryInverted" | "active" | "informal" | "warning" | null | undefined;
|
|
136
136
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
137
|
-
type BadgeVariant = "primary" | "secondary" | "outline" | "informal" | "success" | "warning" | "error" | "disabled" | "active";
|
|
137
|
+
type BadgeVariant = "primary" | "primaryInverted" | "secondary" | "outline" | "informal" | "success" | "warning" | "error" | "disabled" | "active";
|
|
138
138
|
type BadgeSize = "sm" | "md" | "lg" | "xl";
|
|
139
139
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
140
140
|
asChild?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -132,9 +132,9 @@ declare const Typography: <T extends ElementType = "span">(props: TypographyProp
|
|
|
132
132
|
|
|
133
133
|
declare const badgeVariants: (props?: ({
|
|
134
134
|
size?: "sm" | "lg" | "md" | "xl" | null | undefined;
|
|
135
|
-
variant?: "error" | "outline" | "secondary" | "disabled" | "primary" | "success" | "active" | "informal" | "warning" | null | undefined;
|
|
135
|
+
variant?: "error" | "outline" | "secondary" | "disabled" | "primary" | "success" | "primaryInverted" | "active" | "informal" | "warning" | null | undefined;
|
|
136
136
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
137
|
-
type BadgeVariant = "primary" | "secondary" | "outline" | "informal" | "success" | "warning" | "error" | "disabled" | "active";
|
|
137
|
+
type BadgeVariant = "primary" | "primaryInverted" | "secondary" | "outline" | "informal" | "success" | "warning" | "error" | "disabled" | "active";
|
|
138
138
|
type BadgeSize = "sm" | "md" | "lg" | "xl";
|
|
139
139
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
140
140
|
asChild?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -713,9 +713,10 @@ var badgeVariants = cva8(
|
|
|
713
713
|
xl: "px-4 h6-title"
|
|
714
714
|
},
|
|
715
715
|
variant: {
|
|
716
|
-
primary: "bg-
|
|
717
|
-
|
|
718
|
-
|
|
716
|
+
primary: "bg-primary text-primary",
|
|
717
|
+
primaryInverted: "bg-(--color-primary) text-(--color-primary-inverse)",
|
|
718
|
+
secondary: "bg-(--background-secondary) text-secondary",
|
|
719
|
+
outline: "bg-(--background-secondary) text-secondary shadow-[inset_0_0_0_1px_var(--border-secondary)]",
|
|
719
720
|
active: "bg-ac-lilac text-badge-black",
|
|
720
721
|
informal: "bg-ac-neon-blue text-badge-black",
|
|
721
722
|
success: "bg-ac-neon-green text-badge-black",
|