@stenajs-webui/panels 21.8.3 → 21.8.5

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.
@@ -1,12 +1,16 @@
1
1
  import * as React from "react";
2
2
  import { ReactNode, RefObject } from "react";
3
3
  import { ActionMenuProps, FlatButton, PrimaryButton, PrimaryButtonProps, SecondaryButton } from "@stenajs-webui/elements";
4
- import { PopoverProps } from "@stenajs-webui/tooltip";
4
+ import { ControlledPopoverProps, PopoverProps } from "@stenajs-webui/tooltip";
5
5
  export interface ActionMenuButtonProps extends Omit<PrimaryButtonProps, "variant" | "loading" | "loadingLabel" | "success" | "successLabel"> {
6
6
  /** The content of the Action Menu. */
7
7
  renderItems: (close: () => void) => ReactNode;
8
8
  /** The placement of the Action Menu. */
9
9
  placement?: PopoverProps["placement"];
10
+ /** Z-index of the Action Menu */
11
+ zIndex?: number;
12
+ /** Portal target, HTML element. If not set, portal is not used. */
13
+ appendTo?: ControlledPopoverProps["appendTo"];
10
14
  menuWidth?: ActionMenuProps["width"];
11
15
  menuTop?: ActionMenuProps["top"];
12
16
  buttonComponent: typeof PrimaryButton | typeof SecondaryButton | typeof FlatButton;
@@ -6,4 +6,4 @@ export interface NavBarNotificationButtonProps extends Omit<FlatButtonProps, "le
6
6
  unread: boolean;
7
7
  icon?: IconDefinition;
8
8
  }
9
- export declare const NavBarNotificationButton: React.FC<NavBarNotificationButtonProps>;
9
+ export declare const NavBarNotificationButton: React.ForwardRefExoticComponent<NavBarNotificationButtonProps & React.RefAttributes<HTMLButtonElement>>;