@nivaro/react 0.1.303 → 0.2.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.
- package/dist/index.d.ts +8 -4
- package/dist/index.js +15695 -15517
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3816,7 +3816,7 @@ export declare function NotificationAnalyticsView({ className }: {
|
|
|
3816
3816
|
* click-through routing via the shared notification-target resolver. Needs
|
|
3817
3817
|
* `<NivaroProvider>`.
|
|
3818
3818
|
*/
|
|
3819
|
-
export declare function NotificationBell({ routes, onNavigate, app, subscribe, buttonClassName, panelClassName, beforeList, extraBadge, mailLogUrl, renderTrigger, allPath, subscriptionsPath, onActionError, panelPlacement }: NotificationBellProps): JSX.Element;
|
|
3819
|
+
export declare function NotificationBell({ routes, onNavigate, app, subscribe, buttonClassName, panelClassName, beforeList, extraBadge, mailLogUrl, renderTrigger, allPath, subscriptionsPath, onActionError, panelPlacement, tabBadge }: NotificationBellProps): JSX.Element;
|
|
3820
3820
|
|
|
3821
3821
|
export declare interface NotificationBellProps {
|
|
3822
3822
|
/** Where each notification kind lands in the host app. */
|
|
@@ -3861,6 +3861,8 @@ export declare interface NotificationBellProps {
|
|
|
3861
3861
|
* positions it beside the trigger — for a sidebar rail whose overflow
|
|
3862
3862
|
* would clip an inline panel. */
|
|
3863
3863
|
panelPlacement?: 'below' | 'right';
|
|
3864
|
+
/** Put the attention count in front of the browser tab title (default true). */
|
|
3865
|
+
tabBadge?: boolean;
|
|
3864
3866
|
}
|
|
3865
3867
|
|
|
3866
3868
|
export declare function NotificationCenterView({ routes, onNavigate, app, mailLogUrl, subscriptionsPath, onNotice, onError, className }: NotificationCenterViewProps): JSX.Element;
|
|
@@ -6532,9 +6534,11 @@ export declare type UseNivaroFormReturn = {
|
|
|
6532
6534
|
};
|
|
6533
6535
|
|
|
6534
6536
|
/**
|
|
6535
|
-
* Online-user set for presence dots in user pickers (#284)
|
|
6536
|
-
*
|
|
6537
|
-
*
|
|
6537
|
+
* Online-user set for presence dots in user pickers (#284); consumers get a
|
|
6538
|
+
* Set of upper-cased user ids. Shares the chat's ['presence-online'] entry —
|
|
6539
|
+
* same endpoint, same client, same raw `{ data, config }` body, narrowed here
|
|
6540
|
+
* with `select` — so a page with chat and pickers holds one presence read.
|
|
6541
|
+
* Fails to an empty set — a picker must never break on presence.
|
|
6538
6542
|
*/
|
|
6539
6543
|
export declare function useOnlineUsers(enabled?: boolean): Set<string>;
|
|
6540
6544
|
|