@ambuj.bhaskar/react-component-library 0.20.6-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
@@ -323,6 +323,7 @@ export declare type AwiEmptyStateProps = {
323
323
  textClass?: string;
324
324
  noPadding?: boolean;
325
325
  title?: string;
326
+ stateTitle?: string;
326
327
  };
327
328
 
328
329
  export declare const AwiGenerateHeader: default_2.FC<AwiGenerateHeaderProps>;
@@ -410,6 +411,7 @@ export declare interface AwiMessageProps {
410
411
  isLoading?: boolean;
411
412
  textClass?: string;
412
413
  noPadding?: boolean;
414
+ iconName?: string;
413
415
  }
414
416
 
415
417
  export declare const AwiMessageScreen: React.FC<AwiMessageProps>;
@@ -850,6 +852,32 @@ declare type EventType = {
850
852
  icon?: string;
851
853
  };
852
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
+
853
881
  export declare const Heatmap: React.FC<HeatmapProps>;
854
882
 
855
883
  export declare type HeatmapData = {
@@ -896,7 +924,7 @@ declare type IconPositionType = "before" | "after";
896
924
 
897
925
  export declare type IconProps = SVGprops & {
898
926
  name: IconName;
899
- size?: "xs" | "s" | "m" | "l" | "xl" | "auto";
927
+ size?: "xs" | "s" | "m" | "l" | "xl" | "auto" | "full";
900
928
  className?: string;
901
929
  color?: Color;
902
930
  background?: Color | "none";
@@ -947,6 +975,13 @@ export declare interface LoggedUser {
947
975
  }
948
976
 
949
977
  declare type MapItem = {
978
+ position: TCoordinateType;
979
+ element: React.ReactNode;
980
+ icon?: string;
981
+ count?: number;
982
+ };
983
+
984
+ declare type MapItem_2 = {
950
985
  position: TPositionType;
951
986
  element: React.ReactNode;
952
987
  icon?: string;
@@ -964,12 +999,13 @@ export declare type MapViewProps = {
964
999
  attribution: string;
965
1000
  };
966
1001
  };
967
- items: MapItem[];
1002
+ items: MapItem_2[];
968
1003
  width: string;
969
1004
  height: string;
970
1005
  showCardPopup?: boolean;
971
1006
  showCountPopup?: boolean;
972
1007
  showNavigation?: boolean;
1008
+ fitBoundsToItems?: boolean;
973
1009
  onCountPopupClick?: () => void;
974
1010
  navClassName?: string;
975
1011
  navButtonColor?: Color;
@@ -1096,6 +1132,7 @@ export declare type MultiselectProps = {
1096
1132
  width?: CSSstring;
1097
1133
  height?: string;
1098
1134
  className?: string;
1135
+ allowClear?: boolean;
1099
1136
  triggerBackgroundColor?: Color;
1100
1137
  triggerHighlightColor?: Color;
1101
1138
  menuBackgroundColor?: Color;
@@ -1281,6 +1318,11 @@ export declare type TableProps = TableProps_2 & {
1281
1318
  footerBackgroundColor?: Color;
1282
1319
  };
1283
1320
 
1321
+ declare type TCoordinateType = {
1322
+ x: number;
1323
+ y: number;
1324
+ };
1325
+
1284
1326
  declare type TextSize = "xs" | "s" | "m" | "l" | "xl";
1285
1327
 
1286
1328
  export declare type ThemeObject = {