@aws/mynah-ui 4.15.3 → 4.15.4

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.
@@ -13,6 +13,7 @@ export declare class PromptTextInput {
13
13
  private readonly props;
14
14
  private readonly promptTextInputSizer;
15
15
  private readonly promptTextInput;
16
+ private promptInputOverlay;
16
17
  private keydownSupport;
17
18
  constructor(props: PromptTextInputProps);
18
19
  private readonly updatePromptTextInputSizer;
@@ -22,6 +23,7 @@ export declare class PromptTextInput {
22
23
  wordStartIndex: number;
23
24
  word: string;
24
25
  };
26
+ readonly getContextElementAtTextIndex: (textIndex: number) => HTMLSpanElement | null;
25
27
  readonly clear: () => void;
26
28
  readonly focus: (cursorIndex?: number) => void;
27
29
  readonly getTextInputValue: () => string;
@@ -6,7 +6,9 @@ import { ExtendedHTMLElement } from '../helper/dom';
6
6
  import '../styles/components/_nav-tabs.scss';
7
7
  export interface TabsProps {
8
8
  onChange?: (selectedTabId: string) => void;
9
+ noMoreTabsTooltip?: string;
9
10
  onBeforeTabRemove?: (tabId: string) => boolean;
11
+ maxTabsTooltipDuration?: number;
10
12
  }
11
13
  export declare class Tabs {
12
14
  render: ExtendedHTMLElement;
@@ -6,6 +6,7 @@ import { DomBuilderObject, ExtendedHTMLElement } from '../helper/dom';
6
6
  import { NotificationType } from '../static';
7
7
  import '../styles/components/_notification.scss';
8
8
  type NotificationContentType = string | ExtendedHTMLElement | HTMLElement | DomBuilderObject;
9
+ export declare const DEFAULT_TIMEOUT = 5000;
9
10
  export interface NotificationProps {
10
11
  duration?: number;
11
12
  type?: NotificationType;