@atlaskit/side-navigation 3.0.9 → 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 +646 -366
- package/constellation/index/examples.mdx +17 -19
- package/constellation/index/usage.mdx +20 -6
- package/dist/cjs/components/NestingItem/index.js +1 -0
- package/dist/cjs/components/Section/heading-item.js +1 -1
- package/dist/es2019/components/NestingItem/index.js +1 -0
- package/dist/es2019/components/Section/heading-item.js +1 -1
- package/dist/esm/components/NestingItem/index.js +1 -0
- 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,1025 +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
|
+
|
|
11
|
+
## 3.0.10
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
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
|
|
18
|
+
|
|
3
19
|
## 3.0.9
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
6
22
|
|
|
7
|
-
-
|
|
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`
|
|
8
26
|
|
|
9
27
|
## 3.0.8
|
|
10
28
|
|
|
11
29
|
### Patch Changes
|
|
12
30
|
|
|
13
|
-
-
|
|
31
|
+
- Updated dependencies
|
|
14
32
|
|
|
15
33
|
## 3.0.7
|
|
16
34
|
|
|
17
35
|
### Patch Changes
|
|
18
36
|
|
|
19
|
-
-
|
|
37
|
+
- Updated dependencies
|
|
20
38
|
|
|
21
39
|
## 3.0.6
|
|
22
40
|
|
|
23
41
|
### Patch Changes
|
|
24
42
|
|
|
25
|
-
-
|
|
43
|
+
- Updated dependencies
|
|
26
44
|
|
|
27
45
|
## 3.0.5
|
|
28
46
|
|
|
29
47
|
### Patch Changes
|
|
30
48
|
|
|
31
|
-
-
|
|
49
|
+
- Updated dependencies
|
|
32
50
|
|
|
33
51
|
## 3.0.4
|
|
34
52
|
|
|
35
53
|
### Patch Changes
|
|
36
54
|
|
|
37
|
-
-
|
|
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
|
|
38
58
|
|
|
39
59
|
## 3.0.3
|
|
40
60
|
|
|
41
61
|
### Patch Changes
|
|
42
62
|
|
|
43
|
-
-
|
|
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
|
|
44
66
|
|
|
45
67
|
## 3.0.2
|
|
46
68
|
|
|
47
69
|
### Patch Changes
|
|
48
70
|
|
|
49
|
-
-
|
|
71
|
+
- Updated dependencies
|
|
50
72
|
|
|
51
73
|
## 3.0.1
|
|
52
74
|
|
|
53
75
|
### Patch Changes
|
|
54
76
|
|
|
55
|
-
-
|
|
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.
|
|
56
80
|
|
|
57
81
|
## 3.0.0
|
|
58
82
|
|
|
59
83
|
### Major Changes
|
|
60
84
|
|
|
61
|
-
-
|
|
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.
|
|
62
89
|
|
|
63
|
-
|
|
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!
|
|
64
92
|
|
|
65
|
-
|
|
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.
|
|
66
95
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
96
|
+
```jsx
|
|
97
|
+
<MenuGroup>
|
|
98
|
+
<ButtonItem>
|
|
99
|
+
<div style={{ position: 'absolute', top: '100%' }} />
|
|
100
|
+
</ButtonItem>
|
|
101
|
+
</MenuGroup>
|
|
102
|
+
```
|
|
74
103
|
|
|
75
|
-
|
|
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`.
|
|
76
106
|
|
|
77
107
|
### Patch Changes
|
|
78
108
|
|
|
79
|
-
-
|
|
109
|
+
- Updated dependencies
|
|
80
110
|
|
|
81
111
|
## 2.0.5
|
|
82
112
|
|
|
83
113
|
### Patch Changes
|
|
84
114
|
|
|
85
|
-
-
|
|
115
|
+
- Updated dependencies
|
|
86
116
|
|
|
87
117
|
## 2.0.4
|
|
88
118
|
|
|
89
119
|
### Patch Changes
|
|
90
120
|
|
|
91
|
-
-
|
|
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.
|
|
92
124
|
|
|
93
125
|
## 2.0.3
|
|
94
126
|
|
|
95
127
|
### Patch Changes
|
|
96
128
|
|
|
97
|
-
-
|
|
98
|
-
-
|
|
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
|
|
99
133
|
|
|
100
134
|
## 2.0.2
|
|
101
135
|
|
|
102
136
|
### Patch Changes
|
|
103
137
|
|
|
104
|
-
-
|
|
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.
|
|
105
141
|
|
|
106
142
|
## 2.0.1
|
|
107
143
|
|
|
108
144
|
### Patch Changes
|
|
109
145
|
|
|
110
|
-
-
|
|
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.
|
|
111
149
|
|
|
112
150
|
## 2.0.0
|
|
113
151
|
|
|
114
152
|
### Major Changes
|
|
115
153
|
|
|
116
|
-
-
|
|
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.
|
|
117
160
|
|
|
118
161
|
## 1.10.4
|
|
119
162
|
|
|
120
163
|
### Patch Changes
|
|
121
164
|
|
|
122
|
-
-
|
|
165
|
+
- [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533)
|
|
166
|
+
[`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) -
|
|
167
|
+
Updated dependencies
|
|
123
168
|
|
|
124
169
|
## 1.10.3
|
|
125
170
|
|
|
126
171
|
### Patch Changes
|
|
127
172
|
|
|
128
|
-
-
|
|
173
|
+
- Updated dependencies
|
|
129
174
|
|
|
130
175
|
## 1.10.2
|
|
131
176
|
|
|
132
177
|
### Patch Changes
|
|
133
178
|
|
|
134
|
-
-
|
|
179
|
+
- Updated dependencies
|
|
135
180
|
|
|
136
181
|
## 1.10.1
|
|
137
182
|
|
|
138
183
|
### Patch Changes
|
|
139
184
|
|
|
140
|
-
-
|
|
185
|
+
- Updated dependencies
|
|
141
186
|
|
|
142
187
|
## 1.10.0
|
|
143
188
|
|
|
144
189
|
### Minor Changes
|
|
145
190
|
|
|
146
|
-
-
|
|
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.
|
|
147
196
|
|
|
148
197
|
## 1.9.0
|
|
149
198
|
|
|
150
199
|
### Minor Changes
|
|
151
200
|
|
|
152
|
-
-
|
|
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
|
|
153
205
|
|
|
154
206
|
### Patch Changes
|
|
155
207
|
|
|
156
|
-
-
|
|
208
|
+
- Updated dependencies
|
|
157
209
|
|
|
158
210
|
## 1.8.10
|
|
159
211
|
|
|
160
212
|
### Patch Changes
|
|
161
213
|
|
|
162
|
-
-
|
|
214
|
+
- Updated dependencies
|
|
163
215
|
|
|
164
216
|
## 1.8.9
|
|
165
217
|
|
|
166
218
|
### Patch Changes
|
|
167
219
|
|
|
168
|
-
-
|
|
220
|
+
- Updated dependencies
|
|
169
221
|
|
|
170
222
|
## 1.8.8
|
|
171
223
|
|
|
172
224
|
### Patch Changes
|
|
173
225
|
|
|
174
|
-
-
|
|
175
|
-
-
|
|
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
|
|
176
231
|
|
|
177
232
|
## 1.8.7
|
|
178
233
|
|
|
179
234
|
### Patch Changes
|
|
180
235
|
|
|
181
|
-
-
|
|
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.
|
|
182
239
|
|
|
183
240
|
## 1.8.6
|
|
184
241
|
|
|
185
242
|
### Patch Changes
|
|
186
243
|
|
|
187
|
-
-
|
|
244
|
+
- Updated dependencies
|
|
188
245
|
|
|
189
246
|
## 1.8.5
|
|
190
247
|
|
|
191
248
|
### Patch Changes
|
|
192
249
|
|
|
193
|
-
-
|
|
250
|
+
- Updated dependencies
|
|
194
251
|
|
|
195
252
|
## 1.8.4
|
|
196
253
|
|
|
197
254
|
### Patch Changes
|
|
198
255
|
|
|
199
|
-
-
|
|
256
|
+
- Updated dependencies
|
|
200
257
|
|
|
201
258
|
## 1.8.3
|
|
202
259
|
|
|
203
260
|
### Patch Changes
|
|
204
261
|
|
|
205
|
-
-
|
|
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.
|
|
206
265
|
|
|
207
266
|
## 1.8.2
|
|
208
267
|
|
|
209
268
|
### Patch Changes
|
|
210
269
|
|
|
211
|
-
-
|
|
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.
|
|
212
275
|
|
|
213
276
|
## 1.8.1
|
|
214
277
|
|
|
215
278
|
### Patch Changes
|
|
216
279
|
|
|
217
|
-
-
|
|
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
|
|
218
283
|
|
|
219
284
|
## 1.8.0
|
|
220
285
|
|
|
221
286
|
### Minor Changes
|
|
222
287
|
|
|
223
|
-
-
|
|
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.
|
|
224
292
|
|
|
225
293
|
### Patch Changes
|
|
226
294
|
|
|
227
|
-
-
|
|
295
|
+
- Updated dependencies
|
|
228
296
|
|
|
229
297
|
## 1.7.1
|
|
230
298
|
|
|
231
299
|
### Patch Changes
|
|
232
300
|
|
|
233
|
-
-
|
|
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`
|
|
234
304
|
|
|
235
305
|
## 1.7.0
|
|
236
306
|
|
|
237
307
|
### Minor Changes
|
|
238
308
|
|
|
239
|
-
-
|
|
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
|
|
240
312
|
|
|
241
313
|
### Patch Changes
|
|
242
314
|
|
|
243
|
-
-
|
|
315
|
+
- Updated dependencies
|
|
244
316
|
|
|
245
317
|
## 1.6.8
|
|
246
318
|
|
|
247
319
|
### Patch Changes
|
|
248
320
|
|
|
249
|
-
-
|
|
321
|
+
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
|
|
322
|
+
[`65e4baeea85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65e4baeea85) -
|
|
323
|
+
Internal changes.
|
|
250
324
|
|
|
251
325
|
## 1.6.7
|
|
252
326
|
|
|
253
327
|
### Patch Changes
|
|
254
328
|
|
|
255
|
-
-
|
|
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
|
|
256
332
|
|
|
257
333
|
## 1.6.6
|
|
258
334
|
|
|
259
335
|
### Patch Changes
|
|
260
336
|
|
|
261
|
-
-
|
|
337
|
+
- Updated dependencies
|
|
262
338
|
|
|
263
339
|
## 1.6.5
|
|
264
340
|
|
|
265
341
|
### Patch Changes
|
|
266
342
|
|
|
267
|
-
-
|
|
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.
|
|
268
347
|
|
|
269
348
|
## 1.6.4
|
|
270
349
|
|
|
271
350
|
### Patch Changes
|
|
272
351
|
|
|
273
|
-
-
|
|
352
|
+
- Updated dependencies
|
|
274
353
|
|
|
275
354
|
## 1.6.3
|
|
276
355
|
|
|
277
356
|
### Patch Changes
|
|
278
357
|
|
|
279
|
-
-
|
|
358
|
+
- Updated dependencies
|
|
280
359
|
|
|
281
360
|
## 1.6.2
|
|
282
361
|
|
|
283
362
|
### Patch Changes
|
|
284
363
|
|
|
285
|
-
-
|
|
364
|
+
- Updated dependencies
|
|
286
365
|
|
|
287
366
|
## 1.6.1
|
|
288
367
|
|
|
289
368
|
### Patch Changes
|
|
290
369
|
|
|
291
|
-
-
|
|
292
|
-
-
|
|
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
|
|
293
375
|
|
|
294
376
|
## 1.6.0
|
|
295
377
|
|
|
296
378
|
### Minor Changes
|
|
297
379
|
|
|
298
|
-
-
|
|
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`.
|
|
299
384
|
|
|
300
|
-
|
|
385
|
+
Additionally, the space between icons and content has been shifted form `16px` to `12px`. This
|
|
386
|
+
matches `@atlaskit/menu`.
|
|
301
387
|
|
|
302
|
-
|
|
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.
|
|
303
390
|
|
|
304
391
|
### Patch Changes
|
|
305
392
|
|
|
306
|
-
-
|
|
393
|
+
- Updated dependencies
|
|
307
394
|
|
|
308
395
|
## 1.5.3
|
|
309
396
|
|
|
310
397
|
### Patch Changes
|
|
311
398
|
|
|
312
|
-
-
|
|
399
|
+
- Updated dependencies
|
|
313
400
|
|
|
314
401
|
## 1.5.2
|
|
315
402
|
|
|
316
403
|
### Patch Changes
|
|
317
404
|
|
|
318
|
-
-
|
|
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.
|
|
319
408
|
|
|
320
409
|
## 1.5.1
|
|
321
410
|
|
|
322
411
|
### Patch Changes
|
|
323
412
|
|
|
324
|
-
-
|
|
325
|
-
-
|
|
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
|
|
326
418
|
|
|
327
419
|
## 1.5.0
|
|
328
420
|
|
|
329
421
|
### Minor Changes
|
|
330
422
|
|
|
331
|
-
-
|
|
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:
|
|
332
426
|
|
|
333
|
-
|
|
334
|
-
|
|
427
|
+
- Application of primitives for more declarative code
|
|
428
|
+
- Application of spacing tokens to internal styles
|
|
335
429
|
|
|
336
430
|
### Patch Changes
|
|
337
431
|
|
|
338
|
-
-
|
|
339
|
-
|
|
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
|
|
340
436
|
|
|
341
437
|
## 1.4.3
|
|
342
438
|
|
|
343
439
|
### Patch Changes
|
|
344
440
|
|
|
345
|
-
-
|
|
441
|
+
- Updated dependencies
|
|
346
442
|
|
|
347
443
|
## 1.4.2
|
|
348
444
|
|
|
349
445
|
### Patch Changes
|
|
350
446
|
|
|
351
|
-
-
|
|
447
|
+
- Updated dependencies
|
|
352
448
|
|
|
353
449
|
## 1.4.1
|
|
354
450
|
|
|
355
451
|
### Patch Changes
|
|
356
452
|
|
|
357
|
-
-
|
|
453
|
+
- Updated dependencies
|
|
358
454
|
|
|
359
455
|
## 1.4.0
|
|
360
456
|
|
|
361
457
|
### Minor Changes
|
|
362
458
|
|
|
363
|
-
-
|
|
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.
|
|
364
463
|
|
|
365
464
|
## 1.3.1
|
|
366
465
|
|
|
367
466
|
### Patch Changes
|
|
368
467
|
|
|
369
|
-
-
|
|
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.
|
|
370
473
|
|
|
371
474
|
## 1.3.0
|
|
372
475
|
|
|
373
476
|
### Minor Changes
|
|
374
477
|
|
|
375
|
-
-
|
|
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.
|
|
376
481
|
|
|
377
482
|
### Patch Changes
|
|
378
483
|
|
|
379
|
-
-
|
|
484
|
+
- Updated dependencies
|
|
380
485
|
|
|
381
486
|
## 1.2.15
|
|
382
487
|
|
|
383
488
|
### Patch Changes
|
|
384
489
|
|
|
385
|
-
-
|
|
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`
|
|
386
493
|
|
|
387
494
|
## 1.2.14
|
|
388
495
|
|
|
389
496
|
### Patch Changes
|
|
390
497
|
|
|
391
|
-
-
|
|
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`.
|
|
392
501
|
|
|
393
502
|
## 1.2.13
|
|
394
503
|
|
|
395
504
|
### Patch Changes
|
|
396
505
|
|
|
397
|
-
-
|
|
398
|
-
-
|
|
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
|
|
399
510
|
|
|
400
511
|
## 1.2.12
|
|
401
512
|
|
|
402
513
|
### Patch Changes
|
|
403
514
|
|
|
404
|
-
-
|
|
515
|
+
- Updated dependencies
|
|
405
516
|
|
|
406
517
|
## 1.2.11
|
|
407
518
|
|
|
408
519
|
### Patch Changes
|
|
409
520
|
|
|
410
|
-
-
|
|
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
|
|
411
524
|
|
|
412
525
|
## 1.2.10
|
|
413
526
|
|
|
414
527
|
### Patch Changes
|
|
415
528
|
|
|
416
|
-
-
|
|
529
|
+
- Updated dependencies
|
|
417
530
|
|
|
418
531
|
## 1.2.9
|
|
419
532
|
|
|
420
533
|
### Patch Changes
|
|
421
534
|
|
|
422
|
-
-
|
|
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)
|
|
423
538
|
|
|
424
539
|
## 1.2.8
|
|
425
540
|
|
|
426
541
|
### Patch Changes
|
|
427
542
|
|
|
428
|
-
-
|
|
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
|
|
429
546
|
|
|
430
547
|
## 1.2.7
|
|
431
548
|
|
|
432
549
|
### Patch Changes
|
|
433
550
|
|
|
434
|
-
-
|
|
551
|
+
- Updated dependencies
|
|
435
552
|
|
|
436
553
|
## 1.2.6
|
|
437
554
|
|
|
438
555
|
### Patch Changes
|
|
439
556
|
|
|
440
|
-
-
|
|
441
|
-
-
|
|
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
|
|
442
562
|
|
|
443
563
|
## 1.2.5
|
|
444
564
|
|
|
445
565
|
### Patch Changes
|
|
446
566
|
|
|
447
|
-
-
|
|
567
|
+
- Updated dependencies
|
|
448
568
|
|
|
449
569
|
## 1.2.4
|
|
450
570
|
|
|
451
571
|
### Patch Changes
|
|
452
572
|
|
|
453
|
-
-
|
|
454
|
-
-
|
|
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
|
|
455
578
|
|
|
456
579
|
## 1.2.3
|
|
457
580
|
|
|
458
581
|
### Patch Changes
|
|
459
582
|
|
|
460
|
-
-
|
|
461
|
-
-
|
|
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
|
|
462
588
|
|
|
463
589
|
## 1.2.2
|
|
464
590
|
|
|
465
591
|
### Patch Changes
|
|
466
592
|
|
|
467
|
-
-
|
|
593
|
+
- Updated dependencies
|
|
468
594
|
|
|
469
595
|
## 1.2.1
|
|
470
596
|
|
|
471
597
|
### Patch Changes
|
|
472
598
|
|
|
473
|
-
-
|
|
474
|
-
-
|
|
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
|
|
475
604
|
|
|
476
605
|
## 1.2.0
|
|
477
606
|
|
|
478
607
|
### Minor Changes
|
|
479
608
|
|
|
480
|
-
-
|
|
481
|
-
|
|
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.
|
|
482
613
|
|
|
483
|
-
|
|
614
|
+
Previously the structure looked like:
|
|
484
615
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
616
|
+
```jsx
|
|
617
|
+
<button>
|
|
618
|
+
<div> // <-- this intermediate div has been removed
|
|
619
|
+
<span>
|
|
620
|
+
<span />
|
|
621
|
+
</span>
|
|
622
|
+
</div>
|
|
623
|
+
</button>
|
|
624
|
+
```
|
|
494
625
|
|
|
495
|
-
|
|
626
|
+
Now it looks like:
|
|
496
627
|
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
628
|
+
```jsx
|
|
629
|
+
<button>
|
|
630
|
+
<span>
|
|
631
|
+
<span />
|
|
632
|
+
</span>
|
|
633
|
+
</button>
|
|
634
|
+
```
|
|
504
635
|
|
|
505
|
-
-
|
|
636
|
+
- [`e4f332d8697`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4f332d8697) -
|
|
637
|
+
Internal refactor to update style declarations to match menu changes.
|
|
506
638
|
|
|
507
639
|
### Patch Changes
|
|
508
640
|
|
|
509
|
-
-
|
|
641
|
+
- Updated dependencies
|
|
510
642
|
|
|
511
643
|
## 1.1.2
|
|
512
644
|
|
|
513
645
|
### Patch Changes
|
|
514
646
|
|
|
515
|
-
-
|
|
647
|
+
- Updated dependencies
|
|
516
648
|
|
|
517
649
|
## 1.1.1
|
|
518
650
|
|
|
519
651
|
### Patch Changes
|
|
520
652
|
|
|
521
|
-
-
|
|
653
|
+
- Updated dependencies
|
|
522
654
|
|
|
523
655
|
## 1.1.0
|
|
524
656
|
|
|
525
657
|
### Minor Changes
|
|
526
658
|
|
|
527
|
-
-
|
|
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`.
|
|
528
662
|
|
|
529
|
-
|
|
530
|
-
|
|
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.
|
|
531
666
|
|
|
532
667
|
### Patch Changes
|
|
533
668
|
|
|
534
|
-
-
|
|
669
|
+
- Updated dependencies
|
|
535
670
|
|
|
536
671
|
## 1.0.1
|
|
537
672
|
|
|
538
673
|
### Patch Changes
|
|
539
674
|
|
|
540
|
-
-
|
|
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
|
|
541
678
|
|
|
542
679
|
## 1.0.0
|
|
543
680
|
|
|
544
681
|
### Major Changes
|
|
545
682
|
|
|
546
|
-
-
|
|
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.
|
|
547
687
|
|
|
548
688
|
### Patch Changes
|
|
549
689
|
|
|
550
|
-
-
|
|
690
|
+
- Updated dependencies
|
|
551
691
|
|
|
552
692
|
## 0.8.5
|
|
553
693
|
|
|
554
694
|
### Patch Changes
|
|
555
695
|
|
|
556
|
-
-
|
|
696
|
+
- [#10255](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10255)
|
|
697
|
+
[`4e72825fa89`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e72825fa89) -
|
|
698
|
+
JET-1156:
|
|
557
699
|
|
|
558
|
-
|
|
559
|
-
|
|
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.
|
|
560
704
|
|
|
561
705
|
## 0.8.4
|
|
562
706
|
|
|
563
707
|
### Patch Changes
|
|
564
708
|
|
|
565
|
-
-
|
|
566
|
-
-
|
|
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
|
|
567
713
|
|
|
568
714
|
## 0.8.3
|
|
569
715
|
|
|
570
716
|
### Patch Changes
|
|
571
717
|
|
|
572
|
-
-
|
|
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
|
|
573
721
|
|
|
574
722
|
## 0.8.2
|
|
575
723
|
|
|
576
724
|
### Patch Changes
|
|
577
725
|
|
|
578
|
-
-
|
|
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
|
|
579
729
|
|
|
580
730
|
## 0.8.1
|
|
581
731
|
|
|
582
732
|
### Patch Changes
|
|
583
733
|
|
|
584
|
-
-
|
|
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.
|
|
585
737
|
|
|
586
738
|
## 0.8.0
|
|
587
739
|
|
|
588
740
|
### Minor Changes
|
|
589
741
|
|
|
590
|
-
-
|
|
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.
|
|
591
749
|
|
|
592
750
|
### Patch Changes
|
|
593
751
|
|
|
594
|
-
-
|
|
752
|
+
- Updated dependencies
|
|
595
753
|
|
|
596
754
|
## 0.7.10
|
|
597
755
|
|
|
598
756
|
### Patch Changes
|
|
599
757
|
|
|
600
|
-
-
|
|
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
|
|
601
761
|
|
|
602
762
|
## 0.7.9
|
|
603
763
|
|
|
604
764
|
### Patch Changes
|
|
605
765
|
|
|
606
|
-
-
|
|
607
|
-
|
|
608
|
-
|
|
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.
|
|
609
772
|
|
|
610
773
|
## 0.7.8
|
|
611
774
|
|
|
612
775
|
### Patch Changes
|
|
613
776
|
|
|
614
|
-
-
|
|
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.
|
|
615
781
|
|
|
616
782
|
## 0.7.7
|
|
617
783
|
|
|
618
784
|
### Patch Changes
|
|
619
785
|
|
|
620
|
-
-
|
|
786
|
+
- Updated dependencies
|
|
621
787
|
|
|
622
788
|
## 0.7.6
|
|
623
789
|
|
|
624
790
|
### Patch Changes
|
|
625
791
|
|
|
626
|
-
-
|
|
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
|
|
627
795
|
|
|
628
|
-
|
|
629
|
-
|
|
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.
|
|
630
798
|
|
|
631
799
|
## 0.7.5
|
|
632
800
|
|
|
633
801
|
### Patch Changes
|
|
634
802
|
|
|
635
|
-
-
|
|
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.
|
|
636
806
|
|
|
637
807
|
## 0.7.4
|
|
638
808
|
|
|
639
809
|
### Patch Changes
|
|
640
810
|
|
|
641
|
-
-
|
|
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
|
|
642
814
|
|
|
643
815
|
## 0.7.3
|
|
644
816
|
|
|
645
817
|
### Patch Changes
|
|
646
818
|
|
|
647
|
-
-
|
|
819
|
+
- Updated dependencies
|
|
648
820
|
|
|
649
821
|
## 0.7.2
|
|
650
822
|
|
|
651
823
|
### Patch Changes
|
|
652
824
|
|
|
653
|
-
-
|
|
654
|
-
|
|
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.
|
|
655
830
|
|
|
656
831
|
## 0.7.1
|
|
657
832
|
|
|
658
833
|
### Patch Changes
|
|
659
834
|
|
|
660
|
-
-
|
|
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.
|
|
661
839
|
|
|
662
840
|
## 0.7.0
|
|
663
841
|
|
|
664
842
|
### Minor Changes
|
|
665
843
|
|
|
666
|
-
-
|
|
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.
|
|
667
848
|
|
|
668
849
|
## 0.6.1
|
|
669
850
|
|
|
670
851
|
### Patch Changes
|
|
671
852
|
|
|
672
|
-
-
|
|
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
|
|
673
856
|
|
|
674
857
|
## 0.6.0
|
|
675
858
|
|
|
676
859
|
### Minor Changes
|
|
677
860
|
|
|
678
|
-
-
|
|
679
|
-
|
|
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
|
|
680
866
|
|
|
681
867
|
### Patch Changes
|
|
682
868
|
|
|
683
|
-
-
|
|
869
|
+
- Updated dependencies
|
|
684
870
|
|
|
685
871
|
## 0.5.7
|
|
686
872
|
|
|
687
873
|
### Patch Changes
|
|
688
874
|
|
|
689
|
-
-
|
|
875
|
+
- Updated dependencies
|
|
690
876
|
|
|
691
877
|
## 0.5.6
|
|
692
878
|
|
|
693
879
|
### Patch Changes
|
|
694
880
|
|
|
695
|
-
-
|
|
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
|
|
696
884
|
|
|
697
885
|
## 0.5.5
|
|
698
886
|
|
|
699
887
|
### Patch Changes
|
|
700
888
|
|
|
701
|
-
-
|
|
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.
|
|
702
893
|
|
|
703
894
|
## 0.5.4
|
|
704
895
|
|
|
705
896
|
### Patch Changes
|
|
706
897
|
|
|
707
|
-
-
|
|
708
|
-
|
|
709
|
-
|
|
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.
|
|
710
904
|
|
|
711
905
|
## 0.5.3
|
|
712
906
|
|
|
713
907
|
### Patch Changes
|
|
714
908
|
|
|
715
|
-
-
|
|
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
|
|
716
912
|
|
|
717
913
|
## 0.5.2
|
|
718
914
|
|
|
719
915
|
### Patch Changes
|
|
720
916
|
|
|
721
|
-
-
|
|
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
|
|
722
920
|
|
|
723
921
|
## 0.5.1
|
|
724
922
|
|
|
725
923
|
### Patch Changes
|
|
726
924
|
|
|
727
|
-
-
|
|
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.
|
|
728
928
|
|
|
729
929
|
## 0.5.0
|
|
730
930
|
|
|
731
931
|
### Minor Changes
|
|
732
932
|
|
|
733
|
-
-
|
|
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
|
|
734
937
|
|
|
735
938
|
## 0.4.0
|
|
736
939
|
|
|
737
940
|
### Minor Changes
|
|
738
941
|
|
|
739
|
-
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
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
|
-
|
|
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
|
|
785
1015
|
|
|
786
1016
|
## 0.3.1
|
|
787
1017
|
|
|
788
1018
|
### Patch Changes
|
|
789
1019
|
|
|
790
|
-
-
|
|
1020
|
+
- [patch][ab133d934f](https://bitbucket.org/atlassian/atlassian-frontend/commits/ab133d934f):
|
|
791
1021
|
|
|
792
|
-
|
|
1022
|
+
Change imports to comply with Atlassian conventions
|
|
793
1023
|
|
|
794
1024
|
## 0.3.0
|
|
795
1025
|
|
|
796
1026
|
### Minor Changes
|
|
797
1027
|
|
|
798
|
-
-
|
|
799
|
-
|
|
800
|
-
**Breaking:**
|
|
1028
|
+
- [minor][7ecbf8d0bd](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ecbf8d0bd):
|
|
801
1029
|
|
|
802
|
-
|
|
1030
|
+
**Breaking:**
|
|
1031
|
+
|
|
1032
|
+
- SideNavigation now has a required `label` prop.
|
|
803
1033
|
|
|
804
|
-
|
|
1034
|
+
**Accessibility Changes**
|
|
805
1035
|
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
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):
|
|
809
1039
|
|
|
810
|
-
|
|
1040
|
+
**BREAKING** - NavigationFooter component has been renamed to Footer.
|
|
811
1041
|
|
|
812
1042
|
### Patch Changes
|
|
813
1043
|
|
|
814
|
-
-
|
|
1044
|
+
- [patch][7b230682c2](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b230682c2):
|
|
815
1045
|
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
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.
|
|
819
1049
|
|
|
820
|
-
|
|
821
|
-
|
|
1050
|
+
```
|
|
1051
|
+
const [stack, setStack] = useState([]);
|
|
822
1052
|
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
1053
|
+
<SideNavigation>
|
|
1054
|
+
<NestableNavigationContent
|
|
1055
|
+
onChange={setStack}
|
|
1056
|
+
stack={stack}
|
|
1057
|
+
>
|
|
1058
|
+
...
|
|
1059
|
+
</NestableNavigationContent>
|
|
1060
|
+
</SideNavigation>
|
|
1061
|
+
```
|
|
832
1062
|
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
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).
|
|
836
1067
|
|
|
837
|
-
|
|
838
|
-
|
|
1068
|
+
```
|
|
1069
|
+
import { useShouldNestedElementRender } from '@atlaskit/side-navigation';
|
|
839
1070
|
|
|
840
|
-
|
|
841
|
-
|
|
1071
|
+
const MyCustomComponent = () => {
|
|
1072
|
+
const { shouldRender } = useShouldNestedElementRender();
|
|
842
1073
|
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
1074
|
+
if (shouldRender) {
|
|
1075
|
+
return <div>hello world!</div>;
|
|
1076
|
+
}
|
|
846
1077
|
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
1078
|
+
// If your component takes children you'll probably want to return children here instead.
|
|
1079
|
+
return null;
|
|
1080
|
+
};
|
|
1081
|
+
```
|
|
851
1082
|
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
1083
|
+
```
|
|
1084
|
+
<SideNavigation>
|
|
1085
|
+
<NestableNavigationContent>
|
|
1086
|
+
<MyCustomComponent />
|
|
1087
|
+
</NestableNavigationContent>
|
|
1088
|
+
</SideNavigation>
|
|
1089
|
+
```
|
|
859
1090
|
|
|
860
|
-
|
|
1091
|
+
- [patch][5c0bb69f7b](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c0bb69f7b):
|
|
861
1092
|
|
|
862
|
-
|
|
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):
|
|
863
1096
|
|
|
864
|
-
|
|
1097
|
+
Introduces skeletons for heading and item components.-
|
|
1098
|
+
[patch][43353900f7](https://bitbucket.org/atlassian/atlassian-frontend/commits/43353900f7):
|
|
865
1099
|
|
|
866
|
-
|
|
1100
|
+
Corrects and consolidates colors for item and side navigation components.-
|
|
1101
|
+
[patch][c60324c748](https://bitbucket.org/atlassian/atlassian-frontend/commits/c60324c748):
|
|
867
1102
|
|
|
868
|
-
|
|
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):
|
|
869
1106
|
|
|
870
|
-
|
|
1107
|
+
Adds scrolling indicators to the scrollable container component.
|
|
871
1108
|
|
|
872
|
-
-
|
|
873
|
-
|
|
874
|
-
-
|
|
875
|
-
|
|
876
|
-
-
|
|
877
|
-
|
|
878
|
-
-
|
|
879
|
-
|
|
880
|
-
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
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
|
|
885
1132
|
|
|
886
1133
|
## 0.2.0
|
|
887
1134
|
|
|
888
1135
|
### Minor Changes
|
|
889
1136
|
|
|
890
|
-
-
|
|
1137
|
+
- [minor][dce5efb012](https://bitbucket.org/atlassian/atlassian-frontend/commits/dce5efb012):
|
|
891
1138
|
|
|
892
|
-
|
|
1139
|
+
Support forward ref on side-navigation primitives
|
|
893
1140
|
|
|
894
1141
|
### Patch Changes
|
|
895
1142
|
|
|
896
|
-
-
|
|
1143
|
+
- [patch][4da717940e](https://bitbucket.org/atlassian/atlassian-frontend/commits/4da717940e):
|
|
897
1144
|
|
|
898
|
-
|
|
1145
|
+
Refactor side-navigation nesting logic to support async components-
|
|
1146
|
+
[patch][93709ca7eb](https://bitbucket.org/atlassian/atlassian-frontend/commits/93709ca7eb):
|
|
899
1147
|
|
|
900
|
-
|
|
1148
|
+
Adds `testId` to `NestingItem`- Updated dependencies
|
|
1149
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
901
1150
|
|
|
902
|
-
-
|
|
903
|
-
|
|
904
|
-
-
|
|
905
|
-
|
|
906
|
-
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
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
|
|
912
1166
|
|
|
913
1167
|
## 0.1.0
|
|
914
1168
|
|
|
915
1169
|
### Minor Changes
|
|
916
1170
|
|
|
917
|
-
-
|
|
1171
|
+
- [minor][e1416630ed](https://bitbucket.org/atlassian/atlassian-frontend/commits/e1416630ed):
|
|
918
1172
|
|
|
919
|
-
|
|
1173
|
+
**BREAKING**: Renamed exported components
|
|
920
1174
|
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
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`
|
|
926
1180
|
|
|
927
|
-
|
|
1181
|
+
Improve behaviour of scrollabe sections:
|
|
928
1182
|
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
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):
|
|
932
1189
|
|
|
933
|
-
|
|
1190
|
+
API changes and design changes for side-navigation
|
|
934
1191
|
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
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):
|
|
944
1205
|
|
|
945
|
-
|
|
1206
|
+
**BREAKING**: `id` prop is now required on NestingItems
|
|
946
1207
|
|
|
947
|
-
|
|
1208
|
+
The back button in nested views can now be customised
|
|
948
1209
|
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
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
|
|
952
1214
|
|
|
953
|
-
|
|
1215
|
+
The link form of nested views can now be customised
|
|
954
1216
|
|
|
955
|
-
|
|
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)
|
|
956
1219
|
|
|
957
1220
|
### Patch Changes
|
|
958
1221
|
|
|
959
|
-
-
|
|
1222
|
+
- [patch][babae63a7b](https://bitbucket.org/atlassian/atlassian-frontend/commits/babae63a7b):
|
|
960
1223
|
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
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):
|
|
966
1231
|
|
|
967
|
-
-
|
|
968
|
-
|
|
969
|
-
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
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
|
|
974
1243
|
|
|
975
1244
|
## 0.0.4
|
|
976
1245
|
|
|
977
1246
|
### Patch Changes
|
|
978
1247
|
|
|
979
|
-
-
|
|
1248
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
980
1249
|
|
|
981
|
-
|
|
1250
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1251
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
982
1252
|
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
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
|
|
988
1258
|
|
|
989
1259
|
## 0.0.3
|
|
990
1260
|
|
|
991
1261
|
### Patch Changes
|
|
992
1262
|
|
|
993
|
-
-
|
|
1263
|
+
- [patch][f3433f2096](https://bitbucket.org/atlassian/atlassian-frontend/commits/f3433f2096):
|
|
994
1264
|
|
|
995
|
-
|
|
1265
|
+
`NestingItem` now has an extra prop `isInitiallyOpen` that allows the side-navigation to
|
|
1266
|
+
initially render a particular nested view
|
|
996
1267
|
|
|
997
|
-
|
|
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):
|
|
998
1271
|
|
|
999
|
-
|
|
1272
|
+
Iterative updates to side-navigation:
|
|
1000
1273
|
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
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):
|
|
1004
1278
|
|
|
1005
|
-
-
|
|
1006
|
-
|
|
1007
|
-
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
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
|
|
1012
1289
|
|
|
1013
1290
|
## 0.0.2
|
|
1014
1291
|
|
|
1015
1292
|
### Patch Changes
|
|
1016
1293
|
|
|
1017
|
-
-
|
|
1294
|
+
- [patch][0e6929fbb9](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e6929fbb9):
|
|
1018
1295
|
|
|
1019
|
-
|
|
1296
|
+
Fixes a broken internal omport-
|
|
1297
|
+
[patch][146ca7139a](https://bitbucket.org/atlassian/atlassian-frontend/commits/146ca7139a):
|
|
1020
1298
|
|
|
1021
|
-
|
|
1299
|
+
Bump package to enable branch deploys- Updated dependencies
|
|
1300
|
+
[d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
|
|
1022
1301
|
|
|
1023
|
-
-
|
|
1024
|
-
|
|
1025
|
-
|
|
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
|