@atlaskit/textfield 8.0.12 → 8.0.14
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 +13 -17
- package/dist/types/text-field.d.ts +1 -1
- package/dist/types-ts4.5/text-field.d.ts +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/textfield
|
|
2
2
|
|
|
3
|
+
## 8.0.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 8.0.13
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`39e543109ec09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) -
|
|
14
|
+
add type info to forwardRef components
|
|
15
|
+
|
|
3
16
|
## 8.0.12
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -826,7 +839,6 @@
|
|
|
826
839
|
they can no longer be used with the removal of `theme`.
|
|
827
840
|
|
|
828
841
|
### Other changes
|
|
829
|
-
|
|
830
842
|
- Previously all interaction styles were generated in JavaScript using events, causing unnecessary
|
|
831
843
|
and slow re-renders for actions like hovering and focusing. Now all styles for the `TextField`
|
|
832
844
|
are applied using CSS selectors.
|
|
@@ -837,7 +849,6 @@
|
|
|
837
849
|
|
|
838
850
|
There is a codemod that assists you in upgrading most of the changes from above. However, a manual
|
|
839
851
|
step is still required to override styles via data attributes.
|
|
840
|
-
|
|
841
852
|
- Removes `theme` and `overrides` prop.
|
|
842
853
|
- Removes imports of `ThemeProps`, `ThemeTokens` and `Theme`.
|
|
843
854
|
|
|
@@ -1043,7 +1054,6 @@
|
|
|
1043
1054
|
|
|
1044
1055
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1045
1056
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1046
|
-
|
|
1047
1057
|
- @atlaskit/docs@8.3.2
|
|
1048
1058
|
- @atlaskit/visual-regression@0.1.9
|
|
1049
1059
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -1186,7 +1196,6 @@
|
|
|
1186
1196
|
### Major Changes
|
|
1187
1197
|
|
|
1188
1198
|
- [major][84887b940c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/84887b940c):
|
|
1189
|
-
|
|
1190
1199
|
- Converting from flow to typescript 🎉
|
|
1191
1200
|
- Correctly typing the current prop spreading onto the internal `<input>` element
|
|
1192
1201
|
- Removing `isHovered` and `isFocused` from public API as they previously did not do anything
|
|
@@ -1238,21 +1247,18 @@
|
|
|
1238
1247
|
## 2.0.0
|
|
1239
1248
|
|
|
1240
1249
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1241
|
-
|
|
1242
1250
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1243
1251
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1244
1252
|
|
|
1245
1253
|
## 1.0.0
|
|
1246
1254
|
|
|
1247
1255
|
- [major][6cdf11238d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6cdf11238d):
|
|
1248
|
-
|
|
1249
1256
|
- This major release indicates that this package is no longer under dev preview but is ready for
|
|
1250
1257
|
use
|
|
1251
1258
|
|
|
1252
1259
|
## 0.4.5
|
|
1253
1260
|
|
|
1254
1261
|
- [patch][7157a95389](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7157a95389):
|
|
1255
|
-
|
|
1256
1262
|
- Internal changes only. Textfield is compatible with SSR.
|
|
1257
1263
|
|
|
1258
1264
|
## 0.4.4
|
|
@@ -1281,19 +1287,16 @@
|
|
|
1281
1287
|
## 0.4.2
|
|
1282
1288
|
|
|
1283
1289
|
- [patch][a28eb04426](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a28eb04426):
|
|
1284
|
-
|
|
1285
1290
|
- Migrates package from emotion 9 to emotion 10. No behaviour or API changes.
|
|
1286
1291
|
|
|
1287
1292
|
## 0.4.1
|
|
1288
1293
|
|
|
1289
1294
|
- [patch][e0797c2937](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e0797c2937):
|
|
1290
|
-
|
|
1291
1295
|
- Support object refs e.g. React.createRef()
|
|
1292
1296
|
|
|
1293
1297
|
## 0.4.0
|
|
1294
1298
|
|
|
1295
1299
|
- [minor][8eff47cacb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8eff47cacb):
|
|
1296
|
-
|
|
1297
1300
|
- Allow element before and/or after input
|
|
1298
1301
|
|
|
1299
1302
|
## 0.3.1
|
|
@@ -1309,7 +1312,6 @@
|
|
|
1309
1312
|
## 0.3.0
|
|
1310
1313
|
|
|
1311
1314
|
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1312
|
-
|
|
1313
1315
|
- Drop ES5 from all the flow modules
|
|
1314
1316
|
|
|
1315
1317
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -1354,7 +1356,6 @@
|
|
|
1354
1356
|
## 0.2.0
|
|
1355
1357
|
|
|
1356
1358
|
- [minor][e9b824bf86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e9b824bf86):
|
|
1357
|
-
|
|
1358
1359
|
- **Breaking**: Changes to the `theme` prop. The type of this prop remains as
|
|
1359
1360
|
`(ThemeTokens, ThemeProps) => ThemeTokens`.
|
|
1360
1361
|
- The shape of `ThemeTokens` has changed. `container` and `input` keys are now required. The
|
|
@@ -1391,13 +1392,11 @@
|
|
|
1391
1392
|
## 0.1.6
|
|
1392
1393
|
|
|
1393
1394
|
- [patch][3d8322bd71](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3d8322bd71):
|
|
1394
|
-
|
|
1395
1395
|
- Trival refactor: update a variable name
|
|
1396
1396
|
|
|
1397
1397
|
## 0.1.5
|
|
1398
1398
|
|
|
1399
1399
|
- [patch][2e5dd50](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2e5dd50):
|
|
1400
|
-
|
|
1401
1400
|
- Update validation example to be compatible with the new Forms API
|
|
1402
1401
|
|
|
1403
1402
|
- Updated dependencies [647a46f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/647a46f):
|
|
@@ -1415,13 +1414,11 @@
|
|
|
1415
1414
|
## 0.1.3
|
|
1416
1415
|
|
|
1417
1416
|
- [patch][63f969d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/63f969d):
|
|
1418
|
-
|
|
1419
1417
|
- Fixed height of compact textfields to correctly be 32px instead of 28px
|
|
1420
1418
|
|
|
1421
1419
|
## 0.1.2
|
|
1422
1420
|
|
|
1423
1421
|
- [patch][480a57c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/480a57c):
|
|
1424
|
-
|
|
1425
1422
|
- Convert to use new theme API.
|
|
1426
1423
|
|
|
1427
1424
|
## 0.1.1
|
|
@@ -1436,6 +1433,5 @@
|
|
|
1436
1433
|
## 0.1.0
|
|
1437
1434
|
|
|
1438
1435
|
- [minor][62109bd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/62109bd):
|
|
1439
|
-
|
|
1440
1436
|
- Refactor of field-text to remove field-base and normalise along api patterns established in
|
|
1441
1437
|
other form components.
|
|
@@ -13,5 +13,5 @@ import { type TextfieldProps } from './types';
|
|
|
13
13
|
* - [Code](https://atlassian.design/components/textfield/code)
|
|
14
14
|
* - [Usage](https://atlassian.design/components/textfield/usage)
|
|
15
15
|
*/
|
|
16
|
-
declare const Textfield: React.ForwardRefExoticComponent<TextfieldProps & React.RefAttributes<unknown>>;
|
|
16
|
+
declare const Textfield: React.ForwardRefExoticComponent<React.PropsWithoutRef<TextfieldProps> & React.RefAttributes<unknown>>;
|
|
17
17
|
export default Textfield;
|
|
@@ -13,5 +13,5 @@ import { type TextfieldProps } from './types';
|
|
|
13
13
|
* - [Code](https://atlassian.design/components/textfield/code)
|
|
14
14
|
* - [Usage](https://atlassian.design/components/textfield/usage)
|
|
15
15
|
*/
|
|
16
|
-
declare const Textfield: React.ForwardRefExoticComponent<TextfieldProps & React.RefAttributes<unknown>>;
|
|
16
|
+
declare const Textfield: React.ForwardRefExoticComponent<React.PropsWithoutRef<TextfieldProps> & React.RefAttributes<unknown>>;
|
|
17
17
|
export default Textfield;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/textfield",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.14",
|
|
4
4
|
"description": "A text field is an input that allows a user to write or edit text.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
28
28
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
29
29
|
"@atlaskit/theme": "^21.0.0",
|
|
30
|
-
"@atlaskit/tokens": "^
|
|
30
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
31
31
|
"@babel/runtime": "^7.0.0",
|
|
32
|
-
"@compiled/react": "^0.18.
|
|
32
|
+
"@compiled/react": "^0.18.6"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": "^18.2.0"
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"@af/accessibility-testing": "workspace:^",
|
|
39
39
|
"@af/integration-testing": "workspace:^",
|
|
40
40
|
"@af/visual-regression": "workspace:^",
|
|
41
|
-
"@atlaskit/avatar": "^25.
|
|
42
|
-
"@atlaskit/button": "^23.
|
|
43
|
-
"@atlaskit/docs": "^11.
|
|
41
|
+
"@atlaskit/avatar": "^25.4.0",
|
|
42
|
+
"@atlaskit/button": "^23.5.0",
|
|
43
|
+
"@atlaskit/docs": "^11.2.0",
|
|
44
44
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
45
45
|
"@atlaskit/form": "^14.2.0",
|
|
46
|
-
"@atlaskit/icon": "^28.
|
|
46
|
+
"@atlaskit/icon": "^28.5.0",
|
|
47
47
|
"@atlaskit/link": "^3.2.0",
|
|
48
|
-
"@atlaskit/primitives": "^
|
|
48
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
49
49
|
"@atlaskit/section-message": "^8.7.0",
|
|
50
50
|
"@atlaskit/ssr": "workspace:^",
|
|
51
51
|
"@atlassian/ssr-tests": "^0.3.0",
|