@atlaskit/textfield 6.3.1 → 6.4.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 +601 -582
- package/__perf__/examples.tsx +34 -37
- package/codemods/5.0.0-lite-mode.tsx +5 -8
- package/codemods/__tests__/5.0.0-lite-mode.tsx +14 -14
- package/codemods/__tests__/remove-imports.tsx +29 -31
- package/codemods/__tests__/remove-prop.tsx +28 -28
- package/codemods/__tests__/rename-disabled-to-isdisabled.tsx +28 -28
- package/codemods/__tests__/rename-imports.tsx +45 -48
- package/codemods/migrations/remove-imports.tsx +3 -3
- package/codemods/migrations/rename-disabled-to-isdisabled.tsx +1 -5
- package/codemods/migrations/rename-imports.tsx +8 -8
- package/codemods/migrations/utils.tsx +279 -320
- package/dist/cjs/styles.js +1 -1
- package/dist/cjs/text-field.js +8 -2
- package/dist/es2019/styles.js +1 -1
- package/dist/es2019/text-field.js +9 -2
- package/dist/esm/styles.js +1 -1
- package/dist/esm/text-field.js +9 -2
- package/dist/types/styles.d.ts +1 -1
- package/dist/types/text-field.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-field.d.ts +4 -1
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/package.json +92 -94
- package/report.api.md +21 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,1163 +1,1182 @@
|
|
|
1
1
|
# @atlaskit/textfield
|
|
2
2
|
|
|
3
|
+
## 6.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#116025](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116025)
|
|
8
|
+
[`cd506a937e44f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd506a937e44f) -
|
|
9
|
+
Internal change to how typography is applied. There should be no visual change.
|
|
10
|
+
|
|
11
|
+
## 6.4.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#111016](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111016)
|
|
16
|
+
[`d131599730792`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d131599730792) -
|
|
17
|
+
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
|
|
18
|
+
is implicitly set to automatic.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 6.3.1
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
6
27
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
-
|
|
28
|
+
- [#97073](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97073)
|
|
29
|
+
[`b6435f7c8d0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6435f7c8d0d) -
|
|
30
|
+
Internal changes to typography, no visual change.
|
|
31
|
+
- Updated dependencies
|
|
11
32
|
|
|
12
33
|
## 6.3.0
|
|
13
34
|
|
|
14
35
|
### Minor Changes
|
|
15
36
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
|
20
41
|
|
|
21
42
|
### Patch Changes
|
|
22
43
|
|
|
23
|
-
-
|
|
44
|
+
- Updated dependencies
|
|
24
45
|
|
|
25
46
|
## 6.2.0
|
|
26
47
|
|
|
27
48
|
### Minor Changes
|
|
28
49
|
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
50
|
+
- [#94485](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94485)
|
|
51
|
+
[`b22bd00b7948`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b22bd00b7948) -
|
|
52
|
+
Add support for React 18 in non-strict mode.
|
|
32
53
|
|
|
33
54
|
## 6.1.3
|
|
34
55
|
|
|
35
56
|
### Patch Changes
|
|
36
57
|
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
58
|
+
- [#83130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83130)
|
|
59
|
+
[`4efd62cdc533`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4efd62cdc533) -
|
|
60
|
+
SHPLVIII-481: Assign name to default export components to fix quick-fix imports
|
|
40
61
|
|
|
41
62
|
## 6.1.2
|
|
42
63
|
|
|
43
64
|
### Patch Changes
|
|
44
65
|
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
66
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
67
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
68
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
48
69
|
|
|
49
70
|
## 6.1.1
|
|
50
71
|
|
|
51
72
|
### Patch Changes
|
|
52
73
|
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
74
|
+
- [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644)
|
|
75
|
+
[`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) -
|
|
76
|
+
Revert input border change from the previous version
|
|
56
77
|
|
|
57
78
|
## 6.1.0
|
|
58
79
|
|
|
59
80
|
### Minor Changes
|
|
60
81
|
|
|
61
|
-
-
|
|
62
|
-
|
|
63
|
-
|
|
82
|
+
- [#80805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80805)
|
|
83
|
+
[`427c2dd9e0d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/427c2dd9e0d6) -
|
|
84
|
+
[ux] Update input border width from 2px to 1px with darker color to meet 3:1 color contrast
|
|
64
85
|
|
|
65
86
|
### Patch Changes
|
|
66
87
|
|
|
67
|
-
-
|
|
88
|
+
- Updated dependencies
|
|
68
89
|
|
|
69
90
|
## 6.0.1
|
|
70
91
|
|
|
71
92
|
### Patch Changes
|
|
72
93
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
94
|
+
- [#74756](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74756)
|
|
95
|
+
[`8e66f751df96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e66f751df96) -
|
|
96
|
+
Use feature flag to roll out border width update from 2px to 1px
|
|
76
97
|
|
|
77
98
|
## 6.0.0
|
|
78
99
|
|
|
79
100
|
### Major Changes
|
|
80
101
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
102
|
+
- [#42569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42569)
|
|
103
|
+
[`df6d526f3c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df6d526f3c8) - Removed
|
|
104
|
+
all remaining legacy theming logic from the TextField component.
|
|
84
105
|
|
|
85
106
|
## 5.6.8
|
|
86
107
|
|
|
87
108
|
### Patch Changes
|
|
88
109
|
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
110
|
+
- [#40987](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40987)
|
|
111
|
+
[`3039d60a810`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3039d60a810) - Make
|
|
112
|
+
spread props present in types explicit.
|
|
92
113
|
|
|
93
114
|
## 5.6.7
|
|
94
115
|
|
|
95
116
|
### Patch Changes
|
|
96
117
|
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
118
|
+
- [#39787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39787)
|
|
119
|
+
[`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal
|
|
120
|
+
changes to use space tokens. There is no expected visual or behaviour change.
|
|
100
121
|
|
|
101
122
|
## 5.6.6
|
|
102
123
|
|
|
103
124
|
### Patch Changes
|
|
104
125
|
|
|
105
|
-
-
|
|
106
|
-
|
|
107
|
-
|
|
126
|
+
- [#37613](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37613)
|
|
127
|
+
[`29941aaea33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29941aaea33) - update
|
|
128
|
+
focused fallback color to meet contrast requirement
|
|
108
129
|
|
|
109
130
|
## 5.6.5
|
|
110
131
|
|
|
111
132
|
### Patch Changes
|
|
112
133
|
|
|
113
|
-
-
|
|
114
|
-
|
|
115
|
-
|
|
134
|
+
- [#39128](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39128)
|
|
135
|
+
[`3c114ea4257`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c114ea4257) - Update
|
|
136
|
+
type definitions to conform to inherited changes from `@types/react@16.14.15`.
|
|
116
137
|
|
|
117
138
|
## 5.6.4
|
|
118
139
|
|
|
119
140
|
### Patch Changes
|
|
120
141
|
|
|
121
|
-
-
|
|
122
|
-
|
|
123
|
-
|
|
142
|
+
- [#38201](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38201)
|
|
143
|
+
[`356d6ebed05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/356d6ebed05) - This
|
|
144
|
+
package is now onboarded onto the product push model.
|
|
124
145
|
|
|
125
146
|
## 5.6.3
|
|
126
147
|
|
|
127
148
|
### Patch Changes
|
|
128
149
|
|
|
129
|
-
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
150
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
151
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
152
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
153
|
+
testing.
|
|
133
154
|
|
|
134
155
|
## 5.6.2
|
|
135
156
|
|
|
136
157
|
### Patch Changes
|
|
137
158
|
|
|
138
|
-
-
|
|
139
|
-
|
|
140
|
-
|
|
159
|
+
- [#36661](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36661)
|
|
160
|
+
[`a01cf0168b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a01cf0168b8) - update
|
|
161
|
+
border width with border spacing token
|
|
141
162
|
|
|
142
163
|
## 5.6.1
|
|
143
164
|
|
|
144
165
|
### Patch Changes
|
|
145
166
|
|
|
146
|
-
-
|
|
147
|
-
|
|
148
|
-
|
|
167
|
+
- [#36066](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36066)
|
|
168
|
+
[`3a8d6f61240`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3a8d6f61240) - [ux]
|
|
169
|
+
Adds `text-overflow: ellipsis` to placeholder text.
|
|
149
170
|
|
|
150
171
|
## 5.6.0
|
|
151
172
|
|
|
152
173
|
### Minor Changes
|
|
153
174
|
|
|
154
|
-
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
175
|
+
- [#35766](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35766)
|
|
176
|
+
[`a90730ddb33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a90730ddb33) - Disallow
|
|
177
|
+
use of unused prop `disabled`. Disabled textfields should use `isDisabled`. This change includes a
|
|
178
|
+
codemod for transitioning existing code over to the proper usage.
|
|
158
179
|
|
|
159
180
|
## 5.5.2
|
|
160
181
|
|
|
161
182
|
### Patch Changes
|
|
162
183
|
|
|
163
|
-
-
|
|
164
|
-
|
|
165
|
-
|
|
184
|
+
- [#35111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35111)
|
|
185
|
+
[`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend
|
|
186
|
+
border contrast feature flag to support confluence
|
|
166
187
|
|
|
167
188
|
## 5.5.1
|
|
168
189
|
|
|
169
190
|
### Patch Changes
|
|
170
191
|
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
|
|
192
|
+
- [#34881](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34881)
|
|
193
|
+
[`774ed69ecef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/774ed69ecef) - Internal
|
|
194
|
+
changes to use space tokens for spacing values. There is no visual change.
|
|
174
195
|
|
|
175
196
|
## 5.5.0
|
|
176
197
|
|
|
177
198
|
### Minor Changes
|
|
178
199
|
|
|
179
|
-
-
|
|
180
|
-
|
|
181
|
-
|
|
200
|
+
- [#33167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33167)
|
|
201
|
+
[`c9c3a3f43af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9c3a3f43af) - [ux]
|
|
202
|
+
reduce border width to 1px and update fallback color of border
|
|
182
203
|
|
|
183
204
|
## 5.4.3
|
|
184
205
|
|
|
185
206
|
### Patch Changes
|
|
186
207
|
|
|
187
|
-
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
behaviour change.
|
|
208
|
+
- [#34051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34051)
|
|
209
|
+
[`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated
|
|
210
|
+
use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
191
211
|
|
|
192
212
|
## 5.4.2
|
|
193
213
|
|
|
194
214
|
### Patch Changes
|
|
195
215
|
|
|
196
|
-
-
|
|
197
|
-
|
|
198
|
-
|
|
216
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
217
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
218
|
+
legacy types are published for TS 4.5-4.8
|
|
199
219
|
|
|
200
220
|
## 5.4.1
|
|
201
221
|
|
|
202
222
|
### Patch Changes
|
|
203
223
|
|
|
204
|
-
-
|
|
205
|
-
|
|
206
|
-
|
|
224
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
225
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
226
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
207
227
|
|
|
208
228
|
## 5.4.0
|
|
209
229
|
|
|
210
230
|
### Minor Changes
|
|
211
231
|
|
|
212
|
-
-
|
|
213
|
-
|
|
214
|
-
|
|
232
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
233
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
234
|
+
minor dependency bump
|
|
215
235
|
|
|
216
236
|
### Patch Changes
|
|
217
237
|
|
|
218
|
-
-
|
|
238
|
+
- Updated dependencies
|
|
219
239
|
|
|
220
240
|
## 5.3.7
|
|
221
241
|
|
|
222
242
|
### Patch Changes
|
|
223
243
|
|
|
224
|
-
-
|
|
225
|
-
|
|
226
|
-
|
|
244
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004)
|
|
245
|
+
[`e028bee17df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e028bee17df) - [ux]
|
|
246
|
+
fix(style): update fallback color of placeholder to meet contrast requirement
|
|
227
247
|
|
|
228
248
|
## 5.3.6
|
|
229
249
|
|
|
230
250
|
### Patch Changes
|
|
231
251
|
|
|
232
|
-
-
|
|
252
|
+
- Updated dependencies
|
|
233
253
|
|
|
234
254
|
## 5.3.5
|
|
235
255
|
|
|
236
256
|
### Patch Changes
|
|
237
257
|
|
|
238
|
-
-
|
|
258
|
+
- Updated dependencies
|
|
239
259
|
|
|
240
260
|
## 5.3.4
|
|
241
261
|
|
|
242
262
|
### Patch Changes
|
|
243
263
|
|
|
244
|
-
-
|
|
264
|
+
- Updated dependencies
|
|
245
265
|
|
|
246
266
|
## 5.3.3
|
|
247
267
|
|
|
248
268
|
### Patch Changes
|
|
249
269
|
|
|
250
|
-
-
|
|
270
|
+
- Updated dependencies
|
|
251
271
|
|
|
252
272
|
## 5.3.2
|
|
253
273
|
|
|
254
274
|
### Patch Changes
|
|
255
275
|
|
|
256
|
-
-
|
|
276
|
+
- Updated dependencies
|
|
257
277
|
|
|
258
278
|
## 5.3.1
|
|
259
279
|
|
|
260
280
|
### Patch Changes
|
|
261
281
|
|
|
262
|
-
-
|
|
263
|
-
|
|
264
|
-
|
|
282
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
283
|
+
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
|
|
284
|
+
change to introduce spacing tokens to design system components.
|
|
265
285
|
|
|
266
286
|
## 5.3.0
|
|
267
287
|
|
|
268
288
|
### Minor Changes
|
|
269
289
|
|
|
270
|
-
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
290
|
+
- [#24968](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24968)
|
|
291
|
+
[`b8841384da6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8841384da6) - Disabled
|
|
292
|
+
background and border styles should not be applied to components that have either no background or
|
|
293
|
+
transparent background to begin with. Textfield and textarea variants that do not have backgrounds
|
|
294
|
+
(sublte or none) have no backgrounds or borders applied when disabled. As such, any comopnents
|
|
295
|
+
that consume these will also be affected.
|
|
276
296
|
|
|
277
297
|
## 5.2.2
|
|
278
298
|
|
|
279
299
|
### Patch Changes
|
|
280
300
|
|
|
281
|
-
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
301
|
+
- [#25314](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25314)
|
|
302
|
+
[`bedbdec0e82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bedbdec0e82) - Update
|
|
303
|
+
hover state appearance of subtle Textarea, Textfield and Select components to match the hover
|
|
304
|
+
states of their default counterparts.
|
|
285
305
|
|
|
286
306
|
## 5.2.1
|
|
287
307
|
|
|
288
308
|
### Patch Changes
|
|
289
309
|
|
|
290
|
-
-
|
|
291
|
-
|
|
292
|
-
|
|
310
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
311
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
312
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
293
313
|
|
|
294
314
|
## 5.2.0
|
|
295
315
|
|
|
296
316
|
### Minor Changes
|
|
297
317
|
|
|
298
|
-
-
|
|
299
|
-
|
|
300
|
-
|
|
318
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
|
|
319
|
+
[`acf974e717c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/acf974e717c) - Updates
|
|
320
|
+
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
301
321
|
|
|
302
322
|
### Patch Changes
|
|
303
323
|
|
|
304
|
-
-
|
|
324
|
+
- Updated dependencies
|
|
305
325
|
|
|
306
326
|
## 5.1.13
|
|
307
327
|
|
|
308
328
|
### Patch Changes
|
|
309
329
|
|
|
310
|
-
-
|
|
311
|
-
|
|
312
|
-
|
|
330
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
331
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
332
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
313
333
|
|
|
314
334
|
## 5.1.12
|
|
315
335
|
|
|
316
336
|
### Patch Changes
|
|
317
337
|
|
|
318
|
-
-
|
|
319
|
-
|
|
320
|
-
|
|
338
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
|
|
339
|
+
[`7c14ea36248`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c14ea36248) - [ux]
|
|
340
|
+
Updated input tokens within `@atlaskit/textfield`.
|
|
321
341
|
|
|
322
342
|
## 5.1.11
|
|
323
343
|
|
|
324
344
|
### Patch Changes
|
|
325
345
|
|
|
326
|
-
-
|
|
346
|
+
- Updated dependencies
|
|
327
347
|
|
|
328
348
|
## 5.1.10
|
|
329
349
|
|
|
330
350
|
### Patch Changes
|
|
331
351
|
|
|
332
|
-
-
|
|
333
|
-
|
|
334
|
-
|
|
352
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
353
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
354
|
+
to TypeScript 4.2.4
|
|
335
355
|
|
|
336
356
|
## 5.1.9
|
|
337
357
|
|
|
338
358
|
### Patch Changes
|
|
339
359
|
|
|
340
|
-
-
|
|
360
|
+
- Updated dependencies
|
|
341
361
|
|
|
342
362
|
## 5.1.8
|
|
343
363
|
|
|
344
364
|
### Patch Changes
|
|
345
365
|
|
|
346
|
-
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
-
|
|
366
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
|
|
367
|
+
[`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates
|
|
368
|
+
all usage of brand tokens to either selected or information tokens. This change is purely for
|
|
369
|
+
semantic reasons, there are no visual or behavioural changes.
|
|
370
|
+
- Updated dependencies
|
|
351
371
|
|
|
352
372
|
## 5.1.7
|
|
353
373
|
|
|
354
374
|
### Patch Changes
|
|
355
375
|
|
|
356
|
-
-
|
|
376
|
+
- Updated dependencies
|
|
357
377
|
|
|
358
378
|
## 5.1.6
|
|
359
379
|
|
|
360
380
|
### Patch Changes
|
|
361
381
|
|
|
362
|
-
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
-
|
|
382
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
383
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
|
|
384
|
+
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
|
|
385
|
+
auto-fixing by correctly formatting token ids.
|
|
386
|
+
- Updated dependencies
|
|
367
387
|
|
|
368
388
|
## 5.1.5
|
|
369
389
|
|
|
370
390
|
### Patch Changes
|
|
371
391
|
|
|
372
|
-
-
|
|
392
|
+
- Updated dependencies
|
|
373
393
|
|
|
374
394
|
## 5.1.4
|
|
375
395
|
|
|
376
396
|
### Patch Changes
|
|
377
397
|
|
|
378
|
-
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
-
|
|
398
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
399
|
+
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
400
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
401
|
+
tokens() function and improving bundle size.
|
|
402
|
+
- Updated dependencies
|
|
383
403
|
|
|
384
404
|
## 5.1.3
|
|
385
405
|
|
|
386
406
|
### Patch Changes
|
|
387
407
|
|
|
388
|
-
-
|
|
408
|
+
- Updated dependencies
|
|
389
409
|
|
|
390
410
|
## 5.1.2
|
|
391
411
|
|
|
392
412
|
### Patch Changes
|
|
393
413
|
|
|
394
|
-
-
|
|
414
|
+
- Updated dependencies
|
|
395
415
|
|
|
396
416
|
## 5.1.1
|
|
397
417
|
|
|
398
418
|
### Patch Changes
|
|
399
419
|
|
|
400
|
-
-
|
|
420
|
+
- Updated dependencies
|
|
401
421
|
|
|
402
422
|
## 5.1.0
|
|
403
423
|
|
|
404
424
|
### Minor Changes
|
|
405
425
|
|
|
406
|
-
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
-
|
|
410
|
-
|
|
426
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
427
|
+
[`78ba9e045b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78ba9e045b8) - Internal
|
|
428
|
+
refactor to align to the design system techstack.
|
|
429
|
+
- [`4d34d35270e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d34d35270e) -
|
|
430
|
+
Instrumented text field with the new theming package, `@atlaskit/tokens`.
|
|
411
431
|
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
432
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
433
|
+
alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
434
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
415
435
|
|
|
416
436
|
### Patch Changes
|
|
417
437
|
|
|
418
|
-
-
|
|
419
|
-
|
|
420
|
-
-
|
|
421
|
-
|
|
422
|
-
-
|
|
438
|
+
- [`af4bca32ad4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af4bca32ad4) - Internal
|
|
439
|
+
changes to supress eslint rules.
|
|
440
|
+
- [`ac656b4875e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac656b4875e) - Internal
|
|
441
|
+
style refactor with no visual change.
|
|
442
|
+
- Updated dependencies
|
|
423
443
|
|
|
424
444
|
## 5.0.5
|
|
425
445
|
|
|
426
446
|
### Patch Changes
|
|
427
447
|
|
|
428
|
-
-
|
|
429
|
-
|
|
430
|
-
|
|
448
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
449
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
450
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
431
451
|
|
|
432
452
|
## 5.0.4
|
|
433
453
|
|
|
434
454
|
### Patch Changes
|
|
435
455
|
|
|
436
|
-
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
-
|
|
456
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328)
|
|
457
|
+
[`a7d1415e5e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a7d1415e5e6) - [ux] add
|
|
458
|
+
high contrast mode supporting for Textfield
|
|
459
|
+
- Updated dependencies
|
|
440
460
|
|
|
441
461
|
## 5.0.3
|
|
442
462
|
|
|
443
463
|
### Patch Changes
|
|
444
464
|
|
|
445
|
-
-
|
|
446
|
-
|
|
447
|
-
|
|
465
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
|
|
466
|
+
[`6f0bbf09744`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6f0bbf09744) - [ux] Fix
|
|
467
|
+
disabled TextField text contrast on Safari/WebKit browsers
|
|
448
468
|
|
|
449
469
|
## 5.0.2
|
|
450
470
|
|
|
451
471
|
### Patch Changes
|
|
452
472
|
|
|
453
|
-
-
|
|
454
|
-
|
|
455
|
-
|
|
473
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
474
|
+
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates
|
|
475
|
+
to development dependency `storybook-addon-performance`
|
|
456
476
|
|
|
457
477
|
## 5.0.1
|
|
458
478
|
|
|
459
479
|
### Patch Changes
|
|
460
480
|
|
|
461
|
-
-
|
|
462
|
-
|
|
463
|
-
|
|
481
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
482
|
+
[`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
|
|
483
|
+
injected package name and version for analytics instead of version.json.
|
|
464
484
|
|
|
465
485
|
## 5.0.0
|
|
466
486
|
|
|
467
487
|
### Major Changes
|
|
468
488
|
|
|
469
|
-
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
489
|
+
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
|
|
490
|
+
[`9d0f54a809`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d0f54a809)
|
|
491
|
+
|
|
492
|
+
**Summary**
|
|
493
|
+
|
|
494
|
+
The goal of this major for TextField is to improve the component's performance, by both reducing
|
|
495
|
+
static structure and avoiding unnecessary function calls.
|
|
496
|
+
|
|
497
|
+
**Changes**
|
|
498
|
+
|
|
499
|
+
In this version we improved the performance of `TextField` by making it more similar to a native
|
|
500
|
+
input field and removing the slow theme prop.
|
|
501
|
+
|
|
502
|
+
**Theming**
|
|
503
|
+
|
|
504
|
+
The `theme` prop allows you to customize the appearance of `TextField`. Theming was previously
|
|
505
|
+
used to customize the container div and input element styling in `TextField`. We found that there
|
|
506
|
+
was minimal usage of this API and it was identified to have a negative performance impact
|
|
507
|
+
regardless of whether it was used.
|
|
508
|
+
|
|
509
|
+
We decided to remove this API to benefit all consumers of `TextField`. If you would like to
|
|
510
|
+
continue customizing TextField we have added data attributes (`data-ds--text-field--container` and
|
|
511
|
+
`data-ds--text-field--input`) to both container div and input element of `TextField`. Therefore
|
|
512
|
+
consumers can use this if they want to override style of respective element in `TextField`. For
|
|
513
|
+
example,
|
|
514
|
+
|
|
515
|
+
```jsx
|
|
516
|
+
import React from 'react';
|
|
517
|
+
import { css } from '@emotion/core';
|
|
518
|
+
import { TextField } from '@atlaskit/textfield';
|
|
519
|
+
|
|
520
|
+
export default function CustomStyleExample() {
|
|
521
|
+
return (
|
|
522
|
+
<TextField
|
|
523
|
+
css={{
|
|
524
|
+
padding: 5,
|
|
525
|
+
border: '2px solid orange',
|
|
526
|
+
'& > [data-ds--text-field--input]': {
|
|
527
|
+
fontSize: 20,
|
|
528
|
+
border: '2px solid green',
|
|
529
|
+
},
|
|
530
|
+
}}
|
|
531
|
+
/>
|
|
532
|
+
);
|
|
533
|
+
}
|
|
534
|
+
```
|
|
535
|
+
|
|
536
|
+
You can also override CSS using `className` and data-attributes in `TextField`.
|
|
537
|
+
|
|
538
|
+
```jsx
|
|
539
|
+
// component
|
|
540
|
+
import React from 'react';
|
|
541
|
+
import { TextField } from '@atlaskit/textfield';
|
|
542
|
+
import './styles.css';
|
|
543
|
+
|
|
544
|
+
export default () => {
|
|
545
|
+
return (
|
|
546
|
+
<TextField
|
|
547
|
+
width="large"
|
|
548
|
+
className='myClass'
|
|
549
|
+
/>
|
|
550
|
+
);
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
// styles.css
|
|
554
|
+
.myClass [data-ds--text-field--container] {
|
|
555
|
+
border: 2px solid orange;
|
|
556
|
+
padding: 5px;
|
|
557
|
+
}
|
|
558
|
+
.myClass [data-ds--text-field--input] {
|
|
559
|
+
border: 2px solid green;
|
|
560
|
+
font-size: 20px;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
Note that `TextField` still supports the light mode / dark mode global token. Along with this
|
|
566
|
+
change we have removed the exports `ThemeProps`, `ThemeTokens` and `Theme` from `TextField` as
|
|
567
|
+
they can no longer be used with the removal of `theme`.
|
|
568
|
+
|
|
569
|
+
### Other changes
|
|
570
|
+
|
|
571
|
+
- Previously all interaction styles were generated in JavaScript using events, causing unnecessary
|
|
572
|
+
and slow re-renders for actions like hovering and focusing. Now all styles for the `TextField`
|
|
573
|
+
are applied using CSS selectors.
|
|
574
|
+
- Updated the entry point to only export `TextField` and `TextFieldProps`. These exports
|
|
575
|
+
`ThemeProps`, `ThemeTokens` and `Theme` have now been removed.
|
|
576
|
+
|
|
577
|
+
### Automatic upgrading
|
|
578
|
+
|
|
579
|
+
There is a codemod that assists you in upgrading most of the changes from above. However, a manual
|
|
580
|
+
step is still required to override styles via data attributes.
|
|
581
|
+
|
|
582
|
+
- Removes `theme` and `overrides` prop.
|
|
583
|
+
- Removes imports of `ThemeProps`, `ThemeTokens` and `Theme`.
|
|
584
|
+
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
# You first need to have the latest `TextField` installed before you can run the codemod
|
|
588
|
+
`yarn upgrade @atlaskit/textfield@^5.0.0`
|
|
589
|
+
|
|
590
|
+
# Run the codemod cli
|
|
591
|
+
# Pass in a parser for your codebase
|
|
592
|
+
npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel]
|
|
593
|
+
```
|
|
574
594
|
|
|
575
595
|
## 4.0.10
|
|
576
596
|
|
|
577
597
|
### Patch Changes
|
|
578
598
|
|
|
579
|
-
-
|
|
580
|
-
|
|
581
|
-
|
|
599
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
600
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
601
|
+
packages using babel rather than tsc
|
|
582
602
|
|
|
583
603
|
## 4.0.9
|
|
584
604
|
|
|
585
605
|
### Patch Changes
|
|
586
606
|
|
|
587
|
-
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
607
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
608
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
609
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
610
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
611
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
612
|
+
`devDependencies` to denote version that the package was built with.
|
|
593
613
|
|
|
594
614
|
## 4.0.8
|
|
595
615
|
|
|
596
616
|
### Patch Changes
|
|
597
617
|
|
|
598
|
-
-
|
|
618
|
+
- Updated dependencies
|
|
599
619
|
|
|
600
620
|
## 4.0.7
|
|
601
621
|
|
|
602
622
|
### Patch Changes
|
|
603
623
|
|
|
604
|
-
-
|
|
605
|
-
|
|
606
|
-
|
|
624
|
+
- [#5164](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5164)
|
|
625
|
+
[`2ac834240e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ac834240e) - Undo
|
|
626
|
+
analytics-next file restructure to allow external ts definitions to continue working
|
|
607
627
|
|
|
608
628
|
## 4.0.6
|
|
609
629
|
|
|
610
630
|
### Patch Changes
|
|
611
631
|
|
|
612
|
-
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
-
|
|
632
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
|
|
633
|
+
[`6529a49064`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6529a49064) - Removed
|
|
634
|
+
IE11 and outdated browser-prefixed styles targeting the placeholder attribute
|
|
635
|
+
- Updated dependencies
|
|
616
636
|
|
|
617
637
|
## 4.0.5
|
|
618
638
|
|
|
619
639
|
### Patch Changes
|
|
620
640
|
|
|
621
|
-
-
|
|
622
|
-
|
|
623
|
-
|
|
641
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707)
|
|
642
|
+
[`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable
|
|
643
|
+
integration tests for Edge browser
|
|
624
644
|
|
|
625
645
|
## 4.0.4
|
|
626
646
|
|
|
627
647
|
### Patch Changes
|
|
628
648
|
|
|
629
|
-
-
|
|
630
|
-
|
|
631
|
-
|
|
649
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
650
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
651
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
632
652
|
|
|
633
|
-
|
|
634
|
-
|
|
653
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
654
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
635
655
|
|
|
636
656
|
## 4.0.3
|
|
637
657
|
|
|
638
658
|
### Patch Changes
|
|
639
659
|
|
|
640
|
-
-
|
|
641
|
-
|
|
642
|
-
|
|
660
|
+
- [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393)
|
|
661
|
+
[`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump
|
|
662
|
+
required because of conflicts on wadmal release
|
|
643
663
|
|
|
644
664
|
## 4.0.2
|
|
645
665
|
|
|
646
666
|
### Patch Changes
|
|
647
667
|
|
|
648
|
-
-
|
|
649
|
-
|
|
650
|
-
|
|
668
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
|
|
669
|
+
[`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form
|
|
670
|
+
elements now have a default font explicitly set
|
|
651
671
|
|
|
652
672
|
## 4.0.1
|
|
653
673
|
|
|
654
674
|
### Patch Changes
|
|
655
675
|
|
|
656
|
-
-
|
|
657
|
-
|
|
658
|
-
|
|
676
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
|
|
677
|
+
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme
|
|
678
|
+
and package information has been updated to point to the new design system website.
|
|
659
679
|
|
|
660
680
|
## 4.0.0
|
|
661
681
|
|
|
662
682
|
### Major Changes
|
|
663
683
|
|
|
664
|
-
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
684
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
685
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
686
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
687
|
+
IE11. For more information see:
|
|
688
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
669
689
|
|
|
670
690
|
### Patch Changes
|
|
671
691
|
|
|
672
|
-
-
|
|
692
|
+
- Updated dependencies
|
|
673
693
|
|
|
674
694
|
## 3.1.13
|
|
675
695
|
|
|
676
696
|
### Patch Changes
|
|
677
697
|
|
|
678
|
-
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
698
|
+
- [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763)
|
|
699
|
+
[`088c636cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/088c636cbd) - Updated
|
|
700
|
+
disabled state border-color to match the ADG spec. It now appears as if there is no border on a
|
|
701
|
+
disabled textfield.
|
|
682
702
|
|
|
683
703
|
## 3.1.12
|
|
684
704
|
|
|
685
705
|
### Patch Changes
|
|
686
706
|
|
|
687
|
-
-
|
|
688
|
-
|
|
689
|
-
|
|
707
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
708
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
|
|
709
|
+
supporting files will no longer be published to npm
|
|
690
710
|
|
|
691
711
|
## 3.1.11
|
|
692
712
|
|
|
693
713
|
### Patch Changes
|
|
694
714
|
|
|
695
|
-
-
|
|
715
|
+
- Updated dependencies
|
|
696
716
|
|
|
697
717
|
## 3.1.10
|
|
698
718
|
|
|
699
719
|
### Patch Changes
|
|
700
720
|
|
|
701
|
-
-
|
|
702
|
-
|
|
703
|
-
|
|
721
|
+
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868)
|
|
722
|
+
[`83f4f94df3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83f4f94df3) - Change
|
|
723
|
+
imports to comply with Atlassian conventions- Updated dependencies
|
|
704
724
|
|
|
705
725
|
## 3.1.9
|
|
706
726
|
|
|
707
727
|
### Patch Changes
|
|
708
728
|
|
|
709
|
-
-
|
|
710
|
-
|
|
711
|
-
-
|
|
712
|
-
|
|
713
|
-
-
|
|
714
|
-
|
|
715
|
-
-
|
|
716
|
-
|
|
717
|
-
-
|
|
718
|
-
|
|
719
|
-
-
|
|
720
|
-
|
|
721
|
-
-
|
|
722
|
-
|
|
723
|
-
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
729
|
+
- Updated dependencies
|
|
730
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
731
|
+
- Updated dependencies
|
|
732
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
733
|
+
- Updated dependencies
|
|
734
|
+
[64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
|
|
735
|
+
- Updated dependencies
|
|
736
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
737
|
+
- Updated dependencies
|
|
738
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
739
|
+
- Updated dependencies
|
|
740
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
741
|
+
- Updated dependencies
|
|
742
|
+
[109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
|
|
743
|
+
- Updated dependencies
|
|
744
|
+
[c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
|
|
745
|
+
- @atlaskit/docs@8.4.0
|
|
746
|
+
- @atlaskit/icon@20.1.0
|
|
747
|
+
- @atlaskit/webdriver-runner@0.3.0
|
|
748
|
+
- @atlaskit/avatar@17.1.9
|
|
749
|
+
- @atlaskit/button@13.3.9
|
|
750
|
+
- @atlaskit/form@7.1.5
|
|
731
751
|
|
|
732
752
|
## 3.1.8
|
|
733
753
|
|
|
734
754
|
### Patch Changes
|
|
735
755
|
|
|
736
|
-
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
756
|
+
- Updated dependencies
|
|
757
|
+
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
|
|
758
|
+
- @atlaskit/webdriver-runner@0.2.0
|
|
759
|
+
- @atlaskit/avatar@17.1.8
|
|
760
|
+
- @atlaskit/button@13.3.8
|
|
761
|
+
- @atlaskit/form@7.1.4
|
|
742
762
|
|
|
743
763
|
## 3.1.7
|
|
744
764
|
|
|
745
765
|
### Patch Changes
|
|
746
766
|
|
|
747
|
-
-
|
|
767
|
+
- [patch][91a1eb05db](https://bitbucket.org/atlassian/atlassian-frontend/commits/91a1eb05db):
|
|
748
768
|
|
|
749
|
-
|
|
750
|
-
|
|
769
|
+
Textfield now exports its props as TextFieldProps- Updated dependencies
|
|
770
|
+
[eaad41d56c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eaad41d56c):
|
|
751
771
|
|
|
752
|
-
-
|
|
753
|
-
|
|
754
|
-
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
772
|
+
- Updated dependencies
|
|
773
|
+
[c12ba5eb3e](https://bitbucket.org/atlassian/atlassian-frontend/commits/c12ba5eb3e):
|
|
774
|
+
- Updated dependencies
|
|
775
|
+
[0603860c07](https://bitbucket.org/atlassian/atlassian-frontend/commits/0603860c07):
|
|
776
|
+
- @atlaskit/form@7.1.3
|
|
777
|
+
- @atlaskit/icon@20.0.2
|
|
758
778
|
|
|
759
779
|
## 3.1.6
|
|
760
780
|
|
|
761
781
|
### Patch Changes
|
|
762
782
|
|
|
763
|
-
-
|
|
783
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
764
784
|
|
|
765
|
-
|
|
766
|
-
|
|
785
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
786
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
767
787
|
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
788
|
+
- @atlaskit/docs@8.3.2
|
|
789
|
+
- @atlaskit/visual-regression@0.1.9
|
|
790
|
+
- @atlaskit/analytics-next@6.3.5
|
|
791
|
+
- @atlaskit/avatar@17.1.7
|
|
792
|
+
- @atlaskit/button@13.3.7
|
|
793
|
+
- @atlaskit/form@7.1.2
|
|
794
|
+
- @atlaskit/icon@20.0.1
|
|
795
|
+
- @atlaskit/theme@9.5.1
|
|
776
796
|
|
|
777
797
|
## 3.1.5
|
|
778
798
|
|
|
779
799
|
### Patch Changes
|
|
780
800
|
|
|
781
|
-
-
|
|
782
|
-
|
|
783
|
-
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
801
|
+
- Updated dependencies
|
|
802
|
+
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
|
|
803
|
+
- Updated dependencies
|
|
804
|
+
[b9dc265bc9](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9dc265bc9):
|
|
805
|
+
- @atlaskit/icon@20.0.0
|
|
806
|
+
- @atlaskit/avatar@17.1.6
|
|
807
|
+
- @atlaskit/form@7.1.1
|
|
808
|
+
- @atlaskit/docs@8.3.1
|
|
809
|
+
- @atlaskit/button@13.3.6
|
|
790
810
|
|
|
791
811
|
## 3.1.4
|
|
792
812
|
|
|
793
813
|
### Patch Changes
|
|
794
814
|
|
|
795
|
-
-
|
|
815
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
796
816
|
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
817
|
+
Form has been converted to Typescript. TypeScript consumers will now get static type safety. Flow
|
|
818
|
+
types are no longer provided. No API changes.-
|
|
819
|
+
[patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
800
820
|
|
|
801
|
-
|
|
802
|
-
|
|
821
|
+
Added name prop to component prop types.- Updated dependencies
|
|
822
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
803
823
|
|
|
804
|
-
-
|
|
805
|
-
|
|
806
|
-
-
|
|
807
|
-
|
|
808
|
-
-
|
|
809
|
-
|
|
810
|
-
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
824
|
+
- Updated dependencies
|
|
825
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
826
|
+
- Updated dependencies
|
|
827
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
828
|
+
- Updated dependencies
|
|
829
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
830
|
+
- Updated dependencies
|
|
831
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
832
|
+
- @atlaskit/analytics-next@6.3.3
|
|
833
|
+
- @atlaskit/form@7.0.0
|
|
834
|
+
- @atlaskit/avatar@17.1.5
|
|
815
835
|
|
|
816
836
|
## 3.1.3
|
|
817
837
|
|
|
818
838
|
### Patch Changes
|
|
819
839
|
|
|
820
|
-
-
|
|
840
|
+
- [patch][557a8e2451](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a8e2451):
|
|
821
841
|
|
|
822
|
-
|
|
842
|
+
Rebuilds package to fix typescript typing error.
|
|
823
843
|
|
|
824
844
|
## 3.1.2
|
|
825
845
|
|
|
826
846
|
### Patch Changes
|
|
827
847
|
|
|
828
|
-
-
|
|
848
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
829
849
|
|
|
830
|
-
|
|
850
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
831
851
|
|
|
832
852
|
## 3.1.1
|
|
833
853
|
|
|
834
854
|
### Patch Changes
|
|
835
855
|
|
|
836
|
-
-
|
|
856
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
837
857
|
|
|
838
|
-
|
|
858
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
839
859
|
|
|
840
860
|
## 3.1.0
|
|
841
861
|
|
|
842
862
|
### Minor Changes
|
|
843
863
|
|
|
844
|
-
-
|
|
864
|
+
- [minor][9638c553c0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9638c553c0):
|
|
845
865
|
|
|
846
|
-
|
|
847
|
-
|
|
866
|
+
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help
|
|
867
|
+
products to write better integration and end to end tests.
|
|
848
868
|
|
|
849
869
|
## 3.0.7
|
|
850
870
|
|
|
851
871
|
### Patch Changes
|
|
852
872
|
|
|
853
|
-
-
|
|
873
|
+
- [patch][d5def52d98](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d5def52d98):
|
|
854
874
|
|
|
855
|
-
|
|
875
|
+
Refactored textfield styles to better support border-box being set globally.
|
|
856
876
|
|
|
857
877
|
## 3.0.6
|
|
858
878
|
|
|
859
|
-
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
879
|
+
- Updated dependencies
|
|
880
|
+
[8d0f37c23e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8d0f37c23e):
|
|
881
|
+
- @atlaskit/avatar@17.0.0
|
|
882
|
+
- @atlaskit/theme@9.2.2
|
|
863
883
|
|
|
864
884
|
## 3.0.5
|
|
865
885
|
|
|
866
886
|
### Patch Changes
|
|
867
887
|
|
|
868
|
-
-
|
|
888
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
869
889
|
|
|
870
|
-
|
|
871
|
-
|
|
890
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
891
|
+
non-relative imports as relative imports
|
|
872
892
|
|
|
873
893
|
## 3.0.4
|
|
874
894
|
|
|
875
895
|
### Patch Changes
|
|
876
896
|
|
|
877
|
-
-
|
|
897
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
878
898
|
|
|
879
|
-
|
|
899
|
+
Upgraded Typescript to 3.3.x
|
|
880
900
|
|
|
881
901
|
## 3.0.3
|
|
882
902
|
|
|
883
903
|
### Patch Changes
|
|
884
904
|
|
|
885
|
-
-
|
|
905
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
886
906
|
|
|
887
|
-
|
|
907
|
+
Change all the imports to theme in Core to use multi entry points
|
|
888
908
|
|
|
889
909
|
## 3.0.2
|
|
890
910
|
|
|
891
911
|
### Patch Changes
|
|
892
912
|
|
|
893
|
-
-
|
|
913
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
894
914
|
|
|
895
|
-
|
|
915
|
+
Updates component maintainers
|
|
896
916
|
|
|
897
917
|
## 3.0.1
|
|
898
918
|
|
|
899
|
-
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
919
|
+
- Updated dependencies
|
|
920
|
+
[926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
|
|
921
|
+
- @atlaskit/analytics-next@6.0.0
|
|
922
|
+
- @atlaskit/avatar@16.0.10
|
|
923
|
+
- @atlaskit/button@13.1.2
|
|
904
924
|
|
|
905
925
|
## 3.0.0
|
|
906
926
|
|
|
907
927
|
### Major Changes
|
|
908
928
|
|
|
909
|
-
-
|
|
929
|
+
- [major][84887b940c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/84887b940c):
|
|
910
930
|
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
931
|
+
- Converting from flow to typescript 🎉
|
|
932
|
+
- Correctly typing the current prop spreading onto the internal `<input>` element
|
|
933
|
+
- Removing `isHovered` and `isFocused` from public API as they previously did not do anything
|
|
914
934
|
|
|
915
935
|
## 2.0.5
|
|
916
936
|
|
|
917
937
|
### Patch Changes
|
|
918
938
|
|
|
919
|
-
-
|
|
939
|
+
- [patch][2fe6e8fbdf](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2fe6e8fbdf):
|
|
920
940
|
|
|
921
|
-
|
|
941
|
+
Removed unused dependencies from package.json for textfield: @emotion/core was unused.
|
|
922
942
|
|
|
923
943
|
## 2.0.4
|
|
924
944
|
|
|
925
945
|
### Patch Changes
|
|
926
946
|
|
|
927
|
-
-
|
|
947
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
928
948
|
|
|
929
|
-
|
|
949
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
930
950
|
|
|
931
951
|
## 2.0.3
|
|
932
952
|
|
|
933
|
-
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
953
|
+
- Updated dependencies
|
|
954
|
+
[06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
|
|
955
|
+
- @atlaskit/docs@8.1.3
|
|
956
|
+
- @atlaskit/avatar@16.0.6
|
|
957
|
+
- @atlaskit/button@13.0.9
|
|
958
|
+
- @atlaskit/form@6.1.1
|
|
959
|
+
- @atlaskit/icon@19.0.0
|
|
940
960
|
|
|
941
961
|
## 2.0.2
|
|
942
962
|
|
|
943
963
|
### Patch Changes
|
|
944
964
|
|
|
945
|
-
-
|
|
965
|
+
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
|
|
946
966
|
|
|
947
|
-
|
|
967
|
+
index.ts will now be ignored when publishing to npm
|
|
948
968
|
|
|
949
969
|
## 2.0.1
|
|
950
970
|
|
|
951
|
-
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
971
|
+
- Updated dependencies
|
|
972
|
+
[cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
|
|
973
|
+
- @atlaskit/docs@8.1.2
|
|
974
|
+
- @atlaskit/avatar@16.0.3
|
|
975
|
+
- @atlaskit/button@13.0.8
|
|
976
|
+
- @atlaskit/form@6.0.5
|
|
977
|
+
- @atlaskit/icon@18.0.0
|
|
958
978
|
|
|
959
979
|
## 2.0.0
|
|
960
980
|
|
|
961
|
-
-
|
|
981
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
962
982
|
|
|
963
|
-
|
|
964
|
-
|
|
983
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
984
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
965
985
|
|
|
966
986
|
## 1.0.0
|
|
967
987
|
|
|
968
|
-
-
|
|
988
|
+
- [major][6cdf11238d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6cdf11238d):
|
|
969
989
|
|
|
970
|
-
|
|
971
|
-
|
|
990
|
+
- This major release indicates that this package is no longer under dev preview but is ready for
|
|
991
|
+
use
|
|
972
992
|
|
|
973
993
|
## 0.4.5
|
|
974
994
|
|
|
975
|
-
-
|
|
995
|
+
- [patch][7157a95389](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7157a95389):
|
|
976
996
|
|
|
977
|
-
|
|
997
|
+
- Internal changes only. Textfield is compatible with SSR.
|
|
978
998
|
|
|
979
999
|
## 0.4.4
|
|
980
1000
|
|
|
981
|
-
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
1001
|
+
- Updated dependencies
|
|
1002
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
1003
|
+
- @atlaskit/docs@7.0.3
|
|
1004
|
+
- @atlaskit/avatar@15.0.4
|
|
1005
|
+
- @atlaskit/button@12.0.3
|
|
1006
|
+
- @atlaskit/form@5.2.7
|
|
1007
|
+
- @atlaskit/icon@16.0.9
|
|
1008
|
+
- @atlaskit/theme@8.1.7
|
|
989
1009
|
|
|
990
1010
|
## 0.4.3
|
|
991
1011
|
|
|
992
|
-
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1012
|
+
- Updated dependencies
|
|
1013
|
+
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
|
|
1014
|
+
- @atlaskit/docs@7.0.2
|
|
1015
|
+
- @atlaskit/analytics-next@4.0.3
|
|
1016
|
+
- @atlaskit/avatar@15.0.3
|
|
1017
|
+
- @atlaskit/form@5.2.5
|
|
1018
|
+
- @atlaskit/icon@16.0.8
|
|
1019
|
+
- @atlaskit/theme@8.1.6
|
|
1020
|
+
- @atlaskit/button@12.0.0
|
|
1001
1021
|
|
|
1002
1022
|
## 0.4.2
|
|
1003
1023
|
|
|
1004
|
-
-
|
|
1024
|
+
- [patch][a28eb04426](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a28eb04426):
|
|
1005
1025
|
|
|
1006
|
-
|
|
1026
|
+
- Migrates package from emotion 9 to emotion 10. No behaviour or API changes.
|
|
1007
1027
|
|
|
1008
1028
|
## 0.4.1
|
|
1009
1029
|
|
|
1010
|
-
-
|
|
1030
|
+
- [patch][e0797c2937](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e0797c2937):
|
|
1011
1031
|
|
|
1012
|
-
|
|
1032
|
+
- Support object refs e.g. React.createRef()
|
|
1013
1033
|
|
|
1014
1034
|
## 0.4.0
|
|
1015
1035
|
|
|
1016
|
-
-
|
|
1036
|
+
- [minor][8eff47cacb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8eff47cacb):
|
|
1017
1037
|
|
|
1018
|
-
|
|
1038
|
+
- Allow element before and/or after input
|
|
1019
1039
|
|
|
1020
1040
|
## 0.3.1
|
|
1021
1041
|
|
|
1022
|
-
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1042
|
+
- Updated dependencies
|
|
1043
|
+
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
1044
|
+
- @atlaskit/docs@7.0.1
|
|
1045
|
+
- @atlaskit/analytics-next@4.0.1
|
|
1046
|
+
- @atlaskit/form@5.2.1
|
|
1047
|
+
- @atlaskit/theme@8.0.1
|
|
1048
|
+
- @atlaskit/button@11.0.0
|
|
1029
1049
|
|
|
1030
1050
|
## 0.3.0
|
|
1031
1051
|
|
|
1032
|
-
-
|
|
1052
|
+
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1033
1053
|
|
|
1034
|
-
|
|
1054
|
+
- Drop ES5 from all the flow modules
|
|
1035
1055
|
|
|
1036
|
-
|
|
1056
|
+
### Dropping CJS support in all @atlaskit packages
|
|
1037
1057
|
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1058
|
+
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
1059
|
+
distribute esm. This means all distributed code will be transpiled, but will still contain
|
|
1060
|
+
`import` and `export` declarations.
|
|
1041
1061
|
|
|
1042
|
-
|
|
1043
|
-
e.g:
|
|
1062
|
+
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
|
|
1044
1063
|
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1064
|
+
```js
|
|
1065
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1066
|
+
```
|
|
1048
1067
|
|
|
1049
|
-
|
|
1068
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
1050
1069
|
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1070
|
+
```js
|
|
1071
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1072
|
+
```
|
|
1054
1073
|
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1074
|
+
This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
|
|
1075
|
+
we have to worry about how consumers might be using things that aren't _actually_ supposed to be
|
|
1076
|
+
used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of
|
|
1077
|
+
packages bundling all of theme, just to use a single color, especially in situations where tree
|
|
1078
|
+
shaking fails.
|
|
1060
1079
|
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1080
|
+
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
1081
|
+
multiple distributions as they would need to have very different imports from of their own
|
|
1082
|
+
internal dependencies.
|
|
1064
1083
|
|
|
1065
|
-
|
|
1066
|
-
|
|
1084
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1085
|
+
environments.
|
|
1067
1086
|
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1087
|
+
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
1088
|
+
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
|
|
1089
|
+
saner API's and simpler package architecture.
|
|
1071
1090
|
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1091
|
+
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
1092
|
+
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
|
|
1093
|
+
external) if you have any questions or queries about this.
|
|
1075
1094
|
|
|
1076
1095
|
## 0.2.0
|
|
1077
1096
|
|
|
1078
|
-
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1097
|
+
- [minor][e9b824bf86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e9b824bf86):
|
|
1098
|
+
|
|
1099
|
+
- **Breaking**: Changes to the `theme` prop. The type of this prop remains as
|
|
1100
|
+
`(ThemeTokens, ThemeProps) => ThemeTokens`.
|
|
1101
|
+
- The shape of `ThemeTokens` has changed. `container` and `input` keys are now required. The
|
|
1102
|
+
value of these keys are style objects.
|
|
1103
|
+
- More information has been added to ThemeProps.
|
|
1104
|
+
|
|
1105
|
+
```diff
|
|
1106
|
+
type ThemeTokens = {
|
|
1107
|
+
- backgroundColor: string
|
|
1108
|
+
- backgroundColorFocus: string
|
|
1109
|
+
- backgroundColorHover: string
|
|
1110
|
+
- borderColor: string
|
|
1111
|
+
- borderColorFocus: string
|
|
1112
|
+
- textColor: string
|
|
1113
|
+
- disabledTextColor: string
|
|
1114
|
+
- placeholderTextColor: string
|
|
1115
|
+
+ container: Object,
|
|
1116
|
+
+ input: Object
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
type ThemeProps = {
|
|
1120
|
+
appearance: ThemeAppearance,
|
|
1121
|
+
mode: 'dark' | 'light',
|
|
1122
|
+
+ isDisabled: boolean,
|
|
1123
|
+
+ isFocused: boolean,
|
|
1124
|
+
+ isHovered: boolean,
|
|
1125
|
+
+ isInvalid: boolean,
|
|
1126
|
+
+ isMonospaced: boolean,
|
|
1127
|
+
+ isCompact: boolean,
|
|
1128
|
+
+ width?: string | number,
|
|
1129
|
+
};
|
|
1130
|
+
```
|
|
1112
1131
|
|
|
1113
1132
|
## 0.1.6
|
|
1114
1133
|
|
|
1115
|
-
-
|
|
1134
|
+
- [patch][3d8322bd71](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3d8322bd71):
|
|
1116
1135
|
|
|
1117
|
-
|
|
1136
|
+
- Trival refactor: update a variable name
|
|
1118
1137
|
|
|
1119
1138
|
## 0.1.5
|
|
1120
1139
|
|
|
1121
|
-
-
|
|
1140
|
+
- [patch][2e5dd50](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2e5dd50):
|
|
1122
1141
|
|
|
1123
|
-
|
|
1142
|
+
- Update validation example to be compatible with the new Forms API
|
|
1124
1143
|
|
|
1125
|
-
-
|
|
1126
|
-
|
|
1144
|
+
- Updated dependencies [647a46f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/647a46f):
|
|
1145
|
+
- @atlaskit/form@5.0.0
|
|
1127
1146
|
|
|
1128
1147
|
## 0.1.4
|
|
1129
1148
|
|
|
1130
|
-
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1149
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
1150
|
+
- @atlaskit/analytics-next@3.1.2
|
|
1151
|
+
- @atlaskit/button@10.1.1
|
|
1152
|
+
- @atlaskit/form@4.0.21
|
|
1153
|
+
- @atlaskit/theme@7.0.1
|
|
1154
|
+
- @atlaskit/docs@6.0.0
|
|
1136
1155
|
|
|
1137
1156
|
## 0.1.3
|
|
1138
1157
|
|
|
1139
|
-
-
|
|
1158
|
+
- [patch][63f969d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/63f969d):
|
|
1140
1159
|
|
|
1141
|
-
|
|
1160
|
+
- Fixed height of compact textfields to correctly be 32px instead of 28px
|
|
1142
1161
|
|
|
1143
1162
|
## 0.1.2
|
|
1144
1163
|
|
|
1145
|
-
-
|
|
1164
|
+
- [patch][480a57c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/480a57c):
|
|
1146
1165
|
|
|
1147
|
-
|
|
1166
|
+
- Convert to use new theme API.
|
|
1148
1167
|
|
|
1149
1168
|
## 0.1.1
|
|
1150
1169
|
|
|
1151
|
-
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1170
|
+
- Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
|
|
1171
|
+
- @atlaskit/docs@5.2.1
|
|
1172
|
+
- @atlaskit/analytics-next@3.1.1
|
|
1173
|
+
- @atlaskit/form@4.0.18
|
|
1174
|
+
- @atlaskit/theme@6.2.1
|
|
1175
|
+
- @atlaskit/button@10.0.0
|
|
1157
1176
|
|
|
1158
1177
|
## 0.1.0
|
|
1159
1178
|
|
|
1160
|
-
-
|
|
1179
|
+
- [minor][62109bd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/62109bd):
|
|
1161
1180
|
|
|
1162
|
-
|
|
1163
|
-
|
|
1181
|
+
- Refactor of field-text to remove field-base and normalise along api patterns established in
|
|
1182
|
+
other form components.
|