@commercetools-uikit/select-utils 19.2.0 → 19.3.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.
@@ -119,7 +119,7 @@ const SearchIconDropdownIndicator = props => {
119
119
  return jsxRuntime.jsx(reactSelect.components.DropdownIndicator, _objectSpread$3(_objectSpread$3({}, props), {}, {
120
120
  children: jsxRuntime.jsx(icons.SearchIcon, {
121
121
  color: 'neutral60',
122
- size: "big"
122
+ size: props.selectProps.isCondensed ? 'medium' : 'big'
123
123
  })
124
124
  }));
125
125
  };
@@ -624,7 +624,7 @@ const warnIfMenuPortalPropsAreMissing = props => {
624
624
  };
625
625
 
626
626
  // NOTE: This string will be replaced on build time with the package version.
627
- var version = "19.2.0";
627
+ var version = "19.3.1";
628
628
 
629
629
  exports.ClearIndicator = ClearIndicator$1;
630
630
  exports.CustomSelectInputOption = CustomSelectInputOption;
@@ -119,7 +119,7 @@ const SearchIconDropdownIndicator = props => {
119
119
  return jsxRuntime.jsx(reactSelect.components.DropdownIndicator, _objectSpread$3(_objectSpread$3({}, props), {}, {
120
120
  children: jsxRuntime.jsx(icons.SearchIcon, {
121
121
  color: 'neutral60',
122
- size: "big"
122
+ size: props.selectProps.isCondensed ? 'medium' : 'big'
123
123
  })
124
124
  }));
125
125
  };
@@ -621,7 +621,7 @@ const warnIfMenuPortalPropsAreMissing = props => {
621
621
  };
622
622
 
623
623
  // NOTE: This string will be replaced on build time with the package version.
624
- var version = "19.2.0";
624
+ var version = "19.3.1";
625
625
 
626
626
  exports.ClearIndicator = ClearIndicator$1;
627
627
  exports.CustomSelectInputOption = CustomSelectInputOption;
@@ -99,7 +99,7 @@ const SearchIconDropdownIndicator = props => {
99
99
  return jsx(components.DropdownIndicator, _objectSpread$3(_objectSpread$3({}, props), {}, {
100
100
  children: jsx(SearchIcon, {
101
101
  color: 'neutral60',
102
- size: "big"
102
+ size: props.selectProps.isCondensed ? 'medium' : 'big'
103
103
  })
104
104
  }));
105
105
  };
@@ -604,6 +604,6 @@ const warnIfMenuPortalPropsAreMissing = props => {
604
604
  };
605
605
 
606
606
  // NOTE: This string will be replaced on build time with the package version.
607
- var version = "19.2.0";
607
+ var version = "19.3.1";
608
608
 
609
609
  export { ClearIndicator$1 as ClearIndicator, CustomSelectInputOption, DoublePropertySelectInputOption, DropdownIndicator$1 as DropdownIndicator, MultiplePropertiesSelectInputOption, SELECT_DROPDOWN_OPTION_TYPES, SearchIconDropdownIndicator$1 as SearchIconDropdownIndicator, TagRemove$1 as TagRemove, WrapperWithIcon$1 as ValueWrapperWithIcon, createSelectStyles, customComponents as customComponentsWithIcons, messages, version, warnIfMenuPortalPropsAreMissing };
@@ -1,6 +1,8 @@
1
1
  import { DropdownIndicatorProps } from 'react-select';
2
+ import { TSelectInputCustomComponentProps } from "../types.js";
3
+ export type TDropdownIndicatorProps = TSelectInputCustomComponentProps<DropdownIndicatorProps>;
2
4
  declare const SearchIconDropdownIndicator: {
3
- (props: DropdownIndicatorProps): import("@emotion/react/jsx-runtime").JSX.Element;
5
+ (props: TDropdownIndicatorProps): import("@emotion/react/jsx-runtime").JSX.Element;
4
6
  displayName: string;
5
7
  };
6
8
  export default SearchIconDropdownIndicator;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/select-utils",
3
3
  "description": "Utilities for working with select components.",
4
- "version": "19.2.0",
4
+ "version": "19.3.1",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,12 +21,12 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/accessible-button": "19.2.0",
25
- "@commercetools-uikit/design-system": "19.2.0",
26
- "@commercetools-uikit/icons": "19.2.0",
27
- "@commercetools-uikit/spacings": "19.2.0",
28
- "@commercetools-uikit/text": "19.2.0",
29
- "@commercetools-uikit/utils": "19.2.0",
24
+ "@commercetools-uikit/accessible-button": "19.3.1",
25
+ "@commercetools-uikit/design-system": "19.3.1",
26
+ "@commercetools-uikit/icons": "19.3.1",
27
+ "@commercetools-uikit/spacings": "19.3.1",
28
+ "@commercetools-uikit/text": "19.3.1",
29
+ "@commercetools-uikit/utils": "19.3.1",
30
30
  "@emotion/react": "^11.10.5",
31
31
  "@emotion/styled": "^11.10.5",
32
32
  "lodash": "4.17.21",