@ambuj.bhaskar/react-component-library 0.19.6-alpha → 0.20.1-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
@@ -414,7 +414,7 @@ export declare interface AwiMessageProps {
414
414
 
415
415
  export declare const AwiMessageScreen: React.FC<AwiMessageProps>;
416
416
 
417
- export declare const AwiModal: React.FC<AwiModalProps>;
417
+ export declare const AwiModal: default_2.FC<AwiModalProps>;
418
418
 
419
419
  export declare const AwiModalBody: default_2.FC<AwiModalBodyProps>;
420
420
 
@@ -455,6 +455,7 @@ export declare interface AwiModalProps {
455
455
  className?: string;
456
456
  type?: string;
457
457
  popupPosition?: string;
458
+ draggable?: boolean;
458
459
  }
459
460
 
460
461
  export declare const AwiModalRow: default_2.FC<AwiModalRowProps>;
@@ -945,6 +946,24 @@ export declare interface LoggedUser {
945
946
  userObj: LoggedInUser;
946
947
  }
947
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
+
948
967
  export declare const MathAnnotationHelper: {
949
968
  gcd: any;
950
969
  getDistance: (x1: number, y1: number, x2: number, y2: number) => number;
@@ -1287,6 +1306,11 @@ export declare const ToastProvider: () => JSX_2.Element;
1287
1306
 
1288
1307
  declare type ToastType = "success" | "error" | "info" | "warning";
1289
1308
 
1309
+ declare type TPositionType = {
1310
+ lat: number;
1311
+ lng: number;
1312
+ };
1313
+
1290
1314
  declare function translateCoordinatesWithFixedWidth(coordinates: any, shiftAmount?: number, targetCoordinate?: any): any;
1291
1315
 
1292
1316
  export declare function usePagination(initialPage?: number, initialTotalPages?: number): {