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