@commercetools-uikit/async-creatable-select-input 15.2.4 → 15.3.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.
@@ -15,7 +15,6 @@ var _Object$defineProperties = require('@babel/runtime-corejs3/core-js-stable/ob
15
15
  var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/object/define-property');
16
16
  var reactIntl = require('react-intl');
17
17
  var isEmpty = require('lodash/isEmpty');
18
- var react = require('@emotion/react');
19
18
  var reactSelect = require('react-select');
20
19
  var AsyncCreatableSelect = require('react-select/async-creatable');
21
20
  var Constraints = require('@commercetools-uikit/constraints');
@@ -68,7 +67,6 @@ var defaultProps = {
68
67
 
69
68
  var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
70
69
  var intl = reactIntl.useIntl();
71
- var theme = react.useTheme();
72
70
  var placeholder = props.placeholder || intl.formatMessage(selectUtils.messages.placeholder);
73
71
 
74
72
  if (!props.isReadOnly) {
@@ -107,7 +105,7 @@ var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
107
105
  iconLeft: props.iconLeft,
108
106
  isMulti: props.isMulti,
109
107
  hasValue: !isEmpty__default["default"](props.value)
110
- }, theme),
108
+ }),
111
109
  filterOption: props.filterOption // react-select uses "id" (for the container) and "inputId" (for the input),
112
110
  // but we use "id" (for the input) and "containerId" (for the container)
113
111
  // instead.
@@ -259,7 +257,7 @@ AsyncCreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer
259
257
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
260
258
 
261
259
  // NOTE: This string will be replaced on build time with the package version.
262
- var version = "15.2.4";
260
+ var version = "15.3.0";
263
261
 
264
262
  exports["default"] = AsyncCreatableSelectInput$1;
265
263
  exports.version = version;
@@ -15,7 +15,6 @@ var _Object$defineProperties = require('@babel/runtime-corejs3/core-js-stable/ob
15
15
  var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/object/define-property');
16
16
  var reactIntl = require('react-intl');
17
17
  var isEmpty = require('lodash/isEmpty');
18
- var react = require('@emotion/react');
19
18
  var reactSelect = require('react-select');
20
19
  var AsyncCreatableSelect = require('react-select/async-creatable');
21
20
  var Constraints = require('@commercetools-uikit/constraints');
@@ -66,7 +65,6 @@ var defaultProps = {
66
65
 
67
66
  var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
68
67
  var intl = reactIntl.useIntl();
69
- var theme = react.useTheme();
70
68
  var placeholder = props.placeholder || intl.formatMessage(selectUtils.messages.placeholder);
71
69
 
72
70
  if (!props.isReadOnly) ;
@@ -101,7 +99,7 @@ var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
101
99
  iconLeft: props.iconLeft,
102
100
  isMulti: props.isMulti,
103
101
  hasValue: !isEmpty__default["default"](props.value)
104
- }, theme),
102
+ }),
105
103
  filterOption: props.filterOption // react-select uses "id" (for the container) and "inputId" (for the input),
106
104
  // but we use "id" (for the input) and "containerId" (for the container)
107
105
  // instead.
@@ -242,7 +240,7 @@ AsyncCreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer
242
240
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
243
241
 
244
242
  // NOTE: This string will be replaced on build time with the package version.
245
- var version = "15.2.4";
243
+ var version = "15.3.0";
246
244
 
247
245
  exports["default"] = AsyncCreatableSelectInput$1;
248
246
  exports.version = version;
@@ -11,7 +11,6 @@ import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/obje
11
11
  import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
12
12
  import { useIntl } from 'react-intl';
13
13
  import isEmpty from 'lodash/isEmpty';
14
- import { useTheme } from '@emotion/react';
15
14
  import { components } from 'react-select';
16
15
  import AsyncCreatableSelect from 'react-select/async-creatable';
17
16
  import Constraints from '@commercetools-uikit/constraints';
@@ -47,7 +46,6 @@ var defaultProps = {
47
46
 
48
47
  var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
49
48
  var intl = useIntl();
50
- var theme = useTheme();
51
49
  var placeholder = props.placeholder || intl.formatMessage(messages.placeholder);
52
50
 
53
51
  if (!props.isReadOnly) {
@@ -86,7 +84,7 @@ var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
86
84
  iconLeft: props.iconLeft,
87
85
  isMulti: props.isMulti,
88
86
  hasValue: !isEmpty(props.value)
89
- }, theme),
87
+ }),
90
88
  filterOption: props.filterOption // react-select uses "id" (for the container) and "inputId" (for the input),
91
89
  // but we use "id" (for the input) and "containerId" (for the container)
92
90
  // instead.
@@ -238,6 +236,6 @@ AsyncCreatableSelectInput.ValueContainer = components.ValueContainer;
238
236
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
239
237
 
240
238
  // NOTE: This string will be replaced on build time with the package version.
241
- var version = "15.2.4";
239
+ var version = "15.3.0";
242
240
 
243
241
  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": "15.2.4",
4
+ "version": "15.3.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,14 +21,14 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.19.0",
23
23
  "@babel/runtime-corejs3": "^7.19.1",
24
- "@commercetools-uikit/constraints": "15.2.4",
25
- "@commercetools-uikit/design-system": "15.2.4",
26
- "@commercetools-uikit/icons": "15.2.4",
27
- "@commercetools-uikit/loading-spinner": "15.2.4",
28
- "@commercetools-uikit/select-utils": "15.2.4",
29
- "@commercetools-uikit/spacings": "15.2.4",
30
- "@commercetools-uikit/text": "15.2.4",
31
- "@commercetools-uikit/utils": "15.2.4",
24
+ "@commercetools-uikit/constraints": "15.3.0",
25
+ "@commercetools-uikit/design-system": "15.3.0",
26
+ "@commercetools-uikit/icons": "15.3.0",
27
+ "@commercetools-uikit/loading-spinner": "15.3.0",
28
+ "@commercetools-uikit/select-utils": "15.3.0",
29
+ "@commercetools-uikit/spacings": "15.3.0",
30
+ "@commercetools-uikit/text": "15.3.0",
31
+ "@commercetools-uikit/utils": "15.3.0",
32
32
  "@emotion/is-prop-valid": "1.2.0",
33
33
  "@emotion/react": "^11.4.0",
34
34
  "@emotion/styled": "^11.3.0",