vrfi-design-system 1.2.14 → 1.2.16

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
@@ -304,6 +304,14 @@ export declare interface CardProps {
304
304
  children?: default_2.ReactNode;
305
305
  }
306
306
 
307
+ export declare const CardStats: default_2.FC<CardStatsProps>;
308
+
309
+ declare interface CardStatsProps {
310
+ title?: string;
311
+ overview: StatItem_2[];
312
+ itemsPerRow?: number;
313
+ }
314
+
307
315
  export declare function CardWithIconAndText({ icon, heading, subHeading }: CardWithIconAndTextProps): default_2.JSX.Element;
308
316
 
309
317
  export declare interface CardWithIconAndTextProps {
@@ -503,6 +511,13 @@ export declare interface DashboardCardProps {
503
511
  data: Stats[];
504
512
  }
505
513
 
514
+ export declare const DashboardStats: default_2.FC<DashboardStatsProps>;
515
+
516
+ declare interface DashboardStatsProps extends HTMLAttributes<HTMLDivElement> {
517
+ dashboardData: StatGroup[];
518
+ isLightTheme?: boolean;
519
+ }
520
+
506
521
  export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
507
522
 
508
523
  export { DatePickerAntd }
@@ -1027,6 +1042,20 @@ export declare interface RatingCardProps {
1027
1042
  className?: string;
1028
1043
  }
1029
1044
 
1045
+ declare interface RatingItem {
1046
+ stars: number;
1047
+ percentage: number;
1048
+ }
1049
+
1050
+ export declare const RatingProgressBar: default_2.FC<RatingProgressBarProps>;
1051
+
1052
+ declare interface RatingProgressBarProps {
1053
+ ratings: RatingItem[];
1054
+ totalCandidates: number;
1055
+ className?: string;
1056
+ title?: string;
1057
+ }
1058
+
1030
1059
  export declare const RatingStar: default_2.FC<RatingStarProps>;
1031
1060
 
1032
1061
  export declare interface RatingStarProps {
@@ -1167,6 +1196,23 @@ export { SoundEnum }
1167
1196
 
1168
1197
  export { Space }
1169
1198
 
1199
+ declare interface StatGroup {
1200
+ title: string;
1201
+ stats: StatItem[];
1202
+ }
1203
+
1204
+ declare interface StatItem {
1205
+ key: string;
1206
+ label: string;
1207
+ count: string | number;
1208
+ }
1209
+
1210
+ declare interface StatItem_2 {
1211
+ key: string;
1212
+ label: string;
1213
+ value: string | number;
1214
+ }
1215
+
1170
1216
  export declare interface Stats {
1171
1217
  label: string;
1172
1218
  value: string | number;