@commercetools-uikit/creatable-select-input 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.
|
@@ -37,9 +37,9 @@ var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
|
|
|
37
37
|
var CreatableSelect__default = /*#__PURE__*/_interopDefault(CreatableSelect);
|
|
38
38
|
var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
|
|
39
39
|
|
|
40
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default[
|
|
40
|
+
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; }
|
|
41
41
|
|
|
42
|
-
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[
|
|
42
|
+
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; }
|
|
43
43
|
var customizedComponents = {
|
|
44
44
|
DropdownIndicator: selectUtils.DropdownIndicator,
|
|
45
45
|
ClearIndicator: selectUtils.ClearIndicator,
|
|
@@ -50,10 +50,10 @@ var CreatableSelectInput = function CreatableSelectInput(props) {
|
|
|
50
50
|
var intl = reactIntl.useIntl();
|
|
51
51
|
var theme = react.useTheme();
|
|
52
52
|
var placeholder = props.placeholder || intl.formatMessage(selectUtils.messages.placeholder);
|
|
53
|
-
return jsxRuntime.jsx(Constraints__default[
|
|
53
|
+
return jsxRuntime.jsx(Constraints__default["default"].Horizontal, {
|
|
54
54
|
max: props.horizontalConstraint,
|
|
55
55
|
children: jsxRuntime.jsx("div", _objectSpread(_objectSpread({}, utils.filterDataAttributes(props)), {}, {
|
|
56
|
-
children: jsxRuntime.jsx(CreatableSelect__default[
|
|
56
|
+
children: jsxRuntime.jsx(CreatableSelect__default["default"], {
|
|
57
57
|
"aria-label": props['aria-label'],
|
|
58
58
|
"aria-labelledby": props['aria-labelledby'],
|
|
59
59
|
autoFocus: props.isAutofocussed,
|
|
@@ -168,27 +168,27 @@ CreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
168
168
|
/**
|
|
169
169
|
* Horizontal size limit of the input fields.
|
|
170
170
|
*/
|
|
171
|
-
horizontalConstraint: PropTypes__default[
|
|
171
|
+
horizontalConstraint: PropTypes__default["default"].oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* Indicates the input field has an error
|
|
175
175
|
*/
|
|
176
|
-
hasError: PropTypes__default[
|
|
176
|
+
hasError: PropTypes__default["default"].bool,
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
179
|
* Indicates the input field has a warning
|
|
180
180
|
*/
|
|
181
|
-
hasWarning: PropTypes__default[
|
|
181
|
+
hasWarning: PropTypes__default["default"].bool,
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
184
|
* Disables the select input as it is read-only
|
|
185
185
|
*/
|
|
186
|
-
isReadOnly: PropTypes__default[
|
|
186
|
+
isReadOnly: PropTypes__default["default"].bool,
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* Icon to display on the left of the placeholder text and selected value. Has no effect when `isMulti` is enabled.
|
|
190
190
|
*/
|
|
191
|
-
iconLeft: PropTypes__default[
|
|
191
|
+
iconLeft: PropTypes__default["default"].node,
|
|
192
192
|
// react-select base props
|
|
193
193
|
//
|
|
194
194
|
// Currently unsupported props are commented out. In case you need one of
|
|
@@ -201,154 +201,154 @@ CreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
201
201
|
/**
|
|
202
202
|
* Aria label (for assistive tech)
|
|
203
203
|
*/
|
|
204
|
-
'aria-label': PropTypes__default[
|
|
204
|
+
'aria-label': PropTypes__default["default"].string,
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* HTML ID of an element that should be used as the label (for assistive tech)
|
|
208
208
|
*/
|
|
209
|
-
'aria-labelledby': PropTypes__default[
|
|
209
|
+
'aria-labelledby': PropTypes__default["default"].string,
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* Focus the control when it is mounted
|
|
213
213
|
*/
|
|
214
|
-
isAutofocussed: PropTypes__default[
|
|
214
|
+
isAutofocussed: PropTypes__default["default"].bool,
|
|
215
215
|
// original: autoFocus
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
218
|
* Remove the currently focused option when the user presses backspace
|
|
219
219
|
*/
|
|
220
|
-
backspaceRemovesValue: PropTypes__default[
|
|
220
|
+
backspaceRemovesValue: PropTypes__default["default"].bool,
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* Map of components to overwrite the default ones, see [what components you can override](https://react-select.com/components)
|
|
224
224
|
*/
|
|
225
|
-
components: PropTypes__default[
|
|
225
|
+
components: PropTypes__default["default"].objectOf(PropTypes__default["default"].func),
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* Custom method to filter whether an option should be displayed in the menu
|
|
229
229
|
*/
|
|
230
|
-
filterOption: PropTypes__default[
|
|
230
|
+
filterOption: PropTypes__default["default"].func,
|
|
231
231
|
// This forwarded as react-select's "inputId"
|
|
232
232
|
|
|
233
233
|
/**
|
|
234
234
|
* The id of the search input
|
|
235
235
|
*/
|
|
236
|
-
id: PropTypes__default[
|
|
236
|
+
id: PropTypes__default["default"].string,
|
|
237
237
|
// This is forwarded as react-select's "id"
|
|
238
|
-
inputValue: PropTypes__default[
|
|
238
|
+
inputValue: PropTypes__default["default"].string,
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* The id to set on the SelectContainer component
|
|
242
242
|
*/
|
|
243
|
-
containerId: PropTypes__default[
|
|
243
|
+
containerId: PropTypes__default["default"].string,
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* Is the select value clearable
|
|
247
247
|
*/
|
|
248
|
-
isClearable: PropTypes__default[
|
|
248
|
+
isClearable: PropTypes__default["default"].bool,
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
251
|
* Is the select disabled
|
|
252
252
|
*/
|
|
253
|
-
isDisabled: PropTypes__default[
|
|
253
|
+
isDisabled: PropTypes__default["default"].bool,
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
256
|
* Override the built-in logic to detect whether an option is disabled
|
|
257
257
|
*/
|
|
258
|
-
isOptionDisabled: PropTypes__default[
|
|
258
|
+
isOptionDisabled: PropTypes__default["default"].func,
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* Support multiple selected options
|
|
262
262
|
*/
|
|
263
|
-
isMulti: PropTypes__default[
|
|
263
|
+
isMulti: PropTypes__default["default"].bool,
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
266
|
* Whether to enable search functionality
|
|
267
267
|
*/
|
|
268
|
-
isSearchable: PropTypes__default[
|
|
268
|
+
isSearchable: PropTypes__default["default"].bool,
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* Maximum height of the menu before scrolling
|
|
272
272
|
*/
|
|
273
|
-
maxMenuHeight: PropTypes__default[
|
|
273
|
+
maxMenuHeight: PropTypes__default["default"].number,
|
|
274
274
|
|
|
275
275
|
/**
|
|
276
276
|
* Dom element to portal the select menu to
|
|
277
277
|
*/
|
|
278
|
-
menuPortalTarget: PropTypes__default[
|
|
278
|
+
menuPortalTarget: PropTypes__default["default"].instanceOf(utils.SafeHTMLElement),
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
281
|
* z-index value for the menu portal
|
|
282
282
|
*/
|
|
283
|
-
menuPortalZIndex: PropTypes__default[
|
|
283
|
+
menuPortalZIndex: PropTypes__default["default"].number.isRequired,
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
286
|
* whether the menu should block scroll while open
|
|
287
287
|
*/
|
|
288
|
-
menuShouldBlockScroll: PropTypes__default[
|
|
288
|
+
menuShouldBlockScroll: PropTypes__default["default"].bool,
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* Name of the HTML Input (optional - without this, no input will be rendered)
|
|
292
292
|
*/
|
|
293
|
-
name: PropTypes__default[
|
|
293
|
+
name: PropTypes__default["default"].string,
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
296
|
* Can be used to render a custom value when there are no options (either because of no search results, or all options have been used, or there were none in the first place). Gets called with `{ inputValue: String }`. `inputValue` will be an empty string when no search text is present.
|
|
297
297
|
*/
|
|
298
|
-
noOptionsMessage: PropTypes__default[
|
|
298
|
+
noOptionsMessage: PropTypes__default["default"].func,
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
301
|
* Handle blur events on the control
|
|
302
302
|
*/
|
|
303
|
-
onBlur: PropTypes__default[
|
|
303
|
+
onBlur: PropTypes__default["default"].func,
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Called with a fake event when value changes. The event's `target.name` will be the `name` supplied in props. The event's `target.value` will hold the value. The value will be the selected option, or an array of options in case `isMulti` is `true`.
|
|
307
307
|
* <br />
|
|
308
308
|
* Signature: `(event) => void`
|
|
309
309
|
*/
|
|
310
|
-
onChange: PropTypes__default[
|
|
310
|
+
onChange: PropTypes__default["default"].func.isRequired,
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* Handle focus events on the control
|
|
314
314
|
*/
|
|
315
|
-
onFocus: PropTypes__default[
|
|
315
|
+
onFocus: PropTypes__default["default"].func,
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* Handle change events on the input
|
|
319
319
|
*/
|
|
320
|
-
onInputChange: PropTypes__default[
|
|
320
|
+
onInputChange: PropTypes__default["default"].func,
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
323
|
* Array of options that populate the select menu
|
|
324
324
|
*/
|
|
325
|
-
options: PropTypes__default[
|
|
326
|
-
value: PropTypes__default[
|
|
327
|
-
}), PropTypes__default[
|
|
328
|
-
options: PropTypes__default[
|
|
329
|
-
value: PropTypes__default[
|
|
325
|
+
options: PropTypes__default["default"].arrayOf(PropTypes__default["default"].oneOfType([PropTypes__default["default"].shape({
|
|
326
|
+
value: PropTypes__default["default"].string.isRequired
|
|
327
|
+
}), PropTypes__default["default"].shape({
|
|
328
|
+
options: PropTypes__default["default"].arrayOf(PropTypes__default["default"].shape({
|
|
329
|
+
value: PropTypes__default["default"].string.isRequired
|
|
330
330
|
}))
|
|
331
331
|
})])),
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
334
|
* Determines if option groups will be separated by a divider
|
|
335
335
|
*/
|
|
336
|
-
showOptionGroupDivider: PropTypes__default[
|
|
336
|
+
showOptionGroupDivider: PropTypes__default["default"].bool,
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
339
|
* Placeholder text for the select value
|
|
340
340
|
*/
|
|
341
|
-
placeholder: PropTypes__default[
|
|
341
|
+
placeholder: PropTypes__default["default"].string,
|
|
342
342
|
|
|
343
343
|
/**
|
|
344
344
|
* Sets the tabIndex attribute on the input
|
|
345
345
|
*/
|
|
346
|
-
tabIndex: PropTypes__default[
|
|
346
|
+
tabIndex: PropTypes__default["default"].string,
|
|
347
347
|
|
|
348
348
|
/**
|
|
349
349
|
* Select the currently focused option when the user presses tab
|
|
350
350
|
*/
|
|
351
|
-
tabSelectsValue: PropTypes__default[
|
|
351
|
+
tabSelectsValue: PropTypes__default["default"].bool,
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
354
|
* The value of the select; reflected by the selected option
|
|
@@ -360,43 +360,43 @@ CreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
360
360
|
rest[_key - 1] = arguments[_key];
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
-
return props.isMulti ? PropTypes__default[
|
|
364
|
-
value: PropTypes__default[
|
|
365
|
-
})).apply(void 0, _concatInstanceProperty__default[
|
|
366
|
-
value: PropTypes__default[
|
|
367
|
-
}).apply(void 0, _concatInstanceProperty__default[
|
|
363
|
+
return props.isMulti ? PropTypes__default["default"].arrayOf(PropTypes__default["default"].shape({
|
|
364
|
+
value: PropTypes__default["default"].string.isRequired
|
|
365
|
+
})).apply(void 0, _concatInstanceProperty__default["default"](_context = [props]).call(_context, rest)) : PropTypes__default["default"].shape({
|
|
366
|
+
value: PropTypes__default["default"].string.isRequired
|
|
367
|
+
}).apply(void 0, _concatInstanceProperty__default["default"](_context2 = [props]).call(_context2, rest));
|
|
368
368
|
},
|
|
369
369
|
// Creatable props
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
372
|
* Allow options to be created while the isLoading prop is true. Useful to prevent the "create new ..." option being displayed while async results are still being loaded.
|
|
373
373
|
*/
|
|
374
|
-
allowCreateWhileLoading: PropTypes__default[
|
|
374
|
+
allowCreateWhileLoading: PropTypes__default["default"].bool,
|
|
375
375
|
|
|
376
376
|
/**
|
|
377
377
|
* Gets the label for the "create new ..." option in the menu. Is given the current input value.
|
|
378
378
|
*/
|
|
379
|
-
formatCreateLabel: PropTypes__default[
|
|
379
|
+
formatCreateLabel: PropTypes__default["default"].func,
|
|
380
380
|
|
|
381
381
|
/**
|
|
382
382
|
* Determines whether the "create new ..." option should be displayed based on the current input value, select value and options array.
|
|
383
383
|
*/
|
|
384
|
-
isValidNewOption: PropTypes__default[
|
|
384
|
+
isValidNewOption: PropTypes__default["default"].func,
|
|
385
385
|
|
|
386
386
|
/**
|
|
387
387
|
* Returns the data for the new option when it is created. Used to display the value, and is passed to onChange.
|
|
388
388
|
*/
|
|
389
|
-
getNewOptionData: PropTypes__default[
|
|
389
|
+
getNewOptionData: PropTypes__default["default"].func,
|
|
390
390
|
|
|
391
391
|
/**
|
|
392
392
|
* If provided, this will be called with the input value when a new option is created, and onChange will not be called. Use this when you need more control over what happens when new options are created.
|
|
393
393
|
*/
|
|
394
|
-
onCreateOption: PropTypes__default[
|
|
394
|
+
onCreateOption: PropTypes__default["default"].func,
|
|
395
395
|
|
|
396
396
|
/**
|
|
397
397
|
* Sets the position of the createOption element in your options list.
|
|
398
398
|
*/
|
|
399
|
-
createOptionPosition: PropTypes__default[
|
|
399
|
+
createOptionPosition: PropTypes__default["default"].string
|
|
400
400
|
} : {};
|
|
401
401
|
CreatableSelectInput.defaultProps = {
|
|
402
402
|
// Using "null" will ensure that the currently selected value disappears in
|
|
@@ -416,8 +416,8 @@ utils.addStaticFields(CreatableSelectInput, _objectSpread(_objectSpread(_objectS
|
|
|
416
416
|
}));
|
|
417
417
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
418
418
|
|
|
419
|
-
// NOTE: This string will be replaced
|
|
420
|
-
var version =
|
|
419
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
420
|
+
var version = "12.2.7";
|
|
421
421
|
|
|
422
|
-
exports[
|
|
422
|
+
exports["default"] = CreatableSelectInput$1;
|
|
423
423
|
exports.version = version;
|
|
@@ -35,9 +35,9 @@ var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defin
|
|
|
35
35
|
var CreatableSelect__default = /*#__PURE__*/_interopDefault(CreatableSelect);
|
|
36
36
|
var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
|
|
37
37
|
|
|
38
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default[
|
|
38
|
+
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; }
|
|
39
39
|
|
|
40
|
-
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[
|
|
40
|
+
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; }
|
|
41
41
|
var customizedComponents = {
|
|
42
42
|
DropdownIndicator: selectUtils.DropdownIndicator,
|
|
43
43
|
ClearIndicator: selectUtils.ClearIndicator,
|
|
@@ -48,10 +48,10 @@ var CreatableSelectInput = function CreatableSelectInput(props) {
|
|
|
48
48
|
var intl = reactIntl.useIntl();
|
|
49
49
|
var theme = react.useTheme();
|
|
50
50
|
var placeholder = props.placeholder || intl.formatMessage(selectUtils.messages.placeholder);
|
|
51
|
-
return jsxRuntime.jsx(Constraints__default[
|
|
51
|
+
return jsxRuntime.jsx(Constraints__default["default"].Horizontal, {
|
|
52
52
|
max: props.horizontalConstraint,
|
|
53
53
|
children: jsxRuntime.jsx("div", _objectSpread(_objectSpread({}, utils.filterDataAttributes(props)), {}, {
|
|
54
|
-
children: jsxRuntime.jsx(CreatableSelect__default[
|
|
54
|
+
children: jsxRuntime.jsx(CreatableSelect__default["default"], {
|
|
55
55
|
"aria-label": props['aria-label'],
|
|
56
56
|
"aria-labelledby": props['aria-labelledby'],
|
|
57
57
|
autoFocus: props.isAutofocussed,
|
|
@@ -181,8 +181,8 @@ utils.addStaticFields(CreatableSelectInput, _objectSpread(_objectSpread(_objectS
|
|
|
181
181
|
}));
|
|
182
182
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
183
183
|
|
|
184
|
-
// NOTE: This string will be replaced
|
|
185
|
-
var version =
|
|
184
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
185
|
+
var version = "12.2.7";
|
|
186
186
|
|
|
187
|
-
exports[
|
|
187
|
+
exports["default"] = CreatableSelectInput$1;
|
|
188
188
|
exports.version = version;
|
|
@@ -397,7 +397,7 @@ addStaticFields(CreatableSelectInput, _objectSpread(_objectSpread(_objectSpread(
|
|
|
397
397
|
}));
|
|
398
398
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
399
399
|
|
|
400
|
-
// NOTE: This string will be replaced
|
|
401
|
-
var version =
|
|
400
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
401
|
+
var version = "12.2.7";
|
|
402
402
|
|
|
403
403
|
export { CreatableSelectInput$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/creatable-select-input",
|
|
3
3
|
"description": "An input component getting a selection from the user, and where options can also be created by the user.",
|
|
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-creatable-select-input.cjs.js",
|
|
20
19
|
"module": "dist/commercetools-uikit-creatable-select-input.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/icons": "12.2.
|
|
31
|
-
"@commercetools-uikit/select-utils": "12.2.
|
|
32
|
-
"@commercetools-uikit/spacings": "12.2.
|
|
33
|
-
"@commercetools-uikit/text": "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/icons": "12.2.7",
|
|
27
|
+
"@commercetools-uikit/select-utils": "12.2.7",
|
|
28
|
+
"@commercetools-uikit/spacings": "12.2.5",
|
|
29
|
+
"@commercetools-uikit/text": "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
|
"lodash": "4.17.21",
|
|
@@ -41,7 +37,7 @@
|
|
|
41
37
|
"devDependencies": {
|
|
42
38
|
"react": "17.0.2",
|
|
43
39
|
"react-dom": "17.0.2",
|
|
44
|
-
"react-intl": "5.
|
|
40
|
+
"react-intl": "5.21.2"
|
|
45
41
|
},
|
|
46
42
|
"peerDependencies": {
|
|
47
43
|
"react": "17.x",
|