@commercetools-uikit/number-field 12.2.3 → 12.2.4
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 FieldErrors__default = /*#__PURE__*/_interopDefault(FieldErrors);
|
|
54
54
|
var NumberInput__default = /*#__PURE__*/_interopDefault(NumberInput);
|
|
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('number-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 NumberField = /*#__PURE__*/function (_Component) {
|
|
@@ -84,7 +84,7 @@ var NumberField = /*#__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 NumberField = /*#__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(Stack__default[
|
|
102
|
+
children: jsxRuntime.jsxs(Stack__default["default"], {
|
|
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 NumberField = /*#__PURE__*/function (_Component) {
|
|
|
110
110
|
badge: this.props.badge,
|
|
111
111
|
hasRequiredIndicator: this.props.isRequired,
|
|
112
112
|
htmlFor: this.state.id
|
|
113
|
-
}), jsxRuntime.jsx(NumberInput__default[
|
|
113
|
+
}), jsxRuntime.jsx(NumberInput__default["default"], _objectSpread({
|
|
114
114
|
id: this.state.id,
|
|
115
115
|
name: this.props.name,
|
|
116
116
|
autoComplete: this.props.autoComplete,
|
|
@@ -127,7 +127,7 @@ var NumberField = /*#__PURE__*/function (_Component) {
|
|
|
127
127
|
min: this.props.min,
|
|
128
128
|
max: this.props.max,
|
|
129
129
|
step: this.props.step
|
|
130
|
-
}, utils.filterDataAttributes(this.props))), jsxRuntime.jsx(FieldErrors__default[
|
|
130
|
+
}, utils.filterDataAttributes(this.props))), jsxRuntime.jsx(FieldErrors__default["default"], {
|
|
131
131
|
errors: this.props.errors,
|
|
132
132
|
isVisible: hasError,
|
|
133
133
|
renderError: this.props.renderError
|
|
@@ -157,20 +157,20 @@ NumberField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
157
157
|
/**
|
|
158
158
|
* Used as HTML id property. An id is auto-generated when it is not specified.
|
|
159
159
|
*/
|
|
160
|
-
id: PropTypes__default[
|
|
160
|
+
id: PropTypes__default["default"].string,
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* Horizontal size limit of the input fields.
|
|
164
164
|
*/
|
|
165
|
-
horizontalConstraint: PropTypes__default[
|
|
165
|
+
horizontalConstraint: PropTypes__default["default"].oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* A map of errors. Error messages for known errors are rendered automatically.
|
|
169
169
|
* <br />
|
|
170
170
|
* Unknown errors will be forwarded to `renderError`
|
|
171
171
|
*/
|
|
172
|
-
errors: PropTypes__default[
|
|
173
|
-
missing: PropTypes__default[
|
|
172
|
+
errors: PropTypes__default["default"].shape({
|
|
173
|
+
missing: PropTypes__default["default"].bool
|
|
174
174
|
}),
|
|
175
175
|
|
|
176
176
|
/**
|
|
@@ -178,40 +178,40 @@ NumberField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
178
178
|
* <br />
|
|
179
179
|
* Signature: `(key, error) => React.node`
|
|
180
180
|
*/
|
|
181
|
-
renderError: PropTypes__default[
|
|
181
|
+
renderError: PropTypes__default["default"].func,
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
184
|
* Indicates if the value is required. Shows an the "required asterisk" if so.
|
|
185
185
|
*/
|
|
186
|
-
isRequired: PropTypes__default[
|
|
186
|
+
isRequired: PropTypes__default["default"].bool,
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* Indicates whether the field was touched. Errors will only be shown when the field was touched.
|
|
190
190
|
*/
|
|
191
|
-
touched: PropTypes__default[
|
|
191
|
+
touched: PropTypes__default["default"].bool,
|
|
192
192
|
// NumberInput
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
195
|
* Used as HTML name of the input component. property
|
|
196
196
|
*/
|
|
197
|
-
name: PropTypes__default[
|
|
197
|
+
name: PropTypes__default["default"].string,
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* Value of the input component.
|
|
201
201
|
*/
|
|
202
|
-
value: PropTypes__default[
|
|
202
|
+
value: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]).isRequired,
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* Used as HTML `autocomplete` of the input component. property
|
|
206
206
|
*/
|
|
207
|
-
autoComplete: PropTypes__default[
|
|
207
|
+
autoComplete: PropTypes__default["default"].string,
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
210
|
* Called with an event containing the new value. Required when input is not read only. Parent should pass it back as value.
|
|
211
211
|
* <br />
|
|
212
212
|
* Signature: `(event) => void`
|
|
213
213
|
*/
|
|
214
|
-
onChange: requiredIf__default[
|
|
214
|
+
onChange: requiredIf__default["default"](PropTypes__default["default"].func, function (props) {
|
|
215
215
|
return !props.isReadOnly;
|
|
216
216
|
}),
|
|
217
217
|
|
|
@@ -220,69 +220,69 @@ NumberField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
220
220
|
* <br />
|
|
221
221
|
* Signature: `(event) => void`
|
|
222
222
|
*/
|
|
223
|
-
onBlur: PropTypes__default[
|
|
223
|
+
onBlur: PropTypes__default["default"].func,
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* Called when input is focused
|
|
227
227
|
* <br />
|
|
228
228
|
* Signature: `(event) => void`
|
|
229
229
|
*/
|
|
230
|
-
onFocus: PropTypes__default[
|
|
230
|
+
onFocus: PropTypes__default["default"].func,
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
233
|
* Focus the input on initial render
|
|
234
234
|
*/
|
|
235
|
-
isAutofocussed: PropTypes__default[
|
|
235
|
+
isAutofocussed: PropTypes__default["default"].bool,
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
238
|
* Indicates that the input cannot be modified (e.g not authorized, or changes currently saving).
|
|
239
239
|
*/
|
|
240
|
-
isDisabled: PropTypes__default[
|
|
240
|
+
isDisabled: PropTypes__default["default"].bool,
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* Indicates that the field is displaying read-only content
|
|
244
244
|
*/
|
|
245
|
-
isReadOnly: PropTypes__default[
|
|
245
|
+
isReadOnly: PropTypes__default["default"].bool,
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
248
|
* Placeholder text for the input
|
|
249
249
|
*/
|
|
250
|
-
placeholder: PropTypes__default[
|
|
250
|
+
placeholder: PropTypes__default["default"].string,
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* Value is used as `min` property on input field
|
|
254
254
|
*/
|
|
255
|
-
min: PropTypes__default[
|
|
255
|
+
min: PropTypes__default["default"].number,
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
258
|
* Value is used as `max` property on input field
|
|
259
259
|
*/
|
|
260
|
-
max: PropTypes__default[
|
|
260
|
+
max: PropTypes__default["default"].number,
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
263
|
* Value is used as `step` property on input field.
|
|
264
264
|
* <br />
|
|
265
265
|
* Use the value `any` for inputs which accept an unpredictable amount of decimals.
|
|
266
266
|
*/
|
|
267
|
-
step: PropTypes__default[
|
|
267
|
+
step: PropTypes__default["default"].oneOfType([PropTypes__default["default"].number, PropTypes__default["default"].oneOf(['any'])]),
|
|
268
268
|
// LabelField
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* Title of the label
|
|
272
272
|
*/
|
|
273
|
-
title: PropTypes__default[
|
|
273
|
+
title: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]).isRequired,
|
|
274
274
|
|
|
275
275
|
/**
|
|
276
276
|
* 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`.
|
|
277
277
|
*/
|
|
278
|
-
hint: requiredIf__default[
|
|
278
|
+
hint: requiredIf__default["default"](PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]), function (props) {
|
|
279
279
|
return props.hintIcon;
|
|
280
280
|
}),
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
283
|
* Provides a description for the title.
|
|
284
284
|
*/
|
|
285
|
-
description: PropTypes__default[
|
|
285
|
+
description: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]),
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* Function called when info button is pressed.
|
|
@@ -291,26 +291,26 @@ NumberField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
291
291
|
* <br />
|
|
292
292
|
* Signature: `(event) => void`
|
|
293
293
|
*/
|
|
294
|
-
onInfoButtonClick: PropTypes__default[
|
|
294
|
+
onInfoButtonClick: PropTypes__default["default"].func,
|
|
295
295
|
|
|
296
296
|
/**
|
|
297
297
|
* Icon to be displayed beside the hint text.
|
|
298
298
|
* <br />
|
|
299
299
|
* Will only get rendered when `hint` is passed as well.
|
|
300
300
|
*/
|
|
301
|
-
hintIcon: PropTypes__default[
|
|
301
|
+
hintIcon: PropTypes__default["default"].node,
|
|
302
302
|
|
|
303
303
|
/**
|
|
304
304
|
* Badge to be displayed beside the label.
|
|
305
305
|
* <br />
|
|
306
306
|
* Might be used to display additional information about the content of the field (E.g verified email)
|
|
307
307
|
*/
|
|
308
|
-
badge: PropTypes__default[
|
|
308
|
+
badge: PropTypes__default["default"].node
|
|
309
309
|
} : {};
|
|
310
310
|
var NumberField$1 = NumberField;
|
|
311
311
|
|
|
312
312
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
313
|
-
var version = '12.2.
|
|
313
|
+
var version = '12.2.4';
|
|
314
314
|
|
|
315
|
-
exports[
|
|
315
|
+
exports["default"] = NumberField$1;
|
|
316
316
|
exports.version = version;
|
|
@@ -51,19 +51,19 @@ var FieldLabel__default = /*#__PURE__*/_interopDefault(FieldLabel);
|
|
|
51
51
|
var FieldErrors__default = /*#__PURE__*/_interopDefault(FieldErrors);
|
|
52
52
|
var NumberInput__default = /*#__PURE__*/_interopDefault(NumberInput);
|
|
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('number-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 NumberField = /*#__PURE__*/function (_Component) {
|
|
@@ -82,7 +82,7 @@ var NumberField = /*#__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 NumberField = /*#__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(Stack__default[
|
|
100
|
+
children: jsxRuntime.jsxs(Stack__default["default"], {
|
|
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 NumberField = /*#__PURE__*/function (_Component) {
|
|
|
108
108
|
badge: this.props.badge,
|
|
109
109
|
hasRequiredIndicator: this.props.isRequired,
|
|
110
110
|
htmlFor: this.state.id
|
|
111
|
-
}), jsxRuntime.jsx(NumberInput__default[
|
|
111
|
+
}), jsxRuntime.jsx(NumberInput__default["default"], _objectSpread({
|
|
112
112
|
id: this.state.id,
|
|
113
113
|
name: this.props.name,
|
|
114
114
|
autoComplete: this.props.autoComplete,
|
|
@@ -125,7 +125,7 @@ var NumberField = /*#__PURE__*/function (_Component) {
|
|
|
125
125
|
min: this.props.min,
|
|
126
126
|
max: this.props.max,
|
|
127
127
|
step: this.props.step
|
|
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
|
|
@@ -153,7 +153,7 @@ NumberField.propTypes = {};
|
|
|
153
153
|
var NumberField$1 = NumberField;
|
|
154
154
|
|
|
155
155
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
156
|
-
var version = '12.2.
|
|
156
|
+
var version = '12.2.4';
|
|
157
157
|
|
|
158
|
-
exports[
|
|
158
|
+
exports["default"] = NumberField$1;
|
|
159
159
|
exports.version = version;
|
|
@@ -284,6 +284,6 @@ NumberField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
284
284
|
var NumberField$1 = NumberField;
|
|
285
285
|
|
|
286
286
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
287
|
-
var version = '12.2.
|
|
287
|
+
var version = '12.2.4';
|
|
288
288
|
|
|
289
289
|
export { NumberField$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/number-field",
|
|
3
3
|
"description": "A controlled input component for numbers with validation states and a label.",
|
|
4
|
-
"version": "12.2.
|
|
4
|
+
"version": "12.2.4",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"prepare": "../../../../scripts/version.js replace"
|
|
24
24
|
},
|
|
25
25
|
"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/number-input": "12.2.
|
|
33
|
-
"@commercetools-uikit/spacings-stack": "12.2.
|
|
26
|
+
"@babel/runtime": "7.15.4",
|
|
27
|
+
"@babel/runtime-corejs3": "7.15.4",
|
|
28
|
+
"@commercetools-uikit/constraints": "12.2.4",
|
|
29
|
+
"@commercetools-uikit/design-system": "12.2.4",
|
|
30
|
+
"@commercetools-uikit/field-errors": "12.2.4",
|
|
31
|
+
"@commercetools-uikit/field-label": "12.2.4",
|
|
32
|
+
"@commercetools-uikit/number-input": "12.2.4",
|
|
33
|
+
"@commercetools-uikit/spacings-stack": "12.2.4",
|
|
34
34
|
"@commercetools-uikit/utils": "12.2.0",
|
|
35
35
|
"@emotion/react": "^11.4.0",
|
|
36
36
|
"@emotion/styled": "^11.3.0",
|