vrfi-design-system 1.2.15 → 1.2.17
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 +33 -0
- package/dist/main.es.js +28068 -20697
- package/dist/main.umd.js +181 -157
- package/dist/style.css +1 -1
- package/package.json +4 -1
package/dist/index.d.ts
CHANGED
|
@@ -304,6 +304,15 @@ 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
|
+
info?: string;
|
|
314
|
+
}
|
|
315
|
+
|
|
307
316
|
export declare function CardWithIconAndText({ icon, heading, subHeading }: CardWithIconAndTextProps): default_2.JSX.Element;
|
|
308
317
|
|
|
309
318
|
export declare interface CardWithIconAndTextProps {
|
|
@@ -385,6 +394,8 @@ export { Col }
|
|
|
385
394
|
|
|
386
395
|
export { Colors }
|
|
387
396
|
|
|
397
|
+
declare type Colors_2 = Record<string, string> | string[];
|
|
398
|
+
|
|
388
399
|
export { ColProps }
|
|
389
400
|
|
|
390
401
|
export { ColumnGroupType }
|
|
@@ -507,6 +518,7 @@ export declare const DashboardStats: default_2.FC<DashboardStatsProps>;
|
|
|
507
518
|
|
|
508
519
|
declare interface DashboardStatsProps extends HTMLAttributes<HTMLDivElement> {
|
|
509
520
|
dashboardData: StatGroup[];
|
|
521
|
+
isLightTheme?: boolean;
|
|
510
522
|
}
|
|
511
523
|
|
|
512
524
|
export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
|
|
@@ -688,6 +700,13 @@ declare interface InputWithCountryFlagProps extends Omit<CustomInputProps, "cust
|
|
|
688
700
|
onlyCountries?: AllowedCountries_2[];
|
|
689
701
|
}
|
|
690
702
|
|
|
703
|
+
declare type Item = {
|
|
704
|
+
key: string;
|
|
705
|
+
label: string;
|
|
706
|
+
count: number;
|
|
707
|
+
percentage: number;
|
|
708
|
+
};
|
|
709
|
+
|
|
691
710
|
export declare const JobCard: FC<JobCardProps>;
|
|
692
711
|
|
|
693
712
|
declare interface JobCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -905,6 +924,14 @@ declare interface PathIconProps {
|
|
|
905
924
|
className: Icons_2;
|
|
906
925
|
}
|
|
907
926
|
|
|
927
|
+
export declare function PieChart({ title, data, colors, height, info, }: {
|
|
928
|
+
title?: string;
|
|
929
|
+
data: Item[];
|
|
930
|
+
colors?: Colors_2;
|
|
931
|
+
height?: number;
|
|
932
|
+
info?: string;
|
|
933
|
+
}): default_2.JSX.Element;
|
|
934
|
+
|
|
908
935
|
export { Placement }
|
|
909
936
|
|
|
910
937
|
export { Popover }
|
|
@@ -1198,6 +1225,12 @@ declare interface StatItem {
|
|
|
1198
1225
|
count: string | number;
|
|
1199
1226
|
}
|
|
1200
1227
|
|
|
1228
|
+
declare interface StatItem_2 {
|
|
1229
|
+
key: string;
|
|
1230
|
+
label: string;
|
|
1231
|
+
value: string | number;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1201
1234
|
export declare interface Stats {
|
|
1202
1235
|
label: string;
|
|
1203
1236
|
value: string | number;
|