@lctafrica/ui 1.1.0 → 1.1.2
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.
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export type BadgeSize = "sm" | "md" | "lg";
|
|
3
|
-
export type BadgeIndicator = "default" | "dot-
|
|
3
|
+
export type BadgeIndicator = "default" | "dot-icon" | "x-icon";
|
|
4
4
|
export type BadgeColor = "red" | "blue" | "green" | "yellow" | "gray" | "purple" | "pink" | "orange";
|
|
5
5
|
export type BadgeProps = {
|
|
6
6
|
color?: BadgeColor;
|
|
7
|
-
|
|
7
|
+
label?: string;
|
|
8
8
|
size?: BadgeSize;
|
|
9
9
|
indicator?: BadgeIndicator;
|
|
10
10
|
containerClassName?: string;
|
|
11
11
|
textClassName?: string;
|
|
12
12
|
children?: ReactNode;
|
|
13
13
|
};
|
|
14
|
-
declare function Badge({ color,
|
|
14
|
+
declare function Badge({ color, label, size, indicator, containerClassName, textClassName, children, }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export { Badge };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
declare const memberPrivilegeAvatarVariants: (props?: ({
|
|
3
3
|
privilege?: "NORMAL" | "VIP" | "VVIP" | null | undefined;
|
|
4
|
-
size?: "md" | "lg" | null | undefined;
|
|
4
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export type MemberPrivilegeAvatarProps = {
|
|
7
7
|
className?: string;
|