@innovaccer/design-system 4.28.0 → 4.30.0

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.
@@ -33,6 +33,7 @@ export interface AvatarSelectionProps extends BaseProps {
33
33
  searchComparator?: (searchValue: string, avatarData: AvatarData) => boolean;
34
34
  children?: React.ReactNode;
35
35
  className?: string;
36
+ moreAvatarsLabel?: string;
36
37
  }
37
38
  export declare const AvatarSelection: {
38
39
  (props: AvatarSelectionProps): React.JSX.Element;
@@ -44,6 +45,7 @@ export declare const AvatarSelection: {
44
45
  size: string;
45
46
  width: number;
46
47
  maxHeight: number;
48
+ moreAvatarsLabel: string;
47
49
  };
48
50
  Input: (props: import("../input/Input").InputProps) => React.JSX.Element;
49
51
  List: {
@@ -9,6 +9,7 @@ interface CountAvatarProp {
9
9
  backgroundColor?: string;
10
10
  boxShadow?: string;
11
11
  };
12
+ moreAvatarsLabel?: string;
12
13
  }
13
14
  export declare const AvatarSelectionCount: (props: CountAvatarProp) => React.JSX.Element;
14
15
  export default AvatarSelectionCount;
@@ -11,5 +11,6 @@ export declare const getSelectAll: (tableData: Data, selectDisabledRow?: boolean
11
11
  export declare const hasSchema: (schema: Schema) => boolean;
12
12
  export declare const getSchema: (schema: GridProps['schema'], loading: GridProps['loading'], loaderSchema: GridProps['loaderSchema']) => GridProps['schema'];
13
13
  export declare const getPluralSuffix: (count: number) => "" | "s";
14
- export declare const getSortButtonAriaLabel: (displayName: string, sorted: SortType | null) => string;
14
+ export declare const REORDER_COLUMN_HINT = "Press Shift plus Left or Right arrow key to reorder column.";
15
+ export declare const getSortButtonAriaLabel: (displayName: string, sorted: SortType | null, reorderable?: boolean | undefined) => string;
15
16
  export declare const isScrollAtTop: (enableRowVirtualization?: boolean | undefined, ref?: HTMLDivElement | undefined) => boolean;
@@ -4,6 +4,7 @@ declare class OverlayManager {
4
4
  add(overlay: HTMLDivElement | null): number | undefined;
5
5
  remove(overlay: HTMLDivElement | null): void;
6
6
  isTopOverlay(overlay: HTMLDivElement | null): boolean | undefined;
7
+ getOverlaysAfter(overlay: HTMLDivElement | null): HTMLDivElement[];
7
8
  }
8
9
  declare const instance: OverlayManager;
9
10
  export default instance;
@@ -8,6 +8,10 @@ export declare const getUpdatedZIndex: (ele: elementData) => number | undefined;
8
8
  export declare const closeOnEscapeKeypress: (event: KeyboardEvent, isTopOverlay: boolean | undefined, onClose: (event: Event) => void) => void;
9
9
  export declare const getFocusableElements: (container: HTMLElement) => HTMLElement[];
10
10
  export declare const getAllFocusableElements: (container: HTMLElement, roleHint?: string | undefined) => HTMLElement[];
11
- export declare const handleFocusTrapKeyDown: (event: KeyboardEvent, container: HTMLElement, staticFocusTarget?: HTMLElement | null | undefined) => boolean;
11
+ export declare const getNestedOverlayElements: (ownOverlayEl: HTMLElement | null, container: HTMLElement) => HTMLElement[];
12
+ export declare const handleFocusTrapKeyDown: (event: KeyboardEvent, container: HTMLElement, staticFocusTarget?: HTMLElement | null | undefined, nestedOverlays?: HTMLElement[]) => boolean;
13
+ export declare const hideBackgroundFromScreenReaders: (keepVisible: Element[]) => (() => void);
14
+ export declare const activateBackgroundHiding: (dialogRoot: HTMLElement, portalRoot: Element) => void;
15
+ export declare const deactivateBackgroundHiding: (dialogRoot: HTMLElement) => void;
12
16
  export declare const restoreFocusToElementIfConnected: (element: HTMLElement | null | undefined, closingOverlay?: HTMLElement | null | undefined) => void;
13
17
  export {};