@atlaskit/popper 7.0.2 → 7.1.1
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 +16 -0
- package/Popper/package.json +1 -1
- package/dist/cjs/popper.js +1 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +14 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/popper
|
|
2
2
|
|
|
3
|
+
## 7.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`31c57f650ba07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31c57f650ba07) -
|
|
8
|
+
Improving tests for server side rendering and hydration
|
|
9
|
+
|
|
10
|
+
## 7.1.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [#172887](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/172887)
|
|
15
|
+
[`b706bb8733796`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b706bb8733796) -
|
|
16
|
+
Exported CustomPopperProps for the choreographer version of Popper so that it can use the correct
|
|
17
|
+
typing in parity with the atlaskit version of Popper
|
|
18
|
+
|
|
3
19
|
## 7.0.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/Popper/package.json
CHANGED
package/dist/cjs/popper.js
CHANGED
|
@@ -18,8 +18,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
18
18
|
var _reactPopper = require("react-popper");
|
|
19
19
|
var _maxSize = require("./max-size");
|
|
20
20
|
var _core = require("@popperjs/core");
|
|
21
|
-
function
|
|
22
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
23
22
|
// Export types from PopperJS / React Popper
|
|
24
23
|
|
|
25
24
|
var viewportPadding = 5;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Popper, placements } from './popper';
|
|
2
|
-
export type { ManagerProps, ReferenceProps, PopperProps, PopperArrowProps, PopperChildrenProps, StrictModifier, Modifier, Placement, } from './popper';
|
|
2
|
+
export type { ManagerProps, ReferenceProps, PopperProps, PopperArrowProps, PopperChildrenProps, StrictModifier, Modifier, Placement, CustomPopperProps, } from './popper';
|
|
3
3
|
export { Manager, Reference } from 'react-popper';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Popper, placements } from './popper';
|
|
2
|
-
export type { ManagerProps, ReferenceProps, PopperProps, PopperArrowProps, PopperChildrenProps, StrictModifier, Modifier, Placement, } from './popper';
|
|
2
|
+
export type { ManagerProps, ReferenceProps, PopperProps, PopperArrowProps, PopperChildrenProps, StrictModifier, Modifier, Placement, CustomPopperProps, } from './popper';
|
|
3
3
|
export { Manager, Reference } from 'react-popper';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popper",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "A wrapper for React Popper for situations which require a bespoke popup where other ADS components are deemed unsuitable",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
"website": {
|
|
22
22
|
"name": "Popper",
|
|
23
23
|
"category": "Libraries"
|
|
24
|
-
}
|
|
25
|
-
"runReact18": true
|
|
24
|
+
}
|
|
26
25
|
},
|
|
27
26
|
"dependencies": {
|
|
28
27
|
"@babel/runtime": "^7.0.0",
|
|
@@ -33,23 +32,22 @@
|
|
|
33
32
|
"react": "^18.2.0"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
|
-
"@af/accessibility-testing": "
|
|
37
|
-
"@af/integration-testing": "
|
|
38
|
-
"@af/visual-regression": "
|
|
39
|
-
"@atlaskit/button": "^
|
|
40
|
-
"@atlaskit/docs": "^
|
|
41
|
-
"@atlaskit/ds-lib": "^
|
|
42
|
-
"@atlaskit/link": "^3.
|
|
43
|
-
"@atlaskit/section-message": "^8.
|
|
44
|
-
"@atlaskit/
|
|
45
|
-
"@atlaskit/
|
|
46
|
-
"@
|
|
35
|
+
"@af/accessibility-testing": "workspace:^",
|
|
36
|
+
"@af/integration-testing": "workspace:^",
|
|
37
|
+
"@af/visual-regression": "workspace:^",
|
|
38
|
+
"@atlaskit/button": "^23.4.0",
|
|
39
|
+
"@atlaskit/docs": "^11.0.0",
|
|
40
|
+
"@atlaskit/ds-lib": "^5.0.0",
|
|
41
|
+
"@atlaskit/link": "^3.2.0",
|
|
42
|
+
"@atlaskit/section-message": "^8.5.0",
|
|
43
|
+
"@atlaskit/theme": "^19.0.0",
|
|
44
|
+
"@atlaskit/tokens": "^6.0.0",
|
|
45
|
+
"@atlassian/ssr-tests": "^0.3.0",
|
|
47
46
|
"@compiled/react": "^0.18.3",
|
|
48
47
|
"@testing-library/react": "^13.4.0",
|
|
49
48
|
"@testing-library/user-event": "^14.4.3",
|
|
50
49
|
"react-dom": "^18.2.0",
|
|
51
|
-
"react-lorem-component": "^0.13.0"
|
|
52
|
-
"typescript": "~5.4.2"
|
|
50
|
+
"react-lorem-component": "^0.13.0"
|
|
53
51
|
},
|
|
54
52
|
"keywords": [
|
|
55
53
|
"atlaskit",
|