@harborclient/sdk 1.0.48 → 1.0.50
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.
|
@@ -13,7 +13,7 @@ function sidebarRow(active) {
|
|
|
13
13
|
* Narrow sidebar navigation for multi-section pages such as settings overlays.
|
|
14
14
|
*/
|
|
15
15
|
export function PageSidebar({ items, selected, onSelect, ariaLabel, className, ...props }) {
|
|
16
|
-
return (_jsx("nav", { ...props, className: cn('hc-page-sidebar flex w-[
|
|
16
|
+
return (_jsx("nav", { ...props, className: cn('hc-page-sidebar flex w-[220px] shrink-0 flex-col gap-1 border-r border-separator bg-sidebar px-2 py-3', className), "aria-label": ariaLabel, children: items.map((item) => {
|
|
17
17
|
const active = selected === item.value;
|
|
18
18
|
const rowClass = item.icon
|
|
19
19
|
? `hc-page-sidebar-item ${sidebarRow(active)} w-full gap-2 border-none text-left text-[15px] app-no-drag`
|