@ws-ui/shared 1.8.4-rc3 → 1.8.4-rc5

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 @@ type TooltipProps = {
6
6
  side?: 'top' | 'bottom' | 'left' | 'right';
7
7
  sideOffset?: number;
8
8
  alignOffset?: number;
9
+ portalled?: boolean;
9
10
  };
10
11
  export declare function FloatingTooltip(props: PropsWithChildren<TooltipProps>): import("react/jsx-runtime").JSX.Element;
11
12
  export {};
@@ -14,6 +14,7 @@ interface IModalProps extends IModal {
14
14
  hasOverlay?: boolean;
15
15
  onClose: (params: ICloseModalParams) => void;
16
16
  onEdit: (params: IEditModalParams) => void;
17
+ container?: Element;
17
18
  }
18
19
  export declare const Modal: FC<IModalProps>;
19
20
  export {};
@@ -1,2 +1,6 @@
1
- import { FC } from 'react';
2
- export declare const Portal: FC;
1
+ import { FC, ReactNode } from 'react';
2
+ export interface PortalProps {
3
+ children: ReactNode;
4
+ container?: Element;
5
+ }
6
+ export declare const Portal: FC<PortalProps>;
@@ -5,6 +5,7 @@ interface ITooltip {
5
5
  placement?: Placement;
6
6
  className?: string;
7
7
  isDisabled?: boolean;
8
+ container?: Element;
8
9
  }
9
10
  export declare const Tooltip: React.FC<ITooltip>;
10
11
  export {};