@graview/primitives 0.1.18 → 0.1.19
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/app-bar.d.ts +7 -0
- package/dist/app-bar.d.ts.map +1 -1
- package/dist/app-bar.js +10 -5
- package/dist/app-bar.js.map +1 -1
- package/dist/arrange-bar.d.ts +1 -1
- package/dist/arrange-bar.d.ts.map +1 -1
- package/dist/arrange-bar.js +48 -16
- package/dist/arrange-bar.js.map +1 -1
- package/dist/bar-panes.d.ts +3 -1
- package/dist/bar-panes.d.ts.map +1 -1
- package/dist/bar-panes.js +12 -5
- package/dist/bar-panes.js.map +1 -1
- package/dist/chat.d.ts +68 -30
- package/dist/chat.d.ts.map +1 -1
- package/dist/chat.js +205 -222
- package/dist/chat.js.map +1 -1
- package/dist/declared-lens-doors.d.ts +18 -0
- package/dist/declared-lens-doors.d.ts.map +1 -1
- package/dist/declared-lens-doors.js +25 -3
- package/dist/declared-lens-doors.js.map +1 -1
- package/dist/declared-lenses.d.ts.map +1 -1
- package/dist/declared-lenses.js +4 -7
- package/dist/declared-lenses.js.map +1 -1
- package/dist/draft-door.d.ts +3 -0
- package/dist/draft-door.d.ts.map +1 -0
- package/dist/draft-door.js +22 -0
- package/dist/draft-door.js.map +1 -0
- package/dist/draft-frame.d.ts +25 -0
- package/dist/draft-frame.d.ts.map +1 -0
- package/dist/draft-frame.js +69 -0
- package/dist/draft-frame.js.map +1 -0
- package/dist/editable.d.ts +4 -1
- package/dist/editable.d.ts.map +1 -1
- package/dist/editable.js +9 -8
- package/dist/editable.js.map +1 -1
- package/dist/find.d.ts.map +1 -1
- package/dist/find.js +23 -5
- package/dist/find.js.map +1 -1
- package/dist/frame.d.ts +5 -4
- package/dist/frame.d.ts.map +1 -1
- package/dist/frame.js +5 -4
- package/dist/frame.js.map +1 -1
- package/dist/index.d.ts +12 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/dist/lens/board.d.ts.map +1 -1
- package/dist/lens/board.js +7 -3
- package/dist/lens/board.js.map +1 -1
- package/dist/lens/calendar-options.d.ts +8 -1
- package/dist/lens/calendar-options.d.ts.map +1 -1
- package/dist/lens/calendar-options.js +5 -0
- package/dist/lens/calendar-options.js.map +1 -1
- package/dist/lens/calendar-view.d.ts.map +1 -1
- package/dist/lens/calendar-view.js +2 -2
- package/dist/lens/calendar-view.js.map +1 -1
- package/dist/lens/columns.d.ts.map +1 -1
- package/dist/lens/columns.js +2 -2
- package/dist/lens/columns.js.map +1 -1
- package/dist/lens/coverage.d.ts.map +1 -1
- package/dist/lens/coverage.js +14 -10
- package/dist/lens/coverage.js.map +1 -1
- package/dist/lens/more.d.ts.map +1 -1
- package/dist/lens/more.js +2 -1
- package/dist/lens/more.js.map +1 -1
- package/dist/lens-keeping.d.ts +17 -0
- package/dist/lens-keeping.d.ts.map +1 -0
- package/dist/lens-keeping.js +127 -0
- package/dist/lens-keeping.js.map +1 -0
- package/dist/lines-key.d.ts +12 -0
- package/dist/lines-key.d.ts.map +1 -0
- package/dist/lines-key.js +74 -0
- package/dist/lines-key.js.map +1 -0
- package/dist/notice-place.d.ts +3 -3
- package/dist/notice-place.d.ts.map +1 -1
- package/dist/notice-place.js +4 -4
- package/dist/notice-place.js.map +1 -1
- package/dist/notices.d.ts +6 -0
- package/dist/notices.d.ts.map +1 -1
- package/dist/notices.js +7 -1
- package/dist/notices.js.map +1 -1
- package/dist/pages.d.ts +9 -5
- package/dist/pages.d.ts.map +1 -1
- package/dist/pages.js +9 -5
- package/dist/pages.js.map +1 -1
- package/dist/places.d.ts +0 -24
- package/dist/places.d.ts.map +1 -1
- package/dist/places.js +5 -1
- package/dist/places.js.map +1 -1
- package/dist/profile.d.ts +7 -1
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +2 -2
- package/dist/profile.js.map +1 -1
- package/dist/quick-relations.d.ts.map +1 -1
- package/dist/quick-relations.js +2 -2
- package/dist/quick-relations.js.map +1 -1
- package/dist/reader-lenses.d.ts +21 -0
- package/dist/reader-lenses.d.ts.map +1 -0
- package/dist/reader-lenses.js +27 -0
- package/dist/reader-lenses.js.map +1 -0
- package/dist/relation-key.d.ts +2 -0
- package/dist/relation-key.d.ts.map +1 -1
- package/dist/relation-key.js +13 -23
- package/dist/relation-key.js.map +1 -1
- package/dist/scene-bar.d.ts +29 -0
- package/dist/scene-bar.d.ts.map +1 -0
- package/dist/scene-bar.js +72 -0
- package/dist/scene-bar.js.map +1 -0
- package/dist/scene-css.d.ts.map +1 -1
- package/dist/scene-css.js +525 -0
- package/dist/scene-css.js.map +1 -1
- package/dist/scene.d.ts +5 -2
- package/dist/scene.d.ts.map +1 -1
- package/dist/scene.js +5 -1
- package/dist/scene.js.map +1 -1
- package/dist/seat-field.d.ts +58 -0
- package/dist/seat-field.d.ts.map +1 -0
- package/dist/seat-field.js +144 -0
- package/dist/seat-field.js.map +1 -0
- package/dist/seat-move.d.ts +32 -0
- package/dist/seat-move.d.ts.map +1 -0
- package/dist/seat-move.js +56 -0
- package/dist/seat-move.js.map +1 -0
- package/dist/seat-panel.d.ts +37 -0
- package/dist/seat-panel.d.ts.map +1 -0
- package/dist/seat-panel.js +131 -0
- package/dist/seat-panel.js.map +1 -0
- package/dist/seat.d.ts +20 -58
- package/dist/seat.d.ts.map +1 -1
- package/dist/seat.js +28 -45
- package/dist/seat.js.map +1 -1
- package/dist/seeding.d.ts.map +1 -1
- package/dist/seeding.js +4 -4
- package/dist/seeding.js.map +1 -1
- package/dist/shell.d.ts +25 -21
- package/dist/shell.d.ts.map +1 -1
- package/dist/shell.js +46 -116
- package/dist/shell.js.map +1 -1
- package/dist/spec-views.d.ts.map +1 -1
- package/dist/spec-views.js +3 -2
- package/dist/spec-views.js.map +1 -1
- package/dist/subject.d.ts +4 -2
- package/dist/subject.d.ts.map +1 -1
- package/dist/subject.js +12 -8
- package/dist/subject.js.map +1 -1
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +6 -523
- package/dist/theme.js.map +1 -1
- package/dist/workbench/activity.d.ts.map +1 -1
- package/dist/workbench/activity.js +9 -9
- package/dist/workbench/activity.js.map +1 -1
- package/dist/workbench/back-out.js +3 -3
- package/dist/workbench/back-out.js.map +1 -1
- package/dist/workbench/inspector.d.ts +11 -6
- package/dist/workbench/inspector.d.ts.map +1 -1
- package/dist/workbench/inspector.js +42 -56
- package/dist/workbench/inspector.js.map +1 -1
- package/dist/workbench/trail.d.ts +10 -17
- package/dist/workbench/trail.d.ts.map +1 -1
- package/dist/workbench/trail.js +29 -41
- package/dist/workbench/trail.js.map +1 -1
- package/package.json +7 -7
- package/dist/companion.d.ts +0 -58
- package/dist/companion.d.ts.map +0 -1
- package/dist/companion.js +0 -463
- package/dist/companion.js.map +0 -1
- package/dist/ladder.d.ts +0 -2
- package/dist/ladder.d.ts.map +0 -1
- package/dist/ladder.js +0 -48
- package/dist/ladder.js.map +0 -1
- package/dist/popover.d.ts +0 -21
- package/dist/popover.d.ts.map +0 -1
- package/dist/popover.js +0 -28
- package/dist/popover.js.map +0 -1
- package/dist/wordmark.d.ts +0 -15
- package/dist/wordmark.d.ts.map +0 -1
- package/dist/wordmark.js +0 -50
- package/dist/wordmark.js.map +0 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* YOUR LENSES — a view the seat drew and a reader kept, in an app whose
|
|
3
|
+
* declaration is code (todo, rota) or that this reader cannot write.
|
|
4
|
+
*
|
|
5
|
+
* Kept in this browser, under the app's name, and laid beside the app's own
|
|
6
|
+
* places when a face opens: a place on the bar, a page at `/places/<as>`,
|
|
7
|
+
* a picture the scene can stand in front of. Never what a kind draws by
|
|
8
|
+
* default, and never written into the declaration: the `add-lens` edit
|
|
9
|
+
* goes to the host (`onKeepLens`) as well, for whoever does write it.
|
|
10
|
+
*/
|
|
11
|
+
/** The name an app's kept lenses are held under: the same one its conversation is. */
|
|
12
|
+
export const readerLensesKey = (app) => `graview:lenses:${app}`;
|
|
13
|
+
/** The app's name, as the provider keys its conversation: the brand's, else its kinds. */
|
|
14
|
+
export const appKeyOf = (brand, schema) => brand?.name ?? schema.kinds.join(",");
|
|
15
|
+
/** The lenses this reader kept in this app. */
|
|
16
|
+
export function readerLenses(app) {
|
|
17
|
+
try {
|
|
18
|
+
const kept = JSON.parse(localStorage.getItem(readerLensesKey(app)) ?? "[]");
|
|
19
|
+
// Only what reads as a lens: the declaration's own judging decides whether it draws.
|
|
20
|
+
return Array.isArray(kept) ? kept.filter((one) => typeof one?.title === "string" && typeof one.lens === "string") : [];
|
|
21
|
+
}
|
|
22
|
+
catch {
|
|
23
|
+
// A private window, a sandboxed frame: nothing kept, and nothing broken.
|
|
24
|
+
return [];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=reader-lenses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reader-lenses.js","sourceRoot":"","sources":["../src/reader-lenses.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AAEH,sFAAsF;AACtF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,GAAW,EAAU,EAAE,CAAC,kBAAkB,GAAG,EAAE,CAAC;AAEhF,0FAA0F;AAC1F,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAA6C,EAAE,MAAiB,EAAU,EAAE,CAAC,KAAK,EAAE,IAAI,IAAK,MAAM,CAAC,KAA2B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEnK,+CAA+C;AAC/C,MAAM,UAAU,YAAY,CAAC,GAAW;IACtC,IAAI,CAAC;QACH,MAAM,IAAI,GAAY,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC;QACrF,qFAAqF;QACrF,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAoB,EAAE,EAAE,CAAC,OAAO,GAAG,EAAE,KAAK,KAAK,QAAQ,IAAI,OAAO,GAAG,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1I,CAAC;IAAC,MAAM,CAAC;QACP,yEAAyE;QACzE,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC"}
|
package/dist/relation-key.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ import { resolveKit, type AnySchema } from "@graview/core";
|
|
|
19
19
|
export declare function RelationKey<S extends AnySchema>({ inside }?: {
|
|
20
20
|
readonly inside?: boolean;
|
|
21
21
|
}): import("react").JSX.Element | null;
|
|
22
|
+
/** The Key's pane's width (`LinesKey`), and the widest the key is drawn on its own. */
|
|
23
|
+
export declare const KEY_PANE_WIDTH = "min(280px, calc(100% - 28px))";
|
|
22
24
|
/**
|
|
23
25
|
* What a relation is called where a person reads it: the declaration's
|
|
24
26
|
* description, capitalized, and which kinds it runs between in their
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relation-key.d.ts","sourceRoot":"","sources":["../src/relation-key.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"relation-key.d.ts","sourceRoot":"","sources":["../src/relation-key.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqC,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAU9F;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,EAAE,MAAc,EAAE,GAAE;IAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAO,sCAsMtG;AAED,uFAAuF;AACvF,eAAO,MAAM,cAAc,kCAAkC,CAAC;AAE9D;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAOpH;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,KAAU,EAAE,EAAE;IAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,+BASzK"}
|
package/dist/relation-key.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { humanizeField, layer, resolveKit } from "@graview/core";
|
|
2
|
+
import { pluralLabel, humanizeField, layer, resolveKit } from "@graview/core";
|
|
3
3
|
import { kitConnector, useKit } from "@graview/react/drawing";
|
|
4
4
|
import { useGraph, useGraview, useGraviewIfAny, useNavigation, useSelection } from "@graview/react/provider";
|
|
5
5
|
import { CONNECTOR_DASH, connectorStroke, connectorWidth, } from "@graview/render";
|
|
@@ -56,8 +56,7 @@ export function RelationKey({ inside = false } = {}) {
|
|
|
56
56
|
}, [store, nodes]);
|
|
57
57
|
// A key that disappears mid-hover must not leave its question standing.
|
|
58
58
|
useEffect(() => () => setEmphasis(null), [setEmphasis]);
|
|
59
|
-
//
|
|
60
|
-
// place the lines are explained, and they are drawn on the ground too.
|
|
59
|
+
// Under the Key it stands at every height: the lines are drawn on the ground too.
|
|
61
60
|
if ((!view.overview && !inside) || relations.length === 0)
|
|
62
61
|
return null;
|
|
63
62
|
/*
|
|
@@ -80,7 +79,7 @@ export function RelationKey({ inside = false } = {}) {
|
|
|
80
79
|
chosen.add(`kind:${node.kind}`);
|
|
81
80
|
}
|
|
82
81
|
return (_jsxs("section", { "aria-label": "What the lines mean",
|
|
83
|
-
//
|
|
82
|
+
// Inside the Key's pane it is a part of it, not a landmark of its own (FR-40).
|
|
84
83
|
role: inside ? "group" : undefined, "data-testid": "relation-key", style: inside ? { display: "grid", gap: 1 } : {
|
|
85
84
|
position: "absolute",
|
|
86
85
|
/*
|
|
@@ -101,33 +100,22 @@ export function RelationKey({ inside = false } = {}) {
|
|
|
101
100
|
background: "var(--graview-float)",
|
|
102
101
|
boxShadow: "var(--graview-lift-low)",
|
|
103
102
|
/*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
* so the two agreed only on a wide screen. Below about 740px of
|
|
109
|
-
* scene the key is wider than the rail it was given, and whatever
|
|
110
|
-
* the layout drew at the left edge of the focus band was under it:
|
|
111
|
-
* a product in a 700x520 embed had a panel's title clipped to
|
|
112
|
-
* "…nds" by this card.
|
|
113
|
-
*
|
|
114
|
-
* The same formula, in CSS, minus its own 16px offset and a margin,
|
|
115
|
-
* so the cap cannot drift from the rail again. The 110px floor is
|
|
116
|
-
* where a key stops being readable at all — under about 590px of
|
|
117
|
-
* scene the floor wins, and at that width the scene is a desk view
|
|
118
|
-
* in a phone's clothing anyway (see the routed face).
|
|
103
|
+
* AS WIDE AS THE KEY'S PANE. It was capped against a left rail the
|
|
104
|
+
* scene reserved for it, and the rail is gone: drawn on its own it
|
|
105
|
+
* keeps to the measure the Key's pane gives it, so a long
|
|
106
|
+
* relation's words wrap where they do there.
|
|
119
107
|
*/
|
|
120
|
-
maxWidth:
|
|
108
|
+
maxWidth: KEY_PANE_WIDTH,
|
|
121
109
|
// Arrives after the cards have mostly flown, rather than popping at
|
|
122
110
|
// the cut.
|
|
123
111
|
animation: "graview-settle 380ms 280ms ease backwards",
|
|
124
|
-
}, children: [_jsx("span", { style: {
|
|
112
|
+
}, children: [inside ? null : (_jsx("span", { style: {
|
|
125
113
|
fontSize: "0.75rem",
|
|
126
114
|
letterSpacing: "0.16em",
|
|
127
115
|
textTransform: "uppercase",
|
|
128
116
|
color: "var(--graview-ink-faint)",
|
|
129
117
|
paddingBottom: 2,
|
|
130
|
-
}, children: relations.length === 1 ? "1 relation" : `${relations.length} relations` }), relations.map(({ kind: edgeKind, count, ends }) => {
|
|
118
|
+
}, children: relations.length === 1 ? "1 relation" : `${relations.length} relations` })), relations.map(({ kind: edgeKind, count, ends }) => {
|
|
131
119
|
const { connector, style } = kitConnector(kit, edgeKind);
|
|
132
120
|
const lit = emphasis !== null
|
|
133
121
|
? emphasis === edgeKind
|
|
@@ -169,6 +157,8 @@ export function RelationKey({ inside = false } = {}) {
|
|
|
169
157
|
}, children: count })] }, edgeKind));
|
|
170
158
|
})] }));
|
|
171
159
|
}
|
|
160
|
+
/** The Key's pane's width (`LinesKey`), and the widest the key is drawn on its own. */
|
|
161
|
+
export const KEY_PANE_WIDTH = "min(280px, calc(100% - 28px))";
|
|
172
162
|
/**
|
|
173
163
|
* What a relation is called where a person reads it: the declaration's
|
|
174
164
|
* description, capitalized, and which kinds it runs between in their
|
|
@@ -178,7 +168,7 @@ export function RelationKey({ inside = false } = {}) {
|
|
|
178
168
|
export function relationWords(schema, edgeKind) {
|
|
179
169
|
const info = schema.edge(edgeKind);
|
|
180
170
|
const said = info?.description ?? humanizeField(edgeKind).toLowerCase();
|
|
181
|
-
const plural = (kind) => schema
|
|
171
|
+
const plural = (kind) => pluralLabel(schema, kind);
|
|
182
172
|
const from = (info?.from ?? []).map(plural).join(", ");
|
|
183
173
|
const to = info === undefined ? "" : info.to === "*" ? "anything" : info.to.map(plural).join(", ");
|
|
184
174
|
return { words: said.charAt(0).toUpperCase() + said.slice(1), ends: from && to ? `${from} → ${to}` : "" };
|
package/dist/relation-key.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relation-key.js","sourceRoot":"","sources":["../src/relation-key.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAkB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":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arFind } from "./app-bar.js";
|
|
5
|
+
/** The calls a seat made, newest first, a settling call replacing its own "running" line: the record Activity shows. */
|
|
6
|
+
export declare function useCallLog(): readonly [readonly ToolCall[], (call: ToolCall) => void];
|
|
7
|
+
/**
|
|
8
|
+
* THE SCENE'S PART OF THE BAR: its Find in the bar's place for Find, and its
|
|
9
|
+
* Activity in the bar's place for the face's own tool. Nothing until the bar
|
|
10
|
+
* has said where (`BarFind`).
|
|
11
|
+
*/
|
|
12
|
+
export declare function SceneBarTools<S extends AnySchema>({ find, calls, seat, remembers, }: {
|
|
13
|
+
readonly find: BarFind | null;
|
|
14
|
+
readonly calls: readonly ToolCall[];
|
|
15
|
+
/** The seat the app gives an agent, which Activity holds. */
|
|
16
|
+
readonly seat?: ReactNode;
|
|
17
|
+
/** Whether this browser remembers the edits; Activity says so, with the way back. */
|
|
18
|
+
readonly remembers?: boolean;
|
|
19
|
+
}): import("react").JSX.Element | null;
|
|
20
|
+
/**
|
|
21
|
+
* WHAT THE PICTURE IS DOING, ON THE PICTURE: the past, zoomed in, what a
|
|
22
|
+
* hand moved, a raised relation and whose stop you follow,
|
|
23
|
+
* each a word with its × — in the picture's top corner, opposite Up. Nothing
|
|
24
|
+
* at all while the picture is as it opened.
|
|
25
|
+
*/
|
|
26
|
+
export declare function SceneTrail({ home }: {
|
|
27
|
+
readonly home?: string | null;
|
|
28
|
+
}): import("react").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=scene-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scene-bar.d.ts","sourceRoot":"","sources":["../src/scene-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAyB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AA0B5C,wHAAwH;AACxH,wBAAgB,UAAU,IAAI,SAAS,CAAC,SAAS,QAAQ,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC,CAWrF;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,SAAS,EAAE,EACjD,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,SAAiB,GAClB,EAAE;IACD,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;IACpC,6DAA6D;IAC7D,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC;IAC1B,qFAAqF;IACrF,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B,sCAQA;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAAE,IAAW,EAAE,EAAE;IAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,+BAwB5E"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { layer } from "@graview/core";
|
|
3
|
+
import { useCallback, useState } from "react";
|
|
4
|
+
import { createPortal } from "react-dom";
|
|
5
|
+
import { FindBox } from "./find.js";
|
|
6
|
+
import { ActivityRail } from "./workbench/activity.js";
|
|
7
|
+
import { FollowingLine } from "./workbench/following.js";
|
|
8
|
+
import { Trail } from "./workbench/trail.js";
|
|
9
|
+
/*
|
|
10
|
+
* WHAT THE SCENE PUTS IN THE ONE BAR, AND WHAT IT KEEPS ON ITS PICTURE.
|
|
11
|
+
*
|
|
12
|
+
* The whole-page Shell drew a bar of its own on the scene — a wordmark, the
|
|
13
|
+
* browser's back and forward drawn again, "Lists", the trail, the places as
|
|
14
|
+
* tabs, Find, the standing, Activity and the person — while an embed and the
|
|
15
|
+
* routed face wore the one `AppBar`. The same app looked like two apps, and
|
|
16
|
+
* on a phone the Shell's bar wrapped to three rows. Both scene faces now
|
|
17
|
+
* wear the `AppBar` and hand it the same two things from here: the scene's
|
|
18
|
+
* Find, in the bar's place for it, and the scene's Activity, in the bar's
|
|
19
|
+
* place for the face's own tool (`BarFind.own`).
|
|
20
|
+
*
|
|
21
|
+
* The rest of what the Shell's bar said was about the picture, not the app:
|
|
22
|
+
* "the past", "zoomed in", "moved", a raised relation, whose stop you are
|
|
23
|
+
* following — each with its ×. The record in focus is not named again: its
|
|
24
|
+
* own card says its name, and a crumb over the picture stood on its title. Those are on the picture
|
|
25
|
+
* now (`SceneTrail`), in its top corner opposite Up, the way a map carries
|
|
26
|
+
* its own state; the browser keeps its own back and forward.
|
|
27
|
+
*/
|
|
28
|
+
/** The calls a seat made, newest first, a settling call replacing its own "running" line: the record Activity shows. */
|
|
29
|
+
export function useCallLog() {
|
|
30
|
+
const [calls, setCalls] = useState([]);
|
|
31
|
+
const onCall = useCallback((call) => {
|
|
32
|
+
setCalls((current) => {
|
|
33
|
+
// A call that settles replaces its own "running" entry rather than
|
|
34
|
+
// stacking on it, so the rail shows twelve turns, not twelve halves.
|
|
35
|
+
const settling = call.phase !== "running" && current[0]?.name === call.name && current[0]?.at === call.at;
|
|
36
|
+
return [call, ...(settling ? current.slice(1) : current)].slice(0, 12);
|
|
37
|
+
});
|
|
38
|
+
}, []);
|
|
39
|
+
return [calls, onCall];
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* THE SCENE'S PART OF THE BAR: its Find in the bar's place for Find, and its
|
|
43
|
+
* Activity in the bar's place for the face's own tool. Nothing until the bar
|
|
44
|
+
* has said where (`BarFind`).
|
|
45
|
+
*/
|
|
46
|
+
export function SceneBarTools({ find, calls, seat, remembers = false, }) {
|
|
47
|
+
if (!find)
|
|
48
|
+
return null;
|
|
49
|
+
return (_jsxs(_Fragment, { children: [createPortal(_jsx(FindBox, { compact: find.compact }), find.slot), find.own ? createPortal(_jsx(ActivityRail, { calls: calls, remembers: remembers, ...(seat !== undefined ? { seat } : {}) }), find.own) : null] }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* WHAT THE PICTURE IS DOING, ON THE PICTURE: the past, zoomed in, what a
|
|
53
|
+
* hand moved, a raised relation and whose stop you follow,
|
|
54
|
+
* each a word with its × — in the picture's top corner, opposite Up. Nothing
|
|
55
|
+
* at all while the picture is as it opened.
|
|
56
|
+
*/
|
|
57
|
+
export function SceneTrail({ home = null }) {
|
|
58
|
+
return (_jsxs("div", { "data-graview-scene-trail": "", style: {
|
|
59
|
+
position: "absolute",
|
|
60
|
+
top: 14,
|
|
61
|
+
left: 14,
|
|
62
|
+
// Up, at the other corner, keeps its room.
|
|
63
|
+
maxWidth: "calc(100% - 150px)",
|
|
64
|
+
zIndex: layer("overview"),
|
|
65
|
+
display: "flex",
|
|
66
|
+
alignItems: "center",
|
|
67
|
+
gap: 6,
|
|
68
|
+
minWidth: 0,
|
|
69
|
+
pointerEvents: "none",
|
|
70
|
+
}, children: [_jsx(Trail, { home: home, onPicture: true }), _jsx("span", { style: { pointerEvents: "auto" }, children: _jsx(FollowingLine, {}) })] }));
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=scene-bar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scene-bar.js","sourceRoot":"","sources":["../src/scene-bar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAkB,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OA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AAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,IACxI,CACJ,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,EAAqC;IAC3E,OAAO,CACL,2CAC2B,EAAE,EAC3B,KAAK,EAAE;YACL,QAAQ,EAAE,UAAU;YACpB,GAAG,EAAE,EAAE;YACP,IAAI,EAAE,EAAE;YACR,2CAA2C;YAC3C,QAAQ,EAAE,oBAAoB;YAC9B,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC;YACzB,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,QAAQ;YACpB,GAAG,EAAE,CAAC;YACN,QAAQ,EAAE,CAAC;YACX,aAAa,EAAE,MAAM;SACtB,aAED,KAAC,KAAK,IAAC,IAAI,EAAE,IAAI,EAAE,SAAS,SAAG,EAC/B,eAAM,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,YACpC,KAAC,aAAa,KAAG,GACZ,IACH,CACP,CAAC;AACJ,CAAC"}
|
package/dist/scene-css.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scene-css.d.ts","sourceRoot":"","sources":["../src/scene-css.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"scene-css.d.ts","sourceRoot":"","sources":["../src/scene-css.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AAG9D,OAAO,EAA0C,KAAK,KAAK,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AA0wCtG,0GAA0G;AAC1G,wBAAgB,QAAQ,CAAC,MAAM,GAAE,MAAe,EAAE,OAAO,GAAE,eAAoB,GAAG,MAAM,CAGvF;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,MAAM,GAAE,MAAe,EAAE,KAAK,GAAE,KAAqB,EAAE,OAAO,GAAE,eAAoB,GAAG,MAAM,CAGrH"}
|