@atlaskit/popup 9.0.3 → 9.0.4
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,15 @@
|
|
|
1
1
|
# @atlaskit/popup
|
|
2
2
|
|
|
3
|
+
## 9.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`64cc7dc77d6b4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64cc7dc77d6b4) -
|
|
8
|
+
Clean up feature gate `cc_blocks_changeboarding`. The gated behaviour — honouring
|
|
9
|
+
`shouldIgnoreCloseEvent`, emitting `data-extension-item-key`, and the block menu format item test
|
|
10
|
+
id — is now permanent.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 9.0.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -37,7 +37,7 @@ var useCloseManager = exports.useCloseManager = function useCloseManager(_ref) {
|
|
|
37
37
|
return _noop.default;
|
|
38
38
|
}
|
|
39
39
|
var closePopup = function closePopup(event) {
|
|
40
|
-
if (shouldIgnoreCloseEvent !== null && shouldIgnoreCloseEvent !== void 0 && shouldIgnoreCloseEvent(event)
|
|
40
|
+
if (shouldIgnoreCloseEvent !== null && shouldIgnoreCloseEvent !== void 0 && shouldIgnoreCloseEvent(event)) {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
43
|
if (onClose) {
|
|
@@ -32,7 +32,7 @@ export const useCloseManager = ({
|
|
|
32
32
|
return noop;
|
|
33
33
|
}
|
|
34
34
|
const closePopup = event => {
|
|
35
|
-
if (shouldIgnoreCloseEvent !== null && shouldIgnoreCloseEvent !== void 0 && shouldIgnoreCloseEvent(event)
|
|
35
|
+
if (shouldIgnoreCloseEvent !== null && shouldIgnoreCloseEvent !== void 0 && shouldIgnoreCloseEvent(event)) {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
38
|
if (onClose) {
|
|
@@ -29,7 +29,7 @@ export var useCloseManager = function useCloseManager(_ref) {
|
|
|
29
29
|
return noop;
|
|
30
30
|
}
|
|
31
31
|
var closePopup = function closePopup(event) {
|
|
32
|
-
if (shouldIgnoreCloseEvent !== null && shouldIgnoreCloseEvent !== void 0 && shouldIgnoreCloseEvent(event)
|
|
32
|
+
if (shouldIgnoreCloseEvent !== null && shouldIgnoreCloseEvent !== void 0 && shouldIgnoreCloseEvent(event)) {
|
|
33
33
|
return;
|
|
34
34
|
}
|
|
35
35
|
if (onClose) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popup",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.4",
|
|
4
4
|
"description": "A popup displays brief content in an overlay.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
42
42
|
"@atlaskit/popper": "^9.4.0",
|
|
43
43
|
"@atlaskit/portal": "^7.0.0",
|
|
44
|
-
"@atlaskit/primitives": "^22.
|
|
44
|
+
"@atlaskit/primitives": "^22.6.0",
|
|
45
45
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
46
|
-
"@atlaskit/tokens": "^20.
|
|
46
|
+
"@atlaskit/tokens": "^20.6.0",
|
|
47
47
|
"@atlaskit/top-layer": "^6.2.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^1.0.2",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
82
82
|
"@atlassian/ssr-tests": "workspace:^",
|
|
83
83
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
84
|
-
"@atlassian/testing-library": "^0.
|
|
84
|
+
"@atlassian/testing-library": "^0.12.0",
|
|
85
85
|
"@atlassian/workbench": "workspace:*",
|
|
86
86
|
"ast-types": "^0.13.3",
|
|
87
87
|
"jscodeshift": "^17.0.0",
|
|
@@ -95,9 +95,6 @@
|
|
|
95
95
|
"ui"
|
|
96
96
|
],
|
|
97
97
|
"platform-feature-flags": {
|
|
98
|
-
"cc_blocks_changeboarding": {
|
|
99
|
-
"type": "boolean"
|
|
100
|
-
},
|
|
101
98
|
"platform-dst-top-layer": {
|
|
102
99
|
"type": "boolean"
|
|
103
100
|
},
|