@nadicodeai/ui 12.1.210 → 12.1.211

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.
Files changed (125) hide show
  1. package/AGENTS.md +11 -4
  2. package/dist/components/account-menu.d.ts +3 -3
  3. package/dist/components/account-menu.d.ts.map +1 -1
  4. package/dist/components/account-menu.js +7 -5
  5. package/dist/components/activity-feed.d.ts +4 -2
  6. package/dist/components/activity-feed.d.ts.map +1 -1
  7. package/dist/components/activity-feed.js +10 -3
  8. package/dist/components/board.d.ts +45 -0
  9. package/dist/components/board.d.ts.map +1 -0
  10. package/dist/components/board.js +35 -0
  11. package/dist/components/breadcrumb.d.ts +3 -3
  12. package/dist/components/breadcrumb.d.ts.map +1 -1
  13. package/dist/components/button.d.ts +6 -1
  14. package/dist/components/button.d.ts.map +1 -1
  15. package/dist/components/button.js +5 -2
  16. package/dist/components/card-row.js +1 -1
  17. package/dist/components/chart-card.d.ts +19 -6
  18. package/dist/components/chart-card.d.ts.map +1 -1
  19. package/dist/components/chart-card.js +17 -7
  20. package/dist/components/collection-page.d.ts +4 -4
  21. package/dist/components/collection-page.d.ts.map +1 -1
  22. package/dist/components/collection-page.js +4 -8
  23. package/dist/components/column-foot.d.ts +53 -0
  24. package/dist/components/column-foot.d.ts.map +1 -0
  25. package/dist/components/column-foot.js +32 -0
  26. package/dist/components/conversation-card.d.ts +38 -0
  27. package/dist/components/conversation-card.d.ts.map +1 -0
  28. package/dist/components/conversation-card.js +19 -0
  29. package/dist/components/data-table.d.ts +26 -21
  30. package/dist/components/data-table.d.ts.map +1 -1
  31. package/dist/components/data-table.js +34 -22
  32. package/dist/components/entry-page.d.ts +55 -0
  33. package/dist/components/entry-page.d.ts.map +1 -0
  34. package/dist/components/entry-page.js +41 -0
  35. package/dist/components/entry-scene.d.ts +1 -1
  36. package/dist/components/entry-scene.js +1 -1
  37. package/dist/components/filter-toolbar.d.ts +43 -0
  38. package/dist/components/filter-toolbar.d.ts.map +1 -0
  39. package/dist/components/filter-toolbar.js +44 -0
  40. package/dist/components/hive-scene.d.ts +4 -1
  41. package/dist/components/hive-scene.d.ts.map +1 -1
  42. package/dist/components/hive-scene.js +6 -1
  43. package/dist/components/kpi-card.d.ts +10 -3
  44. package/dist/components/kpi-card.d.ts.map +1 -1
  45. package/dist/components/kpi-card.js +11 -3
  46. package/dist/components/message-notice.d.ts +3 -3
  47. package/dist/components/message-notice.js +1 -1
  48. package/dist/components/notice-banner.d.ts +1 -1
  49. package/dist/components/notice-banner.js +1 -1
  50. package/dist/components/object-workspace.d.ts +25 -5
  51. package/dist/components/object-workspace.d.ts.map +1 -1
  52. package/dist/components/object-workspace.js +30 -7
  53. package/dist/components/page-actions.d.ts +0 -2
  54. package/dist/components/page-actions.d.ts.map +1 -1
  55. package/dist/components/page-actions.js +1 -5
  56. package/dist/components/page-frame.d.ts +38 -0
  57. package/dist/components/page-frame.d.ts.map +1 -0
  58. package/dist/components/page-frame.js +29 -0
  59. package/dist/components/place-count.d.ts +20 -0
  60. package/dist/components/place-count.d.ts.map +1 -0
  61. package/dist/components/place-count.js +16 -0
  62. package/dist/components/plan-card.d.ts +49 -0
  63. package/dist/components/plan-card.d.ts.map +1 -0
  64. package/dist/components/plan-card.js +22 -0
  65. package/dist/components/product-band.d.ts +20 -0
  66. package/dist/components/product-band.d.ts.map +1 -0
  67. package/dist/components/product-band.js +23 -0
  68. package/dist/components/product-shell.d.ts +314 -44
  69. package/dist/components/product-shell.d.ts.map +1 -1
  70. package/dist/components/product-shell.js +465 -36
  71. package/dist/components/reading-column.d.ts +1 -1
  72. package/dist/components/reading-column.js +1 -1
  73. package/dist/components/record-list.d.ts +19 -3
  74. package/dist/components/record-list.d.ts.map +1 -1
  75. package/dist/components/record-list.js +23 -8
  76. package/dist/components/record-time.d.ts +6 -2
  77. package/dist/components/record-time.d.ts.map +1 -1
  78. package/dist/components/record-time.js +8 -5
  79. package/dist/components/row-edit-form.d.ts +1 -1
  80. package/dist/components/row-edit-form.js +1 -1
  81. package/dist/components/scope-switcher.d.ts +3 -1
  82. package/dist/components/scope-switcher.d.ts.map +1 -1
  83. package/dist/components/scope-switcher.js +3 -6
  84. package/dist/components/settings-page.d.ts +3 -3
  85. package/dist/components/settings-page.js +3 -3
  86. package/dist/components/settings-section.d.ts +18 -4
  87. package/dist/components/settings-section.d.ts.map +1 -1
  88. package/dist/components/settings-section.js +12 -4
  89. package/dist/components/sidebar-sections.d.ts.map +1 -1
  90. package/dist/components/sidebar-sections.js +4 -4
  91. package/dist/components/sidebar.d.ts +27 -5
  92. package/dist/components/sidebar.d.ts.map +1 -1
  93. package/dist/components/sidebar.js +55 -23
  94. package/dist/components/table-card.d.ts.map +1 -1
  95. package/dist/components/table-card.js +2 -1
  96. package/dist/components/toast.d.ts +10 -1
  97. package/dist/components/toast.d.ts.map +1 -1
  98. package/dist/components/toast.js +24 -1
  99. package/dist/index.d.ts +5 -0
  100. package/dist/index.d.ts.map +1 -1
  101. package/dist/index.js +5 -0
  102. package/dist/internal/button-classes.d.ts +2 -0
  103. package/dist/internal/button-classes.d.ts.map +1 -1
  104. package/dist/internal/button-classes.js +54 -46
  105. package/dist/internal/card-actions.d.ts +3 -0
  106. package/dist/internal/card-actions.d.ts.map +1 -0
  107. package/dist/internal/card-actions.js +4 -0
  108. package/dist/internal/footer-strip.d.ts.map +1 -1
  109. package/dist/internal/footer-strip.js +3 -1
  110. package/dist/lib/product-shell.d.ts +20 -0
  111. package/dist/lib/product-shell.d.ts.map +1 -0
  112. package/dist/lib/product-shell.js +19 -0
  113. package/dist/showcase/specimens/compositions.d.ts +15 -0
  114. package/dist/showcase/specimens/compositions.d.ts.map +1 -1
  115. package/dist/showcase/specimens/compositions.js +70 -0
  116. package/dist/showcase/specimens/index.d.ts +11 -0
  117. package/dist/showcase/specimens/index.d.ts.map +1 -1
  118. package/dist/showcase/specimens/navigation.d.ts +4 -0
  119. package/dist/showcase/specimens/navigation.d.ts.map +1 -1
  120. package/dist/showcase/specimens/navigation.js +26 -1
  121. package/dist/showcase/usage.generated.d.ts +1 -1
  122. package/dist/showcase/usage.generated.d.ts.map +1 -1
  123. package/dist/showcase/usage.generated.js +159 -38
  124. package/dist/styles/components.css +12 -0
  125. package/package.json +6 -2
@@ -97,6 +97,15 @@ export type RecordListFooter = {
97
97
  };
98
98
  /** One muted line about the whole list, with Learn more and one secondary action, in a strip of its own under the count and the paging. */
99
99
  note?: CollectionNote;
100
+ /**
101
+ * A long list read in part: its first `shows` records, then the footer's outline button that
102
+ * shows the rest ("Show the full list") and, once they show, fewer again ("Show fewer sessions").
103
+ */
104
+ more?: {
105
+ shows: number;
106
+ showAllLabel: string;
107
+ showFewerLabel: string;
108
+ };
100
109
  };
101
110
  /**
102
111
  * The records' commands: what each record can do now, in the product's order, and the name of its
@@ -213,6 +222,13 @@ export type RecordListProps<TRecord extends RowData> = RecordCommandsOf<TRecord>
213
222
  commandsSize?: number;
214
223
  };
215
224
  export type RecordListWithout<TRecord extends RowData, Key extends PropertyKey> = RecordListProps<TRecord> extends infer TProps ? TProps extends unknown ? Omit<TProps, Key> : never : never;
225
+ /**
226
+ * What stands in a RecordList's place while its page reads the records: its card and `rows` of the
227
+ * loading rows the list draws itself, with no words.
228
+ */
229
+ export declare function RecordListSkeleton({ rows }: {
230
+ rows?: number;
231
+ }): import("react").JSX.Element;
216
232
  /**
217
233
  * Entity rows: objects a person opens or acts on, one line each on one resting card: the
218
234
  * identity mark and name over what it is, then its attributes as data, one per column: a few
@@ -225,13 +241,13 @@ export type RecordListWithout<TRecord extends RowData, Key extends PropertyKey>
225
241
  * @instead “For tabular data with sortable columns and shared row shape, use `Table` instead.” (https://vercel.com/geist/entity)
226
242
  * “For a static key/value metadata block on a detail page, use `Description`.” (https://vercel.com/geist/entity)
227
243
  * Ours: Geist's `Table` is a `DataTable`: this list has no visible headings and at most three facts, so a fourth fact is a table, and anything more than a few facts lives on the record's page. A screen gives `RecordList` the records and what each one says, never its own toolbar, table, rows or menus, and nothing else draws a record row. Its `Description` is `ObjectFacts`. Events in time are an `ActivityFeed`. Reusable things a person adds from a catalogue are a `LibraryShelf`. A descriptive row with prose is an `Item` (nadicode decision).
228
- * @behaviour One bordered card, a 1 px rule between records and none after the last. A row is 72 px, with 16 px above and below, and its columns stand left to right at the widths the list declares, so a person reads every list the same way: the `select` box (40 px, only when the list is picked from, an optional column), the identity (the rest: the one column without a size), the facts (each its `size`), the status (`status.size`), the time (`time.size`, tabular), the `checklist` ring (52 px, only when the record has steps to be ready) and the commands (as wide as the widest row's buttons, a failed action's next steps and the three dots after them need, worked out from their labels, each label at most 8 px a character and a button holding the longer of its label and its pending label, the dots at their 44 px touch target; 64 px for the three dots alone; never narrower than a `commandsSize` the caller gives, which two lists on one page share so their columns line up although only one has buttons). A `checklist` puts the record's `ProgressChecklist` ring just before its commands, where Vercel ends a project's row with its Production Checklist; the ring opens its own drawer, never the row. Every row has its 32 px mark, its name (600) and, under it, one muted 14 px line, which `wraps="detail"` lets wrap in full where the person must read it whole; `name` and the mark are required; a record with nothing to say under its name leaves the line out and is the name alone, never a dash. Give every column a `size` in pixels; the name takes the rest. With `layout="line"`, as on Vercel's Projects page, the facts and the status share one muted line, joined by a middle dot, in a column as wide as the name's, and the row stays one line (mark, name over its line, that summary, the time, the ring, the three dots) on a card wide enough for its sized columns and 160 px each for the name and the summary, and on a narrower card the summary and the time move under the name as muted text joined by a middle dot that wraps, the status keeping its mark whole and breaking between its words only when it alone is wider than the line, in the same row, their labels read by assistive technology only. Rows of `columns` follow the same rule once the card is narrower than their columns: the facts and the time leave the row for that muted text, wrapping so every value stays readable, never a labelled list, and the status stands beside the name, which ends in an ellipsis before it, so the exception is never the part a phone's line cuts. `facts` takes at most three. The product gives each record's `commands`, everything it can do now, and the list draws them: none draws nothing; one is an outline button; two are two outline buttons, the `main` first; three or more are the `main` as a button, or none, and the rest in the three dots, which therefore always hold two or more, never one (owner, 2026-11-06). The row's buttons and its three dots are 32 px, a button its label alone and a command's icon leading it only in the three dots, as Geist's row buttons read (nadicode decision). A command a record cannot run now stays, disabled, with its reason: in a button's tooltip, or in a line under its label in the three dots; only permission leaves one out (nadicode decision). A destructive command, visible, is an outline button named verb and noun, never red; in the three dots it comes last after a divider; either way it opens its confirmation, or runs at once with its Undo in a toast (nadicode decision). More than ten commands for a record, or two marked `main`, throws in development and tests (nadicode decision). The commands never take the name's room: once the row is compact, its commands column holds only the three dots and the row's own buttons stand under the name, beside a failed action's next steps, outside the row's link, so pressing one never opens the record. Every column of the records' attributes stands on every row, as Vercel's lists keep theirs, so a person reads one attribute down a column: a record with no value for a fact draws `TableValue`'s muted dash, with the fact's `missing` read in its place; status is only for the exception, so a healthy record's status cell stays empty and the records that need a person stand out; the commands column, which holds no attribute, stands only while a record has a command, a menu or a message, or the rows open, and it widens for a failed action's next steps only while a row shows one. Never the three dots before the buttons, a decorative icon for the record's mark, or a status on every row. A `line` row's summary joins only the facts the record has, so it never ends in a dot. A failed or refused action of the record shows as its catalogue message inside its own row, never a notice under the row: it replaces the detail line, with its next steps beside its commands, or under the message on a card too narrow for the row's columns. With `open` the whole row is one target and takes the `accent` hover, with no chevron, as Vercel's Deployments rows open theirs; a row that opens nothing never reacts to hover. Opening is the row's alone: the three dots never hold a command that only shows the record (*Details*, *View*, *Open*). With `editor` the record's row opens its form under its line. `empty` is required: `null` is the choice to draw nothing for a list with no records, and any other value is the state it draws. A list that is a section of another page takes `heading`: its title, the one line under it, and at the trailing edge the card's `actions`, such as its Add command and a muted count, drawn as every card draws them, so the list and its commands are one card, never a list inside a setting card. A note about the whole list is `footer.note`: one muted line, an optional *Learn more* after it at the left and one secondary action at the right, in a strip of its own under the count and the paging, as Vercel ends its deployments list ("Deployment retention is enabled. Learn more", *View recently deleted*). A list a person picks from (`select`) says what the chosen records do together: while any is chosen, the footer's count becomes theirs ("2 selected") and their one command stands at the footer's end as an outline button ("Invite 2"), so choosing never changes the page's title row; the record's own commands stay on its row, so a person never has to choose a record to act on it. Colour is neutral, the name in ink and every other cell in the body grey, except the status badge and a failed action's message.
244
+ * @behaviour One bordered card, a 1 px rule between records and none after the last. A row is 72 px, with 16 px above and below, and its columns stand left to right at the widths the list declares, so a person reads every list the same way: the `select` box (40 px, only when the list is picked from, an optional column), the identity (the rest: the one column without a size), the facts (each its `size`), the status (`status.size`), the time (`time.size`, tabular), the `checklist` ring (52 px, only when the record has steps to be ready) and the commands (as wide as the widest row's buttons, a failed action's next steps and the three dots after them need, worked out from their labels, each label at most 8 px a character and a button holding the longer of its label and its pending label, the dots at their 44 px touch target; 64 px for the three dots alone; never narrower than a `commandsSize` the caller gives, which two lists on one page share so their columns line up although only one has buttons). A `checklist` puts the record's `ProgressChecklist` ring just before its commands, where Vercel ends a project's row with its Production Checklist; the ring opens its own drawer, never the row. Every row has its 32 px mark, its name (600) and, under it, one muted 14 px line, which `wraps="detail"` lets wrap in full where the person must read it whole; `name` and the mark are required; a record with nothing to say under its name leaves the line out and is the name alone, never a dash. Give every column a `size` in pixels; the name takes the rest. With `layout="line"`, as on Vercel's Projects page, the facts and the status share one muted line, joined by a middle dot, in a column as wide as the name's, and the row stays one line (mark, name over its line, that summary, the time, the ring, the three dots) on a card wide enough for its sized columns and 160 px each for the name and the summary, and on a narrower card the summary and the time move under the name as muted text joined by a middle dot that wraps, the status keeping its mark whole and breaking between its words only when it alone is wider than the line, in the same row, their labels read by assistive technology only. Rows of `columns` follow the same rule once the card is narrower than their columns: the facts and the time leave the row for that muted text, wrapping so every value stays readable, never a labelled list, and the status stands beside the name, which ends in an ellipsis before it, so the exception is never the part a phone's line cuts. `facts` takes at most three. The product gives each record's `commands`, everything it can do now, and the list draws them: none draws nothing; one is an outline button; two are two outline buttons, the `main` first; three or more are the `main` as a button, or none, and the rest in the three dots, which therefore always hold two or more, never one (owner, 2026-11-06). The row's buttons and its three dots are 32 px, a button its label alone and a command's icon leading it only in the three dots, as Geist's row buttons read (nadicode decision). A command a record cannot run now stays, disabled, with its reason: in a button's tooltip, or in a line under its label in the three dots; only permission leaves one out (nadicode decision). A destructive command, visible, is an outline button named verb and noun, never red; in the three dots it comes last after a divider; either way it opens its confirmation, or runs at once with its Undo in a toast (nadicode decision). More than ten commands for a record, or two marked `main`, throws in development and tests (nadicode decision). The commands never take the name's room: once the row is compact, its commands column holds only the three dots and the row's own buttons stand under the name, beside a failed action's next steps, outside the row's link, so pressing one never opens the record. Every column of the records' attributes stands on every row, as Vercel's lists keep theirs, so a person reads one attribute down a column: a record with no value for a fact draws `TableValue`'s muted dash, with the fact's `missing` read in its place; status is only for the exception, so a healthy record's status cell stays empty and the records that need a person stand out; the commands column, which holds no attribute, stands only while a record has a command, a menu or a message, or the rows open, and it widens for a failed action's next steps only while a row shows one. Never the three dots before the buttons, a decorative icon for the record's mark, or a status on every row. A `line` row's summary joins only the facts the record has, so it never ends in a dot. A failed or refused action of the record shows as its catalogue message inside its own row, never a notice under the row: it replaces the detail line, with its next steps beside its commands, or under the message on a card too narrow for the row's columns. With `open` the whole row is one target and takes the `accent` hover, with no chevron, as Vercel's Deployments rows open theirs; a row that opens nothing never reacts to hover. Opening is the row's alone: the three dots never hold a command that only shows the record (*Details*, *View*, *Open*). With `editor` the record's row opens its form under its line. `empty` is required: `null` is the choice to draw nothing for a list with no records, and any other value is the state it draws. A list that is a section of another page takes `heading`: its title, the one line under it, and at the trailing edge the card's `actions`, such as its Add command and a muted count, drawn as every card draws them, so the list and its commands are one card, never a list inside a setting card. A note about the whole list is `footer.note`: one muted line, an optional *Learn more* after it at the left and one secondary action at the right, in a strip of its own under the count and the paging, as Vercel ends its deployments list ("Deployment retention is enabled. Learn more", *View recently deleted*). A long list a person reads in part, such as their signed-in sessions, takes `footer.more`: its first `shows` records, then an outline button at the footer's end that shows the rest and, once they show, fewer again, its `aria-expanded` saying which; the page never draws that button under the list itself (nadicode decision). A list a person picks from (`select`) says what the chosen records do together: while any is chosen, the footer's count becomes theirs ("2 selected") and their one command stands at the footer's end as an outline button ("Invite 2"), so choosing never changes the page's title row; the record's own commands stay on its row, so a person never has to choose a record to act on it. Colour is neutral, the name in ink and every other cell in the body grey, except the status badge and a failed action's message.
229
245
  * “Pick the variant by what the user needs: no-results for a filtered list that returned zero rows, blank slate or informational for a resource the user hasn’t created, cleared for completed work, permission for role or tier denials, error for a failed load.” (https://vercel.com/geist/empty-state)
230
246
  * Ours: `failed`, `noMatch` and `empty` are those variants, drawn inside the card (nadicode decision).
231
247
  * “The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`.” (https://vercel.com/geist/entity)
232
248
  * Ours: at most two buttons stand on a row, then the three dots, all 32 px, as the commands rule above draws them (owner, 2026-11-06).
233
249
  * “Render the Skeleton variant (`entity-with-skeleton`) during load instead of an empty row, and swap to real content once data resolves.” (https://vercel.com/geist/entity)
234
- * Ours: three still skeleton rows hold the place, in a region that announces what replaces them; then the first that holds: the failed read, no match, the empty state, the rows (nadicode decision).
250
+ * Ours: three still skeleton rows hold the place, in a region that announces what replaces them; then the first that holds: the failed read, no match, the empty state, the rows (nadicode decision). A page that reads the records before it can draw the list, such as a route's fallback, shows `RecordListSkeleton`: the same card and the same loading rows, as many as the fold the list fills (`rows`), with no words (nadicode decision).
235
251
  * @words “Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`).” (https://vercel.com/geist/entity)
236
252
  * Ours: the name is the record's own and the labels around it are sentence case, not Title Case (nadicode decision).
237
253
  * “Keep right-column buttons Verb + Noun (`Remove Member`, `Resend Invite`). Bare verbs like `Remove` or `Confirm` lose context once the row scrolls offscreen.” (https://vercel.com/geist/entity)
@@ -240,7 +256,7 @@ export type RecordListWithout<TRecord extends RowData, Key extends PropertyKey>
240
256
  * “Render — in cells where a value is unknown or not applicable. Don’t substitute N/A, null, or an empty string.” (https://vercel.com/geist/table)
241
257
  * Ours: a list is the records' attributes shown as data, not written as text. Its columns are the few attributes a person compares across the records to decide what to do with one (a deployment's status, environment, commit, branch and time), chosen from that job, never from what there is to say about a record. A cell holds the value alone, in the same shape down its column: a name, a kind ("Customer"), a count with its unit ("3 keys"), an amount; its position, the mark of its kind (`icon`, as Vercel marks a branch before "main") and its type say what it is, so the hidden heading needs no words in the cell. Never a sentence that restates the column ("Through Partner Alpha", "Joins as a company"), and never a word in place of a missing value ("Not available", "No Partner"): `of` returns nothing and the list draws the dash, and `nadicodeai/record-fact-no-stand-in` refuses the word given by `??`, a presence check or a guard clause. A known zero stays the count ("0 Agents") and a complete report that found nothing keeps its word ("None"), as `TableValue` says; a word that names a kind of its own, a glossary term such as "Direct customer", is a value. A fact's `label`, the status's and the time's are the nouns the headings would be ("Partner", "State", "Asked"). The name's line under it is the one place a record is described in words, and the time keeps its verb's sentence ("Updated 3h ago"), as the approved canvas rules. Every string is the product's: `label` names the list, a time's `phrase` writes its sentence, `missing` is what a screen reader hears behind a dash, `moreLabel` reads "More for {record}". A row command names its result in sentence case ("Edit domain"). A status is the exception's word ("Needs attention", "Can't sign in"), never "Active" on every row, and never the state a row's own command already says: a row that ends in "Resend link" carries no "Link sent". The footer holds a count or the paging, never a help sentence: guidance a step needs lives in that step (nadicode decision).
242
258
  * @access “Wrap the loading region in `aria-busy="true"` and announce completion with `aria-live="polite"` on the destination container, not the skeleton itself.” (https://vercel.com/geist/skeleton)
243
- * Ours: the loading rows sit in one `SkeletonRegion` that is busy while they stand and announces what replaces them. A table named by `label`, its column headings read by assistive technology only; the commands column's is `commandsHeader`, and empty without one, since its controls name themselves, never the list's name a second time. The row link carries `open.label`; the three dots carry `moreLabel`, and the menu's first line names the record; a right-click on a row opens every command of the record in one menu. The loading rows are a status named by `loadingLabel`, inside the one live region that announces what replaces them (nadicode decision).
259
+ * Ours: the loading rows sit in one `SkeletonRegion` that is busy while they stand and announces what replaces them. A table named by `label`, its column headings read by assistive technology only; the commands column's is `commandsHeader`, and empty without one, since its controls name themselves, never the list's name a second time. The row link carries `open.label`; the three dots carry `moreLabel`, and the menu's first line names the record; a right-click on a row opens every command of the record in one menu. The loading rows are a status named by `loadingLabel`, inside the one live region that announces what replaces them (nadicode decision). `RecordListSkeleton`, which a page shows while it reads the records, is busy and carries no words.
244
260
  * “For multi-select rows, the leading `Checkbox` carries `aria-label="Select {entity name}"` so the row is selectable without relying on the visual label.” (https://vercel.com/geist/entity)
245
261
  * Ours: each box is named by `select.label`, which reads "Select {record}" (nadicode decision).
246
262
  */
@@ -1 +1 @@
1
- {"version":3,"file":"record-list.d.ts","sourceRoot":"","sources":["../../src/components/record-list.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAI5F,OAAO,EAEL,KAAK,qBAAqB,EAE3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAqB,MAAM,2BAA2B,CAAC;AAClG,OAAO,EAAqB,KAAK,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACjG,OAAO,EAAE,KAAK,UAAU,EAAsC,MAAM,8BAA8B,CAAC;AAInG,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE9E,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,KAAK,UAAU,EAAqC,MAAM,wBAAwB,CAAC;AAG5F,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AAEvC,MAAM,MAAM,UAAU,GAAG;IACvB,0FAA0F;IAC1F,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,0GAA0G;IAC1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ACF,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,iFAAiF;IACjF,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,UAAU,GAAG,IAAI,CAAC;IAC/C;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,OAAO,EAAE,GAAG,SAAS,WAAW,IAC5E,eAAe,CAAC,OAAO,CAAC,SAAS,MAAM,MAAM,GACzC,MAAM,SAAS,OAAO,GACpB,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,GACjB,KAAK,GACP,KAAK,CAAC;AAwOZ;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,IAAQ,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,+BAUjE;AA0JD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,UAAU,CAAC,OAAO,SAAS,OAAO,EAAE,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,sCAmElF"}
@@ -1,7 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import { createContext, useContext, useId } from "react";
3
+ import { createContext, useContext, useId, useState, } from "react";
4
4
  import { ActionMenu } from "./action-menu.js";
5
+ import { Button } from "./button.js";
5
6
  import { Checkbox } from "./checkbox.js";
6
7
  import { EntityTable, } from "./data-table.js";
7
8
  import { EmptyState } from "./empty-state.js";
@@ -173,8 +174,18 @@ function CommandsCell({ row }) {
173
174
  return null;
174
175
  return (_jsxs("div", { className: "flex items-center justify-end gap-2", children: [_jsxs(WideOnly, { children: [buttons.length > 0 ? (_jsx("div", { className: "flex min-w-0 justify-end gap-2 *:max-w-full *:min-w-0 *:shrink [&>*>span:not([data-icon])]:truncate", children: _jsx(RowCommandButtons, { arm: arm, commands: buttons }) })) : null, state ? _jsx(RowMessageActions, { state: state }) : null] }), menu] }));
175
176
  }
177
+ function LoadingRows({ rows }) {
178
+ return Array.from({ length: rows }, (_, index) => (_jsxs("div", { className: "flex items-center gap-4 px-2 py-4", children: [_jsx(Skeleton, { className: "shrink-0", height: 32, width: 32 }), _jsxs("div", { className: "grid min-w-0 gap-2", children: [_jsx(Skeleton, { className: "max-w-full", height: 16, width: 160 }), _jsx(Skeleton, { className: "max-w-full", height: 16, width: 224 })] }), _jsx(Skeleton, { className: "ml-auto", height: 16, width: 92 })] }, index)));
179
+ }
176
180
  function LoadingRecords({ label }) {
177
- return (_jsx("div", { "aria-busy": "true", "aria-label": label, className: "divide-y divide-border", role: "status", children: Array.from({ length: 3 }, (_, index) => (_jsxs("div", { className: "flex items-center gap-4 px-2 py-4", children: [_jsx(Skeleton, { className: "shrink-0", height: 32, width: 32 }), _jsxs("div", { className: "grid min-w-0 gap-2", children: [_jsx(Skeleton, { className: "max-w-full", height: 16, width: 160 }), _jsx(Skeleton, { className: "max-w-full", height: 16, width: 224 })] }), _jsx(Skeleton, { className: "ml-auto", height: 16, width: 92 })] }, index))) }));
181
+ return (_jsx("div", { "aria-busy": "true", "aria-label": label, className: "divide-y divide-border", role: "status", children: _jsx(LoadingRows, { rows: 3 }) }));
182
+ }
183
+ /**
184
+ * What stands in a RecordList's place while its page reads the records: its card and `rows` of the
185
+ * loading rows the list draws itself, with no words.
186
+ */
187
+ export function RecordListSkeleton({ rows = 3 }) {
188
+ return (_jsx("div", { "aria-busy": "true", className: "min-w-0", "data-slot": "record-list-skeleton", children: _jsx(TableCard, { children: _jsx("div", { className: "divide-y divide-border", children: _jsx(LoadingRows, { rows: rows }) }) }) }));
178
189
  }
179
190
  function Pages({ pages }) {
180
191
  const side = (label, onClick) => ({
@@ -301,13 +312,13 @@ function RecordRows(props) {
301
312
  * @instead “For tabular data with sortable columns and shared row shape, use `Table` instead.” (https://vercel.com/geist/entity)
302
313
  * “For a static key/value metadata block on a detail page, use `Description`.” (https://vercel.com/geist/entity)
303
314
  * Ours: Geist's `Table` is a `DataTable`: this list has no visible headings and at most three facts, so a fourth fact is a table, and anything more than a few facts lives on the record's page. A screen gives `RecordList` the records and what each one says, never its own toolbar, table, rows or menus, and nothing else draws a record row. Its `Description` is `ObjectFacts`. Events in time are an `ActivityFeed`. Reusable things a person adds from a catalogue are a `LibraryShelf`. A descriptive row with prose is an `Item` (nadicode decision).
304
- * @behaviour One bordered card, a 1 px rule between records and none after the last. A row is 72 px, with 16 px above and below, and its columns stand left to right at the widths the list declares, so a person reads every list the same way: the `select` box (40 px, only when the list is picked from, an optional column), the identity (the rest: the one column without a size), the facts (each its `size`), the status (`status.size`), the time (`time.size`, tabular), the `checklist` ring (52 px, only when the record has steps to be ready) and the commands (as wide as the widest row's buttons, a failed action's next steps and the three dots after them need, worked out from their labels, each label at most 8 px a character and a button holding the longer of its label and its pending label, the dots at their 44 px touch target; 64 px for the three dots alone; never narrower than a `commandsSize` the caller gives, which two lists on one page share so their columns line up although only one has buttons). A `checklist` puts the record's `ProgressChecklist` ring just before its commands, where Vercel ends a project's row with its Production Checklist; the ring opens its own drawer, never the row. Every row has its 32 px mark, its name (600) and, under it, one muted 14 px line, which `wraps="detail"` lets wrap in full where the person must read it whole; `name` and the mark are required; a record with nothing to say under its name leaves the line out and is the name alone, never a dash. Give every column a `size` in pixels; the name takes the rest. With `layout="line"`, as on Vercel's Projects page, the facts and the status share one muted line, joined by a middle dot, in a column as wide as the name's, and the row stays one line (mark, name over its line, that summary, the time, the ring, the three dots) on a card wide enough for its sized columns and 160 px each for the name and the summary, and on a narrower card the summary and the time move under the name as muted text joined by a middle dot that wraps, the status keeping its mark whole and breaking between its words only when it alone is wider than the line, in the same row, their labels read by assistive technology only. Rows of `columns` follow the same rule once the card is narrower than their columns: the facts and the time leave the row for that muted text, wrapping so every value stays readable, never a labelled list, and the status stands beside the name, which ends in an ellipsis before it, so the exception is never the part a phone's line cuts. `facts` takes at most three. The product gives each record's `commands`, everything it can do now, and the list draws them: none draws nothing; one is an outline button; two are two outline buttons, the `main` first; three or more are the `main` as a button, or none, and the rest in the three dots, which therefore always hold two or more, never one (owner, 2026-11-06). The row's buttons and its three dots are 32 px, a button its label alone and a command's icon leading it only in the three dots, as Geist's row buttons read (nadicode decision). A command a record cannot run now stays, disabled, with its reason: in a button's tooltip, or in a line under its label in the three dots; only permission leaves one out (nadicode decision). A destructive command, visible, is an outline button named verb and noun, never red; in the three dots it comes last after a divider; either way it opens its confirmation, or runs at once with its Undo in a toast (nadicode decision). More than ten commands for a record, or two marked `main`, throws in development and tests (nadicode decision). The commands never take the name's room: once the row is compact, its commands column holds only the three dots and the row's own buttons stand under the name, beside a failed action's next steps, outside the row's link, so pressing one never opens the record. Every column of the records' attributes stands on every row, as Vercel's lists keep theirs, so a person reads one attribute down a column: a record with no value for a fact draws `TableValue`'s muted dash, with the fact's `missing` read in its place; status is only for the exception, so a healthy record's status cell stays empty and the records that need a person stand out; the commands column, which holds no attribute, stands only while a record has a command, a menu or a message, or the rows open, and it widens for a failed action's next steps only while a row shows one. Never the three dots before the buttons, a decorative icon for the record's mark, or a status on every row. A `line` row's summary joins only the facts the record has, so it never ends in a dot. A failed or refused action of the record shows as its catalogue message inside its own row, never a notice under the row: it replaces the detail line, with its next steps beside its commands, or under the message on a card too narrow for the row's columns. With `open` the whole row is one target and takes the `accent` hover, with no chevron, as Vercel's Deployments rows open theirs; a row that opens nothing never reacts to hover. Opening is the row's alone: the three dots never hold a command that only shows the record (*Details*, *View*, *Open*). With `editor` the record's row opens its form under its line. `empty` is required: `null` is the choice to draw nothing for a list with no records, and any other value is the state it draws. A list that is a section of another page takes `heading`: its title, the one line under it, and at the trailing edge the card's `actions`, such as its Add command and a muted count, drawn as every card draws them, so the list and its commands are one card, never a list inside a setting card. A note about the whole list is `footer.note`: one muted line, an optional *Learn more* after it at the left and one secondary action at the right, in a strip of its own under the count and the paging, as Vercel ends its deployments list ("Deployment retention is enabled. Learn more", *View recently deleted*). A list a person picks from (`select`) says what the chosen records do together: while any is chosen, the footer's count becomes theirs ("2 selected") and their one command stands at the footer's end as an outline button ("Invite 2"), so choosing never changes the page's title row; the record's own commands stay on its row, so a person never has to choose a record to act on it. Colour is neutral, the name in ink and every other cell in the body grey, except the status badge and a failed action's message.
315
+ * @behaviour One bordered card, a 1 px rule between records and none after the last. A row is 72 px, with 16 px above and below, and its columns stand left to right at the widths the list declares, so a person reads every list the same way: the `select` box (40 px, only when the list is picked from, an optional column), the identity (the rest: the one column without a size), the facts (each its `size`), the status (`status.size`), the time (`time.size`, tabular), the `checklist` ring (52 px, only when the record has steps to be ready) and the commands (as wide as the widest row's buttons, a failed action's next steps and the three dots after them need, worked out from their labels, each label at most 8 px a character and a button holding the longer of its label and its pending label, the dots at their 44 px touch target; 64 px for the three dots alone; never narrower than a `commandsSize` the caller gives, which two lists on one page share so their columns line up although only one has buttons). A `checklist` puts the record's `ProgressChecklist` ring just before its commands, where Vercel ends a project's row with its Production Checklist; the ring opens its own drawer, never the row. Every row has its 32 px mark, its name (600) and, under it, one muted 14 px line, which `wraps="detail"` lets wrap in full where the person must read it whole; `name` and the mark are required; a record with nothing to say under its name leaves the line out and is the name alone, never a dash. Give every column a `size` in pixels; the name takes the rest. With `layout="line"`, as on Vercel's Projects page, the facts and the status share one muted line, joined by a middle dot, in a column as wide as the name's, and the row stays one line (mark, name over its line, that summary, the time, the ring, the three dots) on a card wide enough for its sized columns and 160 px each for the name and the summary, and on a narrower card the summary and the time move under the name as muted text joined by a middle dot that wraps, the status keeping its mark whole and breaking between its words only when it alone is wider than the line, in the same row, their labels read by assistive technology only. Rows of `columns` follow the same rule once the card is narrower than their columns: the facts and the time leave the row for that muted text, wrapping so every value stays readable, never a labelled list, and the status stands beside the name, which ends in an ellipsis before it, so the exception is never the part a phone's line cuts. `facts` takes at most three. The product gives each record's `commands`, everything it can do now, and the list draws them: none draws nothing; one is an outline button; two are two outline buttons, the `main` first; three or more are the `main` as a button, or none, and the rest in the three dots, which therefore always hold two or more, never one (owner, 2026-11-06). The row's buttons and its three dots are 32 px, a button its label alone and a command's icon leading it only in the three dots, as Geist's row buttons read (nadicode decision). A command a record cannot run now stays, disabled, with its reason: in a button's tooltip, or in a line under its label in the three dots; only permission leaves one out (nadicode decision). A destructive command, visible, is an outline button named verb and noun, never red; in the three dots it comes last after a divider; either way it opens its confirmation, or runs at once with its Undo in a toast (nadicode decision). More than ten commands for a record, or two marked `main`, throws in development and tests (nadicode decision). The commands never take the name's room: once the row is compact, its commands column holds only the three dots and the row's own buttons stand under the name, beside a failed action's next steps, outside the row's link, so pressing one never opens the record. Every column of the records' attributes stands on every row, as Vercel's lists keep theirs, so a person reads one attribute down a column: a record with no value for a fact draws `TableValue`'s muted dash, with the fact's `missing` read in its place; status is only for the exception, so a healthy record's status cell stays empty and the records that need a person stand out; the commands column, which holds no attribute, stands only while a record has a command, a menu or a message, or the rows open, and it widens for a failed action's next steps only while a row shows one. Never the three dots before the buttons, a decorative icon for the record's mark, or a status on every row. A `line` row's summary joins only the facts the record has, so it never ends in a dot. A failed or refused action of the record shows as its catalogue message inside its own row, never a notice under the row: it replaces the detail line, with its next steps beside its commands, or under the message on a card too narrow for the row's columns. With `open` the whole row is one target and takes the `accent` hover, with no chevron, as Vercel's Deployments rows open theirs; a row that opens nothing never reacts to hover. Opening is the row's alone: the three dots never hold a command that only shows the record (*Details*, *View*, *Open*). With `editor` the record's row opens its form under its line. `empty` is required: `null` is the choice to draw nothing for a list with no records, and any other value is the state it draws. A list that is a section of another page takes `heading`: its title, the one line under it, and at the trailing edge the card's `actions`, such as its Add command and a muted count, drawn as every card draws them, so the list and its commands are one card, never a list inside a setting card. A note about the whole list is `footer.note`: one muted line, an optional *Learn more* after it at the left and one secondary action at the right, in a strip of its own under the count and the paging, as Vercel ends its deployments list ("Deployment retention is enabled. Learn more", *View recently deleted*). A long list a person reads in part, such as their signed-in sessions, takes `footer.more`: its first `shows` records, then an outline button at the footer's end that shows the rest and, once they show, fewer again, its `aria-expanded` saying which; the page never draws that button under the list itself (nadicode decision). A list a person picks from (`select`) says what the chosen records do together: while any is chosen, the footer's count becomes theirs ("2 selected") and their one command stands at the footer's end as an outline button ("Invite 2"), so choosing never changes the page's title row; the record's own commands stay on its row, so a person never has to choose a record to act on it. Colour is neutral, the name in ink and every other cell in the body grey, except the status badge and a failed action's message.
305
316
  * “Pick the variant by what the user needs: no-results for a filtered list that returned zero rows, blank slate or informational for a resource the user hasn’t created, cleared for completed work, permission for role or tier denials, error for a failed load.” (https://vercel.com/geist/empty-state)
306
317
  * Ours: `failed`, `noMatch` and `empty` are those variants, drawn inside the card (nadicode decision).
307
318
  * “The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`.” (https://vercel.com/geist/entity)
308
319
  * Ours: at most two buttons stand on a row, then the three dots, all 32 px, as the commands rule above draws them (owner, 2026-11-06).
309
320
  * “Render the Skeleton variant (`entity-with-skeleton`) during load instead of an empty row, and swap to real content once data resolves.” (https://vercel.com/geist/entity)
310
- * Ours: three still skeleton rows hold the place, in a region that announces what replaces them; then the first that holds: the failed read, no match, the empty state, the rows (nadicode decision).
321
+ * Ours: three still skeleton rows hold the place, in a region that announces what replaces them; then the first that holds: the failed read, no match, the empty state, the rows (nadicode decision). A page that reads the records before it can draw the list, such as a route's fallback, shows `RecordListSkeleton`: the same card and the same loading rows, as many as the fold the list fills (`rows`), with no words (nadicode decision).
311
322
  * @words “Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`).” (https://vercel.com/geist/entity)
312
323
  * Ours: the name is the record's own and the labels around it are sentence case, not Title Case (nadicode decision).
313
324
  * “Keep right-column buttons Verb + Noun (`Remove Member`, `Resend Invite`). Bare verbs like `Remove` or `Confirm` lose context once the row scrolls offscreen.” (https://vercel.com/geist/entity)
@@ -316,15 +327,19 @@ function RecordRows(props) {
316
327
  * “Render — in cells where a value is unknown or not applicable. Don’t substitute N/A, null, or an empty string.” (https://vercel.com/geist/table)
317
328
  * Ours: a list is the records' attributes shown as data, not written as text. Its columns are the few attributes a person compares across the records to decide what to do with one (a deployment's status, environment, commit, branch and time), chosen from that job, never from what there is to say about a record. A cell holds the value alone, in the same shape down its column: a name, a kind ("Customer"), a count with its unit ("3 keys"), an amount; its position, the mark of its kind (`icon`, as Vercel marks a branch before "main") and its type say what it is, so the hidden heading needs no words in the cell. Never a sentence that restates the column ("Through Partner Alpha", "Joins as a company"), and never a word in place of a missing value ("Not available", "No Partner"): `of` returns nothing and the list draws the dash, and `nadicodeai/record-fact-no-stand-in` refuses the word given by `??`, a presence check or a guard clause. A known zero stays the count ("0 Agents") and a complete report that found nothing keeps its word ("None"), as `TableValue` says; a word that names a kind of its own, a glossary term such as "Direct customer", is a value. A fact's `label`, the status's and the time's are the nouns the headings would be ("Partner", "State", "Asked"). The name's line under it is the one place a record is described in words, and the time keeps its verb's sentence ("Updated 3h ago"), as the approved canvas rules. Every string is the product's: `label` names the list, a time's `phrase` writes its sentence, `missing` is what a screen reader hears behind a dash, `moreLabel` reads "More for {record}". A row command names its result in sentence case ("Edit domain"). A status is the exception's word ("Needs attention", "Can't sign in"), never "Active" on every row, and never the state a row's own command already says: a row that ends in "Resend link" carries no "Link sent". The footer holds a count or the paging, never a help sentence: guidance a step needs lives in that step (nadicode decision).
318
329
  * @access “Wrap the loading region in `aria-busy="true"` and announce completion with `aria-live="polite"` on the destination container, not the skeleton itself.” (https://vercel.com/geist/skeleton)
319
- * Ours: the loading rows sit in one `SkeletonRegion` that is busy while they stand and announces what replaces them. A table named by `label`, its column headings read by assistive technology only; the commands column's is `commandsHeader`, and empty without one, since its controls name themselves, never the list's name a second time. The row link carries `open.label`; the three dots carry `moreLabel`, and the menu's first line names the record; a right-click on a row opens every command of the record in one menu. The loading rows are a status named by `loadingLabel`, inside the one live region that announces what replaces them (nadicode decision).
330
+ * Ours: the loading rows sit in one `SkeletonRegion` that is busy while they stand and announces what replaces them. A table named by `label`, its column headings read by assistive technology only; the commands column's is `commandsHeader`, and empty without one, since its controls name themselves, never the list's name a second time. The row link carries `open.label`; the three dots carry `moreLabel`, and the menu's first line names the record; a right-click on a row opens every command of the record in one menu. The loading rows are a status named by `loadingLabel`, inside the one live region that announces what replaces them (nadicode decision). `RecordListSkeleton`, which a page shows while it reads the records, is busy and carries no words.
320
331
  * “For multi-select rows, the leading `Checkbox` carries `aria-label="Select {entity name}"` so the row is selectable without relying on the visual label.” (https://vercel.com/geist/entity)
321
332
  * Ours: each box is named by `select.label`, which reads "Select {record}" (nadicode decision).
322
333
  */
323
334
  export function RecordList(props) {
324
- const { records, heading, footer, select } = props;
335
+ const { heading, footer, select } = props;
325
336
  const { arm, dialog } = useCommandRunner();
337
+ const [allShown, setAllShown] = useState(false);
338
+ const more = footer?.more;
339
+ const cut = more !== undefined && props.records !== undefined && props.records.length > more.shows;
340
+ const records = cut && !allShown ? props.records?.slice(0, more.shows) : props.records;
326
341
  const loading = !props.failed && records === undefined;
327
- const chosenRecords = records?.filter((record) => select?.checked(record) === true) ?? [];
342
+ const chosenRecords = props.records?.filter((record) => select?.checked(record) === true) ?? [];
328
343
  const chosen = select && chosenRecords.length > 0 ? select.chosen(chosenRecords) : undefined;
329
344
  const pages = footer?.pages?.onPrevious === undefined && footer?.pages?.onNext === undefined
330
345
  ? undefined
@@ -347,5 +362,5 @@ export function RecordList(props) {
347
362
  else {
348
363
  body = _jsx(RecordRows, { ...props, records: records });
349
364
  }
350
- return (_jsxs(_Fragment, { children: [_jsx(TableCard, { actions: heading?.actions, footer: chosen || pages ? (_jsxs(_Fragment, { children: [chosen ? _jsx(PageCommandButton, { command: chosen.command, variant: "outline" }) : null, pages ? _jsx(Pages, { pages: pages }) : null] })) : undefined, footerHint: chosen?.count ?? footer?.count, note: footer?.note, description: heading?.description, status: heading?.status, title: heading?.title, children: _jsx(ShownList.Provider, { value: props, children: _jsx(RowCommandsArm.Provider, { value: arm, children: _jsx(SkeletonRegion, { busy: loading, children: body }) }) }) }), dialog] }));
365
+ return (_jsxs(_Fragment, { children: [_jsx(TableCard, { actions: heading?.actions, footer: chosen || pages || cut ? (_jsxs(_Fragment, { children: [chosen ? _jsx(PageCommandButton, { command: chosen.command, variant: "outline" }) : null, pages ? _jsx(Pages, { pages: pages }) : null, cut ? (_jsx(Button, { "aria-expanded": allShown, onClick: () => setAllShown((shown) => !shown), type: "button", variant: "outline", children: allShown ? more.showFewerLabel : more.showAllLabel })) : null] })) : undefined, footerHint: chosen?.count ?? footer?.count, note: footer?.note, description: heading?.description, status: heading?.status, title: heading?.title, children: _jsx(ShownList.Provider, { value: props, children: _jsx(RowCommandsArm.Provider, { value: arm, children: _jsx(SkeletonRegion, { busy: loading, children: body }) }) }) }), dialog] }));
351
366
  }
@@ -30,6 +30,10 @@ export type RecordTimeProps = {
30
30
  /** The time of day in the viewer's zone, tabular: "3:05 PM". */
31
31
  | {
32
32
  mode: "clock";
33
+ }
34
+ /** The day in the viewer's zone, with its year: "Sep 19, 2026". */
35
+ | {
36
+ mode: "day";
33
37
  });
34
38
  /**
35
39
  * The moment the server drew the page, for every `RecordTime` below: the server writes each relative
@@ -49,11 +53,11 @@ export declare function recordDate(at: Date | number | string | null | undefined
49
53
  *
50
54
  * @family Data
51
55
  * @when "Use `<RelativeTimeCard>` anywhere a recent timestamp appears in scannable surfaces: `Table` cells, `Entity` rows, deploy lists, activity feeds." (https://vercel.com/geist/relative-time-card)
52
- * Ours: `RelativeTimeCard` is `RecordTime`: the moment a record was made, changed or last ran, in its row or its facts, and the time of each event in an ActivityFeed or a RunTimeline step (`mode="clock"`).
56
+ * Ours: `RelativeTimeCard` is `RecordTime`: the moment a record was made, changed or last ran, in its row or its facts, and the time of each event in an ActivityFeed or a RunTimeline step (`mode="clock"`). The day a moment fell on, where the sentence already says the time or the day is the fact, such as a reading's day beside its clock when it was read on an earlier day, is `mode="day"` (nadicode decision).
53
57
  * @instead "For a static date in body prose past 7 days, render `Mar 14, 2026` directly." (https://vercel.com/geist/relative-time-card)
54
58
  * Ours: a date a person picks is a Calendar; a span of days a page reads is a DateRangeControl; a run's duration is a fact written by the product (*Took 4 min*).
55
59
  * @behaviour "The hover card already shows absolute UTC and local time, so don’t duplicate that copy elsewhere on the row." (https://vercel.com/geist/relative-time-card)
56
- * Ours: relative within a week, then the day and month, with the year only when it is another year; `mode="clock"` prints the time of day in the viewer's zone in tabular figures. Hovering either shows a card that opens above after 150 ms, 13 px from the time, with a stem: the relative reading first, then the exact date and time in UTC and in the viewer's zone, each behind a zone chip, the viewer's by its offset (*GMT+2*). A page rendered on a server passes the viewer's `timeZone` when it knows it, so the server and the browser write the same time; otherwise the server and the hydrating page write UTC and the page then rewrites it in the browser's zone. A relative time counts from the moment the server drew the page, which a `RecordTimeRenderedAt` above gives the server and the hydrating page alike, so a minute that turns before the page is live changes nothing, and the live page then counts from the browser's clock; a server with no such moment writes the day with its year (*Signed up Oct 14, 2026*), and the live page rewrites it. The product supplies any refresh after that. A time that names no moment draws `children`, a state such as *Pending*, or nothing. While `at` does name a moment, `children` (*Queued*) replaces the sentence and the card stays.
60
+ * Ours: relative within a week, then the day and month, with the year only when it is another year; `mode="clock"` prints the time of day in the viewer's zone in tabular figures; `mode="day"` prints the day in the viewer's zone with its year, whatever the clock reads (*Sep 19, 2026*, *19 set 2026*). Hovering any of them shows a card that opens above after 150 ms, 13 px from the time, with a stem: the relative reading first, then the exact date and time in UTC and in the viewer's zone, each behind a zone chip, the viewer's by its offset (*GMT+2*). A page rendered on a server passes the viewer's `timeZone` when it knows it, so the server and the browser write the same time; otherwise the server and the hydrating page write UTC and the page then rewrites it in the browser's zone. A relative time counts from the moment the server drew the page, which a `RecordTimeRenderedAt` above gives the server and the hydrating page alike, so a minute that turns before the page is live changes nothing, and the live page then counts from the browser's clock; a server with no such moment writes the day with its year (*Signed up Oct 14, 2026*), and the live page rewrites it. The product supplies any refresh after that. A time that names no moment draws `children`, a state such as *Pending*, or nothing. While `at` does name a moment, `children` (*Queued*) replaces the sentence and the card stays.
57
61
  * @words "Pass `date` as a number (Unix ms or epoch)." "Don’t pre-format the value, and don’t replace `children` with a formatted string." "The component’s short formatter is the canonical form (`2m`, `5h`, `Yesterday`)." "Don’t append `ago` after the component." "The formatter already produces `2m ago` / `5h ago`, so `<RelativeTimeCard /> ago` reads as `2m ago ago`." "Use `children` only for non-time labels (`Just now`, `Pending`, `Queued`) where the formatter can’t describe the state." "Pair with a leading label when the row is ambiguous on its own: `Last deploy <RelativeTimeCard date={ts} />`." (https://vercel.com/geist/relative-time-card)
58
62
  * Ours: `at` takes a Date, epoch milliseconds or an ISO string, never a display string such as *3 hours ago*. The reading is Geist's short form in the person's language (*now*, *2m ago*, *3h ago*, *yesterday*, *3d ago*, then *12 Sep*; *ora*, *3 h fa* in Italian). The product writes the sentence through `phrase` (*Updated {when}*, *Ran {when}*), so *ago* is never added after it, and a row says what happened because its list's headings are read only by assistive technology; the clock needs no words. The package formats every date with the person's `locale`.
59
63
  * @access Ours: a `<time>` element with the machine-readable moment; assistive technology reads the exact local moment after the visible text.
@@ -1 +1 @@
1
- {"version":3,"file":"record-time.d.ts","sourceRoot":"","sources":["../../src/components/record-time.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,OAAO,EAAa,gBAAgB,EAAoB,MAAM,yBAAyB,CAAC;AAIxF,MAAM,MAAM,eAAe,GAAG;IAC5B,0FAA0F;IAC1F,EAAE,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,kEAAkE;IAClE,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;IACvD,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kIAAkI;IAClI,GAAG,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,MAAM,CAAC;CACd,GAAG,CACA;IACE,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;OAGG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;CAClC;AACH,gEAAgE;GAC9D;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE;AACnB,mEAAmE;GACjE;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,CAClB,CAAC;AAIF;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,QAAQ,GACT,EAAE;IACD,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB,+BAEA;AAoDD,6FAA6F;AAC7F,wBAAgB,UAAU,CAAC,EAAE,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAIrF;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,sCAkFhD"}
@@ -59,11 +59,11 @@ export function recordDate(at) {
59
59
  *
60
60
  * @family Data
61
61
  * @when "Use `<RelativeTimeCard>` anywhere a recent timestamp appears in scannable surfaces: `Table` cells, `Entity` rows, deploy lists, activity feeds." (https://vercel.com/geist/relative-time-card)
62
- * Ours: `RelativeTimeCard` is `RecordTime`: the moment a record was made, changed or last ran, in its row or its facts, and the time of each event in an ActivityFeed or a RunTimeline step (`mode="clock"`).
62
+ * Ours: `RelativeTimeCard` is `RecordTime`: the moment a record was made, changed or last ran, in its row or its facts, and the time of each event in an ActivityFeed or a RunTimeline step (`mode="clock"`). The day a moment fell on, where the sentence already says the time or the day is the fact, such as a reading's day beside its clock when it was read on an earlier day, is `mode="day"` (nadicode decision).
63
63
  * @instead "For a static date in body prose past 7 days, render `Mar 14, 2026` directly." (https://vercel.com/geist/relative-time-card)
64
64
  * Ours: a date a person picks is a Calendar; a span of days a page reads is a DateRangeControl; a run's duration is a fact written by the product (*Took 4 min*).
65
65
  * @behaviour "The hover card already shows absolute UTC and local time, so don’t duplicate that copy elsewhere on the row." (https://vercel.com/geist/relative-time-card)
66
- * Ours: relative within a week, then the day and month, with the year only when it is another year; `mode="clock"` prints the time of day in the viewer's zone in tabular figures. Hovering either shows a card that opens above after 150 ms, 13 px from the time, with a stem: the relative reading first, then the exact date and time in UTC and in the viewer's zone, each behind a zone chip, the viewer's by its offset (*GMT+2*). A page rendered on a server passes the viewer's `timeZone` when it knows it, so the server and the browser write the same time; otherwise the server and the hydrating page write UTC and the page then rewrites it in the browser's zone. A relative time counts from the moment the server drew the page, which a `RecordTimeRenderedAt` above gives the server and the hydrating page alike, so a minute that turns before the page is live changes nothing, and the live page then counts from the browser's clock; a server with no such moment writes the day with its year (*Signed up Oct 14, 2026*), and the live page rewrites it. The product supplies any refresh after that. A time that names no moment draws `children`, a state such as *Pending*, or nothing. While `at` does name a moment, `children` (*Queued*) replaces the sentence and the card stays.
66
+ * Ours: relative within a week, then the day and month, with the year only when it is another year; `mode="clock"` prints the time of day in the viewer's zone in tabular figures; `mode="day"` prints the day in the viewer's zone with its year, whatever the clock reads (*Sep 19, 2026*, *19 set 2026*). Hovering any of them shows a card that opens above after 150 ms, 13 px from the time, with a stem: the relative reading first, then the exact date and time in UTC and in the viewer's zone, each behind a zone chip, the viewer's by its offset (*GMT+2*). A page rendered on a server passes the viewer's `timeZone` when it knows it, so the server and the browser write the same time; otherwise the server and the hydrating page write UTC and the page then rewrites it in the browser's zone. A relative time counts from the moment the server drew the page, which a `RecordTimeRenderedAt` above gives the server and the hydrating page alike, so a minute that turns before the page is live changes nothing, and the live page then counts from the browser's clock; a server with no such moment writes the day with its year (*Signed up Oct 14, 2026*), and the live page rewrites it. The product supplies any refresh after that. A time that names no moment draws `children`, a state such as *Pending*, or nothing. While `at` does name a moment, `children` (*Queued*) replaces the sentence and the card stays.
67
67
  * @words "Pass `date` as a number (Unix ms or epoch)." "Don’t pre-format the value, and don’t replace `children` with a formatted string." "The component’s short formatter is the canonical form (`2m`, `5h`, `Yesterday`)." "Don’t append `ago` after the component." "The formatter already produces `2m ago` / `5h ago`, so `<RelativeTimeCard /> ago` reads as `2m ago ago`." "Use `children` only for non-time labels (`Just now`, `Pending`, `Queued`) where the formatter can’t describe the state." "Pair with a leading label when the row is ambiguous on its own: `Last deploy <RelativeTimeCard date={ts} />`." (https://vercel.com/geist/relative-time-card)
68
68
  * Ours: `at` takes a Date, epoch milliseconds or an ISO string, never a display string such as *3 hours ago*. The reading is Geist's short form in the person's language (*now*, *2m ago*, *3h ago*, *yesterday*, *3d ago*, then *12 Sep*; *ora*, *3 h fa* in Italian). The product writes the sentence through `phrase` (*Updated {when}*, *Ran {when}*), so *ago* is never added after it, and a row says what happened because its list's headings are read only by assistive technology; the clock needs no words. The package formats every date with the person's `locale`.
69
69
  * @access Ours: a `<time>` element with the machine-readable moment; assistive technology reads the exact local moment after the visible text.
@@ -74,7 +74,8 @@ export function RecordTime(props) {
74
74
  const timeZone = props.timeZone ?? (hydrated ? undefined : "UTC");
75
75
  const date = recordDate(at);
76
76
  const clock = props.mode === "clock";
77
- const reading = useReadingTime(now, date !== null && !clock);
77
+ const day = props.mode === "day";
78
+ const reading = useReadingTime(now, date !== null && !clock && !day);
78
79
  if (!date) {
79
80
  return props.children ? (_jsx("span", { className: "whitespace-nowrap text-muted-foreground", "data-slot": "record-time", children: props.children })) : null;
80
81
  }
@@ -95,8 +96,10 @@ export function RecordTime(props) {
95
96
  const shown = props.children ??
96
97
  (clock
97
98
  ? new Intl.DateTimeFormat(locale, { timeStyle: "short", timeZone }).format(date)
98
- : props.phrase(when));
99
+ : day
100
+ ? formatRecordDay(date, locale, timeZone, true)
101
+ : props.phrase(when));
99
102
  return (_jsxs(HoverCard, { children: [_jsxs(HoverCardTrigger, { render: _jsx("time", { className: clock
100
103
  ? "whitespace-nowrap tabular-nums text-muted-foreground"
101
- : "whitespace-nowrap text-muted-foreground", "data-slot": "record-time", dateTime: date.toISOString() }), children: [shown, _jsxs("span", { className: "sr-only", children: [", ", local] })] }), _jsx(HoverCardContent, { side: props.side, sideOffset: 13, children: _jsxs("div", { className: "grid min-w-75 gap-3 text-body-compact", "data-slot": "record-time-exact", children: [_jsx("p", { className: "text-muted-foreground tabular-nums", children: clock ? (_jsx(OpenedReading, { at: date, locale: locale, now: now, timeZone: timeZone })) : (when) }), _jsx("dl", { className: "grid gap-2", children: exactRows.map((row) => (_jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx("dt", { className: "inline-flex h-4 items-center rounded-xs bg-recessed px-1.5 font-label-mono text-label-mono text-muted-foreground", children: row.zone }), _jsxs("dd", { className: "flex min-w-0 flex-1 items-center justify-between gap-3", children: [_jsx("span", { children: row.date }), _jsx("span", { className: "font-label-mono text-label-mono text-muted-foreground tabular-nums", children: row.time })] })] }, row.id))) })] }) })] }));
104
+ : "whitespace-nowrap text-muted-foreground", "data-slot": "record-time", dateTime: date.toISOString() }), children: [shown, _jsxs("span", { className: "sr-only", children: [", ", local] })] }), _jsx(HoverCardContent, { side: props.side, sideOffset: 13, children: _jsxs("div", { className: "grid min-w-75 gap-3 text-body-compact", "data-slot": "record-time-exact", children: [_jsx("p", { className: "text-muted-foreground tabular-nums", children: clock || day ? (_jsx(OpenedReading, { at: date, locale: locale, now: now, timeZone: timeZone })) : (when) }), _jsx("dl", { className: "grid gap-2", children: exactRows.map((row) => (_jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx("dt", { className: "inline-flex h-4 items-center rounded-xs bg-recessed px-1.5 font-label-mono text-label-mono text-muted-foreground", children: row.zone }), _jsxs("dd", { className: "flex min-w-0 flex-1 items-center justify-between gap-3", children: [_jsx("span", { children: row.date }), _jsx("span", { className: "font-label-mono text-label-mono text-muted-foreground tabular-nums", children: row.time })] })] }, row.id))) })] }) })] }));
102
105
  }
@@ -18,7 +18,7 @@ export type RowEditFormProps = Omit<ComponentProps<typeof Form>, "children" | "c
18
18
  * @family Compositions
19
19
  * @when A person changes a record they see in a list: edit a mailbox, a task, an MCP server, a channel. It is a `RecordList`'s `editor` or a `DataTable`'s `rowEditor`.
20
20
  * @instead A new record from a few fields is a `FormDialog`; a fact on the record's own page changes in place in its section; a choice from a catalogue is a `CatalogDrawer`.
21
- * @behaviour The fields open under the record's line, inside its row, and the other rows stay where they are; a refusal or a failed save sits above the footer. The footer, one tone below, holds an optional hint at its leading edge, then Cancel and the save rightmost. Save stays off until a field changes: the caller sets `submit.disabled` from its own fields. Cancel holds while the save runs, and the waiting line runs under them.
21
+ * @behaviour The fields open under the record's line, inside its row, and the other rows stay where they are; a refusal or a failed save sits above the footer. The footer, one tone below, holds an optional hint at its leading edge, then Cancel and the save rightmost. Save stays off until a field changes: the caller sets `submit.disabled` from its own fields. Cancel holds while the save runs, and the waiting line runs under them. The row's commands stay as they were while its form is open: Cancel closes the form, never a Close put on the row (owner).
22
22
  * @words The save says what it does, "Save"; Cancel is "Cancel". The hint is a way on, such as where to find a token, never a restatement of a field's label.
23
23
  * @access A form in the row's place, which the caller moves focus into. The running save is marked busy, and the line saying why the save cannot run yet is its description (`submit.describedBy`).
24
24
  */
@@ -10,7 +10,7 @@ import { FormSubmitButton } from "../internal/form-submit.js";
10
10
  * @family Compositions
11
11
  * @when A person changes a record they see in a list: edit a mailbox, a task, an MCP server, a channel. It is a `RecordList`'s `editor` or a `DataTable`'s `rowEditor`.
12
12
  * @instead A new record from a few fields is a `FormDialog`; a fact on the record's own page changes in place in its section; a choice from a catalogue is a `CatalogDrawer`.
13
- * @behaviour The fields open under the record's line, inside its row, and the other rows stay where they are; a refusal or a failed save sits above the footer. The footer, one tone below, holds an optional hint at its leading edge, then Cancel and the save rightmost. Save stays off until a field changes: the caller sets `submit.disabled` from its own fields. Cancel holds while the save runs, and the waiting line runs under them.
13
+ * @behaviour The fields open under the record's line, inside its row, and the other rows stay where they are; a refusal or a failed save sits above the footer. The footer, one tone below, holds an optional hint at its leading edge, then Cancel and the save rightmost. Save stays off until a field changes: the caller sets `submit.disabled` from its own fields. Cancel holds while the save runs, and the waiting line runs under them. The row's commands stay as they were while its form is open: Cancel closes the form, never a Close put on the row (owner).
14
14
  * @words The save says what it does, "Save"; Cancel is "Cancel". The hint is a way on, such as where to find a token, never a restatement of a field's label.
15
15
  * @access A form in the row's place, which the caller moves focus into. The running save is marked busy, and the line saying why the save cannot run yet is its description (`submit.describedBy`).
16
16
  */
@@ -5,6 +5,8 @@ export type ScopeOption = {
5
5
  group?: string;
6
6
  keywords?: readonly string[];
7
7
  mark?: React.ReactNode;
8
+ /** What tells this option from another of the same name, at the row's end in muted text, as a chat's start time. */
9
+ meta?: React.ReactNode;
8
10
  };
9
11
  export type ScopeSwitcherCopy = {
10
12
  label: string;
@@ -31,7 +33,7 @@ export type ScopeSwitcherProps = {
31
33
  * @family Navigation
32
34
  * @when Changing which part of the account a page reads, such as Analytics' scope, or switching between objects from the shell's top bar with `variant="navigation"`.
33
35
  * @instead A viewer with one scope and nothing to create reads its name with no control, which this draws by itself. Finding anything is `CommandDialog`; narrowing rows is `CollectionFilters`.
34
- * @behaviour A ghost trigger, at most 16rem, opens a 288 px popover with focus in its search. Navigation omits the visible prefix, wraps the selected name on phones instead of cutting it, carries each option's identity mark and opens a 384 px popover constrained to the viewport. Type to filter, Enter chooses and closes; choosing the current one changes nothing. The caller writes the choice to the URL in `onValueChange`, so sibling pages keep it. Scope selectors preserve the authorized organization or account. An optional create command sits last.
36
+ * @behaviour A ghost trigger, at most 16rem, opens a 288 px popover with focus in its search. Navigation omits the visible prefix, takes the path's room in place of the 16rem, and keeps the selected name on one line, whole while the path can show it and cut with an ellipsis only when it cannot, as the path it stands in does (owner ruling, 2026-11-07 (centred), with names kept whole), carries each option's identity mark and its `meta`, such as a chat's start time, at the row's end and opens a 384 px popover constrained to the viewport. Type to filter, Enter chooses and closes; choosing the current one changes nothing. The caller writes the choice to the URL in `onValueChange`, so sibling pages keep it. Scope selectors preserve the authorized organization or account. An optional create command sits last.
35
37
  * @words `copy.label` names what is chosen ("Scope") beside the current scope's name. Search and empty lines name the thing: "Find a scope", "No scope matches".
36
38
  * @access The trigger reads "Scope: All customers"; the popover has a hidden title; options are a listbox with the current one checked.
37
39
  */
@@ -1 +1 @@
1
- {"version":3,"file":"scope-switcher.d.ts","sourceRoot":"","sources":["../../src/components/scope-switcher.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,+FAA+F;IAC/F,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,WAAW,EAAE,CAAC;IAChC,8DAA8D;IAC9D,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,IAAI,EAAE,iBAAiB,CAAC;IACxB,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IACjD,OAAO,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;CAClC,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,OAAO,EACP,aAAa,EACb,IAAI,EACJ,MAAM,EACN,OAAiB,GAClB,EAAE,kBAAkB,qBAsHpB"}
1
+ {"version":3,"file":"scope-switcher.d.ts","sourceRoot":"","sources":["../../src/components/scope-switcher.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,oHAAoH;IACpH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,+FAA+F;IAC/F,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,WAAW,EAAE,CAAC;IAChC,8DAA8D;IAC9D,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,IAAI,EAAE,iBAAiB,CAAC;IACxB,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IACjD,OAAO,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;CAClC,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,OAAO,EACP,aAAa,EACb,IAAI,EACJ,MAAM,EACN,OAAiB,GAClB,EAAE,kBAAkB,qBA+GpB"}
@@ -12,7 +12,7 @@ import { cn } from "../lib/utils.js";
12
12
  * @family Navigation
13
13
  * @when Changing which part of the account a page reads, such as Analytics' scope, or switching between objects from the shell's top bar with `variant="navigation"`.
14
14
  * @instead A viewer with one scope and nothing to create reads its name with no control, which this draws by itself. Finding anything is `CommandDialog`; narrowing rows is `CollectionFilters`.
15
- * @behaviour A ghost trigger, at most 16rem, opens a 288 px popover with focus in its search. Navigation omits the visible prefix, wraps the selected name on phones instead of cutting it, carries each option's identity mark and opens a 384 px popover constrained to the viewport. Type to filter, Enter chooses and closes; choosing the current one changes nothing. The caller writes the choice to the URL in `onValueChange`, so sibling pages keep it. Scope selectors preserve the authorized organization or account. An optional create command sits last.
15
+ * @behaviour A ghost trigger, at most 16rem, opens a 288 px popover with focus in its search. Navigation omits the visible prefix, takes the path's room in place of the 16rem, and keeps the selected name on one line, whole while the path can show it and cut with an ellipsis only when it cannot, as the path it stands in does (owner ruling, 2026-11-07 (centred), with names kept whole), carries each option's identity mark and its `meta`, such as a chat's start time, at the row's end and opens a 384 px popover constrained to the viewport. Type to filter, Enter chooses and closes; choosing the current one changes nothing. The caller writes the choice to the URL in `onValueChange`, so sibling pages keep it. Scope selectors preserve the authorized organization or account. An optional create command sits last.
16
16
  * @words `copy.label` names what is chosen ("Scope") beside the current scope's name. Search and empty lines name the thing: "Find a scope", "No scope matches".
17
17
  * @access The trigger reads "Scope: All customers"; the popover has a hidden title; options are a listbox with the current one checked.
18
18
  */
@@ -36,14 +36,11 @@ export function ScopeSwitcher({ value, options, onValueChange, copy, create, var
36
36
  onValueChange(next);
37
37
  };
38
38
  const switchable = options.length > 1 || create !== undefined;
39
- return (_jsxs("span", { "data-slot": "scope-switcher", className: "flex min-w-0 items-center gap-2", children: [_jsx("span", { "aria-hidden": switchable ? "true" : undefined, className: cn("text-xs font-medium text-muted-foreground", variant === "navigation" && "sr-only"), children: copy.label }), switchable ? (_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsxs(PopoverTrigger, { render: _jsx(Button, { variant: "ghost", className: cn("min-w-0 max-w-64 shrink", variant === "navigation" &&
40
- "h-auto max-w-full py-1 md:h-control-height md:max-w-64 md:py-0"), prefix: current?.mark ? _jsx("span", { "aria-hidden": "true", children: current.mark }) : undefined, suffix: _jsx(ChevronsUpDown, { "aria-hidden": "true" }) }), children: [_jsxs("span", { className: "sr-only", children: [copy.label, ":"] }), " ", _jsx("span", { className: cn(variant === "navigation"
41
- ? "whitespace-normal wrap-break-word text-left md:truncate"
42
- : "truncate"), children: currentLabel })] }), _jsxs(PopoverContent, { align: "start", className: cn("w-72 max-w-[calc(100vw-2rem)] p-0", variant === "navigation" && "w-96"), initialFocus: search, children: [_jsx(PopoverTitle, { className: "sr-only", children: copy.label }), _jsxs(Command, { label: copy.search, resultCount: copy.results, children: [_jsx(CommandInput, { ref: search, "aria-label": copy.search, placeholder: copy.search }), _jsxs(CommandList, { label: copy.label, children: [_jsx(CommandEmpty, { children: copy.empty }), groups.map(([group, items]) => (_jsx(CommandGroup, { heading: group, children: items.map((option) => (_jsxs(CommandItem, { value: option.value, keywords: [
39
+ return (_jsxs("span", { "data-slot": "scope-switcher", className: "flex min-w-0 items-center gap-2", children: [_jsx("span", { "aria-hidden": switchable ? "true" : undefined, className: cn("text-xs font-medium text-muted-foreground", variant === "navigation" && "sr-only"), children: copy.label }), switchable ? (_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsxs(PopoverTrigger, { render: _jsx(Button, { variant: "ghost", className: cn("min-w-0 max-w-64 shrink", variant === "navigation" && "max-w-full"), prefix: current?.mark ? _jsx("span", { "aria-hidden": "true", children: current.mark }) : undefined, suffix: _jsx(ChevronsUpDown, { "aria-hidden": "true" }) }), children: [_jsxs("span", { className: "sr-only", children: [copy.label, ":"] }), " ", _jsx("span", { className: "truncate", children: currentLabel })] }), _jsxs(PopoverContent, { align: "start", className: cn("w-72 max-w-[calc(100vw-2rem)] p-0", variant === "navigation" && "w-96"), initialFocus: search, children: [_jsx(PopoverTitle, { className: "sr-only", children: copy.label }), _jsxs(Command, { label: copy.search, resultCount: copy.results, children: [_jsx(CommandInput, { ref: search, "aria-label": copy.search, placeholder: copy.search }), _jsxs(CommandList, { label: copy.label, children: [_jsx(CommandEmpty, { children: copy.empty }), groups.map(([group, items]) => (_jsx(CommandGroup, { heading: group, children: items.map((option) => (_jsxs(CommandItem, { value: option.value, keywords: [
43
40
  option.label,
44
41
  ...(option.group ? [option.group] : []),
45
42
  ...(option.keywords ?? []),
46
- ], "data-checked": option.value === value, onSelect: () => choose(option.value), children: [option.mark ? _jsx("span", { "aria-hidden": "true", children: option.mark }) : null, _jsx("span", { className: "truncate", children: option.label })] }, option.value))) }, group ?? ""))), create ? (_jsxs(_Fragment, { children: [_jsx(CommandSeparator, { alwaysRender: true }), _jsx(CommandGroup, { forceMount: true, heading: undefined, children: _jsxs(CommandItem, { value: `create ${create.label}`, forceMount: true, onSelect: () => {
43
+ ], "data-checked": option.value === value, onSelect: () => choose(option.value), children: [option.mark ? _jsx("span", { "aria-hidden": "true", children: option.mark }) : null, _jsx("span", { className: "truncate", children: option.label }), option.meta ? (_jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: option.meta })) : null] }, option.value))) }, group ?? ""))), create ? (_jsxs(_Fragment, { children: [_jsx(CommandSeparator, { alwaysRender: true }), _jsx(CommandGroup, { forceMount: true, heading: undefined, children: _jsxs(CommandItem, { value: `create ${create.label}`, forceMount: true, onSelect: () => {
47
44
  setOpen(false);
48
45
  create.onSelect();
49
46
  }, children: [_jsx(Plus, { "aria-hidden": "true" }), create.label] }) })] })) : null] })] })] })] })) : (_jsxs("span", { className: "flex min-w-0 items-center gap-2 px-3 text-sm", children: [current?.mark ? _jsx("span", { "aria-hidden": "true", children: current.mark }) : null, _jsx("span", { className: "truncate", children: currentLabel })] }))] }));
@@ -11,10 +11,10 @@ export type SettingsPageProps = {
11
11
  *
12
12
  * @family Compositions
13
13
  * @when A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person, to the platform or to one record's Settings tab, so the column keeps its width and its field layout from one entry of a settings menu to the next.
14
- * @instead One object's page with a settings card among its sections is an ObjectPage; "Place it once per app, in the footer or settings, not duplicated across pages." (https://vercel.com/geist/theme-switcher) Ours: Theme and Language, which apply on change, stay in the account menu.
15
- * @behaviour One setting per card (the card's shapes are SettingsSection's: one field, a row of short parts of one value, rows of switches or of selects), the cards stacked 24 apart in the settings column (`ReadingColumn` `settings`, 960 px) under the page's header, which the product's page frame draws with its title and description, as Vercel's settings cards fill their column and stop there, with no heading between them; a field inside keeps its own bound. A page that mixes cards with other content, such as a table or a list of rules, is not a SettingsPage: its sections take a plain h2 above each card. The page draws no header and no save of its own: each SettingsSection saves from its footer. The danger zone closes the page, in rising severity: transfer, then pause, then delete; only delete is `tone="error"`, and only delete and pause take a button in a hue.
14
+ * @instead One object's page with a settings card among its sections is an ObjectPage; "Place it once per app, in the footer or settings, not duplicated across pages." (https://vercel.com/geist/theme-switcher) Ours: Theme and Language stand in the account menu, and a product's preferences page may show them too; when they apply is `SettingsSection`'s rule.
15
+ * @behaviour One setting per card (the card's shapes are SettingsSection's: one field, a row of short parts of one value, rows of switches or of selects), the cards stacked 24 apart in the settings column (`ReadingColumn` `settings`, 960 px) under the page's header, which the product's chrome draws with its title and description (`PageFrame`'s `title` where the host app draws the page area), as Vercel's settings cards fill their column and stop there, with no heading between them; a field inside keeps its own bound. A page that mixes cards with other content, such as a table or a list of rules, is not a SettingsPage: its sections take a plain h2 above each card. The page draws no header and no save of its own: each SettingsSection saves from its footer. The danger zone closes the page, in rising severity: transfer, then pause, then delete; only delete is `tone="error"`, and only delete and pause take a button in a hue.
16
16
  * @words The sections' titles and lines; a card's title is never the page's h1.
17
- * @access Draws no heading of its own: the page frame's header is the page's h1.
17
+ * @access Draws no heading of its own: the header the product's chrome or `PageFrame` draws is the page's h1.
18
18
  */
19
19
  export declare function SettingsPage({ notice, children }: SettingsPageProps): ReactElement;
20
20
  //# sourceMappingURL=settings-page.d.ts.map
@@ -6,10 +6,10 @@ import { ReadingColumn } from "./reading-column.js";
6
6
  *
7
7
  * @family Compositions
8
8
  * @when A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person, to the platform or to one record's Settings tab, so the column keeps its width and its field layout from one entry of a settings menu to the next.
9
- * @instead One object's page with a settings card among its sections is an ObjectPage; "Place it once per app, in the footer or settings, not duplicated across pages." (https://vercel.com/geist/theme-switcher) Ours: Theme and Language, which apply on change, stay in the account menu.
10
- * @behaviour One setting per card (the card's shapes are SettingsSection's: one field, a row of short parts of one value, rows of switches or of selects), the cards stacked 24 apart in the settings column (`ReadingColumn` `settings`, 960 px) under the page's header, which the product's page frame draws with its title and description, as Vercel's settings cards fill their column and stop there, with no heading between them; a field inside keeps its own bound. A page that mixes cards with other content, such as a table or a list of rules, is not a SettingsPage: its sections take a plain h2 above each card. The page draws no header and no save of its own: each SettingsSection saves from its footer. The danger zone closes the page, in rising severity: transfer, then pause, then delete; only delete is `tone="error"`, and only delete and pause take a button in a hue.
9
+ * @instead One object's page with a settings card among its sections is an ObjectPage; "Place it once per app, in the footer or settings, not duplicated across pages." (https://vercel.com/geist/theme-switcher) Ours: Theme and Language stand in the account menu, and a product's preferences page may show them too; when they apply is `SettingsSection`'s rule.
10
+ * @behaviour One setting per card (the card's shapes are SettingsSection's: one field, a row of short parts of one value, rows of switches or of selects), the cards stacked 24 apart in the settings column (`ReadingColumn` `settings`, 960 px) under the page's header, which the product's chrome draws with its title and description (`PageFrame`'s `title` where the host app draws the page area), as Vercel's settings cards fill their column and stop there, with no heading between them; a field inside keeps its own bound. A page that mixes cards with other content, such as a table or a list of rules, is not a SettingsPage: its sections take a plain h2 above each card. The page draws no header and no save of its own: each SettingsSection saves from its footer. The danger zone closes the page, in rising severity: transfer, then pause, then delete; only delete is `tone="error"`, and only delete and pause take a button in a hue.
11
11
  * @words The sections' titles and lines; a card's title is never the page's h1.
12
- * @access Draws no heading of its own: the page frame's header is the page's h1.
12
+ * @access Draws no heading of its own: the header the product's chrome or `PageFrame` draws is the page's h1.
13
13
  */
14
14
  export function SettingsPage({ notice, children }) {
15
15
  return (_jsxs(ReadingColumn, { width: "settings", children: [notice ? _jsx(NoticeBanner, { ...notice }) : null, children] }));
@@ -92,13 +92,27 @@ export type SavingSettingsSectionProps = SettingsSectionBase & SavingSection;
92
92
  * A card of one setting that says what changing it does and ends in a footer.
93
93
  *
94
94
  * @family Compositions
95
- * @when One setting a person changes on a SettingsPage or as a section of an ObjectPage: Personal details, Company identity, Notifications. A typed value takes `save`, and so does a switch, a theme, a language or a pick from a short list: each is a draft until the footer's Save applies it. Also a plan-gated feature, a delete card, one read-only value (an ID as a `TextWithCopyButton`, no Save), and a paid quantity (its stepper field, the price as the description, a two-fact summary under it).
95
+ * @when One setting a person changes on a SettingsPage or as a section of an ObjectPage: Personal details, Company identity, Notifications. A setting that changes what the product does takes `save` and is a draft until the footer's Save applies it: a typed value, a switch, a pick from a short list. A choice of how the product looks or reads to the person alone, Theme and Language, applies the moment it is picked, on the product's preferences page as in the `AccountMenu`, so its card has no `save` and no Save button, a `footerHint` at most (owner ruling, 7 November 2026). Also a plan-gated feature, a delete card, one read-only value (an ID as a `TextWithCopyButton`, no Save), and a paid quantity (its stepper field, the price as the description, a two-fact summary under it).
96
96
  * @instead Read-only facts of an object are a SettingsFactsSection; a table or a list of records is a TableCard; a record's edit in a list is a RowEditForm.
97
- * @behaviour "Groups related form controls inside a bordered card with optional footer actions." (https://vercel.com/geist/fieldset) Ours: one setting per card, a single SettingsField with the description its only help, unless the card's description covers several settings: then they are its SettingsRows, switches and selects together. A typed value (a name, a URL, a server, a port, a key) gets its own card. A semantic subgroup of related controls inside a field, such as radios or checkboxes, is a `FieldSet` with a `FieldLegend`. Several settings in one card are declared by SettingsRows, never by classes at the call site. The card's header and fields share one uninterrupted body, and only its footer has a divider. "Use Toggle for a single boolean setting where ON takes effect immediately, like `Password Protection` or `Auto-Cancel Builds`." (https://vercel.com/geist/toggle) "Pair with a form footer only when the setting needs an explicit `Save` step." (https://vercel.com/geist/toggle) "Disable Toggle only when the action is impossible (missing plan, locked policy); pair with helper text or a `Tooltip` that names the resolver." (https://vercel.com/geist/toggle) Ours: a switch never applies on change; it is a row of the card, a draft until the footer's Save, as Vercel's settings cards are. A switch blocked from above is shown off and disabled, the footer saying why and never a tooltip. Required: the title and the description. A `status` stands right after the title, as Vercel's plan card puts "Active" after "Pro Plan". The header's `actions` are drawn as every card draws them (`CardActions`: the muted meta, up to two secondaries as outline buttons, the primary as the filled one, the three dots), a way to another page among them as an outline button named for it; a card whose value is itself shown there, as Vercel's Team Avatar, takes `control` instead. They stand at the title's right; on a card narrower than 28 rem they keep the title's row and the description runs under both, as Vercel's cards read on a phone, and when the title's longest word would not fit beside them they move under the title, so they never cover it. The footer's left line (`footerHint`, `save.hint`) is optional and specific to the card, never a generic line repeated on every card: a limit, what a value is for, a plan it needs, a link; absent, it is nothing, and a card with neither a line nor a button has no footer. Ours: `save`: a typed value, one card with its own Save in the footer, always visible. The section owns the changed state: Save stays disabled until a field differs from what is saved and says `pendingLabel` while saving with Cancel beside it; a completed save calls `saved`, and the product raises one toast from its catalogue ("Completion toasts follow `{Noun} {past-participle}`: `Blob deleted`, `Domain added`, `Environment variable saved`. Never include `successfully`; the action name implies it." https://vercel.com/geist/toast), and Save returns to disabled, with no saved state in the footer. Ours: the section never raises a toast itself. A failed save keeps every value and shows under its field, or above the footer when no field owns it. `tone` marks a state with a command (a failed payment, a trial ending): a 1px border and a footer tinted in the hue with its line in it, the line saying the condition in words; title, line, fields and buttons stay neutral, an outline secondary then a default primary. A button takes the hue of its command, not of the card: `destructive` (red) for a permanent loss (Delete), `warning` (amber) for a disruptive command that can be undone (Pause, Archive). A delete card is `tone="error"` with the object's summary as its body; an archive card is neutral with a `warning` button in the footer. "Use a Note for inline contextual feedback next to the field, card, or section it describes: a region change warning above a region picker, a rate-limit notice next to a usage gauge." (https://vercel.com/geist/note) "One Note per concept." (https://vercel.com/geist/note) Ours: a message about the fields inside is a MessageNotice in the body, the card staying neutral. "Disabled checkboxes still need a Tooltip naming the reason; a greyed box with no explanation reads as a bug." (https://vercel.com/geist/checkbox) Ours: `lockedReason` (Geist's disabled wall) is the reason, written as the footer's line, not in a tooltip; it keeps the fields in view, inert with muted text, under a not-allowed cursor, the title and line unchanged; `unlock` is the way to get access, left out when nothing the person does unlocks it. A locked section has no `save` and no header `actions`.
97
+ * @behaviour "Groups related form controls inside a bordered card with optional footer actions." (https://vercel.com/geist/fieldset) Ours: one setting per card, a single SettingsField with the description its only help, unless the card's description covers several settings: then they are its SettingsRows, switches and selects together. A typed value (a name, a URL, a server, a port, a key) gets its own card. A semantic subgroup of related controls inside a field, such as radios or checkboxes, is a `FieldSet` with a `FieldLegend`. Several settings in one card are declared by SettingsRows, never by classes at the call site. The card's header and fields share one uninterrupted body, and only its footer has a divider. "Use Toggle for a single boolean setting where ON takes effect immediately, like `Password Protection` or `Auto-Cancel Builds`." (https://vercel.com/geist/toggle) "Pair with a form footer only when the setting needs an explicit `Save` step." (https://vercel.com/geist/toggle) "Disable Toggle only when the action is impossible (missing plan, locked policy); pair with helper text or a `Tooltip` that names the resolver." (https://vercel.com/geist/toggle) Ours: a switch never applies on change; it is a row of the card, a draft until the footer's Save, as Vercel's settings cards are. A switch blocked from above is shown off and disabled, the footer saying why and never a tooltip. Required: the title and the description. A `status` stands right after the title, as Vercel's plan card puts "Active" after "Pro Plan". The header's `actions` are drawn as every card draws them (`CardActions`: the muted meta, up to two secondaries as outline buttons, the primary as the filled one, the three dots), a way to another page among them as an outline button named for it; a card whose value is itself shown there, as Vercel's Team Avatar, takes `control` instead. They stand at the title's right; on a card narrower than 28 rem they keep the title's row and the description runs under both, as Vercel's cards read on a phone, and when the title's longest word would not fit beside them they move under the title, so they never cover it. The footer's left line (`footerHint`, `save.hint`) is optional and specific to the card, never a generic line repeated on every card: a limit, what a value is for, a plan it needs, a link; absent, it is nothing, and a card with neither a line nor a button has no footer. Ours: `save`: a typed value, one card with its own Save in the footer, always visible. The section owns the changed state: Save stays disabled until a field differs from what is saved and says `pendingLabel` while saving with Cancel beside it; a completed save calls `saved`, and the product raises one toast from its catalogue ("Completion toasts follow `{Noun} {past-participle}`: `Blob deleted`, `Domain added`, `Environment variable saved`. Never include `successfully`; the action name implies it." https://vercel.com/geist/toast), and Save returns to disabled, with no saved state in the footer. Ours: the section never raises a toast itself. A failed save keeps every value and shows under its field, or above the footer when no field owns it. `tone` marks a state with a command (a failed payment, a trial ending): a 1px border and a footer tinted in the hue with its line in it, the line saying the condition in words; title, line, fields and buttons stay neutral, an outline secondary then a default primary. A button takes the hue of its command, not of the card: `destructive` (red) for a permanent loss (Delete), `warning` (amber) for a disruptive command that can be undone (Pause, Archive). A delete card is `tone="error"` with the object's summary as its body; an archive card is neutral with a `warning` button in the footer. "Use a Note for inline contextual feedback next to the field, card, or section it describes: a region change warning above a region picker, a rate-limit notice next to a usage gauge." (https://vercel.com/geist/note) "One Note per concept." (https://vercel.com/geist/note) Ours: a message about the fields inside is a MessageNotice in the body, the card staying neutral. "Disabled checkboxes still need a Tooltip naming the reason; a greyed box with no explanation reads as a bug." (https://vercel.com/geist/checkbox) Ours: `lockedReason` (Geist's disabled wall) is the reason, written as the footer's line, not in a tooltip; it keeps the fields in view, inert with muted text, under a not-allowed cursor, the title and line unchanged; `unlock` is the way to get access, left out when nothing the person does unlocks it. A locked section has no `save` and no header `actions`. While its page reads it, `SettingsSectionSkeleton` stands in its place: the same card, a bar for the title and one for the description at their line heights, the caller's placeholders of its controls at the controls' heights, a placeholder in the shape of its `control`, and its footer with the line and the Save when the section has them, so the page does not move when the section arrives; it carries no words, so a page drawn before the reader is known shows nothing of theirs (nadicode decision).
98
98
  * @words "Helper text is sentence case, one sentence with a trailing period, on a sibling element wired through `aria-describedby`." (https://vercel.com/geist/input) Ours: the description is that helper text for the whole card, and no field has its own. "Render an optional one-sentence description as a sibling under the label that explains ON only. Don’t describe OFF; it’s the negation." (https://vercel.com/geist/toggle) Ours: a card of one switch says in its description what turning it on does. The title names the values ("Personal details"); the description says what changing them does, in one line; the footer line is a Learn more link, a limit ("Use 32 characters at most."), what stays unaffected, or what is blocked and why ("Ask an owner to change this."); Save and Saving come from the product's catalogue, and so does the toast a `saved` callback raises; a delete card's description opens "Permanently delete".
99
- * @access "Provide an accessible name through `children`, `aria-label`, or `aria-labelledby`." (https://vercel.com/geist/toggle) Ours: the title is the section's h2, or an h3 with `headingLevel` inside an ObjectPage's row, and names the form that saves it. The footer's line is one status, announced politely; a failure under a field marks the control invalid and describes it. Locked fields are inert, so the section's title, description and reason are what a screen reader meets.
99
+ * @access "Provide an accessible name through `children`, `aria-label`, or `aria-labelledby`." (https://vercel.com/geist/toggle) Ours: the title is the section's h2, or an h3 with `headingLevel` inside an ObjectPage's row, and names the form that saves it. The footer's line is one status, announced politely; a failure under a field marks the control invalid and describes it. Locked fields are inert, so the section's title, description and reason are what a screen reader meets. `SettingsSectionSkeleton` is busy and its bars are hidden from assistive technology.
100
100
  */
101
101
  declare function SettingsSection({ title, headingLevel, description, status, actions, control, tone, children, className, save, footer, footerHint, lockedReason, unlock, ...props }: SettingsSectionProps): React.JSX.Element;
102
+ /**
103
+ * What stands in a SettingsSection's place while its page reads it: its card, a bar for the title
104
+ * and one for the description, the placeholders of its controls, and its footer when it has one.
105
+ */
106
+ declare function SettingsSectionSkeleton({ children, control, footerHint, save, }: {
107
+ /** Placeholders of the card's controls, each as tall as the control it stands for: `h-control-height` for a field. */
108
+ children?: React.ReactNode;
109
+ /** The placeholder of the header's own value, in the shape of the section's `control`: an avatar's circle. */
110
+ control?: React.ReactElement;
111
+ /** The section has a footer line. */
112
+ footerHint?: boolean;
113
+ /** The section saves: its footer holds the Save button. */
114
+ save?: boolean;
115
+ }): React.JSX.Element;
102
116
  type SettingsFieldBase = Omit<React.ComponentProps<typeof Field>, "children" | "orientation"> & {
103
117
  id: string;
104
118
  label: NonNullable<React.ReactNode>;
@@ -206,5 +220,5 @@ type SettingsRowsProps = {
206
220
  * @access Each row's control is named by the row's label and described by its info and its error. The info button has its own name and opens on focus.
207
221
  */
208
222
  declare function SettingsRows({ rows, stateLabels }: SettingsRowsProps): React.JSX.Element;
209
- export { SettingsField, SettingsRows, SettingsSection };
223
+ export { SettingsField, SettingsRows, SettingsSection, SettingsSectionSkeleton };
210
224
  //# sourceMappingURL=settings-section.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings-section.d.ts","sourceRoot":"","sources":["../../src/components/settings-section.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EACL,KAAK,YAAY,EAGlB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EAAE,KAAK,EAAoD,MAAM,oBAAoB,CAAC;AAE7F,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,gBAAgB,CAAC;AAIlE,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAElF,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,SAAS,CAAC;AAEtD,KAAK,YAAY,GAAG;IAClB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,mBAAmB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,GAAG;IACvF,mGAAmG;IACnG,WAAW,EAAE,MAAM,CAAC;IACpB,+GAA+G;IAC/G,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;CACtB,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