@panneau/field-text 3.0.162 → 3.0.165
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 +2 -6
- package/lib/index.js +2 -6
- package/package.json +5 -5
package/es/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
4
|
-
import InputGroup from '@panneau/field-input-group';
|
|
5
4
|
import classNames from 'classnames';
|
|
6
5
|
import isEmpty from 'lodash/isEmpty';
|
|
7
6
|
import PropTypes from 'prop-types';
|
|
8
7
|
import { v1 } from 'uuid';
|
|
8
|
+
import InputGroup from '@panneau/field-input-group';
|
|
9
9
|
|
|
10
10
|
var definition = [{
|
|
11
11
|
id: 'text',
|
|
@@ -144,11 +144,7 @@ var InputField = function InputField(_ref) {
|
|
|
144
144
|
};
|
|
145
145
|
InputField.propTypes = propTypes$5;
|
|
146
146
|
InputField.defaultProps = defaultProps$5;
|
|
147
|
-
var InputField$1 =
|
|
148
|
-
return /*#__PURE__*/React.createElement(InputField, Object.assign({
|
|
149
|
-
inputRef: ref
|
|
150
|
-
}, props));
|
|
151
|
-
});
|
|
147
|
+
var InputField$1 = InputField; // React.forwardRef((props, ref) => <InputField inputRef={ref} {...props} />);
|
|
152
148
|
|
|
153
149
|
/* eslint-disable react/jsx-props-no-spreading */
|
|
154
150
|
var propTypes$4 = {};
|
package/lib/index.js
CHANGED
|
@@ -5,11 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
7
7
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
8
|
-
var InputGroup = require('@panneau/field-input-group');
|
|
9
8
|
var classNames = require('classnames');
|
|
10
9
|
var isEmpty = require('lodash/isEmpty');
|
|
11
10
|
var PropTypes = require('prop-types');
|
|
12
11
|
var uuid = require('uuid');
|
|
12
|
+
var InputGroup = require('@panneau/field-input-group');
|
|
13
13
|
|
|
14
14
|
var definition = [{
|
|
15
15
|
id: 'text',
|
|
@@ -148,11 +148,7 @@ var InputField = function InputField(_ref) {
|
|
|
148
148
|
};
|
|
149
149
|
InputField.propTypes = propTypes$5;
|
|
150
150
|
InputField.defaultProps = defaultProps$5;
|
|
151
|
-
var InputField$1 =
|
|
152
|
-
return /*#__PURE__*/React.createElement(InputField, Object.assign({
|
|
153
|
-
inputRef: ref
|
|
154
|
-
}, props));
|
|
155
|
-
});
|
|
151
|
+
var InputField$1 = InputField; // React.forwardRef((props, ref) => <InputField inputRef={ref} {...props} />);
|
|
156
152
|
|
|
157
153
|
/* eslint-disable react/jsx-props-no-spreading */
|
|
158
154
|
var propTypes$4 = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/field-text",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.165",
|
|
4
4
|
"description": "A text field",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@babel/runtime": "^7.12.5",
|
|
57
|
-
"@panneau/core": "^3.0.
|
|
58
|
-
"@panneau/field-input-group": "^3.0.
|
|
59
|
-
"@panneau/themes": "^3.0.
|
|
57
|
+
"@panneau/core": "^3.0.164",
|
|
58
|
+
"@panneau/field-input-group": "^3.0.164",
|
|
59
|
+
"@panneau/themes": "^3.0.164",
|
|
60
60
|
"classnames": "^2.5.1",
|
|
61
61
|
"lodash": "^4.17.21",
|
|
62
62
|
"prop-types": "^15.7.2",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "3be43601dbd39c37504b9364886f6d1071f9b5a0"
|
|
69
69
|
}
|