mayak-common-library 0.0.43 → 0.0.44

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/dist/index.d.mts CHANGED
@@ -110,11 +110,11 @@ interface FromToInputProps {
110
110
  }
111
111
  declare const FromToInput: FC<FromToInputProps>;
112
112
 
113
- interface SearchInputProps<T extends object> extends UseControllerProps<T> {
113
+ interface SearchInputProps<T> {
114
114
  onClick?: (event: MouseEvent<HTMLDivElement>) => void;
115
115
  collapse?: boolean;
116
116
  }
117
- declare const SearchInput: <T extends object>(props: SearchInputProps<T>) => react_jsx_runtime.JSX.Element;
117
+ declare const SearchInput: <T extends object>(props: SearchInputProps<T> & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
118
118
 
119
119
  declare const Providers: FC<PropsWithChildren>;
120
120
 
package/dist/index.d.ts CHANGED
@@ -110,11 +110,11 @@ interface FromToInputProps {
110
110
  }
111
111
  declare const FromToInput: FC<FromToInputProps>;
112
112
 
113
- interface SearchInputProps<T extends object> extends UseControllerProps<T> {
113
+ interface SearchInputProps<T> {
114
114
  onClick?: (event: MouseEvent<HTMLDivElement>) => void;
115
115
  collapse?: boolean;
116
116
  }
117
- declare const SearchInput: <T extends object>(props: SearchInputProps<T>) => react_jsx_runtime.JSX.Element;
117
+ declare const SearchInput: <T extends object>(props: SearchInputProps<T> & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
118
118
 
119
119
  declare const Providers: FC<PropsWithChildren>;
120
120
 
package/dist/index.js CHANGED
@@ -657,7 +657,6 @@ var import_jsx_runtime21 = require("react/jsx-runtime");
657
657
  var SearchInput = (props) => {
658
658
  const { collapse } = props;
659
659
  const { field } = (0, import_react_hook_form.useController)(props);
660
- console.log(collapse);
661
660
  const handleSearchInputClick = (event) => {
662
661
  if (props.onClick) {
663
662
  props.onClick(event);
package/dist/index.mjs CHANGED
@@ -597,7 +597,6 @@ import { jsx as jsx20 } from "react/jsx-runtime";
597
597
  var SearchInput = (props) => {
598
598
  const { collapse } = props;
599
599
  const { field } = useController(props);
600
- console.log(collapse);
601
600
  const handleSearchInputClick = (event) => {
602
601
  if (props.onClick) {
603
602
  props.onClick(event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayak-common-library",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -24,8 +24,7 @@
24
24
  "react-hook-form": "^7.52.0",
25
25
  "react-number-format": "^5.4.0",
26
26
  "sass": "^1.77.7",
27
- "stylis": "^4.3.2",
28
- "tailwindcss": "^3.4.4"
27
+ "stylis": "^4.3.2"
29
28
  },
30
29
  "peerDependencies": {
31
30
  "react-hook-form": "^7.52.0"
@@ -45,6 +44,7 @@
45
44
  "install": "^0.13.0",
46
45
  "postcss": "^8.4.39",
47
46
  "prettier": "^3.3.2",
47
+ "tailwindcss": "^3.4.10",
48
48
  "tsup": "^8.1.0",
49
49
  "typescript": "^5"
50
50
  },