mayak-common-library 0.0.42 → 0.0.43
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -657,6 +657,7 @@ 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);
|
|
660
661
|
const handleSearchInputClick = (event) => {
|
|
661
662
|
if (props.onClick) {
|
|
662
663
|
props.onClick(event);
|
|
@@ -671,8 +672,7 @@ var SearchInput = (props) => {
|
|
|
671
672
|
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
673
|
disableUnderline: true,
|
|
673
674
|
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"} `
|
|
675
|
+
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
676
|
})
|
|
677
677
|
);
|
|
678
678
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -597,6 +597,7 @@ 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);
|
|
600
601
|
const handleSearchInputClick = (event) => {
|
|
601
602
|
if (props.onClick) {
|
|
602
603
|
props.onClick(event);
|
|
@@ -611,8 +612,7 @@ var SearchInput = (props) => {
|
|
|
611
612
|
startAdornment: /* @__PURE__ */ jsx20(Stack3, { direction: "row", alignItems: "center", children: /* @__PURE__ */ jsx20(InputAdornment2, { position: "start", children: /* @__PURE__ */ jsx20(search_default, {}) }) }),
|
|
612
613
|
disableUnderline: true,
|
|
613
614
|
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"} `
|
|
615
|
+
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
616
|
})
|
|
617
617
|
);
|
|
618
618
|
};
|