@nadicodeai/ui 12.1.268 → 12.1.269

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.
@@ -13,7 +13,7 @@ declare function Command({ className, children, resultCount, ...props }: React.C
13
13
  * @family Navigation
14
14
  * @when "Use CommandMenu for a global, keyboard-first command palette that finds resources and runs actions across the app." (https://vercel.com/geist/command-menu) Ours: finding anything across the product and going there: an Agent, a customer, a page, a creation page (*New Agent*). Opened by ⌘K or the sidebar's Find. It names every place the sidebar names, every chat and every settings page; it goes to places and never runs a command. Nadia's model picker (⌘⇧M) is the same dialog choosing the chat's model, each model's reasoning levels in a `CommandSubmenu` beside it.
15
15
  * @instead "For a menu opened from a visible trigger on a single resource, use `Menu`; for right-click on a row, use `ContextMenu`." (https://vercel.com/geist/command-menu) "Group items into pages (`Projects`, `Team Settings`) when a single flat list would exceed roughly 30 items or span multiple resource types." (https://vercel.com/geist/command-menu) Ours: one record's commands are its `ActionMenu` and, on right-click, its mirror `ActionContextMenu`; a page's are `PageActions`' `menu`. Search inside one collection is `CollectionSearch`. Choosing the page's scope is `ScopeSwitcher`. `CommandDialog` has no pages: its list is groups.
16
- * @behaviour "Bind `⌘K` on macOS and `Ctrl+K` elsewhere. Don’t reuse the binding for any in-page filter input; it’s a global shortcut." (https://vercel.com/geist/command-menu) "Open into the root page; preserve the search query when navigating back from a sub-page so the user’s typing isn’t lost." (https://vercel.com/geist/command-menu) "Trap focus inside the overlay while it’s open and return focus to the previously active element on close." (https://vercel.com/geist/command-menu) "Show a recent or default item set when the input is empty so the menu is useful before typing." (https://vercel.com/geist/command-menu) Ours: a solid surface, never glass; opens instantly, 640 px wide and 15% down the window; on a phone it is a bottom sheet, 640 px high with 8 px top corners and the list filling it. The input row stands above the list with a line under it, the field in large type with no icon and an *Esc* key at its end that closes the dialog and is the next stop after the field on Tab; the list scrolls past 436 px. The first row is highlighted on open. No match says so. Every row is 36 px with the pointer cursor, a group's heading is a muted 36 px row, a divider bleeds across the list. A row's shortcut is a `CommandShortcut` and a word or icon at its end is a `CommandSuffix`. Colour carries nothing: the highlighted row is a faint neutral wash with its text unchanged, group headings, suffixes and the empty line are muted, and no row, key or divider takes a hue. `CommandDialog` draws `Command` itself, so a product never mounts one; its parts are `CommandInput`, `CommandList`, `CommandEmpty`, `CommandGroup`, `CommandItem` and `CommandShortcut` (a `Kbd`). A row with choices of its own, as a model has its reasoning levels, shows them in `CommandSubmenu` beside it, with a `CommandSubmenuItem` each; the dialog follows its highlighted row through `value` and `onValueChange`.
16
+ * @behaviour "Bind `⌘K` on macOS and `Ctrl+K` elsewhere. Don’t reuse the binding for any in-page filter input; it’s a global shortcut." (https://vercel.com/geist/command-menu) "Open into the root page; preserve the search query when navigating back from a sub-page so the user’s typing isn’t lost." (https://vercel.com/geist/command-menu) "Trap focus inside the overlay while it’s open and return focus to the previously active element on close." (https://vercel.com/geist/command-menu) "Show a recent or default item set when the input is empty so the menu is useful before typing." (https://vercel.com/geist/command-menu) Ours: a solid surface, never glass; opens instantly, 640 px wide and 15% down the window; on a phone it is a bottom sheet, 640 px high with 8 px top corners and the list filling it. The input row stands above the list with a line under it, the field in large type with no icon and an *Esc* key at its end that closes the dialog and is the next stop after the field on Tab; the list scrolls past 436 px. The first row is highlighted on open. No match says so. Every row is 36 px with the pointer cursor, a group's heading is a muted 36 px row, a divider bleeds across the list. A row's shortcut is a `CommandShortcut` and a word or icon at its end is a `CommandSuffix`. A row that cannot be chosen now draws its text muted and its icon and label at half strength, as every disabled control does, while its `CommandSuffix`, which says why, stays readable. Colour carries nothing: the highlighted row is a faint neutral wash with its text unchanged, group headings, suffixes and the empty line are muted, and no row, key or divider takes a hue. `CommandDialog` draws `Command` itself, so a product never mounts one; its parts are `CommandInput`, `CommandList`, `CommandEmpty`, `CommandGroup`, `CommandItem` and `CommandShortcut` (a `Kbd`). A row with choices of its own, as a model has its reasoning levels, shows them in `CommandSubmenu` beside it, with a `CommandSubmenuItem` each; the dialog follows its highlighted row through `value` and `onValueChange`.
17
17
  * @words "`<CommandMenu.Item>` children are Title Case verb phrases (`Deploy Project`, `Invite Team Member`). Avoid navigation phrasing like `Go to project page`; CommandMenu commands act, not browse." (https://vercel.com/geist/command-menu) "`CommandMenuPage.label` is Title Case and names the scope (`Projects`, `Team Settings`)." (https://vercel.com/geist/command-menu) "`CommandMenuPage.placeholder` is sentence case, action-oriented, and ends with `…` (`Search projects…`, `Type a command or search…`). Bare `Search…` is wrong because it doesn’t name the scope." (https://vercel.com/geist/command-menu) "`<CommandMenu.Group heading>` is Title Case, 1–2 words (`Actions`, `Recent`)." (https://vercel.com/geist/command-menu) Ours: groups are plural nouns in sentence case (*Agents*, *Go to*), one or two words. Items are names, or verb and noun for a creation page (*New Agent*), because the dialog goes to places. The placeholder names what is searched, never a bare "Search". No match quotes the query.
18
18
  * @access "Use `aria-live="polite"` on the result count so screen readers hear how the list narrows as the user types." (https://vercel.com/geist/command-menu) "Up/Down arrows move highlight, Enter activates, Escape closes. Backspace at an empty input pops the page stack." (https://vercel.com/geist/command-menu) "Display each item’s `keybind` as a `Kbd` slot so the shortcut is discoverable to sighted users and announced as a label to screen readers." (https://vercel.com/geist/command-menu) Ours: a dialog with a screen-reader `title` and `description`, both required; the *Esc* key is a button named by `closeLabel`, which is required; the field is a combobox over a listbox; the highlighted item is `aria-selected`. A polite live region reads `resultCount` as the list narrows, and it is required. `CommandInput` requires its `placeholder`, `CommandGroup` its `heading` and `CommandItem` its `onSelect`, so no field, group or row is left unnamed or inert; a row with no group stands outside a `CommandGroup`. A shortcut is a `CommandShortcut`, drawn as `kbd` elements. With no pages there is no stack for Backspace to pop.
19
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/components/command.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAmB,MAAM,MAAM,CAAC;AAGpE,OAAO,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AG,KAAK,EACT,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC,GAAG;IACtE,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,qGAAqG;IACrG,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,qBAyBA;AAED,KAAK,oBAAoB,GAAG,QAAQ,SAAS,MAAM,CAAC,GAChD,CAAC,SAAS,OAAO,GACf,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,GACf,KAAK,GACP,KAAK,CAAC;AAEV,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,qBAIrE;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAQ3E;AAED,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,kBAAkB,GACnB,CAAC"}
@@ -23,7 +23,7 @@ function Command({ className, children, resultCount, ...props }) {
23
23
  * @family Navigation
24
24
  * @when "Use CommandMenu for a global, keyboard-first command palette that finds resources and runs actions across the app." (https://vercel.com/geist/command-menu) Ours: finding anything across the product and going there: an Agent, a customer, a page, a creation page (*New Agent*). Opened by ⌘K or the sidebar's Find. It names every place the sidebar names, every chat and every settings page; it goes to places and never runs a command. Nadia's model picker (⌘⇧M) is the same dialog choosing the chat's model, each model's reasoning levels in a `CommandSubmenu` beside it.
25
25
  * @instead "For a menu opened from a visible trigger on a single resource, use `Menu`; for right-click on a row, use `ContextMenu`." (https://vercel.com/geist/command-menu) "Group items into pages (`Projects`, `Team Settings`) when a single flat list would exceed roughly 30 items or span multiple resource types." (https://vercel.com/geist/command-menu) Ours: one record's commands are its `ActionMenu` and, on right-click, its mirror `ActionContextMenu`; a page's are `PageActions`' `menu`. Search inside one collection is `CollectionSearch`. Choosing the page's scope is `ScopeSwitcher`. `CommandDialog` has no pages: its list is groups.
26
- * @behaviour "Bind `⌘K` on macOS and `Ctrl+K` elsewhere. Don’t reuse the binding for any in-page filter input; it’s a global shortcut." (https://vercel.com/geist/command-menu) "Open into the root page; preserve the search query when navigating back from a sub-page so the user’s typing isn’t lost." (https://vercel.com/geist/command-menu) "Trap focus inside the overlay while it’s open and return focus to the previously active element on close." (https://vercel.com/geist/command-menu) "Show a recent or default item set when the input is empty so the menu is useful before typing." (https://vercel.com/geist/command-menu) Ours: a solid surface, never glass; opens instantly, 640 px wide and 15% down the window; on a phone it is a bottom sheet, 640 px high with 8 px top corners and the list filling it. The input row stands above the list with a line under it, the field in large type with no icon and an *Esc* key at its end that closes the dialog and is the next stop after the field on Tab; the list scrolls past 436 px. The first row is highlighted on open. No match says so. Every row is 36 px with the pointer cursor, a group's heading is a muted 36 px row, a divider bleeds across the list. A row's shortcut is a `CommandShortcut` and a word or icon at its end is a `CommandSuffix`. Colour carries nothing: the highlighted row is a faint neutral wash with its text unchanged, group headings, suffixes and the empty line are muted, and no row, key or divider takes a hue. `CommandDialog` draws `Command` itself, so a product never mounts one; its parts are `CommandInput`, `CommandList`, `CommandEmpty`, `CommandGroup`, `CommandItem` and `CommandShortcut` (a `Kbd`). A row with choices of its own, as a model has its reasoning levels, shows them in `CommandSubmenu` beside it, with a `CommandSubmenuItem` each; the dialog follows its highlighted row through `value` and `onValueChange`.
26
+ * @behaviour "Bind `⌘K` on macOS and `Ctrl+K` elsewhere. Don’t reuse the binding for any in-page filter input; it’s a global shortcut." (https://vercel.com/geist/command-menu) "Open into the root page; preserve the search query when navigating back from a sub-page so the user’s typing isn’t lost." (https://vercel.com/geist/command-menu) "Trap focus inside the overlay while it’s open and return focus to the previously active element on close." (https://vercel.com/geist/command-menu) "Show a recent or default item set when the input is empty so the menu is useful before typing." (https://vercel.com/geist/command-menu) Ours: a solid surface, never glass; opens instantly, 640 px wide and 15% down the window; on a phone it is a bottom sheet, 640 px high with 8 px top corners and the list filling it. The input row stands above the list with a line under it, the field in large type with no icon and an *Esc* key at its end that closes the dialog and is the next stop after the field on Tab; the list scrolls past 436 px. The first row is highlighted on open. No match says so. Every row is 36 px with the pointer cursor, a group's heading is a muted 36 px row, a divider bleeds across the list. A row's shortcut is a `CommandShortcut` and a word or icon at its end is a `CommandSuffix`. A row that cannot be chosen now draws its text muted and its icon and label at half strength, as every disabled control does, while its `CommandSuffix`, which says why, stays readable. Colour carries nothing: the highlighted row is a faint neutral wash with its text unchanged, group headings, suffixes and the empty line are muted, and no row, key or divider takes a hue. `CommandDialog` draws `Command` itself, so a product never mounts one; its parts are `CommandInput`, `CommandList`, `CommandEmpty`, `CommandGroup`, `CommandItem` and `CommandShortcut` (a `Kbd`). A row with choices of its own, as a model has its reasoning levels, shows them in `CommandSubmenu` beside it, with a `CommandSubmenuItem` each; the dialog follows its highlighted row through `value` and `onValueChange`.
27
27
  * @words "`<CommandMenu.Item>` children are Title Case verb phrases (`Deploy Project`, `Invite Team Member`). Avoid navigation phrasing like `Go to project page`; CommandMenu commands act, not browse." (https://vercel.com/geist/command-menu) "`CommandMenuPage.label` is Title Case and names the scope (`Projects`, `Team Settings`)." (https://vercel.com/geist/command-menu) "`CommandMenuPage.placeholder` is sentence case, action-oriented, and ends with `…` (`Search projects…`, `Type a command or search…`). Bare `Search…` is wrong because it doesn’t name the scope." (https://vercel.com/geist/command-menu) "`<CommandMenu.Group heading>` is Title Case, 1–2 words (`Actions`, `Recent`)." (https://vercel.com/geist/command-menu) Ours: groups are plural nouns in sentence case (*Agents*, *Go to*), one or two words. Items are names, or verb and noun for a creation page (*New Agent*), because the dialog goes to places. The placeholder names what is searched, never a bare "Search". No match quotes the query.
28
28
  * @access "Use `aria-live="polite"` on the result count so screen readers hear how the list narrows as the user types." (https://vercel.com/geist/command-menu) "Up/Down arrows move highlight, Enter activates, Escape closes. Backspace at an empty input pops the page stack." (https://vercel.com/geist/command-menu) "Display each item’s `keybind` as a `Kbd` slot so the shortcut is discoverable to sighted users and announced as a label to screen readers." (https://vercel.com/geist/command-menu) Ours: a dialog with a screen-reader `title` and `description`, both required; the *Esc* key is a button named by `closeLabel`, which is required; the field is a combobox over a listbox; the highlighted item is `aria-selected`. A polite live region reads `resultCount` as the list narrows, and it is required. `CommandInput` requires its `placeholder`, `CommandGroup` its `heading` and `CommandItem` its `onSelect`, so no field, group or row is left unnamed or inert; a row with no group stands outside a `CommandGroup`. A shortcut is a `CommandShortcut`, drawn as `kbd` elements. With no pages there is no stack for Backspace to pop.
29
29
  */
@@ -50,7 +50,7 @@ function CommandSeparator({ className, ...props }) {
50
50
  return (_jsx(CommandPrimitive.Separator, { "data-slot": "command-separator", "data-nc-ui": "", className: cn("-mx-2 my-2 h-px bg-border", className), ...props }));
51
51
  }
52
52
  function CommandItem({ className, children, ...props }) {
53
- return (_jsxs(CommandPrimitive.Item, { "data-slot": "command-item", "data-nc-ui": "", className: cn("group/command-item relative flex min-h-touch-target cursor-pointer items-center gap-3 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:cursor-default data-[disabled=true]:text-muted-foreground data-[selected=true]:bg-accent data-[selected=true]:text-foreground [@media(hover:hover)_and_(pointer:fine)]:min-h-control-height [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[selected=true]:*:[svg]:text-foreground", className), ...props, children: [children, _jsx(CheckIcon, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-has-data-[slot=command-suffix]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })] }));
53
+ return (_jsxs(CommandPrimitive.Item, { "data-slot": "command-item", "data-nc-ui": "", className: cn("group/command-item relative flex min-h-touch-target cursor-pointer items-center gap-3 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:cursor-default data-[disabled=true]:text-muted-foreground data-[disabled=true]:[&>:not([data-slot=command-suffix],[data-slot=command-check])]:opacity-50 data-[selected=true]:bg-accent data-[selected=true]:text-foreground [@media(hover:hover)_and_(pointer:fine)]:min-h-control-height [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[selected=true]:*:[svg]:text-foreground", className), ...props, children: [children, _jsx(CheckIcon, { "data-slot": "command-check", className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-has-data-[slot=command-suffix]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })] }));
54
54
  }
55
55
  /** The highlighted row's own choices, such as a model's reasoning levels, in a small menu beside that row, sliding over the list's edge when the window has no room beside it: open while the pointer is on the row or after the right arrow, closed by the left arrow, by moving on with the keys, or with the dialog. It takes no focus, so the field keeps it and the keys keep working; a click on one of its `CommandSubmenuItem`s stays inside the dialog. */
56
56
  function CommandSubmenu({ anchor, heading, open, children, }) {
@@ -1,11 +1,13 @@
1
1
  import { type ComponentType, type ReactElement, type ReactNode } from "react";
2
2
  import { type ColumnFootAccount, type ColumnFootBand } from "./column-foot.js";
3
+ import { type EmptyStateKind } from "./empty-state.js";
3
4
  import { type IconComponent, type IdentityMarkProps } from "./identity-mark.js";
4
5
  import { type KbdKey } from "./kbd.js";
5
6
  import { type NoticeBannerProps } from "./notice-banner.js";
6
7
  import type { ResolvedMessage } from "./product-message.js";
7
8
  import { type RecordContextMenuProps } from "./record-commands.js";
8
9
  import { type ScopeSwitcherProps } from "./scope-switcher.js";
10
+ import { type SegmentedOptions } from "./segmented-control.js";
9
11
  import { type SidebarSectionsProps } from "./sidebar-sections.js";
10
12
  import { type StatusBadgeTone } from "./status-badge.js";
11
13
  import { type ProductShellBellData } from "./product-shell-bell.js";
@@ -68,6 +70,66 @@ export type ProductShellPlaceGroup = {
68
70
  /** Read, with no place yet: one muted line in their room. */
69
71
  empty?: string;
70
72
  };
73
+ /** The column's two or three lists of one kind of navigation, chosen by a switch under its top row: Nadia's Agents and her chats with them. */
74
+ export type ProductShellViews<Value extends string = string> = {
75
+ /** What the switch chooses, its group's name: "Show". */
76
+ label: string;
77
+ /** The lists, in the order the switch shows them. With an `icon` on each, the collapsed column draws the switch too, its icons stacked. */
78
+ options: SegmentedOptions<Value>;
79
+ /** The list the column shows. */
80
+ value: Value;
81
+ onChange: (value: Value) => void;
82
+ };
83
+ /** One record in the column's list: the mark of what it belongs to and its own name, as a chat with an Agent's orb. */
84
+ export type ProductShellListItem = {
85
+ id: string;
86
+ /** The record's name: a chat's title. */
87
+ label: string;
88
+ /** What it belongs to, read as the row's description and shown in its collapsed tooltip: the Agent a chat is with. */
89
+ owner: string;
90
+ mark: IdentityMarkProps;
91
+ /** The record the page shows: drawn selected, `aria-current="page"`. */
92
+ current?: boolean;
93
+ onClick: () => void;
94
+ };
95
+ /** A run of the list's records under a heading that folds, as the chats of one day. */
96
+ export type ProductShellListGroup = {
97
+ id: string;
98
+ /** The heading: "Today". */
99
+ label: string;
100
+ open: boolean;
101
+ onToggle: () => void;
102
+ items: readonly ProductShellListItem[];
103
+ };
104
+ /** The column's list of records in place of its places, as Nadia's chats with every Agent: newest first, under headings that fold, a page at a time. */
105
+ export type ProductShellListData = {
106
+ /** The list's name, its navigation's: "Chats". */
107
+ label: string;
108
+ /** A choice that narrows the list, at its top: All Agents, then each Agent. `label` names it; each option's label is what the trigger shows, and no option's value is empty, since the select reads an empty value as nothing chosen and draws it as a placeholder. */
109
+ filter?: {
110
+ label: string;
111
+ value: string;
112
+ options: readonly {
113
+ value: string;
114
+ label: string;
115
+ }[];
116
+ onChange: (value: string) => void;
117
+ };
118
+ groups: readonly ProductShellListGroup[];
119
+ /** The next page of records, while there is one. */
120
+ more?: {
121
+ label: string;
122
+ loadingLabel: string;
123
+ loading: boolean;
124
+ onClick: () => void;
125
+ };
126
+ /** The records are still being read: placeholder rows in their room, and the navigation is busy. */
127
+ loading?: boolean;
128
+ /** The records could not be read: the message, with its Try again, in their room. */
129
+ failed?: ResolvedMessage;
130
+ /** Read, with no record: the first use, or, while `filter` narrows the list, the filter's finding nothing with its way back. */
131
+ empty?: EmptyStateKind<"firstUse"> | EmptyStateKind<"noResults">;
132
+ };
71
133
  /** The open record's status, beside its name in the path. */
72
134
  export type ProductShellStatus = {
73
135
  tone: StatusBadgeTone;
@@ -232,11 +294,14 @@ export type ProductShellProps = {
232
294
  home?: ProductShellHomeData | ProductShellRegion;
233
295
  /** Find, or the region that draws it as the field. */
234
296
  find?: ProductShellFind | ProductShellRegion;
235
- /** A plus in the column's top row, beside Find's lens, that adds the column's kind of place: Nadia's New Agent. */
297
+ /** A plus in the column's top row, beside Find's lens, that adds the kind of thing the column lists: Nadia's New Agent, and New chat while her chats show. With `disabledReason` it cannot add now: it stays, disabled, saying why. */
236
298
  create?: {
237
299
  label: string;
238
300
  onClick: () => void;
301
+ disabledReason?: string | undefined;
239
302
  };
303
+ /** The switch under the column's top row between its lists, while the column holds places or a list and shows names. */
304
+ views?: ProductShellViews;
240
305
  /** The band above the account, or the region that draws it. */
241
306
  band?: ProductShellBandData | ProductShellRegion;
242
307
  /** Places at the column's foot, above the account, that stay there whether the column holds the places or an area's sections and never scroll away with them: a place a person reaches from everywhere, as Nadia's company. */
@@ -270,11 +335,19 @@ export type ProductShellProps = {
270
335
  /** The places, or the region that draws them, or an area's sections in their place. */
271
336
  places: readonly ProductShellPlaceGroup[] | ProductShellRegion;
272
337
  sections?: never;
338
+ list?: never;
273
339
  }
274
340
  /** An area's or an object's pages, which swap the places for theirs. */
275
341
  | {
276
342
  sections: Omit<SidebarSectionsProps<string>, "onChosen">;
277
343
  places?: never;
344
+ list?: never;
345
+ }
346
+ /** A list of records in the places' room, as Nadia's chats. */
347
+ | {
348
+ list: ProductShellListData;
349
+ places?: never;
350
+ sections?: never;
278
351
  }) & ({
279
352
  /** The product's `<main />`, which the shell fills with the page and scrolls under the top bar: a page owns its landmarks, so no component renders one. */
280
353
  main: ReactElement<{
@@ -290,11 +363,11 @@ export type ProductShellProps = {
290
363
  * A desktop or web product's frame: its navigation column, the top bar with the path, and the page.
291
364
  *
292
365
  * @family Navigation
293
- * @when The frame of every product page in the Portal, Nadia and Alveare Server: the product's home, Find, its places or an area's sections, the update offer or the way out, and the account, beside the page with its path. Alveare keeps Buzz's sidebar and mounts this shell's foot in it as `ColumnFoot`, and its counts as `PlaceCount` (nadicode decision, 6 November 2026). Nadia's window is this shell with `host`, inside Hermes's `window.shell` area: each Agent is a place with her orb as its `mark` and what she is doing as its `status`, with Find as a lens and New Agent as `create` in the column's top row, and her company is a `foot` place that opens its area. A product shows its `home`, its mark and name, only where nothing else names it: on the web, as the Portal in a browser among many tabs, where the mark is also the way home; a desktop app's window, Dock and menu bar already name it, so its column starts with its Find and then its places (owner ruling, 2026-11-07). Find's `form` follows the column: a product whose column is a list of conversations or Agents, as Nadia's, takes the lens (`button`); a product of many places, as the Portal, takes the field (owner ruling, 2026-11-07).
294
- * @instead A product never draws `Sidebar`, `SidebarFrame`, `SidebarProvider`, `SidebarInset`, `AccountMenu`, `UpdateCard`, `PageHeader` or `ReadingColumn` itself, which `nadicodeai/page-composition` refuses: it passes its places, its account, its band, its path and its title (nadicode decision). A page's own views are `Tabs`; an object's sections swap the column (`sections`) or stand in the band under the top bar (`tabs`), never a second column (nadicode decision). A part that waits for the page's language or for who is signed in is a region (`{ region }`) the product streams beside the page, drawn with the shell's component for it, so the frame and the page never wait for it; while it resolves, that component with `loading` holds its place. A product that reads everything before it draws shows `ProductShellSkeleton` meanwhile (owner ruling, 7 November 2026).
295
- * @behaviour One column, its regions in this order: the home with the collapse control (no home where the window already names the product: a desktop app's column starts with its Find, and a host's `mover` fills the row's free room, where the window's own buttons sit), and Find's lens and the plus of `create` beside it when Find is a `button`, Find's field when it is one, the places in their groups, then the column's foot, pinned at its bottom with no rule above it and in glass on the column's own colour so the places scroll under it: one band (the update offer or the way out), the `foot` places and the account with the bell beside it (nadicode decision; owner ruling, 7 November 2026); the foot's places stay whether the column holds the places or an area's sections. The column is 256 px wide, dragged on its edge between 224 and 384 px, collapsed by its control, by the handle's Enter or by dragging it under the narrowest width to 48 px of icons, or with `width.collapsedTo` `marks` to 64 px of marks at 40, the width a column of Agents or people collapses to on every page of the product, and a sheet under 768 px; the width and the collapse go to the product through `width.onChange`, and the shell opens at the ones it is given, or, with `width.kept`, at the ones the product keeps in the browser, which its pre-paint script already gave the column the server drew, so the first frame stands at the kept width with no jump (owner ruling, 6 November 2026; the first frame at the kept width, owner ruling, 7 November 2026); below `width.collapseBelow` the column shows its marks alone with no control or handle to open it, and opens again as the window widens, keeping the person's choice. Collapsed, the account shows its picture alone and the update card one icon. A place's badge counts what waits there in the attention colour, and the phone's menu button carries their sum. A place with its own `mark` leads its row with it in place of an icon: an Agent's orb at 64 px beside her name and `status`, as `AgentListRow` draws her, any other mark at 32; collapsed, the column shows each mark alone, at 40 in a column of marks and 32 in one of icons, with the name and the status in its tooltip. A place's `commands` open on a right-click of its row, as a record's in a list, and its one `action` stands beside its row as a small outline button while the column shows names, as a failed set-up's Try again. A group with a `label` is a navigation named by it, headed only when the column holds more than one group; the lens and the plus stand as 36 px ghost icon buttons with 18 px icons in the column's top row, the lens's tooltip and `aria-keyshortcuts` naming its key, and collapsed as icon rows above the places, while an area's sections, collapsed, start with their way out; while a group's places are read it holds three placeholder rows, a failed read says so with its Try again (collapsed, one button that tries again, the message in its tooltip), and a read with no place says its `empty` line. Choosing a place closes the sheet, and so does any new page. Every confirmation a command in the frame opens is the shell's: it closes the sheet first, so one overlay never opens over another (nadicode decision); Find closes it too as it opens the product's search. The top bar stands over the page above a 1 px rule and holds navigation only, never the page's commands: the menu button at phone width, the path, and the assistant at its end (nadicode decision). The path stands at the bar's true centre on one line while its names fit whole there; when centring would cut a name, it moves toward the bar's start only as far as needed to show its names whole, and cuts them with an ellipsis only when even that is not enough; what stands at the bar's end never overlaps it, the path giving up its room first (owner ruling, 2026-11-07 (centred), with names kept whole). With the window's own buttons at its start (`startInset`), the collapsed column's top row is theirs and its control to open stands under them. The path is the breadcrumb, never a back button in its place (nadicode decision); a step may carry its own mark beside its name, and the last step may be a switcher among the page's siblings, as an Agent's chats; under 1024 px it keeps only the page and the step before it, and the open record's `status` stands beside its name; a `scope` step stands at the path's start with the way back to the whole scope, the page's name centred (owner ruling, 7 November 2026). The pages sit on the workspace ground under a 1 px rule, at most 1280 px wide with 24 px around them; the strip, when there is one, stands between the top bar and the page; the band of `tabs` stands under them and stays while the page scrolls under the top bar (owner ruling, 7 November 2026). The `title` is never drawn, since the path names the page: it is the page's hidden `h1`, and it keeps the first row of the page's column for the page's actions (`PageActions`), at the row's trailing edge, a row that takes no room while the page has none (owner ruling, 8 November 2026). The shell tells its pages that it draws no title (`PageActionsHostProvider`'s `titled`), so a list page ends its search row with its actions instead (`CollectionPage`). A title in the `settings` column narrows the whole page to that column, 960 px, so the actions and everything under them share one edge from the first paint (owner ruling, 7 November 2026). A title of a page the router keeps mounted but hidden after the person leaves it, as Next.js keeps its recent routes with Cache Components, never decides the page's column: only the shown title does. A region that waits for the viewer before it knows whether it draws (`ProductShellTabs pending`) keeps the page unseen until it does, so the page never moves when it arrives. A new page opens at its top. Choosing a section in the column, or anything in the sheet, moves focus to the new page's heading once it arrives; a page opened any other way keeps focus where it was (owner ruling, 7 November 2026). With `labels.skip`, the first thing a keyboard reaches is a link to the page, shown only while focused. With `host`, the shell fills the region the host gives it rather than the viewport, the host's page area fills the room under the top bar edge to edge with its own landmark and scrolling, the host's `controls` stand at the top bar's end, and its `compactControls` in their place while they would cut a name of the path under 48 px, about three letters and the ellipsis, until the bar has grown the room those names lacked, its `mover` fills the bar's free room, `endInset` keeps the bar's end clear of the window's own buttons and `startInset` its start while the column is a sheet, the bar keeps the window's edge spacing, 12 px at either end, at every width, and with `underBar` the host's page runs under the bar, which is glass over it with only its bottom rim, as DESIGN.md's glass over Nadia's conversation.
296
- * @words Every word is the product's: the places' nouns, the path's names exactly as the places and the records write them, the title as the column writes it, and `labels` from its catalogue. A product whose words wait for the page's language draws `labels` in a region with `ProductShellWords`: the frame's controls are named by those hidden words, so they stand in the first HTML before any language is known. A status is a short state ("Working", "Needs you"); `create` names what it adds ("New Agent").
297
- * @access Each group of places is a navigation named by its heading, or by `labels.navigation` when it has none, with the places as buttons or links, the current one `aria-current="page"`, busy while its places are read; a place's row reads its name, then its status; the handle is a separator named by `labels.resize`; the page is the `main` landmark the product passes, named by `labels.main`, which the skip link focuses, or the one the host draws; the path is a navigation named by `labels.path`; the band of tabs is a navigation named by what its sections are of. The title is the page's `h1`, unseen and read before the page's actions. The phone's menu button names how many things wait. The skeleton, and a region's `loading` form, is busy and draws no word.
366
+ * @when The frame of every product page in the Portal, Nadia and Alveare Server: the product's home, Find, its places or an area's sections, the update offer or the way out, and the account, beside the page with its path. Alveare keeps Buzz's sidebar and mounts this shell's foot in it as `ColumnFoot`, and its counts as `PlaceCount` (nadicode decision, 6 November 2026). Nadia's window is this shell with `host`, inside Hermes's `window.shell` area: each Agent is a place with her orb as its `mark` and what she is doing as its `status`, with Find as a lens and New Agent as `create` in the column's top row, and her company is a `foot` place that opens its area; a switch (`views`) under the top row chooses between her Agents and her chats with every Agent (`list`), and `create` follows it, New Agent or New chat (owner ruling, 22 November 2026). A product shows its `home`, its mark and name, only where nothing else names it: on the web, as the Portal in a browser among many tabs, where the mark is also the way home; a desktop app's window, Dock and menu bar already name it, so its column starts with its Find and then its places (owner ruling, 2026-11-07). Find's `form` follows the column: a product whose column is a list of conversations or Agents, as Nadia's, takes the lens (`button`); a product of many places, as the Portal, takes the field (owner ruling, 2026-11-07).
367
+ * @instead A product never draws `Sidebar`, `SidebarFrame`, `SidebarProvider`, `SidebarInset`, `AccountMenu`, `UpdateCard`, `PageHeader` or `ReadingColumn` itself, which `nadicodeai/page-composition` refuses: it passes its places, its account, its band, its path and its title (nadicode decision). A page's own views are `Tabs`; two or three lists of the column's one navigation, such as Agents and the chats with them, are its `views`, never `Tabs` between two lists; an object's sections swap the column (`sections`) or stand in the band under the top bar (`tabs`), never a second column (nadicode decision). A part that waits for the page's language or for who is signed in is a region (`{ region }`) the product streams beside the page, drawn with the shell's component for it, so the frame and the page never wait for it; while it resolves, that component with `loading` holds its place. A product that reads everything before it draws shows `ProductShellSkeleton` meanwhile (owner ruling, 7 November 2026).
368
+ * @behaviour One column, its regions in this order: the home with the collapse control (no home where the window already names the product: a desktop app's column starts with its Find, and a host's `mover` fills the row's free room, where the window's own buttons sit), and Find's lens and the plus of `create` beside it when Find is a `button`, Find's field when it is one, the switch between the column's lists (`views`), a `SegmentedControl` the column's width that applies at once, drawn while the column holds places or a `list`; collapsed, it is drawn only when every list has an `icon`, as those icons alone stacked one above the other, so a column of marks still reaches every list, and otherwise not at all, the places in their groups or the `list`, then the column's foot, pinned at its bottom with no rule above it and in glass on the column's own colour so the places scroll under it: one band (the update offer or the way out), the `foot` places and the account with the bell beside it (nadicode decision; owner ruling, 7 November 2026); the foot's places stay whether the column holds the places or an area's sections. The column is 256 px wide, dragged on its edge between 224 and 384 px, collapsed by its control, by the handle's Enter or by dragging it under the narrowest width to 48 px of icons, or with `width.collapsedTo` `marks` to 64 px of marks at 40, the width a column of Agents or people collapses to on every page of the product, and a sheet under 768 px; the width and the collapse go to the product through `width.onChange`, and the shell opens at the ones it is given, or, with `width.kept`, at the ones the product keeps in the browser, which its pre-paint script already gave the column the server drew, so the first frame stands at the kept width with no jump (owner ruling, 6 November 2026; the first frame at the kept width, owner ruling, 7 November 2026); below `width.collapseBelow` the column shows its marks alone with no control or handle to open it, and opens again as the window widens, keeping the person's choice. Collapsed, the account shows its picture alone and the update card one icon. A place's badge counts what waits there in the attention colour, and the phone's menu button carries their sum. A place with its own `mark` leads its row with it in place of an icon: an Agent's orb at 64 px beside her name and `status`, as `AgentListRow` draws her, any other mark at 32; collapsed, the column shows each mark alone, at 40 in a column of marks and 32 in one of icons, with the name and the status in its tooltip. A place's `commands` open on a right-click of its row, as a record's in a list, and its one `action` stands beside its row as a small outline button while the column shows names, as a failed set-up's Try again. A group with a `label` is a navigation named by it, headed only when the column holds more than one group; the lens and the plus stand as 36 px ghost icon buttons with 18 px icons in the column's top row, the lens's tooltip and `aria-keyshortcuts` naming its key, and collapsed as icon rows above the places; a plus that cannot add now (`create.disabledReason`, as Nadia's New Agent once a person's computer holds the most Agents it may) stays, disabled and still focusable in the top row, its reason its tooltip and its description; while an area's sections, collapsed, start with their way out; while a group's places are read it holds three placeholder rows, a failed read says so with its Try again (collapsed, one button that tries again, the message in its tooltip), and a read with no place says its `empty` line. A `list` in the places' room is one navigation: its `filter` first, as an inline select whose value reads in the text colour, then its records in their groups, each under a heading that folds its run as the product's `open` says, each record a row of its owner's mark at 24 and its name, the current one selected, then `more`, the list's full-width Load more, while there is a next page; while it is read it holds placeholder rows, a failed read says so with its Try again, and a read with no record shows its `empty`, a first use or a filter that found nothing. Collapsed, a record shows its mark alone with its name and owner in its tooltip; the headings are not drawn and every record shows whatever is folded, the filter is drawn only while it narrows the list, as one icon row named by its first option that shows every record again, and `more` is one icon row named by its label, so a column of marks always reaches every record. Choosing a place or a record closes the sheet, and so does any new page. Every confirmation a command in the frame opens is the shell's: it closes the sheet first, so one overlay never opens over another (nadicode decision); Find closes it too as it opens the product's search. The top bar stands over the page above a 1 px rule and holds navigation only, never the page's commands: the menu button at phone width, the path, and the assistant at its end (nadicode decision). The path stands at the bar's true centre on one line while its names fit whole there; when centring would cut a name, it moves toward the bar's start only as far as needed to show its names whole, and cuts them with an ellipsis only when even that is not enough; what stands at the bar's end never overlaps it, the path giving up its room first (owner ruling, 2026-11-07 (centred), with names kept whole). With the window's own buttons at its start (`startInset`), the collapsed column's top row is theirs and its control to open stands under them. The path is the breadcrumb, never a back button in its place (nadicode decision); a step may carry its own mark beside its name, and the last step may be a switcher among the page's siblings, as an Agent's chats; under 1024 px it keeps only the page and the step before it, and the open record's `status` stands beside its name; a `scope` step stands at the path's start with the way back to the whole scope, the page's name centred (owner ruling, 7 November 2026). The pages sit on the workspace ground under a 1 px rule, at most 1280 px wide with 24 px around them; the strip, when there is one, stands between the top bar and the page; the band of `tabs` stands under them and stays while the page scrolls under the top bar (owner ruling, 7 November 2026). The `title` is never drawn, since the path names the page: it is the page's hidden `h1`, and it keeps the first row of the page's column for the page's actions (`PageActions`), at the row's trailing edge, a row that takes no room while the page has none (owner ruling, 8 November 2026). The shell tells its pages that it draws no title (`PageActionsHostProvider`'s `titled`), so a list page ends its search row with its actions instead (`CollectionPage`). A title in the `settings` column narrows the whole page to that column, 960 px, so the actions and everything under them share one edge from the first paint (owner ruling, 7 November 2026). A title of a page the router keeps mounted but hidden after the person leaves it, as Next.js keeps its recent routes with Cache Components, never decides the page's column: only the shown title does. A region that waits for the viewer before it knows whether it draws (`ProductShellTabs pending`) keeps the page unseen until it does, so the page never moves when it arrives. A new page opens at its top. Choosing a section in the column, or anything in the sheet, moves focus to the new page's heading once it arrives; a page opened any other way keeps focus where it was (owner ruling, 7 November 2026). With `labels.skip`, the first thing a keyboard reaches is a link to the page, shown only while focused. With `host`, the shell fills the region the host gives it rather than the viewport, the host's page area fills the room under the top bar edge to edge with its own landmark and scrolling, the host's `controls` stand at the top bar's end, and its `compactControls` in their place while they would cut a name of the path under 48 px, about three letters and the ellipsis, until the bar has grown the room those names lacked, its `mover` fills the bar's free room, `endInset` keeps the bar's end clear of the window's own buttons and `startInset` its start while the column is a sheet, the bar keeps the window's edge spacing, 12 px at either end, at every width, and with `underBar` the host's page runs under the bar, which is glass over it with only its bottom rim, as DESIGN.md's glass over Nadia's conversation.
369
+ * @words Every word is the product's: the places' nouns, the path's names exactly as the places and the records write them, the title as the column writes it, and `labels` from its catalogue. A product whose words wait for the page's language draws `labels` in a region with `ProductShellWords`: the frame's controls are named by those hidden words, so they stand in the first HTML before any language is known. A status is a short state ("Working", "Needs you"); `create` names what it adds ("New Agent", "New chat"). `views` names its switch and each list in one or two words ("Agents", "Chats"); a list's headings, its filter's options and its Load more are the product's.
370
+ * @access Each group of places is a navigation named by its heading, or by `labels.navigation` when it has none, with the places as buttons or links, the current one `aria-current="page"`, busy while its places are read; a place's row reads its name, then its status; the switch is a radio group named by `views.label`, each list a radio; a `list` is a navigation named by its `label`, each heading an `h2` holding a button that says whether its run is open (`aria-expanded`), each record a button named by its name and described by its owner, the current one `aria-current="page"`, and its filter a select named by the filter's `label`; the handle is a separator named by `labels.resize`; the page is the `main` landmark the product passes, named by `labels.main`, which the skip link focuses, or the one the host draws; the path is a navigation named by `labels.path`; the band of tabs is a navigation named by what its sections are of. The title is the page's `h1`, unseen and read before the page's actions. The phone's menu button names how many things wait. The skeleton, and a region's `loading` form, is busy and draws no word.
298
371
  */
299
372
  export declare function ProductShell(props: ProductShellProps): import("react").JSX.Element;
300
373
  /**
@@ -337,6 +410,8 @@ export declare function ProductShellPlaces(props: ProductShellPlacesProps): impo
337
410
  export type ProductShellSectionsProps = Omit<SidebarSectionsProps<string>, "onChosen">;
338
411
  /** An area's or an object's sections in the places' room: `ProductShell` draws them from its `sections`, and a product renders them in the places' region. */
339
412
  export declare function ProductShellSections(props: ProductShellSectionsProps): import("react").JSX.Element | null;
413
+ /** The column's list of records in the places' room: `ProductShell` draws it from its `list`. */
414
+ export declare function ProductShellList({ label, filter, groups, more, loading, failed, empty, }: ProductShellListData): import("react").JSX.Element | null;
340
415
  export type ProductShellBandProps = {
341
416
  band: ProductShellBandData;
342
417
  loading?: never;
@@ -1 +1 @@
1
- {"version":3,"file":"product-shell.d.ts","sourceRoot":"","sources":["../../src/components/product-shell.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,aAAa,EAGlB,KAAK,YAAY,EACjB,KAAK,SAAS,EAWf,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAY,MAAM,0BAA0B,CAAC;AAYjG,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,iBAAiB,EACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,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s as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
3
  import { useRender } from "@base-ui/react/use-render";
4
- import { PanelLeftIcon, Plus, RotateCw, SearchIcon, XIcon } from "lucide-react";
4
+ import { ChevronDown, ChevronRight, ChevronsDown, FunnelX, ListFilter as ListFilterIcon, PanelLeftIcon, Plus, RotateCw, SearchIcon, XIcon, } from "lucide-react";
5
5
  import { createContext, Fragment, use, useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore, } from "react";
6
6
  import { flushSync } from "react-dom";
7
7
  import { AccountMenu } from "./account-menu.js";
@@ -9,14 +9,18 @@ import { FootBand } from "./column-foot.js";
9
9
  import { AgentListRow } from "./agent-list-row.js";
10
10
  import { Button, ButtonLink } from "./button.js";
11
11
  import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "./breadcrumb.js";
12
+ import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./collapsible.js";
12
13
  import { EmptyState } from "./empty-state.js";
13
14
  import { IdentityMark, } from "./identity-mark.js";
14
15
  import { Kbd } from "./kbd.js";
16
+ import { LoadMoreButton } from "./load-more-button.js";
15
17
  import { NoticeBanner } from "./notice-banner.js";
16
18
  import { PageActionsHostProvider } from "./page-actions.js";
17
19
  import { PageHeader } from "./page-header.js";
18
20
  import { RecordContextMenu } from "./record-commands.js";
19
21
  import { ScopeSwitcher } from "./scope-switcher.js";
22
+ import { SegmentedControl, } from "./segmented-control.js";
23
+ import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, } from "./select.js";
20
24
  import { SIDEBAR_WIDTH_ICON, Sidebar, SidebarBrand, SidebarFind, SidebarFrame, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarInset, SidebarMenu, SidebarMenuButton, SidebarMenuChevron, SidebarMenuItem, SIDEBAR_WIDTH_MARKS, SidebarProvider, SidebarTrigger, useSidebar, } from "./sidebar.js";
21
25
  import { SidebarSections } from "./sidebar-sections.js";
22
26
  import { Skeleton, SkeletonRegion } from "./skeleton.js";
@@ -122,11 +126,11 @@ const subscribeToNothing = () => () => { };
122
126
  * A desktop or web product's frame: its navigation column, the top bar with the path, and the page.
123
127
  *
124
128
  * @family Navigation
125
- * @when The frame of every product page in the Portal, Nadia and Alveare Server: the product's home, Find, its places or an area's sections, the update offer or the way out, and the account, beside the page with its path. Alveare keeps Buzz's sidebar and mounts this shell's foot in it as `ColumnFoot`, and its counts as `PlaceCount` (nadicode decision, 6 November 2026). Nadia's window is this shell with `host`, inside Hermes's `window.shell` area: each Agent is a place with her orb as its `mark` and what she is doing as its `status`, with Find as a lens and New Agent as `create` in the column's top row, and her company is a `foot` place that opens its area. A product shows its `home`, its mark and name, only where nothing else names it: on the web, as the Portal in a browser among many tabs, where the mark is also the way home; a desktop app's window, Dock and menu bar already name it, so its column starts with its Find and then its places (owner ruling, 2026-11-07). Find's `form` follows the column: a product whose column is a list of conversations or Agents, as Nadia's, takes the lens (`button`); a product of many places, as the Portal, takes the field (owner ruling, 2026-11-07).
126
- * @instead A product never draws `Sidebar`, `SidebarFrame`, `SidebarProvider`, `SidebarInset`, `AccountMenu`, `UpdateCard`, `PageHeader` or `ReadingColumn` itself, which `nadicodeai/page-composition` refuses: it passes its places, its account, its band, its path and its title (nadicode decision). A page's own views are `Tabs`; an object's sections swap the column (`sections`) or stand in the band under the top bar (`tabs`), never a second column (nadicode decision). A part that waits for the page's language or for who is signed in is a region (`{ region }`) the product streams beside the page, drawn with the shell's component for it, so the frame and the page never wait for it; while it resolves, that component with `loading` holds its place. A product that reads everything before it draws shows `ProductShellSkeleton` meanwhile (owner ruling, 7 November 2026).
127
- * @behaviour One column, its regions in this order: the home with the collapse control (no home where the window already names the product: a desktop app's column starts with its Find, and a host's `mover` fills the row's free room, where the window's own buttons sit), and Find's lens and the plus of `create` beside it when Find is a `button`, Find's field when it is one, the places in their groups, then the column's foot, pinned at its bottom with no rule above it and in glass on the column's own colour so the places scroll under it: one band (the update offer or the way out), the `foot` places and the account with the bell beside it (nadicode decision; owner ruling, 7 November 2026); the foot's places stay whether the column holds the places or an area's sections. The column is 256 px wide, dragged on its edge between 224 and 384 px, collapsed by its control, by the handle's Enter or by dragging it under the narrowest width to 48 px of icons, or with `width.collapsedTo` `marks` to 64 px of marks at 40, the width a column of Agents or people collapses to on every page of the product, and a sheet under 768 px; the width and the collapse go to the product through `width.onChange`, and the shell opens at the ones it is given, or, with `width.kept`, at the ones the product keeps in the browser, which its pre-paint script already gave the column the server drew, so the first frame stands at the kept width with no jump (owner ruling, 6 November 2026; the first frame at the kept width, owner ruling, 7 November 2026); below `width.collapseBelow` the column shows its marks alone with no control or handle to open it, and opens again as the window widens, keeping the person's choice. Collapsed, the account shows its picture alone and the update card one icon. A place's badge counts what waits there in the attention colour, and the phone's menu button carries their sum. A place with its own `mark` leads its row with it in place of an icon: an Agent's orb at 64 px beside her name and `status`, as `AgentListRow` draws her, any other mark at 32; collapsed, the column shows each mark alone, at 40 in a column of marks and 32 in one of icons, with the name and the status in its tooltip. A place's `commands` open on a right-click of its row, as a record's in a list, and its one `action` stands beside its row as a small outline button while the column shows names, as a failed set-up's Try again. A group with a `label` is a navigation named by it, headed only when the column holds more than one group; the lens and the plus stand as 36 px ghost icon buttons with 18 px icons in the column's top row, the lens's tooltip and `aria-keyshortcuts` naming its key, and collapsed as icon rows above the places, while an area's sections, collapsed, start with their way out; while a group's places are read it holds three placeholder rows, a failed read says so with its Try again (collapsed, one button that tries again, the message in its tooltip), and a read with no place says its `empty` line. Choosing a place closes the sheet, and so does any new page. Every confirmation a command in the frame opens is the shell's: it closes the sheet first, so one overlay never opens over another (nadicode decision); Find closes it too as it opens the product's search. The top bar stands over the page above a 1 px rule and holds navigation only, never the page's commands: the menu button at phone width, the path, and the assistant at its end (nadicode decision). The path stands at the bar's true centre on one line while its names fit whole there; when centring would cut a name, it moves toward the bar's start only as far as needed to show its names whole, and cuts them with an ellipsis only when even that is not enough; what stands at the bar's end never overlaps it, the path giving up its room first (owner ruling, 2026-11-07 (centred), with names kept whole). With the window's own buttons at its start (`startInset`), the collapsed column's top row is theirs and its control to open stands under them. The path is the breadcrumb, never a back button in its place (nadicode decision); a step may carry its own mark beside its name, and the last step may be a switcher among the page's siblings, as an Agent's chats; under 1024 px it keeps only the page and the step before it, and the open record's `status` stands beside its name; a `scope` step stands at the path's start with the way back to the whole scope, the page's name centred (owner ruling, 7 November 2026). The pages sit on the workspace ground under a 1 px rule, at most 1280 px wide with 24 px around them; the strip, when there is one, stands between the top bar and the page; the band of `tabs` stands under them and stays while the page scrolls under the top bar (owner ruling, 7 November 2026). The `title` is never drawn, since the path names the page: it is the page's hidden `h1`, and it keeps the first row of the page's column for the page's actions (`PageActions`), at the row's trailing edge, a row that takes no room while the page has none (owner ruling, 8 November 2026). The shell tells its pages that it draws no title (`PageActionsHostProvider`'s `titled`), so a list page ends its search row with its actions instead (`CollectionPage`). A title in the `settings` column narrows the whole page to that column, 960 px, so the actions and everything under them share one edge from the first paint (owner ruling, 7 November 2026). A title of a page the router keeps mounted but hidden after the person leaves it, as Next.js keeps its recent routes with Cache Components, never decides the page's column: only the shown title does. A region that waits for the viewer before it knows whether it draws (`ProductShellTabs pending`) keeps the page unseen until it does, so the page never moves when it arrives. A new page opens at its top. Choosing a section in the column, or anything in the sheet, moves focus to the new page's heading once it arrives; a page opened any other way keeps focus where it was (owner ruling, 7 November 2026). With `labels.skip`, the first thing a keyboard reaches is a link to the page, shown only while focused. With `host`, the shell fills the region the host gives it rather than the viewport, the host's page area fills the room under the top bar edge to edge with its own landmark and scrolling, the host's `controls` stand at the top bar's end, and its `compactControls` in their place while they would cut a name of the path under 48 px, about three letters and the ellipsis, until the bar has grown the room those names lacked, its `mover` fills the bar's free room, `endInset` keeps the bar's end clear of the window's own buttons and `startInset` its start while the column is a sheet, the bar keeps the window's edge spacing, 12 px at either end, at every width, and with `underBar` the host's page runs under the bar, which is glass over it with only its bottom rim, as DESIGN.md's glass over Nadia's conversation.
128
- * @words Every word is the product's: the places' nouns, the path's names exactly as the places and the records write them, the title as the column writes it, and `labels` from its catalogue. A product whose words wait for the page's language draws `labels` in a region with `ProductShellWords`: the frame's controls are named by those hidden words, so they stand in the first HTML before any language is known. A status is a short state ("Working", "Needs you"); `create` names what it adds ("New Agent").
129
- * @access Each group of places is a navigation named by its heading, or by `labels.navigation` when it has none, with the places as buttons or links, the current one `aria-current="page"`, busy while its places are read; a place's row reads its name, then its status; the handle is a separator named by `labels.resize`; the page is the `main` landmark the product passes, named by `labels.main`, which the skip link focuses, or the one the host draws; the path is a navigation named by `labels.path`; the band of tabs is a navigation named by what its sections are of. The title is the page's `h1`, unseen and read before the page's actions. The phone's menu button names how many things wait. The skeleton, and a region's `loading` form, is busy and draws no word.
129
+ * @when The frame of every product page in the Portal, Nadia and Alveare Server: the product's home, Find, its places or an area's sections, the update offer or the way out, and the account, beside the page with its path. Alveare keeps Buzz's sidebar and mounts this shell's foot in it as `ColumnFoot`, and its counts as `PlaceCount` (nadicode decision, 6 November 2026). Nadia's window is this shell with `host`, inside Hermes's `window.shell` area: each Agent is a place with her orb as its `mark` and what she is doing as its `status`, with Find as a lens and New Agent as `create` in the column's top row, and her company is a `foot` place that opens its area; a switch (`views`) under the top row chooses between her Agents and her chats with every Agent (`list`), and `create` follows it, New Agent or New chat (owner ruling, 22 November 2026). A product shows its `home`, its mark and name, only where nothing else names it: on the web, as the Portal in a browser among many tabs, where the mark is also the way home; a desktop app's window, Dock and menu bar already name it, so its column starts with its Find and then its places (owner ruling, 2026-11-07). Find's `form` follows the column: a product whose column is a list of conversations or Agents, as Nadia's, takes the lens (`button`); a product of many places, as the Portal, takes the field (owner ruling, 2026-11-07).
130
+ * @instead A product never draws `Sidebar`, `SidebarFrame`, `SidebarProvider`, `SidebarInset`, `AccountMenu`, `UpdateCard`, `PageHeader` or `ReadingColumn` itself, which `nadicodeai/page-composition` refuses: it passes its places, its account, its band, its path and its title (nadicode decision). A page's own views are `Tabs`; two or three lists of the column's one navigation, such as Agents and the chats with them, are its `views`, never `Tabs` between two lists; an object's sections swap the column (`sections`) or stand in the band under the top bar (`tabs`), never a second column (nadicode decision). A part that waits for the page's language or for who is signed in is a region (`{ region }`) the product streams beside the page, drawn with the shell's component for it, so the frame and the page never wait for it; while it resolves, that component with `loading` holds its place. A product that reads everything before it draws shows `ProductShellSkeleton` meanwhile (owner ruling, 7 November 2026).
131
+ * @behaviour One column, its regions in this order: the home with the collapse control (no home where the window already names the product: a desktop app's column starts with its Find, and a host's `mover` fills the row's free room, where the window's own buttons sit), and Find's lens and the plus of `create` beside it when Find is a `button`, Find's field when it is one, the switch between the column's lists (`views`), a `SegmentedControl` the column's width that applies at once, drawn while the column holds places or a `list`; collapsed, it is drawn only when every list has an `icon`, as those icons alone stacked one above the other, so a column of marks still reaches every list, and otherwise not at all, the places in their groups or the `list`, then the column's foot, pinned at its bottom with no rule above it and in glass on the column's own colour so the places scroll under it: one band (the update offer or the way out), the `foot` places and the account with the bell beside it (nadicode decision; owner ruling, 7 November 2026); the foot's places stay whether the column holds the places or an area's sections. The column is 256 px wide, dragged on its edge between 224 and 384 px, collapsed by its control, by the handle's Enter or by dragging it under the narrowest width to 48 px of icons, or with `width.collapsedTo` `marks` to 64 px of marks at 40, the width a column of Agents or people collapses to on every page of the product, and a sheet under 768 px; the width and the collapse go to the product through `width.onChange`, and the shell opens at the ones it is given, or, with `width.kept`, at the ones the product keeps in the browser, which its pre-paint script already gave the column the server drew, so the first frame stands at the kept width with no jump (owner ruling, 6 November 2026; the first frame at the kept width, owner ruling, 7 November 2026); below `width.collapseBelow` the column shows its marks alone with no control or handle to open it, and opens again as the window widens, keeping the person's choice. Collapsed, the account shows its picture alone and the update card one icon. A place's badge counts what waits there in the attention colour, and the phone's menu button carries their sum. A place with its own `mark` leads its row with it in place of an icon: an Agent's orb at 64 px beside her name and `status`, as `AgentListRow` draws her, any other mark at 32; collapsed, the column shows each mark alone, at 40 in a column of marks and 32 in one of icons, with the name and the status in its tooltip. A place's `commands` open on a right-click of its row, as a record's in a list, and its one `action` stands beside its row as a small outline button while the column shows names, as a failed set-up's Try again. A group with a `label` is a navigation named by it, headed only when the column holds more than one group; the lens and the plus stand as 36 px ghost icon buttons with 18 px icons in the column's top row, the lens's tooltip and `aria-keyshortcuts` naming its key, and collapsed as icon rows above the places; a plus that cannot add now (`create.disabledReason`, as Nadia's New Agent once a person's computer holds the most Agents it may) stays, disabled and still focusable in the top row, its reason its tooltip and its description; while an area's sections, collapsed, start with their way out; while a group's places are read it holds three placeholder rows, a failed read says so with its Try again (collapsed, one button that tries again, the message in its tooltip), and a read with no place says its `empty` line. A `list` in the places' room is one navigation: its `filter` first, as an inline select whose value reads in the text colour, then its records in their groups, each under a heading that folds its run as the product's `open` says, each record a row of its owner's mark at 24 and its name, the current one selected, then `more`, the list's full-width Load more, while there is a next page; while it is read it holds placeholder rows, a failed read says so with its Try again, and a read with no record shows its `empty`, a first use or a filter that found nothing. Collapsed, a record shows its mark alone with its name and owner in its tooltip; the headings are not drawn and every record shows whatever is folded, the filter is drawn only while it narrows the list, as one icon row named by its first option that shows every record again, and `more` is one icon row named by its label, so a column of marks always reaches every record. Choosing a place or a record closes the sheet, and so does any new page. Every confirmation a command in the frame opens is the shell's: it closes the sheet first, so one overlay never opens over another (nadicode decision); Find closes it too as it opens the product's search. The top bar stands over the page above a 1 px rule and holds navigation only, never the page's commands: the menu button at phone width, the path, and the assistant at its end (nadicode decision). The path stands at the bar's true centre on one line while its names fit whole there; when centring would cut a name, it moves toward the bar's start only as far as needed to show its names whole, and cuts them with an ellipsis only when even that is not enough; what stands at the bar's end never overlaps it, the path giving up its room first (owner ruling, 2026-11-07 (centred), with names kept whole). With the window's own buttons at its start (`startInset`), the collapsed column's top row is theirs and its control to open stands under them. The path is the breadcrumb, never a back button in its place (nadicode decision); a step may carry its own mark beside its name, and the last step may be a switcher among the page's siblings, as an Agent's chats; under 1024 px it keeps only the page and the step before it, and the open record's `status` stands beside its name; a `scope` step stands at the path's start with the way back to the whole scope, the page's name centred (owner ruling, 7 November 2026). The pages sit on the workspace ground under a 1 px rule, at most 1280 px wide with 24 px around them; the strip, when there is one, stands between the top bar and the page; the band of `tabs` stands under them and stays while the page scrolls under the top bar (owner ruling, 7 November 2026). The `title` is never drawn, since the path names the page: it is the page's hidden `h1`, and it keeps the first row of the page's column for the page's actions (`PageActions`), at the row's trailing edge, a row that takes no room while the page has none (owner ruling, 8 November 2026). The shell tells its pages that it draws no title (`PageActionsHostProvider`'s `titled`), so a list page ends its search row with its actions instead (`CollectionPage`). A title in the `settings` column narrows the whole page to that column, 960 px, so the actions and everything under them share one edge from the first paint (owner ruling, 7 November 2026). A title of a page the router keeps mounted but hidden after the person leaves it, as Next.js keeps its recent routes with Cache Components, never decides the page's column: only the shown title does. A region that waits for the viewer before it knows whether it draws (`ProductShellTabs pending`) keeps the page unseen until it does, so the page never moves when it arrives. A new page opens at its top. Choosing a section in the column, or anything in the sheet, moves focus to the new page's heading once it arrives; a page opened any other way keeps focus where it was (owner ruling, 7 November 2026). With `labels.skip`, the first thing a keyboard reaches is a link to the page, shown only while focused. With `host`, the shell fills the region the host gives it rather than the viewport, the host's page area fills the room under the top bar edge to edge with its own landmark and scrolling, the host's `controls` stand at the top bar's end, and its `compactControls` in their place while they would cut a name of the path under 48 px, about three letters and the ellipsis, until the bar has grown the room those names lacked, its `mover` fills the bar's free room, `endInset` keeps the bar's end clear of the window's own buttons and `startInset` its start while the column is a sheet, the bar keeps the window's edge spacing, 12 px at either end, at every width, and with `underBar` the host's page runs under the bar, which is glass over it with only its bottom rim, as DESIGN.md's glass over Nadia's conversation.
132
+ * @words Every word is the product's: the places' nouns, the path's names exactly as the places and the records write them, the title as the column writes it, and `labels` from its catalogue. A product whose words wait for the page's language draws `labels` in a region with `ProductShellWords`: the frame's controls are named by those hidden words, so they stand in the first HTML before any language is known. A status is a short state ("Working", "Needs you"); `create` names what it adds ("New Agent", "New chat"). `views` names its switch and each list in one or two words ("Agents", "Chats"); a list's headings, its filter's options and its Load more are the product's.
133
+ * @access Each group of places is a navigation named by its heading, or by `labels.navigation` when it has none, with the places as buttons or links, the current one `aria-current="page"`, busy while its places are read; a place's row reads its name, then its status; the switch is a radio group named by `views.label`, each list a radio; a `list` is a navigation named by its `label`, each heading an `h2` holding a button that says whether its run is open (`aria-expanded`), each record a button named by its name and described by its owner, the current one `aria-current="page"`, and its filter a select named by the filter's `label`; the handle is a separator named by `labels.resize`; the page is the `main` landmark the product passes, named by `labels.main`, which the skip link focuses, or the one the host draws; the path is a navigation named by `labels.path`; the band of tabs is a navigation named by what its sections are of. The title is the page's `h1`, unseen and read before the page's actions. The phone's menu button names how many things wait. The skeleton, and a region's `loading` form, is busy and draws no word.
130
134
  */
131
135
  export function ProductShell(props) {
132
136
  const { width } = props;
@@ -170,7 +174,7 @@ function KeptWidth({ read, onRead, }) {
170
174
  function crumbKey(crumb) {
171
175
  return crumb.scope ? crumb.scope.value : crumb.label;
172
176
  }
173
- function Frame({ home, create, find, band, foot, account, bell, path, title, tabs, address, assistant, strip, aside, titleBar, labels, main, host, children, places, sections, narrow, }) {
177
+ function Frame({ home, create, find, band, foot, account, bell, path, title, tabs, address, assistant, strip, aside, titleBar, labels, main, host, children, places, sections, list, views, narrow, }) {
174
178
  const { isMobile, state, openMobile, setOpenMobile, toggleSidebar } = useSidebar();
175
179
  const collapsed = state === "collapsed" && !isMobile;
176
180
  const generatedId = useId();
@@ -201,7 +205,16 @@ function Frame({ home, create, find, band, foot, account, bell, path, title, tab
201
205
  },
202
206
  ]
203
207
  : []),
204
- ...(create ? [{ label: create.label, icon: Plus, onClick: create.onClick }] : []),
208
+ ...(create
209
+ ? [
210
+ {
211
+ label: create.label,
212
+ icon: Plus,
213
+ onClick: create.onClick,
214
+ disabledReason: create.disabledReason,
215
+ },
216
+ ]
217
+ : []),
205
218
  ];
206
219
  const waiting = (isRegion(places)
207
220
  ? regionWaiting
@@ -290,6 +303,7 @@ function Frame({ home, create, find, band, foot, account, bell, path, title, tab
290
303
  const pathRoom = useRef(null);
291
304
  const compact = useCompactControls(pathRoom, host?.compactControls !== undefined);
292
305
  const hosted = host !== undefined;
306
+ const listed = places !== undefined || list !== undefined;
293
307
  const placesRegion = isRegion(places);
294
308
  const wordsRegion = isRegion(labels);
295
309
  const context = useMemo(() => ({ ids, hosted, show, focusHeading }), [ids, hosted, show, focusHeading]);
@@ -337,7 +351,9 @@ function Frame({ home, create, find, band, foot, account, bell, path, title, tab
337
351
  return (_jsx(ProductShellContext, { value: context, children: _jsxs(CommandRunnerHost, { onAsk: closeSheet, children: [_jsx(ProductShellWordsContext, { value: wordsContext, children: isRegion(labels) ? (_jsx(Fragment, { children: labels.region }, "words-region")) : (_jsx(ProductShellWords, { ...labels })) }), _jsx(ProductShellColumnContext, { value: column, children: _jsxs(Sidebar, { mobileCloseLabel: words?.closeNavigation ?? "", mobileDescription: words?.navigationDescription, mobileFinalFocus: sheetFinalFocus, mobileTitle: words?.navigation, resize: narrow ? undefined : { "aria-labelledby": ids.resize }, children: [isMobile ? null : titleBar, _jsxs(SidebarFrame, { account: isRegion(account) ? (_jsx(Fragment, { children: account.region }, "account-region")) : (_jsx(ProductShellAccount, { ...account })), actions: bell === undefined ? undefined : isRegion(bell) ? (_jsx(Fragment, { children: bell.region }, "bell-region")) : (_jsx(ProductShellBell, { ...bell })), band: band === undefined ? undefined : isRegion(band) ? (_jsx(Fragment, { children: band.region }, "band-region")) : (_jsx(ProductShellBand, { band: band })), find: find === undefined ? null : isRegion(find) ? (_jsx(Fragment, { children: find.region }, "find-region")) : find.form === "button" ? null : (_jsx(ProductShellFindField, { find: find })), foot: foot && foot.length > 0 ? (_jsx(SidebarMenu, { children: foot.map((place) => (_jsx(PlaceRow, { collapsed: collapsed, onChosen: isMobile ? choose : closeSheet, place: place }, place.id))) })) : undefined, header: !home ? (Mover ? (_jsx("div", { className: "flex h-14 min-w-0", children: _jsx(Mover, {}) })) : null) : isRegion(home) ? (_jsx(Fragment, { children: home.region }, "home-region")) : (_jsx(ProductShellHome, { ...home })), toggle: _jsxs(_Fragment, { children: [collapsed
338
352
  ? null
339
353
  : topCommands.map((command) => (_jsx(TopCommand, { command: command, onChosen: closeSheet }, command.label))), collapsed && (narrow || expandBelowButtons) ? (Mover ? (_jsx("div", { className: "flex h-14 w-full self-stretch", children: _jsx(Mover, {}) })) : null) : narrow ? null : (_jsx(SidebarTrigger, { "aria-labelledby": ids.collapse, className: "hidden shrink-0 md:inline-flex" }))] }), children: [collapsed &&
340
- ((places && topCommands.length > 0) || (expandBelowButtons && !narrow)) ? (_jsx(SidebarGroup, { children: _jsx(SidebarGroupContent, { children: _jsxs(SidebarMenu, { children: [expandBelowButtons && !narrow ? (_jsx(SidebarMenuItem, { children: _jsx(SidebarMenuButton, { "aria-expanded": false, "aria-labelledby": ids.collapse, onClick: toggleSidebar, tooltip: words?.collapse, children: _jsx(PanelLeftIcon, { "aria-hidden": "true" }) }) })) : null, (places ? topCommands : []).map((command) => (_jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { "aria-keyshortcuts": command.keyshortcuts, onClick: command.onClick, tooltip: command.label, children: [_jsx(command.icon, { "aria-hidden": "true" }), _jsx("span", { className: "sr-only", children: command.label })] }) }, command.label)))] }) }) })) : null, places ? (isRegion(places) ? (_jsx(Fragment, { children: places.region }, "places-region")) : (_jsx(ProductShellPlaces, { places: places }))) : sections ? (_jsx(ProductShellSections, { ...sections })) : null] })] }) }), isMobile && isRegion(places) ? (_jsx(ProductShellColumnContext, { value: waitingCounter, children: _jsx(Fragment, { children: places.region }, "places-count") })) : null, _jsxs(SidebarInset, { className: cn("h-full min-h-0 min-w-0", !host && "overflow-clip"), children: [isMobile ? titleBar : null, host ? (_jsxs("div", { className: "relative flex min-h-0 min-w-0 flex-1 flex-col", children: [topBar, stripRegion, _jsx("div", { className: "flex min-h-0 min-w-0 flex-1 flex-col", "data-slot": "product-shell-page", children: children })] })) : (_jsxs("div", { className: "grid min-h-0 min-w-0 flex-1 grid-rows-[auto_minmax(0,1fr)] gap-(--nc-guide) overflow-clip bg-border has-[>[data-slot=product-shell-strip]]:grid-rows-[auto_auto_minmax(0,1fr)]", "data-slot": "product-shell-inset", children: [topBar, stripRegion, _jsxs("div", { className: "group/product-shell-workspace flex min-h-0 min-w-0 flex-col overflow-clip bg-(--nc-material-workspace) has-[>[data-slot=product-shell-tabs-region]_[data-slot=tabs-nav-band]]:-mt-(--nc-guide)", "data-slot": "product-shell-workspace", children: [tabs ? (_jsx("div", { className: "min-w-0 shrink-0", "data-slot": "product-shell-tabs-region", children: isRegion(tabs) ? (_jsx(Fragment, { children: tabs.region }, "tabs-region")) : (_jsx(ProductShellTabs, { ...tabs })) })) : null, pageRegion] })] }))] }), aside ? _jsx(Fragment, { children: aside }, "aside") : null, isRegion(address) ? (_jsx(Fragment, { children: address.region }, "address-region")) : (_jsx(ProductShellAddress, { address: address ?? (isRegion(path) ? "" : path.map(crumbKey).join("\u0000")) }))] }) }));
354
+ ((listed && topCommands.length > 0) || (expandBelowButtons && !narrow)) ? (_jsx(SidebarGroup, { children: _jsx(SidebarGroupContent, { children: _jsxs(SidebarMenu, { children: [expandBelowButtons && !narrow ? (_jsx(SidebarMenuItem, { children: _jsx(SidebarMenuButton, { "aria-expanded": false, "aria-labelledby": ids.collapse, onClick: toggleSidebar, tooltip: words?.collapse, children: _jsx(PanelLeftIcon, { "aria-hidden": "true" }) }) })) : null, (listed ? topCommands : []).map((command) => (_jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { "aria-keyshortcuts": command.keyshortcuts, disabled: command.disabledReason !== undefined, onClick: command.onClick, tooltip: command.disabledReason ?? command.label, children: [_jsx(command.icon, { "aria-hidden": "true" }), _jsx("span", { className: "sr-only", children: command.disabledReason === undefined
355
+ ? command.label
356
+ : `${command.label}. ${command.disabledReason}` })] }) }, command.label)))] }) }) })) : null, views && listed ? _jsx(ColumnViews, { collapsed: collapsed, views: views }) : null, places ? (isRegion(places) ? (_jsx(Fragment, { children: places.region }, "places-region")) : (_jsx(ProductShellPlaces, { places: places }))) : list ? (_jsx(ProductShellList, { ...list })) : sections ? (_jsx(ProductShellSections, { ...sections })) : null] })] }) }), isMobile && isRegion(places) ? (_jsx(ProductShellColumnContext, { value: waitingCounter, children: _jsx(Fragment, { children: places.region }, "places-count") })) : null, _jsxs(SidebarInset, { className: cn("h-full min-h-0 min-w-0", !host && "overflow-clip"), children: [isMobile ? titleBar : null, host ? (_jsxs("div", { className: "relative flex min-h-0 min-w-0 flex-1 flex-col", children: [topBar, stripRegion, _jsx("div", { className: "flex min-h-0 min-w-0 flex-1 flex-col", "data-slot": "product-shell-page", children: children })] })) : (_jsxs("div", { className: "grid min-h-0 min-w-0 flex-1 grid-rows-[auto_minmax(0,1fr)] gap-(--nc-guide) overflow-clip bg-border has-[>[data-slot=product-shell-strip]]:grid-rows-[auto_auto_minmax(0,1fr)]", "data-slot": "product-shell-inset", children: [topBar, stripRegion, _jsxs("div", { className: "group/product-shell-workspace flex min-h-0 min-w-0 flex-col overflow-clip bg-(--nc-material-workspace) has-[>[data-slot=product-shell-tabs-region]_[data-slot=tabs-nav-band]]:-mt-(--nc-guide)", "data-slot": "product-shell-workspace", children: [tabs ? (_jsx("div", { className: "min-w-0 shrink-0", "data-slot": "product-shell-tabs-region", children: isRegion(tabs) ? (_jsx(Fragment, { children: tabs.region }, "tabs-region")) : (_jsx(ProductShellTabs, { ...tabs })) })) : null, pageRegion] })] }))] }), aside ? _jsx(Fragment, { children: aside }, "aside") : null, isRegion(address) ? (_jsx(Fragment, { children: address.region }, "address-region")) : (_jsx(ProductShellAddress, { address: address ?? (isRegion(path) ? "" : path.map(crumbKey).join("\u0000")) }))] }) }));
341
357
  }
342
358
  /**
343
359
  * The shell's own words, from the product's catalogue: the skip link, and the hidden words the
@@ -411,6 +427,60 @@ export function ProductShellSections(props) {
411
427
  return null;
412
428
  return (_jsx(SidebarGroup, { children: _jsx(SidebarGroupContent, { children: _jsx(SidebarSections, { ...props, narrow: collapsed, onChosen: choose }) }) }));
413
429
  }
430
+ function iconOnly(option) {
431
+ return option.icon ? { ...option, iconOnly: true } : option;
432
+ }
433
+ function stackedOptions(options) {
434
+ if (!options.every((option) => option.icon !== undefined))
435
+ return null;
436
+ const [first, second, third] = options;
437
+ return third
438
+ ? [iconOnly(first), iconOnly(second), iconOnly(third)]
439
+ : [iconOnly(first), iconOnly(second)];
440
+ }
441
+ function ColumnViews({ views, collapsed }) {
442
+ const stacked = collapsed ? stackedOptions(views.options) : null;
443
+ if (collapsed && !stacked)
444
+ return null;
445
+ return (_jsx(SidebarGroup, { className: "pb-0", "data-slot": "product-shell-views", children: _jsx(SegmentedControl, { "aria-label": views.label, fullWidth: true, orientation: stacked ? "vertical" : "horizontal", onValueChange: (value) => views.onChange(value), options: stacked ?? views.options, value: views.value }) }));
446
+ }
447
+ /** The column's list of records in the places' room: `ProductShell` draws it from its `list`. */
448
+ export function ProductShellList({ label, filter, groups, more, loading, failed, empty, }) {
449
+ const { collapsed, sheet, choose, closeSheet, onlyCountsWaiting } = useColumn();
450
+ if (onlyCountsWaiting)
451
+ return null;
452
+ const onChosen = sheet ? choose : closeSheet;
453
+ const records = loading ? (_jsx(PlaceSkeletons, { collapsed: collapsed })) : failed ? (_jsx(PlacesFailed, { collapsed: collapsed, message: failed })) : groups.length === 0 ? (empty && !collapsed ? (_jsx(EmptyState, { ...empty, scope: "card" })) : null) : (groups.map((group) => (_jsx(ListGroup, { collapsed: collapsed, group: group, onChosen: onChosen }, group.id))));
454
+ return (_jsx(SidebarGroup, { "data-slot": "product-shell-list", children: _jsx("nav", { "aria-busy": loading === true, "aria-label": label, children: _jsxs(SidebarGroupContent, { className: "flex flex-col gap-1", children: [filter && !collapsed ? _jsx(ListFilter, { filter: filter }) : null, filter && collapsed ? _jsx(CollapsedFilterClear, { filter: filter }) : null, records, more && collapsed && !loading && !failed ? (_jsx(SidebarMenu, { children: _jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { "aria-busy": more.loading, disabled: more.loading, onClick: more.onClick, tooltip: more.label, type: "button", children: [_jsx(ChevronsDown, { "aria-hidden": "true" }), _jsx("span", { className: "sr-only", children: more.label })] }) }) })) : null, more && !collapsed && !loading && !failed ? (_jsx(LoadMoreButton, { loading: more.loading, loadingLabel: more.loadingLabel, noGap: true, onClick: more.onClick, children: more.label })) : null] }) }) }));
455
+ }
456
+ function CollapsedFilterClear({ filter }) {
457
+ const [all] = filter.options;
458
+ if (!all || filter.value === all.value)
459
+ return null;
460
+ return (_jsx(SidebarMenu, { children: _jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { onClick: () => filter.onChange(all.value), tooltip: all.label, type: "button", children: [_jsx(FunnelX, { "aria-hidden": "true" }), _jsx("span", { className: "sr-only", children: all.label })] }) }) }));
461
+ }
462
+ function ListFilter({ filter }) {
463
+ return (_jsxs(Select, { onValueChange: (next) => {
464
+ if (typeof next === "string")
465
+ filter.onChange(next);
466
+ }, value: filter.value, children: [_jsx(SelectTrigger, { "aria-label": filter.label, className: "w-full", look: "inline", prefix: _jsx(ListFilterIcon, {}), size: "sm", children: _jsx(SelectValue, { className: "min-w-0 truncate", children: filter.options.find((option) => option.value === filter.value)?.label }) }), _jsx(SelectContent, { align: "start", children: _jsx(SelectGroup, { children: filter.options.map((option) => (_jsx(SelectItem, { value: option.value, children: option.label }, option.value))) }) })] }));
467
+ }
468
+ function ListGroup({ group, collapsed, onChosen, }) {
469
+ const Chevron = group.open ? ChevronDown : ChevronRight;
470
+ if (collapsed) {
471
+ return (_jsx(SidebarMenu, { children: group.items.map((item) => (_jsx(ListItemRow, { item: item, onChosen: onChosen }, item.id))) }));
472
+ }
473
+ return (_jsxs(Collapsible, { onOpenChange: () => group.onToggle(), open: group.open, children: [_jsx(SidebarGroupLabel, { className: "px-0", render: _jsx("h2", { children: _jsxs(CollapsibleTrigger, { className: "flex size-full min-w-0 items-center gap-1 rounded-sm px-2 text-start hover:text-sidebar-foreground", children: [_jsx("span", { className: "truncate", children: group.label }), _jsx(Chevron, { "aria-hidden": "true", className: "size-3.5 shrink-0" })] }) }) }), _jsx(CollapsibleContent, { children: _jsx(SidebarMenu, { children: group.items.map((item) => (_jsx(ListItemRow, { item: item, onChosen: onChosen }, item.id))) }) })] }));
474
+ }
475
+ function ListItemRow({ item, onChosen }) {
476
+ const ownerId = useId();
477
+ return (_jsxs(SidebarMenuItem, { children: [_jsxs(SidebarMenuButton, { "aria-current": item.current ? "page" : undefined, "aria-describedby": ownerId, isActive: item.current === true, onClick: () => {
478
+ item.onClick();
479
+ onChosen();
480
+ }, tooltip: {
481
+ children: (_jsxs("span", { className: "grid", children: [_jsx("span", { className: "font-medium", children: item.label }), _jsx("span", { children: item.owner })] })),
482
+ }, type: "button", children: [_jsx(IdentityMark, { ...item.mark, size: 24 }), _jsx("span", { className: "truncate column-collapsed:sr-only", children: item.label })] }), _jsx("span", { hidden: true, id: ownerId, children: item.owner })] }));
483
+ }
414
484
  /** The band above the account: `ProductShell` draws it from its `band`, and a product renders it in that region, or with `loading` while the region resolves. */
415
485
  export function ProductShellBand(props) {
416
486
  const { collapsed } = useColumn();
@@ -459,10 +529,12 @@ function PlaceGroup({ group, headed, navigationId, collapsed, onChosen, }) {
459
529
  return (_jsxs(SidebarGroup, { children: [group.label && headed ? _jsx(SidebarGroupLabel, { render: _jsx("h2", { children: group.label }) }) : null, _jsx("nav", { "aria-busy": group.loading === true, "aria-label": group.label, "aria-labelledby": group.label === undefined ? navigationId : undefined, children: _jsx(SidebarGroupContent, { children: rows }) })] }));
460
530
  }
461
531
  function TopCommand({ command, onChosen }) {
462
- return (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { render: _jsx(Button, { "aria-keyshortcuts": command.keyshortcuts, "aria-label": command.label, className: "shrink-0 column-collapsed:hidden", onClick: () => {
463
- onChosen();
464
- command.onClick();
465
- }, size: "icon", variant: "ghost" }), children: _jsx(command.icon, { "aria-hidden": "true", className: "size-4.5" }) }), _jsx(TooltipContent, { shortcut: command.shortcut ? { keyName: command.shortcut, meta: true, size: "sm" } : undefined, side: "bottom", children: command.label })] }));
532
+ const reasonId = useId();
533
+ const reason = command.disabledReason;
534
+ return (_jsxs(_Fragment, { children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { closeOnClick: reason === undefined, render: _jsx(Button, { "aria-describedby": reason === undefined ? undefined : reasonId, "aria-keyshortcuts": command.keyshortcuts, "aria-label": command.label, className: "shrink-0 column-collapsed:hidden", disabled: reason !== undefined, focusableWhenDisabled: reason === undefined ? undefined : true, onClick: () => {
535
+ onChosen();
536
+ command.onClick();
537
+ }, size: "icon", variant: "ghost" }), children: _jsx(command.icon, { "aria-hidden": "true", className: "size-4.5" }) }), _jsx(TooltipContent, { shortcut: command.shortcut ? { keyName: command.shortcut, meta: true, size: "sm" } : undefined, side: "bottom", children: reason ?? command.label })] }), reason === undefined ? null : (_jsx("span", { hidden: true, id: reasonId, children: reason }))] }));
466
538
  }
467
539
  function PlaceSkeletons({ collapsed }) {
468
540
  return (_jsx(SidebarMenu, { children: [0, 1, 2].map((index) => (_jsxs(SidebarMenuItem, { className: cn("flex h-12 items-center gap-2 px-2 column-collapsed:justify-center column-collapsed:px-0", collapsed && "justify-center px-0"), children: [_jsx(Skeleton, { className: "size-8 shrink-0" }), collapsed ? null : (_jsxs("span", { className: "grid flex-1 gap-1 column-collapsed:hidden", children: [_jsx(Skeleton, { className: "h-4 w-28" }), _jsx(Skeleton, { className: "h-3 w-20" })] }))] }, index))) }));
@@ -19,6 +19,8 @@ export type SegmentedControlProps<Value extends string = string> = Omit<RadioGro
19
19
  size?: SegmentedControlSize;
20
20
  /** Stretches the control to its container, with the options sharing the width equally. */
21
21
  fullWidth?: boolean;
22
+ /** `vertical` stacks the options, as in a column collapsed to its marks; an icon-only option's tooltip then opens beside it, never over the option above or below. */
23
+ orientation?: "horizontal" | "vertical";
22
24
  } & ({
23
25
  "aria-label": string;
24
26
  "aria-labelledby"?: undefined;
@@ -64,7 +66,7 @@ export type SegmentedControlProps<Value extends string = string> = Omit<RadioGro
64
66
  * grey words that turn ink on hover; nothing takes a hue. Icons are 16 px, 20 px at `lg`. A
65
67
  * disabled option keeps the chosen fill, lightens only its words and has no hover change. The
66
68
  * options are radios in one group: arrows move and choose, and pressing the chosen one changes
67
- * nothing. It applies at once; it is not a field that waits for a Save. `fullWidth` when it heads a
69
+ * nothing. It applies at once; it is not a field that waits for a Save. `vertical` stacks the options, and an icon-only option's tooltip opens beside it so it never covers another option. `fullWidth` when it heads a
68
70
  * form or a dialog, as the two-factor form's method switch does.
69
71
  * @words "Title Case each `Switch.Control` label." (https://vercel.com/geist/switch) "Keep labels
70
72
  * to one or two words and parallel: `Source` / `Output`, not `Source` / `Show output`."
@@ -77,6 +79,6 @@ export type SegmentedControlProps<Value extends string = string> = Omit<RadioGro
77
79
  * or `aria-labelledby`; each option a radio named by its label, shown as a tooltip on an icon-only
78
80
  * option.
79
81
  */
80
- declare function SegmentedControl<Value extends string = string>({ options, size, fullWidth, className, ...props }: SegmentedControlProps<Value>): React.JSX.Element;
82
+ declare function SegmentedControl<Value extends string = string>({ options, size, fullWidth, orientation, className, ...props }: SegmentedControlProps<Value>): React.JSX.Element;
81
83
  export { SegmentedControl };
82
84
  //# sourceMappingURL=segmented-control.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../src/components/segmented-control.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AA6C/E,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;AAE3D,MAAM,MAAM,eAAe,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,IAAI;IAC3D,KAAK,EAAE,KAAK,CAAC;IACb,wGAAwG;IACxG,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OA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E,CAAC"}
@@ -66,7 +66,7 @@ const segmentedItemVariants = cva("relative flex cursor-pointer items-center jus
66
66
  * grey words that turn ink on hover; nothing takes a hue. Icons are 16 px, 20 px at `lg`. A
67
67
  * disabled option keeps the chosen fill, lightens only its words and has no hover change. The
68
68
  * options are radios in one group: arrows move and choose, and pressing the chosen one changes
69
- * nothing. It applies at once; it is not a field that waits for a Save. `fullWidth` when it heads a
69
+ * nothing. It applies at once; it is not a field that waits for a Save. `vertical` stacks the options, and an icon-only option's tooltip opens beside it so it never covers another option. `fullWidth` when it heads a
70
70
  * form or a dialog, as the two-factor form's method switch does.
71
71
  * @words "Title Case each `Switch.Control` label." (https://vercel.com/geist/switch) "Keep labels
72
72
  * to one or two words and parallel: `Source` / `Output`, not `Source` / `Show output`."
@@ -79,12 +79,13 @@ const segmentedItemVariants = cva("relative flex cursor-pointer items-center jus
79
79
  * or `aria-labelledby`; each option a radio named by its label, shown as a tooltip on an icon-only
80
80
  * option.
81
81
  */
82
- function SegmentedControl({ options, size = "default", fullWidth = false, className, ...props }) {
82
+ function SegmentedControl({ options, size = "default", fullWidth = false, orientation = "horizontal", className, ...props }) {
83
+ const vertical = orientation === "vertical";
83
84
  const items = options;
84
- return (_jsx(RadioGroupPrimitive, { "data-slot": "segmented-control", className: cn(segmentedControlVariants({ fullWidth, size }), className), ...props, children: items.map((option) => {
85
+ return (_jsx(RadioGroupPrimitive, { "data-slot": "segmented-control", className: cn(segmentedControlVariants({ fullWidth, size }), vertical && "grid-flow-row", className), ...props, children: items.map((option) => {
85
86
  const iconOnly = option.iconOnly === true;
86
87
  const item = (_jsxs(RadioPrimitive.Root, { className: cn(segmentedItemVariants({ size, iconOnly })), "data-slot": "segmented-control-item", disabled: option.disabled, value: option.value, children: [option.icon ? _jsx("span", { "aria-hidden": "true", children: option.icon }) : null, _jsx("span", { className: cn("min-w-0 truncate", iconOnly && "sr-only"), children: option.label })] }, option.value));
87
- return iconOnly ? (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { render: item }), _jsx(TooltipContent, { children: option.label })] }, option.value)) : (item);
88
+ return iconOnly ? (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { render: item }), _jsx(TooltipContent, { side: vertical ? "right" : "top", children: option.label })] }, option.value)) : (item);
88
89
  }) }));
89
90
  }
90
91
  export { SegmentedControl };
@@ -769,7 +769,7 @@ export const USAGE = [
769
769
  summary: "Two or three options that show different views of one surface, the chosen one filled.",
770
770
  when: '"Use Switch as a segmented selector for 2–3 mutually exclusive options that show different views of the same surface, like `Source` vs `Output`." (https://vercel.com/geist/switch) Ours: Geist\'s `Switch` is our `SegmentedControl`.',
771
771
  instead: '"For a boolean on/off setting, use `Toggle`." (https://vercel.com/geist/switch) "Switch implements radio semantics, so two options stay mutually exclusive rather than reading as a checkbox." (https://vercel.com/geist/switch) "Past 3 options or when labels grow beyond a couple of words, switch to `Tabs` or a `Select`." (https://vercel.com/geist/switch) Ours: Geist\'s `Toggle` is our `Switch`. The theme is `ThemeModeSwitcher`, never a second picker. Four to six that must be compared are a `RadioGroup`. Pressed buttons that can be several or none are a `ToggleGroup`. Panels of one object are `Tabs`.',
772
- behaviour: '"Pass a `name` so the underlying radios are grouped; without it, more than one option can appear selected at once." (https://vercel.com/geist/switch) "Set `defaultChecked` (or controlled `checked`) on exactly one `Switch.Control` so the group has a defined initial state." (https://vercel.com/geist/switch) "Pad each `Switch.Control` so the widest label fits without the active pill resizing on selection." (https://vercel.com/geist/switch) "Test with the longest copy in the set." (https://vercel.com/geist/switch) Ours: the group\'s name (`aria-label` or `aria-labelledby`), a label on every option and a starting choice (`defaultValue` or `value`) are required; without them it does not compile. The options are one radio group, so they stay exclusive without a form `name`. The options share the width of the widest, so the fill never resizes as the choice moves; where the row is narrower than that, each option keeps its own word\'s width rather than cutting it. The track is white with a hairline and a 4 px inset, so it is 32, 36 or 40 px high around options of 24, 28 or 32 px. `size` `sm`, `default` and `lg` give options 24, 28 and 32 px high. Colour: neutral throughout, the chosen option filled grey with ink words and the others grey words that turn ink on hover; nothing takes a hue. Icons are 16 px, 20 px at `lg`. A disabled option keeps the chosen fill, lightens only its words and has no hover change. The options are radios in one group: arrows move and choose, and pressing the chosen one changes nothing. It applies at once; it is not a field that waits for a Save. `fullWidth` when it heads a form or a dialog, as the two-factor form\'s method switch does.',
772
+ behaviour: '"Pass a `name` so the underlying radios are grouped; without it, more than one option can appear selected at once." (https://vercel.com/geist/switch) "Set `defaultChecked` (or controlled `checked`) on exactly one `Switch.Control` so the group has a defined initial state." (https://vercel.com/geist/switch) "Pad each `Switch.Control` so the widest label fits without the active pill resizing on selection." (https://vercel.com/geist/switch) "Test with the longest copy in the set." (https://vercel.com/geist/switch) Ours: the group\'s name (`aria-label` or `aria-labelledby`), a label on every option and a starting choice (`defaultValue` or `value`) are required; without them it does not compile. The options are one radio group, so they stay exclusive without a form `name`. The options share the width of the widest, so the fill never resizes as the choice moves; where the row is narrower than that, each option keeps its own word\'s width rather than cutting it. The track is white with a hairline and a 4 px inset, so it is 32, 36 or 40 px high around options of 24, 28 or 32 px. `size` `sm`, `default` and `lg` give options 24, 28 and 32 px high. Colour: neutral throughout, the chosen option filled grey with ink words and the others grey words that turn ink on hover; nothing takes a hue. Icons are 16 px, 20 px at `lg`. A disabled option keeps the chosen fill, lightens only its words and has no hover change. The options are radios in one group: arrows move and choose, and pressing the chosen one changes nothing. It applies at once; it is not a field that waits for a Save. `vertical` stacks the options, and an icon-only option\'s tooltip opens beside it so it never covers another option. `fullWidth` when it heads a form or a dialog, as the two-factor form\'s method switch does.',
773
773
  words: '"Title Case each `Switch.Control` label." (https://vercel.com/geist/switch) "Keep labels to one or two words and parallel: `Source` / `Output`, not `Source` / `Show output`." (https://vercel.com/geist/switch) Ours: sentence case: *Source*, *Output*.',
774
774
  access: '"Always provide a `label` on every `Switch.Control`, even when an `icon` carries the meaning, so screen readers announce the option." (https://vercel.com/geist/switch) "The component renders it as `geist-sr-only` for icon-only controls." (https://vercel.com/geist/switch) "Pair an icon-only Switch with a `Tooltip` on each control so sighted users get the same label assistive tech receives." (https://vercel.com/geist/switch) Ours: `role="radiogroup"` named by `aria-label` or `aria-labelledby`; each option a radio named by its label, shown as a tooltip on an icon-only option.',
775
775
  },
@@ -1121,7 +1121,7 @@ export const USAGE = [
1121
1121
  summary: "Find anything across the product and go there.",
1122
1122
  when: "\"Use CommandMenu for a global, keyboard-first command palette that finds resources and runs actions across the app.\" (https://vercel.com/geist/command-menu) Ours: finding anything across the product and going there: an Agent, a customer, a page, a creation page (*New Agent*). Opened by ⌘K or the sidebar's Find. It names every place the sidebar names, every chat and every settings page; it goes to places and never runs a command. Nadia's model picker (⌘⇧M) is the same dialog choosing the chat's model, each model's reasoning levels in a `CommandSubmenu` beside it.",
1123
1123
  instead: "\"For a menu opened from a visible trigger on a single resource, use `Menu`; for right-click on a row, use `ContextMenu`.\" (https://vercel.com/geist/command-menu) \"Group items into pages (`Projects`, `Team Settings`) when a single flat list would exceed roughly 30 items or span multiple resource types.\" (https://vercel.com/geist/command-menu) Ours: one record's commands are its `ActionMenu` and, on right-click, its mirror `ActionContextMenu`; a page's are `PageActions`' `menu`. Search inside one collection is `CollectionSearch`. Choosing the page's scope is `ScopeSwitcher`. `CommandDialog` has no pages: its list is groups.",
1124
- behaviour: '"Bind `⌘K` on macOS and `Ctrl+K` elsewhere. Don’t reuse the binding for any in-page filter input; it’s a global shortcut." (https://vercel.com/geist/command-menu) "Open into the root page; preserve the search query when navigating back from a sub-page so the user’s typing isn’t lost." (https://vercel.com/geist/command-menu) "Trap focus inside the overlay while it’s open and return focus to the previously active element on close." (https://vercel.com/geist/command-menu) "Show a recent or default item set when the input is empty so the menu is useful before typing." (https://vercel.com/geist/command-menu) Ours: a solid surface, never glass; opens instantly, 640 px wide and 15% down the window; on a phone it is a bottom sheet, 640 px high with 8 px top corners and the list filling it. The input row stands above the list with a line under it, the field in large type with no icon and an *Esc* key at its end that closes the dialog and is the next stop after the field on Tab; the list scrolls past 436 px. The first row is highlighted on open. No match says so. Every row is 36 px with the pointer cursor, a group\'s heading is a muted 36 px row, a divider bleeds across the list. A row\'s shortcut is a `CommandShortcut` and a word or icon at its end is a `CommandSuffix`. Colour carries nothing: the highlighted row is a faint neutral wash with its text unchanged, group headings, suffixes and the empty line are muted, and no row, key or divider takes a hue. `CommandDialog` draws `Command` itself, so a product never mounts one; its parts are `CommandInput`, `CommandList`, `CommandEmpty`, `CommandGroup`, `CommandItem` and `CommandShortcut` (a `Kbd`). A row with choices of its own, as a model has its reasoning levels, shows them in `CommandSubmenu` beside it, with a `CommandSubmenuItem` each; the dialog follows its highlighted row through `value` and `onValueChange`.',
1124
+ behaviour: '"Bind `⌘K` on macOS and `Ctrl+K` elsewhere. Don’t reuse the binding for any in-page filter input; it’s a global shortcut." (https://vercel.com/geist/command-menu) "Open into the root page; preserve the search query when navigating back from a sub-page so the user’s typing isn’t lost." (https://vercel.com/geist/command-menu) "Trap focus inside the overlay while it’s open and return focus to the previously active element on close." (https://vercel.com/geist/command-menu) "Show a recent or default item set when the input is empty so the menu is useful before typing." (https://vercel.com/geist/command-menu) Ours: a solid surface, never glass; opens instantly, 640 px wide and 15% down the window; on a phone it is a bottom sheet, 640 px high with 8 px top corners and the list filling it. The input row stands above the list with a line under it, the field in large type with no icon and an *Esc* key at its end that closes the dialog and is the next stop after the field on Tab; the list scrolls past 436 px. The first row is highlighted on open. No match says so. Every row is 36 px with the pointer cursor, a group\'s heading is a muted 36 px row, a divider bleeds across the list. A row\'s shortcut is a `CommandShortcut` and a word or icon at its end is a `CommandSuffix`. A row that cannot be chosen now draws its text muted and its icon and label at half strength, as every disabled control does, while its `CommandSuffix`, which says why, stays readable. Colour carries nothing: the highlighted row is a faint neutral wash with its text unchanged, group headings, suffixes and the empty line are muted, and no row, key or divider takes a hue. `CommandDialog` draws `Command` itself, so a product never mounts one; its parts are `CommandInput`, `CommandList`, `CommandEmpty`, `CommandGroup`, `CommandItem` and `CommandShortcut` (a `Kbd`). A row with choices of its own, as a model has its reasoning levels, shows them in `CommandSubmenu` beside it, with a `CommandSubmenuItem` each; the dialog follows its highlighted row through `value` and `onValueChange`.',
1125
1125
  words: '"`<CommandMenu.Item>` children are Title Case verb phrases (`Deploy Project`, `Invite Team Member`). Avoid navigation phrasing like `Go to project page`; CommandMenu commands act, not browse." (https://vercel.com/geist/command-menu) "`CommandMenuPage.label` is Title Case and names the scope (`Projects`, `Team Settings`)." (https://vercel.com/geist/command-menu) "`CommandMenuPage.placeholder` is sentence case, action-oriented, and ends with `…` (`Search projects…`, `Type a command or search…`). Bare `Search…` is wrong because it doesn’t name the scope." (https://vercel.com/geist/command-menu) "`<CommandMenu.Group heading>` is Title Case, 1–2 words (`Actions`, `Recent`)." (https://vercel.com/geist/command-menu) Ours: groups are plural nouns in sentence case (*Agents*, *Go to*), one or two words. Items are names, or verb and noun for a creation page (*New Agent*), because the dialog goes to places. The placeholder names what is searched, never a bare "Search". No match quotes the query.',
1126
1126
  access: '"Use `aria-live="polite"` on the result count so screen readers hear how the list narrows as the user types." (https://vercel.com/geist/command-menu) "Up/Down arrows move highlight, Enter activates, Escape closes. Backspace at an empty input pops the page stack." (https://vercel.com/geist/command-menu) "Display each item’s `keybind` as a `Kbd` slot so the shortcut is discoverable to sighted users and announced as a label to screen readers." (https://vercel.com/geist/command-menu) Ours: a dialog with a screen-reader `title` and `description`, both required; the *Esc* key is a button named by `closeLabel`, which is required; the field is a combobox over a listbox; the highlighted item is `aria-selected`. A polite live region reads `resultCount` as the list narrows, and it is required. `CommandInput` requires its `placeholder`, `CommandGroup` its `heading` and `CommandItem` its `onSelect`, so no field, group or row is left unnamed or inert; a row with no group stands outside a `CommandGroup`. A shortcut is a `CommandShortcut`, drawn as `kbd` elements. With no pages there is no stack for Backspace to pop.',
1127
1127
  },
@@ -1185,11 +1185,11 @@ export const USAGE = [
1185
1185
  module: "product-shell",
1186
1186
  family: "Navigation",
1187
1187
  summary: "A desktop or web product's frame: its navigation column, the top bar with the path, and the page.",
1188
- when: "The frame of every product page in the Portal, Nadia and Alveare Server: the product's home, Find, its places or an area's sections, the update offer or the way out, and the account, beside the page with its path. Alveare keeps Buzz's sidebar and mounts this shell's foot in it as `ColumnFoot`, and its counts as `PlaceCount` (nadicode decision, 6 November 2026). Nadia's window is this shell with `host`, inside Hermes's `window.shell` area: each Agent is a place with her orb as its `mark` and what she is doing as its `status`, with Find as a lens and New Agent as `create` in the column's top row, and her company is a `foot` place that opens its area. A product shows its `home`, its mark and name, only where nothing else names it: on the web, as the Portal in a browser among many tabs, where the mark is also the way home; a desktop app's window, Dock and menu bar already name it, so its column starts with its Find and then its places (owner ruling, 2026-11-07). Find's `form` follows the column: a product whose column is a list of conversations or Agents, as Nadia's, takes the lens (`button`); a product of many places, as the Portal, takes the field (owner ruling, 2026-11-07).",
1189
- instead: "A product never draws `Sidebar`, `SidebarFrame`, `SidebarProvider`, `SidebarInset`, `AccountMenu`, `UpdateCard`, `PageHeader` or `ReadingColumn` itself, which `nadicodeai/page-composition` refuses: it passes its places, its account, its band, its path and its title (nadicode decision). A page's own views are `Tabs`; an object's sections swap the column (`sections`) or stand in the band under the top bar (`tabs`), never a second column (nadicode decision). A part that waits for the page's language or for who is signed in is a region (`{ region }`) the product streams beside the page, drawn with the shell's component for it, so the frame and the page never wait for it; while it resolves, that component with `loading` holds its place. A product that reads everything before it draws shows `ProductShellSkeleton` meanwhile (owner ruling, 7 November 2026).",
1190
- behaviour: "One column, its regions in this order: the home with the collapse control (no home where the window already names the product: a desktop app's column starts with its Find, and a host's `mover` fills the row's free room, where the window's own buttons sit), and Find's lens and the plus of `create` beside it when Find is a `button`, Find's field when it is one, the places in their groups, then the column's foot, pinned at its bottom with no rule above it and in glass on the column's own colour so the places scroll under it: one band (the update offer or the way out), the `foot` places and the account with the bell beside it (nadicode decision; owner ruling, 7 November 2026); the foot's places stay whether the column holds the places or an area's sections. The column is 256 px wide, dragged on its edge between 224 and 384 px, collapsed by its control, by the handle's Enter or by dragging it under the narrowest width to 48 px of icons, or with `width.collapsedTo` `marks` to 64 px of marks at 40, the width a column of Agents or people collapses to on every page of the product, and a sheet under 768 px; the width and the collapse go to the product through `width.onChange`, and the shell opens at the ones it is given, or, with `width.kept`, at the ones the product keeps in the browser, which its pre-paint script already gave the column the server drew, so the first frame stands at the kept width with no jump (owner ruling, 6 November 2026; the first frame at the kept width, owner ruling, 7 November 2026); below `width.collapseBelow` the column shows its marks alone with no control or handle to open it, and opens again as the window widens, keeping the person's choice. Collapsed, the account shows its picture alone and the update card one icon. A place's badge counts what waits there in the attention colour, and the phone's menu button carries their sum. A place with its own `mark` leads its row with it in place of an icon: an Agent's orb at 64 px beside her name and `status`, as `AgentListRow` draws her, any other mark at 32; collapsed, the column shows each mark alone, at 40 in a column of marks and 32 in one of icons, with the name and the status in its tooltip. A place's `commands` open on a right-click of its row, as a record's in a list, and its one `action` stands beside its row as a small outline button while the column shows names, as a failed set-up's Try again. A group with a `label` is a navigation named by it, headed only when the column holds more than one group; the lens and the plus stand as 36 px ghost icon buttons with 18 px icons in the column's top row, the lens's tooltip and `aria-keyshortcuts` naming its key, and collapsed as icon rows above the places, while an area's sections, collapsed, start with their way out; while a group's places are read it holds three placeholder rows, a failed read says so with its Try again (collapsed, one button that tries again, the message in its tooltip), and a read with no place says its `empty` line. Choosing a place closes the sheet, and so does any new page. Every confirmation a command in the frame opens is the shell's: it closes the sheet first, so one overlay never opens over another (nadicode decision); Find closes it too as it opens the product's search. The top bar stands over the page above a 1 px rule and holds navigation only, never the page's commands: the menu button at phone width, the path, and the assistant at its end (nadicode decision). The path stands at the bar's true centre on one line while its names fit whole there; when centring would cut a name, it moves toward the bar's start only as far as needed to show its names whole, and cuts them with an ellipsis only when even that is not enough; what stands at the bar's end never overlaps it, the path giving up its room first (owner ruling, 2026-11-07 (centred), with names kept whole). With the window's own buttons at its start (`startInset`), the collapsed column's top row is theirs and its control to open stands under them. The path is the breadcrumb, never a back button in its place (nadicode decision); a step may carry its own mark beside its name, and the last step may be a switcher among the page's siblings, as an Agent's chats; under 1024 px it keeps only the page and the step before it, and the open record's `status` stands beside its name; a `scope` step stands at the path's start with the way back to the whole scope, the page's name centred (owner ruling, 7 November 2026). The pages sit on the workspace ground under a 1 px rule, at most 1280 px wide with 24 px around them; the strip, when there is one, stands between the top bar and the page; the band of `tabs` stands under them and stays while the page scrolls under the top bar (owner ruling, 7 November 2026). The `title` is never drawn, since the path names the page: it is the page's hidden `h1`, and it keeps the first row of the page's column for the page's actions (`PageActions`), at the row's trailing edge, a row that takes no room while the page has none (owner ruling, 8 November 2026). The shell tells its pages that it draws no title (`PageActionsHostProvider`'s `titled`), so a list page ends its search row with its actions instead (`CollectionPage`). A title in the `settings` column narrows the whole page to that column, 960 px, so the actions and everything under them share one edge from the first paint (owner ruling, 7 November 2026). A title of a page the router keeps mounted but hidden after the person leaves it, as Next.js keeps its recent routes with Cache Components, never decides the page's column: only the shown title does. A region that waits for the viewer before it knows whether it draws (`ProductShellTabs pending`) keeps the page unseen until it does, so the page never moves when it arrives. A new page opens at its top. Choosing a section in the column, or anything in the sheet, moves focus to the new page's heading once it arrives; a page opened any other way keeps focus where it was (owner ruling, 7 November 2026). With `labels.skip`, the first thing a keyboard reaches is a link to the page, shown only while focused. With `host`, the shell fills the region the host gives it rather than the viewport, the host's page area fills the room under the top bar edge to edge with its own landmark and scrolling, the host's `controls` stand at the top bar's end, and its `compactControls` in their place while they would cut a name of the path under 48 px, about three letters and the ellipsis, until the bar has grown the room those names lacked, its `mover` fills the bar's free room, `endInset` keeps the bar's end clear of the window's own buttons and `startInset` its start while the column is a sheet, the bar keeps the window's edge spacing, 12 px at either end, at every width, and with `underBar` the host's page runs under the bar, which is glass over it with only its bottom rim, as DESIGN.md's glass over Nadia's conversation.",
1191
- words: 'Every word is the product\'s: the places\' nouns, the path\'s names exactly as the places and the records write them, the title as the column writes it, and `labels` from its catalogue. A product whose words wait for the page\'s language draws `labels` in a region with `ProductShellWords`: the frame\'s controls are named by those hidden words, so they stand in the first HTML before any language is known. A status is a short state ("Working", "Needs you"); `create` names what it adds ("New Agent").',
1192
- access: "Each group of places is a navigation named by its heading, or by `labels.navigation` when it has none, with the places as buttons or links, the current one `aria-current=\"page\"`, busy while its places are read; a place's row reads its name, then its status; the handle is a separator named by `labels.resize`; the page is the `main` landmark the product passes, named by `labels.main`, which the skip link focuses, or the one the host draws; the path is a navigation named by `labels.path`; the band of tabs is a navigation named by what its sections are of. The title is the page's `h1`, unseen and read before the page's actions. The phone's menu button names how many things wait. The skeleton, and a region's `loading` form, is busy and draws no word.",
1188
+ when: "The frame of every product page in the Portal, Nadia and Alveare Server: the product's home, Find, its places or an area's sections, the update offer or the way out, and the account, beside the page with its path. Alveare keeps Buzz's sidebar and mounts this shell's foot in it as `ColumnFoot`, and its counts as `PlaceCount` (nadicode decision, 6 November 2026). Nadia's window is this shell with `host`, inside Hermes's `window.shell` area: each Agent is a place with her orb as its `mark` and what she is doing as its `status`, with Find as a lens and New Agent as `create` in the column's top row, and her company is a `foot` place that opens its area; a switch (`views`) under the top row chooses between her Agents and her chats with every Agent (`list`), and `create` follows it, New Agent or New chat (owner ruling, 22 November 2026). A product shows its `home`, its mark and name, only where nothing else names it: on the web, as the Portal in a browser among many tabs, where the mark is also the way home; a desktop app's window, Dock and menu bar already name it, so its column starts with its Find and then its places (owner ruling, 2026-11-07). Find's `form` follows the column: a product whose column is a list of conversations or Agents, as Nadia's, takes the lens (`button`); a product of many places, as the Portal, takes the field (owner ruling, 2026-11-07).",
1189
+ instead: "A product never draws `Sidebar`, `SidebarFrame`, `SidebarProvider`, `SidebarInset`, `AccountMenu`, `UpdateCard`, `PageHeader` or `ReadingColumn` itself, which `nadicodeai/page-composition` refuses: it passes its places, its account, its band, its path and its title (nadicode decision). A page's own views are `Tabs`; two or three lists of the column's one navigation, such as Agents and the chats with them, are its `views`, never `Tabs` between two lists; an object's sections swap the column (`sections`) or stand in the band under the top bar (`tabs`), never a second column (nadicode decision). A part that waits for the page's language or for who is signed in is a region (`{ region }`) the product streams beside the page, drawn with the shell's component for it, so the frame and the page never wait for it; while it resolves, that component with `loading` holds its place. A product that reads everything before it draws shows `ProductShellSkeleton` meanwhile (owner ruling, 7 November 2026).",
1190
+ behaviour: "One column, its regions in this order: the home with the collapse control (no home where the window already names the product: a desktop app's column starts with its Find, and a host's `mover` fills the row's free room, where the window's own buttons sit), and Find's lens and the plus of `create` beside it when Find is a `button`, Find's field when it is one, the switch between the column's lists (`views`), a `SegmentedControl` the column's width that applies at once, drawn while the column holds places or a `list`; collapsed, it is drawn only when every list has an `icon`, as those icons alone stacked one above the other, so a column of marks still reaches every list, and otherwise not at all, the places in their groups or the `list`, then the column's foot, pinned at its bottom with no rule above it and in glass on the column's own colour so the places scroll under it: one band (the update offer or the way out), the `foot` places and the account with the bell beside it (nadicode decision; owner ruling, 7 November 2026); the foot's places stay whether the column holds the places or an area's sections. The column is 256 px wide, dragged on its edge between 224 and 384 px, collapsed by its control, by the handle's Enter or by dragging it under the narrowest width to 48 px of icons, or with `width.collapsedTo` `marks` to 64 px of marks at 40, the width a column of Agents or people collapses to on every page of the product, and a sheet under 768 px; the width and the collapse go to the product through `width.onChange`, and the shell opens at the ones it is given, or, with `width.kept`, at the ones the product keeps in the browser, which its pre-paint script already gave the column the server drew, so the first frame stands at the kept width with no jump (owner ruling, 6 November 2026; the first frame at the kept width, owner ruling, 7 November 2026); below `width.collapseBelow` the column shows its marks alone with no control or handle to open it, and opens again as the window widens, keeping the person's choice. Collapsed, the account shows its picture alone and the update card one icon. A place's badge counts what waits there in the attention colour, and the phone's menu button carries their sum. A place with its own `mark` leads its row with it in place of an icon: an Agent's orb at 64 px beside her name and `status`, as `AgentListRow` draws her, any other mark at 32; collapsed, the column shows each mark alone, at 40 in a column of marks and 32 in one of icons, with the name and the status in its tooltip. A place's `commands` open on a right-click of its row, as a record's in a list, and its one `action` stands beside its row as a small outline button while the column shows names, as a failed set-up's Try again. A group with a `label` is a navigation named by it, headed only when the column holds more than one group; the lens and the plus stand as 36 px ghost icon buttons with 18 px icons in the column's top row, the lens's tooltip and `aria-keyshortcuts` naming its key, and collapsed as icon rows above the places; a plus that cannot add now (`create.disabledReason`, as Nadia's New Agent once a person's computer holds the most Agents it may) stays, disabled and still focusable in the top row, its reason its tooltip and its description; while an area's sections, collapsed, start with their way out; while a group's places are read it holds three placeholder rows, a failed read says so with its Try again (collapsed, one button that tries again, the message in its tooltip), and a read with no place says its `empty` line. A `list` in the places' room is one navigation: its `filter` first, as an inline select whose value reads in the text colour, then its records in their groups, each under a heading that folds its run as the product's `open` says, each record a row of its owner's mark at 24 and its name, the current one selected, then `more`, the list's full-width Load more, while there is a next page; while it is read it holds placeholder rows, a failed read says so with its Try again, and a read with no record shows its `empty`, a first use or a filter that found nothing. Collapsed, a record shows its mark alone with its name and owner in its tooltip; the headings are not drawn and every record shows whatever is folded, the filter is drawn only while it narrows the list, as one icon row named by its first option that shows every record again, and `more` is one icon row named by its label, so a column of marks always reaches every record. Choosing a place or a record closes the sheet, and so does any new page. Every confirmation a command in the frame opens is the shell's: it closes the sheet first, so one overlay never opens over another (nadicode decision); Find closes it too as it opens the product's search. The top bar stands over the page above a 1 px rule and holds navigation only, never the page's commands: the menu button at phone width, the path, and the assistant at its end (nadicode decision). The path stands at the bar's true centre on one line while its names fit whole there; when centring would cut a name, it moves toward the bar's start only as far as needed to show its names whole, and cuts them with an ellipsis only when even that is not enough; what stands at the bar's end never overlaps it, the path giving up its room first (owner ruling, 2026-11-07 (centred), with names kept whole). With the window's own buttons at its start (`startInset`), the collapsed column's top row is theirs and its control to open stands under them. The path is the breadcrumb, never a back button in its place (nadicode decision); a step may carry its own mark beside its name, and the last step may be a switcher among the page's siblings, as an Agent's chats; under 1024 px it keeps only the page and the step before it, and the open record's `status` stands beside its name; a `scope` step stands at the path's start with the way back to the whole scope, the page's name centred (owner ruling, 7 November 2026). The pages sit on the workspace ground under a 1 px rule, at most 1280 px wide with 24 px around them; the strip, when there is one, stands between the top bar and the page; the band of `tabs` stands under them and stays while the page scrolls under the top bar (owner ruling, 7 November 2026). The `title` is never drawn, since the path names the page: it is the page's hidden `h1`, and it keeps the first row of the page's column for the page's actions (`PageActions`), at the row's trailing edge, a row that takes no room while the page has none (owner ruling, 8 November 2026). The shell tells its pages that it draws no title (`PageActionsHostProvider`'s `titled`), so a list page ends its search row with its actions instead (`CollectionPage`). A title in the `settings` column narrows the whole page to that column, 960 px, so the actions and everything under them share one edge from the first paint (owner ruling, 7 November 2026). A title of a page the router keeps mounted but hidden after the person leaves it, as Next.js keeps its recent routes with Cache Components, never decides the page's column: only the shown title does. A region that waits for the viewer before it knows whether it draws (`ProductShellTabs pending`) keeps the page unseen until it does, so the page never moves when it arrives. A new page opens at its top. Choosing a section in the column, or anything in the sheet, moves focus to the new page's heading once it arrives; a page opened any other way keeps focus where it was (owner ruling, 7 November 2026). With `labels.skip`, the first thing a keyboard reaches is a link to the page, shown only while focused. With `host`, the shell fills the region the host gives it rather than the viewport, the host's page area fills the room under the top bar edge to edge with its own landmark and scrolling, the host's `controls` stand at the top bar's end, and its `compactControls` in their place while they would cut a name of the path under 48 px, about three letters and the ellipsis, until the bar has grown the room those names lacked, its `mover` fills the bar's free room, `endInset` keeps the bar's end clear of the window's own buttons and `startInset` its start while the column is a sheet, the bar keeps the window's edge spacing, 12 px at either end, at every width, and with `underBar` the host's page runs under the bar, which is glass over it with only its bottom rim, as DESIGN.md's glass over Nadia's conversation.",
1191
+ words: 'Every word is the product\'s: the places\' nouns, the path\'s names exactly as the places and the records write them, the title as the column writes it, and `labels` from its catalogue. A product whose words wait for the page\'s language draws `labels` in a region with `ProductShellWords`: the frame\'s controls are named by those hidden words, so they stand in the first HTML before any language is known. A status is a short state ("Working", "Needs you"); `create` names what it adds ("New Agent", "New chat"). `views` names its switch and each list in one or two words ("Agents", "Chats"); a list\'s headings, its filter\'s options and its Load more are the product\'s.',
1192
+ access: "Each group of places is a navigation named by its heading, or by `labels.navigation` when it has none, with the places as buttons or links, the current one `aria-current=\"page\"`, busy while its places are read; a place's row reads its name, then its status; the switch is a radio group named by `views.label`, each list a radio; a `list` is a navigation named by its `label`, each heading an `h2` holding a button that says whether its run is open (`aria-expanded`), each record a button named by its name and described by its owner, the current one `aria-current=\"page\"`, and its filter a select named by the filter's `label`; the handle is a separator named by `labels.resize`; the page is the `main` landmark the product passes, named by `labels.main`, which the skip link focuses, or the one the host draws; the path is a navigation named by `labels.path`; the band of tabs is a navigation named by what its sections are of. The title is the page's `h1`, unseen and read before the page's actions. The phone's menu button names how many things wait. The skeleton, and a region's `loading` form, is busy and draws no word.",
1193
1193
  },
1194
1194
  {
1195
1195
  name: "ProductShellBell",
@@ -495,7 +495,8 @@
495
495
 
496
496
  .nc-entry-action {
497
497
  min-height: var(--nc-control-height);
498
- padding: var(--nc-xs) var(--nc-md);
498
+ padding: calc(var(--nc-xs) - var(--nc-guide)) var(--nc-md);
499
+ border: var(--nc-guide) solid transparent;
499
500
  border-radius: var(--nc-rounded-md);
500
501
  font-family: var(--nc-type-body-sm-font-family);
501
502
  font-size: var(--nc-type-body-sm-font-size);
@@ -530,8 +531,8 @@
530
531
 
531
532
  .nc-entry-action[data-variant="secondary"] {
532
533
  background: transparent;
533
- border: var(--nc-guide) solid var(--nc-dark-line);
534
- color: var(--nc-dark-body);
534
+ border-color: var(--nc-dark-line);
535
+ color: var(--nc-dark-ink);
535
536
  }
536
537
 
537
538
  .nc-entry-action[data-variant="secondary"]:hover:not(:disabled) {
@@ -588,6 +589,10 @@
588
589
  outline-offset: 2px;
589
590
  }
590
591
 
592
+ .nc-entry-input[aria-invalid="true"] {
593
+ border-color: var(--nc-dark-error);
594
+ }
595
+
591
596
  .nc-entry-form .nc-entry-action {
592
597
  width: 100%;
593
598
  margin-top: var(--nc-xs);
@@ -606,6 +611,10 @@
606
611
  display: none;
607
612
  }
608
613
 
614
+ .nc-entry-field .nc-entry-error {
615
+ text-align: start;
616
+ }
617
+
609
618
  /* Measured work ----------------------------------------------------------- */
610
619
 
611
620
  .nc-entry-progress {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/ui",
3
- "version": "12.1.268",
3
+ "version": "12.1.269",
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.268",
85
+ "@nadicodeai/design-system": "12.1.269",
86
86
  "@tanstack/react-table": "^9.3.1",
87
87
  "@vgpu/wgsl": "0.6.0",
88
88
  "class-variance-authority": "^0.7.1",