@commercetools-uikit/radio-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 FieldErrors__default = /*#__PURE__*/_interopDefault(FieldErrors);
|
|
54
54
|
var RadioInput__default = /*#__PURE__*/_interopDefault(RadioInput);
|
|
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('radio-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 RadioField = /*#__PURE__*/function (_Component) {
|
|
@@ -84,7 +84,7 @@ var RadioField = /*#__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 RadioField = /*#__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 RadioField = /*#__PURE__*/function (_Component) {
|
|
|
110
110
|
badge: this.props.badge,
|
|
111
111
|
hasRequiredIndicator: this.props.isRequired,
|
|
112
112
|
id: this.state.id
|
|
113
|
-
}), jsxRuntime.jsx(RadioInput__default[
|
|
113
|
+
}), jsxRuntime.jsx(RadioInput__default["default"].Group, _objectSpread(_objectSpread({
|
|
114
114
|
id: this.state.id,
|
|
115
115
|
name: this.props.name,
|
|
116
116
|
value: this.props.value,
|
|
@@ -125,7 +125,7 @@ var RadioField = /*#__PURE__*/function (_Component) {
|
|
|
125
125
|
directionProps: this.props.directionProps
|
|
126
126
|
}, utils.filterDataAttributes(this.props)), {}, {
|
|
127
127
|
children: this.props.children
|
|
128
|
-
})), jsxRuntime.jsx(FieldErrors__default[
|
|
128
|
+
})), jsxRuntime.jsx(FieldErrors__default["default"], {
|
|
129
129
|
errors: this.props.errors,
|
|
130
130
|
isVisible: hasError,
|
|
131
131
|
renderError: this.props.renderError
|
|
@@ -155,18 +155,18 @@ RadioField.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([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. Unknown errors will be forwarded to `renderError`.
|
|
167
167
|
*/
|
|
168
|
-
errors: PropTypes__default[
|
|
169
|
-
missing: PropTypes__default[
|
|
168
|
+
errors: PropTypes__default["default"].shape({
|
|
169
|
+
missing: PropTypes__default["default"].bool
|
|
170
170
|
}),
|
|
171
171
|
|
|
172
172
|
/**
|
|
@@ -176,35 +176,35 @@ RadioField.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
|
// RadioInput
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Used as HTML name of the input component.
|
|
194
194
|
*/
|
|
195
|
-
name: PropTypes__default[
|
|
195
|
+
name: PropTypes__default["default"].string,
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
198
|
* Value of the input component.
|
|
199
199
|
*/
|
|
200
|
-
value: PropTypes__default[
|
|
200
|
+
value: PropTypes__default["default"].string.isRequired,
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* Called with an event containing the new value. Required when input is not read only. Parent should pass it back as value.
|
|
204
204
|
* <br />
|
|
205
205
|
* Signature: `(event) => void`
|
|
206
206
|
*/
|
|
207
|
-
onChange: requiredIf__default[
|
|
207
|
+
onChange: requiredIf__default["default"](PropTypes__default["default"].func, function (props) {
|
|
208
208
|
return !props.isReadOnly;
|
|
209
209
|
}),
|
|
210
210
|
|
|
@@ -213,59 +213,59 @@ RadioField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
213
213
|
* <br />
|
|
214
214
|
* Signature: `(event) => void`
|
|
215
215
|
*/
|
|
216
|
-
onBlur: PropTypes__default[
|
|
216
|
+
onBlur: PropTypes__default["default"].func,
|
|
217
217
|
|
|
218
218
|
/**
|
|
219
219
|
* Called when input is focused
|
|
220
220
|
* <br />
|
|
221
221
|
* Signature: `(event) => void`
|
|
222
222
|
*/
|
|
223
|
-
onFocus: PropTypes__default[
|
|
223
|
+
onFocus: PropTypes__default["default"].func,
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* Indicates that the input cannot be modified (e.g not authorized, or changes currently saving).
|
|
227
227
|
*/
|
|
228
|
-
isDisabled: PropTypes__default[
|
|
228
|
+
isDisabled: PropTypes__default["default"].bool,
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* Indicates that the field is displaying read-only content
|
|
232
232
|
*/
|
|
233
|
-
isReadOnly: PropTypes__default[
|
|
233
|
+
isReadOnly: PropTypes__default["default"].bool,
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Rendering direction of the radio `RadioInput.Option`s
|
|
237
237
|
*/
|
|
238
|
-
direction: PropTypes__default[
|
|
238
|
+
direction: PropTypes__default["default"].oneOf(['stack', 'inline']),
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* Passes props of the `Spacings.Stack` or `Spacings.Inline`, dependeing on the chosen direction
|
|
242
242
|
*/
|
|
243
|
-
directionProps: PropTypes__default[
|
|
243
|
+
directionProps: PropTypes__default["default"].object,
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* At least one `RadioInput.Option` component or another node (mixed children are allowed)
|
|
247
247
|
*/
|
|
248
|
-
children: PropTypes__default[
|
|
248
|
+
children: PropTypes__default["default"].node.isRequired,
|
|
249
249
|
// LabelField
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* Title of the label
|
|
253
253
|
*/
|
|
254
|
-
title: PropTypes__default[
|
|
254
|
+
title: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]).isRequired,
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
257
|
* 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.
|
|
258
258
|
* <br />
|
|
259
259
|
* Can also receive a `hintIcon`.
|
|
260
260
|
*/
|
|
261
|
-
hint: requiredIf__default[
|
|
261
|
+
hint: requiredIf__default["default"](PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]), function (props) {
|
|
262
262
|
return props.hintIcon;
|
|
263
263
|
}),
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
266
|
* Provides a description for the title.
|
|
267
267
|
*/
|
|
268
|
-
description: PropTypes__default[
|
|
268
|
+
description: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]),
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* Function called when info button is pressed.
|
|
@@ -274,26 +274,26 @@ RadioField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
274
274
|
* <br />
|
|
275
275
|
* Signature: `(event) => void`
|
|
276
276
|
*/
|
|
277
|
-
onInfoButtonClick: PropTypes__default[
|
|
277
|
+
onInfoButtonClick: PropTypes__default["default"].func,
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* Icon to be displayed beside the hint text.
|
|
281
281
|
* <br />
|
|
282
282
|
* Will only get rendered when `hint` is passed as well.
|
|
283
283
|
*/
|
|
284
|
-
hintIcon: PropTypes__default[
|
|
284
|
+
hintIcon: PropTypes__default["default"].node,
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* Badge to be displayed beside the label.
|
|
288
288
|
* <br />
|
|
289
289
|
* Might be used to display additional information about the content of the field (E.g verified email)
|
|
290
290
|
*/
|
|
291
|
-
badge: PropTypes__default[
|
|
291
|
+
badge: PropTypes__default["default"].node
|
|
292
292
|
} : {};
|
|
293
293
|
var RadioField$1 = RadioField;
|
|
294
294
|
|
|
295
|
-
// NOTE: This string will be replaced
|
|
296
|
-
var version =
|
|
295
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
296
|
+
var version = "12.2.7";
|
|
297
297
|
|
|
298
|
-
exports[
|
|
298
|
+
exports["default"] = RadioField$1;
|
|
299
299
|
exports.version = version;
|
|
@@ -51,19 +51,19 @@ var FieldLabel__default = /*#__PURE__*/_interopDefault(FieldLabel);
|
|
|
51
51
|
var FieldErrors__default = /*#__PURE__*/_interopDefault(FieldErrors);
|
|
52
52
|
var RadioInput__default = /*#__PURE__*/_interopDefault(RadioInput);
|
|
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('radio-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 RadioField = /*#__PURE__*/function (_Component) {
|
|
@@ -82,7 +82,7 @@ var RadioField = /*#__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 RadioField = /*#__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 RadioField = /*#__PURE__*/function (_Component) {
|
|
|
108
108
|
badge: this.props.badge,
|
|
109
109
|
hasRequiredIndicator: this.props.isRequired,
|
|
110
110
|
id: this.state.id
|
|
111
|
-
}), jsxRuntime.jsx(RadioInput__default[
|
|
111
|
+
}), jsxRuntime.jsx(RadioInput__default["default"].Group, _objectSpread(_objectSpread({
|
|
112
112
|
id: this.state.id,
|
|
113
113
|
name: this.props.name,
|
|
114
114
|
value: this.props.value,
|
|
@@ -123,7 +123,7 @@ var RadioField = /*#__PURE__*/function (_Component) {
|
|
|
123
123
|
directionProps: this.props.directionProps
|
|
124
124
|
}, utils.filterDataAttributes(this.props)), {}, {
|
|
125
125
|
children: this.props.children
|
|
126
|
-
})), jsxRuntime.jsx(FieldErrors__default[
|
|
126
|
+
})), 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 @@ RadioField.getDerivedStateFromProps = function (props, state) {
|
|
|
150
150
|
RadioField.propTypes = {};
|
|
151
151
|
var RadioField$1 = RadioField;
|
|
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"] = RadioField$1;
|
|
157
157
|
exports.version = version;
|
|
@@ -266,7 +266,7 @@ RadioField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
266
266
|
} : {};
|
|
267
267
|
var RadioField$1 = RadioField;
|
|
268
268
|
|
|
269
|
-
// NOTE: This string will be replaced
|
|
270
|
-
var version =
|
|
269
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
270
|
+
var version = "12.2.7";
|
|
271
271
|
|
|
272
272
|
export { RadioField$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/radio-field",
|
|
3
3
|
"description": "A controlled radio input component 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-radio-field.cjs.js",
|
|
20
19
|
"module": "dist/commercetools-uikit-radio-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/radio-input": "12.2.
|
|
33
|
-
"@commercetools-uikit/spacings-stack": "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/radio-input": "12.2.7",
|
|
29
|
+
"@commercetools-uikit/spacings-stack": "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",
|