@atlaskit/dropdown-menu 12.26.4 → 12.26.5
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 +8 -0
- package/dist/types/types.d.ts +10 -0
- package/dist/types-ts4.5/types.d.ts +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/dropdown-menu
|
|
2
2
|
|
|
3
|
+
## 12.26.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#115543](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/115543)
|
|
8
|
+
[`9d96558cbd534`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9d96558cbd534) -
|
|
9
|
+
Updated types for DropdownMenu trigger props
|
|
10
|
+
|
|
3
11
|
## 12.26.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -28,6 +28,16 @@ export interface CustomTriggerProps<TriggerElement extends HTMLElement = any> ex
|
|
|
28
28
|
* Event that is triggered when the element is clicked.
|
|
29
29
|
*/
|
|
30
30
|
onClick?: (e: MouseEvent | KeyboardEvent) => void;
|
|
31
|
+
/**
|
|
32
|
+
* onFocus handler that should be applied to the trigger. Used to bind onKeyDown listener
|
|
33
|
+
* to the window object to track ArrowDown events.
|
|
34
|
+
*/
|
|
35
|
+
onFocus?: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* onBlur handler that should be applied to the trigger. Used to unbind onKeyDown listener
|
|
38
|
+
* from the window object.
|
|
39
|
+
*/
|
|
40
|
+
onBlur?: () => void;
|
|
31
41
|
/**
|
|
32
42
|
* A `testId` prop is provided for specified elements, which is a unique
|
|
33
43
|
* string that appears as a data attribute `data-testid` in the rendered code,
|
|
@@ -28,6 +28,16 @@ export interface CustomTriggerProps<TriggerElement extends HTMLElement = any> ex
|
|
|
28
28
|
* Event that is triggered when the element is clicked.
|
|
29
29
|
*/
|
|
30
30
|
onClick?: (e: MouseEvent | KeyboardEvent) => void;
|
|
31
|
+
/**
|
|
32
|
+
* onFocus handler that should be applied to the trigger. Used to bind onKeyDown listener
|
|
33
|
+
* to the window object to track ArrowDown events.
|
|
34
|
+
*/
|
|
35
|
+
onFocus?: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* onBlur handler that should be applied to the trigger. Used to unbind onKeyDown listener
|
|
38
|
+
* from the window object.
|
|
39
|
+
*/
|
|
40
|
+
onBlur?: () => void;
|
|
31
41
|
/**
|
|
32
42
|
* A `testId` prop is provided for specified elements, which is a unique
|
|
33
43
|
* string that appears as a data attribute `data-testid` in the rendered code,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dropdown-menu",
|
|
3
|
-
"version": "12.26.
|
|
3
|
+
"version": "12.26.5",
|
|
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/"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@atlaskit/lozenge": "^11.13.0",
|
|
61
61
|
"@atlaskit/modal-dialog": "^12.20.0",
|
|
62
62
|
"@atlaskit/section-message": "*",
|
|
63
|
-
"@atlaskit/textfield": "^
|
|
63
|
+
"@atlaskit/textfield": "^7.0.0",
|
|
64
64
|
"@atlaskit/toggle": "^14.1.0",
|
|
65
65
|
"@atlaskit/visual-regression": "*",
|
|
66
66
|
"@testing-library/react": "^13.4.0",
|