@commercetools-uikit/async-select-input 19.26.0 → 20.0.0
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.
|
@@ -12,7 +12,6 @@ var _Object$defineProperties = require('@babel/runtime-corejs3/core-js-stable/ob
|
|
|
12
12
|
var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
13
13
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
14
14
|
var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
15
|
-
var _pt = require('prop-types');
|
|
16
15
|
var reactIntl = require('react-intl');
|
|
17
16
|
var isEmpty = require('lodash/isEmpty');
|
|
18
17
|
var reactSelect = require('react-select');
|
|
@@ -34,7 +33,6 @@ var _forEachInstanceProperty__default = /*#__PURE__*/_interopDefault(_forEachIns
|
|
|
34
33
|
var _Object$getOwnPropertyDescriptors__default = /*#__PURE__*/_interopDefault(_Object$getOwnPropertyDescriptors);
|
|
35
34
|
var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$defineProperties);
|
|
36
35
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
37
|
-
var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
38
36
|
var isEmpty__default = /*#__PURE__*/_interopDefault(isEmpty);
|
|
39
37
|
var AsyncSelect__default = /*#__PURE__*/_interopDefault(AsyncSelect);
|
|
40
38
|
var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
|
|
@@ -208,24 +206,6 @@ const AsyncSelectInput = _ref => {
|
|
|
208
206
|
}))
|
|
209
207
|
});
|
|
210
208
|
};
|
|
211
|
-
AsyncSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
212
|
-
horizontalConstraint: _pt__default["default"].oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
|
|
213
|
-
hasError: _pt__default["default"].bool,
|
|
214
|
-
hasWarning: _pt__default["default"].bool,
|
|
215
|
-
isReadOnly: _pt__default["default"].bool,
|
|
216
|
-
isAutofocussed: _pt__default["default"].bool,
|
|
217
|
-
isCondensed: _pt__default["default"].bool,
|
|
218
|
-
menuPortalZIndex: _pt__default["default"].number,
|
|
219
|
-
onBlur: _pt__default["default"].func,
|
|
220
|
-
onChange: _pt__default["default"].func,
|
|
221
|
-
loadingMessage: _pt__default["default"].oneOfType([_pt__default["default"].string, _pt__default["default"].func]),
|
|
222
|
-
defaultOptions: _pt__default["default"].oneOfType([_pt__default["default"].any, _pt__default["default"].bool]),
|
|
223
|
-
showOptionGroupDivider: _pt__default["default"].bool,
|
|
224
|
-
iconLeft: _pt__default["default"].node,
|
|
225
|
-
optionStyle: _pt__default["default"].oneOf(['list', 'checkbox']),
|
|
226
|
-
appearance: _pt__default["default"].oneOf(['default', 'filter']),
|
|
227
|
-
count: _pt__default["default"].number
|
|
228
|
-
} : {};
|
|
229
209
|
AsyncSelectInput.displayName = 'AsyncSelectInput';
|
|
230
210
|
|
|
231
211
|
/**
|
|
@@ -277,7 +257,7 @@ AsyncSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
277
257
|
var AsyncSelectInput$1 = AsyncSelectInput;
|
|
278
258
|
|
|
279
259
|
// NOTE: This string will be replaced on build time with the package version.
|
|
280
|
-
var version = "
|
|
260
|
+
var version = "20.0.0";
|
|
281
261
|
|
|
282
262
|
exports["default"] = AsyncSelectInput$1;
|
|
283
263
|
exports.version = version;
|
|
@@ -12,7 +12,6 @@ var _Object$defineProperties = require('@babel/runtime-corejs3/core-js-stable/ob
|
|
|
12
12
|
var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
13
13
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
14
14
|
var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
15
|
-
require('prop-types');
|
|
16
15
|
var reactIntl = require('react-intl');
|
|
17
16
|
var isEmpty = require('lodash/isEmpty');
|
|
18
17
|
var reactSelect = require('react-select');
|
|
@@ -205,7 +204,6 @@ const AsyncSelectInput = _ref => {
|
|
|
205
204
|
}))
|
|
206
205
|
});
|
|
207
206
|
};
|
|
208
|
-
AsyncSelectInput.propTypes = {};
|
|
209
207
|
AsyncSelectInput.displayName = 'AsyncSelectInput';
|
|
210
208
|
|
|
211
209
|
/**
|
|
@@ -257,7 +255,7 @@ AsyncSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
257
255
|
var AsyncSelectInput$1 = AsyncSelectInput;
|
|
258
256
|
|
|
259
257
|
// NOTE: This string will be replaced on build time with the package version.
|
|
260
|
-
var version = "
|
|
258
|
+
var version = "20.0.0";
|
|
261
259
|
|
|
262
260
|
exports["default"] = AsyncSelectInput$1;
|
|
263
261
|
exports.version = version;
|
|
@@ -8,7 +8,6 @@ import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/obje
|
|
|
8
8
|
import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
9
9
|
import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
10
10
|
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
|
|
11
|
-
import _pt from 'prop-types';
|
|
12
11
|
import { useIntl } from 'react-intl';
|
|
13
12
|
import isEmpty from 'lodash/isEmpty';
|
|
14
13
|
import { components } from 'react-select';
|
|
@@ -188,24 +187,6 @@ const AsyncSelectInput = _ref => {
|
|
|
188
187
|
}))
|
|
189
188
|
});
|
|
190
189
|
};
|
|
191
|
-
AsyncSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
192
|
-
horizontalConstraint: _pt.oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
|
|
193
|
-
hasError: _pt.bool,
|
|
194
|
-
hasWarning: _pt.bool,
|
|
195
|
-
isReadOnly: _pt.bool,
|
|
196
|
-
isAutofocussed: _pt.bool,
|
|
197
|
-
isCondensed: _pt.bool,
|
|
198
|
-
menuPortalZIndex: _pt.number,
|
|
199
|
-
onBlur: _pt.func,
|
|
200
|
-
onChange: _pt.func,
|
|
201
|
-
loadingMessage: _pt.oneOfType([_pt.string, _pt.func]),
|
|
202
|
-
defaultOptions: _pt.oneOfType([_pt.any, _pt.bool]),
|
|
203
|
-
showOptionGroupDivider: _pt.bool,
|
|
204
|
-
iconLeft: _pt.node,
|
|
205
|
-
optionStyle: _pt.oneOf(['list', 'checkbox']),
|
|
206
|
-
appearance: _pt.oneOf(['default', 'filter']),
|
|
207
|
-
count: _pt.number
|
|
208
|
-
} : {};
|
|
209
190
|
AsyncSelectInput.displayName = 'AsyncSelectInput';
|
|
210
191
|
|
|
211
192
|
/**
|
|
@@ -257,6 +238,6 @@ AsyncSelectInput.ValueContainer = components.ValueContainer;
|
|
|
257
238
|
var AsyncSelectInput$1 = AsyncSelectInput;
|
|
258
239
|
|
|
259
240
|
// NOTE: This string will be replaced on build time with the package version.
|
|
260
|
-
var version = "
|
|
241
|
+
var version = "20.0.0";
|
|
261
242
|
|
|
262
243
|
export { AsyncSelectInput$1 as default, version };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ReactNode, ComponentType } from 'react';
|
|
1
|
+
import type { ReactNode, ComponentType, JSX } from 'react';
|
|
2
2
|
import { type ActionMeta, type GroupBase, type OptionsOrGroups, type CommonPropsAndClassName, type MenuPlacement, type MenuPosition } from 'react-select';
|
|
3
3
|
import { type AsyncProps } from 'react-select/async';
|
|
4
4
|
type TCustomEvent = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/async-select-input",
|
|
3
3
|
"description": "An input component getting a selection from an asynchronously loaded list from the user.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "20.0.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,28 +21,27 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/constraints": "
|
|
25
|
-
"@commercetools-uikit/design-system": "
|
|
26
|
-
"@commercetools-uikit/icons": "
|
|
27
|
-
"@commercetools-uikit/loading-spinner": "
|
|
28
|
-
"@commercetools-uikit/select-utils": "
|
|
29
|
-
"@commercetools-uikit/spacings": "
|
|
30
|
-
"@commercetools-uikit/text": "
|
|
31
|
-
"@commercetools-uikit/utils": "
|
|
24
|
+
"@commercetools-uikit/constraints": "20.0.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "20.0.0",
|
|
26
|
+
"@commercetools-uikit/icons": "20.0.0",
|
|
27
|
+
"@commercetools-uikit/loading-spinner": "20.0.0",
|
|
28
|
+
"@commercetools-uikit/select-utils": "20.0.0",
|
|
29
|
+
"@commercetools-uikit/spacings": "20.0.0",
|
|
30
|
+
"@commercetools-uikit/text": "20.0.0",
|
|
31
|
+
"@commercetools-uikit/utils": "20.0.0",
|
|
32
32
|
"@emotion/react": "^11.10.5",
|
|
33
33
|
"@emotion/styled": "^11.10.5",
|
|
34
34
|
"lodash": "4.17.21",
|
|
35
|
-
"prop-types": "15.8.1",
|
|
36
35
|
"react-select": "5.10.1"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
39
|
-
"react": "
|
|
40
|
-
"react-dom": "
|
|
41
|
-
"react-intl": "^
|
|
38
|
+
"react": "19.0.0",
|
|
39
|
+
"react-dom": "19.0.0",
|
|
40
|
+
"react-intl": "^7.1.4"
|
|
42
41
|
},
|
|
43
42
|
"peerDependencies": {
|
|
44
|
-
"react": "
|
|
45
|
-
"react-dom": "
|
|
46
|
-
"react-intl": "
|
|
43
|
+
"react": "19.x",
|
|
44
|
+
"react-dom": "19.x",
|
|
45
|
+
"react-intl": "7.x"
|
|
47
46
|
}
|
|
48
47
|
}
|