@commercetools-uikit/async-select-field 19.0.0 → 19.2.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.
package/README.md CHANGED
@@ -69,6 +69,7 @@ export default Example;
69
69
  | `filterOption` | `AsyncProps['filterOption']` | | | Custom method to filter whether an option should be displayed in the menu&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
70
70
  | `containerId` | `AsyncProps['id']` | | | The id to set on the SelectContainer component&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
71
71
  | `isClearable` | `AsyncProps['isClearable']` | | | Is the select value clearable&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
72
+ | `isCondensed` | `boolean` | | | Use this property to reduce the paddings of the component for a ui compact variant |
72
73
  | `isDisabled` | `AsyncProps['isDisabled']` | | | Is the select disabled&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
73
74
  | `isReadOnly` | `boolean` | | | Is the select read-only |
74
75
  | `isOptionDisabled` | `AsyncProps['isOptionDisabled']` | | | Override the built-in logic to detect whether an option is disabled&#xA;<br>&#xA;[Props from React select was used](https://react-select.com/props) |
@@ -126,6 +126,7 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
126
126
  id: this.state.id,
127
127
  containerId: this.props.containerId,
128
128
  isClearable: this.props.isClearable,
129
+ isCondensed: this.props.isCondensed,
129
130
  isDisabled: this.props.isDisabled,
130
131
  isReadOnly: this.props.isReadOnly,
131
132
  isOptionDisabled: this.props.isOptionDisabled,
@@ -201,6 +202,7 @@ AsyncSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
201
202
  isRequired: _pt__default["default"].bool,
202
203
  touched: _pt__default["default"].oneOfType([_pt__default["default"].arrayOf(_pt__default["default"].bool), _pt__default["default"].bool]),
203
204
  isAutofocussed: _pt__default["default"].bool,
205
+ isCondensed: _pt__default["default"].bool,
204
206
  isReadOnly: _pt__default["default"].bool,
205
207
  hasWarning: _pt__default["default"].bool,
206
208
  menuPortalZIndex: _pt__default["default"].number,
@@ -220,7 +222,7 @@ AsyncSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
220
222
  } : {};
221
223
 
222
224
  // NOTE: This string will be replaced on build time with the package version.
223
- var version = "19.0.0";
225
+ var version = "19.2.0";
224
226
 
225
227
  exports["default"] = AsyncSelectField;
226
228
  exports.version = version;
@@ -117,6 +117,7 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
117
117
  id: this.state.id,
118
118
  containerId: this.props.containerId,
119
119
  isClearable: this.props.isClearable,
120
+ isCondensed: this.props.isCondensed,
120
121
  isDisabled: this.props.isDisabled,
121
122
  isReadOnly: this.props.isReadOnly,
122
123
  isOptionDisabled: this.props.isOptionDisabled,
@@ -186,7 +187,7 @@ AsyncSelectField.getDerivedStateFromProps = (props, state) => ({
186
187
  AsyncSelectField.propTypes = {};
187
188
 
188
189
  // NOTE: This string will be replaced on build time with the package version.
189
- var version = "19.0.0";
190
+ var version = "19.2.0";
190
191
 
191
192
  exports["default"] = AsyncSelectField;
192
193
  exports.version = version;
@@ -100,6 +100,7 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
100
100
  id: this.state.id,
101
101
  containerId: this.props.containerId,
102
102
  isClearable: this.props.isClearable,
103
+ isCondensed: this.props.isCondensed,
103
104
  isDisabled: this.props.isDisabled,
104
105
  isReadOnly: this.props.isReadOnly,
105
106
  isOptionDisabled: this.props.isOptionDisabled,
@@ -175,6 +176,7 @@ AsyncSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
175
176
  isRequired: _pt.bool,
176
177
  touched: _pt.oneOfType([_pt.arrayOf(_pt.bool), _pt.bool]),
177
178
  isAutofocussed: _pt.bool,
179
+ isCondensed: _pt.bool,
178
180
  isReadOnly: _pt.bool,
179
181
  hasWarning: _pt.bool,
180
182
  menuPortalZIndex: _pt.number,
@@ -194,6 +196,6 @@ AsyncSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
194
196
  } : {};
195
197
 
196
198
  // NOTE: This string will be replaced on build time with the package version.
197
- var version = "19.0.0";
199
+ var version = "19.2.0";
198
200
 
199
201
  export { AsyncSelectField as default, version };
@@ -34,6 +34,7 @@ export type TAsyncSelectFieldProps = {
34
34
  filterOption?: ReactSelectAsyncProps['filterOption'];
35
35
  containerId?: ReactSelectAsyncProps['id'];
36
36
  isClearable?: ReactSelectAsyncProps['isClearable'];
37
+ isCondensed?: boolean;
37
38
  isDisabled?: ReactSelectAsyncProps['isDisabled'];
38
39
  isReadOnly?: boolean;
39
40
  isOptionDisabled?: ReactSelectAsyncProps['isOptionDisabled'];
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": "19.0.0",
4
+ "version": "19.2.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.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/async-select-input": "19.0.0",
25
- "@commercetools-uikit/constraints": "19.0.0",
26
- "@commercetools-uikit/design-system": "19.0.0",
27
- "@commercetools-uikit/field-errors": "19.0.0",
28
- "@commercetools-uikit/field-label": "19.0.0",
29
- "@commercetools-uikit/field-warnings": "19.0.0",
30
- "@commercetools-uikit/spacings": "19.0.0",
31
- "@commercetools-uikit/utils": "19.0.0",
24
+ "@commercetools-uikit/async-select-input": "19.2.0",
25
+ "@commercetools-uikit/constraints": "19.2.0",
26
+ "@commercetools-uikit/design-system": "19.2.0",
27
+ "@commercetools-uikit/field-errors": "19.2.0",
28
+ "@commercetools-uikit/field-label": "19.2.0",
29
+ "@commercetools-uikit/field-warnings": "19.2.0",
30
+ "@commercetools-uikit/spacings": "19.2.0",
31
+ "@commercetools-uikit/utils": "19.2.0",
32
32
  "@emotion/react": "^11.10.5",
33
33
  "@emotion/styled": "^11.10.5",
34
34
  "prop-types": "15.8.1",