@atlaskit/side-navigation 3.0.9 → 3.0.10
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/side-navigation
|
|
2
2
|
|
|
3
|
+
## 3.0.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83188](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83188) [`cd5d06cd3329`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd5d06cd3329) - Minor adjustments to improve compatibility with React 18
|
|
8
|
+
|
|
3
9
|
## 3.0.9
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -96,6 +96,7 @@ var NestingItem = function NestingItem(props) {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
// Avoid a nesting transition if a modifier key is detected during click.
|
|
99
|
+
// @ts-expect-error - Argument of type 'MouseEvent<Element, MouseEvent> | KeyboardEvent<Element>' is not assignable to parameter of type 'MouseEvent'
|
|
99
100
|
if (isNormalClick(e)) {
|
|
100
101
|
setIsInteracted(true);
|
|
101
102
|
onNest(id);
|
|
@@ -75,6 +75,7 @@ const NestingItem = props => {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
// Avoid a nesting transition if a modifier key is detected during click.
|
|
78
|
+
// @ts-expect-error - Argument of type 'MouseEvent<Element, MouseEvent> | KeyboardEvent<Element>' is not assignable to parameter of type 'MouseEvent'
|
|
78
79
|
if (isNormalClick(e)) {
|
|
79
80
|
setIsInteracted(true);
|
|
80
81
|
onNest(id);
|
|
@@ -86,6 +86,7 @@ var NestingItem = function NestingItem(props) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
// Avoid a nesting transition if a modifier key is detected during click.
|
|
89
|
+
// @ts-expect-error - Argument of type 'MouseEvent<Element, MouseEvent> | KeyboardEvent<Element>' is not assignable to parameter of type 'MouseEvent'
|
|
89
90
|
if (isNormalClick(e)) {
|
|
90
91
|
setIsInteracted(true);
|
|
91
92
|
onNest(id);
|
package/package.json
CHANGED