@saar-ai/web-widget 0.9.0 → 0.10.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/chunks/{chat-DAgqVvIS.js → chat-CU9VPqVO.js} +112 -16
- package/dist/chunks/{host-widget-CTK7C95y.js → host-widget-BtiYIMwb.js} +5456 -343
- package/dist/chunks/{schemas-D-uDc-9q.js → schemas-YN3wGSGZ.js} +7 -4
- package/dist/chunks/{telemetry-DQUulENJ.js → telemetry-B1xBTk1s.js} +1 -1
- package/dist/dock/dock-drag.d.ts +5 -5
- package/dist/dock/dock-drag.d.ts.map +1 -1
- package/dist/dock/dock-float.d.ts +116 -0
- package/dist/dock/dock-float.d.ts.map +1 -0
- package/dist/dock/dock-motion.d.ts +61 -6
- package/dist/dock/dock-motion.d.ts.map +1 -1
- package/dist/dock/dock-pill.d.ts +18 -1
- package/dist/dock/dock-pill.d.ts.map +1 -1
- package/dist/dock/dock-row.d.ts +128 -10
- package/dist/dock/dock-row.d.ts.map +1 -1
- package/dist/dock/dock-sheet.d.ts.map +1 -1
- package/dist/dock/dock-state.d.ts +129 -9
- package/dist/dock/dock-state.d.ts.map +1 -1
- package/dist/dock/dock.d.ts +103 -24
- package/dist/dock/dock.d.ts.map +1 -1
- package/dist/dock/geometry.d.ts +129 -3
- package/dist/dock/geometry.d.ts.map +1 -1
- package/dist/generated/widget-css.d.ts.map +1 -1
- package/dist/host-widget.d.ts +61 -2
- package/dist/host-widget.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3889
- package/dist/messages.d.ts +88 -1
- package/dist/messages.d.ts.map +1 -1
- package/dist/next/index.js +1 -1
- package/dist/rope-knot.d.ts +67 -0
- package/dist/rope-knot.d.ts.map +1 -1
- package/dist/theme/derive.d.ts +1 -1
- package/dist/theme/derive.d.ts.map +1 -1
- package/dist/use-chat-session.d.ts +33 -1
- package/dist/use-chat-session.d.ts.map +1 -1
- package/dist/use-voice-session.d.ts +2 -0
- package/dist/use-voice-session.d.ts.map +1 -1
- package/dist/voice-widget.d.ts +22 -1
- package/dist/voice-widget.d.ts.map +1 -1
- package/dist/widget-cards.d.ts +21 -1
- package/dist/widget-cards.d.ts.map +1 -1
- package/dist/widget-cart-summary.d.ts +10 -1
- package/dist/widget-cart-summary.d.ts.map +1 -1
- package/dist/widget.css +1 -1
- package/package.json +7 -3
- package/src/styles/concierge.css +528 -65
- package/src/styles/dock-surface.css +284 -0
- package/src/styles/tokens.css +22 -6
- package/src/styles/widget-entry.css +3 -0
|
@@ -35,11 +35,23 @@
|
|
|
35
35
|
* navigating storefront.
|
|
36
36
|
* 6. **`ducked`** — the shopper turned to the page.
|
|
37
37
|
* 7. the live voice states, in the order `botStateFor` already established.
|
|
38
|
-
* 8. **`
|
|
38
|
+
* 8. **`typing`** — the TEXT channel's phase (added 2026-09-15): an engaged
|
|
39
|
+
* session on `channel: 'text'` that nothing above has claimed. Below the
|
|
40
|
+
* live voice states because a room that is actually up outranks the
|
|
41
|
+
* channel label — a host mid-switch can say `text` for a render while the
|
|
42
|
+
* call is still talking.
|
|
43
|
+
* 9. **`cards`** — only over a quiet row (`dormant`/`ducked`) and only while
|
|
39
44
|
* the sheet is closed, per §5.1's "replaces `dock_ducked` once cards land
|
|
40
45
|
* during a duck". It never steals the caption from a live audio state,
|
|
41
|
-
* where the clause and the partial transcript are the point
|
|
42
|
-
*
|
|
46
|
+
* where the clause and the partial transcript are the point, and never
|
|
47
|
+
* from `typing`, whose caption is the shopper's own field.
|
|
48
|
+
* 10. **`dormant`**.
|
|
49
|
+
*
|
|
50
|
+
* ## Glass is a decision too
|
|
51
|
+
*
|
|
52
|
+
* `DockView.glass` (§3.6) is derived here rather than in the row: which
|
|
53
|
+
* states may recede to the colourless surface is exactly the kind of rule
|
|
54
|
+
* that drifts when two components each hold half of it.
|
|
43
55
|
*
|
|
44
56
|
* ## Copy is a KEY, never a string
|
|
45
57
|
*
|
|
@@ -51,19 +63,48 @@
|
|
|
51
63
|
* asserted without one.
|
|
52
64
|
*/
|
|
53
65
|
import type { VoicePhase } from '../voice-session-state.js';
|
|
54
|
-
/** Every state the row can be in — §5.1's
|
|
55
|
-
export declare const DOCK_STATES: readonly ['dormant', 'connecting', 'listening', 'thinking', 'speaking', 'ducked', 'reconnecting', 'muted', 'mic_blocked', 'human', 'offline', 'error', 'cards'];
|
|
66
|
+
/** Every state the row can be in — §5.1's ten, plus the four the shipped widget already had. */
|
|
67
|
+
export declare const DOCK_STATES: readonly ['dormant', 'connecting', 'listening', 'thinking', 'speaking', 'ducked', 'reconnecting', 'muted', 'mic_blocked', 'typing', 'human', 'offline', 'error', 'cards'];
|
|
56
68
|
export type DockState = (typeof DOCK_STATES)[number];
|
|
57
69
|
/**
|
|
58
70
|
* §2's control candidates. Never more than three are returned, and the ORDER
|
|
59
71
|
* is the order they are drawn in — `interrupt` first in `speaking` because
|
|
60
72
|
* §5.1 puts it there and because it is the one a thumb reaches for.
|
|
73
|
+
*
|
|
74
|
+
* ## `call` and `mic` are two controls, split 2026-09-16
|
|
75
|
+
*
|
|
76
|
+
* One `mic` used to mean both "start talking to the concierge" and "the
|
|
77
|
+
* microphone in this call". Those are not the same thing to a shopper, and
|
|
78
|
+
* drawing the second one's icon for the first made a microphone the entry
|
|
79
|
+
* point to a row where no microphone was open and nothing was being recorded.
|
|
80
|
+
* From the live widget: "Voice needs a different icon than mic. maybe a call
|
|
81
|
+
* or some other icon. Mic should only be used in voice mode for mute/unmute."
|
|
82
|
+
*
|
|
83
|
+
* The split is by whether a ROOM EXISTS, not by what the press happens to do:
|
|
84
|
+
*
|
|
85
|
+
* - **`call`** — `dormant`, `typing` and `human`. Nothing is dialled, so the
|
|
86
|
+
* only thing the control can do is start a call. Drawn as a soundwave
|
|
87
|
+
* (`dock-row.tsx`'s `SoundwaveGlyph`), the same visual family as the row's
|
|
88
|
+
* activity waveform, so voice reads as voice.
|
|
89
|
+
* - **`mic`** — `ducked` and `reconnecting` (resume) and `muted` (unmute).
|
|
90
|
+
* A session is behind all three and the press operates its microphone.
|
|
91
|
+
* - **`mute`** — the live audio states' in-call microphone under its own
|
|
92
|
+
* name, unchanged.
|
|
93
|
+
*
|
|
94
|
+
* `call` carries the SAME gesture contract `mic` did for starting (§5.2's
|
|
95
|
+
* hold-to-talk on touch, click-to-start on desktop, `Space`/`Enter`), and
|
|
96
|
+
* `micDisabled`/`micUnavailableReason` apply to it: `human` draws it dimmed
|
|
97
|
+
* for the same reason it used to draw the microphone dimmed.
|
|
61
98
|
*/
|
|
62
|
-
export type DockControl = 'mic' | 'mute' | 'keyboard' | 'send' | 'interrupt' | 'see' | 'fix_browser' | 'attach';
|
|
99
|
+
export type DockControl = 'call' | 'mic' | 'mute' | 'keyboard' | 'send' | 'interrupt' | 'see' | 'fix_browser' | 'attach';
|
|
63
100
|
/** §2 — the mark carries session state as a TREATMENT, not a colour swap. */
|
|
64
101
|
export type DockMark = 'live' | 'dimmed';
|
|
65
|
-
/**
|
|
66
|
-
|
|
102
|
+
/**
|
|
103
|
+
* §2's activity slot: a waveform while audio flows, a progress track during
|
|
104
|
+
* retrieval, three dots while the other side composes (`typing`, and `human`
|
|
105
|
+
* while an operator types — added 2026-09-15).
|
|
106
|
+
*/
|
|
107
|
+
export type DockActivity = 'none' | 'waveform' | 'progress' | 'dots';
|
|
67
108
|
/** §1 rule 5 — the only chrome that changes. */
|
|
68
109
|
export type DockBorder = 'rest' | 'primary';
|
|
69
110
|
/**
|
|
@@ -167,6 +208,22 @@ export interface DockStateInput {
|
|
|
167
208
|
readonly notice?: string;
|
|
168
209
|
/** How many cards the latest curation put on the shelf. */
|
|
169
210
|
readonly shelfCount: number;
|
|
211
|
+
/**
|
|
212
|
+
* There is a conversation in the visor to go back to (added 2026-09-16).
|
|
213
|
+
*
|
|
214
|
+
* The SECOND reason `see` exists, and it closes a hole the 2026-09-16
|
|
215
|
+
* minimise rewrite opened. `see` used to appear only when `shelfCount > 0`;
|
|
216
|
+
* once the MARK became the dock's minimise (§5.4) and the visor header's
|
|
217
|
+
* control stopped collapsing the row, a text session with no curation had
|
|
218
|
+
* no control that opened the visor at all — the float (§3.5) can be
|
|
219
|
+
* dismissed, and nothing else was left. A transcript the shopper cannot
|
|
220
|
+
* reach is a conversation the widget has lost.
|
|
221
|
+
*
|
|
222
|
+
* A FLAG rather than a count: this module never needs to know how long the
|
|
223
|
+
* conversation is, only that opening the visor would show something. The
|
|
224
|
+
* host owns the transcript node and is the only thing that can say so.
|
|
225
|
+
*/
|
|
226
|
+
readonly hasTranscript: boolean;
|
|
170
227
|
readonly sheetOpen: boolean;
|
|
171
228
|
/** The live partial transcript, current utterance only (§5.1's `listening`). */
|
|
172
229
|
readonly partialTranscript?: string;
|
|
@@ -174,6 +231,23 @@ export interface DockStateInput {
|
|
|
174
231
|
readonly preamble?: string;
|
|
175
232
|
/** The clause the agent is saying right now (§5.1's `speaking`). */
|
|
176
233
|
readonly clause?: string;
|
|
234
|
+
/**
|
|
235
|
+
* §5.1 (added 2026-09-15) — which channel the session is on. `text` is what
|
|
236
|
+
* makes an engaged, otherwise-unclaimed row `typing` rather than `dormant`.
|
|
237
|
+
*/
|
|
238
|
+
readonly channel: 'voice' | 'text';
|
|
239
|
+
/**
|
|
240
|
+
* The OTHER side is composing: a concierge reply is in flight or streaming,
|
|
241
|
+
* or — in `human` — an operator is typing. Draws §5.1's dots, and holds
|
|
242
|
+
* §3.6's glass off: a row cannot recede while it is being answered.
|
|
243
|
+
*/
|
|
244
|
+
readonly composing: boolean;
|
|
245
|
+
/**
|
|
246
|
+
* §3.6 — the text session has been idle for `GLASS_IDLE_MS`: no turn, no
|
|
247
|
+
* draft, the field unfocused. A CLOCK, so `dock.tsx` runs it; this module
|
|
248
|
+
* only decides what an idle `typing` row looks like.
|
|
249
|
+
*/
|
|
250
|
+
readonly textIdle: boolean;
|
|
177
251
|
}
|
|
178
252
|
export interface DockView {
|
|
179
253
|
readonly state: DockState;
|
|
@@ -184,6 +258,30 @@ export interface DockView {
|
|
|
184
258
|
readonly controls: readonly DockControl[];
|
|
185
259
|
readonly border: DockBorder;
|
|
186
260
|
readonly sheet: DockSheetPolicy;
|
|
261
|
+
/**
|
|
262
|
+
* How many cards are on the shelf — the `see` control's own name reads it
|
|
263
|
+
* (§5.1's `dock_cards`, "{count} picks — see").
|
|
264
|
+
*
|
|
265
|
+
* On the VIEW rather than recovered from the caption, which is where it used
|
|
266
|
+
* to come from: `dock-row.tsx` reached into `view.caption.vars['count']`
|
|
267
|
+
* with a cast, so the count only existed in the one state that draws the
|
|
268
|
+
* `cards` caption — a live call with a shelf said "Show conversation" over
|
|
269
|
+
* six picks — and renaming the interpolation variable would have changed an
|
|
270
|
+
* accessible name with nothing failing.
|
|
271
|
+
*/
|
|
272
|
+
readonly shelfCount: number;
|
|
273
|
+
/**
|
|
274
|
+
* A PERSON holds the conversation, so the mark is theirs (§2's handoff
|
|
275
|
+
* disc).
|
|
276
|
+
*
|
|
277
|
+
* DERIVED here rather than read from the raw `escalated` prop at each call
|
|
278
|
+
* site, for the reason `glass` is derived here: §5.1's precedence puts
|
|
279
|
+
* `error` and `offline` ABOVE `human`, so an escalated session with a status
|
|
280
|
+
* error drew the error row while the mark still showed the operator's
|
|
281
|
+
* initials — the row saying the conversation is broken and the mark saying a
|
|
282
|
+
* person is here, in the same frame. One state, one answer.
|
|
283
|
+
*/
|
|
284
|
+
readonly handoff: boolean;
|
|
187
285
|
/**
|
|
188
286
|
* There is a CALL to end — the room is being dialled, is up, or is waiting
|
|
189
287
|
* for the worker to join.
|
|
@@ -208,6 +306,17 @@ export interface DockView {
|
|
|
208
306
|
* with a reason on it reads as the product.
|
|
209
307
|
*/
|
|
210
308
|
readonly micDisabled?: boolean;
|
|
309
|
+
/**
|
|
310
|
+
* §3.6 (added 2026-09-15) — draw the row on the colourless glass surface.
|
|
311
|
+
*
|
|
312
|
+
* True for `ducked` (which includes a shopper-initiated pause) and for an
|
|
313
|
+
* IDLE `typing` row that nobody is composing into. Never for `connecting`,
|
|
314
|
+
* `listening`, `thinking` or `speaking`: a surface that goes clear while the
|
|
315
|
+
* concierge is talking reads as the concierge leaving mid-sentence. `cards`
|
|
316
|
+
* is not glass either — a curation landing is exactly when the row should
|
|
317
|
+
* look present.
|
|
318
|
+
*/
|
|
319
|
+
readonly glass: boolean;
|
|
211
320
|
}
|
|
212
321
|
/** A dock nobody has touched, on a tenant with no voice. Every field explicit — see `DockStateInput`. */
|
|
213
322
|
export declare const idleDockInput: DockStateInput;
|
|
@@ -222,6 +331,10 @@ export declare function deriveDockState(input: DockStateInput): DockView;
|
|
|
222
331
|
* A transcript turn, as the EXCHANGE split reads it: its speaker and nothing
|
|
223
332
|
* else.
|
|
224
333
|
*
|
|
334
|
+
* @deprecated §3.4's latest-exchange view was retired on 2026-09-15 (the
|
|
335
|
+
* float, §3.5, shows the last turn; the visor always holds the whole
|
|
336
|
+
* transcript). Kept because `index.ts` publishes this module wholesale.
|
|
337
|
+
*
|
|
225
338
|
* §3.4's split is a decision about the conversation's shape, so it lives here
|
|
226
339
|
* with the rest of them — and it takes speakers rather than turns because a
|
|
227
340
|
* turn carries text, cards, attachments, a locale and a delivery state, none
|
|
@@ -233,6 +346,10 @@ export type DockSpeaker = 'caller' | 'agent' | 'event';
|
|
|
233
346
|
/**
|
|
234
347
|
* §3.4 (revised 2026-09-11) — where the LATEST EXCHANGE begins.
|
|
235
348
|
*
|
|
349
|
+
* @deprecated Nothing in the dock renders a latest-exchange view any more
|
|
350
|
+
* (§3.4, revised 2026-09-15). Kept, and still correct, because it is
|
|
351
|
+
* published API.
|
|
352
|
+
*
|
|
236
353
|
* An exchange is the shopper's line and the reply to it. The latest one
|
|
237
354
|
* therefore starts at the LAST caller turn and runs to the end, so a reply
|
|
238
355
|
* that arrived as three turns (a filler, the answer, the cards) stays whole.
|
|
@@ -250,7 +367,10 @@ export type DockSpeaker = 'caller' | 'agent' | 'event';
|
|
|
250
367
|
export declare function latestExchangeStart(speakers: readonly DockSpeaker[]): number;
|
|
251
368
|
/**
|
|
252
369
|
* How many exchanges the transcript holds — the number "Show conversation"
|
|
253
|
-
*
|
|
370
|
+
* was offered on (§3.4: the control existed only when there was more than one).
|
|
371
|
+
*
|
|
372
|
+
* @deprecated The control was removed with §3.4's latest-exchange view on
|
|
373
|
+
* 2026-09-15. Kept, and still correct, because it is published API.
|
|
254
374
|
*
|
|
255
375
|
* A caller line opens an exchange; anything said BEFORE the first one (the
|
|
256
376
|
* greeting, a proactive nudge) is an exchange of its own, because it is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dock-state.d.ts","sourceRoot":"","sources":["../../src/dock/dock-state.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"dock-state.d.ts","sourceRoot":"","sources":["../../src/dock/dock-state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,gGAAgG;AAChG,eAAO,MAAM,WAAW,YACtB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,UAAU,EACV,UAAU,EACV,QAAQ,EACR,cAAc,EACd,OAAO,EACP,aAAa,EACb,QAAQ,EACR,OAAO,EACP,SAAS,EACT,OAAO,EACP,OAAO,CACC,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,MAAM,WAAW,GACrB,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,KAAK,GAAG,aAAa,GAAG,QAAQ,CAAC;AAEjG,6EAA6E;AAC7E,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEzC;;;;GA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cG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,SAAS,WAAW,EAAE,GAAG,MAAM,CAM5E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,SAAS,WAAW,EAAE,GAAG,MAAM,CAetE"}
|
package/dist/dock/dock.d.ts
CHANGED
|
@@ -151,13 +151,19 @@ export interface DockVoiceProps {
|
|
|
151
151
|
* type, and deliberately: the dock itself only ever calls this for its own
|
|
152
152
|
* two native gestures, the duck (`'look'`, above) and the interrupt
|
|
153
153
|
* control/row tap (`'tap'`, `onControl`'s `'interrupt'` case below).
|
|
154
|
-
* `'keyboard'` — "switched to text mid-reply" —
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* `
|
|
154
|
+
* `'keyboard'` — "switched to text mid-reply" — fires from wherever a typed
|
|
155
|
+
* turn is actually SUBMITTED, which is outside this component (`onSubmit`,
|
|
156
|
+
* wired up by whatever renders the dock). SAA-171: `host-widget.tsx`'s
|
|
157
|
+
* `onSendText` now sends it (`voice.interrupt('keyboard')`, guarded to
|
|
158
|
+
* `inCall && (voiceSnapshot.agentSpeaking || voiceSnapshot.awaitingAgent)`
|
|
159
|
+
* — the RAW snapshot fields, not `voice.state === 'speaking'`: an earlier
|
|
160
|
+
* version of this fix used the collapsed `BotState` and missed a mic closed
|
|
161
|
+
* by hold-to-talk or caller-speech noise overlapping real agent audio, per
|
|
162
|
+
* adversarial review) — but that call goes straight through
|
|
163
|
+
* `useVoiceSession`'s own `interrupt()`, never through this prop, so this
|
|
164
|
+
* component still never emits `'keyboard'` and the narrowing below stays
|
|
165
|
+
* accurate. Narrowing here keeps the callback's declared surface honest
|
|
166
|
+
* about what THIS component emits.
|
|
161
167
|
*/
|
|
162
168
|
readonly onInterrupt?: (reason: Exclude<CallerInterruptReason, 'keyboard'>) => void;
|
|
163
169
|
/**
|
|
@@ -195,6 +201,35 @@ export interface DockVoiceProps {
|
|
|
195
201
|
*/
|
|
196
202
|
readonly unavailableReason?: string;
|
|
197
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
* §3.5 — the last turn, as the float needs it: who said it, what, and whether
|
|
206
|
+
* it is still arriving.
|
|
207
|
+
*
|
|
208
|
+
* Data rather than a node, unlike `transcript`, because the float makes
|
|
209
|
+
* decisions about it — it times a FINISHED turn out, never a streaming one, and
|
|
210
|
+
* tells a new turn from a growing one — and a rendered node can answer neither.
|
|
211
|
+
* `speaker` has no `event`: a handoff marker is something that happened to the
|
|
212
|
+
* conversation, not a line anybody said.
|
|
213
|
+
*/
|
|
214
|
+
export interface DockTurn {
|
|
215
|
+
readonly speaker: 'caller' | 'agent';
|
|
216
|
+
readonly text: string;
|
|
217
|
+
/** The words may still grow — a text reply mid-stream. Never times out while true. */
|
|
218
|
+
readonly streaming: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* WHO said it, when that is not the concierge — §5.1's `human` row, where a
|
|
221
|
+
* person has taken the conversation and the float should say their name
|
|
222
|
+
* rather than the tenant's concierge's (§3.5, added 2026-09-16).
|
|
223
|
+
*
|
|
224
|
+
* Per TURN rather than per session, because a thread holds both: the
|
|
225
|
+
* concierge's own lines sit above the handoff marker and stay the
|
|
226
|
+
* concierge's forever, and a conversation can change hands twice. Absent ⇒
|
|
227
|
+
* the float falls back to the concierge's name, which is also what every
|
|
228
|
+
* tenant who never published `handoff.showOperatorName: true` gets — their
|
|
229
|
+
* payloads carry no name at all, so there is nothing here to suppress.
|
|
230
|
+
*/
|
|
231
|
+
readonly speakerName?: string;
|
|
232
|
+
}
|
|
198
233
|
export interface DockProps {
|
|
199
234
|
readonly identity: DockIdentityView;
|
|
200
235
|
/** §9.1's `color`/`type` groups. Absent ⇒ the shipped defaults. */
|
|
@@ -223,6 +258,19 @@ export interface DockProps {
|
|
|
223
258
|
*/
|
|
224
259
|
readonly notice?: string;
|
|
225
260
|
readonly operatorLine?: string;
|
|
261
|
+
/**
|
|
262
|
+
* §2 (added 2026-09-16) — the display name of the person now holding the
|
|
263
|
+
* conversation, for the MARK's handoff disc.
|
|
264
|
+
*
|
|
265
|
+
* Read only while {@link DockProps.escalated}; absent ⇒ the disc draws a
|
|
266
|
+
* neutral person glyph instead. Separate from `lastTurn.speakerName`
|
|
267
|
+
* because the two answer different questions: the float names whoever said
|
|
268
|
+
* THE LAST LINE (which may be the shopper), while the mark names whoever is
|
|
269
|
+
* on the other end of the conversation right now.
|
|
270
|
+
*
|
|
271
|
+
* Never reaches an accessible name. See `DockRowProps.markStateLabel`.
|
|
272
|
+
*/
|
|
273
|
+
readonly operatorName?: string;
|
|
226
274
|
readonly reconnecting?: boolean;
|
|
227
275
|
readonly roomDropped?: boolean;
|
|
228
276
|
readonly partialTranscript?: string;
|
|
@@ -234,30 +282,61 @@ export interface DockProps {
|
|
|
234
282
|
/** The text session's transcript, supplied by the caller (`voice-widget.tsx`). */
|
|
235
283
|
readonly transcript?: ReactNode;
|
|
236
284
|
/**
|
|
237
|
-
* §3.4 (
|
|
238
|
-
* `peek` sheet: the shopper's last line and the reply to it, with whatever
|
|
239
|
-
* that reply brought.
|
|
240
|
-
*
|
|
241
|
-
* A second NODE rather than a count the dock slices itself, because the
|
|
242
|
-
* dock is handed a rendered transcript and has no idea what a turn is. The
|
|
243
|
-
* host renders the same turn list twice from one component — sliced at
|
|
244
|
-
* `latestExchangeStart` (`dock-state.ts`) — so a card, a price or an
|
|
245
|
-
* attachment cannot bind differently in the two views.
|
|
285
|
+
* §3.4 (2026-09-11) — the LATEST EXCHANGE, for a text session's `peek` sheet.
|
|
246
286
|
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
287
|
+
* @deprecated Accepted and IGNORED since 2026-09-15. The visor always holds
|
|
288
|
+
* the whole `transcript`; the float (§3.5, {@link DockProps.lastTurn})
|
|
289
|
+
* shows the last turn while it is closed. Still declared so a host built
|
|
290
|
+
* against the older revision keeps compiling.
|
|
250
291
|
*/
|
|
251
292
|
readonly latestExchange?: ReactNode;
|
|
252
293
|
/**
|
|
253
|
-
* How many exchanges the transcript holds
|
|
294
|
+
* How many exchanges the transcript holds — once the gate for "Show
|
|
295
|
+
* conversation".
|
|
254
296
|
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
* to press things.
|
|
297
|
+
* @deprecated Accepted and IGNORED since 2026-09-15, with the control it
|
|
298
|
+
* gated. See {@link DockProps.latestExchange}. Replaced by
|
|
299
|
+
* {@link DockProps.transcriptCount}, which is a count of TURNS.
|
|
259
300
|
*/
|
|
260
301
|
readonly exchangeCount?: number;
|
|
302
|
+
/**
|
|
303
|
+
* HOW MANY TURNS {@link DockProps.transcript} holds (added 2026-09-16).
|
|
304
|
+
*
|
|
305
|
+
* The `see` control and §5.5's row tap both promise a visor with something
|
|
306
|
+
* in it, and until this prop existed the dock answered that question by
|
|
307
|
+
* asking whether the `transcript` PROP was present. It always is: the host
|
|
308
|
+
* renders a node whether or not there are any turns inside it, so a resting
|
|
309
|
+
* row offered a control that opened an empty panel — reported from the live
|
|
310
|
+
* marketing site, where it also announced itself as "0 picks — see".
|
|
311
|
+
*
|
|
312
|
+
* It is a §4.2 defect as well as a §5.1 one. Core draws 88 px of controls in
|
|
313
|
+
* the dormant row and React drew 132 px with `see` among them, so the
|
|
314
|
+
* caption reflowed in the handover frame — the one paint the whole
|
|
315
|
+
* pre-engagement experience is measured on (§7.3).
|
|
316
|
+
*
|
|
317
|
+
* Absent ⇒ zero, which is the safe answer: a host that cannot say how much
|
|
318
|
+
* it has gets no control rather than a control that opens nothing.
|
|
319
|
+
*/
|
|
320
|
+
readonly transcriptCount?: number;
|
|
321
|
+
/**
|
|
322
|
+
* §3.5 (added 2026-09-15) — the last turn, for the FLOAT above the row.
|
|
323
|
+
*
|
|
324
|
+
* The host chooses which turn that is (a filler is not one, a voice partial
|
|
325
|
+
* the recognizer may still revise is not one); the dock decides when to
|
|
326
|
+
* show it. Absent ⇒ no float.
|
|
327
|
+
*/
|
|
328
|
+
readonly lastTurn?: DockTurn;
|
|
329
|
+
/**
|
|
330
|
+
* §5.1 (added 2026-09-15) — the OTHER side is composing: a concierge reply
|
|
331
|
+
* pending or streaming on a text session, or a human operator typing.
|
|
332
|
+
* Draws the dots in `typing` and `human`, and holds §3.6's glass off.
|
|
333
|
+
*/
|
|
334
|
+
readonly composing?: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* §3.2 (added 2026-09-15) — draw the notification dot on the pill. A prop
|
|
337
|
+
* only for now: which events raise and clear it is open (§15).
|
|
338
|
+
*/
|
|
339
|
+
readonly unread?: boolean;
|
|
261
340
|
/** Anything the sheet holds beside its main content: the basket, chips, the handoff marker. */
|
|
262
341
|
readonly sheetExtra?: ReactNode;
|
|
263
342
|
/** Bumped when the sheet's contents grew, so the scroll can follow a reader at the bottom. */
|
package/dist/dock/dock.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dock.d.ts","sourceRoot":"","sources":["../../src/dock/dock.tsx"],"names":[],"mappings":"AAEA,OAAO,EASL,KAAK,aAAa,EAClB,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,EAAwC,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"dock.d.ts","sourceRoot":"","sources":["../../src/dock/dock.tsx"],"names":[],"mappings":"AAEA,OAAO,EASL,KAAK,aAAa,EAClB,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AACh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
export declare const SHEET_GAP = 0;
|
|
56
|
+
/**
|
|
57
|
+
* How far the visor's floor sits BEHIND the row (§3.3, revised 2026-09-15).
|
|
58
|
+
*
|
|
59
|
+
* Half a row: the row paints over the visor's rim, so the transcript reads as
|
|
60
|
+
* a head-up display sliding out from behind the dock rather than a sheet
|
|
61
|
+
* stacked on top of it, and the row keeps its full pill shape with nothing to
|
|
62
|
+
* square off against. The sheet's `bottom` is `calc(var(--wgt-row-h) / 2)` and
|
|
63
|
+
* its body is padded by the same amount so the last line clears the rim.
|
|
64
|
+
*/
|
|
65
|
+
export declare const SHEET_TUCK: number;
|
|
56
66
|
/** The one breakpoint. Below it the dock is full-width and thumb-anchored. */
|
|
57
67
|
export declare const DESKTOP_BREAKPOINT = 768;
|
|
58
68
|
/**
|
|
@@ -125,6 +135,25 @@ export declare const DOCK_ALIGN_STORAGE_KEY = "wgt_dock_align";
|
|
|
125
135
|
* alignment is written and the press's own click is left to run.
|
|
126
136
|
*/
|
|
127
137
|
export declare const DRAG_TAP_SLOP_PX = 6;
|
|
138
|
+
/**
|
|
139
|
+
* How long a completed DRAG may suppress a click after it (§9.1).
|
|
140
|
+
*
|
|
141
|
+
* A drag's trailing `click` is dispatched immediately after the `pointerup`
|
|
142
|
+
* that ended it, so any window at all is enough for the suppression it is for
|
|
143
|
+
* — and the window is what stops the suppression outliving its gesture. Some
|
|
144
|
+
* gestures trail no click: `pointercancel` (the browser taking the gesture
|
|
145
|
+
* back for its own scroll, an OS-interrupted touch) fires none, and a mouse
|
|
146
|
+
* released off the button fires it on an ancestor, so the control's own
|
|
147
|
+
* handler never runs and never consumes the flag. Left armed, it ate the next
|
|
148
|
+
* press that arrived with no `pointerdown` in front of it — `Enter` or `Space`
|
|
149
|
+
* on the mark or the pill, which is exactly §11's keyboard route to §5.4's
|
|
150
|
+
* minimise and back.
|
|
151
|
+
*
|
|
152
|
+
* 400 ms: comfortably longer than the gap between a release and its click on
|
|
153
|
+
* any real device, and far shorter than any pause a shopper would read as
|
|
154
|
+
* "the control is broken".
|
|
155
|
+
*/
|
|
156
|
+
export declare const DRAG_CLICK_WINDOW_MS = 400;
|
|
128
157
|
/**
|
|
129
158
|
* Where a released drag lands (§9.1): the third of the viewport the dock's
|
|
130
159
|
* CENTRE finished in.
|
|
@@ -165,8 +194,57 @@ export declare function writeStored(win: Window, key: string, value: string): vo
|
|
|
165
194
|
*/
|
|
166
195
|
export declare function readStoredAlign(win: Window): DesktopAlign | undefined;
|
|
167
196
|
export declare function persistAlign(win: Window, align: DesktopAlign): void;
|
|
197
|
+
/**
|
|
198
|
+
* §5.4's minimise preference — the matched pair for
|
|
199
|
+
* {@link DOCK_MINIMISED_STORAGE_KEY}, beside the alignment's.
|
|
200
|
+
*
|
|
201
|
+
* `true` = the shopper chose the pill, `false` = they chose the row,
|
|
202
|
+
* `undefined` = they never chose, which is "the tenant's config default
|
|
203
|
+
* stands". Private mode, blocked storage and a value we did not write all land
|
|
204
|
+
* on `undefined` for the same reason {@link readStoredAlign} does: the key is
|
|
205
|
+
* on the MERCHANT's origin.
|
|
206
|
+
*
|
|
207
|
+
* Here rather than in either renderer because BOTH write it and the ENCODING
|
|
208
|
+
* is the contract: `cdn/dock-dom.ts` reads it before first paint and `dock.tsx`
|
|
209
|
+
* writes it from the mark, and `dock.tsx` used to re-encode `'1'`/`'0'` in a
|
|
210
|
+
* try/catch of its own. Two hand-written encoders of the same two characters
|
|
211
|
+
* is how a shopper's collapse survives one renderer and not the other.
|
|
212
|
+
*/
|
|
213
|
+
export declare function readStoredMinimised(win: Window): boolean | undefined;
|
|
214
|
+
export declare function persistMinimised(win: Window, minimised: boolean): void;
|
|
168
215
|
/** §5.6 — how long a proactive nudge holds the row open before it recedes. */
|
|
169
216
|
export declare const PROACTIVE_NUDGE_MS = 8000;
|
|
217
|
+
/**
|
|
218
|
+
* §3.6 — how long a text session sits untouched before the row recedes to
|
|
219
|
+
* glass: no turn, no draft, the field unfocused, nobody composing.
|
|
220
|
+
*
|
|
221
|
+
* Long on purpose. The glass is for a shopper who has turned to the page, and
|
|
222
|
+
* twenty seconds is past a pause to read a reply and short of a shopper who
|
|
223
|
+
* has actually gone back to browsing; anything shorter flickers the surface
|
|
224
|
+
* between a shopper's own sentences.
|
|
225
|
+
*/
|
|
226
|
+
export declare const GLASS_IDLE_MS = 20000;
|
|
227
|
+
/**
|
|
228
|
+
* §3.5 — how long the float survives a DUCK before it takes itself away.
|
|
229
|
+
*
|
|
230
|
+
* This is the only clock the float has left. It used to have a `FLOAT_HIDE_MS`
|
|
231
|
+
* of 8 s counted from the end of every turn, and that constant is gone
|
|
232
|
+
* (2026-09-16): a shopper reading an answer lost it mid-sentence, which is the
|
|
233
|
+
* one thing a surface whose entire job is "what was just said" must not do.
|
|
234
|
+
*
|
|
235
|
+
* A DUCK is different from a timer, and that is why this one survived. §5.1's
|
|
236
|
+
* `ducked` is not the dock guessing from a clock that attention has moved on
|
|
237
|
+
* — it is the shopper scrolling the merchant's page while the concierge was
|
|
238
|
+
* mid-reply, which the dock already treats as a barge-in. Four seconds is long
|
|
239
|
+
* enough that a glance back finds the line still there, and short enough that
|
|
240
|
+
* a shopper who has genuinely gone back to shopping is not read at.
|
|
241
|
+
*
|
|
242
|
+
* Leaving the duck does NOT bring the turn back; only the next turn does. See
|
|
243
|
+
* `dock-float.tsx`.
|
|
244
|
+
*/
|
|
245
|
+
export declare const FLOAT_DUCK_DISMISS_MS = 4000;
|
|
246
|
+
/** §3.5 — the gap between the float's floor and the row's top edge. */
|
|
247
|
+
export declare const FLOAT_GAP = 8;
|
|
170
248
|
export type DesktopWidth = keyof typeof DESKTOP_WIDTHS;
|
|
171
249
|
export type DesktopAlign = 'left' | 'center' | 'right';
|
|
172
250
|
export type Direction = 'ltr' | 'rtl';
|
|
@@ -215,19 +293,67 @@ export declare function sheetMaxHeightLen(isDesktop: boolean): string;
|
|
|
215
293
|
* the handover does not move anything.
|
|
216
294
|
*/
|
|
217
295
|
export declare function geometryVars(isDesktop: boolean, layout: DockLayout): Record<DockGeometryVar, string>;
|
|
296
|
+
/**
|
|
297
|
+
* WHERE THE FIXED CONTAINER SITS — the four declarations that anchor the dock
|
|
298
|
+
* to the viewport (§3.1, §9.1).
|
|
299
|
+
*
|
|
300
|
+
* It is here, in the module §4.2's handover is judged against, because it was
|
|
301
|
+
* written out by hand TWICE: once in `dock.tsx`'s `rootStyle` and once in
|
|
302
|
+
* `cdn/dock-dom.ts`'s `containerCss`. The copies had already drifted — React
|
|
303
|
+
* hardcoded `10px` where core used {@link BOTTOM_FLOOR}, and React does not
|
|
304
|
+
* import that constant at all, so changing the floor moved one container and
|
|
305
|
+
* not the other with nothing failing. Two renderers, one anchor.
|
|
306
|
+
*
|
|
307
|
+
* ## Why `bottom` is not {@link bottomLen}
|
|
308
|
+
*
|
|
309
|
+
* Deliberately, and this is the one place the two expressions may differ.
|
|
310
|
+
* `--wgt-bottom` includes the `--wgt-kb` keyboard term; the CONTAINER must
|
|
311
|
+
* not, because `bottom` is a layout property and a value that changes every
|
|
312
|
+
* frame inside it costs the merchant's document a layout on every frame while
|
|
313
|
+
* the shopper types. The keyboard rides on the container's `translateY`
|
|
314
|
+
* instead (§7.2, §8.2). Both still carry `--wgt-host-offset`.
|
|
315
|
+
*
|
|
316
|
+
* ## Why the width is a `var()`
|
|
317
|
+
*
|
|
318
|
+
* `--wgt-row-w` is emitted by {@link geometryVars} on this same element and
|
|
319
|
+
* was read by nobody, while both renderers wrote the row's width out again as
|
|
320
|
+
* a literal beside it. Reading the token is what makes "the container is as
|
|
321
|
+
* wide as the row" a fact rather than a coincidence — and the centred `left`
|
|
322
|
+
* subtracts half the same token, so a centred dock cannot half-follow a width
|
|
323
|
+
* change.
|
|
324
|
+
*
|
|
325
|
+
* ## Why centring is one `left` and not `left: 50%` plus a negative margin
|
|
326
|
+
*
|
|
327
|
+
* The two are arithmetically identical for a fixed element — both percentages
|
|
328
|
+
* resolve against the initial containing block — and `calc(50% - W / 2)` is
|
|
329
|
+
* the one that keeps EVERY key of this object a valid CSS property name.
|
|
330
|
+
* React spreads it into a style object; `cdn/dock-dom.ts` builds its `style`
|
|
331
|
+
* attribute as TEXT and joins the same entries, and neither needs a
|
|
332
|
+
* camel-to-kebab step it would have to pay for in an artefact every visitor
|
|
333
|
+
* to every merchant page downloads (§4).
|
|
334
|
+
*/
|
|
335
|
+
export interface ContainerAnchor {
|
|
336
|
+
readonly bottom: string;
|
|
337
|
+
readonly left?: string;
|
|
338
|
+
readonly right?: string;
|
|
339
|
+
readonly width?: string;
|
|
340
|
+
}
|
|
341
|
+
export declare function containerAnchor(isDesktop: boolean, align: DesktopAlign): ContainerAnchor;
|
|
218
342
|
/**
|
|
219
343
|
* Which edge the pill hangs off, and how far in (§3.2).
|
|
220
344
|
*
|
|
221
345
|
* On mobile this is the THUMB edge, so it mirrors with the reading direction
|
|
222
346
|
* (§8.9). On desktop it follows `layout.desktopAlign`, which is a physical
|
|
223
347
|
* choice the tenant made about their own page and is therefore NOT mirrored;
|
|
224
|
-
* `center`
|
|
225
|
-
*
|
|
348
|
+
* `center` centres the pill under the row — both insets 0, with the auto
|
|
349
|
+
* inline margins `.wgt-pill` carries doing the centring. It used to resolve to
|
|
350
|
+
* the right END of the centred row, which put the pill ~200 px right of the
|
|
351
|
+
* page's centre on a `medium` dock.
|
|
226
352
|
*
|
|
227
353
|
* @throws {TypeError} on an unknown alignment.
|
|
228
354
|
*/
|
|
229
355
|
export declare function pillAnchor(dir: Direction, isDesktop: boolean, desktopAlign: DesktopAlign): {
|
|
230
|
-
side: 'left' | 'right';
|
|
356
|
+
side: 'left' | 'right' | 'center';
|
|
231
357
|
inset: number;
|
|
232
358
|
};
|
|
233
359
|
//# sourceMappingURL=geometry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../src/dock/geometry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,mDAAmD;AACnD,eAAO,MAAM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AMG;AACH,wBAAgB,YAAY,CAC1B,SAAS,EAAE,OAAO,EAClB,MAAM,EAAE,UAAU,GACjB,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CASjC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,GAAG,eAAe,CAYxF;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,CACxB,GAAG,EAAE,SAAS,EACd,SAAS,EAAE,OAAO,EAClB,YAAY,EAAE,YAAY,GACzB;IAAE,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAStD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-css.d.ts","sourceRoot":"","sources":["../../src/generated/widget-css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"widget-css.d.ts","sourceRoot":"","sources":["../../src/generated/widget-css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,EAAE,MAAq5pE,CAAC"}
|