bmj-ui 1.0.1 → 1.0.4

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
@@ -13,6 +13,19 @@ declare function AppSidebar({ items, onItemClick, activeItem, }: {
13
13
  activeItem?: string;
14
14
  }): react_jsx_runtime.JSX.Element;
15
15
 
16
+ interface ChartCardProps {
17
+ title: string;
18
+ description?: string;
19
+ data: any[];
20
+ dataKey: string;
21
+ categoryKey: string;
22
+ color?: string;
23
+ className?: string;
24
+ loading?: boolean;
25
+ type?: "area" | "bar" | "line" | "scatter";
26
+ }
27
+ declare function ChartCard({ title, description, data, dataKey, categoryKey, color, className, loading, type, }: ChartCardProps): react_jsx_runtime.JSX.Element;
28
+
16
29
  interface DashboardLayoutProps {
17
30
  children: React.ReactNode;
18
31
  sidebarItems?: SidebarItem[];
@@ -35,19 +48,6 @@ interface StatCardProps {
35
48
  }
36
49
  declare function StatCard({ title, value, description, trend, icon: Icon, className, loading, }: StatCardProps): react_jsx_runtime.JSX.Element;
37
50
 
38
- interface ChartCardProps {
39
- title: string;
40
- description?: string;
41
- data: any[];
42
- dataKey: string;
43
- categoryKey: string;
44
- color?: string;
45
- className?: string;
46
- loading?: boolean;
47
- type?: "area" | "bar" | "line" | "scatter";
48
- }
49
- declare function ChartCard({ title, description, data, dataKey, categoryKey, color, className, loading, type, }: ChartCardProps): react_jsx_runtime.JSX.Element;
50
-
51
51
  declare function Topbar(): react_jsx_runtime.JSX.Element;
52
52
 
53
53
  export { AppSidebar, ChartCard, DashboardLayout, StatCard, Topbar };