@nadicodeai/ui 12.1.235 → 12.1.236

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.
@@ -10,6 +10,8 @@ export type RowCommand = MenuCommand & {
10
10
  main?: true | undefined;
11
11
  /** Opens outside the product: as a button, the arrow after its label. */
12
12
  external?: boolean | undefined;
13
+ /** As a button, the labels it takes in its other states (Turn on beside Turn off): it stays as wide as the widest. */
14
+ sameWidthAs?: readonly string[] | undefined;
13
15
  };
14
16
  /** What a record's commands become: the button the row is waiting on, and the three dots' commands. */
15
17
  export type RowCommandShape = {
@@ -1 +1 @@
1
- {"version":3,"file":"record-commands.d.ts","sourceRoot":"","sources":["../../src/components/record-commands.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,YAAY,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAoB,MAAM,2BAA2B,CAAC;AAEpG;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IACrC,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,uGAAuG;AACvG,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,SAAS,UAAU,EAAE,CAAC;IAC/B,IAAI,EAAE,YAAY,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,UAAU,EAAE,GAAG,eAAe,CAQ9F;AAmBD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,YAAY,CAAC,UAAU,CAAC,GAAG,WAAW,CAkB1E;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,GAAG,GACJ,EAAE;IACD,QAAQ,EAAE,SAAS,UAAU,EAAE,CAAC;IAChC,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;CAC3B,iCASA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,oEAAoE;IACpE,MAAM,EAAE,MAAM,CAAC;IACf,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAC;IAClB,wGAAwG;IACxG,QAAQ,EAAE,SAAS,UAAU,EAAE,CAAC;IAChC;;;OAGG;IACH,SAAS,EAAE,KAAK,GAAG,QAAQ,CAAC;CAC7B,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,YAAY,GAAG,WAAW,CAAC,CAAC;AAEnG;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,SAAS,EACT,QAAQ,EACR,SAAS,EACT,GAAG,SAAS,EACb,EAAE,mBAAmB,sCAcrB;AAED,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,mBAAmB,EACnB,QAAQ,GAAG,WAAW,GAAG,UAAU,CACpC,GAAG;IACF,gFAAgF;IAChF,QAAQ,EAAE,YAAY,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,EAAE,sBAAsB,+BAMxB"}
1
+ {"version":3,"file":"record-commands.d.ts","sourceRoot":"","sources":["../../src/components/record-commands.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,YAAY,EAElB,MAAM,0BAA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G,OAAO,GAAG,MAAM,GAAG,YAAY,GAAG,WAAW,CAAC,CAAC;AAEnG;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,SAAS,EACT,QAAQ,EACR,SAAS,EACT,GAAG,SAAS,EACb,EAAE,mBAAmB,sCAcrB;AAED,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,mBAAmB,EACnB,QAAQ,GAAG,WAAW,GAAG,UAAU,CACpC,GAAG;IACF,gFAAgF;IAChF,QAAQ,EAAE,YAAY,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,EAAE,sBAAsB,+BAMxB"}
@@ -54,6 +54,7 @@ export function asRowButton(command) {
54
54
  label: command.label,
55
55
  accessibleName: command.accessibleName,
56
56
  external: command.external,
57
+ sameWidthAs: command.sameWidthAs,
57
58
  disabledReason: reason,
58
59
  };
59
60
  }
@@ -242,7 +242,7 @@ export declare function RecordListSkeleton({ rows, notice, }: {
242
242
  * @instead “For tabular data with sortable columns and shared row shape, use `Table` instead.” (https://vercel.com/geist/entity)
243
243
  * “For a static key/value metadata block on a detail page, use `Description`.” (https://vercel.com/geist/entity)
244
244
  * Ours: Geist's `Table` is a `DataTable`, for rows that are not things a person opens but lines of figures read and compared under a visible heading row: usage per product, the amounts in a statement, invoices (owner, 2026-11-08). 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).
245
- * @behaviour One bordered card, a 1 px rule between records and none after the last. No list draws a heading row a person sees: its column names are read by screen readers only, so every value on a row names itself (owner, 2026-11-08). From 48rem of card, one width whatever the columns, the records stand in aligned columns, 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), the ring and the commands moving under the name when beside it the name would have less than 10rem, 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. 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 list gives `commandsSize`. 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.
245
+ * @behaviour One bordered card, a 1 px rule between records and none after the last. No list draws a heading row a person sees: its column names are read by screen readers only, so every value on a row names itself (owner, 2026-11-08). From 48rem of card, one width whatever the columns, the records stand in aligned columns, 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), the ring and the commands moving under the name when beside it the name would have less than 10rem, 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. 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); one whose label follows the record's state, such as Turn off and Turn on, names its other labels in `sameWidthAs`, so its button keeps one width on every row and in every state (owner, 2026-11-12). 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 list gives `commandsSize`. 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.
246
246
  * “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)
247
247
  * Ours: `failed`, `noMatch` and `empty` are those variants, drawn inside the card (nadicode decision).
248
248
  * “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)
@@ -267,7 +267,7 @@ function RecordRows(props) {
267
267
  * @instead “For tabular data with sortable columns and shared row shape, use `Table` instead.” (https://vercel.com/geist/entity)
268
268
  * “For a static key/value metadata block on a detail page, use `Description`.” (https://vercel.com/geist/entity)
269
269
  * Ours: Geist's `Table` is a `DataTable`, for rows that are not things a person opens but lines of figures read and compared under a visible heading row: usage per product, the amounts in a statement, invoices (owner, 2026-11-08). 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).
270
- * @behaviour One bordered card, a 1 px rule between records and none after the last. No list draws a heading row a person sees: its column names are read by screen readers only, so every value on a row names itself (owner, 2026-11-08). From 48rem of card, one width whatever the columns, the records stand in aligned columns, 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), the ring and the commands moving under the name when beside it the name would have less than 10rem, 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. 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 list gives `commandsSize`. 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.
270
+ * @behaviour One bordered card, a 1 px rule between records and none after the last. No list draws a heading row a person sees: its column names are read by screen readers only, so every value on a row names itself (owner, 2026-11-08). From 48rem of card, one width whatever the columns, the records stand in aligned columns, 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), the ring and the commands moving under the name when beside it the name would have less than 10rem, 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. 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); one whose label follows the record's state, such as Turn off and Turn on, names its other labels in `sameWidthAs`, so its button keeps one width on every row and in every state (owner, 2026-11-12). 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 list gives `commandsSize`. 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.
271
271
  * “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)
272
272
  * Ours: `failed`, `noMatch` and `empty` are those variants, drawn inside the card (nadicode decision).
273
273
  * “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)
@@ -39,6 +39,8 @@ export type PageCommandFace = PendingWord & {
39
39
  accessibleName?: string | undefined;
40
40
  /** Opens outside the product: the arrow after the label. */
41
41
  external?: boolean | undefined;
42
+ /** The labels it takes in its other states (Turn on beside Turn off): the button stays as wide as the widest. */
43
+ sameWidthAs?: readonly string[] | undefined;
42
44
  disabled?: boolean | undefined;
43
45
  /** Why it cannot run now: the button stays, disabled, and says why in its tooltip. */
44
46
  disabledReason?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"page-command-button.d.ts","sourceRoot":"","sources":["../../src/internal/page-command-button.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,UAAU,EACf,KAAK,YAAY,EAElB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG/E,MAAM,MAAM,iBAAiB,GACzB;IAAE,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE;AACrF;;;GAGG;GACD;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAC;IAAC,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE;AACzD;;;GAGG;GACD;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAE5D,uGAAuG;AACvG,MAAM,MAAM,WAAW,GACnB;IACE,kGAAkG;IAClG,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;CACtB,GACD;IAAE,OAAO,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AAEvE,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,oGAAoG;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IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,+BASxC"}
@@ -31,17 +31,24 @@ export function PageCommandButton({ command, ...appearance }) {
31
31
  const reasonId = useId();
32
32
  return (_jsx(WithDisabledReason, { button: _jsx(CommandButton, { command: command, look: lookOf(command, reasonId, appearance) }), reason: command.disabledReason, reasonId: reasonId }));
33
33
  }
34
+ /** The label, over its other states' labels drawn hidden in the same cell, so the widest sets the width. */
35
+ function SameWidthLabel({ label, others }) {
36
+ return (_jsxs("span", { className: "inline-grid", "data-slot": "same-width-label", children: [_jsx("span", { className: "col-start-1 row-start-1", children: label }), others
37
+ .filter((other) => other !== label)
38
+ .map((other) => (_jsx("span", { "aria-hidden": "true", className: "invisible col-start-1 row-start-1", children: other }, other)))] }));
39
+ }
34
40
  /** The button itself; a tooltip's trigger renders it with its own props, which it passes on. */
35
41
  function CommandButton({ command, look: ownLook, ...trigger }) {
36
42
  const look = { ...trigger, ...ownLook };
43
+ const label = command.sameWidthAs ? (_jsx(SameWidthLabel, { label: command.label, others: command.sameWidthAs })) : (command.label);
37
44
  const { focusableWhenDisabled: _focusable, ...linkLook } = ownLook;
38
45
  const rendersLink = isValidElement(command.render) && command.render.props.href !== undefined;
39
46
  const link = command.link ?? (rendersLink ? command.render : undefined);
40
47
  if (link) {
41
- return (_jsx(ButtonLink, { ...linkLook, render: link, children: command.label }));
48
+ return (_jsx(ButtonLink, { ...linkLook, render: link, children: label }));
42
49
  }
43
50
  if (command.render) {
44
- return (_jsx(Button, { ...look, render: command.render, children: command.label }));
51
+ return (_jsx(Button, { ...look, render: command.render, children: label }));
45
52
  }
46
- return (_jsx(Button, { ...look, onClick: command.onClick, type: "button", children: command.label }));
53
+ return (_jsx(Button, { ...look, onClick: command.onClick, type: "button", children: label }));
47
54
  }
@@ -296,7 +296,7 @@ export const USAGE = [
296
296
  summary: "Things a person opens, one line each on one resting card: the identity mark and name over what it is, then its attributes as data, one per column: its facts, its state, when it happened, the one command the row is waiting on, and the three dots last.",
297
297
  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) Ours: if each row is a thing you can open, it is a list; if each row is a line of numbers you read, it is a table (owner, 2026-11-08). This is the list: every row is one thing with a name, such as a deployment, a domain, a project, a Customer, a Member account, an Agent, a Skill or a mailbox, which a person opens by its row or acts on with its buttons. It lines up as many of the thing's facts in columns as the person reads to choose one (status, branch, time) and stays a list however many that is: a list of Member accounts with six facts is a list, never a table of figures (owner, 2026-11-08). 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.",
298
298
  instead: "“For tabular data with sortable columns and shared row shape, use `Table` instead.” (https://vercel.com/geist/entity) “For a static key/value metadata block on a detail page, use `Description`.” (https://vercel.com/geist/entity) Ours: Geist's `Table` is a `DataTable`, for rows that are not things a person opens but lines of figures read and compared under a visible heading row: usage per product, the amounts in a statement, invoices (owner, 2026-11-08). 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).",
299
- behaviour: "One bordered card, a 1 px rule between records and none after the last. No list draws a heading row a person sees: its column names are read by screen readers only, so every value on a row names itself (owner, 2026-11-08). From 48rem of card, one width whatever the columns, the records stand in aligned columns, 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), the ring and the commands moving under the name when beside it the name would have less than 10rem, 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. 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 list gives `commandsSize`. 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. “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) Ours: `failed`, `noMatch` and `empty` are those variants, drawn inside the card (nadicode decision). “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) 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). “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) 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, under the page's `notice` while a read of the records is failing, as `CollectionPage` places it (nadicode decision).",
299
+ behaviour: "One bordered card, a 1 px rule between records and none after the last. No list draws a heading row a person sees: its column names are read by screen readers only, so every value on a row names itself (owner, 2026-11-08). From 48rem of card, one width whatever the columns, the records stand in aligned columns, 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), the ring and the commands moving under the name when beside it the name would have less than 10rem, 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. 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); one whose label follows the record's state, such as Turn off and Turn on, names its other labels in `sameWidthAs`, so its button keeps one width on every row and in every state (owner, 2026-11-12). 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 list gives `commandsSize`. 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. “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) Ours: `failed`, `noMatch` and `empty` are those variants, drawn inside the card (nadicode decision). “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) 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). “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) 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, under the page's `notice` while a read of the records is failing, as `CollectionPage` places it (nadicode decision).",
300
300
  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) Ours: the name is the record\'s own and the labels around it are sentence case, not Title Case (nadicode decision). “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) 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). “Column headers (`<Table.Head>`) are Title Case nouns or noun phrases: `Last Used`, `Requests (7d)`, `Created`, `Status`. Never sentences.” (https://vercel.com/geist/table) “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) Ours: a list is the records\' attributes shown as data, not written as text. Its columns are the 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 or a date in its sentence ("Updated 3h ago", "Auto-renews Aug 3"), a figure after the word that names it, with its meter where it has one ("Included 92% of $200.00", "Extra €15.00"), a state as its badge, or a name after the mark of its kind (`icon`, a `Tag`\'s `mark`, a plan\'s emblem). 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).',
301
301
  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) 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. “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) Ours: each box is named by `select.label`, which reads "Select {record}" (nadicode decision).',
302
302
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/ui",
3
- "version": "12.1.235",
3
+ "version": "12.1.236",
4
4
  "type": "module",
5
5
  "imports": {
6
6
  "#jsx": "./src/jsx/index.ts",
@@ -82,7 +82,7 @@
82
82
  "@headless-tree/react": "1.8.0",
83
83
  "@iconify-icons/logos": "^2.0.3",
84
84
  "@iconify/react": "^6.0.2",
85
- "@nadicodeai/design-system": "12.1.235",
85
+ "@nadicodeai/design-system": "12.1.236",
86
86
  "@tanstack/react-table": "^9.3.1",
87
87
  "@vgpu/wgsl": "0.6.0",
88
88
  "class-variance-authority": "^0.7.1",