@panneau/field-text 3.0.292 → 3.0.295

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.
Files changed (2) hide show
  1. package/es/index.js +8 -0
  2. package/package.json +9 -9
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.292",
3
+ "version": "3.0.295",
4
4
  "description": "A text field",
5
5
  "keywords": [
6
6
  "javascript"
@@ -50,18 +50,18 @@
50
50
  "build": "../../scripts/prepare-package.sh"
51
51
  },
52
52
  "devDependencies": {
53
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
54
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
53
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
54
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
55
55
  },
56
56
  "peerDependencies": {
57
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
58
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
57
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
58
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
59
59
  },
60
60
  "dependencies": {
61
61
  "@babel/runtime": "^7.12.5",
62
- "@panneau/core": "^3.0.292",
63
- "@panneau/field-input-group": "^3.0.292",
64
- "@panneau/themes": "^3.0.292",
62
+ "@panneau/core": "^3.0.295",
63
+ "@panneau/field-input-group": "^3.0.295",
64
+ "@panneau/themes": "^3.0.295",
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": "b834b1f268c5696c66278472aa2d1644edad6a55"
73
+ "gitHead": "f24b1d1db695249b3d91abccf1c0d91b8c1cea8e"
74
74
  }