@atlaskit/menu 1.11.0 → 2.0.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 +102 -76
- package/dist/cjs/internal/components/menu-context.js +2 -4
- package/dist/cjs/internal/components/menu-item-primitive.js +13 -14
- package/dist/cjs/internal/components/skeleton-shimmer.js +1 -2
- package/dist/cjs/menu-item/button-item.js +2 -3
- package/dist/cjs/menu-item/custom-item.js +2 -3
- package/dist/cjs/menu-item/heading-item.js +2 -3
- package/dist/cjs/menu-item/link-item.js +2 -3
- package/dist/cjs/menu-item/skeleton-heading-item.js +2 -3
- package/dist/cjs/menu-item/skeleton-item.js +9 -13
- package/dist/cjs/menu-section/menu-group.js +1 -2
- package/dist/cjs/menu-section/popup-menu-group.js +1 -2
- package/dist/cjs/menu-section/section.js +10 -11
- package/dist/es2019/internal/components/menu-item-primitive.js +12 -12
- package/dist/es2019/menu-item/button-item.js +1 -1
- package/dist/es2019/menu-item/custom-item.js +1 -1
- package/dist/es2019/menu-item/heading-item.js +1 -1
- package/dist/es2019/menu-item/link-item.js +1 -1
- package/dist/es2019/menu-item/skeleton-heading-item.js +1 -1
- package/dist/es2019/menu-item/skeleton-item.js +8 -11
- package/dist/es2019/menu-section/section.js +9 -9
- package/dist/esm/internal/components/menu-item-primitive.js +12 -12
- package/dist/esm/menu-item/button-item.js +1 -1
- package/dist/esm/menu-item/custom-item.js +1 -1
- package/dist/esm/menu-item/heading-item.js +1 -1
- package/dist/esm/menu-item/link-item.js +1 -1
- package/dist/esm/menu-item/skeleton-heading-item.js +1 -1
- package/dist/esm/menu-item/skeleton-item.js +8 -11
- package/dist/esm/menu-section/section.js +9 -9
- package/package.json +1 -4
- package/dist/types-ts4.5/entry-points/menu-item/button-item.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/menu-item/custom-item.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/menu-item/heading-item.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/menu-item/link-item.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/menu-item/skeleton-heading-item.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/menu-item/skeleton-item.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/menu-section/menu-group.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/menu-section/popup-menu-group.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/menu-section/section.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -11
- package/dist/types-ts4.5/internal/components/menu-context.d.ts +0 -18
- package/dist/types-ts4.5/internal/components/menu-item-primitive.d.ts +0 -18
- package/dist/types-ts4.5/internal/components/skeleton-shimmer.d.ts +0 -24
- package/dist/types-ts4.5/menu-item/button-item.d.ts +0 -12
- package/dist/types-ts4.5/menu-item/custom-item.d.ts +0 -18
- package/dist/types-ts4.5/menu-item/heading-item.d.ts +0 -13
- package/dist/types-ts4.5/menu-item/link-item.d.ts +0 -12
- package/dist/types-ts4.5/menu-item/skeleton-heading-item.d.ts +0 -12
- package/dist/types-ts4.5/menu-item/skeleton-item.d.ts +0 -12
- package/dist/types-ts4.5/menu-section/menu-group.d.ts +0 -13
- package/dist/types-ts4.5/menu-section/popup-menu-group.d.ts +0 -8
- package/dist/types-ts4.5/menu-section/section.d.ts +0 -12
- package/dist/types-ts4.5/types.d.ts +0 -396
- package/tmp/api-report-tmp.d.ts +0 -222
package/CHANGELOG.md
CHANGED
|
@@ -1,46 +1,72 @@
|
|
|
1
1
|
# @atlaskit/menu
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#41355](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41355) [`cd1c813da18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd1c813da18) - Menu items now have a secondary selected state (border or notch), this was previously feature flagged for Atlassian experiences and is now available for everyone.
|
|
8
|
+
|
|
9
|
+
This change makes all menu items are now relatively positioned, if you had any child elements that leaned on this behaviour your experiences will now be broken!
|
|
10
|
+
|
|
11
|
+
For example the below code code previously the `div` would be positioned relatively to the menu group element. Now, it is positioned relatively to the button item element.
|
|
12
|
+
|
|
13
|
+
```jsx
|
|
14
|
+
<MenuGroup>
|
|
15
|
+
<ButtonItem>
|
|
16
|
+
<div style={{ position: 'absolute', top: '100%' }} />
|
|
17
|
+
</ButtonItem>
|
|
18
|
+
</MenuGroup>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
As a path forward you should not be leaning on this behaviour. If you need a popup experience use `@atlaskit/dropdown-menu` or `@atlaskit/popup`.
|
|
22
|
+
|
|
23
|
+
## 1.11.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- [#41025](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41025) [`518532660de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/518532660de) - Add default for environment variable to fix typechecking under local consumption
|
|
28
|
+
|
|
3
29
|
## 1.11.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
6
32
|
|
|
7
|
-
- [`5545e5a6ab2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5545e5a6ab2) - [ux] Adds `isLoading` prop to menu group for better context for assistive technology users.
|
|
33
|
+
- [#40393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40393) [`5545e5a6ab2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5545e5a6ab2) - [ux] Adds `isLoading` prop to menu group for better context for assistive technology users.
|
|
8
34
|
|
|
9
35
|
## 1.10.1
|
|
10
36
|
|
|
11
37
|
### Patch Changes
|
|
12
38
|
|
|
13
|
-
- [`a962b1b24eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a962b1b24eb) - The internal composition of this component has changed. There is no expected change in behavior.
|
|
39
|
+
- [#38745](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38745) [`a962b1b24eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a962b1b24eb) - The internal composition of this component has changed. There is no expected change in behavior.
|
|
14
40
|
|
|
15
41
|
## 1.10.0
|
|
16
42
|
|
|
17
43
|
### Minor Changes
|
|
18
44
|
|
|
19
|
-
- [`6bb299616f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6bb299616f3) - Adds a killswitch to turn off unsafe style overrides via a feature flag.
|
|
45
|
+
- [#38470](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38470) [`6bb299616f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6bb299616f3) - Adds a killswitch to turn off unsafe style overrides via a feature flag.
|
|
20
46
|
|
|
21
47
|
## 1.9.8
|
|
22
48
|
|
|
23
49
|
### Patch Changes
|
|
24
50
|
|
|
25
|
-
- [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
|
|
51
|
+
- [#38209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38209) [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
|
|
26
52
|
|
|
27
53
|
## 1.9.7
|
|
28
54
|
|
|
29
55
|
### Patch Changes
|
|
30
56
|
|
|
31
|
-
- [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies
|
|
57
|
+
- [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533) [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies
|
|
32
58
|
|
|
33
59
|
## 1.9.6
|
|
34
60
|
|
|
35
61
|
### Patch Changes
|
|
36
62
|
|
|
37
|
-
- [`71c51a488d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71c51a488d7) - Removes max-height constraint on compact density.
|
|
63
|
+
- [#37339](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37339) [`71c51a488d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71c51a488d7) - Removes max-height constraint on compact density.
|
|
38
64
|
|
|
39
65
|
## 1.9.5
|
|
40
66
|
|
|
41
67
|
### Patch Changes
|
|
42
68
|
|
|
43
|
-
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
69
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
44
70
|
|
|
45
71
|
## 1.9.4
|
|
46
72
|
|
|
@@ -58,7 +84,7 @@
|
|
|
58
84
|
|
|
59
85
|
### Patch Changes
|
|
60
86
|
|
|
61
|
-
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
87
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
62
88
|
|
|
63
89
|
## 1.9.1
|
|
64
90
|
|
|
@@ -70,7 +96,7 @@
|
|
|
70
96
|
|
|
71
97
|
### Minor Changes
|
|
72
98
|
|
|
73
|
-
- [`0af122e7d0f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0af122e7d0f) - [ux] Prop isList in Section component allows to add `<ul>` and `<li>` elements around the items to better semantic markup if it is a list of items
|
|
99
|
+
- [#35164](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35164) [`0af122e7d0f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0af122e7d0f) - [ux] Prop isList in Section component allows to add `<ul>` and `<li>` elements around the items to better semantic markup if it is a list of items
|
|
74
100
|
|
|
75
101
|
## 1.8.1
|
|
76
102
|
|
|
@@ -82,7 +108,7 @@
|
|
|
82
108
|
|
|
83
109
|
### Minor Changes
|
|
84
110
|
|
|
85
|
-
- [`b53207f89ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b53207f89ef) - The internal menu context now can have no border or notch for the selected state. This is being tested under a feature flag and if successful will be available in a later release.
|
|
111
|
+
- [#35038](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35038) [`b53207f89ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b53207f89ef) - The internal menu context now can have no border or notch for the selected state. This is being tested under a feature flag and if successful will be available in a later release.
|
|
86
112
|
|
|
87
113
|
### Patch Changes
|
|
88
114
|
|
|
@@ -110,55 +136,55 @@
|
|
|
110
136
|
|
|
111
137
|
### Patch Changes
|
|
112
138
|
|
|
113
|
-
- [`4b76c41be8e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b76c41be8e) - Added prop deprecation warnings for cssFn and overrides props. These warnings are displayed in the console in development environments only.
|
|
139
|
+
- [#34655](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34655) [`4b76c41be8e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b76c41be8e) - Added prop deprecation warnings for cssFn and overrides props. These warnings are displayed in the console in development environments only.
|
|
114
140
|
|
|
115
141
|
## 1.7.5
|
|
116
142
|
|
|
117
143
|
### Patch Changes
|
|
118
144
|
|
|
119
|
-
- [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
|
|
145
|
+
- [#33652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33652) [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
|
|
120
146
|
|
|
121
147
|
## 1.7.4
|
|
122
148
|
|
|
123
149
|
### Patch Changes
|
|
124
150
|
|
|
125
|
-
- [`33f10b7eb36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33f10b7eb36) - Removing unused dependencies and dev dependencies
|
|
151
|
+
- [#34445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34445) [`33f10b7eb36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33f10b7eb36) - Removing unused dependencies and dev dependencies
|
|
126
152
|
|
|
127
153
|
## 1.7.3
|
|
128
154
|
|
|
129
155
|
### Patch Changes
|
|
130
156
|
|
|
131
|
-
- [`a1c538cb238`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a1c538cb238) - Enrol @atlaskit/menu on push model consumption in Jira.
|
|
157
|
+
- [#34369](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34369) [`a1c538cb238`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a1c538cb238) - Enrol @atlaskit/menu on push model consumption in Jira.
|
|
132
158
|
|
|
133
159
|
## 1.7.2
|
|
134
160
|
|
|
135
161
|
### Patch Changes
|
|
136
162
|
|
|
137
|
-
- [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
163
|
+
- [#34051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34051) [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
138
164
|
|
|
139
165
|
## 1.7.1
|
|
140
166
|
|
|
141
167
|
### Patch Changes
|
|
142
168
|
|
|
143
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
169
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
144
170
|
|
|
145
171
|
## 1.7.0
|
|
146
172
|
|
|
147
173
|
### Minor Changes
|
|
148
174
|
|
|
149
|
-
- [`d518f0e34b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d518f0e34b9) - [ux] We are testing a selected indicator change to menu, dropdown-menu, and side-navigation packages behind an internal feature flag. If successful this will be released in a later minor release.
|
|
175
|
+
- [#33349](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33349) [`d518f0e34b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d518f0e34b9) - [ux] We are testing a selected indicator change to menu, dropdown-menu, and side-navigation packages behind an internal feature flag. If successful this will be released in a later minor release.
|
|
150
176
|
|
|
151
177
|
## 1.6.1
|
|
152
178
|
|
|
153
179
|
### Patch Changes
|
|
154
180
|
|
|
155
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
181
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
156
182
|
|
|
157
183
|
## 1.6.0
|
|
158
184
|
|
|
159
185
|
### Minor Changes
|
|
160
186
|
|
|
161
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
187
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
162
188
|
|
|
163
189
|
### Patch Changes
|
|
164
190
|
|
|
@@ -168,7 +194,7 @@
|
|
|
168
194
|
|
|
169
195
|
### Patch Changes
|
|
170
196
|
|
|
171
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
197
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
172
198
|
|
|
173
199
|
## 1.5.7
|
|
174
200
|
|
|
@@ -198,27 +224,27 @@
|
|
|
198
224
|
|
|
199
225
|
### Patch Changes
|
|
200
226
|
|
|
201
|
-
- [`a8debc96871`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a8debc96871) - Internal update to menu primitive so it renders a span instead of a div as child of button.
|
|
227
|
+
- [#31691](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31691) [`a8debc96871`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a8debc96871) - Internal update to menu primitive so it renders a span instead of a div as child of button.
|
|
202
228
|
|
|
203
229
|
## 1.5.2
|
|
204
230
|
|
|
205
231
|
### Patch Changes
|
|
206
232
|
|
|
207
|
-
- [`3ca97be0c06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ca97be0c06) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
|
|
233
|
+
- [#31378](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31378) [`3ca97be0c06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ca97be0c06) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
|
|
208
234
|
- Updated dependencies
|
|
209
235
|
|
|
210
236
|
## 1.5.1
|
|
211
237
|
|
|
212
238
|
### Patch Changes
|
|
213
239
|
|
|
214
|
-
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
240
|
+
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
215
241
|
- Updated dependencies
|
|
216
242
|
|
|
217
243
|
## 1.5.0
|
|
218
244
|
|
|
219
245
|
### Minor Changes
|
|
220
246
|
|
|
221
|
-
- [`93d761786d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d761786d6) - [ux] Default spacing for all menu items has been changed from 20px inline padding to 16px.
|
|
247
|
+
- [#30362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30362) [`93d761786d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d761786d6) - [ux] Default spacing for all menu items has been changed from 20px inline padding to 16px.
|
|
222
248
|
|
|
223
249
|
Adds a new spacing prop to on `MenuGroup`. The prop can be used to control the content density of the component and its children.
|
|
224
250
|
|
|
@@ -228,7 +254,7 @@
|
|
|
228
254
|
|
|
229
255
|
### Patch Changes
|
|
230
256
|
|
|
231
|
-
- [`63c2f0b3f96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63c2f0b3f96) - Internal changes to use spacing tokens. There is no expected behaviour or visual change.
|
|
257
|
+
- [#29725](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29725) [`63c2f0b3f96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63c2f0b3f96) - Internal changes to use spacing tokens. There is no expected behaviour or visual change.
|
|
232
258
|
|
|
233
259
|
## 1.4.9
|
|
234
260
|
|
|
@@ -240,13 +266,13 @@
|
|
|
240
266
|
|
|
241
267
|
### Patch Changes
|
|
242
268
|
|
|
243
|
-
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
269
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
244
270
|
|
|
245
271
|
## 1.4.7
|
|
246
272
|
|
|
247
273
|
### Patch Changes
|
|
248
274
|
|
|
249
|
-
- [`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects` when loading the page.
|
|
275
|
+
- [#29227](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29227) [`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects` when loading the page.
|
|
250
276
|
|
|
251
277
|
## 1.4.6
|
|
252
278
|
|
|
@@ -258,13 +284,13 @@
|
|
|
258
284
|
|
|
259
285
|
### Patch Changes
|
|
260
286
|
|
|
261
|
-
- [`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) - Updated to use typography tokens. There is no expected behaviour or visual change.
|
|
287
|
+
- [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064) [`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) - Updated to use typography tokens. There is no expected behaviour or visual change.
|
|
262
288
|
|
|
263
289
|
## 1.4.4
|
|
264
290
|
|
|
265
291
|
### Patch Changes
|
|
266
292
|
|
|
267
|
-
- [`f96f3ebd861`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f96f3ebd861) - [ux] Use color.background.neutral.subtle token to represent transparent background.
|
|
293
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`f96f3ebd861`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f96f3ebd861) - [ux] Use color.background.neutral.subtle token to represent transparent background.
|
|
268
294
|
- [`981faeea2ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/981faeea2ff) - Application of spacing tokens for some internal styles of `MenuPrimitive`.
|
|
269
295
|
- [`bcbd0c5b5bf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bcbd0c5b5bf) - Fix text color styling of disabled descriptions in menu and link items
|
|
270
296
|
|
|
@@ -290,7 +316,7 @@
|
|
|
290
316
|
|
|
291
317
|
### Minor Changes
|
|
292
318
|
|
|
293
|
-
- [`3acf8a89149`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3acf8a89149) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
319
|
+
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`3acf8a89149`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3acf8a89149) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
294
320
|
|
|
295
321
|
### Patch Changes
|
|
296
322
|
|
|
@@ -300,52 +326,52 @@
|
|
|
300
326
|
|
|
301
327
|
### Patch Changes
|
|
302
328
|
|
|
303
|
-
- [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
329
|
+
- [#26408](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26408) [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
304
330
|
|
|
305
331
|
## 1.3.11
|
|
306
332
|
|
|
307
333
|
### Patch Changes
|
|
308
334
|
|
|
309
|
-
- [`8f2153a45a7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f2153a45a7) - Convert Menu Group to use primitives.
|
|
335
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`8f2153a45a7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f2153a45a7) - Convert Menu Group to use primitives.
|
|
310
336
|
- Updated dependencies
|
|
311
337
|
|
|
312
338
|
## 1.3.10
|
|
313
339
|
|
|
314
340
|
### Patch Changes
|
|
315
341
|
|
|
316
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
342
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
317
343
|
|
|
318
344
|
## 1.3.9
|
|
319
345
|
|
|
320
346
|
### Patch Changes
|
|
321
347
|
|
|
322
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
348
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
323
349
|
|
|
324
350
|
## 1.3.8
|
|
325
351
|
|
|
326
352
|
### Patch Changes
|
|
327
353
|
|
|
328
|
-
- [`b196f69e76b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b196f69e76b) - Menu items no longer intercept mouse down events to force focus or blur behavior depending on the last focused element.
|
|
354
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`b196f69e76b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b196f69e76b) - Menu items no longer intercept mouse down events to force focus or blur behavior depending on the last focused element.
|
|
329
355
|
- Updated dependencies
|
|
330
356
|
|
|
331
357
|
## 1.3.7
|
|
332
358
|
|
|
333
359
|
### Patch Changes
|
|
334
360
|
|
|
335
|
-
- [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
361
|
+
- [#22614](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22614) [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
336
362
|
|
|
337
363
|
## 1.3.6
|
|
338
364
|
|
|
339
365
|
### Patch Changes
|
|
340
366
|
|
|
341
|
-
- [`c8145459eb5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8145459eb5) - [ux] Updating skeleton token in @atlakist/menu, @atlaskit/theme
|
|
367
|
+
- [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029) [`c8145459eb5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8145459eb5) - [ux] Updating skeleton token in @atlakist/menu, @atlaskit/theme
|
|
342
368
|
- Updated dependencies
|
|
343
369
|
|
|
344
370
|
## 1.3.5
|
|
345
371
|
|
|
346
372
|
### Patch Changes
|
|
347
373
|
|
|
348
|
-
- [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
374
|
+
- [#21545](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21545) [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
349
375
|
|
|
350
376
|
## 1.3.4
|
|
351
377
|
|
|
@@ -357,7 +383,7 @@
|
|
|
357
383
|
|
|
358
384
|
### Patch Changes
|
|
359
385
|
|
|
360
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
386
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
361
387
|
|
|
362
388
|
## 1.3.2
|
|
363
389
|
|
|
@@ -369,7 +395,7 @@
|
|
|
369
395
|
|
|
370
396
|
### Patch Changes
|
|
371
397
|
|
|
372
|
-
- [`59e2178901f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59e2178901f) - The `isShimmering` prop for skeleton items has been fixed, resolving a regression in version 1.2.0.
|
|
398
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`59e2178901f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59e2178901f) - The `isShimmering` prop for skeleton items has been fixed, resolving a regression in version 1.2.0.
|
|
373
399
|
- [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes.
|
|
374
400
|
- Updated dependencies
|
|
375
401
|
|
|
@@ -377,7 +403,7 @@
|
|
|
377
403
|
|
|
378
404
|
### Minor Changes
|
|
379
405
|
|
|
380
|
-
- [`77c46ec96a7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77c46ec96a7) - Adds a prop for `role` to the MenuGroup component that acts as you'd expect the HTML attribute to act. You are now able to override the accessibility role for the element.
|
|
406
|
+
- [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`77c46ec96a7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77c46ec96a7) - Adds a prop for `role` to the MenuGroup component that acts as you'd expect the HTML attribute to act. You are now able to override the accessibility role for the element.
|
|
381
407
|
|
|
382
408
|
### Patch Changes
|
|
383
409
|
|
|
@@ -387,8 +413,8 @@
|
|
|
387
413
|
|
|
388
414
|
### Patch Changes
|
|
389
415
|
|
|
390
|
-
- [`58884c2f6c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58884c2f6c1) - Internal code change turning on a new linting rule.
|
|
391
|
-
- [`27467f65f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27467f65f68) - [ux] Update headingStyle to color that passes WCAG AA color contrast
|
|
416
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`58884c2f6c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58884c2f6c1) - Internal code change turning on a new linting rule.
|
|
417
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`27467f65f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27467f65f68) - [ux] Update headingStyle to color that passes WCAG AA color contrast
|
|
392
418
|
- [`2066efabc65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2066efabc65) - A fix for the `StatelessCSSFn` type so that it now correctly accetps a void argument.
|
|
393
419
|
- [`96cfc6c1c7f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96cfc6c1c7f) - Deprecates the `cssFn` and `overrides` APIs in '@atlaskit/menu'. These APIs are not performant and allow unbounded customisation of the Menu components. These APIs will be removed in a future release.
|
|
394
420
|
- Updated dependencies
|
|
@@ -411,26 +437,26 @@
|
|
|
411
437
|
|
|
412
438
|
### Patch Changes
|
|
413
439
|
|
|
414
|
-
- [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
440
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
415
441
|
- Updated dependencies
|
|
416
442
|
|
|
417
443
|
## 1.2.2
|
|
418
444
|
|
|
419
445
|
### Patch Changes
|
|
420
446
|
|
|
421
|
-
- [`2eeb5c46710`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2eeb5c46710) - Menu items can take `data-testid` directly again however we recommend to still use the officially supported `testId` prop instead. The `data-testid` prop was unintentionally removed in a previous version however will be removed as a breaking change in a later major version and remains not officially typed.
|
|
447
|
+
- [#16405](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16405) [`2eeb5c46710`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2eeb5c46710) - Menu items can take `data-testid` directly again however we recommend to still use the officially supported `testId` prop instead. The `data-testid` prop was unintentionally removed in a previous version however will be removed as a breaking change in a later major version and remains not officially typed.
|
|
422
448
|
|
|
423
449
|
## 1.2.1
|
|
424
450
|
|
|
425
451
|
### Patch Changes
|
|
426
452
|
|
|
427
|
-
- [`2b2290121eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2b2290121eb) - Raised the minimum version carat range of focus ring to latest.
|
|
453
|
+
- [#16335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16335) [`2b2290121eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2b2290121eb) - Raised the minimum version carat range of focus ring to latest.
|
|
428
454
|
|
|
429
455
|
## 1.2.0
|
|
430
456
|
|
|
431
457
|
### Minor Changes
|
|
432
458
|
|
|
433
|
-
- [`213bfd77e61`](https://bitbucket.org/atlassian/atlassian-frontend/commits/213bfd77e61) - The DOM structure of menu item components has been flattened.
|
|
459
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`213bfd77e61`](https://bitbucket.org/atlassian/atlassian-frontend/commits/213bfd77e61) - The DOM structure of menu item components has been flattened.
|
|
434
460
|
If you used CSS hacks (via className or cssFn) that targetted specific DOM nodes you may be broken.
|
|
435
461
|
|
|
436
462
|
Previously the structure looked like:
|
|
@@ -465,13 +491,13 @@
|
|
|
465
491
|
|
|
466
492
|
### Patch Changes
|
|
467
493
|
|
|
468
|
-
- [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
494
|
+
- [#15632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15632) [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
469
495
|
|
|
470
496
|
## 1.1.3
|
|
471
497
|
|
|
472
498
|
### Patch Changes
|
|
473
499
|
|
|
474
|
-
- [`192d35cfdbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/192d35cfdbd) - Defaults native button usage to type="button" to prevent unintended submittig of forms.
|
|
500
|
+
- [#15531](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15531) [`192d35cfdbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/192d35cfdbd) - Defaults native button usage to type="button" to prevent unintended submittig of forms.
|
|
475
501
|
|
|
476
502
|
## 1.1.2
|
|
477
503
|
|
|
@@ -489,7 +515,7 @@
|
|
|
489
515
|
|
|
490
516
|
### Minor Changes
|
|
491
517
|
|
|
492
|
-
- [`224028babd3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/224028babd3) - Menu now uses the design system and emotion styling techstacks.
|
|
518
|
+
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`224028babd3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/224028babd3) - Menu now uses the design system and emotion styling techstacks.
|
|
493
519
|
- [`506282a89f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/506282a89f2) - [ux] Menu items now have their text color set using `currentColor` instead of using colors directly off the palette.
|
|
494
520
|
- [`58832848c98`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58832848c98) - Instrumented menu with the new theming package, `@atlaskit/tokens`.
|
|
495
521
|
|
|
@@ -505,55 +531,55 @@
|
|
|
505
531
|
|
|
506
532
|
### Patch Changes
|
|
507
533
|
|
|
508
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
534
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
509
535
|
|
|
510
536
|
## 1.0.3
|
|
511
537
|
|
|
512
538
|
### Patch Changes
|
|
513
539
|
|
|
514
|
-
- [`3c1182fdf13`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c1182fdf13) - added optional `role` prop to link item for a11y
|
|
540
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`3c1182fdf13`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c1182fdf13) - added optional `role` prop to link item for a11y
|
|
515
541
|
|
|
516
542
|
## 1.0.2
|
|
517
543
|
|
|
518
544
|
### Patch Changes
|
|
519
545
|
|
|
520
|
-
- [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
|
|
546
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167) [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
|
|
521
547
|
|
|
522
548
|
## 1.0.1
|
|
523
549
|
|
|
524
550
|
### Patch Changes
|
|
525
551
|
|
|
526
|
-
- [`1648daf0308`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1648daf0308) - Updates button item props.
|
|
552
|
+
- [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569) [`1648daf0308`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1648daf0308) - Updates button item props.
|
|
527
553
|
|
|
528
554
|
## 1.0.0
|
|
529
555
|
|
|
530
556
|
### Major Changes
|
|
531
557
|
|
|
532
|
-
- [`7727f723965`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7727f723965) - Internal change to the release model from continous to scheduled release. There are **NO API CHANGES** in this release.
|
|
558
|
+
- [#10609](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10609) [`7727f723965`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7727f723965) - Internal change to the release model from continous to scheduled release. There are **NO API CHANGES** in this release.
|
|
533
559
|
|
|
534
560
|
## 0.7.6
|
|
535
561
|
|
|
536
562
|
### Patch Changes
|
|
537
563
|
|
|
538
|
-
- [`9ea5f8887cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9ea5f8887cd) - Internal change to menu styling to allow for the separator color to be customisable in side-navigation
|
|
564
|
+
- [#10255](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10255) [`9ea5f8887cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9ea5f8887cd) - Internal change to menu styling to allow for the separator color to be customisable in side-navigation
|
|
539
565
|
|
|
540
566
|
## 0.7.5
|
|
541
567
|
|
|
542
568
|
### Patch Changes
|
|
543
569
|
|
|
544
|
-
- [`21713b1335a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21713b1335a) - [ux] adding shouldTitleWrap and shouldDescriptionWrap prop to menu items for wrap long text in title and description
|
|
570
|
+
- [#9595](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9595) [`21713b1335a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21713b1335a) - [ux] adding shouldTitleWrap and shouldDescriptionWrap prop to menu items for wrap long text in title and description
|
|
545
571
|
|
|
546
572
|
## 0.7.4
|
|
547
573
|
|
|
548
574
|
### Patch Changes
|
|
549
575
|
|
|
550
|
-
- [`a1def13c6fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a1def13c6fb) - Restructure the package to align with lite mode convention, and introduce entry points to each item type
|
|
576
|
+
- [#8861](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8861) [`a1def13c6fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a1def13c6fb) - Restructure the package to align with lite mode convention, and introduce entry points to each item type
|
|
551
577
|
|
|
552
578
|
## 0.7.3
|
|
553
579
|
|
|
554
580
|
### Patch Changes
|
|
555
581
|
|
|
556
|
-
- [`451f220a771`](https://bitbucket.org/atlassian/atlassian-frontend/commits/451f220a771) - Set disabled/aria-disabled for menu item HTML elements, and prevent mouse events when the item is disabled
|
|
582
|
+
- [#8637](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8637) [`451f220a771`](https://bitbucket.org/atlassian/atlassian-frontend/commits/451f220a771) - Set disabled/aria-disabled for menu item HTML elements, and prevent mouse events when the item is disabled
|
|
557
583
|
- [`981c9be6b32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/981c9be6b32) - Fix generics for custom item to work with typed components from external libs
|
|
558
584
|
- [`11fea0f7e4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11fea0f7e4b) - Memoise menu item variants
|
|
559
585
|
|
|
@@ -561,31 +587,31 @@
|
|
|
561
587
|
|
|
562
588
|
### Patch Changes
|
|
563
589
|
|
|
564
|
-
- [`1b5d5c0fca9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1b5d5c0fca9) - Use light mode values instead of calling the themed() API
|
|
590
|
+
- [#8514](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8514) [`1b5d5c0fca9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1b5d5c0fca9) - Use light mode values instead of calling the themed() API
|
|
565
591
|
|
|
566
592
|
## 0.7.1
|
|
567
593
|
|
|
568
594
|
### Patch Changes
|
|
569
595
|
|
|
570
|
-
- [`0b2f7e76803`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b2f7e76803) - Codemods will only format a file if it is mutated.
|
|
596
|
+
- [#8404](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8404) [`0b2f7e76803`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b2f7e76803) - Codemods will only format a file if it is mutated.
|
|
571
597
|
|
|
572
598
|
## 0.7.0
|
|
573
599
|
|
|
574
600
|
### Minor Changes
|
|
575
601
|
|
|
576
|
-
- [`79a40dec30`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79a40dec30) - **Breaking** Adjusts the API of the cssFn prop used in both menu and side-navigation. The prop now no longer exposes the currentStyles to the user in the callback and instead only provides the current state. Users no longer need to spread the currentStyles into their components when overriding. This change also resolves a bug where cssFn overrides did not always take precedence correctly over the default component styles.
|
|
602
|
+
- [#6194](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6194) [`79a40dec30`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79a40dec30) - **Breaking** Adjusts the API of the cssFn prop used in both menu and side-navigation. The prop now no longer exposes the currentStyles to the user in the callback and instead only provides the current state. Users no longer need to spread the currentStyles into their components when overriding. This change also resolves a bug where cssFn overrides did not always take precedence correctly over the default component styles.
|
|
577
603
|
|
|
578
604
|
## 0.6.5
|
|
579
605
|
|
|
580
606
|
### Patch Changes
|
|
581
607
|
|
|
582
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
608
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
583
609
|
|
|
584
610
|
## 0.6.4
|
|
585
611
|
|
|
586
612
|
### Patch Changes
|
|
587
613
|
|
|
588
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
614
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
589
615
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
590
616
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
591
617
|
|
|
@@ -599,13 +625,13 @@
|
|
|
599
625
|
|
|
600
626
|
### Patch Changes
|
|
601
627
|
|
|
602
|
-
- [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
628
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707) [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
603
629
|
|
|
604
630
|
## 0.6.1
|
|
605
631
|
|
|
606
632
|
### Patch Changes
|
|
607
633
|
|
|
608
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
634
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
609
635
|
|
|
610
636
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
611
637
|
to prevent duplicates of tslib being bundled.
|
|
@@ -614,25 +640,25 @@
|
|
|
614
640
|
|
|
615
641
|
### Minor Changes
|
|
616
642
|
|
|
617
|
-
- [`63625ea30c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63625ea30c) - Add `aria-current="page"` attribute to anchor tag when `isSelected` prop is `true` for `LinkItem` component.
|
|
643
|
+
- [#4029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4029) [`63625ea30c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63625ea30c) - Add `aria-current="page"` attribute to anchor tag when `isSelected` prop is `true` for `LinkItem` component.
|
|
618
644
|
|
|
619
645
|
## 0.5.2
|
|
620
646
|
|
|
621
647
|
### Patch Changes
|
|
622
648
|
|
|
623
|
-
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
649
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
624
650
|
|
|
625
651
|
## 0.5.1
|
|
626
652
|
|
|
627
653
|
### Patch Changes
|
|
628
654
|
|
|
629
|
-
- [`a70b60d9f1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a70b60d9f1) - The line height of menu items has been slightly increased to accomodate descender spacing viewed on non-retina displays.
|
|
655
|
+
- [#3515](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3515) [`a70b60d9f1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a70b60d9f1) - The line height of menu items has been slightly increased to accomodate descender spacing viewed on non-retina displays.
|
|
630
656
|
|
|
631
657
|
## 0.5.0
|
|
632
658
|
|
|
633
659
|
### Minor Changes
|
|
634
660
|
|
|
635
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
661
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
636
662
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
637
663
|
|
|
638
664
|
### Patch Changes
|
|
@@ -643,19 +669,19 @@
|
|
|
643
669
|
|
|
644
670
|
### Patch Changes
|
|
645
671
|
|
|
646
|
-
- [`952087be5b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/952087be5b) - Item components now blur themselves during the mouse down event.
|
|
672
|
+
- [#3025](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3025) [`952087be5b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/952087be5b) - Item components now blur themselves during the mouse down event.
|
|
647
673
|
|
|
648
674
|
## 0.4.6
|
|
649
675
|
|
|
650
676
|
### Patch Changes
|
|
651
677
|
|
|
652
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
678
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
653
679
|
|
|
654
680
|
## 0.4.5
|
|
655
681
|
|
|
656
682
|
### Patch Changes
|
|
657
683
|
|
|
658
|
-
- [`d674e203b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d674e203b3) - Previously Menu items controlled their own margin spacing which caused issues when trying to use them outside of Menu.
|
|
684
|
+
- [#2537](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2537) [`d674e203b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d674e203b3) - Previously Menu items controlled their own margin spacing which caused issues when trying to use them outside of Menu.
|
|
659
685
|
Now we have moved Menu item margin styles into the Section component so now the Section dictates the spacing around child items.
|
|
660
686
|
We had to update Side Navigation to control its child item margins as well.
|
|
661
687
|
|
|
@@ -663,19 +689,19 @@
|
|
|
663
689
|
|
|
664
690
|
### Patch Changes
|
|
665
691
|
|
|
666
|
-
- [`649f69b6d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/649f69b6d7) - Patch all packages that are used by confluence that have a broken es2019 dist
|
|
692
|
+
- [#2430](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2430) [`649f69b6d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/649f69b6d7) - Patch all packages that are used by confluence that have a broken es2019 dist
|
|
667
693
|
|
|
668
694
|
## 0.4.3
|
|
669
695
|
|
|
670
696
|
### Patch Changes
|
|
671
697
|
|
|
672
|
-
- [`eb2ed36f5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb2ed36f5a) - Fix characters with descenders (eg. 'g', 'j', 'p') in Menu Items from being clipped by increasing the line-height.
|
|
698
|
+
- [#2393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2393) [`eb2ed36f5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb2ed36f5a) - Fix characters with descenders (eg. 'g', 'j', 'p') in Menu Items from being clipped by increasing the line-height.
|
|
673
699
|
|
|
674
700
|
## 0.4.2
|
|
675
701
|
|
|
676
702
|
### Patch Changes
|
|
677
703
|
|
|
678
|
-
- [`0b64c87548`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b64c87548) - FIX: Global `a:visited` styles should not override LinkItem `:visited` styles
|
|
704
|
+
- [#2039](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2039) [`0b64c87548`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b64c87548) - FIX: Global `a:visited` styles should not override LinkItem `:visited` styles
|
|
679
705
|
|
|
680
706
|
## 0.4.1
|
|
681
707
|
|
|
@@ -12,7 +12,7 @@ var _react = require("react");
|
|
|
12
12
|
*
|
|
13
13
|
* @internal Do not use directly.
|
|
14
14
|
*/
|
|
15
|
-
var SpacingContext = /*#__PURE__*/(0, _react.createContext)('cozy');
|
|
15
|
+
var SpacingContext = exports.SpacingContext = /*#__PURE__*/(0, _react.createContext)('cozy');
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* __Selection context__
|
|
@@ -21,6 +21,4 @@ var SpacingContext = /*#__PURE__*/(0, _react.createContext)('cozy');
|
|
|
21
21
|
*
|
|
22
22
|
* @internal Do not use directly.
|
|
23
23
|
*/
|
|
24
|
-
exports.
|
|
25
|
-
var SELECTION_STYLE_CONTEXT_DO_NOT_USE = /*#__PURE__*/(0, _react.createContext)('border');
|
|
26
|
-
exports.SELECTION_STYLE_CONTEXT_DO_NOT_USE = SELECTION_STYLE_CONTEXT_DO_NOT_USE;
|
|
24
|
+
var SELECTION_STYLE_CONTEXT_DO_NOT_USE = exports.SELECTION_STYLE_CONTEXT_DO_NOT_USE = /*#__PURE__*/(0, _react.createContext)('border');
|