@atlaskit/dropdown-menu 16.6.0 → 16.6.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 +6 -0
- package/dist/cjs/internal/hooks/use-register-item-with-focus-manager.js +2 -0
- package/dist/es2019/internal/hooks/use-register-item-with-focus-manager.js +1 -0
- package/dist/esm/internal/hooks/use-register-item-with-focus-manager.js +1 -0
- package/dist/types/internal/hooks/use-register-item-with-focus-manager.d.ts +2 -1
- package/dist/types-ts4.5/internal/hooks/use-register-item-with-focus-manager.d.ts +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,8 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
9
9
|
var _focusManager = require("../components/focus-manager");
|
|
10
|
+
// eslint-disable-next-line sort-imports
|
|
11
|
+
|
|
10
12
|
// This function is called whenever a MenuItem mounts.
|
|
11
13
|
// The refs stored in the context are used to programmatically
|
|
12
14
|
// control focus on a user navigates using the keyboard.
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { type MutableRefObject } from 'react';
|
|
2
|
+
declare function useRegisterItemWithFocusManager(hasPopup?: boolean): MutableRefObject<HTMLAnchorElement | HTMLButtonElement | null>;
|
|
2
3
|
export default useRegisterItemWithFocusManager;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { type MutableRefObject } from 'react';
|
|
2
|
+
declare function useRegisterItemWithFocusManager(hasPopup?: boolean): MutableRefObject<HTMLAnchorElement | HTMLButtonElement | null>;
|
|
2
3
|
export default useRegisterItemWithFocusManager;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dropdown-menu",
|
|
3
|
-
"version": "16.6.
|
|
3
|
+
"version": "16.6.1",
|
|
4
4
|
"description": "A dropdown menu displays a list of actions or options to a user.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/button": "^23.10.0",
|
|
28
28
|
"@atlaskit/css": "^0.19.0",
|
|
29
|
-
"@atlaskit/ds-lib": "^
|
|
29
|
+
"@atlaskit/ds-lib": "^6.0.0",
|
|
30
30
|
"@atlaskit/icon": "^32.0.0",
|
|
31
31
|
"@atlaskit/layering": "^3.6.0",
|
|
32
32
|
"@atlaskit/menu": "^8.4.0",
|