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