@ambuj.bhaskar/react-component-library 0.20.7-alpha → 0.20.8-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
@@ -852,6 +852,32 @@ declare type EventType = {
852
852
  icon?: string;
853
853
  };
854
854
 
855
+ export declare const FloorMapView: React.FC<FloorMapViewProps>;
856
+
857
+ export declare type FloorMapViewProps = {
858
+ mapConfig: {
859
+ defaultZoom: number;
860
+ defaultCenter: TCoordinateType;
861
+ imageWidth: number;
862
+ imageHeight: number;
863
+ imageUrl: string;
864
+ };
865
+ items: MapItem[];
866
+ width: string;
867
+ height: string;
868
+ showCardPopup?: boolean;
869
+ showCountPopup?: boolean;
870
+ showNavigation?: boolean;
871
+ fitBoundsToItems?: boolean;
872
+ fitImageBounds?: boolean;
873
+ onCountPopupClick?: () => void;
874
+ navClassName?: string;
875
+ navButtonColor?: Color;
876
+ className?: string;
877
+ focusedIndex?: number;
878
+ onFocusedIndexChange?: (index: number) => void;
879
+ };
880
+
855
881
  export declare const Heatmap: React.FC<HeatmapProps>;
856
882
 
857
883
  export declare type HeatmapData = {
@@ -949,6 +975,13 @@ export declare interface LoggedUser {
949
975
  }
950
976
 
951
977
  declare type MapItem = {
978
+ position: TCoordinateType;
979
+ element: React.ReactNode;
980
+ icon?: string;
981
+ count?: number;
982
+ };
983
+
984
+ declare type MapItem_2 = {
952
985
  position: TPositionType;
953
986
  element: React.ReactNode;
954
987
  icon?: string;
@@ -966,12 +999,13 @@ export declare type MapViewProps = {
966
999
  attribution: string;
967
1000
  };
968
1001
  };
969
- items: MapItem[];
1002
+ items: MapItem_2[];
970
1003
  width: string;
971
1004
  height: string;
972
1005
  showCardPopup?: boolean;
973
1006
  showCountPopup?: boolean;
974
1007
  showNavigation?: boolean;
1008
+ fitBoundsToItems?: boolean;
975
1009
  onCountPopupClick?: () => void;
976
1010
  navClassName?: string;
977
1011
  navButtonColor?: Color;
@@ -1098,6 +1132,7 @@ export declare type MultiselectProps = {
1098
1132
  width?: CSSstring;
1099
1133
  height?: string;
1100
1134
  className?: string;
1135
+ allowClear?: boolean;
1101
1136
  triggerBackgroundColor?: Color;
1102
1137
  triggerHighlightColor?: Color;
1103
1138
  menuBackgroundColor?: Color;
@@ -1283,6 +1318,11 @@ export declare type TableProps = TableProps_2 & {
1283
1318
  footerBackgroundColor?: Color;
1284
1319
  };
1285
1320
 
1321
+ declare type TCoordinateType = {
1322
+ x: number;
1323
+ y: number;
1324
+ };
1325
+
1286
1326
  declare type TextSize = "xs" | "s" | "m" | "l" | "xl";
1287
1327
 
1288
1328
  export declare type ThemeObject = {