@atlaskit/modal-dialog 16.0.0 → 16.0.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
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/modal-dialog
|
|
2
2
|
|
|
3
|
+
## 16.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
|
|
8
|
+
Add @atlassian/react-compiler-gating as a runtime dependency to enable React Compiler platform
|
|
9
|
+
gating.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 16.0.0
|
|
4
13
|
|
|
5
14
|
### Major Changes
|
|
@@ -86,9 +86,7 @@ test.describe('Modal dialog: top-layer focus contract', () => {
|
|
|
86
86
|
// outside `useInitialFocus`, but it shares the same WCAG / APG
|
|
87
87
|
// contract: the chosen element receives focus instead of the
|
|
88
88
|
// natural first focusable.
|
|
89
|
-
test('initial focus: `autoFocus` ref overrides the first focusable element', async ({
|
|
90
|
-
page,
|
|
91
|
-
}) => {
|
|
89
|
+
test('initial focus: `autoFocus` ref overrides the first focusable element', async ({ page }) => {
|
|
92
90
|
await page.visitExample<typeof import('../../examples/98-testing-initial-focus-matrix.tsx')>(
|
|
93
91
|
'design-system',
|
|
94
92
|
'modal-dialog',
|
|
@@ -114,7 +114,7 @@ var InternalModalWrapper = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
114
114
|
action: 'closed',
|
|
115
115
|
componentName: 'modalDialog',
|
|
116
116
|
packageName: "@atlaskit/modal-dialog",
|
|
117
|
-
packageVersion: "
|
|
117
|
+
packageVersion: "16.0.0"
|
|
118
118
|
});
|
|
119
119
|
var onBlanketClicked = (0, _react.useCallback)(function (e) {
|
|
120
120
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -100,7 +100,7 @@ const InternalModalWrapper = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
100
100
|
action: 'closed',
|
|
101
101
|
componentName: 'modalDialog',
|
|
102
102
|
packageName: "@atlaskit/modal-dialog",
|
|
103
|
-
packageVersion: "
|
|
103
|
+
packageVersion: "16.0.0"
|
|
104
104
|
});
|
|
105
105
|
const onBlanketClicked = useCallback(e => {
|
|
106
106
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -105,7 +105,7 @@ var InternalModalWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
105
105
|
action: 'closed',
|
|
106
106
|
componentName: 'modalDialog',
|
|
107
107
|
packageName: "@atlaskit/modal-dialog",
|
|
108
|
-
packageVersion: "
|
|
108
|
+
packageVersion: "16.0.0"
|
|
109
109
|
});
|
|
110
110
|
var onBlanketClicked = useCallback(function (e) {
|
|
111
111
|
if (shouldCloseOnOverlayClick) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/modal-dialog",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.1",
|
|
4
4
|
"description": "A modal dialog displays content that requires user interaction, in a layer above the page.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,19 +36,20 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@atlaskit/analytics-next": "^12.0.0",
|
|
38
38
|
"@atlaskit/blanket": "^16.0.0",
|
|
39
|
-
"@atlaskit/button": "^24.
|
|
39
|
+
"@atlaskit/button": "^24.1.0",
|
|
40
40
|
"@atlaskit/css": "^1.0.0",
|
|
41
41
|
"@atlaskit/ds-lib": "^8.0.0",
|
|
42
42
|
"@atlaskit/icon": "^36.0.0",
|
|
43
43
|
"@atlaskit/layering": "^4.0.0",
|
|
44
|
-
"@atlaskit/motion": "^7.
|
|
44
|
+
"@atlaskit/motion": "^7.1.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
46
46
|
"@atlaskit/portal": "^6.0.0",
|
|
47
47
|
"@atlaskit/pragmatic-drag-and-drop": "^2.0.0",
|
|
48
48
|
"@atlaskit/primitives": "^20.0.0",
|
|
49
49
|
"@atlaskit/theme": "^26.0.0",
|
|
50
|
-
"@atlaskit/tokens": "^
|
|
50
|
+
"@atlaskit/tokens": "^15.0.0",
|
|
51
51
|
"@atlaskit/top-layer": "^1.0.0",
|
|
52
|
+
"@atlassian/react-compiler-gating": "^0.2.0",
|
|
52
53
|
"@babel/runtime": "^7.0.0",
|
|
53
54
|
"@compiled/react": "^0.20.0",
|
|
54
55
|
"bind-event-listener": "^3.0.0",
|
|
@@ -78,13 +79,12 @@
|
|
|
78
79
|
"@atlaskit/link": "^4.0.0",
|
|
79
80
|
"@atlaskit/popup": "^5.0.0",
|
|
80
81
|
"@atlaskit/radio": "^9.0.0",
|
|
81
|
-
"@atlaskit/section-message": "^9.
|
|
82
|
-
"@atlaskit/select": "^22.
|
|
83
|
-
"@atlaskit/spotlight": "^
|
|
82
|
+
"@atlaskit/section-message": "^9.1.0",
|
|
83
|
+
"@atlaskit/select": "^22.1.0",
|
|
84
|
+
"@atlaskit/spotlight": "^2.0.0",
|
|
84
85
|
"@atlaskit/textfield": "^9.0.0",
|
|
85
86
|
"@atlaskit/tooltip": "^23.0.0",
|
|
86
87
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
87
|
-
"@atlassian/react-compiler-gating": "workspace:^",
|
|
88
88
|
"@atlassian/ssr-tests": "workspace:^",
|
|
89
89
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
90
90
|
"@atlassian/testing-library": "^0.6.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"react-lorem-component": "^0.13.0",
|
|
99
99
|
"react-sweet-state": "^2.6.5",
|
|
100
100
|
"tiny-invariant": "^1.2.0",
|
|
101
|
-
"typescript": "5.9.
|
|
101
|
+
"typescript": "5.9.3"
|
|
102
102
|
},
|
|
103
103
|
"keywords": [
|
|
104
104
|
"atlaskit",
|