@aws/mynah-ui 4.14.1 → 4.15.1

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.
@@ -14,7 +14,10 @@ export interface ButtonProps {
14
14
  tooltipVerticalDirection?: OverlayVerticalDirection;
15
15
  tooltipHorizontalDirection?: OverlayHorizontalDirection;
16
16
  children?: Array<HTMLElement | ExtendedHTMLElement | string>;
17
+ disabled?: boolean;
17
18
  primary?: boolean;
19
+ border?: boolean;
20
+ status?: 'primary' | 'info' | 'success' | 'warning' | 'error';
18
21
  additionalEvents?: Record<string, (event?: any) => any>;
19
22
  onClick: (e: Event) => void;
20
23
  }
@@ -22,10 +25,12 @@ export declare abstract class ButtonAbstract {
22
25
  render: ExtendedHTMLElement;
23
26
  updateLabel: (label: HTMLElement | ExtendedHTMLElement | string) => void;
24
27
  setEnabled: (enabled: boolean) => void;
28
+ hideTooltip: () => void;
25
29
  }
26
30
  export declare class Button extends ButtonAbstract {
27
31
  render: ExtendedHTMLElement;
28
32
  constructor(props: ButtonProps);
29
33
  updateLabel: (label: HTMLElement | ExtendedHTMLElement | string) => void;
30
34
  setEnabled: (enabled: boolean) => void;
35
+ hideTooltip: () => void;
31
36
  }
@@ -3,7 +3,7 @@ export interface SendButtonProps {
3
3
  tabId: string;
4
4
  onClick: () => void;
5
5
  }
6
- export declare class SendButton {
6
+ export declare class PromptInputSendButton {
7
7
  render: ExtendedHTMLElement;
8
8
  private readonly props;
9
9
  constructor(props: SendButtonProps);