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