@fewbox/den-web 0.2.0-preview.28 → 0.2.0-preview.29

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewbox/den-web",
3
- "version": "0.2.0-preview.28",
3
+ "version": "0.2.0-preview.29",
4
4
  "main": "index.js",
5
5
  "types": "index-web.d.ts",
6
6
  "repository": "https://github.com/FewBox/fewbox-den.git",
@@ -0,0 +1,11 @@
1
+ import { Property } from 'csstype';
2
+ import { DockCategory, DockAlignment } from '../';
3
+ interface IDockPortalOverlayProps {
4
+ category: DockCategory;
5
+ offset: number;
6
+ zIndex: Property.ZIndex;
7
+ alignment?: DockAlignment;
8
+ renderOverlay: () => React.JSX.Element;
9
+ }
10
+ declare const DockPortalOverlay: ({ category, offset, zIndex, alignment, renderOverlay }: IDockPortalOverlayProps) => React.JSX.Element | null;
11
+ export default DockPortalOverlay;
@@ -29,6 +29,7 @@ type NonAlignmentCategory = Exclude<DockCategory, AlignmentCategory>;
29
29
  interface IDockBaseProps extends IBaseProps {
30
30
  offset?: number;
31
31
  overlayZIndex?: Property.ZIndex;
32
+ isPortal?: boolean;
32
33
  renderOverlay: () => React.JSX.Element;
33
34
  }
34
35
  export type IDockProps = ({
@@ -37,5 +38,6 @@ export type IDockProps = ({
37
38
  } | {
38
39
  category: NonAlignmentCategory;
39
40
  }) & IDockBaseProps;
41
+ export declare const getOverlayStyle: (category: DockCategory, offset: number, zIndex: Property.ZIndex, alignment?: DockAlignment) => React.CSSProperties;
40
42
  declare const Dock: (props: IDockProps) => React.JSX.Element;
41
43
  export default Dock;