@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 +6 -0
- package/dist/components/SearchInput/SearchInput.styles.d.ts +1 -1
- package/dist/true-react-common-ui-kit.js +4 -1
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +4 -1
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/components/SearchInput/SearchInput.styles.ts +5 -1
- package/src/components/SearchInput/SearchInput.tsx +6 -1
package/README.md
CHANGED
|
@@ -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"
|