@panneau/field-text 4.0.1 → 4.0.2

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 +1 -6
  2. package/package.json +5 -5
package/es/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import React, { useMemo } from 'react';
2
1
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
2
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
4
3
  import classNames from 'classnames';
5
4
  import isEmpty from 'lodash-es/isEmpty';
5
+ import { useMemo } from 'react';
6
6
  import { v1 } from 'uuid';
7
7
  import InputGroup from '@panneau/field-input-group';
8
8
 
@@ -128,35 +128,30 @@ function InputField(_ref) {
128
128
  }
129
129
  // React.forwardRef((props, ref) => <InputField inputRef={ref} {...props} />);
130
130
 
131
- /* eslint-disable react/jsx-props-no-spreading */
132
131
  function EmailField(props) {
133
132
  return /*#__PURE__*/React.createElement(InputField, Object.assign({}, props, {
134
133
  type: "email"
135
134
  }));
136
135
  }
137
136
 
138
- /* eslint-disable react/jsx-props-no-spreading */
139
137
  function PasswordField(props) {
140
138
  return /*#__PURE__*/React.createElement(InputField, Object.assign({}, props, {
141
139
  type: "password"
142
140
  }));
143
141
  }
144
142
 
145
- /* eslint-disable react/jsx-props-no-spreading */
146
143
  function TelephoneField(props) {
147
144
  return /*#__PURE__*/React.createElement(InputField, Object.assign({}, props, {
148
145
  type: "tel"
149
146
  }));
150
147
  }
151
148
 
152
- /* eslint-disable react/jsx-props-no-spreading */
153
149
  function TextareaField(props) {
154
150
  return /*#__PURE__*/React.createElement(InputField, Object.assign({}, props, {
155
151
  type: "textarea"
156
152
  }));
157
153
  }
158
154
 
159
- /* eslint-disable react/jsx-props-no-spreading */
160
155
  function TextField(props) {
161
156
  return /*#__PURE__*/React.createElement(InputField, Object.assign({}, props, {
162
157
  type: "text"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/field-text",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "A text field",
5
5
  "keywords": [
6
6
  "javascript"
@@ -59,9 +59,9 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@babel/runtime": "^7.12.5",
62
- "@panneau/core": "^4.0.1",
63
- "@panneau/field-input-group": "^4.0.1",
64
- "@panneau/themes": "^4.0.1",
62
+ "@panneau/core": "^4.0.2",
63
+ "@panneau/field-input-group": "^4.0.2",
64
+ "@panneau/themes": "^4.0.2",
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": "dbdf65640625c027ecd56cf2b816b80a5c38cb8d"
73
+ "gitHead": "53ad0f27e467992c23158732e0f7d39d8615780b"
74
74
  }