@atlaskit/popper 5.2.9 → 5.2.10
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/CHANGELOG.md +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +5 -2
- package/report.api.md +32 -30
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popper",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.10",
|
|
4
4
|
"description": "Wrapper for react-popper with common config and some helpers",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -15,13 +15,15 @@
|
|
|
15
15
|
"typesVersions": {
|
|
16
16
|
">=4.0 <4.5": {
|
|
17
17
|
"*": [
|
|
18
|
-
"dist/types-ts4.0/*"
|
|
18
|
+
"dist/types-ts4.0/*",
|
|
19
|
+
"dist/types-ts4.0/index.d.ts"
|
|
19
20
|
]
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
23
|
"sideEffects": false,
|
|
23
24
|
"atlaskit:src": "src/index.tsx",
|
|
24
25
|
"atlassian": {
|
|
26
|
+
"disableProductCI": true,
|
|
25
27
|
"team": "Design System Team",
|
|
26
28
|
"releaseModel": "scheduled",
|
|
27
29
|
"website": {
|
|
@@ -72,6 +74,7 @@
|
|
|
72
74
|
"design-system": "v1",
|
|
73
75
|
"ui-components": "lite-mode",
|
|
74
76
|
"analytics": "analytics-next",
|
|
77
|
+
"design-tokens": "spacing",
|
|
75
78
|
"theming": "tokens",
|
|
76
79
|
"deprecation": "no-deprecated-imports",
|
|
77
80
|
"styling": [
|
package/report.api.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/popper"
|
|
1
|
+
## API Report File for "@atlaskit/popper".
|
|
2
2
|
|
|
3
|
-
> Do not edit this file.
|
|
3
|
+
> Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
4
6
|
|
|
5
7
|
```ts
|
|
6
8
|
import { Manager } from 'react-popper';
|
|
@@ -17,34 +19,7 @@ import { ReferenceProps } from 'react-popper';
|
|
|
17
19
|
import { StrictModifier } from 'react-popper';
|
|
18
20
|
import { VirtualElement } from '@popperjs/core';
|
|
19
21
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export { ManagerProps };
|
|
23
|
-
|
|
24
|
-
export { Modifier };
|
|
25
|
-
|
|
26
|
-
declare type Offset = [number | null | undefined, number | null | undefined];
|
|
27
|
-
|
|
28
|
-
export { Placement };
|
|
29
|
-
|
|
30
|
-
export { placements };
|
|
31
|
-
|
|
32
|
-
export declare function Popper<CustomModifiers>({
|
|
33
|
-
children,
|
|
34
|
-
offset,
|
|
35
|
-
placement,
|
|
36
|
-
referenceElement,
|
|
37
|
-
modifiers,
|
|
38
|
-
strategy,
|
|
39
|
-
}: Props<CustomModifiers>): JSX.Element;
|
|
40
|
-
|
|
41
|
-
export { PopperArrowProps };
|
|
42
|
-
|
|
43
|
-
export { PopperChildrenProps };
|
|
44
|
-
|
|
45
|
-
export { PopperProps };
|
|
46
|
-
|
|
47
|
-
declare interface Props<Modifiers> {
|
|
22
|
+
declare interface CustomPopperProps<Modifiers> {
|
|
48
23
|
/**
|
|
49
24
|
* Returns the element to be positioned.
|
|
50
25
|
*/
|
|
@@ -73,6 +48,33 @@ declare interface Props<Modifiers> {
|
|
|
73
48
|
strategy?: PopperProps<Modifiers>['strategy'];
|
|
74
49
|
}
|
|
75
50
|
|
|
51
|
+
export { Manager };
|
|
52
|
+
|
|
53
|
+
export { ManagerProps };
|
|
54
|
+
|
|
55
|
+
export { Modifier };
|
|
56
|
+
|
|
57
|
+
declare type Offset = [number | null | undefined, number | null | undefined];
|
|
58
|
+
|
|
59
|
+
export { Placement };
|
|
60
|
+
|
|
61
|
+
export { placements };
|
|
62
|
+
|
|
63
|
+
export declare function Popper<CustomModifiers>({
|
|
64
|
+
children,
|
|
65
|
+
offset,
|
|
66
|
+
placement,
|
|
67
|
+
referenceElement,
|
|
68
|
+
modifiers,
|
|
69
|
+
strategy,
|
|
70
|
+
}: CustomPopperProps<CustomModifiers>): JSX.Element;
|
|
71
|
+
|
|
72
|
+
export { PopperArrowProps };
|
|
73
|
+
|
|
74
|
+
export { PopperChildrenProps };
|
|
75
|
+
|
|
76
|
+
export { PopperProps };
|
|
77
|
+
|
|
76
78
|
export { Reference };
|
|
77
79
|
|
|
78
80
|
export { ReferenceProps };
|