@commercetools-uikit/creatable-select-input 13.0.2 → 14.0.1

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
@@ -61,6 +61,8 @@ export default Example;
61
61
  | `iconLeft` | `ReactNode` | | | Icon to display on the left of the placeholder text and selected value. Has no effect when `isMulti` is enabled. |
62
62
  | `aria-label` | `CreatableProps['aria-label']` | | | Aria label (for assistive tech)&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props#creatable-props) |
63
63
  | `aria-labelledby` | `CreatableProps['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#creatable-props) |
64
+ | `aria-invalid` | `CreatableProps['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) |
65
+ | `aria-errormessage` | `CreatableProps['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) |
64
66
  | `isAutofocussed` | `boolean` | | | Focus the control when it is mounted |
65
67
  | `backspaceRemovesValue` | `CreatableProps['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#creatable-props) |
66
68
  | `components` | `CreatableProps['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#creatable-props) |
@@ -124,36 +126,35 @@ The options support a `isDisabled` property which will render the option with a
124
126
 
125
127
  ### `isTouched(touched)`
126
128
 
127
- Expects to be called with an array or boolean.
128
- Returns `true` when truthy.
129
+ Returns truthy value for the Formik `touched` value of this input field.
129
130
 
130
- ### Components
131
+ ## Components
131
132
 
132
- It is possible to customize `SelectInput` by passing the `components` property.
133
- `SelectInput` exports the default underlying components as static exports.
133
+ It is possible to customize `CreatableSelectInput` by passing the `components` property.
134
+ `CreatableSelectInput` exports the default underlying components as static exports.
134
135
 
135
136
  Components available as static exports are:
136
137
 
137
138
  - `ClearIndicator`
138
139
  - `Control`
139
- - `DropdownIndicator`
140
- - `DownChevron`
141
140
  - `CrossIcon`
141
+ - `DownChevron`
142
+ - `DropdownIndicator`
142
143
  - `Group`
143
144
  - `GroupHeading`
144
145
  - `IndicatorsContainer`
145
146
  - `IndicatorSeparator`
146
147
  - `Input`
147
148
  - `LoadingIndicator`
149
+ - `LoadingMessage`
148
150
  - `Menu`
149
151
  - `MenuList`
150
152
  - `MenuPortal`
151
- - `LoadingMessage`
152
- - `NoOptionsMessage`
153
153
  - `MultiValue`
154
154
  - `MultiValueContainer`
155
155
  - `MultiValueLabel`
156
156
  - `MultiValueRemove`
157
+ - `NoOptionsMessage`
157
158
  - `Option`
158
159
  - `Placeholder`
159
160
  - `SelectContainer`
@@ -69,6 +69,8 @@ var CreatableSelectInput = function CreatableSelectInput(props) {
69
69
  children: jsxRuntime.jsx(CreatableSelect__default["default"], {
70
70
  "aria-label": props['aria-label'],
71
71
  "aria-labelledby": props['aria-labelledby'],
72
+ "aria-invalid": props['aria-invalid'],
73
+ "aria-errormessage": props['aria-errormessage'],
72
74
  autoFocus: props.isAutofocussed,
73
75
  backspaceRemovesValue: props.isReadOnly ? false : props.backspaceRemovesValue,
74
76
  components: _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, customizedComponents), props.components), props.iconLeft && !props.isMulti ? selectUtils.customComponentsWithIcons : {}), props.isReadOnly ? {
@@ -191,21 +193,54 @@ CreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
191
193
  }))]),
192
194
  showOptionGroupDivider: _pt__default["default"].bool
193
195
  } : {};
194
- CreatableSelectInput.displayName = 'CreatableSelectInput'; // Both "true" and an empty array [] represent a touched state. The Boolean
196
+ CreatableSelectInput.displayName = 'CreatableSelectInput';
197
+ CreatableSelectInput.defaultProps = defaultProps;
198
+ /**
199
+ * Expose static helper methods.
200
+ */
201
+ // Both "true" and an empty array [] represent a touched state. The Boolean
195
202
  // conveniently handles both cases
196
203
 
197
204
  CreatableSelectInput.isTouched = function (touched) {
198
205
  return Boolean(touched);
199
206
  };
207
+ /**
208
+ * Expose react-select components for customization purposes.
209
+ */
210
+ // custom
200
211
 
201
- CreatableSelectInput.defaultProps = defaultProps;
202
- utils.addStaticFields(CreatableSelectInput, _objectSpread(_objectSpread(_objectSpread({}, reactSelect.components), customizedComponents), {}, {
203
- isTouched: CreatableSelectInput.isTouched
204
- }));
212
+
213
+ CreatableSelectInput.ClearIndicator = customizedComponents.ClearIndicator;
214
+ CreatableSelectInput.Control = reactSelect.components.Control;
215
+ CreatableSelectInput.CrossIcon = reactSelect.components.CrossIcon;
216
+ CreatableSelectInput.DownChevron = reactSelect.components.DownChevron; // custom
217
+
218
+ CreatableSelectInput.DropdownIndicator = customizedComponents.DropdownIndicator;
219
+ CreatableSelectInput.Group = reactSelect.components.Group;
220
+ CreatableSelectInput.GroupHeading = reactSelect.components.GroupHeading;
221
+ CreatableSelectInput.IndicatorSeparator = reactSelect.components.IndicatorSeparator;
222
+ CreatableSelectInput.IndicatorsContainer = reactSelect.components.IndicatorsContainer;
223
+ CreatableSelectInput.Input = reactSelect.components.Input;
224
+ CreatableSelectInput.LoadingIndicator = reactSelect.components.LoadingIndicator;
225
+ CreatableSelectInput.LoadingMessage = reactSelect.components.LoadingMessage;
226
+ CreatableSelectInput.Menu = reactSelect.components.Menu;
227
+ CreatableSelectInput.MenuList = reactSelect.components.MenuList;
228
+ CreatableSelectInput.MenuPortal = reactSelect.components.MenuPortal;
229
+ CreatableSelectInput.MultiValue = reactSelect.components.MultiValue;
230
+ CreatableSelectInput.MultiValueContainer = reactSelect.components.MultiValueContainer;
231
+ CreatableSelectInput.MultiValueLabel = reactSelect.components.MultiValueLabel; // custom
232
+
233
+ CreatableSelectInput.MultiValueRemove = customizedComponents.MultiValueRemove;
234
+ CreatableSelectInput.NoOptionsMessage = reactSelect.components.NoOptionsMessage;
235
+ CreatableSelectInput.Option = reactSelect.components.Option;
236
+ CreatableSelectInput.Placeholder = reactSelect.components.Placeholder;
237
+ CreatableSelectInput.SelectContainer = reactSelect.components.SelectContainer;
238
+ CreatableSelectInput.SingleValue = reactSelect.components.SingleValue;
239
+ CreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer;
205
240
  var CreatableSelectInput$1 = CreatableSelectInput;
206
241
 
207
242
  // NOTE: This string will be replaced on build time with the package version.
208
- var version = "13.0.2";
243
+ var version = "14.0.1";
209
244
 
210
245
  exports["default"] = CreatableSelectInput$1;
211
246
  exports.version = version;
@@ -68,6 +68,8 @@ var CreatableSelectInput = function CreatableSelectInput(props) {
68
68
  children: jsxRuntime.jsx(CreatableSelect__default["default"], {
69
69
  "aria-label": props['aria-label'],
70
70
  "aria-labelledby": props['aria-labelledby'],
71
+ "aria-invalid": props['aria-invalid'],
72
+ "aria-errormessage": props['aria-errormessage'],
71
73
  autoFocus: props.isAutofocussed,
72
74
  backspaceRemovesValue: props.isReadOnly ? false : props.backspaceRemovesValue,
73
75
  components: _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, customizedComponents), props.components), props.iconLeft && !props.isMulti ? selectUtils.customComponentsWithIcons : {}), props.isReadOnly ? {
@@ -172,21 +174,54 @@ var CreatableSelectInput = function CreatableSelectInput(props) {
172
174
  };
173
175
 
174
176
  CreatableSelectInput.propTypes = {};
175
- CreatableSelectInput.displayName = 'CreatableSelectInput'; // Both "true" and an empty array [] represent a touched state. The Boolean
177
+ CreatableSelectInput.displayName = 'CreatableSelectInput';
178
+ CreatableSelectInput.defaultProps = defaultProps;
179
+ /**
180
+ * Expose static helper methods.
181
+ */
182
+ // Both "true" and an empty array [] represent a touched state. The Boolean
176
183
  // conveniently handles both cases
177
184
 
178
185
  CreatableSelectInput.isTouched = function (touched) {
179
186
  return Boolean(touched);
180
187
  };
188
+ /**
189
+ * Expose react-select components for customization purposes.
190
+ */
191
+ // custom
181
192
 
182
- CreatableSelectInput.defaultProps = defaultProps;
183
- utils.addStaticFields(CreatableSelectInput, _objectSpread(_objectSpread(_objectSpread({}, reactSelect.components), customizedComponents), {}, {
184
- isTouched: CreatableSelectInput.isTouched
185
- }));
193
+
194
+ CreatableSelectInput.ClearIndicator = customizedComponents.ClearIndicator;
195
+ CreatableSelectInput.Control = reactSelect.components.Control;
196
+ CreatableSelectInput.CrossIcon = reactSelect.components.CrossIcon;
197
+ CreatableSelectInput.DownChevron = reactSelect.components.DownChevron; // custom
198
+
199
+ CreatableSelectInput.DropdownIndicator = customizedComponents.DropdownIndicator;
200
+ CreatableSelectInput.Group = reactSelect.components.Group;
201
+ CreatableSelectInput.GroupHeading = reactSelect.components.GroupHeading;
202
+ CreatableSelectInput.IndicatorSeparator = reactSelect.components.IndicatorSeparator;
203
+ CreatableSelectInput.IndicatorsContainer = reactSelect.components.IndicatorsContainer;
204
+ CreatableSelectInput.Input = reactSelect.components.Input;
205
+ CreatableSelectInput.LoadingIndicator = reactSelect.components.LoadingIndicator;
206
+ CreatableSelectInput.LoadingMessage = reactSelect.components.LoadingMessage;
207
+ CreatableSelectInput.Menu = reactSelect.components.Menu;
208
+ CreatableSelectInput.MenuList = reactSelect.components.MenuList;
209
+ CreatableSelectInput.MenuPortal = reactSelect.components.MenuPortal;
210
+ CreatableSelectInput.MultiValue = reactSelect.components.MultiValue;
211
+ CreatableSelectInput.MultiValueContainer = reactSelect.components.MultiValueContainer;
212
+ CreatableSelectInput.MultiValueLabel = reactSelect.components.MultiValueLabel; // custom
213
+
214
+ CreatableSelectInput.MultiValueRemove = customizedComponents.MultiValueRemove;
215
+ CreatableSelectInput.NoOptionsMessage = reactSelect.components.NoOptionsMessage;
216
+ CreatableSelectInput.Option = reactSelect.components.Option;
217
+ CreatableSelectInput.Placeholder = reactSelect.components.Placeholder;
218
+ CreatableSelectInput.SelectContainer = reactSelect.components.SelectContainer;
219
+ CreatableSelectInput.SingleValue = reactSelect.components.SingleValue;
220
+ CreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer;
186
221
  var CreatableSelectInput$1 = CreatableSelectInput;
187
222
 
188
223
  // NOTE: This string will be replaced on build time with the package version.
189
- var version = "13.0.2";
224
+ var version = "14.0.1";
190
225
 
191
226
  exports["default"] = CreatableSelectInput$1;
192
227
  exports.version = version;
@@ -14,7 +14,7 @@ import { useTheme } from '@emotion/react';
14
14
  import { components } from 'react-select';
15
15
  import CreatableSelect from 'react-select/creatable';
16
16
  import Constraints from '@commercetools-uikit/constraints';
17
- import { filterDataAttributes, addStaticFields } from '@commercetools-uikit/utils';
17
+ import { filterDataAttributes } from '@commercetools-uikit/utils';
18
18
  import { messages, customComponentsWithIcons, createSelectStyles, DropdownIndicator, ClearIndicator, TagRemove } from '@commercetools-uikit/select-utils';
19
19
  import { jsx } from '@emotion/react/jsx-runtime';
20
20
 
@@ -50,6 +50,8 @@ var CreatableSelectInput = function CreatableSelectInput(props) {
50
50
  children: jsx(CreatableSelect, {
51
51
  "aria-label": props['aria-label'],
52
52
  "aria-labelledby": props['aria-labelledby'],
53
+ "aria-invalid": props['aria-invalid'],
54
+ "aria-errormessage": props['aria-errormessage'],
53
55
  autoFocus: props.isAutofocussed,
54
56
  backspaceRemovesValue: props.isReadOnly ? false : props.backspaceRemovesValue,
55
57
  components: _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, customizedComponents), props.components), props.iconLeft && !props.isMulti ? customComponentsWithIcons : {}), props.isReadOnly ? {
@@ -172,20 +174,53 @@ CreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
172
174
  }))]),
173
175
  showOptionGroupDivider: _pt.bool
174
176
  } : {};
175
- CreatableSelectInput.displayName = 'CreatableSelectInput'; // Both "true" and an empty array [] represent a touched state. The Boolean
177
+ CreatableSelectInput.displayName = 'CreatableSelectInput';
178
+ CreatableSelectInput.defaultProps = defaultProps;
179
+ /**
180
+ * Expose static helper methods.
181
+ */
182
+ // Both "true" and an empty array [] represent a touched state. The Boolean
176
183
  // conveniently handles both cases
177
184
 
178
185
  CreatableSelectInput.isTouched = function (touched) {
179
186
  return Boolean(touched);
180
187
  };
188
+ /**
189
+ * Expose react-select components for customization purposes.
190
+ */
191
+ // custom
181
192
 
182
- CreatableSelectInput.defaultProps = defaultProps;
183
- addStaticFields(CreatableSelectInput, _objectSpread(_objectSpread(_objectSpread({}, components), customizedComponents), {}, {
184
- isTouched: CreatableSelectInput.isTouched
185
- }));
193
+
194
+ CreatableSelectInput.ClearIndicator = customizedComponents.ClearIndicator;
195
+ CreatableSelectInput.Control = components.Control;
196
+ CreatableSelectInput.CrossIcon = components.CrossIcon;
197
+ CreatableSelectInput.DownChevron = components.DownChevron; // custom
198
+
199
+ CreatableSelectInput.DropdownIndicator = customizedComponents.DropdownIndicator;
200
+ CreatableSelectInput.Group = components.Group;
201
+ CreatableSelectInput.GroupHeading = components.GroupHeading;
202
+ CreatableSelectInput.IndicatorSeparator = components.IndicatorSeparator;
203
+ CreatableSelectInput.IndicatorsContainer = components.IndicatorsContainer;
204
+ CreatableSelectInput.Input = components.Input;
205
+ CreatableSelectInput.LoadingIndicator = components.LoadingIndicator;
206
+ CreatableSelectInput.LoadingMessage = components.LoadingMessage;
207
+ CreatableSelectInput.Menu = components.Menu;
208
+ CreatableSelectInput.MenuList = components.MenuList;
209
+ CreatableSelectInput.MenuPortal = components.MenuPortal;
210
+ CreatableSelectInput.MultiValue = components.MultiValue;
211
+ CreatableSelectInput.MultiValueContainer = components.MultiValueContainer;
212
+ CreatableSelectInput.MultiValueLabel = components.MultiValueLabel; // custom
213
+
214
+ CreatableSelectInput.MultiValueRemove = customizedComponents.MultiValueRemove;
215
+ CreatableSelectInput.NoOptionsMessage = components.NoOptionsMessage;
216
+ CreatableSelectInput.Option = components.Option;
217
+ CreatableSelectInput.Placeholder = components.Placeholder;
218
+ CreatableSelectInput.SelectContainer = components.SelectContainer;
219
+ CreatableSelectInput.SingleValue = components.SingleValue;
220
+ CreatableSelectInput.ValueContainer = components.ValueContainer;
186
221
  var CreatableSelectInput$1 = CreatableSelectInput;
187
222
 
188
223
  // NOTE: This string will be replaced on build time with the package version.
189
- var version = "13.0.2";
224
+ var version = "14.0.1";
190
225
 
191
226
  export { CreatableSelectInput$1 as default, version };
@@ -23,6 +23,8 @@ declare type TCreatableSelectInputProps = {
23
23
  iconLeft?: ReactNode;
24
24
  'aria-label'?: ReactSelectCreatableProps['aria-label'];
25
25
  'aria-labelledby'?: ReactSelectCreatableProps['aria-labelledby'];
26
+ 'aria-invalid'?: ReactSelectCreatableProps['aria-invalid'];
27
+ 'aria-errormessage'?: ReactSelectCreatableProps['aria-errormessage'];
26
28
  isAutofocussed?: boolean;
27
29
  backspaceRemovesValue?: ReactSelectCreatableProps['backspaceRemovesValue'];
28
30
  components?: ReactSelectCreatableProps['components'];
@@ -62,7 +64,64 @@ declare type TCreatableSelectInputProps = {
62
64
  declare const CreatableSelectInput: {
63
65
  (props: TCreatableSelectInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
64
66
  displayName: string;
65
- isTouched(touched: unknown): boolean;
66
67
  defaultProps: Pick<TCreatableSelectInputProps, "value" | "isSearchable" | "menuPortalZIndex">;
68
+ isTouched(touched: unknown): boolean;
69
+ ClearIndicator: {
70
+ (props: {
71
+ innerProps: {
72
+ ref: import("react").LegacyRef<HTMLButtonElement>;
73
+ } & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement>;
74
+ } & import("react-select").ClearIndicatorProps<unknown, boolean, GroupBase<unknown>>): import("@emotion/react/jsx-runtime").JSX.Element;
75
+ displayName: string;
76
+ };
77
+ Control: <Option_1, IsMulti_1 extends boolean, Group_1 extends GroupBase<Option_1>>(props: import("react-select").ControlProps<Option_1, IsMulti_1, Group_1>) => import("@emotion/react").jsx.JSX.Element;
78
+ CrossIcon: (props: import("react-select/dist/declarations/src/components/indicators").CrossIconProps) => import("@emotion/react").jsx.JSX.Element;
79
+ DownChevron: (props: import("react-select/dist/declarations/src/components/indicators").DownChevronProps) => import("@emotion/react").jsx.JSX.Element;
80
+ DropdownIndicator: {
81
+ (props: import("react-select").DropdownIndicatorProps<unknown, boolean, GroupBase<unknown>>): import("@emotion/react/jsx-runtime").JSX.Element;
82
+ displayName: string;
83
+ };
84
+ Group: <Option_3, IsMulti_3 extends boolean, Group_3 extends GroupBase<Option_3>>(props: import("react-select").GroupProps<Option_3, IsMulti_3, Group_3>) => import("@emotion/react").jsx.JSX.Element;
85
+ GroupHeading: <Option_4, IsMulti_4 extends boolean, Group_4 extends GroupBase<Option_4>>(props: import("react-select").GroupHeadingProps<Option_4, IsMulti_4, Group_4>) => import("@emotion/react").jsx.JSX.Element;
86
+ IndicatorSeparator: <Option_6, IsMulti_6 extends boolean, Group_6 extends GroupBase<Option_6>>(props: import("react-select").IndicatorSeparatorProps<Option_6, IsMulti_6, Group_6>) => import("@emotion/react").jsx.JSX.Element;
87
+ IndicatorsContainer: <Option_5, IsMulti_5 extends boolean, Group_5 extends GroupBase<Option_5>>(props: import("react-select").IndicatorsContainerProps<Option_5, IsMulti_5, Group_5>) => import("@emotion/react").jsx.JSX.Element;
88
+ Input: <Option_7, IsMulti_7 extends boolean, Group_7 extends GroupBase<Option_7>>(props: import("react-select").InputProps<Option_7, IsMulti_7, Group_7>) => import("@emotion/react").jsx.JSX.Element;
89
+ LoadingIndicator: {
90
+ <Option_8, IsMulti_8 extends boolean, Group_8 extends GroupBase<Option_8>>(props: import("react-select").LoadingIndicatorProps<Option_8, IsMulti_8, Group_8>): import("@emotion/react").jsx.JSX.Element;
91
+ defaultProps: {
92
+ size: number;
93
+ };
94
+ };
95
+ LoadingMessage: {
96
+ <Option_11, IsMulti_11 extends boolean, Group_11 extends GroupBase<Option_11>>(props: import("react-select").NoticeProps<Option_11, IsMulti_11, Group_11>): import("@emotion/react").jsx.JSX.Element;
97
+ defaultProps: {
98
+ children: string;
99
+ };
100
+ };
101
+ Menu: <Option_9, IsMulti_9 extends boolean, Group_9 extends GroupBase<Option_9>>(props: import("react-select").MenuProps<Option_9, IsMulti_9, Group_9>) => import("@emotion/react").jsx.JSX.Element;
102
+ MenuList: <Option_10, IsMulti_10 extends boolean, Group_10 extends GroupBase<Option_10>>(props: import("react-select").MenuListProps<Option_10, IsMulti_10, Group_10>) => import("@emotion/react").jsx.JSX.Element;
103
+ MenuPortal: typeof import("react-select/dist/declarations/src/components/Menu").MenuPortal;
104
+ MultiValue: <Option_13, IsMulti_13 extends boolean, Group_13 extends GroupBase<Option_13>>(props: import("react-select").MultiValueProps<Option_13, IsMulti_13, Group_13>) => import("@emotion/react").jsx.JSX.Element;
105
+ MultiValueContainer: <Option_14, IsMulti_14 extends boolean, Group_14 extends GroupBase<Option_14>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_14, IsMulti_14, Group_14>) => import("@emotion/react").jsx.JSX.Element;
106
+ MultiValueLabel: <Option_14_1, IsMulti_14_1 extends boolean, Group_14_1 extends GroupBase<Option_14_1>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_14_1, IsMulti_14_1, Group_14_1>) => import("@emotion/react").jsx.JSX.Element;
107
+ MultiValueRemove: {
108
+ (props: {
109
+ selectProps: {
110
+ isReadOnly: boolean;
111
+ } & import("react-select/dist/declarations/src/Select").Props<unknown, boolean, GroupBase<unknown>>;
112
+ } & import("react-select").MultiValueGenericProps<unknown, boolean, GroupBase<unknown>>): import("@emotion/react/jsx-runtime").JSX.Element;
113
+ displayName: string;
114
+ };
115
+ NoOptionsMessage: {
116
+ <Option_12, IsMulti_12 extends boolean, Group_12 extends GroupBase<Option_12>>(props: import("react-select").NoticeProps<Option_12, IsMulti_12, Group_12>): import("@emotion/react").jsx.JSX.Element;
117
+ defaultProps: {
118
+ children: string;
119
+ };
120
+ };
121
+ Option: <Option_15, IsMulti_15 extends boolean, Group_15 extends GroupBase<Option_15>>(props: import("react-select").OptionProps<Option_15, IsMulti_15, Group_15>) => import("@emotion/react").jsx.JSX.Element;
122
+ Placeholder: <Option_16, IsMulti_16 extends boolean, Group_16 extends GroupBase<Option_16>>(props: import("react-select").PlaceholderProps<Option_16, IsMulti_16, Group_16>) => import("@emotion/react").jsx.JSX.Element;
123
+ SelectContainer: <Option_17, IsMulti_17 extends boolean, Group_17 extends GroupBase<Option_17>>(props: import("react-select").ContainerProps<Option_17, IsMulti_17, Group_17>) => import("@emotion/react").jsx.JSX.Element;
124
+ SingleValue: <Option_18, IsMulti_18 extends boolean, Group_18 extends GroupBase<Option_18>>(props: import("react-select").SingleValueProps<Option_18, IsMulti_18, Group_18>) => import("@emotion/react").jsx.JSX.Element;
125
+ ValueContainer: <Option_19, IsMulti_19 extends boolean, Group_19 extends GroupBase<Option_19>>(props: import("react-select").ValueContainerProps<Option_19, IsMulti_19, Group_19>) => import("@emotion/react").jsx.JSX.Element;
67
126
  };
68
127
  export default CreatableSelectInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/creatable-select-input",
3
3
  "description": "An input component getting a selection from the user, and where options can also be created by the user.",
4
- "version": "13.0.2",
4
+ "version": "14.0.1",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  "directory": "packages/components/inputs/creatable-select-input"
10
10
  },
11
11
  "homepage": "https://uikit.commercetools.com",
12
- "keywords": ["javascript", "design system", "react", "uikit"],
12
+ "keywords": ["javascript", "typescript", "design-system", "react", "uikit"],
13
13
  "license": "MIT",
14
14
  "publishConfig": {
15
15
  "access": "public"
@@ -19,15 +19,15 @@
19
19
  "module": "dist/commercetools-uikit-creatable-select-input.esm.js",
20
20
  "files": ["dist"],
21
21
  "dependencies": {
22
- "@babel/runtime": "7.17.2",
23
- "@babel/runtime-corejs3": "7.17.2",
24
- "@commercetools-uikit/constraints": "13.0.2",
25
- "@commercetools-uikit/design-system": "13.0.0",
26
- "@commercetools-uikit/icons": "13.0.2",
27
- "@commercetools-uikit/select-utils": "13.0.2",
28
- "@commercetools-uikit/spacings": "13.0.2",
29
- "@commercetools-uikit/text": "13.0.2",
30
- "@commercetools-uikit/utils": "13.0.2",
22
+ "@babel/runtime": "^7.17.2",
23
+ "@babel/runtime-corejs3": "^7.17.2",
24
+ "@commercetools-uikit/constraints": "14.0.1",
25
+ "@commercetools-uikit/design-system": "14.0.0",
26
+ "@commercetools-uikit/icons": "14.0.1",
27
+ "@commercetools-uikit/select-utils": "14.0.1",
28
+ "@commercetools-uikit/spacings": "14.0.1",
29
+ "@commercetools-uikit/text": "14.0.1",
30
+ "@commercetools-uikit/utils": "14.0.1",
31
31
  "@emotion/react": "^11.4.0",
32
32
  "@emotion/styled": "^11.3.0",
33
33
  "lodash": "4.17.21",
@@ -37,7 +37,7 @@
37
37
  "devDependencies": {
38
38
  "react": "17.0.2",
39
39
  "react-dom": "17.0.2",
40
- "react-intl": "5.24.6"
40
+ "react-intl": "^5.24.6"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": "17.x",