@atlaskit/textfield 6.3.0 → 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 +598 -578
- 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 +5 -12
- package/dist/cjs/text-field.js +8 -2
- package/dist/es2019/styles.js +5 -14
- package/dist/es2019/text-field.js +9 -2
- package/dist/esm/styles.js +5 -14
- package/dist/esm/text-field.js +9 -2
- package/dist/types/styles.d.ts +4 -8
- 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 +4 -8
- 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,1154 +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
|
+
|
|
16
|
+
## 6.3.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
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
|
|
24
|
+
|
|
3
25
|
## 6.3.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
6
28
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
11
33
|
|
|
12
34
|
### Patch Changes
|
|
13
35
|
|
|
14
|
-
-
|
|
36
|
+
- Updated dependencies
|
|
15
37
|
|
|
16
38
|
## 6.2.0
|
|
17
39
|
|
|
18
40
|
### Minor Changes
|
|
19
41
|
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
|
|
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.
|
|
23
45
|
|
|
24
46
|
## 6.1.3
|
|
25
47
|
|
|
26
48
|
### Patch Changes
|
|
27
49
|
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
|
31
53
|
|
|
32
54
|
## 6.1.2
|
|
33
55
|
|
|
34
56
|
### Patch Changes
|
|
35
57
|
|
|
36
|
-
-
|
|
37
|
-
|
|
38
|
-
|
|
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`
|
|
39
61
|
|
|
40
62
|
## 6.1.1
|
|
41
63
|
|
|
42
64
|
### Patch Changes
|
|
43
65
|
|
|
44
|
-
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
|
47
69
|
|
|
48
70
|
## 6.1.0
|
|
49
71
|
|
|
50
72
|
### Minor Changes
|
|
51
73
|
|
|
52
|
-
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
|
55
77
|
|
|
56
78
|
### Patch Changes
|
|
57
79
|
|
|
58
|
-
-
|
|
80
|
+
- Updated dependencies
|
|
59
81
|
|
|
60
82
|
## 6.0.1
|
|
61
83
|
|
|
62
84
|
### Patch Changes
|
|
63
85
|
|
|
64
|
-
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
|
67
89
|
|
|
68
90
|
## 6.0.0
|
|
69
91
|
|
|
70
92
|
### Major Changes
|
|
71
93
|
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
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.
|
|
75
97
|
|
|
76
98
|
## 5.6.8
|
|
77
99
|
|
|
78
100
|
### Patch Changes
|
|
79
101
|
|
|
80
|
-
-
|
|
81
|
-
|
|
82
|
-
|
|
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.
|
|
83
105
|
|
|
84
106
|
## 5.6.7
|
|
85
107
|
|
|
86
108
|
### Patch Changes
|
|
87
109
|
|
|
88
|
-
-
|
|
89
|
-
|
|
90
|
-
|
|
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.
|
|
91
113
|
|
|
92
114
|
## 5.6.6
|
|
93
115
|
|
|
94
116
|
### Patch Changes
|
|
95
117
|
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
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
|
|
99
121
|
|
|
100
122
|
## 5.6.5
|
|
101
123
|
|
|
102
124
|
### Patch Changes
|
|
103
125
|
|
|
104
|
-
-
|
|
105
|
-
|
|
106
|
-
|
|
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`.
|
|
107
129
|
|
|
108
130
|
## 5.6.4
|
|
109
131
|
|
|
110
132
|
### Patch Changes
|
|
111
133
|
|
|
112
|
-
-
|
|
113
|
-
|
|
114
|
-
|
|
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.
|
|
115
137
|
|
|
116
138
|
## 5.6.3
|
|
117
139
|
|
|
118
140
|
### Patch Changes
|
|
119
141
|
|
|
120
|
-
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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.
|
|
124
146
|
|
|
125
147
|
## 5.6.2
|
|
126
148
|
|
|
127
149
|
### Patch Changes
|
|
128
150
|
|
|
129
|
-
-
|
|
130
|
-
|
|
131
|
-
|
|
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
|
|
132
154
|
|
|
133
155
|
## 5.6.1
|
|
134
156
|
|
|
135
157
|
### Patch Changes
|
|
136
158
|
|
|
137
|
-
-
|
|
138
|
-
|
|
139
|
-
|
|
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.
|
|
140
162
|
|
|
141
163
|
## 5.6.0
|
|
142
164
|
|
|
143
165
|
### Minor Changes
|
|
144
166
|
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
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.
|
|
149
171
|
|
|
150
172
|
## 5.5.2
|
|
151
173
|
|
|
152
174
|
### Patch Changes
|
|
153
175
|
|
|
154
|
-
-
|
|
155
|
-
|
|
156
|
-
|
|
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
|
|
157
179
|
|
|
158
180
|
## 5.5.1
|
|
159
181
|
|
|
160
182
|
### Patch Changes
|
|
161
183
|
|
|
162
|
-
-
|
|
163
|
-
|
|
164
|
-
|
|
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.
|
|
165
187
|
|
|
166
188
|
## 5.5.0
|
|
167
189
|
|
|
168
190
|
### Minor Changes
|
|
169
191
|
|
|
170
|
-
-
|
|
171
|
-
|
|
172
|
-
|
|
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
|
|
173
195
|
|
|
174
196
|
## 5.4.3
|
|
175
197
|
|
|
176
198
|
### Patch Changes
|
|
177
199
|
|
|
178
|
-
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
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.
|
|
182
203
|
|
|
183
204
|
## 5.4.2
|
|
184
205
|
|
|
185
206
|
### Patch Changes
|
|
186
207
|
|
|
187
|
-
-
|
|
188
|
-
|
|
189
|
-
|
|
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
|
|
190
211
|
|
|
191
212
|
## 5.4.1
|
|
192
213
|
|
|
193
214
|
### Patch Changes
|
|
194
215
|
|
|
195
|
-
-
|
|
196
|
-
|
|
197
|
-
|
|
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`
|
|
198
219
|
|
|
199
220
|
## 5.4.0
|
|
200
221
|
|
|
201
222
|
### Minor Changes
|
|
202
223
|
|
|
203
|
-
-
|
|
204
|
-
|
|
205
|
-
|
|
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
|
|
206
227
|
|
|
207
228
|
### Patch Changes
|
|
208
229
|
|
|
209
|
-
-
|
|
230
|
+
- Updated dependencies
|
|
210
231
|
|
|
211
232
|
## 5.3.7
|
|
212
233
|
|
|
213
234
|
### Patch Changes
|
|
214
235
|
|
|
215
|
-
-
|
|
216
|
-
|
|
217
|
-
|
|
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
|
|
218
239
|
|
|
219
240
|
## 5.3.6
|
|
220
241
|
|
|
221
242
|
### Patch Changes
|
|
222
243
|
|
|
223
|
-
-
|
|
244
|
+
- Updated dependencies
|
|
224
245
|
|
|
225
246
|
## 5.3.5
|
|
226
247
|
|
|
227
248
|
### Patch Changes
|
|
228
249
|
|
|
229
|
-
-
|
|
250
|
+
- Updated dependencies
|
|
230
251
|
|
|
231
252
|
## 5.3.4
|
|
232
253
|
|
|
233
254
|
### Patch Changes
|
|
234
255
|
|
|
235
|
-
-
|
|
256
|
+
- Updated dependencies
|
|
236
257
|
|
|
237
258
|
## 5.3.3
|
|
238
259
|
|
|
239
260
|
### Patch Changes
|
|
240
261
|
|
|
241
|
-
-
|
|
262
|
+
- Updated dependencies
|
|
242
263
|
|
|
243
264
|
## 5.3.2
|
|
244
265
|
|
|
245
266
|
### Patch Changes
|
|
246
267
|
|
|
247
|
-
-
|
|
268
|
+
- Updated dependencies
|
|
248
269
|
|
|
249
270
|
## 5.3.1
|
|
250
271
|
|
|
251
272
|
### Patch Changes
|
|
252
273
|
|
|
253
|
-
-
|
|
254
|
-
|
|
255
|
-
|
|
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.
|
|
256
277
|
|
|
257
278
|
## 5.3.0
|
|
258
279
|
|
|
259
280
|
### Minor Changes
|
|
260
281
|
|
|
261
|
-
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
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.
|
|
267
288
|
|
|
268
289
|
## 5.2.2
|
|
269
290
|
|
|
270
291
|
### Patch Changes
|
|
271
292
|
|
|
272
|
-
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
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.
|
|
276
297
|
|
|
277
298
|
## 5.2.1
|
|
278
299
|
|
|
279
300
|
### Patch Changes
|
|
280
301
|
|
|
281
|
-
-
|
|
282
|
-
|
|
283
|
-
|
|
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`
|
|
284
305
|
|
|
285
306
|
## 5.2.0
|
|
286
307
|
|
|
287
308
|
### Minor Changes
|
|
288
309
|
|
|
289
|
-
-
|
|
290
|
-
|
|
291
|
-
|
|
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.
|
|
292
313
|
|
|
293
314
|
### Patch Changes
|
|
294
315
|
|
|
295
|
-
-
|
|
316
|
+
- Updated dependencies
|
|
296
317
|
|
|
297
318
|
## 5.1.13
|
|
298
319
|
|
|
299
320
|
### Patch Changes
|
|
300
321
|
|
|
301
|
-
-
|
|
302
|
-
|
|
303
|
-
|
|
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`.
|
|
304
325
|
|
|
305
326
|
## 5.1.12
|
|
306
327
|
|
|
307
328
|
### Patch Changes
|
|
308
329
|
|
|
309
|
-
-
|
|
310
|
-
|
|
311
|
-
|
|
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`.
|
|
312
333
|
|
|
313
334
|
## 5.1.11
|
|
314
335
|
|
|
315
336
|
### Patch Changes
|
|
316
337
|
|
|
317
|
-
-
|
|
338
|
+
- Updated dependencies
|
|
318
339
|
|
|
319
340
|
## 5.1.10
|
|
320
341
|
|
|
321
342
|
### Patch Changes
|
|
322
343
|
|
|
323
|
-
-
|
|
324
|
-
|
|
325
|
-
|
|
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
|
|
326
347
|
|
|
327
348
|
## 5.1.9
|
|
328
349
|
|
|
329
350
|
### Patch Changes
|
|
330
351
|
|
|
331
|
-
-
|
|
352
|
+
- Updated dependencies
|
|
332
353
|
|
|
333
354
|
## 5.1.8
|
|
334
355
|
|
|
335
356
|
### Patch Changes
|
|
336
357
|
|
|
337
|
-
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
-
|
|
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
|
|
342
363
|
|
|
343
364
|
## 5.1.7
|
|
344
365
|
|
|
345
366
|
### Patch Changes
|
|
346
367
|
|
|
347
|
-
-
|
|
368
|
+
- Updated dependencies
|
|
348
369
|
|
|
349
370
|
## 5.1.6
|
|
350
371
|
|
|
351
372
|
### Patch Changes
|
|
352
373
|
|
|
353
|
-
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
-
|
|
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
|
|
358
379
|
|
|
359
380
|
## 5.1.5
|
|
360
381
|
|
|
361
382
|
### Patch Changes
|
|
362
383
|
|
|
363
|
-
-
|
|
384
|
+
- Updated dependencies
|
|
364
385
|
|
|
365
386
|
## 5.1.4
|
|
366
387
|
|
|
367
388
|
### Patch Changes
|
|
368
389
|
|
|
369
|
-
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
-
|
|
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
|
|
374
395
|
|
|
375
396
|
## 5.1.3
|
|
376
397
|
|
|
377
398
|
### Patch Changes
|
|
378
399
|
|
|
379
|
-
-
|
|
400
|
+
- Updated dependencies
|
|
380
401
|
|
|
381
402
|
## 5.1.2
|
|
382
403
|
|
|
383
404
|
### Patch Changes
|
|
384
405
|
|
|
385
|
-
-
|
|
406
|
+
- Updated dependencies
|
|
386
407
|
|
|
387
408
|
## 5.1.1
|
|
388
409
|
|
|
389
410
|
### Patch Changes
|
|
390
411
|
|
|
391
|
-
-
|
|
412
|
+
- Updated dependencies
|
|
392
413
|
|
|
393
414
|
## 5.1.0
|
|
394
415
|
|
|
395
416
|
### Minor Changes
|
|
396
417
|
|
|
397
|
-
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
-
|
|
401
|
-
|
|
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`.
|
|
402
423
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
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.
|
|
406
427
|
|
|
407
428
|
### Patch Changes
|
|
408
429
|
|
|
409
|
-
-
|
|
410
|
-
|
|
411
|
-
-
|
|
412
|
-
|
|
413
|
-
-
|
|
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
|
|
414
435
|
|
|
415
436
|
## 5.0.5
|
|
416
437
|
|
|
417
438
|
### Patch Changes
|
|
418
439
|
|
|
419
|
-
-
|
|
420
|
-
|
|
421
|
-
|
|
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`.
|
|
422
443
|
|
|
423
444
|
## 5.0.4
|
|
424
445
|
|
|
425
446
|
### Patch Changes
|
|
426
447
|
|
|
427
|
-
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
-
|
|
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
|
|
431
452
|
|
|
432
453
|
## 5.0.3
|
|
433
454
|
|
|
434
455
|
### Patch Changes
|
|
435
456
|
|
|
436
|
-
-
|
|
437
|
-
|
|
438
|
-
|
|
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
|
|
439
460
|
|
|
440
461
|
## 5.0.2
|
|
441
462
|
|
|
442
463
|
### Patch Changes
|
|
443
464
|
|
|
444
|
-
-
|
|
445
|
-
|
|
446
|
-
|
|
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`
|
|
447
468
|
|
|
448
469
|
## 5.0.1
|
|
449
470
|
|
|
450
471
|
### Patch Changes
|
|
451
472
|
|
|
452
|
-
-
|
|
453
|
-
|
|
454
|
-
|
|
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.
|
|
455
476
|
|
|
456
477
|
## 5.0.0
|
|
457
478
|
|
|
458
479
|
### Major Changes
|
|
459
480
|
|
|
460
|
-
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
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
|
-
|
|
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
|
+
```
|
|
565
586
|
|
|
566
587
|
## 4.0.10
|
|
567
588
|
|
|
568
589
|
### Patch Changes
|
|
569
590
|
|
|
570
|
-
-
|
|
571
|
-
|
|
572
|
-
|
|
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
|
|
573
594
|
|
|
574
595
|
## 4.0.9
|
|
575
596
|
|
|
576
597
|
### Patch Changes
|
|
577
598
|
|
|
578
|
-
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
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.
|
|
584
605
|
|
|
585
606
|
## 4.0.8
|
|
586
607
|
|
|
587
608
|
### Patch Changes
|
|
588
609
|
|
|
589
|
-
-
|
|
610
|
+
- Updated dependencies
|
|
590
611
|
|
|
591
612
|
## 4.0.7
|
|
592
613
|
|
|
593
614
|
### Patch Changes
|
|
594
615
|
|
|
595
|
-
-
|
|
596
|
-
|
|
597
|
-
|
|
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
|
|
598
619
|
|
|
599
620
|
## 4.0.6
|
|
600
621
|
|
|
601
622
|
### Patch Changes
|
|
602
623
|
|
|
603
|
-
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
-
|
|
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
|
|
607
628
|
|
|
608
629
|
## 4.0.5
|
|
609
630
|
|
|
610
631
|
### Patch Changes
|
|
611
632
|
|
|
612
|
-
-
|
|
613
|
-
|
|
614
|
-
|
|
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
|
|
615
636
|
|
|
616
637
|
## 4.0.4
|
|
617
638
|
|
|
618
639
|
### Patch Changes
|
|
619
640
|
|
|
620
|
-
-
|
|
621
|
-
|
|
622
|
-
|
|
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
|
|
623
644
|
|
|
624
|
-
|
|
625
|
-
|
|
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.
|
|
626
647
|
|
|
627
648
|
## 4.0.3
|
|
628
649
|
|
|
629
650
|
### Patch Changes
|
|
630
651
|
|
|
631
|
-
-
|
|
632
|
-
|
|
633
|
-
|
|
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
|
|
634
655
|
|
|
635
656
|
## 4.0.2
|
|
636
657
|
|
|
637
658
|
### Patch Changes
|
|
638
659
|
|
|
639
|
-
-
|
|
640
|
-
|
|
641
|
-
|
|
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
|
|
642
663
|
|
|
643
664
|
## 4.0.1
|
|
644
665
|
|
|
645
666
|
### Patch Changes
|
|
646
667
|
|
|
647
|
-
-
|
|
648
|
-
|
|
649
|
-
|
|
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.
|
|
650
671
|
|
|
651
672
|
## 4.0.0
|
|
652
673
|
|
|
653
674
|
### Major Changes
|
|
654
675
|
|
|
655
|
-
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
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
|
|
660
681
|
|
|
661
682
|
### Patch Changes
|
|
662
683
|
|
|
663
|
-
-
|
|
684
|
+
- Updated dependencies
|
|
664
685
|
|
|
665
686
|
## 3.1.13
|
|
666
687
|
|
|
667
688
|
### Patch Changes
|
|
668
689
|
|
|
669
|
-
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
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.
|
|
673
694
|
|
|
674
695
|
## 3.1.12
|
|
675
696
|
|
|
676
697
|
### Patch Changes
|
|
677
698
|
|
|
678
|
-
-
|
|
679
|
-
|
|
680
|
-
|
|
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
|
|
681
702
|
|
|
682
703
|
## 3.1.11
|
|
683
704
|
|
|
684
705
|
### Patch Changes
|
|
685
706
|
|
|
686
|
-
-
|
|
707
|
+
- Updated dependencies
|
|
687
708
|
|
|
688
709
|
## 3.1.10
|
|
689
710
|
|
|
690
711
|
### Patch Changes
|
|
691
712
|
|
|
692
|
-
-
|
|
693
|
-
|
|
694
|
-
|
|
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
|
|
695
716
|
|
|
696
717
|
## 3.1.9
|
|
697
718
|
|
|
698
719
|
### Patch Changes
|
|
699
720
|
|
|
700
|
-
-
|
|
701
|
-
|
|
702
|
-
-
|
|
703
|
-
|
|
704
|
-
-
|
|
705
|
-
|
|
706
|
-
-
|
|
707
|
-
|
|
708
|
-
-
|
|
709
|
-
|
|
710
|
-
-
|
|
711
|
-
|
|
712
|
-
-
|
|
713
|
-
|
|
714
|
-
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
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
|
|
722
743
|
|
|
723
744
|
## 3.1.8
|
|
724
745
|
|
|
725
746
|
### Patch Changes
|
|
726
747
|
|
|
727
|
-
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
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
|
|
733
754
|
|
|
734
755
|
## 3.1.7
|
|
735
756
|
|
|
736
757
|
### Patch Changes
|
|
737
758
|
|
|
738
|
-
-
|
|
759
|
+
- [patch][91a1eb05db](https://bitbucket.org/atlassian/atlassian-frontend/commits/91a1eb05db):
|
|
739
760
|
|
|
740
|
-
|
|
741
|
-
|
|
761
|
+
Textfield now exports its props as TextFieldProps- Updated dependencies
|
|
762
|
+
[eaad41d56c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eaad41d56c):
|
|
742
763
|
|
|
743
|
-
-
|
|
744
|
-
|
|
745
|
-
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
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
|
|
749
770
|
|
|
750
771
|
## 3.1.6
|
|
751
772
|
|
|
752
773
|
### Patch Changes
|
|
753
774
|
|
|
754
|
-
-
|
|
775
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
755
776
|
|
|
756
|
-
|
|
757
|
-
|
|
777
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
778
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
758
779
|
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
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
|
|
767
788
|
|
|
768
789
|
## 3.1.5
|
|
769
790
|
|
|
770
791
|
### Patch Changes
|
|
771
792
|
|
|
772
|
-
-
|
|
773
|
-
|
|
774
|
-
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
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
|
|
781
802
|
|
|
782
803
|
## 3.1.4
|
|
783
804
|
|
|
784
805
|
### Patch Changes
|
|
785
806
|
|
|
786
|
-
-
|
|
807
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
787
808
|
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
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):
|
|
791
812
|
|
|
792
|
-
|
|
793
|
-
|
|
813
|
+
Added name prop to component prop types.- Updated dependencies
|
|
814
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
794
815
|
|
|
795
|
-
-
|
|
796
|
-
|
|
797
|
-
-
|
|
798
|
-
|
|
799
|
-
-
|
|
800
|
-
|
|
801
|
-
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
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
|
|
806
827
|
|
|
807
828
|
## 3.1.3
|
|
808
829
|
|
|
809
830
|
### Patch Changes
|
|
810
831
|
|
|
811
|
-
-
|
|
832
|
+
- [patch][557a8e2451](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a8e2451):
|
|
812
833
|
|
|
813
|
-
|
|
834
|
+
Rebuilds package to fix typescript typing error.
|
|
814
835
|
|
|
815
836
|
## 3.1.2
|
|
816
837
|
|
|
817
838
|
### Patch Changes
|
|
818
839
|
|
|
819
|
-
-
|
|
840
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
820
841
|
|
|
821
|
-
|
|
842
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
822
843
|
|
|
823
844
|
## 3.1.1
|
|
824
845
|
|
|
825
846
|
### Patch Changes
|
|
826
847
|
|
|
827
|
-
-
|
|
848
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
828
849
|
|
|
829
|
-
|
|
850
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
830
851
|
|
|
831
852
|
## 3.1.0
|
|
832
853
|
|
|
833
854
|
### Minor Changes
|
|
834
855
|
|
|
835
|
-
-
|
|
856
|
+
- [minor][9638c553c0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9638c553c0):
|
|
836
857
|
|
|
837
|
-
|
|
838
|
-
|
|
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.
|
|
839
860
|
|
|
840
861
|
## 3.0.7
|
|
841
862
|
|
|
842
863
|
### Patch Changes
|
|
843
864
|
|
|
844
|
-
-
|
|
865
|
+
- [patch][d5def52d98](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d5def52d98):
|
|
845
866
|
|
|
846
|
-
|
|
867
|
+
Refactored textfield styles to better support border-box being set globally.
|
|
847
868
|
|
|
848
869
|
## 3.0.6
|
|
849
870
|
|
|
850
|
-
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
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
|
|
854
875
|
|
|
855
876
|
## 3.0.5
|
|
856
877
|
|
|
857
878
|
### Patch Changes
|
|
858
879
|
|
|
859
|
-
-
|
|
880
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
860
881
|
|
|
861
|
-
|
|
862
|
-
|
|
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
|
|
863
884
|
|
|
864
885
|
## 3.0.4
|
|
865
886
|
|
|
866
887
|
### Patch Changes
|
|
867
888
|
|
|
868
|
-
-
|
|
889
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
869
890
|
|
|
870
|
-
|
|
891
|
+
Upgraded Typescript to 3.3.x
|
|
871
892
|
|
|
872
893
|
## 3.0.3
|
|
873
894
|
|
|
874
895
|
### Patch Changes
|
|
875
896
|
|
|
876
|
-
-
|
|
897
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
877
898
|
|
|
878
|
-
|
|
899
|
+
Change all the imports to theme in Core to use multi entry points
|
|
879
900
|
|
|
880
901
|
## 3.0.2
|
|
881
902
|
|
|
882
903
|
### Patch Changes
|
|
883
904
|
|
|
884
|
-
-
|
|
905
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
885
906
|
|
|
886
|
-
|
|
907
|
+
Updates component maintainers
|
|
887
908
|
|
|
888
909
|
## 3.0.1
|
|
889
910
|
|
|
890
|
-
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
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
|
|
895
916
|
|
|
896
917
|
## 3.0.0
|
|
897
918
|
|
|
898
919
|
### Major Changes
|
|
899
920
|
|
|
900
|
-
-
|
|
921
|
+
- [major][84887b940c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/84887b940c):
|
|
901
922
|
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
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
|
|
905
926
|
|
|
906
927
|
## 2.0.5
|
|
907
928
|
|
|
908
929
|
### Patch Changes
|
|
909
930
|
|
|
910
|
-
-
|
|
931
|
+
- [patch][2fe6e8fbdf](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2fe6e8fbdf):
|
|
911
932
|
|
|
912
|
-
|
|
933
|
+
Removed unused dependencies from package.json for textfield: @emotion/core was unused.
|
|
913
934
|
|
|
914
935
|
## 2.0.4
|
|
915
936
|
|
|
916
937
|
### Patch Changes
|
|
917
938
|
|
|
918
|
-
-
|
|
939
|
+
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
|
|
919
940
|
|
|
920
|
-
|
|
941
|
+
Consume analytics-next ts type definitions as an ambient declaration.
|
|
921
942
|
|
|
922
943
|
## 2.0.3
|
|
923
944
|
|
|
924
|
-
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
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
|
|
931
952
|
|
|
932
953
|
## 2.0.2
|
|
933
954
|
|
|
934
955
|
### Patch Changes
|
|
935
956
|
|
|
936
|
-
-
|
|
957
|
+
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
|
|
937
958
|
|
|
938
|
-
|
|
959
|
+
index.ts will now be ignored when publishing to npm
|
|
939
960
|
|
|
940
961
|
## 2.0.1
|
|
941
962
|
|
|
942
|
-
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
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
|
|
949
970
|
|
|
950
971
|
## 2.0.0
|
|
951
972
|
|
|
952
|
-
-
|
|
973
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
953
974
|
|
|
954
|
-
|
|
955
|
-
|
|
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.
|
|
956
977
|
|
|
957
978
|
## 1.0.0
|
|
958
979
|
|
|
959
|
-
-
|
|
980
|
+
- [major][6cdf11238d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6cdf11238d):
|
|
960
981
|
|
|
961
|
-
|
|
962
|
-
|
|
982
|
+
- This major release indicates that this package is no longer under dev preview but is ready for
|
|
983
|
+
use
|
|
963
984
|
|
|
964
985
|
## 0.4.5
|
|
965
986
|
|
|
966
|
-
-
|
|
987
|
+
- [patch][7157a95389](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7157a95389):
|
|
967
988
|
|
|
968
|
-
|
|
989
|
+
- Internal changes only. Textfield is compatible with SSR.
|
|
969
990
|
|
|
970
991
|
## 0.4.4
|
|
971
992
|
|
|
972
|
-
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
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
|
|
980
1001
|
|
|
981
1002
|
## 0.4.3
|
|
982
1003
|
|
|
983
|
-
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
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
|
|
992
1013
|
|
|
993
1014
|
## 0.4.2
|
|
994
1015
|
|
|
995
|
-
-
|
|
1016
|
+
- [patch][a28eb04426](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a28eb04426):
|
|
996
1017
|
|
|
997
|
-
|
|
1018
|
+
- Migrates package from emotion 9 to emotion 10. No behaviour or API changes.
|
|
998
1019
|
|
|
999
1020
|
## 0.4.1
|
|
1000
1021
|
|
|
1001
|
-
-
|
|
1022
|
+
- [patch][e0797c2937](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e0797c2937):
|
|
1002
1023
|
|
|
1003
|
-
|
|
1024
|
+
- Support object refs e.g. React.createRef()
|
|
1004
1025
|
|
|
1005
1026
|
## 0.4.0
|
|
1006
1027
|
|
|
1007
|
-
-
|
|
1028
|
+
- [minor][8eff47cacb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8eff47cacb):
|
|
1008
1029
|
|
|
1009
|
-
|
|
1030
|
+
- Allow element before and/or after input
|
|
1010
1031
|
|
|
1011
1032
|
## 0.3.1
|
|
1012
1033
|
|
|
1013
|
-
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
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
|
|
1020
1041
|
|
|
1021
1042
|
## 0.3.0
|
|
1022
1043
|
|
|
1023
|
-
-
|
|
1044
|
+
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1024
1045
|
|
|
1025
|
-
|
|
1046
|
+
- Drop ES5 from all the flow modules
|
|
1026
1047
|
|
|
1027
|
-
|
|
1048
|
+
### Dropping CJS support in all @atlaskit packages
|
|
1028
1049
|
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
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.
|
|
1032
1053
|
|
|
1033
|
-
|
|
1034
|
-
e.g:
|
|
1054
|
+
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
|
|
1035
1055
|
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1056
|
+
```js
|
|
1057
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1058
|
+
```
|
|
1039
1059
|
|
|
1040
|
-
|
|
1060
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
1041
1061
|
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1062
|
+
```js
|
|
1063
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1064
|
+
```
|
|
1045
1065
|
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
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.
|
|
1051
1071
|
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
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.
|
|
1055
1075
|
|
|
1056
|
-
|
|
1057
|
-
|
|
1076
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1077
|
+
environments.
|
|
1058
1078
|
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
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.
|
|
1062
1082
|
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
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.
|
|
1066
1086
|
|
|
1067
1087
|
## 0.2.0
|
|
1068
1088
|
|
|
1069
|
-
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
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
|
-
|
|
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
|
+
```
|
|
1103
1123
|
|
|
1104
1124
|
## 0.1.6
|
|
1105
1125
|
|
|
1106
|
-
-
|
|
1126
|
+
- [patch][3d8322bd71](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3d8322bd71):
|
|
1107
1127
|
|
|
1108
|
-
|
|
1128
|
+
- Trival refactor: update a variable name
|
|
1109
1129
|
|
|
1110
1130
|
## 0.1.5
|
|
1111
1131
|
|
|
1112
|
-
-
|
|
1132
|
+
- [patch][2e5dd50](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2e5dd50):
|
|
1113
1133
|
|
|
1114
|
-
|
|
1134
|
+
- Update validation example to be compatible with the new Forms API
|
|
1115
1135
|
|
|
1116
|
-
-
|
|
1117
|
-
|
|
1136
|
+
- Updated dependencies [647a46f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/647a46f):
|
|
1137
|
+
- @atlaskit/form@5.0.0
|
|
1118
1138
|
|
|
1119
1139
|
## 0.1.4
|
|
1120
1140
|
|
|
1121
|
-
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
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
|
|
1127
1147
|
|
|
1128
1148
|
## 0.1.3
|
|
1129
1149
|
|
|
1130
|
-
-
|
|
1150
|
+
- [patch][63f969d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/63f969d):
|
|
1131
1151
|
|
|
1132
|
-
|
|
1152
|
+
- Fixed height of compact textfields to correctly be 32px instead of 28px
|
|
1133
1153
|
|
|
1134
1154
|
## 0.1.2
|
|
1135
1155
|
|
|
1136
|
-
-
|
|
1156
|
+
- [patch][480a57c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/480a57c):
|
|
1137
1157
|
|
|
1138
|
-
|
|
1158
|
+
- Convert to use new theme API.
|
|
1139
1159
|
|
|
1140
1160
|
## 0.1.1
|
|
1141
1161
|
|
|
1142
|
-
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
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
|
|
1148
1168
|
|
|
1149
1169
|
## 0.1.0
|
|
1150
1170
|
|
|
1151
|
-
-
|
|
1171
|
+
- [minor][62109bd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/62109bd):
|
|
1152
1172
|
|
|
1153
|
-
|
|
1154
|
-
|
|
1173
|
+
- Refactor of field-text to remove field-base and normalise along api patterns established in
|
|
1174
|
+
other form components.
|