@atlaskit/dropdown-menu 11.5.10 → 11.5.12
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/cjs/checkbox/dropdown-item-checkbox-group.js +1 -7
- package/dist/cjs/checkbox/dropdown-item-checkbox.js +21 -43
- package/dist/cjs/dropdown-menu-item-group.js +0 -3
- package/dist/cjs/dropdown-menu-item.js +7 -19
- package/dist/cjs/dropdown-menu.js +45 -78
- package/dist/cjs/index.js +0 -8
- package/dist/cjs/internal/components/focus-manager.js +3 -13
- package/dist/cjs/internal/components/menu-wrapper.js +19 -34
- package/dist/cjs/internal/context/checkbox-group-context.js +0 -2
- package/dist/cjs/internal/context/selection-store.js +0 -11
- package/dist/cjs/internal/hooks/use-checkbox-state.js +20 -29
- package/dist/cjs/internal/hooks/use-radio-state.js +13 -32
- package/dist/cjs/internal/hooks/use-register-item-with-focus-manager.js +1 -6
- package/dist/cjs/internal/utils/get-icon-colors.js +1 -5
- package/dist/cjs/internal/utils/handle-focus.js +6 -29
- package/dist/cjs/internal/utils/is-checkbox-item.js +0 -1
- package/dist/cjs/internal/utils/is-radio-item.js +0 -1
- package/dist/cjs/internal/utils/is-voice-over-supported.js +1 -4
- package/dist/cjs/internal/utils/reset-options-in-group.js +0 -6
- package/dist/cjs/internal/utils/use-generated-id.js +1 -5
- package/dist/cjs/radio/dropdown-item-radio-group.js +10 -31
- package/dist/cjs/radio/dropdown-item-radio.js +21 -43
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/checkbox/dropdown-item-checkbox-group.js +0 -2
- package/dist/es2019/checkbox/dropdown-item-checkbox.js +2 -6
- package/dist/es2019/dropdown-menu-item.js +0 -3
- package/dist/es2019/dropdown-menu.js +16 -17
- package/dist/es2019/internal/components/focus-manager.js +4 -4
- package/dist/es2019/internal/components/menu-wrapper.js +11 -14
- package/dist/es2019/internal/context/checkbox-group-context.js +1 -1
- package/dist/es2019/internal/context/selection-store.js +0 -5
- package/dist/es2019/internal/hooks/use-checkbox-state.js +9 -9
- package/dist/es2019/internal/hooks/use-radio-state.js +3 -7
- package/dist/es2019/internal/hooks/use-register-item-with-focus-manager.js +3 -3
- package/dist/es2019/internal/utils/get-icon-colors.js +1 -4
- package/dist/es2019/internal/utils/handle-focus.js +6 -20
- package/dist/es2019/internal/utils/is-voice-over-supported.js +1 -3
- package/dist/es2019/internal/utils/reset-options-in-group.js +2 -2
- package/dist/es2019/internal/utils/use-generated-id.js +3 -4
- package/dist/es2019/radio/dropdown-item-radio-group.js +4 -7
- package/dist/es2019/radio/dropdown-item-radio.js +2 -6
- package/dist/es2019/version.json +1 -1
- package/dist/esm/checkbox/dropdown-item-checkbox-group.js +1 -3
- package/dist/esm/checkbox/dropdown-item-checkbox.js +21 -27
- package/dist/esm/dropdown-menu-item.js +7 -11
- package/dist/esm/dropdown-menu.js +45 -56
- package/dist/esm/internal/components/focus-manager.js +4 -4
- package/dist/esm/internal/components/menu-wrapper.js +19 -23
- package/dist/esm/internal/context/checkbox-group-context.js +1 -1
- package/dist/esm/internal/context/selection-store.js +0 -5
- package/dist/esm/internal/hooks/use-checkbox-state.js +20 -24
- package/dist/esm/internal/hooks/use-radio-state.js +13 -26
- package/dist/esm/internal/hooks/use-register-item-with-focus-manager.js +4 -5
- package/dist/esm/internal/utils/get-icon-colors.js +1 -4
- package/dist/esm/internal/utils/handle-focus.js +6 -26
- package/dist/esm/internal/utils/is-voice-over-supported.js +1 -3
- package/dist/esm/internal/utils/reset-options-in-group.js +0 -4
- package/dist/esm/internal/utils/use-generated-id.js +1 -3
- package/dist/esm/radio/dropdown-item-radio-group.js +10 -20
- package/dist/esm/radio/dropdown-item-radio.js +21 -27
- package/dist/esm/version.json +1 -1
- package/dist/types/internal/utils/get-icon-colors.d.ts +1 -1
- package/package.json +5 -5
- package/report.api.md +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dropdown-menu",
|
|
3
|
-
"version": "11.5.
|
|
3
|
+
"version": "11.5.12",
|
|
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/"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/popup": "^1.5.0",
|
|
33
33
|
"@atlaskit/spinner": "^15.3.0",
|
|
34
34
|
"@atlaskit/theme": "^12.2.0",
|
|
35
|
-
"@atlaskit/tokens": "^0.
|
|
35
|
+
"@atlaskit/tokens": "^1.0.0",
|
|
36
36
|
"@atlaskit/visually-hidden": "^1.1.0",
|
|
37
37
|
"@babel/runtime": "^7.0.0",
|
|
38
38
|
"@emotion/react": "^11.7.1",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@atlaskit/avatar": "^21.1.0",
|
|
47
47
|
"@atlaskit/docs": "*",
|
|
48
|
-
"@atlaskit/ds-explorations": "^
|
|
49
|
-
"@atlaskit/heading": "^1.0
|
|
50
|
-
"@atlaskit/lozenge": "11.3.
|
|
48
|
+
"@atlaskit/ds-explorations": "^2.0.0",
|
|
49
|
+
"@atlaskit/heading": "^1.1.0",
|
|
50
|
+
"@atlaskit/lozenge": "11.3.7",
|
|
51
51
|
"@atlaskit/modal-dialog": "^12.4.0",
|
|
52
52
|
"@atlaskit/section-message": "^6.3.0",
|
|
53
53
|
"@atlaskit/ssr": "*",
|
package/report.api.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
### Table of contents
|
|
9
9
|
|
|
10
10
|
- [Main Entry Types](#main-entry-types)
|
|
11
|
+
- [Peer Dependencies](#peer-dependencies)
|
|
11
12
|
|
|
12
13
|
### Main Entry Types
|
|
13
14
|
|
|
@@ -180,3 +181,16 @@ type Placement =
|
|
|
180
181
|
```
|
|
181
182
|
|
|
182
183
|
<!--SECTION END: Main Entry Types-->
|
|
184
|
+
|
|
185
|
+
### Peer Dependencies
|
|
186
|
+
|
|
187
|
+
<!--SECTION START: Peer Dependencies-->
|
|
188
|
+
|
|
189
|
+
```json
|
|
190
|
+
{
|
|
191
|
+
"react": "^16.8.0",
|
|
192
|
+
"react-dom": "^16.8.0"
|
|
193
|
+
}
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
<!--SECTION END: Peer Dependencies-->
|