@targetprocess/popover 12.23.1-alpha.0 → 12.23.1-alpha.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.
- package/package.json +2 -2
- package/dist/BodyDomNode.d.ts +0 -36
- package/dist/Popover.d.ts +0 -138
- package/dist/PopoverBody.d.ts +0 -11
- package/dist/PopoverContainer.d.ts +0 -57
- package/dist/PopoverPosition.d.ts +0 -2
- package/dist/PositioningTarget.d.ts +0 -20
- package/dist/StatlessPopover.d.ts +0 -32
- package/dist/__tests__/BodyDomNode.tests.d.ts +0 -1
- package/dist/__tests__/Popover.tests.d.ts +0 -1
- package/dist/__tests__/PositioningTarget.tests.d.ts +0 -1
- package/dist/index.d.ts +0 -9
- package/dist/popover.es.js +0 -781
- package/dist/popover.js +0 -789
- package/dist/types.d.ts +0 -30
package/dist/types.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/*********************************************************************
|
|
2
|
-
* © Copyright IBM Corp. 2024
|
|
3
|
-
*********************************************************************/
|
|
4
|
-
import { CSSProperties } from 'react';
|
|
5
|
-
export declare type PositionParams = {
|
|
6
|
-
left: number;
|
|
7
|
-
top: number;
|
|
8
|
-
right?: number;
|
|
9
|
-
bottom?: number;
|
|
10
|
-
};
|
|
11
|
-
export declare type DimensionParams = {
|
|
12
|
-
height: number;
|
|
13
|
-
width: number;
|
|
14
|
-
};
|
|
15
|
-
export declare type GetPopoverPositionCallback = (hostRect: DimensionParams, popoverRect: DimensionParams, containerScroll: PositionParams, containerElement?: HTMLElement) => CSSProperties;
|
|
16
|
-
export declare type DefaultPopoverPositions = {
|
|
17
|
-
bottomLeft: GetPopoverPositionCallback;
|
|
18
|
-
bottom: GetPopoverPositionCallback;
|
|
19
|
-
bottomRight: GetPopoverPositionCallback;
|
|
20
|
-
topLeft: GetPopoverPositionCallback;
|
|
21
|
-
top: GetPopoverPositionCallback;
|
|
22
|
-
topRight: GetPopoverPositionCallback;
|
|
23
|
-
leftTop: GetPopoverPositionCallback;
|
|
24
|
-
left: GetPopoverPositionCallback;
|
|
25
|
-
leftBottom: GetPopoverPositionCallback;
|
|
26
|
-
rightTop: GetPopoverPositionCallback;
|
|
27
|
-
right: GetPopoverPositionCallback;
|
|
28
|
-
rightBottom: GetPopoverPositionCallback;
|
|
29
|
-
};
|
|
30
|
-
export declare type GetPopoverPositionType = GetPopoverPositionCallback | keyof DefaultPopoverPositions;
|