@nadicodeai/ui 12.1.223 → 12.1.225

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 (191) hide show
  1. package/AGENTS.md +4 -1
  2. package/dist/components/action-menu.d.ts +4 -4
  3. package/dist/components/action-menu.d.ts.map +1 -1
  4. package/dist/components/action-menu.js +2 -2
  5. package/dist/components/agent-card.d.ts +1 -1
  6. package/dist/components/agent-card.js +1 -1
  7. package/dist/components/agent-profile.d.ts +4 -4
  8. package/dist/components/agent-profile.js +1 -1
  9. package/dist/components/badge.d.ts +2 -1
  10. package/dist/components/badge.d.ts.map +1 -1
  11. package/dist/components/badge.js +2 -1
  12. package/dist/components/brand.d.ts +1 -1
  13. package/dist/components/brand.d.ts.map +1 -1
  14. package/dist/components/brand.js +21 -2
  15. package/dist/components/card.d.ts +1 -1
  16. package/dist/components/card.js +1 -1
  17. package/dist/components/catalog-card.d.ts +1 -2
  18. package/dist/components/catalog-card.d.ts.map +1 -1
  19. package/dist/components/catalog-card.js +1 -2
  20. package/dist/components/chart-card.d.ts +2 -2
  21. package/dist/components/chart-card.d.ts.map +1 -1
  22. package/dist/components/chart-card.js +1 -1
  23. package/dist/components/check-counts.d.ts +3 -5
  24. package/dist/components/check-counts.d.ts.map +1 -1
  25. package/dist/components/check-counts.js +5 -7
  26. package/dist/components/collection-page.d.ts +6 -7
  27. package/dist/components/collection-page.d.ts.map +1 -1
  28. package/dist/components/collection-page.js +3 -3
  29. package/dist/components/data-table.d.ts +13 -21
  30. package/dist/components/data-table.d.ts.map +1 -1
  31. package/dist/components/data-table.js +57 -192
  32. package/dist/components/drawer-steps.d.ts +1 -1
  33. package/dist/components/drawer-steps.js +1 -1
  34. package/dist/components/dropdown-menu.d.ts +5 -4
  35. package/dist/components/dropdown-menu.d.ts.map +1 -1
  36. package/dist/components/dropdown-menu.js +7 -6
  37. package/dist/components/empty-state.d.ts +4 -1
  38. package/dist/components/empty-state.d.ts.map +1 -1
  39. package/dist/components/empty-state.js +5 -4
  40. package/dist/components/figure-row.d.ts +58 -0
  41. package/dist/components/figure-row.d.ts.map +1 -0
  42. package/dist/components/figure-row.js +41 -0
  43. package/dist/components/form-dialog.d.ts +1 -1
  44. package/dist/components/form-dialog.js +1 -1
  45. package/dist/components/form-drawer.d.ts +2 -2
  46. package/dist/components/form-drawer.js +2 -2
  47. package/dist/components/gauge.d.ts +2 -0
  48. package/dist/components/gauge.d.ts.map +1 -1
  49. package/dist/components/gauge.js +2 -0
  50. package/dist/components/icon-tile.d.ts +27 -0
  51. package/dist/components/icon-tile.d.ts.map +1 -0
  52. package/dist/components/icon-tile.js +18 -0
  53. package/dist/components/identity-mark.d.ts +3 -2
  54. package/dist/components/identity-mark.d.ts.map +1 -1
  55. package/dist/components/identity-mark.js +3 -10
  56. package/dist/components/kpi-card.d.ts +23 -6
  57. package/dist/components/kpi-card.d.ts.map +1 -1
  58. package/dist/components/kpi-card.js +11 -7
  59. package/dist/components/library-shelf.d.ts +1 -1
  60. package/dist/components/library-shelf.js +1 -1
  61. package/dist/components/menu-choice-row.d.ts +1 -2
  62. package/dist/components/menu-choice-row.d.ts.map +1 -1
  63. package/dist/components/menu-choice-row.js +1 -2
  64. package/dist/components/notice-banner.d.ts +1 -1
  65. package/dist/components/notice-banner.js +1 -1
  66. package/dist/components/numbered-steps.d.ts +1 -1
  67. package/dist/components/numbered-steps.js +1 -1
  68. package/dist/components/object-page.d.ts +25 -9
  69. package/dist/components/object-page.d.ts.map +1 -1
  70. package/dist/components/object-page.js +13 -9
  71. package/dist/components/object-workspace.d.ts +2 -2
  72. package/dist/components/object-workspace.js +2 -2
  73. package/dist/components/overview-page.d.ts +6 -1
  74. package/dist/components/overview-page.d.ts.map +1 -1
  75. package/dist/components/page-actions.d.ts +16 -15
  76. package/dist/components/page-actions.d.ts.map +1 -1
  77. package/dist/components/page-actions.js +9 -7
  78. package/dist/components/page-frame.d.ts +1 -1
  79. package/dist/components/page-frame.js +1 -1
  80. package/dist/components/page-header.d.ts +12 -9
  81. package/dist/components/page-header.d.ts.map +1 -1
  82. package/dist/components/page-header.js +11 -8
  83. package/dist/components/product-shell.d.ts +10 -13
  84. package/dist/components/product-shell.d.ts.map +1 -1
  85. package/dist/components/product-shell.js +9 -12
  86. package/dist/components/progress-checklist.d.ts +4 -4
  87. package/dist/components/progress-checklist.d.ts.map +1 -1
  88. package/dist/components/progress-checklist.js +4 -14
  89. package/dist/components/progress.d.ts +3 -1
  90. package/dist/components/progress.d.ts.map +1 -1
  91. package/dist/components/progress.js +3 -1
  92. package/dist/components/reading-column.d.ts +2 -2
  93. package/dist/components/reading-column.js +2 -2
  94. package/dist/components/record-commands.d.ts +15 -7
  95. package/dist/components/record-commands.d.ts.map +1 -1
  96. package/dist/components/record-commands.js +26 -19
  97. package/dist/components/record-identity.d.ts +4 -2
  98. package/dist/components/record-identity.d.ts.map +1 -1
  99. package/dist/components/record-identity.js +3 -4
  100. package/dist/components/record-list.d.ts +25 -27
  101. package/dist/components/record-list.d.ts.map +1 -1
  102. package/dist/components/record-list.js +31 -79
  103. package/dist/components/record-sheet.d.ts +1 -1
  104. package/dist/components/record-sheet.js +1 -1
  105. package/dist/components/row-edit-form.d.ts +1 -1
  106. package/dist/components/row-edit-form.js +1 -1
  107. package/dist/components/settings-facts.d.ts +5 -6
  108. package/dist/components/settings-facts.d.ts.map +1 -1
  109. package/dist/components/settings-facts.js +3 -4
  110. package/dist/components/settings-page.d.ts +2 -2
  111. package/dist/components/settings-page.js +2 -2
  112. package/dist/components/settings-section.d.ts +10 -5
  113. package/dist/components/settings-section.d.ts.map +1 -1
  114. package/dist/components/settings-section.js +8 -4
  115. package/dist/components/sheet.d.ts +1 -1
  116. package/dist/components/sheet.js +1 -1
  117. package/dist/components/sidebar-sections.d.ts +4 -4
  118. package/dist/components/sidebar-sections.d.ts.map +1 -1
  119. package/dist/components/sidebar-sections.js +3 -3
  120. package/dist/components/sidebar.d.ts +1 -1
  121. package/dist/components/sidebar.js +1 -1
  122. package/dist/components/status-badge.d.ts +15 -12
  123. package/dist/components/status-badge.d.ts.map +1 -1
  124. package/dist/components/status-badge.js +15 -12
  125. package/dist/components/step-cards.d.ts +1 -2
  126. package/dist/components/step-cards.d.ts.map +1 -1
  127. package/dist/components/step-cards.js +1 -2
  128. package/dist/components/switch.d.ts +4 -2
  129. package/dist/components/switch.d.ts.map +1 -1
  130. package/dist/components/switch.js +9 -3
  131. package/dist/components/table-card.d.ts +2 -3
  132. package/dist/components/table-card.d.ts.map +1 -1
  133. package/dist/components/table-card.js +2 -3
  134. package/dist/components/table.d.ts +6 -24
  135. package/dist/components/table.d.ts.map +1 -1
  136. package/dist/components/table.js +11 -23
  137. package/dist/components/tabs-nav.d.ts +2 -2
  138. package/dist/components/tabs-nav.js +2 -2
  139. package/dist/components/text-link.d.ts +5 -5
  140. package/dist/components/text-link.js +5 -5
  141. package/dist/index.d.ts +2 -0
  142. package/dist/index.d.ts.map +1 -1
  143. package/dist/index.js +2 -0
  144. package/dist/internal/badge-frame.d.ts +1 -1
  145. package/dist/internal/badge-frame.d.ts.map +1 -1
  146. package/dist/internal/badge-frame.js +1 -0
  147. package/dist/internal/catalog-list.d.ts.map +1 -1
  148. package/dist/internal/catalog-list.js +1 -1
  149. package/dist/internal/collection-rail.d.ts +2 -2
  150. package/dist/internal/collection-rail.d.ts.map +1 -1
  151. package/dist/internal/empty.d.ts +1 -1
  152. package/dist/internal/empty.d.ts.map +1 -1
  153. package/dist/internal/empty.js +1 -2
  154. package/dist/internal/fieldset-disabled.d.ts +6 -0
  155. package/dist/internal/fieldset-disabled.d.ts.map +1 -0
  156. package/dist/internal/fieldset-disabled.js +7 -0
  157. package/dist/internal/final-focus.d.ts +2 -2
  158. package/dist/internal/final-focus.js +2 -2
  159. package/dist/internal/icon-tile-frame.d.ts +16 -0
  160. package/dist/internal/icon-tile-frame.d.ts.map +1 -0
  161. package/dist/internal/icon-tile-frame.js +21 -0
  162. package/dist/internal/record-grid.d.ts +58 -0
  163. package/dist/internal/record-grid.d.ts.map +1 -0
  164. package/dist/internal/record-grid.js +79 -0
  165. package/dist/internal/settings-save.d.ts.map +1 -1
  166. package/dist/internal/settings-save.js +2 -1
  167. package/dist/showcase/specimens/actions.d.ts.map +1 -1
  168. package/dist/showcase/specimens/actions.js +1 -1
  169. package/dist/showcase/specimens/charts.d.ts.map +1 -1
  170. package/dist/showcase/specimens/charts.js +1 -1
  171. package/dist/showcase/specimens/compositions.d.ts.map +1 -1
  172. package/dist/showcase/specimens/compositions.js +3 -3
  173. package/dist/showcase/specimens/data.d.ts +1 -0
  174. package/dist/showcase/specimens/data.d.ts.map +1 -1
  175. package/dist/showcase/specimens/data.js +7 -4
  176. package/dist/showcase/specimens/index.d.ts +2 -0
  177. package/dist/showcase/specimens/index.d.ts.map +1 -1
  178. package/dist/showcase/specimens/status.d.ts +1 -0
  179. package/dist/showcase/specimens/status.d.ts.map +1 -1
  180. package/dist/showcase/specimens/status.js +4 -2
  181. package/dist/showcase/usage.generated.d.ts +1 -1
  182. package/dist/showcase/usage.generated.d.ts.map +1 -1
  183. package/dist/showcase/usage.generated.js +100 -78
  184. package/dist/standalone/index.js +1 -1
  185. package/package.json +2 -2
  186. package/dist/components/table-layouts.d.ts +0 -110
  187. package/dist/components/table-layouts.d.ts.map +0 -1
  188. package/dist/components/table-layouts.js +0 -125
  189. package/dist/internal/table-compact-line.d.ts +0 -57
  190. package/dist/internal/table-compact-line.d.ts.map +0 -1
  191. package/dist/internal/table-compact-line.js +0 -119
@@ -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,EAEL,KAAK,YAAY,EACjB,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAKf,OAAO,EAEL,KAAK,qBAAqB,EAE3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAc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F,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;AAyNZ;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,IAAQ,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,+BAUjE;AA2JD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,UAAU,CAAC,OAAO,SAAS,OAAO,EAAE,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,sCA4FlF"}
@@ -1,12 +1,13 @@
1
1
  "use client";
2
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { cn } from "../lib/utils.js";
3
4
  import { createContext, useContext, useId, useState, } from "react";
4
5
  import { ActionMenu } from "./action-menu.js";
5
6
  import { Button } from "./button.js";
6
7
  import { Checkbox } from "./checkbox.js";
7
8
  import { EntityTable, } from "./data-table.js";
8
9
  import { EmptyState } from "./empty-state.js";
9
- import { PageCommandButton } from "./page-actions.js";
10
+ import { CardActionsRow, PageCommandButton, } from "./page-actions.js";
10
11
  import { ProgressChecklist } from "./progress-checklist.js";
11
12
  import { RowCommandButtons, rowCommandShape } from "./record-commands.js";
12
13
  import { RecordIdentity } from "./record-identity.js";
@@ -17,19 +18,6 @@ import { TableCard } from "./table-card.js";
17
18
  import { TableValue } from "./table-value.js";
18
19
  import { useCommandRunner } from "../internal/command-runner.js";
19
20
  import { RowMessageActions, RowMessageLine } from "../internal/row-message.js";
20
- import { CompactOnly, WideOnly } from "../internal/table-compact-line.js";
21
- const CELL_START = 8;
22
- const CELL_END_AT_CARD_EDGE = 20;
23
- const COMMANDS_GAP = 8;
24
- const TOUCH_TARGET = 44;
25
- const DOTS_ALONE_SIZE = CELL_END_AT_CARD_EDGE + TOUCH_TARGET;
26
- const BUTTON_EDGE = 1;
27
- const BUTTON_PADDING = { sm: 6, default: 10 };
28
- const BUTTON_LABEL_INSET = 6;
29
- const BUTTON_ICON_SLOT = 20;
30
- const BUTTON_ICON_GAP = 3;
31
- const EXTERNAL_ARROW = 14;
32
- const WIDEST_LABEL_CHARACTER = 8;
33
21
  function shownCommands(list, record) {
34
22
  const name = list.name(record).name;
35
23
  const { buttons, menu } = rowCommandShape(`RecordList "${name}"`, list.commands?.(record) ?? []);
@@ -38,40 +26,10 @@ function shownCommands(list, record) {
38
26
  const opens = Boolean(list.open?.href(record)) && !state;
39
27
  return { buttons, state, dots, opens };
40
28
  }
41
- function buttonRoom(command, size) {
42
- const longerLabel = Math.max(command.label.length, command.pendingLabel?.length ?? 0);
43
- return (2 * (BUTTON_EDGE + BUTTON_PADDING[size] + BUTTON_LABEL_INSET) +
44
- (command.icon ? BUTTON_ICON_SLOT + BUTTON_ICON_GAP : 0) +
45
- (command.external ? BUTTON_ICON_GAP + EXTERNAL_ARROW + BUTTON_ICON_GAP : 0) +
46
- longerLabel * WIDEST_LABEL_CHARACTER);
47
- }
48
- function commandsRoom(list, record) {
49
- const { buttons, state, dots } = shownCommands(list, record);
50
- const widths = [
51
- ...buttons.map((command) => buttonRoom({ ...command, icon: undefined }, "sm")),
52
- ...(state?.message.actions ?? []).map((action) => buttonRoom(action, "default")),
53
- ];
54
- if (widths.length === 0)
55
- return Math.max(DOTS_ALONE_SIZE, list.commandsSize ?? 0);
56
- if (dots)
57
- widths.push(TOUCH_TARGET);
58
- const room = CELL_START +
59
- widths.reduce((sum, width) => sum + width, 0) +
60
- COMMANDS_GAP * (widths.length - 1) +
61
- CELL_END_AT_CARD_EDGE;
62
- return Math.max(room, list.commandsSize ?? 0);
63
- }
64
- function commandsColumnSize(props) {
65
- return props.records.reduce((widest, record) => Math.max(widest, commandsRoom(props, record)), DOTS_ALONE_SIZE);
66
- }
67
- /** The checklist's ring: one 36 px button and the cell's padding. */
68
- const CHECKLIST_SIZE = 52;
69
- const SELECT_SIZE = 40;
70
29
  const ShownList = createContext(undefined);
71
30
  /**
72
- * The list's one runner for its rows' buttons: a row draws its buttons in its commands column
73
- * when wide and under its name when compact, and a layout change swaps one for the other while a
74
- * confirmation may be open and running, so the runner and its confirmation stand above both.
31
+ * The list's one runner for its rows' buttons, so a confirmation a row's button opens stands above
32
+ * the rows and stays open and running while the records are read again.
75
33
  */
76
34
  const RowCommandsArm = createContext(null);
77
35
  function useRowCommandsArm() {
@@ -95,17 +53,7 @@ function NameCell({ row }) {
95
53
  const list = useShownList();
96
54
  const shown = list.name(row.original);
97
55
  const state = list.state?.(row.original);
98
- return (_jsx(RecordIdentity, { detail: state ? (_jsx("span", { className: "block wrap-break-word whitespace-normal", children: _jsx(RowMessageLine, { state: state }) })) : (shown.detail), mark: shown.mark, name: shown.name, wraps: list.wraps }));
99
- }
100
- function UnderName({ record }) {
101
- const list = useShownList();
102
- const state = list.state?.(record);
103
- const nextSteps = state?.message.actions.length ? state : null;
104
- const arm = useRowCommandsArm();
105
- const { buttons } = shownCommands(list, record);
106
- if (!nextSteps && buttons.length === 0)
107
- return null;
108
- return (_jsx(CompactOnly, { children: _jsxs("span", { className: "flex flex-wrap gap-2 pt-2 pl-12 whitespace-normal", "data-slot": "record-under-name", children: [nextSteps ? _jsx(RowMessageActions, { state: nextSteps }) : null, _jsx(RowCommandButtons, { arm: arm, commands: buttons })] }) }));
56
+ return (_jsx(RecordIdentity, { detail: state ? (_jsx("span", { className: "block wrap-break-word whitespace-normal", children: _jsx(RowMessageLine, { state: state }) })) : (shown.detail), badge: shown.badge ? _jsx(StatusBadge, { label: shown.badge.label, tone: shown.badge.tone }) : undefined, mark: shown.mark, name: shown.name, wraps: list.wraps }));
109
57
  }
110
58
  function SelectCell({ row }) {
111
59
  const select = useShownList().select;
@@ -150,7 +98,8 @@ function SummaryCell({ row }) {
150
98
  }
151
99
  function StatusCell({ row }) {
152
100
  const shown = useShownList().status?.of(row.original);
153
- return shown ? _jsx(StatusBadge, { label: shown.label, tone: shown.tone }) : null;
101
+ // A flex box, so the 16 px badge stands in the middle of the row rather than on the text's baseline.
102
+ return shown ? (_jsx("div", { className: "flex", children: _jsx(StatusBadge, { label: shown.label, tone: shown.tone }) })) : null;
154
103
  }
155
104
  function TimeCell({ row }) {
156
105
  const time = useShownList().time;
@@ -172,7 +121,7 @@ function CommandsCell({ row }) {
172
121
  const menu = dots ? (_jsx(ActionMenu, { commands: dots.commands, label: dots.label, record: list.name(record).name, size: "row" })) : null;
173
122
  if (buttons.length === 0 && !state && !menu)
174
123
  return null;
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] }));
124
+ return (_jsxs("div", { className: "flex items-center justify-end gap-2", 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] }));
176
125
  }
177
126
  function LoadingRows({ rows }) {
178
127
  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 flex-1 grid-cols-[minmax(0,1fr)] 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: "shrink-0", height: 16, width: 92 })] }, index)));
@@ -201,14 +150,15 @@ function recordColumns(props) {
201
150
  if (props.select) {
202
151
  columns.push({
203
152
  id: "select",
204
- header: props.select.header,
205
- size: SELECT_SIZE,
153
+ header: { hidden: props.select.header },
154
+ meta: { firstLine: true },
206
155
  cell: SelectCell,
207
156
  });
208
157
  }
209
158
  columns.push({
210
159
  id: "name",
211
- header: props.label,
160
+ // A list under its own heading is named by it; a second "Needs attention" over the names says nothing.
161
+ header: props.heading ? { hidden: props.label } : props.label,
212
162
  meta: props.wraps ? { wraps: true } : undefined,
213
163
  cell: NameCell,
214
164
  });
@@ -243,7 +193,7 @@ function recordColumns(props) {
243
193
  header: status.label,
244
194
  accessorFn: status.of,
245
195
  size: status.size,
246
- meta: { optional: true, compact: "name" },
196
+ meta: { optional: true },
247
197
  cell: StatusCell,
248
198
  });
249
199
  }
@@ -259,20 +209,23 @@ function recordColumns(props) {
259
209
  if (props.checklist) {
260
210
  columns.push({
261
211
  id: "checklist",
262
- header: props.checklist.label,
263
- size: CHECKLIST_SIZE,
212
+ header: { hidden: props.checklist.label },
213
+ meta: { firstLine: true },
264
214
  cell: ChecklistCell,
265
215
  });
266
216
  }
267
217
  const { commands, state } = props;
268
218
  const someRecordHasCommands = props.records.some((record) => (commands?.(record).length ?? 0) > 0 || Boolean(state?.(record)));
269
219
  if (props.open || someRecordHasCommands) {
270
- columns.push({
220
+ const commandsColumn = {
271
221
  id: "commands",
272
- header: props.commandsHeader ?? "",
273
- size: commandsColumnSize(props),
222
+ header: { hidden: props.commandsHeader ?? "" },
223
+ meta: { firstLine: true },
274
224
  cell: CommandsCell,
275
- });
225
+ };
226
+ if (props.commandsSize !== undefined)
227
+ commandsColumn.size = props.commandsSize;
228
+ columns.push(commandsColumn);
276
229
  }
277
230
  return columns;
278
231
  }
@@ -293,9 +246,7 @@ function RecordRows(props) {
293
246
  empty: { kind: "nothingYet", message: props.label },
294
247
  getRowId: props.getId,
295
248
  primaryColumnId: "name",
296
- primaryColumns: ["select", "name", "checklist", "commands"],
297
249
  rowEditor: props.editor ? { rowId: props.editor.id, render: props.editor.render } : undefined,
298
- rowUnderName: (record) => _jsx(UnderName, { record: record }),
299
250
  tableLabel: props.label,
300
251
  };
301
252
  return props.open ? (_jsx(EntityTable, { ...table, renderRowLink: props.open.renderLink, rowHref: props.open.href, rowLabel: props.open.label })) : (_jsx(EntityTable, { ...table }));
@@ -303,20 +254,20 @@ function RecordRows(props) {
303
254
  /**
304
255
  * Entity rows: objects a person opens or acts on, one line each on one resting card: the
305
256
  * identity mark and name over what it is, then its attributes as data, one per column: a few
306
- * facts, a status only for the exception, when it happened, at most two row commands, and the
307
- * three dots last.
257
+ * facts, its state, when it happened, the one command the row is waiting on, and the three dots
258
+ * last.
308
259
  *
309
260
  * @family Compositions
310
261
  * @when “Use `<Entity>` for a row of descriptive content paired with one or two controls (member rows, integration rows, domain rows).” (https://vercel.com/geist/entity)
311
262
  * Ours: the records are things a person opens or acts on and that name themselves: projects, deployments, domains, members, integrations, Agents, Skills, mailboxes. A list inside another page: an Overview's exceptions, an object page's "Needs attention". A page whose whole job is the list is a `CollectionPage`, which draws this. Values edited in place (a domain, an environment variable) are the same rows with an `editor`: the row expands into its form. Of the three kinds of list, entity rows and rows edited in place are this; records compared across columns are a `DataTable` (nadicode decision).
312
263
  * @instead “For tabular data with sortable columns and shared row shape, use `Table` instead.” (https://vercel.com/geist/entity)
313
264
  * “For a static key/value metadata block on a detail page, use `Description`.” (https://vercel.com/geist/entity)
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).
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.
265
+ * Ours: Geist's `Table` is a `DataTable`, for lines of figures a person reads and compares: usage, statements, invoices. This list holds at most three facts, and anything more 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).
266
+ * @behaviour One bordered card, a 1 px rule between records and none after the last. From 48rem of card the records stand in aligned columns with no heading row, since every value on a row says what it is by its words or its mark, and on a narrower card each record is a card of its own: its first line holds the mark and the name with the controls beside them (the `select` box before, the `checklist` ring and the commands after), and its facts, state and time wrap under it, each whole, a fact the record lacks left out. The columns stand left to right: the `select` box, the identity (the rest of the row, never less than 10rem), the facts (each its `size`), the status (`status.size`), the time (`time.size`, tabular), the `checklist` ring and the commands; the browser lays them out, the sized ones at their `size` while the row has room and narrower, each value ending in an ellipsis, when it has not, and the ring and the commands as wide as their widest row, never narrower than a `commandsSize` the caller gives. A row is 72 px. A `checklist` puts the record's `ProgressChecklist` ring just before its commands; 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. With `layout="line"`, the facts and the status share one muted line, joined by a middle dot, in one column. `facts` takes at most three. The product gives each record's `commands`, everything it can do now, and the list draws them: every command in the three dots, the record's name heading them and a destructive one last, after a divider, in the error colour; the one marked `main`, which the row is waiting on (a request to approve, a connection to finish), stands as a 32 px outline button before the three dots (owner, 2026-11-08). A command a record cannot run now stays, disabled, with a lock at its end and its reason read by a screen reader, never a line of text (owner, 2026-11-09); only permission leaves one out (nadicode decision). More than ten commands for a record, or two marked `main`, throws in development and tests (nadicode decision). Every column of the records' attributes stands on every row, so the values line up: a record with no value for a fact draws `TableValue`'s muted dash, with the fact's `missing` read in its place; the record's state stands on every row too, *Ready* included (owner, 2026-11-08); the commands column, which holds no attribute, stands only while a record has a command, a menu or a message, or the rows open. 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. With `open` the whole row is one target and takes the `accent` hover, with no chevron; 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`, drawn above the box and never inside it: its title, the one sentence under it, and at the title row's trailing edge its `actions`, such as its Add command and a muted count; the box holds the rows alone (owner, 2026-11-09). The heading's actions act on the list as a whole, adding a record; a command on one record is that record's, in its own row, never in the heading's menu (owner, 2026-11-09). 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. 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"); 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, a `Tag` and a failed action's message.
316
267
  * “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)
317
268
  * Ours: `failed`, `noMatch` and `empty` are those variants, drawn inside the card (nadicode decision).
318
269
  * “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)
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).
270
+ * Ours: the right column holds the three dots and, before them, at most the one button the row is waiting on, as the commands rule above draws them (owner, 2026-11-08).
320
271
  * “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)
321
272
  * 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).
322
273
  * @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)
@@ -325,7 +276,7 @@ function RecordRows(props) {
325
276
  * Ours: a command reads the same on every row that has it, sentence case ("Cancel invite"), and the record's own name goes in its `accessibleName`, never in the label (nadicode decision).
326
277
  * “Column headers (`<Table.Head>`) are Title Case nouns or noun phrases: `Last Used`, `Requests (7d)`, `Created`, `Status`. Never sentences.” (https://vercel.com/geist/table)
327
278
  * “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)
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).
279
+ * 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, and says what it is with no heading over it: a kind ("Customer"), a count with its unit ("3 keys"), a time in its sentence ("Updated 3h ago"), or a name after the mark of its kind (`icon`, or a `Tag`'s `mark`). 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 name their columns for assistive technology ("Partner", "State", "Asked"). A condition of the record that waits on someone, outside its state, is the `badge` beside its name. 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 record's state in `StatusBadge`'s words, never the state a row's own command already says: a row that ends in "Resend link" carries no "Link sent". The footer holds the paging, never how many records the list holds or a help sentence: the rows end at the last record, and guidance a step needs lives in that step (owner, 2026-11-09).
329
280
  * @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)
330
281
  * 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.
331
282
  * “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)
@@ -362,5 +313,6 @@ export function RecordList(props) {
362
313
  else {
363
314
  body = _jsx(RecordRows, { ...props, records: records });
364
315
  }
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] }));
316
+ const list = (_jsx(TableCard, { 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, children: _jsx(ShownList.Provider, { value: props, children: _jsx(RowCommandsArm.Provider, { value: arm, children: _jsx(SkeletonRegion, { busy: loading, children: body }) }) }) }));
317
+ return (_jsxs(_Fragment, { children: [heading ? (_jsxs("section", { className: "grid min-w-0 gap-3", "data-slot": "record-list-section", children: [_jsxs("div", { className: "flex min-w-0 flex-wrap items-start justify-between gap-x-4 gap-y-2", "data-slot": "record-list-heading", children: [_jsxs("div", { className: "grid min-w-0 flex-1 gap-1", children: [_jsxs("div", { className: cn("text-heading-sm", heading.status && "flex flex-wrap items-center gap-2"), children: [_jsx("h2", { children: heading.title }), heading.status] }), heading.description ? (_jsx("p", { className: "text-sm text-muted-foreground", children: heading.description })) : null] }), heading.actions ? _jsx(CardActionsRow, { ...heading.actions }) : null] }), list] })) : (list), dialog] }));
366
318
  }
@@ -43,7 +43,7 @@ export type RecordSheetProps<THeld extends RowData = never> = {
43
43
  * @family Compositions
44
44
  * @when A list's record holds more than its row shows and is only read, not changed: a Stripe event in Billing, a usage row. Or it holds a few records of its own that a person manages one by one, beside the list: an app's accounts in Nadia's Apps, each connected, renamed, reconnected or disconnected from its row in the sheet (`held`), and the Agents that use the app, each with its switch (`children`).
45
45
  * @instead A record changed from its list edits in its row with `RowEditForm`; a record with sections and commands of its own beyond the records it holds has its own page, an `ObjectPage`; a choice from a catalogue is a `CatalogDrawer`.
46
- * @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, as Vercel's Add Connection is about that wide, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button, then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own: it opens only on a record.
46
+ * @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button, then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own: it opens only on a record.
47
47
  * @words The title is the record's own name, as its row shows it. The footer's command names where it goes: "Open Beta Studio".
48
48
  * @access A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label.
49
49
  */
@@ -14,7 +14,7 @@ import { Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetT
14
14
  * @family Compositions
15
15
  * @when A list's record holds more than its row shows and is only read, not changed: a Stripe event in Billing, a usage row. Or it holds a few records of its own that a person manages one by one, beside the list: an app's accounts in Nadia's Apps, each connected, renamed, reconnected or disconnected from its row in the sheet (`held`), and the Agents that use the app, each with its switch (`children`).
16
16
  * @instead A record changed from its list edits in its row with `RowEditForm`; a record with sections and commands of its own beyond the records it holds has its own page, an `ObjectPage`; a choice from a catalogue is a `CatalogDrawer`.
17
- * @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, as Vercel's Add Connection is about that wide, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button, then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own: it opens only on a record.
17
+ * @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button, then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own: it opens only on a record.
18
18
  * @words The title is the record's own name, as its row shows it. The footer's command names where it goes: "Open Beta Studio".
19
19
  * @access A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label.
20
20
  */
@@ -17,7 +17,7 @@ export type RowEditFormProps = Omit<ComponentProps<typeof Form>, "children" | "c
17
17
  *
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
- * @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`.
20
+ * @instead A new record from a few fields is a `FormDialog`; an object's facts change in a `FormDialog` from its card's Edit; a choice from a catalogue is a `CatalogDrawer`.
21
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.
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`).
@@ -9,7 +9,7 @@ import { FormSubmitButton } from "../internal/form-submit.js";
9
9
  *
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
- * @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`.
12
+ * @instead A new record from a few fields is a `FormDialog`; an object's facts change in a `FormDialog` from its card's Edit; a choice from a catalogue is a `CatalogDrawer`.
13
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.
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,8 +16,8 @@ type SettingsFactsBase = Omit<ComponentPropsWithoutRef<"section">, "children" |
16
16
  /** The facts' commands at the header's trailing edge, drawn as every card draws them: "Edit". */
17
17
  actions?: CardActions;
18
18
  /**
19
- * The one action the card's state asks for, at the footer's right beside its line, as Vercel's settings cards keep
20
- * theirs: Update, Start, Review billing. Never a Save.
19
+ * The one action the card's state asks for, at the footer's right beside its line: Update, Start,
20
+ * Review billing. Never a Save.
21
21
  */
22
22
  action?: ReactNode;
23
23
  facts: readonly SettingsFact[];
@@ -73,14 +73,13 @@ export type SettingsFactsSectionProps = SettingsFactsBase & ({
73
73
  * compared across records are a table. A relation is its identity or a `Tag`, never its own card.
74
74
  * @behaviour "Use `<Description>` for definition-list metadata: a short Title Case key paired with a single value (`Last Deployed`, `Region`, `Plan`)." (https://vercel.com/geist/description)
75
75
  * Ours: required: the description and the footer's left line (`footerHint`), as on a
76
- * `SettingsSection`. Two places take a control, each for one job: `actions` at the header's end are the commands on the facts, the Edit that opens their editor, drawn as every card's header draws them (`CardActions`); `action` at the footer's right, beside its line, is the one action the card's state asks for, as a status card's fix (Update, Start) and every Vercel settings card's button stand there. Facts are plain pairs, the label above
76
+ * `SettingsSection`. Two places take a control, each for one job: `actions` at the header's end are the commands on the facts, the Edit that opens their editor, drawn as every card's header draws them (`CardActions`); `action` at the footer's right, beside its line, is the one action the card's state asks for, such as a status card's fix (Update, Start). Facts are plain pairs, the label above
77
77
  * its value, in two equal columns from 640 px (`sm`) and one column below it. Every label stays when its value is missing,
78
78
  * as *—*. A long value
79
79
  * spans both columns. No fact gets a box of its own. While the facts are read (`loading`) each label stands over a
80
80
  * placeholder line, never a dash, and a read that `failed` puts its message and Try again in their place, inside the
81
- * card. A `picture` stands beside the facts, as Vercel's deployment card keeps its screenshot, only where DESIGN.md
82
- * admits a picture on a populated page. In a side column, `presentation="summary"` drops the card, the description and
83
- * the footer line.
81
+ * card. A `picture` stands beside the facts only where DESIGN.md admits a picture on a populated page. In a side
82
+ * column, `presentation="summary"` drops the card, the description and the footer line.
84
83
  * @words "Title slot is Title Case noun (`Last Deployed`, `Build Duration`); content is sentence case unless the value is a literal identifier, ID, or timestamp that should be preserved verbatim." (https://vercel.com/geist/description)
85
84
  * Ours: labels are nouns in sentence case, no colon: *VAT number*. Identifiers in
86
85
  * mono with a copy button, dates in the person's locale. The footer line says what the facts are
@@ -1 +1 @@
1
- {"version":3,"file":"settings-facts.d.ts","sourceRoot":"","sources":["../../src/components/settings-facts.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAG7E,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAEhE,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,gBAAgB,CAAC;AAIlE,O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AAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd,CACJ,CAAC;AAEJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,MAAM,EACN,YAAqB,EACrB,WAAW,EACX,KAAK,EACL,UAAU,EACV,OAAO,EACP,OAAe,EACf,MAAM,EACN,iBAAiB,EACjB,SAAS,EACT,YAAgB,EAChB,KAAK,EACL,OAAmB,EACnB,IAAgB,EAChB,GAAG,KAAK,EACT,EAAE,yBAAyB,+BAsF3B"}
1
+ {"version":3,"file":"settings-facts.d.ts","sourceRoot":"","sources":["../../src/components/settings-facts.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAG7E,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAEhE,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,gBAAgB,CAAC;AAIlE,OAAO,EACL,IAAI,EAMJ,KAAK,WAAW,EACjB,MAAM,QAAQ,CAAC;AAEhB,MAAM,MAAM,YAAY,GAAG;IACzB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG,IAAI,CAAC,wBAAwB,CAAC,SAAS,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC,GAAG;IAC7F,iGAAiG;IACjG,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;OAGG;IAC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ACrB,WAAW,EACX,KAAK,EACL,UAAU,EACV,OAAO,EACP,OAAe,EACf,MAAM,EACN,iBAAiB,EACjB,SAAS,EACT,YAAgB,EAChB,KAAK,EACL,OAAmB,EACnB,IAAgB,EAChB,GAAG,KAAK,EACT,EAAE,yBAAyB,+BAsF3B"}
@@ -19,14 +19,13 @@ import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle,
19
19
  * compared across records are a table. A relation is its identity or a `Tag`, never its own card.
20
20
  * @behaviour "Use `<Description>` for definition-list metadata: a short Title Case key paired with a single value (`Last Deployed`, `Region`, `Plan`)." (https://vercel.com/geist/description)
21
21
  * Ours: required: the description and the footer's left line (`footerHint`), as on a
22
- * `SettingsSection`. Two places take a control, each for one job: `actions` at the header's end are the commands on the facts, the Edit that opens their editor, drawn as every card's header draws them (`CardActions`); `action` at the footer's right, beside its line, is the one action the card's state asks for, as a status card's fix (Update, Start) and every Vercel settings card's button stand there. Facts are plain pairs, the label above
22
+ * `SettingsSection`. Two places take a control, each for one job: `actions` at the header's end are the commands on the facts, the Edit that opens their editor, drawn as every card's header draws them (`CardActions`); `action` at the footer's right, beside its line, is the one action the card's state asks for, such as a status card's fix (Update, Start). Facts are plain pairs, the label above
23
23
  * its value, in two equal columns from 640 px (`sm`) and one column below it. Every label stays when its value is missing,
24
24
  * as *—*. A long value
25
25
  * spans both columns. No fact gets a box of its own. While the facts are read (`loading`) each label stands over a
26
26
  * placeholder line, never a dash, and a read that `failed` puts its message and Try again in their place, inside the
27
- * card. A `picture` stands beside the facts, as Vercel's deployment card keeps its screenshot, only where DESIGN.md
28
- * admits a picture on a populated page. In a side column, `presentation="summary"` drops the card, the description and
29
- * the footer line.
27
+ * card. A `picture` stands beside the facts only where DESIGN.md admits a picture on a populated page. In a side
28
+ * column, `presentation="summary"` drops the card, the description and the footer line.
30
29
  * @words "Title slot is Title Case noun (`Last Deployed`, `Build Duration`); content is sentence case unless the value is a literal identifier, ID, or timestamp that should be preserved verbatim." (https://vercel.com/geist/description)
31
30
  * Ours: labels are nouns in sentence case, no colon: *VAT number*. Identifiers in
32
31
  * mono with a copy button, dates in the person's locale. The footer line says what the facts are
@@ -10,9 +10,9 @@ export type SettingsPageProps = {
10
10
  * A page of settings: section cards across the page's width under its title, each saving its own values.
11
11
  *
12
12
  * @family Compositions
13
- * @when A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person, 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.
13
+ * @when A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person or to the platform (an object has no Settings tab: it changes from its card, as `ObjectPage` says), so the column keeps its width and its field layout from one entry of a settings menu to the next.
14
14
  * @instead One object's page with a settings card among its sections is an ObjectPage; "Place it once per app, in the footer or settings, not duplicated across pages." (https://vercel.com/geist/theme-switcher) Ours: Theme and Language stand in the account menu, and a product's preferences page may show them too; when they apply is `SettingsSection`'s rule.
15
- * @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.
15
+ * @behaviour One setting per card (the card's shapes are SettingsSection's: one field, a row of short parts of one value, rows of switches or of selects), the cards stacked 24 apart in the settings column (`ReadingColumn` `settings`, 960 px) under the page's title, which the product's chrome gives it (`ProductShell`'s, unseen, as the path names the page; `PageFrame`'s `title`, drawn with its description, where the host app draws the page area); the cards fill the column and stop there, with no heading between them; a field inside keeps its own bound. A page that mixes cards with other content, such as a table or a list of rules, is not a SettingsPage: its sections take a plain h2 above each card. The page draws no header and no save of its own: each SettingsSection saves from its footer. The danger zone closes the page, in rising severity: transfer, then pause, then delete; only delete is `tone="error"`, and only delete and pause take a button in a hue.
16
16
  * @words The sections' titles and lines; a card's title is never the page's h1.
17
17
  * @access Draws no heading of its own: the header the product's chrome or `PageFrame` draws is the page's h1.
18
18
  */
@@ -5,9 +5,9 @@ import { ReadingColumn } from "./reading-column.js";
5
5
  * A page of settings: section cards across the page's width under its title, each saving its own values.
6
6
  *
7
7
  * @family Compositions
8
- * @when A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person, 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.
8
+ * @when A place whose job is changing how something behaves: an account's profile, a company's identity, Nadia's notifications. Every page of settings is this composition, whether it belongs to the person or to the platform (an object has no Settings tab: it changes from its card, as `ObjectPage` says), so the column keeps its width and its field layout from one entry of a settings menu to the next.
9
9
  * @instead One object's page with a settings card among its sections is an ObjectPage; "Place it once per app, in the footer or settings, not duplicated across pages." (https://vercel.com/geist/theme-switcher) Ours: Theme and Language stand in the account menu, and a product's preferences page may show them too; when they apply is `SettingsSection`'s rule.
10
- * @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.
10
+ * @behaviour One setting per card (the card's shapes are SettingsSection's: one field, a row of short parts of one value, rows of switches or of selects), the cards stacked 24 apart in the settings column (`ReadingColumn` `settings`, 960 px) under the page's title, which the product's chrome gives it (`ProductShell`'s, unseen, as the path names the page; `PageFrame`'s `title`, drawn with its description, where the host app draws the page area); the cards fill the column and stop there, with no heading between them; a field inside keeps its own bound. A page that mixes cards with other content, such as a table or a list of rules, is not a SettingsPage: its sections take a plain h2 above each card. The page draws no header and no save of its own: each SettingsSection saves from its footer. The danger zone closes the page, in rising severity: transfer, then pause, then delete; only delete is `tone="error"`, and only delete and pause take a button in a hue.
11
11
  * @words The sections' titles and lines; a card's title is never the page's h1.
12
12
  * @access Draws no heading of its own: the header the product's chrome or `PageFrame` draws is the page's h1.
13
13
  */
@@ -23,6 +23,11 @@ type SettingsSectionBase = Omit<React.ComponentProps<"section">, "title" | "chil
23
23
  description: string;
24
24
  /** The title's heading level: 2 under the page, 3 inside a heading of its own, such as an ObjectPage's row. */
25
25
  headingLevel?: 2 | 3;
26
+ /**
27
+ * `fold`: the setting stands in an `ObjectPage` entry, whose row already names it: no card of its
28
+ * own, its title read only, its description, its fields and its footer under the row.
29
+ */
30
+ frame?: "card" | "fold";
26
31
  };
27
32
  type Titled = {
28
33
  /** The section's heading, on every card. */
@@ -37,7 +42,7 @@ type HeaderEnd = {
37
42
  control?: never;
38
43
  } | {
39
44
  actions?: never;
40
- /** The card's own value at its header's trailing edge instead, as Vercel's Team Avatar: an avatar's upload. */
45
+ /** The card's own value at its header's trailing edge instead, such as an avatar's upload. */
41
46
  control: React.ReactElement;
42
47
  };
43
48
  type SavingSection = Titled & HeaderEnd & {
@@ -92,13 +97,13 @@ export type SavingSettingsSectionProps = SettingsSectionBase & SavingSection;
92
97
  * A card of one setting that says what changing it does and ends in a footer.
93
98
  *
94
99
  * @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 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).
100
+ * @when One setting a person changes on a SettingsPage, or on an ObjectPage as one of its `entries` with `frame="fold"`, the row naming it and its summary saying the value (owner, 2026-11-09): Personal details, Company identity, Notifications, a company's Internal notes. 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
101
  * @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`. 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).
102
+ * @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. 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. 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, such as an avatar's upload, takes `control` instead. They stand at the title's right; on a card narrower than 28 rem, as on a phone, they keep the title's row and the description runs under both, 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
103
  * @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
104
  * @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
105
  */
101
- declare function SettingsSection({ title, headingLevel, description, status, actions, control, tone, children, className, save, footer, footerHint, lockedReason, unlock, ...props }: SettingsSectionProps): React.JSX.Element;
106
+ declare function SettingsSection({ title, headingLevel, description, status, actions, control, tone, children, className, save, footer, footerHint, lockedReason, unlock, frame, ...props }: SettingsSectionProps): React.JSX.Element;
102
107
  /**
103
108
  * What stands in a SettingsSection's place while its page reads it: its card, a bar for the title
104
109
  * and one for the description, the placeholders of its controls, and its footer when it has one.
@@ -215,7 +220,7 @@ type SettingsRowsProps = {
215
220
  * @family Inputs
216
221
  * @when A card of switches and selects that the card's one description covers: a project's Git switches, a team's notification channels, a set of defaults, how long a computer stays awake beside whether the window goes to the tray.
217
222
  * @instead One setting is a SettingsField. A text box is a field of its own card.
218
- * @behaviour A row with `options` is a select, a row with `checked` a switch, a row with `control` draws a control whose usage page puts it in a row, such as ThemeModeSwitcher, and a row with `shows` is a fact the card shows and nobody changes there, such as the app's version, its value as text where a control would stand; a card may hold any of them together, as Vercel's Root Directory card holds its switches; `stateLabels` is required once any row is a switch. Required on every row that takes a value: the label and its `info` (an (i) with its sentence in a tooltip and on the control); a `shows` row has its label alone. No help line sits under a row. A switch row shows its state word beside the switch (`stateLabels`) and is controlled, so the word always follows the switch. Rows stand 16 px apart; the card's width decides for all its rows at once: below 28rem each stacks its control under its label at the card's full width, from 28rem each stands beside it, so no row stacks while another does not. "Pair with a form footer only when the setting needs an explicit `Save` step." (https://vercel.com/geist/toggle) Ours: a switch is a draft the card's Save applies.
223
+ * @behaviour A row with `options` is a select, a row with `checked` a switch, a row with `control` draws a control whose usage page puts it in a row, such as ThemeModeSwitcher, and a row with `shows` is a fact the card shows and nobody changes there, such as the app's version, its value as text where a control would stand; a card may hold any of them together; `stateLabels` is required once any row is a switch. Required on every row that takes a value: the label and its `info` (an (i) with its sentence in a tooltip and on the control); a `shows` row has its label alone. No help line sits under a row. A switch row shows its state word beside the switch (`stateLabels`) and is controlled, so the word always follows the switch. Rows stand 16 px apart; the card's width decides for all its rows at once: below 28rem each stacks its control under its label at the card's full width, from 28rem each stands beside it, so no row stacks while another does not. "Pair with a form footer only when the setting needs an explicit `Save` step." (https://vercel.com/geist/toggle) Ours: a switch is a draft the card's Save applies.
219
224
  * @words "Title Case noun phrase, 1–4 words, naming what is true when ON: `Password Protection`, not `Enable Password Protection`." (https://vercel.com/geist/toggle) Ours: sentence case, a noun for what it controls ("Pull request comments"), the same for a switch as for a select. "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: that sentence is `info.text`. "Options are Title Case when short and match canonical branding (`Next.js`, not `NextJS`); keep the same register across the list." (https://vercel.com/geist/select) Ours: a select's options are sentence case.
220
225
  * @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.
221
226
  */
@@ -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;AAG7F,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;IA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