@clarlabs/ui 0.1.8 → 0.1.10

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 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,10 @@ 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 availableFlags: string[];
90
+
91
+ export declare const availableIcons: string[];
92
+
76
93
  export declare function Avatar({ src, alt, initials, size, status, className }: AvatarProps): default_2.JSX.Element;
77
94
 
78
95
  export declare interface AvatarProps {
@@ -458,6 +475,18 @@ export declare interface FilePickerProps {
458
475
 
459
476
  export declare type FileStatus = 'idle' | 'processing' | 'uploaded' | 'failed';
460
477
 
478
+ export declare function FlagIcon({ flag, width, height, className, title, style, rounded }: FlagIconProps): default_2.JSX.Element | null;
479
+
480
+ export declare interface FlagIconProps {
481
+ flag: string;
482
+ width?: number;
483
+ height?: number;
484
+ className?: string;
485
+ title?: string;
486
+ style?: default_2.CSSProperties;
487
+ rounded?: boolean;
488
+ }
489
+
461
490
  export declare function Footer({ variant, brandName, brandLogo, brandDescription, sections, socialLinks, copyright, showYear, bottomLinks, children, className, ...props }: FooterProps): default_2.JSX.Element;
462
491
 
463
492
  export declare interface FooterLink {
@@ -550,6 +579,18 @@ export declare type GaugeSize = 'sm' | 'md' | 'lg' | 'xl';
550
579
 
551
580
  export declare type GaugeVariant = 'default' | 'success' | 'warning' | 'error' | 'info';
552
581
 
582
+ export declare const getAllFlags: () => {
583
+ code: string;
584
+ name: string;
585
+ translation: string;
586
+ }[];
587
+
588
+ export declare const getFlagInfo: (flagCode: string) => {
589
+ code: string;
590
+ name: string;
591
+ translation: string;
592
+ } | null;
593
+
553
594
  export declare function Grid({ columns, columnsSm, columnsMd, columnsLg, columnsXl, gap, rowGap, columnGap, alignItems, justifyItems, justifyContent, autoFlow, className, children, ...props }: GridProps): default_2.JSX.Element;
554
595
 
555
596
  export declare namespace Grid {