@atlaskit/textarea 5.3.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 +277 -262
- 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 -95
- package/report.api.md +310 -312
package/CHANGELOG.md
CHANGED
|
@@ -1,490 +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
|
+
|
|
16
|
+
## 5.4.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
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.
|
|
23
|
+
|
|
3
24
|
## 5.3.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
|
6
27
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
11
32
|
|
|
12
33
|
### Patch Changes
|
|
13
34
|
|
|
14
|
-
-
|
|
35
|
+
- Updated dependencies
|
|
15
36
|
|
|
16
37
|
## 5.2.0
|
|
17
38
|
|
|
18
39
|
### Minor Changes
|
|
19
40
|
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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.
|
|
24
45
|
|
|
25
46
|
## 5.1.2
|
|
26
47
|
|
|
27
48
|
### Patch Changes
|
|
28
49
|
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
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`
|
|
32
53
|
|
|
33
54
|
## 5.1.1
|
|
34
55
|
|
|
35
56
|
### Patch Changes
|
|
36
57
|
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
|
40
61
|
|
|
41
62
|
## 5.1.0
|
|
42
63
|
|
|
43
64
|
### Minor Changes
|
|
44
65
|
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
|
48
69
|
|
|
49
70
|
### Patch Changes
|
|
50
71
|
|
|
51
|
-
-
|
|
72
|
+
- Updated dependencies
|
|
52
73
|
|
|
53
74
|
## 5.0.1
|
|
54
75
|
|
|
55
76
|
### Patch Changes
|
|
56
77
|
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
|
60
81
|
|
|
61
82
|
## 5.0.0
|
|
62
83
|
|
|
63
84
|
### Major Changes
|
|
64
85
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
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.
|
|
69
89
|
|
|
70
90
|
## 4.7.7
|
|
71
91
|
|
|
72
92
|
### Patch Changes
|
|
73
93
|
|
|
74
|
-
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
|
77
97
|
|
|
78
98
|
## 4.7.6
|
|
79
99
|
|
|
80
100
|
### Patch Changes
|
|
81
101
|
|
|
82
|
-
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
|
85
105
|
|
|
86
106
|
## 4.7.5
|
|
87
107
|
|
|
88
108
|
### Patch Changes
|
|
89
109
|
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
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.
|
|
93
113
|
|
|
94
114
|
## 4.7.4
|
|
95
115
|
|
|
96
116
|
### Patch Changes
|
|
97
117
|
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
|
|
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
|
|
101
121
|
|
|
102
122
|
## 4.7.3
|
|
103
123
|
|
|
104
124
|
### Patch Changes
|
|
105
125
|
|
|
106
|
-
-
|
|
107
|
-
|
|
108
|
-
|
|
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.
|
|
109
129
|
|
|
110
130
|
## 4.7.2
|
|
111
131
|
|
|
112
132
|
### Patch Changes
|
|
113
133
|
|
|
114
|
-
-
|
|
115
|
-
|
|
116
|
-
|
|
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
|
|
117
137
|
|
|
118
138
|
## 4.7.1
|
|
119
139
|
|
|
120
140
|
### Patch Changes
|
|
121
141
|
|
|
122
|
-
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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.
|
|
126
146
|
|
|
127
147
|
## 4.7.0
|
|
128
148
|
|
|
129
149
|
### Minor Changes
|
|
130
150
|
|
|
131
|
-
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
|
134
154
|
|
|
135
155
|
## 4.6.3
|
|
136
156
|
|
|
137
157
|
### Patch Changes
|
|
138
158
|
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
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.
|
|
143
162
|
|
|
144
163
|
## 4.6.2
|
|
145
164
|
|
|
146
165
|
### Patch Changes
|
|
147
166
|
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
|
|
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
|
|
151
170
|
|
|
152
171
|
## 4.6.1
|
|
153
172
|
|
|
154
173
|
### Patch Changes
|
|
155
174
|
|
|
156
|
-
-
|
|
157
|
-
|
|
158
|
-
|
|
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`
|
|
159
178
|
|
|
160
179
|
## 4.6.0
|
|
161
180
|
|
|
162
181
|
### Minor Changes
|
|
163
182
|
|
|
164
|
-
-
|
|
165
|
-
|
|
166
|
-
|
|
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
|
|
167
186
|
|
|
168
187
|
### Patch Changes
|
|
169
188
|
|
|
170
|
-
-
|
|
189
|
+
- Updated dependencies
|
|
171
190
|
|
|
172
191
|
## 4.5.7
|
|
173
192
|
|
|
174
193
|
### Patch Changes
|
|
175
194
|
|
|
176
|
-
-
|
|
177
|
-
|
|
178
|
-
|
|
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
|
|
179
198
|
|
|
180
199
|
## 4.5.6
|
|
181
200
|
|
|
182
201
|
### Patch Changes
|
|
183
202
|
|
|
184
|
-
-
|
|
203
|
+
- Updated dependencies
|
|
185
204
|
|
|
186
205
|
## 4.5.5
|
|
187
206
|
|
|
188
207
|
### Patch Changes
|
|
189
208
|
|
|
190
|
-
-
|
|
209
|
+
- Updated dependencies
|
|
191
210
|
|
|
192
211
|
## 4.5.4
|
|
193
212
|
|
|
194
213
|
### Patch Changes
|
|
195
214
|
|
|
196
|
-
-
|
|
215
|
+
- Updated dependencies
|
|
197
216
|
|
|
198
217
|
## 4.5.3
|
|
199
218
|
|
|
200
219
|
### Patch Changes
|
|
201
220
|
|
|
202
|
-
-
|
|
221
|
+
- Updated dependencies
|
|
203
222
|
|
|
204
223
|
## 4.5.2
|
|
205
224
|
|
|
206
225
|
### Patch Changes
|
|
207
226
|
|
|
208
|
-
-
|
|
227
|
+
- Updated dependencies
|
|
209
228
|
|
|
210
229
|
## 4.5.1
|
|
211
230
|
|
|
212
231
|
### Patch Changes
|
|
213
232
|
|
|
214
|
-
-
|
|
215
|
-
|
|
216
|
-
|
|
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.
|
|
217
236
|
|
|
218
237
|
## 4.5.0
|
|
219
238
|
|
|
220
239
|
### Minor Changes
|
|
221
240
|
|
|
222
|
-
-
|
|
223
|
-
|
|
224
|
-
|
|
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.
|
|
225
244
|
|
|
226
245
|
### Patch Changes
|
|
227
246
|
|
|
228
|
-
-
|
|
229
|
-
|
|
247
|
+
- [`32d761cfc1d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/32d761cfc1d) - [ux] Fix
|
|
248
|
+
bug that prevented consumers from rendering a single line textarea
|
|
230
249
|
|
|
231
250
|
## 4.4.0
|
|
232
251
|
|
|
233
252
|
### Minor Changes
|
|
234
253
|
|
|
235
|
-
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
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.
|
|
241
260
|
|
|
242
261
|
## 4.3.11
|
|
243
262
|
|
|
244
263
|
### Patch Changes
|
|
245
264
|
|
|
246
|
-
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
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.
|
|
250
269
|
|
|
251
270
|
## 4.3.10
|
|
252
271
|
|
|
253
272
|
### Patch Changes
|
|
254
273
|
|
|
255
|
-
-
|
|
256
|
-
|
|
257
|
-
|
|
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`
|
|
258
277
|
|
|
259
278
|
## 4.3.9
|
|
260
279
|
|
|
261
280
|
### Patch Changes
|
|
262
281
|
|
|
263
|
-
-
|
|
264
|
-
|
|
265
|
-
|
|
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`.
|
|
266
285
|
|
|
267
286
|
## 4.3.8
|
|
268
287
|
|
|
269
288
|
### Patch Changes
|
|
270
289
|
|
|
271
|
-
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
-
|
|
275
|
-
|
|
276
|
-
-
|
|
277
|
-
|
|
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
|
|
278
297
|
|
|
279
298
|
## 4.3.7
|
|
280
299
|
|
|
281
300
|
### Patch Changes
|
|
282
301
|
|
|
283
|
-
-
|
|
284
|
-
|
|
285
|
-
|
|
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.
|
|
286
305
|
|
|
287
306
|
## 4.3.6
|
|
288
307
|
|
|
289
308
|
### Patch Changes
|
|
290
309
|
|
|
291
|
-
-
|
|
292
|
-
|
|
293
|
-
|
|
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`.
|
|
294
313
|
|
|
295
314
|
## 4.3.5
|
|
296
315
|
|
|
297
316
|
### Patch Changes
|
|
298
317
|
|
|
299
|
-
-
|
|
318
|
+
- Updated dependencies
|
|
300
319
|
|
|
301
320
|
## 4.3.4
|
|
302
321
|
|
|
303
322
|
### Patch Changes
|
|
304
323
|
|
|
305
|
-
-
|
|
306
|
-
|
|
307
|
-
|
|
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
|
|
308
327
|
|
|
309
328
|
## 4.3.3
|
|
310
329
|
|
|
311
330
|
### Patch Changes
|
|
312
331
|
|
|
313
|
-
-
|
|
332
|
+
- Updated dependencies
|
|
314
333
|
|
|
315
334
|
## 4.3.2
|
|
316
335
|
|
|
317
336
|
### Patch Changes
|
|
318
337
|
|
|
319
|
-
-
|
|
338
|
+
- Updated dependencies
|
|
320
339
|
|
|
321
340
|
## 4.3.1
|
|
322
341
|
|
|
323
342
|
### Patch Changes
|
|
324
343
|
|
|
325
|
-
-
|
|
344
|
+
- Updated dependencies
|
|
326
345
|
|
|
327
346
|
## 4.3.0
|
|
328
347
|
|
|
329
348
|
### Minor Changes
|
|
330
349
|
|
|
331
|
-
-
|
|
332
|
-
|
|
333
|
-
|
|
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
|
|
334
353
|
|
|
335
354
|
## 4.2.6
|
|
336
355
|
|
|
337
356
|
### Patch Changes
|
|
338
357
|
|
|
339
|
-
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
-
|
|
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
|
|
344
363
|
|
|
345
364
|
## 4.2.5
|
|
346
365
|
|
|
347
366
|
### Patch Changes
|
|
348
367
|
|
|
349
|
-
-
|
|
368
|
+
- Updated dependencies
|
|
350
369
|
|
|
351
370
|
## 4.2.4
|
|
352
371
|
|
|
353
372
|
### Patch Changes
|
|
354
373
|
|
|
355
|
-
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
-
|
|
360
|
-
|
|
361
|
-
-
|
|
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
|
|
362
381
|
|
|
363
382
|
## 4.2.3
|
|
364
383
|
|
|
365
384
|
### Patch Changes
|
|
366
385
|
|
|
367
|
-
-
|
|
386
|
+
- Updated dependencies
|
|
368
387
|
|
|
369
388
|
## 4.2.2
|
|
370
389
|
|
|
371
390
|
### Patch Changes
|
|
372
391
|
|
|
373
|
-
-
|
|
392
|
+
- Updated dependencies
|
|
374
393
|
|
|
375
394
|
## 4.2.1
|
|
376
395
|
|
|
377
396
|
### Patch Changes
|
|
378
397
|
|
|
379
|
-
-
|
|
398
|
+
- Updated dependencies
|
|
380
399
|
|
|
381
400
|
## 4.2.0
|
|
382
401
|
|
|
383
402
|
### Minor Changes
|
|
384
403
|
|
|
385
|
-
-
|
|
386
|
-
|
|
387
|
-
|
|
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`.
|
|
388
407
|
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
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
|
|
392
411
|
|
|
393
412
|
### Patch Changes
|
|
394
413
|
|
|
395
|
-
-
|
|
396
|
-
|
|
397
|
-
-
|
|
414
|
+
- [`2d7cc544696`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d7cc544696) - Updates
|
|
415
|
+
token usage to match the latest token set
|
|
416
|
+
- Updated dependencies
|
|
398
417
|
|
|
399
418
|
## 4.1.3
|
|
400
419
|
|
|
401
420
|
### Patch Changes
|
|
402
421
|
|
|
403
|
-
-
|
|
404
|
-
|
|
405
|
-
|
|
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
|
|
406
425
|
|
|
407
426
|
## 4.1.2
|
|
408
427
|
|
|
409
428
|
### Patch Changes
|
|
410
429
|
|
|
411
|
-
-
|
|
412
|
-
|
|
413
|
-
|
|
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`.
|
|
414
433
|
|
|
415
434
|
## 4.1.1
|
|
416
435
|
|
|
417
436
|
### Patch Changes
|
|
418
437
|
|
|
419
|
-
-
|
|
420
|
-
|
|
421
|
-
|
|
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`
|
|
422
441
|
|
|
423
442
|
## 4.1.0
|
|
424
443
|
|
|
425
444
|
### Minor Changes
|
|
426
445
|
|
|
427
|
-
-
|
|
428
|
-
|
|
429
|
-
|
|
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
|
|
430
449
|
|
|
431
450
|
## 4.0.2
|
|
432
451
|
|
|
433
452
|
### Patch Changes
|
|
434
453
|
|
|
435
|
-
-
|
|
436
|
-
|
|
437
|
-
|
|
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.
|
|
438
457
|
|
|
439
458
|
## 4.0.1
|
|
440
459
|
|
|
441
460
|
### Patch Changes
|
|
442
461
|
|
|
443
|
-
-
|
|
444
|
-
|
|
445
|
-
|
|
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
|
|
446
465
|
|
|
447
466
|
## 4.0.0
|
|
448
467
|
|
|
449
468
|
### Major Changes
|
|
450
469
|
|
|
451
|
-
-
|
|
452
|
-
|
|
453
|
-
Brief
|
|
470
|
+
- [#5860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5860)
|
|
471
|
+
[`782b6e5182`](https://bitbucket.org/atlassian/atlassian-frontend/commits/782b6e5182) - ### Brief
|
|
454
472
|
|
|
455
|
-
|
|
473
|
+
The goal of this major for textarea is to improve the component's performance, by both
|
|
456
474
|
|
|
457
|
-
|
|
475
|
+
reducing static structure and avoiding unnecessary function calls.
|
|
458
476
|
|
|
459
|
-
|
|
460
|
-
|
|
477
|
+
We have made internal refactors and optimizations to improve textarea performance. Some changes
|
|
478
|
+
made are as follows:
|
|
461
479
|
|
|
462
|
-
|
|
480
|
+
- Moving TextArea to a single element (removed an internal wrapping element)
|
|
463
481
|
|
|
464
|
-
|
|
482
|
+
- Replace `styled-components` to `emotion` as styling library
|
|
465
483
|
|
|
466
|
-
|
|
484
|
+
- Moving internal component analytics to a more efficient usePlatformLeafEventHandler hook
|
|
467
485
|
|
|
468
|
-
|
|
486
|
+
- Refactoring styles to recalculate only when theme & certain props change
|
|
469
487
|
|
|
470
|
-
|
|
488
|
+
- Controlling CSS change via attributes instead of props
|
|
471
489
|
|
|
472
|
-
|
|
490
|
+
#### TextArea now has single DOM element
|
|
473
491
|
|
|
474
|
-
|
|
475
|
-
|
|
492
|
+
DOM element 2 -> 1 Removed div surrounding (wrapper) native textarea element and moved all
|
|
493
|
+
behaviors and CSS to that single element.
|
|
476
494
|
|
|
477
|
-
|
|
478
|
-
|
|
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.
|
|
479
497
|
|
|
480
|
-
|
|
498
|
+
#### Upgrading with codemod
|
|
481
499
|
|
|
482
|
-
|
|
500
|
+
```
|
|
483
501
|
|
|
484
|
-
|
|
502
|
+
# You first need to have the latest textarea installed before you can run the codemod
|
|
485
503
|
|
|
486
|
-
|
|
487
|
-
|
|
504
|
+
yarn upgrade @atlaskit/textarea@^4.0.0
|
|
505
|
+
```
|
|
488
506
|
|
|
489
507
|
# Run the codemod cli
|
|
490
508
|
|
|
@@ -759,166 +777,163 @@ withAnalyticsEvents<Props>()(Button);
|
|
|
759
777
|
|
|
760
778
|
### Patch Changes
|
|
761
779
|
|
|
762
|
-
-
|
|
780
|
+
- [patch][29a1f158c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29a1f158c1):
|
|
763
781
|
|
|
764
|
-
|
|
782
|
+
Use default react import in typescript files.
|
|
765
783
|
|
|
766
784
|
## 2.1.0
|
|
767
785
|
|
|
768
786
|
### Minor Changes
|
|
769
787
|
|
|
770
|
-
-
|
|
788
|
+
- [minor][2b26a6f408](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2b26a6f408):
|
|
771
789
|
|
|
772
|
-
|
|
790
|
+
Added placeholder prop for textareas
|
|
773
791
|
|
|
774
792
|
## 2.0.0
|
|
775
793
|
|
|
776
|
-
-
|
|
794
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
777
795
|
|
|
778
|
-
|
|
779
|
-
|
|
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.
|
|
780
798
|
|
|
781
799
|
## 1.0.0
|
|
782
800
|
|
|
783
|
-
-
|
|
801
|
+
- [major][dd95622388](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dd95622388):
|
|
784
802
|
|
|
785
|
-
|
|
786
|
-
|
|
803
|
+
- This major release indicates that this package is no longer under dev preview but is ready for
|
|
804
|
+
use
|
|
787
805
|
|
|
788
806
|
## 0.4.6
|
|
789
807
|
|
|
790
|
-
-
|
|
808
|
+
- [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
|
|
791
809
|
|
|
792
|
-
|
|
810
|
+
- Bump tslib
|
|
793
811
|
|
|
794
812
|
## 0.4.5
|
|
795
813
|
|
|
796
|
-
-
|
|
814
|
+
- [patch][cd67ae87f8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cd67ae87f8):
|
|
797
815
|
|
|
798
|
-
|
|
799
|
-
|
|
816
|
+
- Stop defaultValue from being omitted from props that are spread onto textarea
|
|
817
|
+
- Constraint type of value and defaultValue to string
|
|
800
818
|
|
|
801
819
|
## 0.4.4
|
|
802
820
|
|
|
803
|
-
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
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
|
|
808
826
|
|
|
809
827
|
## 0.4.3
|
|
810
828
|
|
|
811
|
-
-
|
|
829
|
+
- [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
|
|
812
830
|
|
|
813
|
-
|
|
814
|
-
|
|
831
|
+
- @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
|
|
832
|
+
supplied from itself.
|
|
815
833
|
|
|
816
834
|
## 0.4.2
|
|
817
835
|
|
|
818
|
-
-
|
|
836
|
+
- [patch][cf018d7630](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cf018d7630):
|
|
819
837
|
|
|
820
|
-
|
|
821
|
-
to 0
|
|
838
|
+
- Allow RefObject to be passed in as ref (i.e. using React.createRef()) and set inner padding to 0
|
|
822
839
|
|
|
823
840
|
## 0.4.1
|
|
824
841
|
|
|
825
|
-
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
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
|
|
831
848
|
|
|
832
849
|
## 0.4.0
|
|
833
850
|
|
|
834
|
-
-
|
|
851
|
+
- [minor][f504850fe2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f504850fe2):
|
|
835
852
|
|
|
836
|
-
|
|
837
|
-
|
|
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
|
|
838
855
|
|
|
839
856
|
## 0.3.2
|
|
840
857
|
|
|
841
|
-
-
|
|
858
|
+
- [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
|
|
842
859
|
|
|
843
|
-
|
|
844
|
-
index.js
|
|
860
|
+
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
|
|
845
861
|
|
|
846
862
|
## 0.3.1
|
|
847
863
|
|
|
848
|
-
-
|
|
864
|
+
- [patch][90a14be594](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90a14be594):
|
|
849
865
|
|
|
850
|
-
|
|
866
|
+
- Fix broken type-helpers
|
|
851
867
|
|
|
852
868
|
## 0.3.0
|
|
853
869
|
|
|
854
|
-
-
|
|
870
|
+
- [minor][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
855
871
|
|
|
856
|
-
|
|
872
|
+
- Dropped ES5 distributables from the typescript packages
|
|
857
873
|
|
|
858
874
|
## 0.2.6
|
|
859
875
|
|
|
860
|
-
-
|
|
876
|
+
- [patch][1b952c437d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1b952c437d):
|
|
861
877
|
|
|
862
|
-
|
|
863
|
-
|
|
878
|
+
- Change order of props spread to fix textarea focus glow, and smart resizing when onChange passed
|
|
879
|
+
in
|
|
864
880
|
|
|
865
881
|
## 0.2.5
|
|
866
882
|
|
|
867
|
-
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
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
|
|
873
889
|
|
|
874
890
|
## 0.2.4
|
|
875
891
|
|
|
876
|
-
-
|
|
892
|
+
- [patch][aab267bb3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aab267bb3a):
|
|
877
893
|
|
|
878
|
-
|
|
894
|
+
- Added test to make sure the props are passed down to hidden input
|
|
879
895
|
|
|
880
896
|
## 0.2.3
|
|
881
897
|
|
|
882
|
-
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
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
|
|
887
903
|
|
|
888
904
|
## 0.2.2
|
|
889
905
|
|
|
890
|
-
-
|
|
906
|
+
- [patch][9e6b592](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9e6b592):
|
|
891
907
|
|
|
892
|
-
|
|
908
|
+
- Added tslib import for textarea
|
|
893
909
|
|
|
894
910
|
## 0.2.1
|
|
895
911
|
|
|
896
|
-
-
|
|
912
|
+
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
897
913
|
|
|
898
|
-
|
|
899
|
-
|
|
914
|
+
- Change API to experimental theming API to namespace component themes into separate contexts and
|
|
915
|
+
make theming simpler. Update all dependant components.
|
|
900
916
|
|
|
901
917
|
## 0.2.0
|
|
902
918
|
|
|
903
|
-
-
|
|
919
|
+
- [minor][76a8f1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76a8f1c):
|
|
904
920
|
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
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
|
|
909
925
|
|
|
910
926
|
## 0.1.1
|
|
911
927
|
|
|
912
|
-
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
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
|
|
917
933
|
|
|
918
934
|
## 0.1.0
|
|
919
935
|
|
|
920
|
-
-
|
|
936
|
+
- [minor][9d77c4e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d77c4e):
|
|
921
937
|
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
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
|