@nadicodeai/ui 12.1.255 → 12.1.257

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.
@@ -0,0 +1,30 @@
1
+ import type { ReactNode } from "react";
2
+ export type MachineScreenState = "open" | "off" | "starting" | "closed";
3
+ type MachineScreenWords = {
4
+ title: string;
5
+ description?: string | undefined;
6
+ };
7
+ export type MachineScreenProps = MachineScreenWords & {
8
+ /** The mark of the app the screen shows, drawn on it: its `AppIcon` at 56. */
9
+ mark: ReactNode;
10
+ } & ({
11
+ state: "open";
12
+ href: string;
13
+ } | {
14
+ state: "off" | "starting" | "closed";
15
+ href?: never;
16
+ });
17
+ /**
18
+ * A computer whose screen a person opens, drawn as the object's picture: a screen with the app's
19
+ * mark on it, on its stand, and under it what is true in words.
20
+ *
21
+ * @family Compositions
22
+ * @when The picture beside a machine's facts, in `ObjectPage`'s `picture`: a Cloud machine's card in the Portal, whose screen is Nadia's window.
23
+ * @instead A company's picture is its map. A command that opens the screen stays on the card as well (the card's primary, Open Nadia): the picture is a second way, never the only one. A machine in a list is its row's mark, an `IdentityMark`.
24
+ * @behaviour `open`: the screen is lit, the whole picture is one link that opens `href` in a new tab, with the arrow after its title; it lifts its frame on hover and shows the focus ring. `off`: the screen is dark and the mark dimmed. `starting`: the screen is lit and the mark breathes, still while the reader asks for less motion. `closed`: the screen is dimmed with a lock, for a viewer who may not open it. Only `open` is interactive. It fills the height `ObjectPage` gives the picture beside its facts.
25
+ * @words The product words both lines: the title says what the picture does or what the machine is now ("Open Nadia", "Stopped", "Setting up", "Nadia is closed to you"), the description the one sentence after it ("Opens in a new tab", "Start it to open Nadia").
26
+ * @access Open, it is one link named by its two lines; the mark is decorative. Otherwise its two lines are read as text.
27
+ */
28
+ export declare function MachineScreen({ state, mark, title, description, href }: MachineScreenProps): import("react").JSX.Element;
29
+ export {};
30
+ //# sourceMappingURL=machine-screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machine-screen.d.ts","sourceRoot":"","sources":["../../src/components/machine-screen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,KAAK,GAAG,UAAU,GAAG,QAAQ,CAAC;AAExE,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,GAAG;IACpD,8EAA8E;IAC9E,IAAI,EAAE,SAAS,CAAC;CACjB,GAAG,CACE;IACE,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,GACD;IAAE,KAAK,EAAE,KAAK,GAAG,UAAU,GAAG,QAAQ,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CAAE,CACzD,CAAC;AAEJ;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,kBAAkB,+BAyE1F"}
@@ -0,0 +1,23 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { ArrowUpRight, Lock } from "lucide-react";
3
+ import { cn } from "../lib/utils.js";
4
+ /**
5
+ * A computer whose screen a person opens, drawn as the object's picture: a screen with the app's
6
+ * mark on it, on its stand, and under it what is true in words.
7
+ *
8
+ * @family Compositions
9
+ * @when The picture beside a machine's facts, in `ObjectPage`'s `picture`: a Cloud machine's card in the Portal, whose screen is Nadia's window.
10
+ * @instead A company's picture is its map. A command that opens the screen stays on the card as well (the card's primary, Open Nadia): the picture is a second way, never the only one. A machine in a list is its row's mark, an `IdentityMark`.
11
+ * @behaviour `open`: the screen is lit, the whole picture is one link that opens `href` in a new tab, with the arrow after its title; it lifts its frame on hover and shows the focus ring. `off`: the screen is dark and the mark dimmed. `starting`: the screen is lit and the mark breathes, still while the reader asks for less motion. `closed`: the screen is dimmed with a lock, for a viewer who may not open it. Only `open` is interactive. It fills the height `ObjectPage` gives the picture beside its facts.
12
+ * @words The product words both lines: the title says what the picture does or what the machine is now ("Open Nadia", "Stopped", "Setting up", "Nadia is closed to you"), the description the one sentence after it ("Opens in a new tab", "Start it to open Nadia").
13
+ * @access Open, it is one link named by its two lines; the mark is decorative. Otherwise its two lines are read as text.
14
+ */
15
+ export function MachineScreen({ state, mark, title, description, href }) {
16
+ const opens = state === "open" && href !== undefined;
17
+ const body = (_jsxs(_Fragment, { children: [_jsxs("span", { "aria-hidden": "true", className: "flex w-full max-w-52 flex-col items-center", children: [_jsxs("span", { className: cn("relative flex aspect-16/10 w-full items-center justify-center rounded-md border-4 border-foreground/80 transition-shadow", state === "off" || state === "closed" ? "bg-foreground/10" : "bg-primary/10", opens && "group-hover/machine-screen:shadow-md"), "data-slot": "machine-screen-display", children: [_jsx("span", { className: cn("flex", (state === "off" || state === "closed") && "opacity-40 grayscale", state === "starting" && "motion-safe:animate-pulse"), children: mark }), state === "closed" ? (_jsx("span", { className: "absolute inset-e-2 top-2 flex size-6 items-center justify-center rounded-full bg-background text-muted-foreground ring-1 ring-border [&>svg]:size-3.5", children: _jsx(Lock, {}) })) : null] }), _jsx("span", { className: "h-3 w-8 bg-foreground/80" }), _jsx("span", { className: "h-1.5 w-20 rounded-full bg-foreground/80" })] }), _jsxs("span", { className: "grid justify-items-center gap-0.5 text-center", children: [_jsxs("span", { className: cn("flex items-center gap-1 text-label-sm text-foreground", opens && "group-hover/machine-screen:underline"), children: [title, opens ? _jsx(ArrowUpRight, { "aria-hidden": "true", className: "size-4" }) : null] }), description ? " " : null, description ? (_jsx("span", { className: "text-body-sm text-muted-foreground", children: description })) : null] })] }));
18
+ const frame = "flex min-h-44 min-w-0 flex-col items-center justify-center gap-3 rounded-md border bg-muted px-4 py-4";
19
+ if (opens) {
20
+ return (_jsx("a", { className: cn(frame, "group/machine-screen outline-none hover:border-foreground/30 focus-visible:nc-focus-outline"), "data-slot": "machine-screen", "data-state": state, href: href, rel: "noreferrer", target: "_blank", children: body }));
21
+ }
22
+ return (_jsx("div", { className: frame, "data-slot": "machine-screen", "data-state": state, children: body }));
23
+ }
@@ -84,7 +84,7 @@ export type ObjectPageProps = {
84
84
  * @family Compositions
85
85
  * @when One thing a person opened from a list and now reads or acts on: a customer, a partner, an Installation, a Library entry, an Agent's Profile in Nadia's window.
86
86
  * @instead "Use Context Card to reveal entity metadata on hover or focus: a user, a deployment, a project, an API key." (https://vercel.com/geist/context-card) Ours: that hover is a `HoverCard`, drawn inside this package by a component such as `RecordTime`, never this page. A list of records is a CollectionPage; a page of settings only is a SettingsPage, whose cards are SettingsSections. A card of values a person saves is a setting card, never this one.
87
- * @behaviour "For a static key/value metadata block on a detail page, use `Description`." (https://vercel.com/geist/entity) "The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`." (https://vercel.com/geist/entity) "Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`)." (https://vercel.com/geist/entity) "Don’t put interactive controls in the title slot. Buttons, menus, and links belong in the content (`<dd>`) or in the parent layout, not the label (`<dt>`)." (https://vercel.com/geist/description) Ours: where the product draws a path, the path above the page names the object's parent, and the product's section navigation stands between the path and the card. The object card is the first card of the page: a header bar with the name at the start and the object's commands at the end (a secondary, then the primary as the filled button, then the three dots, in `PageActions`' order, on the name's row while the name keeps 128 px, as on a phone, and under it otherwise; the primary is the one thing the object waits on its viewer for, such as approving a company that waits for approval, beside its alternative as the secondary, and an object with nothing waiting has none), the mark at 64 stands beside the name and optional line in the header; with `heading` the header instead names what the card holds, the name staying in the product's path and the page's h1 read only, and with `picture` the object's picture stands beside its facts, such as a company's map of its registered office (owner, 2026-11-08); facts follow in four columns once they have 36rem and two below, or in three beside a `picture`, each value after the mark of its kind (`icon`), a long one such as an address across two columns (`wide`); the facts are the object's own details, so none repeats the product's path (the name, the status beside it) or a tab (the Agents an Agents tab lists), and beside a `picture` they keep to four rows while the picture stands as tall as they do, so no fact runs below it (owner, 2026-11-08) (an object that exists always has one; an object not made yet, such as an account's plan before it chooses one, has none, and its card is the header alone, its name saying so and, for a viewer who may, its primary making it), each a muted label over its value in body text, then an optional footer with a hint at the start and one link at the end. `figures` are the object's own readings, a `FigureRows` between the facts and the entries, under a rule and at the card's inset. Optional `entries` close the same card under a rule: rows that open one by one, each with its chevron first (it turns down when open), its title, and its summary at the trailing edge; an open entry's panel starts under its title, and on a card narrower than 28 rem, as on a phone, at the card's edge, so its sections keep the chevron's room; an entry marked `defaultOpen` opens with the page, for a link that names it. The footer takes a link only, so no Save fits in it. The object changes from its card, never from a Settings tab (owner, 2026-11-08): the card's secondary command, Edit, opens a `FormDialog` of the facts the card shows; each setting the card does not show is one of its `entries`, its `value` the current value (read, missing, failed or loading, as `TableValue` draws them, muted), holding a `SettingsSection` with `frame="fold"` whose controls are live and whose Save is off until one changes (owner, 2026-11-09). An entry holds what most visits to the object skip (one of its settings, its history, its notes, the output of one of its steps), read in place once opened; what every reader of the page needs, and a collection a person adds to or manages, is a section with its heading under the card (a `RecordList` or a `DataTable`), never an entry, and a different question about the object is a tab of its own (owner, 2026-11-09). A value on the card is never a control that opens an editor. The sections follow, 24 apart, each an `ObjectSection`, `ObjectFacts`, a `RecordList` with its `heading`, a `SettingsSection` or an `ActivityFeed`, drawing its own states; a section earns a card when it owns a decision, never for every label and value. The card is neutral; colour belongs to the company's compact identity, a semantic fact value, or an entry's status summary, with no coloured card ground. A fact marked `url`, such as a company's website, wraps only after `://`, a dot or a slash, never inside a word, and keeps the whole address as its text (design inspection, 2026-11-07). Deleting the object is the last card under its sections, a `SettingsSection` with `tone="error"` whose button names the object and opens its confirmation, never a button in the page's header (nadicode decision).
87
+ * @behaviour "For a static key/value metadata block on a detail page, use `Description`." (https://vercel.com/geist/entity) "The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`." (https://vercel.com/geist/entity) "Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`)." (https://vercel.com/geist/entity) "Don’t put interactive controls in the title slot. Buttons, menus, and links belong in the content (`<dd>`) or in the parent layout, not the label (`<dt>`)." (https://vercel.com/geist/description) Ours: where the product draws a path, the path above the page names the object's parent, and the product's section navigation stands between the path and the card. The object card is the first card of the page: a header bar with the name at the start and the object's commands at the end (a secondary, then the primary as the filled button, then the three dots, in `PageActions`' order, on the name's row while the name keeps 128 px, as on a phone, and under it otherwise; the primary is the one thing the object waits on its viewer for, such as approving a company that waits for approval, beside its alternative as the secondary, and an object with nothing waiting has none), the mark at 64 stands beside the name and optional line in the header; with `heading` the header instead names what the card holds, the name staying in the product's path and the page's h1 read only, and with `picture` the object's picture stands beside its facts, such as a company's map of its registered office (owner, 2026-11-08); facts follow in four columns once they have 36rem and two below, or in three beside a `picture`, each value after the mark of its kind (`icon`), a long one such as an address across two columns (`wide`); the facts are the object's own details, so none repeats the product's path (the name, the status beside it) or a tab (the Agents an Agents tab lists), and beside a `picture` they keep to four rows while the picture stands as tall as they do, so no fact runs below it (owner, 2026-11-08) (an object that exists always has one; an object not made yet, such as an account's plan before it chooses one, has none, and its card is the header alone, its name saying so and, for a viewer who may, its primary making it), each a muted label over its value in body text, then an optional footer with a hint at the start and one link at the end. `figures` are the object's own readings, a `FigureRows` between the facts and the entries, under a rule and at the card's inset. Optional `entries` close the same card under a rule: rows that open one by one, each with its chevron first (it turns down when open), its title, and its summary at the trailing edge; an open entry's panel starts under its title, and on a card narrower than 28 rem, as on a phone, at the card's edge, so its sections keep the chevron's room; an entry marked `defaultOpen` opens with the page, for a link that names it. The footer takes a link only, so no Save fits in it. The object's facts change from its card, never from another tab (owner, 2026-11-08): the card's secondary command, Edit, opens a `FormDialog` of the facts the card shows. How the object behaves is its last tab, Settings, when it has one: a `SettingsPage` of one `SettingsSection` each, the destructive cards last, holding no fact the card shows, as the card holds no setting. An object with few settings and no Settings tab keeps each of them as one of its card's `entries`, its `value` the current value (read, missing, failed or loading, as `TableValue` draws them, muted), holding a `SettingsSection` with `frame="fold"` whose controls are live and whose Save is off until one changes (owner, 2026-11-09). An entry holds what most visits to the object skip (one of its settings, its history, its notes, the output of one of its steps), read in place once opened; what every reader of the page needs, and a collection a person adds to or manages, is a section with its heading under the card (a `RecordList` or a `DataTable`), never an entry, and a different question about the object is a tab of its own (owner, 2026-11-09). A value on the card is never a control that opens an editor. The sections follow, 24 apart, each an `ObjectSection`, `ObjectFacts`, a `RecordList` with its `heading`, a `SettingsSection` or an `ActivityFeed`, drawing its own states; a section earns a card when it owns a decision, never for every label and value. The card is neutral; colour belongs to the company's compact identity, a semantic fact value, or an entry's status summary, with no coloured card ground. A fact marked `url`, such as a company's website, wraps only after `://`, a dot or a slash, never inside a word, and keeps the whole address as its text (design inspection, 2026-11-07). Deleting the object is a `SettingsSection` with `tone="error"` whose button names the object and opens its confirmation, never a button in the page's header: the last card of its Settings tab when the object has one, as a Customer's Archive is, and otherwise the last card under its sections (owner, 2026-11-18).
88
88
  * @words "Keep right-column buttons Verb + Noun (`Remove Member`, `Resend Invite`). Bare verbs like `Remove` or `Confirm` lose context once the row scrolls offscreen." (https://vercel.com/geist/entity) "Title slot is Title Case noun (`Last Deployed`, `Build Duration`); content is sentence case unless the value is a literal identifier, ID, or timestamp that should be preserved verbatim." (https://vercel.com/geist/description) Ours: sentence case throughout. The name as the object is called everywhere else; the line says what it is and whose ("Customer of Partner Alpha · since 3 August 2026"); a fact's label is a noun ("Plan"), its value the figure; an entry's title is a noun phrase; the hint is one sentence ("To update it, push to the main branch."); the link names where it goes ("Deployments"); the menu's trigger reads "More for {name}".
89
89
  * @access "Geist renders `<dl>`/`<dt>`/`<dd>` so screen readers announce each key/value pair as a definition." (https://vercel.com/geist/description) "Don’t wrap the component in extra paragraphs that break the list semantics." (https://vercel.com/geist/description) Ours: with `headingProps` the name is the page's h1; without them it is text, for a product whose chrome already titles the page. The mark is decorative beside the name. Each entry is an h2 heading holding a button with `aria-expanded` that controls its panel.
90
90
  */
@@ -21,7 +21,7 @@ function UrlValue({ url, href }) {
21
21
  * @family Compositions
22
22
  * @when One thing a person opened from a list and now reads or acts on: a customer, a partner, an Installation, a Library entry, an Agent's Profile in Nadia's window.
23
23
  * @instead "Use Context Card to reveal entity metadata on hover or focus: a user, a deployment, a project, an API key." (https://vercel.com/geist/context-card) Ours: that hover is a `HoverCard`, drawn inside this package by a component such as `RecordTime`, never this page. A list of records is a CollectionPage; a page of settings only is a SettingsPage, whose cards are SettingsSections. A card of values a person saves is a setting card, never this one.
24
- * @behaviour "For a static key/value metadata block on a detail page, use `Description`." (https://vercel.com/geist/entity) "The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`." (https://vercel.com/geist/entity) "Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`)." (https://vercel.com/geist/entity) "Don’t put interactive controls in the title slot. Buttons, menus, and links belong in the content (`<dd>`) or in the parent layout, not the label (`<dt>`)." (https://vercel.com/geist/description) Ours: where the product draws a path, the path above the page names the object's parent, and the product's section navigation stands between the path and the card. The object card is the first card of the page: a header bar with the name at the start and the object's commands at the end (a secondary, then the primary as the filled button, then the three dots, in `PageActions`' order, on the name's row while the name keeps 128 px, as on a phone, and under it otherwise; the primary is the one thing the object waits on its viewer for, such as approving a company that waits for approval, beside its alternative as the secondary, and an object with nothing waiting has none), the mark at 64 stands beside the name and optional line in the header; with `heading` the header instead names what the card holds, the name staying in the product's path and the page's h1 read only, and with `picture` the object's picture stands beside its facts, such as a company's map of its registered office (owner, 2026-11-08); facts follow in four columns once they have 36rem and two below, or in three beside a `picture`, each value after the mark of its kind (`icon`), a long one such as an address across two columns (`wide`); the facts are the object's own details, so none repeats the product's path (the name, the status beside it) or a tab (the Agents an Agents tab lists), and beside a `picture` they keep to four rows while the picture stands as tall as they do, so no fact runs below it (owner, 2026-11-08) (an object that exists always has one; an object not made yet, such as an account's plan before it chooses one, has none, and its card is the header alone, its name saying so and, for a viewer who may, its primary making it), each a muted label over its value in body text, then an optional footer with a hint at the start and one link at the end. `figures` are the object's own readings, a `FigureRows` between the facts and the entries, under a rule and at the card's inset. Optional `entries` close the same card under a rule: rows that open one by one, each with its chevron first (it turns down when open), its title, and its summary at the trailing edge; an open entry's panel starts under its title, and on a card narrower than 28 rem, as on a phone, at the card's edge, so its sections keep the chevron's room; an entry marked `defaultOpen` opens with the page, for a link that names it. The footer takes a link only, so no Save fits in it. The object changes from its card, never from a Settings tab (owner, 2026-11-08): the card's secondary command, Edit, opens a `FormDialog` of the facts the card shows; each setting the card does not show is one of its `entries`, its `value` the current value (read, missing, failed or loading, as `TableValue` draws them, muted), holding a `SettingsSection` with `frame="fold"` whose controls are live and whose Save is off until one changes (owner, 2026-11-09). An entry holds what most visits to the object skip (one of its settings, its history, its notes, the output of one of its steps), read in place once opened; what every reader of the page needs, and a collection a person adds to or manages, is a section with its heading under the card (a `RecordList` or a `DataTable`), never an entry, and a different question about the object is a tab of its own (owner, 2026-11-09). A value on the card is never a control that opens an editor. The sections follow, 24 apart, each an `ObjectSection`, `ObjectFacts`, a `RecordList` with its `heading`, a `SettingsSection` or an `ActivityFeed`, drawing its own states; a section earns a card when it owns a decision, never for every label and value. The card is neutral; colour belongs to the company's compact identity, a semantic fact value, or an entry's status summary, with no coloured card ground. A fact marked `url`, such as a company's website, wraps only after `://`, a dot or a slash, never inside a word, and keeps the whole address as its text (design inspection, 2026-11-07). Deleting the object is the last card under its sections, a `SettingsSection` with `tone="error"` whose button names the object and opens its confirmation, never a button in the page's header (nadicode decision).
24
+ * @behaviour "For a static key/value metadata block on a detail page, use `Description`." (https://vercel.com/geist/entity) "The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`." (https://vercel.com/geist/entity) "Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`)." (https://vercel.com/geist/entity) "Don’t put interactive controls in the title slot. Buttons, menus, and links belong in the content (`<dd>`) or in the parent layout, not the label (`<dt>`)." (https://vercel.com/geist/description) Ours: where the product draws a path, the path above the page names the object's parent, and the product's section navigation stands between the path and the card. The object card is the first card of the page: a header bar with the name at the start and the object's commands at the end (a secondary, then the primary as the filled button, then the three dots, in `PageActions`' order, on the name's row while the name keeps 128 px, as on a phone, and under it otherwise; the primary is the one thing the object waits on its viewer for, such as approving a company that waits for approval, beside its alternative as the secondary, and an object with nothing waiting has none), the mark at 64 stands beside the name and optional line in the header; with `heading` the header instead names what the card holds, the name staying in the product's path and the page's h1 read only, and with `picture` the object's picture stands beside its facts, such as a company's map of its registered office (owner, 2026-11-08); facts follow in four columns once they have 36rem and two below, or in three beside a `picture`, each value after the mark of its kind (`icon`), a long one such as an address across two columns (`wide`); the facts are the object's own details, so none repeats the product's path (the name, the status beside it) or a tab (the Agents an Agents tab lists), and beside a `picture` they keep to four rows while the picture stands as tall as they do, so no fact runs below it (owner, 2026-11-08) (an object that exists always has one; an object not made yet, such as an account's plan before it chooses one, has none, and its card is the header alone, its name saying so and, for a viewer who may, its primary making it), each a muted label over its value in body text, then an optional footer with a hint at the start and one link at the end. `figures` are the object's own readings, a `FigureRows` between the facts and the entries, under a rule and at the card's inset. Optional `entries` close the same card under a rule: rows that open one by one, each with its chevron first (it turns down when open), its title, and its summary at the trailing edge; an open entry's panel starts under its title, and on a card narrower than 28 rem, as on a phone, at the card's edge, so its sections keep the chevron's room; an entry marked `defaultOpen` opens with the page, for a link that names it. The footer takes a link only, so no Save fits in it. The object's facts change from its card, never from another tab (owner, 2026-11-08): the card's secondary command, Edit, opens a `FormDialog` of the facts the card shows. How the object behaves is its last tab, Settings, when it has one: a `SettingsPage` of one `SettingsSection` each, the destructive cards last, holding no fact the card shows, as the card holds no setting. An object with few settings and no Settings tab keeps each of them as one of its card's `entries`, its `value` the current value (read, missing, failed or loading, as `TableValue` draws them, muted), holding a `SettingsSection` with `frame="fold"` whose controls are live and whose Save is off until one changes (owner, 2026-11-09). An entry holds what most visits to the object skip (one of its settings, its history, its notes, the output of one of its steps), read in place once opened; what every reader of the page needs, and a collection a person adds to or manages, is a section with its heading under the card (a `RecordList` or a `DataTable`), never an entry, and a different question about the object is a tab of its own (owner, 2026-11-09). A value on the card is never a control that opens an editor. The sections follow, 24 apart, each an `ObjectSection`, `ObjectFacts`, a `RecordList` with its `heading`, a `SettingsSection` or an `ActivityFeed`, drawing its own states; a section earns a card when it owns a decision, never for every label and value. The card is neutral; colour belongs to the company's compact identity, a semantic fact value, or an entry's status summary, with no coloured card ground. A fact marked `url`, such as a company's website, wraps only after `://`, a dot or a slash, never inside a word, and keeps the whole address as its text (design inspection, 2026-11-07). Deleting the object is a `SettingsSection` with `tone="error"` whose button names the object and opens its confirmation, never a button in the page's header: the last card of its Settings tab when the object has one, as a Customer's Archive is, and otherwise the last card under its sections (owner, 2026-11-18).
25
25
  * @words "Keep right-column buttons Verb + Noun (`Remove Member`, `Resend Invite`). Bare verbs like `Remove` or `Confirm` lose context once the row scrolls offscreen." (https://vercel.com/geist/entity) "Title slot is Title Case noun (`Last Deployed`, `Build Duration`); content is sentence case unless the value is a literal identifier, ID, or timestamp that should be preserved verbatim." (https://vercel.com/geist/description) Ours: sentence case throughout. The name as the object is called everywhere else; the line says what it is and whose ("Customer of Partner Alpha · since 3 August 2026"); a fact's label is a noun ("Plan"), its value the figure; an entry's title is a noun phrase; the hint is one sentence ("To update it, push to the main branch."); the link names where it goes ("Deployments"); the menu's trigger reads "More for {name}".
26
26
  * @access "Geist renders `<dl>`/`<dt>`/`<dd>` so screen readers announce each key/value pair as a definition." (https://vercel.com/geist/description) "Don’t wrap the component in extra paragraphs that break the list semantics." (https://vercel.com/geist/description) Ours: with `headingProps` the name is the page's h1; without them it is text, for a product whose chrome already titles the page. The mark is decorative beside the name. Each entry is an h2 heading holding a button with `aria-expanded` that controls its panel.
27
27
  */
@@ -1,6 +1,6 @@
1
1
  import { type ReactElement, type ReactNode } from "react";
2
2
  import { type CommandLook, type PageCommand, type PageCommandFace } from "../internal/page-command-button.js";
3
- import { type MenuCommands, type RecordMenu } from "./action-menu.js";
3
+ import { type CommandConfirmation, type ConfirmedRun, type MenuCommands, type RecordMenu } from "./action-menu.js";
4
4
  export type { PageCommand, PageCommandAction, PendingWord } from "../internal/page-command-button.js";
5
5
  /**
6
6
  * A page's main command that comes in a few kinds of the same job, such as Add source's folder,
@@ -24,12 +24,26 @@ export type PageActionsProps = {
24
24
  primary?: PagePrimaryCommand | undefined;
25
25
  menu?: PageMenu | undefined;
26
26
  };
27
+ /** A card's command that asks first: the kit opens its confirmation, keeps it busy while it runs, and shows its failure there. */
28
+ export type ConfirmedCardCommand = PageCommandFace & {
29
+ onClick: ConfirmedRun;
30
+ confirm: CommandConfirmation;
31
+ destructive?: boolean | undefined;
32
+ link?: never;
33
+ render?: never;
34
+ };
35
+ /** A command on a card's header: it runs, follows its link, draws its `render`, or asks first. */
36
+ export type CardCommand = (PageCommand & {
37
+ confirm?: never;
38
+ }) | ConfirmedCardCommand;
27
39
  /**
28
40
  * The trailing edge of every card's header: a short muted text, then the card's reading period and
29
41
  * commands in `PageActions`' order, with up to two secondaries. A way to another page, such as
30
42
  * "Statements", is a secondary with its `link`, drawn as a button like the others.
31
43
  */
32
- export type CardActions = PageActionsProps & {
44
+ export type CardActions = Omit<PageActionsProps, "secondary"> & {
45
+ /** Up to two lesser commands, outline, before the primary; one may ask first (`confirm`). */
46
+ secondary?: CardCommand | readonly [CardCommand, CardCommand] | undefined;
33
47
  /** A period or a count before the commands: "26 Oct – 26 Nov", "2 of 5 Agents". */
34
48
  meta?: string | undefined;
35
49
  };
@@ -39,7 +53,7 @@ export type CardActions = PageActionsProps & {
39
53
  * @family Actions
40
54
  * @when The header of every card composition draws it from the card's `actions`: ObjectPage, ObjectSection, SettingsSection, SettingsFactsSection and TableCard. A page gives the card its `actions` and never renders this row.
41
55
  * @instead A page's own commands are `PageActions` on the title's row. A record's commands are its list's (`RecordList`) or its `RecordCommands`. A setting card whose value stands at its header's end, such as an avatar upload, gives `SettingsSection` its `control`. A link inside the card's description or footer line is a `TextLink` in that sentence (nadicode decision).
42
- * @behaviour The row holds, in order: the muted `meta` (a period or a count), the reading `period`, up to two secondaries as outline buttons, the primary as the filled button, and the three dots last. A way to another page is a secondary with its `link`, drawn as a button like the others and named for the page; it is never a text link in the header's corner. A page has one filled button, so a card on a page whose primary stands elsewhere takes outline buttons only. It wraps under the title when the header is narrow, as the card's header places it.
56
+ * @behaviour The row holds, in order: the muted `meta` (a period or a count), the reading `period`, up to two secondaries as outline buttons, the primary as the filled button, and the three dots last. A way to another page is a secondary with its `link`, drawn as a button like the others and named for the page; it is never a text link in the header's corner. A page has one filled button, so a card on a page whose primary stands elsewhere takes outline buttons only. A secondary with `confirm`, such as a machine's Stop, asks first: pressing it opens its confirmation, which stays open and busy, saying the command's `pendingLabel`, while it runs, shows its failure inside it and closes once it succeeds, so a product passes the words and never mounts the confirmation itself. It wraps under the title when the header is narrow, as the card's header places it.
43
57
  * @words A command is a verb on the card's object ("Add card", "Buy Extra usage for Customers"); a way to another page is that page's name as its navigation writes it ("Statements"); `meta` is a short count or period ("2 of 5 Agents").
44
58
  * @access DOM order is visual order. A command whose label does not name its target carries `accessibleName`. A way to another page is a real link. A command with `autoFocus` takes focus as it appears, as the Edit that opened a card's in-place editor does when the editor closes.
45
59
  */
@@ -1 +1 @@
1
- {"version":3,"file":"page-actions.d.ts","sourceRoot":"","sources":["../../src/components/page-actions.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAMf,OAAO,EAEL,KAAK,WAAW,EAEhB,KAAK,WAAW,EAChB,KAAK,eAAe,EAGrB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAc,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MA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AAE,gBAAgB,sCAYpF;AAyCD;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,MAAa,GACd,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,+BAIA;AAED,oHAAoH;AACpH,wBAAgB,aAAa,IAAI,OAAO,CAGvC;AAED,yFAAyF;AACzF,wBAAgB,eAAe,gCAS9B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,sCA6BlD"}
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import { createContext, useContext, useEffect, useId, useLayoutEffect, useState, } from "react";
3
+ import { createContext, useContext, useEffect, useId, useLayoutEffect, useRef, useState, } from "react";
4
4
  import { createPortal } from "react-dom";
5
5
  import { createStore, useStore } from "zustand";
6
6
  import { hasCardActions } from "../internal/card-actions.js";
7
7
  import { useCommandRunner } from "../internal/command-runner.js";
8
8
  import { lookOf, PageCommandButton as PlainCommandButton, WithDisabledReason, } from "../internal/page-command-button.js";
9
9
  import { MenuCommandRow } from "../internal/record-menu-items.js";
10
- import { ActionMenu } from "./action-menu.js";
10
+ import { ActionMenu, } from "./action-menu.js";
11
11
  import { Button } from "./button.js";
12
12
  import { DropdownMenu, DropdownMenuContent, DropdownMenuTrigger } from "./dropdown-menu.js";
13
13
  function secondariesOf(secondary) {
@@ -21,15 +21,17 @@ function secondariesOf(secondary) {
21
21
  * @family Actions
22
22
  * @when The header of every card composition draws it from the card's `actions`: ObjectPage, ObjectSection, SettingsSection, SettingsFactsSection and TableCard. A page gives the card its `actions` and never renders this row.
23
23
  * @instead A page's own commands are `PageActions` on the title's row. A record's commands are its list's (`RecordList`) or its `RecordCommands`. A setting card whose value stands at its header's end, such as an avatar upload, gives `SettingsSection` its `control`. A link inside the card's description or footer line is a `TextLink` in that sentence (nadicode decision).
24
- * @behaviour The row holds, in order: the muted `meta` (a period or a count), the reading `period`, up to two secondaries as outline buttons, the primary as the filled button, and the three dots last. A way to another page is a secondary with its `link`, drawn as a button like the others and named for the page; it is never a text link in the header's corner. A page has one filled button, so a card on a page whose primary stands elsewhere takes outline buttons only. It wraps under the title when the header is narrow, as the card's header places it.
24
+ * @behaviour The row holds, in order: the muted `meta` (a period or a count), the reading `period`, up to two secondaries as outline buttons, the primary as the filled button, and the three dots last. A way to another page is a secondary with its `link`, drawn as a button like the others and named for the page; it is never a text link in the header's corner. A page has one filled button, so a card on a page whose primary stands elsewhere takes outline buttons only. A secondary with `confirm`, such as a machine's Stop, asks first: pressing it opens its confirmation, which stays open and busy, saying the command's `pendingLabel`, while it runs, shows its failure inside it and closes once it succeeds, so a product passes the words and never mounts the confirmation itself. It wraps under the title when the header is narrow, as the card's header places it.
25
25
  * @words A command is a verb on the card's object ("Add card", "Buy Extra usage for Customers"); a way to another page is that page's name as its navigation writes it ("Statements"); `meta` is a short count or period ("2 of 5 Agents").
26
26
  * @access DOM order is visual order. A command whose label does not name its target carries `accessibleName`. A way to another page is a real link. A command with `autoFocus` takes focus as it appears, as the Edit that opened a card's in-place editor does when the editor closes.
27
27
  */
28
28
  export function CardActionsRow({ meta, period, secondary, primary, menu }) {
29
+ const row = useRef(null);
30
+ const { arm, dialog } = useCommandRunner(() => row.current?.querySelector("button, a[href]") ?? null);
29
31
  if (!hasCardActions({ meta, period, secondary, primary, menu }))
30
32
  return null;
31
33
  const secondaries = secondariesOf(secondary);
32
- return (_jsxs("div", { "data-slot": "card-actions", className: "flex max-w-full min-w-0 flex-wrap items-center gap-2", children: [meta ? (_jsx("span", { className: "mr-1 text-label-sm text-muted-foreground", "data-slot": "card-actions-meta", children: meta })) : null, period, secondaries.map((command) => (_jsx(PageCommandButton, { command: command, variant: "outline" }, command.label))), primary ? _jsx(PageCommandButton, { command: primary, variant: "default" }) : null, menu ? _jsx(ActionMenu, { ...menu, size: "page" }) : null] }));
34
+ return (_jsxs("div", { "data-slot": "card-actions", className: "flex max-w-full min-w-0 flex-wrap items-center gap-2", ref: row, children: [meta ? (_jsx("span", { className: "mr-1 text-label-sm text-muted-foreground", "data-slot": "card-actions-meta", children: meta })) : null, period, secondaries.map((command) => (_jsx(PageCommandButton, { command: arm(command), variant: "outline" }, command.label))), primary ? _jsx(PageCommandButton, { command: primary, variant: "default" }) : null, menu ? _jsx(ActionMenu, { ...menu, size: "page" }) : null, dialog] }));
33
35
  }
34
36
  export function PageCommandButton({ command, ...appearance }) {
35
37
  if ("choices" in command)
@@ -10,7 +10,7 @@ export type SettingsPageProps = {
10
10
  * A page of settings: section cards across the page's width under its title, each saving its own values.
11
11
  *
12
12
  * @family Compositions
13
- * @when A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person or to the platform (an object has no Settings tab: it changes from its card, as `ObjectPage` says), so the column keeps its width and its field layout from one entry of a settings menu to the next.
13
+ * @when A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person or to the platform (an object's Settings tab, how the object behaves, included; its facts change from its card, as `ObjectPage` says), so the column keeps its width and its field layout from one entry of a settings menu to the next.
14
14
  * @instead One object's page with a settings card among its sections is an ObjectPage; "Place it once per app, in the footer or settings, not duplicated across pages." (https://vercel.com/geist/theme-switcher) Ours: Theme and Language stand in the account menu, and a product's preferences page may show them too; when they apply is `SettingsSection`'s rule.
15
15
  * @behaviour One setting per card (the card's shapes are SettingsSection's: one field, a row of short parts of one value, rows of switches or of selects), the cards stacked 24 apart in the settings column (`ReadingColumn` `settings`, 960 px) under the page's title, which the product's chrome gives it (`ProductShell`'s, unseen, as the path names the page; `PageFrame`'s `title`, drawn with its description, where the host app draws the page area); the cards fill the column and stop there, with no heading between them; a field inside keeps its own bound. A page that mixes cards with other content, such as a table or a list of rules, is not a SettingsPage: its sections take a plain h2 above each card. The page draws no header and no save of its own: each SettingsSection saves from its footer. The danger zone closes the page, in rising severity: transfer, then pause, then delete; only delete is `tone="error"`, and only delete and pause take a button in a hue.
16
16
  * @words The sections' titles and lines; a card's title is never the page's h1.
@@ -5,7 +5,7 @@ import { ReadingColumn } from "./reading-column.js";
5
5
  * A page of settings: section cards across the page's width under its title, each saving its own values.
6
6
  *
7
7
  * @family Compositions
8
- * @when A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person or to the platform (an object has no Settings tab: it changes from its card, as `ObjectPage` says), so the column keeps its width and its field layout from one entry of a settings menu to the next.
8
+ * @when A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person or to the platform (an object's Settings tab, how the object behaves, included; its facts change from its card, as `ObjectPage` says), so the column keeps its width and its field layout from one entry of a settings menu to the next.
9
9
  * @instead One object's page with a settings card among its sections is an ObjectPage; "Place it once per app, in the footer or settings, not duplicated across pages." (https://vercel.com/geist/theme-switcher) Ours: Theme and Language stand in the account menu, and a product's preferences page may show them too; when they apply is `SettingsSection`'s rule.
10
10
  * @behaviour One setting per card (the card's shapes are SettingsSection's: one field, a row of short parts of one value, rows of switches or of selects), the cards stacked 24 apart in the settings column (`ReadingColumn` `settings`, 960 px) under the page's title, which the product's chrome gives it (`ProductShell`'s, unseen, as the path names the page; `PageFrame`'s `title`, drawn with its description, where the host app draws the page area); the cards fill the column and stop there, with no heading between them; a field inside keeps its own bound. A page that mixes cards with other content, such as a table or a list of rules, is not a SettingsPage: its sections take a plain h2 above each card. The page draws no header and no save of its own: each SettingsSection saves from its footer. The danger zone closes the page, in rising severity: transfer, then pause, then delete; only delete is `tone="error"`, and only delete and pause take a button in a hue.
11
11
  * @words The sections' titles and lines; a card's title is never the page's h1.
@@ -38,7 +38,7 @@ export type SidebarSectionsProps<Id extends string> = {
38
38
  * The sidebar swapped to one object or one area: the way back, what you are in, and its sections.
39
39
  *
40
40
  * @family Navigation
41
- * @when Inside an object, the same sidebar column shows these instead of the places: an Installation's sections in the Portal, Nadia's Edit and Settings sections. Inside an area whose pages are siblings a person moves between, the area's sub-menu without `identity`: the Portal's Settings, Company, Library and Account. A catalogue long enough to be browsed by category takes this sub-menu too, one section a category with its `count`: Nadia's Browse apps. The row that opens an area ends in `SidebarMenuChevron`; a row that only opens a page has none. Required: the way back and the nav's `label`; every section has an icon.
41
+ * @when Inside an object a person works inside, the same sidebar column shows these instead of the places: Nadia's Edit and Settings sections. A record opened from a list, one among many, keeps the sidebar as it was and is no such object. Inside an area whose pages are siblings a person moves between, the area's sub-menu without `identity`: the Portal's Settings, Company, Library and Account. A catalogue long enough to be browsed by category takes this sub-menu too, one section a category with its `count`: Nadia's Browse apps. The row that opens an area ends in `SidebarMenuChevron`; a row that only opens a page has none. Required: the way back and the nav's `label`; every section has an icon.
42
42
  * @instead The places a person can go are the sidebar's own groups; a settings page that does not swap the column is a SettingsPage. Never a second column beside the first. “Tabs imply the views share scope, URL parent, and data model” (https://vercel.com/geist/tabs) Ours: an area whose pages hold different objects, with different lists and different ways to add, is this sub-menu; a destination whose pages are views of one reading keeps its Tabs (the Portal's Analytics). An object's sections under the top bar are a `TabsNav` band.
43
43
  * @behaviour With `identity`: a back arrow row, then what you are in, then the sections. Without it: one row with a ‹ at its start and the area's name centred, then the sections as words alone. The back row returns to where the person came from and is disabled while leaving is blocked. One section is current and takes the selection fill; the rest stay neutral. A section that sets `group` opens a labelled group that holds the sections after it until another names its own; the label and the gap tell groups apart, never a rule. Narrow, the identity, the area's name and the labels leave, and each row keeps its icon with its name in a tooltip.
44
44
  * @words The back row names where it goes ("Agents", "Back to workspace"); the identity is the object's own name; an area's `label` is its sidebar row's word ("Settings", "Company"); a group heading names the kind of settings ("Account"), in sentence case; sections are nouns ("Skills", "Members").
@@ -35,7 +35,7 @@ function actionProps(action, disabled, onChosen) {
35
35
  * The sidebar swapped to one object or one area: the way back, what you are in, and its sections.
36
36
  *
37
37
  * @family Navigation
38
- * @when Inside an object, the same sidebar column shows these instead of the places: an Installation's sections in the Portal, Nadia's Edit and Settings sections. Inside an area whose pages are siblings a person moves between, the area's sub-menu without `identity`: the Portal's Settings, Company, Library and Account. A catalogue long enough to be browsed by category takes this sub-menu too, one section a category with its `count`: Nadia's Browse apps. The row that opens an area ends in `SidebarMenuChevron`; a row that only opens a page has none. Required: the way back and the nav's `label`; every section has an icon.
38
+ * @when Inside an object a person works inside, the same sidebar column shows these instead of the places: Nadia's Edit and Settings sections. A record opened from a list, one among many, keeps the sidebar as it was and is no such object. Inside an area whose pages are siblings a person moves between, the area's sub-menu without `identity`: the Portal's Settings, Company, Library and Account. A catalogue long enough to be browsed by category takes this sub-menu too, one section a category with its `count`: Nadia's Browse apps. The row that opens an area ends in `SidebarMenuChevron`; a row that only opens a page has none. Required: the way back and the nav's `label`; every section has an icon.
39
39
  * @instead The places a person can go are the sidebar's own groups; a settings page that does not swap the column is a SettingsPage. Never a second column beside the first. “Tabs imply the views share scope, URL parent, and data model” (https://vercel.com/geist/tabs) Ours: an area whose pages hold different objects, with different lists and different ways to add, is this sub-menu; a destination whose pages are views of one reading keeps its Tabs (the Portal's Analytics). An object's sections under the top bar are a `TabsNav` band.
40
40
  * @behaviour With `identity`: a back arrow row, then what you are in, then the sections. Without it: one row with a ‹ at its start and the area's name centred, then the sections as words alone. The back row returns to where the person came from and is disabled while leaving is blocked. One section is current and takes the selection fill; the rest stay neutral. A section that sets `group` opens a labelled group that holds the sections after it until another names its own; the label and the gap tell groups apart, never a rule. Narrow, the identity, the area's name and the labels leave, and each row keeps its icon with its name in a tooltip.
41
41
  * @words The back row names where it goes ("Agents", "Back to workspace"); the identity is the object's own name; an area's `label` is its sidebar row's word ("Settings", "Company"); a group heading names the kind of settings ("Account"), in sentence case; sections are nouns ("Skills", "Members").
@@ -1 +1 @@
1
- {"version":3,"file":"record-grid.d.ts","sourceRoot":"","sources":["../../src/internal/record-grid.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAA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AK,CAAC,SAAS,CAAA;CAAE,qBAWjF"}
@@ -50,7 +50,7 @@ export function RecordGrid({ columns, headings, label, children, }) {
50
50
  }
51
51
  const PLACE = {
52
52
  lead: "order-1 shrink-0",
53
- identity: "order-2 grow basis-0 min-w-40 @3xl/list:min-w-0",
53
+ identity: "order-2 grow basis-0 min-w-[min(100%,calc(10rem+32px+--spacing(4)))] @3xl/list:min-w-0",
54
54
  trail: "order-3 shrink-0",
55
55
  fact: "order-5 max-w-full",
56
56
  };
@@ -49,6 +49,7 @@ export declare const COMPOSITIONS: {
49
49
  FormDrawer: typeof FormDrawerSpecimen;
50
50
  DrawerSteps: typeof DrawerStepsSpecimen;
51
51
  LibraryShelf: typeof LibraryShelfSpecimen;
52
+ MachineScreen: () => import("react").JSX.Element;
52
53
  ObjectPage: () => import("react").JSX.Element;
53
54
  ObjectSection: () => import("react").JSX.Element;
54
55
  OverviewPage: typeof OverviewPageSpecimen;
@@ -1 +1 @@
1
- {"version":3,"file":"compositions.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/compositions.tsx"],"names":[],"mappings":"AAoJA,iBAAS,oBAAoB,gCA+B5B;AAED,iBAAS,qBAAqB,gCA0B7B;AAED,iBAAS,yBAAyB,gCAGjC;AAwBD,iBAAS,mBAAmB,gCAoC3B;AAED,iBAAS,sBAAsB,gCAwD9B;AAED,iBAAS,yBAAyB,gCAUjC;AAED,iBAAS,qBAAqB,gCAoB7B;AAED,iBAAS,mBAAmB,gCAc3B;AAED,iBAAS,qBAAqB,gCAsC7B;AAED,iBAAS,iBAAiB,gCAmBzB;AAED,iBAAS,kBAAkB,gCAiB1B;AAED,iBAAS,oBAAoB,gCAa5B;AAED,iBAAS,kBAAkB,gCA0B1B;AAED,iBAAS,kBAAkB,gCAsE1B;AAED,iBAAS,kBAAkB,gCAwB1B;AAED,iBAAS,mBAAmB,gCA2B3B;AAED,iBAAS,oBAAoB,gCAkD5B;AAED,iBAAS,oBAAoB,gCAqC5B;AAED,iBAAS,mBAAmB,gCA2B3B;AAED,iBAAS,mBAAmB,gCAoB3B;AAwBD,iBAAS,uBAAuB,gCAkD/B;AAuCD,iBAAS,mBAAmB,gCAwB3B;AAED,iBAAS,kBAAkB,gCAa1B;AAED,iBAAS,wBAAwB,gCAuBhC;AAED,iBAAS,iBAAiB,gCAezB;AAED,iBAAS,mBAAmB,gCAW3B;AAED,iBAAS,iBAAiB,gCAkBzB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+HE,CAAC"}
1
+ {"version":3,"file":"compositions.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/compositions.tsx"],"names":[],"mappings":"AAsJA,iBAAS,oBAAoB,gCA+B5B;AAED,iBAAS,qBAAqB,gCA0B7B;AAED,iBAAS,yBAAyB,gCAGjC;AAwBD,iBAAS,mBAAmB,gCAoC3B;AAED,iBAAS,sBAAsB,gCAwD9B;AAED,iBAAS,yBAAyB,gCAUjC;AAED,iBAAS,qBAAqB,gCAoB7B;AAED,iBAAS,mBAAmB,gCAc3B;AAED,iBAAS,qBAAqB,gCAsC7B;AAED,iBAAS,iBAAiB,gCAmBzB;AAED,iBAAS,kBAAkB,gCAiB1B;AAED,iBAAS,oBAAoB,gCAa5B;AAED,iBAAS,kBAAkB,gCA0B1B;AAED,iBAAS,kBAAkB,gCAsE1B;AAED,iBAAS,kBAAkB,gCAwB1B;AAED,iBAAS,mBAAmB,gCA2B3B;AAED,iBAAS,oBAAoB,gCAkD5B;AAED,iBAAS,oBAAoB,gCAqC5B;AAED,iBAAS,mBAAmB,gCA2B3B;AAED,iBAAS,mBAAmB,gCAoB3B;AAwBD,iBAAS,uBAAuB,gCAkD/B;AAuCD,iBAAS,mBAAmB,gCAwB3B;AAED,iBAAS,kBAAkB,gCAa1B;AAED,iBAAS,wBAAwB,gCAuBhC;AAED,iBAAS,iBAAiB,gCAezB;AAED,iBAAS,mBAAmB,gCAW3B;AAED,iBAAS,iBAAiB,gCAkBzB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoKE,CAAC"}
@@ -29,6 +29,8 @@ import { FormDrawer, FormDrawerBody, FormDrawerFooter } from "../../components/f
29
29
  import { Input } from "../../components/input.js";
30
30
  import { InviteCard } from "../../components/invite-card.js";
31
31
  import { LibraryShelf } from "../../components/library-shelf.js";
32
+ import { AppIcon } from "../../components/app-icon.js";
33
+ import { MachineScreen } from "../../components/machine-screen.js";
32
34
  import { NadiaPresence } from "../../components/nadia-presence.js";
33
35
  import { ObjectPage } from "../../components/object-page.js";
34
36
  import { FilterToolbar } from "../../components/filter-toolbar.js";
@@ -557,6 +559,10 @@ export const COMPOSITIONS = {
557
559
  FormDrawer: FormDrawerSpecimen,
558
560
  DrawerSteps: DrawerStepsSpecimen,
559
561
  LibraryShelf: LibraryShelfSpecimen,
562
+ MachineScreen: () => {
563
+ const mark = (_jsx(AppIcon, { size: 56, src: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Crect width='8' height='8' fill='%23fff'/%3E%3Cpath d='M2 6V3a2 2 0 0 1 4 0v3' fill='none' stroke='%23111'/%3E%3C/svg%3E" }));
564
+ return (_jsxs("div", { className: "grid max-w-3xl gap-4 sm:grid-cols-2", children: [_jsx(MachineScreen, { description: "Opens in a new tab", href: "#", mark: mark, state: "open", title: "Open Nadia" }), _jsx(MachineScreen, { description: "Start it to open Nadia", mark: mark, state: "off", title: "Stopped" }), _jsx(MachineScreen, { description: "Ready in a few minutes", mark: mark, state: "starting", title: "Setting up" }), _jsx(MachineScreen, { description: "Its company let nobody else in", mark: mark, state: "closed", title: "Nadia is closed to you" })] }));
565
+ },
560
566
  ObjectPage: () => (_jsx(ObjectPage, { actions: { secondary: { label: "Edit", onClick: nothing }, menu: PAGE_MENU }, description: "Optician \u00B7 partner since March 2026", facts: [
561
567
  { label: "Customers", value: "4" },
562
568
  { label: "Plan", value: "Business" },
@@ -190,6 +190,7 @@ export declare const SPECIMENS: {
190
190
  FormDrawer: () => import("react").JSX.Element;
191
191
  DrawerSteps: () => import("react").JSX.Element;
192
192
  LibraryShelf: () => import("react").JSX.Element;
193
+ MachineScreen: () => import("react").JSX.Element;
193
194
  ObjectPage: () => import("react").JSX.Element;
194
195
  ObjectSection: () => import("react").JSX.Element;
195
196
  OverviewPage: () => import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYiB,CAAC"}
@@ -1,4 +1,4 @@
1
- export type UsageName = "ActivityFeed" | "AssistantPanelHeader" | "AssistantWelcome" | "BoardEmpty" | "BoardHeader" | "CatalogDrawer" | "CollectionFilters" | "CollectionPage" | "CollectionToolbar" | "ConfirmDialog" | "ConversationCard" | "DrawerSteps" | "EntryPage" | "EntryPicture" | "EntryScene" | "FilterToolbar" | "FormDialog" | "FormDrawer" | "InviteCard" | "LibraryShelf" | "ObjectPage" | "ObjectSection" | "OverviewPage" | "PageFrame" | "PageHeader" | "PlanCard" | "ProductBand" | "RecordList" | "RecordSheet" | "RowEditForm" | "SettingsPage" | "SettingsSection" | "StepCards" | "useCatalogRows" | "Button" | "ButtonGroup" | "ButtonLink" | "CardActionsRow" | "CompanyCardActions" | "CopyButton" | "LoadMoreButton" | "PageActions" | "RecordCommands" | "RecordContextMenu" | "Calendar" | "ClearableInput" | "CollectionSearch" | "Field" | "FolderField" | "Form" | "Input" | "InputGroup" | "InputOTP" | "Label" | "NativeSelect" | "SettingsField" | "SettingsRows" | "Slider" | "Textarea" | "Checkbox" | "ChoiceboxGroup" | "CollectionSort" | "Combobox" | "ModelSelect" | "MultiSelect" | "RadioGroup" | "SegmentedChoice" | "SegmentedControl" | "Select" | "Switch" | "ThemeModeSegments" | "ThemeModeSwitcher" | "Toggle" | "ToggleGroup" | "ActionStatus" | "AgentOrb" | "AppIcon" | "AppMark" | "ArchIcon" | "Avatar" | "Badge" | "BrandWordmark" | "CategoryTag" | "CheckCounts" | "FileTypeIcon" | "IconTile" | "IdentityMark" | "ModelIdentity" | "ModelMark" | "ObjectFactValue" | "PlatformMark" | "ProductWordmark" | "ProgressChecklist" | "RecordIdentity" | "StatusBadge" | "Tag" | "AgentListRow" | "Breadcrumb" | "ColumnFoot" | "CommandDialog" | "DocumentTabs" | "FileTree" | "Footer" | "PlaceCount" | "PortalSidebarFrame" | "ProductShell" | "ProductShellBell" | "ScopeSwitcher" | "Sidebar" | "SidebarBrand" | "SidebarEntryCard" | "SidebarFind" | "SidebarFoot" | "SidebarFrame" | "SidebarMenuChevron" | "SidebarSections" | "Tabs" | "TabsNav" | "textLinkVariants" | "AgentCard" | "AgentRow" | "Card" | "CardRow" | "CatalogCard" | "CodeBlock" | "DataTable" | "DiffCount" | "DisclosureRow" | "EventRow" | "FigureRow" | "FileDiff" | "Gauge" | "Item" | "Kbd" | "MiddleTruncate" | "ObjectFacts" | "PairingCode" | "Progress" | "QrCode" | "RecordTime" | "RunTimeline" | "SettingsFactsSection" | "Snippet" | "Table" | "TableCard" | "TableValue" | "TextWithCopyButton" | "UsageMeter" | "Alert" | "EmptyState" | "EntryProgress" | "HoverCard" | "MessageNotice" | "NoticeBanner" | "PendingLabel" | "Skeleton" | "SkeletonRegion" | "Toaster" | "Tooltip" | "UpdateCard" | "WaitingLine" | "AccountMenu" | "ActionContextMenu" | "ActionMenu" | "AlertDialog" | "ContextMenu" | "Dialog" | "Drawer" | "DropdownMenu" | "GlassControl" | "MenuChoiceRow" | "Popover" | "Sheet" | "SiteMenu" | "ThemeModeMenu" | "ActivityCalendar" | "ChartAreaStacked" | "ChartBarHorizontal" | "ChartBarMultiple" | "ChartBarStacked" | "ChartCard" | "ChartContainer" | "ChartRanking" | "ChartSparkline" | "DateRangeControl" | "KpiCard" | "TrendBadge" | "createEntityColorMap" | "Accordion" | "AspectRatio" | "BrandField" | "Collapsible" | "CompanyCard" | "Disclosure" | "HiveScene" | "NadiaPresence" | "NumberedSteps" | "Prose" | "ReadingColumn" | "ResizablePanelGroup" | "ScrollArea" | "Separator" | "ToolIcon";
1
+ export type UsageName = "ActivityFeed" | "AssistantPanelHeader" | "AssistantWelcome" | "BoardEmpty" | "BoardHeader" | "CatalogDrawer" | "CollectionFilters" | "CollectionPage" | "CollectionToolbar" | "ConfirmDialog" | "ConversationCard" | "DrawerSteps" | "EntryPage" | "EntryPicture" | "EntryScene" | "FilterToolbar" | "FormDialog" | "FormDrawer" | "InviteCard" | "LibraryShelf" | "MachineScreen" | "ObjectPage" | "ObjectSection" | "OverviewPage" | "PageFrame" | "PageHeader" | "PlanCard" | "ProductBand" | "RecordList" | "RecordSheet" | "RowEditForm" | "SettingsPage" | "SettingsSection" | "StepCards" | "useCatalogRows" | "Button" | "ButtonGroup" | "ButtonLink" | "CardActionsRow" | "CompanyCardActions" | "CopyButton" | "LoadMoreButton" | "PageActions" | "RecordCommands" | "RecordContextMenu" | "Calendar" | "ClearableInput" | "CollectionSearch" | "Field" | "FolderField" | "Form" | "Input" | "InputGroup" | "InputOTP" | "Label" | "NativeSelect" | "SettingsField" | "SettingsRows" | "Slider" | "Textarea" | "Checkbox" | "ChoiceboxGroup" | "CollectionSort" | "Combobox" | "ModelSelect" | "MultiSelect" | "RadioGroup" | "SegmentedChoice" | "SegmentedControl" | "Select" | "Switch" | "ThemeModeSegments" | "ThemeModeSwitcher" | "Toggle" | "ToggleGroup" | "ActionStatus" | "AgentOrb" | "AppIcon" | "AppMark" | "ArchIcon" | "Avatar" | "Badge" | "BrandWordmark" | "CategoryTag" | "CheckCounts" | "FileTypeIcon" | "IconTile" | "IdentityMark" | "ModelIdentity" | "ModelMark" | "ObjectFactValue" | "PlatformMark" | "ProductWordmark" | "ProgressChecklist" | "RecordIdentity" | "StatusBadge" | "Tag" | "AgentListRow" | "Breadcrumb" | "ColumnFoot" | "CommandDialog" | "DocumentTabs" | "FileTree" | "Footer" | "PlaceCount" | "PortalSidebarFrame" | "ProductShell" | "ProductShellBell" | "ScopeSwitcher" | "Sidebar" | "SidebarBrand" | "SidebarEntryCard" | "SidebarFind" | "SidebarFoot" | "SidebarFrame" | "SidebarMenuChevron" | "SidebarSections" | "Tabs" | "TabsNav" | "textLinkVariants" | "AgentCard" | "AgentRow" | "Card" | "CardRow" | "CatalogCard" | "CodeBlock" | "DataTable" | "DiffCount" | "DisclosureRow" | "EventRow" | "FigureRow" | "FileDiff" | "Gauge" | "Item" | "Kbd" | "MiddleTruncate" | "ObjectFacts" | "PairingCode" | "Progress" | "QrCode" | "RecordTime" | "RunTimeline" | "SettingsFactsSection" | "Snippet" | "Table" | "TableCard" | "TableValue" | "TextWithCopyButton" | "UsageMeter" | "Alert" | "EmptyState" | "EntryProgress" | "HoverCard" | "MessageNotice" | "NoticeBanner" | "PendingLabel" | "Skeleton" | "SkeletonRegion" | "Toaster" | "Tooltip" | "UpdateCard" | "WaitingLine" | "AccountMenu" | "ActionContextMenu" | "ActionMenu" | "AlertDialog" | "ContextMenu" | "Dialog" | "Drawer" | "DropdownMenu" | "GlassControl" | "MenuChoiceRow" | "Popover" | "Sheet" | "SiteMenu" | "ThemeModeMenu" | "ActivityCalendar" | "ChartAreaStacked" | "ChartBarHorizontal" | "ChartBarMultiple" | "ChartBarStacked" | "ChartCard" | "ChartContainer" | "ChartRanking" | "ChartSparkline" | "DateRangeControl" | "KpiCard" | "TrendBadge" | "createEntityColorMap" | "Accordion" | "AspectRatio" | "BrandField" | "Collapsible" | "CompanyCard" | "Disclosure" | "HiveScene" | "NadiaPresence" | "NumberedSteps" | "Prose" | "ReadingColumn" | "ResizablePanelGroup" | "ScrollArea" | "Separator" | "ToolIcon";
2
2
  export type UsageFamily = "Compositions" | "Actions" | "Inputs" | "Choices" | "Status" | "Navigation" | "Data" | "Feedback" | "Menus" | "Charts" | "Other";
3
3
  export type ComponentUsage = {
4
4
  name: UsageName;
@@ -1 +1 @@
1
- {"version":3,"file":"usage.generated.d.ts","sourceRoot":"","sources":["../../src/showcase/usage.generated.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GACjB,cAAc,GACd,sBAAsB,GACtB,kBAAkB,GAClB,YAAY,GACZ,aAAa,GACb,eAAe,GACf,mBAAmB,GACnB,gBAAgB,GAChB,mBAAmB,GACnB,eAAe,GACf,kBAAkB,GAClB,aAAa,GACb,WAAW,GACX,cAAc,GACd,YAAY,GACZ,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,eAAe,GACf,cAAc,GACd,WAAW,GACX,YAAY,GACZ,UAAU,GACV,aAAa,GACb,YAAY,GACZ,aAAa,GACb,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,WAAW,GACX,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,gBAAgB,GAChB,oBAAoB,GACpB,YAAY,GACZ,gBAAgB,GAChB,aAAa,GACb,gBAAgB,GAChB,mBAAmB,GACnB,UAAU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"usage.generated.d.ts","sourceRoot":"","sources":["../../src/showcase/usage.generated.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GACjB,cAAc,GACd,sBAAsB,GACtB,kBAAkB,GAClB,YAAY,GACZ,aAAa,GACb,eAAe,GACf,mBAAmB,GACnB,gBAAgB,GAChB,mBAAmB,GACnB,eAAe,GACf,kBAAkB,GAClB,aAAa,GACb,WAAW,GACX,cAAc,GACd,YAAY,GACZ,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,eAAe,GACf,YAAY,GACZ,eAAe,GACf,cAAc,GACd,WAAW,GACX,YAAY,GACZ,UAAU,GACV,aAAa,GACb,YAAY,GACZ,aAAa,GACb,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,WAAW,GACX,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,gBAAgB,GAChB,oBAAoB,GACpB,YAAY,GACZ,gBAAgB,GAChB,aAAa,GACb,gBAAgB,GAChB,mBAAmB,GACnB,UAAU,GACV,gBAAgB,GAChB,kBAAkB,GAClB,OAAO,GACP,aAAa,GACb,MAAM,GACN,OAAO,GACP,YAAY,GACZ,UAAU,GACV,OAAO,GACP,cAAc,GACd,eAAe,GACf,cAAc,GACd,QAAQ,GACR,UAAU,GACV,UAAU,GACV,gBAAgB,GAChB,gBAAgB,GAChB,UAAU,GACV,aAAa,GACb,aAAa,GACb,YAAY,GACZ,iBAAiB,GACjB,kBAAkB,GAClB,QAAQ,GACR,QAAQ,GACR,mBAAmB,GACnB,mBAAmB,GACnB,QAAQ,GACR,aAAa,GACb,cAAc,GACd,UAAU,GACV,SAAS,GACT,SAAS,GACT,UAAU,GACV,QAAQ,GACR,OAAO,GACP,eAAe,GACf,aAAa,GACb,aAAa,GACb,cAAc,GACd,UAAU,GACV,cAAc,GACd,eAAe,GACf,WAAW,GACX,iBAAiB,GACjB,cAAc,GACd,iBAAiB,GACjB,mBAAmB,GACnB,gBAAgB,GA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qBAAqB,GACrB,YAAY,GACZ,WAAW,GACX,UAAU,CAAC;AAEf,MAAM,MAAM,WAAW,GACnB,cAAc,GACd,SAAS,GACT,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,MAAM,GACN,UAAU,GACV,OAAO,GACP,QAAQ,GACR,OAAO,CAAC;AAEZ,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAAS,WAAW,EAYhD,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,SAAS,cAAc,EAu+F1C,CAAC"}
@@ -234,6 +234,17 @@ export const USAGE = [
234
234
  words: "The product words every string: the optional definition (one sentence on what the shelf holds), the search's label (\"Search skills\"), the loading label, each entry's name, line, Add label and added word, the empty, noMatch and failed messages.",
235
235
  access: "Each section is a region named by its h2; entries are list items; loading is a status named by loadingLabel and aria-busy; a failed add is announced as an alert; each entry's menu is named by its label.",
236
236
  },
237
+ {
238
+ name: "MachineScreen",
239
+ module: "machine-screen",
240
+ family: "Compositions",
241
+ summary: "A computer whose screen a person opens, drawn as the object's picture: a screen with the app's mark on it, on its stand, and under it what is true in words.",
242
+ when: "The picture beside a machine's facts, in `ObjectPage`'s `picture`: a Cloud machine's card in the Portal, whose screen is Nadia's window.",
243
+ instead: "A company's picture is its map. A command that opens the screen stays on the card as well (the card's primary, Open Nadia): the picture is a second way, never the only one. A machine in a list is its row's mark, an `IdentityMark`.",
244
+ behaviour: "`open`: the screen is lit, the whole picture is one link that opens `href` in a new tab, with the arrow after its title; it lifts its frame on hover and shows the focus ring. `off`: the screen is dark and the mark dimmed. `starting`: the screen is lit and the mark breathes, still while the reader asks for less motion. `closed`: the screen is dimmed with a lock, for a viewer who may not open it. Only `open` is interactive. It fills the height `ObjectPage` gives the picture beside its facts.",
245
+ words: 'The product words both lines: the title says what the picture does or what the machine is now ("Open Nadia", "Stopped", "Setting up", "Nadia is closed to you"), the description the one sentence after it ("Opens in a new tab", "Start it to open Nadia").',
246
+ access: "Open, it is one link named by its two lines; the mark is decorative. Otherwise its two lines are read as text.",
247
+ },
237
248
  {
238
249
  name: "ObjectPage",
239
250
  module: "object-page",
@@ -241,7 +252,7 @@ export const USAGE = [
241
252
  summary: "One object's page: the object card with its name, commands, facts, rows that open and one link elsewhere, then its sections as cards.",
242
253
  when: "One thing a person opened from a list and now reads or acts on: a customer, a partner, an Installation, a Library entry, an Agent's Profile in Nadia's window.",
243
254
  instead: '"Use Context Card to reveal entity metadata on hover or focus: a user, a deployment, a project, an API key." (https://vercel.com/geist/context-card) Ours: that hover is a `HoverCard`, drawn inside this package by a component such as `RecordTime`, never this page. A list of records is a CollectionPage; a page of settings only is a SettingsPage, whose cards are SettingsSections. A card of values a person saves is a setting card, never this one.',
244
- behaviour: "\"For a static key/value metadata block on a detail page, use `Description`.\" (https://vercel.com/geist/entity) \"The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`.\" (https://vercel.com/geist/entity) \"Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`).\" (https://vercel.com/geist/entity) \"Don’t put interactive controls in the title slot. Buttons, menus, and links belong in the content (`<dd>`) or in the parent layout, not the label (`<dt>`).\" (https://vercel.com/geist/description) Ours: where the product draws a path, the path above the page names the object's parent, and the product's section navigation stands between the path and the card. The object card is the first card of the page: a header bar with the name at the start and the object's commands at the end (a secondary, then the primary as the filled button, then the three dots, in `PageActions`' order, on the name's row while the name keeps 128 px, as on a phone, and under it otherwise; the primary is the one thing the object waits on its viewer for, such as approving a company that waits for approval, beside its alternative as the secondary, and an object with nothing waiting has none), the mark at 64 stands beside the name and optional line in the header; with `heading` the header instead names what the card holds, the name staying in the product's path and the page's h1 read only, and with `picture` the object's picture stands beside its facts, such as a company's map of its registered office (owner, 2026-11-08); facts follow in four columns once they have 36rem and two below, or in three beside a `picture`, each value after the mark of its kind (`icon`), a long one such as an address across two columns (`wide`); the facts are the object's own details, so none repeats the product's path (the name, the status beside it) or a tab (the Agents an Agents tab lists), and beside a `picture` they keep to four rows while the picture stands as tall as they do, so no fact runs below it (owner, 2026-11-08) (an object that exists always has one; an object not made yet, such as an account's plan before it chooses one, has none, and its card is the header alone, its name saying so and, for a viewer who may, its primary making it), each a muted label over its value in body text, then an optional footer with a hint at the start and one link at the end. `figures` are the object's own readings, a `FigureRows` between the facts and the entries, under a rule and at the card's inset. Optional `entries` close the same card under a rule: rows that open one by one, each with its chevron first (it turns down when open), its title, and its summary at the trailing edge; an open entry's panel starts under its title, and on a card narrower than 28 rem, as on a phone, at the card's edge, so its sections keep the chevron's room; an entry marked `defaultOpen` opens with the page, for a link that names it. The footer takes a link only, so no Save fits in it. The object changes from its card, never from a Settings tab (owner, 2026-11-08): the card's secondary command, Edit, opens a `FormDialog` of the facts the card shows; each setting the card does not show is one of its `entries`, its `value` the current value (read, missing, failed or loading, as `TableValue` draws them, muted), holding a `SettingsSection` with `frame=\"fold\"` whose controls are live and whose Save is off until one changes (owner, 2026-11-09). An entry holds what most visits to the object skip (one of its settings, its history, its notes, the output of one of its steps), read in place once opened; what every reader of the page needs, and a collection a person adds to or manages, is a section with its heading under the card (a `RecordList` or a `DataTable`), never an entry, and a different question about the object is a tab of its own (owner, 2026-11-09). A value on the card is never a control that opens an editor. The sections follow, 24 apart, each an `ObjectSection`, `ObjectFacts`, a `RecordList` with its `heading`, a `SettingsSection` or an `ActivityFeed`, drawing its own states; a section earns a card when it owns a decision, never for every label and value. The card is neutral; colour belongs to the company's compact identity, a semantic fact value, or an entry's status summary, with no coloured card ground. A fact marked `url`, such as a company's website, wraps only after `://`, a dot or a slash, never inside a word, and keeps the whole address as its text (design inspection, 2026-11-07). Deleting the object is the last card under its sections, a `SettingsSection` with `tone=\"error\"` whose button names the object and opens its confirmation, never a button in the page's header (nadicode decision).",
255
+ behaviour: "\"For a static key/value metadata block on a detail page, use `Description`.\" (https://vercel.com/geist/entity) \"The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`.\" (https://vercel.com/geist/entity) \"Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`).\" (https://vercel.com/geist/entity) \"Don’t put interactive controls in the title slot. Buttons, menus, and links belong in the content (`<dd>`) or in the parent layout, not the label (`<dt>`).\" (https://vercel.com/geist/description) Ours: where the product draws a path, the path above the page names the object's parent, and the product's section navigation stands between the path and the card. The object card is the first card of the page: a header bar with the name at the start and the object's commands at the end (a secondary, then the primary as the filled button, then the three dots, in `PageActions`' order, on the name's row while the name keeps 128 px, as on a phone, and under it otherwise; the primary is the one thing the object waits on its viewer for, such as approving a company that waits for approval, beside its alternative as the secondary, and an object with nothing waiting has none), the mark at 64 stands beside the name and optional line in the header; with `heading` the header instead names what the card holds, the name staying in the product's path and the page's h1 read only, and with `picture` the object's picture stands beside its facts, such as a company's map of its registered office (owner, 2026-11-08); facts follow in four columns once they have 36rem and two below, or in three beside a `picture`, each value after the mark of its kind (`icon`), a long one such as an address across two columns (`wide`); the facts are the object's own details, so none repeats the product's path (the name, the status beside it) or a tab (the Agents an Agents tab lists), and beside a `picture` they keep to four rows while the picture stands as tall as they do, so no fact runs below it (owner, 2026-11-08) (an object that exists always has one; an object not made yet, such as an account's plan before it chooses one, has none, and its card is the header alone, its name saying so and, for a viewer who may, its primary making it), each a muted label over its value in body text, then an optional footer with a hint at the start and one link at the end. `figures` are the object's own readings, a `FigureRows` between the facts and the entries, under a rule and at the card's inset. Optional `entries` close the same card under a rule: rows that open one by one, each with its chevron first (it turns down when open), its title, and its summary at the trailing edge; an open entry's panel starts under its title, and on a card narrower than 28 rem, as on a phone, at the card's edge, so its sections keep the chevron's room; an entry marked `defaultOpen` opens with the page, for a link that names it. The footer takes a link only, so no Save fits in it. The object's facts change from its card, never from another tab (owner, 2026-11-08): the card's secondary command, Edit, opens a `FormDialog` of the facts the card shows. How the object behaves is its last tab, Settings, when it has one: a `SettingsPage` of one `SettingsSection` each, the destructive cards last, holding no fact the card shows, as the card holds no setting. An object with few settings and no Settings tab keeps each of them as one of its card's `entries`, its `value` the current value (read, missing, failed or loading, as `TableValue` draws them, muted), holding a `SettingsSection` with `frame=\"fold\"` whose controls are live and whose Save is off until one changes (owner, 2026-11-09). An entry holds what most visits to the object skip (one of its settings, its history, its notes, the output of one of its steps), read in place once opened; what every reader of the page needs, and a collection a person adds to or manages, is a section with its heading under the card (a `RecordList` or a `DataTable`), never an entry, and a different question about the object is a tab of its own (owner, 2026-11-09). A value on the card is never a control that opens an editor. The sections follow, 24 apart, each an `ObjectSection`, `ObjectFacts`, a `RecordList` with its `heading`, a `SettingsSection` or an `ActivityFeed`, drawing its own states; a section earns a card when it owns a decision, never for every label and value. The card is neutral; colour belongs to the company's compact identity, a semantic fact value, or an entry's status summary, with no coloured card ground. A fact marked `url`, such as a company's website, wraps only after `://`, a dot or a slash, never inside a word, and keeps the whole address as its text (design inspection, 2026-11-07). Deleting the object is a `SettingsSection` with `tone=\"error\"` whose button names the object and opens its confirmation, never a button in the page's header: the last card of its Settings tab when the object has one, as a Customer's Archive is, and otherwise the last card under its sections (owner, 2026-11-18).",
245
256
  words: '"Keep right-column buttons Verb + Noun (`Remove Member`, `Resend Invite`). Bare verbs like `Remove` or `Confirm` lose context once the row scrolls offscreen." (https://vercel.com/geist/entity) "Title slot is Title Case noun (`Last Deployed`, `Build Duration`); content is sentence case unless the value is a literal identifier, ID, or timestamp that should be preserved verbatim." (https://vercel.com/geist/description) Ours: sentence case throughout. The name as the object is called everywhere else; the line says what it is and whose ("Customer of Partner Alpha · since 3 August 2026"); a fact\'s label is a noun ("Plan"), its value the figure; an entry\'s title is a noun phrase; the hint is one sentence ("To update it, push to the main branch."); the link names where it goes ("Deployments"); the menu\'s trigger reads "More for {name}".',
246
257
  access: '"Geist renders `<dl>`/`<dt>`/`<dd>` so screen readers announce each key/value pair as a definition." (https://vercel.com/geist/description) "Don’t wrap the component in extra paragraphs that break the list semantics." (https://vercel.com/geist/description) Ours: with `headingProps` the name is the page\'s h1; without them it is text, for a product whose chrome already titles the page. The mark is decorative beside the name. Each entry is an h2 heading holding a button with `aria-expanded` that controls its panel.',
247
258
  },
@@ -349,7 +360,7 @@ export const USAGE = [
349
360
  module: "settings-page",
350
361
  family: "Compositions",
351
362
  summary: "A page of settings: section cards across the page's width under its title, each saving its own values.",
352
- when: "A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person or to the platform (an object has no Settings tab: it changes from its card, as `ObjectPage` says), so the column keeps its width and its field layout from one entry of a settings menu to the next.",
363
+ when: "A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person or to the platform (an object's Settings tab, how the object behaves, included; its facts change from its card, as `ObjectPage` says), so the column keeps its width and its field layout from one entry of a settings menu to the next.",
353
364
  instead: "One object's page with a settings card among its sections is an ObjectPage; \"Place it once per app, in the footer or settings, not duplicated across pages.\" (https://vercel.com/geist/theme-switcher) Ours: Theme and Language stand in the account menu, and a product's preferences page may show them too; when they apply is `SettingsSection`'s rule.",
354
365
  behaviour: "One setting per card (the card's shapes are SettingsSection's: one field, a row of short parts of one value, rows of switches or of selects), the cards stacked 24 apart in the settings column (`ReadingColumn` `settings`, 960 px) under the page's title, which the product's chrome gives it (`ProductShell`'s, unseen, as the path names the page; `PageFrame`'s `title`, drawn with its description, where the host app draws the page area); the cards fill the column and stop there, with no heading between them; a field inside keeps its own bound. A page that mixes cards with other content, such as a table or a list of rules, is not a SettingsPage: its sections take a plain h2 above each card. The page draws no header and no save of its own: each SettingsSection saves from its footer. The danger zone closes the page, in rising severity: transfer, then pause, then delete; only delete is `tone=\"error\"`, and only delete and pause take a button in a hue.",
355
366
  words: "The sections' titles and lines; a card's title is never the page's h1.",
@@ -428,7 +439,7 @@ export const USAGE = [
428
439
  summary: "The end of a card's header: what the card's reader can do from it, and where it leads.",
429
440
  when: "The header of every card composition draws it from the card's `actions`: ObjectPage, ObjectSection, SettingsSection, SettingsFactsSection and TableCard. A page gives the card its `actions` and never renders this row.",
430
441
  instead: "A page's own commands are `PageActions` on the title's row. A record's commands are its list's (`RecordList`) or its `RecordCommands`. A setting card whose value stands at its header's end, such as an avatar upload, gives `SettingsSection` its `control`. A link inside the card's description or footer line is a `TextLink` in that sentence (nadicode decision).",
431
- behaviour: "The row holds, in order: the muted `meta` (a period or a count), the reading `period`, up to two secondaries as outline buttons, the primary as the filled button, and the three dots last. A way to another page is a secondary with its `link`, drawn as a button like the others and named for the page; it is never a text link in the header's corner. A page has one filled button, so a card on a page whose primary stands elsewhere takes outline buttons only. It wraps under the title when the header is narrow, as the card's header places it.",
442
+ behaviour: "The row holds, in order: the muted `meta` (a period or a count), the reading `period`, up to two secondaries as outline buttons, the primary as the filled button, and the three dots last. A way to another page is a secondary with its `link`, drawn as a button like the others and named for the page; it is never a text link in the header's corner. A page has one filled button, so a card on a page whose primary stands elsewhere takes outline buttons only. A secondary with `confirm`, such as a machine's Stop, asks first: pressing it opens its confirmation, which stays open and busy, saying the command's `pendingLabel`, while it runs, shows its failure inside it and closes once it succeeds, so a product passes the words and never mounts the confirmation itself. It wraps under the title when the header is narrow, as the card's header places it.",
432
443
  words: 'A command is a verb on the card\'s object ("Add card", "Buy Extra usage for Customers"); a way to another page is that page\'s name as its navigation writes it ("Statements"); `meta` is a short count or period ("2 of 5 Agents").',
433
444
  access: "DOM order is visual order. A command whose label does not name its target carries `accessibleName`. A way to another page is a real link. A command with `autoFocus` takes focus as it appears, as the Edit that opened a card's in-place editor does when the editor closes.",
434
445
  },
@@ -1284,7 +1295,7 @@ export const USAGE = [
1284
1295
  module: "sidebar-sections",
1285
1296
  family: "Navigation",
1286
1297
  summary: "The sidebar swapped to one object or one area: the way back, what you are in, and its sections.",
1287
- when: "Inside an object, the same sidebar column shows these instead of the places: an Installation's sections in the Portal, Nadia's Edit and Settings sections. Inside an area whose pages are siblings a person moves between, the area's sub-menu without `identity`: the Portal's Settings, Company, Library and Account. A catalogue long enough to be browsed by category takes this sub-menu too, one section a category with its `count`: Nadia's Browse apps. The row that opens an area ends in `SidebarMenuChevron`; a row that only opens a page has none. Required: the way back and the nav's `label`; every section has an icon.",
1298
+ when: "Inside an object a person works inside, the same sidebar column shows these instead of the places: Nadia's Edit and Settings sections. A record opened from a list, one among many, keeps the sidebar as it was and is no such object. Inside an area whose pages are siblings a person moves between, the area's sub-menu without `identity`: the Portal's Settings, Company, Library and Account. A catalogue long enough to be browsed by category takes this sub-menu too, one section a category with its `count`: Nadia's Browse apps. The row that opens an area ends in `SidebarMenuChevron`; a row that only opens a page has none. Required: the way back and the nav's `label`; every section has an icon.",
1288
1299
  instead: "The places a person can go are the sidebar's own groups; a settings page that does not swap the column is a SettingsPage. Never a second column beside the first. “Tabs imply the views share scope, URL parent, and data model” (https://vercel.com/geist/tabs) Ours: an area whose pages hold different objects, with different lists and different ways to add, is this sub-menu; a destination whose pages are views of one reading keeps its Tabs (the Portal's Analytics). An object's sections under the top bar are a `TabsNav` band.",
1289
1300
  behaviour: "With `identity`: a back arrow row, then what you are in, then the sections. Without it: one row with a ‹ at its start and the area's name centred, then the sections as words alone. The back row returns to where the person came from and is disabled while leaving is blocked. One section is current and takes the selection fill; the rest stay neutral. A section that sets `group` opens a labelled group that holds the sections after it until another names its own; the label and the gap tell groups apart, never a rule. Narrow, the identity, the area's name and the labels leave, and each row keeps its icon with its name in a tooltip.",
1290
1301
  words: 'The back row names where it goes ("Agents", "Back to workspace"); the identity is the object\'s own name; an area\'s `label` is its sidebar row\'s word ("Settings", "Company"); a group heading names the kind of settings ("Account"), in sentence case; sections are nouns ("Skills", "Members").',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/ui",
3
- "version": "12.1.255",
3
+ "version": "12.1.257",
4
4
  "type": "module",
5
5
  "imports": {
6
6
  "#jsx": "./src/jsx/index.ts",
@@ -82,7 +82,7 @@
82
82
  "@headless-tree/react": "1.8.0",
83
83
  "@iconify-icons/logos": "^2.0.3",
84
84
  "@iconify/react": "^6.0.2",
85
- "@nadicodeai/design-system": "12.1.255",
85
+ "@nadicodeai/design-system": "12.1.257",
86
86
  "@tanstack/react-table": "^9.3.1",
87
87
  "@vgpu/wgsl": "0.6.0",
88
88
  "class-variance-authority": "^0.7.1",