@commercetools-uikit/async-creatable-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 AsyncCreatableSelectField = /*#__PURE__*/function (_Component) {
|
|
|
95
95
|
process.env.NODE_ENV !== "production" ? utils.warning(_Array$isArray__default["default"](this.props.value), 'AsyncCreatableSelectField: `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), 'AsyncCreatableSelectField: `touched` is expected to be an array of boolean when isMulti is true') : void 0;
|
|
97
97
|
}
|
|
98
|
-
const errorsContainerId =
|
|
99
|
-
const warningsContainerId =
|
|
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, {
|
|
@@ -196,7 +196,7 @@ AsyncCreatableSelectField.getDerivedStateFromProps = (props, state) => ({
|
|
|
196
196
|
});
|
|
197
197
|
|
|
198
198
|
// NOTE: This string will be replaced on build time with the package version.
|
|
199
|
-
var version = "20.
|
|
199
|
+
var version = "20.3.0";
|
|
200
200
|
|
|
201
201
|
exports["default"] = AsyncCreatableSelectField;
|
|
202
202
|
exports.version = version;
|
|
@@ -87,8 +87,8 @@ let AsyncCreatableSelectField = /*#__PURE__*/function (_Component) {
|
|
|
87
87
|
if (!this.props.isReadOnly) ;
|
|
88
88
|
if (this.props.hintIcon) ;
|
|
89
89
|
if (this.props.isMulti) ;
|
|
90
|
-
const errorsContainerId =
|
|
91
|
-
const warningsContainerId =
|
|
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, {
|
|
@@ -188,7 +188,7 @@ AsyncCreatableSelectField.getDerivedStateFromProps = (props, state) => ({
|
|
|
188
188
|
});
|
|
189
189
|
|
|
190
190
|
// NOTE: This string will be replaced on build time with the package version.
|
|
191
|
-
var version = "20.
|
|
191
|
+
var version = "20.3.0";
|
|
192
192
|
|
|
193
193
|
exports["default"] = AsyncCreatableSelectField;
|
|
194
194
|
exports.version = version;
|
|
@@ -70,8 +70,8 @@ let AsyncCreatableSelectField = /*#__PURE__*/function (_Component) {
|
|
|
70
70
|
process.env.NODE_ENV !== "production" ? warning(_Array$isArray(this.props.value), 'AsyncCreatableSelectField: `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), 'AsyncCreatableSelectField: `touched` is expected to be an array of boolean when isMulti is true') : void 0;
|
|
72
72
|
}
|
|
73
|
-
const errorsContainerId =
|
|
74
|
-
const warningsContainerId =
|
|
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, {
|
|
@@ -171,6 +171,6 @@ AsyncCreatableSelectField.getDerivedStateFromProps = (props, state) => ({
|
|
|
171
171
|
});
|
|
172
172
|
|
|
173
173
|
// NOTE: This string will be replaced on build time with the package version.
|
|
174
|
-
var version = "20.
|
|
174
|
+
var version = "20.3.0";
|
|
175
175
|
|
|
176
176
|
export { AsyncCreatableSelectField as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/async-creatable-select-field",
|
|
3
3
|
"description": "An input component with validation states and a label getting a selection from an asynchronously loaded list from the user, and where options can be created by the user.",
|
|
4
|
-
"version": "20.
|
|
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-creatable-select-input": "20.
|
|
25
|
-
"@commercetools-uikit/constraints": "20.
|
|
26
|
-
"@commercetools-uikit/design-system": "20.
|
|
27
|
-
"@commercetools-uikit/field-errors": "20.
|
|
28
|
-
"@commercetools-uikit/field-label": "20.
|
|
29
|
-
"@commercetools-uikit/field-warnings": "20.
|
|
30
|
-
"@commercetools-uikit/spacings": "20.
|
|
31
|
-
"@commercetools-uikit/utils": "20.
|
|
24
|
+
"@commercetools-uikit/async-creatable-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.
|
|
37
|
+
"react": "19.2.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": "19.x"
|