@atlaskit/navigation-system 5.29.0 → 5.29.1
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/constellation/layout/code.mdx +7 -1
- package/constellation/layout/examples.mdx +5 -1
- package/constellation/layout/usage.mdx +7 -1
- package/dist/cjs/ui/page-layout/aside.js +2 -0
- package/dist/es2019/ui/page-layout/aside.js +2 -0
- package/dist/esm/ui/page-layout/aside.js +2 -0
- package/dist/types/ui/page-layout/aside.d.ts +2 -0
- package/dist/types-ts4.5/ui/page-layout/aside.d.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlassian/navigation-system
|
|
2
2
|
|
|
3
|
+
## 5.29.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`88290f9d44829`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/88290f9d44829) -
|
|
8
|
+
Update the `Aside` component's description to indicate our intention to deprecate it in the
|
|
9
|
+
future.
|
|
10
|
+
|
|
3
11
|
## 5.29.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Layout
|
|
3
|
-
description: Layout components define a page
|
|
3
|
+
description: Layout components define a page's structure and the areas for navigation and content.
|
|
4
4
|
order: 3
|
|
5
5
|
props:
|
|
6
6
|
packageName: '@atlaskit/navigation-system'
|
|
@@ -23,6 +23,8 @@ props:
|
|
|
23
23
|
- SideNavToggleButton
|
|
24
24
|
---
|
|
25
25
|
|
|
26
|
+
import SectionMessage from '@atlaskit/section-message';
|
|
27
|
+
|
|
26
28
|
## Props
|
|
27
29
|
|
|
28
30
|
### Root
|
|
@@ -103,6 +105,10 @@ The sticky header of the main layout area.
|
|
|
103
105
|
|
|
104
106
|
### Aside
|
|
105
107
|
|
|
108
|
+
<SectionMessage appearance="warning" title="Caution">
|
|
109
|
+
We are planning on deprecating the Aside component. Please use Panel instead.
|
|
110
|
+
</SectionMessage>
|
|
111
|
+
|
|
106
112
|
The Aside layout area is rendered to the right (inline end) of the Main area.
|
|
107
113
|
|
|
108
114
|
<TSMorphProps exportName="Aside" packageName="@atlaskit/navigation-system" />
|
|
@@ -159,7 +159,11 @@ fill available space.
|
|
|
159
159
|
|
|
160
160
|
### Aside
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
<SectionMessage appearance="warning" title="Caution">
|
|
163
|
+
We are planning on deprecating the Aside component. Please use Panel instead.
|
|
164
|
+
</SectionMessage>
|
|
165
|
+
|
|
166
|
+
`Aside` is rendered to the right of the `Main` area.
|
|
163
167
|
|
|
164
168
|
- The default width of the Aside is 330px, and it is
|
|
165
169
|
[resizable](/components/navigation-system/layout/examples#aside-resizing) and
|
|
@@ -7,6 +7,8 @@ order: 4
|
|
|
7
7
|
import layoutDo from './images/layout-do.png';
|
|
8
8
|
import layoutDont from './images/layout-dont.png';
|
|
9
9
|
|
|
10
|
+
import SectionMessage from '@atlaskit/section-message';
|
|
11
|
+
|
|
10
12
|
## Usage
|
|
11
13
|
|
|
12
14
|
Use layout to compose the structure of your application. It also defines the page behavior and
|
|
@@ -58,7 +60,7 @@ When applying components to the navigational areas,
|
|
|
58
60
|
</li>
|
|
59
61
|
<li>
|
|
60
62
|
<strong>Aside:</strong> Optional. Use to display supporting or supplementary content. Is
|
|
61
|
-
resizable.
|
|
63
|
+
resizable. <em>We plan to deprecate this component, please use Panel instead.</em>
|
|
62
64
|
</li>
|
|
63
65
|
<li>
|
|
64
66
|
<strong>Panel:</strong> Optional. Use to display supporting or supplementary content. Is
|
|
@@ -68,6 +70,10 @@ When applying components to the navigational areas,
|
|
|
68
70
|
|
|
69
71
|
### The difference between Aside, Panel and Modal dialog
|
|
70
72
|
|
|
73
|
+
<SectionMessage appearance="warning" title="Caution">
|
|
74
|
+
We are planning on deprecating the Aside component. Please use Panel instead.
|
|
75
|
+
</SectionMessage>
|
|
76
|
+
|
|
71
77
|
The main difference between Aside, Panel and Modal dialog is their behaviours:
|
|
72
78
|
|
|
73
79
|
- **Aside** is not collapsible, while **Panel** can be collapsible.
|
|
@@ -61,6 +61,8 @@ var fallbackDefaultWidth = 330;
|
|
|
61
61
|
* The Aside is rendered to the right (inline end) of the Main area.
|
|
62
62
|
*
|
|
63
63
|
* You can optionally render a `PanelSplitter` as a child to make the aside area resizable.
|
|
64
|
+
*
|
|
65
|
+
* Note: We plan to deprecate the Aside component. Please use Panel instead.
|
|
64
66
|
*/
|
|
65
67
|
function Aside(_ref) {
|
|
66
68
|
var children = _ref.children,
|
|
@@ -50,6 +50,8 @@ const fallbackDefaultWidth = 330;
|
|
|
50
50
|
* The Aside is rendered to the right (inline end) of the Main area.
|
|
51
51
|
*
|
|
52
52
|
* You can optionally render a `PanelSplitter` as a child to make the aside area resizable.
|
|
53
|
+
*
|
|
54
|
+
* Note: We plan to deprecate the Aside component. Please use Panel instead.
|
|
53
55
|
*/
|
|
54
56
|
export function Aside({
|
|
55
57
|
children,
|
|
@@ -52,6 +52,8 @@ var fallbackDefaultWidth = 330;
|
|
|
52
52
|
* The Aside is rendered to the right (inline end) of the Main area.
|
|
53
53
|
*
|
|
54
54
|
* You can optionally render a `PanelSplitter` as a child to make the aside area resizable.
|
|
55
|
+
*
|
|
56
|
+
* Note: We plan to deprecate the Aside component. Please use Panel instead.
|
|
55
57
|
*/
|
|
56
58
|
export function Aside(_ref) {
|
|
57
59
|
var children = _ref.children,
|
|
@@ -4,6 +4,8 @@ import type { CommonSlotProps } from './types';
|
|
|
4
4
|
* The Aside is rendered to the right (inline end) of the Main area.
|
|
5
5
|
*
|
|
6
6
|
* You can optionally render a `PanelSplitter` as a child to make the aside area resizable.
|
|
7
|
+
*
|
|
8
|
+
* Note: We plan to deprecate the Aside component. Please use Panel instead.
|
|
7
9
|
*/
|
|
8
10
|
export declare function Aside({ children, xcss, defaultWidth: defaultWidthProp, label, skipLinkLabel, testId, id: providedId, }: CommonSlotProps & {
|
|
9
11
|
/**
|
|
@@ -4,6 +4,8 @@ import type { CommonSlotProps } from './types';
|
|
|
4
4
|
* The Aside is rendered to the right (inline end) of the Main area.
|
|
5
5
|
*
|
|
6
6
|
* You can optionally render a `PanelSplitter` as a child to make the aside area resizable.
|
|
7
|
+
*
|
|
8
|
+
* Note: We plan to deprecate the Aside component. Please use Panel instead.
|
|
7
9
|
*/
|
|
8
10
|
export declare function Aside({ children, xcss, defaultWidth: defaultWidthProp, label, skipLinkLabel, testId, id: providedId, }: CommonSlotProps & {
|
|
9
11
|
/**
|
package/package.json
CHANGED