@commercetools-uikit/search-text-input 19.5.0 → 19.7.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.
@@ -149,13 +149,13 @@ const SearchTextInput = /*#__PURE__*/react$1.forwardRef((props, forwardedRef) =>
149
149
  }
150
150
  })), props.isClearable && searchValue && !props.isDisabled && !props.isReadOnly && jsxRuntime.jsx(SecondaryIconButton__default["default"], {
151
151
  icon: jsxRuntime.jsx(icons.CloseIcon, {}),
152
- size: props.isCondensed ? 'small' : 'medium',
152
+ size: props.isCondensed ? '10' : '20',
153
153
  label: 'clear-button',
154
154
  onClick: handleClear,
155
155
  css: getClearIconButtonStyles(props)
156
156
  }), jsxRuntime.jsx(SecondaryIconButton__default["default"], {
157
157
  icon: jsxRuntime.jsx(icons.SearchIcon, {}),
158
- size: props.isCondensed ? 'medium' : 'big',
158
+ size: props.isCondensed ? '20' : '40',
159
159
  label: 'search-button',
160
160
  onClick: handleSubmit,
161
161
  css: getSearchIconButtonStyles(props),
@@ -171,7 +171,7 @@ SearchTextInput.isEmpty = isEmpty;
171
171
  var SearchTextInput$1 = SearchTextInput;
172
172
 
173
173
  // NOTE: This string will be replaced on build time with the package version.
174
- var version = "19.5.0";
174
+ var version = "19.7.0";
175
175
 
176
176
  exports["default"] = SearchTextInput$1;
177
177
  exports.version = version;
@@ -147,13 +147,13 @@ const SearchTextInput = /*#__PURE__*/react$1.forwardRef((props, forwardedRef) =>
147
147
  }
148
148
  })), props.isClearable && searchValue && !props.isDisabled && !props.isReadOnly && jsxRuntime.jsx(SecondaryIconButton__default["default"], {
149
149
  icon: jsxRuntime.jsx(icons.CloseIcon, {}),
150
- size: props.isCondensed ? 'small' : 'medium',
150
+ size: props.isCondensed ? '10' : '20',
151
151
  label: 'clear-button',
152
152
  onClick: handleClear,
153
153
  css: getClearIconButtonStyles(props)
154
154
  }), jsxRuntime.jsx(SecondaryIconButton__default["default"], {
155
155
  icon: jsxRuntime.jsx(icons.SearchIcon, {}),
156
- size: props.isCondensed ? 'medium' : 'big',
156
+ size: props.isCondensed ? '20' : '40',
157
157
  label: 'search-button',
158
158
  onClick: handleSubmit,
159
159
  css: getSearchIconButtonStyles(props),
@@ -169,7 +169,7 @@ SearchTextInput.isEmpty = isEmpty;
169
169
  var SearchTextInput$1 = SearchTextInput;
170
170
 
171
171
  // NOTE: This string will be replaced on build time with the package version.
172
- var version = "19.5.0";
172
+ var version = "19.7.0";
173
173
 
174
174
  exports["default"] = SearchTextInput$1;
175
175
  exports.version = version;
@@ -131,13 +131,13 @@ const SearchTextInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
131
131
  }
132
132
  })), props.isClearable && searchValue && !props.isDisabled && !props.isReadOnly && jsx(SecondaryIconButton, {
133
133
  icon: jsx(CloseIcon, {}),
134
- size: props.isCondensed ? 'small' : 'medium',
134
+ size: props.isCondensed ? '10' : '20',
135
135
  label: 'clear-button',
136
136
  onClick: handleClear,
137
137
  css: getClearIconButtonStyles(props)
138
138
  }), jsx(SecondaryIconButton, {
139
139
  icon: jsx(SearchIcon, {}),
140
- size: props.isCondensed ? 'medium' : 'big',
140
+ size: props.isCondensed ? '20' : '40',
141
141
  label: 'search-button',
142
142
  onClick: handleSubmit,
143
143
  css: getSearchIconButtonStyles(props),
@@ -153,6 +153,6 @@ SearchTextInput.isEmpty = isEmpty;
153
153
  var SearchTextInput$1 = SearchTextInput;
154
154
 
155
155
  // NOTE: This string will be replaced on build time with the package version.
156
- var version = "19.5.0";
156
+ var version = "19.7.0";
157
157
 
158
158
  export { SearchTextInput$1 as default, version };
@@ -25,5 +25,5 @@ type StaticProps = {
25
25
  isEmpty: typeof isEmpty;
26
26
  };
27
27
  declare const SearchTextInput: ForwardRefExoticComponent<TSearchTextInputProps & RefAttributes<HTMLInputElement>> & Partial<StaticProps>;
28
- declare const isEmpty: (value: TSearchTextInputProps['value']) => boolean;
28
+ declare const isEmpty: (value: TSearchTextInputProps["value"]) => boolean;
29
29
  export default SearchTextInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/search-text-input",
3
3
  "description": "A controlled search text input component for single-line strings with validation states.",
4
- "version": "19.5.0",
4
+ "version": "19.7.0",
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/constraints": "19.5.0",
25
- "@commercetools-uikit/design-system": "19.5.0",
26
- "@commercetools-uikit/icons": "19.5.0",
27
- "@commercetools-uikit/input-utils": "19.5.0",
28
- "@commercetools-uikit/secondary-icon-button": "19.5.0",
29
- "@commercetools-uikit/utils": "19.5.0",
24
+ "@commercetools-uikit/constraints": "19.7.0",
25
+ "@commercetools-uikit/design-system": "19.7.0",
26
+ "@commercetools-uikit/icons": "19.7.0",
27
+ "@commercetools-uikit/input-utils": "19.7.0",
28
+ "@commercetools-uikit/secondary-icon-button": "19.7.0",
29
+ "@commercetools-uikit/utils": "19.7.0",
30
30
  "@emotion/react": "^11.10.5",
31
31
  "@emotion/styled": "^11.10.5",
32
32
  "prop-types": "15.8.1"