@touchtech/baselayer-ui 7.4.2 → 7.4.3

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.
@@ -6,6 +6,7 @@ declare type MenuProps = {
6
6
  isOpen?: boolean;
7
7
  header?: string;
8
8
  footer?: ReactNode;
9
+ smartLayout?: boolean;
9
10
  };
10
- declare function Menu({ children, containerRef, className, isOpen, header, footer, }: MenuProps): JSX.Element;
11
+ declare function Menu({ children, containerRef, className, isOpen, header, footer, smartLayout, }: MenuProps): JSX.Element;
11
12
  export default Menu;
@@ -9,9 +9,6 @@ declare type MenuContainerProps = {
9
9
  className?: string;
10
10
  placement?: MenuPlacement;
11
11
  };
12
- export declare const PlacementContext: React.Context<{
13
- placement: MenuContainerProps["placement"];
14
- setPlacementOverflows: (overflows: boolean[]) => void;
15
- }>;
12
+ export declare const PlacementContext: React.Context<MenuPlacement>;
16
13
  declare const _default: React.ForwardRefExoticComponent<MenuContainerProps & React.RefAttributes<HTMLDivElement>>;
17
14
  export default _default;