@atlaskit/heading 2.2.0 → 2.3.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 CHANGED
@@ -1,386 +1,505 @@
1
1
  # @atlaskit/heading
2
2
 
3
+ ## 2.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#97580](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97580)
8
+ [`3e6f291ec2d5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3e6f291ec2d5) -
9
+ Color prop to take color tokens when using heading with size prop.
10
+
3
11
  ## 2.2.0
4
12
 
5
13
  ### Minor Changes
6
14
 
7
- - [#91625](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91625) [`d7770083ff25`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d7770083ff25) - Add support for React 18.
15
+ - [#91625](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91625)
16
+ [`d7770083ff25`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d7770083ff25) -
17
+ Add support for React 18.
8
18
 
9
19
  ## 2.1.2
10
20
 
11
21
  ### Patch Changes
12
22
 
13
- - [#83130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83130) [`4efd62cdc533`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4efd62cdc533) - SHPLVIII-481: Assign name to default export components to fix quick-fix imports
23
+ - [#83130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83130)
24
+ [`4efd62cdc533`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4efd62cdc533) -
25
+ SHPLVIII-481: Assign name to default export components to fix quick-fix imports
14
26
 
15
27
  ## 2.1.1
16
28
 
17
29
  ### Patch Changes
18
30
 
19
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
31
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
32
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
33
+ Upgrade Typescript from `4.9.5` to `5.4.2`
20
34
 
21
35
  ## 2.1.0
22
36
 
23
37
  ### Minor Changes
24
38
 
25
- - [#78900](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78900) [`2e05dc3106e3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2e05dc3106e3) - Run codegen for Heading font family changes.
39
+ - [#78900](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78900)
40
+ [`2e05dc3106e3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2e05dc3106e3) -
41
+ Run codegen for Heading font family changes.
26
42
 
27
43
  ### Patch Changes
28
44
 
29
- - Updated dependencies
45
+ - Updated dependencies
30
46
 
31
47
  ## 2.0.1
32
48
 
33
49
  ### Patch Changes
34
50
 
35
- - [#80571](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80571) [`c193ae1d1163`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c193ae1d1163) - Fix heading typography styles to for apple OS edge cases.
51
+ - [#80571](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80571)
52
+ [`c193ae1d1163`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c193ae1d1163) -
53
+ Fix heading typography styles to for apple OS edge cases.
36
54
 
37
55
  ## 2.0.0
38
56
 
39
57
  ### Major Changes
40
58
 
41
- - [#81744](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81744) [`bc7085853ea2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc7085853ea2) - Renamed `variant` prop to `size`. The prop values remain unchanged.
59
+ - [#81744](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81744)
60
+ [`bc7085853ea2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc7085853ea2) -
61
+ Renamed `variant` prop to `size`. The prop values remain unchanged.
42
62
 
43
63
  ## 1.8.1
44
64
 
45
65
  ### Patch Changes
46
66
 
47
- - [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644) [`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) - Revert input border change from the previous version
67
+ - [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644)
68
+ [`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) -
69
+ Revert input border change from the previous version
48
70
 
49
71
  ## 1.8.0
50
72
 
51
73
  ### Minor Changes
52
74
 
53
- - [#80528](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80528) [`8877e9b57d55`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8877e9b57d55) - Added `size` prop which will replace `variant` prop in the next major version.
75
+ - [#80528](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80528)
76
+ [`8877e9b57d55`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8877e9b57d55) -
77
+ Added `size` prop which will replace `variant` prop in the next major version.
54
78
 
55
79
  ## 1.7.1
56
80
 
57
81
  ### Patch Changes
58
82
 
59
- - [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805) [`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) - Update input border color token and width to meet 3:1 color contrast
60
- - Updated dependencies
83
+ - [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805)
84
+ [`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) -
85
+ Update input border color token and width to meet 3:1 color contrast
86
+ - Updated dependencies
61
87
 
62
88
  ## 1.7.0
63
89
 
64
90
  ### Minor Changes
65
91
 
66
- - [#79770](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79770) [`32e4d951a5ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32e4d951a5ae) - Run the codegen and update heading.partial.tsx
92
+ - [#79770](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79770)
93
+ [`32e4d951a5ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32e4d951a5ae) -
94
+ Run the codegen and update heading.partial.tsx
67
95
 
68
96
  ### Patch Changes
69
97
 
70
- - Updated dependencies
98
+ - Updated dependencies
71
99
 
72
100
  ## 1.6.0
73
101
 
74
102
  ### Minor Changes
75
103
 
76
- - [#68604](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68604) [`fdf7f6635426`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fdf7f6635426) - Modified mapping of `variant` to the HTML element that gets rendered. Previously `xlarge` would render a `h2`, `large` would render a `h3` etc... Now `xlarge` renders a `h1` and so on...
104
+ - [#68604](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68604)
105
+ [`fdf7f6635426`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fdf7f6635426) -
106
+ Modified mapping of `variant` to the HTML element that gets rendered. Previously `xlarge` would
107
+ render a `h2`, `large` would render a `h3` etc... Now `xlarge` renders a `h1` and so on...
77
108
 
78
109
  ## 1.5.1
79
110
 
80
111
  ### Patch Changes
81
112
 
82
- - [#70023](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70023) [`e2d35320717b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e2d35320717b) - Fix types to set either level or variant to be required props to prevent exceptions being thrown.
113
+ - [#70023](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70023)
114
+ [`e2d35320717b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e2d35320717b) -
115
+ Fix types to set either level or variant to be required props to prevent exceptions being
116
+ thrown.
83
117
 
84
118
  ## 1.5.0
85
119
 
86
120
  ### Minor Changes
87
121
 
88
- - [#67463](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67463) [`caac5b953575`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/caac5b953575) - Fixed an issue where typography tokens referenced font family tokens that may not exist on a page, causing fallbacks to break.
122
+ - [#67463](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67463)
123
+ [`caac5b953575`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/caac5b953575) -
124
+ Fixed an issue where typography tokens referenced font family tokens that may not exist on a
125
+ page, causing fallbacks to break.
89
126
 
90
127
  ### Patch Changes
91
128
 
92
- - Updated dependencies
129
+ - Updated dependencies
93
130
 
94
131
  ## 1.4.4
95
132
 
96
133
  ### Patch Changes
97
134
 
98
- - [#63526](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63526) [`cae958047771`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cae958047771) - Internal change to how typography tokens are imported. There is no expected behaviour change.
99
- - Updated dependencies
135
+ - [#63526](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63526)
136
+ [`cae958047771`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cae958047771) -
137
+ Internal change to how typography tokens are imported. There is no expected behaviour change.
138
+ - Updated dependencies
100
139
 
101
140
  ## 1.4.3
102
141
 
103
142
  ### Patch Changes
104
143
 
105
- - [#41226](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41226) [`fc7aba3cbae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc7aba3cbae) - [ux] Further fixes related to heading getting into possible invalid state. Heading will now always produce valid markup / aria-attributes for any configuration. Previously if there was no `HeadingContext` in the tree the heading would not produce accessibly correct markup in some cases. This is now resolved.
144
+ - [#41226](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41226)
145
+ [`fc7aba3cbae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc7aba3cbae) - [ux]
146
+ Further fixes related to heading getting into possible invalid state. Heading will now always
147
+ produce valid markup / aria-attributes for any configuration. Previously if there was no
148
+ `HeadingContext` in the tree the heading would not produce accessibly correct markup in some
149
+ cases. This is now resolved.
106
150
 
107
151
  ## 1.4.2
108
152
 
109
153
  ### Patch Changes
110
154
 
111
- - [#41124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41124) [`40cd7f0c882`](https://bitbucket.org/atlassian/atlassian-frontend/commits/40cd7f0c882) - Fix to prevent heading getting into possible invalid state.
155
+ - [#41124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41124)
156
+ [`40cd7f0c882`](https://bitbucket.org/atlassian/atlassian-frontend/commits/40cd7f0c882) - Fix to
157
+ prevent heading getting into possible invalid state.
112
158
 
113
159
  ## 1.4.1
114
160
 
115
161
  ### Patch Changes
116
162
 
117
- - [#41032](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41032) [`8d9dad6b977`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d9dad6b977) - Heading will apply an aria level if rendered as a div. This is an accessibility fix for an incomplete feature shipped in the previous minor version.
118
- - [#40299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40299) [`b1882fdd842`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1882fdd842) - Change typography token naming to be more verbose.
163
+ - [#41032](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41032)
164
+ [`8d9dad6b977`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d9dad6b977) -
165
+ Heading will apply an aria level if rendered as a div. This is an accessibility fix for an
166
+ incomplete feature shipped in the previous minor version.
167
+ - [#40299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40299)
168
+ [`b1882fdd842`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1882fdd842) - Change
169
+ typography token naming to be more verbose.
119
170
 
120
171
  ## 1.4.0
121
172
 
122
173
  ### Minor Changes
123
174
 
124
- - [#40254](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40254) [`9cc7e23c65b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9cc7e23c65b) - [ux] Adds additional heading types via the `variant` prop. This prop has been added to aid deprecation of the previous `level` prop. The `level` prop will be removed in a future release.
175
+ - [#40254](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40254)
176
+ [`9cc7e23c65b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9cc7e23c65b) - [ux]
177
+ Adds additional heading types via the `variant` prop. This prop has been added to aid
178
+ deprecation of the previous `level` prop. The `level` prop will be removed in a future release.
125
179
 
126
180
  ## 1.3.8
127
181
 
128
182
  ### Patch Changes
129
183
 
130
- - [#40040](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40040) [`ff79902b24c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff79902b24c) - This package is now onboarded onto the product push model.
184
+ - [#40040](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40040)
185
+ [`ff79902b24c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff79902b24c) - This
186
+ package is now onboarded onto the product push model.
131
187
 
132
188
  ## 1.3.7
133
189
 
134
190
  ### Patch Changes
135
191
 
136
- - [#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.
192
+ - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
193
+ [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
194
+ `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
195
+ testing.
137
196
 
138
197
  ## 1.3.6
139
198
 
140
199
  ### Patch Changes
141
200
 
142
- - [#35337](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35337) [`529814693a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/529814693a1) - Pin version of @atlaskit/primitives so it resolves to correct version
201
+ - [#35337](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35337)
202
+ [`529814693a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/529814693a1) - Pin
203
+ version of @atlaskit/primitives so it resolves to correct version
143
204
 
144
205
  ## 1.3.5
145
206
 
146
207
  ### Patch Changes
147
208
 
148
- - [#33833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33833) [`b8b41649492`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8b41649492) - Update how certain background colors are referenced by name. Internal changes only.
209
+ - [#33833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33833)
210
+ [`b8b41649492`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8b41649492) - Update
211
+ how certain background colors are referenced by name. Internal changes only.
149
212
 
150
213
  ## 1.3.4
151
214
 
152
215
  ### Patch Changes
153
216
 
154
- - [#34922](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34922) [`779727e307a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/779727e307a) - Internal change only. Replace all instances of Box with stable @atlaskit/primitives version.
217
+ - [#34922](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34922)
218
+ [`779727e307a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/779727e307a) -
219
+ Internal change only. Replace all instances of Box with stable @atlaskit/primitives version.
155
220
 
156
221
  ## 1.3.3
157
222
 
158
223
  ### Patch Changes
159
224
 
160
- - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443) [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
225
+ - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
226
+ [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) -
227
+ Removing unused dependencies and dev dependencies
161
228
 
162
229
  ## 1.3.2
163
230
 
164
231
  ### Patch Changes
165
232
 
166
- - [#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
233
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
234
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
235
+ legacy types are published for TS 4.5-4.8
167
236
 
168
237
  ## 1.3.1
169
238
 
170
239
  ### Patch Changes
171
240
 
172
- - [#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`
241
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
242
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
243
+ Upgrade Typescript from `4.5.5` to `4.9.5`
173
244
 
174
245
  ## 1.3.0
175
246
 
176
247
  ### Minor Changes
177
248
 
178
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
249
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
250
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
251
+ minor dependency bump
179
252
 
180
253
  ### Patch Changes
181
254
 
182
- - Updated dependencies
255
+ - Updated dependencies
183
256
 
184
257
  ## 1.2.1
185
258
 
186
259
  ### Patch Changes
187
260
 
188
- - [#32294](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32294) [`e0460d5d989`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0460d5d989) - Usages of `process` are now guarded by a `typeof` check.
261
+ - [#32294](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32294)
262
+ [`e0460d5d989`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0460d5d989) - Usages
263
+ of `process` are now guarded by a `typeof` check.
189
264
 
190
265
  ## 1.2.0
191
266
 
192
267
  ### Minor Changes
193
268
 
194
- - [#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.
269
+ - [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206)
270
+ [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) -
271
+ Upgrades component types to support React 18.
195
272
 
196
273
  ## 1.1.4
197
274
 
198
275
  ### Patch Changes
199
276
 
200
- - [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242) [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
277
+ - [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242)
278
+ [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) -
279
+ Internal change only. Replace usages of Inline/Stack with stable version from
280
+ `@atlaskit/primitives`.
201
281
 
202
282
  ## 1.1.3
203
283
 
204
284
  ### Patch Changes
205
285
 
206
- - [#31185](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31185) [`b6c5779d358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6c5779d358) - Internal changes only to restrict usage of `Box` from the primitives package.
286
+ - [#31185](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31185)
287
+ [`b6c5779d358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6c5779d358) -
288
+ Internal changes only to restrict usage of `Box` from the primitives package.
207
289
 
208
290
  ## 1.1.2
209
291
 
210
292
  ### Patch Changes
211
293
 
212
- - Updated dependencies
294
+ - Updated dependencies
213
295
 
214
296
  ## 1.1.1
215
297
 
216
298
  ### Patch Changes
217
299
 
218
- - [#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.
300
+ - [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
301
+ [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) -
302
+ Internal change to update token references. There is no expected behaviour or visual change.
219
303
 
220
304
  ## 1.1.0
221
305
 
222
306
  ### Minor Changes
223
307
 
224
- - [#28493](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28493) [`fce52a022f5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fce52a022f5) - Adds typography tokens to @atlaskit/heading.
308
+ - [#28493](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28493)
309
+ [`fce52a022f5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fce52a022f5) - Adds
310
+ typography tokens to @atlaskit/heading.
225
311
 
226
312
  ## 1.0.4
227
313
 
228
314
  ### Patch Changes
229
315
 
230
- - Updated dependencies
316
+ - Updated dependencies
231
317
 
232
318
  ## 1.0.3
233
319
 
234
320
  ### Patch Changes
235
321
 
236
- - Updated dependencies
322
+ - Updated dependencies
237
323
 
238
324
  ## 1.0.2
239
325
 
240
326
  ### Patch Changes
241
327
 
242
- - [#27341](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27341) [`95fdae34c94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95fdae34c94) - Revert experimental change to `@compiled/react` from `@emotion/react`.
328
+ - [#27341](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27341)
329
+ [`95fdae34c94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95fdae34c94) - Revert
330
+ experimental change to `@compiled/react` from `@emotion/react`.
243
331
 
244
332
  ## 1.0.1
245
333
 
246
334
  ### Patch Changes
247
335
 
248
- - Updated dependencies
336
+ - Updated dependencies
249
337
 
250
338
  ## 1.0.0
251
339
 
252
340
  ### Major Changes
253
341
 
254
- - [#27238](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27238) [`7d92ed50264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d92ed50264) - [ux] This package is still considered to be in an experimental state and is discouraged for use in production. The major is to simplify consumption and versioning in product.
342
+ - [#27238](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27238)
343
+ [`7d92ed50264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d92ed50264) - [ux]
344
+ This package is still considered to be in an experimental state and is discouraged for use in
345
+ production. The major is to simplify consumption and versioning in product.
255
346
 
256
- Other changes:
347
+ Other changes:
257
348
 
258
- - Introduction of a `HeadingContext` provider to aid with creating the right semantic structure for headings.
259
- - Migrated internals to use `@compiled/react` from `@emotion/react`.
349
+ - Introduction of a `HeadingContext` provider to aid with creating the right semantic
350
+ structure for headings.
351
+ - Migrated internals to use `@compiled/react` from `@emotion/react`.
260
352
 
261
353
  ## 0.1.18
262
354
 
263
355
  ### Patch Changes
264
356
 
265
- - [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488) [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
357
+ - [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
358
+ [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) -
359
+ Internal changes to apply spacing tokens. This should be a no-op change.
266
360
 
267
361
  ## 0.1.17
268
362
 
269
363
  ### Patch Changes
270
364
 
271
- - [#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`
365
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
366
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
367
+ Upgrade Typescript from `4.3.5` to `4.5.5`
272
368
 
273
369
  ## 0.1.16
274
370
 
275
371
  ### Patch Changes
276
372
 
277
- - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`30b11aab9fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30b11aab9fb) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
278
- - Updated dependencies
373
+ - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
374
+ [`30b11aab9fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30b11aab9fb) -
375
+ Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
376
+ - Updated dependencies
279
377
 
280
378
  ## 0.1.15
281
379
 
282
380
  ### Patch Changes
283
381
 
284
- - [#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`.
382
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
383
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
384
+ Upgrade Typescript from `4.2.4` to `4.3.5`.
285
385
 
286
386
  ## 0.1.14
287
387
 
288
388
  ### Patch Changes
289
389
 
290
- - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`47b01007f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47b01007f27) - Introduces color prop with values default and inverse.
390
+ - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
391
+ [`47b01007f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47b01007f27) -
392
+ Introduces color prop with values default and inverse.
291
393
 
292
394
  ## 0.1.13
293
395
 
294
396
  ### Patch Changes
295
397
 
296
- - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`354050b68da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/354050b68da) - Revert font size calculations to raw pixels.
398
+ - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
399
+ [`354050b68da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/354050b68da) - Revert
400
+ font size calculations to raw pixels.
297
401
 
298
402
  ## 0.1.12
299
403
 
300
404
  ### Patch Changes
301
405
 
302
- - Updated dependencies
406
+ - Updated dependencies
303
407
 
304
408
  ## 0.1.11
305
409
 
306
410
  ### Patch Changes
307
411
 
308
- - [#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
412
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
413
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
414
+ Upgrade to TypeScript 4.2.4
309
415
 
310
416
  ## 0.1.10
311
417
 
312
418
  ### Patch Changes
313
419
 
314
- - Updated dependencies
420
+ - Updated dependencies
315
421
 
316
422
  ## 0.1.9
317
423
 
318
424
  ### Patch Changes
319
425
 
320
- - Updated dependencies
426
+ - Updated dependencies
321
427
 
322
428
  ## 0.1.8
323
429
 
324
430
  ### Patch Changes
325
431
 
326
- - Updated dependencies
432
+ - Updated dependencies
327
433
 
328
434
  ## 0.1.7
329
435
 
330
436
  ### Patch Changes
331
437
 
332
- - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
333
- - Updated dependencies
438
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
439
+ [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) -
440
+ Updates usage of deprecated token names so they're aligned with the latest naming conventions.
441
+ No UI or visual changes
442
+ - Updated dependencies
334
443
 
335
444
  ## 0.1.6
336
445
 
337
446
  ### Patch Changes
338
447
 
339
- - Updated dependencies
448
+ - Updated dependencies
340
449
 
341
450
  ## 0.1.5
342
451
 
343
452
  ### Patch Changes
344
453
 
345
- - [#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.
346
- - Updated dependencies
454
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
455
+ [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
456
+ for this package now pass through a tokens babel plugin, removing runtime invocations of the
457
+ tokens() function and improving bundle size.
458
+ - Updated dependencies
347
459
 
348
460
  ## 0.1.4
349
461
 
350
462
  ### Patch Changes
351
463
 
352
- - Updated dependencies
464
+ - Updated dependencies
353
465
 
354
466
  ## 0.1.3
355
467
 
356
468
  ### Patch Changes
357
469
 
358
- - Updated dependencies
470
+ - Updated dependencies
359
471
 
360
472
  ## 0.1.2
361
473
 
362
474
  ### Patch Changes
363
475
 
364
- - Updated dependencies
476
+ - Updated dependencies
365
477
 
366
478
  ## 0.1.1
367
479
 
368
480
  ### Patch Changes
369
481
 
370
- - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`d7a9a4ff7ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7a9a4ff7ec) - Instrumented heading with the new theming package, `@atlaskit/tokens`.
371
- New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
372
- These changes are intended to be interoperable with the legacy theme implementation.
373
- Legacy dark mode users should expect no visual or breaking changes.
374
- - Updated dependencies
482
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
483
+ [`d7a9a4ff7ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7a9a4ff7ec) -
484
+ Instrumented heading with the new theming package, `@atlaskit/tokens`. New tokens will be
485
+ visible only in applications configured to use the new Tokens API (currently in alpha). These
486
+ changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode
487
+ users should expect no visual or breaking changes.
488
+ - Updated dependencies
375
489
 
376
490
  ## 0.1.0
377
491
 
378
492
  ### Minor Changes
379
493
 
380
- - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`ee15e59ba60`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee15e59ba60) - This is the initial release of the Heading package. Typography styles have been duplicated from the `@atlaskit/theme` package as standalone components.
494
+ - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
495
+ [`ee15e59ba60`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee15e59ba60) - This
496
+ is the initial release of the Heading package. Typography styles have been duplicated from the
497
+ `@atlaskit/theme` package as standalone components.
381
498
 
382
499
  ### Patch Changes
383
500
 
384
- - [`46816ee8526`](https://bitbucket.org/atlassian/atlassian-frontend/commits/46816ee8526) - Changes heading element mappings to match '@atlaskit/css-reset'.
385
- - [`f9cd2065648`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9cd2065648) - Removed redundant styles for text-transform, moved font-size to `rem` insteda of `em`.
386
- - Updated dependencies
501
+ - [`46816ee8526`](https://bitbucket.org/atlassian/atlassian-frontend/commits/46816ee8526) -
502
+ Changes heading element mappings to match '@atlaskit/css-reset'.
503
+ - [`f9cd2065648`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9cd2065648) -
504
+ Removed redundant styles for text-transform, moved font-size to `rem` insteda of `em`.
505
+ - Updated dependencies
@@ -11,7 +11,8 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
11
11
  var _react = require("@emotion/react");
12
12
  var _headingContext = require("./heading-context");
13
13
  var _heading = _interopRequireDefault(require("./heading.partial"));
14
- var _excluded = ["level", "size"];
14
+ var _excluded = ["level"];
15
+ /* eslint-disable @atlaskit/design-system/no-deprecated-design-token-usage */
15
16
  /** @jsx jsx */
16
17
  // https://atlassian.design/foundations/typography
17
18
  var levelMap = {
@@ -155,7 +156,6 @@ var OldHeading = function OldHeading(_ref) {
155
156
  */
156
157
  var Heading = function Heading(_ref2) {
157
158
  var level = _ref2.level,
158
- size = _ref2.size,
159
159
  props = (0, _objectWithoutProperties2.default)(_ref2, _excluded);
160
160
  return level ?
161
161
  // eslint-disable-next-line jsx-a11y/heading-has-content, @repo/internal/react/no-unsafe-spread-props
@@ -163,8 +163,6 @@ var Heading = function Heading(_ref2) {
163
163
  level: level
164
164
  }, props)) :
165
165
  // eslint-disable-next-line jsx-a11y/heading-has-content, @repo/internal/react/no-unsafe-spread-props
166
- (0, _react.jsx)(_heading.default, (0, _extends2.default)({
167
- size: size
168
- }, props));
166
+ (0, _react.jsx)(_heading.default, props);
169
167
  };
170
168
  var _default = exports.default = Heading;