@cmgfi/clear-ds 1.2.7 → 1.3.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.cjs +41 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +23 -0
- package/dist/index.mjs +4183 -4164
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -96,8 +96,31 @@ export declare interface AUSChipProps {
|
|
|
96
96
|
color: AUSChipColor;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
export declare const Badge: default_2.ForwardRefExoticComponent<BadgeProps & default_2.RefAttributes<HTMLSpanElement>>;
|
|
100
|
+
|
|
101
|
+
export declare interface BadgeProps extends Omit<default_2.HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
102
|
+
/**
|
|
103
|
+
* Value to display inside the badge. Omit to render as a dot indicator.
|
|
104
|
+
*/
|
|
105
|
+
value?: string | number;
|
|
106
|
+
/**
|
|
107
|
+
* Severity variant controlling background and text color.
|
|
108
|
+
* @default 'secondary'
|
|
109
|
+
*/
|
|
110
|
+
severity?: BadgeSeverity;
|
|
111
|
+
/**
|
|
112
|
+
* Size of the badge.
|
|
113
|
+
* @default 'normal'
|
|
114
|
+
*/
|
|
115
|
+
size?: BadgeSize;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export declare type BadgeSeverity = 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'contrast';
|
|
119
|
+
|
|
99
120
|
export declare type BadgeShape = 'square' | 'diamond' | 'circle';
|
|
100
121
|
|
|
122
|
+
export declare type BadgeSize = 'xs' | 'normal' | 'large';
|
|
123
|
+
|
|
101
124
|
export declare function BannerAlert({ severity, title, detail, closable, onClose }: BannerAlertProps): JSX_2.Element;
|
|
102
125
|
|
|
103
126
|
export declare namespace BannerAlert {
|