@true-engineering/true-react-common-ui-kit 3.45.0 → 3.45.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
@@ -11,6 +11,12 @@
11
11
 
12
12
  # Release Notes
13
13
 
14
+ ## 3.45.1
15
+
16
+ ### Changes
17
+
18
+ - **SearchInput**: Добавлен класс `iconClickable`
19
+
14
20
  ## 3.45.0
15
21
 
16
22
  ### Changes
@@ -1,6 +1,6 @@
1
1
  import { ITweakStyles } from '../../theme';
2
2
  import { IInputStyles } from '../Input';
3
- export declare const useStyles: import("../../theme").IUseStyles<"root" | "icon", unknown>;
3
+ export declare const useStyles: import("../../theme").IUseStyles<"root" | "icon" | "iconClickable", unknown>;
4
4
  export declare const inputStyles: IInputStyles;
5
5
  export type ISearchInputStyles = ITweakStyles<typeof useStyles, {
6
6
  tweakInput: IInputStyles;
@@ -10537,6 +10537,9 @@ var useStyles$F = createThemedStyles("SearchInput", {
10537
10537
  width: 20,
10538
10538
  zIndex: 2,
10539
10539
  color: colors.GREY_ACTIVE
10540
+ },
10541
+ iconClickable: {
10542
+ cursor: "pointer"
10540
10543
  }
10541
10544
  });
10542
10545
  var inputStyles$4 = {
@@ -10667,7 +10670,7 @@ var SearchInput = function(_param) {
10667
10670
  }, addDataAttributes$1(data, testId)), {
10668
10671
  children: [
10669
10672
  /* @__PURE__ */ jsx("div", _object_spread_props$G(_object_spread$N({
10670
- className: classes.icon
10673
+ className: clsx(classes.icon, _define_property$P({}, classes.iconClickable, isNotEmpty(onSearchIconClick)))
10671
10674
  }, addClickHandler(onSearchIconClick)), {
10672
10675
  children: /* @__PURE__ */ jsx(Icon, {
10673
10676
  type: "search"