@atlaskit/textfield 5.6.4 → 5.6.5
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/textfield
|
|
2
2
|
|
|
3
|
+
## 5.6.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3c114ea4257`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c114ea4257) - Update type definitions to conform to inherited changes from `@types/react@16.14.15`.
|
|
8
|
+
|
|
3
9
|
## 5.6.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/cjs/text-field.js
CHANGED
|
@@ -24,7 +24,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
24
24
|
var analyticsParams = {
|
|
25
25
|
componentName: 'textField',
|
|
26
26
|
packageName: "@atlaskit/textfield",
|
|
27
|
-
packageVersion: "5.6.
|
|
27
|
+
packageVersion: "5.6.5"
|
|
28
28
|
};
|
|
29
29
|
var Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
30
30
|
var _props$appearance = props.appearance,
|
|
@@ -83,10 +83,6 @@ var Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
83
83
|
return;
|
|
84
84
|
}
|
|
85
85
|
if ((0, _typeof2.default)(ref) === 'object') {
|
|
86
|
-
// This is a blunder on the part of @types/react
|
|
87
|
-
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/31065
|
|
88
|
-
// .current should be assignable
|
|
89
|
-
// @ts-expect-error
|
|
90
86
|
ref.current = inputElement;
|
|
91
87
|
}
|
|
92
88
|
if (typeof ref === 'function') {
|
|
@@ -8,7 +8,7 @@ import { containerStyles as getContainerStyles, inputStyles as getInputStyles }
|
|
|
8
8
|
const analyticsParams = {
|
|
9
9
|
componentName: 'textField',
|
|
10
10
|
packageName: "@atlaskit/textfield",
|
|
11
|
-
packageVersion: "5.6.
|
|
11
|
+
packageVersion: "5.6.5"
|
|
12
12
|
};
|
|
13
13
|
const Textfield = /*#__PURE__*/forwardRef((props, ref) => {
|
|
14
14
|
const {
|
|
@@ -65,10 +65,6 @@ const Textfield = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
67
|
if (typeof ref === 'object') {
|
|
68
|
-
// This is a blunder on the part of @types/react
|
|
69
|
-
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/31065
|
|
70
|
-
// .current should be assignable
|
|
71
|
-
// @ts-expect-error
|
|
72
68
|
ref.current = inputElement;
|
|
73
69
|
}
|
|
74
70
|
if (typeof ref === 'function') {
|
package/dist/esm/text-field.js
CHANGED
|
@@ -14,7 +14,7 @@ import { containerStyles as getContainerStyles, inputStyles as getInputStyles }
|
|
|
14
14
|
var analyticsParams = {
|
|
15
15
|
componentName: 'textField',
|
|
16
16
|
packageName: "@atlaskit/textfield",
|
|
17
|
-
packageVersion: "5.6.
|
|
17
|
+
packageVersion: "5.6.5"
|
|
18
18
|
};
|
|
19
19
|
var Textfield = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
20
20
|
var _props$appearance = props.appearance,
|
|
@@ -73,10 +73,6 @@ var Textfield = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
73
73
|
return;
|
|
74
74
|
}
|
|
75
75
|
if (_typeof(ref) === 'object') {
|
|
76
|
-
// This is a blunder on the part of @types/react
|
|
77
|
-
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/31065
|
|
78
|
-
// .current should be assignable
|
|
79
|
-
// @ts-expect-error
|
|
80
76
|
ref.current = inputElement;
|
|
81
77
|
}
|
|
82
78
|
if (typeof ref === 'function') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/textfield",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.5",
|
|
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/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
30
30
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
31
31
|
"@atlaskit/theme": "^12.5.0",
|
|
32
|
-
"@atlaskit/tokens": "^1.
|
|
32
|
+
"@atlaskit/tokens": "^1.15.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
|
34
34
|
"@emotion/react": "^11.7.1"
|
|
35
35
|
},
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED