mayak-common-library 0.0.42 → 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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +3 -3
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
|
|
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
|
|
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
|
@@ -671,8 +671,7 @@ var SearchInput = (props) => {
|
|
|
671
671
|
startAdornment: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_material12.Stack, { direction: "row", alignItems: "center", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_material12.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(search_default, {}) }) }),
|
|
672
672
|
disableUnderline: true,
|
|
673
673
|
placeholder: "\u041F\u043E\u0448\u0443\u043A \u043F\u043E \u0440\u0430\u0439\u043E\u043D\u0443, \u0432\u0443\u043B\u0438\u0446\u0456, \u0416\u041A",
|
|
674
|
-
className: `w-full border rounded-none border-solid normal-case text-accent-dark
|
|
675
|
-
${collapse ? "bg-white border-transparent" : "border-accent-beige"} `
|
|
674
|
+
className: `w-full border rounded-none border-solid normal-case text-accent-dark gap-x-2 px-5 h-[38px] ${collapse ? "bg-white border-transparent" : "border-accent-beige"} hover:bg-white`
|
|
676
675
|
})
|
|
677
676
|
);
|
|
678
677
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -611,8 +611,7 @@ var SearchInput = (props) => {
|
|
|
611
611
|
startAdornment: /* @__PURE__ */ jsx20(Stack3, { direction: "row", alignItems: "center", children: /* @__PURE__ */ jsx20(InputAdornment2, { position: "start", children: /* @__PURE__ */ jsx20(search_default, {}) }) }),
|
|
612
612
|
disableUnderline: true,
|
|
613
613
|
placeholder: "\u041F\u043E\u0448\u0443\u043A \u043F\u043E \u0440\u0430\u0439\u043E\u043D\u0443, \u0432\u0443\u043B\u0438\u0446\u0456, \u0416\u041A",
|
|
614
|
-
className: `w-full border rounded-none border-solid normal-case text-accent-dark
|
|
615
|
-
${collapse ? "bg-white border-transparent" : "border-accent-beige"} `
|
|
614
|
+
className: `w-full border rounded-none border-solid normal-case text-accent-dark gap-x-2 px-5 h-[38px] ${collapse ? "bg-white border-transparent" : "border-accent-beige"} hover:bg-white`
|
|
616
615
|
})
|
|
617
616
|
);
|
|
618
617
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mayak-common-library",
|
|
3
|
-
"version": "0.0.
|
|
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
|
},
|