@commercetools-uikit/async-creatable-select-input 19.26.0 → 20.1.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.
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
6
6
  var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
7
- var _pt = require('prop-types');
8
7
  var _Array$isArray = require('@babel/runtime-corejs3/core-js-stable/array/is-array');
9
8
  var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
10
9
  var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
@@ -26,7 +25,6 @@ var jsxRuntime = require('@emotion/react/jsx-runtime');
26
25
 
27
26
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
28
27
 
29
- var _pt__default = /*#__PURE__*/_interopDefault(_pt);
30
28
  var _Array$isArray__default = /*#__PURE__*/_interopDefault(_Array$isArray);
31
29
  var _Object$keys__default = /*#__PURE__*/_interopDefault(_Object$keys);
32
30
  var _Object$getOwnPropertySymbols__default = /*#__PURE__*/_interopDefault(_Object$getOwnPropertySymbols);
@@ -195,19 +193,6 @@ const AsyncCreatableSelectInput = _ref => {
195
193
  }))
196
194
  });
197
195
  };
198
- AsyncCreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
199
- horizontalConstraint: _pt__default["default"].oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
200
- hasError: _pt__default["default"].bool,
201
- hasWarning: _pt__default["default"].bool,
202
- isReadOnly: _pt__default["default"].bool,
203
- iconLeft: _pt__default["default"].node,
204
- isAutofocussed: _pt__default["default"].bool,
205
- isCondensed: _pt__default["default"].bool,
206
- menuPortalZIndex: _pt__default["default"].number,
207
- onBlur: _pt__default["default"].func,
208
- onChange: _pt__default["default"].func,
209
- showOptionGroupDivider: _pt__default["default"].bool
210
- } : {};
211
196
  AsyncCreatableSelectInput.displayName = 'AsyncCreatableSelectInput';
212
197
 
213
198
  /**
@@ -259,7 +244,7 @@ AsyncCreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer
259
244
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
260
245
 
261
246
  // NOTE: This string will be replaced on build time with the package version.
262
- var version = "19.26.0";
247
+ var version = "20.1.0";
263
248
 
264
249
  exports["default"] = AsyncCreatableSelectInput$1;
265
250
  exports.version = version;
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
6
6
  var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
7
- require('prop-types');
8
7
  require('@babel/runtime-corejs3/core-js-stable/array/is-array');
9
8
  var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
10
9
  var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
@@ -189,7 +188,6 @@ const AsyncCreatableSelectInput = _ref => {
189
188
  }))
190
189
  });
191
190
  };
192
- AsyncCreatableSelectInput.propTypes = {};
193
191
  AsyncCreatableSelectInput.displayName = 'AsyncCreatableSelectInput';
194
192
 
195
193
  /**
@@ -241,7 +239,7 @@ AsyncCreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer
241
239
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
242
240
 
243
241
  // NOTE: This string will be replaced on build time with the package version.
244
- var version = "19.26.0";
242
+ var version = "20.1.0";
245
243
 
246
244
  exports["default"] = AsyncCreatableSelectInput$1;
247
245
  exports.version = version;
@@ -1,6 +1,5 @@
1
1
  import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
2
2
  import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
3
- import _pt from 'prop-types';
4
3
  import _Array$isArray from '@babel/runtime-corejs3/core-js-stable/array/is-array';
5
4
  import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
6
5
  import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
@@ -174,19 +173,6 @@ const AsyncCreatableSelectInput = _ref => {
174
173
  }))
175
174
  });
176
175
  };
177
- AsyncCreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
178
- horizontalConstraint: _pt.oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']),
179
- hasError: _pt.bool,
180
- hasWarning: _pt.bool,
181
- isReadOnly: _pt.bool,
182
- iconLeft: _pt.node,
183
- isAutofocussed: _pt.bool,
184
- isCondensed: _pt.bool,
185
- menuPortalZIndex: _pt.number,
186
- onBlur: _pt.func,
187
- onChange: _pt.func,
188
- showOptionGroupDivider: _pt.bool
189
- } : {};
190
176
  AsyncCreatableSelectInput.displayName = 'AsyncCreatableSelectInput';
191
177
 
192
178
  /**
@@ -238,6 +224,6 @@ AsyncCreatableSelectInput.ValueContainer = components.ValueContainer;
238
224
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
239
225
 
240
226
  // NOTE: This string will be replaced on build time with the package version.
241
- var version = "19.26.0";
227
+ var version = "20.1.0";
242
228
 
243
229
  export { AsyncCreatableSelectInput$1 as default, version };
@@ -1,4 +1,4 @@
1
- import type { ComponentType, ReactNode } from 'react';
1
+ import type { ComponentType, ReactNode, JSX } from 'react';
2
2
  import { type ActionMeta, type CommonPropsAndClassName, type GroupBase, type MenuPlacement, type MenuPosition } from 'react-select';
3
3
  import { type AsyncCreatableProps } from 'react-select/async-creatable';
4
4
  type TCustomEvent = {
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": "19.26.0",
4
+ "version": "20.1.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,29 +21,28 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/constraints": "19.26.0",
25
- "@commercetools-uikit/design-system": "19.26.0",
26
- "@commercetools-uikit/icons": "19.26.0",
27
- "@commercetools-uikit/loading-spinner": "19.26.0",
28
- "@commercetools-uikit/select-utils": "19.26.0",
29
- "@commercetools-uikit/spacings": "19.26.0",
30
- "@commercetools-uikit/text": "19.26.0",
31
- "@commercetools-uikit/utils": "19.26.0",
24
+ "@commercetools-uikit/constraints": "20.1.0",
25
+ "@commercetools-uikit/design-system": "20.1.0",
26
+ "@commercetools-uikit/icons": "20.1.0",
27
+ "@commercetools-uikit/loading-spinner": "20.1.0",
28
+ "@commercetools-uikit/select-utils": "20.1.0",
29
+ "@commercetools-uikit/spacings": "20.1.0",
30
+ "@commercetools-uikit/text": "20.1.0",
31
+ "@commercetools-uikit/utils": "20.1.0",
32
32
  "@emotion/is-prop-valid": "1.3.1",
33
33
  "@emotion/react": "^11.10.5",
34
34
  "@emotion/styled": "^11.10.5",
35
35
  "lodash": "4.17.21",
36
- "prop-types": "15.8.1",
37
36
  "react-select": "5.10.1"
38
37
  },
39
38
  "devDependencies": {
40
- "react": "17.0.2",
41
- "react-dom": "17.0.2",
42
- "react-intl": "^6.3.2"
39
+ "react": "19.1.0",
40
+ "react-dom": "19.1.0",
41
+ "react-intl": "^7.1.4"
43
42
  },
44
43
  "peerDependencies": {
45
- "react": "17.x",
46
- "react-dom": "17.x",
47
- "react-intl": "6.x"
44
+ "react": "19.x",
45
+ "react-dom": "19.x",
46
+ "react-intl": "7.x"
48
47
  }
49
48
  }