next-recomponents 2.0.53 → 2.0.54
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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
- package/src/container/index.tsx +4 -4
package/dist/index.js
CHANGED
|
@@ -3745,11 +3745,11 @@ function Container({
|
|
|
3745
3745
|
{
|
|
3746
3746
|
href: (itemMenu == null ? void 0 : itemMenu.location) || "#",
|
|
3747
3747
|
children: [
|
|
3748
|
-
isSidebarOpen && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "text-sm flex items-center hover:bg-gray-200 hover:text-black rounded p-1 h-[30px]", children: [
|
|
3749
|
-
icon,
|
|
3748
|
+
isSidebarOpen && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "text-sm flex items-center hover:bg-gray-200 hover:text-black rounded p-1 h-[30px] gap-1", children: [
|
|
3749
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "text-md", children: icon }),
|
|
3750
3750
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: " truncate", children: itemMenu == null ? void 0 : itemMenu.name })
|
|
3751
3751
|
] }),
|
|
3752
|
-
!isSidebarOpen && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "text-
|
|
3752
|
+
!isSidebarOpen && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "text-md flex hover:bg-gray-200 hover:text-black rounded p-1 h-[30px]", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "text-md", children: icon }) })
|
|
3753
3753
|
]
|
|
3754
3754
|
}
|
|
3755
3755
|
) }, k);
|
package/dist/index.mjs
CHANGED
|
@@ -3719,11 +3719,11 @@ function Container({
|
|
|
3719
3719
|
{
|
|
3720
3720
|
href: (itemMenu == null ? void 0 : itemMenu.location) || "#",
|
|
3721
3721
|
children: [
|
|
3722
|
-
isSidebarOpen && /* @__PURE__ */ jsxs2("div", { className: "text-sm flex items-center hover:bg-gray-200 hover:text-black rounded p-1 h-[30px]", children: [
|
|
3723
|
-
icon,
|
|
3722
|
+
isSidebarOpen && /* @__PURE__ */ jsxs2("div", { className: "text-sm flex items-center hover:bg-gray-200 hover:text-black rounded p-1 h-[30px] gap-1", children: [
|
|
3723
|
+
/* @__PURE__ */ jsx3("div", { className: "text-md", children: icon }),
|
|
3724
3724
|
/* @__PURE__ */ jsx3("div", { className: " truncate", children: itemMenu == null ? void 0 : itemMenu.name })
|
|
3725
3725
|
] }),
|
|
3726
|
-
!isSidebarOpen && /* @__PURE__ */ jsx3("div", { className: "text-
|
|
3726
|
+
!isSidebarOpen && /* @__PURE__ */ jsx3("div", { className: "text-md flex hover:bg-gray-200 hover:text-black rounded p-1 h-[30px]", children: /* @__PURE__ */ jsx3("div", { className: "text-md", children: icon }) })
|
|
3727
3727
|
]
|
|
3728
3728
|
}
|
|
3729
3729
|
) }, k);
|
package/package.json
CHANGED
package/src/container/index.tsx
CHANGED
|
@@ -130,14 +130,14 @@ export default function Container({
|
|
|
130
130
|
// onClick={() => setIsSidebarOpen(false)}
|
|
131
131
|
>
|
|
132
132
|
{isSidebarOpen && (
|
|
133
|
-
<div className="text-sm flex items-center hover:bg-gray-200 hover:text-black rounded p-1 h-[30px]">
|
|
134
|
-
{icon}
|
|
133
|
+
<div className="text-sm flex items-center hover:bg-gray-200 hover:text-black rounded p-1 h-[30px] gap-1">
|
|
134
|
+
<div className="text-md">{icon}</div>
|
|
135
135
|
<div className=" truncate">{itemMenu?.name}</div>
|
|
136
136
|
</div>
|
|
137
137
|
)}
|
|
138
138
|
{!isSidebarOpen && (
|
|
139
|
-
<div className="text-
|
|
140
|
-
{icon}
|
|
139
|
+
<div className="text-md flex hover:bg-gray-200 hover:text-black rounded p-1 h-[30px]">
|
|
140
|
+
<div className="text-md">{icon}</div>
|
|
141
141
|
</div>
|
|
142
142
|
)}
|
|
143
143
|
</Link>
|