@atlaskit/popup 4.8.0 → 4.8.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/popup
|
|
2
2
|
|
|
3
|
+
## 4.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.8.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`70f2d1e65958d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/70f2d1e65958d) -
|
|
14
|
+
Clean up flag.
|
|
15
|
+
|
|
3
16
|
## 4.8.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -35,7 +35,7 @@ var useCloseManager = exports.useCloseManager = function useCloseManager(_ref) {
|
|
|
35
35
|
if (!isOpen || !popupRef) {
|
|
36
36
|
return _noop.default;
|
|
37
37
|
}
|
|
38
|
-
var inIframe = window && window.self !== window.top
|
|
38
|
+
var inIframe = window && window.self !== window.top;
|
|
39
39
|
var closePopup = function closePopup(event) {
|
|
40
40
|
if (onClose) {
|
|
41
41
|
var _currentLevel = null;
|
|
@@ -30,7 +30,7 @@ export const useCloseManager = ({
|
|
|
30
30
|
if (!isOpen || !popupRef) {
|
|
31
31
|
return noop;
|
|
32
32
|
}
|
|
33
|
-
const inIframe = window && window.self !== window.top
|
|
33
|
+
const inIframe = window && window.self !== window.top;
|
|
34
34
|
const closePopup = event => {
|
|
35
35
|
if (onClose) {
|
|
36
36
|
let currentLevel = null;
|
|
@@ -27,7 +27,7 @@ export var useCloseManager = function useCloseManager(_ref) {
|
|
|
27
27
|
if (!isOpen || !popupRef) {
|
|
28
28
|
return noop;
|
|
29
29
|
}
|
|
30
|
-
var inIframe = window && window.self !== window.top
|
|
30
|
+
var inIframe = window && window.self !== window.top;
|
|
31
31
|
var closePopup = function closePopup(event) {
|
|
32
32
|
if (onClose) {
|
|
33
33
|
var _currentLevel = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popup",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.2",
|
|
4
4
|
"description": "A popup displays brief content in an overlay.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/css": "^0.
|
|
35
|
+
"@atlaskit/css": "^0.19.0",
|
|
36
36
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
37
37
|
"@atlaskit/layering": "^3.4.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/popper": "^7.1.0",
|
|
40
40
|
"@atlaskit/portal": "^5.1.0",
|
|
41
|
-
"@atlaskit/primitives": "^
|
|
42
|
-
"@atlaskit/tokens": "^
|
|
41
|
+
"@atlaskit/primitives": "^17.0.0",
|
|
42
|
+
"@atlaskit/tokens": "^9.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@compiled/react": "^0.18.6",
|
|
45
45
|
"bind-event-listener": "^3.0.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@af/accessibility-testing": "workspace:^",
|
|
56
56
|
"@af/integration-testing": "workspace:^",
|
|
57
57
|
"@af/visual-regression": "workspace:^",
|
|
58
|
-
"@atlaskit/button": "^23.
|
|
58
|
+
"@atlaskit/button": "^23.9.0",
|
|
59
59
|
"@atlaskit/code": "^17.4.0",
|
|
60
60
|
"@atlaskit/docs": "^11.2.0",
|
|
61
61
|
"@atlaskit/form": "^15.1.0",
|
|
@@ -111,9 +111,6 @@
|
|
|
111
111
|
"platform-design-system-apply-popup-wrapper-focus": {
|
|
112
112
|
"type": "boolean"
|
|
113
113
|
},
|
|
114
|
-
"fix-dropdown-close-outside-iframe": {
|
|
115
|
-
"type": "boolean"
|
|
116
|
-
},
|
|
117
114
|
"popup-onclose-fix": {
|
|
118
115
|
"type": "boolean"
|
|
119
116
|
},
|