@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/dropdown-menu
2
2
 
3
+ ## 16.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 16.6.0
4
10
 
5
11
  ### Minor Changes
@@ -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,3 +1,4 @@
1
+ // eslint-disable-next-line sort-imports
1
2
  import { useContext, useEffect, useRef } from 'react';
2
3
  import { fg } from '@atlaskit/platform-feature-flags';
3
4
  import { FocusManagerContext } from '../components/focus-manager';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line sort-imports
1
2
  import { useContext, useEffect, useRef } from 'react';
2
3
  import { fg } from '@atlaskit/platform-feature-flags';
3
4
  import { FocusManagerContext } from '../components/focus-manager';
@@ -1,2 +1,3 @@
1
- declare function useRegisterItemWithFocusManager(hasPopup?: boolean): import("react").MutableRefObject<HTMLAnchorElement | HTMLButtonElement | null>;
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
- declare function useRegisterItemWithFocusManager(hasPopup?: boolean): import("react").MutableRefObject<HTMLAnchorElement | HTMLButtonElement | null>;
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.0",
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": "^5.4.0",
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",