randmarcomps 1.294.0 → 1.296.0

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.
@@ -824,6 +824,11 @@ export declare const SidebarSeparator: React_2.ForwardRefExoticComponent<Omit<Om
824
824
 
825
825
  export declare const SidebarTrigger: React_2.ForwardRefExoticComponent<Omit<ButtonProps_2 & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
826
826
 
827
+ declare interface SimpleNode {
828
+ name: string;
829
+ value: number;
830
+ }
831
+
827
832
  export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
828
833
 
829
834
  export declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
@@ -908,6 +913,30 @@ export declare interface TopbarProps {
908
913
  searchPlaceholder?: string;
909
914
  }
910
915
 
916
+ export declare const TopPercentTreemap: ({ data, topPercent, title, ...props }: TopPercentTreemapProps) => JSX.Element;
917
+
918
+ declare interface TopPercentTreemapProps {
919
+ data: SimpleNode[];
920
+ topPercent?: number;
921
+ title?: string;
922
+ height?: string;
923
+ className?: string;
924
+ }
925
+
926
+ export declare const Treemap: React_2.ForwardRefExoticComponent<TreemapProps & React_2.RefAttributes<HTMLDivElement>>;
927
+
928
+ declare interface TreemapProps {
929
+ data: any[][];
930
+ options?: object;
931
+ height?: string;
932
+ className?: string;
933
+ /**
934
+ * If true, displays a skeleton placeholder instead of the chart.
935
+ * Useful for when chart data is being fetched asynchronously.
936
+ */
937
+ loading?: boolean;
938
+ }
939
+
911
940
  export declare const useChat: () => ChatContextType;
912
941
 
913
942
  export declare const useGeminiApiKey: () => ApiKeyContextType;