@ambuj.bhaskar/react-component-library 0.30.2 → 0.30.4

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
@@ -974,8 +974,10 @@ export declare type FloorMapViewProps = {
974
974
  origin?: Origin;
975
975
  };
976
976
 
977
- declare type FormConfigBranch = FormConfigLevel & {
978
- [K in string as K extends "label" | "description" ? never : K]: FormConfigNode;
977
+ declare type FormConfigBranch = {
978
+ label?: string;
979
+ description?: string;
980
+ [key: string]: FormConfigNode | string | undefined;
979
981
  };
980
982
 
981
983
  declare type FormConfigLeaf = FormConfigLevel & {
@@ -987,6 +989,7 @@ declare type FormConfigLeaf = FormConfigLevel & {
987
989
  defaultValue?: any;
988
990
  min?: number;
989
991
  max?: number;
992
+ step?: number;
990
993
  values?: any[];
991
994
  options?: {
992
995
  label: string;
@@ -1028,6 +1031,9 @@ export declare type FormGroupProps = {
1028
1031
  };
1029
1032
  defaultValues?: Record<string, any>;
1030
1033
  className?: string;
1034
+ edit?: boolean;
1035
+ onAddClick?: (route: string) => void;
1036
+ onDeleteClick?: (route: string) => void;
1031
1037
  };
1032
1038
 
1033
1039
  export declare const Heatmap: React.FC<HeatmapProps>;