@trafilea/afrodita-components 5.0.0-beta.98 → 5.0.0-beta.99

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.
@@ -12928,7 +12928,7 @@ var SearchControl = function (_a) {
12928
12928
  var theme = useTheme();
12929
12929
  var isMobile = useWindowDimensions(theme.mediaQueries).isMobile;
12930
12930
  if (showSearchIcon) {
12931
- return (jsx(SearchIconContainer, { children: jsx(Icon.Navigation.Search, { height: 1.25, width: 1.25 }, void 0) }, void 0));
12931
+ return (jsx(SearchIconContainer, __assign$1({ onClick: onSearch }, { children: jsx(Icon.Navigation.Search, { height: 1.25, width: 1.25 }, void 0) }), void 0));
12932
12932
  }
12933
12933
  else if (isMobile) {
12934
12934
  return open ? (jsx(ClearButton, { onClick: onClose }, void 0)) : (jsx(SearchIconContainer, { children: jsx(Icon.Navigation.Search, { height: 1.25, width: 1.25 }, void 0) }, void 0));
package/build/index.js CHANGED
@@ -12954,7 +12954,7 @@ var SearchControl = function (_a) {
12954
12954
  var theme = useTheme();
12955
12955
  var isMobile = useWindowDimensions(theme.mediaQueries).isMobile;
12956
12956
  if (showSearchIcon) {
12957
- return (jsx(SearchIconContainer, { children: jsx(Icon.Navigation.Search, { height: 1.25, width: 1.25 }, void 0) }, void 0));
12957
+ return (jsx(SearchIconContainer, __assign$1({ onClick: onSearch }, { children: jsx(Icon.Navigation.Search, { height: 1.25, width: 1.25 }, void 0) }), void 0));
12958
12958
  }
12959
12959
  else if (isMobile) {
12960
12960
  return open ? (jsx(ClearButton, { onClick: onClose }, void 0)) : (jsx(SearchIconContainer, { children: jsx(Icon.Navigation.Search, { height: 1.25, width: 1.25 }, void 0) }, void 0));
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Trafilea's Design System",
4
4
  "author": "Trafilea",
5
5
  "repository": "https://github.com/trafilea/afrodita-components",
6
- "version": "5.0.0-beta.98",
6
+ "version": "5.0.0-beta.99",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",