@commercetools-uikit/async-select-field 20.2.2 → 20.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.
@@ -95,8 +95,8 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
95
95
  process.env.NODE_ENV !== "production" ? utils.warning(_Array$isArray__default["default"](this.props.value), 'AsyncSelectField: `value` is expected to be an array of string when isMulti is true') : void 0;
96
96
  process.env.NODE_ENV !== "production" ? utils.warning(typeof this.props.touched === 'undefined' || _Array$isArray__default["default"](this.props.touched), 'AsyncSelectField: `touched` is expected to be an array of boolean when isMulti is true') : void 0;
97
97
  }
98
- const errorsContainerId = `${this.state.id}-errors`;
99
- const warningsContainerId = `${this.state.id}-warnings`;
98
+ const errorsContainerId = "".concat(this.state.id, "-errors");
99
+ const warningsContainerId = "".concat(this.state.id, "-warnings");
100
100
  return jsxRuntime.jsx(Constraints__default["default"].Horizontal, {
101
101
  max: this.props.horizontalConstraint,
102
102
  children: jsxRuntime.jsxs(Spacings__default["default"].Stack, {
@@ -192,7 +192,7 @@ AsyncSelectField.getDerivedStateFromProps = (props, state) => ({
192
192
  });
193
193
 
194
194
  // NOTE: This string will be replaced on build time with the package version.
195
- var version = "20.2.2";
195
+ var version = "20.3.0";
196
196
 
197
197
  exports["default"] = AsyncSelectField;
198
198
  exports.version = version;
@@ -87,8 +87,8 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
87
87
  if (!this.props.isReadOnly) ;
88
88
  if (this.props.hintIcon) ;
89
89
  if (this.props.isMulti) ;
90
- const errorsContainerId = `${this.state.id}-errors`;
91
- const warningsContainerId = `${this.state.id}-warnings`;
90
+ const errorsContainerId = "".concat(this.state.id, "-errors");
91
+ const warningsContainerId = "".concat(this.state.id, "-warnings");
92
92
  return jsxRuntime.jsx(Constraints__default["default"].Horizontal, {
93
93
  max: this.props.horizontalConstraint,
94
94
  children: jsxRuntime.jsxs(Spacings__default["default"].Stack, {
@@ -184,7 +184,7 @@ AsyncSelectField.getDerivedStateFromProps = (props, state) => ({
184
184
  });
185
185
 
186
186
  // NOTE: This string will be replaced on build time with the package version.
187
- var version = "20.2.2";
187
+ var version = "20.3.0";
188
188
 
189
189
  exports["default"] = AsyncSelectField;
190
190
  exports.version = version;
@@ -70,8 +70,8 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
70
70
  process.env.NODE_ENV !== "production" ? warning(_Array$isArray(this.props.value), 'AsyncSelectField: `value` is expected to be an array of string when isMulti is true') : void 0;
71
71
  process.env.NODE_ENV !== "production" ? warning(typeof this.props.touched === 'undefined' || _Array$isArray(this.props.touched), 'AsyncSelectField: `touched` is expected to be an array of boolean when isMulti is true') : void 0;
72
72
  }
73
- const errorsContainerId = `${this.state.id}-errors`;
74
- const warningsContainerId = `${this.state.id}-warnings`;
73
+ const errorsContainerId = "".concat(this.state.id, "-errors");
74
+ const warningsContainerId = "".concat(this.state.id, "-warnings");
75
75
  return jsx(Constraints.Horizontal, {
76
76
  max: this.props.horizontalConstraint,
77
77
  children: jsxs(Spacings.Stack, {
@@ -167,6 +167,6 @@ AsyncSelectField.getDerivedStateFromProps = (props, state) => ({
167
167
  });
168
168
 
169
169
  // NOTE: This string will be replaced on build time with the package version.
170
- var version = "20.2.2";
170
+ var version = "20.3.0";
171
171
 
172
172
  export { AsyncSelectField as default, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/async-select-field",
3
3
  "description": "A controlled input component with validation states and a label getting a selection from an asynchronously loaded list from the user.",
4
- "version": "20.2.2",
4
+ "version": "20.3.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,20 +21,20 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/async-select-input": "20.2.2",
25
- "@commercetools-uikit/constraints": "20.2.2",
26
- "@commercetools-uikit/design-system": "20.2.2",
27
- "@commercetools-uikit/field-errors": "20.2.2",
28
- "@commercetools-uikit/field-label": "20.2.2",
29
- "@commercetools-uikit/field-warnings": "20.2.2",
30
- "@commercetools-uikit/spacings": "20.2.2",
31
- "@commercetools-uikit/utils": "20.2.2",
24
+ "@commercetools-uikit/async-select-input": "20.3.0",
25
+ "@commercetools-uikit/constraints": "20.3.0",
26
+ "@commercetools-uikit/design-system": "20.3.0",
27
+ "@commercetools-uikit/field-errors": "20.3.0",
28
+ "@commercetools-uikit/field-label": "20.3.0",
29
+ "@commercetools-uikit/field-warnings": "20.3.0",
30
+ "@commercetools-uikit/spacings": "20.3.0",
31
+ "@commercetools-uikit/utils": "20.3.0",
32
32
  "@emotion/react": "^11.10.5",
33
33
  "@emotion/styled": "^11.10.5",
34
34
  "react-intl": "^7.1.4"
35
35
  },
36
36
  "devDependencies": {
37
- "react": "19.1.0"
37
+ "react": "19.2.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "react": "19.x"