@atlaskit/popup 1.1.1 → 1.1.5
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,29 @@
|
|
|
1
1
|
# @atlaskit/popup
|
|
2
2
|
|
|
3
|
+
## 1.1.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.1.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 1.1.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
21
|
+
## 1.1.2
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
3
27
|
## 1.1.1
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -25,7 +25,14 @@ var useCloseManager = function useCloseManager(_ref) {
|
|
|
25
25
|
if (onClose) {
|
|
26
26
|
onClose();
|
|
27
27
|
}
|
|
28
|
-
};
|
|
28
|
+
}; // This check is required for cases where components like
|
|
29
|
+
// Select or DDM are placed inside a Popup. A click
|
|
30
|
+
// on a MenuItem or Option would close the Popup, without registering
|
|
31
|
+
// a click on DDM/Select.
|
|
32
|
+
// Users would have to call `onClose` manually to close the Popup in these cases.
|
|
33
|
+
// You can see the bug in action here:
|
|
34
|
+
// https://codesandbox.io/s/atlaskitpopup-default-forked-2eb87?file=/example.tsx:0-1788
|
|
35
|
+
|
|
29
36
|
|
|
30
37
|
var onClick = function onClick(_ref2) {
|
|
31
38
|
var target = _ref2.target;
|
package/dist/cjs/version.json
CHANGED
|
@@ -18,7 +18,14 @@ export const useCloseManager = ({
|
|
|
18
18
|
if (onClose) {
|
|
19
19
|
onClose();
|
|
20
20
|
}
|
|
21
|
-
};
|
|
21
|
+
}; // This check is required for cases where components like
|
|
22
|
+
// Select or DDM are placed inside a Popup. A click
|
|
23
|
+
// on a MenuItem or Option would close the Popup, without registering
|
|
24
|
+
// a click on DDM/Select.
|
|
25
|
+
// Users would have to call `onClose` manually to close the Popup in these cases.
|
|
26
|
+
// You can see the bug in action here:
|
|
27
|
+
// https://codesandbox.io/s/atlaskitpopup-default-forked-2eb87?file=/example.tsx:0-1788
|
|
28
|
+
|
|
22
29
|
|
|
23
30
|
const onClick = ({
|
|
24
31
|
target
|
package/dist/es2019/version.json
CHANGED
|
@@ -17,7 +17,14 @@ export var useCloseManager = function useCloseManager(_ref) {
|
|
|
17
17
|
if (onClose) {
|
|
18
18
|
onClose();
|
|
19
19
|
}
|
|
20
|
-
};
|
|
20
|
+
}; // This check is required for cases where components like
|
|
21
|
+
// Select or DDM are placed inside a Popup. A click
|
|
22
|
+
// on a MenuItem or Option would close the Popup, without registering
|
|
23
|
+
// a click on DDM/Select.
|
|
24
|
+
// Users would have to call `onClose` manually to close the Popup in these cases.
|
|
25
|
+
// You can see the bug in action here:
|
|
26
|
+
// https://codesandbox.io/s/atlaskitpopup-default-forked-2eb87?file=/example.tsx:0-1788
|
|
27
|
+
|
|
21
28
|
|
|
22
29
|
var onClick = function onClick(_ref2) {
|
|
23
30
|
var target = _ref2.target;
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popup",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "A portalled popup primitive that is tied to a trigger element.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@atlaskit/popper": "^5.0.0",
|
|
31
31
|
"@atlaskit/portal": "^4.0.0",
|
|
32
|
-
"@atlaskit/theme": "^
|
|
33
|
-
"@atlaskit/tokens": "^0.0
|
|
32
|
+
"@atlaskit/theme": "^12.0.0",
|
|
33
|
+
"@atlaskit/tokens": "^0.3.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
35
|
"@emotion/core": "^10.0.9",
|
|
36
36
|
"bind-event-listener": "^1.0.2",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@atlaskit/build-utils": "*",
|
|
45
|
-
"@atlaskit/button": "^16.
|
|
45
|
+
"@atlaskit/button": "^16.1.0",
|
|
46
46
|
"@atlaskit/docs": "*",
|
|
47
|
-
"@atlaskit/icon": "^21.
|
|
48
|
-
"@atlaskit/menu": "^1.
|
|
49
|
-
"@atlaskit/radio": "^5.
|
|
47
|
+
"@atlaskit/icon": "^21.9.0",
|
|
48
|
+
"@atlaskit/menu": "^1.2.0",
|
|
49
|
+
"@atlaskit/radio": "^5.3.0",
|
|
50
50
|
"@atlaskit/select": "^15.0.0",
|
|
51
|
-
"@atlaskit/spinner": "^15.
|
|
51
|
+
"@atlaskit/spinner": "^15.1.0",
|
|
52
52
|
"@atlaskit/ssr": "*",
|
|
53
53
|
"@atlaskit/visual-regression": "*",
|
|
54
54
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|