@atlaskit/popup 4.6.0 → 4.6.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 +13 -0
- package/dist/types/types.d.ts +4 -0
- package/dist/types-ts4.5/types.d.ts +4 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/popup
|
|
2
2
|
|
|
3
|
+
## 4.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.6.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`a0bb84bfd5321`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a0bb84bfd5321) -
|
|
14
|
+
Updated JSDocs for the `setInitialFocusRef` property.
|
|
15
|
+
|
|
3
16
|
## 4.6.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -39,6 +39,10 @@ export interface ContentProps {
|
|
|
39
39
|
onClose?: BaseProps['onClose'];
|
|
40
40
|
/**
|
|
41
41
|
* Escape hatch to set the initial focus for a specific element, when the popup is opened.
|
|
42
|
+
*
|
|
43
|
+
* The specified element needs to be available in the DOM as soon as the popup is opened, otherwise it
|
|
44
|
+
* will not be focused upon. This means it will not work for content that renders into the popup content
|
|
45
|
+
* after it has already opened (e.g. async or lazy loaded content).
|
|
42
46
|
*/
|
|
43
47
|
setInitialFocusRef: Dispatch<SetStateAction<HTMLElement | null>>;
|
|
44
48
|
}
|
|
@@ -39,6 +39,10 @@ export interface ContentProps {
|
|
|
39
39
|
onClose?: BaseProps['onClose'];
|
|
40
40
|
/**
|
|
41
41
|
* Escape hatch to set the initial focus for a specific element, when the popup is opened.
|
|
42
|
+
*
|
|
43
|
+
* The specified element needs to be available in the DOM as soon as the popup is opened, otherwise it
|
|
44
|
+
* will not be focused upon. This means it will not work for content that renders into the popup content
|
|
45
|
+
* after it has already opened (e.g. async or lazy loaded content).
|
|
42
46
|
*/
|
|
43
47
|
setInitialFocusRef: Dispatch<SetStateAction<HTMLElement | null>>;
|
|
44
48
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popup",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.2",
|
|
4
4
|
"description": "A popup displays brief content in an overlay.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/css": "^0.15.0",
|
|
36
|
-
"@atlaskit/ds-lib": "^5.
|
|
36
|
+
"@atlaskit/ds-lib": "^5.2.0",
|
|
37
37
|
"@atlaskit/layering": "^3.2.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
41
|
"@atlaskit/primitives": "^16.1.0",
|
|
42
|
-
"@atlaskit/tokens": "^
|
|
42
|
+
"@atlaskit/tokens": "^8.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.6.0",
|
|
59
59
|
"@atlaskit/code": "^17.3.0",
|
|
60
60
|
"@atlaskit/docs": "^11.2.0",
|
|
61
61
|
"@atlaskit/form": "^14.2.0",
|
|
@@ -63,12 +63,12 @@
|
|
|
63
63
|
"@atlaskit/icon": "^28.5.0",
|
|
64
64
|
"@atlaskit/link": "^3.2.0",
|
|
65
65
|
"@atlaskit/modal-dialog": "^14.6.0",
|
|
66
|
-
"@atlaskit/section-message": "^8.
|
|
66
|
+
"@atlaskit/section-message": "^8.9.0",
|
|
67
67
|
"@atlaskit/ssr": "workspace:^",
|
|
68
68
|
"@atlaskit/textfield": "^8.0.0",
|
|
69
69
|
"@atlaskit/toggle": "^15.1.0",
|
|
70
70
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
71
|
-
"@atlassian/ssr-tests": "
|
|
71
|
+
"@atlassian/ssr-tests": "workspace:^",
|
|
72
72
|
"@testing-library/react": "^13.4.0",
|
|
73
73
|
"@testing-library/react-hooks": "^8.0.1",
|
|
74
74
|
"@testing-library/user-event": "^14.4.3",
|