randmarcomps 1.614.0 → 1.616.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.
@@ -178,6 +178,12 @@ declare interface AssistantInsightProps {
178
178
  withCard?: boolean;
179
179
  }
180
180
 
181
+ export declare interface AssistantPromptHelperOptions {
182
+ prompt?: string;
183
+ hiddenPrompt?: string;
184
+ sopID?: string;
185
+ }
186
+
181
187
  export declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
182
188
 
183
189
  export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
@@ -381,6 +387,14 @@ export declare interface DataPoint {
381
387
  [key: string]: string | number | null;
382
388
  }
383
389
 
390
+ export declare function DataRefreshAssistantCluster({ onAssistantClick, assistantPromptOptions, onAssistantUnavailable, ...refreshClusterProps }: DataRefreshAssistantClusterProps): JSX.Element;
391
+
392
+ export declare interface DataRefreshAssistantClusterProps extends Omit<RefreshClusterProps, "onAssistantClick"> {
393
+ onAssistantClick?: () => void;
394
+ assistantPromptOptions?: AssistantPromptHelperOptions;
395
+ onAssistantUnavailable?: () => void;
396
+ }
397
+
384
398
  export declare function DataTable<TData, TValue>({ columns, data, uniqueValues, tableClass, loading, initialSort, }: DataTableProps<TData, TValue>): JSX.Element;
385
399
 
386
400
  declare interface DataTableProps<TData, TValue> {
@@ -913,6 +927,30 @@ export declare interface RichTextEditorProps extends Omit<default_2.InputHTMLAtt
913
927
  placeholder?: string;
914
928
  }
915
929
 
930
+ export declare function RmPageHeader({ title, subtitle, breadcrumbs, rightTopActions, rightBottomActions, secondaryRow, sticky, stickyClassName, className, cardClassName, contentClassName, }: RmPageHeaderProps): JSX.Element;
931
+
932
+ export declare interface RmPageHeaderBreadcrumbItem {
933
+ label: React_2.ReactNode;
934
+ href?: string;
935
+ onClick?: () => void;
936
+ current?: boolean;
937
+ key?: React_2.Key;
938
+ }
939
+
940
+ export declare interface RmPageHeaderProps {
941
+ title: string;
942
+ subtitle?: React_2.ReactNode;
943
+ breadcrumbs?: RmPageHeaderBreadcrumbItem[];
944
+ rightTopActions?: React_2.ReactNode;
945
+ rightBottomActions?: React_2.ReactNode;
946
+ secondaryRow?: React_2.ReactNode;
947
+ sticky?: boolean;
948
+ stickyClassName?: string;
949
+ className?: string;
950
+ cardClassName?: string;
951
+ contentClassName?: string;
952
+ }
953
+
916
954
  /**
917
955
  * A chart component that displays sales data, showing both dollar volume and units sold.
918
956
  * It can aggregate data on a monthly or weekly basis via the `mode` prop.
@@ -1376,6 +1414,8 @@ export declare const useChat: () => ChatContextType;
1376
1414
 
1377
1415
  export declare function useIsMobile(): boolean;
1378
1416
 
1417
+ export declare const useOptionalChat: () => ChatContextType | undefined;
1418
+
1379
1419
  export declare function useRandmarApiConfig(): RandmarApiConfig;
1380
1420
 
1381
1421
  export declare function useSidebar(): SidebarContextValue;