@commercetools-uikit/text-input 19.0.0 → 19.2.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/README.md
CHANGED
|
@@ -54,6 +54,7 @@ export default Example;
|
|
|
54
54
|
| `onBlur` | `FocusEventHandler` | | | Called when input is blurred |
|
|
55
55
|
| `onFocus` | `FocusEventHandler` | | | Called when input is focused |
|
|
56
56
|
| `isAutofocussed` | `boolean` | | | Focus the input on initial render |
|
|
57
|
+
| `isCondensed` | `boolean` | | | Use this property to reduce the paddings of the component for a ui compact variant |
|
|
57
58
|
| `isDisabled` | `boolean` | | | Indicates that the input cannot be modified (e.g not authorized, or changes currently saving). |
|
|
58
59
|
| `isReadOnly` | `boolean` | | | Indicates that the field is displaying read-only content |
|
|
59
60
|
| `hasError` | `boolean` | | | Indicates if the input has invalid values |
|
|
@@ -83,6 +83,7 @@ TextInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
83
83
|
onBlur: _pt__default["default"].func,
|
|
84
84
|
onFocus: _pt__default["default"].func,
|
|
85
85
|
isAutofocussed: _pt__default["default"].bool,
|
|
86
|
+
isCondensed: _pt__default["default"].bool,
|
|
86
87
|
isDisabled: _pt__default["default"].bool,
|
|
87
88
|
isReadOnly: _pt__default["default"].bool,
|
|
88
89
|
hasError: _pt__default["default"].bool,
|
|
@@ -96,7 +97,7 @@ TextInput.isEmpty = value => !value || _trimInstanceProperty__default["default"]
|
|
|
96
97
|
var TextInput$1 = TextInput;
|
|
97
98
|
|
|
98
99
|
// NOTE: This string will be replaced on build time with the package version.
|
|
99
|
-
var version = "19.
|
|
100
|
+
var version = "19.2.0";
|
|
100
101
|
|
|
101
102
|
exports["default"] = TextInput$1;
|
|
102
103
|
exports.version = version;
|
|
@@ -75,7 +75,7 @@ TextInput.isEmpty = value => !value || _trimInstanceProperty__default["default"]
|
|
|
75
75
|
var TextInput$1 = TextInput;
|
|
76
76
|
|
|
77
77
|
// NOTE: This string will be replaced on build time with the package version.
|
|
78
|
-
var version = "19.
|
|
78
|
+
var version = "19.2.0";
|
|
79
79
|
|
|
80
80
|
exports["default"] = TextInput$1;
|
|
81
81
|
exports.version = version;
|
|
@@ -65,6 +65,7 @@ TextInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
65
65
|
onBlur: _pt.func,
|
|
66
66
|
onFocus: _pt.func,
|
|
67
67
|
isAutofocussed: _pt.bool,
|
|
68
|
+
isCondensed: _pt.bool,
|
|
68
69
|
isDisabled: _pt.bool,
|
|
69
70
|
isReadOnly: _pt.bool,
|
|
70
71
|
hasError: _pt.bool,
|
|
@@ -78,6 +79,6 @@ TextInput.isEmpty = value => !value || _trimInstanceProperty(value).call(value).
|
|
|
78
79
|
var TextInput$1 = TextInput;
|
|
79
80
|
|
|
80
81
|
// NOTE: This string will be replaced on build time with the package version.
|
|
81
|
-
var version = "19.
|
|
82
|
+
var version = "19.2.0";
|
|
82
83
|
|
|
83
84
|
export { TextInput$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/text-input",
|
|
3
3
|
"description": "A controlled text input component for single-line strings with validation states.",
|
|
4
|
-
"version": "19.
|
|
4
|
+
"version": "19.2.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/constraints": "19.
|
|
25
|
-
"@commercetools-uikit/design-system": "19.
|
|
26
|
-
"@commercetools-uikit/input-utils": "19.
|
|
27
|
-
"@commercetools-uikit/utils": "19.
|
|
24
|
+
"@commercetools-uikit/constraints": "19.2.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "19.2.0",
|
|
26
|
+
"@commercetools-uikit/input-utils": "19.2.0",
|
|
27
|
+
"@commercetools-uikit/utils": "19.2.0",
|
|
28
28
|
"@emotion/react": "^11.10.5",
|
|
29
29
|
"@emotion/styled": "^11.10.5",
|
|
30
30
|
"prop-types": "15.8.1"
|