@ambuj.bhaskar/react-component-library 0.20.0-alpha → 0.20.2-alpha

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
@@ -946,6 +946,24 @@ export declare interface LoggedUser {
946
946
  userObj: LoggedInUser;
947
947
  }
948
948
 
949
+ declare type MapItem = {
950
+ position: TPositionType;
951
+ element: React.ReactNode;
952
+ };
953
+
954
+ export declare const MapView: React.FC<MapViewProps>;
955
+
956
+ export declare type MapViewProps = {
957
+ items: MapItem[];
958
+ width: string;
959
+ height: string;
960
+ showCardPopup?: boolean;
961
+ showNavigation?: boolean;
962
+ navClassName?: string;
963
+ navButtonColor?: Color;
964
+ className?: string;
965
+ };
966
+
949
967
  export declare const MathAnnotationHelper: {
950
968
  gcd: any;
951
969
  getDistance: (x1: number, y1: number, x2: number, y2: number) => number;
@@ -1164,6 +1182,7 @@ export declare type SidebarConfig = {
1164
1182
  notification?: {
1165
1183
  value: number;
1166
1184
  };
1185
+ hoverTitle?: string;
1167
1186
  }[];
1168
1187
  dynamic: {
1169
1188
  [section: string]: {
@@ -1171,6 +1190,7 @@ export declare type SidebarConfig = {
1171
1190
  icon: string;
1172
1191
  key: string;
1173
1192
  action: () => void;
1193
+ hoverTitle?: string;
1174
1194
  }[];
1175
1195
  };
1176
1196
  };
@@ -1288,6 +1308,11 @@ export declare const ToastProvider: () => JSX_2.Element;
1288
1308
 
1289
1309
  declare type ToastType = "success" | "error" | "info" | "warning";
1290
1310
 
1311
+ declare type TPositionType = {
1312
+ lat: number;
1313
+ lng: number;
1314
+ };
1315
+
1291
1316
  declare function translateCoordinatesWithFixedWidth(coordinates: any, shiftAmount?: number, targetCoordinate?: any): any;
1292
1317
 
1293
1318
  export declare function usePagination(initialPage?: number, initialTotalPages?: number): {