@nivaro/react 0.3.133 → 0.3.135

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.
@@ -10,7 +10,7 @@ import { noteReplayIdle as Me, createReplayIdleState as Ne, REPLAY_IDLE_RESTART_
10
10
  import { noteReplayEvent as Ue, createReplayCheckoutState as We } from "../shared/lib/replay-checkout.js";
11
11
  import { instrumentConsole as He, instrumentRequests as Ke, redactSecrets as $e } from "../shared/lib/replay-context.js";
12
12
  import { instrumentSocket as Be } from "../shared/lib/replay-socket.js";
13
- const ze = "nivaro-react@0.3.133", V = 1e4, Ye = 150, xe = 3e3, je = 600, Ge = (o) => `nvr_replay_resume${o ? `:${o}` : ""}`, X = () => typeof navigator > "u" || navigator.onLine !== !1;
13
+ const ze = "nivaro-react@0.3.135", V = 1e4, Ye = 150, xe = 3e3, je = 600, Ge = (o) => `nvr_replay_resume${o ? `:${o}` : ""}`, X = () => typeof navigator > "u" || navigator.onLine !== !1;
14
14
  function Je(o) {
15
15
  return typeof o.url != "string" || typeof fetch != "function" ? null : (f, u) => {
16
16
  const l = typeof o.getToken == "function" ? o.getToken() : void 0, d = { "Content-Type": "application/json" };
package/dist/index.d.ts CHANGED
@@ -3127,6 +3127,17 @@ export declare interface DelegationConsoleViewProps {
3127
3127
  onNotice?: (message: string) => void;
3128
3128
  }
3129
3129
 
3130
+ export declare function DeliveryAnalyticsView({ className, compactHeader, search, onSearchChange }: {
3131
+ className?: string;
3132
+ /** Host already shows the title (a tab of a page): drop the heading. */
3133
+ compactHeader?: boolean;
3134
+ /** The host's URL query; pass it with `onSearchChange` so drills are links and Back works. */
3135
+ search?: URLSearchParams;
3136
+ onSearchChange?: (next: URLSearchParams, opts: {
3137
+ replace?: boolean;
3138
+ }) => void;
3139
+ }): JSX.Element;
3140
+
3130
3141
  export declare function DeliveryChips({ delivery, mailLogUrl, onNavigate, className }: DeliveryChipsProps): JSX.Element;
3131
3142
 
3132
3143
  declare interface DeliveryChipsProps {
@@ -8298,11 +8309,8 @@ declare interface NotificationActionsProps {
8298
8309
  className?: string;
8299
8310
  }
8300
8311
 
8301
- export declare function NotificationAnalyticsView({ className, compactHeader }: {
8302
- className?: string;
8303
- /** Host already shows the title (a tab of a page): drop the icon and heading. */
8304
- compactHeader?: boolean;
8305
- }): JSX.Element;
8312
+ /** @deprecated The old name — kept so existing hosts get the new page. */
8313
+ export declare const NotificationAnalyticsView: typeof DeliveryAnalyticsView;
8306
8314
 
8307
8315
  /**
8308
8316
  * The Nivaro notification bell — the same setup the admin uses: badge that