@atlaskit/dropdown-menu 12.22.1 → 12.22.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/dropdown-menu
2
2
 
3
+ ## 12.22.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 12.22.1
4
10
 
5
11
  ### Patch Changes
@@ -134,6 +134,8 @@ interface InternalDropdownMenuProps<TriggerElement extends HTMLElement = any> {
134
134
  /**
135
135
  * Controls the initial open state of the dropdown. If provided, the component is considered to be controlled
136
136
  * which means that the user is responsible for managing the open and close state of the menu.
137
+ * Using `defaultOpen` may cause accessiblity issues because it will automatically shift focus to the first menu item; which can be disorienting.
138
+ * Only use this if action on the menu is required to proceed.
137
139
  */
138
140
  defaultOpen?: boolean;
139
141
  /**
@@ -134,6 +134,8 @@ interface InternalDropdownMenuProps<TriggerElement extends HTMLElement = any> {
134
134
  /**
135
135
  * Controls the initial open state of the dropdown. If provided, the component is considered to be controlled
136
136
  * which means that the user is responsible for managing the open and close state of the menu.
137
+ * Using `defaultOpen` may cause accessiblity issues because it will automatically shift focus to the first menu item; which can be disorienting.
138
+ * Only use this if action on the menu is required to proceed.
137
139
  */
138
140
  defaultOpen?: boolean;
139
141
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dropdown-menu",
3
- "version": "12.22.1",
3
+ "version": "12.22.2",
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/"
@@ -25,13 +25,13 @@
25
25
  "dependencies": {
26
26
  "@atlaskit/button": "^20.3.0",
27
27
  "@atlaskit/codemod-utils": "^4.2.0",
28
- "@atlaskit/ds-lib": "^3.1.0",
28
+ "@atlaskit/ds-lib": "^3.2.0",
29
29
  "@atlaskit/icon": "^22.24.0",
30
- "@atlaskit/layering": "^0.7.0",
30
+ "@atlaskit/layering": "^0.8.0",
31
31
  "@atlaskit/menu": "^2.13.0",
32
32
  "@atlaskit/platform-feature-flags": "^0.3.0",
33
33
  "@atlaskit/popup": "^1.29.0",
34
- "@atlaskit/primitives": "^13.1.0",
34
+ "@atlaskit/primitives": "^13.2.0",
35
35
  "@atlaskit/spinner": "^16.3.0",
36
36
  "@atlaskit/theme": "^14.0.0",
37
37
  "@atlaskit/tokens": "^2.2.0",
@@ -60,7 +60,7 @@
60
60
  "jscodeshift": "^0.13.0",
61
61
  "raf-stub": "^2.0.1",
62
62
  "react-dom": "^16.8.0",
63
- "storybook-addon-performance": "^0.16.0",
63
+ "storybook-addon-performance": "^0.17.3",
64
64
  "tiny-invariant": "^1.2.0",
65
65
  "typescript": "~5.4.2"
66
66
  },