@retinalabsllc/zairusjs 4.0.13 → 4.0.15
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -63
- package/dist/index.mjs +11 -65
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -454,7 +454,7 @@ interface GifFeatureCardProps {
|
|
|
454
454
|
}
|
|
455
455
|
declare const GifFeatureCard: React.FC<GifFeatureCardProps>;
|
|
456
456
|
|
|
457
|
-
type AppTypeKey = '
|
|
457
|
+
type AppTypeKey = 'audditur' | 'desktop' | 'admin' | 'unknown';
|
|
458
458
|
interface NavItem {
|
|
459
459
|
name: string;
|
|
460
460
|
path: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -454,7 +454,7 @@ interface GifFeatureCardProps {
|
|
|
454
454
|
}
|
|
455
455
|
declare const GifFeatureCard: React.FC<GifFeatureCardProps>;
|
|
456
456
|
|
|
457
|
-
type AppTypeKey = '
|
|
457
|
+
type AppTypeKey = 'audditur' | 'desktop' | 'admin' | 'unknown';
|
|
458
458
|
interface NavItem {
|
|
459
459
|
name: string;
|
|
460
460
|
path: string;
|
package/dist/index.js
CHANGED
|
@@ -1723,13 +1723,8 @@ var import_react37 = require("@hugeicons/react");
|
|
|
1723
1723
|
var import_core_free_icons8 = require("@hugeicons/core-free-icons");
|
|
1724
1724
|
var ButtonSpinner = () => /* @__PURE__ */ import_react36.default.createElement("svg", { className: "animate-spin h-4 w-4 text-neutral-400", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24" }, /* @__PURE__ */ import_react36.default.createElement("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), /* @__PURE__ */ import_react36.default.createElement("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" }));
|
|
1725
1725
|
var ECOSYSTEM_APPS = [
|
|
1726
|
-
{ id: "desktop", name: "Retina
|
|
1727
|
-
{ id: "audditur", name: "Audditur", description: "AI Legal & Compliance", iconSrc: "https://retinalabs.company/assets/images/audditur.avif", url: "https://audditur.
|
|
1728
|
-
{ id: "docx", name: "Retina Docx", description: "Collaborative Word Processing", iconSrc: "https://retinalabs.company/assets/images/docx.avif", url: "https://docx.retinaapps.com/app" },
|
|
1729
|
-
{ id: "sheets", name: "Retina Sheets", description: "Advanced Spreadsheets", iconSrc: "https://retinalabs.company/assets/images/sheets.avif", url: "https://sheets.retinaapps.com/app" },
|
|
1730
|
-
{ id: "drive", name: "Retina Drive", description: "Secure Cloud Storage", iconSrc: "https://retinalabs.company/assets/images/drive.avif", url: "https://drive.retinaapps.com/app" },
|
|
1731
|
-
{ id: "calendar", name: "Retina Calendar", description: "Smart Scheduling", iconSrc: "https://retinalabs.company/assets/images/calendar.avif", url: "https://calendar.retinaapps.com/app" },
|
|
1732
|
-
{ id: "mail", name: "Retina Mail", description: "Secure Email Inbox", iconSrc: "https://retinalabs.company/assets/images/mail.avif", url: "https://mail.retinaapps.com/app" }
|
|
1726
|
+
{ id: "desktop", name: "Retina", description: "Ai Document Editor", iconSrc: "https://retinalabs.company/assets/images/retina.avif", url: "https://app.retinaapps.com/" },
|
|
1727
|
+
{ id: "audditur", name: "Audditur", description: "AI Legal & Compliance", iconSrc: "https://retinalabs.company/assets/images/audditur.avif", url: "https://app.audditur.com/" }
|
|
1733
1728
|
];
|
|
1734
1729
|
var UniversalSidebar = ({
|
|
1735
1730
|
navItems,
|
|
@@ -1757,7 +1752,6 @@ var UniversalSidebar = ({
|
|
|
1757
1752
|
interceptMessage = "Are you sure you want to leave? All unsaved changes will be lost."
|
|
1758
1753
|
}) => {
|
|
1759
1754
|
const [isCollapsed, setIsCollapsed] = (0, import_react36.useState)(false);
|
|
1760
|
-
const [showAppSwitcherDialog, setShowAppSwitcherDialog] = (0, import_react36.useState)(false);
|
|
1761
1755
|
const [showSwitcherDialog, setShowSwitcherDialog] = (0, import_react36.useState)(false);
|
|
1762
1756
|
const [showLogoutDialog, setShowLogoutDialog] = (0, import_react36.useState)(false);
|
|
1763
1757
|
const [isLoggingOut, setIsLoggingOut] = (0, import_react36.useState)(false);
|
|
@@ -1820,29 +1814,14 @@ var UniversalSidebar = ({
|
|
|
1820
1814
|
${isCollapsed ? "md:w-16 w-64" : "w-64"}
|
|
1821
1815
|
`
|
|
1822
1816
|
},
|
|
1823
|
-
/* @__PURE__ */ import_react36.default.createElement("div", { className: `flex items-center shrink-0 p-5 ${isCollapsed && !isMobileOpen ? "justify-center min-h-18" : "justify-between"}` }, /* @__PURE__ */ import_react36.default.createElement(
|
|
1824
|
-
"
|
|
1817
|
+
/* @__PURE__ */ import_react36.default.createElement("div", { className: `flex items-center shrink-0 p-5 ${isCollapsed && !isMobileOpen ? "justify-center min-h-18" : "justify-between"}` }, /* @__PURE__ */ import_react36.default.createElement("div", { className: `flex items-center gap-3 text-left ${!isCollapsed || isMobileOpen ? "w-full" : ""}` }, currentAppConfig ? /* @__PURE__ */ import_react36.default.createElement(
|
|
1818
|
+
"img",
|
|
1825
1819
|
{
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
{
|
|
1832
|
-
src: currentAppConfig.iconSrc,
|
|
1833
|
-
alt: currentAppConfig.name,
|
|
1834
|
-
className: "w-5 h-5 rounded-md object-contain shrink-0 group-hover:scale-105 transition-transform"
|
|
1835
|
-
}
|
|
1836
|
-
) : /* @__PURE__ */ import_react36.default.createElement("div", { className: " rounded-md shrink-0 flex items-center justify-center" }),
|
|
1837
|
-
(!isCollapsed || isMobileOpen) && /* @__PURE__ */ import_react36.default.createElement(import_react36.default.Fragment, null, /* @__PURE__ */ import_react36.default.createElement("div", { className: "flex flex-col justify-center min-w-0 pr-2 flex-1" }, /* @__PURE__ */ import_react36.default.createElement("span", { className: "text-[13px] text-black leading-none truncate tracking-wide mb-1 group-hover:opacity-70 transition-opacity" }, title), subtitle && /* @__PURE__ */ import_react36.default.createElement("span", { className: "text-[9px] text-neutral-500 truncate tracking-[0.2em] leading-none " }, subtitle)), /* @__PURE__ */ import_react36.default.createElement(
|
|
1838
|
-
import_react37.HugeiconsIcon,
|
|
1839
|
-
{
|
|
1840
|
-
icon: import_core_free_icons8.CircleArrowDown01Icon,
|
|
1841
|
-
size: 20,
|
|
1842
|
-
className: "text-neutral-400 shrink-0 group-hover:text-black transition-colors mr-3 ml-auto"
|
|
1843
|
-
}
|
|
1844
|
-
))
|
|
1845
|
-
), /* @__PURE__ */ import_react36.default.createElement("div", { className: "md:hidden flex shrink-0" }, /* @__PURE__ */ import_react36.default.createElement(
|
|
1820
|
+
src: currentAppConfig.iconSrc,
|
|
1821
|
+
alt: currentAppConfig.name,
|
|
1822
|
+
className: "w-5 h-5 rounded-md object-contain shrink-0"
|
|
1823
|
+
}
|
|
1824
|
+
) : /* @__PURE__ */ import_react36.default.createElement("div", { className: " rounded-md shrink-0 flex items-center justify-center" }), (!isCollapsed || isMobileOpen) && /* @__PURE__ */ import_react36.default.createElement("div", { className: "flex flex-col justify-center min-w-0 pr-2 flex-1" }, /* @__PURE__ */ import_react36.default.createElement("span", { className: "text-[13px] text-black leading-none truncate tracking-wide mb-1" }, title), subtitle && /* @__PURE__ */ import_react36.default.createElement("span", { className: "text-[9px] text-neutral-500 truncate tracking-[0.2em] leading-none " }, subtitle))), /* @__PURE__ */ import_react36.default.createElement("div", { className: "md:hidden flex shrink-0" }, /* @__PURE__ */ import_react36.default.createElement(
|
|
1846
1825
|
"button",
|
|
1847
1826
|
{
|
|
1848
1827
|
onClick: closeMobile,
|
|
@@ -1908,39 +1887,7 @@ var UniversalSidebar = ({
|
|
|
1908
1887
|
/* @__PURE__ */ import_react36.default.createElement(import_react37.HugeiconsIcon, { icon: import_core_free_icons8.SidebarLeft01Icon, size: 18, className: "shrink-0 text-neutral-400" }),
|
|
1909
1888
|
!isCollapsed && /* @__PURE__ */ import_react36.default.createElement("span", { className: "text-xs" }, "Collapse")
|
|
1910
1889
|
)))
|
|
1911
|
-
),
|
|
1912
|
-
"div",
|
|
1913
|
-
{
|
|
1914
|
-
className: "absolute inset-0 bg-black/30 transition-opacity",
|
|
1915
|
-
onClick: () => setShowAppSwitcherDialog(false)
|
|
1916
|
-
}
|
|
1917
|
-
), /* @__PURE__ */ import_react36.default.createElement("div", { className: "relative w-full max-w-85 bg-white rounded-2xl flex flex-col overflow-hidden shadow-2xl animate-in zoom-in-95 duration-200" }, /* @__PURE__ */ import_react36.default.createElement("div", { className: "p-5 w-full flex items-center justify-between" }, /* @__PURE__ */ import_react36.default.createElement("div", null, /* @__PURE__ */ import_react36.default.createElement("h3", { className: "text-[15px] text-black tracking-tight " }, "Retina Apps"), /* @__PURE__ */ import_react36.default.createElement("p", { className: "text-[11px] text-neutral-500 tracking-widest mt-0.5 " }, "Switch Applications")), /* @__PURE__ */ import_react36.default.createElement(
|
|
1918
|
-
"button",
|
|
1919
|
-
{
|
|
1920
|
-
onClick: () => setShowAppSwitcherDialog(false),
|
|
1921
|
-
className: "w-8 h-8 flex items-center justify-center rounded-full hover:bg-neutral-100 text-neutral-400 transition-colors"
|
|
1922
|
-
},
|
|
1923
|
-
/* @__PURE__ */ import_react36.default.createElement(import_react37.HugeiconsIcon, { icon: import_core_free_icons8.CancelCircleIcon, size: 18 })
|
|
1924
|
-
)), /* @__PURE__ */ import_react36.default.createElement("div", { className: "max-h-[60vh] overflow-y-auto w-full custom-scrollbar p-2" }, ECOSYSTEM_APPS.map((app) => {
|
|
1925
|
-
const isActive = currentAppType === app.id;
|
|
1926
|
-
return /* @__PURE__ */ import_react36.default.createElement(
|
|
1927
|
-
"a",
|
|
1928
|
-
{
|
|
1929
|
-
key: app.id,
|
|
1930
|
-
href: app.url,
|
|
1931
|
-
className: `w-full text-left p-3 flex items-center gap-4 rounded-xl transition-all outline-none ${isActive ? " bg-neutral-50" : "hover:bg-neutral-50 border border-transparent"}`
|
|
1932
|
-
},
|
|
1933
|
-
/* @__PURE__ */ import_react36.default.createElement(
|
|
1934
|
-
"img",
|
|
1935
|
-
{
|
|
1936
|
-
src: app.iconSrc,
|
|
1937
|
-
alt: app.name,
|
|
1938
|
-
className: "w-5 h-5 object-contain shrink-0"
|
|
1939
|
-
}
|
|
1940
|
-
),
|
|
1941
|
-
/* @__PURE__ */ import_react36.default.createElement("div", { className: "flex flex-col min-w-0 flex-1" }, /* @__PURE__ */ import_react36.default.createElement("span", { className: "text-[13px] text-black tracking-tight truncate" }, app.name), /* @__PURE__ */ import_react36.default.createElement("span", { className: "text-[11px] text-neutral-500 mt-0.5 truncate leading-snug" }, app.description))
|
|
1942
|
-
);
|
|
1943
|
-
})))), showSwitcherDialog && showWorkspaceSwitcher && workspaces && workspaces.length > 0 && /* @__PURE__ */ import_react36.default.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4 pointer-events-auto" }, /* @__PURE__ */ import_react36.default.createElement(
|
|
1890
|
+
), showSwitcherDialog && showWorkspaceSwitcher && workspaces && workspaces.length > 0 && /* @__PURE__ */ import_react36.default.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4 pointer-events-auto" }, /* @__PURE__ */ import_react36.default.createElement(
|
|
1944
1891
|
"div",
|
|
1945
1892
|
{
|
|
1946
1893
|
className: "absolute inset-0 bg-black/30",
|
package/dist/index.mjs
CHANGED
|
@@ -1640,18 +1640,12 @@ import {
|
|
|
1640
1640
|
UserIcon,
|
|
1641
1641
|
CheckmarkCircle01Icon,
|
|
1642
1642
|
LogoutCircle02Icon,
|
|
1643
|
-
ArrowLeft01Icon as ArrowLeft01Icon2
|
|
1644
|
-
CircleArrowDown01Icon
|
|
1643
|
+
ArrowLeft01Icon as ArrowLeft01Icon2
|
|
1645
1644
|
} from "@hugeicons/core-free-icons";
|
|
1646
1645
|
var ButtonSpinner = () => /* @__PURE__ */ React25.createElement("svg", { className: "animate-spin h-4 w-4 text-neutral-400", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24" }, /* @__PURE__ */ React25.createElement("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), /* @__PURE__ */ React25.createElement("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" }));
|
|
1647
1646
|
var ECOSYSTEM_APPS = [
|
|
1648
|
-
{ id: "desktop", name: "Retina
|
|
1649
|
-
{ id: "audditur", name: "Audditur", description: "AI Legal & Compliance", iconSrc: "https://retinalabs.company/assets/images/audditur.avif", url: "https://audditur.
|
|
1650
|
-
{ id: "docx", name: "Retina Docx", description: "Collaborative Word Processing", iconSrc: "https://retinalabs.company/assets/images/docx.avif", url: "https://docx.retinaapps.com/app" },
|
|
1651
|
-
{ id: "sheets", name: "Retina Sheets", description: "Advanced Spreadsheets", iconSrc: "https://retinalabs.company/assets/images/sheets.avif", url: "https://sheets.retinaapps.com/app" },
|
|
1652
|
-
{ id: "drive", name: "Retina Drive", description: "Secure Cloud Storage", iconSrc: "https://retinalabs.company/assets/images/drive.avif", url: "https://drive.retinaapps.com/app" },
|
|
1653
|
-
{ id: "calendar", name: "Retina Calendar", description: "Smart Scheduling", iconSrc: "https://retinalabs.company/assets/images/calendar.avif", url: "https://calendar.retinaapps.com/app" },
|
|
1654
|
-
{ id: "mail", name: "Retina Mail", description: "Secure Email Inbox", iconSrc: "https://retinalabs.company/assets/images/mail.avif", url: "https://mail.retinaapps.com/app" }
|
|
1647
|
+
{ id: "desktop", name: "Retina", description: "Ai Document Editor", iconSrc: "https://retinalabs.company/assets/images/retina.avif", url: "https://app.retinaapps.com/" },
|
|
1648
|
+
{ id: "audditur", name: "Audditur", description: "AI Legal & Compliance", iconSrc: "https://retinalabs.company/assets/images/audditur.avif", url: "https://app.audditur.com/" }
|
|
1655
1649
|
];
|
|
1656
1650
|
var UniversalSidebar = ({
|
|
1657
1651
|
navItems,
|
|
@@ -1679,7 +1673,6 @@ var UniversalSidebar = ({
|
|
|
1679
1673
|
interceptMessage = "Are you sure you want to leave? All unsaved changes will be lost."
|
|
1680
1674
|
}) => {
|
|
1681
1675
|
const [isCollapsed, setIsCollapsed] = useState13(false);
|
|
1682
|
-
const [showAppSwitcherDialog, setShowAppSwitcherDialog] = useState13(false);
|
|
1683
1676
|
const [showSwitcherDialog, setShowSwitcherDialog] = useState13(false);
|
|
1684
1677
|
const [showLogoutDialog, setShowLogoutDialog] = useState13(false);
|
|
1685
1678
|
const [isLoggingOut, setIsLoggingOut] = useState13(false);
|
|
@@ -1742,29 +1735,14 @@ var UniversalSidebar = ({
|
|
|
1742
1735
|
${isCollapsed ? "md:w-16 w-64" : "w-64"}
|
|
1743
1736
|
`
|
|
1744
1737
|
},
|
|
1745
|
-
/* @__PURE__ */ React25.createElement("div", { className: `flex items-center shrink-0 p-5 ${isCollapsed && !isMobileOpen ? "justify-center min-h-18" : "justify-between"}` }, /* @__PURE__ */ React25.createElement(
|
|
1746
|
-
"
|
|
1738
|
+
/* @__PURE__ */ React25.createElement("div", { className: `flex items-center shrink-0 p-5 ${isCollapsed && !isMobileOpen ? "justify-center min-h-18" : "justify-between"}` }, /* @__PURE__ */ React25.createElement("div", { className: `flex items-center gap-3 text-left ${!isCollapsed || isMobileOpen ? "w-full" : ""}` }, currentAppConfig ? /* @__PURE__ */ React25.createElement(
|
|
1739
|
+
"img",
|
|
1747
1740
|
{
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
{
|
|
1754
|
-
src: currentAppConfig.iconSrc,
|
|
1755
|
-
alt: currentAppConfig.name,
|
|
1756
|
-
className: "w-5 h-5 rounded-md object-contain shrink-0 group-hover:scale-105 transition-transform"
|
|
1757
|
-
}
|
|
1758
|
-
) : /* @__PURE__ */ React25.createElement("div", { className: " rounded-md shrink-0 flex items-center justify-center" }),
|
|
1759
|
-
(!isCollapsed || isMobileOpen) && /* @__PURE__ */ React25.createElement(React25.Fragment, null, /* @__PURE__ */ React25.createElement("div", { className: "flex flex-col justify-center min-w-0 pr-2 flex-1" }, /* @__PURE__ */ React25.createElement("span", { className: "text-[13px] text-black leading-none truncate tracking-wide mb-1 group-hover:opacity-70 transition-opacity" }, title), subtitle && /* @__PURE__ */ React25.createElement("span", { className: "text-[9px] text-neutral-500 truncate tracking-[0.2em] leading-none " }, subtitle)), /* @__PURE__ */ React25.createElement(
|
|
1760
|
-
HugeiconsIcon12,
|
|
1761
|
-
{
|
|
1762
|
-
icon: CircleArrowDown01Icon,
|
|
1763
|
-
size: 20,
|
|
1764
|
-
className: "text-neutral-400 shrink-0 group-hover:text-black transition-colors mr-3 ml-auto"
|
|
1765
|
-
}
|
|
1766
|
-
))
|
|
1767
|
-
), /* @__PURE__ */ React25.createElement("div", { className: "md:hidden flex shrink-0" }, /* @__PURE__ */ React25.createElement(
|
|
1741
|
+
src: currentAppConfig.iconSrc,
|
|
1742
|
+
alt: currentAppConfig.name,
|
|
1743
|
+
className: "w-5 h-5 rounded-md object-contain shrink-0"
|
|
1744
|
+
}
|
|
1745
|
+
) : /* @__PURE__ */ React25.createElement("div", { className: " rounded-md shrink-0 flex items-center justify-center" }), (!isCollapsed || isMobileOpen) && /* @__PURE__ */ React25.createElement("div", { className: "flex flex-col justify-center min-w-0 pr-2 flex-1" }, /* @__PURE__ */ React25.createElement("span", { className: "text-[13px] text-black leading-none truncate tracking-wide mb-1" }, title), subtitle && /* @__PURE__ */ React25.createElement("span", { className: "text-[9px] text-neutral-500 truncate tracking-[0.2em] leading-none " }, subtitle))), /* @__PURE__ */ React25.createElement("div", { className: "md:hidden flex shrink-0" }, /* @__PURE__ */ React25.createElement(
|
|
1768
1746
|
"button",
|
|
1769
1747
|
{
|
|
1770
1748
|
onClick: closeMobile,
|
|
@@ -1830,39 +1808,7 @@ var UniversalSidebar = ({
|
|
|
1830
1808
|
/* @__PURE__ */ React25.createElement(HugeiconsIcon12, { icon: SidebarLeft01Icon, size: 18, className: "shrink-0 text-neutral-400" }),
|
|
1831
1809
|
!isCollapsed && /* @__PURE__ */ React25.createElement("span", { className: "text-xs" }, "Collapse")
|
|
1832
1810
|
)))
|
|
1833
|
-
),
|
|
1834
|
-
"div",
|
|
1835
|
-
{
|
|
1836
|
-
className: "absolute inset-0 bg-black/30 transition-opacity",
|
|
1837
|
-
onClick: () => setShowAppSwitcherDialog(false)
|
|
1838
|
-
}
|
|
1839
|
-
), /* @__PURE__ */ React25.createElement("div", { className: "relative w-full max-w-85 bg-white rounded-2xl flex flex-col overflow-hidden shadow-2xl animate-in zoom-in-95 duration-200" }, /* @__PURE__ */ React25.createElement("div", { className: "p-5 w-full flex items-center justify-between" }, /* @__PURE__ */ React25.createElement("div", null, /* @__PURE__ */ React25.createElement("h3", { className: "text-[15px] text-black tracking-tight " }, "Retina Apps"), /* @__PURE__ */ React25.createElement("p", { className: "text-[11px] text-neutral-500 tracking-widest mt-0.5 " }, "Switch Applications")), /* @__PURE__ */ React25.createElement(
|
|
1840
|
-
"button",
|
|
1841
|
-
{
|
|
1842
|
-
onClick: () => setShowAppSwitcherDialog(false),
|
|
1843
|
-
className: "w-8 h-8 flex items-center justify-center rounded-full hover:bg-neutral-100 text-neutral-400 transition-colors"
|
|
1844
|
-
},
|
|
1845
|
-
/* @__PURE__ */ React25.createElement(HugeiconsIcon12, { icon: CancelCircleIcon, size: 18 })
|
|
1846
|
-
)), /* @__PURE__ */ React25.createElement("div", { className: "max-h-[60vh] overflow-y-auto w-full custom-scrollbar p-2" }, ECOSYSTEM_APPS.map((app) => {
|
|
1847
|
-
const isActive = currentAppType === app.id;
|
|
1848
|
-
return /* @__PURE__ */ React25.createElement(
|
|
1849
|
-
"a",
|
|
1850
|
-
{
|
|
1851
|
-
key: app.id,
|
|
1852
|
-
href: app.url,
|
|
1853
|
-
className: `w-full text-left p-3 flex items-center gap-4 rounded-xl transition-all outline-none ${isActive ? " bg-neutral-50" : "hover:bg-neutral-50 border border-transparent"}`
|
|
1854
|
-
},
|
|
1855
|
-
/* @__PURE__ */ React25.createElement(
|
|
1856
|
-
"img",
|
|
1857
|
-
{
|
|
1858
|
-
src: app.iconSrc,
|
|
1859
|
-
alt: app.name,
|
|
1860
|
-
className: "w-5 h-5 object-contain shrink-0"
|
|
1861
|
-
}
|
|
1862
|
-
),
|
|
1863
|
-
/* @__PURE__ */ React25.createElement("div", { className: "flex flex-col min-w-0 flex-1" }, /* @__PURE__ */ React25.createElement("span", { className: "text-[13px] text-black tracking-tight truncate" }, app.name), /* @__PURE__ */ React25.createElement("span", { className: "text-[11px] text-neutral-500 mt-0.5 truncate leading-snug" }, app.description))
|
|
1864
|
-
);
|
|
1865
|
-
})))), showSwitcherDialog && showWorkspaceSwitcher && workspaces && workspaces.length > 0 && /* @__PURE__ */ React25.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4 pointer-events-auto" }, /* @__PURE__ */ React25.createElement(
|
|
1811
|
+
), showSwitcherDialog && showWorkspaceSwitcher && workspaces && workspaces.length > 0 && /* @__PURE__ */ React25.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4 pointer-events-auto" }, /* @__PURE__ */ React25.createElement(
|
|
1866
1812
|
"div",
|
|
1867
1813
|
{
|
|
1868
1814
|
className: "absolute inset-0 bg-black/30",
|