@gentiq/admin 1.0.0-alpha.7 → 1.0.0-alpha.8

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
@@ -166,10 +166,12 @@ export declare interface BarPoint {
166
166
  }
167
167
 
168
168
  /** The card a chart sits in on the analytics views, with its small uppercase title. */
169
- export declare function ChartCard({ title, className, children }: ChartCardProps): JSX.Element;
169
+ export declare function ChartCard({ title, headerExtra, className, children }: ChartCardProps): JSX.Element;
170
170
 
171
171
  export declare interface ChartCardProps {
172
172
  title: string;
173
+ /** Optional summary or legend rendered on the trailing side of the card header. */
174
+ headerExtra?: ReactNode;
173
175
  className?: string;
174
176
  children: ReactNode;
175
177
  }
@@ -427,8 +429,6 @@ export declare function useAdminAdminsMutations(): {
427
429
  };
428
430
 
429
431
  export declare function useAdminAnalytics(days?: number, source?: AdminSourceFilter, filters?: AdminAnalyticsQuery): UseQueryResult< {
430
- active_users: components["schemas"]["ActiveUser"][];
431
- distributions: components["schemas"]["AnalyticsDistributions"];
432
432
  overview: components["schemas"]["AnalyticsOverview"];
433
433
  trends: components["schemas"]["AnalyticsTrends"];
434
434
  }, Error>;