@atlaskit/textarea 5.4.0 → 5.5.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 +281 -265
- package/__perf__/examples.tsx +34 -37
- package/codemods/4.0.0-lite-mode.tsx +1 -3
- package/codemods/__tests__/4.0.0-lite-mode.tsx +7 -7
- package/codemods/__tests__/rename-forwarded-ref-to-ref.tsx +29 -31
- package/codemods/migrates/rename-forwarded-ref-to-ref.tsx +3 -3
- package/codemods/utils.tsx +133 -177
- package/dist/cjs/styles.js +69 -20
- package/dist/cjs/text-area.js +7 -1
- package/dist/es2019/styles.js +72 -21
- package/dist/es2019/text-area.js +8 -1
- package/dist/esm/styles.js +70 -21
- package/dist/esm/text-area.js +8 -1
- package/dist/types/styles.d.ts +1 -1
- package/dist/types/text-area.d.ts +4 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types-ts4.5/styles.d.ts +1 -1
- package/dist/types-ts4.5/text-area.d.ts +4 -1
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/package.json +95 -96
- package/report.api.md +310 -312
package/CHANGELOG.md
CHANGED
|
@@ -1,498 +1,517 @@
|
|
|
1
1
|
# @atlaskit/textarea
|
|
2
2
|
|
|
3
|
+
## 5.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#105813](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105813)
|
|
8
|
+
[`f2f51e7a24d00`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f2f51e7a24d00) -
|
|
9
|
+
Internal change only. Update typography to use typography tokens.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 5.5.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#111016](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111016)
|
|
17
|
+
[`d131599730792`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d131599730792) -
|
|
18
|
+
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
|
|
19
|
+
is implicitly set to automatic.
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 5.4.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
6
28
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
29
|
+
- [#96186](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96186)
|
|
30
|
+
[`225179567a4c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/225179567a4c) -
|
|
31
|
+
Add support for React 18 in non-strict mode.
|
|
10
32
|
|
|
11
33
|
## 5.3.0
|
|
12
34
|
|
|
13
35
|
### Minor Changes
|
|
14
36
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
37
|
+
- [#94675](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94675)
|
|
38
|
+
[`5d9e1dccacca`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5d9e1dccacca) -
|
|
39
|
+
[ux] Update input border color token to meet 3:1 color contrast ratioLight theme:
|
|
40
|
+
color.border.input: #091E4224 → #8590A2Dark mode: color.border.input: #A6C5E229 → #738496
|
|
19
41
|
|
|
20
42
|
### Patch Changes
|
|
21
43
|
|
|
22
|
-
-
|
|
44
|
+
- Updated dependencies
|
|
23
45
|
|
|
24
46
|
## 5.2.0
|
|
25
47
|
|
|
26
48
|
### Minor Changes
|
|
27
49
|
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
50
|
+
- [#82028](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82028)
|
|
51
|
+
[`065756e95a09`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/065756e95a09) -
|
|
52
|
+
[ux] This change includes a fix for the TextArea's text color when there is a placeholder and
|
|
53
|
+
isDisabled is true.
|
|
32
54
|
|
|
33
55
|
## 5.1.2
|
|
34
56
|
|
|
35
57
|
### Patch Changes
|
|
36
58
|
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
59
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
60
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
61
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
40
62
|
|
|
41
63
|
## 5.1.1
|
|
42
64
|
|
|
43
65
|
### Patch Changes
|
|
44
66
|
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
## 5.1.0
|
|
50
72
|
|
|
51
73
|
### Minor Changes
|
|
52
74
|
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
75
|
+
- [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805)
|
|
76
|
+
[`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) -
|
|
77
|
+
[ux] Update input border width from 2px to 1px with darker color to meet 3:1 color contrast
|
|
56
78
|
|
|
57
79
|
### Patch Changes
|
|
58
80
|
|
|
59
|
-
-
|
|
81
|
+
- Updated dependencies
|
|
60
82
|
|
|
61
83
|
## 5.0.1
|
|
62
84
|
|
|
63
85
|
### Patch Changes
|
|
64
86
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
87
|
+
- [#74756](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74756)
|
|
88
|
+
[`8e66f751df96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e66f751df96) -
|
|
89
|
+
Use feature flag to roll out border width update from 2px to 1px
|
|
68
90
|
|
|
69
91
|
## 5.0.0
|
|
70
92
|
|
|
71
93
|
### Major Changes
|
|
72
94
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
tokens.
|
|
95
|
+
- [#41866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41866)
|
|
96
|
+
[`ed8b6957789`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed8b6957789) - Removes
|
|
97
|
+
any usage of deprecated legacy theming APIs. These have been superseeded by design tokens.
|
|
77
98
|
|
|
78
99
|
## 4.7.7
|
|
79
100
|
|
|
80
101
|
### Patch Changes
|
|
81
102
|
|
|
82
|
-
-
|
|
83
|
-
|
|
84
|
-
|
|
103
|
+
- [#37613](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37613)
|
|
104
|
+
[`29941aaea33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29941aaea33) - update
|
|
105
|
+
focused fallback color to meet contrast requirement
|
|
85
106
|
|
|
86
107
|
## 4.7.6
|
|
87
108
|
|
|
88
109
|
### Patch Changes
|
|
89
110
|
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
111
|
+
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
|
|
112
|
+
[`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
|
|
113
|
+
version.json
|
|
93
114
|
|
|
94
115
|
## 4.7.5
|
|
95
116
|
|
|
96
117
|
### Patch Changes
|
|
97
118
|
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
|
|
119
|
+
- [#38201](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38201)
|
|
120
|
+
[`356d6ebed05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/356d6ebed05) - This
|
|
121
|
+
package is now onboarded onto the product push model.
|
|
101
122
|
|
|
102
123
|
## 4.7.4
|
|
103
124
|
|
|
104
125
|
### Patch Changes
|
|
105
126
|
|
|
106
|
-
-
|
|
107
|
-
|
|
108
|
-
|
|
127
|
+
- [#36662](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36662)
|
|
128
|
+
[`964e8db6c94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/964e8db6c94) - update
|
|
129
|
+
border width to use border spacing token
|
|
109
130
|
|
|
110
131
|
## 4.7.3
|
|
111
132
|
|
|
112
133
|
### Patch Changes
|
|
113
134
|
|
|
114
|
-
-
|
|
115
|
-
|
|
116
|
-
|
|
135
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
|
|
136
|
+
[`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal
|
|
137
|
+
change to use shape tokens. There is no expected visual change.
|
|
117
138
|
|
|
118
139
|
## 4.7.2
|
|
119
140
|
|
|
120
141
|
### Patch Changes
|
|
121
142
|
|
|
122
|
-
-
|
|
123
|
-
|
|
124
|
-
|
|
143
|
+
- [#35111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35111)
|
|
144
|
+
[`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend
|
|
145
|
+
border contrast feature flag to support confluence
|
|
125
146
|
|
|
126
147
|
## 4.7.1
|
|
127
148
|
|
|
128
149
|
### Patch Changes
|
|
129
150
|
|
|
130
|
-
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
151
|
+
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
|
|
152
|
+
[`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal
|
|
153
|
+
change to enforce token usage for spacing properties. There is no expected visual or behaviour
|
|
154
|
+
change.
|
|
134
155
|
|
|
135
156
|
## 4.7.0
|
|
136
157
|
|
|
137
158
|
### Minor Changes
|
|
138
159
|
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
|
|
160
|
+
- [#33171](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33171)
|
|
161
|
+
[`5f37caad726`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f37caad726) - [ux]
|
|
162
|
+
reduce border width to 1px and update fallback color of border
|
|
142
163
|
|
|
143
164
|
## 4.6.3
|
|
144
165
|
|
|
145
166
|
### Patch Changes
|
|
146
167
|
|
|
147
|
-
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
behaviour change.
|
|
168
|
+
- [#34051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34051)
|
|
169
|
+
[`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated
|
|
170
|
+
use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
151
171
|
|
|
152
172
|
## 4.6.2
|
|
153
173
|
|
|
154
174
|
### Patch Changes
|
|
155
175
|
|
|
156
|
-
-
|
|
157
|
-
|
|
158
|
-
|
|
176
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
177
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
178
|
+
legacy types are published for TS 4.5-4.8
|
|
159
179
|
|
|
160
180
|
## 4.6.1
|
|
161
181
|
|
|
162
182
|
### Patch Changes
|
|
163
183
|
|
|
164
|
-
-
|
|
165
|
-
|
|
166
|
-
|
|
184
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
185
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
186
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
167
187
|
|
|
168
188
|
## 4.6.0
|
|
169
189
|
|
|
170
190
|
### Minor Changes
|
|
171
191
|
|
|
172
|
-
-
|
|
173
|
-
|
|
174
|
-
|
|
192
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
193
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
194
|
+
minor dependency bump
|
|
175
195
|
|
|
176
196
|
### Patch Changes
|
|
177
197
|
|
|
178
|
-
-
|
|
198
|
+
- Updated dependencies
|
|
179
199
|
|
|
180
200
|
## 4.5.7
|
|
181
201
|
|
|
182
202
|
### Patch Changes
|
|
183
203
|
|
|
184
|
-
-
|
|
185
|
-
|
|
186
|
-
|
|
204
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004)
|
|
205
|
+
[`e028bee17df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e028bee17df) - [ux]
|
|
206
|
+
fix(style): update fallback color of placeholder to meet contrast requirement
|
|
187
207
|
|
|
188
208
|
## 4.5.6
|
|
189
209
|
|
|
190
210
|
### Patch Changes
|
|
191
211
|
|
|
192
|
-
-
|
|
212
|
+
- Updated dependencies
|
|
193
213
|
|
|
194
214
|
## 4.5.5
|
|
195
215
|
|
|
196
216
|
### Patch Changes
|
|
197
217
|
|
|
198
|
-
-
|
|
218
|
+
- Updated dependencies
|
|
199
219
|
|
|
200
220
|
## 4.5.4
|
|
201
221
|
|
|
202
222
|
### Patch Changes
|
|
203
223
|
|
|
204
|
-
-
|
|
224
|
+
- Updated dependencies
|
|
205
225
|
|
|
206
226
|
## 4.5.3
|
|
207
227
|
|
|
208
228
|
### Patch Changes
|
|
209
229
|
|
|
210
|
-
-
|
|
230
|
+
- Updated dependencies
|
|
211
231
|
|
|
212
232
|
## 4.5.2
|
|
213
233
|
|
|
214
234
|
### Patch Changes
|
|
215
235
|
|
|
216
|
-
-
|
|
236
|
+
- Updated dependencies
|
|
217
237
|
|
|
218
238
|
## 4.5.1
|
|
219
239
|
|
|
220
240
|
### Patch Changes
|
|
221
241
|
|
|
222
|
-
-
|
|
223
|
-
|
|
224
|
-
|
|
242
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
243
|
+
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
|
|
244
|
+
change to introduce spacing tokens to design system components.
|
|
225
245
|
|
|
226
246
|
## 4.5.0
|
|
227
247
|
|
|
228
248
|
### Minor Changes
|
|
229
249
|
|
|
230
|
-
-
|
|
231
|
-
|
|
232
|
-
|
|
250
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
251
|
+
[`6612a236510`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6612a236510) - Updates
|
|
252
|
+
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
233
253
|
|
|
234
254
|
### Patch Changes
|
|
235
255
|
|
|
236
|
-
-
|
|
237
|
-
|
|
256
|
+
- [`32d761cfc1d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/32d761cfc1d) - [ux] Fix
|
|
257
|
+
bug that prevented consumers from rendering a single line textarea
|
|
238
258
|
|
|
239
259
|
## 4.4.0
|
|
240
260
|
|
|
241
261
|
### Minor Changes
|
|
242
262
|
|
|
243
|
-
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
263
|
+
- [#24968](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24968)
|
|
264
|
+
[`b8841384da6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8841384da6) - Disabled
|
|
265
|
+
background and border styles should not be applied to components that have either no background or
|
|
266
|
+
transparent background to begin with. Textfield and textarea variants that do not have backgrounds
|
|
267
|
+
(sublte or none) have no backgrounds or borders applied when disabled. As such, any comopnents
|
|
268
|
+
that consume these will also be affected.
|
|
249
269
|
|
|
250
270
|
## 4.3.11
|
|
251
271
|
|
|
252
272
|
### Patch Changes
|
|
253
273
|
|
|
254
|
-
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
274
|
+
- [#25314](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25314)
|
|
275
|
+
[`bedbdec0e82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bedbdec0e82) - Update
|
|
276
|
+
hover state appearance of subtle Textarea, Textfield and Select components to match the hover
|
|
277
|
+
states of their default counterparts.
|
|
258
278
|
|
|
259
279
|
## 4.3.10
|
|
260
280
|
|
|
261
281
|
### Patch Changes
|
|
262
282
|
|
|
263
|
-
-
|
|
264
|
-
|
|
265
|
-
|
|
283
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
284
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
285
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
266
286
|
|
|
267
287
|
## 4.3.9
|
|
268
288
|
|
|
269
289
|
### Patch Changes
|
|
270
290
|
|
|
271
|
-
-
|
|
272
|
-
|
|
273
|
-
|
|
291
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
292
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
293
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
274
294
|
|
|
275
295
|
## 4.3.8
|
|
276
296
|
|
|
277
297
|
### Patch Changes
|
|
278
298
|
|
|
279
|
-
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
-
|
|
283
|
-
|
|
284
|
-
-
|
|
285
|
-
|
|
299
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
300
|
+
[`e4abd2c2888`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4abd2c2888) - Update
|
|
301
|
+
token used for background color of subtle text area on hover
|
|
302
|
+
- [`926f9b57c59`](https://bitbucket.org/atlassian/atlassian-frontend/commits/926f9b57c59) - Internal
|
|
303
|
+
code change turning on new linting rules.
|
|
304
|
+
- [`fe575d49d66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe575d49d66) - Updated
|
|
305
|
+
styles to use new input design tokens
|
|
286
306
|
|
|
287
307
|
## 4.3.7
|
|
288
308
|
|
|
289
309
|
### Patch Changes
|
|
290
310
|
|
|
291
|
-
-
|
|
292
|
-
|
|
293
|
-
|
|
311
|
+
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
|
|
312
|
+
[`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved to
|
|
313
|
+
using declarative entrypoints internally. Public API is unchanged.
|
|
294
314
|
|
|
295
315
|
## 4.3.6
|
|
296
316
|
|
|
297
317
|
### Patch Changes
|
|
298
318
|
|
|
299
|
-
-
|
|
300
|
-
|
|
301
|
-
|
|
319
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
|
|
320
|
+
[`f63824e8227`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f63824e8227) - [ux]
|
|
321
|
+
Updated input tokens within `@atlaskit/textarea`.
|
|
302
322
|
|
|
303
323
|
## 4.3.5
|
|
304
324
|
|
|
305
325
|
### Patch Changes
|
|
306
326
|
|
|
307
|
-
-
|
|
327
|
+
- Updated dependencies
|
|
308
328
|
|
|
309
329
|
## 4.3.4
|
|
310
330
|
|
|
311
331
|
### Patch Changes
|
|
312
332
|
|
|
313
|
-
-
|
|
314
|
-
|
|
315
|
-
|
|
333
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
334
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
335
|
+
to TypeScript 4.2.4
|
|
316
336
|
|
|
317
337
|
## 4.3.3
|
|
318
338
|
|
|
319
339
|
### Patch Changes
|
|
320
340
|
|
|
321
|
-
-
|
|
341
|
+
- Updated dependencies
|
|
322
342
|
|
|
323
343
|
## 4.3.2
|
|
324
344
|
|
|
325
345
|
### Patch Changes
|
|
326
346
|
|
|
327
|
-
-
|
|
347
|
+
- Updated dependencies
|
|
328
348
|
|
|
329
349
|
## 4.3.1
|
|
330
350
|
|
|
331
351
|
### Patch Changes
|
|
332
352
|
|
|
333
|
-
-
|
|
353
|
+
- Updated dependencies
|
|
334
354
|
|
|
335
355
|
## 4.3.0
|
|
336
356
|
|
|
337
357
|
### Minor Changes
|
|
338
358
|
|
|
339
|
-
-
|
|
340
|
-
|
|
341
|
-
|
|
359
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
|
|
360
|
+
[`2e56ff8ea50`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e56ff8ea50) - [ux]
|
|
361
|
+
Fixed a bug where smart resize did not work when the value prop was changed
|
|
342
362
|
|
|
343
363
|
## 4.2.6
|
|
344
364
|
|
|
345
365
|
### Patch Changes
|
|
346
366
|
|
|
347
|
-
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
-
|
|
367
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
368
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
|
|
369
|
+
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
|
|
370
|
+
auto-fixing by correctly formatting token ids.
|
|
371
|
+
- Updated dependencies
|
|
352
372
|
|
|
353
373
|
## 4.2.5
|
|
354
374
|
|
|
355
375
|
### Patch Changes
|
|
356
376
|
|
|
357
|
-
-
|
|
377
|
+
- Updated dependencies
|
|
358
378
|
|
|
359
379
|
## 4.2.4
|
|
360
380
|
|
|
361
381
|
### Patch Changes
|
|
362
382
|
|
|
363
|
-
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
-
|
|
368
|
-
|
|
369
|
-
-
|
|
383
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
384
|
+
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
385
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
386
|
+
tokens() function and improving bundle size.
|
|
387
|
+
- [`af7c289395b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af7c289395b) - Fix
|
|
388
|
+
TypeScript issue where text area HTML attributes were not exposed in component prop types.
|
|
389
|
+
- Updated dependencies
|
|
370
390
|
|
|
371
391
|
## 4.2.3
|
|
372
392
|
|
|
373
393
|
### Patch Changes
|
|
374
394
|
|
|
375
|
-
-
|
|
395
|
+
- Updated dependencies
|
|
376
396
|
|
|
377
397
|
## 4.2.2
|
|
378
398
|
|
|
379
399
|
### Patch Changes
|
|
380
400
|
|
|
381
|
-
-
|
|
401
|
+
- Updated dependencies
|
|
382
402
|
|
|
383
403
|
## 4.2.1
|
|
384
404
|
|
|
385
405
|
### Patch Changes
|
|
386
406
|
|
|
387
|
-
-
|
|
407
|
+
- Updated dependencies
|
|
388
408
|
|
|
389
409
|
## 4.2.0
|
|
390
410
|
|
|
391
411
|
### Minor Changes
|
|
392
412
|
|
|
393
|
-
-
|
|
394
|
-
|
|
395
|
-
|
|
413
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
414
|
+
[`ae281b57bcd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae281b57bcd) -
|
|
415
|
+
Instrumented Radio with the new theming package, `@atlaskit/tokens`.
|
|
396
416
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
417
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
418
|
+
alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
419
|
+
Legacy dark mode users should expect no visual or breaking changes
|
|
400
420
|
|
|
401
421
|
### Patch Changes
|
|
402
422
|
|
|
403
|
-
-
|
|
404
|
-
|
|
405
|
-
-
|
|
423
|
+
- [`2d7cc544696`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d7cc544696) - Updates
|
|
424
|
+
token usage to match the latest token set
|
|
425
|
+
- Updated dependencies
|
|
406
426
|
|
|
407
427
|
## 4.1.3
|
|
408
428
|
|
|
409
429
|
### Patch Changes
|
|
410
430
|
|
|
411
|
-
-
|
|
412
|
-
|
|
413
|
-
|
|
431
|
+
- [#13728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13728)
|
|
432
|
+
[`c5785203506`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5785203506) - Updated
|
|
433
|
+
homepage in package.json
|
|
414
434
|
|
|
415
435
|
## 4.1.2
|
|
416
436
|
|
|
417
437
|
### Patch Changes
|
|
418
438
|
|
|
419
|
-
-
|
|
420
|
-
|
|
421
|
-
|
|
439
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
440
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
441
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
422
442
|
|
|
423
443
|
## 4.1.1
|
|
424
444
|
|
|
425
445
|
### Patch Changes
|
|
426
446
|
|
|
427
|
-
-
|
|
428
|
-
|
|
429
|
-
|
|
447
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
448
|
+
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates
|
|
449
|
+
to development dependency `storybook-addon-performance`
|
|
430
450
|
|
|
431
451
|
## 4.1.0
|
|
432
452
|
|
|
433
453
|
### Minor Changes
|
|
434
454
|
|
|
435
|
-
-
|
|
436
|
-
|
|
437
|
-
|
|
455
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113)
|
|
456
|
+
[`7af2427f3a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7af2427f3a8) - [ux]
|
|
457
|
+
Update form field examples for validation and add a new prop to RadioGroup component
|
|
438
458
|
|
|
439
459
|
## 4.0.2
|
|
440
460
|
|
|
441
461
|
### Patch Changes
|
|
442
462
|
|
|
443
|
-
-
|
|
444
|
-
|
|
445
|
-
|
|
463
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
464
|
+
[`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
465
|
+
injected package name and version for analytics instead of version.json.
|
|
446
466
|
|
|
447
467
|
## 4.0.1
|
|
448
468
|
|
|
449
469
|
### Patch Changes
|
|
450
470
|
|
|
451
|
-
-
|
|
452
|
-
|
|
453
|
-
|
|
471
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
472
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
473
|
+
packages using babel rather than tsc
|
|
454
474
|
|
|
455
475
|
## 4.0.0
|
|
456
476
|
|
|
457
477
|
### Major Changes
|
|
458
478
|
|
|
459
|
-
-
|
|
460
|
-
|
|
461
|
-
Brief
|
|
479
|
+
- [#5860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5860)
|
|
480
|
+
[`782b6e5182`](https://bitbucket.org/atlassian/atlassian-frontend/commits/782b6e5182) - ### Brief
|
|
462
481
|
|
|
463
|
-
|
|
482
|
+
The goal of this major for textarea is to improve the component's performance, by both
|
|
464
483
|
|
|
465
|
-
|
|
484
|
+
reducing static structure and avoiding unnecessary function calls.
|
|
466
485
|
|
|
467
|
-
|
|
468
|
-
|
|
486
|
+
We have made internal refactors and optimizations to improve textarea performance. Some changes
|
|
487
|
+
made are as follows:
|
|
469
488
|
|
|
470
|
-
|
|
489
|
+
- Moving TextArea to a single element (removed an internal wrapping element)
|
|
471
490
|
|
|
472
|
-
|
|
491
|
+
- Replace `styled-components` to `emotion` as styling library
|
|
473
492
|
|
|
474
|
-
|
|
493
|
+
- Moving internal component analytics to a more efficient usePlatformLeafEventHandler hook
|
|
475
494
|
|
|
476
|
-
|
|
495
|
+
- Refactoring styles to recalculate only when theme & certain props change
|
|
477
496
|
|
|
478
|
-
|
|
497
|
+
- Controlling CSS change via attributes instead of props
|
|
479
498
|
|
|
480
|
-
|
|
499
|
+
#### TextArea now has single DOM element
|
|
481
500
|
|
|
482
|
-
|
|
483
|
-
|
|
501
|
+
DOM element 2 -> 1 Removed div surrounding (wrapper) native textarea element and moved all
|
|
502
|
+
behaviors and CSS to that single element.
|
|
484
503
|
|
|
485
|
-
|
|
486
|
-
|
|
504
|
+
Measuring the height of the textarea element will now get different raw values because the text
|
|
505
|
+
area is now rendering it’s own padding and border, but computed height is still the same.
|
|
487
506
|
|
|
488
|
-
|
|
507
|
+
#### Upgrading with codemod
|
|
489
508
|
|
|
490
|
-
|
|
509
|
+
```
|
|
491
510
|
|
|
492
|
-
|
|
511
|
+
# You first need to have the latest textarea installed before you can run the codemod
|
|
493
512
|
|
|
494
|
-
|
|
495
|
-
|
|
513
|
+
yarn upgrade @atlaskit/textarea@^4.0.0
|
|
514
|
+
```
|
|
496
515
|
|
|
497
516
|
# Run the codemod cli
|
|
498
517
|
|
|
@@ -767,166 +786,163 @@ withAnalyticsEvents<Props>()(Button);
|
|
|
767
786
|
|
|
768
787
|
### Patch Changes
|
|
769
788
|
|
|
770
|
-
-
|
|
789
|
+
- [patch][29a1f158c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29a1f158c1):
|
|
771
790
|
|
|
772
|
-
|
|
791
|
+
Use default react import in typescript files.
|
|
773
792
|
|
|
774
793
|
## 2.1.0
|
|
775
794
|
|
|
776
795
|
### Minor Changes
|
|
777
796
|
|
|
778
|
-
-
|
|
797
|
+
- [minor][2b26a6f408](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2b26a6f408):
|
|
779
798
|
|
|
780
|
-
|
|
799
|
+
Added placeholder prop for textareas
|
|
781
800
|
|
|
782
801
|
## 2.0.0
|
|
783
802
|
|
|
784
|
-
-
|
|
803
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
785
804
|
|
|
786
|
-
|
|
787
|
-
|
|
805
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
806
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
788
807
|
|
|
789
808
|
## 1.0.0
|
|
790
809
|
|
|
791
|
-
-
|
|
810
|
+
- [major][dd95622388](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dd95622388):
|
|
792
811
|
|
|
793
|
-
|
|
794
|
-
|
|
812
|
+
- This major release indicates that this package is no longer under dev preview but is ready for
|
|
813
|
+
use
|
|
795
814
|
|
|
796
815
|
## 0.4.6
|
|
797
816
|
|
|
798
|
-
-
|
|
817
|
+
- [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
|
|
799
818
|
|
|
800
|
-
|
|
819
|
+
- Bump tslib
|
|
801
820
|
|
|
802
821
|
## 0.4.5
|
|
803
822
|
|
|
804
|
-
-
|
|
823
|
+
- [patch][cd67ae87f8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cd67ae87f8):
|
|
805
824
|
|
|
806
|
-
|
|
807
|
-
|
|
825
|
+
- Stop defaultValue from being omitted from props that are spread onto textarea
|
|
826
|
+
- Constraint type of value and defaultValue to string
|
|
808
827
|
|
|
809
828
|
## 0.4.4
|
|
810
829
|
|
|
811
|
-
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
830
|
+
- Updated dependencies
|
|
831
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
832
|
+
- @atlaskit/docs@7.0.3
|
|
833
|
+
- @atlaskit/button@12.0.3
|
|
834
|
+
- @atlaskit/theme@8.1.7
|
|
816
835
|
|
|
817
836
|
## 0.4.3
|
|
818
837
|
|
|
819
|
-
-
|
|
838
|
+
- [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
|
|
820
839
|
|
|
821
|
-
|
|
822
|
-
|
|
840
|
+
- @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
|
|
841
|
+
supplied from itself.
|
|
823
842
|
|
|
824
843
|
## 0.4.2
|
|
825
844
|
|
|
826
|
-
-
|
|
845
|
+
- [patch][cf018d7630](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cf018d7630):
|
|
827
846
|
|
|
828
|
-
|
|
829
|
-
to 0
|
|
847
|
+
- Allow RefObject to be passed in as ref (i.e. using React.createRef()) and set inner padding to 0
|
|
830
848
|
|
|
831
849
|
## 0.4.1
|
|
832
850
|
|
|
833
|
-
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
851
|
+
- Updated dependencies
|
|
852
|
+
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
853
|
+
- @atlaskit/docs@7.0.2
|
|
854
|
+
- @atlaskit/analytics-next@4.0.3
|
|
855
|
+
- @atlaskit/theme@8.1.6
|
|
856
|
+
- @atlaskit/button@12.0.0
|
|
839
857
|
|
|
840
858
|
## 0.4.0
|
|
841
859
|
|
|
842
|
-
-
|
|
860
|
+
- [minor][f504850fe2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f504850fe2):
|
|
843
861
|
|
|
844
|
-
|
|
845
|
-
|
|
862
|
+
- Fix bug: previous size was size for isCompact, and isCompact did not do anything. Now normal
|
|
863
|
+
textarea is slightly larger and isCompact makes it the previous size
|
|
846
864
|
|
|
847
865
|
## 0.3.2
|
|
848
866
|
|
|
849
|
-
-
|
|
867
|
+
- [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
|
|
850
868
|
|
|
851
|
-
|
|
852
|
-
index.js
|
|
869
|
+
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
|
|
853
870
|
|
|
854
871
|
## 0.3.1
|
|
855
872
|
|
|
856
|
-
-
|
|
873
|
+
- [patch][90a14be594](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90a14be594):
|
|
857
874
|
|
|
858
|
-
|
|
875
|
+
- Fix broken type-helpers
|
|
859
876
|
|
|
860
877
|
## 0.3.0
|
|
861
878
|
|
|
862
|
-
-
|
|
879
|
+
- [minor][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
863
880
|
|
|
864
|
-
|
|
881
|
+
- Dropped ES5 distributables from the typescript packages
|
|
865
882
|
|
|
866
883
|
## 0.2.6
|
|
867
884
|
|
|
868
|
-
-
|
|
885
|
+
- [patch][1b952c437d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1b952c437d):
|
|
869
886
|
|
|
870
|
-
|
|
871
|
-
|
|
887
|
+
- Change order of props spread to fix textarea focus glow, and smart resizing when onChange passed
|
|
888
|
+
in
|
|
872
889
|
|
|
873
890
|
## 0.2.5
|
|
874
891
|
|
|
875
|
-
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
892
|
+
- Updated dependencies
|
|
893
|
+
[76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
894
|
+
- @atlaskit/button@10.1.3
|
|
895
|
+
- @atlaskit/docs@7.0.0
|
|
896
|
+
- @atlaskit/analytics-next@4.0.0
|
|
897
|
+
- @atlaskit/theme@8.0.0
|
|
881
898
|
|
|
882
899
|
## 0.2.4
|
|
883
900
|
|
|
884
|
-
-
|
|
901
|
+
- [patch][aab267bb3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aab267bb3a):
|
|
885
902
|
|
|
886
|
-
|
|
903
|
+
- Added test to make sure the props are passed down to hidden input
|
|
887
904
|
|
|
888
905
|
## 0.2.3
|
|
889
906
|
|
|
890
|
-
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
907
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
908
|
+
- @atlaskit/analytics-next@3.1.2
|
|
909
|
+
- @atlaskit/button@10.1.1
|
|
910
|
+
- @atlaskit/theme@7.0.1
|
|
911
|
+
- @atlaskit/docs@6.0.0
|
|
895
912
|
|
|
896
913
|
## 0.2.2
|
|
897
914
|
|
|
898
|
-
-
|
|
915
|
+
- [patch][9e6b592](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9e6b592):
|
|
899
916
|
|
|
900
|
-
|
|
917
|
+
- Added tslib import for textarea
|
|
901
918
|
|
|
902
919
|
## 0.2.1
|
|
903
920
|
|
|
904
|
-
-
|
|
921
|
+
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
905
922
|
|
|
906
|
-
|
|
907
|
-
|
|
923
|
+
- Change API to experimental theming API to namespace component themes into separate contexts and
|
|
924
|
+
make theming simpler. Update all dependant components.
|
|
908
925
|
|
|
909
926
|
## 0.2.0
|
|
910
927
|
|
|
911
|
-
-
|
|
928
|
+
- [minor][76a8f1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76a8f1c):
|
|
912
929
|
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
930
|
+
- Convert @atlaskit/textarea to Typescript
|
|
931
|
+
- Dist paths have changed, if you are importing by exact file path you will need to update your
|
|
932
|
+
imports `import '@atlaskit/button/dist/es5/components/ButtonGroup'`
|
|
933
|
+
- Flow types are not present any more, Typescript definitions are shipped instead
|
|
917
934
|
|
|
918
935
|
## 0.1.1
|
|
919
936
|
|
|
920
|
-
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
937
|
+
- Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
|
|
938
|
+
- @atlaskit/docs@5.2.1
|
|
939
|
+
- @atlaskit/analytics-next@3.1.1
|
|
940
|
+
- @atlaskit/theme@6.2.1
|
|
941
|
+
- @atlaskit/button@10.0.0
|
|
925
942
|
|
|
926
943
|
## 0.1.0
|
|
927
944
|
|
|
928
|
-
-
|
|
945
|
+
- [minor][9d77c4e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d77c4e):
|
|
929
946
|
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
api
|
|
947
|
+
- New textarea package, meant to be a replacement for field-text-area, normalised component
|
|
948
|
+
architecture, removed dependency on @atlaskit/field-base, updated to use new @atlaskit/theme api
|