@retinalabsllc/zairusjs 4.0.31 → 4.0.32
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 +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2132,7 +2132,7 @@ var UniversalSidebar = ({
|
|
|
2132
2132
|
${isCollapsed ? "md:w-16 w-64" : "w-64"}
|
|
2133
2133
|
`
|
|
2134
2134
|
},
|
|
2135
|
-
/* @__PURE__ */ import_react39.default.createElement("div", { className: `flex items-center shrink-0 p-5 ${isCollapsed && !isMobileOpen ? "justify-center min-h-18" : "justify-between"}` }, /* @__PURE__ */ import_react39.default.createElement("div", { className: `flex items-center gap-3 text-left ${!isCollapsed || isMobileOpen ? "w-full" : ""}` }, /* @__PURE__ */ import_react39.default.createElement("div", { className: "w-
|
|
2135
|
+
/* @__PURE__ */ import_react39.default.createElement("div", { className: `flex items-center shrink-0 p-5 ${isCollapsed && !isMobileOpen ? "justify-center min-h-18" : "justify-between"}` }, /* @__PURE__ */ import_react39.default.createElement("div", { className: `flex items-center gap-3 text-left ${!isCollapsed || isMobileOpen ? "w-full" : ""}` }, /* @__PURE__ */ import_react39.default.createElement("div", { className: "w-9 h-9 rounded-full flex items-center justify-center shrink-0 bg-[#1f26d6]" }, /* @__PURE__ */ import_react39.default.createElement("h3", { className: "text-[11px] text-white uppercase tracking-wider" }, userInitials.substring(0, 2))), (!isCollapsed || isMobileOpen) && /* @__PURE__ */ import_react39.default.createElement("div", { className: "flex flex-col justify-center min-w-0 pr-2 flex-1" }, /* @__PURE__ */ import_react39.default.createElement("span", { className: "text-[13px] text-black leading-none truncate tracking-wide mb-1" }, userName), userTag && /* @__PURE__ */ import_react39.default.createElement("span", { className: "text-[9px] text-[#1f26d6] truncate tracking-[0.2em] leading-none " }, userTag))), /* @__PURE__ */ import_react39.default.createElement("div", { className: "md:hidden flex shrink-0" }, /* @__PURE__ */ import_react39.default.createElement(
|
|
2136
2136
|
"button",
|
|
2137
2137
|
{
|
|
2138
2138
|
onClick: closeMobile,
|
|
@@ -2150,7 +2150,7 @@ var UniversalSidebar = ({
|
|
|
2150
2150
|
key: item.name,
|
|
2151
2151
|
href: item.path,
|
|
2152
2152
|
onClick: (e) => onNavClick ? onNavClick(e, item.path) : void 0,
|
|
2153
|
-
className: `flex items-center gap-3 px-3 py-2 rounded-full transition-all outline-none group shrink-0 ${isCurrentRoute ? "bg-
|
|
2153
|
+
className: `flex items-center gap-3 px-3 py-2 rounded-full transition-all outline-none group shrink-0 ${isCurrentRoute ? "bg-blue-50 text-[#1f26d6] " : "text-neutral-500 hover:text-[#1f26d6] hover:bg-blue-50"}`,
|
|
2154
2154
|
title: isCollapsed && !isMobileOpen ? item.name : void 0
|
|
2155
2155
|
},
|
|
2156
2156
|
/* @__PURE__ */ import_react39.default.createElement(
|
|
@@ -2158,7 +2158,7 @@ var UniversalSidebar = ({
|
|
|
2158
2158
|
{
|
|
2159
2159
|
icon: item.icon,
|
|
2160
2160
|
size: 18,
|
|
2161
|
-
className: `shrink-0 transition-colors ${isCurrentRoute ? "text-
|
|
2161
|
+
className: `shrink-0 transition-colors ${isCurrentRoute ? "text-[#1f26d6]" : "text-neutral-400 group-hover:text-[#1f26d6]"}`
|
|
2162
2162
|
}
|
|
2163
2163
|
),
|
|
2164
2164
|
(!isCollapsed || isMobileOpen) && /* @__PURE__ */ import_react39.default.createElement("span", { className: "text-xs tracking-wide truncate" }, item.name)
|
|
@@ -2176,9 +2176,9 @@ var UniversalSidebar = ({
|
|
|
2176
2176
|
"button",
|
|
2177
2177
|
{
|
|
2178
2178
|
onClick: () => setIsCollapsed(!isCollapsed),
|
|
2179
|
-
className: "flex items-center justify-center md:justify-start gap-3 w-full p-2.5 rounded-full text-neutral-500 hover:text-
|
|
2179
|
+
className: "flex items-center justify-center md:justify-start gap-3 w-full p-2.5 rounded-full text-neutral-500 hover:text-[#1f26d6] hover:bg-blue-50 transition-colors outline-none"
|
|
2180
2180
|
},
|
|
2181
|
-
/* @__PURE__ */ import_react39.default.createElement(import_react40.HugeiconsIcon, { icon: import_core_free_icons9.SidebarLeft01Icon, size: 18, className: "shrink-0 text-neutral-400" }),
|
|
2181
|
+
/* @__PURE__ */ import_react39.default.createElement(import_react40.HugeiconsIcon, { icon: import_core_free_icons9.SidebarLeft01Icon, size: 18, className: "shrink-0 text-neutral-400 group-hover:text-[#1f26d6]" }),
|
|
2182
2182
|
!isCollapsed && /* @__PURE__ */ import_react39.default.createElement("span", { className: "text-xs" }, "Collapse")
|
|
2183
2183
|
)))
|
|
2184
2184
|
), showLogoutDialog && showLogoutAction && /* @__PURE__ */ import_react39.default.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4 pointer-events-auto" }, /* @__PURE__ */ import_react39.default.createElement(
|
|
@@ -2200,7 +2200,7 @@ var UniversalSidebar = ({
|
|
|
2200
2200
|
{
|
|
2201
2201
|
onClick: handleLogoutInitiation,
|
|
2202
2202
|
disabled: isLoggingOut,
|
|
2203
|
-
className: "flex-1 py-3 text-[13px] text-[#
|
|
2203
|
+
className: "flex-1 py-3 text-[13px] text-[#1f26d6] hover:bg-neutral-50 transition-colors disabled:opacity-50 flex justify-center items-center outline-none"
|
|
2204
2204
|
},
|
|
2205
2205
|
isLoggingOut ? /* @__PURE__ */ import_react39.default.createElement(ButtonSpinner, null) : "Log Out"
|
|
2206
2206
|
)))), showInterceptDialog && /* @__PURE__ */ import_react39.default.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4 pointer-events-auto" }, /* @__PURE__ */ import_react39.default.createElement(
|
|
@@ -2220,7 +2220,7 @@ var UniversalSidebar = ({
|
|
|
2220
2220
|
"button",
|
|
2221
2221
|
{
|
|
2222
2222
|
onClick: onConfirmIntercept,
|
|
2223
|
-
className: "flex-1 py-3 text-[13px] text-[#
|
|
2223
|
+
className: "flex-1 py-3 text-[13px] text-[#1f26d6] hover:bg-neutral-50 transition-colors flex justify-center items-center outline-none"
|
|
2224
2224
|
},
|
|
2225
2225
|
"Leave"
|
|
2226
2226
|
)))));
|
package/dist/index.mjs
CHANGED
|
@@ -2046,7 +2046,7 @@ var UniversalSidebar = ({
|
|
|
2046
2046
|
${isCollapsed ? "md:w-16 w-64" : "w-64"}
|
|
2047
2047
|
`
|
|
2048
2048
|
},
|
|
2049
|
-
/* @__PURE__ */ React27.createElement("div", { className: `flex items-center shrink-0 p-5 ${isCollapsed && !isMobileOpen ? "justify-center min-h-18" : "justify-between"}` }, /* @__PURE__ */ React27.createElement("div", { className: `flex items-center gap-3 text-left ${!isCollapsed || isMobileOpen ? "w-full" : ""}` }, /* @__PURE__ */ React27.createElement("div", { className: "w-
|
|
2049
|
+
/* @__PURE__ */ React27.createElement("div", { className: `flex items-center shrink-0 p-5 ${isCollapsed && !isMobileOpen ? "justify-center min-h-18" : "justify-between"}` }, /* @__PURE__ */ React27.createElement("div", { className: `flex items-center gap-3 text-left ${!isCollapsed || isMobileOpen ? "w-full" : ""}` }, /* @__PURE__ */ React27.createElement("div", { className: "w-9 h-9 rounded-full flex items-center justify-center shrink-0 bg-[#1f26d6]" }, /* @__PURE__ */ React27.createElement("h3", { className: "text-[11px] text-white uppercase tracking-wider" }, userInitials.substring(0, 2))), (!isCollapsed || isMobileOpen) && /* @__PURE__ */ React27.createElement("div", { className: "flex flex-col justify-center min-w-0 pr-2 flex-1" }, /* @__PURE__ */ React27.createElement("span", { className: "text-[13px] text-black leading-none truncate tracking-wide mb-1" }, userName), userTag && /* @__PURE__ */ React27.createElement("span", { className: "text-[9px] text-[#1f26d6] truncate tracking-[0.2em] leading-none " }, userTag))), /* @__PURE__ */ React27.createElement("div", { className: "md:hidden flex shrink-0" }, /* @__PURE__ */ React27.createElement(
|
|
2050
2050
|
"button",
|
|
2051
2051
|
{
|
|
2052
2052
|
onClick: closeMobile,
|
|
@@ -2064,7 +2064,7 @@ var UniversalSidebar = ({
|
|
|
2064
2064
|
key: item.name,
|
|
2065
2065
|
href: item.path,
|
|
2066
2066
|
onClick: (e) => onNavClick ? onNavClick(e, item.path) : void 0,
|
|
2067
|
-
className: `flex items-center gap-3 px-3 py-2 rounded-full transition-all outline-none group shrink-0 ${isCurrentRoute ? "bg-
|
|
2067
|
+
className: `flex items-center gap-3 px-3 py-2 rounded-full transition-all outline-none group shrink-0 ${isCurrentRoute ? "bg-blue-50 text-[#1f26d6] " : "text-neutral-500 hover:text-[#1f26d6] hover:bg-blue-50"}`,
|
|
2068
2068
|
title: isCollapsed && !isMobileOpen ? item.name : void 0
|
|
2069
2069
|
},
|
|
2070
2070
|
/* @__PURE__ */ React27.createElement(
|
|
@@ -2072,7 +2072,7 @@ var UniversalSidebar = ({
|
|
|
2072
2072
|
{
|
|
2073
2073
|
icon: item.icon,
|
|
2074
2074
|
size: 18,
|
|
2075
|
-
className: `shrink-0 transition-colors ${isCurrentRoute ? "text-
|
|
2075
|
+
className: `shrink-0 transition-colors ${isCurrentRoute ? "text-[#1f26d6]" : "text-neutral-400 group-hover:text-[#1f26d6]"}`
|
|
2076
2076
|
}
|
|
2077
2077
|
),
|
|
2078
2078
|
(!isCollapsed || isMobileOpen) && /* @__PURE__ */ React27.createElement("span", { className: "text-xs tracking-wide truncate" }, item.name)
|
|
@@ -2090,9 +2090,9 @@ var UniversalSidebar = ({
|
|
|
2090
2090
|
"button",
|
|
2091
2091
|
{
|
|
2092
2092
|
onClick: () => setIsCollapsed(!isCollapsed),
|
|
2093
|
-
className: "flex items-center justify-center md:justify-start gap-3 w-full p-2.5 rounded-full text-neutral-500 hover:text-
|
|
2093
|
+
className: "flex items-center justify-center md:justify-start gap-3 w-full p-2.5 rounded-full text-neutral-500 hover:text-[#1f26d6] hover:bg-blue-50 transition-colors outline-none"
|
|
2094
2094
|
},
|
|
2095
|
-
/* @__PURE__ */ React27.createElement(HugeiconsIcon13, { icon: SidebarLeft01Icon, size: 18, className: "shrink-0 text-neutral-400" }),
|
|
2095
|
+
/* @__PURE__ */ React27.createElement(HugeiconsIcon13, { icon: SidebarLeft01Icon, size: 18, className: "shrink-0 text-neutral-400 group-hover:text-[#1f26d6]" }),
|
|
2096
2096
|
!isCollapsed && /* @__PURE__ */ React27.createElement("span", { className: "text-xs" }, "Collapse")
|
|
2097
2097
|
)))
|
|
2098
2098
|
), showLogoutDialog && showLogoutAction && /* @__PURE__ */ React27.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4 pointer-events-auto" }, /* @__PURE__ */ React27.createElement(
|
|
@@ -2114,7 +2114,7 @@ var UniversalSidebar = ({
|
|
|
2114
2114
|
{
|
|
2115
2115
|
onClick: handleLogoutInitiation,
|
|
2116
2116
|
disabled: isLoggingOut,
|
|
2117
|
-
className: "flex-1 py-3 text-[13px] text-[#
|
|
2117
|
+
className: "flex-1 py-3 text-[13px] text-[#1f26d6] hover:bg-neutral-50 transition-colors disabled:opacity-50 flex justify-center items-center outline-none"
|
|
2118
2118
|
},
|
|
2119
2119
|
isLoggingOut ? /* @__PURE__ */ React27.createElement(ButtonSpinner, null) : "Log Out"
|
|
2120
2120
|
)))), showInterceptDialog && /* @__PURE__ */ React27.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4 pointer-events-auto" }, /* @__PURE__ */ React27.createElement(
|
|
@@ -2134,7 +2134,7 @@ var UniversalSidebar = ({
|
|
|
2134
2134
|
"button",
|
|
2135
2135
|
{
|
|
2136
2136
|
onClick: onConfirmIntercept,
|
|
2137
|
-
className: "flex-1 py-3 text-[13px] text-[#
|
|
2137
|
+
className: "flex-1 py-3 text-[13px] text-[#1f26d6] hover:bg-neutral-50 transition-colors flex justify-center items-center outline-none"
|
|
2138
2138
|
},
|
|
2139
2139
|
"Leave"
|
|
2140
2140
|
)))));
|