@retinalabsllc/zairusjs 20.1.3 → 20.1.5
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 +8 -8
- package/dist/index.mjs +9 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1109,7 +1109,7 @@ var MobileNav = ({ items }) => {
|
|
|
1109
1109
|
href: item.href,
|
|
1110
1110
|
className: "flex flex-col items-center justify-center gap-1 min-w-14 transition-transform active:scale-95 outline-none"
|
|
1111
1111
|
},
|
|
1112
|
-
/* @__PURE__ */ import_react19.default.createElement("div", { className: `transition-colors duration-300 ${isActive ? "text-
|
|
1112
|
+
/* @__PURE__ */ import_react19.default.createElement("div", { className: `transition-colors duration-300 ${isActive ? "text-[#d97757]" : "text-stone-400 hover:text-stone-600"}` }, /* @__PURE__ */ import_react19.default.createElement(
|
|
1113
1113
|
import_react20.HugeiconsIcon,
|
|
1114
1114
|
{
|
|
1115
1115
|
icon: item.icon,
|
|
@@ -1119,7 +1119,7 @@ var MobileNav = ({ items }) => {
|
|
|
1119
1119
|
/* @__PURE__ */ import_react19.default.createElement(
|
|
1120
1120
|
"span",
|
|
1121
1121
|
{
|
|
1122
|
-
className: `text-xs tracking-wide transition-colors duration-300 ${isActive ? "text-
|
|
1122
|
+
className: `text-[xs] tracking-wide truncate transition-colors duration-300 ${isActive ? "text-[#d97757]" : "text-stone-600"}`
|
|
1123
1123
|
},
|
|
1124
1124
|
item.label
|
|
1125
1125
|
)
|
|
@@ -2660,7 +2660,7 @@ var UniversalSidebar = ({
|
|
|
2660
2660
|
key: item.name,
|
|
2661
2661
|
href: item.path,
|
|
2662
2662
|
onClick: (e) => onNavClick ? onNavClick(e, item.path) : void 0,
|
|
2663
|
-
className: `flex items-center justify-center w-12 h-12 mx-auto rounded-full transition-all outline-none group shrink-0 ${isCurrentRoute ? "bg-
|
|
2663
|
+
className: `flex items-center justify-center w-12 h-12 mx-auto rounded-full transition-all outline-none group shrink-0 ${isCurrentRoute ? "bg-[#ffffff] text-[#d97757]" : "text-stone-500 hover:text-black hover:bg-white/50"}`,
|
|
2664
2664
|
title: item.name
|
|
2665
2665
|
},
|
|
2666
2666
|
/* @__PURE__ */ import_react42.default.createElement(
|
|
@@ -2668,7 +2668,7 @@ var UniversalSidebar = ({
|
|
|
2668
2668
|
{
|
|
2669
2669
|
icon: item.icon,
|
|
2670
2670
|
size: 20,
|
|
2671
|
-
className: `shrink-0 transition-colors ${isCurrentRoute ? "text-
|
|
2671
|
+
className: `shrink-0 transition-colors ${isCurrentRoute ? "text-[#d97757]" : "text-stone-400 group-hover:text-black"}`
|
|
2672
2672
|
}
|
|
2673
2673
|
)
|
|
2674
2674
|
);
|
|
@@ -2676,7 +2676,7 @@ var UniversalSidebar = ({
|
|
|
2676
2676
|
"button",
|
|
2677
2677
|
{
|
|
2678
2678
|
onClick: () => setShowLogoutDialog(true),
|
|
2679
|
-
className: "w-12 h-12 rounded-full flex items-center justify-center text-stone-
|
|
2679
|
+
className: "w-12 h-12 rounded-full flex items-center justify-center text-stone-600 hover:bg-white/50 transition-all outline-none"
|
|
2680
2680
|
},
|
|
2681
2681
|
/* @__PURE__ */ import_react42.default.createElement(import_react43.HugeiconsIcon, { icon: import_core_free_icons17.LogoutCircle02Icon, size: 20 })
|
|
2682
2682
|
))), showLogoutAction && /* @__PURE__ */ import_react42.default.createElement(
|
|
@@ -5274,10 +5274,10 @@ var UniversalHome2 = ({
|
|
|
5274
5274
|
))), /* @__PURE__ */ import_react87.default.createElement("div", { className: "flex items-center gap-2 shrink-0" }, /* @__PURE__ */ import_react87.default.createElement(
|
|
5275
5275
|
"button",
|
|
5276
5276
|
{
|
|
5277
|
-
onClick: () => router.push("/app/
|
|
5277
|
+
onClick: () => router.push("/app/ai"),
|
|
5278
5278
|
className: "relative w-10 h-10 flex items-center justify-center rounded-full bg-white outline-none hover:bg-stone-50 transition-colors"
|
|
5279
5279
|
},
|
|
5280
|
-
/* @__PURE__ */ import_react87.default.createElement(import_react88.HugeiconsIcon, { icon: import_core_free_icons32.
|
|
5280
|
+
/* @__PURE__ */ import_react87.default.createElement(import_react88.HugeiconsIcon, { icon: import_core_free_icons32.Robot01Icon, size: 20, className: "text-black" })
|
|
5281
5281
|
), /* @__PURE__ */ import_react87.default.createElement(
|
|
5282
5282
|
"button",
|
|
5283
5283
|
{
|
|
@@ -5460,7 +5460,7 @@ var UniversalSettings = ({
|
|
|
5460
5460
|
if (typeof window !== "undefined") window.history.back();
|
|
5461
5461
|
});
|
|
5462
5462
|
const isOrg = accountType === "ORGANIZATION";
|
|
5463
|
-
const canManage =
|
|
5463
|
+
const canManage = ["ADMIN", "MANAGER", "OWNER"].includes(userRole?.toUpperCase() || "");
|
|
5464
5464
|
const [activeTab, setActiveTab] = (0, import_react89.useState)(isOrg ? "MEMBERS" : "ACCOUNT");
|
|
5465
5465
|
const [expandedId, setExpandedId] = (0, import_react89.useState)(null);
|
|
5466
5466
|
const [memberToRemove, setMemberToRemove] = (0, import_react89.useState)(null);
|
package/dist/index.mjs
CHANGED
|
@@ -1038,7 +1038,7 @@ var MobileNav = ({ items }) => {
|
|
|
1038
1038
|
href: item.href,
|
|
1039
1039
|
className: "flex flex-col items-center justify-center gap-1 min-w-14 transition-transform active:scale-95 outline-none"
|
|
1040
1040
|
},
|
|
1041
|
-
/* @__PURE__ */ React12.createElement("div", { className: `transition-colors duration-300 ${isActive ? "text-
|
|
1041
|
+
/* @__PURE__ */ React12.createElement("div", { className: `transition-colors duration-300 ${isActive ? "text-[#d97757]" : "text-stone-400 hover:text-stone-600"}` }, /* @__PURE__ */ React12.createElement(
|
|
1042
1042
|
HugeiconsIcon8,
|
|
1043
1043
|
{
|
|
1044
1044
|
icon: item.icon,
|
|
@@ -1048,7 +1048,7 @@ var MobileNav = ({ items }) => {
|
|
|
1048
1048
|
/* @__PURE__ */ React12.createElement(
|
|
1049
1049
|
"span",
|
|
1050
1050
|
{
|
|
1051
|
-
className: `text-xs tracking-wide transition-colors duration-300 ${isActive ? "text-
|
|
1051
|
+
className: `text-[xs] tracking-wide truncate transition-colors duration-300 ${isActive ? "text-[#d97757]" : "text-stone-600"}`
|
|
1052
1052
|
},
|
|
1053
1053
|
item.label
|
|
1054
1054
|
)
|
|
@@ -2653,7 +2653,7 @@ var UniversalSidebar = ({
|
|
|
2653
2653
|
key: item.name,
|
|
2654
2654
|
href: item.path,
|
|
2655
2655
|
onClick: (e) => onNavClick ? onNavClick(e, item.path) : void 0,
|
|
2656
|
-
className: `flex items-center justify-center w-12 h-12 mx-auto rounded-full transition-all outline-none group shrink-0 ${isCurrentRoute ? "bg-
|
|
2656
|
+
className: `flex items-center justify-center w-12 h-12 mx-auto rounded-full transition-all outline-none group shrink-0 ${isCurrentRoute ? "bg-[#ffffff] text-[#d97757]" : "text-stone-500 hover:text-black hover:bg-white/50"}`,
|
|
2657
2657
|
title: item.name
|
|
2658
2658
|
},
|
|
2659
2659
|
/* @__PURE__ */ React24.createElement(
|
|
@@ -2661,7 +2661,7 @@ var UniversalSidebar = ({
|
|
|
2661
2661
|
{
|
|
2662
2662
|
icon: item.icon,
|
|
2663
2663
|
size: 20,
|
|
2664
|
-
className: `shrink-0 transition-colors ${isCurrentRoute ? "text-
|
|
2664
|
+
className: `shrink-0 transition-colors ${isCurrentRoute ? "text-[#d97757]" : "text-stone-400 group-hover:text-black"}`
|
|
2665
2665
|
}
|
|
2666
2666
|
)
|
|
2667
2667
|
);
|
|
@@ -2669,7 +2669,7 @@ var UniversalSidebar = ({
|
|
|
2669
2669
|
"button",
|
|
2670
2670
|
{
|
|
2671
2671
|
onClick: () => setShowLogoutDialog(true),
|
|
2672
|
-
className: "w-12 h-12 rounded-full flex items-center justify-center text-stone-
|
|
2672
|
+
className: "w-12 h-12 rounded-full flex items-center justify-center text-stone-600 hover:bg-white/50 transition-all outline-none"
|
|
2673
2673
|
},
|
|
2674
2674
|
/* @__PURE__ */ React24.createElement(HugeiconsIcon19, { icon: LogoutCircle02Icon2, size: 20 })
|
|
2675
2675
|
))), showLogoutAction && /* @__PURE__ */ React24.createElement(
|
|
@@ -5224,7 +5224,7 @@ import {
|
|
|
5224
5224
|
ArrowRight01Icon as ArrowRight01Icon12,
|
|
5225
5225
|
CancelCircleIcon as CancelCircleIcon11,
|
|
5226
5226
|
ArrowUpRight01Icon as ArrowUpRight01Icon3,
|
|
5227
|
-
|
|
5227
|
+
Robot01Icon,
|
|
5228
5228
|
Logout01Icon,
|
|
5229
5229
|
Tick02Icon as Tick02Icon2
|
|
5230
5230
|
} from "@hugeicons/core-free-icons";
|
|
@@ -5320,10 +5320,10 @@ var UniversalHome2 = ({
|
|
|
5320
5320
|
))), /* @__PURE__ */ React51.createElement("div", { className: "flex items-center gap-2 shrink-0" }, /* @__PURE__ */ React51.createElement(
|
|
5321
5321
|
"button",
|
|
5322
5322
|
{
|
|
5323
|
-
onClick: () => router.push("/app/
|
|
5323
|
+
onClick: () => router.push("/app/ai"),
|
|
5324
5324
|
className: "relative w-10 h-10 flex items-center justify-center rounded-full bg-white outline-none hover:bg-stone-50 transition-colors"
|
|
5325
5325
|
},
|
|
5326
|
-
/* @__PURE__ */ React51.createElement(HugeiconsIcon37, { icon:
|
|
5326
|
+
/* @__PURE__ */ React51.createElement(HugeiconsIcon37, { icon: Robot01Icon, size: 20, className: "text-black" })
|
|
5327
5327
|
), /* @__PURE__ */ React51.createElement(
|
|
5328
5328
|
"button",
|
|
5329
5329
|
{
|
|
@@ -5516,7 +5516,7 @@ var UniversalSettings = ({
|
|
|
5516
5516
|
if (typeof window !== "undefined") window.history.back();
|
|
5517
5517
|
});
|
|
5518
5518
|
const isOrg = accountType === "ORGANIZATION";
|
|
5519
|
-
const canManage =
|
|
5519
|
+
const canManage = ["ADMIN", "MANAGER", "OWNER"].includes(userRole?.toUpperCase() || "");
|
|
5520
5520
|
const [activeTab, setActiveTab] = useState38(isOrg ? "MEMBERS" : "ACCOUNT");
|
|
5521
5521
|
const [expandedId, setExpandedId] = useState38(null);
|
|
5522
5522
|
const [memberToRemove, setMemberToRemove] = useState38(null);
|