@nivaro/react 0.3.34 → 0.3.36
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/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/shared/components/ItemEditForm.js +2009 -1996
- package/dist/shared/components/RecordReadView.js +88 -85
- package/dist/shared/components/item-edit/FieldAffordances.js +351 -307
- package/dist/shared/components/item-edit/FieldRow.js +453 -447
- package/dist/shared/components/item-edit/PersonalDefaultControl.js +228 -0
- package/dist/shared/components/item-edit/PersonalDefaultPill.js +9 -39
- package/dist/shared/components/item-edit/RecordLiveSync.js +115 -110
- package/dist/shared/components/item-edit/entry/useEntryKeyboard.js +27 -27
- package/dist/shared/components/item-edit/live-record-marks.js +13 -0
- package/dist/shared/components/item-edit/usePersonalDefaults.js +314 -230
- package/dist/shared/components/layout-editor/DesignNode.js +79 -78
- package/dist/shared/components/layout-editor/EditorCanvas.js +25 -17
- package/dist/shared/components/layout-editor/EditorTopBar.js +230 -188
- package/dist/shared/components/layout-editor/LayoutEditor.js +370 -369
- package/dist/shared/components/layout-editor/dnd/LayoutDndProvider.js +218 -182
- package/dist/shared/components/layout-editor/dnd/TrashZone.js +68 -0
- package/dist/shared/components/layout-editor/dnd/rail-drop.js +4 -4
- package/dist/shared/components/layout-editor/dnd/trash-drop.js +52 -0
- package/dist/shared/components/layout-editor/inspector/kit.js +1 -1
- package/dist/shared/components/layout-editor/panel-frame.js +1 -1
- package/dist/shared/components/layout-editor/personal-default-marks.js +40 -0
- package/dist/shared/components/layout-editor/preview/PreviewPanes.js +2 -2
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { noteReplayEvent as _e, createReplayCheckoutState as De } from "../share
|
|
|
9
9
|
import { emitReplayTap as Te, setReplayRecorderMode as N, registerReplayCapture as qe, clipEndOffset as Le, withClipKind as Pe } from "../shared/lib/replay-capture.js";
|
|
10
10
|
import { instrumentConsole as Ne, instrumentRequests as Fe, redactSecrets as Me } from "../shared/lib/replay-context.js";
|
|
11
11
|
import { instrumentSocket as Oe } from "../shared/lib/replay-socket.js";
|
|
12
|
-
const Ue = "nivaro-react@0.3.
|
|
12
|
+
const Ue = "nivaro-react@0.3.36", j = 1e4, We = 150, He = 3e3, Ke = 600, $e = (n) => `nvr_replay_resume${n ? `:${n}` : ""}`, G = () => typeof navigator > "u" || navigator.onLine !== !1;
|
|
13
13
|
function Be(n) {
|
|
14
14
|
return typeof n.url != "string" || typeof fetch != "function" ? null : (f, a) => {
|
|
15
15
|
const u = typeof n.getToken == "function" ? n.getToken() : void 0, d = { "Content-Type": "application/json" };
|
package/dist/index.d.ts
CHANGED
|
@@ -2374,16 +2374,17 @@ declare interface DesignMark {
|
|
|
2374
2374
|
/** Instant tooltip (data-tip) with the detail. */
|
|
2375
2375
|
tip?: string;
|
|
2376
2376
|
highlight?: boolean;
|
|
2377
|
-
/** A small icon before the text (a pinned section's pin, #2628). */
|
|
2378
|
-
icon?: 'pin';
|
|
2377
|
+
/** A small icon before the text (a pinned section's pin, #2628; a personal-default field's person). */
|
|
2378
|
+
icon?: 'pin' | 'person';
|
|
2379
2379
|
/**
|
|
2380
2380
|
* Where the tag ranks when a node has more than fit (DesignNode shows two,
|
|
2381
2381
|
* then "+n"): `preview` (a preview mode's own tag) ranks with the role
|
|
2382
2382
|
* mark, `loop` (a rule loop) next, plain rule and state tags after, `ai`
|
|
2383
2383
|
* (an AI finding) last but one, "from <parent>" last. A highlighted tag
|
|
2384
|
-
* without a kind ranks as a loop.
|
|
2384
|
+
* without a kind ranks as a loop. `personal` (the field takes personal defaults) ranks with a
|
|
2385
|
+
* loop: it says what the field IS for people, so it never hides behind "+n".
|
|
2385
2386
|
*/
|
|
2386
|
-
kind?: 'preview' | 'loop' | 'ai';
|
|
2387
|
+
kind?: 'preview' | 'loop' | 'ai' | 'personal';
|
|
2387
2388
|
/** Clickable: opens what the tag explains (the node is selected first). */
|
|
2388
2389
|
onClick?: () => void;
|
|
2389
2390
|
}
|