@still-forest/canopy 0.19.1 → 0.19.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.d.ts CHANGED
@@ -462,7 +462,7 @@ declare interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
462
462
  gap?: Gap;
463
463
  }
464
464
 
465
- export declare const Sidebar: ({ brandContent, brandOnClick, activeSlug, itemSets, bottomItemSets, ...props }: SidebarProps) => JSX.Element;
465
+ export declare const Sidebar: ({ brandContent, brandOnClick, activeSlug, itemSets, bottomItemSets, theme, setTheme, ...props }: SidebarProps) => JSX.Element;
466
466
 
467
467
  declare function Sidebar_2({ side, variant, collapsible, className, children, ...props }: React_2.ComponentProps<"div"> & {
468
468
  side?: "left" | "right";
@@ -477,7 +477,9 @@ export declare interface SidebarProps extends React.ComponentProps<typeof Sideba
477
477
  brandOnClick?: () => void;
478
478
  activeSlug?: string;
479
479
  itemSets: SideLinkSet[];
480
- bottomItemSets: SideLinkSet[];
480
+ bottomItemSets?: SideLinkSet[];
481
+ theme: Theme;
482
+ setTheme: (theme: Theme) => void;
481
483
  }
482
484
 
483
485
  export declare function SidebarTrigger({ className, onClick, children, ...props }: React_2.ComponentProps<typeof Button_2>): JSX.Element;
@@ -567,6 +569,8 @@ export declare type TextProps<E extends default_2.ElementType = "p"> = TextBaseP
567
569
 
568
570
  declare type TextTracking = (typeof TEXT_TRACKINGS)[number];
569
571
 
572
+ export declare type Theme = "light" | "dark" | "system";
573
+
570
574
  export declare const Tooltip: TooltipComponent;
571
575
 
572
576
  declare type TooltipComponent = React.FC<TooltipProps> & {