@clarlabs/ui 0.1.7 → 0.1.9
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.ts +25 -0
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3159 -3108
- package/dist/index.mjs.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,19 @@ export declare interface AlertProps {
|
|
|
28
28
|
|
|
29
29
|
export declare type AlertVariant = 'info' | 'success' | 'warning' | 'error';
|
|
30
30
|
|
|
31
|
+
export declare function AnimatedIcon({ icon, width, height, duration, disableAnimation, color, strokeWidth, className }: AnimatedIconProps): default_2.JSX.Element | null;
|
|
32
|
+
|
|
33
|
+
export declare interface AnimatedIconProps {
|
|
34
|
+
icon: string;
|
|
35
|
+
width?: number;
|
|
36
|
+
height?: number;
|
|
37
|
+
duration?: number;
|
|
38
|
+
disableAnimation?: boolean;
|
|
39
|
+
color?: string;
|
|
40
|
+
strokeWidth?: number;
|
|
41
|
+
className?: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
31
44
|
declare const Audio_2: default_2.ForwardRefExoticComponent<AudioProps & default_2.RefAttributes<HTMLAudioElement>>;
|
|
32
45
|
export { Audio_2 as Audio }
|
|
33
46
|
|
|
@@ -73,6 +86,8 @@ export declare interface AudioProps extends Omit<default_2.AudioHTMLAttributes<H
|
|
|
73
86
|
|
|
74
87
|
export declare type AudioVariant = 'minimal' | 'standard' | 'detailed';
|
|
75
88
|
|
|
89
|
+
export declare const availableIcons: string[];
|
|
90
|
+
|
|
76
91
|
export declare function Avatar({ src, alt, initials, size, status, className }: AvatarProps): default_2.JSX.Element;
|
|
77
92
|
|
|
78
93
|
export declare interface AvatarProps {
|
|
@@ -1339,6 +1354,16 @@ export declare interface TimelineProps {
|
|
|
1339
1354
|
className?: string;
|
|
1340
1355
|
}
|
|
1341
1356
|
|
|
1357
|
+
export declare function Title({ children, subtitle, level, align, className }: TitleProps): default_2.JSX.Element;
|
|
1358
|
+
|
|
1359
|
+
export declare interface TitleProps {
|
|
1360
|
+
children: default_2.ReactNode;
|
|
1361
|
+
subtitle?: string;
|
|
1362
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
1363
|
+
align?: 'left' | 'center' | 'right';
|
|
1364
|
+
className?: string;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1342
1367
|
declare interface ToastContextValue {
|
|
1343
1368
|
showToast: (message: string, options?: ToastOptions) => void;
|
|
1344
1369
|
}
|