@ambuj.bhaskar/react-component-library 0.20.0-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/assets/index.css +1 -1
- package/dist/index.cjs +181 -178
- package/dist/index.d.ts +23 -0
- package/dist/index.js +36175 -29464
- package/dist/index.umd.js +182 -179
- package/package.json +1 -1
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;
|
|
@@ -1288,6 +1306,11 @@ export declare const ToastProvider: () => JSX_2.Element;
|
|
|
1288
1306
|
|
|
1289
1307
|
declare type ToastType = "success" | "error" | "info" | "warning";
|
|
1290
1308
|
|
|
1309
|
+
declare type TPositionType = {
|
|
1310
|
+
lat: number;
|
|
1311
|
+
lng: number;
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1291
1314
|
declare function translateCoordinatesWithFixedWidth(coordinates: any, shiftAmount?: number, targetCoordinate?: any): any;
|
|
1292
1315
|
|
|
1293
1316
|
export declare function usePagination(initialPage?: number, initialTotalPages?: number): {
|