@atlaskit/side-navigation 1.4.1 → 1.4.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 +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +4 -4
- package/report.api.md +17 -10
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/side-navigation",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/menu": "^1.4.0",
|
|
31
31
|
"@atlaskit/motion": "^1.3.0",
|
|
32
32
|
"@atlaskit/theme": "^12.2.0",
|
|
33
|
-
"@atlaskit/tokens": "^0.
|
|
33
|
+
"@atlaskit/tokens": "^0.12.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
35
|
"@emotion/react": "^11.7.1"
|
|
36
36
|
},
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@atlaskit/atlassian-navigation": "^2.3.0",
|
|
42
|
-
"@atlaskit/button": "^16.
|
|
42
|
+
"@atlaskit/button": "^16.5.0",
|
|
43
43
|
"@atlaskit/docs": "*",
|
|
44
44
|
"@atlaskit/logo": "^13.10.0",
|
|
45
45
|
"@atlaskit/onboarding": "^10.6.0",
|
|
46
46
|
"@atlaskit/section-message": "^6.3.0",
|
|
47
|
-
"@atlaskit/select": "^
|
|
47
|
+
"@atlaskit/select": "^16.0.0",
|
|
48
48
|
"@atlaskit/visual-regression": "*",
|
|
49
49
|
"@atlaskit/webdriver-runner": "*",
|
|
50
50
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
package/report.api.md
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
+
<!-- API Report Version: 2.2 -->
|
|
2
|
+
|
|
1
3
|
## API Report File for "@atlaskit/side-navigation"
|
|
2
4
|
|
|
3
|
-
> Do not edit this file.
|
|
5
|
+
> Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
|
|
6
|
+
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
|
+
|
|
8
|
+
### Table of contents
|
|
9
|
+
|
|
10
|
+
- [Main Entry Types](#main-entry-types)
|
|
4
11
|
|
|
5
|
-
|
|
6
|
-
Generated API Report version: 2.0
|
|
7
|
-
-->
|
|
12
|
+
### Main Entry Types
|
|
8
13
|
|
|
9
|
-
|
|
14
|
+
<!--SECTION START: Main Entry Types-->
|
|
10
15
|
|
|
11
16
|
```ts
|
|
12
17
|
/// <reference types="react" />
|
|
@@ -71,9 +76,9 @@ interface HeaderProps {
|
|
|
71
76
|
component?: React_2.ComponentType<CustomItemComponentProps>;
|
|
72
77
|
// @deprecated
|
|
73
78
|
cssFn?: CSSFn;
|
|
74
|
-
description?:
|
|
79
|
+
description?: JSX.Element | string;
|
|
75
80
|
iconBefore?: React_2.ReactNode;
|
|
76
|
-
onClick?: (event: React_2.
|
|
81
|
+
onClick?: (event: React_2.KeyboardEvent | React_2.MouseEvent) => void;
|
|
77
82
|
testId?: string;
|
|
78
83
|
}
|
|
79
84
|
export { HeaderProps as FooterProps };
|
|
@@ -192,13 +197,13 @@ export interface NestingItemProps<
|
|
|
192
197
|
children: React_2.ReactNode;
|
|
193
198
|
component?: React_2.ComponentType<TCustomComponentProps>;
|
|
194
199
|
cssFn?: CSSFn;
|
|
195
|
-
description?:
|
|
200
|
+
description?: JSX.Element | string;
|
|
196
201
|
iconAfter?: React_2.ReactNode;
|
|
197
202
|
iconBefore?: React_2.ReactNode;
|
|
198
203
|
id: string;
|
|
199
204
|
isDisabled?: boolean;
|
|
200
205
|
isSelected?: boolean;
|
|
201
|
-
onClick?: (event: React_2.
|
|
206
|
+
onClick?: (event: React_2.KeyboardEvent | React_2.MouseEvent) => void;
|
|
202
207
|
overrides?: NestingItemOverrides;
|
|
203
208
|
testId?: string;
|
|
204
209
|
title: React_2.ReactNode;
|
|
@@ -224,7 +229,7 @@ export const SideNavigation: ForwardRefExoticComponent<
|
|
|
224
229
|
|
|
225
230
|
// @public (undocumented)
|
|
226
231
|
export interface SideNavigationProps {
|
|
227
|
-
children: JSX.Element
|
|
232
|
+
children: JSX.Element | JSX.Element[];
|
|
228
233
|
label: string;
|
|
229
234
|
testId?: string;
|
|
230
235
|
}
|
|
@@ -254,3 +259,5 @@ export const VAR_SEPARATOR_COLOR = '--ds-menu-seperator-color';
|
|
|
254
259
|
|
|
255
260
|
// (No @packageDocumentation comment for this package)
|
|
256
261
|
```
|
|
262
|
+
|
|
263
|
+
<!--SECTION END: Main Entry Types-->
|