@nivaro/react 0.2.52 → 0.2.53
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/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/shared/components/ItemEditForm.js +1788 -1786
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { normalizeReplayMasking as B, buildReplayMaskingOptions as z } from "../
|
|
|
7
7
|
import { normalizeReplaySampling as x, replaySampleDraw as Ae, currentReplayRoute as _, isReplayRouteSampled as Y, attributeChunkRoutes as ee } from "../shared/lib/replay-sampling.js";
|
|
8
8
|
import { emitReplayTap as Ce, setReplayRecorderMode as N, registerReplayCapture as Ie, clipEndOffset as _e, withClipKind as De } from "../shared/lib/replay-capture.js";
|
|
9
9
|
import { instrumentConsole as qe, instrumentRequests as Le, redactSecrets as Te } from "../shared/lib/replay-context.js";
|
|
10
|
-
const Pe = "nivaro-react@0.2.
|
|
10
|
+
const Pe = "nivaro-react@0.2.53", j = 1e4, Ne = 150, Me = 3e3, Oe = 600, Ue = (n) => `nvr_replay_resume${n ? `:${n}` : ""}`, G = () => typeof navigator > "u" || navigator.onLine !== !1;
|
|
11
11
|
function We(n) {
|
|
12
12
|
return typeof n.url != "string" || typeof fetch != "function" ? null : (d, u) => {
|
|
13
13
|
const c = typeof n.getToken == "function" ? n.getToken() : void 0, a = { "Content-Type": "application/json" };
|
package/dist/index.d.ts
CHANGED
|
@@ -4433,6 +4433,9 @@ export declare interface ItemEditFormProps {
|
|
|
4433
4433
|
* admin's ItemEdit page renders its own copies in the page header;
|
|
4434
4434
|
* headless hosts opt in. */
|
|
4435
4435
|
showGrantedTools?: boolean;
|
|
4436
|
+
/** Extra rows for the record's More menu, above Delete (e.g. a host's Edit layout).
|
|
4437
|
+
* Rows that open something outside the menu set `data-nvr-menu-close`. */
|
|
4438
|
+
moreMenuItems?: ReactNode;
|
|
4436
4439
|
/** Scroll to + flash a field on load (deep links: ?focus=<field>). */
|
|
4437
4440
|
focusField?: string | null;
|
|
4438
4441
|
/**
|