@touchtech/baselayer-ui 7.4.0 → 7.4.2

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,5 +1,6 @@
1
1
  import { ReactElement, ReactNode, RefObject } from "react";
2
2
  declare type ConfirmationModalProps = {
3
+ className?: string;
3
4
  buttonsLeft?: ReactElement[];
4
5
  buttonsRight?: ReactElement[];
5
6
  children?: ReactNode;
@@ -12,7 +13,7 @@ declare type ConfirmationModalProps = {
12
13
  onClose?: () => void;
13
14
  baseZIndex?: number;
14
15
  };
15
- declare function ConfirmationModal({ children, containerRef, header, isOpen, buttonsLeft, buttonsRight, onClose, noPadding, noOverlay, noShadow, baseZIndex, }: ConfirmationModalProps): JSX.Element;
16
+ declare function ConfirmationModal({ className, children, containerRef, header, isOpen, buttonsLeft, buttonsRight, onClose, noPadding, noOverlay, noShadow, baseZIndex, }: ConfirmationModalProps): JSX.Element;
16
17
  declare namespace ConfirmationModal {
17
18
  var displayName: string;
18
19
  }
@@ -9,6 +9,9 @@ declare type MenuContainerProps = {
9
9
  className?: string;
10
10
  placement?: MenuPlacement;
11
11
  };
12
- export declare const PlacementContext: React.Context<MenuPlacement>;
12
+ export declare const PlacementContext: React.Context<{
13
+ placement: MenuContainerProps["placement"];
14
+ setPlacementOverflows: (overflows: boolean[]) => void;
15
+ }>;
13
16
  declare const _default: React.ForwardRefExoticComponent<MenuContainerProps & React.RefAttributes<HTMLDivElement>>;
14
17
  export default _default;