@atlaskit/side-navigation 3.0.10 → 3.1.0
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 +641 -367
- package/constellation/index/examples.mdx +17 -19
- package/constellation/index/usage.mdx +20 -6
- package/dist/cjs/components/Section/heading-item.js +1 -1
- package/dist/es2019/components/Section/heading-item.js +1 -1
- package/dist/esm/components/Section/heading-item.js +1 -1
- package/dist/types/components/Header/index.d.ts +1 -1
- package/dist/types/components/LoadingItems/index.d.ts +2 -2
- package/dist/types/components/NestableNavigationContent/index.d.ts +6 -6
- package/dist/types/components/NestingItem/index.d.ts +6 -6
- package/dist/types/components/Section/heading-item.d.ts +1 -1
- package/dist/types/components/Section/section.d.ts +4 -4
- package/dist/types/components/SideNavigation/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Header/index.d.ts +1 -1
- package/dist/types-ts4.5/components/LoadingItems/index.d.ts +2 -2
- package/dist/types-ts4.5/components/NestableNavigationContent/index.d.ts +6 -6
- package/dist/types-ts4.5/components/NestingItem/index.d.ts +6 -6
- package/dist/types-ts4.5/components/Section/heading-item.d.ts +1 -1
- package/dist/types-ts4.5/components/Section/section.d.ts +4 -4
- package/dist/types-ts4.5/components/SideNavigation/index.d.ts +2 -2
- package/package.json +10 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,1031 +1,1305 @@
|
|
|
1
1
|
# @atlaskit/side-navigation
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#94389](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94389)
|
|
8
|
+
[`5ca1173e141e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ca1173e141e) -
|
|
9
|
+
Add support for React 18.
|
|
10
|
+
|
|
3
11
|
## 3.0.10
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
6
14
|
|
|
7
|
-
-
|
|
15
|
+
- [#83188](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83188)
|
|
16
|
+
[`cd5d06cd3329`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd5d06cd3329) -
|
|
17
|
+
Minor adjustments to improve compatibility with React 18
|
|
8
18
|
|
|
9
19
|
## 3.0.9
|
|
10
20
|
|
|
11
21
|
### Patch Changes
|
|
12
22
|
|
|
13
|
-
-
|
|
23
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
24
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
25
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
14
26
|
|
|
15
27
|
## 3.0.8
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
-
|
|
31
|
+
- Updated dependencies
|
|
20
32
|
|
|
21
33
|
## 3.0.7
|
|
22
34
|
|
|
23
35
|
### Patch Changes
|
|
24
36
|
|
|
25
|
-
-
|
|
37
|
+
- Updated dependencies
|
|
26
38
|
|
|
27
39
|
## 3.0.6
|
|
28
40
|
|
|
29
41
|
### Patch Changes
|
|
30
42
|
|
|
31
|
-
-
|
|
43
|
+
- Updated dependencies
|
|
32
44
|
|
|
33
45
|
## 3.0.5
|
|
34
46
|
|
|
35
47
|
### Patch Changes
|
|
36
48
|
|
|
37
|
-
-
|
|
49
|
+
- Updated dependencies
|
|
38
50
|
|
|
39
51
|
## 3.0.4
|
|
40
52
|
|
|
41
53
|
### Patch Changes
|
|
42
54
|
|
|
43
|
-
-
|
|
55
|
+
- [#69022](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69022)
|
|
56
|
+
[`395c74147990`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/395c74147990) -
|
|
57
|
+
Migrate packages to use declarative entry points
|
|
44
58
|
|
|
45
59
|
## 3.0.3
|
|
46
60
|
|
|
47
61
|
### Patch Changes
|
|
48
62
|
|
|
49
|
-
-
|
|
63
|
+
- [#43918](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43918)
|
|
64
|
+
[`d100ca42f46`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d100ca42f46) - Push
|
|
65
|
+
model consumption configuration done for these packages
|
|
50
66
|
|
|
51
67
|
## 3.0.2
|
|
52
68
|
|
|
53
69
|
### Patch Changes
|
|
54
70
|
|
|
55
|
-
-
|
|
71
|
+
- Updated dependencies
|
|
56
72
|
|
|
57
73
|
## 3.0.1
|
|
58
74
|
|
|
59
75
|
### Patch Changes
|
|
60
76
|
|
|
61
|
-
-
|
|
77
|
+
- [#42240](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42240)
|
|
78
|
+
[`e5f784d7889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5f784d7889) - Add
|
|
79
|
+
explicit `href` to link item.
|
|
62
80
|
|
|
63
81
|
## 3.0.0
|
|
64
82
|
|
|
65
83
|
### Major Changes
|
|
66
84
|
|
|
67
|
-
-
|
|
85
|
+
- [#41355](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41355)
|
|
86
|
+
[`cd1c813da18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd1c813da18) - Menu
|
|
87
|
+
items now have a secondary selected state (border or notch), this was previously feature flagged
|
|
88
|
+
for Atlassian experiences and is now available for everyone.
|
|
68
89
|
|
|
69
|
-
|
|
90
|
+
This change makes all menu items are now relatively positioned, if you had any child elements
|
|
91
|
+
that leaned on this behaviour your experiences will now be broken!
|
|
70
92
|
|
|
71
|
-
|
|
93
|
+
For example the below code code previously the `div` would be positioned relatively to the menu
|
|
94
|
+
group element. Now, it is positioned relatively to the button item element.
|
|
72
95
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
96
|
+
```jsx
|
|
97
|
+
<MenuGroup>
|
|
98
|
+
<ButtonItem>
|
|
99
|
+
<div style={{ position: 'absolute', top: '100%' }} />
|
|
100
|
+
</ButtonItem>
|
|
101
|
+
</MenuGroup>
|
|
102
|
+
```
|
|
80
103
|
|
|
81
|
-
|
|
104
|
+
As a path forward you should not be leaning on this behaviour. If you need a popup experience
|
|
105
|
+
use `@atlaskit/dropdown-menu` or `@atlaskit/popup`.
|
|
82
106
|
|
|
83
107
|
### Patch Changes
|
|
84
108
|
|
|
85
|
-
-
|
|
109
|
+
- Updated dependencies
|
|
86
110
|
|
|
87
111
|
## 2.0.5
|
|
88
112
|
|
|
89
113
|
### Patch Changes
|
|
90
114
|
|
|
91
|
-
-
|
|
115
|
+
- Updated dependencies
|
|
92
116
|
|
|
93
117
|
## 2.0.4
|
|
94
118
|
|
|
95
119
|
### Patch Changes
|
|
96
120
|
|
|
97
|
-
-
|
|
121
|
+
- [#39812](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39812)
|
|
122
|
+
[`879275819ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/879275819ed) - Fix
|
|
123
|
+
for `data-testid` not being applied to Header.
|
|
98
124
|
|
|
99
125
|
## 2.0.3
|
|
100
126
|
|
|
101
127
|
### Patch Changes
|
|
102
128
|
|
|
103
|
-
-
|
|
104
|
-
-
|
|
129
|
+
- [#39264](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39264)
|
|
130
|
+
[`e3b28897c5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3b28897c5f) -
|
|
131
|
+
Internal code changes. There is no expected change in behaviour.
|
|
132
|
+
- Updated dependencies
|
|
105
133
|
|
|
106
134
|
## 2.0.2
|
|
107
135
|
|
|
108
136
|
### Patch Changes
|
|
109
137
|
|
|
110
|
-
-
|
|
138
|
+
- [#39419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39419)
|
|
139
|
+
[`bff06efcf86`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bff06efcf86) - Fix a
|
|
140
|
+
bug where `className` was not being applied to Header.
|
|
111
141
|
|
|
112
142
|
## 2.0.1
|
|
113
143
|
|
|
114
144
|
### Patch Changes
|
|
115
145
|
|
|
116
|
-
-
|
|
146
|
+
- [#38751](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38751)
|
|
147
|
+
[`cac6bbb702d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cac6bbb702d) - The
|
|
148
|
+
internal composition of this component has changed. There is no expected change in behavior.
|
|
117
149
|
|
|
118
150
|
## 2.0.0
|
|
119
151
|
|
|
120
152
|
### Major Changes
|
|
121
153
|
|
|
122
|
-
-
|
|
154
|
+
- [#38561](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38561)
|
|
155
|
+
[`cf66b43d67a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf66b43d67a) -
|
|
156
|
+
Updated spacing of Side Navigation components to ensure token values and fallbacks are matching.
|
|
157
|
+
When used with space tokens enabled, there is no visual difference with the previous release of
|
|
158
|
+
Side Navigation. When used without space tokens enabled there will be a slight visual
|
|
159
|
+
difference; we recommend enabling space tokens if they are not already enabled to resolve this.
|
|
123
160
|
|
|
124
161
|
## 1.10.4
|
|
125
162
|
|
|
126
163
|
### Patch Changes
|
|
127
164
|
|
|
128
|
-
-
|
|
165
|
+
- [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533)
|
|
166
|
+
[`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) -
|
|
167
|
+
Updated dependencies
|
|
129
168
|
|
|
130
169
|
## 1.10.3
|
|
131
170
|
|
|
132
171
|
### Patch Changes
|
|
133
172
|
|
|
134
|
-
-
|
|
173
|
+
- Updated dependencies
|
|
135
174
|
|
|
136
175
|
## 1.10.2
|
|
137
176
|
|
|
138
177
|
### Patch Changes
|
|
139
178
|
|
|
140
|
-
-
|
|
179
|
+
- Updated dependencies
|
|
141
180
|
|
|
142
181
|
## 1.10.1
|
|
143
182
|
|
|
144
183
|
### Patch Changes
|
|
145
184
|
|
|
146
|
-
-
|
|
185
|
+
- Updated dependencies
|
|
147
186
|
|
|
148
187
|
## 1.10.0
|
|
149
188
|
|
|
150
189
|
### Minor Changes
|
|
151
190
|
|
|
152
|
-
-
|
|
191
|
+
- [#36118](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36118)
|
|
192
|
+
[`ee296a14a87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee296a14a87) - Adds
|
|
193
|
+
the `showTopScrollIndicator` prop to the nestable navigation content component. This prop should
|
|
194
|
+
be used only when needed to distinctly separate the side navigation header from the side
|
|
195
|
+
navigation content.
|
|
153
196
|
|
|
154
197
|
## 1.9.0
|
|
155
198
|
|
|
156
199
|
### Minor Changes
|
|
157
200
|
|
|
158
|
-
-
|
|
201
|
+
- [#35164](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35164)
|
|
202
|
+
[`0af122e7d0f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0af122e7d0f) - [ux]
|
|
203
|
+
Prop isList in Section component allows to add `<ul>` and `<li>` elements around the items to
|
|
204
|
+
better semantic markup if it is a list of items
|
|
159
205
|
|
|
160
206
|
### Patch Changes
|
|
161
207
|
|
|
162
|
-
-
|
|
208
|
+
- Updated dependencies
|
|
163
209
|
|
|
164
210
|
## 1.8.10
|
|
165
211
|
|
|
166
212
|
### Patch Changes
|
|
167
213
|
|
|
168
|
-
-
|
|
214
|
+
- Updated dependencies
|
|
169
215
|
|
|
170
216
|
## 1.8.9
|
|
171
217
|
|
|
172
218
|
### Patch Changes
|
|
173
219
|
|
|
174
|
-
-
|
|
220
|
+
- Updated dependencies
|
|
175
221
|
|
|
176
222
|
## 1.8.8
|
|
177
223
|
|
|
178
224
|
### Patch Changes
|
|
179
225
|
|
|
180
|
-
-
|
|
181
|
-
-
|
|
226
|
+
- [#35385](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35385)
|
|
227
|
+
[`967dd926bfc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/967dd926bfc) -
|
|
228
|
+
Updates all navigation components to use border/shape tokens. This is a no-op as these tokens
|
|
229
|
+
are not enabled in product.
|
|
230
|
+
- Updated dependencies
|
|
182
231
|
|
|
183
232
|
## 1.8.7
|
|
184
233
|
|
|
185
234
|
### Patch Changes
|
|
186
235
|
|
|
187
|
-
-
|
|
236
|
+
- [#35460](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35460)
|
|
237
|
+
[`4757acc0f98`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4757acc0f98) -
|
|
238
|
+
Internal change to use space tokens for spacing properties. There is no visual change.
|
|
188
239
|
|
|
189
240
|
## 1.8.6
|
|
190
241
|
|
|
191
242
|
### Patch Changes
|
|
192
243
|
|
|
193
|
-
-
|
|
244
|
+
- Updated dependencies
|
|
194
245
|
|
|
195
246
|
## 1.8.5
|
|
196
247
|
|
|
197
248
|
### Patch Changes
|
|
198
249
|
|
|
199
|
-
-
|
|
250
|
+
- Updated dependencies
|
|
200
251
|
|
|
201
252
|
## 1.8.4
|
|
202
253
|
|
|
203
254
|
### Patch Changes
|
|
204
255
|
|
|
205
|
-
-
|
|
256
|
+
- Updated dependencies
|
|
206
257
|
|
|
207
258
|
## 1.8.3
|
|
208
259
|
|
|
209
260
|
### Patch Changes
|
|
210
261
|
|
|
211
|
-
-
|
|
262
|
+
- [#34881](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34881)
|
|
263
|
+
[`774ed69ecef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/774ed69ecef) -
|
|
264
|
+
Internal changes to use space tokens for spacing values. There is no visual change.
|
|
212
265
|
|
|
213
266
|
## 1.8.2
|
|
214
267
|
|
|
215
268
|
### Patch Changes
|
|
216
269
|
|
|
217
|
-
-
|
|
270
|
+
- [#33652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33652)
|
|
271
|
+
[`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans
|
|
272
|
+
the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18
|
|
273
|
+
migration work. The change is internal only and should not introduce any changes for the
|
|
274
|
+
component consumers.
|
|
218
275
|
|
|
219
276
|
## 1.8.1
|
|
220
277
|
|
|
221
278
|
### Patch Changes
|
|
222
279
|
|
|
223
|
-
-
|
|
280
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
281
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
282
|
+
legacy types are published for TS 4.5-4.8
|
|
224
283
|
|
|
225
284
|
## 1.8.0
|
|
226
285
|
|
|
227
286
|
### Minor Changes
|
|
228
287
|
|
|
229
|
-
-
|
|
288
|
+
- [#33349](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33349)
|
|
289
|
+
[`d518f0e34b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d518f0e34b9) - [ux]
|
|
290
|
+
We are testing a selected indicator change to menu, dropdown-menu, and side-navigation packages
|
|
291
|
+
behind an internal feature flag. If successful this will be released in a later minor release.
|
|
230
292
|
|
|
231
293
|
### Patch Changes
|
|
232
294
|
|
|
233
|
-
-
|
|
295
|
+
- Updated dependencies
|
|
234
296
|
|
|
235
297
|
## 1.7.1
|
|
236
298
|
|
|
237
299
|
### Patch Changes
|
|
238
300
|
|
|
239
|
-
-
|
|
301
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
302
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
303
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
240
304
|
|
|
241
305
|
## 1.7.0
|
|
242
306
|
|
|
243
307
|
### Minor Changes
|
|
244
308
|
|
|
245
|
-
-
|
|
309
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
310
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
311
|
+
minor dependency bump
|
|
246
312
|
|
|
247
313
|
### Patch Changes
|
|
248
314
|
|
|
249
|
-
-
|
|
315
|
+
- Updated dependencies
|
|
250
316
|
|
|
251
317
|
## 1.6.8
|
|
252
318
|
|
|
253
319
|
### Patch Changes
|
|
254
320
|
|
|
255
|
-
-
|
|
321
|
+
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
|
|
322
|
+
[`65e4baeea85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65e4baeea85) -
|
|
323
|
+
Internal changes.
|
|
256
324
|
|
|
257
325
|
## 1.6.7
|
|
258
326
|
|
|
259
327
|
### Patch Changes
|
|
260
328
|
|
|
261
|
-
-
|
|
329
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
330
|
+
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
|
|
331
|
+
remove before merging to master; dupe adf-schema via adf-utils
|
|
262
332
|
|
|
263
333
|
## 1.6.6
|
|
264
334
|
|
|
265
335
|
### Patch Changes
|
|
266
336
|
|
|
267
|
-
-
|
|
337
|
+
- Updated dependencies
|
|
268
338
|
|
|
269
339
|
## 1.6.5
|
|
270
340
|
|
|
271
341
|
### Patch Changes
|
|
272
342
|
|
|
273
|
-
-
|
|
343
|
+
- [#32173](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32173)
|
|
344
|
+
[`f7f852b0a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f852b0a4f) -
|
|
345
|
+
Migrated use of `gridSize` to space tokens where possible. There is no expected visual or
|
|
346
|
+
behaviour change.
|
|
274
347
|
|
|
275
348
|
## 1.6.4
|
|
276
349
|
|
|
277
350
|
### Patch Changes
|
|
278
351
|
|
|
279
|
-
-
|
|
352
|
+
- Updated dependencies
|
|
280
353
|
|
|
281
354
|
## 1.6.3
|
|
282
355
|
|
|
283
356
|
### Patch Changes
|
|
284
357
|
|
|
285
|
-
-
|
|
358
|
+
- Updated dependencies
|
|
286
359
|
|
|
287
360
|
## 1.6.2
|
|
288
361
|
|
|
289
362
|
### Patch Changes
|
|
290
363
|
|
|
291
|
-
-
|
|
364
|
+
- Updated dependencies
|
|
292
365
|
|
|
293
366
|
## 1.6.1
|
|
294
367
|
|
|
295
368
|
### Patch Changes
|
|
296
369
|
|
|
297
|
-
-
|
|
298
|
-
-
|
|
370
|
+
- [#31378](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31378)
|
|
371
|
+
[`3ca97be0c06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ca97be0c06) -
|
|
372
|
+
Internal change only. Replace usages of Inline/Stack with stable version from
|
|
373
|
+
`@atlaskit/primitives`.
|
|
374
|
+
- Updated dependencies
|
|
299
375
|
|
|
300
376
|
## 1.6.0
|
|
301
377
|
|
|
302
378
|
### Minor Changes
|
|
303
379
|
|
|
304
|
-
-
|
|
380
|
+
- [#30362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30362)
|
|
381
|
+
[`62c9d42799c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62c9d42799c) - [ux]
|
|
382
|
+
The `Footer` component will now warn a user if they are relying on a deprecated API. The
|
|
383
|
+
`cssFn`, `onClick` and `component` are all considered deprecated APIs for `Footer`.
|
|
305
384
|
|
|
306
|
-
|
|
385
|
+
Additionally, the space between icons and content has been shifted form `16px` to `12px`. This
|
|
386
|
+
matches `@atlaskit/menu`.
|
|
307
387
|
|
|
308
|
-
|
|
388
|
+
These APIs will be removed from Footer in a future major release. To suppress the warning you
|
|
389
|
+
can choose to use the `useDeprecatedApi={false}` prop which opts into the new API.
|
|
309
390
|
|
|
310
391
|
### Patch Changes
|
|
311
392
|
|
|
312
|
-
-
|
|
393
|
+
- Updated dependencies
|
|
313
394
|
|
|
314
395
|
## 1.5.3
|
|
315
396
|
|
|
316
397
|
### Patch Changes
|
|
317
398
|
|
|
318
|
-
-
|
|
399
|
+
- Updated dependencies
|
|
319
400
|
|
|
320
401
|
## 1.5.2
|
|
321
402
|
|
|
322
403
|
### Patch Changes
|
|
323
404
|
|
|
324
|
-
-
|
|
405
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
|
|
406
|
+
[`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) -
|
|
407
|
+
Internal change to update token references. There is no expected behaviour or visual change.
|
|
325
408
|
|
|
326
409
|
## 1.5.1
|
|
327
410
|
|
|
328
411
|
### Patch Changes
|
|
329
412
|
|
|
330
|
-
-
|
|
331
|
-
-
|
|
413
|
+
- [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891)
|
|
414
|
+
[`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) -
|
|
415
|
+
Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs.
|
|
416
|
+
There are no visual or behaviour changes.
|
|
417
|
+
- Updated dependencies
|
|
332
418
|
|
|
333
419
|
## 1.5.0
|
|
334
420
|
|
|
335
421
|
### Minor Changes
|
|
336
422
|
|
|
337
|
-
-
|
|
423
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
424
|
+
[`caa68aad0fd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/caa68aad0fd) -
|
|
425
|
+
Internal changes around styles:
|
|
338
426
|
|
|
339
|
-
|
|
340
|
-
|
|
427
|
+
- Application of primitives for more declarative code
|
|
428
|
+
- Application of spacing tokens to internal styles
|
|
341
429
|
|
|
342
430
|
### Patch Changes
|
|
343
431
|
|
|
344
|
-
-
|
|
345
|
-
|
|
432
|
+
- [`f96f3ebd861`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f96f3ebd861) - [ux]
|
|
433
|
+
Use color.background.neutral.subtle token to represent transparent background.
|
|
434
|
+
- [`fbe4c12c94b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbe4c12c94b) -
|
|
435
|
+
DTR-995 fix move page dialog bg color
|
|
346
436
|
|
|
347
437
|
## 1.4.3
|
|
348
438
|
|
|
349
439
|
### Patch Changes
|
|
350
440
|
|
|
351
|
-
-
|
|
441
|
+
- Updated dependencies
|
|
352
442
|
|
|
353
443
|
## 1.4.2
|
|
354
444
|
|
|
355
445
|
### Patch Changes
|
|
356
446
|
|
|
357
|
-
-
|
|
447
|
+
- Updated dependencies
|
|
358
448
|
|
|
359
449
|
## 1.4.1
|
|
360
450
|
|
|
361
451
|
### Patch Changes
|
|
362
452
|
|
|
363
|
-
-
|
|
453
|
+
- Updated dependencies
|
|
364
454
|
|
|
365
455
|
## 1.4.0
|
|
366
456
|
|
|
367
457
|
### Minor Changes
|
|
368
458
|
|
|
369
|
-
-
|
|
459
|
+
- [#26817](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26817)
|
|
460
|
+
[`5c065ba2010`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c065ba2010) -
|
|
461
|
+
Improve state management to allow detection of invalid stack state. Add prop `onUnknownNest` to
|
|
462
|
+
allow handling of invalid stack state.
|
|
370
463
|
|
|
371
464
|
## 1.3.1
|
|
372
465
|
|
|
373
466
|
### Patch Changes
|
|
374
467
|
|
|
375
|
-
-
|
|
468
|
+
- [#26390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26390)
|
|
469
|
+
[`5f36f2ce46d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f36f2ce46d) - Adds a
|
|
470
|
+
defensive `css()` function wrapping to many of the style calls in the side-navigation package.
|
|
471
|
+
This is expected to help fix an issue with certain styles in side navigation not appearing if
|
|
472
|
+
consumed when different versions of `@emotion` are present on the page.
|
|
376
473
|
|
|
377
474
|
## 1.3.0
|
|
378
475
|
|
|
379
476
|
### Minor Changes
|
|
380
477
|
|
|
381
|
-
-
|
|
478
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
479
|
+
[`02e2f7aacef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02e2f7aacef) -
|
|
480
|
+
Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
382
481
|
|
|
383
482
|
### Patch Changes
|
|
384
483
|
|
|
385
|
-
-
|
|
484
|
+
- Updated dependencies
|
|
386
485
|
|
|
387
486
|
## 1.2.15
|
|
388
487
|
|
|
389
488
|
### Patch Changes
|
|
390
489
|
|
|
391
|
-
-
|
|
490
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
491
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
|
|
492
|
+
Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
392
493
|
|
|
393
494
|
## 1.2.14
|
|
394
495
|
|
|
395
496
|
### Patch Changes
|
|
396
497
|
|
|
397
|
-
-
|
|
498
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
499
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
|
|
500
|
+
Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
398
501
|
|
|
399
502
|
## 1.2.13
|
|
400
503
|
|
|
401
504
|
### Patch Changes
|
|
402
505
|
|
|
403
|
-
-
|
|
404
|
-
-
|
|
506
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
507
|
+
[`b2767947029`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2767947029) -
|
|
508
|
+
Internal code change turning on new linting rules.
|
|
509
|
+
- Updated dependencies
|
|
405
510
|
|
|
406
511
|
## 1.2.12
|
|
407
512
|
|
|
408
513
|
### Patch Changes
|
|
409
514
|
|
|
410
|
-
-
|
|
515
|
+
- Updated dependencies
|
|
411
516
|
|
|
412
517
|
## 1.2.11
|
|
413
518
|
|
|
414
519
|
### Patch Changes
|
|
415
520
|
|
|
416
|
-
-
|
|
521
|
+
- [#21545](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21545)
|
|
522
|
+
[`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) -
|
|
523
|
+
Adjusts jsdoc strings to improve prop documentation
|
|
417
524
|
|
|
418
525
|
## 1.2.10
|
|
419
526
|
|
|
420
527
|
### Patch Changes
|
|
421
528
|
|
|
422
|
-
-
|
|
529
|
+
- Updated dependencies
|
|
423
530
|
|
|
424
531
|
## 1.2.9
|
|
425
532
|
|
|
426
533
|
### Patch Changes
|
|
427
534
|
|
|
428
|
-
-
|
|
535
|
+
- [#21309](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21309)
|
|
536
|
+
[`85ca75319b1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85ca75319b1) - Move
|
|
537
|
+
side-navigation docs to Constellation (atlassian.design)
|
|
429
538
|
|
|
430
539
|
## 1.2.8
|
|
431
540
|
|
|
432
541
|
### Patch Changes
|
|
433
542
|
|
|
434
|
-
-
|
|
543
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
544
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
|
|
545
|
+
Upgrade to TypeScript 4.2.4
|
|
435
546
|
|
|
436
547
|
## 1.2.7
|
|
437
548
|
|
|
438
549
|
### Patch Changes
|
|
439
550
|
|
|
440
|
-
-
|
|
551
|
+
- Updated dependencies
|
|
441
552
|
|
|
442
553
|
## 1.2.6
|
|
443
554
|
|
|
444
555
|
### Patch Changes
|
|
445
556
|
|
|
446
|
-
-
|
|
447
|
-
-
|
|
557
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
|
|
558
|
+
[`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) -
|
|
559
|
+
Migrates all usage of brand tokens to either selected or information tokens. This change is
|
|
560
|
+
purely for semantic reasons, there are no visual or behavioural changes.
|
|
561
|
+
- Updated dependencies
|
|
448
562
|
|
|
449
563
|
## 1.2.5
|
|
450
564
|
|
|
451
565
|
### Patch Changes
|
|
452
566
|
|
|
453
|
-
-
|
|
567
|
+
- Updated dependencies
|
|
454
568
|
|
|
455
569
|
## 1.2.4
|
|
456
570
|
|
|
457
571
|
### Patch Changes
|
|
458
572
|
|
|
459
|
-
-
|
|
460
|
-
-
|
|
573
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
|
|
574
|
+
[`0f8fe0b80aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f8fe0b80aa) - Adds
|
|
575
|
+
deprecated status to `cssFn` prop. Please avoid using this prop as we intend to remove the prop
|
|
576
|
+
completely in a future release.
|
|
577
|
+
- Updated dependencies
|
|
461
578
|
|
|
462
579
|
## 1.2.3
|
|
463
580
|
|
|
464
581
|
### Patch Changes
|
|
465
582
|
|
|
466
|
-
-
|
|
467
|
-
-
|
|
583
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
584
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
|
|
585
|
+
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
|
|
586
|
+
auto-fixing by correctly formatting token ids.
|
|
587
|
+
- Updated dependencies
|
|
468
588
|
|
|
469
589
|
## 1.2.2
|
|
470
590
|
|
|
471
591
|
### Patch Changes
|
|
472
592
|
|
|
473
|
-
-
|
|
593
|
+
- Updated dependencies
|
|
474
594
|
|
|
475
595
|
## 1.2.1
|
|
476
596
|
|
|
477
597
|
### Patch Changes
|
|
478
598
|
|
|
479
|
-
-
|
|
480
|
-
-
|
|
599
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
600
|
+
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
601
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
602
|
+
tokens() function and improving bundle size.
|
|
603
|
+
- Updated dependencies
|
|
481
604
|
|
|
482
605
|
## 1.2.0
|
|
483
606
|
|
|
484
607
|
### Minor Changes
|
|
485
608
|
|
|
486
|
-
-
|
|
487
|
-
|
|
609
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
|
|
610
|
+
[`213bfd77e61`](https://bitbucket.org/atlassian/atlassian-frontend/commits/213bfd77e61) - The
|
|
611
|
+
DOM structure of menu item components has been flattened. If you used CSS hacks (via className
|
|
612
|
+
or cssFn) that targetted specific DOM nodes you may be broken.
|
|
488
613
|
|
|
489
|
-
|
|
614
|
+
Previously the structure looked like:
|
|
490
615
|
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
616
|
+
```jsx
|
|
617
|
+
<button>
|
|
618
|
+
<div> // <-- this intermediate div has been removed
|
|
619
|
+
<span>
|
|
620
|
+
<span />
|
|
621
|
+
</span>
|
|
622
|
+
</div>
|
|
623
|
+
</button>
|
|
624
|
+
```
|
|
500
625
|
|
|
501
|
-
|
|
626
|
+
Now it looks like:
|
|
502
627
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
628
|
+
```jsx
|
|
629
|
+
<button>
|
|
630
|
+
<span>
|
|
631
|
+
<span />
|
|
632
|
+
</span>
|
|
633
|
+
</button>
|
|
634
|
+
```
|
|
510
635
|
|
|
511
|
-
-
|
|
636
|
+
- [`e4f332d8697`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4f332d8697) -
|
|
637
|
+
Internal refactor to update style declarations to match menu changes.
|
|
512
638
|
|
|
513
639
|
### Patch Changes
|
|
514
640
|
|
|
515
|
-
-
|
|
641
|
+
- Updated dependencies
|
|
516
642
|
|
|
517
643
|
## 1.1.2
|
|
518
644
|
|
|
519
645
|
### Patch Changes
|
|
520
646
|
|
|
521
|
-
-
|
|
647
|
+
- Updated dependencies
|
|
522
648
|
|
|
523
649
|
## 1.1.1
|
|
524
650
|
|
|
525
651
|
### Patch Changes
|
|
526
652
|
|
|
527
|
-
-
|
|
653
|
+
- Updated dependencies
|
|
528
654
|
|
|
529
655
|
## 1.1.0
|
|
530
656
|
|
|
531
657
|
### Minor Changes
|
|
532
658
|
|
|
533
|
-
-
|
|
659
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
|
|
660
|
+
[`0e1894c8eb0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e1894c8eb0) -
|
|
661
|
+
Instrumented side navigation with the new theming package, `@atlaskit/tokens`.
|
|
534
662
|
|
|
535
|
-
|
|
536
|
-
|
|
663
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently
|
|
664
|
+
in alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
665
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
537
666
|
|
|
538
667
|
### Patch Changes
|
|
539
668
|
|
|
540
|
-
-
|
|
669
|
+
- Updated dependencies
|
|
541
670
|
|
|
542
671
|
## 1.0.1
|
|
543
672
|
|
|
544
673
|
### Patch Changes
|
|
545
674
|
|
|
546
|
-
-
|
|
675
|
+
- [#11491](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11491)
|
|
676
|
+
[`7c843858398`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c843858398) - [ux]
|
|
677
|
+
LinkItem and CustomItem now have correct blue text color when selected and the href has visited
|
|
547
678
|
|
|
548
679
|
## 1.0.0
|
|
549
680
|
|
|
550
681
|
### Major Changes
|
|
551
682
|
|
|
552
|
-
-
|
|
683
|
+
- [#10609](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10609)
|
|
684
|
+
[`7727f723965`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7727f723965) -
|
|
685
|
+
Internal change to the release model from continous to scheduled release. There are **NO API
|
|
686
|
+
CHANGES** in this release.
|
|
553
687
|
|
|
554
688
|
### Patch Changes
|
|
555
689
|
|
|
556
|
-
-
|
|
690
|
+
- Updated dependencies
|
|
557
691
|
|
|
558
692
|
## 0.8.5
|
|
559
693
|
|
|
560
694
|
### Patch Changes
|
|
561
695
|
|
|
562
|
-
-
|
|
696
|
+
- [#10255](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10255)
|
|
697
|
+
[`4e72825fa89`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e72825fa89) -
|
|
698
|
+
JET-1156:
|
|
563
699
|
|
|
564
|
-
|
|
565
|
-
|
|
700
|
+
- Export `VAR_SEPARATOR_COLOR` to override separator color when using custom backrounds in
|
|
701
|
+
side navigation.
|
|
702
|
+
- Export `VAR_SCROLL_INDICATOR_COLOR` to override menu scroll indicator color when using
|
|
703
|
+
custom backrounds in side navigation.
|
|
566
704
|
|
|
567
705
|
## 0.8.4
|
|
568
706
|
|
|
569
707
|
### Patch Changes
|
|
570
708
|
|
|
571
|
-
-
|
|
572
|
-
-
|
|
709
|
+
- [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756)
|
|
710
|
+
[`240c4120435`](https://bitbucket.org/atlassian/atlassian-frontend/commits/240c4120435) - Side
|
|
711
|
+
navigation now uses the new common utility to calculate scrollbar width for offsetting keylines.
|
|
712
|
+
- Updated dependencies
|
|
573
713
|
|
|
574
714
|
## 0.8.3
|
|
575
715
|
|
|
576
716
|
### Patch Changes
|
|
577
717
|
|
|
578
|
-
-
|
|
718
|
+
- [#8875](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8875)
|
|
719
|
+
[`e6f96e8d782`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6f96e8d782) - Fix
|
|
720
|
+
styling for hover and active states for disabled items
|
|
579
721
|
|
|
580
722
|
## 0.8.2
|
|
581
723
|
|
|
582
724
|
### Patch Changes
|
|
583
725
|
|
|
584
|
-
-
|
|
726
|
+
- [#8637](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8637)
|
|
727
|
+
[`101b102ed33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/101b102ed33) - Fix
|
|
728
|
+
disabled state; menu items with icons after the text should have height of 40px
|
|
585
729
|
|
|
586
730
|
## 0.8.1
|
|
587
731
|
|
|
588
732
|
### Patch Changes
|
|
589
733
|
|
|
590
|
-
-
|
|
734
|
+
- [#8404](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8404)
|
|
735
|
+
[`0b2f7e76803`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b2f7e76803) -
|
|
736
|
+
Codemods will only format a file if it is mutated.
|
|
591
737
|
|
|
592
738
|
## 0.8.0
|
|
593
739
|
|
|
594
740
|
### Minor Changes
|
|
595
741
|
|
|
596
|
-
-
|
|
742
|
+
- [#6194](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6194)
|
|
743
|
+
[`79a40dec30`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79a40dec30) -
|
|
744
|
+
**Breaking** Adjusts the API of the cssFn prop used in both menu and side-navigation. The prop
|
|
745
|
+
now no longer exposes the currentStyles to the user in the callback and instead only provides
|
|
746
|
+
the current state. Users no longer need to spread the currentStyles into their components when
|
|
747
|
+
overriding. This change also resolves a bug where cssFn overrides did not always take precedence
|
|
748
|
+
correctly over the default component styles.
|
|
597
749
|
|
|
598
750
|
### Patch Changes
|
|
599
751
|
|
|
600
|
-
-
|
|
752
|
+
- Updated dependencies
|
|
601
753
|
|
|
602
754
|
## 0.7.10
|
|
603
755
|
|
|
604
756
|
### Patch Changes
|
|
605
757
|
|
|
606
|
-
-
|
|
758
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
759
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
|
|
760
|
+
Transpile packages using babel rather than tsc
|
|
607
761
|
|
|
608
762
|
## 0.7.9
|
|
609
763
|
|
|
610
764
|
### Patch Changes
|
|
611
765
|
|
|
612
|
-
-
|
|
613
|
-
|
|
614
|
-
|
|
766
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
767
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
768
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
769
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle
|
|
770
|
+
Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
771
|
+
`devDependencies` to denote version that the package was built with.
|
|
615
772
|
|
|
616
773
|
## 0.7.8
|
|
617
774
|
|
|
618
775
|
### Patch Changes
|
|
619
776
|
|
|
620
|
-
-
|
|
777
|
+
- [#5419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5419)
|
|
778
|
+
[`e55c4eb5a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e55c4eb5a8) - [ux]
|
|
779
|
+
Earlier left sidebar was getting focus while clicking on it. We have removed focus ring to fix
|
|
780
|
+
this issue.
|
|
621
781
|
|
|
622
782
|
## 0.7.7
|
|
623
783
|
|
|
624
784
|
### Patch Changes
|
|
625
785
|
|
|
626
|
-
-
|
|
786
|
+
- Updated dependencies
|
|
627
787
|
|
|
628
788
|
## 0.7.6
|
|
629
789
|
|
|
630
790
|
### Patch Changes
|
|
631
791
|
|
|
632
|
-
-
|
|
792
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
793
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
794
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
633
795
|
|
|
634
|
-
|
|
635
|
-
|
|
796
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this
|
|
797
|
+
tslib upgrade to prevent duplicates of tslib being bundled.
|
|
636
798
|
|
|
637
799
|
## 0.7.5
|
|
638
800
|
|
|
639
801
|
### Patch Changes
|
|
640
802
|
|
|
641
|
-
-
|
|
803
|
+
- [#4272](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4272)
|
|
804
|
+
[`a3c91f82f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a3c91f82f6) - Add
|
|
805
|
+
tabindex=0 to nested container which makes it focusable when interacting with keyboard.
|
|
642
806
|
|
|
643
807
|
## 0.7.4
|
|
644
808
|
|
|
645
809
|
### Patch Changes
|
|
646
810
|
|
|
647
|
-
-
|
|
811
|
+
- [#4198](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4198)
|
|
812
|
+
[`308ad47024`](https://bitbucket.org/atlassian/atlassian-frontend/commits/308ad47024) - Passes
|
|
813
|
+
`cssFn` throught to NestingItem so that its styles can be customised
|
|
648
814
|
|
|
649
815
|
## 0.7.3
|
|
650
816
|
|
|
651
817
|
### Patch Changes
|
|
652
818
|
|
|
653
|
-
-
|
|
819
|
+
- Updated dependencies
|
|
654
820
|
|
|
655
821
|
## 0.7.2
|
|
656
822
|
|
|
657
823
|
### Patch Changes
|
|
658
824
|
|
|
659
|
-
-
|
|
660
|
-
|
|
825
|
+
- [#3980](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3980)
|
|
826
|
+
[`159e0808a5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/159e0808a5) - Updates
|
|
827
|
+
the background color of NestingItem, ButtonItem and LinkItem so that it can work with the
|
|
828
|
+
Onboarding component. Hover and selected states will appear darker and they provide better
|
|
829
|
+
contrast against normal items.
|
|
661
830
|
|
|
662
831
|
## 0.7.1
|
|
663
832
|
|
|
664
833
|
### Patch Changes
|
|
665
834
|
|
|
666
|
-
-
|
|
835
|
+
- [#3532](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3532)
|
|
836
|
+
[`5b3383fe67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5b3383fe67) - Nesting
|
|
837
|
+
transitions will no longer occur if a modifier key such as Shift or Control is detected while
|
|
838
|
+
clicking on a nesting item in the side-navigation.
|
|
667
839
|
|
|
668
840
|
## 0.7.0
|
|
669
841
|
|
|
670
842
|
### Minor Changes
|
|
671
843
|
|
|
672
|
-
-
|
|
844
|
+
- [#3569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3569)
|
|
845
|
+
[`c7e637753f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c7e637753f) - Removed
|
|
846
|
+
unused export of SIDEBAR_DEFAULT_WIDTH. It was added when page-layout wasn’t complete. Now
|
|
847
|
+
page-layout is fairly mature, that’s why this export isn’t required anymore.
|
|
673
848
|
|
|
674
849
|
## 0.6.1
|
|
675
850
|
|
|
676
851
|
### Patch Changes
|
|
677
852
|
|
|
678
|
-
-
|
|
853
|
+
- [#3469](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3469)
|
|
854
|
+
[`01e279bdcd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/01e279bdcd) - Restyled
|
|
855
|
+
footer - align with new design
|
|
679
856
|
|
|
680
857
|
## 0.6.0
|
|
681
858
|
|
|
682
859
|
### Minor Changes
|
|
683
860
|
|
|
684
|
-
-
|
|
685
|
-
|
|
861
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
862
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) -
|
|
863
|
+
Officially dropping IE11 support, from this version onwards there are no warranties of the
|
|
864
|
+
package working in IE11. For more information see:
|
|
865
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
686
866
|
|
|
687
867
|
### Patch Changes
|
|
688
868
|
|
|
689
|
-
-
|
|
869
|
+
- Updated dependencies
|
|
690
870
|
|
|
691
871
|
## 0.5.7
|
|
692
872
|
|
|
693
873
|
### Patch Changes
|
|
694
874
|
|
|
695
|
-
-
|
|
875
|
+
- Updated dependencies
|
|
696
876
|
|
|
697
877
|
## 0.5.6
|
|
698
878
|
|
|
699
879
|
### Patch Changes
|
|
700
880
|
|
|
701
|
-
-
|
|
881
|
+
- [#2889](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2889)
|
|
882
|
+
[`cc14956821`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc14956821) - Update
|
|
883
|
+
all the theme imports to a path thats tree shakable
|
|
702
884
|
|
|
703
885
|
## 0.5.5
|
|
704
886
|
|
|
705
887
|
### Patch Changes
|
|
706
888
|
|
|
707
|
-
-
|
|
889
|
+
- [#2775](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2775)
|
|
890
|
+
[`5217dcfa4d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5217dcfa4d) - Remove
|
|
891
|
+
opacity from side-navigation seperators that appear when the container scrolls. The color is the
|
|
892
|
+
same, just without the alpha channel.
|
|
708
893
|
|
|
709
894
|
## 0.5.4
|
|
710
895
|
|
|
711
896
|
### Patch Changes
|
|
712
897
|
|
|
713
|
-
-
|
|
714
|
-
|
|
715
|
-
|
|
898
|
+
- [#2537](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2537)
|
|
899
|
+
[`d674e203b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d674e203b3) -
|
|
900
|
+
Previously Menu items controlled their own margin spacing which caused issues when trying to use
|
|
901
|
+
them outside of Menu. Now we have moved Menu item margin styles into the Section component so
|
|
902
|
+
now the Section dictates the spacing around child items. We had to update Side Navigation to
|
|
903
|
+
control its child item margins as well.
|
|
716
904
|
|
|
717
905
|
## 0.5.3
|
|
718
906
|
|
|
719
907
|
### Patch Changes
|
|
720
908
|
|
|
721
|
-
-
|
|
909
|
+
- [#2430](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2430)
|
|
910
|
+
[`649f69b6d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/649f69b6d7) - Patch
|
|
911
|
+
all packages that are used by confluence that have a broken es2019 dist
|
|
722
912
|
|
|
723
913
|
## 0.5.2
|
|
724
914
|
|
|
725
915
|
### Patch Changes
|
|
726
916
|
|
|
727
|
-
-
|
|
917
|
+
- [#2099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2099)
|
|
918
|
+
[`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add
|
|
919
|
+
missing tslib dependency
|
|
728
920
|
|
|
729
921
|
## 0.5.1
|
|
730
922
|
|
|
731
923
|
### Patch Changes
|
|
732
924
|
|
|
733
|
-
-
|
|
925
|
+
- [#2098](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2098)
|
|
926
|
+
[`6ef13297b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ef13297b2) - Fixes
|
|
927
|
+
scroll indicator not being the correct width when lazy loading large amounts of nav items.
|
|
734
928
|
|
|
735
929
|
## 0.5.0
|
|
736
930
|
|
|
737
931
|
### Minor Changes
|
|
738
932
|
|
|
739
|
-
-
|
|
933
|
+
- [#2008](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2008)
|
|
934
|
+
[`07b2d8c491`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07b2d8c491) - FIX:
|
|
935
|
+
NestedItem `iconAfter` will now display always and right arrow will show up and replace it on
|
|
936
|
+
hover
|
|
740
937
|
|
|
741
938
|
## 0.4.0
|
|
742
939
|
|
|
743
940
|
### Minor Changes
|
|
744
941
|
|
|
745
|
-
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
942
|
+
- [minor][7e408e4037](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e408e4037):
|
|
943
|
+
|
|
944
|
+
**BREAKING** - renames `elemBefore` and `elemAfter` props to `iconBefore` and `iconAfter` on all
|
|
945
|
+
item components.-
|
|
946
|
+
[minor][d1ef176211](https://bitbucket.org/atlassian/atlassian-frontend/commits/d1ef176211):
|
|
947
|
+
|
|
948
|
+
**BREAKING** - renames section heading to heading item-
|
|
949
|
+
[minor][41760ea4a6](https://bitbucket.org/atlassian/atlassian-frontend/commits/41760ea4a6):
|
|
950
|
+
|
|
951
|
+
**BREAKING**: modifies custom item component to take only valid HTML attributes. This means
|
|
952
|
+
`wrapperClass` is now known as `className`.-
|
|
953
|
+
[minor][b3441cd210](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3441cd210):
|
|
954
|
+
|
|
955
|
+
**BREAKING** - removes render go back item component from nesting item and nestable navigation
|
|
956
|
+
content. Replaces with overrides equivalent.-
|
|
957
|
+
[minor][e67a87dbf2](https://bitbucket.org/atlassian/atlassian-frontend/commits/e67a87dbf2):
|
|
958
|
+
|
|
959
|
+
**BREAKING** - renames `customItemComponent` prop on nesting item to `component`.
|
|
960
|
+
|
|
961
|
+
### Patch Changes
|
|
962
|
+
|
|
963
|
+
- [patch][724935beab](https://bitbucket.org/atlassian/atlassian-frontend/commits/724935beab):
|
|
964
|
+
|
|
965
|
+
Adds loading section component to use when wanting lazy load menu items.-
|
|
966
|
+
[patch][6453c8de48](https://bitbucket.org/atlassian/atlassian-frontend/commits/6453c8de48):
|
|
967
|
+
|
|
968
|
+
Exposes typescript types alongside components.-
|
|
969
|
+
[patch][3bfb526c22](https://bitbucket.org/atlassian/atlassian-frontend/commits/3bfb526c22):
|
|
970
|
+
|
|
971
|
+
Corrects disabled nesting item to not show the after element on hover.-
|
|
972
|
+
[patch][7a9bf45e58](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a9bf45e58):
|
|
973
|
+
|
|
974
|
+
Fixes section heading to correctly compose passed in css function.-
|
|
975
|
+
[patch][d8dc3813c1](https://bitbucket.org/atlassian/atlassian-frontend/commits/d8dc3813c1):
|
|
976
|
+
|
|
977
|
+
Fixes section heading spacing.-
|
|
978
|
+
[patch][684ee794d6](https://bitbucket.org/atlassian/atlassian-frontend/commits/684ee794d6):
|
|
979
|
+
|
|
980
|
+
Improves type safety with custom item by using TypeScript generics to pass on the custom
|
|
981
|
+
component types to the parent.- Updated dependencies
|
|
982
|
+
[7e408e4037](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e408e4037):
|
|
983
|
+
|
|
984
|
+
- Updated dependencies
|
|
985
|
+
[5633f516a4](https://bitbucket.org/atlassian/atlassian-frontend/commits/5633f516a4):
|
|
986
|
+
- Updated dependencies
|
|
987
|
+
[6453c8de48](https://bitbucket.org/atlassian/atlassian-frontend/commits/6453c8de48):
|
|
988
|
+
- Updated dependencies
|
|
989
|
+
[168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
|
|
990
|
+
- Updated dependencies
|
|
991
|
+
[e4dde0ad13](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4dde0ad13):
|
|
992
|
+
- Updated dependencies
|
|
993
|
+
[41760ea4a6](https://bitbucket.org/atlassian/atlassian-frontend/commits/41760ea4a6):
|
|
994
|
+
- Updated dependencies
|
|
995
|
+
[0c270847cb](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c270847cb):
|
|
996
|
+
- Updated dependencies
|
|
997
|
+
[971e294b1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/971e294b1e):
|
|
998
|
+
- Updated dependencies
|
|
999
|
+
[684ee794d6](https://bitbucket.org/atlassian/atlassian-frontend/commits/684ee794d6):
|
|
1000
|
+
- Updated dependencies
|
|
1001
|
+
[109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
|
|
1002
|
+
- Updated dependencies
|
|
1003
|
+
[b9903e773a](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9903e773a):
|
|
1004
|
+
- Updated dependencies
|
|
1005
|
+
[286770886d](https://bitbucket.org/atlassian/atlassian-frontend/commits/286770886d):
|
|
1006
|
+
- Updated dependencies
|
|
1007
|
+
[2c1b78027c](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c1b78027c):
|
|
1008
|
+
- Updated dependencies
|
|
1009
|
+
[fb3ca3a3b2](https://bitbucket.org/atlassian/atlassian-frontend/commits/fb3ca3a3b2):
|
|
1010
|
+
- @atlaskit/menu@0.4.0
|
|
1011
|
+
- @atlaskit/motion@0.2.3
|
|
1012
|
+
- @atlaskit/docs@8.5.1
|
|
1013
|
+
- @atlaskit/theme@9.5.3
|
|
1014
|
+
- @atlaskit/button@13.3.10
|
|
791
1015
|
|
|
792
1016
|
## 0.3.1
|
|
793
1017
|
|
|
794
1018
|
### Patch Changes
|
|
795
1019
|
|
|
796
|
-
-
|
|
1020
|
+
- [patch][ab133d934f](https://bitbucket.org/atlassian/atlassian-frontend/commits/ab133d934f):
|
|
797
1021
|
|
|
798
|
-
|
|
1022
|
+
Change imports to comply with Atlassian conventions
|
|
799
1023
|
|
|
800
1024
|
## 0.3.0
|
|
801
1025
|
|
|
802
1026
|
### Minor Changes
|
|
803
1027
|
|
|
804
|
-
-
|
|
805
|
-
|
|
806
|
-
**Breaking:**
|
|
1028
|
+
- [minor][7ecbf8d0bd](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ecbf8d0bd):
|
|
807
1029
|
|
|
808
|
-
|
|
1030
|
+
**Breaking:**
|
|
1031
|
+
|
|
1032
|
+
- SideNavigation now has a required `label` prop.
|
|
809
1033
|
|
|
810
|
-
|
|
1034
|
+
**Accessibility Changes**
|
|
811
1035
|
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
1036
|
+
- SideNavigation now has a `navigation` landmark for use with screen readers; this landmark is
|
|
1037
|
+
further described by the `label` prop to differentiate it from AtlassianNavigation-
|
|
1038
|
+
[minor][1fea6757c4](https://bitbucket.org/atlassian/atlassian-frontend/commits/1fea6757c4):
|
|
815
1039
|
|
|
816
|
-
|
|
1040
|
+
**BREAKING** - NavigationFooter component has been renamed to Footer.
|
|
817
1041
|
|
|
818
1042
|
### Patch Changes
|
|
819
1043
|
|
|
820
|
-
-
|
|
1044
|
+
- [patch][7b230682c2](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b230682c2):
|
|
821
1045
|
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
1046
|
+
Adds controlled component support. It is now possible to use the `stack` and `onChange` props on
|
|
1047
|
+
the `NestableNavigationContent` component to dictate which view is active. This is useful for
|
|
1048
|
+
use cases where nested views need to be changed programmatically.
|
|
825
1049
|
|
|
826
|
-
|
|
827
|
-
|
|
1050
|
+
```
|
|
1051
|
+
const [stack, setStack] = useState([]);
|
|
828
1052
|
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
1053
|
+
<SideNavigation>
|
|
1054
|
+
<NestableNavigationContent
|
|
1055
|
+
onChange={setStack}
|
|
1056
|
+
stack={stack}
|
|
1057
|
+
>
|
|
1058
|
+
...
|
|
1059
|
+
</NestableNavigationContent>
|
|
1060
|
+
</SideNavigation>
|
|
1061
|
+
```
|
|
838
1062
|
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
1063
|
+
This is supported by a new hook called `useShouldNestedElementRender()`. All components that can
|
|
1064
|
+
be composed with `NestableNavigationContent` use it out of the box, but if you want to compose
|
|
1065
|
+
your own components you may have to opt into it else you will see your component rendering on
|
|
1066
|
+
every view (which may or may not be what you want).
|
|
842
1067
|
|
|
843
|
-
|
|
844
|
-
|
|
1068
|
+
```
|
|
1069
|
+
import { useShouldNestedElementRender } from '@atlaskit/side-navigation';
|
|
845
1070
|
|
|
846
|
-
|
|
847
|
-
|
|
1071
|
+
const MyCustomComponent = () => {
|
|
1072
|
+
const { shouldRender } = useShouldNestedElementRender();
|
|
848
1073
|
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
1074
|
+
if (shouldRender) {
|
|
1075
|
+
return <div>hello world!</div>;
|
|
1076
|
+
}
|
|
852
1077
|
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
1078
|
+
// If your component takes children you'll probably want to return children here instead.
|
|
1079
|
+
return null;
|
|
1080
|
+
};
|
|
1081
|
+
```
|
|
857
1082
|
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
1083
|
+
```
|
|
1084
|
+
<SideNavigation>
|
|
1085
|
+
<NestableNavigationContent>
|
|
1086
|
+
<MyCustomComponent />
|
|
1087
|
+
</NestableNavigationContent>
|
|
1088
|
+
</SideNavigation>
|
|
1089
|
+
```
|
|
865
1090
|
|
|
866
|
-
|
|
1091
|
+
- [patch][5c0bb69f7b](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c0bb69f7b):
|
|
867
1092
|
|
|
868
|
-
|
|
1093
|
+
Fixes horizontal alignment for item icons in relation to the app switcher in the horizontal
|
|
1094
|
+
navigation bar.-
|
|
1095
|
+
[patch][1a3192c1c1](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a3192c1c1):
|
|
869
1096
|
|
|
870
|
-
|
|
1097
|
+
Introduces skeletons for heading and item components.-
|
|
1098
|
+
[patch][43353900f7](https://bitbucket.org/atlassian/atlassian-frontend/commits/43353900f7):
|
|
871
1099
|
|
|
872
|
-
|
|
1100
|
+
Corrects and consolidates colors for item and side navigation components.-
|
|
1101
|
+
[patch][c60324c748](https://bitbucket.org/atlassian/atlassian-frontend/commits/c60324c748):
|
|
873
1102
|
|
|
874
|
-
|
|
1103
|
+
Adds new Footer component. Ensures this and the Header component come with baked in styles for
|
|
1104
|
+
you to use out of the box.-
|
|
1105
|
+
[patch][c56d86d95c](https://bitbucket.org/atlassian/atlassian-frontend/commits/c56d86d95c):
|
|
875
1106
|
|
|
876
|
-
|
|
1107
|
+
Adds scrolling indicators to the scrollable container component.
|
|
877
1108
|
|
|
878
|
-
-
|
|
879
|
-
|
|
880
|
-
-
|
|
881
|
-
|
|
882
|
-
-
|
|
883
|
-
|
|
884
|
-
-
|
|
885
|
-
|
|
886
|
-
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
1109
|
+
- Updated dependencies
|
|
1110
|
+
[ed8d8dea65](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed8d8dea65):
|
|
1111
|
+
- Updated dependencies
|
|
1112
|
+
[db2f869556](https://bitbucket.org/atlassian/atlassian-frontend/commits/db2f869556):
|
|
1113
|
+
- Updated dependencies
|
|
1114
|
+
[81ea791176](https://bitbucket.org/atlassian/atlassian-frontend/commits/81ea791176):
|
|
1115
|
+
- Updated dependencies
|
|
1116
|
+
[6e2dda87f4](https://bitbucket.org/atlassian/atlassian-frontend/commits/6e2dda87f4):
|
|
1117
|
+
- Updated dependencies
|
|
1118
|
+
[e57c4aa96d](https://bitbucket.org/atlassian/atlassian-frontend/commits/e57c4aa96d):
|
|
1119
|
+
- Updated dependencies
|
|
1120
|
+
[8c9e4f1ec6](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9e4f1ec6):
|
|
1121
|
+
- Updated dependencies
|
|
1122
|
+
[89d35b919a](https://bitbucket.org/atlassian/atlassian-frontend/commits/89d35b919a):
|
|
1123
|
+
- Updated dependencies
|
|
1124
|
+
[083cfbaeb4](https://bitbucket.org/atlassian/atlassian-frontend/commits/083cfbaeb4):
|
|
1125
|
+
- Updated dependencies
|
|
1126
|
+
[46d95777ef](https://bitbucket.org/atlassian/atlassian-frontend/commits/46d95777ef):
|
|
1127
|
+
- Updated dependencies
|
|
1128
|
+
[9b264df34d](https://bitbucket.org/atlassian/atlassian-frontend/commits/9b264df34d):
|
|
1129
|
+
- @atlaskit/menu@0.3.1
|
|
1130
|
+
- @atlaskit/atlassian-navigation@0.10.0
|
|
1131
|
+
- @atlaskit/docs@8.5.0
|
|
891
1132
|
|
|
892
1133
|
## 0.2.0
|
|
893
1134
|
|
|
894
1135
|
### Minor Changes
|
|
895
1136
|
|
|
896
|
-
-
|
|
1137
|
+
- [minor][dce5efb012](https://bitbucket.org/atlassian/atlassian-frontend/commits/dce5efb012):
|
|
897
1138
|
|
|
898
|
-
|
|
1139
|
+
Support forward ref on side-navigation primitives
|
|
899
1140
|
|
|
900
1141
|
### Patch Changes
|
|
901
1142
|
|
|
902
|
-
-
|
|
1143
|
+
- [patch][4da717940e](https://bitbucket.org/atlassian/atlassian-frontend/commits/4da717940e):
|
|
903
1144
|
|
|
904
|
-
|
|
1145
|
+
Refactor side-navigation nesting logic to support async components-
|
|
1146
|
+
[patch][93709ca7eb](https://bitbucket.org/atlassian/atlassian-frontend/commits/93709ca7eb):
|
|
905
1147
|
|
|
906
|
-
|
|
1148
|
+
Adds `testId` to `NestingItem`- Updated dependencies
|
|
1149
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
907
1150
|
|
|
908
|
-
-
|
|
909
|
-
|
|
910
|
-
-
|
|
911
|
-
|
|
912
|
-
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
1151
|
+
- Updated dependencies
|
|
1152
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
1153
|
+
- Updated dependencies
|
|
1154
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
1155
|
+
- Updated dependencies
|
|
1156
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
1157
|
+
- Updated dependencies
|
|
1158
|
+
[7a6e5f6e3d](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a6e5f6e3d):
|
|
1159
|
+
- Updated dependencies
|
|
1160
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
1161
|
+
- @atlaskit/docs@8.4.0
|
|
1162
|
+
- @atlaskit/icon@20.1.0
|
|
1163
|
+
- @atlaskit/logo@12.3.3
|
|
1164
|
+
- @atlaskit/menu@0.3.0
|
|
1165
|
+
- @atlaskit/button@13.3.9
|
|
918
1166
|
|
|
919
1167
|
## 0.1.0
|
|
920
1168
|
|
|
921
1169
|
### Minor Changes
|
|
922
1170
|
|
|
923
|
-
-
|
|
1171
|
+
- [minor][e1416630ed](https://bitbucket.org/atlassian/atlassian-frontend/commits/e1416630ed):
|
|
924
1172
|
|
|
925
|
-
|
|
1173
|
+
**BREAKING**: Renamed exported components
|
|
926
1174
|
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
1175
|
+
- Renamed `MainSection` to `NavigationContent`
|
|
1176
|
+
- Renamed `NestingTransitionProvider` to `NestableNavigationContent`
|
|
1177
|
+
- `NestableNavigationContent` does not need to be wrapped by a `MainSection`
|
|
1178
|
+
- Renamed `HeaderSection` to `NavigationHeader`
|
|
1179
|
+
- Renamed `Footer` to `NavigationFooter`
|
|
932
1180
|
|
|
933
|
-
|
|
1181
|
+
Improve behaviour of scrollabe sections:
|
|
934
1182
|
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
1183
|
+
- Fixes a bug where different views shared the same scrollable section causing unexpected
|
|
1184
|
+
jumps on some unnesting interactions
|
|
1185
|
+
- `ScrollableSection` now shows an overflow indicator when items are scrolled off the top
|
|
1186
|
+
border
|
|
1187
|
+
- Fixes a bug where the Go Back component could scroll off the top in some cases-
|
|
1188
|
+
[minor][d752f27427](https://bitbucket.org/atlassian/atlassian-frontend/commits/d752f27427):
|
|
938
1189
|
|
|
939
|
-
|
|
1190
|
+
API changes and design changes for side-navigation
|
|
940
1191
|
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
1192
|
+
- **BREAKING**: `SectionHeader` has been renamed to `SectionHeading`
|
|
1193
|
+
- `SIDEBAR_DEFAULT_WIDTH` has been exported
|
|
1194
|
+
- `Item` has been removed and replaced with `CustomItem`, `ButtonItem`, `LinkItem` which are
|
|
1195
|
+
thin wrappers around their `@atlaskit/menu` counterparts
|
|
1196
|
+
- All exported components now have sensible default styles applied
|
|
1197
|
+
- A `GoBackItem` has been exported
|
|
1198
|
+
- `testId` props have been added to more components with `side-navigation`
|
|
1199
|
+
- `CustomItem`, `ButtonItem` and `LinkItem` themselves have a `cssFn` prop exposed which will
|
|
1200
|
+
allow custom styles to be applied and combined with side-navigation defaults
|
|
1201
|
+
- `Heading` and `Footer` have been updated to allow consumers to pass in their own custom
|
|
1202
|
+
components
|
|
1203
|
+
- Rich examples have been updated for composing your own navigations with RBD etc.-
|
|
1204
|
+
[minor][08fa439ec7](https://bitbucket.org/atlassian/atlassian-frontend/commits/08fa439ec7):
|
|
950
1205
|
|
|
951
|
-
|
|
1206
|
+
**BREAKING**: `id` prop is now required on NestingItems
|
|
952
1207
|
|
|
953
|
-
|
|
1208
|
+
The back button in nested views can now be customised
|
|
954
1209
|
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
1210
|
+
- By default an English `Go Back` button will be shown
|
|
1211
|
+
- Use `renderDefaultBackButton` on the `NestableNavigationContent` to set a new default
|
|
1212
|
+
- Use `renderBackButton` on each `NestingItem` to specifically set a back trigger for exiting
|
|
1213
|
+
the view it controls
|
|
958
1214
|
|
|
959
|
-
|
|
1215
|
+
The link form of nested views can now be customised
|
|
960
1216
|
|
|
961
|
-
|
|
1217
|
+
- Use `customItemComponent` to pass in a functional/class component that adds extra behaviour
|
|
1218
|
+
around the link (see @atlaskit/menu for examples on how to configure CustomItems)
|
|
962
1219
|
|
|
963
1220
|
### Patch Changes
|
|
964
1221
|
|
|
965
|
-
-
|
|
1222
|
+
- [patch][babae63a7b](https://bitbucket.org/atlassian/atlassian-frontend/commits/babae63a7b):
|
|
966
1223
|
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
1224
|
+
- Refactors nested navigation implementation
|
|
1225
|
+
- Now selects `NestingItem` & `GoBackItem` when it is exiting
|
|
1226
|
+
- Fixes double clicking a `NestingItem` and `GoBackItem` resulting in an unwanted double
|
|
1227
|
+
navigation
|
|
1228
|
+
- Fixes `NestingItem` not calling back on click
|
|
1229
|
+
- Adds optional `id` prop to `NestingItem`- Updated dependencies
|
|
1230
|
+
[1f9c4f974a](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f9c4f974a):
|
|
972
1231
|
|
|
973
|
-
-
|
|
974
|
-
|
|
975
|
-
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
1232
|
+
- Updated dependencies
|
|
1233
|
+
[b80c88fd26](https://bitbucket.org/atlassian/atlassian-frontend/commits/b80c88fd26):
|
|
1234
|
+
- Updated dependencies
|
|
1235
|
+
[9ec1606d00](https://bitbucket.org/atlassian/atlassian-frontend/commits/9ec1606d00):
|
|
1236
|
+
- Updated dependencies
|
|
1237
|
+
[0603860c07](https://bitbucket.org/atlassian/atlassian-frontend/commits/0603860c07):
|
|
1238
|
+
- Updated dependencies
|
|
1239
|
+
[1b3069e06b](https://bitbucket.org/atlassian/atlassian-frontend/commits/1b3069e06b):
|
|
1240
|
+
- @atlaskit/menu@0.2.7
|
|
1241
|
+
- @atlaskit/atlassian-navigation@0.9.6
|
|
1242
|
+
- @atlaskit/icon@20.0.2
|
|
980
1243
|
|
|
981
1244
|
## 0.0.4
|
|
982
1245
|
|
|
983
1246
|
### Patch Changes
|
|
984
1247
|
|
|
985
|
-
-
|
|
1248
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
986
1249
|
|
|
987
|
-
|
|
1250
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1251
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
988
1252
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1253
|
+
- @atlaskit/docs@8.3.2
|
|
1254
|
+
- @atlaskit/icon@20.0.1
|
|
1255
|
+
- @atlaskit/menu@0.2.6
|
|
1256
|
+
- @atlaskit/theme@9.5.1
|
|
1257
|
+
- @atlaskit/motion@0.2.2
|
|
994
1258
|
|
|
995
1259
|
## 0.0.3
|
|
996
1260
|
|
|
997
1261
|
### Patch Changes
|
|
998
1262
|
|
|
999
|
-
-
|
|
1263
|
+
- [patch][f3433f2096](https://bitbucket.org/atlassian/atlassian-frontend/commits/f3433f2096):
|
|
1000
1264
|
|
|
1001
|
-
|
|
1265
|
+
`NestingItem` now has an extra prop `isInitiallyOpen` that allows the side-navigation to
|
|
1266
|
+
initially render a particular nested view
|
|
1002
1267
|
|
|
1003
|
-
|
|
1268
|
+
- To select a particular sidebar view to be rendered initially the `isInitiallyOpen` prop must
|
|
1269
|
+
be set on all parent `NestingItem`s in the navigation tree-
|
|
1270
|
+
[patch][a806cde423](https://bitbucket.org/atlassian/atlassian-frontend/commits/a806cde423):
|
|
1004
1271
|
|
|
1005
|
-
|
|
1272
|
+
Iterative updates to side-navigation:
|
|
1006
1273
|
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1274
|
+
- Go Back link in nested views now sticks to the top of the scrollable area
|
|
1275
|
+
- Removed broken css styles
|
|
1276
|
+
- Implemented sliding transitions rather than fades- Updated dependencies
|
|
1277
|
+
[4ed951b8d8](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ed951b8d8):
|
|
1010
1278
|
|
|
1011
|
-
-
|
|
1012
|
-
|
|
1013
|
-
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1279
|
+
- Updated dependencies
|
|
1280
|
+
[e0e91e02a6](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0e91e02a6):
|
|
1281
|
+
- Updated dependencies
|
|
1282
|
+
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
|
|
1283
|
+
- Updated dependencies
|
|
1284
|
+
[166d7b1626](https://bitbucket.org/atlassian/atlassian-frontend/commits/166d7b1626):
|
|
1285
|
+
- @atlaskit/menu@0.2.4
|
|
1286
|
+
- @atlaskit/icon@20.0.0
|
|
1287
|
+
- @atlaskit/motion@0.2.1
|
|
1288
|
+
- @atlaskit/docs@8.3.1
|
|
1018
1289
|
|
|
1019
1290
|
## 0.0.2
|
|
1020
1291
|
|
|
1021
1292
|
### Patch Changes
|
|
1022
1293
|
|
|
1023
|
-
-
|
|
1294
|
+
- [patch][0e6929fbb9](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e6929fbb9):
|
|
1024
1295
|
|
|
1025
|
-
|
|
1296
|
+
Fixes a broken internal omport-
|
|
1297
|
+
[patch][146ca7139a](https://bitbucket.org/atlassian/atlassian-frontend/commits/146ca7139a):
|
|
1026
1298
|
|
|
1027
|
-
|
|
1299
|
+
Bump package to enable branch deploys- Updated dependencies
|
|
1300
|
+
[d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
|
|
1028
1301
|
|
|
1029
|
-
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1302
|
+
- Updated dependencies
|
|
1303
|
+
[1d72045e6b](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d72045e6b):
|
|
1304
|
+
- @atlaskit/docs@8.3.0
|
|
1305
|
+
- @atlaskit/motion@0.2.0
|