@nadicodeai/ui 12.1.245 → 12.1.247
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/product-shell.d.ts +1 -1
- package/dist/components/product-shell.d.ts.map +1 -1
- package/dist/components/product-shell.js +13 -3
- package/dist/components/record-sheet.d.ts +20 -8
- package/dist/components/record-sheet.d.ts.map +1 -1
- package/dist/components/record-sheet.js +14 -4
- package/dist/showcase/usage.generated.js +4 -4
- package/package.json +2 -2
|
@@ -292,7 +292,7 @@ export type ProductShellProps = {
|
|
|
292
292
|
* @family Navigation
|
|
293
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
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 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.
|
|
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
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
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.
|
|
298
298
|
*/
|
|
@@ -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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,CAAA;CAAE,CAAC,GAC7C;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,MAAM,CAAC,EAAE,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAE9E;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BAkB9D;AAaD,MAAM,MAAM,qBAAqB,GAC7B,CAAC,oBAAoB,GAAG;IAAE,OAAO,CAAC,EAAE,KAAK,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC,GAC7D;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GACjD;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAStD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,+BAwB5D;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,GACN,EAAE;IACD,KAAK,EAAE,IAAI,CAAC,iBAAiB,EAAE,OAAO,GAAG,WAAW,CAAC,CAAC;CACvD,+BA4CA"}
|
|
@@ -124,7 +124,7 @@ const subscribeToNothing = () => () => { };
|
|
|
124
124
|
* @family Navigation
|
|
125
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
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 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.
|
|
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
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
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.
|
|
130
130
|
*/
|
|
@@ -262,7 +262,7 @@ function Frame({ home, create, find, band, foot, account, bell, path, title, tab
|
|
|
262
262
|
// (axe's scrollable-region-focusable); the skip link lands on it too.
|
|
263
263
|
tabIndex: 0,
|
|
264
264
|
className: "min-h-0 flex-1 overflow-auto overscroll-contain focus-visible:-outline-offset-(--outline-offset-focus) group-has-data-tabs-pending/product-shell-workspace:invisible",
|
|
265
|
-
children: (_jsx("div", { className: "mx-auto flex w-full min-w-0 max-w-7xl flex-col gap-6 p-6 has-[>[data-slot=product-shell-title]>[data-page-column=settings]]:max-w-[calc(60rem+3rem)]", "data-slot": "product-shell-column", children: _jsxs(PageActionsHostProvider, { titled: false, children: [title ? (_jsx("div", { className: "contents", "data-slot": "product-shell-title", children: isRegion(title) ? (_jsx(Fragment, { children: title.region }, "title-region")) : (_jsx(ProductShellTitle, { ...title })) })) : null, children] }) })),
|
|
265
|
+
children: (_jsx("div", { className: "mx-auto flex w-full min-w-0 max-w-7xl flex-col gap-6 p-6 has-[>[data-slot=product-shell-title]>[data-page-column=settings]:not([data-page-hidden])]:max-w-[calc(60rem+3rem)]", "data-slot": "product-shell-column", children: _jsxs(PageActionsHostProvider, { titled: false, children: [title ? (_jsx("div", { className: "contents", "data-slot": "product-shell-title", children: isRegion(title) ? (_jsx(Fragment, { children: title.region }, "title-region")) : (_jsx(ProductShellTitle, { ...title })) })) : null, children] }) })),
|
|
266
266
|
},
|
|
267
267
|
state: { slot: "product-shell-page" },
|
|
268
268
|
});
|
|
@@ -567,7 +567,17 @@ export function ProductShellTitle(props) {
|
|
|
567
567
|
useEffect(() => focusHeading?.(), [focusHeading]);
|
|
568
568
|
// The page's whole column follows its title's: the shell narrows to the settings column while
|
|
569
569
|
// a title in it stands first, so the actions and the page share one edge from the first paint.
|
|
570
|
-
return (_jsx("div", { className: "contents", "data-page-column": props.column ?? "full", children: props.loading ? null : (_jsx(PageHeader, { headingProps: { tabIndex: -1, id: PRODUCT_SHELL_HEADING_ID }, title: props.text, unseen: true })) }));
|
|
570
|
+
return (_jsx("div", { className: "contents", "data-page-column": props.column ?? "full", ref: markHiddenTitle, children: props.loading ? null : (_jsx(PageHeader, { headingProps: { tabIndex: -1, id: PRODUCT_SHELL_HEADING_ID }, title: props.text, unseen: true })) }));
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Marks a title hidden while a router keeps its page mounted after the person left it, so its
|
|
574
|
+
* column no longer decides the page's: React detaches a ref when an `<Activity>` hides its
|
|
575
|
+
* subtree, in the commit that hides it, and attaches it again when the page is shown. The mark is
|
|
576
|
+
* no prop, so a hidden title that renders again keeps it.
|
|
577
|
+
*/
|
|
578
|
+
function markHiddenTitle(title) {
|
|
579
|
+
title.removeAttribute("data-page-hidden");
|
|
580
|
+
return () => title.setAttribute("data-page-hidden", "");
|
|
571
581
|
}
|
|
572
582
|
/** Marks the band as pending, which keeps the page unseen; a heading waiting for focus takes it once the band resolves. */
|
|
573
583
|
function PendingTabs() {
|
|
@@ -7,6 +7,17 @@ import { type PageCommand } from "./page-actions.js";
|
|
|
7
7
|
import { type RecordListProps } from "./record-list.js";
|
|
8
8
|
import { type StepCardsProps } from "./step-cards.js";
|
|
9
9
|
import { SheetContent } from "./sheet.js";
|
|
10
|
+
export type RecordSheetCode = {
|
|
11
|
+
label: string;
|
|
12
|
+
} & (({
|
|
13
|
+
state?: "read";
|
|
14
|
+
value: string;
|
|
15
|
+
} & Pick<CopyButtonProps, "copyLabel" | "copiedLabel" | "copyFailedLabel">) | {
|
|
16
|
+
state: "loading";
|
|
17
|
+
} | {
|
|
18
|
+
state: "failed";
|
|
19
|
+
failedLabel: string;
|
|
20
|
+
});
|
|
10
21
|
export type RecordSheetProps<THeld extends RowData = never> = {
|
|
11
22
|
open: boolean;
|
|
12
23
|
onOpenChange: (open: boolean) => void;
|
|
@@ -18,11 +29,12 @@ export type RecordSheetProps<THeld extends RowData = never> = {
|
|
|
18
29
|
description?: ReactNode;
|
|
19
30
|
closeLabel: string;
|
|
20
31
|
facts: readonly ObjectFact[];
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
32
|
+
/**
|
|
33
|
+
* A read-only payload, such as an event's JSON, with its copy button's words; or, for one the
|
|
34
|
+
* product reads when the sheet opens, its placeholder while it loads and its words when the read
|
|
35
|
+
* failed.
|
|
36
|
+
*/
|
|
37
|
+
code?: RecordSheetCode;
|
|
26
38
|
/**
|
|
27
39
|
* The few records this record holds, each managed on its own: an app's accounts. A `RecordList`
|
|
28
40
|
* with its `heading`, whose actions add one, and each row's commands.
|
|
@@ -43,9 +55,9 @@ export type RecordSheetProps<THeld extends RowData = never> = {
|
|
|
43
55
|
* @family Compositions
|
|
44
56
|
* @when A list's record holds more than its row shows and is only read, not changed: a Stripe event in Billing, a usage row. Or it holds a few records of its own that a person manages one by one, beside the list: an app's accounts in Nadia's Apps, each connected, renamed, reconnected or disconnected from its row in the sheet (`held`), and the Agents that use the app, each with its switch (`children`).
|
|
45
57
|
* @instead A record changed from its list edits in its row with `RowEditForm`; a record with sections and commands of its own beyond the records it holds has its own page, an `ObjectPage`; a choice from a catalogue is a `CatalogDrawer`.
|
|
46
|
-
* @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button, then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own: it opens only on a record.
|
|
47
|
-
* @words The title is the record's own name, as its row shows it. The footer's command names where it goes: "Open Beta Studio".
|
|
48
|
-
* @access A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label.
|
|
58
|
+
* @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button (one the product reads as the sheet opens is a still 384 px placeholder until it arrives, and its failure words in the error colour, with the error mark, if the read fails), then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own beyond its payload's: it opens only on a record.
|
|
59
|
+
* @words The title is the record's own name, as its row shows it. The footer's command names where it goes: "Open Beta Studio". A payload that could not be read says so: "Couldn't read the event".
|
|
60
|
+
* @access A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label; while it loads, its place is busy and the placeholder is hidden, and the arrival is announced from the same place.
|
|
49
61
|
*/
|
|
50
62
|
export declare function RecordSheet<THeld extends RowData = never>({ open, onOpenChange, title, mark, description, closeLabel, facts, code, held, children, steps, footer, finalFocus, }: RecordSheetProps<THeld>): import("react").JSX.Element;
|
|
51
63
|
//# sourceMappingURL=record-sheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-sheet.d.ts","sourceRoot":"","sources":["../../src/components/record-sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"record-sheet.d.ts","sourceRoot":"","sources":["../../src/components/record-sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvD,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAEL,YAAY,EAKb,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,CAC9C,CAAC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CACvC,eAAe,EACf,WAAW,GAAG,aAAa,GAAG,iBAAiB,CAChD,CAAC,GACF;IAAE,KAAK,EAAE,SAAS,CAAA;CAAE,GACpB;IAAE,KAAK,EAAE,QAAQ,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAC3C,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,KAAK,SAAS,OAAO,GAAG,KAAK,IAAI;IAC5D,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,qDAAqD;IACrD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,SAAS,UAAU,EAAE,CAAC;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;IAC9B,qJAAqJ;IACrJ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mGAAmG;IACnG,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,yDAAyD;IACzD,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC,YAAY,CAAC,CAAC;CAChE,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,KAAK,SAAS,OAAO,GAAG,KAAK,EAAE,EACzD,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,IAAI,EACJ,WAAW,EACX,UAAU,EACV,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,MAAM,EACN,UAAU,GACX,EAAE,gBAAgB,CAAC,KAAK,CAAC,+BA2CzB"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { CircleAlert } from "lucide-react";
|
|
3
4
|
import { CodeBlock } from "./code-block.js";
|
|
4
5
|
import { cn } from "../lib/utils.js";
|
|
5
6
|
import { IdentityMark } from "./identity-mark.js";
|
|
6
7
|
import { ObjectFacts } from "./object-workspace.js";
|
|
7
8
|
import { PageCommandButton } from "./page-actions.js";
|
|
8
9
|
import { RecordList } from "./record-list.js";
|
|
10
|
+
import { Skeleton, SkeletonRegion } from "./skeleton.js";
|
|
9
11
|
import { StepCards } from "./step-cards.js";
|
|
10
12
|
import { Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, } from "./sheet.js";
|
|
11
13
|
/**
|
|
@@ -14,11 +16,19 @@ import { Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetT
|
|
|
14
16
|
* @family Compositions
|
|
15
17
|
* @when A list's record holds more than its row shows and is only read, not changed: a Stripe event in Billing, a usage row. Or it holds a few records of its own that a person manages one by one, beside the list: an app's accounts in Nadia's Apps, each connected, renamed, reconnected or disconnected from its row in the sheet (`held`), and the Agents that use the app, each with its switch (`children`).
|
|
16
18
|
* @instead A record changed from its list edits in its row with `RowEditForm`; a record with sections and commands of its own beyond the records it holds has its own page, an `ObjectPage`; a choice from a catalogue is a `CatalogDrawer`.
|
|
17
|
-
* @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button, then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own: it opens only on a record.
|
|
18
|
-
* @words The title is the record's own name, as its row shows it. The footer's command names where it goes: "Open Beta Studio".
|
|
19
|
-
* @access A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label.
|
|
19
|
+
* @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button (one the product reads as the sheet opens is a still 384 px placeholder until it arrives, and its failure words in the error colour, with the error mark, if the read fails), then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own beyond its payload's: it opens only on a record.
|
|
20
|
+
* @words The title is the record's own name, as its row shows it. The footer's command names where it goes: "Open Beta Studio". A payload that could not be read says so: "Couldn't read the event".
|
|
21
|
+
* @access A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label; while it loads, its place is busy and the placeholder is hidden, and the arrival is announced from the same place.
|
|
20
22
|
*/
|
|
21
23
|
export function RecordSheet({ open, onOpenChange, title, mark, description, closeLabel, facts, code, held, children, steps, footer, finalFocus, }) {
|
|
22
24
|
const managed = held !== undefined || steps !== undefined || Boolean(children);
|
|
23
|
-
return (_jsx(Sheet, { modal: managed, onOpenChange: onOpenChange, open: open, children: _jsxs(SheetContent, { className: cn("max-sm:data-[side=right]:left-nadicode-sm max-sm:data-[side=right]:w-auto data-[side=right]:sm:w-[420px] data-[side=right]:sm:max-w-[calc(100%-var(--nc-lg))]", managed && "data-[side=right]:lg:w-[640px]"), closeLabel: closeLabel, finalFocus: finalFocus, side: "right", children: [_jsxs(SheetHeader, { className: "flex-row items-center gap-nadicode-sm pr-12", children: [mark ? _jsx(IdentityMark, { ...mark, size: 40 }) : null, _jsxs("div", { className: "grid min-w-0 gap-1", children: [_jsx(SheetTitle, { className: "wrap-break-word", children: title }), description ? _jsx(SheetDescription, { children: description }) : null] })] }), _jsxs("div", { className: "grid min-h-0 flex-1 auto-rows-max grid-cols-[minmax(0,1fr)] content-start gap-nadicode-md overflow-y-auto px-nadicode-lg pb-nadicode-lg", "data-slot": "record-sheet-body", children: [facts.length > 0 ? _jsx(ObjectFacts, { facts: facts }) : null, steps ? _jsx(StepCards, { ...steps }) : null, code ? (_jsx(
|
|
25
|
+
return (_jsx(Sheet, { modal: managed, onOpenChange: onOpenChange, open: open, children: _jsxs(SheetContent, { className: cn("max-sm:data-[side=right]:left-nadicode-sm max-sm:data-[side=right]:w-auto data-[side=right]:sm:w-[420px] data-[side=right]:sm:max-w-[calc(100%-var(--nc-lg))]", managed && "data-[side=right]:lg:w-[640px]"), closeLabel: closeLabel, finalFocus: finalFocus, side: "right", children: [_jsxs(SheetHeader, { className: "flex-row items-center gap-nadicode-sm pr-12", children: [mark ? _jsx(IdentityMark, { ...mark, size: 40 }) : null, _jsxs("div", { className: "grid min-w-0 gap-1", children: [_jsx(SheetTitle, { className: "wrap-break-word", children: title }), description ? _jsx(SheetDescription, { children: description }) : null] })] }), _jsxs("div", { className: "grid min-h-0 flex-1 auto-rows-max grid-cols-[minmax(0,1fr)] content-start gap-nadicode-md overflow-y-auto px-nadicode-lg pb-nadicode-lg", "data-slot": "record-sheet-body", children: [facts.length > 0 ? _jsx(ObjectFacts, { facts: facts }) : null, steps ? _jsx(StepCards, { ...steps }) : null, code ? (_jsx(SkeletonRegion, { busy: code.state === "loading", "data-slot": "record-sheet-code", children: _jsx(RecordSheetPayload, { code: code }) })) : null, held ? _jsx(RecordList, { ...held }) : null, children] }), footer ? (_jsx(SheetFooter, { className: "flex-row justify-end", "data-slot": "record-sheet-footer", children: _jsx(PageCommandButton, { command: footer, variant: "outline" }) })) : null] }) }));
|
|
26
|
+
}
|
|
27
|
+
function RecordSheetPayload({ code }) {
|
|
28
|
+
if (code.state === "loading")
|
|
29
|
+
return _jsx(Skeleton, { className: "h-96 w-full rounded-md" });
|
|
30
|
+
if (code.state === "failed") {
|
|
31
|
+
return (_jsxs("p", { "data-slot": "record-sheet-code-failed", className: "flex items-center gap-1 text-caption text-destructive-soft-foreground", children: [_jsx(CircleAlert, { "aria-hidden": "true", className: "size-3 shrink-0", strokeWidth: 1.25 }), code.failedLabel] }));
|
|
32
|
+
}
|
|
33
|
+
return (_jsx(CodeBlock, { code: code.value, copiedLabel: code.copiedLabel, copyFailedLabel: code.copyFailedLabel, copyLabel: code.copyLabel, label: code.label }));
|
|
24
34
|
}
|
|
@@ -329,9 +329,9 @@ export const USAGE = [
|
|
|
329
329
|
summary: "One record from a list, looked at in a sheet at the right edge, then back to the list.",
|
|
330
330
|
when: "A list's record holds more than its row shows and is only read, not changed: a Stripe event in Billing, a usage row. Or it holds a few records of its own that a person manages one by one, beside the list: an app's accounts in Nadia's Apps, each connected, renamed, reconnected or disconnected from its row in the sheet (`held`), and the Agents that use the app, each with its switch (`children`).",
|
|
331
331
|
instead: "A record changed from its list edits in its row with `RowEditForm`; a record with sections and commands of its own beyond the records it holds has its own page, an `ObjectPage`; a choice from a catalogue is a `CatalogDrawer`.",
|
|
332
|
-
behaviour: "Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button, then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own: it opens only on a record.",
|
|
333
|
-
words:
|
|
334
|
-
access: "A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label.",
|
|
332
|
+
behaviour: "Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button (one the product reads as the sheet opens is a still 384 px placeholder until it arrives, and its failure words in the error colour, with the error mark, if the read fails), then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own beyond its payload's: it opens only on a record.",
|
|
333
|
+
words: 'The title is the record\'s own name, as its row shows it. The footer\'s command names where it goes: "Open Beta Studio". A payload that could not be read says so: "Couldn\'t read the event".',
|
|
334
|
+
access: "A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label; while it loads, its place is busy and the placeholder is hidden, and the arrival is announced from the same place.",
|
|
335
335
|
},
|
|
336
336
|
{
|
|
337
337
|
name: "RowEditForm",
|
|
@@ -1176,7 +1176,7 @@ export const USAGE = [
|
|
|
1176
1176
|
summary: "A desktop or web product's frame: its navigation column, the top bar with the path, and the page.",
|
|
1177
1177
|
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).",
|
|
1178
1178
|
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).",
|
|
1179
|
-
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 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.",
|
|
1179
|
+
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.",
|
|
1180
1180
|
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").',
|
|
1181
1181
|
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.",
|
|
1182
1182
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/ui",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.247",
|
|
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.
|
|
85
|
+
"@nadicodeai/design-system": "12.1.247",
|
|
86
86
|
"@tanstack/react-table": "^9.3.1",
|
|
87
87
|
"@vgpu/wgsl": "0.6.0",
|
|
88
88
|
"class-variance-authority": "^0.7.1",
|