@ambuj.bhaskar/react-component-library 0.25.1-alpha → 0.25.3-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
@@ -1091,8 +1091,9 @@ export declare type MapViewProps = {
1091
1091
  navClassName?: string;
1092
1092
  navButtonColor?: Color;
1093
1093
  className?: string;
1094
- focusedIndex?: number;
1095
- onFocusedIndexChange?: (index: number) => void;
1094
+ focusedIndex?: number | null;
1095
+ onFocusedIndexChange?: (index: number | null) => void;
1096
+ onClickAway?: () => void;
1096
1097
  };
1097
1098
 
1098
1099
  export declare const Menu: default_2.FC<MenuProps>;
@@ -1259,6 +1260,14 @@ export declare type SelectProps = {
1259
1260
 
1260
1261
  export declare type ShowAnnotationStatus = "approved" | "rejected" | "pending" | "corrected" | "all";
1261
1262
 
1263
+ export declare const showToast: ({ type, title, body, }: ShowToastType) => void;
1264
+
1265
+ declare type ShowToastType = {
1266
+ type: ToastType;
1267
+ title?: string;
1268
+ body?: string;
1269
+ };
1270
+
1262
1271
  export declare const Sidebar: React.FC<SidebarProps>;
1263
1272
 
1264
1273
  export declare type SidebarConfig = {