@bison-lab/ui 0.9.0 → 0.10.1

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.mts CHANGED
@@ -3,7 +3,7 @@ import { ClassValue } from "clsx";
3
3
  import * as React$1 from "react";
4
4
  import { BrandColors, DensityPreset, FontWeightMap, MotionPreset, RadiusPreset, ShadowPreset } from "@bison-lab/tokens";
5
5
  import * as react_jsx_runtime0 from "react/jsx-runtime";
6
- import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Tooltip as Tooltip$1 } from "radix-ui";
6
+ import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Tooltip as Tooltip$1 } from "radix-ui";
7
7
  import { VariantProps } from "class-variance-authority";
8
8
  import { LucideIcon } from "lucide-react";
9
9
  import { toast } from "sonner";
@@ -38,6 +38,9 @@ declare function useScrollReveal<T extends HTMLElement = HTMLDivElement>(options
38
38
  isInView: boolean;
39
39
  };
40
40
  //#endregion
41
+ //#region src/hooks/use-mobile.d.ts
42
+ declare function useIsMobile(): boolean;
43
+ //#endregion
41
44
  //#region src/providers/bison-provider.d.ts
42
45
  type Theme$1 = "light" | "dark" | "system";
43
46
  interface GoogleFontConfig {
@@ -606,11 +609,11 @@ declare const PaginationEllipsis: {
606
609
  //#region src/components/command.d.ts
607
610
  declare const Command: React$1.ForwardRefExoticComponent<Omit<{
608
611
  children?: React$1.ReactNode;
609
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
612
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
610
613
  ref?: React$1.Ref<HTMLDivElement>;
611
614
  } & {
612
615
  asChild?: boolean;
613
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
616
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & {
614
617
  label?: string;
615
618
  shouldFilter?: boolean;
616
619
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -630,51 +633,51 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
630
633
  ref?: React$1.Ref<HTMLInputElement>;
631
634
  } & {
632
635
  asChild?: boolean;
633
- }, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
636
+ }, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
634
637
  value?: string;
635
638
  onValueChange?: (search: string) => void;
636
639
  } & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
637
640
  declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
638
641
  children?: React$1.ReactNode;
639
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
642
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
640
643
  ref?: React$1.Ref<HTMLDivElement>;
641
644
  } & {
642
645
  asChild?: boolean;
643
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
646
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & {
644
647
  label?: string;
645
648
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
646
649
  declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
647
650
  children?: React$1.ReactNode;
648
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
651
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
649
652
  ref?: React$1.Ref<HTMLDivElement>;
650
653
  } & {
651
654
  asChild?: boolean;
652
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
655
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
653
656
  declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
654
657
  children?: React$1.ReactNode;
655
- } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
658
+ } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
656
659
  ref?: React$1.Ref<HTMLDivElement>;
657
660
  } & {
658
661
  asChild?: boolean;
659
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
662
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key">, "value" | "heading"> & {
660
663
  heading?: React$1.ReactNode;
661
664
  value?: string;
662
665
  forceMount?: boolean;
663
666
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
664
- declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
667
+ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
665
668
  ref?: React$1.Ref<HTMLDivElement>;
666
669
  } & {
667
670
  asChild?: boolean;
668
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
671
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & {
669
672
  alwaysRender?: boolean;
670
673
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
671
674
  declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
672
675
  children?: React$1.ReactNode;
673
- } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
676
+ } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
674
677
  ref?: React$1.Ref<HTMLDivElement>;
675
678
  } & {
676
679
  asChild?: boolean;
677
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
680
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key">, "onSelect" | "value" | "disabled"> & {
678
681
  disabled?: boolean;
679
682
  onSelect?: (value: string) => void;
680
683
  value?: string;
@@ -689,143 +692,172 @@ declare const CommandShortcut: ({
689
692
  //#region src/components/aspect-ratio.d.ts
690
693
  declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatio$1.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
691
694
  //#endregion
692
- //#region src/lib/chart-utils.d.ts
693
- /**
694
- * Shared utilities for chart components.
695
- * Reads theme CSS custom properties to provide Recharts-compatible color strings.
696
- */
697
- /** Default chart color tokens mapped to CSS custom properties */
698
- declare const chartColorTokens: readonly ["--primary", "--secondary", "--brand-accent", "--highlight", "--destructive"];
699
- /**
700
- * Resolves a CSS custom property value to an `hsl(...)` string.
701
- * Falls back to the raw token name if resolution fails (e.g. SSR).
702
- */
703
- declare function resolveHslToken(token: string, el?: Element | null): string;
704
- /**
705
- * Returns an array of resolved theme colors for chart series.
706
- * Consumers can override with explicit `colors` prop.
707
- */
708
- declare function getThemeColors(el?: Element | null): string[];
709
- /** Chart size presets (height in px) */
710
- declare const chartSizeMap: {
711
- readonly sm: 200;
712
- readonly md: 300;
713
- readonly lg: 400;
695
+ //#region src/components/collapsible.d.ts
696
+ declare function Collapsible({
697
+ ...props
698
+ }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime0.JSX.Element;
699
+ declare function CollapsibleTrigger({
700
+ ...props
701
+ }: React.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime0.JSX.Element;
702
+ declare function CollapsibleContent({
703
+ ...props
704
+ }: React.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime0.JSX.Element;
705
+ //#endregion
706
+ //#region src/components/sidebar.d.ts
707
+ type SidebarContextProps = {
708
+ state: "expanded" | "collapsed";
709
+ open: boolean;
710
+ setOpen: (open: boolean) => void;
711
+ openMobile: boolean;
712
+ setOpenMobile: (open: boolean) => void;
713
+ isMobile: boolean;
714
+ toggleSidebar: () => void;
714
715
  };
715
- type ChartSize = keyof typeof chartSizeMap;
716
- //#endregion
717
- //#region src/components/area-chart.d.ts
718
- interface AreaChartSeries {
719
- /** Data key corresponding to a field in the data array */
720
- dataKey: string;
721
- /** Display name for legend/tooltip */
722
- name?: string;
723
- /** Override color (any CSS color string) */
724
- color?: string;
725
- /** Fill opacity for the area (0–1). Default: 0.15 */
726
- fillOpacity?: number;
727
- }
728
- interface AreaChartProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
729
- /** Chart data — array of objects with keys matching `categories`/`series` */
730
- data: Record<string, unknown>[];
731
- /** Key used for the X-axis category labels */
732
- index: string;
733
- /** Quick setup: data keys to render as area series (uses theme colors) */
734
- categories?: string[];
735
- /** Advanced setup: full series config (takes precedence over `categories`) */
736
- series?: AreaChartSeries[];
737
- /** Override theme colors (applied in order to series) */
738
- colors?: string[];
739
- /** Chart height preset */
740
- size?: ChartSize;
741
- /** Explicit height in px (overrides `size`) */
742
- height?: number;
743
- /** Show cartesian grid. Default: true */
744
- showGrid?: boolean;
745
- /** Show legend. Default: false */
746
- showLegend?: boolean;
747
- /** Show tooltip. Default: true */
748
- showTooltip?: boolean;
749
- /** Show Y-axis. Default: true */
750
- showYAxis?: boolean;
751
- /** Area curve type. Default: "monotone" */
752
- curveType?: "monotone" | "linear" | "step" | "natural";
753
- /** Stack areas. Default: false */
754
- stacked?: boolean;
755
- }
756
- declare const AreaChart: React$1.ForwardRefExoticComponent<AreaChartProps & React$1.RefAttributes<HTMLDivElement>>;
757
- //#endregion
758
- //#region src/components/bar-chart.d.ts
759
- interface BarChartSeries {
760
- /** Data key corresponding to a field in the data array */
761
- dataKey: string;
762
- /** Display name for legend/tooltip */
763
- name?: string;
764
- /** Override color (any CSS color string) */
765
- color?: string;
766
- /** Bar radius. Default: [4, 4, 0, 0] */
767
- radius?: [number, number, number, number];
768
- }
769
- interface BarChartProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
770
- /** Chart data — array of objects with keys matching `categories`/`series` */
771
- data: Record<string, unknown>[];
772
- /** Key used for the X-axis category labels */
773
- index: string;
774
- /** Quick setup: data keys to render as bar series (uses theme colors) */
775
- categories?: string[];
776
- /** Advanced setup: full series config (takes precedence over `categories`) */
777
- series?: BarChartSeries[];
778
- /** Override theme colors (applied in order to series) */
779
- colors?: string[];
780
- /** Chart height preset */
781
- size?: ChartSize;
782
- /** Explicit height in px (overrides `size`) */
783
- height?: number;
784
- /** Show cartesian grid. Default: true */
785
- showGrid?: boolean;
786
- /** Show legend. Default: false */
787
- showLegend?: boolean;
788
- /** Show tooltip. Default: true */
789
- showTooltip?: boolean;
790
- /** Show Y-axis. Default: true */
791
- showYAxis?: boolean;
792
- /** Stack bars. Default: false */
793
- stacked?: boolean;
794
- /** Horizontal layout (bars go left-to-right). Default: false */
795
- horizontal?: boolean;
796
- }
797
- declare const BarChart: React$1.ForwardRefExoticComponent<BarChartProps & React$1.RefAttributes<HTMLDivElement>>;
798
- //#endregion
799
- //#region src/components/donut-chart.d.ts
800
- interface DonutChartProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
801
- /** Chart data — array of objects with `name` and `value` keys (or custom keys via `nameKey`/`dataKey`) */
802
- data: Record<string, unknown>[];
803
- /** Key for segment labels. Default: "name" */
804
- nameKey?: string;
805
- /** Key for segment values. Default: "value" */
806
- dataKey?: string;
807
- /** Override theme colors (applied in order to segments) */
808
- colors?: string[];
809
- /** Chart height preset */
810
- size?: ChartSize;
811
- /** Explicit height in px (overrides `size`) */
812
- height?: number;
813
- /** Show legend. Default: false */
814
- showLegend?: boolean;
815
- /** Show tooltip. Default: true */
816
- showTooltip?: boolean;
817
- /** Show labels on segments. Default: false */
818
- showLabels?: boolean;
819
- /** Inner radius ratio (0 = pie, >0 = donut). Default: "60%" */
820
- innerRadius?: string | number;
821
- /** Outer radius. Default: "80%" */
822
- outerRadius?: string | number;
823
- /** Padding angle between segments in degrees. Default: 2 */
824
- paddingAngle?: number;
825
- /** Center label content */
826
- centerLabel?: React$1.ReactNode;
827
- }
828
- declare const DonutChart: React$1.ForwardRefExoticComponent<DonutChartProps & React$1.RefAttributes<HTMLDivElement>>;
716
+ declare function useSidebar(): SidebarContextProps;
717
+ declare function SidebarProvider({
718
+ defaultOpen,
719
+ open: openProp,
720
+ onOpenChange: setOpenProp,
721
+ className,
722
+ style,
723
+ children,
724
+ ...props
725
+ }: React$1.ComponentProps<"div"> & {
726
+ defaultOpen?: boolean;
727
+ open?: boolean;
728
+ onOpenChange?: (open: boolean) => void;
729
+ }): react_jsx_runtime0.JSX.Element;
730
+ declare function Sidebar({
731
+ side,
732
+ variant,
733
+ collapsible,
734
+ className,
735
+ children,
736
+ ...props
737
+ }: React$1.ComponentProps<"div"> & {
738
+ side?: "left" | "right";
739
+ variant?: "sidebar" | "floating" | "inset";
740
+ collapsible?: "offcanvas" | "icon" | "none";
741
+ }): react_jsx_runtime0.JSX.Element;
742
+ declare function SidebarTrigger({
743
+ className,
744
+ onClick,
745
+ ...props
746
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
747
+ declare function SidebarRail({
748
+ className,
749
+ ...props
750
+ }: React$1.ComponentProps<"button">): react_jsx_runtime0.JSX.Element;
751
+ declare function SidebarInset({
752
+ className,
753
+ ...props
754
+ }: React$1.ComponentProps<"main">): react_jsx_runtime0.JSX.Element;
755
+ declare function SidebarInput({
756
+ className,
757
+ ...props
758
+ }: React$1.ComponentProps<typeof Input>): react_jsx_runtime0.JSX.Element;
759
+ declare function SidebarHeader({
760
+ className,
761
+ ...props
762
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
763
+ declare function SidebarFooter({
764
+ className,
765
+ ...props
766
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
767
+ declare function SidebarSeparator({
768
+ className,
769
+ ...props
770
+ }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime0.JSX.Element;
771
+ declare function SidebarContent({
772
+ className,
773
+ ...props
774
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
775
+ declare function SidebarGroup({
776
+ className,
777
+ ...props
778
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
779
+ declare function SidebarGroupLabel({
780
+ className,
781
+ asChild,
782
+ ...props
783
+ }: React$1.ComponentProps<"div"> & {
784
+ asChild?: boolean;
785
+ }): react_jsx_runtime0.JSX.Element;
786
+ declare function SidebarGroupAction({
787
+ className,
788
+ asChild,
789
+ ...props
790
+ }: React$1.ComponentProps<"button"> & {
791
+ asChild?: boolean;
792
+ }): react_jsx_runtime0.JSX.Element;
793
+ declare function SidebarGroupContent({
794
+ className,
795
+ ...props
796
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
797
+ declare function SidebarMenu({
798
+ className,
799
+ ...props
800
+ }: React$1.ComponentProps<"ul">): react_jsx_runtime0.JSX.Element;
801
+ declare function SidebarMenuItem({
802
+ className,
803
+ ...props
804
+ }: React$1.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
805
+ declare const sidebarMenuButtonVariants: (props?: ({
806
+ variant?: "default" | "outline" | null | undefined;
807
+ size?: "sm" | "lg" | "default" | null | undefined;
808
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
809
+ declare function SidebarMenuButton({
810
+ asChild,
811
+ isActive,
812
+ variant,
813
+ size,
814
+ tooltip,
815
+ className,
816
+ ...props
817
+ }: React$1.ComponentProps<"button"> & {
818
+ asChild?: boolean;
819
+ isActive?: boolean;
820
+ tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
821
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime0.JSX.Element;
822
+ declare function SidebarMenuAction({
823
+ className,
824
+ asChild,
825
+ showOnHover,
826
+ ...props
827
+ }: React$1.ComponentProps<"button"> & {
828
+ asChild?: boolean;
829
+ showOnHover?: boolean;
830
+ }): react_jsx_runtime0.JSX.Element;
831
+ declare function SidebarMenuBadge({
832
+ className,
833
+ ...props
834
+ }: React$1.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
835
+ declare function SidebarMenuSkeleton({
836
+ className,
837
+ showIcon,
838
+ ...props
839
+ }: React$1.ComponentProps<"div"> & {
840
+ showIcon?: boolean;
841
+ }): react_jsx_runtime0.JSX.Element;
842
+ declare function SidebarMenuSub({
843
+ className,
844
+ ...props
845
+ }: React$1.ComponentProps<"ul">): react_jsx_runtime0.JSX.Element;
846
+ declare function SidebarMenuSubItem({
847
+ className,
848
+ ...props
849
+ }: React$1.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
850
+ declare function SidebarMenuSubButton({
851
+ asChild,
852
+ size,
853
+ isActive,
854
+ className,
855
+ ...props
856
+ }: React$1.ComponentProps<"a"> & {
857
+ asChild?: boolean;
858
+ size?: "sm" | "md";
859
+ isActive?: boolean;
860
+ }): react_jsx_runtime0.JSX.Element;
829
861
  //#endregion
830
862
  //#region src/blocks/auth/social-providers.d.ts
831
863
  type SocialProvider = "google" | "github" | "apple";
@@ -1141,6 +1173,72 @@ declare function FooterBlock({
1141
1173
  className
1142
1174
  }: FooterBlockProps): react_jsx_runtime0.JSX.Element;
1143
1175
  //#endregion
1176
+ //#region src/blocks/layout/app-sidebar/types.d.ts
1177
+ interface SidebarTeam {
1178
+ name: string;
1179
+ logo: React.ElementType;
1180
+ plan: string;
1181
+ }
1182
+ interface SidebarNavGroup {
1183
+ label?: string;
1184
+ items: SidebarNavItem[];
1185
+ }
1186
+ interface SidebarNavItem {
1187
+ title: string;
1188
+ url: string;
1189
+ icon?: LucideIcon;
1190
+ isActive?: boolean;
1191
+ onClick?: () => void;
1192
+ items?: SidebarNavSubItem[];
1193
+ }
1194
+ interface SidebarNavSubItem {
1195
+ title: string;
1196
+ url: string;
1197
+ isActive?: boolean;
1198
+ onClick?: () => void;
1199
+ }
1200
+ interface SidebarUser {
1201
+ name: string;
1202
+ email: string;
1203
+ avatar?: string;
1204
+ }
1205
+ interface SidebarUserMenuItem {
1206
+ label: string;
1207
+ icon?: LucideIcon;
1208
+ onClick?: () => void;
1209
+ }
1210
+ //#endregion
1211
+ //#region src/blocks/layout/app-sidebar/app-sidebar-block.d.ts
1212
+ interface AppSidebarBlockProps extends React$1.ComponentProps<typeof Sidebar> {
1213
+ /** One or more teams displayed in the header switcher */
1214
+ teams: SidebarTeam[];
1215
+ /** Currently active team (defaults to first team) */
1216
+ activeTeam?: SidebarTeam;
1217
+ /** Called when user switches teams */
1218
+ onTeamChange?: (team: SidebarTeam) => void;
1219
+ /** Called when "Add team" is clicked — omit to hide the button */
1220
+ onAddTeam?: () => void;
1221
+ /** Flexible navigation groups rendered in the sidebar body */
1222
+ navGroups?: SidebarNavGroup[];
1223
+ /** User info displayed in the footer */
1224
+ user: SidebarUser;
1225
+ /** Optional grouped menu items in the user dropdown (e.g. Account, Billing) */
1226
+ userMenuGroups?: SidebarUserMenuItem[][];
1227
+ /** Called on logout — always rendered */
1228
+ onLogout: () => void;
1229
+ }
1230
+ declare function AppSidebarBlock({
1231
+ teams,
1232
+ activeTeam,
1233
+ onTeamChange,
1234
+ onAddTeam,
1235
+ navGroups,
1236
+ user,
1237
+ userMenuGroups,
1238
+ onLogout,
1239
+ ...sidebarProps
1240
+ }: AppSidebarBlockProps): react_jsx_runtime0.JSX.Element;
1241
+ //#endregion
1144
1242
  //#region src/blocks/settings/profile-settings-block.d.ts
1145
1243
  interface ProfileSettingsData {
1146
1244
  name: string;
@@ -1218,5 +1316,5 @@ declare function NotificationSettingsBlock({
1218
1316
  className
1219
1317
  }: NotificationSettingsBlockProps): react_jsx_runtime0.JSX.Element;
1220
1318
  //#endregion
1221
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, type AccountSettingsBlockProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AreaChart, type AreaChartProps, type AreaChartSeries, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BarChart, type BarChartProps, type BarChartSeries, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartSize, Checkbox, type ColumnDef, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableProps, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyStateBlock, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormMode, type FormProps, HeaderBlock, type HeaderBlockProps, Input, type InputProps, Label, MaintenanceBlock, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, type NotificationGroup, type NotificationSetting, NotificationSettingsBlock, type NotificationSettingsBlockProps, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, ProfileSettingsBlock, type ProfileSettingsBlockProps, type ProfileSettingsData, Progress, ProgressBar, type ProgressBarProps, RadioGroup, RadioGroupItem, ResetPasswordBlock, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarBlock, type SidebarBlockProps, type SidebarItem, type SidebarSection, SignInBlock, SignUpBlock, Skeleton, Slider, SocialProviders, Spinner, type SpinnerProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThemeProvider, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseScrollRevealOptions, VerifyBlock, badgeVariants, buttonVariants, chartColorTokens, chartSizeMap, cn, getThemeColors, navigationMenuTriggerStyle, progressBarVariants, resolveHslToken, spinnerVariants, toast, useDensity, useFormContext, useScrollReveal, useTheme };
1319
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, type AccountSettingsBlockProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AppSidebarBlock, type AppSidebarBlockProps, type SidebarUser as AppSidebarUser, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableProps, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyStateBlock, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormMode, type FormProps, HeaderBlock, type HeaderBlockProps, Input, type InputProps, Label, MaintenanceBlock, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, type NotificationGroup, type NotificationSetting, NotificationSettingsBlock, type NotificationSettingsBlockProps, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, ProfileSettingsBlock, type ProfileSettingsBlockProps, type ProfileSettingsData, Progress, ProgressBar, type ProgressBarProps, RadioGroup, RadioGroupItem, ResetPasswordBlock, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarBlock, type SidebarBlockProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, type SidebarItem, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarNavGroup, type SidebarNavItem, type SidebarNavSubItem, SidebarProvider, SidebarRail, type SidebarSection, SidebarSeparator, type SidebarTeam, SidebarTrigger, type SidebarUserMenuItem, SignInBlock, SignUpBlock, Skeleton, Slider, SocialProviders, Spinner, type SpinnerProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThemeProvider, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseScrollRevealOptions, VerifyBlock, badgeVariants, buttonVariants, cn, navigationMenuTriggerStyle, progressBarVariants, spinnerVariants, toast, useDensity, useFormContext, useIsMobile, useScrollReveal, useSidebar, useTheme };
1222
1320
  //# sourceMappingURL=index.d.mts.map