@candy.thieves/ui-kit-lumos 0.0.35 → 0.0.36

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.
@@ -2,17 +2,18 @@ import type { ReactNode } from 'react';
2
2
  export type SidebarItem = {
3
3
  activeIcon?: ReactNode;
4
4
  disabled?: boolean;
5
- href?: string;
5
+ href?: ((userId: string) => string) | string;
6
6
  icon: ReactNode;
7
7
  id: string;
8
8
  label: string;
9
9
  };
10
10
  type SidebarProps = {
11
+ userId?: string;
11
12
  activeId: string;
12
13
  items: SidebarItem[];
13
14
  logOutIcon: ReactNode;
14
15
  onLogout: () => void;
15
16
  onValueChange?: (id: string) => void;
16
17
  };
17
- export declare const Sidebar: ({ items, activeId, onValueChange, onLogout, logOutIcon }: SidebarProps) => import("react").JSX.Element;
18
+ export declare const Sidebar: ({ items, userId, activeId, onValueChange, onLogout, logOutIcon, }: SidebarProps) => import("react").JSX.Element;
18
19
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@candy.thieves/ui-kit-lumos",
3
3
  "private": false,
4
- "version": "0.0.35",
4
+ "version": "0.0.36",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",