@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.js
CHANGED
|
@@ -11190,7 +11190,7 @@ function AppSidebar({
|
|
|
11190
11190
|
}
|
|
11191
11191
|
)
|
|
11192
11192
|
] }),
|
|
11193
|
-
items.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("nav", { className: "px-2 py-2 space-y-
|
|
11193
|
+
items.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("nav", { className: "px-2 py-2 space-y-1 shrink-0", "aria-label": "Main navigation", children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
|
|
11194
11194
|
"a",
|
|
11195
11195
|
{
|
|
11196
11196
|
href: item.href,
|
|
@@ -11201,7 +11201,7 @@ function AppSidebar({
|
|
|
11201
11201
|
className: cn(
|
|
11202
11202
|
"flex items-center rounded-lg transition-colors duration-150",
|
|
11203
11203
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus)]",
|
|
11204
|
-
isOpen ? "gap-3 px-3 py-
|
|
11204
|
+
isOpen ? "gap-3 px-3 py-3" : "justify-center w-9 h-9 mx-auto",
|
|
11205
11205
|
item.active ? "bg-foreground/8 text-foreground font-medium" : "text-[var(--color-text-secondary)] hover:bg-foreground/5 hover:text-[var(--color-text-primary)]"
|
|
11206
11206
|
),
|
|
11207
11207
|
children: [
|
|
@@ -11237,7 +11237,7 @@ function AppSidebar({
|
|
|
11237
11237
|
{
|
|
11238
11238
|
className: cn(
|
|
11239
11239
|
"shrink-0 border-t border-foreground/8",
|
|
11240
|
-
isOpen ? "
|
|
11240
|
+
isOpen ? "px-4 py-4 space-y-3" : "px-2 py-3 flex justify-center"
|
|
11241
11241
|
),
|
|
11242
11242
|
children: footer
|
|
11243
11243
|
}
|