@retinalabsllc/zairusjs 0.9.9 → 1.0.0
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 +14 -7
- package/dist/index.mjs +16 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1810,10 +1810,17 @@ var UniversalSidebar = ({
|
|
|
1810
1810
|
{
|
|
1811
1811
|
src: currentAppConfig.iconSrc,
|
|
1812
1812
|
alt: currentAppConfig.name,
|
|
1813
|
-
className: "w-
|
|
1813
|
+
className: "w-5 h-5 rounded-md object-contain shrink-0 group-hover:scale-105 transition-transform"
|
|
1814
1814
|
}
|
|
1815
|
-
) : /* @__PURE__ */ import_react36.default.createElement("div", { className: "
|
|
1816
|
-
(!isCollapsed || isMobileOpen) && /* @__PURE__ */ import_react36.default.createElement("div", { className: "flex flex-col justify-center min-w-0 pr-2" }, /* @__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 uppercase" }, subtitle))
|
|
1815
|
+
) : /* @__PURE__ */ import_react36.default.createElement("div", { className: " rounded-md shrink-0 flex items-center justify-center" }),
|
|
1816
|
+
(!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 uppercase" }, subtitle)), /* @__PURE__ */ import_react36.default.createElement(
|
|
1817
|
+
import_react37.HugeiconsIcon,
|
|
1818
|
+
{
|
|
1819
|
+
icon: import_core_free_icons8.CircleArrowDown01Icon,
|
|
1820
|
+
size: 14,
|
|
1821
|
+
className: "text-neutral-400 shrink-0 group-hover:text-black transition-colors ml-auto"
|
|
1822
|
+
}
|
|
1823
|
+
))
|
|
1817
1824
|
), /* @__PURE__ */ import_react36.default.createElement("div", { className: "md:hidden flex shrink-0" }, /* @__PURE__ */ import_react36.default.createElement(
|
|
1818
1825
|
"button",
|
|
1819
1826
|
{
|
|
@@ -1874,10 +1881,10 @@ var UniversalSidebar = ({
|
|
|
1874
1881
|
), showAppSwitcherDialog && /* @__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(
|
|
1875
1882
|
"div",
|
|
1876
1883
|
{
|
|
1877
|
-
className: "absolute inset-0 bg-black/30
|
|
1884
|
+
className: "absolute inset-0 bg-black/30 transition-opacity",
|
|
1878
1885
|
onClick: () => setShowAppSwitcherDialog(false)
|
|
1879
1886
|
}
|
|
1880
|
-
), /* @__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
|
|
1887
|
+
), /* @__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 font-medium" }, "Retina Apps"), /* @__PURE__ */ import_react36.default.createElement("p", { className: "text-[10px] text-neutral-500 tracking-widest mt-0.5 uppercase" }, "Switch Applications")), /* @__PURE__ */ import_react36.default.createElement(
|
|
1881
1888
|
"button",
|
|
1882
1889
|
{
|
|
1883
1890
|
onClick: () => setShowAppSwitcherDialog(false),
|
|
@@ -1891,14 +1898,14 @@ var UniversalSidebar = ({
|
|
|
1891
1898
|
{
|
|
1892
1899
|
key: app.id,
|
|
1893
1900
|
href: app.url,
|
|
1894
|
-
className: `w-full text-left p-3 flex items-center gap-4 rounded-xl transition-all outline-none ${isActive ? "
|
|
1901
|
+
className: `w-full text-left p-3 flex items-center gap-4 rounded-xl transition-all outline-none ${isActive ? " border border-neutral-200" : "hover:bg-neutral-50 border border-transparent"}`
|
|
1895
1902
|
},
|
|
1896
1903
|
/* @__PURE__ */ import_react36.default.createElement(
|
|
1897
1904
|
"img",
|
|
1898
1905
|
{
|
|
1899
1906
|
src: app.iconSrc,
|
|
1900
1907
|
alt: app.name,
|
|
1901
|
-
className: "w-
|
|
1908
|
+
className: "w-5 h-5 object-contain shrink-0"
|
|
1902
1909
|
}
|
|
1903
1910
|
),
|
|
1904
1911
|
/* @__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 font-medium tracking-tight truncate" }, app.name), /* @__PURE__ */ import_react36.default.createElement("span", { className: "text-[10px] text-neutral-500 mt-0.5 truncate leading-snug" }, app.description))
|
package/dist/index.mjs
CHANGED
|
@@ -1625,7 +1625,8 @@ import {
|
|
|
1625
1625
|
UserIcon,
|
|
1626
1626
|
CheckmarkCircle01Icon,
|
|
1627
1627
|
LogoutCircle02Icon,
|
|
1628
|
-
ArrowLeft01Icon as ArrowLeft01Icon2
|
|
1628
|
+
ArrowLeft01Icon as ArrowLeft01Icon2,
|
|
1629
|
+
CircleArrowDown01Icon
|
|
1629
1630
|
} from "@hugeicons/core-free-icons";
|
|
1630
1631
|
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" }));
|
|
1631
1632
|
var ECOSYSTEM_APPS = [
|
|
@@ -1737,10 +1738,17 @@ var UniversalSidebar = ({
|
|
|
1737
1738
|
{
|
|
1738
1739
|
src: currentAppConfig.iconSrc,
|
|
1739
1740
|
alt: currentAppConfig.name,
|
|
1740
|
-
className: "w-
|
|
1741
|
+
className: "w-5 h-5 rounded-md object-contain shrink-0 group-hover:scale-105 transition-transform"
|
|
1741
1742
|
}
|
|
1742
|
-
) : /* @__PURE__ */ React25.createElement("div", { className: "
|
|
1743
|
-
(!isCollapsed || isMobileOpen) && /* @__PURE__ */ React25.createElement("div", { className: "flex flex-col justify-center min-w-0 pr-2" }, /* @__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 uppercase" }, subtitle))
|
|
1743
|
+
) : /* @__PURE__ */ React25.createElement("div", { className: " rounded-md shrink-0 flex items-center justify-center" }),
|
|
1744
|
+
(!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 uppercase" }, subtitle)), /* @__PURE__ */ React25.createElement(
|
|
1745
|
+
HugeiconsIcon12,
|
|
1746
|
+
{
|
|
1747
|
+
icon: CircleArrowDown01Icon,
|
|
1748
|
+
size: 14,
|
|
1749
|
+
className: "text-neutral-400 shrink-0 group-hover:text-black transition-colors ml-auto"
|
|
1750
|
+
}
|
|
1751
|
+
))
|
|
1744
1752
|
), /* @__PURE__ */ React25.createElement("div", { className: "md:hidden flex shrink-0" }, /* @__PURE__ */ React25.createElement(
|
|
1745
1753
|
"button",
|
|
1746
1754
|
{
|
|
@@ -1801,10 +1809,10 @@ var UniversalSidebar = ({
|
|
|
1801
1809
|
), showAppSwitcherDialog && /* @__PURE__ */ React25.createElement("div", { className: "fixed inset-0 z-110 flex items-center justify-center p-4 pointer-events-auto" }, /* @__PURE__ */ React25.createElement(
|
|
1802
1810
|
"div",
|
|
1803
1811
|
{
|
|
1804
|
-
className: "absolute inset-0 bg-black/30
|
|
1812
|
+
className: "absolute inset-0 bg-black/30 transition-opacity",
|
|
1805
1813
|
onClick: () => setShowAppSwitcherDialog(false)
|
|
1806
1814
|
}
|
|
1807
|
-
), /* @__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
|
|
1815
|
+
), /* @__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 font-medium" }, "Retina Apps"), /* @__PURE__ */ React25.createElement("p", { className: "text-[10px] text-neutral-500 tracking-widest mt-0.5 uppercase" }, "Switch Applications")), /* @__PURE__ */ React25.createElement(
|
|
1808
1816
|
"button",
|
|
1809
1817
|
{
|
|
1810
1818
|
onClick: () => setShowAppSwitcherDialog(false),
|
|
@@ -1818,14 +1826,14 @@ var UniversalSidebar = ({
|
|
|
1818
1826
|
{
|
|
1819
1827
|
key: app.id,
|
|
1820
1828
|
href: app.url,
|
|
1821
|
-
className: `w-full text-left p-3 flex items-center gap-4 rounded-xl transition-all outline-none ${isActive ? "
|
|
1829
|
+
className: `w-full text-left p-3 flex items-center gap-4 rounded-xl transition-all outline-none ${isActive ? " border border-neutral-200" : "hover:bg-neutral-50 border border-transparent"}`
|
|
1822
1830
|
},
|
|
1823
1831
|
/* @__PURE__ */ React25.createElement(
|
|
1824
1832
|
"img",
|
|
1825
1833
|
{
|
|
1826
1834
|
src: app.iconSrc,
|
|
1827
1835
|
alt: app.name,
|
|
1828
|
-
className: "w-
|
|
1836
|
+
className: "w-5 h-5 object-contain shrink-0"
|
|
1829
1837
|
}
|
|
1830
1838
|
),
|
|
1831
1839
|
/* @__PURE__ */ React25.createElement("div", { className: "flex flex-col min-w-0 flex-1" }, /* @__PURE__ */ React25.createElement("span", { className: "text-[13px] text-black font-medium tracking-tight truncate" }, app.name), /* @__PURE__ */ React25.createElement("span", { className: "text-[10px] text-neutral-500 mt-0.5 truncate leading-snug" }, app.description))
|