@vibes.diy/base 14.3.458 → 14.3.459
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/attachments/attachment-types.d.ts +1 -0
- package/attachments/attachment-types.js +9 -0
- package/attachments/composer-file-paste.d.ts +7 -0
- package/attachments/composer-file-paste.js +25 -0
- package/components/AttachmentRow.js +8 -1
- package/components/AttachmentThumb.d.ts +7 -0
- package/components/AttachmentThumb.js +24 -0
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/components/vibe-menu/VibeMenu.js +7 -2
- package/components/vibe-menu/geometry.d.ts +6 -0
- package/components/vibe-menu/geometry.js +4 -0
- package/components/vibe-menu/parts/Composer.d.ts +6 -1
- package/components/vibe-menu/parts/Composer.js +36 -8
- package/components/vibe-menu/parts/SectionStrip.js +2 -0
- package/components/vibe-menu/parts/StarterChips.d.ts +12 -31
- package/components/vibe-menu/parts/StarterChips.js +6 -11
- package/components/vibe-menu/parts/use-composer-draft.d.ts +1 -0
- package/components/vibe-menu/parts/use-composer-draft.js +3 -0
- package/components/vibe-menu/shell/VibeMenuShell.d.ts +2 -0
- package/components/vibe-menu/shell/VibeMenuShell.js +13 -7
- package/components/vibe-menu/shell/shell.styles.d.ts +1 -0
- package/components/vibe-menu/shell/shell.styles.js +66 -1
- package/components/vibe-menu/shell/useMenuSequencer.js +3 -1
- package/components/vibe-menu/slices.d.ts +4 -1
- package/components/vibe-menu/vibe-menu.styles.d.ts +1 -1
- package/components/vibe-menu/vibe-menu.styles.js +14 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +5 -5
- package/theme/tokens.d.ts +5 -0
- package/theme/tokens.js +5 -0
|
@@ -6,6 +6,7 @@ export declare const IMAGE_JPEG_QUALITY = 0.8;
|
|
|
6
6
|
export declare const IMAGE_MIME_TYPES: readonly ["image/png", "image/jpeg", "image/webp", "image/gif"];
|
|
7
7
|
export declare const OFFICE_EXTENSIONS: readonly ["pdf", "docx", "pptx", "xlsx", "odt", "odp", "ods", "rtf", "csv", "md", "html"];
|
|
8
8
|
export declare const ATTACHMENT_ACCEPT: string;
|
|
9
|
+
export declare function isAcceptedAttachmentFile(file: Pick<File, "name" | "type">): boolean;
|
|
9
10
|
export interface PromptAttachment {
|
|
10
11
|
readonly name: string;
|
|
11
12
|
readonly kind: "image" | "text";
|
|
@@ -6,3 +6,12 @@ export const IMAGE_JPEG_QUALITY = 0.8;
|
|
|
6
6
|
export const IMAGE_MIME_TYPES = ["image/png", "image/jpeg", "image/webp", "image/gif"];
|
|
7
7
|
export const OFFICE_EXTENSIONS = ["pdf", "docx", "pptx", "xlsx", "odt", "odp", "ods", "rtf", "csv", "md", "html"];
|
|
8
8
|
export const ATTACHMENT_ACCEPT = [...IMAGE_MIME_TYPES, ...OFFICE_EXTENSIONS.map((e) => `.${e}`), "text/*", "application/json"].join(",");
|
|
9
|
+
export function isAcceptedAttachmentFile(file) {
|
|
10
|
+
if (IMAGE_MIME_TYPES.includes(file.type))
|
|
11
|
+
return true;
|
|
12
|
+
if (file.type.startsWith("text/") || file.type === "application/json")
|
|
13
|
+
return true;
|
|
14
|
+
const dot = file.name.lastIndexOf(".");
|
|
15
|
+
const ext = dot >= 0 ? file.name.slice(dot + 1).toLowerCase() : "";
|
|
16
|
+
return OFFICE_EXTENSIONS.includes(ext);
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ClipboardEvent } from "react";
|
|
2
|
+
export declare function filesFromPaste(clipboardData: DataTransfer | null | undefined): File[];
|
|
3
|
+
export declare function composerFilePaste(options: {
|
|
4
|
+
readonly onFiles: (files: File[]) => void;
|
|
5
|
+
readonly isPasteAllowed?: () => boolean;
|
|
6
|
+
readonly onBeforePaste?: () => boolean;
|
|
7
|
+
}): (event: ClipboardEvent) => void;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { isAcceptedAttachmentFile } from "./attachment-types.js";
|
|
2
|
+
export function filesFromPaste(clipboardData) {
|
|
3
|
+
if (clipboardData === null || clipboardData === undefined)
|
|
4
|
+
return [];
|
|
5
|
+
const files = Array.from(clipboardData.files ?? []);
|
|
6
|
+
if (files.length > 0)
|
|
7
|
+
return files;
|
|
8
|
+
return Array.from(clipboardData.items ?? [])
|
|
9
|
+
.filter((item) => item.kind === "file")
|
|
10
|
+
.map((item) => item.getAsFile())
|
|
11
|
+
.filter((file) => file !== null);
|
|
12
|
+
}
|
|
13
|
+
export function composerFilePaste(options) {
|
|
14
|
+
return (event) => {
|
|
15
|
+
const files = filesFromPaste(event.clipboardData).filter(isAcceptedAttachmentFile);
|
|
16
|
+
if (files.length === 0)
|
|
17
|
+
return;
|
|
18
|
+
event.preventDefault();
|
|
19
|
+
if (options.isPasteAllowed?.() === false)
|
|
20
|
+
return;
|
|
21
|
+
if (options.onBeforePaste?.() === false)
|
|
22
|
+
return;
|
|
23
|
+
options.onFiles(files);
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -3,6 +3,7 @@ import { useEffect, useRef } from "react";
|
|
|
3
3
|
import { ATTACHMENT_ACCEPT } from "../attachments/attachment-types.js";
|
|
4
4
|
import { attachmentRemoveName, leftOutSentence } from "../attachments/use-attachments.js";
|
|
5
5
|
import { PaperclipIcon } from "./icons/PaperclipIcon.js";
|
|
6
|
+
import { AttachmentThumb, chipThumbBlob } from "./AttachmentThumb.js";
|
|
6
7
|
export function AttachmentButton({ onFiles, onBeforeSelect, onCancel, disabled, className, }) {
|
|
7
8
|
const inputRef = useRef(null);
|
|
8
9
|
const onCancelRef = useRef(onCancel);
|
|
@@ -43,6 +44,12 @@ export function AttachmentChips({ chips, onRemove, leftOut, noteStyle, }) {
|
|
|
43
44
|
chips.length > 0 ? React.createElement(ChipList, { chips: chips, onRemove: onRemove }) : null,
|
|
44
45
|
note !== undefined ? (React.createElement("p", { "aria-live": "polite", "data-testid": "attachment-left-out", style: noteStyle ?? { fontSize: 12, opacity: 0.75, margin: "6px 2px 0" } }, note)) : null));
|
|
45
46
|
}
|
|
47
|
+
function ChipGlyph({ chip }) {
|
|
48
|
+
const blob = chipThumbBlob(chip);
|
|
49
|
+
if (blob !== undefined)
|
|
50
|
+
return React.createElement(AttachmentThumb, { blob: blob });
|
|
51
|
+
return React.createElement("span", { "aria-hidden": true }, chip.status === "processing" ? "⏳" : chip.kind === "image" ? "🖼" : "📄");
|
|
52
|
+
}
|
|
46
53
|
function ChipList({ chips, onRemove }) {
|
|
47
54
|
return (React.createElement("div", { "aria-live": "polite", style: { display: "flex", flexWrap: "wrap", gap: 6, marginTop: 8 }, "data-testid": "attachment-chips" }, chips.map((chip, index) => (React.createElement("span", { key: chip.id, "data-status": chip.status, title: chip.error, className: chip.status === "error"
|
|
48
55
|
? "border border-red-400 text-red-600 dark:text-red-400"
|
|
@@ -55,7 +62,7 @@ function ChipList({ chips, onRemove }) {
|
|
|
55
62
|
fontSize: 12,
|
|
56
63
|
maxWidth: 220,
|
|
57
64
|
} },
|
|
58
|
-
React.createElement(
|
|
65
|
+
React.createElement(ChipGlyph, { chip: chip }),
|
|
59
66
|
React.createElement("span", { style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" } }, chip.name),
|
|
60
67
|
chip.status === "error" && React.createElement("span", null, chip.error),
|
|
61
68
|
React.createElement("button", { type: "button", "aria-label": attachmentRemoveName(index), onClick: () => onRemove(chip.id), style: { background: "none", border: "none", cursor: "pointer", padding: 0, lineHeight: 1 } }, "\u00D7"))))));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { AttachmentChip } from "../attachments/use-attachments.js";
|
|
3
|
+
export declare function chipThumbBlob(chip: AttachmentChip): Blob | undefined;
|
|
4
|
+
export declare function AttachmentThumb(props: {
|
|
5
|
+
readonly blob: Blob;
|
|
6
|
+
readonly className?: string;
|
|
7
|
+
}): React.ReactElement | null;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const THUMB_STYLE = { flex: "none", width: 20, height: 20, borderRadius: 5, objectFit: "cover" };
|
|
3
|
+
export function chipThumbBlob(chip) {
|
|
4
|
+
if (chip.status !== "ready" || chip.kind !== "image")
|
|
5
|
+
return undefined;
|
|
6
|
+
return chip.payload?.processed;
|
|
7
|
+
}
|
|
8
|
+
export function AttachmentThumb(props) {
|
|
9
|
+
const { blob } = props;
|
|
10
|
+
const [src, setSrc] = React.useState(undefined);
|
|
11
|
+
React.useEffect(() => {
|
|
12
|
+
if (typeof URL.createObjectURL !== "function")
|
|
13
|
+
return;
|
|
14
|
+
const url = URL.createObjectURL(blob);
|
|
15
|
+
setSrc(url);
|
|
16
|
+
return () => {
|
|
17
|
+
URL.revokeObjectURL(url);
|
|
18
|
+
setSrc(undefined);
|
|
19
|
+
};
|
|
20
|
+
}, [blob]);
|
|
21
|
+
if (src === undefined)
|
|
22
|
+
return null;
|
|
23
|
+
return React.createElement("img", { className: props.className, style: THUMB_STYLE, src: src, alt: "", "aria-hidden": "true", "data-attachment-thumb": "" });
|
|
24
|
+
}
|
package/components/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from "./QrCode.js";
|
|
|
25
25
|
export * from "./SharePanelView.js";
|
|
26
26
|
export * from "./FilesPanelView.js";
|
|
27
27
|
export * from "./AttachmentRow.js";
|
|
28
|
+
export * from "./AttachmentThumb.js";
|
|
28
29
|
export * from "./BuildCard.js";
|
|
29
30
|
export * from "./NotificationDetailView.js";
|
|
30
31
|
export * from "./ChatMessageRow.js";
|
package/components/index.js
CHANGED
|
@@ -25,6 +25,7 @@ export * from "./QrCode.js";
|
|
|
25
25
|
export * from "./SharePanelView.js";
|
|
26
26
|
export * from "./FilesPanelView.js";
|
|
27
27
|
export * from "./AttachmentRow.js";
|
|
28
|
+
export * from "./AttachmentThumb.js";
|
|
28
29
|
export * from "./BuildCard.js";
|
|
29
30
|
export * from "./NotificationDetailView.js";
|
|
30
31
|
export * from "./ChatMessageRow.js";
|
|
@@ -51,8 +51,13 @@ export function VibeMenu(props) {
|
|
|
51
51
|
const ownerTap = viewer.role === "owner" && pending === false;
|
|
52
52
|
const badged = props.badges.pendingRequests > 0;
|
|
53
53
|
const openingViewer = { role: viewer.role, canEditSource: viewer.canEditSource, identityPending: viewer.identityPending };
|
|
54
|
-
const shellDispatch = ownerTap || badged
|
|
54
|
+
const shellDispatch = ownerTap || badged || props.pillOpensSection !== undefined
|
|
55
55
|
? (event) => {
|
|
56
|
+
if (event.type === "PILL_TAP" && state.phase === "collapsed" && props.pillOpensSection !== undefined) {
|
|
57
|
+
props.onPillOpen?.();
|
|
58
|
+
dispatch({ type: "OPEN", section: props.pillOpensSection });
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
56
61
|
const tapped = badgedTabEvent(event, props.badges.pendingRequests, openingViewer);
|
|
57
62
|
dispatch(ownerTap ? ownerSwitchEvent(state, tapped) : tapped);
|
|
58
63
|
}
|
|
@@ -208,5 +213,5 @@ export function VibeMenu(props) {
|
|
|
208
213
|
share,
|
|
209
214
|
account,
|
|
210
215
|
queued: draft.queued.length,
|
|
211
|
-
}), codeMode: codeOpen && codeModeOn, logOpen: logShowing, badges: props.badges, closedStatus: props.closedStatus, onChiclet: onChiclet, frameCap: props.frameCap === true, frame: props.frame, reducedMotion: props.reducedMotion, switchActivity: props.switchActivity, settledAtMount: props.settledAtMount, switchHiddenAtMount: props.switchHiddenAtMount, chips: chips, hiddenChips: props.badges.hidden, onHideChip: props.badges.onHide, onChipsShown: props.badges.onShown, chipsInside: codeOpen && code.promptContent === undefined, labeled: props.labeledMenu }));
|
|
216
|
+
}), codeMode: codeOpen && codeModeOn, logOpen: logShowing, badges: props.badges, closedStatus: props.closedStatus, onChiclet: onChiclet, frameCap: props.frameCap === true, dock: props.dock === true, frame: props.frame, reducedMotion: props.reducedMotion, switchActivity: props.switchActivity, settledAtMount: props.settledAtMount, switchHiddenAtMount: props.switchHiddenAtMount, chips: chips, hiddenChips: props.badges.hidden, onHideChip: props.badges.onHide, onChipsShown: props.badges.onShown, chipsInside: codeOpen && code.promptContent === undefined, labeled: props.labeledMenu }));
|
|
212
217
|
}
|
|
@@ -26,3 +26,9 @@ export declare function switchInsetCss(viewport: MenuViewport): {
|
|
|
26
26
|
bottom: string;
|
|
27
27
|
};
|
|
28
28
|
export declare const LOG_PEEK_PX = 120;
|
|
29
|
+
export declare const SPLIT_BUILDER_QUERY = "(orientation: landscape) and (pointer: coarse) and (min-width: 900px) and (min-height: 480px)";
|
|
30
|
+
export declare function matchesSplitShape(v: {
|
|
31
|
+
width: number;
|
|
32
|
+
height: number;
|
|
33
|
+
coarse: boolean;
|
|
34
|
+
}): boolean;
|
|
@@ -33,3 +33,7 @@ export function switchInsetCss(viewport) {
|
|
|
33
33
|
return { right: `${px}px`, bottom: `calc(${px}px + env(safe-area-inset-bottom, 0px))` };
|
|
34
34
|
}
|
|
35
35
|
export const LOG_PEEK_PX = 120;
|
|
36
|
+
export const SPLIT_BUILDER_QUERY = "(orientation: landscape) and (pointer: coarse) and (min-width: 900px) and (min-height: 480px)";
|
|
37
|
+
export function matchesSplitShape(v) {
|
|
38
|
+
return v.coarse === true && v.width > v.height && v.width >= 900 && v.height >= 480;
|
|
39
|
+
}
|
|
@@ -87,12 +87,16 @@ export interface ComposerRefusedSend {
|
|
|
87
87
|
readonly ideas: readonly string[];
|
|
88
88
|
}
|
|
89
89
|
export interface ComposerNewAppDoor {
|
|
90
|
-
readonly onStartNewApp: (text: string) => void;
|
|
90
|
+
readonly onStartNewApp: (text: string, attachments: readonly PromptAttachment[]) => void;
|
|
91
91
|
}
|
|
92
|
+
declare function changeBoxAsk(files: readonly {
|
|
93
|
+
readonly kind: string;
|
|
94
|
+
}[], words: boolean): string;
|
|
92
95
|
export declare const CHANGE_BOX_HINT_COPY: Readonly<{
|
|
93
96
|
readonly lead: "Changes this app";
|
|
94
97
|
readonly door: "New idea? Start a new app";
|
|
95
98
|
readonly ask: "Start a new app with these words?";
|
|
99
|
+
readonly askWith: typeof changeBoxAsk;
|
|
96
100
|
readonly yes: "Yes";
|
|
97
101
|
readonly keep: "Keep editing";
|
|
98
102
|
}>;
|
|
@@ -133,3 +137,4 @@ export declare function stopGuardHolds(now: number, armedAt: number | undefined)
|
|
|
133
137
|
export declare function useStopGuardHolds(armedAt: number | undefined, now?: () => number): boolean;
|
|
134
138
|
export declare function latestStopArm(...armedAt: readonly (number | undefined)[]): number | undefined;
|
|
135
139
|
export declare function Composer(props: ComposerProps): React.ReactElement;
|
|
140
|
+
export {};
|
|
@@ -2,11 +2,13 @@ import * as React from "react";
|
|
|
2
2
|
import { attachmentRemoveName, leftOutSentence, } from "../../../attachments/use-attachments.js";
|
|
3
3
|
import { ATTACHMENT_ACCEPT } from "../../../attachments/attachment-types.js";
|
|
4
4
|
import { composerFileDrop } from "../../../attachments/composer-file-drop.js";
|
|
5
|
+
import { composerFilePaste } from "../../../attachments/composer-file-paste.js";
|
|
5
6
|
import { Glyph } from "./Glyph.js";
|
|
6
7
|
import { SendCap } from "./SendCap.js";
|
|
7
8
|
import { useHeldEnterFocus } from "./held-enter-focus.js";
|
|
8
9
|
import { foldKeyboardAfterSend } from "./fold-keyboard.js";
|
|
9
10
|
import { FacesGlyph } from "./ThinkingLine.js";
|
|
11
|
+
import { AttachmentThumb, chipThumbBlob } from "../../AttachmentThumb.js";
|
|
10
12
|
import { DictationCancelIcon, DictationCheckIcon, DictationSpinner, DictationWave, MicIcon, joinDictated, useDictation, } from "../../dictation/dictation.js";
|
|
11
13
|
import { REFUSED_SEND_COPY, REFUSED_SEND_IDEAS, changeRefusedSendLine, refusedSendKind, } from "./refused-send.js";
|
|
12
14
|
function RefusedSendLine(props) {
|
|
@@ -69,46 +71,71 @@ function useIdeaHeld(hold, draft, seed) {
|
|
|
69
71
|
}, [via, text, onIdeaHeld]);
|
|
70
72
|
return via !== undefined;
|
|
71
73
|
}
|
|
74
|
+
function changeBoxAsk(files, words) {
|
|
75
|
+
if (files.length === 0)
|
|
76
|
+
return "Start a new app with these words?";
|
|
77
|
+
const photos = files.every((f) => f.kind === "image");
|
|
78
|
+
const noun = photos ? "photo" : "file";
|
|
79
|
+
if (words) {
|
|
80
|
+
return files.length === 1
|
|
81
|
+
? `Start a new app with these words and ${noun}?`
|
|
82
|
+
: `Start a new app with these words and ${files.length} ${noun}s?`;
|
|
83
|
+
}
|
|
84
|
+
return files.length === 1 ? `Start a new app with this ${noun}?` : `Start a new app with these ${files.length} ${noun}s?`;
|
|
85
|
+
}
|
|
72
86
|
export const CHANGE_BOX_HINT_COPY = Object.freeze({
|
|
73
87
|
lead: "Changes this app",
|
|
74
88
|
door: "New idea? Start a new app",
|
|
75
89
|
ask: "Start a new app with these words?",
|
|
90
|
+
askWith: changeBoxAsk,
|
|
76
91
|
yes: "Yes",
|
|
77
92
|
keep: "Keep editing",
|
|
78
93
|
});
|
|
79
94
|
function ChangeBoxHintLine(props) {
|
|
80
95
|
const { door, draft } = props;
|
|
96
|
+
const files = draft.attachments.readyAttachments;
|
|
97
|
+
const riding = draft.attachments.attachments.filter((c) => c.status !== "error");
|
|
98
|
+
const busy = draft.attachments.busy;
|
|
99
|
+
const holding = `${draft.text}\u0000${riding.length}`;
|
|
81
100
|
const [askedFor, setAskedFor] = React.useState(undefined);
|
|
82
|
-
if (askedFor !== undefined && askedFor !==
|
|
101
|
+
if (askedFor !== undefined && askedFor !== holding)
|
|
83
102
|
setAskedFor(undefined);
|
|
84
103
|
const typed = draft.text.trim();
|
|
85
|
-
if (typed === "")
|
|
104
|
+
if (typed === "" && riding.length === 0)
|
|
86
105
|
return null;
|
|
87
106
|
if (draft.suggestion !== undefined && draft.suggestion === draft.text)
|
|
88
107
|
return null;
|
|
89
108
|
function carry() {
|
|
109
|
+
if (busy)
|
|
110
|
+
return;
|
|
90
111
|
setAskedFor(undefined);
|
|
91
112
|
draft.setText("");
|
|
92
|
-
|
|
113
|
+
draft.attachments.clear();
|
|
114
|
+
door.onStartNewApp(typed, files);
|
|
93
115
|
}
|
|
94
|
-
if (askedFor ===
|
|
116
|
+
if (askedFor === holding) {
|
|
95
117
|
return (React.createElement("p", { className: "vm-door-line", "data-change-box-hint": "", "data-change-box-confirm": "", "aria-live": "polite" },
|
|
96
|
-
React.createElement("span", null, CHANGE_BOX_HINT_COPY.
|
|
118
|
+
React.createElement("span", null, CHANGE_BOX_HINT_COPY.askWith(riding, typed !== "")),
|
|
97
119
|
React.createElement("span", { "aria-hidden": "true" }, " \u00B7 "),
|
|
98
|
-
React.createElement("button", { type: "button", className: "vm-door", onClick: carry }, CHANGE_BOX_HINT_COPY.yes),
|
|
120
|
+
React.createElement("button", { type: "button", className: "vm-door", onClick: carry, disabled: busy }, CHANGE_BOX_HINT_COPY.yes),
|
|
99
121
|
React.createElement("span", { "aria-hidden": "true" }, " \u00B7 "),
|
|
100
122
|
React.createElement("button", { type: "button", className: "vm-door", onClick: () => setAskedFor(undefined) }, CHANGE_BOX_HINT_COPY.keep)));
|
|
101
123
|
}
|
|
102
124
|
return (React.createElement("p", { className: "vm-door-line", "data-change-box-hint": "" },
|
|
103
125
|
React.createElement("span", null, CHANGE_BOX_HINT_COPY.lead),
|
|
104
126
|
React.createElement("span", { "aria-hidden": "true" }, " \u00B7 "),
|
|
105
|
-
React.createElement("button", { type: "button", className: "vm-door", onClick: () => setAskedFor(
|
|
127
|
+
React.createElement("button", { type: "button", className: "vm-door", onClick: () => setAskedFor(holding) }, CHANGE_BOX_HINT_COPY.door)));
|
|
128
|
+
}
|
|
129
|
+
function ChipThumb(props) {
|
|
130
|
+
const blob = chipThumbBlob(props.chip);
|
|
131
|
+
return blob === undefined ? null : React.createElement(AttachmentThumb, { blob: blob, className: "vm-chip-thumb" });
|
|
106
132
|
}
|
|
107
133
|
function StagedAttachments(props) {
|
|
108
134
|
if (props.chips.length === 0)
|
|
109
135
|
return null;
|
|
110
136
|
return (React.createElement("div", { className: "vm-picks vm-attachments", "aria-live": "polite" }, props.chips.map((chip, index) => (React.createElement("button", { key: chip.id, className: "vm-chip is-name is-ghost", type: "button", "data-status": chip.status, title: chip.error, "aria-label": attachmentRemoveName(index), onClick: () => props.onRemove(chip.id) },
|
|
111
137
|
chip.status === "processing" ? React.createElement(FacesGlyph, { size: 12, ink: "current" }) : null,
|
|
138
|
+
React.createElement(ChipThumb, { chip: chip }),
|
|
112
139
|
React.createElement("span", null, chip.name))))));
|
|
113
140
|
}
|
|
114
141
|
export const STOP_GUARD_MS = 4000;
|
|
@@ -413,6 +440,7 @@ export function Composer(props) {
|
|
|
413
440
|
}
|
|
414
441
|
const stopHeldLabel = transcribing || dictationArmed.current ? "Adding your words…" : "Sending…";
|
|
415
442
|
const drop = composerFileDrop({ onFiles: attachments.add });
|
|
443
|
+
const paste = composerFilePaste({ onFiles: attachments.add });
|
|
416
444
|
const leftOutNote = leftOutSentence(attachments.leftOut);
|
|
417
445
|
const next = composer.hold?.next;
|
|
418
446
|
const sendCap = next !== undefined ? (React.createElement("button", { ref: nextCap, className: "vm-cap", type: "button", "data-next": "", "data-composer-submit": "vibe", disabled: composer.disabled === true || next.busy === true, "aria-busy": next.busy === true ? true : undefined, onClick: () => {
|
|
@@ -426,7 +454,7 @@ export function Composer(props) {
|
|
|
426
454
|
} }),
|
|
427
455
|
React.createElement(StagedAttachments, { chips: attachments.attachments, onRemove: attachments.remove }),
|
|
428
456
|
leftOutNote !== undefined ? (React.createElement("p", { className: "vm-attach-note", "aria-live": "polite", "data-testid": "attachment-left-out" }, leftOutNote)) : null,
|
|
429
|
-
React.createElement("label", { ref: box, className: [building ? "vm-composer is-building" : "vm-composer", dictating ? "is-dictating" : ""].join(" ").trim(), onDragOver: drop.onDragOver, onDrop: drop.onDrop },
|
|
457
|
+
React.createElement("label", { ref: box, className: [building ? "vm-composer is-building" : "vm-composer", dictating ? "is-dictating" : ""].join(" ").trim(), onDragOver: drop.onDragOver, onDrop: drop.onDrop, onPaste: paste },
|
|
430
458
|
React.createElement("textarea", { ref: props.fieldRef, rows: 1, value: draft.text, placeholder: transcribing ? "Writing down what you said…" : (props.placeholder ?? composer.placeholder), "aria-label": composer.cap === "Remix this" ? "Describe your remix" : "Describe a change", disabled: composer.disabled, onChange: (event) => {
|
|
431
459
|
if (dictation.note !== undefined)
|
|
432
460
|
dictation.clearNote();
|
|
@@ -13,6 +13,8 @@ export function tabFootprintRect(tab) {
|
|
|
13
13
|
if (run === null)
|
|
14
14
|
return box;
|
|
15
15
|
const r = run.getBoundingClientRect();
|
|
16
|
+
if (r.width === 0 && r.height === 0)
|
|
17
|
+
return box;
|
|
16
18
|
const left = Math.min(box.left, r.left);
|
|
17
19
|
const top = Math.min(box.top, r.top);
|
|
18
20
|
return new DOMRect(left, top, Math.max(box.right, r.right) - left, Math.max(box.bottom, r.bottom) - top);
|
|
@@ -1,44 +1,24 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
export declare const STARTER_PAINTS: readonly [{
|
|
3
|
-
readonly name: "
|
|
4
|
-
readonly color: "#
|
|
3
|
+
readonly name: "orange";
|
|
4
|
+
readonly color: "#ff571e";
|
|
5
5
|
readonly ink: "menu-ink";
|
|
6
6
|
}, {
|
|
7
|
-
readonly name: "
|
|
8
|
-
readonly color: "#
|
|
7
|
+
readonly name: "pink";
|
|
8
|
+
readonly color: "#ef77a9";
|
|
9
9
|
readonly ink: "menu-ink";
|
|
10
10
|
}, {
|
|
11
|
-
readonly name: "
|
|
12
|
-
readonly color: "#
|
|
11
|
+
readonly name: "gold";
|
|
12
|
+
readonly color: "#e9ae20";
|
|
13
13
|
readonly ink: "menu-ink";
|
|
14
14
|
}, {
|
|
15
|
-
readonly name: "
|
|
16
|
-
readonly color: "#
|
|
17
|
-
readonly ink: "vibes-cream";
|
|
18
|
-
}, {
|
|
19
|
-
readonly name: "purple-neon";
|
|
20
|
-
readonly color: "#c084fc";
|
|
21
|
-
readonly ink: "menu-ink";
|
|
22
|
-
}, {
|
|
23
|
-
readonly name: "pink-neon";
|
|
24
|
-
readonly color: "#f472b6";
|
|
25
|
-
readonly ink: "menu-ink";
|
|
26
|
-
}, {
|
|
27
|
-
readonly name: "orange-neon";
|
|
28
|
-
readonly color: "#fb923c";
|
|
15
|
+
readonly name: "green";
|
|
16
|
+
readonly color: "#01a947";
|
|
29
17
|
readonly ink: "menu-ink";
|
|
30
18
|
}, {
|
|
31
|
-
readonly name: "
|
|
32
|
-
readonly color: "#
|
|
33
|
-
readonly ink: "
|
|
34
|
-
}, {
|
|
35
|
-
readonly name: "magenta-neon";
|
|
36
|
-
readonly color: "#e879f9";
|
|
37
|
-
readonly ink: "menu-ink";
|
|
38
|
-
}, {
|
|
39
|
-
readonly name: "lime-neon";
|
|
40
|
-
readonly color: "#a3e635";
|
|
41
|
-
readonly ink: "menu-ink";
|
|
19
|
+
readonly name: "navy";
|
|
20
|
+
readonly color: "#445796";
|
|
21
|
+
readonly ink: "vibes-cream";
|
|
42
22
|
}];
|
|
43
23
|
export declare const STARTER_PAINT_VARS: string;
|
|
44
24
|
export declare function starterPaintIndex(id: string): number;
|
|
@@ -46,6 +26,7 @@ export declare const STARTER_CHIPS_CSS: string;
|
|
|
46
26
|
export interface StarterChip {
|
|
47
27
|
readonly id: string;
|
|
48
28
|
readonly label: string;
|
|
29
|
+
readonly paint?: number;
|
|
49
30
|
}
|
|
50
31
|
export interface StarterChipsProps {
|
|
51
32
|
readonly chips: readonly StarterChip[];
|
|
@@ -2,16 +2,11 @@ import * as React from "react";
|
|
|
2
2
|
import { VIBE_MENU_LIGHT_VARS } from "../vibe-menu.styles.js";
|
|
3
3
|
import { colors } from "../../../theme/tokens.js";
|
|
4
4
|
export const STARTER_PAINTS = [
|
|
5
|
-
{ name: "
|
|
6
|
-
{ name: "
|
|
7
|
-
{ name: "
|
|
8
|
-
{ name: "
|
|
9
|
-
{ name: "
|
|
10
|
-
{ name: "pink-neon", color: colors.pinkNeon, ink: "menu-ink" },
|
|
11
|
-
{ name: "orange-neon", color: colors.orangeNeon, ink: "menu-ink" },
|
|
12
|
-
{ name: "cyan-neon", color: colors.cyanNeon, ink: "menu-ink" },
|
|
13
|
-
{ name: "magenta-neon", color: colors.magentaNeon, ink: "menu-ink" },
|
|
14
|
-
{ name: "lime-neon", color: colors.limeNeon, ink: "menu-ink" },
|
|
5
|
+
{ name: "orange", color: colors.brandOrange, ink: "menu-ink" },
|
|
6
|
+
{ name: "pink", color: colors.brandPink, ink: "menu-ink" },
|
|
7
|
+
{ name: "gold", color: colors.brandGold, ink: "menu-ink" },
|
|
8
|
+
{ name: "green", color: colors.brandGreen, ink: "menu-ink" },
|
|
9
|
+
{ name: "navy", color: colors.brandNavy, ink: "vibes-cream" },
|
|
15
10
|
];
|
|
16
11
|
export const STARTER_PAINT_VARS = STARTER_PAINTS.map((p) => `\n --starter-${p.name}: ${p.color};`).join("");
|
|
17
12
|
export function starterPaintIndex(id) {
|
|
@@ -56,7 +51,7 @@ ${PAINT_RULES}
|
|
|
56
51
|
export function StarterChips({ chips, onPick, disabled = false, dealt = true, ariaLabel = "Start with a kind of app", className, }) {
|
|
57
52
|
return (React.createElement(React.Fragment, null,
|
|
58
53
|
React.createElement("style", null, STARTER_CHIPS_CSS),
|
|
59
|
-
React.createElement("div", { className: className === undefined ? "vm-starters" : `vm-starters ${className}`, role: "group", "aria-label": ariaLabel, "data-dealt": dealt ? "true" : "false" }, chips.map((chip) => (React.createElement("button", { key: chip.id, type: "button", className: "vm-starter", "data-paint": starterPaintIndex(chip.id), "aria-disabled": disabled, onClick: () => {
|
|
54
|
+
React.createElement("div", { className: className === undefined ? "vm-starters" : `vm-starters ${className}`, role: "group", "aria-label": ariaLabel, "data-dealt": dealt ? "true" : "false" }, chips.map((chip) => (React.createElement("button", { key: chip.id, type: "button", className: "vm-starter", "data-paint": chip.paint ?? starterPaintIndex(chip.id), "aria-disabled": disabled, onClick: () => {
|
|
60
55
|
if (!disabled)
|
|
61
56
|
onPick(chip);
|
|
62
57
|
}, onKeyDown: (event) => {
|
|
@@ -11,6 +11,7 @@ export declare const DRAFT_CARRY_KEY = "vibes.draftCarry.";
|
|
|
11
11
|
export declare function firstBuildDraftKey(chatId: string): string;
|
|
12
12
|
export declare function carryComposerDraft(fromKey: string, toKey: string): void;
|
|
13
13
|
export declare function carrySavedComposerDraft(fromKey: string, toKey: string): void;
|
|
14
|
+
export declare function isFileOnlyPressText(text: string): boolean;
|
|
14
15
|
export interface UseComposerDraftInput {
|
|
15
16
|
readonly composer: ComposerSlice;
|
|
16
17
|
readonly resetKey: string | null;
|
|
@@ -78,6 +78,9 @@ export function carrySavedComposerDraft(fromKey, toKey) {
|
|
|
78
78
|
}
|
|
79
79
|
const ONE_FILE_TEXT = "Use the attached file.";
|
|
80
80
|
const MANY_FILES_TEXT = "Use the attached files.";
|
|
81
|
+
export function isFileOnlyPressText(text) {
|
|
82
|
+
return text === ONE_FILE_TEXT || text === MANY_FILES_TEXT;
|
|
83
|
+
}
|
|
81
84
|
const NO_FILES = [];
|
|
82
85
|
function queuedFilesOf(entries) {
|
|
83
86
|
return entries.some((e) => e.files.length > 0) ? entries.flatMap((e) => e.files) : NO_FILES;
|
|
@@ -32,6 +32,8 @@ export interface VibeMenuShellProps {
|
|
|
32
32
|
readonly switchActivity: VibeMenuSwitchActivity;
|
|
33
33
|
readonly onChiclet: () => void;
|
|
34
34
|
readonly frameCap?: boolean;
|
|
35
|
+
readonly dock?: boolean;
|
|
36
|
+
readonly dockCssQuery?: string;
|
|
35
37
|
readonly reducedMotion?: boolean;
|
|
36
38
|
readonly onStep?: (step: SequencerStep) => void;
|
|
37
39
|
readonly frame?: "viewport" | "contained";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { startTransition, useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
3
|
+
import { SPLIT_BUILDER_QUERY } from "../geometry.js";
|
|
3
4
|
import { VibeMenuStyles, useLiveMenuSheet } from "../vibe-menu.styles.js";
|
|
4
5
|
import { MenuCard } from "../parts/MenuCard.js";
|
|
5
6
|
import { SectionStrip } from "../parts/SectionStrip.js";
|
|
6
7
|
import { LABELED_MENU_CSS, LabeledChoices } from "../parts/LabeledChoices.js";
|
|
7
8
|
import { VibesSwitchGlass } from "../parts/VibesSwitchGlass.js";
|
|
8
9
|
import { StatusChipRow } from "../parts/StatusChipRow.js";
|
|
9
|
-
import { VIBE_MENU_SHELL_CSS } from "./shell.styles.js";
|
|
10
|
-
import { useMenuSequencer } from "./useMenuSequencer.js";
|
|
10
|
+
import { VIBE_MENU_SHELL_CSS, splitDockCss } from "./shell.styles.js";
|
|
11
|
+
import { MENU_RESNAP_EVENT, useMenuSequencer } from "./useMenuSequencer.js";
|
|
11
12
|
import { shownKey, wantFor } from "./menu-sequence.js";
|
|
12
13
|
const DETACHED_LAYER_ATTRIBUTES = [
|
|
13
14
|
"data-vibe-menu-detached",
|
|
@@ -23,9 +24,9 @@ function isDetachedLayer(node) {
|
|
|
23
24
|
DETACHED_LAYER_CLASSES.some((name) => node.classList.contains(name) === true));
|
|
24
25
|
}
|
|
25
26
|
function useOutsideClose(input) {
|
|
26
|
-
const { phase, dispatch, menuRef } = input;
|
|
27
|
+
const { phase, dispatch, menuRef, docked } = input;
|
|
27
28
|
useEffect(() => {
|
|
28
|
-
if (phase === "collapsed")
|
|
29
|
+
if (phase === "collapsed" || docked === true)
|
|
29
30
|
return;
|
|
30
31
|
const listeningSince = performance.now();
|
|
31
32
|
function onOutsideClick(event) {
|
|
@@ -43,7 +44,7 @@ function useOutsideClose(input) {
|
|
|
43
44
|
}
|
|
44
45
|
window.addEventListener("click", onOutsideClick);
|
|
45
46
|
return () => window.removeEventListener("click", onOutsideClick);
|
|
46
|
-
}, [phase, dispatch, menuRef]);
|
|
47
|
+
}, [phase, dispatch, menuRef, docked]);
|
|
47
48
|
}
|
|
48
49
|
function useEscapeStepsBack(input) {
|
|
49
50
|
const { phase, dispatch } = input;
|
|
@@ -195,7 +196,11 @@ export function VibeMenuShell(props) {
|
|
|
195
196
|
if (live)
|
|
196
197
|
retained.current = content;
|
|
197
198
|
});
|
|
198
|
-
useOutsideClose({ phase: state.phase, dispatch, menuRef: refs.menu });
|
|
199
|
+
useOutsideClose({ phase: state.phase, dispatch, menuRef: refs.menu, docked: props.dock === true });
|
|
200
|
+
const docked = props.dock === true;
|
|
201
|
+
useLayoutEffect(() => {
|
|
202
|
+
refs.card.current?.dispatchEvent(new Event(MENU_RESNAP_EVENT));
|
|
203
|
+
}, [docked, refs.card]);
|
|
199
204
|
useEscapeStepsBack({ phase: state.phase, dispatch });
|
|
200
205
|
const choicesRef = useRef(null);
|
|
201
206
|
const labeledOn = props.labeled === "a" || props.labeled === "b";
|
|
@@ -216,9 +221,10 @@ export function VibeMenuShell(props) {
|
|
|
216
221
|
useEffect(() => {
|
|
217
222
|
onChipsShown?.(seenKey === "" ? [] : seenKey.split("|"));
|
|
218
223
|
}, [seenKey, onChipsShown]);
|
|
219
|
-
return (React.createElement("div", { className: "vm-layer", "data-vibe-menu": "", "data-frame": props.frame ?? "viewport", "data-frame-cap": props.frameCap === true ? "" : undefined, "data-reduced-motion": props.reducedMotion === true ? "true" : undefined },
|
|
224
|
+
return (React.createElement("div", { className: "vm-layer", "data-vibe-menu": "", "data-frame": props.frame ?? "viewport", "data-frame-cap": props.frameCap === true ? "" : undefined, "data-dock": docked ? "" : undefined, "data-reduced-motion": props.reducedMotion === true ? "true" : undefined },
|
|
220
225
|
React.createElement(VibeMenuStyles, null),
|
|
221
226
|
React.createElement("style", null, VIBE_MENU_SHELL_CSS),
|
|
227
|
+
React.createElement("style", null, splitDockCss(props.dockCssQuery ?? SPLIT_BUILDER_QUERY)),
|
|
222
228
|
labeled === null ? null : React.createElement("style", null, LABELED_MENU_CSS),
|
|
223
229
|
React.createElement("div", { ref: refs.menu, className: shown.section === null ? "vm-menu" : "vm-menu has-card", "data-phase": state.phase, "data-want": shownKey(wantFor(state)), "data-bar": shown.bar ? "open" : "closed", "data-section": shown.section ?? "", "data-card": shown.section === null ? undefined : "", "data-code-mode": codeModeOn ? "" : undefined, "data-log-open": logOpenOn ? "" : undefined, "data-switch-hidden": switchHidden ? "" : undefined, "data-labeled": labeled ?? undefined, inert: switchHidden },
|
|
224
230
|
React.createElement(MenuCard, { section: shown.section, cardRef: refs.card, bodyRef: refs.body, idle: shown.section === null },
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { MENU_FULL_TABS_MIN_WIDTH, MENU_GEOMETRY, MENU_INLINE_TAB_LABELS_MIN_WIDTH, MENU_TOP_RESERVE_VAR } from "../geometry.js";
|
|
1
|
+
import { SPLIT_BUILDER_QUERY, MENU_FULL_TABS_MIN_WIDTH, MENU_GEOMETRY, MENU_INLINE_TAB_LABELS_MIN_WIDTH, MENU_TOP_RESERVE_VAR, } from "../geometry.js";
|
|
2
2
|
import { MOTION } from "../motion.js";
|
|
3
|
+
import { SAFE_AREA_BOTTOM, SAFE_AREA_RIGHT, SAFE_AREA_TOP } from "../../../theme/safe-area.js";
|
|
3
4
|
const G = MENU_GEOMETRY;
|
|
4
5
|
const SWITCH_HIDE_FADE_MS = 200;
|
|
5
6
|
export const VIBE_MENU_SHELL_CSS = `
|
|
@@ -906,3 +907,67 @@ export const VIBE_MENU_SHELL_CSS = `
|
|
|
906
907
|
animation: none !important;
|
|
907
908
|
}
|
|
908
909
|
`;
|
|
910
|
+
export function splitDockCss(query = SPLIT_BUILDER_QUERY) {
|
|
911
|
+
return `
|
|
912
|
+
@media ${query} {
|
|
913
|
+
.vm-layer[data-dock] {
|
|
914
|
+
left: 50%;
|
|
915
|
+
/* The panel's right edge clears the right safe inset (the Duo reports 84pt
|
|
916
|
+
for its corner clock/Wi-Fi cluster); the layer is inset-0 otherwise. */
|
|
917
|
+
right: ${SAFE_AREA_RIGHT};
|
|
918
|
+
top: var(--vm-vv-top, 0px);
|
|
919
|
+
bottom: auto;
|
|
920
|
+
height: var(--vm-vv-h, 100%);
|
|
921
|
+
border-left: 2px solid var(--line);
|
|
922
|
+
/* A drag on the panel's chrome (the bar, the header, blank card) would
|
|
923
|
+
scroll the page under it, and Safari answers that by sliding its
|
|
924
|
+
toolbar and resizing the viewport. The chrome takes no pans; a scroller
|
|
925
|
+
inside (transcript, code) resets touch-action, so it still scrolls. */
|
|
926
|
+
touch-action: none;
|
|
927
|
+
}
|
|
928
|
+
/* ...and no scroller inside hands its overscroll on to the page. */
|
|
929
|
+
.vm-layer[data-dock] * {
|
|
930
|
+
overscroll-behavior: contain;
|
|
931
|
+
}
|
|
932
|
+
/* Full height, no dead bands: the switch's glass rests a hair above the
|
|
933
|
+
bottom safe inset (or the keyboard: useDockedViewportVars writes
|
|
934
|
+
--vm-vv-safe-bottom: 0px while it is up, since the inset sits under it), and
|
|
935
|
+
the card runs from one edge below the top safe inset down to the bar. */
|
|
936
|
+
.vm-layer[data-dock] .vm-menu {
|
|
937
|
+
--vm-safe-bottom: var(--vm-vv-safe-bottom, ${SAFE_AREA_BOTTOM});
|
|
938
|
+
--vm-dock-foot: max(var(--vm-safe-bottom), 4px);
|
|
939
|
+
--vm-dock-head: max(${SAFE_AREA_TOP}, var(--vm-edge));
|
|
940
|
+
bottom: calc(var(--vm-ring) + var(--vm-dock-foot));
|
|
941
|
+
--vm-dock-card-h: min(
|
|
942
|
+
calc(100cqh - var(--vm-dock-head) - var(--vm-dock-foot) - 2 * var(--vm-ring) - var(--vm-pill-h)),
|
|
943
|
+
var(--vm-below-reserve)
|
|
944
|
+
);
|
|
945
|
+
}
|
|
946
|
+
.vm-layer[data-dock] .vm-menu .vm-card,
|
|
947
|
+
.vm-layer[data-dock] .vm-menu[data-code-mode] .vm-card {
|
|
948
|
+
height: var(--vm-dock-card-h);
|
|
949
|
+
max-height: var(--vm-dock-card-h);
|
|
950
|
+
}
|
|
951
|
+
/* The bar ends before the switch: Share's run under the pill's left curve
|
|
952
|
+
(#7329) gives way to a rounded end one gap short of the glass, so no tab's
|
|
953
|
+
colour runs under the switch. Tabs keep their boxes; Share's grows into the
|
|
954
|
+
room the run's reserve held. */
|
|
955
|
+
.vm-layer[data-dock] .vm-strip {
|
|
956
|
+
--vm-dock-gap: 6px;
|
|
957
|
+
--vm-strip-w: calc(100cqw - 2 * var(--vm-edge) - var(--vm-glass-w) - var(--vm-dock-gap));
|
|
958
|
+
--vm-slide-max: var(--vm-strip-w);
|
|
959
|
+
right: calc(var(--vm-glass-w) - var(--vm-ring) + var(--vm-dock-gap));
|
|
960
|
+
}
|
|
961
|
+
.vm-layer[data-dock] .vm-strip-slide {
|
|
962
|
+
border-right: 2px solid var(--line);
|
|
963
|
+
border-radius: var(--bar-tl, calc(var(--vm-bar-h) / 2)) calc(var(--vm-bar-h) / 2) calc(var(--vm-bar-h) / 2) calc(var(--vm-bar-h) / 2);
|
|
964
|
+
}
|
|
965
|
+
.vm-layer[data-dock] .vm-strip-inner {
|
|
966
|
+
padding-right: 0;
|
|
967
|
+
}
|
|
968
|
+
.vm-layer[data-dock] .vm-tab-run {
|
|
969
|
+
display: none;
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
`;
|
|
973
|
+
}
|
|
@@ -479,11 +479,13 @@ export function useMenuSequencer(input) {
|
|
|
479
479
|
return;
|
|
480
480
|
const observer = new ResizeObserver(() => driver.resnap());
|
|
481
481
|
observer.observe(body);
|
|
482
|
+
const card = refs.card.current;
|
|
483
|
+
if (card !== null)
|
|
484
|
+
observer.observe(card);
|
|
482
485
|
function onResize() {
|
|
483
486
|
driver.resnap();
|
|
484
487
|
}
|
|
485
488
|
window.addEventListener("resize", onResize);
|
|
486
|
-
const card = refs.card.current;
|
|
487
489
|
card?.addEventListener(MENU_RESNAP_EVENT, onResize);
|
|
488
490
|
return () => {
|
|
489
491
|
observer.disconnect();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { Result } from "@adviser/cement";
|
|
3
|
-
import type { Banner, MenuEvent, MenuState, MenuView } from "./menu-state.js";
|
|
3
|
+
import type { Banner, MenuEvent, MenuState, MenuView, Section } from "./menu-state.js";
|
|
4
4
|
import type { MomentItem } from "./moments.js";
|
|
5
5
|
import type { ViewerRole } from "./open-resolver.js";
|
|
6
6
|
import type { CodeTab } from "./code-tabs.js";
|
|
@@ -413,6 +413,9 @@ export interface VibeMenuProps {
|
|
|
413
413
|
twinkling: boolean;
|
|
414
414
|
};
|
|
415
415
|
frameCap?: boolean;
|
|
416
|
+
dock?: boolean;
|
|
417
|
+
pillOpensSection?: Section;
|
|
418
|
+
onPillOpen?: () => void;
|
|
416
419
|
frame?: "viewport" | "contained";
|
|
417
420
|
reducedMotion?: boolean;
|
|
418
421
|
homeTabRow?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
export declare const VIBE_MENU_LIGHT_VARS = "\n color-scheme: light;\n --section-home: oklch(76.02% 0.1832 146.61);\n --section-account: oklch(57.46% 0.2126 29.55);\n --section-code: oklch(89.78% 0.1857 98.22);\n --section-share: oklch(64.39% 0.1304 231.41);\n --vibes-black: #000000;\n --vibes-cream: #fffff0;\n --menu-ink: #1a1a1a;\n --card-bg: var(--vibes-cream);\n --ink: #111111;\n --muted: #555555;\n --line: #111111;\n --line-card: #111111;\n --line-hairline: #1111112e;\n --placeholder: var(--muted);\n --suggest-border: #11111173;\n --share-tint: #009ace1f;\n --share-tint-strong: #009ace40;\n --on-home: var(--menu-ink);\n --on-account: var(--vibes-cream);\n --on-code: var(--menu-ink);\n --on-share: var(--menu-ink);\n --badge: var(--section-account);\n --on-badge: var(--vibes-cream);\n --cancel-cap: #f3d6d2;\n --on-cancel-cap: #9c2318;\n --obsidian-fill: rgba(6, 9, 10, 0.94);\n --obsidian-edge: rgba(255, 255, 255, 0.17);\n --obsidian-highlight: rgba(255, 255, 255, 0.32);\n --obsidian-rim: rgba(255, 255, 255, 0.1);\n --font-display: \"Alte Haas Grotesk\", Inter, sans-serif;\n --font-tab: Inter, system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif;\n --space-9: 9px;\n --space-2: 2px;\n --space-4: 4px;\n --space-6: 6px;\n --space-8: 8px;\n --space-10: 10px;\n --space-12: 12px;\n --space-14: 14px;\n --space-16: 16px;\n --space-18: 18px;\n --space-24: 24px;\n --radius-card: 16px;\n --radius-full: 999px;\n --radius-bar-end: 25px;\n --radius-access-line: 24px;\n --radius-input: 22px;\n --radius-done: 21px;\n --radius-copy: 18px;\n --radius-chip: 14px;\n --radius-moment: 12px;\n --radius-switch: 10px;\n --radius-meter: 7px;\n --obsidian-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 0 12px rgba(255, 255, 255, 0.02);\n --swatch-selected: 0 0 0 2px #fffff0, 0 0 0 4px #111111;\n --stroke-rule: 2px;\n --stroke-hairline: 1px;\n --stroke-mini: 1.5px;\n --stroke-focus: 3px;\n --stroke-glyph: 2.4px;\n --size-icon-circle: 28px;\n --size-icon-circle-phone: 22px;\n --size-glyph: 14px;\n --size-glyph-cta: 20px;\n --size-bar: 50px;\n --size-tab: 176px;\n --size-home-extra: 14px;\n --size-bar-end: 63px;\n --size-pill-w: 120px;\n --size-pill-h: 44px;\n --size-ring: 3px;\n --size-edge: 24px;\n --size-edge-phone: 16px;\n --size-pill-flat-inset: 19px;\n --size-band: 8px;\n --size-row: 46px;\n --size-row-compact: 42px;\n --size-chip: 28px;\n --size-copy: 36px;\n --size-input: 44px;\n --size-composer: 48px;\n --size-access-line: 48px;\n --size-segment: 32px;\n --size-segment-mini: 24px;\n --size-switch-w: 36px;\n --size-meter: 14px;\n --size-card-max: 480px;\n --size-card-max-phone: 560px;\n --size-log-max: 160px;\n --size-log-peek: 120px;\n --size-code-mode-max-w: 1200px;\n --opacity-tab-inactive: 0.73;\n --opacity-row-disabled: 0.35;\n --provider-disc: #ffffff;\n --provider-ink: #111111;";
|
|
3
3
|
export declare const VIBE_MENU_DARK_VARS = "\n color-scheme: dark;\n --card-bg: #1a1a1a;\n --ink: #e0e0e0;\n --muted: #a3a3a3;\n --line-card: #e0e0e0;\n --line-hairline: #e0e0e02e;\n --suggest-border: #e0e0e073;\n --cancel-cap: #4a2420;\n --on-cancel-cap: #f1b5ad;\n --swatch-selected: 0 0 0 2px #1a1a1a, 0 0 0 4px #e0e0e0;";
|
|
4
|
-
export declare const VIBE_MENU_CSS = "\n/* ---------- tokens (tokens.json), light, then both dark arms ----------\n Detached layers (portalled out of the menu root) carry\n data-vibe-menu-detached, so every token block lists them too. */\n[data-vibe-menu],\n[data-vibe-menu-detached] {\n color-scheme: light;\n --section-home: oklch(76.02% 0.1832 146.61);\n --section-account: oklch(57.46% 0.2126 29.55);\n --section-code: oklch(89.78% 0.1857 98.22);\n --section-share: oklch(64.39% 0.1304 231.41);\n --vibes-black: #000000;\n --vibes-cream: #fffff0;\n --menu-ink: #1a1a1a;\n --card-bg: var(--vibes-cream);\n --ink: #111111;\n --muted: #555555;\n --line: #111111;\n --line-card: #111111;\n --line-hairline: #1111112e;\n --placeholder: var(--muted);\n --suggest-border: #11111173;\n --share-tint: #009ace1f;\n --share-tint-strong: #009ace40;\n --on-home: var(--menu-ink);\n --on-account: var(--vibes-cream);\n --on-code: var(--menu-ink);\n --on-share: var(--menu-ink);\n --badge: var(--section-account);\n --on-badge: var(--vibes-cream);\n --cancel-cap: #f3d6d2;\n --on-cancel-cap: #9c2318;\n --obsidian-fill: rgba(6, 9, 10, 0.94);\n --obsidian-edge: rgba(255, 255, 255, 0.17);\n --obsidian-highlight: rgba(255, 255, 255, 0.32);\n --obsidian-rim: rgba(255, 255, 255, 0.1);\n --font-display: \"Alte Haas Grotesk\", Inter, sans-serif;\n --font-tab: Inter, system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif;\n --space-9: 9px;\n --space-2: 2px;\n --space-4: 4px;\n --space-6: 6px;\n --space-8: 8px;\n --space-10: 10px;\n --space-12: 12px;\n --space-14: 14px;\n --space-16: 16px;\n --space-18: 18px;\n --space-24: 24px;\n --radius-card: 16px;\n --radius-full: 999px;\n --radius-bar-end: 25px;\n --radius-access-line: 24px;\n --radius-input: 22px;\n --radius-done: 21px;\n --radius-copy: 18px;\n --radius-chip: 14px;\n --radius-moment: 12px;\n --radius-switch: 10px;\n --radius-meter: 7px;\n --obsidian-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 0 12px rgba(255, 255, 255, 0.02);\n --swatch-selected: 0 0 0 2px #fffff0, 0 0 0 4px #111111;\n --stroke-rule: 2px;\n --stroke-hairline: 1px;\n --stroke-mini: 1.5px;\n --stroke-focus: 3px;\n --stroke-glyph: 2.4px;\n --size-icon-circle: 28px;\n --size-icon-circle-phone: 22px;\n --size-glyph: 14px;\n --size-glyph-cta: 20px;\n --size-bar: 50px;\n --size-tab: 176px;\n --size-home-extra: 14px;\n --size-bar-end: 63px;\n --size-pill-w: 120px;\n --size-pill-h: 44px;\n --size-ring: 3px;\n --size-edge: 24px;\n --size-edge-phone: 16px;\n --size-pill-flat-inset: 19px;\n --size-band: 8px;\n --size-row: 46px;\n --size-row-compact: 42px;\n --size-chip: 28px;\n --size-copy: 36px;\n --size-input: 44px;\n --size-composer: 48px;\n --size-access-line: 48px;\n --size-segment: 32px;\n --size-segment-mini: 24px;\n --size-switch-w: 36px;\n --size-meter: 14px;\n --size-card-max: 480px;\n --size-card-max-phone: 560px;\n --size-log-max: 160px;\n --size-log-peek: 120px;\n --size-code-mode-max-w: 1200px;\n --opacity-tab-inactive: 0.73;\n --opacity-row-disabled: 0.35;\n --provider-disc: #ffffff;\n --provider-ink: #111111;\n}\n@media (prefers-color-scheme: dark) {\n [data-vibe-menu],\n [data-vibe-menu-detached] {\n color-scheme: dark;\n --card-bg: #1a1a1a;\n --ink: #e0e0e0;\n --muted: #a3a3a3;\n --line-card: #e0e0e0;\n --line-hairline: #e0e0e02e;\n --suggest-border: #e0e0e073;\n --cancel-cap: #4a2420;\n --on-cancel-cap: #f1b5ad;\n --swatch-selected: 0 0 0 2px #1a1a1a, 0 0 0 4px #e0e0e0;\n }\n}\n.dark [data-vibe-menu],\n.dark [data-vibe-menu-detached] {\n color-scheme: dark;\n --card-bg: #1a1a1a;\n --ink: #e0e0e0;\n --muted: #a3a3a3;\n --line-card: #e0e0e0;\n --line-hairline: #e0e0e02e;\n --suggest-border: #e0e0e073;\n --cancel-cap: #4a2420;\n --on-cancel-cap: #f1b5ad;\n --swatch-selected: 0 0 0 2px #1a1a1a, 0 0 0 4px #e0e0e0;\n}\n\n/* ---------- the root: the phone container ---------- */\n[data-vibe-menu] {\n container-name: vibe-menu;\n container-type: inline-size;\n color: var(--ink);\n font-family: var(--font-display);\n}\n\n/* Scrollbars (smoke F15): thin, in the menu's hairline, both themes, never the\n native dark bar inside the cream card. The colour is set on the root AND\n every descendant, for every scroller the menu hosts (drills, the Embed box,\n injected panels): the app's global sheet sets scrollbar-color on *, which\n beats a colour only inherited from the root. The width rule has zero\n specificity so a part that hides its bar (the Code mode tab strip) still\n wins. The webkit arm is for engines without the standard properties; Chrome\n ignores it once they are set. */\n[data-vibe-menu],\n[data-vibe-menu] *,\n[data-vibe-menu-detached],\n[data-vibe-menu-detached] * {\n scrollbar-color: var(--line-hairline) transparent;\n}\n:where([data-vibe-menu]),\n:where([data-vibe-menu]) :where(*) {\n scrollbar-width: thin;\n}\n:where([data-vibe-menu]) ::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background: transparent;\n}\n:where([data-vibe-menu]) ::-webkit-scrollbar-thumb {\n border-radius: var(--radius-full);\n background: var(--line-hairline);\n}\n\n/* A section is set by data-section on any ancestor (or the root), using the\n code keys: home | settings (Account) | vibe (Code) | share. It sets --accent\n (the section colour) and --on-accent (its label colour). */\n[data-vibe-menu][data-section=\"home\"],\n[data-vibe-menu] [data-section=\"home\"] {\n --accent: var(--section-home);\n --on-accent: var(--on-home);\n}\n[data-vibe-menu][data-section=\"settings\"],\n[data-vibe-menu] [data-section=\"settings\"] {\n --accent: var(--section-account);\n --on-accent: var(--on-account);\n}\n[data-vibe-menu][data-section=\"vibe\"],\n[data-vibe-menu] [data-section=\"vibe\"] {\n --accent: var(--section-code);\n --on-accent: var(--on-code);\n}\n[data-vibe-menu][data-section=\"share\"],\n[data-vibe-menu] [data-section=\"share\"] {\n --accent: var(--section-share);\n --on-accent: var(--on-share);\n}\n\n[data-vibe-menu],\n[data-vibe-menu] * {\n box-sizing: border-box;\n}\n/* the card's surface and side padding, so rows can bleed edge to edge */\n[data-vibe-menu] .vm-card-body {\n position: relative;\n padding: var(--space-14) var(--space-16) var(--space-16);\n background: var(--card-bg);\n color: var(--ink);\n font: 400 14px/20px var(--font-display);\n}\n[data-vibe-menu] .vm-card-body.is-framed {\n border: var(--stroke-rule) solid var(--line);\n border-radius: var(--radius-card) var(--radius-card) 0 0;\n overflow: hidden;\n}\n\n/* ---------- shared ---------- */\n/* Zero specificity: every vm-* rule wins over it, and so does any utility\n class on content a host injects into the card (slots). */\n:where([data-vibe-menu]) :where(button) {\n font: inherit;\n color: inherit;\n background: none;\n border: 0;\n padding: 0;\n cursor: pointer;\n text-align: left;\n touch-action: manipulation;\n}\n[data-vibe-menu] .vm-glyph {\n width: var(--size-glyph);\n height: var(--size-glyph);\n fill: none;\n stroke: currentColor;\n stroke-width: var(--stroke-glyph);\n stroke-linecap: round;\n stroke-linejoin: round;\n flex: none;\n}\n[data-vibe-menu] .vm-label,\n[data-vibe-menu] .vm-seg button,\n[data-vibe-menu] .vm-chip {\n font: 700 14px/1 var(--font-tab);\n letter-spacing: 0.08em;\n text-transform: uppercase;\n}\n[data-vibe-menu] .vm-label.is-plain {\n font: 700 16px/1.1 var(--font-display);\n letter-spacing: 0;\n text-transform: none;\n}\n[data-vibe-menu] .vm-kicker,\n[data-vibe-menu] .vm-subhead {\n margin: 0 0 var(--space-8);\n font: 700 10.5px/1.3 var(--font-tab);\n letter-spacing: 0.14em;\n text-transform: uppercase;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-subhead {\n margin: var(--space-16) 0 0;\n padding-bottom: var(--space-8);\n}\n[data-vibe-menu] .vm-sub {\n margin: var(--space-8) 0 var(--space-14);\n font-size: 13px;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-app-name {\n white-space: nowrap;\n}\n/* ---------- SectionStrip: the bar ---------- */\n[data-vibe-menu] .vm-menu {\n position: relative;\n}\n[data-vibe-menu] .vm-strip {\n position: relative;\n width: calc(var(--size-tab) * 4 + var(--size-home-extra) + var(--size-bar-end) + 2px);\n height: var(--size-bar);\n}\n[data-vibe-menu] .vm-strip-slide {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: flex-end;\n border: var(--stroke-rule) solid var(--line);\n border-right: 0;\n border-radius: var(--bar-tl, var(--radius-bar-end)) 0 0 var(--radius-bar-end);\n overflow: hidden;\n background: var(--card-bg);\n /* #7329: the bar under the switch belongs to no tab's box. */\n padding-right: var(--size-bar-end);\n}\n[data-vibe-menu] .vm-tab {\n position: relative;\n width: var(--size-tab);\n flex: none;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border: 0;\n padding: 0 0 0 var(--space-9);\n cursor: pointer;\n background: var(--accent);\n}\n[data-vibe-menu] .vm-tab-circle {\n width: var(--size-icon-circle);\n height: var(--size-icon-circle);\n border-radius: 50%;\n background: var(--menu-ink);\n display: flex;\n align-items: center;\n justify-content: center;\n flex: none;\n}\n[data-vibe-menu] .vm-tab svg {\n width: calc(var(--size-icon-circle) / 2);\n height: calc(var(--size-icon-circle) / 2);\n fill: none;\n stroke: var(--vibes-cream);\n stroke-width: 2.5;\n stroke-linecap: round;\n stroke-linejoin: round;\n flex: none;\n}\n[data-vibe-menu] .vm-tab-label {\n position: absolute;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 0 0 1.9px;\n font-family: var(--font-tab);\n font-size: 14px;\n font-weight: 700;\n letter-spacing: 1.9px;\n text-transform: uppercase;\n white-space: nowrap;\n pointer-events: none;\n color: var(--on-accent);\n}\n[data-vibe-menu] .vm-tab[data-section=\"home\"] {\n width: calc(var(--size-tab) + var(--size-home-extra));\n padding-left: calc(var(--space-9) + var(--size-home-extra) / 2);\n}\n[data-vibe-menu] .vm-tab[data-section=\"home\"] .vm-tab-label {\n left: calc(var(--size-home-extra) / 2);\n}\n/* #7329: Share's box ends where the switch begins; its colour runs on under\n the pill as a child painted beyond the box. */\n[data-vibe-menu] .vm-tab-run {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 100%;\n width: var(--size-bar-end);\n background: inherit;\n}\n[data-vibe-menu] .vm-tab:focus-visible {\n outline: var(--stroke-focus) solid var(--line);\n outline-offset: -3px;\n}\n/* Port change (smoke F5): the DS inset line ring vanished on the black pill\n and drew square corners. The pill's ring is cream, sits in the obsidian\n glass's 3px rim (offset 0), and follows the stadium (the pill's radius). */\n[data-vibe-menu] .vm-pill:focus-visible {\n outline: var(--stroke-focus) solid var(--vibes-cream);\n outline-offset: 0;\n}\n[data-vibe-menu] .vm-menu.has-card .vm-tab:not(.is-active) {\n opacity: var(--opacity-tab-inactive);\n}\n[data-vibe-menu] .vm-badge {\n position: absolute;\n top: -4px;\n right: 6px;\n min-width: 18px;\n height: 18px;\n padding: 0 5px;\n border-radius: var(--radius-full);\n background: var(--badge);\n color: var(--on-badge);\n font: 700 11px/18px var(--font-display);\n text-align: center;\n}\n/* the bar sits against the pill: it runs half the glass under it */\n[data-vibe-menu] .vm-bar-anchor {\n position: relative;\n height: var(--size-bar);\n}\n[data-vibe-menu] .vm-bar-anchor .vm-strip {\n position: absolute;\n left: 0;\n bottom: 0;\n}\n[data-vibe-menu] .vm-bar-anchor .vm-glass {\n position: absolute;\n right: 0;\n bottom: 0;\n}\n/* phones: the bar spans the width; tabs sized to their content, icon above label */\n[data-vibe-menu] .vm-strip.is-phone {\n width: 100%;\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab {\n width: auto;\n flex: 1 1 auto;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--space-2);\n min-width: 0;\n padding: 4px 2px;\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab-circle {\n width: var(--size-icon-circle-phone);\n height: var(--size-icon-circle-phone);\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab svg {\n width: 12px;\n height: 12px;\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab[data-section=\"home\"] {\n padding: 4px 2px 4px calc(2px + var(--size-home-extra) * 0.7);\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab[data-section=\"share\"] {\n flex-grow: 1;\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab-label {\n position: static;\n display: block;\n font-size: 9.6px;\n letter-spacing: 1px;\n padding: 0 0 0 1px;\n}\n\n/* ---------- VibesSwitch: the pill in its obsidian glass ---------- */\n[data-vibe-menu] .vm-glass {\n position: relative;\n width: calc(var(--size-pill-w) + 2 * var(--size-ring));\n height: calc(var(--size-pill-h) + 2 * var(--size-ring));\n border-radius: var(--radius-full);\n flex: none;\n background:\n linear-gradient(to right, transparent, var(--obsidian-highlight), transparent) top / 100% 1px no-repeat,\n linear-gradient(to bottom, var(--obsidian-highlight), transparent, var(--obsidian-edge)) left / 1px 100% no-repeat,\n var(--obsidian-fill);\n box-shadow: var(--obsidian-shadow);\n}\n[data-vibe-menu] .vm-pill {\n position: absolute;\n left: var(--size-ring);\n top: var(--size-ring);\n width: var(--size-pill-w);\n height: var(--size-pill-h);\n padding: 0;\n border: 0;\n border-radius: var(--radius-full);\n background: none;\n cursor: pointer;\n}\n/* Touching, holding or dragging on the switch never selects text, raises the\n iOS callout and magnifier, or drags an image (owner 2026-10-16). The letters\n are paths drawn twice, the second copy clipped to the knob: both sit under\n .vm-pill, so the descendant rule covers them. */\n[data-vibe-menu] .vm-glass,\n[data-vibe-menu] .vm-pill,\n[data-vibe-menu] .vm-pill * {\n -webkit-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n}\n/* A held press slides the knob 3/4 of the way and waits (owner 2026-10-16).\n An overshooting spring would carry it past 3/4, so the held leg eases out\n with no overshoot; the release finishes on the host's own curve. */\n[data-vibe-menu] .vm-pill[data-progress=\"0.75\"] {\n --vibes-switch-slide: 0.4s cubic-bezier(0.22, 1, 0.36, 1);\n}\n/* Reduced motion: the switch jumps between poses. Its paths carry inline\n transitions (the knob's d and 3px nudge, the letters' fills and on-knob clip), so\n only an !important rule here stops every leg, not just the d slide. */\n@media (prefers-reduced-motion: reduce) {\n [data-vibe-menu] .vm-pill {\n --vibes-switch-slide: 0s;\n }\n [data-vibe-menu] .vm-pill svg path {\n transition: none !important;\n }\n}\n[data-vibe-menu] .vm-switch-art {\n width: 100%;\n height: 100%;\n display: block;\n}\n[data-vibe-menu] .vm-pill .vm-badge {\n top: -6px;\n right: 4px;\n}\n/* #7079: the guest maker's save-time ask: a dot, not a count. */\n[data-vibe-menu] .vm-badge.is-dot {\n min-width: 10px;\n width: 10px;\n height: 10px;\n padding: 0;\n}\n[data-vibe-menu] .vm-chiclet {\n display: inline-block;\n padding: 2px 8px;\n border-radius: var(--radius-full);\n background: var(--section-code);\n /* Port change: bundle.css writes #111111 (ink); text on a section colour is\n menu-ink (Global Constraints), which --on-code resolves to in both themes. */\n color: var(--on-code);\n font: 700 11px/18px var(--font-display);\n letter-spacing: 0.06em;\n}\n/* #4291. The chiclet's shape, so the two read as one row \u2014 but in the badge\n colour (the identity lane) so elevation never looks like a publish state. */\n[data-vibe-menu] .vm-admin-badge {\n display: inline-block;\n padding: 2px 8px;\n border-radius: var(--radius-full);\n background: var(--badge);\n color: var(--on-badge);\n font: 700 11px/18px var(--font-display);\n letter-spacing: 0.06em;\n}\n\n/* ---------- MenuCard: the card, its band and the folder-tab join, drawn once ---------- */\n[data-vibe-menu] .vm-frame {\n position: relative;\n}\n[data-vibe-menu] .vm-frame .vm-card {\n position: absolute;\n left: 0;\n top: 0;\n background: var(--card-bg);\n color: var(--ink);\n overflow: hidden;\n border-radius: var(--radius-card) var(--radius-card) 0 0;\n}\n[data-vibe-menu] .vm-frame .vm-card .vm-card-body {\n padding-bottom: calc(var(--space-16) + var(--size-band));\n}\n[data-vibe-menu] .vm-outline {\n position: absolute;\n left: 0;\n top: 0;\n overflow: visible;\n pointer-events: none;\n}\n[data-vibe-menu] .vm-outline .vm-band,\n[data-vibe-menu] .vm-outline .vm-cover {\n fill: var(--accent);\n}\n[data-vibe-menu] .vm-outline .vm-edge {\n fill: none;\n stroke: var(--line);\n stroke-width: 2;\n stroke-linejoin: miter;\n}\n\n/* ---------- ActionPill: the card's one main action ---------- */\n[data-vibe-menu] .vm-ask {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--space-12);\n width: 100%;\n padding: var(--space-14) var(--space-18);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-full);\n background: var(--accent);\n color: var(--on-accent);\n font: 700 21px/1 var(--font-display);\n letter-spacing: -0.02em;\n cursor: pointer;\n}\n[data-vibe-menu] .vm-ask.is-solo {\n margin-bottom: var(--space-14);\n}\n[data-vibe-menu] .vm-ask .vm-glyph {\n width: var(--size-glyph-cta);\n height: var(--size-glyph-cta);\n transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);\n}\n[data-vibe-menu] .vm-ask:hover .vm-glyph {\n transform: translateX(4px);\n}\n[data-vibe-menu] .vm-ask.is-phone {\n font-size: 18px;\n}\n[data-vibe-menu] .vm-sub:has(.vm-copy) {\n display: flex;\n align-items: center;\n gap: var(--space-8);\n}\n[data-vibe-menu] .vm-sub:has(.vm-copy) > span {\n flex: 1;\n}\n\n/* ---------- Chip ---------- */\n[data-vibe-menu] .vm-chip {\n height: var(--size-chip);\n padding: 0 var(--space-12);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-chip);\n background: var(--accent);\n color: var(--on-accent);\n font-size: 11px;\n flex: none;\n cursor: pointer;\n}\n[data-vibe-menu] .vm-chip.is-ghost {\n background: transparent;\n color: var(--ink);\n}\n[data-vibe-menu] .vm-chip.is-name {\n font: 700 14px/1 var(--font-display);\n letter-spacing: 0;\n text-transform: none;\n}\n[data-vibe-menu] .vm-chip.vm-copy {\n height: var(--size-copy);\n padding: 0 var(--space-14);\n border-radius: var(--radius-copy);\n flex-shrink: 0;\n align-self: center;\n white-space: nowrap;\n}\n[data-vibe-menu] .vm-suggestions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--space-6);\n}\n/* Port change (smoke F9): codegen writes long chips, so a chip wraps inside\n the card (DS \"text that can outgrow its track wraps\") instead of running\n past its edge; a one-line chip keeps the 28px chip height. */\n[data-vibe-menu] .vm-suggest {\n min-height: var(--size-chip);\n max-width: 100%;\n min-width: 0;\n padding: var(--space-2) var(--space-12);\n text-align: left;\n overflow-wrap: anywhere;\n border: var(--stroke-mini) solid var(--suggest-border);\n border-radius: var(--radius-chip);\n background: none;\n color: var(--ink);\n font: 400 13px/20px var(--font-display);\n cursor: pointer;\n}\n[data-vibe-menu] .vm-suggest:hover,\n[data-vibe-menu] .vm-suggest.is-hover,\n[data-vibe-menu] .vm-suggest[aria-busy=\"true\"] {\n border-color: var(--line-card);\n background: color-mix(in srgb, var(--accent) 35%, transparent);\n}\n/* A pressed chip holds the row while its answer is on the way (a lookup, a\n fork): it stays lit, and the row takes no second press. */\n[data-vibe-menu] .vm-suggest:disabled {\n cursor: default;\n}\n[data-vibe-menu] .vm-suggest:disabled:not([aria-busy=\"true\"]) {\n opacity: 0.5;\n}\n/* The pressed one is disabled too (the row takes no second press), so it\n must outrank the app's global button:disabled dim (theme/global-styles.ts). */\n[data-vibe-menu] .vm-suggest[aria-busy=\"true\"] {\n opacity: 1;\n}\n/* The same hold on the inline links at the end of the chat: the pressed link\n keeps its lit underline, the others read as disabled (dimmed above). */\n[data-vibe-menu] .vm-suggestions.is-inline .vm-suggest[aria-busy=\"true\"] {\n text-decoration-color: currentColor;\n}\n/* The gold option (#6768): the one capability the agent offered, a chip in the\n same row and the same order as the others. It wears the lit state the others\n take on hover, a full-ink outline and a filled star before the label, so it\n reads as the offer without a second colour on the card. */\n[data-vibe-menu] .vm-suggest.is-gold {\n display: inline-flex;\n align-items: center;\n gap: var(--space-6);\n border-color: var(--line-card);\n background: color-mix(in srgb, var(--accent) 35%, transparent);\n}\n[data-vibe-menu] .vm-suggest.is-gold .vm-glyph {\n flex: none;\n fill: currentColor;\n}\n[data-vibe-menu] .vm-picks {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-6);\n}\n\n/* ---------- Composer: the logo pill's shape, 48px tall (owner pick B, 2026-10-26:\n near the switch's 44px curve with a full 44px cap) ---------- */\n[data-vibe-menu] .vm-composer {\n display: flex;\n align-items: stretch;\n min-height: var(--size-composer);\n margin-bottom: var(--space-16);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-full);\n overflow: hidden;\n background: var(--card-bg);\n}\n[data-vibe-menu] .vm-composer:focus-within,\n[data-vibe-menu] .vm-composer.is-focus {\n box-shadow: 0 0 0 3px var(--accent);\n}\n[data-vibe-menu] .vm-composer textarea {\n flex: 1;\n min-width: 0;\n align-self: center;\n margin: 0 var(--space-12) 0 2px;\n padding: 0;\n resize: none;\n border: 0;\n outline: 0;\n background: transparent;\n color: var(--ink);\n font: 700 16px/1.2 var(--font-display);\n letter-spacing: -0.02em;\n field-sizing: content;\n max-height: 2.4em;\n}\n[data-vibe-menu] .vm-composer textarea::placeholder {\n color: var(--placeholder);\n}\n[data-vibe-menu] .vm-composer .vm-attach {\n order: -1;\n width: var(--size-copy);\n height: var(--size-copy);\n margin-left: var(--space-10);\n align-self: center;\n border-radius: 50%;\n display: grid;\n place-items: center;\n flex: none;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-composer .vm-attach:hover {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-composer .vm-glyph {\n width: 16px;\n height: 16px;\n}\n/* The record button (2026-11-26): a mic beside the cap; listening, the field\n gives way to a live line between a cross and a check. */\n[data-vibe-menu] .vm-composer .vm-mic {\n flex: none;\n align-self: center;\n width: var(--size-copy);\n height: var(--size-copy);\n margin-right: var(--space-8);\n border-radius: 50%;\n display: grid;\n place-items: center;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-composer .vm-mic:hover {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-composer .vm-mic[data-transcribing] {\n color: var(--ink);\n cursor: progress;\n}\n[data-vibe-menu] .vm-composer.is-dictating textarea,\n[data-vibe-menu] .vm-composer.is-dictating .vm-attach,\n[data-vibe-menu] .vm-composer.is-dictating .vm-cap {\n display: none !important;\n}\n[data-vibe-menu] .vm-composer .vm-dictate {\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: var(--space-8);\n padding-left: var(--space-6);\n color: var(--ink);\n}\n[data-vibe-menu] .vm-composer .vm-dictate-cancel {\n flex: none;\n width: var(--size-copy);\n height: var(--size-copy);\n border-radius: 50%;\n display: grid;\n place-items: center;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-composer .vm-dictate-cancel:hover {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-composer .vm-dictate-done {\n flex: none;\n align-self: stretch;\n display: grid;\n place-items: center;\n padding: 0 var(--space-24) 0 20px;\n border-left: var(--stroke-rule) solid var(--line-card);\n background: var(--section-code);\n color: var(--on-code);\n cursor: pointer;\n}\n[data-vibe-menu] .vm-composer .vm-dictate-done:hover {\n background: color-mix(in oklch, var(--section-code), var(--menu-ink) 10%);\n}\n[data-vibe-menu] .vm-cap {\n flex: none;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 var(--space-24) 0 20px;\n border-left: var(--stroke-rule) solid var(--line-card);\n background: var(--section-code);\n color: var(--on-code);\n font: 700 13px/1 var(--font-tab);\n letter-spacing: 0.08em;\n text-transform: uppercase;\n white-space: nowrap;\n cursor: pointer;\n}\n[data-vibe-menu] .vm-cap:hover {\n background: color-mix(in oklch, var(--section-code), var(--menu-ink) 10%);\n}\n[data-vibe-menu] .vm-composer.is-building .vm-cap[data-send],\n[data-vibe-menu] .vm-composer.is-building .vm-cap[data-next],\n[data-vibe-menu] .vm-composer.is-building:has(textarea:not(:placeholder-shown)) .vm-cap[data-stop] {\n display: none;\n}\n[data-vibe-menu] .vm-composer.is-building:has(textarea:not(:placeholder-shown)) .vm-cap[data-send],\n[data-vibe-menu] .vm-composer.is-building:has(textarea:not(:placeholder-shown)) .vm-cap[data-next] {\n display: flex;\n}\n/* traction#688: the held Send reads its next step (\"Get Plus \u00B7 $5/mo\", a\n guest's sign-up). Sentence case, and it may wrap to two lines rather than\n squeeze the field on a phone. */\n[data-vibe-menu] .vm-cap[data-next] {\n max-width: 48%;\n padding: var(--space-8) var(--space-16);\n text-transform: none;\n letter-spacing: 0.01em;\n white-space: normal;\n text-align: center;\n line-height: 1.2;\n}\n/* Rewrite mode (the settings tab's sharing rewrite): no attach button, so the\n field takes the attach's inset; a dim red X cap sits left of the action cap. */\n[data-vibe-menu] .vm-composer.is-rewrite {\n position: relative;\n}\n[data-vibe-menu] .vm-composer.is-rewrite textarea {\n margin-left: var(--space-24);\n}\n[data-vibe-menu] .vm-cap[data-cancel] {\n padding: 0 var(--space-16);\n background: var(--cancel-cap);\n color: var(--on-cancel-cap);\n}\n[data-vibe-menu] .vm-cap[data-cancel]:hover {\n background: color-mix(in oklch, var(--cancel-cap), var(--on-cancel-cap) 12%);\n}\n[data-vibe-menu] .vm-rewrite-shimmer {\n position: absolute;\n left: var(--space-24);\n top: 50%;\n width: 28%;\n height: var(--space-12);\n margin-top: calc(var(--space-12) / -2);\n border-radius: var(--radius-full);\n background: var(--placeholder);\n opacity: 0.3;\n pointer-events: none;\n animation: vm-rewrite-shimmer 1.4s ease-in-out infinite;\n}\n@keyframes vm-rewrite-shimmer {\n 50% {\n opacity: 0.12;\n }\n}\n@media (prefers-reduced-motion: reduce) {\n [data-vibe-menu] .vm-rewrite-shimmer {\n animation: none;\n }\n}\n[data-vibe-menu] .vm-queue-note {\n display: none;\n margin: -10px 0 12px 18px;\n font-size: 12px;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-composer:has(textarea:not(:placeholder-shown)) + .vm-queue-note {\n display: block;\n}\n/* The dictation line (#11269) answers a mic press, which works in an empty box\n too (\"Allow the microphone\u2026\", \"Writing down what you said\u2026\"), so it shows\n whatever the box holds. */\n[data-vibe-menu] .vm-queue-note[data-dictation-note] {\n display: block;\n}\n/* The change box's hint (#7803 #7878): one quiet line under the box while the\n person types, in the queue note's muted voice, whose button is the second door. */\n[data-vibe-menu] .vm-door-line {\n margin: -10px 0 12px 18px;\n font-size: 12px;\n line-height: 18px;\n color: var(--muted);\n}\n/* A refused empty Send's idea (#7916): one idea, one row, ellipsized. */\n[data-vibe-menu] .vm-door-line[data-refused-send-idea] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n[data-vibe-menu] .vm-door-line .vm-door {\n all: unset;\n cursor: pointer;\n color: var(--ink);\n text-decoration: underline;\n text-underline-offset: 2px;\n text-decoration-color: var(--muted);\n}\n/* The idea's button is one unbreakable inline box, so on a phone the whole\n button overflowed the line and became its \"\u2026\" (#8646). Bounded to the room\n after \"Try:\", it ellipsizes its own tail and the idea stays readable. */\n[data-vibe-menu] .vm-door-line[data-refused-send-idea] .vm-door {\n display: inline-block;\n max-width: calc(100% - 3em);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n vertical-align: bottom;\n}\n/* #9548: each held Enter remounts the door line, which lights\n once, so a repeated press reads as answered too. */\n[data-vibe-menu] .vm-door-line[data-answer] {\n color: var(--ink);\n animation: vm-door-answer 0.6s ease-out;\n}\n@keyframes vm-door-answer {\n from {\n background: color-mix(in srgb, var(--accent) 30%, transparent);\n }\n}\n@media (prefers-reduced-motion: reduce) {\n [data-vibe-menu] .vm-door-line[data-answer] {\n animation: none;\n }\n}\n[data-vibe-menu] .vm-door-line .vm-door:focus-visible {\n outline: 2px solid var(--ink);\n outline-offset: 2px;\n border-radius: 2px;\n}\n[data-vibe-menu] .vm-composer.is-phone textarea {\n margin-right: var(--space-6);\n font-size: 16px;\n}\n[data-vibe-menu] .vm-composer.is-phone .vm-attach {\n margin-left: 4px;\n width: 28px;\n}\n[data-vibe-menu] .vm-composer.is-phone .vm-cap {\n padding: 0 var(--space-18) 0 var(--space-14);\n}\n\n/* ---------- Row: the bar's tab grammar inside the card ---------- */\n[data-vibe-menu] .vm-group {\n border-top: var(--stroke-rule) solid var(--line-card);\n margin: 0 calc(-1 * var(--space-16));\n}\n[data-vibe-menu] .vm-group.is-flush {\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n}\n[data-vibe-menu] .vm-row {\n display: flex;\n align-items: center;\n gap: var(--space-12);\n width: 100%;\n height: var(--size-row);\n padding: 0 var(--space-16);\n}\n[data-vibe-menu] .vm-row.is-compact {\n height: var(--size-row-compact);\n}\n[data-vibe-menu] .vm-row + .vm-row {\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n}\n[data-vibe-menu] .vm-row .vm-label {\n flex: 1;\n}\n[data-vibe-menu] .vm-row-tag {\n display: inline-block;\n margin-left: var(--space-8);\n padding: 2px 6px;\n border-radius: var(--radius-full);\n background: var(--ink);\n color: var(--card-bg);\n font: 700 10px/1.2 var(--font-tab);\n letter-spacing: 0.08em;\n vertical-align: middle;\n}\n[data-vibe-menu] .vm-dot {\n width: var(--size-icon-circle);\n height: var(--size-icon-circle);\n border-radius: 50%;\n background: var(--ink);\n color: var(--card-bg);\n display: grid;\n place-items: center;\n flex: none;\n}\n[data-vibe-menu] button.vm-row:hover .vm-dot:not(.vm-app),\n[data-vibe-menu] .vm-row.is-hover .vm-dot:not(.vm-app) {\n background: var(--accent);\n color: var(--on-accent);\n}\n[data-vibe-menu] .vm-row.is-quiet .vm-dot {\n background: transparent;\n color: var(--ink);\n box-shadow: inset 0 0 0 2px var(--line-card);\n}\n[data-vibe-menu] .vm-row[aria-disabled=\"true\"] {\n opacity: 0.35;\n cursor: default;\n}\n[data-vibe-menu] .vm-row[aria-disabled=\"true\"] .vm-dot {\n background: var(--ink) !important;\n color: var(--card-bg) !important;\n}\n[data-vibe-menu] .vm-app,\n[data-vibe-menu] .vm-initial {\n font: 700 12px/1 var(--font-tab);\n box-shadow: inset 0 0 0 2px var(--line-card);\n}\n[data-vibe-menu] .vm-app {\n background: var(--app);\n color: var(--menu-ink);\n}\n[data-vibe-menu] .vm-initial {\n background: transparent;\n color: var(--ink);\n}\n[data-vibe-menu] .vm-chev {\n display: grid;\n color: var(--muted);\n transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);\n}\n[data-vibe-menu] .vm-chev.is-open {\n transform: rotate(90deg);\n}\n[data-vibe-menu] .vm-count {\n font: 700 12px/1 var(--font-tab);\n letter-spacing: 0.08em;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-count.is-handle {\n max-width: 45%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n letter-spacing: 0.02em;\n}\n[data-vibe-menu] .vm-switch {\n position: relative;\n width: var(--size-switch-w);\n height: 20px;\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-switch);\n flex: none;\n}\n[data-vibe-menu] .vm-switch::after {\n content: \"\";\n position: absolute;\n top: 2px;\n left: 2px;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--ink);\n}\n[data-vibe-menu] .vm-switch.is-on {\n background: var(--accent);\n}\n[data-vibe-menu] .vm-switch.is-on::after {\n left: 18px;\n}\n\n/* ---------- BackRow and DoneButton: a drill-in's frame ---------- */\n[data-vibe-menu] .vm-back {\n display: flex;\n align-items: center;\n gap: var(--space-12);\n width: calc(100% + 2 * var(--space-16));\n height: var(--size-row-compact);\n margin: 0 calc(-1 * var(--space-16));\n padding: 0 var(--space-16);\n border-top: var(--stroke-rule) solid var(--line-card);\n border-bottom: var(--stroke-hairline) solid var(--line-hairline);\n}\n/* A drill that replaces the whole card body (Share, Account) sits on the card's\n top edge, which the outline already draws: no rule, and it takes the body's\n top padding so no empty band shows above it (cards-hero.css .card-title + .h-back). */\n[data-vibe-menu] .vm-back.is-top {\n margin-top: calc(-1 * var(--space-14));\n border-top: 0;\n}\n[data-vibe-menu] .vm-back .vm-label {\n flex: none;\n}\n[data-vibe-menu] .vm-back-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font: 400 16px/1.1 var(--font-display);\n color: var(--muted);\n}\n[data-vibe-menu] .vm-back:hover .vm-dot,\n[data-vibe-menu] .vm-back.is-hover .vm-dot {\n background: var(--accent);\n color: var(--on-accent);\n}\n[data-vibe-menu] .vm-drill {\n padding-top: var(--space-14);\n}\n[data-vibe-menu] .vm-drill-sec + .vm-drill-sec {\n margin-top: var(--space-14);\n}\n[data-vibe-menu] .vm-drill-line {\n margin: 0 0 var(--space-14);\n font: 700 18px/1.25 var(--font-display);\n letter-spacing: -0.01em;\n}\n[data-vibe-menu] .vm-done {\n display: block;\n width: 100%;\n height: var(--size-row-compact);\n margin-top: var(--space-16);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-done);\n background: var(--accent);\n color: var(--on-accent);\n text-align: center;\n font: 700 14px/1 var(--font-tab);\n letter-spacing: 0.08em;\n text-transform: uppercase;\n cursor: pointer;\n}\n[data-vibe-menu] .vm-textbtn {\n display: block;\n width: 100%;\n height: 40px;\n margin-top: var(--space-4);\n text-align: center;\n font: 700 12px/1 var(--font-tab);\n letter-spacing: 0.1em;\n text-transform: uppercase;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-textbtn:hover {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-faq {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--space-12);\n width: 100%;\n padding: var(--space-12) 0;\n font: 400 16px/1.3 var(--font-display);\n}\n[data-vibe-menu] .vm-faq + .vm-faq {\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n}\n\n/* ---------- MomentLine: the current moment ---------- */\n[data-vibe-menu] .vm-moments {\n display: flex;\n flex-direction: column;\n gap: var(--space-8);\n}\n[data-vibe-menu] .vm-moment {\n margin: 0;\n font: 400 16px/1.3 var(--font-display);\n color: var(--ink);\n}\n[data-vibe-menu] .vm-moment.is-pinned {\n padding: var(--space-10) var(--space-12) var(--space-12) var(--space-14);\n border: var(--stroke-rule) solid var(--line-card);\n border-left: var(--size-band) solid var(--accent);\n border-radius: var(--radius-moment);\n}\n/* A primary pinned item's main action (#7782): the full-width pill, then its quiet second ways. */\n[data-vibe-menu] .vm-moment.is-pinned > .vm-ask + .vm-moment-actions {\n margin-top: var(--space-10);\n}\n[data-vibe-menu] .vm-moment-actions:empty {\n display: none;\n}\n[data-vibe-menu] .vm-moment-text {\n margin: 0 0 var(--space-10);\n text-wrap: pretty;\n}\n/* The credits wall as a next step (#8721): eyebrow, headline, the money pill and\n its statement line, a member's Auto top-up, then the balance as quiet facts. */\n[data-vibe-menu] .vm-moment.is-next-step > .vm-kicker {\n margin: 0 0 var(--space-4);\n}\n[data-vibe-menu] .vm-moment.is-next-step > .vm-pay-note {\n margin: var(--space-8) 0 0;\n font-size: 11px;\n}\n/* #9291: the held Send under the card is the pill, so the statement line follows the words. */\n[data-vibe-menu] .vm-moment.is-next-step[data-pay-in-composer] > .vm-pay-note {\n margin-top: 0;\n}\n[data-vibe-menu] .vm-moment.is-next-step > .vm-next-notice {\n margin: var(--space-8) 0 0;\n}\n[data-vibe-menu] .vm-moment.is-next-step > .vm-moment-actions {\n margin-top: var(--space-10);\n}\n[data-vibe-menu] .vm-moment.is-next-step > .vm-next-facts {\n margin: var(--space-12) 0 0;\n}\n/* A pinned heads-up (#6816): the summary line's muted voice, its action a text link. */\n[data-vibe-menu] .vm-moment.is-quiet {\n padding: 0 var(--space-2);\n font-size: 14px;\n color: var(--muted);\n text-wrap: pretty;\n}\n[data-vibe-menu] button.vm-moment-link {\n margin: 0;\n padding: 0;\n border: 0;\n background: none;\n cursor: pointer;\n}\n[data-vibe-menu] .vm-moment-actions {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-6);\n}\n[data-vibe-menu] .vm-moment-hint {\n font-size: 12px;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-moment.is-progress,\n[data-vibe-menu] .vm-moment.is-summary {\n display: flex;\n align-items: center;\n gap: var(--space-10);\n padding: 0 var(--space-2);\n}\n[data-vibe-menu] .vm-moment.is-summary {\n color: var(--muted);\n}\n[data-vibe-menu] .vm-moment.is-expander {\n width: 100%;\n gap: var(--space-8);\n}\n[data-vibe-menu] .vm-moment.is-expander:hover {\n color: var(--ink);\n}\n/* The live line's link (the first build's real address, #6451 S9c): pointer\n events back on, since the layer takes no hits of its own. */\n[data-vibe-menu] .vm-moment-link {\n display: inline-block;\n margin: 0 var(--space-2);\n font: 400 14px/1.3 var(--font-display);\n color: var(--ink);\n text-decoration: underline;\n text-underline-offset: 3px;\n overflow-wrap: anywhere;\n pointer-events: auto;\n}\n[data-vibe-menu] .vm-live .vm-chev {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-log-clip {\n overflow: hidden;\n}\n/* Port addition (RULINGS R1): the log clip is always rendered (RECONCILE \u00A75c),\n so the base stylesheet owns its shut and open states. The shell's per-frame\n tween (T11) writes an inline height, which overrides these during motion.\n C's VIBE_MENU_SHELL_CSS does not repeat them. */\n[data-vibe-menu] .vm-log-clip[data-open=\"false\"] {\n height: 0;\n overflow: hidden;\n}\n[data-vibe-menu] .vm-log-clip[data-open=\"true\"] {\n height: auto;\n /* Known adjustment (plan header): room for .vm-log's own 160px cap plus its\n 8px margin-top and two hairline borders, so the clip never scrolls on top\n of the log. */\n max-height: calc(var(--size-log-max, 160px) + var(--space-8) + 2 * var(--stroke-hairline));\n overflow: auto;\n /* Smoke F15: the shell's height tween makes the clip overflow for a moment;\n .vm-log scrolls itself, so the clip never shows a bar. */\n scrollbar-width: none;\n}\n[data-vibe-menu] .vm-log-clip[data-open=\"true\"]::-webkit-scrollbar {\n display: none;\n}\n/* The peek (owner 2026-10-16): a send opens the fold about two lines high, the\n person's own words its last visible line, before the composer has cleared.\n The triangle stays folded; the peek is an invite (a tap, a wheel or a swipe in\n it opens the full log, MomentLine). Its column is bottom-aligned so the\n overflow falls off the top, and its inner scrollers cap at the same height\n so their bottom pin shows the newest line. Never part of the open\n [data-history] flex chain below. */\n[data-vibe-menu] .vm-log-clip[data-open=\"peek\"] {\n height: auto;\n max-height: var(--size-log-peek);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n cursor: pointer;\n -webkit-mask-image: linear-gradient(to bottom, transparent, var(--ink) 14px);\n mask-image: linear-gradient(to bottom, transparent, var(--ink) 14px);\n}\n[data-vibe-menu] .vm-log-clip[data-open=\"peek\"] > * {\n flex: none;\n}\n[data-vibe-menu] .vm-log-clip[data-open=\"peek\"] .vm-log,\n[data-vibe-menu] .vm-log-clip[data-open=\"peek\"] .vm-agent-history {\n max-height: var(--size-log-peek);\n overflow-y: hidden;\n}\n[data-vibe-menu] .vm-log-clip[data-open=\"peek\"] .vm-suggestions {\n display: none;\n}\n/* The fold over the full chat (slots.agentLog): the history caps and scrolls\n itself (AgentLogHistory's compact box), so the clip drops the flat log's cap. */\n[data-vibe-menu] .vm-log-clip[data-open=\"true\"][data-history] {\n max-height: none;\n overflow: hidden;\n}\n[data-vibe-menu] .vm-log-history {\n margin-top: var(--space-8);\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n border-bottom: var(--stroke-hairline) solid var(--line-hairline);\n}\n/* One scroller: the tab-row card with the full chat open. The history's own\n cap (AgentLogHistory's compact box) knows nothing of what else the card\n holds, and the first build's request headline can take a third of it: the\n card then overflowed and scrolled too, the composer slid under the row, and\n the chat's end was out of reach. Here the card is a column whose fold gives\n up exactly what the card lacks, so the history scrolls and the card never\n does. Everything else in the card keeps its own height. */\n[data-vibe-menu] .vm-card:has(.vm-ctab .vm-log-clip[data-open=\"true\"][data-history]) {\n display: flex;\n flex-direction: column;\n}\n[data-vibe-menu] .vm-card:has(.vm-ctab .vm-log-clip[data-open=\"true\"][data-history])::before {\n flex: none;\n}\n[data-vibe-menu] .vm-card:has(.vm-ctab .vm-log-clip[data-open=\"true\"][data-history]) .vm-card-body,\n[data-vibe-menu] .vm-ctab:has(.vm-log-clip[data-open=\"true\"][data-history]),\n[data-vibe-menu] .vm-ctab .vm-moments:has(.vm-log-clip[data-open=\"true\"][data-history]),\n[data-vibe-menu] .vm-ctab .vm-live:has(.vm-log-clip[data-open=\"true\"][data-history]),\n[data-vibe-menu] .vm-ctab .vm-log-clip[data-open=\"true\"][data-history],\n[data-vibe-menu] .vm-ctab .vm-log-clip[data-open=\"true\"][data-history] .vm-log-history {\n display: flex;\n flex-direction: column;\n flex: 0 1 auto;\n min-height: 0;\n}\n[data-vibe-menu] .vm-ctab .vm-log-clip[data-open=\"true\"][data-history] .vm-log-history > * {\n min-height: 0;\n}\n[data-vibe-menu] .vm-ctab:has(.vm-log-clip[data-open=\"true\"][data-history]) > :not(.vm-moments),\n[data-vibe-menu] .vm-ctab .vm-live:has(.vm-log-clip[data-open=\"true\"][data-history]) > :not(.vm-log-clip) {\n flex-shrink: 0;\n}\n[data-vibe-menu] .vm-agent-history-tail {\n padding: var(--space-10) 4px var(--space-14) var(--space-24);\n}\n/* Suggestions at the end of the chat: wrapped inline links, not chips. */\n[data-vibe-menu] .vm-suggestions.is-inline {\n gap: var(--space-6) var(--space-14);\n margin-bottom: 0;\n}\n[data-vibe-menu] .vm-suggestions.is-inline .vm-suggest {\n min-height: 0;\n padding: 0;\n border: none;\n border-radius: 0;\n background: none;\n text-decoration: underline;\n text-decoration-color: var(--suggest-border);\n text-decoration-thickness: 1px;\n text-underline-offset: 3px;\n}\n[data-vibe-menu] .vm-suggestions.is-inline .vm-suggest:hover,\n[data-vibe-menu] .vm-suggestions.is-inline .vm-suggest.is-hover,\n[data-vibe-menu] .vm-suggestions.is-inline .vm-suggest.is-gold {\n background: none;\n text-decoration-color: currentColor;\n}\n[data-vibe-menu] .vm-log {\n max-height: var(--size-log-max);\n overflow-y: auto;\n overscroll-behavior: contain;\n display: flex;\n flex-direction: column;\n gap: var(--space-6);\n margin-top: var(--space-8);\n padding: var(--space-10) 4px var(--space-10) var(--space-24);\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n border-bottom: var(--stroke-hairline) solid var(--line-hairline);\n font-size: 13.5px;\n line-height: 1.35;\n}\n[data-vibe-menu] .vm-log-line {\n margin: 0;\n}\n[data-vibe-menu] .vm-log-line:first-child {\n margin-top: auto;\n}\n[data-vibe-menu] .vm-log-line b {\n font: 700 10px/1 var(--font-tab);\n letter-spacing: 0.1em;\n text-transform: uppercase;\n color: var(--muted);\n margin-right: 4px;\n}\n\n/* ---------- AccessToggle: Restricted | Public and its line ---------- */\n[data-vibe-menu] .vm-access {\n display: flex;\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-full);\n overflow: hidden;\n}\n[data-vibe-menu] .vm-access button {\n flex: 1;\n height: var(--size-bar);\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--space-10);\n text-align: center;\n font: 700 24px/1 var(--font-display);\n letter-spacing: -0.02em;\n color: var(--ink);\n}\n[data-vibe-menu] .vm-access button + button {\n border-left: var(--stroke-rule) solid var(--line-card);\n}\n[data-vibe-menu] .vm-access button.is-active {\n background: var(--accent);\n color: var(--on-accent);\n}\n[data-vibe-menu] .vm-access button:not(.is-active):hover {\n background: color-mix(in srgb, var(--accent) 20%, transparent);\n}\n/* Settings still loading (preflight ruling P14): dimmed and inert. */\n[data-vibe-menu] .vm-access[aria-disabled=\"true\"] {\n opacity: var(--opacity-row-disabled);\n}\n[data-vibe-menu] .vm-access[aria-disabled=\"true\"] button {\n cursor: default;\n}\n[data-vibe-menu] .vm-access[aria-disabled=\"true\"] button:not(.is-active):hover {\n background: transparent;\n}\n[data-vibe-menu] .vm-access-line {\n display: flex;\n align-items: center;\n gap: var(--space-10);\n min-height: var(--size-access-line);\n margin: var(--space-10) 0 var(--space-12);\n padding: var(--space-6) var(--space-6) var(--space-6) var(--space-14);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-access-line);\n background: var(--share-tint);\n font-size: 16.5px;\n line-height: 1.25;\n}\n[data-vibe-menu] .vm-access-line > span {\n flex: 1;\n min-width: 0;\n}\n[data-vibe-menu] .vm-access-line .vm-glyph {\n width: 16px;\n height: 16px;\n}\n[data-vibe-menu] .vm-publish {\n display: flex;\n align-items: center;\n gap: var(--space-8);\n padding: 5px 5px 5px var(--space-10);\n border: var(--stroke-rule) solid var(--line-card);\n border-left: var(--size-band) solid var(--accent);\n border-radius: var(--radius-moment);\n}\n[data-vibe-menu] .vm-publish b {\n font: 700 11px/1 var(--font-tab);\n letter-spacing: 0.1em;\n text-transform: uppercase;\n}\n[data-vibe-menu] .vm-publish span {\n flex: 1;\n min-width: 0;\n font-size: 13px;\n line-height: 1.25;\n color: var(--muted);\n}\n\n/* ---------- GrantControls ---------- */\n[data-vibe-menu] .vm-seg {\n display: flex;\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-full);\n overflow: hidden;\n}\n[data-vibe-menu] .vm-seg button {\n flex: 1;\n height: var(--size-segment);\n text-align: center;\n font-size: 11px;\n}\n[data-vibe-menu] .vm-seg button + button {\n border-left: var(--stroke-rule) solid var(--line-card);\n}\n[data-vibe-menu] .vm-seg button.is-active {\n background: var(--accent);\n color: var(--on-accent);\n}\n[data-vibe-menu] .vm-seg.is-mini {\n margin: 0;\n border-width: var(--stroke-mini);\n}\n[data-vibe-menu] .vm-seg.is-mini button {\n flex: none;\n height: var(--size-segment-mini);\n padding: 0 var(--space-8);\n font-size: 10px;\n}\n[data-vibe-menu] .vm-seg.is-mini button + button {\n border-left-width: var(--stroke-mini);\n}\n[data-vibe-menu] .vm-grants {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-6) var(--space-12);\n}\n[data-vibe-menu] .vm-grant-ctl {\n display: flex;\n align-items: center;\n gap: 5px;\n}\n[data-vibe-menu] .vm-grant-name {\n font: 700 10px/1 var(--font-tab);\n letter-spacing: 0.12em;\n text-transform: uppercase;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-grant-fixed {\n font: 700 10px/1 var(--font-tab);\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--ink);\n}\n\n/* ---------- MemberRow ---------- */\n[data-vibe-menu] .vm-input {\n width: 100%;\n height: var(--size-input);\n margin-bottom: var(--space-14);\n padding: 0 var(--space-18);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-input);\n background: transparent;\n color: var(--ink);\n font: inherit;\n}\n[data-vibe-menu] .vm-members-head {\n margin-top: 0;\n padding: 2px 0 var(--space-8);\n}\n[data-vibe-menu] .vm-members-head + .vm-input,\n[data-vibe-menu] .vm-members-head + .vm-invite .vm-input {\n height: 40px;\n margin-bottom: var(--space-8);\n}\n/* The invite field's handle typeahead (HandleLookupView): its dropdown wears\n the menu's own tokens in both themes, over the view's inline defaults. */\n[data-vibe-menu] .vm-invite [role=\"listbox\"] {\n background: var(--card-bg) !important;\n border: var(--stroke-rule) solid var(--line-card) !important;\n color: var(--ink) !important;\n}\n[data-vibe-menu] .vm-invite [role=\"option\"] {\n color: var(--ink) !important;\n font: inherit;\n}\n[data-vibe-menu] .vm-invite [role=\"option\"][aria-selected=\"true\"] {\n background: color-mix(in srgb, var(--ink) 10%, transparent) !important;\n}\n[data-vibe-menu] .vm-person {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-8) var(--space-12);\n padding: var(--space-6) 0;\n}\n[data-vibe-menu] .vm-person + .vm-person {\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n}\n[data-vibe-menu] .vm-person .vm-label {\n flex: 1;\n min-width: 0;\n}\n[data-vibe-menu] .vm-request {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-8) var(--space-12);\n margin-bottom: 2px;\n padding: var(--space-10) var(--space-12);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-card);\n background: var(--share-tint-strong);\n}\n[data-vibe-menu] .vm-request-top {\n flex: 1 0 auto;\n}\n[data-vibe-menu] .vm-request-actions {\n display: flex;\n gap: var(--space-6);\n margin-left: auto;\n}\n[data-vibe-menu] .vm-who-block > .vm-row {\n width: calc(100% + 2 * var(--space-16));\n margin: 2px calc(-1 * var(--space-16)) 0;\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n}\n[data-vibe-menu] .vm-narrow .vm-person .vm-grants,\n[data-vibe-menu] .vm-narrow .vm-request-top {\n flex-basis: 100%;\n}\n[data-vibe-menu] .vm-narrow .vm-person .vm-grants,\n[data-vibe-menu] .vm-narrow .vm-request .vm-grants {\n column-gap: var(--space-10);\n}\n/* stacking, as the prototype: card < bar < outline < glass and pill */\n[data-vibe-menu] .vm-frame .vm-card {\n z-index: 1;\n}\n[data-vibe-menu] .vm-frame .vm-strip {\n z-index: 2;\n}\n[data-vibe-menu] .vm-frame .vm-outline {\n z-index: 3;\n}\n[data-vibe-menu] .vm-frame .vm-glass {\n z-index: 4;\n}\n[data-vibe-menu] .vm-refresh {\n display: grid;\n place-items: center;\n width: var(--size-icon-circle);\n height: var(--size-icon-circle);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: 50%;\n color: var(--ink);\n}\n[data-vibe-menu] .vm-refresh:hover {\n background: var(--accent);\n color: var(--on-accent);\n}\n\n/* ---------- port additions: not in bundle.css ---------- */\n/* Sign-in providers (the inline sign-up drill): each brand's own mark on a\n white disc, so the logo reads the way its owner draws it on any card theme. */\n[data-vibe-menu] .vm-providers {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-14);\n margin-bottom: var(--space-4);\n}\n[data-vibe-menu] .vm-provider {\n position: relative;\n display: grid;\n place-items: center;\n width: 48px;\n height: 48px;\n padding: 0;\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: 50%;\n background: var(--provider-disc);\n color: var(--provider-ink);\n cursor: pointer;\n flex: none;\n}\n[data-vibe-menu] .vm-provider svg {\n width: 22px;\n height: 22px;\n}\n[data-vibe-menu] .vm-provider[aria-disabled=\"true\"] {\n opacity: var(--opacity-row-disabled);\n cursor: default;\n}\n[data-vibe-menu] .vm-provider.is-pending {\n opacity: 1;\n animation: vm-provider-pulse 1.2s ease-in-out infinite;\n}\n[data-vibe-menu] .vm-provider-tag {\n position: absolute;\n top: -8px;\n left: 50%;\n transform: translateX(-50%);\n padding: 1px 6px;\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-full);\n background: var(--accent);\n color: var(--on-accent);\n font-size: 8px;\n font-weight: 700;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n white-space: nowrap;\n}\n[data-vibe-menu] .vm-provider-status {\n display: flex;\n align-items: center;\n gap: var(--space-16);\n margin: var(--space-4) 0 var(--space-14) var(--space-4);\n}\n[data-vibe-menu] .vm-provider-status > div {\n min-width: 0;\n}\n/* The way back out of a provider that is opening: BackRow's dot and label,\n inline in the drill body rather than across the card's top edge. */\n[data-vibe-menu] .vm-back.is-inline {\n width: auto;\n height: var(--size-icon-circle);\n margin: 0;\n padding: 0;\n border: 0;\n background: none;\n color: var(--ink);\n cursor: pointer;\n}\n[data-vibe-menu] .vm-provider-status .vm-sub {\n margin: 0;\n}\n/* A switch the platform just flipped for the owner (a Pro checkout from the\n remix switch): lit for a moment so the change reads where it happened. */\n[data-vibe-menu] .vm-group.is-just-flipped {\n border-radius: var(--radius-card);\n animation: vm-just-flipped 1.2s ease-in-out 3;\n}\n@keyframes vm-just-flipped {\n 50% {\n box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 45%, transparent);\n }\n}\n@media (prefers-reduced-motion: reduce) {\n [data-vibe-menu] .vm-group.is-just-flipped {\n animation: none;\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent);\n }\n}\n@keyframes vm-provider-pulse {\n 50% {\n box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent);\n }\n}\n@media (prefers-reduced-motion: reduce) {\n [data-vibe-menu] .vm-provider.is-pending {\n animation: none;\n }\n}\n/* Rows and the action pill can be links (Home's rows, the credits action). */\n[data-vibe-menu] :where(a.vm-row, a.vm-ask) {\n color: inherit;\n text-decoration: none;\n}\n[data-vibe-menu] a.vm-row:hover .vm-dot:not(.vm-app) {\n background: var(--accent);\n color: var(--on-accent);\n}\n/* A member's name drills into that member (spec \u00A78). */\n[data-vibe-menu] .vm-person button.vm-label {\n text-align: left;\n}\n[data-vibe-menu] .vm-chip[aria-disabled=\"true\"],\n[data-vibe-menu] .vm-cap:disabled,\n[data-vibe-menu] .vm-composer .vm-attach:disabled {\n opacity: var(--opacity-row-disabled);\n cursor: default;\n}\n/* Staged attachments above the composer: name chips, no emoji. */\n[data-vibe-menu] .vm-attachments {\n margin-bottom: var(--space-8);\n}\n[data-vibe-menu] .vm-attachments .vm-chip {\n display: inline-flex;\n align-items: center;\n gap: var(--space-6);\n max-width: 220px;\n}\n[data-vibe-menu] .vm-attachments .vm-chip > span:last-child {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n[data-vibe-menu] .vm-attachments .vm-chip[data-status=\"error\"] {\n border-color: var(--section-account);\n}\n/* The one left-out sentence after a pick past the cap (#7622): the queue\n note's voice, tucked under the chips it talks about. */\n[data-vibe-menu] .vm-attach-note {\n margin: -2px 0 10px 4px;\n font-size: 12px;\n line-height: 1.4;\n color: var(--muted);\n}\n/* A suggestion's fast-path marks (RULINGS O4, production #2917 decorateChip).\n Siblings of .vm-suggest, since a button can't nest a button. The owner's\n toggle (FastPathToggle) is outline when not blessed, filled when blessed\n (aria-pressed); the badges are the marks every viewer sees. */\n[data-vibe-menu] .vm-suggest-item {\n display: inline-flex;\n align-items: center;\n gap: var(--space-2);\n max-width: 100%;\n min-width: 0;\n}\n[data-vibe-menu] .vm-suggest-item > * {\n flex: none;\n}\n[data-vibe-menu] .vm-suggest-item > .vm-suggest {\n flex: 0 1 auto;\n}\n[data-vibe-menu] .vm-suggest-shield {\n width: var(--size-chip);\n height: var(--size-chip);\n display: inline-grid;\n place-items: center;\n border-radius: var(--radius-full);\n background: none;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-suggest-shield:hover {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-suggest-shield[aria-pressed=\"true\"] {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-suggest-shield[aria-pressed=\"true\"] .vm-glyph {\n fill: currentColor;\n}\n/* The non-interactive marks every viewer sees (production ChipShieldBadge,\n ChipJumpBadge): a filled shield (\"stays in this app\", server-authoritative)\n or an arrow (\"opens another app\"). Never both on one chip. */\n[data-vibe-menu] .vm-suggest-badge {\n width: var(--size-chip);\n height: var(--size-chip);\n display: inline-grid;\n place-items: center;\n color: var(--ink);\n}\n[data-vibe-menu] .vm-suggest-badge.is-shield .vm-glyph {\n fill: currentColor;\n}\n[data-vibe-menu] .vm-suggest-badge.is-jump {\n color: var(--muted);\n}\n\n/* ---------- phones (cards-hero.css): the menu's width, not the viewport ---------- */\n@container vibe-menu (max-width: 480px) {\n [data-vibe-menu] .vm-ask {\n font-size: 18px;\n }\n /* the field keeps 16px (iOS zooms smaller fields); attach slims instead */\n [data-vibe-menu] .vm-composer textarea {\n margin-right: var(--space-6);\n font-size: 16px;\n }\n [data-vibe-menu] .vm-composer .vm-attach {\n margin-left: 4px;\n width: 28px;\n }\n [data-vibe-menu] .vm-cap {\n padding: 0 var(--space-18) 0 var(--space-14);\n }\n [data-vibe-menu] .vm-access button {\n font-size: 21px;\n }\n /* the access line keeps its sentence to two lines beside the chip */\n [data-vibe-menu] .vm-access-line {\n padding-left: 12px;\n gap: 8px;\n font-size: 15.5px;\n }\n [data-vibe-menu] .vm-access-line .vm-chip.vm-copy {\n padding: 0 10px;\n }\n /* Data and Code drop under the handle on one line (two on the narrowest) */\n [data-vibe-menu] .vm-person .vm-grants {\n flex-basis: 100%;\n column-gap: var(--space-10);\n }\n [data-vibe-menu] .vm-request .vm-grants {\n column-gap: var(--space-10);\n }\n [data-vibe-menu] .vm-request-top {\n flex-basis: 100%;\n }\n [data-vibe-menu] .vm-input {\n font-size: 16px;\n }\n}\n@container vibe-menu (max-width: 359px) {\n [data-vibe-menu] .vm-access button {\n font-size: 19px;\n }\n /* the line drops its icon here: the enclosure already marks it */\n [data-vibe-menu] .vm-access-line > .vm-glyph {\n display: none;\n }\n [data-vibe-menu] .vm-access-line {\n margin: 8px 0 10px;\n font-size: 14.5px;\n }\n [data-vibe-menu] .vm-access-line .vm-chip.vm-copy {\n padding: 0 8px;\n }\n /* the cap and attach slim so the field keeps room (REMIX THIS stays one line) */\n [data-vibe-menu] .vm-cap {\n padding: 0 13px 0 10px;\n letter-spacing: 0.05em;\n }\n [data-vibe-menu] .vm-composer .vm-attach {\n margin-left: 3px;\n width: 24px;\n }\n /* 16px, not the prototype's 14px: no text field under 16px on phones (spec \u00A74.5) */\n [data-vibe-menu] .vm-composer textarea {\n margin: 0 4px 0 0;\n font-size: 16px;\n }\n [data-vibe-menu] .vm-chip.vm-copy {\n padding: 0 10px;\n letter-spacing: 0.06em;\n }\n}\n";
|
|
4
|
+
export declare const VIBE_MENU_CSS = "\n/* ---------- tokens (tokens.json), light, then both dark arms ----------\n Detached layers (portalled out of the menu root) carry\n data-vibe-menu-detached, so every token block lists them too. */\n[data-vibe-menu],\n[data-vibe-menu-detached] {\n color-scheme: light;\n --section-home: oklch(76.02% 0.1832 146.61);\n --section-account: oklch(57.46% 0.2126 29.55);\n --section-code: oklch(89.78% 0.1857 98.22);\n --section-share: oklch(64.39% 0.1304 231.41);\n --vibes-black: #000000;\n --vibes-cream: #fffff0;\n --menu-ink: #1a1a1a;\n --card-bg: var(--vibes-cream);\n --ink: #111111;\n --muted: #555555;\n --line: #111111;\n --line-card: #111111;\n --line-hairline: #1111112e;\n --placeholder: var(--muted);\n --suggest-border: #11111173;\n --share-tint: #009ace1f;\n --share-tint-strong: #009ace40;\n --on-home: var(--menu-ink);\n --on-account: var(--vibes-cream);\n --on-code: var(--menu-ink);\n --on-share: var(--menu-ink);\n --badge: var(--section-account);\n --on-badge: var(--vibes-cream);\n --cancel-cap: #f3d6d2;\n --on-cancel-cap: #9c2318;\n --obsidian-fill: rgba(6, 9, 10, 0.94);\n --obsidian-edge: rgba(255, 255, 255, 0.17);\n --obsidian-highlight: rgba(255, 255, 255, 0.32);\n --obsidian-rim: rgba(255, 255, 255, 0.1);\n --font-display: \"Alte Haas Grotesk\", Inter, sans-serif;\n --font-tab: Inter, system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif;\n --space-9: 9px;\n --space-2: 2px;\n --space-4: 4px;\n --space-6: 6px;\n --space-8: 8px;\n --space-10: 10px;\n --space-12: 12px;\n --space-14: 14px;\n --space-16: 16px;\n --space-18: 18px;\n --space-24: 24px;\n --radius-card: 16px;\n --radius-full: 999px;\n --radius-bar-end: 25px;\n --radius-access-line: 24px;\n --radius-input: 22px;\n --radius-done: 21px;\n --radius-copy: 18px;\n --radius-chip: 14px;\n --radius-moment: 12px;\n --radius-switch: 10px;\n --radius-meter: 7px;\n --obsidian-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 0 12px rgba(255, 255, 255, 0.02);\n --swatch-selected: 0 0 0 2px #fffff0, 0 0 0 4px #111111;\n --stroke-rule: 2px;\n --stroke-hairline: 1px;\n --stroke-mini: 1.5px;\n --stroke-focus: 3px;\n --stroke-glyph: 2.4px;\n --size-icon-circle: 28px;\n --size-icon-circle-phone: 22px;\n --size-glyph: 14px;\n --size-glyph-cta: 20px;\n --size-bar: 50px;\n --size-tab: 176px;\n --size-home-extra: 14px;\n --size-bar-end: 63px;\n --size-pill-w: 120px;\n --size-pill-h: 44px;\n --size-ring: 3px;\n --size-edge: 24px;\n --size-edge-phone: 16px;\n --size-pill-flat-inset: 19px;\n --size-band: 8px;\n --size-row: 46px;\n --size-row-compact: 42px;\n --size-chip: 28px;\n --size-copy: 36px;\n --size-input: 44px;\n --size-composer: 48px;\n --size-access-line: 48px;\n --size-segment: 32px;\n --size-segment-mini: 24px;\n --size-switch-w: 36px;\n --size-meter: 14px;\n --size-card-max: 480px;\n --size-card-max-phone: 560px;\n --size-log-max: 160px;\n --size-log-peek: 120px;\n --size-code-mode-max-w: 1200px;\n --opacity-tab-inactive: 0.73;\n --opacity-row-disabled: 0.35;\n --provider-disc: #ffffff;\n --provider-ink: #111111;\n}\n@media (prefers-color-scheme: dark) {\n [data-vibe-menu],\n [data-vibe-menu-detached] {\n color-scheme: dark;\n --card-bg: #1a1a1a;\n --ink: #e0e0e0;\n --muted: #a3a3a3;\n --line-card: #e0e0e0;\n --line-hairline: #e0e0e02e;\n --suggest-border: #e0e0e073;\n --cancel-cap: #4a2420;\n --on-cancel-cap: #f1b5ad;\n --swatch-selected: 0 0 0 2px #1a1a1a, 0 0 0 4px #e0e0e0;\n }\n}\n.dark [data-vibe-menu],\n.dark [data-vibe-menu-detached] {\n color-scheme: dark;\n --card-bg: #1a1a1a;\n --ink: #e0e0e0;\n --muted: #a3a3a3;\n --line-card: #e0e0e0;\n --line-hairline: #e0e0e02e;\n --suggest-border: #e0e0e073;\n --cancel-cap: #4a2420;\n --on-cancel-cap: #f1b5ad;\n --swatch-selected: 0 0 0 2px #1a1a1a, 0 0 0 4px #e0e0e0;\n}\n\n/* ---------- the root: the phone container ---------- */\n[data-vibe-menu] {\n container-name: vibe-menu;\n container-type: inline-size;\n color: var(--ink);\n font-family: var(--font-display);\n}\n\n/* Scrollbars (smoke F15): thin, in the menu's hairline, both themes, never the\n native dark bar inside the cream card. The colour is set on the root AND\n every descendant, for every scroller the menu hosts (drills, the Embed box,\n injected panels): the app's global sheet sets scrollbar-color on *, which\n beats a colour only inherited from the root. The width rule has zero\n specificity so a part that hides its bar (the Code mode tab strip) still\n wins. The webkit arm is for engines without the standard properties; Chrome\n ignores it once they are set. */\n[data-vibe-menu],\n[data-vibe-menu] *,\n[data-vibe-menu-detached],\n[data-vibe-menu-detached] * {\n scrollbar-color: var(--line-hairline) transparent;\n}\n:where([data-vibe-menu]),\n:where([data-vibe-menu]) :where(*) {\n scrollbar-width: thin;\n}\n:where([data-vibe-menu]) ::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background: transparent;\n}\n:where([data-vibe-menu]) ::-webkit-scrollbar-thumb {\n border-radius: var(--radius-full);\n background: var(--line-hairline);\n}\n\n/* A section is set by data-section on any ancestor (or the root), using the\n code keys: home | settings (Account) | vibe (Code) | share. It sets --accent\n (the section colour) and --on-accent (its label colour). */\n[data-vibe-menu][data-section=\"home\"],\n[data-vibe-menu] [data-section=\"home\"] {\n --accent: var(--section-home);\n --on-accent: var(--on-home);\n}\n[data-vibe-menu][data-section=\"settings\"],\n[data-vibe-menu] [data-section=\"settings\"] {\n --accent: var(--section-account);\n --on-accent: var(--on-account);\n}\n[data-vibe-menu][data-section=\"vibe\"],\n[data-vibe-menu] [data-section=\"vibe\"] {\n --accent: var(--section-code);\n --on-accent: var(--on-code);\n}\n[data-vibe-menu][data-section=\"share\"],\n[data-vibe-menu] [data-section=\"share\"] {\n --accent: var(--section-share);\n --on-accent: var(--on-share);\n}\n\n[data-vibe-menu],\n[data-vibe-menu] * {\n box-sizing: border-box;\n}\n/* the card's surface and side padding, so rows can bleed edge to edge */\n[data-vibe-menu] .vm-card-body {\n position: relative;\n padding: var(--space-14) var(--space-16) var(--space-16);\n background: var(--card-bg);\n color: var(--ink);\n font: 400 14px/20px var(--font-display);\n}\n[data-vibe-menu] .vm-card-body.is-framed {\n border: var(--stroke-rule) solid var(--line);\n border-radius: var(--radius-card) var(--radius-card) 0 0;\n overflow: hidden;\n}\n\n/* ---------- shared ---------- */\n/* Zero specificity: every vm-* rule wins over it, and so does any utility\n class on content a host injects into the card (slots). */\n:where([data-vibe-menu]) :where(button) {\n font: inherit;\n color: inherit;\n background: none;\n border: 0;\n padding: 0;\n cursor: pointer;\n text-align: left;\n touch-action: manipulation;\n}\n[data-vibe-menu] .vm-glyph {\n width: var(--size-glyph);\n height: var(--size-glyph);\n fill: none;\n stroke: currentColor;\n stroke-width: var(--stroke-glyph);\n stroke-linecap: round;\n stroke-linejoin: round;\n flex: none;\n}\n[data-vibe-menu] .vm-label,\n[data-vibe-menu] .vm-seg button,\n[data-vibe-menu] .vm-chip {\n font: 700 14px/1 var(--font-tab);\n letter-spacing: 0.08em;\n text-transform: uppercase;\n}\n[data-vibe-menu] .vm-label.is-plain {\n font: 700 16px/1.1 var(--font-display);\n letter-spacing: 0;\n text-transform: none;\n}\n[data-vibe-menu] .vm-kicker,\n[data-vibe-menu] .vm-subhead {\n margin: 0 0 var(--space-8);\n font: 700 10.5px/1.3 var(--font-tab);\n letter-spacing: 0.14em;\n text-transform: uppercase;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-subhead {\n margin: var(--space-16) 0 0;\n padding-bottom: var(--space-8);\n}\n[data-vibe-menu] .vm-sub {\n margin: var(--space-8) 0 var(--space-14);\n font-size: 13px;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-app-name {\n white-space: nowrap;\n}\n/* ---------- SectionStrip: the bar ---------- */\n[data-vibe-menu] .vm-menu {\n position: relative;\n}\n[data-vibe-menu] .vm-strip {\n position: relative;\n width: calc(var(--size-tab) * 4 + var(--size-home-extra) + var(--size-bar-end) + 2px);\n height: var(--size-bar);\n}\n[data-vibe-menu] .vm-strip-slide {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: flex-end;\n border: var(--stroke-rule) solid var(--line);\n border-right: 0;\n border-radius: var(--bar-tl, var(--radius-bar-end)) 0 0 var(--radius-bar-end);\n overflow: hidden;\n background: var(--card-bg);\n /* #7329: the bar under the switch belongs to no tab's box. */\n padding-right: var(--size-bar-end);\n}\n[data-vibe-menu] .vm-tab {\n position: relative;\n width: var(--size-tab);\n flex: none;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border: 0;\n padding: 0 0 0 var(--space-9);\n cursor: pointer;\n background: var(--accent);\n}\n[data-vibe-menu] .vm-tab-circle {\n width: var(--size-icon-circle);\n height: var(--size-icon-circle);\n border-radius: 50%;\n background: var(--menu-ink);\n display: flex;\n align-items: center;\n justify-content: center;\n flex: none;\n}\n[data-vibe-menu] .vm-tab svg {\n width: calc(var(--size-icon-circle) / 2);\n height: calc(var(--size-icon-circle) / 2);\n fill: none;\n stroke: var(--vibes-cream);\n stroke-width: 2.5;\n stroke-linecap: round;\n stroke-linejoin: round;\n flex: none;\n}\n[data-vibe-menu] .vm-tab-label {\n position: absolute;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 0 0 1.9px;\n font-family: var(--font-tab);\n font-size: 14px;\n font-weight: 700;\n letter-spacing: 1.9px;\n text-transform: uppercase;\n white-space: nowrap;\n pointer-events: none;\n color: var(--on-accent);\n}\n[data-vibe-menu] .vm-tab[data-section=\"home\"] {\n width: calc(var(--size-tab) + var(--size-home-extra));\n padding-left: calc(var(--space-9) + var(--size-home-extra) / 2);\n}\n[data-vibe-menu] .vm-tab[data-section=\"home\"] .vm-tab-label {\n left: calc(var(--size-home-extra) / 2);\n}\n/* #7329: Share's box ends where the switch begins; its colour runs on under\n the pill as a child painted beyond the box. */\n[data-vibe-menu] .vm-tab-run {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 100%;\n width: var(--size-bar-end);\n background: inherit;\n}\n[data-vibe-menu] .vm-tab:focus-visible {\n outline: var(--stroke-focus) solid var(--line);\n outline-offset: -3px;\n}\n/* Port change (smoke F5): the DS inset line ring vanished on the black pill\n and drew square corners. The pill's ring is cream, sits in the obsidian\n glass's 3px rim (offset 0), and follows the stadium (the pill's radius). */\n[data-vibe-menu] .vm-pill:focus-visible {\n outline: var(--stroke-focus) solid var(--vibes-cream);\n outline-offset: 0;\n}\n[data-vibe-menu] .vm-menu.has-card .vm-tab:not(.is-active) {\n opacity: var(--opacity-tab-inactive);\n}\n[data-vibe-menu] .vm-badge {\n position: absolute;\n top: -4px;\n right: 6px;\n min-width: 18px;\n height: 18px;\n padding: 0 5px;\n border-radius: var(--radius-full);\n background: var(--badge);\n color: var(--on-badge);\n font: 700 11px/18px var(--font-display);\n text-align: center;\n}\n/* the bar sits against the pill: it runs half the glass under it */\n[data-vibe-menu] .vm-bar-anchor {\n position: relative;\n height: var(--size-bar);\n}\n[data-vibe-menu] .vm-bar-anchor .vm-strip {\n position: absolute;\n left: 0;\n bottom: 0;\n}\n[data-vibe-menu] .vm-bar-anchor .vm-glass {\n position: absolute;\n right: 0;\n bottom: 0;\n}\n/* phones: the bar spans the width; tabs sized to their content, icon above label */\n[data-vibe-menu] .vm-strip.is-phone {\n width: 100%;\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab {\n width: auto;\n flex: 1 1 auto;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--space-2);\n min-width: 0;\n padding: 4px 2px;\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab-circle {\n width: var(--size-icon-circle-phone);\n height: var(--size-icon-circle-phone);\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab svg {\n width: 12px;\n height: 12px;\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab[data-section=\"home\"] {\n padding: 4px 2px 4px calc(2px + var(--size-home-extra) * 0.7);\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab[data-section=\"share\"] {\n flex-grow: 1;\n}\n[data-vibe-menu] .vm-strip.is-phone .vm-tab-label {\n position: static;\n display: block;\n font-size: 9.6px;\n letter-spacing: 1px;\n padding: 0 0 0 1px;\n}\n\n/* ---------- VibesSwitch: the pill in its obsidian glass ---------- */\n[data-vibe-menu] .vm-glass {\n position: relative;\n width: calc(var(--size-pill-w) + 2 * var(--size-ring));\n height: calc(var(--size-pill-h) + 2 * var(--size-ring));\n border-radius: var(--radius-full);\n flex: none;\n background:\n linear-gradient(to right, transparent, var(--obsidian-highlight), transparent) top / 100% 1px no-repeat,\n linear-gradient(to bottom, var(--obsidian-highlight), transparent, var(--obsidian-edge)) left / 1px 100% no-repeat,\n var(--obsidian-fill);\n box-shadow: var(--obsidian-shadow);\n}\n[data-vibe-menu] .vm-pill {\n position: absolute;\n left: var(--size-ring);\n top: var(--size-ring);\n width: var(--size-pill-w);\n height: var(--size-pill-h);\n padding: 0;\n border: 0;\n border-radius: var(--radius-full);\n background: none;\n cursor: pointer;\n}\n/* Touching, holding or dragging on the switch never selects text, raises the\n iOS callout and magnifier, or drags an image (owner 2026-10-16). The letters\n are paths drawn twice, the second copy clipped to the knob: both sit under\n .vm-pill, so the descendant rule covers them. */\n[data-vibe-menu] .vm-glass,\n[data-vibe-menu] .vm-pill,\n[data-vibe-menu] .vm-pill * {\n -webkit-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n}\n/* A held press slides the knob 3/4 of the way and waits (owner 2026-10-16).\n An overshooting spring would carry it past 3/4, so the held leg eases out\n with no overshoot; the release finishes on the host's own curve. */\n[data-vibe-menu] .vm-pill[data-progress=\"0.75\"] {\n --vibes-switch-slide: 0.4s cubic-bezier(0.22, 1, 0.36, 1);\n}\n/* Reduced motion: the switch jumps between poses. Its paths carry inline\n transitions (the knob's d and 3px nudge, the letters' fills and on-knob clip), so\n only an !important rule here stops every leg, not just the d slide. */\n@media (prefers-reduced-motion: reduce) {\n [data-vibe-menu] .vm-pill {\n --vibes-switch-slide: 0s;\n }\n [data-vibe-menu] .vm-pill svg path {\n transition: none !important;\n }\n}\n[data-vibe-menu] .vm-switch-art {\n width: 100%;\n height: 100%;\n display: block;\n}\n[data-vibe-menu] .vm-pill .vm-badge {\n top: -6px;\n right: 4px;\n}\n/* #7079: the guest maker's save-time ask: a dot, not a count. */\n[data-vibe-menu] .vm-badge.is-dot {\n min-width: 10px;\n width: 10px;\n height: 10px;\n padding: 0;\n}\n[data-vibe-menu] .vm-chiclet {\n display: inline-block;\n padding: 2px 8px;\n border-radius: var(--radius-full);\n background: var(--section-code);\n /* Port change: bundle.css writes #111111 (ink); text on a section colour is\n menu-ink (Global Constraints), which --on-code resolves to in both themes. */\n color: var(--on-code);\n font: 700 11px/18px var(--font-display);\n letter-spacing: 0.06em;\n}\n/* #4291. The chiclet's shape, so the two read as one row \u2014 but in the badge\n colour (the identity lane) so elevation never looks like a publish state. */\n[data-vibe-menu] .vm-admin-badge {\n display: inline-block;\n padding: 2px 8px;\n border-radius: var(--radius-full);\n background: var(--badge);\n color: var(--on-badge);\n font: 700 11px/18px var(--font-display);\n letter-spacing: 0.06em;\n}\n\n/* ---------- MenuCard: the card, its band and the folder-tab join, drawn once ---------- */\n[data-vibe-menu] .vm-frame {\n position: relative;\n}\n[data-vibe-menu] .vm-frame .vm-card {\n position: absolute;\n left: 0;\n top: 0;\n background: var(--card-bg);\n color: var(--ink);\n overflow: hidden;\n border-radius: var(--radius-card) var(--radius-card) 0 0;\n}\n[data-vibe-menu] .vm-frame .vm-card .vm-card-body {\n padding-bottom: calc(var(--space-16) + var(--size-band));\n}\n[data-vibe-menu] .vm-outline {\n position: absolute;\n left: 0;\n top: 0;\n overflow: visible;\n pointer-events: none;\n}\n[data-vibe-menu] .vm-outline .vm-band,\n[data-vibe-menu] .vm-outline .vm-cover {\n fill: var(--accent);\n}\n[data-vibe-menu] .vm-outline .vm-edge {\n fill: none;\n stroke: var(--line);\n stroke-width: 2;\n stroke-linejoin: miter;\n}\n\n/* ---------- ActionPill: the card's one main action ---------- */\n[data-vibe-menu] .vm-ask {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--space-12);\n width: 100%;\n padding: var(--space-14) var(--space-18);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-full);\n background: var(--accent);\n color: var(--on-accent);\n font: 700 21px/1 var(--font-display);\n letter-spacing: -0.02em;\n cursor: pointer;\n}\n[data-vibe-menu] .vm-ask.is-solo {\n margin-bottom: var(--space-14);\n}\n[data-vibe-menu] .vm-ask .vm-glyph {\n width: var(--size-glyph-cta);\n height: var(--size-glyph-cta);\n transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);\n}\n[data-vibe-menu] .vm-ask:hover .vm-glyph {\n transform: translateX(4px);\n}\n[data-vibe-menu] .vm-ask.is-phone {\n font-size: 18px;\n}\n[data-vibe-menu] .vm-sub:has(.vm-copy) {\n display: flex;\n align-items: center;\n gap: var(--space-8);\n}\n[data-vibe-menu] .vm-sub:has(.vm-copy) > span {\n flex: 1;\n}\n\n/* ---------- Chip ---------- */\n[data-vibe-menu] .vm-chip {\n height: var(--size-chip);\n padding: 0 var(--space-12);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-chip);\n background: var(--accent);\n color: var(--on-accent);\n font-size: 11px;\n flex: none;\n cursor: pointer;\n}\n[data-vibe-menu] .vm-chip.is-ghost {\n background: transparent;\n color: var(--ink);\n}\n[data-vibe-menu] .vm-chip.is-name {\n font: 700 14px/1 var(--font-display);\n letter-spacing: 0;\n text-transform: none;\n}\n[data-vibe-menu] .vm-chip.vm-copy {\n height: var(--size-copy);\n padding: 0 var(--space-14);\n border-radius: var(--radius-copy);\n flex-shrink: 0;\n align-self: center;\n white-space: nowrap;\n}\n[data-vibe-menu] .vm-suggestions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--space-6);\n}\n/* Port change (smoke F9): codegen writes long chips, so a chip wraps inside\n the card (DS \"text that can outgrow its track wraps\") instead of running\n past its edge; a one-line chip keeps the 28px chip height. */\n[data-vibe-menu] .vm-suggest {\n min-height: var(--size-chip);\n max-width: 100%;\n min-width: 0;\n padding: var(--space-2) var(--space-12);\n text-align: left;\n overflow-wrap: anywhere;\n border: var(--stroke-mini) solid var(--suggest-border);\n border-radius: var(--radius-chip);\n background: none;\n color: var(--ink);\n font: 400 13px/20px var(--font-display);\n cursor: pointer;\n}\n[data-vibe-menu] .vm-suggest:hover,\n[data-vibe-menu] .vm-suggest.is-hover,\n[data-vibe-menu] .vm-suggest[aria-busy=\"true\"] {\n border-color: var(--line-card);\n background: color-mix(in srgb, var(--accent) 35%, transparent);\n}\n/* A pressed chip holds the row while its answer is on the way (a lookup, a\n fork): it stays lit, and the row takes no second press. */\n[data-vibe-menu] .vm-suggest:disabled {\n cursor: default;\n}\n[data-vibe-menu] .vm-suggest:disabled:not([aria-busy=\"true\"]) {\n opacity: 0.5;\n}\n/* The pressed one is disabled too (the row takes no second press), so it\n must outrank the app's global button:disabled dim (theme/global-styles.ts). */\n[data-vibe-menu] .vm-suggest[aria-busy=\"true\"] {\n opacity: 1;\n}\n/* The same hold on the inline links at the end of the chat: the pressed link\n keeps its lit underline, the others read as disabled (dimmed above). */\n[data-vibe-menu] .vm-suggestions.is-inline .vm-suggest[aria-busy=\"true\"] {\n text-decoration-color: currentColor;\n}\n/* The gold option (#6768): the one capability the agent offered, a chip in the\n same row and the same order as the others. It wears the lit state the others\n take on hover, a full-ink outline and a filled star before the label, so it\n reads as the offer without a second colour on the card. */\n[data-vibe-menu] .vm-suggest.is-gold {\n display: inline-flex;\n align-items: center;\n gap: var(--space-6);\n border-color: var(--line-card);\n background: color-mix(in srgb, var(--accent) 35%, transparent);\n}\n[data-vibe-menu] .vm-suggest.is-gold .vm-glyph {\n flex: none;\n fill: currentColor;\n}\n[data-vibe-menu] .vm-picks {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-6);\n}\n\n/* ---------- Composer: the logo pill's shape, 48px tall (owner pick B, 2026-10-26:\n near the switch's 44px curve with a full 44px cap) ---------- */\n[data-vibe-menu] .vm-composer {\n display: flex;\n align-items: stretch;\n min-height: var(--size-composer);\n margin-bottom: var(--space-16);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-full);\n overflow: hidden;\n background: var(--card-bg);\n}\n[data-vibe-menu] .vm-composer:focus-within,\n[data-vibe-menu] .vm-composer.is-focus {\n box-shadow: 0 0 0 3px var(--accent);\n}\n[data-vibe-menu] .vm-composer textarea {\n flex: 1;\n min-width: 0;\n align-self: center;\n margin: 0 var(--space-12) 0 2px;\n padding: 0;\n resize: none;\n border: 0;\n outline: 0;\n background: transparent;\n color: var(--ink);\n font: 700 16px/1.2 var(--font-display);\n letter-spacing: -0.02em;\n field-sizing: content;\n max-height: 2.4em;\n}\n[data-vibe-menu] .vm-composer textarea::placeholder {\n color: var(--placeholder);\n}\n[data-vibe-menu] .vm-composer .vm-attach {\n order: -1;\n width: var(--size-copy);\n height: var(--size-copy);\n margin-left: var(--space-10);\n align-self: center;\n border-radius: 50%;\n display: grid;\n place-items: center;\n flex: none;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-composer .vm-attach:hover {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-composer .vm-glyph {\n width: 16px;\n height: 16px;\n}\n/* The record button (2026-11-26): a mic beside the cap; listening, the field\n gives way to a live line between a cross and a check. */\n[data-vibe-menu] .vm-composer .vm-mic {\n flex: none;\n align-self: center;\n width: var(--size-copy);\n height: var(--size-copy);\n margin-right: var(--space-8);\n border-radius: 50%;\n display: grid;\n place-items: center;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-composer .vm-mic:hover {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-composer .vm-mic[data-transcribing] {\n color: var(--ink);\n cursor: progress;\n}\n[data-vibe-menu] .vm-composer.is-dictating textarea,\n[data-vibe-menu] .vm-composer.is-dictating .vm-attach,\n[data-vibe-menu] .vm-composer.is-dictating .vm-cap {\n display: none !important;\n}\n[data-vibe-menu] .vm-composer .vm-dictate {\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: var(--space-8);\n padding-left: var(--space-6);\n color: var(--ink);\n}\n[data-vibe-menu] .vm-composer .vm-dictate-cancel {\n flex: none;\n width: var(--size-copy);\n height: var(--size-copy);\n border-radius: 50%;\n display: grid;\n place-items: center;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-composer .vm-dictate-cancel:hover {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-composer .vm-dictate-done {\n flex: none;\n align-self: stretch;\n display: grid;\n place-items: center;\n padding: 0 var(--space-24) 0 20px;\n border-left: var(--stroke-rule) solid var(--line-card);\n background: var(--section-code);\n color: var(--on-code);\n cursor: pointer;\n}\n[data-vibe-menu] .vm-composer .vm-dictate-done:hover {\n background: color-mix(in oklch, var(--section-code), var(--menu-ink) 10%);\n}\n[data-vibe-menu] .vm-cap {\n flex: none;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 var(--space-24) 0 20px;\n border-left: var(--stroke-rule) solid var(--line-card);\n background: var(--section-code);\n color: var(--on-code);\n font: 700 13px/1 var(--font-tab);\n letter-spacing: 0.08em;\n text-transform: uppercase;\n white-space: nowrap;\n cursor: pointer;\n}\n[data-vibe-menu] .vm-cap:hover {\n background: color-mix(in oklch, var(--section-code), var(--menu-ink) 10%);\n}\n[data-vibe-menu] .vm-composer.is-building .vm-cap[data-send],\n[data-vibe-menu] .vm-composer.is-building .vm-cap[data-next],\n[data-vibe-menu] .vm-composer.is-building:has(textarea:not(:placeholder-shown)) .vm-cap[data-stop] {\n display: none;\n}\n[data-vibe-menu] .vm-composer.is-building:has(textarea:not(:placeholder-shown)) .vm-cap[data-send],\n[data-vibe-menu] .vm-composer.is-building:has(textarea:not(:placeholder-shown)) .vm-cap[data-next] {\n display: flex;\n}\n/* traction#688: the held Send reads its next step (\"Get Plus \u00B7 $5/mo\", a\n guest's sign-up). Sentence case, and it may wrap to two lines rather than\n squeeze the field on a phone. */\n[data-vibe-menu] .vm-cap[data-next] {\n max-width: 48%;\n padding: var(--space-8) var(--space-16);\n text-transform: none;\n letter-spacing: 0.01em;\n white-space: normal;\n text-align: center;\n line-height: 1.2;\n}\n/* Rewrite mode (the settings tab's sharing rewrite): no attach button, so the\n field takes the attach's inset; a dim red X cap sits left of the action cap. */\n[data-vibe-menu] .vm-composer.is-rewrite {\n position: relative;\n}\n[data-vibe-menu] .vm-composer.is-rewrite textarea {\n margin-left: var(--space-24);\n}\n[data-vibe-menu] .vm-cap[data-cancel] {\n padding: 0 var(--space-16);\n background: var(--cancel-cap);\n color: var(--on-cancel-cap);\n}\n[data-vibe-menu] .vm-cap[data-cancel]:hover {\n background: color-mix(in oklch, var(--cancel-cap), var(--on-cancel-cap) 12%);\n}\n[data-vibe-menu] .vm-rewrite-shimmer {\n position: absolute;\n left: var(--space-24);\n top: 50%;\n width: 28%;\n height: var(--space-12);\n margin-top: calc(var(--space-12) / -2);\n border-radius: var(--radius-full);\n background: var(--placeholder);\n opacity: 0.3;\n pointer-events: none;\n animation: vm-rewrite-shimmer 1.4s ease-in-out infinite;\n}\n@keyframes vm-rewrite-shimmer {\n 50% {\n opacity: 0.12;\n }\n}\n@media (prefers-reduced-motion: reduce) {\n [data-vibe-menu] .vm-rewrite-shimmer {\n animation: none;\n }\n}\n[data-vibe-menu] .vm-queue-note {\n display: none;\n margin: -10px 0 12px 18px;\n font-size: 12px;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-composer:has(textarea:not(:placeholder-shown)) + .vm-queue-note {\n display: block;\n}\n/* The dictation line (#11269) answers a mic press, which works in an empty box\n too (\"Allow the microphone\u2026\", \"Writing down what you said\u2026\"), so it shows\n whatever the box holds. */\n[data-vibe-menu] .vm-queue-note[data-dictation-note] {\n display: block;\n}\n/* The change box's hint (#7803 #7878): one quiet line under the box while the\n person types, in the queue note's muted voice, whose button is the second door. */\n[data-vibe-menu] .vm-door-line {\n margin: -10px 0 12px 18px;\n font-size: 12px;\n line-height: 18px;\n color: var(--muted);\n}\n/* A refused empty Send's idea (#7916): one idea, one row, ellipsized. */\n[data-vibe-menu] .vm-door-line[data-refused-send-idea] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n[data-vibe-menu] .vm-door-line .vm-door {\n all: unset;\n cursor: pointer;\n color: var(--ink);\n text-decoration: underline;\n text-underline-offset: 2px;\n text-decoration-color: var(--muted);\n}\n/* Yes waits while a staged photo is still processing, so it goes with the words. */\n[data-vibe-menu] .vm-door-line .vm-door:disabled {\n cursor: default;\n color: var(--muted);\n}\n/* The idea's button is one unbreakable inline box, so on a phone the whole\n button overflowed the line and became its \"\u2026\" (#8646). Bounded to the room\n after \"Try:\", it ellipsizes its own tail and the idea stays readable. */\n[data-vibe-menu] .vm-door-line[data-refused-send-idea] .vm-door {\n display: inline-block;\n max-width: calc(100% - 3em);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n vertical-align: bottom;\n}\n/* #9548: each held Enter remounts the door line, which lights\n once, so a repeated press reads as answered too. */\n[data-vibe-menu] .vm-door-line[data-answer] {\n color: var(--ink);\n animation: vm-door-answer 0.6s ease-out;\n}\n@keyframes vm-door-answer {\n from {\n background: color-mix(in srgb, var(--accent) 30%, transparent);\n }\n}\n@media (prefers-reduced-motion: reduce) {\n [data-vibe-menu] .vm-door-line[data-answer] {\n animation: none;\n }\n}\n[data-vibe-menu] .vm-door-line .vm-door:focus-visible {\n outline: 2px solid var(--ink);\n outline-offset: 2px;\n border-radius: 2px;\n}\n[data-vibe-menu] .vm-composer.is-phone textarea {\n margin-right: var(--space-6);\n font-size: 16px;\n}\n[data-vibe-menu] .vm-composer.is-phone .vm-attach {\n margin-left: 4px;\n width: 28px;\n}\n[data-vibe-menu] .vm-composer.is-phone .vm-cap {\n padding: 0 var(--space-18) 0 var(--space-14);\n}\n\n/* ---------- Row: the bar's tab grammar inside the card ---------- */\n[data-vibe-menu] .vm-group {\n border-top: var(--stroke-rule) solid var(--line-card);\n margin: 0 calc(-1 * var(--space-16));\n}\n[data-vibe-menu] .vm-group.is-flush {\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n}\n[data-vibe-menu] .vm-row {\n display: flex;\n align-items: center;\n gap: var(--space-12);\n width: 100%;\n height: var(--size-row);\n padding: 0 var(--space-16);\n}\n[data-vibe-menu] .vm-row.is-compact {\n height: var(--size-row-compact);\n}\n[data-vibe-menu] .vm-row + .vm-row {\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n}\n[data-vibe-menu] .vm-row .vm-label {\n flex: 1;\n}\n[data-vibe-menu] .vm-row-tag {\n display: inline-block;\n margin-left: var(--space-8);\n padding: 2px 6px;\n border-radius: var(--radius-full);\n background: var(--ink);\n color: var(--card-bg);\n font: 700 10px/1.2 var(--font-tab);\n letter-spacing: 0.08em;\n vertical-align: middle;\n}\n[data-vibe-menu] .vm-dot {\n width: var(--size-icon-circle);\n height: var(--size-icon-circle);\n border-radius: 50%;\n background: var(--ink);\n color: var(--card-bg);\n display: grid;\n place-items: center;\n flex: none;\n}\n[data-vibe-menu] button.vm-row:hover .vm-dot:not(.vm-app),\n[data-vibe-menu] .vm-row.is-hover .vm-dot:not(.vm-app) {\n background: var(--accent);\n color: var(--on-accent);\n}\n[data-vibe-menu] .vm-row.is-quiet .vm-dot {\n background: transparent;\n color: var(--ink);\n box-shadow: inset 0 0 0 2px var(--line-card);\n}\n[data-vibe-menu] .vm-row[aria-disabled=\"true\"] {\n opacity: 0.35;\n cursor: default;\n}\n[data-vibe-menu] .vm-row[aria-disabled=\"true\"] .vm-dot {\n background: var(--ink) !important;\n color: var(--card-bg) !important;\n}\n[data-vibe-menu] .vm-app,\n[data-vibe-menu] .vm-initial {\n font: 700 12px/1 var(--font-tab);\n box-shadow: inset 0 0 0 2px var(--line-card);\n}\n[data-vibe-menu] .vm-app {\n background: var(--app);\n color: var(--menu-ink);\n}\n[data-vibe-menu] .vm-initial {\n background: transparent;\n color: var(--ink);\n}\n[data-vibe-menu] .vm-chev {\n display: grid;\n color: var(--muted);\n transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);\n}\n[data-vibe-menu] .vm-chev.is-open {\n transform: rotate(90deg);\n}\n[data-vibe-menu] .vm-count {\n font: 700 12px/1 var(--font-tab);\n letter-spacing: 0.08em;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-count.is-handle {\n max-width: 45%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n letter-spacing: 0.02em;\n}\n[data-vibe-menu] .vm-switch {\n position: relative;\n width: var(--size-switch-w);\n height: 20px;\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-switch);\n flex: none;\n}\n[data-vibe-menu] .vm-switch::after {\n content: \"\";\n position: absolute;\n top: 2px;\n left: 2px;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--ink);\n}\n[data-vibe-menu] .vm-switch.is-on {\n background: var(--accent);\n}\n[data-vibe-menu] .vm-switch.is-on::after {\n left: 18px;\n}\n\n/* ---------- BackRow and DoneButton: a drill-in's frame ---------- */\n[data-vibe-menu] .vm-back {\n display: flex;\n align-items: center;\n gap: var(--space-12);\n width: calc(100% + 2 * var(--space-16));\n height: var(--size-row-compact);\n margin: 0 calc(-1 * var(--space-16));\n padding: 0 var(--space-16);\n border-top: var(--stroke-rule) solid var(--line-card);\n border-bottom: var(--stroke-hairline) solid var(--line-hairline);\n}\n/* A drill that replaces the whole card body (Share, Account) sits on the card's\n top edge, which the outline already draws: no rule, and it takes the body's\n top padding so no empty band shows above it (cards-hero.css .card-title + .h-back). */\n[data-vibe-menu] .vm-back.is-top {\n margin-top: calc(-1 * var(--space-14));\n border-top: 0;\n}\n[data-vibe-menu] .vm-back .vm-label {\n flex: none;\n}\n[data-vibe-menu] .vm-back-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font: 400 16px/1.1 var(--font-display);\n color: var(--muted);\n}\n[data-vibe-menu] .vm-back:hover .vm-dot,\n[data-vibe-menu] .vm-back.is-hover .vm-dot {\n background: var(--accent);\n color: var(--on-accent);\n}\n[data-vibe-menu] .vm-drill {\n padding-top: var(--space-14);\n}\n[data-vibe-menu] .vm-drill-sec + .vm-drill-sec {\n margin-top: var(--space-14);\n}\n[data-vibe-menu] .vm-drill-line {\n margin: 0 0 var(--space-14);\n font: 700 18px/1.25 var(--font-display);\n letter-spacing: -0.01em;\n}\n[data-vibe-menu] .vm-done {\n display: block;\n width: 100%;\n height: var(--size-row-compact);\n margin-top: var(--space-16);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-done);\n background: var(--accent);\n color: var(--on-accent);\n text-align: center;\n font: 700 14px/1 var(--font-tab);\n letter-spacing: 0.08em;\n text-transform: uppercase;\n cursor: pointer;\n}\n[data-vibe-menu] .vm-textbtn {\n display: block;\n width: 100%;\n height: 40px;\n margin-top: var(--space-4);\n text-align: center;\n font: 700 12px/1 var(--font-tab);\n letter-spacing: 0.1em;\n text-transform: uppercase;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-textbtn:hover {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-faq {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--space-12);\n width: 100%;\n padding: var(--space-12) 0;\n font: 400 16px/1.3 var(--font-display);\n}\n[data-vibe-menu] .vm-faq + .vm-faq {\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n}\n\n/* ---------- MomentLine: the current moment ---------- */\n[data-vibe-menu] .vm-moments {\n display: flex;\n flex-direction: column;\n gap: var(--space-8);\n}\n[data-vibe-menu] .vm-moment {\n margin: 0;\n font: 400 16px/1.3 var(--font-display);\n color: var(--ink);\n}\n[data-vibe-menu] .vm-moment.is-pinned {\n padding: var(--space-10) var(--space-12) var(--space-12) var(--space-14);\n border: var(--stroke-rule) solid var(--line-card);\n border-left: var(--size-band) solid var(--accent);\n border-radius: var(--radius-moment);\n}\n/* A primary pinned item's main action (#7782): the full-width pill, then its quiet second ways. */\n[data-vibe-menu] .vm-moment.is-pinned > .vm-ask + .vm-moment-actions {\n margin-top: var(--space-10);\n}\n[data-vibe-menu] .vm-moment-actions:empty {\n display: none;\n}\n[data-vibe-menu] .vm-moment-text {\n margin: 0 0 var(--space-10);\n text-wrap: pretty;\n}\n/* The credits wall as a next step (#8721): eyebrow, headline, the money pill and\n its statement line, a member's Auto top-up, then the balance as quiet facts. */\n[data-vibe-menu] .vm-moment.is-next-step > .vm-kicker {\n margin: 0 0 var(--space-4);\n}\n[data-vibe-menu] .vm-moment.is-next-step > .vm-pay-note {\n margin: var(--space-8) 0 0;\n font-size: 11px;\n}\n/* #9291: the held Send under the card is the pill, so the statement line follows the words. */\n[data-vibe-menu] .vm-moment.is-next-step[data-pay-in-composer] > .vm-pay-note {\n margin-top: 0;\n}\n[data-vibe-menu] .vm-moment.is-next-step > .vm-next-notice {\n margin: var(--space-8) 0 0;\n}\n[data-vibe-menu] .vm-moment.is-next-step > .vm-moment-actions {\n margin-top: var(--space-10);\n}\n[data-vibe-menu] .vm-moment.is-next-step > .vm-next-facts {\n margin: var(--space-12) 0 0;\n}\n/* A pinned heads-up (#6816): the summary line's muted voice, its action a text link. */\n[data-vibe-menu] .vm-moment.is-quiet {\n padding: 0 var(--space-2);\n font-size: 14px;\n color: var(--muted);\n text-wrap: pretty;\n}\n[data-vibe-menu] button.vm-moment-link {\n margin: 0;\n padding: 0;\n border: 0;\n background: none;\n cursor: pointer;\n}\n[data-vibe-menu] .vm-moment-actions {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-6);\n}\n[data-vibe-menu] .vm-moment-hint {\n font-size: 12px;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-moment.is-progress,\n[data-vibe-menu] .vm-moment.is-summary {\n display: flex;\n align-items: center;\n gap: var(--space-10);\n padding: 0 var(--space-2);\n}\n[data-vibe-menu] .vm-moment.is-summary {\n color: var(--muted);\n}\n[data-vibe-menu] .vm-moment.is-expander {\n width: 100%;\n gap: var(--space-8);\n}\n[data-vibe-menu] .vm-moment.is-expander:hover {\n color: var(--ink);\n}\n/* The live line's link (the first build's real address, #6451 S9c): pointer\n events back on, since the layer takes no hits of its own. */\n[data-vibe-menu] .vm-moment-link {\n display: inline-block;\n margin: 0 var(--space-2);\n font: 400 14px/1.3 var(--font-display);\n color: var(--ink);\n text-decoration: underline;\n text-underline-offset: 3px;\n overflow-wrap: anywhere;\n pointer-events: auto;\n}\n[data-vibe-menu] .vm-live .vm-chev {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-log-clip {\n overflow: hidden;\n}\n/* Port addition (RULINGS R1): the log clip is always rendered (RECONCILE \u00A75c),\n so the base stylesheet owns its shut and open states. The shell's per-frame\n tween (T11) writes an inline height, which overrides these during motion.\n C's VIBE_MENU_SHELL_CSS does not repeat them. */\n[data-vibe-menu] .vm-log-clip[data-open=\"false\"] {\n height: 0;\n overflow: hidden;\n}\n[data-vibe-menu] .vm-log-clip[data-open=\"true\"] {\n height: auto;\n /* Known adjustment (plan header): room for .vm-log's own 160px cap plus its\n 8px margin-top and two hairline borders, so the clip never scrolls on top\n of the log. */\n max-height: calc(var(--size-log-max, 160px) + var(--space-8) + 2 * var(--stroke-hairline));\n overflow: auto;\n /* Smoke F15: the shell's height tween makes the clip overflow for a moment;\n .vm-log scrolls itself, so the clip never shows a bar. */\n scrollbar-width: none;\n}\n[data-vibe-menu] .vm-log-clip[data-open=\"true\"]::-webkit-scrollbar {\n display: none;\n}\n/* The peek (owner 2026-10-16): a send opens the fold about two lines high, the\n person's own words its last visible line, before the composer has cleared.\n The triangle stays folded; the peek is an invite (a tap, a wheel or a swipe in\n it opens the full log, MomentLine). Its column is bottom-aligned so the\n overflow falls off the top, and its inner scrollers cap at the same height\n so their bottom pin shows the newest line. Never part of the open\n [data-history] flex chain below. */\n[data-vibe-menu] .vm-log-clip[data-open=\"peek\"] {\n height: auto;\n max-height: var(--size-log-peek);\n overflow: hidden;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n cursor: pointer;\n -webkit-mask-image: linear-gradient(to bottom, transparent, var(--ink) 14px);\n mask-image: linear-gradient(to bottom, transparent, var(--ink) 14px);\n}\n[data-vibe-menu] .vm-log-clip[data-open=\"peek\"] > * {\n flex: none;\n}\n[data-vibe-menu] .vm-log-clip[data-open=\"peek\"] .vm-log,\n[data-vibe-menu] .vm-log-clip[data-open=\"peek\"] .vm-agent-history {\n max-height: var(--size-log-peek);\n overflow-y: hidden;\n}\n[data-vibe-menu] .vm-log-clip[data-open=\"peek\"] .vm-suggestions {\n display: none;\n}\n/* The fold over the full chat (slots.agentLog): the history caps and scrolls\n itself (AgentLogHistory's compact box), so the clip drops the flat log's cap. */\n[data-vibe-menu] .vm-log-clip[data-open=\"true\"][data-history] {\n max-height: none;\n overflow: hidden;\n}\n[data-vibe-menu] .vm-log-history {\n margin-top: var(--space-8);\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n border-bottom: var(--stroke-hairline) solid var(--line-hairline);\n}\n/* One scroller: the tab-row card with the full chat open. The history's own\n cap (AgentLogHistory's compact box) knows nothing of what else the card\n holds, and the first build's request headline can take a third of it: the\n card then overflowed and scrolled too, the composer slid under the row, and\n the chat's end was out of reach. Here the card is a column whose fold gives\n up exactly what the card lacks, so the history scrolls and the card never\n does. Everything else in the card keeps its own height. */\n[data-vibe-menu] .vm-card:has(.vm-ctab .vm-log-clip[data-open=\"true\"][data-history]) {\n display: flex;\n flex-direction: column;\n}\n[data-vibe-menu] .vm-card:has(.vm-ctab .vm-log-clip[data-open=\"true\"][data-history])::before {\n flex: none;\n}\n[data-vibe-menu] .vm-card:has(.vm-ctab .vm-log-clip[data-open=\"true\"][data-history]) .vm-card-body,\n[data-vibe-menu] .vm-ctab:has(.vm-log-clip[data-open=\"true\"][data-history]),\n[data-vibe-menu] .vm-ctab .vm-moments:has(.vm-log-clip[data-open=\"true\"][data-history]),\n[data-vibe-menu] .vm-ctab .vm-live:has(.vm-log-clip[data-open=\"true\"][data-history]),\n[data-vibe-menu] .vm-ctab .vm-log-clip[data-open=\"true\"][data-history],\n[data-vibe-menu] .vm-ctab .vm-log-clip[data-open=\"true\"][data-history] .vm-log-history {\n display: flex;\n flex-direction: column;\n flex: 0 1 auto;\n min-height: 0;\n}\n[data-vibe-menu] .vm-ctab .vm-log-clip[data-open=\"true\"][data-history] .vm-log-history > * {\n min-height: 0;\n}\n[data-vibe-menu] .vm-ctab:has(.vm-log-clip[data-open=\"true\"][data-history]) > :not(.vm-moments),\n[data-vibe-menu] .vm-ctab .vm-live:has(.vm-log-clip[data-open=\"true\"][data-history]) > :not(.vm-log-clip) {\n flex-shrink: 0;\n}\n[data-vibe-menu] .vm-agent-history-tail {\n padding: var(--space-10) 4px var(--space-14) var(--space-24);\n}\n/* Suggestions at the end of the chat: wrapped inline links, not chips. */\n[data-vibe-menu] .vm-suggestions.is-inline {\n gap: var(--space-6) var(--space-14);\n margin-bottom: 0;\n}\n[data-vibe-menu] .vm-suggestions.is-inline .vm-suggest {\n min-height: 0;\n padding: 0;\n border: none;\n border-radius: 0;\n background: none;\n text-decoration: underline;\n text-decoration-color: var(--suggest-border);\n text-decoration-thickness: 1px;\n text-underline-offset: 3px;\n}\n[data-vibe-menu] .vm-suggestions.is-inline .vm-suggest:hover,\n[data-vibe-menu] .vm-suggestions.is-inline .vm-suggest.is-hover,\n[data-vibe-menu] .vm-suggestions.is-inline .vm-suggest.is-gold {\n background: none;\n text-decoration-color: currentColor;\n}\n[data-vibe-menu] .vm-log {\n max-height: var(--size-log-max);\n overflow-y: auto;\n overscroll-behavior: contain;\n display: flex;\n flex-direction: column;\n gap: var(--space-6);\n margin-top: var(--space-8);\n padding: var(--space-10) 4px var(--space-10) var(--space-24);\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n border-bottom: var(--stroke-hairline) solid var(--line-hairline);\n font-size: 13.5px;\n line-height: 1.35;\n}\n[data-vibe-menu] .vm-log-line {\n margin: 0;\n}\n[data-vibe-menu] .vm-log-line:first-child {\n margin-top: auto;\n}\n[data-vibe-menu] .vm-log-line b {\n font: 700 10px/1 var(--font-tab);\n letter-spacing: 0.1em;\n text-transform: uppercase;\n color: var(--muted);\n margin-right: 4px;\n}\n\n/* ---------- AccessToggle: Restricted | Public and its line ---------- */\n[data-vibe-menu] .vm-access {\n display: flex;\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-full);\n overflow: hidden;\n}\n[data-vibe-menu] .vm-access button {\n flex: 1;\n height: var(--size-bar);\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--space-10);\n text-align: center;\n font: 700 24px/1 var(--font-display);\n letter-spacing: -0.02em;\n color: var(--ink);\n}\n[data-vibe-menu] .vm-access button + button {\n border-left: var(--stroke-rule) solid var(--line-card);\n}\n[data-vibe-menu] .vm-access button.is-active {\n background: var(--accent);\n color: var(--on-accent);\n}\n[data-vibe-menu] .vm-access button:not(.is-active):hover {\n background: color-mix(in srgb, var(--accent) 20%, transparent);\n}\n/* Settings still loading (preflight ruling P14): dimmed and inert. */\n[data-vibe-menu] .vm-access[aria-disabled=\"true\"] {\n opacity: var(--opacity-row-disabled);\n}\n[data-vibe-menu] .vm-access[aria-disabled=\"true\"] button {\n cursor: default;\n}\n[data-vibe-menu] .vm-access[aria-disabled=\"true\"] button:not(.is-active):hover {\n background: transparent;\n}\n[data-vibe-menu] .vm-access-line {\n display: flex;\n align-items: center;\n gap: var(--space-10);\n min-height: var(--size-access-line);\n margin: var(--space-10) 0 var(--space-12);\n padding: var(--space-6) var(--space-6) var(--space-6) var(--space-14);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-access-line);\n background: var(--share-tint);\n font-size: 16.5px;\n line-height: 1.25;\n}\n[data-vibe-menu] .vm-access-line > span {\n flex: 1;\n min-width: 0;\n}\n[data-vibe-menu] .vm-access-line .vm-glyph {\n width: 16px;\n height: 16px;\n}\n[data-vibe-menu] .vm-publish {\n display: flex;\n align-items: center;\n gap: var(--space-8);\n padding: 5px 5px 5px var(--space-10);\n border: var(--stroke-rule) solid var(--line-card);\n border-left: var(--size-band) solid var(--accent);\n border-radius: var(--radius-moment);\n}\n[data-vibe-menu] .vm-publish b {\n font: 700 11px/1 var(--font-tab);\n letter-spacing: 0.1em;\n text-transform: uppercase;\n}\n[data-vibe-menu] .vm-publish span {\n flex: 1;\n min-width: 0;\n font-size: 13px;\n line-height: 1.25;\n color: var(--muted);\n}\n\n/* ---------- GrantControls ---------- */\n[data-vibe-menu] .vm-seg {\n display: flex;\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-full);\n overflow: hidden;\n}\n[data-vibe-menu] .vm-seg button {\n flex: 1;\n height: var(--size-segment);\n text-align: center;\n font-size: 11px;\n}\n[data-vibe-menu] .vm-seg button + button {\n border-left: var(--stroke-rule) solid var(--line-card);\n}\n[data-vibe-menu] .vm-seg button.is-active {\n background: var(--accent);\n color: var(--on-accent);\n}\n[data-vibe-menu] .vm-seg.is-mini {\n margin: 0;\n border-width: var(--stroke-mini);\n}\n[data-vibe-menu] .vm-seg.is-mini button {\n flex: none;\n height: var(--size-segment-mini);\n padding: 0 var(--space-8);\n font-size: 10px;\n}\n[data-vibe-menu] .vm-seg.is-mini button + button {\n border-left-width: var(--stroke-mini);\n}\n[data-vibe-menu] .vm-grants {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-6) var(--space-12);\n}\n[data-vibe-menu] .vm-grant-ctl {\n display: flex;\n align-items: center;\n gap: 5px;\n}\n[data-vibe-menu] .vm-grant-name {\n font: 700 10px/1 var(--font-tab);\n letter-spacing: 0.12em;\n text-transform: uppercase;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-grant-fixed {\n font: 700 10px/1 var(--font-tab);\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--ink);\n}\n\n/* ---------- MemberRow ---------- */\n[data-vibe-menu] .vm-input {\n width: 100%;\n height: var(--size-input);\n margin-bottom: var(--space-14);\n padding: 0 var(--space-18);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-input);\n background: transparent;\n color: var(--ink);\n font: inherit;\n}\n[data-vibe-menu] .vm-members-head {\n margin-top: 0;\n padding: 2px 0 var(--space-8);\n}\n[data-vibe-menu] .vm-members-head + .vm-input,\n[data-vibe-menu] .vm-members-head + .vm-invite .vm-input {\n height: 40px;\n margin-bottom: var(--space-8);\n}\n/* The invite field's handle typeahead (HandleLookupView): its dropdown wears\n the menu's own tokens in both themes, over the view's inline defaults. */\n[data-vibe-menu] .vm-invite [role=\"listbox\"] {\n background: var(--card-bg) !important;\n border: var(--stroke-rule) solid var(--line-card) !important;\n color: var(--ink) !important;\n}\n[data-vibe-menu] .vm-invite [role=\"option\"] {\n color: var(--ink) !important;\n font: inherit;\n}\n[data-vibe-menu] .vm-invite [role=\"option\"][aria-selected=\"true\"] {\n background: color-mix(in srgb, var(--ink) 10%, transparent) !important;\n}\n[data-vibe-menu] .vm-person {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-8) var(--space-12);\n padding: var(--space-6) 0;\n}\n[data-vibe-menu] .vm-person + .vm-person {\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n}\n[data-vibe-menu] .vm-person .vm-label {\n flex: 1;\n min-width: 0;\n}\n[data-vibe-menu] .vm-request {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-8) var(--space-12);\n margin-bottom: 2px;\n padding: var(--space-10) var(--space-12);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-card);\n background: var(--share-tint-strong);\n}\n[data-vibe-menu] .vm-request-top {\n flex: 1 0 auto;\n}\n[data-vibe-menu] .vm-request-actions {\n display: flex;\n gap: var(--space-6);\n margin-left: auto;\n}\n[data-vibe-menu] .vm-who-block > .vm-row {\n width: calc(100% + 2 * var(--space-16));\n margin: 2px calc(-1 * var(--space-16)) 0;\n border-top: var(--stroke-hairline) solid var(--line-hairline);\n}\n[data-vibe-menu] .vm-narrow .vm-person .vm-grants,\n[data-vibe-menu] .vm-narrow .vm-request-top {\n flex-basis: 100%;\n}\n[data-vibe-menu] .vm-narrow .vm-person .vm-grants,\n[data-vibe-menu] .vm-narrow .vm-request .vm-grants {\n column-gap: var(--space-10);\n}\n/* stacking, as the prototype: card < bar < outline < glass and pill */\n[data-vibe-menu] .vm-frame .vm-card {\n z-index: 1;\n}\n[data-vibe-menu] .vm-frame .vm-strip {\n z-index: 2;\n}\n[data-vibe-menu] .vm-frame .vm-outline {\n z-index: 3;\n}\n[data-vibe-menu] .vm-frame .vm-glass {\n z-index: 4;\n}\n[data-vibe-menu] .vm-refresh {\n display: grid;\n place-items: center;\n width: var(--size-icon-circle);\n height: var(--size-icon-circle);\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: 50%;\n color: var(--ink);\n}\n[data-vibe-menu] .vm-refresh:hover {\n background: var(--accent);\n color: var(--on-accent);\n}\n\n/* ---------- port additions: not in bundle.css ---------- */\n/* Sign-in providers (the inline sign-up drill): each brand's own mark on a\n white disc, so the logo reads the way its owner draws it on any card theme. */\n[data-vibe-menu] .vm-providers {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-14);\n margin-bottom: var(--space-4);\n}\n[data-vibe-menu] .vm-provider {\n position: relative;\n display: grid;\n place-items: center;\n width: 48px;\n height: 48px;\n padding: 0;\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: 50%;\n background: var(--provider-disc);\n color: var(--provider-ink);\n cursor: pointer;\n flex: none;\n}\n[data-vibe-menu] .vm-provider svg {\n width: 22px;\n height: 22px;\n}\n[data-vibe-menu] .vm-provider[aria-disabled=\"true\"] {\n opacity: var(--opacity-row-disabled);\n cursor: default;\n}\n[data-vibe-menu] .vm-provider.is-pending {\n opacity: 1;\n animation: vm-provider-pulse 1.2s ease-in-out infinite;\n}\n[data-vibe-menu] .vm-provider-tag {\n position: absolute;\n top: -8px;\n left: 50%;\n transform: translateX(-50%);\n padding: 1px 6px;\n border: var(--stroke-rule) solid var(--line-card);\n border-radius: var(--radius-full);\n background: var(--accent);\n color: var(--on-accent);\n font-size: 8px;\n font-weight: 700;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n white-space: nowrap;\n}\n[data-vibe-menu] .vm-provider-status {\n display: flex;\n align-items: center;\n gap: var(--space-16);\n margin: var(--space-4) 0 var(--space-14) var(--space-4);\n}\n[data-vibe-menu] .vm-provider-status > div {\n min-width: 0;\n}\n/* The way back out of a provider that is opening: BackRow's dot and label,\n inline in the drill body rather than across the card's top edge. */\n[data-vibe-menu] .vm-back.is-inline {\n width: auto;\n height: var(--size-icon-circle);\n margin: 0;\n padding: 0;\n border: 0;\n background: none;\n color: var(--ink);\n cursor: pointer;\n}\n[data-vibe-menu] .vm-provider-status .vm-sub {\n margin: 0;\n}\n/* A switch the platform just flipped for the owner (a Pro checkout from the\n remix switch): lit for a moment so the change reads where it happened. */\n[data-vibe-menu] .vm-group.is-just-flipped {\n border-radius: var(--radius-card);\n animation: vm-just-flipped 1.2s ease-in-out 3;\n}\n@keyframes vm-just-flipped {\n 50% {\n box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 45%, transparent);\n }\n}\n@media (prefers-reduced-motion: reduce) {\n [data-vibe-menu] .vm-group.is-just-flipped {\n animation: none;\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent);\n }\n}\n@keyframes vm-provider-pulse {\n 50% {\n box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent);\n }\n}\n@media (prefers-reduced-motion: reduce) {\n [data-vibe-menu] .vm-provider.is-pending {\n animation: none;\n }\n}\n/* Rows and the action pill can be links (Home's rows, the credits action). */\n[data-vibe-menu] :where(a.vm-row, a.vm-ask) {\n color: inherit;\n text-decoration: none;\n}\n[data-vibe-menu] a.vm-row:hover .vm-dot:not(.vm-app) {\n background: var(--accent);\n color: var(--on-accent);\n}\n/* A member's name drills into that member (spec \u00A78). */\n[data-vibe-menu] .vm-person button.vm-label {\n text-align: left;\n}\n[data-vibe-menu] .vm-chip[aria-disabled=\"true\"],\n[data-vibe-menu] .vm-cap:disabled,\n[data-vibe-menu] .vm-composer .vm-attach:disabled {\n opacity: var(--opacity-row-disabled);\n cursor: default;\n}\n/* Staged attachments above the composer: name chips, no emoji. */\n[data-vibe-menu] .vm-attachments {\n margin-bottom: var(--space-8);\n}\n[data-vibe-menu] .vm-attachments .vm-chip {\n display: inline-flex;\n align-items: center;\n gap: var(--space-6);\n max-width: 220px;\n}\n[data-vibe-menu] .vm-attachments .vm-chip > span:last-child {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n/* A staged photo shows itself: a small rounded picture beside its name. */\n[data-vibe-menu] .vm-attachments .vm-chip-thumb {\n flex: none;\n width: 20px;\n height: 20px;\n border-radius: 5px;\n object-fit: cover;\n margin-left: -4px;\n}\n[data-vibe-menu] .vm-attachments .vm-chip[data-status=\"error\"] {\n border-color: var(--section-account);\n}\n/* The one left-out sentence after a pick past the cap (#7622): the queue\n note's voice, tucked under the chips it talks about. */\n[data-vibe-menu] .vm-attach-note {\n margin: -2px 0 10px 4px;\n font-size: 12px;\n line-height: 1.4;\n color: var(--muted);\n}\n/* A suggestion's fast-path marks (RULINGS O4, production #2917 decorateChip).\n Siblings of .vm-suggest, since a button can't nest a button. The owner's\n toggle (FastPathToggle) is outline when not blessed, filled when blessed\n (aria-pressed); the badges are the marks every viewer sees. */\n[data-vibe-menu] .vm-suggest-item {\n display: inline-flex;\n align-items: center;\n gap: var(--space-2);\n max-width: 100%;\n min-width: 0;\n}\n[data-vibe-menu] .vm-suggest-item > * {\n flex: none;\n}\n[data-vibe-menu] .vm-suggest-item > .vm-suggest {\n flex: 0 1 auto;\n}\n[data-vibe-menu] .vm-suggest-shield {\n width: var(--size-chip);\n height: var(--size-chip);\n display: inline-grid;\n place-items: center;\n border-radius: var(--radius-full);\n background: none;\n color: var(--muted);\n}\n[data-vibe-menu] .vm-suggest-shield:hover {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-suggest-shield[aria-pressed=\"true\"] {\n color: var(--ink);\n}\n[data-vibe-menu] .vm-suggest-shield[aria-pressed=\"true\"] .vm-glyph {\n fill: currentColor;\n}\n/* The non-interactive marks every viewer sees (production ChipShieldBadge,\n ChipJumpBadge): a filled shield (\"stays in this app\", server-authoritative)\n or an arrow (\"opens another app\"). Never both on one chip. */\n[data-vibe-menu] .vm-suggest-badge {\n width: var(--size-chip);\n height: var(--size-chip);\n display: inline-grid;\n place-items: center;\n color: var(--ink);\n}\n[data-vibe-menu] .vm-suggest-badge.is-shield .vm-glyph {\n fill: currentColor;\n}\n[data-vibe-menu] .vm-suggest-badge.is-jump {\n color: var(--muted);\n}\n\n/* ---------- phones (cards-hero.css): the menu's width, not the viewport ---------- */\n@container vibe-menu (max-width: 480px) {\n [data-vibe-menu] .vm-ask {\n font-size: 18px;\n }\n /* the field keeps 16px (iOS zooms smaller fields); attach slims instead */\n [data-vibe-menu] .vm-composer textarea {\n margin-right: var(--space-6);\n font-size: 16px;\n }\n [data-vibe-menu] .vm-composer .vm-attach {\n margin-left: 4px;\n width: 28px;\n }\n [data-vibe-menu] .vm-cap {\n padding: 0 var(--space-18) 0 var(--space-14);\n }\n [data-vibe-menu] .vm-access button {\n font-size: 21px;\n }\n /* the access line keeps its sentence to two lines beside the chip */\n [data-vibe-menu] .vm-access-line {\n padding-left: 12px;\n gap: 8px;\n font-size: 15.5px;\n }\n [data-vibe-menu] .vm-access-line .vm-chip.vm-copy {\n padding: 0 10px;\n }\n /* Data and Code drop under the handle on one line (two on the narrowest) */\n [data-vibe-menu] .vm-person .vm-grants {\n flex-basis: 100%;\n column-gap: var(--space-10);\n }\n [data-vibe-menu] .vm-request .vm-grants {\n column-gap: var(--space-10);\n }\n [data-vibe-menu] .vm-request-top {\n flex-basis: 100%;\n }\n [data-vibe-menu] .vm-input {\n font-size: 16px;\n }\n}\n@container vibe-menu (max-width: 359px) {\n [data-vibe-menu] .vm-access button {\n font-size: 19px;\n }\n /* the line drops its icon here: the enclosure already marks it */\n [data-vibe-menu] .vm-access-line > .vm-glyph {\n display: none;\n }\n [data-vibe-menu] .vm-access-line {\n margin: 8px 0 10px;\n font-size: 14.5px;\n }\n [data-vibe-menu] .vm-access-line .vm-chip.vm-copy {\n padding: 0 8px;\n }\n /* the cap and attach slim so the field keeps room (REMIX THIS stays one line) */\n [data-vibe-menu] .vm-cap {\n padding: 0 13px 0 10px;\n letter-spacing: 0.05em;\n }\n [data-vibe-menu] .vm-composer .vm-attach {\n margin-left: 3px;\n width: 24px;\n }\n /* 16px, not the prototype's 14px: no text field under 16px on phones (spec \u00A74.5) */\n [data-vibe-menu] .vm-composer textarea {\n margin: 0 4px 0 0;\n font-size: 16px;\n }\n [data-vibe-menu] .vm-chip.vm-copy {\n padding: 0 10px;\n letter-spacing: 0.06em;\n }\n}\n";
|
|
5
5
|
export declare function VibeMenuStyles(): React.ReactElement;
|
|
6
6
|
export declare function useLiveMenuSheet(): void;
|
|
7
7
|
export declare function DetachedVibeMenuStyles(): React.ReactElement | null;
|
|
@@ -914,6 +914,11 @@ export const VIBE_MENU_CSS = `
|
|
|
914
914
|
text-underline-offset: 2px;
|
|
915
915
|
text-decoration-color: var(--muted);
|
|
916
916
|
}
|
|
917
|
+
/* Yes waits while a staged photo is still processing, so it goes with the words. */
|
|
918
|
+
[data-vibe-menu] .vm-door-line .vm-door:disabled {
|
|
919
|
+
cursor: default;
|
|
920
|
+
color: var(--muted);
|
|
921
|
+
}
|
|
917
922
|
/* The idea's button is one unbreakable inline box, so on a phone the whole
|
|
918
923
|
button overflowed the line and became its "…" (#8646). Bounded to the room
|
|
919
924
|
after "Try:", it ellipsizes its own tail and the idea stays readable. */
|
|
@@ -1808,6 +1813,15 @@ export const VIBE_MENU_CSS = `
|
|
|
1808
1813
|
text-overflow: ellipsis;
|
|
1809
1814
|
white-space: nowrap;
|
|
1810
1815
|
}
|
|
1816
|
+
/* A staged photo shows itself: a small rounded picture beside its name. */
|
|
1817
|
+
[data-vibe-menu] .vm-attachments .vm-chip-thumb {
|
|
1818
|
+
flex: none;
|
|
1819
|
+
width: 20px;
|
|
1820
|
+
height: 20px;
|
|
1821
|
+
border-radius: 5px;
|
|
1822
|
+
object-fit: cover;
|
|
1823
|
+
margin-left: -4px;
|
|
1824
|
+
}
|
|
1811
1825
|
[data-vibe-menu] .vm-attachments .vm-chip[data-status="error"] {
|
|
1812
1826
|
border-color: var(--section-account);
|
|
1813
1827
|
}
|
package/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from "./attachments/attachment-types.js";
|
|
|
15
15
|
export * from "./attachments/process-attachment.js";
|
|
16
16
|
export * from "./attachments/use-attachments.js";
|
|
17
17
|
export * from "./attachments/composer-file-drop.js";
|
|
18
|
+
export * from "./attachments/composer-file-paste.js";
|
|
18
19
|
export * from "./attachments/held-attachments.js";
|
|
19
20
|
export type { ImageDocument, PartialImageDocument } from "@vibes.diy/vibe-types";
|
|
20
21
|
export { resolveBuilderOrigin, resolveBuilderOriginFrom, VIBES_DIY_BUILDER_URL } from "@vibes.diy/vibe-runtime";
|
package/index.js
CHANGED
|
@@ -13,5 +13,6 @@ export * from "./attachments/attachment-types.js";
|
|
|
13
13
|
export * from "./attachments/process-attachment.js";
|
|
14
14
|
export * from "./attachments/use-attachments.js";
|
|
15
15
|
export * from "./attachments/composer-file-drop.js";
|
|
16
|
+
export * from "./attachments/composer-file-paste.js";
|
|
16
17
|
export * from "./attachments/held-attachments.js";
|
|
17
18
|
export { resolveBuilderOrigin, resolveBuilderOriginFrom, VIBES_DIY_BUILDER_URL } from "@vibes.diy/vibe-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/base",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.459",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@adviser/cement": "~0.5.37",
|
|
12
12
|
"@emotion/css": "~11.13.5",
|
|
13
|
-
"@vibes.diy/api-types": "14.3.
|
|
14
|
-
"@vibes.diy/use-vibes-types": "14.3.
|
|
15
|
-
"@vibes.diy/vibe-runtime": "14.3.
|
|
16
|
-
"@vibes.diy/vibe-types": "14.3.
|
|
13
|
+
"@vibes.diy/api-types": "14.3.459",
|
|
14
|
+
"@vibes.diy/use-vibes-types": "14.3.459",
|
|
15
|
+
"@vibes.diy/vibe-runtime": "14.3.459",
|
|
16
|
+
"@vibes.diy/vibe-types": "14.3.459",
|
|
17
17
|
"arktype": "~2.2.10",
|
|
18
18
|
"officeparser": "~8.9.0",
|
|
19
19
|
"qrcode-generator": "~2.0.4",
|
package/theme/tokens.d.ts
CHANGED
|
@@ -21,6 +21,11 @@ export declare const colors: {
|
|
|
21
21
|
readonly cyanNeon: "#22d3ee";
|
|
22
22
|
readonly limeNeon: "#a3e635";
|
|
23
23
|
readonly orangeNeon: "#fb923c";
|
|
24
|
+
readonly brandOrange: "#ff571e";
|
|
25
|
+
readonly brandPink: "#ef77a9";
|
|
26
|
+
readonly brandGold: "#e9ae20";
|
|
27
|
+
readonly brandGreen: "#01a947";
|
|
28
|
+
readonly brandNavy: "#445796";
|
|
24
29
|
readonly black: "#000000";
|
|
25
30
|
readonly inkDeep: "#141414";
|
|
26
31
|
readonly nearBlack: "#1a1a1a";
|
package/theme/tokens.js
CHANGED
|
@@ -21,6 +21,11 @@ export const colors = {
|
|
|
21
21
|
cyanNeon: "#22d3ee",
|
|
22
22
|
limeNeon: "#a3e635",
|
|
23
23
|
orangeNeon: "#fb923c",
|
|
24
|
+
brandOrange: "#ff571e",
|
|
25
|
+
brandPink: "#ef77a9",
|
|
26
|
+
brandGold: "#e9ae20",
|
|
27
|
+
brandGreen: "#01a947",
|
|
28
|
+
brandNavy: "#445796",
|
|
24
29
|
black: "#000000",
|
|
25
30
|
inkDeep: "#141414",
|
|
26
31
|
nearBlack: "#1a1a1a",
|