@commercetools-uikit/async-creatable-select-input 13.0.2 → 13.0.4

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.
package/README.md CHANGED
@@ -67,6 +67,8 @@ export default Example;
67
67
  | `iconLeft` | `ReactNode` | | | Icon to display on the left of the placeholder text and selected value. Has no effect when isMulti is enabled. |
68
68
  | `aria-label` | `AsyncCreatableProps['aria-label']` | | | Aria label (for assistive tech)&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
69
69
  | `aria-labelledby` | `AsyncCreatableProps['aria-labelledby']` | | | HTML ID of an element that should be used as the label (for assistive tech)&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
70
+ | `aria-invalid` | `AsyncCreatableProps['aria-invalid']` | | | Indicate if the value entered in the input is invalid.&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
71
+ | `aria-errormessage` | `AsyncCreatableProps['aria-errormessage']` | | | HTML ID of an element containing an error message related to the input.&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
70
72
  | `isAutofocussed` | `boolean` | | | Focus the control when it is mounted |
71
73
  | `backspaceRemovesValue` | `AsyncCreatableProps['backspaceRemovesValue']` | | | Remove the currently focused option when the user presses backspace&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
72
74
  | `components` | `AsyncCreatableProps['components']` | | | Map of components to overwrite the default ones, see [what components you can override](https://react-select.com/components)&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
@@ -81,6 +81,8 @@ var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
81
81
  children: jsxRuntime.jsx(AsyncCreatableSelect__default["default"], {
82
82
  "aria-label": props['aria-label'],
83
83
  "aria-labelledby": props['aria-labelledby'],
84
+ "aria-invalid": props['aria-invalid'],
85
+ "aria-errormessage": props['aria-errormessage'],
84
86
  autoFocus: props.isAutofocussed,
85
87
  backspaceRemovesValue: props.isReadOnly ? false : props.backspaceRemovesValue,
86
88
  components: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, customizedComponents), props.iconLeft && !props.isMulti ? selectUtils.customComponentsWithIcons : {}), props.isReadOnly ? {
@@ -216,7 +218,7 @@ utils.addStaticFields(AsyncCreatableSelectInput, _objectSpread(_objectSpread(_ob
216
218
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
217
219
 
218
220
  // NOTE: This string will be replaced on build time with the package version.
219
- var version = "13.0.2";
221
+ var version = "13.0.4";
220
222
 
221
223
  exports["default"] = AsyncCreatableSelectInput$1;
222
224
  exports.version = version;
@@ -77,6 +77,8 @@ var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
77
77
  children: jsxRuntime.jsx(AsyncCreatableSelect__default["default"], {
78
78
  "aria-label": props['aria-label'],
79
79
  "aria-labelledby": props['aria-labelledby'],
80
+ "aria-invalid": props['aria-invalid'],
81
+ "aria-errormessage": props['aria-errormessage'],
80
82
  autoFocus: props.isAutofocussed,
81
83
  backspaceRemovesValue: props.isReadOnly ? false : props.backspaceRemovesValue,
82
84
  components: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, customizedComponents), props.iconLeft && !props.isMulti ? selectUtils.customComponentsWithIcons : {}), props.isReadOnly ? {
@@ -201,7 +203,7 @@ utils.addStaticFields(AsyncCreatableSelectInput, _objectSpread(_objectSpread(_ob
201
203
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
202
204
 
203
205
  // NOTE: This string will be replaced on build time with the package version.
204
- var version = "13.0.2";
206
+ var version = "13.0.4";
205
207
 
206
208
  exports["default"] = AsyncCreatableSelectInput$1;
207
209
  exports.version = version;
@@ -60,6 +60,8 @@ var AsyncCreatableSelectInput = function AsyncCreatableSelectInput(props) {
60
60
  children: jsx(AsyncCreatableSelect, {
61
61
  "aria-label": props['aria-label'],
62
62
  "aria-labelledby": props['aria-labelledby'],
63
+ "aria-invalid": props['aria-invalid'],
64
+ "aria-errormessage": props['aria-errormessage'],
63
65
  autoFocus: props.isAutofocussed,
64
66
  backspaceRemovesValue: props.isReadOnly ? false : props.backspaceRemovesValue,
65
67
  components: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, customizedComponents), props.iconLeft && !props.isMulti ? customComponentsWithIcons : {}), props.isReadOnly ? {
@@ -195,6 +197,6 @@ addStaticFields(AsyncCreatableSelectInput, _objectSpread(_objectSpread(_objectSp
195
197
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
196
198
 
197
199
  // NOTE: This string will be replaced on build time with the package version.
198
- var version = "13.0.2";
200
+ var version = "13.0.4";
199
201
 
200
202
  export { AsyncCreatableSelectInput$1 as default, version };
@@ -17,6 +17,8 @@ declare type TAsyncCreatableSelectInputProps = {
17
17
  iconLeft?: ReactNode;
18
18
  'aria-label'?: ReactSelectAsyncCreatableProps['aria-label'];
19
19
  'aria-labelledby'?: ReactSelectAsyncCreatableProps['aria-labelledby'];
20
+ 'aria-invalid'?: ReactSelectAsyncCreatableProps['aria-invalid'];
21
+ 'aria-errormessage'?: ReactSelectAsyncCreatableProps['aria-errormessage'];
20
22
  isAutofocussed?: boolean;
21
23
  backspaceRemovesValue?: ReactSelectAsyncCreatableProps['backspaceRemovesValue'];
22
24
  components?: ReactSelectAsyncCreatableProps['components'];
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": "13.0.2",
4
+ "version": "13.0.4",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -24,10 +24,10 @@
24
24
  "@commercetools-uikit/constraints": "13.0.2",
25
25
  "@commercetools-uikit/design-system": "13.0.0",
26
26
  "@commercetools-uikit/icons": "13.0.2",
27
- "@commercetools-uikit/loading-spinner": "13.0.2",
28
- "@commercetools-uikit/select-utils": "13.0.2",
27
+ "@commercetools-uikit/loading-spinner": "13.0.4",
28
+ "@commercetools-uikit/select-utils": "13.0.4",
29
29
  "@commercetools-uikit/spacings": "13.0.2",
30
- "@commercetools-uikit/text": "13.0.2",
30
+ "@commercetools-uikit/text": "13.0.4",
31
31
  "@commercetools-uikit/utils": "13.0.2",
32
32
  "@emotion/is-prop-valid": "1.1.2",
33
33
  "@emotion/react": "^11.4.0",
@@ -39,7 +39,7 @@
39
39
  "devDependencies": {
40
40
  "react": "17.0.2",
41
41
  "react-dom": "17.0.2",
42
- "react-intl": "5.24.6"
42
+ "react-intl": "^5.24.6"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": "17.x",