@opencosmos/ui 1.3.2 → 1.3.3
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.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
- package/src/components/layout/AppSidebar.tsx +3 -3
- package/LICENSE +0 -21
package/dist/index.mjs
CHANGED
|
@@ -10840,7 +10840,7 @@ function AppSidebar({
|
|
|
10840
10840
|
}
|
|
10841
10841
|
)
|
|
10842
10842
|
] }),
|
|
10843
|
-
items.length > 0 && /* @__PURE__ */ jsx89("nav", { className: "px-2 py-2 space-y-
|
|
10843
|
+
items.length > 0 && /* @__PURE__ */ jsx89("nav", { className: "px-2 py-2 space-y-1 shrink-0", "aria-label": "Main navigation", children: items.map((item) => /* @__PURE__ */ jsxs56(
|
|
10844
10844
|
"a",
|
|
10845
10845
|
{
|
|
10846
10846
|
href: item.href,
|
|
@@ -10851,7 +10851,7 @@ function AppSidebar({
|
|
|
10851
10851
|
className: cn(
|
|
10852
10852
|
"flex items-center rounded-lg transition-colors duration-150",
|
|
10853
10853
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus)]",
|
|
10854
|
-
isOpen ? "gap-3 px-3 py-
|
|
10854
|
+
isOpen ? "gap-3 px-3 py-3" : "justify-center w-9 h-9 mx-auto",
|
|
10855
10855
|
item.active ? "bg-foreground/8 text-foreground font-medium" : "text-[var(--color-text-secondary)] hover:bg-foreground/5 hover:text-[var(--color-text-primary)]"
|
|
10856
10856
|
),
|
|
10857
10857
|
children: [
|
|
@@ -10887,7 +10887,7 @@ function AppSidebar({
|
|
|
10887
10887
|
{
|
|
10888
10888
|
className: cn(
|
|
10889
10889
|
"shrink-0 border-t border-foreground/8",
|
|
10890
|
-
isOpen ? "
|
|
10890
|
+
isOpen ? "px-4 py-4 space-y-3" : "px-2 py-3 flex justify-center"
|
|
10891
10891
|
),
|
|
10892
10892
|
children: footer
|
|
10893
10893
|
}
|