@panneau/field-text 3.0.292 → 3.0.293
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/es/index.js +8 -0
- package/package.json +4 -4
package/es/index.js
CHANGED
|
@@ -35,6 +35,8 @@ var propTypes$5 = {
|
|
|
35
35
|
disabled: PropTypes.bool,
|
|
36
36
|
readOnly: PropTypes.bool,
|
|
37
37
|
nativeOnChange: PropTypes.bool,
|
|
38
|
+
pattern: PropTypes.string,
|
|
39
|
+
title: PropTypes.string,
|
|
38
40
|
type: PropTypes.oneOf(['text', 'email', 'tel', 'password', 'textarea', 'number']),
|
|
39
41
|
placeholder: PropTypes.string,
|
|
40
42
|
onChange: PropTypes.func,
|
|
@@ -62,6 +64,8 @@ var defaultProps$5 = {
|
|
|
62
64
|
disabled: false,
|
|
63
65
|
readOnly: false,
|
|
64
66
|
nativeOnChange: false,
|
|
67
|
+
pattern: null,
|
|
68
|
+
title: null,
|
|
65
69
|
type: null,
|
|
66
70
|
placeholder: null,
|
|
67
71
|
onChange: null,
|
|
@@ -87,6 +91,8 @@ var InputField = function InputField(_ref) {
|
|
|
87
91
|
disabled = _ref.disabled,
|
|
88
92
|
readOnly = _ref.readOnly,
|
|
89
93
|
nativeOnChange = _ref.nativeOnChange,
|
|
94
|
+
pattern = _ref.pattern,
|
|
95
|
+
title = _ref.title,
|
|
90
96
|
type = _ref.type,
|
|
91
97
|
placeholder = _ref.placeholder,
|
|
92
98
|
onChange = _ref.onChange,
|
|
@@ -124,6 +130,8 @@ var InputField = function InputField(_ref) {
|
|
|
124
130
|
disabled: disabled,
|
|
125
131
|
readOnly: readOnly,
|
|
126
132
|
list: dataListId,
|
|
133
|
+
pattern: pattern,
|
|
134
|
+
title: title,
|
|
127
135
|
onChange: nativeOnChange ? onChange : function (_ref3) {
|
|
128
136
|
var _ref3$target$value = _ref3.target.value,
|
|
129
137
|
newValue = _ref3$target$value === void 0 ? '' : _ref3$target$value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/field-text",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.293",
|
|
4
4
|
"description": "A text field",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@babel/runtime": "^7.12.5",
|
|
62
62
|
"@panneau/core": "^3.0.292",
|
|
63
|
-
"@panneau/field-input-group": "^3.0.
|
|
64
|
-
"@panneau/themes": "^3.0.
|
|
63
|
+
"@panneau/field-input-group": "^3.0.293",
|
|
64
|
+
"@panneau/themes": "^3.0.293",
|
|
65
65
|
"classnames": "^2.5.1",
|
|
66
66
|
"lodash-es": "^4.17.21",
|
|
67
67
|
"prop-types": "^15.7.2",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "4aa471be4c4ae77f72137e14dfb891a803964f61"
|
|
74
74
|
}
|