@commercetools-uikit/date-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 DateInput__default = /*#__PURE__*/_interopDefault(DateInput);
|
|
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('date-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 DateField = /*#__PURE__*/function (_Component) {
|
|
@@ -84,7 +84,7 @@ var DateField = /*#__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 DateField = /*#__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 DateField = /*#__PURE__*/function (_Component) {
|
|
|
110
110
|
badge: this.props.badge,
|
|
111
111
|
hasRequiredIndicator: this.props.isRequired,
|
|
112
112
|
htmlFor: this.state.id
|
|
113
|
-
}), jsxRuntime.jsx(DateInput__default[
|
|
113
|
+
}), jsxRuntime.jsx(DateInput__default["default"], _objectSpread({
|
|
114
114
|
id: this.state.id,
|
|
115
115
|
name: this.props.name,
|
|
116
116
|
value: this.props.value,
|
|
@@ -124,7 +124,7 @@ var DateField = /*#__PURE__*/function (_Component) {
|
|
|
124
124
|
hasError: hasError,
|
|
125
125
|
placeholder: this.props.placeholder,
|
|
126
126
|
horizontalConstraint: "scale"
|
|
127
|
-
}, utils.filterDataAttributes(this.props))), jsxRuntime.jsx(FieldErrors__default[
|
|
127
|
+
}, utils.filterDataAttributes(this.props))), jsxRuntime.jsx(FieldErrors__default["default"], {
|
|
128
128
|
errors: this.props.errors,
|
|
129
129
|
isVisible: hasError,
|
|
130
130
|
renderError: this.props.renderError
|
|
@@ -154,20 +154,20 @@ DateField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
154
154
|
/**
|
|
155
155
|
* Used as HTML id property. An id is auto-generated when it is not specified.
|
|
156
156
|
*/
|
|
157
|
-
id: PropTypes__default[
|
|
157
|
+
id: PropTypes__default["default"].string,
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* Horizontal size limit of the input fields.
|
|
161
161
|
*/
|
|
162
|
-
horizontalConstraint: PropTypes__default[
|
|
162
|
+
horizontalConstraint: PropTypes__default["default"].oneOf([6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
* A map of errors. Error messages for known errors are rendered automatically.
|
|
166
166
|
* <br />
|
|
167
167
|
* Unknown errors will be forwarded to `renderError`
|
|
168
168
|
*/
|
|
169
|
-
errors: PropTypes__default[
|
|
170
|
-
missing: PropTypes__default[
|
|
169
|
+
errors: PropTypes__default["default"].shape({
|
|
170
|
+
missing: PropTypes__default["default"].bool
|
|
171
171
|
}),
|
|
172
172
|
|
|
173
173
|
/**
|
|
@@ -175,28 +175,28 @@ DateField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
175
175
|
* <br />
|
|
176
176
|
* Signature: `(key, error) => React.node`
|
|
177
177
|
*/
|
|
178
|
-
renderError: PropTypes__default[
|
|
178
|
+
renderError: PropTypes__default["default"].func,
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* Indicates if the value is required. Shows an the "required asterisk" if so.
|
|
182
182
|
*/
|
|
183
|
-
isRequired: PropTypes__default[
|
|
183
|
+
isRequired: PropTypes__default["default"].bool,
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* Indicates whether the field was touched. Errors will only be shown when the field was touched.
|
|
187
187
|
*/
|
|
188
|
-
touched: PropTypes__default[
|
|
188
|
+
touched: PropTypes__default["default"].bool,
|
|
189
189
|
// DateInput
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* Used as HTML name of the input component.
|
|
193
193
|
*/
|
|
194
|
-
name: PropTypes__default[
|
|
194
|
+
name: PropTypes__default["default"].string,
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
197
|
* Value of the input
|
|
198
198
|
*/
|
|
199
|
-
value: PropTypes__default[
|
|
199
|
+
value: PropTypes__default["default"].string.isRequired,
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* Called with an event containing the new value.
|
|
@@ -205,7 +205,7 @@ DateField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
205
205
|
* <br/>
|
|
206
206
|
* Signature: `(event) => void`
|
|
207
207
|
*/
|
|
208
|
-
onChange: requiredIf__default[
|
|
208
|
+
onChange: requiredIf__default["default"](PropTypes__default["default"].func, function (props) {
|
|
209
209
|
return !props.isReadOnly;
|
|
210
210
|
}),
|
|
211
211
|
|
|
@@ -214,57 +214,57 @@ DateField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
214
214
|
* <br/>
|
|
215
215
|
* Signature: `(event) => void`
|
|
216
216
|
*/
|
|
217
|
-
onBlur: PropTypes__default[
|
|
217
|
+
onBlur: PropTypes__default["default"].func,
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* Called when input is focused
|
|
221
221
|
* <br/>
|
|
222
222
|
* Signature: `(event) => void`
|
|
223
223
|
*/
|
|
224
|
-
onFocus: PropTypes__default[
|
|
224
|
+
onFocus: PropTypes__default["default"].func,
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Indicates that the input cannot be modified (e.g not authorized, or changes currently saving).
|
|
228
228
|
*/
|
|
229
|
-
isDisabled: PropTypes__default[
|
|
229
|
+
isDisabled: PropTypes__default["default"].bool,
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
232
|
* Indicates that the field is displaying read-only content
|
|
233
233
|
*/
|
|
234
|
-
isReadOnly: PropTypes__default[
|
|
234
|
+
isReadOnly: PropTypes__default["default"].bool,
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* Placeholder text for the input
|
|
238
238
|
*/
|
|
239
|
-
placeholder: PropTypes__default[
|
|
239
|
+
placeholder: PropTypes__default["default"].string,
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
242
|
* A minimum selectable date. Must either be an empty string or a date formatted as "YYYY-MM-DD".
|
|
243
243
|
*/
|
|
244
|
-
minValue: PropTypes__default[
|
|
244
|
+
minValue: PropTypes__default["default"].string,
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
247
|
* A maximum selectable date. Must either be an empty string or a date formatted as "YYYY-MM-DD".
|
|
248
248
|
*/
|
|
249
|
-
maxValue: PropTypes__default[
|
|
249
|
+
maxValue: PropTypes__default["default"].string,
|
|
250
250
|
// LabelField
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* Title of the label
|
|
254
254
|
*/
|
|
255
|
-
title: PropTypes__default[
|
|
255
|
+
title: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]).isRequired,
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
258
|
* 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`.
|
|
259
259
|
*/
|
|
260
|
-
hint: requiredIf__default[
|
|
260
|
+
hint: requiredIf__default["default"](PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]), function (props) {
|
|
261
261
|
return props.hintIcon;
|
|
262
262
|
}),
|
|
263
263
|
|
|
264
264
|
/**
|
|
265
265
|
* Provides a description for the title.
|
|
266
266
|
*/
|
|
267
|
-
description: PropTypes__default[
|
|
267
|
+
description: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]),
|
|
268
268
|
|
|
269
269
|
/**
|
|
270
270
|
* Function called when info button is pressed.
|
|
@@ -273,26 +273,26 @@ DateField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
273
273
|
* <br />
|
|
274
274
|
* Signature: `(event) => void`
|
|
275
275
|
*/
|
|
276
|
-
onInfoButtonClick: PropTypes__default[
|
|
276
|
+
onInfoButtonClick: PropTypes__default["default"].func,
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* Icon to be displayed beside the hint text.
|
|
280
280
|
* <br />
|
|
281
281
|
* Will only get rendered when `hint` is passed as well.
|
|
282
282
|
*/
|
|
283
|
-
hintIcon: PropTypes__default[
|
|
283
|
+
hintIcon: PropTypes__default["default"].node,
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
286
|
* Badge to be displayed beside the label.
|
|
287
287
|
* <br />
|
|
288
288
|
* Might be used to display additional information about the content of the field (E.g verified email)
|
|
289
289
|
*/
|
|
290
|
-
badge: PropTypes__default[
|
|
290
|
+
badge: PropTypes__default["default"].node
|
|
291
291
|
} : {};
|
|
292
292
|
var DateField$1 = DateField;
|
|
293
293
|
|
|
294
|
-
// NOTE: This string will be replaced
|
|
295
|
-
var version =
|
|
294
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
295
|
+
var version = "12.2.7";
|
|
296
296
|
|
|
297
|
-
exports[
|
|
297
|
+
exports["default"] = DateField$1;
|
|
298
298
|
exports.version = version;
|
|
@@ -51,19 +51,19 @@ var FieldLabel__default = /*#__PURE__*/_interopDefault(FieldLabel);
|
|
|
51
51
|
var DateInput__default = /*#__PURE__*/_interopDefault(DateInput);
|
|
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('date-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 DateField = /*#__PURE__*/function (_Component) {
|
|
@@ -82,7 +82,7 @@ var DateField = /*#__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 DateField = /*#__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 DateField = /*#__PURE__*/function (_Component) {
|
|
|
108
108
|
badge: this.props.badge,
|
|
109
109
|
hasRequiredIndicator: this.props.isRequired,
|
|
110
110
|
htmlFor: this.state.id
|
|
111
|
-
}), jsxRuntime.jsx(DateInput__default[
|
|
111
|
+
}), jsxRuntime.jsx(DateInput__default["default"], _objectSpread({
|
|
112
112
|
id: this.state.id,
|
|
113
113
|
name: this.props.name,
|
|
114
114
|
value: this.props.value,
|
|
@@ -122,7 +122,7 @@ var DateField = /*#__PURE__*/function (_Component) {
|
|
|
122
122
|
hasError: hasError,
|
|
123
123
|
placeholder: this.props.placeholder,
|
|
124
124
|
horizontalConstraint: "scale"
|
|
125
|
-
}, utils.filterDataAttributes(this.props))), jsxRuntime.jsx(FieldErrors__default[
|
|
125
|
+
}, utils.filterDataAttributes(this.props))), jsxRuntime.jsx(FieldErrors__default["default"], {
|
|
126
126
|
errors: this.props.errors,
|
|
127
127
|
isVisible: hasError,
|
|
128
128
|
renderError: this.props.renderError
|
|
@@ -149,8 +149,8 @@ DateField.getDerivedStateFromProps = function (props, state) {
|
|
|
149
149
|
DateField.propTypes = {};
|
|
150
150
|
var DateField$1 = DateField;
|
|
151
151
|
|
|
152
|
-
// NOTE: This string will be replaced
|
|
153
|
-
var version =
|
|
152
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
153
|
+
var version = "12.2.7";
|
|
154
154
|
|
|
155
|
-
exports[
|
|
155
|
+
exports["default"] = DateField$1;
|
|
156
156
|
exports.version = version;
|
|
@@ -265,7 +265,7 @@ DateField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
265
265
|
} : {};
|
|
266
266
|
var DateField$1 = DateField;
|
|
267
267
|
|
|
268
|
-
// NOTE: This string will be replaced
|
|
269
|
-
var version =
|
|
268
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
269
|
+
var version = "12.2.7";
|
|
270
270
|
|
|
271
271
|
export { DateField$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/date-field",
|
|
3
3
|
"description": "A controlled date input component for single date, 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-date-field.cjs.js",
|
|
20
19
|
"module": "dist/commercetools-uikit-date-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/date-input": "12.2.
|
|
30
|
-
"@commercetools-uikit/design-system": "12.2.
|
|
31
|
-
"@commercetools-uikit/field-errors": "12.2.
|
|
32
|
-
"@commercetools-uikit/field-label": "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/date-input": "12.2.7",
|
|
26
|
+
"@commercetools-uikit/design-system": "12.2.5",
|
|
27
|
+
"@commercetools-uikit/field-errors": "12.2.5",
|
|
28
|
+
"@commercetools-uikit/field-label": "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",
|