@commercetools-uikit/async-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.
|
@@ -39,12 +39,12 @@ var AsyncCreatableSelect__default = /*#__PURE__*/_interopDefault(AsyncCreatableS
|
|
|
39
39
|
var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
|
|
40
40
|
var LoadingSpinner__default = /*#__PURE__*/_interopDefault(LoadingSpinner);
|
|
41
41
|
|
|
42
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default[
|
|
42
|
+
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; }
|
|
43
43
|
|
|
44
|
-
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[
|
|
44
|
+
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; }
|
|
45
45
|
|
|
46
46
|
var LoadingIndicator = function LoadingIndicator() {
|
|
47
|
-
return jsxRuntime.jsx(LoadingSpinner__default[
|
|
47
|
+
return jsxRuntime.jsx(LoadingSpinner__default["default"], {
|
|
48
48
|
scale: "s"
|
|
49
49
|
});
|
|
50
50
|
};
|
|
@@ -61,10 +61,10 @@ var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
|
|
|
61
61
|
var intl = reactIntl.useIntl();
|
|
62
62
|
var theme = react.useTheme();
|
|
63
63
|
var placeholder = props.placeholder || intl.formatMessage(selectUtils.messages.placeholder);
|
|
64
|
-
return jsxRuntime.jsx(Constraints__default[
|
|
64
|
+
return jsxRuntime.jsx(Constraints__default["default"].Horizontal, {
|
|
65
65
|
max: props.horizontalConstraint,
|
|
66
66
|
children: jsxRuntime.jsx("div", _objectSpread(_objectSpread({}, utils.filterDataAttributes(props)), {}, {
|
|
67
|
-
children: jsxRuntime.jsx(AsyncCreatableSelect__default[
|
|
67
|
+
children: jsxRuntime.jsx(AsyncCreatableSelect__default["default"], {
|
|
68
68
|
"aria-label": props['aria-label'],
|
|
69
69
|
"aria-labelledby": props['aria-labelledby'],
|
|
70
70
|
autoFocus: props.isAutofocussed,
|
|
@@ -191,27 +191,27 @@ AsyncCreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
191
191
|
/**
|
|
192
192
|
* Horizontal size limit of the input fields.
|
|
193
193
|
*/
|
|
194
|
-
horizontalConstraint: PropTypes__default[
|
|
194
|
+
horizontalConstraint: PropTypes__default["default"].oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
197
|
* Indicates the input field has an error
|
|
198
198
|
*/
|
|
199
|
-
hasError: PropTypes__default[
|
|
199
|
+
hasError: PropTypes__default["default"].bool,
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* Indicates the input field has a warning
|
|
203
203
|
*/
|
|
204
|
-
hasWarning: PropTypes__default[
|
|
204
|
+
hasWarning: PropTypes__default["default"].bool,
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* Is the select read-only
|
|
208
208
|
*/
|
|
209
|
-
isReadOnly: PropTypes__default[
|
|
209
|
+
isReadOnly: PropTypes__default["default"].bool,
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* Icon to display on the left of the placeholder text and selected value. Has no effect when isMulti is enabled.
|
|
213
213
|
*/
|
|
214
|
-
iconLeft: PropTypes__default[
|
|
214
|
+
iconLeft: PropTypes__default["default"].node,
|
|
215
215
|
// react-select base props
|
|
216
216
|
//
|
|
217
217
|
// Currently unsupported props are commented out. In case you need one of
|
|
@@ -224,136 +224,136 @@ AsyncCreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
224
224
|
/**
|
|
225
225
|
* Aria label (for assistive tech)
|
|
226
226
|
*/
|
|
227
|
-
'aria-label': PropTypes__default[
|
|
227
|
+
'aria-label': PropTypes__default["default"].string,
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* HTML ID of an element that should be used as the label (for assistive tech)
|
|
231
231
|
*/
|
|
232
|
-
'aria-labelledby': PropTypes__default[
|
|
232
|
+
'aria-labelledby': PropTypes__default["default"].string,
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
235
|
* Focus the control when it is mounted
|
|
236
236
|
*/
|
|
237
|
-
isAutofocussed: PropTypes__default[
|
|
237
|
+
isAutofocussed: PropTypes__default["default"].bool,
|
|
238
238
|
// original: autoFocus
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* Remove the currently focused option when the user presses backspace
|
|
242
242
|
*/
|
|
243
|
-
backspaceRemovesValue: PropTypes__default[
|
|
243
|
+
backspaceRemovesValue: PropTypes__default["default"].bool,
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* Map of components to overwrite the default ones, see [what components you can override](https://react-select.com/components)
|
|
247
247
|
*/
|
|
248
|
-
components: PropTypes__default[
|
|
248
|
+
components: PropTypes__default["default"].objectOf(PropTypes__default["default"].func),
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
251
|
* Custom method to filter whether an option should be displayed in the menu
|
|
252
252
|
*/
|
|
253
|
-
filterOption: PropTypes__default[
|
|
253
|
+
filterOption: PropTypes__default["default"].func,
|
|
254
254
|
// This forwarded as react-select's "inputId"
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
257
|
* The id of the search input
|
|
258
258
|
*/
|
|
259
|
-
id: PropTypes__default[
|
|
259
|
+
id: PropTypes__default["default"].string,
|
|
260
260
|
// This is forwarded as react-select's "id"
|
|
261
|
-
inputValue: PropTypes__default[
|
|
261
|
+
inputValue: PropTypes__default["default"].string,
|
|
262
262
|
|
|
263
263
|
/**
|
|
264
264
|
* The id to set on the SelectContainer component
|
|
265
265
|
*/
|
|
266
|
-
containerId: PropTypes__default[
|
|
266
|
+
containerId: PropTypes__default["default"].string,
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
269
|
* Is the select value clearable
|
|
270
270
|
*/
|
|
271
|
-
isClearable: PropTypes__default[
|
|
271
|
+
isClearable: PropTypes__default["default"].bool,
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
274
|
* Is the select disabled
|
|
275
275
|
*/
|
|
276
|
-
isDisabled: PropTypes__default[
|
|
276
|
+
isDisabled: PropTypes__default["default"].bool,
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* Override the built-in logic to detect whether an option is disabled
|
|
280
280
|
*/
|
|
281
|
-
isOptionDisabled: PropTypes__default[
|
|
281
|
+
isOptionDisabled: PropTypes__default["default"].func,
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
284
|
* Support multiple selected options
|
|
285
285
|
*/
|
|
286
|
-
isMulti: PropTypes__default[
|
|
286
|
+
isMulti: PropTypes__default["default"].bool,
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
289
|
* Whether to enable search functionality
|
|
290
290
|
*/
|
|
291
|
-
isSearchable: PropTypes__default[
|
|
291
|
+
isSearchable: PropTypes__default["default"].bool,
|
|
292
292
|
|
|
293
293
|
/**
|
|
294
294
|
* Maximum height of the menu before scrolling
|
|
295
295
|
*/
|
|
296
|
-
maxMenuHeight: PropTypes__default[
|
|
296
|
+
maxMenuHeight: PropTypes__default["default"].number,
|
|
297
297
|
|
|
298
298
|
/**
|
|
299
299
|
* Dom element to portal the select menu to
|
|
300
300
|
*/
|
|
301
|
-
menuPortalTarget: PropTypes__default[
|
|
301
|
+
menuPortalTarget: PropTypes__default["default"].instanceOf(utils.SafeHTMLElement),
|
|
302
302
|
|
|
303
303
|
/**
|
|
304
304
|
* z-index value for the menu portal
|
|
305
305
|
*/
|
|
306
|
-
menuPortalZIndex: PropTypes__default[
|
|
306
|
+
menuPortalZIndex: PropTypes__default["default"].number.isRequired,
|
|
307
307
|
|
|
308
308
|
/**
|
|
309
309
|
* whether the menu should block scroll while open
|
|
310
310
|
*/
|
|
311
|
-
menuShouldBlockScroll: PropTypes__default[
|
|
311
|
+
menuShouldBlockScroll: PropTypes__default["default"].bool,
|
|
312
312
|
|
|
313
313
|
/**
|
|
314
314
|
* Name of the HTML Input (optional - without this, no input will be rendered)
|
|
315
315
|
*/
|
|
316
|
-
name: PropTypes__default[
|
|
316
|
+
name: PropTypes__default["default"].string,
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* 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.
|
|
320
320
|
*/
|
|
321
|
-
noOptionsMessage: PropTypes__default[
|
|
321
|
+
noOptionsMessage: PropTypes__default["default"].func,
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
324
|
* Handle blur events on the control
|
|
325
325
|
*/
|
|
326
|
-
onBlur: PropTypes__default[
|
|
326
|
+
onBlur: PropTypes__default["default"].func,
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
329
|
* 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`.
|
|
330
330
|
*/
|
|
331
|
-
onChange: PropTypes__default[
|
|
331
|
+
onChange: PropTypes__default["default"].func.isRequired,
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
334
|
* Handle focus events on the control
|
|
335
335
|
*/
|
|
336
|
-
onFocus: PropTypes__default[
|
|
336
|
+
onFocus: PropTypes__default["default"].func,
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
339
|
* Handle change events on the input
|
|
340
340
|
*/
|
|
341
|
-
onInputChange: PropTypes__default[
|
|
341
|
+
onInputChange: PropTypes__default["default"].func,
|
|
342
342
|
|
|
343
343
|
/**
|
|
344
344
|
* Placeholder text for the select value
|
|
345
345
|
*/
|
|
346
|
-
placeholder: PropTypes__default[
|
|
346
|
+
placeholder: PropTypes__default["default"].string,
|
|
347
347
|
|
|
348
348
|
/**
|
|
349
349
|
* Sets the tabIndex attribute on the input
|
|
350
350
|
*/
|
|
351
|
-
tabIndex: PropTypes__default[
|
|
351
|
+
tabIndex: PropTypes__default["default"].string,
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
354
|
* Select the currently focused option when the user presses tab
|
|
355
355
|
*/
|
|
356
|
-
tabSelectsValue: PropTypes__default[
|
|
356
|
+
tabSelectsValue: PropTypes__default["default"].bool,
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
359
|
* The value of the select; reflected by the selected option
|
|
@@ -365,74 +365,74 @@ AsyncCreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
365
365
|
rest[_key - 1] = arguments[_key];
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
-
return props.isMulti ? PropTypes__default[
|
|
369
|
-
value: PropTypes__default[
|
|
370
|
-
})).apply(void 0, _concatInstanceProperty__default[
|
|
371
|
-
value: PropTypes__default[
|
|
372
|
-
}).apply(void 0, _concatInstanceProperty__default[
|
|
368
|
+
return props.isMulti ? PropTypes__default["default"].arrayOf(PropTypes__default["default"].shape({
|
|
369
|
+
value: PropTypes__default["default"].string.isRequired
|
|
370
|
+
})).apply(void 0, _concatInstanceProperty__default["default"](_context = [props]).call(_context, rest)) : PropTypes__default["default"].shape({
|
|
371
|
+
value: PropTypes__default["default"].string.isRequired
|
|
372
|
+
}).apply(void 0, _concatInstanceProperty__default["default"](_context2 = [props]).call(_context2, rest));
|
|
373
373
|
},
|
|
374
374
|
// Async props
|
|
375
375
|
|
|
376
376
|
/**
|
|
377
377
|
* The default set of options to show before the user starts searching. When set to true, the results for loadOptions('') will be autoloaded.
|
|
378
378
|
*/
|
|
379
|
-
defaultOptions: PropTypes__default[
|
|
380
|
-
value: PropTypes__default[
|
|
379
|
+
defaultOptions: PropTypes__default["default"].oneOfType([PropTypes__default["default"].bool, PropTypes__default["default"].arrayOf(PropTypes__default["default"].shape({
|
|
380
|
+
value: PropTypes__default["default"].string.isRequired
|
|
381
381
|
}))]),
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
384
|
* Function that returns a promise, which is the set of options to be used once the promise resolves.
|
|
385
385
|
*/
|
|
386
|
-
loadOptions: PropTypes__default[
|
|
386
|
+
loadOptions: PropTypes__default["default"].func.isRequired,
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
389
|
* If cacheOptions is truthy, then the loaded data will be cached. The cache will remain until cacheOptions changes value.
|
|
390
390
|
*/
|
|
391
|
-
cacheOptions: PropTypes__default[
|
|
391
|
+
cacheOptions: PropTypes__default["default"].any,
|
|
392
392
|
// Creatable props
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* 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.
|
|
396
396
|
*/
|
|
397
|
-
allowCreateWhileLoading: PropTypes__default[
|
|
397
|
+
allowCreateWhileLoading: PropTypes__default["default"].bool,
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
400
|
* Gets the label for the "create new ..." option in the menu. Is given the current input value.
|
|
401
401
|
*/
|
|
402
|
-
formatCreateLabel: PropTypes__default[
|
|
402
|
+
formatCreateLabel: PropTypes__default["default"].func,
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
405
|
* Determines whether the "create new ..." option should be displayed based on the current input value, select value and options array.
|
|
406
406
|
*/
|
|
407
|
-
isValidNewOption: PropTypes__default[
|
|
407
|
+
isValidNewOption: PropTypes__default["default"].func,
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
410
|
* Returns the data for the new option when it is created. Used to display the value, and is passed to onChange.
|
|
411
411
|
*/
|
|
412
|
-
getNewOptionData: PropTypes__default[
|
|
412
|
+
getNewOptionData: PropTypes__default["default"].func,
|
|
413
413
|
|
|
414
414
|
/**
|
|
415
415
|
* 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.
|
|
416
416
|
*/
|
|
417
|
-
onCreateOption: PropTypes__default[
|
|
417
|
+
onCreateOption: PropTypes__default["default"].func,
|
|
418
418
|
|
|
419
419
|
/**
|
|
420
420
|
* Sets the position of the createOption element in your options list.
|
|
421
421
|
*/
|
|
422
|
-
createOptionPosition: PropTypes__default[
|
|
422
|
+
createOptionPosition: PropTypes__default["default"].string,
|
|
423
423
|
|
|
424
424
|
/**
|
|
425
425
|
* Determines if option groups will be separated by a divider
|
|
426
426
|
*/
|
|
427
|
-
showOptionGroupDivider: PropTypes__default[
|
|
427
|
+
showOptionGroupDivider: PropTypes__default["default"].bool
|
|
428
428
|
} : {};
|
|
429
429
|
utils.addStaticFields(AsyncCreatableSelectInput, _objectSpread(_objectSpread(_objectSpread({}, reactSelect.components), customizedComponents), {}, {
|
|
430
430
|
isTouched: AsyncCreatableSelectInput.isTouched
|
|
431
431
|
}));
|
|
432
432
|
var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
|
|
433
433
|
|
|
434
|
-
// NOTE: This string will be replaced
|
|
435
|
-
var version =
|
|
434
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
435
|
+
var version = "12.2.7";
|
|
436
436
|
|
|
437
|
-
exports[
|
|
437
|
+
exports["default"] = AsyncCreatableSelectInput$1;
|
|
438
438
|
exports.version = version;
|
|
@@ -37,12 +37,12 @@ var AsyncCreatableSelect__default = /*#__PURE__*/_interopDefault(AsyncCreatableS
|
|
|
37
37
|
var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
|
|
38
38
|
var LoadingSpinner__default = /*#__PURE__*/_interopDefault(LoadingSpinner);
|
|
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
|
|
|
44
44
|
var LoadingIndicator = function LoadingIndicator() {
|
|
45
|
-
return jsxRuntime.jsx(LoadingSpinner__default[
|
|
45
|
+
return jsxRuntime.jsx(LoadingSpinner__default["default"], {
|
|
46
46
|
scale: "s"
|
|
47
47
|
});
|
|
48
48
|
};
|
|
@@ -59,10 +59,10 @@ var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
|
|
|
59
59
|
var intl = reactIntl.useIntl();
|
|
60
60
|
var theme = react.useTheme();
|
|
61
61
|
var placeholder = props.placeholder || intl.formatMessage(selectUtils.messages.placeholder);
|
|
62
|
-
return jsxRuntime.jsx(Constraints__default[
|
|
62
|
+
return jsxRuntime.jsx(Constraints__default["default"].Horizontal, {
|
|
63
63
|
max: props.horizontalConstraint,
|
|
64
64
|
children: jsxRuntime.jsx("div", _objectSpread(_objectSpread({}, utils.filterDataAttributes(props)), {}, {
|
|
65
|
-
children: jsxRuntime.jsx(AsyncCreatableSelect__default[
|
|
65
|
+
children: jsxRuntime.jsx(AsyncCreatableSelect__default["default"], {
|
|
66
66
|
"aria-label": props['aria-label'],
|
|
67
67
|
"aria-labelledby": props['aria-labelledby'],
|
|
68
68
|
autoFocus: props.isAutofocussed,
|
|
@@ -191,8 +191,8 @@ utils.addStaticFields(AsyncCreatableSelectInput, _objectSpread(_objectSpread(_ob
|
|
|
191
191
|
}));
|
|
192
192
|
var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
|
|
193
193
|
|
|
194
|
-
// NOTE: This string will be replaced
|
|
195
|
-
var version =
|
|
194
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
195
|
+
var version = "12.2.7";
|
|
196
196
|
|
|
197
|
-
exports[
|
|
197
|
+
exports["default"] = AsyncCreatableSelectInput$1;
|
|
198
198
|
exports.version = version;
|
|
@@ -411,7 +411,7 @@ addStaticFields(AsyncCreatableSelectInput, _objectSpread(_objectSpread(_objectSp
|
|
|
411
411
|
}));
|
|
412
412
|
var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
|
|
413
413
|
|
|
414
|
-
// NOTE: This string will be replaced
|
|
415
|
-
var version =
|
|
414
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
415
|
+
var version = "12.2.7";
|
|
416
416
|
|
|
417
417
|
export { AsyncCreatableSelectInput$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/async-creatable-select-input",
|
|
3
3
|
"description": "An input component getting a selection from an asynchronously loaded list from the user, and where options can 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,21 +18,18 @@
|
|
|
19
18
|
"main": "dist/commercetools-uikit-async-creatable-select-input.cjs.js",
|
|
20
19
|
"module": "dist/commercetools-uikit-async-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/loading-spinner": "12.2.
|
|
32
|
-
"@commercetools-uikit/select-utils": "12.2.
|
|
33
|
-
"@commercetools-uikit/spacings": "12.2.
|
|
34
|
-
"@commercetools-uikit/text": "12.2.
|
|
35
|
-
"@commercetools-uikit/utils": "12.2.
|
|
36
|
-
"@emotion/is-prop-valid": "1.1.
|
|
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/loading-spinner": "12.2.5",
|
|
28
|
+
"@commercetools-uikit/select-utils": "12.2.7",
|
|
29
|
+
"@commercetools-uikit/spacings": "12.2.5",
|
|
30
|
+
"@commercetools-uikit/text": "12.2.5",
|
|
31
|
+
"@commercetools-uikit/utils": "12.2.5",
|
|
32
|
+
"@emotion/is-prop-valid": "1.1.1",
|
|
37
33
|
"@emotion/react": "^11.4.0",
|
|
38
34
|
"@emotion/styled": "^11.3.0",
|
|
39
35
|
"lodash": "4.17.21",
|
|
@@ -43,7 +39,7 @@
|
|
|
43
39
|
"devDependencies": {
|
|
44
40
|
"react": "17.0.2",
|
|
45
41
|
"react-dom": "17.0.2",
|
|
46
|
-
"react-intl": "5.
|
|
42
|
+
"react-intl": "5.21.2"
|
|
47
43
|
},
|
|
48
44
|
"peerDependencies": {
|
|
49
45
|
"react": "17.x",
|