beesoft-components 0.4.3 → 0.4.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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beesoft-components",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "author": {
package/types/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import { ForwardRefExoticComponent } from 'react';
3
3
  import { JSX as JSX_2 } from 'react/jsx-runtime';
4
4
  import { default as React_2 } from 'react';
5
5
  import { ReactNode } from 'react';
6
+ import { ReactPortal } from 'react';
6
7
  import { RefAttributes } from 'react';
7
8
 
8
9
  export declare function applyBeeSoftTheme(theme: Record<string, unknown>): void;
@@ -325,11 +326,12 @@ declare interface MarkupEvents {
325
326
  markupCreated?: (element: Element) => void;
326
327
  }
327
328
 
328
- export declare const MobileOverlayPanel: ({ visible, target, unmountWhenHidden, transitionDuration, showTransitionOptions, hideTransitionOptions, approveText, shown, hidden, isClickedWithin, children, }: MobileOverlayPanelProps) => JSX_2.Element;
329
+ export declare const MobileOverlayPanel: ({ visible, target, appendTo, unmountWhenHidden, transitionDuration, showTransitionOptions, hideTransitionOptions, approveText, shown, hidden, isClickedWithin, children, }: MobileOverlayPanelProps) => ReactPortal;
329
330
 
330
331
  declare interface MobileOverlayPanelProps {
331
332
  visible: boolean;
332
333
  target?: React_2.MouseEvent<Element, MouseEvent> | HTMLElement | Element | null;
334
+ appendTo?: HTMLElement;
333
335
  unmountWhenHidden?: boolean;
334
336
  transitionDuration?: number;
335
337
  showTransitionOptions?: string;