@commercetools-uikit/multiline-text-field 12.2.3 → 12.2.7
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.
|
@@ -53,19 +53,19 @@ var FieldLabel__default = /*#__PURE__*/_interopDefault(FieldLabel);
|
|
|
53
53
|
var MultilineTextInput__default = /*#__PURE__*/_interopDefault(MultilineTextInput);
|
|
54
54
|
var FieldErrors__default = /*#__PURE__*/_interopDefault(FieldErrors);
|
|
55
55
|
|
|
56
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default[
|
|
56
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); if (enumerableOnly) { symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
57
57
|
|
|
58
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { var _context3; _forEachInstanceProperty__default[
|
|
58
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { var _context3; _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(source), true)).call(_context3, function (key) { _defineProperty(target, key, source[key]); }); } else if (_Object$getOwnPropertyDescriptors__default["default"]) { _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)); } else { var _context4; _forEachInstanceProperty__default["default"](_context4 = ownKeys(Object(source))).call(_context4, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } } return target; }
|
|
59
59
|
|
|
60
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default[
|
|
60
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
61
61
|
|
|
62
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct__default[
|
|
62
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct__default["default"]) return false; if (_Reflect$construct__default["default"].sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
63
63
|
var sequentialId = utils.createSequentialId('multiline-text-field-');
|
|
64
64
|
|
|
65
65
|
var hasErrors = function hasErrors(errors) {
|
|
66
66
|
var _context;
|
|
67
67
|
|
|
68
|
-
return errors && _someInstanceProperty__default[
|
|
68
|
+
return errors && _someInstanceProperty__default["default"](_context = _Object$values__default["default"](errors)).call(_context, Boolean);
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
var MultilineTextField = /*#__PURE__*/function (_Component) {
|
|
@@ -84,7 +84,7 @@ var MultilineTextField = /*#__PURE__*/function (_Component) {
|
|
|
84
84
|
args[_key] = arguments[_key];
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
_this = _super.call.apply(_super, _concatInstanceProperty__default[
|
|
87
|
+
_this = _super.call.apply(_super, _concatInstanceProperty__default["default"](_context2 = [this]).call(_context2, args));
|
|
88
88
|
_this.state = {
|
|
89
89
|
// We generate an id in case no id is provided by the parent to attach the
|
|
90
90
|
// label to the input component.
|
|
@@ -97,11 +97,11 @@ var MultilineTextField = /*#__PURE__*/function (_Component) {
|
|
|
97
97
|
key: "render",
|
|
98
98
|
value: function render() {
|
|
99
99
|
var hasError = this.props.touched && hasErrors(this.props.errors);
|
|
100
|
-
return jsxRuntime.jsx(Constraints__default[
|
|
100
|
+
return jsxRuntime.jsx(Constraints__default["default"].Horizontal, {
|
|
101
101
|
max: this.props.horizontalConstraint,
|
|
102
|
-
children: jsxRuntime.jsxs(Spacings__default[
|
|
102
|
+
children: jsxRuntime.jsxs(Spacings__default["default"].Stack, {
|
|
103
103
|
scale: "xs",
|
|
104
|
-
children: [jsxRuntime.jsx(FieldLabel__default[
|
|
104
|
+
children: [jsxRuntime.jsx(FieldLabel__default["default"], {
|
|
105
105
|
title: this.props.title,
|
|
106
106
|
hint: this.props.hint,
|
|
107
107
|
description: this.props.description,
|
|
@@ -110,7 +110,7 @@ var MultilineTextField = /*#__PURE__*/function (_Component) {
|
|
|
110
110
|
badge: this.props.badge,
|
|
111
111
|
hasRequiredIndicator: this.props.isRequired,
|
|
112
112
|
htmlFor: this.state.id
|
|
113
|
-
}), jsxRuntime.jsx(MultilineTextInput__default[
|
|
113
|
+
}), jsxRuntime.jsx(MultilineTextInput__default["default"], _objectSpread({
|
|
114
114
|
id: this.state.id,
|
|
115
115
|
name: this.props.name,
|
|
116
116
|
autoComplete: this.props.autoComplete,
|
|
@@ -125,7 +125,7 @@ var MultilineTextField = /*#__PURE__*/function (_Component) {
|
|
|
125
125
|
hasError: hasError,
|
|
126
126
|
placeholder: this.props.placeholder,
|
|
127
127
|
horizontalConstraint: "scale"
|
|
128
|
-
}, utils.filterDataAttributes(this.props))), jsxRuntime.jsx(FieldErrors__default[
|
|
128
|
+
}, utils.filterDataAttributes(this.props))), jsxRuntime.jsx(FieldErrors__default["default"], {
|
|
129
129
|
errors: this.props.errors,
|
|
130
130
|
isVisible: hasError,
|
|
131
131
|
renderError: this.props.renderError
|
|
@@ -155,20 +155,20 @@ MultilineTextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
155
155
|
/**
|
|
156
156
|
* Used as HTML id property. An id is auto-generated when it is not specified.
|
|
157
157
|
*/
|
|
158
|
-
id: PropTypes__default[
|
|
158
|
+
id: PropTypes__default["default"].string,
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* Horizontal size limit of the input fields.
|
|
162
162
|
*/
|
|
163
|
-
horizontalConstraint: PropTypes__default[
|
|
163
|
+
horizontalConstraint: PropTypes__default["default"].oneOf([6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* A map of errors. Error messages for known errors are rendered automatically.
|
|
167
167
|
* <br />
|
|
168
168
|
* Unknown errors will be forwarded to `renderError`
|
|
169
169
|
*/
|
|
170
|
-
errors: PropTypes__default[
|
|
171
|
-
missing: PropTypes__default[
|
|
170
|
+
errors: PropTypes__default["default"].shape({
|
|
171
|
+
missing: PropTypes__default["default"].bool
|
|
172
172
|
}),
|
|
173
173
|
|
|
174
174
|
/**
|
|
@@ -176,40 +176,40 @@ MultilineTextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
176
176
|
* <br />
|
|
177
177
|
* Signature: `(key, error) => React.node`
|
|
178
178
|
*/
|
|
179
|
-
renderError: PropTypes__default[
|
|
179
|
+
renderError: PropTypes__default["default"].func,
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
182
|
* Indicates if the value is required. Shows an the "required asterisk" if so.
|
|
183
183
|
*/
|
|
184
|
-
isRequired: PropTypes__default[
|
|
184
|
+
isRequired: PropTypes__default["default"].bool,
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* Indicates whether the field was touched. Errors will only be shown when the field was touched.
|
|
188
188
|
*/
|
|
189
|
-
touched: PropTypes__default[
|
|
189
|
+
touched: PropTypes__default["default"].bool,
|
|
190
190
|
// TextInput
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Used as HTML `autocomplete` property
|
|
194
194
|
*/
|
|
195
|
-
autoComplete: PropTypes__default[
|
|
195
|
+
autoComplete: PropTypes__default["default"].string,
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
198
|
* Used as HTML name of the input component. property
|
|
199
199
|
*/
|
|
200
|
-
name: PropTypes__default[
|
|
200
|
+
name: PropTypes__default["default"].string,
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* Value of the input component.
|
|
204
204
|
*/
|
|
205
|
-
value: PropTypes__default[
|
|
205
|
+
value: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]).isRequired,
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
208
|
* Called with an event containing the new value. Required when input is not read only. Parent should pass it back as value.
|
|
209
209
|
* <br />
|
|
210
210
|
* Signature: `(event) => void`
|
|
211
211
|
*/
|
|
212
|
-
onChange: requiredIf__default[
|
|
212
|
+
onChange: requiredIf__default["default"](PropTypes__default["default"].func, function (props) {
|
|
213
213
|
return !props.isReadOnly;
|
|
214
214
|
}),
|
|
215
215
|
|
|
@@ -218,57 +218,57 @@ MultilineTextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
218
218
|
* <br />
|
|
219
219
|
* Signature: `(event) => void`
|
|
220
220
|
*/
|
|
221
|
-
onBlur: PropTypes__default[
|
|
221
|
+
onBlur: PropTypes__default["default"].func,
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
224
|
* Called when input is focused
|
|
225
225
|
* <br />
|
|
226
226
|
* Signature: `(event) => void`
|
|
227
227
|
*/
|
|
228
|
-
onFocus: PropTypes__default[
|
|
228
|
+
onFocus: PropTypes__default["default"].func,
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* Focus the input on initial render
|
|
232
232
|
*/
|
|
233
|
-
isAutofocussed: PropTypes__default[
|
|
233
|
+
isAutofocussed: PropTypes__default["default"].bool,
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Expands multiline text input initially
|
|
237
237
|
*/
|
|
238
|
-
defaultExpandMultilineText: PropTypes__default[
|
|
238
|
+
defaultExpandMultilineText: PropTypes__default["default"].bool,
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* Indicates that the input cannot be modified (e.g not authorized, or changes currently saving).
|
|
242
242
|
*/
|
|
243
|
-
isDisabled: PropTypes__default[
|
|
243
|
+
isDisabled: PropTypes__default["default"].bool,
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* Indicates that the field is displaying read-only content
|
|
247
247
|
*/
|
|
248
|
-
isReadOnly: PropTypes__default[
|
|
248
|
+
isReadOnly: PropTypes__default["default"].bool,
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
251
|
* Placeholder text for the input
|
|
252
252
|
*/
|
|
253
|
-
placeholder: PropTypes__default[
|
|
253
|
+
placeholder: PropTypes__default["default"].string,
|
|
254
254
|
// LabelField
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
257
|
* Title of the label
|
|
258
258
|
*/
|
|
259
|
-
title: PropTypes__default[
|
|
259
|
+
title: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]).isRequired,
|
|
260
260
|
|
|
261
261
|
/**
|
|
262
262
|
* Hint for the label. Provides a supplementary but important information regarding the behaviour of the input (e.g warn about uniqueness of a field, when it can only be set once), whereas `description` can describe it in more depth. Can also receive a `hintIcon`.
|
|
263
263
|
*/
|
|
264
|
-
hint: requiredIf__default[
|
|
264
|
+
hint: requiredIf__default["default"](PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]), function (props) {
|
|
265
265
|
return props.hintIcon;
|
|
266
266
|
}),
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
269
|
* Provides a description for the title.
|
|
270
270
|
*/
|
|
271
|
-
description: PropTypes__default[
|
|
271
|
+
description: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]),
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
274
|
* Function called when info button is pressed.
|
|
@@ -277,26 +277,26 @@ MultilineTextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
277
277
|
* <br />
|
|
278
278
|
* Signature: `(event) => void`
|
|
279
279
|
*/
|
|
280
|
-
onInfoButtonClick: PropTypes__default[
|
|
280
|
+
onInfoButtonClick: PropTypes__default["default"].func,
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
283
|
* Icon to be displayed beside the hint text.
|
|
284
284
|
* <br />
|
|
285
285
|
* Will only get rendered when `hint` is passed as well.
|
|
286
286
|
*/
|
|
287
|
-
hintIcon: PropTypes__default[
|
|
287
|
+
hintIcon: PropTypes__default["default"].node,
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
290
|
* Badge to be displayed beside the label.
|
|
291
291
|
* <br />
|
|
292
292
|
* Might be used to display additional information about the content of the field (E.g verified email)
|
|
293
293
|
*/
|
|
294
|
-
badge: PropTypes__default[
|
|
294
|
+
badge: PropTypes__default["default"].node
|
|
295
295
|
} : {};
|
|
296
296
|
var MultilineTextField$1 = MultilineTextField;
|
|
297
297
|
|
|
298
|
-
// NOTE: This string will be replaced
|
|
299
|
-
var version =
|
|
298
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
299
|
+
var version = "12.2.7";
|
|
300
300
|
|
|
301
|
-
exports[
|
|
301
|
+
exports["default"] = MultilineTextField$1;
|
|
302
302
|
exports.version = version;
|
|
@@ -51,19 +51,19 @@ var FieldLabel__default = /*#__PURE__*/_interopDefault(FieldLabel);
|
|
|
51
51
|
var MultilineTextInput__default = /*#__PURE__*/_interopDefault(MultilineTextInput);
|
|
52
52
|
var FieldErrors__default = /*#__PURE__*/_interopDefault(FieldErrors);
|
|
53
53
|
|
|
54
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default[
|
|
54
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); if (enumerableOnly) { symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
55
55
|
|
|
56
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { var _context3; _forEachInstanceProperty__default[
|
|
56
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { var _context3; _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(source), true)).call(_context3, function (key) { _defineProperty(target, key, source[key]); }); } else if (_Object$getOwnPropertyDescriptors__default["default"]) { _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)); } else { var _context4; _forEachInstanceProperty__default["default"](_context4 = ownKeys(Object(source))).call(_context4, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } } return target; }
|
|
57
57
|
|
|
58
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default[
|
|
58
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
59
59
|
|
|
60
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct__default[
|
|
60
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct__default["default"]) return false; if (_Reflect$construct__default["default"].sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
61
61
|
var sequentialId = utils.createSequentialId('multiline-text-field-');
|
|
62
62
|
|
|
63
63
|
var hasErrors = function hasErrors(errors) {
|
|
64
64
|
var _context;
|
|
65
65
|
|
|
66
|
-
return errors && _someInstanceProperty__default[
|
|
66
|
+
return errors && _someInstanceProperty__default["default"](_context = _Object$values__default["default"](errors)).call(_context, Boolean);
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
var MultilineTextField = /*#__PURE__*/function (_Component) {
|
|
@@ -82,7 +82,7 @@ var MultilineTextField = /*#__PURE__*/function (_Component) {
|
|
|
82
82
|
args[_key] = arguments[_key];
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
_this = _super.call.apply(_super, _concatInstanceProperty__default[
|
|
85
|
+
_this = _super.call.apply(_super, _concatInstanceProperty__default["default"](_context2 = [this]).call(_context2, args));
|
|
86
86
|
_this.state = {
|
|
87
87
|
// We generate an id in case no id is provided by the parent to attach the
|
|
88
88
|
// label to the input component.
|
|
@@ -95,11 +95,11 @@ var MultilineTextField = /*#__PURE__*/function (_Component) {
|
|
|
95
95
|
key: "render",
|
|
96
96
|
value: function render() {
|
|
97
97
|
var hasError = this.props.touched && hasErrors(this.props.errors);
|
|
98
|
-
return jsxRuntime.jsx(Constraints__default[
|
|
98
|
+
return jsxRuntime.jsx(Constraints__default["default"].Horizontal, {
|
|
99
99
|
max: this.props.horizontalConstraint,
|
|
100
|
-
children: jsxRuntime.jsxs(Spacings__default[
|
|
100
|
+
children: jsxRuntime.jsxs(Spacings__default["default"].Stack, {
|
|
101
101
|
scale: "xs",
|
|
102
|
-
children: [jsxRuntime.jsx(FieldLabel__default[
|
|
102
|
+
children: [jsxRuntime.jsx(FieldLabel__default["default"], {
|
|
103
103
|
title: this.props.title,
|
|
104
104
|
hint: this.props.hint,
|
|
105
105
|
description: this.props.description,
|
|
@@ -108,7 +108,7 @@ var MultilineTextField = /*#__PURE__*/function (_Component) {
|
|
|
108
108
|
badge: this.props.badge,
|
|
109
109
|
hasRequiredIndicator: this.props.isRequired,
|
|
110
110
|
htmlFor: this.state.id
|
|
111
|
-
}), jsxRuntime.jsx(MultilineTextInput__default[
|
|
111
|
+
}), jsxRuntime.jsx(MultilineTextInput__default["default"], _objectSpread({
|
|
112
112
|
id: this.state.id,
|
|
113
113
|
name: this.props.name,
|
|
114
114
|
autoComplete: this.props.autoComplete,
|
|
@@ -123,7 +123,7 @@ var MultilineTextField = /*#__PURE__*/function (_Component) {
|
|
|
123
123
|
hasError: hasError,
|
|
124
124
|
placeholder: this.props.placeholder,
|
|
125
125
|
horizontalConstraint: "scale"
|
|
126
|
-
}, utils.filterDataAttributes(this.props))), jsxRuntime.jsx(FieldErrors__default[
|
|
126
|
+
}, utils.filterDataAttributes(this.props))), jsxRuntime.jsx(FieldErrors__default["default"], {
|
|
127
127
|
errors: this.props.errors,
|
|
128
128
|
isVisible: hasError,
|
|
129
129
|
renderError: this.props.renderError
|
|
@@ -150,8 +150,8 @@ MultilineTextField.getDerivedStateFromProps = function (props, state) {
|
|
|
150
150
|
MultilineTextField.propTypes = {};
|
|
151
151
|
var MultilineTextField$1 = MultilineTextField;
|
|
152
152
|
|
|
153
|
-
// NOTE: This string will be replaced
|
|
154
|
-
var version =
|
|
153
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
154
|
+
var version = "12.2.7";
|
|
155
155
|
|
|
156
|
-
exports[
|
|
156
|
+
exports["default"] = MultilineTextField$1;
|
|
157
157
|
exports.version = version;
|
|
@@ -269,7 +269,7 @@ MultilineTextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
269
269
|
} : {};
|
|
270
270
|
var MultilineTextField$1 = MultilineTextField;
|
|
271
271
|
|
|
272
|
-
// NOTE: This string will be replaced
|
|
273
|
-
var version =
|
|
272
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
273
|
+
var version = "12.2.7";
|
|
274
274
|
|
|
275
275
|
export { MultilineTextField$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/multiline-text-field",
|
|
3
3
|
"description": "A controlled text input component for multi-line strings with validation states and a label.",
|
|
4
|
-
"version": "12.2.
|
|
4
|
+
"version": "12.2.7",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"homepage": "https://uikit.commercetools.com",
|
|
12
12
|
"keywords": ["javascript", "design system", "react", "uikit"],
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"private": false,
|
|
15
14
|
"publishConfig": {
|
|
16
15
|
"access": "public"
|
|
17
16
|
},
|
|
@@ -19,19 +18,16 @@
|
|
|
19
18
|
"main": "dist/commercetools-uikit-multiline-text-field.cjs.js",
|
|
20
19
|
"module": "dist/commercetools-uikit-multiline-text-field.esm.js",
|
|
21
20
|
"files": ["dist"],
|
|
22
|
-
"scripts": {
|
|
23
|
-
"prepare": "../../../../scripts/version.js replace"
|
|
24
|
-
},
|
|
25
21
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "7.
|
|
27
|
-
"@babel/runtime-corejs3": "7.
|
|
28
|
-
"@commercetools-uikit/constraints": "12.2.
|
|
29
|
-
"@commercetools-uikit/design-system": "12.2.
|
|
30
|
-
"@commercetools-uikit/field-errors": "12.2.
|
|
31
|
-
"@commercetools-uikit/field-label": "12.2.
|
|
32
|
-
"@commercetools-uikit/multiline-text-input": "12.2.
|
|
33
|
-
"@commercetools-uikit/spacings": "12.2.
|
|
34
|
-
"@commercetools-uikit/utils": "12.2.
|
|
22
|
+
"@babel/runtime": "7.16.3",
|
|
23
|
+
"@babel/runtime-corejs3": "7.16.3",
|
|
24
|
+
"@commercetools-uikit/constraints": "12.2.5",
|
|
25
|
+
"@commercetools-uikit/design-system": "12.2.5",
|
|
26
|
+
"@commercetools-uikit/field-errors": "12.2.5",
|
|
27
|
+
"@commercetools-uikit/field-label": "12.2.7",
|
|
28
|
+
"@commercetools-uikit/multiline-text-input": "12.2.7",
|
|
29
|
+
"@commercetools-uikit/spacings": "12.2.5",
|
|
30
|
+
"@commercetools-uikit/utils": "12.2.5",
|
|
35
31
|
"@emotion/react": "^11.4.0",
|
|
36
32
|
"@emotion/styled": "^11.3.0",
|
|
37
33
|
"prop-types": "15.7.2",
|