@nivaro/react 0.2.6 → 0.2.7
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 +16 -1
- package/dist/index.js +24776 -24694
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { ReactPortal } from 'react';
|
|
|
17
17
|
import { ReportDateRange } from '@nivaro/sdk';
|
|
18
18
|
import { ReportEntityFilter } from '@nivaro/sdk';
|
|
19
19
|
import { ReportQueryWidgetConfig } from '@nivaro/sdk';
|
|
20
|
+
import { ReportWidget } from '@nivaro/sdk';
|
|
20
21
|
import { UseMutationResult } from '@tanstack/react-query';
|
|
21
22
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
22
23
|
import { UserScopesInfo } from '@nivaro/sdk';
|
|
@@ -888,7 +889,7 @@ export declare function ChatRoomList({ rooms, onOpen, onNewGroup, archivedView,
|
|
|
888
889
|
loading?: boolean;
|
|
889
890
|
}): JSX.Element;
|
|
890
891
|
|
|
891
|
-
export declare function ChatRoomView({ room, label, onBack, onOpenSettings, renderMessageBody, initialUnread, anchor: anchorProp }: {
|
|
892
|
+
export declare function ChatRoomView({ room, label: labelProp, onBack, onOpenSettings, renderMessageBody, initialUnread, anchor: anchorProp }: {
|
|
892
893
|
room: string;
|
|
893
894
|
label: string;
|
|
894
895
|
onBack: () => void;
|
|
@@ -5603,6 +5604,20 @@ export declare interface ReportViewProps {
|
|
|
5603
5604
|
emptyState?: React.ReactNode;
|
|
5604
5605
|
}
|
|
5605
5606
|
|
|
5607
|
+
/**
|
|
5608
|
+
* One saved report widget on its own, outside its report's grid — how a host
|
|
5609
|
+
* places a report widget on a dashboard canvas (#1044). The widget is drawn at
|
|
5610
|
+
* column 0 of an absent grid, so its report-grid placement does nothing and
|
|
5611
|
+
* the card fills whatever cell holds it. Drill-through goes to the host's
|
|
5612
|
+
* DrilldownContext when there is one.
|
|
5613
|
+
*/
|
|
5614
|
+
export declare function ReportWidgetCard({ reportId, widget, dateRange, entityFilters }: {
|
|
5615
|
+
reportId: string;
|
|
5616
|
+
widget: ReportWidget;
|
|
5617
|
+
dateRange?: ReportDateRange | null;
|
|
5618
|
+
entityFilters?: ReportEntityFilter[];
|
|
5619
|
+
}): JSX.Element;
|
|
5620
|
+
|
|
5606
5621
|
export declare function resolveCollectionIcon(iconName: string | null | undefined): React.ElementType | null;
|
|
5607
5622
|
|
|
5608
5623
|
export declare function resolveNotificationTarget(collection: string | null | undefined, item: string | null | undefined, routes: NotificationRouteMap): NotificationTarget;
|