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