@tanrei/mcp 0.1.0-next.0 → 0.1.0-next.1

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 (224) hide show
  1. package/NOTICE +4 -5
  2. package/README.md +21 -6
  3. package/bin/tanrei-mcp.js +3 -3
  4. package/dist/server.js +2218 -711
  5. package/dist/vocabulary/docs/governance/mimicry-gaps.json +95 -21
  6. package/dist/vocabulary/packages/tokens-build/generated/component-catalog.json +1825 -0
  7. package/dist/vocabulary/specs/accordion.spec.json +1 -0
  8. package/dist/vocabulary/specs/app-bar.spec.json +1 -0
  9. package/dist/vocabulary/specs/app-shell.spec.json +1 -0
  10. package/dist/vocabulary/specs/avatar.spec.json +1 -0
  11. package/dist/vocabulary/specs/badge.spec.json +1 -0
  12. package/dist/vocabulary/specs/bottom-sheet.spec.json +1 -0
  13. package/dist/vocabulary/specs/breadcrumbs.spec.json +1 -0
  14. package/dist/vocabulary/specs/button-group.spec.json +1 -0
  15. package/dist/vocabulary/specs/button-with-menu.spec.json +1 -0
  16. package/dist/vocabulary/specs/button.spec.json +1 -0
  17. package/dist/vocabulary/specs/calendar.spec.json +1 -0
  18. package/dist/vocabulary/specs/callout.spec.json +1 -0
  19. package/dist/vocabulary/specs/card.spec.json +1 -0
  20. package/dist/vocabulary/specs/carousel.spec.json +1 -0
  21. package/dist/vocabulary/specs/chat-composer.spec.json +1 -0
  22. package/dist/vocabulary/specs/checkbox-group.spec.json +1 -0
  23. package/dist/vocabulary/specs/checkbox.spec.json +1 -0
  24. package/dist/vocabulary/specs/chip-field.spec.json +1 -0
  25. package/dist/vocabulary/specs/chip.spec.json +1 -0
  26. package/dist/vocabulary/specs/code-block.spec.json +1 -0
  27. package/dist/vocabulary/specs/color-field.spec.json +1 -0
  28. package/dist/vocabulary/specs/color-input.spec.json +1 -0
  29. package/dist/vocabulary/specs/combobox-field.spec.json +1 -0
  30. package/dist/vocabulary/specs/combobox.spec.json +1 -0
  31. package/dist/vocabulary/specs/component.schema.json +1 -0
  32. package/dist/vocabulary/specs/copy-button.spec.json +1 -0
  33. package/dist/vocabulary/specs/date-time-picker.spec.json +1 -0
  34. package/dist/vocabulary/specs/description-list.spec.json +1 -0
  35. package/dist/vocabulary/specs/dialog.spec.json +1 -0
  36. package/dist/vocabulary/specs/divider.spec.json +1 -0
  37. package/dist/vocabulary/specs/drop-zone.spec.json +1 -0
  38. package/dist/vocabulary/specs/embedded-text-input.spec.json +1 -0
  39. package/dist/vocabulary/specs/empty-state.spec.json +1 -0
  40. package/dist/vocabulary/specs/fab-menu.spec.json +1 -0
  41. package/dist/vocabulary/specs/field-group.spec.json +1 -0
  42. package/dist/vocabulary/specs/field.spec.json +1 -0
  43. package/dist/vocabulary/specs/figure.spec.json +1 -0
  44. package/dist/vocabulary/specs/file-item.spec.json +1 -0
  45. package/dist/vocabulary/specs/file-picker.spec.json +1 -0
  46. package/dist/vocabulary/specs/file-upload.spec.json +1 -0
  47. package/dist/vocabulary/specs/handle.spec.json +1 -0
  48. package/dist/vocabulary/specs/image-preview.spec.json +1 -0
  49. package/dist/vocabulary/specs/inline-code.spec.json +1 -0
  50. package/dist/vocabulary/specs/inventory.json +1 -0
  51. package/dist/vocabulary/specs/keyboard-shortcut.spec.json +1 -0
  52. package/dist/vocabulary/specs/link-card.spec.json +1 -0
  53. package/dist/vocabulary/specs/link.spec.json +1 -0
  54. package/dist/vocabulary/specs/list-row.spec.json +1 -0
  55. package/dist/vocabulary/specs/list.spec.json +1 -0
  56. package/dist/vocabulary/specs/loading-indicator.spec.json +1 -0
  57. package/dist/vocabulary/specs/main-action-button.spec.json +1 -0
  58. package/dist/vocabulary/specs/marquee-text.spec.json +1 -0
  59. package/dist/vocabulary/specs/menu.spec.json +1 -0
  60. package/dist/vocabulary/specs/menubar.spec.json +1 -0
  61. package/dist/vocabulary/specs/meter.spec.json +1 -0
  62. package/dist/vocabulary/specs/modal-layer.spec.json +1 -0
  63. package/dist/vocabulary/specs/navigation-bar.spec.json +1 -0
  64. package/dist/vocabulary/specs/navigation-drawer.spec.json +1 -0
  65. package/dist/vocabulary/specs/number-field.spec.json +1 -0
  66. package/dist/vocabulary/specs/number-input.spec.json +1 -0
  67. package/dist/vocabulary/specs/number-ticker.spec.json +1 -0
  68. package/dist/vocabulary/specs/one-time-code-field.spec.json +1 -0
  69. package/dist/vocabulary/specs/one-time-code-input.spec.json +1 -0
  70. package/dist/vocabulary/specs/page-header.spec.json +1 -0
  71. package/dist/vocabulary/specs/pagination.spec.json +1 -0
  72. package/dist/vocabulary/specs/popover.spec.json +1 -0
  73. package/dist/vocabulary/specs/previous-next-links.spec.json +1 -0
  74. package/dist/vocabulary/specs/progress-indicator.spec.json +1 -0
  75. package/dist/vocabulary/specs/prose.spec.json +1 -0
  76. package/dist/vocabulary/specs/radio-button.spec.json +1 -0
  77. package/dist/vocabulary/specs/radio-group.spec.json +1 -0
  78. package/dist/vocabulary/specs/rating.spec.json +1 -0
  79. package/dist/vocabulary/specs/resizable-frame.spec.json +1 -0
  80. package/dist/vocabulary/specs/scroll-area.spec.json +1 -0
  81. package/dist/vocabulary/specs/search.spec.json +1 -0
  82. package/dist/vocabulary/specs/segmented-button.spec.json +1 -0
  83. package/dist/vocabulary/specs/select-field.spec.json +1 -0
  84. package/dist/vocabulary/specs/select.spec.json +1 -0
  85. package/dist/vocabulary/specs/side-sheet.spec.json +1 -0
  86. package/dist/vocabulary/specs/size-transition.spec.json +1 -0
  87. package/dist/vocabulary/specs/skeleton.spec.json +1 -0
  88. package/dist/vocabulary/specs/slider-field.spec.json +1 -0
  89. package/dist/vocabulary/specs/slider.spec.json +1 -0
  90. package/dist/vocabulary/specs/snackbar.spec.json +1 -0
  91. package/dist/vocabulary/specs/split-view.spec.json +1 -0
  92. package/dist/vocabulary/specs/stepper.spec.json +1 -0
  93. package/dist/vocabulary/specs/steps.spec.json +1 -0
  94. package/dist/vocabulary/specs/swatch.spec.json +1 -0
  95. package/dist/vocabulary/specs/switch.spec.json +1 -0
  96. package/dist/vocabulary/specs/tab-view.spec.json +1 -0
  97. package/dist/vocabulary/specs/table-of-contents.spec.json +1 -0
  98. package/dist/vocabulary/specs/table.spec.json +1 -0
  99. package/dist/vocabulary/specs/tabs.spec.json +1 -0
  100. package/dist/vocabulary/specs/tag-group.spec.json +1 -0
  101. package/dist/vocabulary/specs/tag.spec.json +1 -0
  102. package/dist/vocabulary/specs/text-field.spec.json +1 -0
  103. package/dist/vocabulary/specs/text-input.spec.json +1 -0
  104. package/dist/vocabulary/specs/timeline.spec.json +1 -0
  105. package/dist/vocabulary/specs/toolbar.spec.json +1 -0
  106. package/dist/vocabulary/specs/tooltip.spec.json +1 -0
  107. package/dist/vocabulary/specs/tree-view.spec.json +1 -0
  108. package/dist/vocabulary/tanrei.config.json +2 -1
  109. package/dist/vocabulary/tokens/comp/accordion.tokens.json +70 -47
  110. package/dist/vocabulary/tokens/comp/app-bar.tokens.json +99 -2
  111. package/dist/vocabulary/tokens/comp/app-shell.tokens.json +1 -1
  112. package/dist/vocabulary/tokens/comp/avatar.tokens.json +17 -5
  113. package/dist/vocabulary/tokens/comp/badge.tokens.json +2 -1
  114. package/dist/vocabulary/tokens/comp/bottom-sheet.tokens.json +143 -73
  115. package/dist/vocabulary/tokens/comp/breadcrumbs.tokens.json +3 -3
  116. package/dist/vocabulary/tokens/comp/button-group.tokens.json +26 -4
  117. package/dist/vocabulary/tokens/comp/button-with-menu.tokens.json +256 -28
  118. package/dist/vocabulary/tokens/comp/button.tokens.json +275 -22
  119. package/dist/vocabulary/tokens/comp/calendar.tokens.json +28 -18
  120. package/dist/vocabulary/tokens/comp/callout.tokens.json +55 -299
  121. package/dist/vocabulary/tokens/comp/card.tokens.json +3 -3
  122. package/dist/vocabulary/tokens/comp/carousel.tokens.json +70 -10
  123. package/dist/vocabulary/tokens/comp/chat-composer.tokens.json +37 -3
  124. package/dist/vocabulary/tokens/comp/checkbox.tokens.json +18 -22
  125. package/dist/vocabulary/tokens/comp/chip.tokens.json +67 -16
  126. package/dist/vocabulary/tokens/comp/code-block.tokens.json +15 -1
  127. package/dist/vocabulary/tokens/comp/combobox.tokens.json +202 -33
  128. package/dist/vocabulary/tokens/comp/copy-button.tokens.json +19 -2
  129. package/dist/vocabulary/tokens/comp/date-time-picker.tokens.json +66 -35
  130. package/dist/vocabulary/tokens/comp/description-list.tokens.json +45 -23
  131. package/dist/vocabulary/tokens/comp/dialog.tokens.json +95 -35
  132. package/dist/vocabulary/tokens/comp/drop-zone.tokens.json +151 -0
  133. package/dist/vocabulary/tokens/comp/embedded-text-input.tokens.json +2 -2
  134. package/dist/vocabulary/tokens/comp/field-group.tokens.json +21 -1
  135. package/dist/vocabulary/tokens/comp/field.tokens.json +33 -4
  136. package/dist/vocabulary/tokens/comp/figure.tokens.json +56 -2
  137. package/dist/vocabulary/tokens/comp/file-item.tokens.json +4 -4
  138. package/dist/vocabulary/tokens/comp/file-picker.tokens.json +3 -3
  139. package/dist/vocabulary/tokens/comp/file-upload.tokens.json +2 -7
  140. package/dist/vocabulary/tokens/comp/handle.tokens.json +343 -0
  141. package/dist/vocabulary/tokens/comp/image-preview.tokens.json +53 -23
  142. package/dist/vocabulary/tokens/comp/input-box.tokens.json +161 -26
  143. package/dist/vocabulary/tokens/comp/keyboard-shortcut.tokens.json +5 -3
  144. package/dist/vocabulary/tokens/comp/link-card.tokens.json +24 -4
  145. package/dist/vocabulary/tokens/comp/link.tokens.json +3 -3
  146. package/dist/vocabulary/tokens/comp/list-row.tokens.json +249 -0
  147. package/dist/vocabulary/tokens/comp/list.tokens.json +106 -225
  148. package/dist/vocabulary/tokens/comp/loading-indicator.tokens.json +13 -3
  149. package/dist/vocabulary/tokens/comp/main-action-button.tokens.json +96 -23
  150. package/dist/vocabulary/tokens/comp/marquee-text.tokens.json +110 -0
  151. package/dist/vocabulary/tokens/comp/menu.tokens.json +248 -43
  152. package/dist/vocabulary/tokens/comp/menubar.tokens.json +63 -12
  153. package/dist/vocabulary/tokens/comp/meter.tokens.json +173 -0
  154. package/dist/vocabulary/tokens/comp/modal-layer.tokens.json +69 -0
  155. package/dist/vocabulary/tokens/comp/navigation-bar.tokens.json +5 -36
  156. package/dist/vocabulary/tokens/comp/navigation-drawer.tokens.json +478 -122
  157. package/dist/vocabulary/tokens/comp/number-input.tokens.json +2 -2
  158. package/dist/vocabulary/tokens/comp/number-ticker.tokens.json +77 -0
  159. package/dist/vocabulary/tokens/comp/one-time-code-input.tokens.json +22 -7
  160. package/dist/vocabulary/tokens/comp/pagination.tokens.json +118 -79
  161. package/dist/vocabulary/tokens/comp/popover.tokens.json +84 -13
  162. package/dist/vocabulary/tokens/comp/previous-next-links.tokens.json +194 -0
  163. package/dist/vocabulary/tokens/comp/progress-indicator.tokens.json +14 -4
  164. package/dist/vocabulary/tokens/comp/prose.tokens.json +16 -0
  165. package/dist/vocabulary/tokens/comp/radio-button.tokens.json +16 -20
  166. package/dist/vocabulary/tokens/comp/rating.tokens.json +230 -0
  167. package/dist/vocabulary/tokens/comp/resizable-frame.tokens.json +166 -0
  168. package/dist/vocabulary/tokens/comp/scroll-area.tokens.json +99 -0
  169. package/dist/vocabulary/tokens/comp/search.tokens.json +144 -58
  170. package/dist/vocabulary/tokens/comp/segmented-button.tokens.json +75 -21
  171. package/dist/vocabulary/tokens/comp/select.tokens.json +168 -34
  172. package/dist/vocabulary/tokens/comp/side-sheet.tokens.json +60 -13
  173. package/dist/vocabulary/tokens/comp/size-transition.tokens.json +49 -0
  174. package/dist/vocabulary/tokens/comp/skeleton.tokens.json +5 -2
  175. package/dist/vocabulary/tokens/comp/slider.tokens.json +11 -10
  176. package/dist/vocabulary/tokens/comp/snackbar.tokens.json +81 -255
  177. package/dist/vocabulary/tokens/comp/split-view.tokens.json +52 -0
  178. package/dist/vocabulary/tokens/comp/stepper.tokens.json +538 -0
  179. package/dist/vocabulary/tokens/comp/swatch.tokens.json +208 -0
  180. package/dist/vocabulary/tokens/comp/switch.tokens.json +19 -18
  181. package/dist/vocabulary/tokens/comp/tab-view.tokens.json +5 -5
  182. package/dist/vocabulary/tokens/comp/table-of-contents.tokens.json +58 -33
  183. package/dist/vocabulary/tokens/comp/table.tokens.json +141 -30
  184. package/dist/vocabulary/tokens/comp/tabs.tokens.json +132 -44
  185. package/dist/vocabulary/tokens/comp/tag-group.tokens.json +15 -4
  186. package/dist/vocabulary/tokens/comp/tag.tokens.json +32 -8
  187. package/dist/vocabulary/tokens/comp/text-input.tokens.json +18 -88
  188. package/dist/vocabulary/tokens/comp/timeline.tokens.json +15 -19
  189. package/dist/vocabulary/tokens/comp/toolbar.tokens.json +121 -6
  190. package/dist/vocabulary/tokens/comp/tooltip.tokens.json +8 -32
  191. package/dist/vocabulary/tokens/comp/tree-view.tokens.json +136 -51
  192. package/dist/vocabulary/tokens/dial/dial.tokens.json +23 -3
  193. package/dist/vocabulary/tokens/fidelity/cupertino.fidelity.json +165 -0
  194. package/dist/vocabulary/tokens/fidelity/m3-like.fidelity.json +215 -5
  195. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3.json +144 -0
  196. package/dist/vocabulary/tokens/fidelity/reference/apple-hig.json +196 -0
  197. package/dist/vocabulary/tokens/generated/cupertino/components.json +1749 -0
  198. package/dist/vocabulary/tokens/generated/cupertino/fidelity.json +162 -0
  199. package/dist/vocabulary/tokens/generated/m3-like/components.json +1761 -0
  200. package/dist/vocabulary/tokens/generated/m3-like/fidelity.json +182 -12
  201. package/dist/vocabulary/tokens/generated/tanrei/components.json +1764 -0
  202. package/dist/vocabulary/tokens/icon-sets/material-symbols.icon-set.json +2 -1
  203. package/dist/vocabulary/tokens/schema/system.schema.json +324 -35
  204. package/dist/vocabulary/tokens/sys/behavior.tokens.json +66 -1
  205. package/dist/vocabulary/tokens/sys/measure.tokens.json +105 -21
  206. package/dist/vocabulary/tokens/sys/motion.tokens.json +474 -2
  207. package/dist/vocabulary/tokens/sys/scroll-edge.tokens.json +50 -0
  208. package/dist/vocabulary/tokens/sys/shape.tokens.json +1 -1
  209. package/dist/vocabulary/tokens/sys/state.tokens.json +16 -3
  210. package/dist/vocabulary/tokens/sys/typescale.tokens.json +5 -5
  211. package/dist/vocabulary/tokens/systems/core.system.json +1889 -0
  212. package/dist/vocabulary/tokens/systems/cupertino.system.json +298 -79
  213. package/dist/vocabulary/tokens/{comp → systems/m3-like/comp}/fab-menu.tokens.json +5 -15
  214. package/dist/vocabulary/tokens/systems/m3-like.system.json +451 -125
  215. package/dist/vocabulary/tokens/systems/tanrei.system.json +619 -321
  216. package/dist/vocabulary/tokens/tanrei.resolver.json +48 -6
  217. package/package.json +22 -6
  218. package/dist/vocabulary/tokens/AGENTS.md +0 -15
  219. package/dist/vocabulary/tokens/comp/navigation-rail.tokens.json +0 -254
  220. package/dist/vocabulary/tokens/fidelity/m3-expressive-like.fidelity.json +0 -68
  221. package/dist/vocabulary/tokens/fidelity/reference/androidx-material3-buttons.json +0 -67
  222. package/dist/vocabulary/tokens/generated/m3-expressive-like/fidelity.json +0 -99
  223. package/dist/vocabulary/tokens/systems/m3-expressive-like.system.json +0 -83
  224. package/dist/vocabulary/tokens/vocabulary.lock.json +0 -7052
@@ -0,0 +1 @@
1
+ {"name":"table","title":"Table","summary":"Presents data that has rows and columns — a price list, a comparison, a list of settings, a status of many things, the records a person works with — with named columns, optional row headers, a caption and footer rows; it scrolls in its own box when it does not fit; a column's header can ask for the rows in its order and rows can be chosen, while the table itself never sorts, filters, fetches or pages.","level":"base","listing":"default","anatomy":[{"id":"container","description":"The table's box: as wide as its layout gives it, as tall as its rows unless the layout limits it. It has no fill, edge or corner of its own. When the columns or the rows do not fit, it is the box they scroll in, and then the one part of the table that takes focus."},{"id":"caption","description":"The name of the table, drawn above its first row at the start edge. It does not scroll sideways with the columns.","optional":true},{"id":"header-row","description":"The first row: one header cell for each column. It can stay in view while the rows scroll under it.","optional":true},{"id":"header-cell","description":"The name of a column, in a label style and a quieter color than the data.","optional":true},{"id":"sort-button","description":"The whole header cell of a column that can be sorted, as one button: the column's name and its mark. It carries hover, focus and press, and asks the product for the rows in the column's order.","optional":true},{"id":"sort-mark","description":"The glyph beside the name of a column that can be sorted: a two-way arrow while the rows are not in its order, an arrow up while they ascend by it, an arrow down while they descend.","optional":true},{"id":"row","description":"One record: a cell for each column, as tall as its tallest cell. A row that can be chosen is, for a pointer, one target that presses its checkbox or radio button, with its own hover and press (TBL-58, TBL-59)."},{"id":"row-header","description":"The first cell of a row where the first column names its rows: the cell style at its emphasized weight. The first column can stay in view while the others scroll under it.","optional":true},{"id":"selection-cell","description":"The cell before the first column of a table whose rows can be chosen: in a body row the row's checkbox, or its radio button where one row at most is chosen; in the header row the checkbox for every row, or nothing where one row at most is chosen; in a footer row nothing.","optional":true},{"id":"cell","description":"One value: text that wraps inside its column, or a component of the product's (a tag, a link, inline code). It may be empty."},{"id":"divider","description":"The one hairline between two rows, under the header row and above the footer rows, where rows are told apart by a line; also the line along the inner edge of a first column that stays in view, and along an edge of the box beyond which there is more to scroll to.","optional":true},{"id":"stripe","description":"A quiet fill on every second body row.","optional":true},{"id":"selected-row","description":"The fill of a body row that is chosen, across its whole width, in place of a stripe.","optional":true},{"id":"placeholder-row","description":"A body row that stands for a record that has not arrived: as tall as a row of one line, holding what the product puts in its cells (a Skeleton), and no checkbox or radio button.","optional":true},{"id":"empty","description":"What stands in the place of the body rows of a table that has none: the product's own content (an Empty state), as wide as the table's box, under the header row.","optional":true},{"id":"footer-row","description":"A row after every body row that sums the columns up or notes something about them: the cell style at its emphasized weight.","optional":true},{"id":"status","description":"One line under the last row, outside the columns: the product's sentence about what the table shows now (the range of rows shown, how many are chosen) at the start edge, and its pagination at the end edge. It does not scroll sideways with the columns.","optional":true}],"props":[{"name":"caption","type":"string","default":"","description":"The name of the table, drawn above it (\"Response times by region\"). It is also what assistive technology calls the table and its scroll region. Prefer it to label wherever the page does not already name the table in sight."},{"name":"label","type":"string","default":"","description":"The table's accessible name where no caption is drawn, because a heading just above it already says what it is. Not drawn. Ignored where caption is given."},{"name":"size","type":"enum","values":["small","medium"],"default":"medium","description":"How close the rows are, in a list's and a tree view's words: a row's least height, a cell's paddings and the text styles of a cell and of a column header. medium (a row at the control height, 36 in the default system) is for a table a person reads: a few rows, cells that wrap. small (a 28 row in the default system, the small step, smaller text) is for a table a person scans: hundreds of rows, identifiers and values. Its row heights follow the system's height ladder at either size and a cell's paddings give up what a row loses (TBL-63), and a row that holds a control is never lower than the target at either (TBL-40, TBL-47). Material's data table row is 52, taller than its controls; here a row of the default size is the control height, so that a table set beside the product's controls and lists is drawn at their height and moves with it. While it is not set the table is drawn at the size its nearest container sets (TBL-62), and at medium where none does. A design system may add values.","axis":"tanrei.comp.table.size"},{"name":"separation","type":"enum","values":["auto","divider","gap"],"default":"auto","description":"How a row is told from the row next to it. divider: one hairline between them. gap: empty space and no line. Auto takes comp.table.separation, the design system's answer (divider in the default system)."},{"name":"striped","type":"boolean","default":false,"description":"Fills every second body row with a quiet color, for a wide table of many similar rows where the eye loses its row on the way across. It can be combined with either separation."},{"name":"rowHeaders","type":"boolean","default":false,"description":"Says that the first column names its rows (a component, a region, a plan), so its cells are drawn and exposed as row headers. False for a table whose rows are named by no single column."},{"name":"stickyHeader","type":"boolean","default":false,"description":"Keeps the header row at the top of the table's box while its rows scroll under it. It has an effect only where the layout limits the table's height, so that the rows scroll in the table's own box."},{"name":"stickyFirstColumn","type":"boolean","default":false,"description":"Keeps the first column at the start edge while the other columns scroll sideways under it, for a wide table whose first column says what each row is. Released by itself where the column would take more than half of the box."},{"name":"selection","type":"enum","values":["none","single","multiple"],"default":"none","description":"Whether rows can be chosen, and how many. multiple puts a checkbox before the first column of every body row that has a value, and one in the header row that stands for all of them. single puts a radio button there instead and nothing in the header row: one row at most is chosen, and a person moves the choice from row to row but does not take it back (TBL-60). none draws no such column and ignores a row's selected."},{"name":"selectAllLabel","type":"string","default":"","words":"selectAllLabel","description":"The accessible name of the checkbox in the header row that chooses every row (\"Select all rows\"). Not drawn; read only while selection is multiple. From the product's words where the instance gives none."},{"name":"sortedAscendingLabel","type":"string","default":"","words":"sortedAscendingLabel","description":"What a platform that has no sort state of its own says after the name of the column the rows ascend by (\"sorted ascending\"). Not drawn. A platform that exposes the direction itself (the web) does not read it."},{"name":"sortedDescendingLabel","type":"string","default":"","words":"sortedDescendingLabel","description":"What a platform that has no sort state of its own says after the name of the column the rows descend by (\"sorted descending\"). Not drawn. A platform that exposes the direction itself (the web) does not read it."},{"name":"loading","type":"boolean","default":false,"description":"Says that the product is fetching the rows — the first ones, another page of them, or the same ones in another order. The table is exposed as busy and draws the rows it is given meanwhile: the ones it had, or placeholder rows. It fetches nothing itself."},{"name":"status","type":"string","default":"","description":"The product's sentence about what the table shows now (\"1–20 of 132\", \"3 of 132 selected\", \"Loading\"), drawn under the last row and told politely to assistive technology when it changes. The table counts nothing and writes no word of its own. Empty draws no status text."}],"items":[{"name":"column","summary":"One column of the table: the text of its header cell, how its cells are aligned and wrapped, and whether its header asks for the rows in its order.","props":[{"name":"header","type":"string","default":"","description":"The text of the column's header cell (\"Price\"). Empty only where the table has no header row at all, and then for every column."},{"name":"align","type":"enum","values":["start","center","end"],"default":"start","description":"Where the content of the column's cells sits, header and footer cells included. start for text. end for numbers that are compared, so that their digits line up. center for a mark or a single word that is the same kind of answer in every row."},{"name":"wrap","type":"boolean","default":true,"description":"Whether the text of the column's cells may wrap. False keeps every cell on one line, for identifiers, dates, numbers and short values; the column is then as wide as its widest cell."},{"name":"sortable","type":"boolean","default":false,"description":"Says that the rows can be put in this column's order: its header cell is a button that asks for it. The table never orders rows itself. It needs a header: a sortable column without one is drawn as a plain column."},{"name":"sort","type":"enum","values":["none","ascending","descending"],"default":"none","description":"The order the rows are in by this column, as the product has put them: the header draws it and exposes it. The product sets it after it has ordered its rows; one column at a time is not none."},{"name":"value","type":"string","default":"","description":"The name the product knows the column by (\"price\"), carried by the sort event. Not drawn. Empty: the event carries the column's index alone."}]},{"name":"row","summary":"One row of the table: a cell for each column, in the order of the columns; a record that can be chosen where the table's selection says so.","container":true,"props":[{"name":"footer","type":"boolean","default":false,"description":"Says that the row is a footer row: drawn after every body row, in the emphasized weight, never striped. For sums, averages and notes about the columns."},{"name":"value","type":"string","default":"","description":"The name the product knows the record by, carried by selectionChange. Not drawn. A body row without a value cannot be chosen: it has no checkbox or radio button."},{"name":"selected","type":"boolean","default":false,"description":"Whether the row is chosen. Read only while the table's selection is single or multiple and the row has a value; while it is single, one row at most is chosen (TBL-60)."},{"name":"selectLabel","type":"string","default":"","description":"The accessible name of the row's checkbox or radio button (\"Select Islands\"): words about this one record, so the instance's. Not drawn. Empty: it is named by the row's header cell where rowHeaders is true."},{"name":"placeholder","type":"boolean","default":false,"description":"Says that the row stands for a record that has not arrived. It is drawn as a body row at least one line tall, holds what the product puts in its cells (a Skeleton) or nothing, has no checkbox or radio button and is hidden from assistive technology."}]},{"name":"cell","summary":"One value of a row: plain text, a component of the product's, or nothing.","container":true,"props":[],"slots":[{"name":"content","description":"What the cell holds in place of plain text: a tag, a link, inline code, a button, a picture, any view of the product's. The table places it and styles nothing inside it (TBL-15)."}]},{"name":"tag","summary":"A tag placed in a cell: the Tag component, as it is drawn anywhere else.","component":"tag","props":[{"name":"label","type":"string","default":"","description":"The tag's text."},{"name":"variant","type":"enum","values":["tonal","outlined","filled"],"default":"tonal","description":"The tag's look."},{"name":"status","type":"enum","values":["default","info","warning","error","success"],"default":"default","description":"What the tag reports."},{"name":"size","type":"enum","values":["small","medium"],"default":"medium","description":"The tag's size; small in a table cell, so that it does not make its row taller."}]}],"slots":[{"name":"empty","description":"What the table draws in the place of its body rows while it has none and is not loading: the product's Empty state, or its own sentence. The table gives it the box's width and room above and below, and does nothing else to it. A fixture's string is drawn as plain text in its place.","fixture":"text"},{"name":"pagination","description":"What stands at the end edge of the status line: one element, the product's Pagination — at size small, and compact where the product does not page by number — or a group the product lays out of a Select for the rows per page and that Pagination, as the table paginations of Carbon and MUI are. The range of rows shown (\"1–20 of 132\") is the status text, not the slot's. It is never Previous and next links, which lead to titled pages and not to the rows of one list. The table places it and does nothing else to it. A fixture's string is drawn as plain text in its place.","fixture":"text"}],"events":[{"name":"sort","description":"The user pressed the header of a sortable column; carries column (the column's value), index (its place among the columns of data, from 0) and direction (ascending or descending: the one asked for, TBL-34). The table changes nothing: the product orders its rows and sets the column's sort."},{"name":"selectionChange","description":"The user changed which rows are chosen — by a row's checkbox or radio button, by a press on the row, by the checkbox for every row, or by an arrow key on a radio button; carries values: the values of the chosen rows after the change, in row order. While selection is single it holds the one chosen row's value."}],"states":["enabled","hovered","focused","pressed","selected","loading"],"behavior":[{"id":"TBL-1","text":"THE table SHALL draw, from top to bottom, its caption where it has one, one header row holding one header cell for each column, its body rows in the order given, and its footer rows after every body row, each row holding one cell for each column in the order of the columns; THE table SHALL be at least as wide as the layout gives it, SHALL draw no fill, no edge, no corner and no elevation of its own around its rows, and SHALL bring no outer space of its own, so that it is spaced by what holds it."},{"id":"TBL-2","text":"THE table SHALL size every column from its content: a column SHALL never be narrower than the widest thing in it that cannot break — a word, a number, a cell of a column whose wrap is false, a component — with the cell's inline paddings; WHILE the columns at those least widths fit the table's box THE table SHALL share the box's width among them in proportion to their content, so that the table fills its box and a column of long text takes what the short columns leave; THE table SHALL NOT give a column a width in a unit of its own, and a width the product gives a column SHALL replace what the content would give it."},{"id":"TBL-3","text":"THE table SHALL wrap the text of a cell inside its column, breaking lines by the rules of the text's language, and SHALL never cut it or end it with an ellipsis; a run with no break opportunity (an identifier, an address) SHALL NOT be broken inside and widens its column instead (TBL-2, TBL-17); WHERE a column's wrap is false THE table SHALL keep every cell of that column, its header cell included, on one line."},{"id":"TBL-4","text":"THE table SHALL pad every cell at the top and bottom by comp.table.cell.padding-block.medium and at the start and end by comp.table.cell.padding-inline.medium at the medium size, and by comp.table.cell.padding-block.small and comp.table.cell.padding-inline.small at the small size, the first and the last cell of a row included; SHALL set a cell's text in comp.table.cell.text.typescale.medium or comp.table.cell.text.typescale.small by size, in comp.table.cell.text.color, with digits in figures of equal width so that the numbers of a column line up; SHALL make a row as tall as its tallest cell and at least the row height of its size (comp.table.row.height.medium for medium and comp.table.row.height.small for small: TBL-63), the header row, a body row, a placeholder row and a footer row alike, so that a row of one-line cells is exactly the row height; and SHALL align the cells of a row to the top, so that the first lines of a row share a baseline."},{"id":"TBL-5","text":"THE table SHALL set a column's header cell in comp.table.header.text.typescale.medium or comp.table.header.text.typescale.small by size, in comp.table.header.text.color, with the paddings of a cell (TBL-4), and SHALL fill the header row with comp.table.header.container.color; the header cells of a row SHALL align to the bottom, so that the last line of each sits next to the data it names. IF every column's header is empty THE table SHALL draw no header row and no line for it, and the table then relies on its row headers (TBL-6)."},{"id":"TBL-6","text":"WHILE rowHeaders is true THE table SHALL treat the first cell of every body row and of every footer row as the header of its row: it SHALL draw that cell in the cell's text style at its emphasized weight — the style's weight plus sys.typescale.emphasis.body — in comp.table.cell.text.color, with a cell's paddings and no fill of its own, and SHALL expose it as a row header (TBL-24); WHILE rowHeaders is false THE table SHALL draw and expose the first column as cells, except that a first cell the product's own content already marks as the header of its row (on the web a th whose scope is row) SHALL be drawn and exposed as one whatever rowHeaders says: rowHeaders adds row headers and takes none away. WHILE selection is multiple or single the first column is the first column of data, after the selection column (TBL-42)."},{"id":"TBL-7","text":"THE table SHALL align the content of every cell of a column, its header cell and its footer cells included, as the column's align names — start: at the start edge of the cell; end: at the end edge, for numbers that are compared digit by digit; center: in the middle, for a mark or a single word that is the same kind of answer in every row — and SHALL align every line of a wrapped cell the same way; a value of align the table does not define SHALL be treated as start."},{"id":"TBL-8","text":"WHILE the table's separation is divider (TBL-9) THE table SHALL draw one line of comp.table.divider.thickness in comp.table.divider.color across its whole width under the header row, between every two rows that follow each other, and between the last body row and the first footer row, without adding to a row's height or moving its content; it SHALL draw no line above the first row or below the last, and no line between columns."},{"id":"TBL-9","text":"THE table SHALL tell a row from the row next to it as its separation names: WHILE separation is auto, as comp.table.separation names, which follows sys.behavior.separation unless a design system sets it apart; WHILE separation is divider or gap, as that value names, whatever the tokens say; divider draws the lines of TBL-8 and gap leaves the space of TBL-10. WHEN separation, or the token it follows, changes THE table SHALL draw the other form at once, without animation, keeping its scroll position; WHEN separation names a value the table does not define THE table SHALL treat it as auto and in debug builds report the unknown value. A platform that cannot draw a choice SHALL fall back to the first value, divider, and state that in its README."},{"id":"TBL-10","text":"WHILE the table's separation is gap (TBL-9) THE table SHALL leave comp.table.row.gap of empty space under the header row, between every two rows that follow each other, and between the last body row and the first footer row, SHALL draw none of the lines of TBL-8, and SHALL leave no such space above the first row or below the last; the rows SHALL stay exposed as rows (TBL-24)."},{"id":"TBL-11","text":"WHILE striped is true THE table SHALL fill every second body row — the second, the fourth and so on, counted among the body rows as they are shown — with comp.table.stripe.container.color across the row's whole width, paddings included, and SHALL fill neither the header row nor a footer row with it; the fill SHALL change nothing else about the row, and the row separation of TBL-9 SHALL be drawn as without it."},{"id":"TBL-12","text":"WHERE caption is not empty THE table SHALL draw it above the header row, at the start edge of the table's box, in comp.table.caption.text.typescale and comp.table.caption.text.color, wrapping inside the box's width, comp.table.caption.gap above the first row; the caption SHALL stay where it is while the columns scroll sideways (TBL-17) and SHALL be the table's accessible name (TBL-23)."},{"id":"TBL-13","text":"WHERE a row's footer is true THE table SHALL draw it after every body row, in the order given, as a footer row: its cells in the cell's text style at its emphasized weight — the style's weight plus sys.typescale.emphasis.body — in comp.table.cell.text.color, aligned as their columns are, never striped, and exposed as rows of the table that follow its body; IF a row whose footer is false is given after a footer row THE table SHALL still draw every body row before every footer row and in debug builds report the order."},{"id":"TBL-14","text":"WHERE a cell has no content THE table SHALL draw nothing in it, keep its place and its paddings so that the cells after it stay in their columns, and expose it as an empty cell; THE table SHALL NOT put a dash, a word or any other mark of its own in it. IF a row holds fewer cells than the table has columns THE table SHALL keep the row's place and its height and leave the places of the missing cells empty at the row's end: a platform that builds its rows SHALL draw them as empty cells, and a platform that draws the product's own rows (the web) SHALL write no cell into them, so that there the row's line and a stripe end at its last cell, and in debug builds SHALL report the row; IF it holds more THE table SHALL draw only as many as it has columns and in debug builds report the row."},{"id":"TBL-15","text":"WHERE a cell holds a component or any content of the product's that is not plain text — a tag, a link, inline code, a button, a picture — THE table SHALL place it by the column's alignment (TBL-7) on the cell's first line, SHALL add nothing to it and style nothing inside it, and SHALL let pointer, touch and keyboard input reach it as it would outside the table, in the reading order of the cells."},{"id":"TBL-16","text":"THE table and its cells SHALL NOT take pointer, touch or keyboard input of their own and SHALL NOT change anything they draw under a pointer, a press or focus, and a row SHALL NOT either except as TBL-58 and TBL-59 say: no row has a focused state, is a stop in the focus order or takes a key; a row that cannot be chosen — every row of a table whose selection is none, the header row, a footer row, a placeholder row and a body row without a value — has no hovered or pressed state and is not pressed as a whole; and a cell is not a stop in the focus order. Four parts of the table take input, each by its own sentences: the header cell of a sortable column, which is a button (TBL-32 to TBL-41); the checkboxes of a table whose selection is multiple, which are the Checkbox component, and the radio buttons of a table whose selection is single, which are the Radio button component (TBL-42 to TBL-47, TBL-60, TBL-61); a body row that can be chosen, which a pointer presses as its checkbox or radio button (TBL-58, TBL-59); and the scroll region while the table scrolls (TBL-22). WHILE no column is sortable and selection is none THE table SHALL emit no event."},{"id":"TBL-17","text":"WHEN the columns at their least widths (TBL-2) are wider than the table's box THE table SHALL keep its box at the width the layout gives it and scroll its columns sideways inside that box, header row, body rows and footer rows together, beginning at the start edge; it SHALL never be wider than its layout and SHALL never make what holds it scroll sideways; a wheel, a trackpad, a drag on a touch screen and the keys of TBL-22 SHALL scroll it."},{"id":"TBL-18","text":"WHERE the layout gives the table less height than its rows need THE table SHALL scroll its rows up and down inside its own box, the caption above them as the first thing in the box, where it MAY scroll away with the rows on a platform whose caption is part of what scrolls (the web's native caption), and the status line staying at the bottom of the box (TBL-51); WHERE the layout sets no such limit THE table SHALL be exactly as tall as its caption and its rows, and SHALL set no height and no number of rows of its own."},{"id":"TBL-19","text":"WHILE stickyHeader is true and the table scrolls its rows in its own box (TBL-18) THE table SHALL keep the header row at the top of that box while the rows pass under it, filled with comp.table.sticky.container.color under comp.table.header.container.color so that nothing shows through it, and SHALL draw a line of comp.table.divider.thickness in comp.table.divider.color under it whatever the separation is while a row is under it; WHILE stickyHeader is false, or the table does not scroll its rows in its own box, THE header row SHALL scroll with the rows."},{"id":"TBL-20","text":"WHILE stickyFirstColumn is true and the table scrolls sideways (TBL-17) THE table SHALL keep the first column — its header cell, its cells and its footer cells — at the start edge of the box while the other columns pass under it, each of its cells filled with comp.table.sticky.container.color under the fill its row gives it (comp.table.header.container.color in the header row, comp.table.stripe.container.color in a striped row), and SHALL draw a line of comp.table.divider.thickness in comp.table.divider.color along its inner edge for the table's whole height while a column is under it; WHILE both stickyHeader and stickyFirstColumn hold THE first header cell SHALL stay above both. IF the first column is wider than half of the table's box THE table SHALL let it scroll with the other columns, so that a narrow window is never filled by the column that stays."},{"id":"TBL-21","text":"WHILE the table scrolls sideways and columns lie beyond an inline edge of its box THE table SHALL draw a line of comp.table.divider.thickness in comp.table.divider.color along that edge of the box for the table's whole height, and SHALL remove it when the scroll reaches that edge; at the start edge of a table whose first column is kept in view the line of TBL-20 is that line. THE table SHALL show that there is more with these lines alone: no shadow, no fade and no color that is not the divider's."},{"id":"TBL-22","text":"WHILE the table scrolls in its own box, sideways or up and down, THE table SHALL make that box one stop in the focus order, before anything in its cells that takes focus, exposed as a region that carries the table's name (TBL-23); WHILE it has keyboard focus the box SHALL draw the system's focus indicator inside its edge — sys.focus.outer-width wide in the color role focus-ring, set in from the edge by sys.focus.offset so that nothing clips it, and never animated — and the arrow keys, Page Up, Page Down, Home and End SHALL scroll it as the platform scrolls a region, the left and right arrow keys moving the view left and right in either layout direction; WHILE the table does not scroll THE table SHALL NOT be a stop in the focus order and SHALL expose no region."},{"id":"TBL-23","text":"THE table SHALL take its accessible name from caption where caption is not empty, and from label otherwise, and SHALL NOT draw label; IF both are empty THE table SHALL be exposed without a name and in debug builds report that a table has no name, and WHILE such a table scrolls in its own box that box SHALL still be a stop in the focus order (TBL-22), exposed as a region without a name, because the keyboard must be able to scroll it; IF both are given THE caption SHALL be the name and label SHALL be ignored."},{"id":"TBL-24","text":"THE table SHALL be exposed to assistive technology as a table with its number of rows and columns, its header cells as column headers, its first cells as row headers while rowHeaders is true, and every cell associated with the header of its column and, where there is one, of its row, so that a person moving cell by cell hears what each value belongs to; a platform that has no table semantics SHALL expose each row as one group in reading order and each cell with its column header before its own content. Keeping a header row or a first column in view, striping, the size and scrolling SHALL change nothing that is exposed."},{"id":"TBL-25","text":"WHEN the table's rows, columns or cells change THE table SHALL draw the new content at once, without a motion, keeping its scroll position where the content it showed still exists, and SHALL NOT announce the change by itself. The one place where the table tells a change is its status line, and what that says is the product's (TBL-52); WHEN rows are replaced because the product ordered or fetched them THE table SHALL keep keyboard focus on the sort button, the checkbox or the radio button that had it, where that control still exists."},{"id":"TBL-26","text":"THE table SHALL take its layout direction from where it is used — the direction of the nearest ancestor that sets one, and the platform's own where none does — and SHALL have no direction setting of its own; WHEN that direction changes while the table is shown THE table SHALL draw itself for the new direction at once, without a motion of its own, keeping its content and the column a person was looking at in view."},{"id":"TBL-27","text":"WHERE the layout direction is right-to-left THE table SHALL lay its columns out from the right, the first column at the right edge; SHALL apply paddings and the alignments start and end by the layout direction; SHALL begin its sideways scroll at the right edge; SHALL keep a first column that stays in view (TBL-20) at the right edge with its line on its left; and SHALL draw the lines of TBL-21 at the edges beyond which columns lie. Top and bottom SHALL NOT change: the header row is the first row and the footer rows the last in either direction."},{"id":"TBL-28","text":"THE table SHALL lay out the text of each cell, of each header cell and of the caption as text of its own direction, isolated from the cells beside it: it takes the base direction of its first strong character, or the layout direction where it has none, so that a left-to-right name, an identifier, a number with its sign, unit or currency, a version and a date keep their own order in a right-to-left layout; THE table SHALL place that text by the column's alignment in the layout direction, not by the text's own, and SHALL NOT reverse the digits of a number: a column of numbers whose align is end is at the left edge of its cells in a right-to-left layout, with its digits written left to right."},{"id":"TBL-29","text":"WHILE the text size is enlarged THE table SHALL grow every text style with it, give up none of its paddings and none of its lines (they MAY grow with the text where the design system's units follow the text size), size its columns again from the larger content (TBL-2), wrap what can wrap and scroll in its own box where the columns no longer fit (TBL-17); it SHALL cut no content, SHALL set no fixed height on a row or a cell, SHALL lose no content when the reader raises line height, paragraph spacing, letter spacing or word spacing, and SHALL need no sideways scrolling of what holds it at a width of 320 points."},{"id":"TBL-30","text":"WHERE the platform draws with a person's own forced colors (the web's forced-colors mode, and a platform's equivalent where it has one) THE table SHALL draw every line of TBL-8, TBL-19, TBL-20 and TBL-21 in the platform's text color and its text in that color, SHALL keep header cells, row headers and footer cells told apart by their text styles, and, because the mode removes fills, SHALL draw the lines of TBL-8 in a striped table whatever its separation is, so that its rows are still told apart."},{"id":"TBL-31","text":"WHEN the size the table draws (TBL-62) names a value that the active design system does not have THE table SHALL render with the default size's tokens, and in debug builds report the unknown value; a size a design system added SHALL be drawn from that size's tokens, as the core values are."},{"id":"TBL-32","text":"WHERE a column's sortable is true and its header is not empty THE table SHALL draw that column's header cell as one button, the sort button: its container is the whole box of the header cell, paddings included, with square corners; it holds the column's header as its label, in the header's text style (TBL-5), and the sort mark — one glyph of the system's icon set in a box of comp.table.header.icon.size, drawn through the icon helper with sys.icon.family.unselected, sys.icon.fill.unselected, the weight comp.table.header.icon.weight and an optical size clamped between sys.icon.optical-size.min and sys.icon.optical-size.max — comp.table.header.gap after the label's box, at the height of the label's last line, so that a header that wraps keeps its mark at the edge of its label rather than after the last word; in a column whose align is end the mark SHALL stand before the label, so that the end of the label stays on the edge its numbers end at. The mark's box SHALL be kept whatever the column's sort is, so that a change of order moves no label and changes no column's width. IF sortable is true and header is empty THE table SHALL draw the column as one that is not sortable and in debug builds report it."},{"id":"TBL-33","text":"THE table SHALL draw the order the product sets and never make one: WHILE a sortable column's sort is none its sort button is the part sort — the label in comp.table.sort.label.color, the glyph swap_vert in comp.table.sort.icon.color, the container in comp.table.sort.container.color; WHILE its sort is ascending or descending it is the part sorted — the label in comp.table.sorted.label.color, the glyph arrow_upward for ascending and arrow_downward for descending in comp.table.sorted.icon.color, the container in comp.table.sorted.container.color. THE table SHALL NOT reorder, compare, filter or hide a row, SHALL NOT change a column's sort itself, and SHALL draw its rows in the order it is given whatever any sort says. WHEN a column's sort changes THE table SHALL draw the other glyph and colors at once, with no motion but that of a state change (TBL-35). IF more than one column's sort is not none THE table SHALL draw each as it is given and in debug builds report it: the rows have one order. A sort on a column whose sortable is false SHALL be ignored."},{"id":"TBL-34","text":"WHEN the user activates a sort button by pointer, touch, Enter or Space THE table SHALL emit sort exactly once, carrying the column's value, its index among the columns of data and the direction asked for — ascending WHILE the column's sort is none or descending, descending WHILE it is ascending — and SHALL change nothing it draws but the answer to the press: the mark, the colors and the rows stay as they are until the product sets sort and gives the rows in their new order. The direction is what the person asked; the product MAY set another, or none. THE table SHALL keep keyboard focus on the sort button through the press and through the change of rows that follows it. WHERE the product gave the control a destination in place of an action (on the web an anchor in the header cell, whose address is the same table in the other order) THE table SHALL emit sort once and then let the platform follow the destination unless the product cancelled the event, and Space SHALL NOT activate it, as it activates no link."},{"id":"TBL-35","text":"WHILE a sort button is hovered, keyboard-focused or pressed THE table SHALL render its container, its label, its mark and its opacity from the component tokens of its part (sort or sorted) in the highest-precedence active state, with precedence pressed over focused over hovered; focus gained by pointer or touch SHALL NOT select the focused state. A change between states SHALL take comp.table.motion.state-duration with comp.table.motion.state-easing and SHALL be immediate where motion is reduced. The state layer SHALL cover the header cell and nothing beside it, and WHILE the header row or the column is kept in view (TBL-19, TBL-20) SHALL be drawn over comp.table.sticky.container.color, so that nothing shows through it."},{"id":"TBL-36","text":"WHEN a sort button receives keyboard focus THE table SHALL show the system's focus indicator inside the edge of its header cell without animation — sys.focus.outer-width wide in the color role focus-ring, set in from the edge by sys.focus.offset so that neither the next cell, the box's edge nor a header kept in view clips it, with the inner stroke of sys.focus.inner-width where the system has one; focus gained by pointer or touch SHALL NOT show it. WHEN keyboard focus moves to a sort button, a checkbox or a radio button that is under a header row, a first column or a status line kept in view, or outside the box, THE table SHALL scroll its box so that the whole control is in view beside them."},{"id":"TBL-37","text":"WHEN a sort button is pressed by pointer, touch, Enter or Space THE table SHALL show the pressed state without delay and SHALL keep it visible for at least sys.motion.duration.press-hold, even when the press ends sooner."},{"id":"TBL-38","text":"WHILE a sort button is pressed THE table SHALL answer as sys.behavior.pressed-feedback names: overlay applies the pressed tokens to the whole container at once; ripple grows the pressed state layer from the point of contact (from the center for keyboard activation); dim applies the pressed opacity to the whole control and draws no state layer; none draws no answer to the press. Under ripple and dim only the container color stays with the state under the press; label, mark and opacity still come from the pressed tokens. Under none every part stays with the state under the press. The ripple grows over comp.table.motion.feedback-duration with comp.table.motion.state-easing, fades over comp.table.motion.state-duration with comp.table.motion.state-easing once the press has ended and press-hold has passed, and appears whole where motion is reduced."},{"id":"TBL-39","text":"THE table SHALL show the keyboard focus of a sort button as sys.behavior.focus-style names (ring or glow); a platform that cannot draw a choice SHALL fall back to the first value and state that in its README. A sort button's container has square corners, the header cell's, so sys.shape.corner-smoothing has nothing to ease on it."},{"id":"TBL-40","text":"THE table SHALL make a sort button's hit area its whole header cell, with no gap to the hit area of the header cell beside it. WHERE input is touch, or the platform cannot tell the input type, a header row that holds a sort button SHALL be at least sys.target.touch high, and for a fine pointer at least sys.target.pointer high, drawn so, at every size, because a header cell cannot extend a hit area over the row under it. A header cell narrower than the target SHALL extend its hit area along the row no further than halfway into the paddings between it and the cell beside it."},{"id":"TBL-41","text":"THE table SHALL expose a sortable column's header cell as the column header it is (TBL-24) with the order its sort names — ascending, descending, or none for a column that can be sorted and is not — and the sort button inside it as a button named by the column's header; the sort mark SHALL be hidden from assistive technology. On the web these are aria-sort on the header cell and the product's own button in it. WHERE a platform has no sort state THE table SHALL say the order after the button's name with sortedAscendingLabel or sortedDescendingLabel, which come from the instance or from the product's words under the keys of the same names and from nowhere else; IF such a platform is given neither, THE table SHALL expose the button by its name alone and in debug builds report the missing word once. THE table SHALL NOT announce an order itself when it changes: the header cell's state says it, and a product that wants it spoken writes it in status (TBL-52)."},{"id":"TBL-42","text":"WHILE selection is multiple or single THE table SHALL draw a selection column before its first column: in the header row a cell holding the checkbox for every row WHILE selection is multiple (TBL-45) and nothing WHILE it is single (TBL-60), in each body row that has a value a cell holding that row's control — a checkbox WHILE selection is multiple, a radio button WHILE it is single — and an empty cell in a body row without a value, in a placeholder row and in a footer row. Each checkbox is the Checkbox component and each radio button the Radio button component, as their own specs draw them, with no label drawn, placed on the cell's first line (TBL-15) with the edge of its box or ring, not of its round container, at the cell's padding, so that the boxes and rings stand on the line the text of the other cells starts at: the selection cell's paddings are a cell's paddings less half of what the control's container exceeds its box by — comp.checkbox.container.size over comp.checkbox.box.size, comp.radio-button.container.size over comp.radio-button.ring.size — (never less than 0), the round container reaching into them, and the column is as wide as the control's container and those paddings. The selection column is not a column of data: it has no header text, the first column of rowHeaders and of stickyFirstColumn is the one after it, and a sort event's index does not count it. WHILE stickyFirstColumn is true the selection column SHALL stay in view with the first column (TBL-20), and the two together are what is released when they would take more than half of the box. WHILE selection is none THE table SHALL draw no such column and no checkbox or radio button, SHALL ignore every row's selected, and SHALL emit no selectionChange."},{"id":"TBL-43","text":"WHILE selection is multiple or single and a body row's selected is true THE table SHALL draw that row as chosen: comp.table.row.selected.container.color across its whole width, paddings and the selection cell included, in place of the stripe of TBL-11 where the row would have one; the text of its cells and of its row header in comp.table.row.selected.text.color; and its checkbox or radio button checked. What a cell holds that is not plain text SHALL keep its own colors (TBL-15). In a column kept in view the fill SHALL lie over comp.table.sticky.container.color. The lines and the gap between rows (TBL-8, TBL-10) SHALL be drawn as without it. The fill SHALL change at once, without a motion of the table's own. A footer row and a placeholder row are never chosen."},{"id":"TBL-44","text":"WHEN the user changes a row's checkbox or radio button — by a press, by Space while it has focus, or, for a radio button, by an arrow key (TBL-61) — THE table SHALL set that row's selected to the control's new state, WHILE selection is single let the row that was chosen go (TBL-60), and emit selectionChange exactly once, carrying the values of every chosen row after the change in row order. A press on the row outside its selection cell presses its control where TBL-58 says so, and this sentence holds for that change as for any other. WHEN the product sets a row's selected THE table SHALL draw it and SHALL NOT emit. THE table SHALL keep which rows are chosen by their values: WHEN rows are given again in another order (TBL-33) each row SHALL be drawn chosen or not by its own selected, and the table SHALL carry no selection over to a row it is not given."},{"id":"TBL-45","text":"WHILE selection is multiple THE table SHALL keep the checkbox for every row in step with the body rows it holds that have a value: checked WHILE each of them is chosen, in its mixed (indeterminate) state WHILE some are and some are not, unchecked WHILE none is, and disabled WHILE there is no such row. WHEN the user activates it while it is unchecked or mixed THE table SHALL choose every such row, and while it is checked SHALL clear every one, and SHALL emit selectionChange exactly once with the values after the change. \"Every row\" is every row the table has been given: it SHALL NOT claim to choose records the product has not given it (the rows of other pages), and a product that offers that says so with a control of its own. WHILE selection is single there is no such checkbox (TBL-60)."},{"id":"TBL-46","text":"THE table SHALL name each row's checkbox or radio button by that row's selectLabel; WHERE selectLabel is empty and rowHeaders is true the control SHALL be named by the text of the row's header cell; IF it has neither THE table SHALL expose the control without a name and in debug builds report the row once per table. WHILE selection is multiple THE table SHALL name the checkbox for every row by selectAllLabel, from the instance or from the product's words under the key selectAllLabel and from nowhere else; IF neither gives it THE table SHALL still draw the checkbox, expose it without a name and in debug builds report the missing word. A table whose selection is multiple or single SHALL still be exposed as a table (TBL-24), its rows as rows and its selection cells as cells: which rows are chosen is said by the checked state of their checkboxes or radio buttons, the header checkbox says checked, mixed or not checked, and the table SHALL add no selected state to a row and no role of a grid."},{"id":"TBL-47","text":"THE table SHALL make each sort button and each checkbox its own stop in the focus order, and the radio buttons of a table whose selection is single one stop together (TBL-61), in reading order — the scroll region first while the table scrolls (TBL-22), then the header row's controls from the start, then each row's checkbox, or the one radio button that is the stop, followed by whatever in that row's cells takes focus — and SHALL handle no key that moves focus from cell to cell: the arrow keys scroll the region or do what the focused control does with them, which for a radio button is TBL-61. A checkbox's or radio button's hit area SHALL be its whole selection cell, in width and in height; for a pointer the rest of its row answers too (TBL-58). WHERE input is touch, or the platform cannot tell the input type, a row that holds a checkbox or a radio button SHALL be at least sys.target.touch high, drawn so, at every size, and its selection cell at least sys.target.touch wide; for a fine pointer the row SHALL be at least sys.target.pointer high, drawn so, at every size, because rows that touch cannot extend a hit area over each other."},{"id":"TBL-48","text":"WHILE the table has no body row, loading is false and the empty slot has content THE table SHALL draw that content in the place of the body rows: under the header row and its line, before any footer row, as wide as the table's box and staying in view while the columns scroll sideways, with comp.table.empty.padding-block above and below it and a cell's inline padding at its sides (TBL-4), with no line, no stripe and no fill of the table's through it. THE table SHALL expose it as one row holding one cell that spans every column, SHALL add no word, glyph or role of its own to it, and SHALL NOT announce it (TBL-25): where a search or a filter emptied the table, the product's Empty state is the live one. WHILE the table has no body row and the empty slot has no content THE table SHALL draw its caption, its header row and its footer rows and nothing between them. WHILE the table has a body row THE table SHALL NOT draw the empty slot's content."},{"id":"TBL-49","text":"WHILE loading is true THE table SHALL be exposed as busy; SHALL draw the rows it is given as they are — the rows it had, or placeholder rows (TBL-50) — and SHALL NOT draw the empty slot's content, even with no body row; SHALL keep its header row, its sort buttons, its checkboxes, its radio buttons and its status line working as without it; SHALL change no color, no opacity and no dimension of its own because of it; and SHALL announce nothing itself when loading begins or ends: the product says it in status (TBL-52). THE table SHALL fetch nothing, wait for nothing and time nothing: loading is true for as long as the product says so."},{"id":"TBL-50","text":"WHERE a row's placeholder is true THE table SHALL draw it as a body row — counted for stripes, parted from its neighbours as TBL-9 says, with a cell's paddings — at least as tall as a body row holding one line of text at the table's size, however little its cells hold; SHALL place in each cell what the product gives it there (a Skeleton, by TBL-15) or nothing; SHALL draw no checkbox or radio button in its selection cell and count it neither as a body row for the header checkbox (TBL-45) nor as a row for the empty slot (TBL-48); and SHALL hide the row from assistive technology, so that a person hears that the table is busy and not a row of nothing. IF a row's placeholder is true while loading is false THE table SHALL draw it all the same and in debug builds report it."},{"id":"TBL-51","text":"WHERE status is not empty or the pagination slot has content THE table SHALL draw a status line under its last row: the status text at the start edge in comp.table.status.text.typescale and comp.table.status.text.color, the pagination slot's content at the end edge, both centered on the line's height, with comp.table.status.padding-block above and below, a cell's inline padding at its sides (TBL-4) and at least comp.table.status.gap between the two; WHERE the two do not fit on one line THE table SHALL put the status text above the pagination, comp.table.status.gap apart, each at the start edge, and the text SHALL wrap and never be cut. The status line SHALL be as wide as the table's box and SHALL stay where it is while the columns scroll sideways (TBL-17). WHILE separation is divider THE table SHALL draw one line of comp.table.divider.thickness in comp.table.divider.color above it. WHILE the table scrolls its rows in its own box (TBL-18) the status line SHALL stay at the bottom of that box while the rows pass under it, filled with comp.table.sticky.container.color, with that line above it whatever the separation is while a row is under it. WHERE status is empty and the slot has no content THE table SHALL draw no status line and leave no room for one."},{"id":"TBL-52","text":"THE table SHALL expose the status text as a status that assistive technology is told of politely WHEN it changes, without moving focus, and SHALL tell it nothing when the text is first drawn with the table. THE table SHALL write no word into it and SHALL count nothing for it: how many rows there are, which of them are shown and how many are chosen are the product's to say, in its own language. THE table SHALL place the content of the pagination slot and SHALL NOT style it, give it keys or listen to it: the table shows the rows it is given, emits nothing about pages, and holds no page number and no page size."},{"id":"TBL-53","text":"WHERE the layout direction is right-to-left THE table SHALL draw the selection column at the right edge, before the first column; SHALL place a sort mark after its label on the left, and before it — on the right — in a column whose align is end; SHALL draw the status text at the right edge of the status line and the pagination at the left; and SHALL keep the selection column and a first column that stay in view at the right (TBL-27). The glyphs swap_vert, arrow_upward and arrow_downward show an order and not a direction of reading, and SHALL NOT be mirrored. The status text SHALL be laid out as text of its own direction (TBL-28)."},{"id":"TBL-54","text":"WHERE the platform draws with a person's own forced colors THE table SHALL draw a sort button's label and mark in the platform's button-text color and its focus indicator in the platform's highlight color, SHALL keep the sorted column told from the others by its glyph alone, and, because the mode removes the fill of a chosen row, SHALL rely on the row's control — its checkbox, which the Checkbox draws checked in that mode, or its radio button, which the Radio button draws selected there — to say that the row is chosen; it SHALL draw the line above a status line kept in view in the platform's text color (TBL-30)."},{"id":"TBL-55","text":"WHILE the text size is enlarged THE table SHALL grow a sort button's label and its mark's box with it, wrap the label inside its column where the column's wrap allows it and keep the mark on the label's last line, grow the status text and wrap it, keep the selection column as wide as its checkbox or radio button and paddings, and lay the status line out in two lines where one no longer fits (TBL-51); nothing of these SHALL be cut, and TBL-29 holds for a table with every one of them at a width of 320 points."},{"id":"TBL-56","text":"WHILE the system's icon set cannot yet draw a sort mark (its font is still loading) THE table SHALL draw nothing in the mark's box, never the glyph's name as text, SHALL keep the box, and SHALL draw the glyph once the set can; the sort button SHALL work all the same."},{"id":"TBL-57","text":"WHERE the platform draws the product's own elements and script does not run (the web) THE table SHALL still draw, from the product's markup alone, everything of TBL-32, TBL-33, TBL-42, TBL-43, TBL-48, TBL-50 and TBL-51 that is drawing: a sort button and the mark of the order the header cell names, the hover, focus and press of the button, the selection column, a chosen row, the empty content, placeholder rows and the status line; a sort button that is an anchor, and checkboxes and radio buttons that are the platform's own inside the product's form, SHALL work as the platform makes them work — radio buttons of one name exclude each other and share one stop without script (TBL-60, TBL-61). What needs script and is then absent: the events, a press on a row outside its checkbox or radio button and the row's hover and press (TBL-58, TBL-59), which are then not drawn, the header checkbox kept in step and choosing every row (TBL-45), the busy state where the product did not write it, keeping focus through a change of rows, and what TBL-22 already loses. Nothing SHALL be hidden that script would have to reveal."},{"id":"TBL-58","text":"WHILE selection is multiple or single, WHEN a body row that can be chosen (it has a value and a checkbox or radio button, TBL-42) is pressed and released outside its selection cell with the primary mouse button, a touch or a pen, without the pointer moving further than the platform's touch slop between the two, THE table SHALL press that row's control exactly as a press on the control does: a checkbox's row is chosen or let go, a radio button's row is chosen where it was not and stays chosen where it was (TBL-60), and selectionChange is emitted once where the choice changed (TBL-44). For a pointer the whole row is the control's hit area, the way a whole card answers a press while the controls inside it keep their own. THE table SHALL NOT press the control IF the press lands on or inside something in a cell that answers a press itself — a link, a button, a field, a select, a label, a summary, an editable element, an element with a tab index, an element with a widget role, a custom element that takes focus, or an element to which the product gave the pointer cursor where the row's own is not (the pointer the row shows for itself does not count) — which keeps its own behaviour; IF the release ends a text selection, that is, the selection is not empty and lies in the row once the press is released; IF the pointer moved further than the slop (a drag, a scroll); IF a modifier key (Control, Command, Shift, Alt or Option) is held or a button other than the primary is used; IF the press is the second or a later press of a multiple click; IF the product cancelled the click; or IF the press lands inside a table nested in a cell, whose rows are its own. A press in the selection cell is the control's (TBL-47). The header row, whose checkbox stands for every row, a footer row, a placeholder row and a body row without a value SHALL take no such press. The row SHALL get no role, no name, no focus stop, no selected state and no announcement of its own: the checkbox or radio button stays the one control of the row, which the keyboard and assistive technology reach as TBL-46, TBL-47 and TBL-61 say, and a press on the row is a larger target for the same action. WHERE the platform's row answers no press (on the web, without the element's script) the row SHALL show neither the pointer cursor nor a state, and a press there SHALL choose nothing."},{"id":"TBL-59","text":"WHILE selection is multiple or single and a fine pointer is over a body row that can be chosen where a press would be its control's — its selection cell, or its cells outside anything that answers a press itself (TBL-58) — THE table SHALL draw that row hovered, as one target — the chosen row of a table whose selection is single too, whose press is its radio button's even though it changes nothing, as the radio button itself answers a hover and a press while it is selected — across its whole width, paddings and the selection cell included: its fill in the hovered container color of the row's condition — selected WHILE the row is chosen, unselected otherwise; the default system mixes comp.table.row.selected.state-layer.color or comp.table.row.unselected.state-layer.color into that condition's resting fill — laid over what the row is filled with at rest (its stripe, the chosen fill, comp.table.sticky.container.color in a column kept in view) and short of the gap of TBL-10; the text of its cells in the hovered text color of its condition; and the pointer cursor. WHILE the pointer is over something in a cell that answers a press itself, that thing SHALL keep its own cursor, hover and press, and the row SHALL be drawn at rest. WHEN such a row is pressed by pointer, touch or pen where TBL-58 or TBL-47 makes the press its control's THE table SHALL draw the row pressed without delay and keep it so for at least sys.motion.duration.press-hold, even when the press ends sooner, answering as sys.behavior.pressed-feedback names: overlay draws the pressed container and text colors of the row's condition across the row; dim applies the table's pressed opacity to the whole row while its fill and text stay with the state under the press; none draws no answer; and ripple, which has no one box to grow in across the cells of a row, answers as overlay. The press SHALL end when the pointer leaves the row, moves further than the slop or is cancelled. The fills SHALL change at once, without a motion of the table's own, as the chosen fill does (TBL-43). The checkbox or radio button SHALL keep its own hover, focus and press; a key that presses it or moves to it SHALL NOT draw the row pressed, and its keyboard focus is shown by the control alone. Under forced colors the row's state fills are gone with the other fills (TBL-54)."},{"id":"TBL-60","text":"WHILE selection is single THE table SHALL let one row at most be chosen: each body row that can be chosen holds a radio button in its selection cell (TBL-42), and the header row's selection cell SHALL hold nothing, because no control stands for every row; IF the product puts a control there THE table SHALL NOT draw it and in debug builds report it. The radio buttons of one table SHALL be one group whose options exclude each other (RAD-3): on the web the radio buttons of one name, the name the product gave them or, for those it gave none, one the table gives them. WHEN the user chooses a row that is not chosen — by a press on its radio button or on the row (TBL-58), by Space, or by an arrow key (TBL-61) — THE table SHALL set that row's selected, let the row that was chosen go, and emit selectionChange exactly once, carrying the value of the chosen row alone. WHEN the user activates the radio button of the chosen row, or presses that row, THE table SHALL keep the row chosen and SHALL NOT emit: a radio button is never cleared by its own activation (RAD-2), and a product that lets a person go back to no row chosen offers a control of its own for that, which clears selected. WHEN the product sets selected THE table SHALL draw it and SHALL NOT emit (TBL-44); IF more than one row says it is chosen THE table SHALL draw chosen the one whose selected the product set last — of several set at once, the first in row order — and let the others go without emitting, and in debug builds report several set at once. IF a body row's selection cell holds a checkbox WHILE selection is single, or a radio button WHILE it is multiple, THE table SHALL treat the row as one that cannot be chosen, SHALL NOT draw that control, and in debug builds report it."},{"id":"TBL-61","text":"WHILE selection is single THE table SHALL expose each row's radio button as a radio, checked or not, named as TBL-46 says, with its position among the table's radio buttons and their number, and SHALL wrap them in no radio group, give a row no selected state and add no role of a grid: a radio group cannot hold the rows of a table, and the table's name and the column the radio buttons stand in say what they choose. THE radio buttons SHALL be one stop in the focus order — the chosen row's, or, while no row is chosen, the first row's that can be chosen — at the place of that row's control in the reading order of TBL-47, and Tab SHALL leave them rather than move between them (RAD-5). WHILE one of them has keyboard focus, Down Arrow and Right Arrow SHALL move focus to the radio button of the next row that can be chosen and Up Arrow and Left Arrow to the previous one's, wrapping from the last to the first, and choose that row as TBL-60 says, with one selectionChange for each key; in a right-to-left layout Left Arrow and Right Arrow SHALL exchange what they do. THE table SHALL scroll its box so that a radio button that receives keyboard focus is in view beside a header row or a status line kept in view (TBL-36), and WHEN rows are given again focus SHALL stay with the radio button of the row of the same value (TBL-25)."},{"id":"TBL-62","text":"WHILE size is set THE table SHALL draw every cell — its paddings, its text and its column header's text — at its own size, whatever a container sets. WHILE size is not set and a container around the table sets a size for what it holds — the nearest such container where several do — THE table SHALL draw every cell at that size, its row heights following the system's height ladder and its paddings the system's spacing as at a size of its own, and at its nearest size where it has none of that name, in the order extra-small, small, medium, large, extra-large, the larger of two as near; WHILE no container around it sets one it SHALL draw medium. A container whose size is not set SHALL pass none. The table's rows and cells are its own and SHALL all be of one size: a row or a cell has no size of its own. THE table SHALL pass no size to what the product places in it — the content of a cell, the empty slot, the status line's pagination, the checkboxes and radio buttons of its rows — which keeps its own, or the size of the containers around the table. WHEN the size it draws changes — its own size set, changed or removed, a container's size set, changed or removed, or the table moved into or out of such a container — THE table SHALL draw every cell at the new size at once, without a motion, keeping its scroll position, the chosen rows and focus."},{"id":"TBL-63","text":"WHEN the control height (dial.control.height) is N THE table's default row SHALL be N tall: every row of a medium table — the header row, a body row, a placeholder row and a footer row — SHALL be at least comp.table.row.height.medium, which is sys.control.height.medium, and of a small table at least comp.table.row.height.small, the small step, and taller where a cell's content needs more; a cell's block padding SHALL give up half of what its row height loses below the control height's reference, so that a row of one-line cells is exactly the row height; and a row that holds a control SHALL still be held up by the pointer and touch targets where they are taller (TBL-40, TBL-47)."}],"accessibility":{"role":"table","keyboard":[{"keys":"Tab","action":"Moves focus to the table's box while the table scrolls in it; then to each sortable column's header button, in reading order; then, row by row, to the row's checkbox where rows can be chosen — where one row at most is chosen, once to the chosen row's radio button, or the first row's while none is — and to whatever in its cells takes focus. A table that does not scroll, sorts nothing and selects nothing is not a stop."},{"keys":"Enter / Space","action":"On a sortable column's header: asks for the rows in that column's order — ascending, or descending where they already ascend by it. Where the header is a link, Enter alone."},{"keys":"Space","action":"On a row's checkbox: chooses the row or lets it go. On the header row's checkbox: chooses every row, or lets every row go where all are chosen. On a row's radio button: chooses the row where it is not chosen; on the chosen row's, nothing."},{"keys":"Arrow keys","action":"On a row's radio button: move to the next row's radio button (Down, and Right in a left-to-right layout) or the previous one's, wrapping, and choose that row. While the box has focus: scroll it. Left and right move the view left and right in either layout direction."},{"keys":"Page Up / Page Down, Home / End","action":"While the box has focus: scroll it by a page, or to its beginning or end, as the platform scrolls a region."}],"labeling":"The table is named by its caption, or by label where no caption is drawn (TBL-23). Header cells name their columns and, while rowHeaders is true, first cells name their rows; every cell is associated with both (TBL-24). While the table scrolls in its own box, that box is a region with the same name, so that a person who reaches it by keyboard hears what scrolls. A sortable column's button is named by the column's header, and the header cell carries the order (TBL-41). A row's checkbox or radio button is named by selectLabel, or by the row's header; the header row's checkbox by selectAllLabel (TBL-46). The radio buttons of a table are not wrapped in a radio group: each is exposed with its position among them (TBL-61). The status line is the product's sentence, told politely when it changes (TBL-52).","minimumTarget":true,"notes":["The table, its cells and every row that cannot be chosen take no input (TBL-16). What does — a sortable column's header, the checkboxes, a row that can be chosen (for a pointer), the scroll box — is a control, a larger target for one, or a region: a header's hit area is its whole cell and a checkbox's its whole selection cell, each drawn at least the touch target high for touch and the pointer target high for a fine pointer at every size (TBL-40, TBL-47), because rows that touch cannot reach past each other. In the default system both are the minimum target, which a small row that holds a control is held at; a small row that holds none is as low as its text and paddings make it, since nothing in it is pressed. What is pressable inside a cell (a link, a button) meets the minimum target by its own spec.","A table is for data that has rows and columns. Do not use it to place things side by side: assistive technology announces rows, columns and headers for every cell, which is noise around content that is not tabular. Use the layout.","Give every table a name (WCAG 1.3.1, 4.1.2): a caption that everyone sees is best; label is for a table whose heading already names it. A table that scrolls and has no name is a focus stop a person cannot tell from any other, so debug builds report it (TBL-23).","Header cells are structure, not style (WCAG 1.3.1). Every column has a header cell unless the table has no header row at all; rowHeaders is true whenever the first column says what each row is. A table with two levels of column headers, or cells that span columns or rows, is outside this spec: split it.","A scrolling box must be reachable and operable by keyboard (WCAG 2.1.1) and its focus must be visible (2.4.7): TBL-22. It is a stop only while it scrolls, so short tables add nothing to the focus order.","Reflow (WCAG 1.4.10) exempts data tables from two-dimensional scrolling, and the table uses that exemption carefully: only its own box scrolls sideways, never the page (TBL-17, TBL-29), and a first column that stays in view is released on a narrow window (TBL-20).","Meaning never rests on color: stripes are an aid to the eye and say nothing; a status in a cell is a word, or a tag whose label says it. An empty cell is exposed as empty (TBL-14); where the absence itself is information (\"not available\", \"none\"), write it in the cell.","Contrast in the default system: cell text is on-surface and header text on-surface-variant, each held to 4.5:1 on every surface and container step by the token invariants, the stripe included. The lines are decorative: rows, headers and the region are exposed without them.","Alignment end for numbers is for sighted comparison only; it changes nothing that is exposed. Text is never justified and never centred except in a column the product sets to center.","A table with checkboxes stays a table (TBL-46). The grid pattern — one stop for the whole table, arrow keys from cell to cell — is for a sheet whose cells are edited or acted on; it takes over the keys a screen reader uses to read a table, it would replace the roles of the product's own table on the web, and it cannot work without script. The price of staying a table is one Tab stop for each row's checkbox, which pagination keeps to a page of rows.","Where a person chooses one record — the plan to change to, the address to ship to, the build to compare against — selection is single, and the selection column holds a radio button, as the single selection of Carbon's data table and of Ant Design's table does: a radio says that the choices exclude each other, and that one is answered once it is (TBL-60). A radio is never cleared by its own activation (HTML, WAI-ARIA APG radio group), so the table offers no way back to none: a product that needs it gives a control of its own. The radio buttons share one name and so behave as one radio group — one Tab stop, the arrow keys move the choice (TBL-61) — which also keeps a page of rows to one stop where checkboxes would be one each. They are not wrapped in an element of the radio group role, which cannot hold the rows of a table; each radio is heard with its row's name, its state and its position (\"Select Kettle, radio button, checked, 3 of 4\"), inside the table's name. The grid alternative, rows that carry aria-selected (React Aria's table, single selection mode), is declined for the reasons above.","A press anywhere on a row that can be chosen presses its checkbox or radio button (TBL-58), as a press on a card or on a list item that can be chosen does: a larger target for a pointer (WCAG 2.5.8), not a second control. The row gets no role, no tab index and no selected state — ARIA allows aria-selected on a row only inside a grid or a treegrid — so that the keyboard and assistive technology meet the one control the row has, its named checkbox or radio button, and lose nothing. What a cell holds that answers a press (a link, a button, a field) keeps it, and a drag that selects text chooses nothing, so the text of a table can still be selected and copied.","Sorting is asked for and shown, never done, by the table (TBL-33, TBL-34): the header cell says the order (WCAG 1.3.1, 4.1.2) and the mark repeats it to the eye without relying on color (1.4.1). One column is sorted at a time.","A chosen row is said by its checkbox or radio button, checked; the fill is the same fact for the eye and is not relied on (WCAG 1.4.1), which is also what is left in forced colors (TBL-54). In the default system the text of a chosen row is on-secondary-container on a layer of that color over the surface, the pair a selected list item and a selected tree row are drawn in, held to 4.5:1 by the token invariants, and the fill stands 1.1:1 at least from a hovered row; the contrast of what a cell holds beside plain text on that fill is its own component's.","Status messages (WCAG 4.1.3): the table announces nothing itself (TBL-25) and gives the product one polite place to say what changed — rows found, rows chosen, loading and loaded (TBL-52). An Empty state in the empty slot that answers a search or a filter is live by its own spec.","While loading, the table is busy and placeholder rows are hidden (TBL-49, TBL-50), so that a person does not walk through rows of nothing. Do not take the rows a person was reading away for a spinner where they can stay.","Focus is never lost to a change of rows (TBL-25) and a focused control is never left under a part kept in view (TBL-36; WCAG 2.4.11)."]},"tokens":"comp.table","fixtures":[{"id":"basic","props":{"caption":"Button sizes"},"items":[{"kind":"column","props":{"header":"Size"}},{"kind":"column","props":{"header":"Height","align":"end","wrap":false}},{"kind":"column","props":{"header":"Use"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Small"},{"kind":"cell","props":{},"content":"32"},{"kind":"cell","props":{},"content":"Toolbars and dense forms"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Medium"},{"kind":"cell","props":{},"content":"40"},{"kind":"cell","props":{},"content":"Most screens"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Large"},{"kind":"cell","props":{},"content":"48"},{"kind":"cell","props":{},"content":"The one action a screen is for"}]}]},{"id":"label-only","props":{"label":"Button sizes"},"items":[{"kind":"column","props":{"header":"Size"}},{"kind":"column","props":{"header":"Height","align":"end","wrap":false}},{"kind":"column","props":{"header":"Use"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Small"},{"kind":"cell","props":{},"content":"32"},{"kind":"cell","props":{},"content":"Toolbars and dense forms"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Medium"},{"kind":"cell","props":{},"content":"40"},{"kind":"cell","props":{},"content":"Most screens"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Large"},{"kind":"cell","props":{},"content":"48"},{"kind":"cell","props":{},"content":"The one action a screen is for"}]}]},{"id":"long-cells","props":{"label":"Properties of the button"},"items":[{"kind":"column","props":{"header":"Property","wrap":false}},{"kind":"column","props":{"header":"Type","wrap":false}},{"kind":"column","props":{"header":"Default","wrap":false}},{"kind":"column","props":{"header":"Description"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"label"},{"kind":"cell","props":{},"content":"string"},{"kind":"cell","props":{},"content":"\"\""},{"kind":"cell","props":{},"content":"What the button says. It is also the name assistive technology reads, so it names the action and not the place the button is in."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"variant"},{"kind":"cell","props":{},"content":"filled | tonal | outlined | text"},{"kind":"cell","props":{},"content":"filled"},{"kind":"cell","props":{},"content":"How much the button weighs among its neighbours. One filled button per group of actions; the others are quieter, in the order a person is likely to need them."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"disabled"},{"kind":"cell","props":{},"content":"boolean"},{"kind":"cell","props":{},"content":"false"},{"kind":"cell","props":{},"content":"Draws the button as unavailable and takes it out of the focus order."}]}]},{"id":"requirements","props":{"label":"Requirements of the checkout"},"items":[{"kind":"column","props":{"header":"Id","wrap":false}},{"kind":"column","props":{"header":"Requirement"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"ORD-1"},{"kind":"cell","props":{},"content":"WHEN the person confirms an order THE checkout SHALL show its number and the day it is expected to arrive, and SHALL keep both on the screen until the person leaves it."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"ORD-2"},{"kind":"cell","props":{},"content":"IF the payment is refused THE checkout SHALL keep everything the person entered, say which part was refused and why in a sentence beside that part, and move focus to it."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"ORD-3"},{"kind":"cell","props":{},"content":"WHILE an order is being sent THE checkout SHALL show progress in place of the confirm action and SHALL NOT accept a second confirmation."}]}]},{"id":"totals","props":{"caption":"Components by status and platform","rowHeaders":true},"items":[{"kind":"column","props":{"header":"Status"}},{"kind":"column","props":{"header":"Web","align":"end","wrap":false}},{"kind":"column","props":{"header":"SwiftUI","align":"end","wrap":false}},{"kind":"column","props":{"header":"Compose","align":"end","wrap":false}},{"kind":"column","props":{"header":"Flutter","align":"end","wrap":false}},{"kind":"column","props":{"header":"React Native","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Planned"},{"kind":"cell","props":{},"content":"2"},{"kind":"cell","props":{},"content":"6"},{"kind":"cell","props":{},"content":"6"},{"kind":"cell","props":{},"content":"6"},{"kind":"cell","props":{},"content":"6"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Alpha"},{"kind":"cell","props":{},"content":"31"},{"kind":"cell","props":{},"content":"30"},{"kind":"cell","props":{},"content":"30"},{"kind":"cell","props":{},"content":"29"},{"kind":"cell","props":{},"content":"30"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Beta"},{"kind":"cell","props":{},"content":"4"},{"kind":"cell","props":{},"content":"1"},{"kind":"cell","props":{},"content":"1"},{"kind":"cell","props":{},"content":"2"},{"kind":"cell","props":{},"content":"1"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Stable"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"0"}]},{"kind":"row","props":{"footer":true},"items":[{"kind":"cell","props":{},"content":"Total"},{"kind":"cell","props":{},"content":"37"},{"kind":"cell","props":{},"content":"37"},{"kind":"cell","props":{},"content":"37"},{"kind":"cell","props":{},"content":"37"},{"kind":"cell","props":{},"content":"37"}]}]},{"id":"no-header","props":{"label":"Accessibility of the button","rowHeaders":true},"items":[{"kind":"column","props":{"header":""}},{"kind":"column","props":{"header":""}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Role"},{"kind":"cell","props":{},"content":"button"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Name"},{"kind":"cell","props":{},"content":"The label, or the accessible label of a button that shows only a glyph."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Minimum target"},{"kind":"cell","props":{},"content":"48 by 48 for touch, 44 by 44 for a pointer"}]}]},{"id":"empty-cells","props":{"caption":"Orders this week"},"items":[{"kind":"column","props":{"header":"Order","wrap":false}},{"kind":"column","props":{"header":"Placed","wrap":false}},{"kind":"column","props":{"header":"Shipped","wrap":false}},{"kind":"column","props":{"header":"Note"}},{"kind":"column","props":{"header":"Total","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"A-1042"},{"kind":"cell","props":{},"content":"3 March"},{"kind":"cell","props":{},"content":"4 March"},{"kind":"cell","props":{}},{"kind":"cell","props":{},"content":"128.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"A-1043"},{"kind":"cell","props":{},"content":"3 March"},{"kind":"cell","props":{}},{"kind":"cell","props":{},"content":"Waiting for stock"},{"kind":"cell","props":{},"content":"64.50"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"A-1044"},{"kind":"cell","props":{},"content":"4 March"},{"kind":"cell","props":{}},{"kind":"cell","props":{}},{"kind":"cell","props":{},"content":"9.90"}]}]},{"id":"tags","props":{"caption":"Status by platform","rowHeaders":true},"items":[{"kind":"column","props":{"header":"Component"}},{"kind":"column","props":{"header":"Category"}},{"kind":"column","props":{"header":"Web","wrap":false}},{"kind":"column","props":{"header":"SwiftUI","wrap":false}},{"kind":"column","props":{"header":"Compose","wrap":false}},{"kind":"column","props":{"header":"Flutter","wrap":false}},{"kind":"column","props":{"header":"React Native","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Button"},{"kind":"cell","props":{},"content":"Actions"},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Stable","variant":"tonal","status":"success"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Beta"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Beta"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Alpha"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Alpha"}}]}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Checkbox"},{"kind":"cell","props":{},"content":"Selection"},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Beta"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Alpha"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Alpha"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Alpha"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Planned","variant":"outlined"}}]}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Table"},{"kind":"cell","props":{},"content":"Containment"},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Planned","variant":"outlined"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Planned","variant":"outlined"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Planned","variant":"outlined"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Planned","variant":"outlined"}}]},{"kind":"cell","props":{},"items":[{"kind":"tag","props":{"size":"small","label":"Planned","variant":"outlined"}}]}]}]},{"id":"centered","props":{"caption":"What each plan includes","rowHeaders":true},"items":[{"kind":"column","props":{"header":"Feature"}},{"kind":"column","props":{"header":"Free","align":"center","wrap":false}},{"kind":"column","props":{"header":"Team","align":"center","wrap":false}},{"kind":"column","props":{"header":"Enterprise","align":"center","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Projects"},{"kind":"cell","props":{},"content":"3"},{"kind":"cell","props":{},"content":"50"},{"kind":"cell","props":{},"content":"No limit"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Shared libraries"},{"kind":"cell","props":{}},{"kind":"cell","props":{},"content":"Included"},{"kind":"cell","props":{},"content":"Included"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Single sign-on"},{"kind":"cell","props":{}},{"kind":"cell","props":{}},{"kind":"cell","props":{},"content":"Included"}]}]},{"id":"mapping","props":{"label":"Names on each platform","rowHeaders":true},"items":[{"kind":"column","props":{"header":"In the spec","wrap":false}},{"kind":"column","props":{"header":"Web","wrap":false}},{"kind":"column","props":{"header":"SwiftUI","wrap":false}},{"kind":"column","props":{"header":"Compose","wrap":false}},{"kind":"column","props":{"header":"Flutter","wrap":false}},{"kind":"column","props":{"header":"React Native","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"The component"},{"kind":"cell","props":{},"content":"tanrei-button"},{"kind":"cell","props":{},"content":"TanreiButton"},{"kind":"cell","props":{},"content":"TanreiButton"},{"kind":"cell","props":{},"content":"TanreiButton"},{"kind":"cell","props":{},"content":"Button"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"label"},{"kind":"cell","props":{},"content":"label"},{"kind":"cell","props":{},"content":"title"},{"kind":"cell","props":{},"content":"label"},{"kind":"cell","props":{},"content":"label"},{"kind":"cell","props":{},"content":"label"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"disabled"},{"kind":"cell","props":{},"content":"disabled"},{"kind":"cell","props":{},"content":".disabled(_:)"},{"kind":"cell","props":{},"content":"enabled"},{"kind":"cell","props":{},"content":"onPressed: null"},{"kind":"cell","props":{},"content":"disabled"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"click"},{"kind":"cell","props":{},"content":"click"},{"kind":"cell","props":{},"content":"action"},{"kind":"cell","props":{},"content":"onClick"},{"kind":"cell","props":{},"content":"onPressed"},{"kind":"cell","props":{},"content":"onPress"}]}]},{"id":"small","props":{"caption":"Button sizes","size":"small"},"items":[{"kind":"column","props":{"header":"Size"}},{"kind":"column","props":{"header":"Height","align":"end","wrap":false}},{"kind":"column","props":{"header":"Use"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Small"},{"kind":"cell","props":{},"content":"32"},{"kind":"cell","props":{},"content":"Toolbars and dense forms"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Medium"},{"kind":"cell","props":{},"content":"40"},{"kind":"cell","props":{},"content":"Most screens"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Large"},{"kind":"cell","props":{},"content":"48"},{"kind":"cell","props":{},"content":"The one action a screen is for"}]}]},{"id":"small-tokens","props":{"label":"Tokens of the table","size":"small"},"items":[{"kind":"column","props":{"header":"Token","wrap":false}},{"kind":"column","props":{"header":"Aliases","wrap":false}},{"kind":"column","props":{"header":"Type","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.separation"},{"kind":"cell","props":{},"content":"sys.behavior.separation"},{"kind":"cell","props":{},"content":"number"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.divider.color"},{"kind":"cell","props":{},"content":"sys.color.outline-variant"},{"kind":"cell","props":{},"content":"color"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.divider.thickness"},{"kind":"cell","props":{},"content":"sys.border.hairline"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.row.gap"},{"kind":"cell","props":{},"content":"sys.space.space50"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.cell.padding-block.medium"},{"kind":"cell","props":{},"content":"sys.space.space150"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.cell.padding-block.small"},{"kind":"cell","props":{},"content":"sys.space.space75"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.cell.padding-inline.medium"},{"kind":"cell","props":{},"content":"sys.space.space200"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.cell.padding-inline.small"},{"kind":"cell","props":{},"content":"sys.space.space150"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.cell.text.color"},{"kind":"cell","props":{},"content":"sys.color.on-surface"},{"kind":"cell","props":{},"content":"color"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.header.text.color"},{"kind":"cell","props":{},"content":"sys.color.on-surface-variant"},{"kind":"cell","props":{},"content":"color"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.sticky.container.color"},{"kind":"cell","props":{},"content":"sys.color.surface"},{"kind":"cell","props":{},"content":"color"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.stripe.container.color"},{"kind":"cell","props":{},"content":"sys.color.surface-container-low"},{"kind":"cell","props":{},"content":"color"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.caption.gap"},{"kind":"cell","props":{},"content":"sys.space.space100"},{"kind":"cell","props":{},"content":"dimension"}]}]},{"id":"striped","props":{"caption":"Visits by region","striped":true,"rowHeaders":true},"items":[{"kind":"column","props":{"header":"Region","wrap":false}},{"kind":"column","props":{"header":"January","align":"end","wrap":false}},{"kind":"column","props":{"header":"February","align":"end","wrap":false}},{"kind":"column","props":{"header":"March","align":"end","wrap":false}},{"kind":"column","props":{"header":"April","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Northern region"},{"kind":"cell","props":{},"content":"1,204"},{"kind":"cell","props":{},"content":"1,310"},{"kind":"cell","props":{},"content":"1,288"},{"kind":"cell","props":{},"content":"1,402"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Central region"},{"kind":"cell","props":{},"content":"3,020"},{"kind":"cell","props":{},"content":"2,985"},{"kind":"cell","props":{},"content":"3,110"},{"kind":"cell","props":{},"content":"3,204"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Southern region"},{"kind":"cell","props":{},"content":"870"},{"kind":"cell","props":{},"content":"902"},{"kind":"cell","props":{},"content":"915"},{"kind":"cell","props":{},"content":"899"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Coastal region"},{"kind":"cell","props":{},"content":"1,540"},{"kind":"cell","props":{},"content":"1,522"},{"kind":"cell","props":{},"content":"1,610"},{"kind":"cell","props":{},"content":"1,655"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Islands"},{"kind":"cell","props":{},"content":"212"},{"kind":"cell","props":{},"content":"220"},{"kind":"cell","props":{},"content":"198"},{"kind":"cell","props":{},"content":"240"}]}]},{"id":"striped-small-tokens","props":{"label":"Tokens of the table","size":"small","striped":true},"items":[{"kind":"column","props":{"header":"Token","wrap":false}},{"kind":"column","props":{"header":"Aliases","wrap":false}},{"kind":"column","props":{"header":"Type","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.separation"},{"kind":"cell","props":{},"content":"sys.behavior.separation"},{"kind":"cell","props":{},"content":"number"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.divider.color"},{"kind":"cell","props":{},"content":"sys.color.outline-variant"},{"kind":"cell","props":{},"content":"color"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.divider.thickness"},{"kind":"cell","props":{},"content":"sys.border.hairline"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.row.gap"},{"kind":"cell","props":{},"content":"sys.space.space50"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.cell.padding-block.medium"},{"kind":"cell","props":{},"content":"sys.space.space150"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.cell.padding-block.small"},{"kind":"cell","props":{},"content":"sys.space.space75"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.cell.padding-inline.medium"},{"kind":"cell","props":{},"content":"sys.space.space200"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.cell.padding-inline.small"},{"kind":"cell","props":{},"content":"sys.space.space150"},{"kind":"cell","props":{},"content":"dimension"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.cell.text.color"},{"kind":"cell","props":{},"content":"sys.color.on-surface"},{"kind":"cell","props":{},"content":"color"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.header.text.color"},{"kind":"cell","props":{},"content":"sys.color.on-surface-variant"},{"kind":"cell","props":{},"content":"color"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.sticky.container.color"},{"kind":"cell","props":{},"content":"sys.color.surface"},{"kind":"cell","props":{},"content":"color"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.stripe.container.color"},{"kind":"cell","props":{},"content":"sys.color.surface-container-low"},{"kind":"cell","props":{},"content":"color"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"comp.table.caption.gap"},{"kind":"cell","props":{},"content":"sys.space.space100"},{"kind":"cell","props":{},"content":"dimension"}]}]},{"id":"separation-divider","props":{"caption":"Button sizes","separation":"divider"},"items":[{"kind":"column","props":{"header":"Size"}},{"kind":"column","props":{"header":"Height","align":"end","wrap":false}},{"kind":"column","props":{"header":"Use"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Small"},{"kind":"cell","props":{},"content":"32"},{"kind":"cell","props":{},"content":"Toolbars and dense forms"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Medium"},{"kind":"cell","props":{},"content":"40"},{"kind":"cell","props":{},"content":"Most screens"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Large"},{"kind":"cell","props":{},"content":"48"},{"kind":"cell","props":{},"content":"The one action a screen is for"}]}]},{"id":"separation-gap","props":{"caption":"Button sizes","separation":"gap"},"items":[{"kind":"column","props":{"header":"Size"}},{"kind":"column","props":{"header":"Height","align":"end","wrap":false}},{"kind":"column","props":{"header":"Use"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Small"},{"kind":"cell","props":{},"content":"32"},{"kind":"cell","props":{},"content":"Toolbars and dense forms"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Medium"},{"kind":"cell","props":{},"content":"40"},{"kind":"cell","props":{},"content":"Most screens"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Large"},{"kind":"cell","props":{},"content":"48"},{"kind":"cell","props":{},"content":"The one action a screen is for"}]}]},{"id":"separation-gap-striped","props":{"caption":"Orders this week","separation":"gap","striped":true},"items":[{"kind":"column","props":{"header":"Order","wrap":false}},{"kind":"column","props":{"header":"Placed","wrap":false}},{"kind":"column","props":{"header":"Shipped","wrap":false}},{"kind":"column","props":{"header":"Note"}},{"kind":"column","props":{"header":"Total","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"A-1042"},{"kind":"cell","props":{},"content":"3 March"},{"kind":"cell","props":{},"content":"4 March"},{"kind":"cell","props":{}},{"kind":"cell","props":{},"content":"128.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"A-1043"},{"kind":"cell","props":{},"content":"3 March"},{"kind":"cell","props":{}},{"kind":"cell","props":{},"content":"Waiting for stock"},{"kind":"cell","props":{},"content":"64.50"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"A-1044"},{"kind":"cell","props":{},"content":"4 March"},{"kind":"cell","props":{}},{"kind":"cell","props":{}},{"kind":"cell","props":{},"content":"9.90"}]}]},{"id":"wide","props":{"caption":"Visits by region"},"items":[{"kind":"column","props":{"header":"Region","wrap":false}},{"kind":"column","props":{"header":"January","align":"end","wrap":false}},{"kind":"column","props":{"header":"February","align":"end","wrap":false}},{"kind":"column","props":{"header":"March","align":"end","wrap":false}},{"kind":"column","props":{"header":"April","align":"end","wrap":false}},{"kind":"column","props":{"header":"May","align":"end","wrap":false}},{"kind":"column","props":{"header":"June","align":"end","wrap":false}},{"kind":"column","props":{"header":"July","align":"end","wrap":false}},{"kind":"column","props":{"header":"August","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Northern region"},{"kind":"cell","props":{},"content":"1,204"},{"kind":"cell","props":{},"content":"1,310"},{"kind":"cell","props":{},"content":"1,288"},{"kind":"cell","props":{},"content":"1,402"},{"kind":"cell","props":{},"content":"1,396"},{"kind":"cell","props":{},"content":"1,450"},{"kind":"cell","props":{},"content":"1,512"},{"kind":"cell","props":{},"content":"1,498"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Central region"},{"kind":"cell","props":{},"content":"3,020"},{"kind":"cell","props":{},"content":"2,985"},{"kind":"cell","props":{},"content":"3,110"},{"kind":"cell","props":{},"content":"3,204"},{"kind":"cell","props":{},"content":"3,190"},{"kind":"cell","props":{},"content":"3,275"},{"kind":"cell","props":{},"content":"3,301"},{"kind":"cell","props":{},"content":"3,342"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Southern region"},{"kind":"cell","props":{},"content":"870"},{"kind":"cell","props":{},"content":"902"},{"kind":"cell","props":{},"content":"915"},{"kind":"cell","props":{},"content":"899"},{"kind":"cell","props":{},"content":"940"},{"kind":"cell","props":{},"content":"968"},{"kind":"cell","props":{},"content":"1,002"},{"kind":"cell","props":{},"content":"1,011"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Coastal region"},{"kind":"cell","props":{},"content":"1,540"},{"kind":"cell","props":{},"content":"1,522"},{"kind":"cell","props":{},"content":"1,610"},{"kind":"cell","props":{},"content":"1,655"},{"kind":"cell","props":{},"content":"1,702"},{"kind":"cell","props":{},"content":"1,698"},{"kind":"cell","props":{},"content":"1,760"},{"kind":"cell","props":{},"content":"1,794"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Islands"},{"kind":"cell","props":{},"content":"212"},{"kind":"cell","props":{},"content":"220"},{"kind":"cell","props":{},"content":"198"},{"kind":"cell","props":{},"content":"240"},{"kind":"cell","props":{},"content":"251"},{"kind":"cell","props":{},"content":"263"},{"kind":"cell","props":{},"content":"270"},{"kind":"cell","props":{},"content":"268"}]},{"kind":"row","props":{"footer":true},"items":[{"kind":"cell","props":{},"content":"All regions"},{"kind":"cell","props":{},"content":"6,846"},{"kind":"cell","props":{},"content":"6,939"},{"kind":"cell","props":{},"content":"7,121"},{"kind":"cell","props":{},"content":"7,400"},{"kind":"cell","props":{},"content":"7,479"},{"kind":"cell","props":{},"content":"7,654"},{"kind":"cell","props":{},"content":"7,845"},{"kind":"cell","props":{},"content":"7,913"}]}]},{"id":"wide-sticky-column","props":{"caption":"Visits by region","rowHeaders":true,"stickyFirstColumn":true},"items":[{"kind":"column","props":{"header":"Region","wrap":false}},{"kind":"column","props":{"header":"January","align":"end","wrap":false}},{"kind":"column","props":{"header":"February","align":"end","wrap":false}},{"kind":"column","props":{"header":"March","align":"end","wrap":false}},{"kind":"column","props":{"header":"April","align":"end","wrap":false}},{"kind":"column","props":{"header":"May","align":"end","wrap":false}},{"kind":"column","props":{"header":"June","align":"end","wrap":false}},{"kind":"column","props":{"header":"July","align":"end","wrap":false}},{"kind":"column","props":{"header":"August","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Northern region"},{"kind":"cell","props":{},"content":"1,204"},{"kind":"cell","props":{},"content":"1,310"},{"kind":"cell","props":{},"content":"1,288"},{"kind":"cell","props":{},"content":"1,402"},{"kind":"cell","props":{},"content":"1,396"},{"kind":"cell","props":{},"content":"1,450"},{"kind":"cell","props":{},"content":"1,512"},{"kind":"cell","props":{},"content":"1,498"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Central region"},{"kind":"cell","props":{},"content":"3,020"},{"kind":"cell","props":{},"content":"2,985"},{"kind":"cell","props":{},"content":"3,110"},{"kind":"cell","props":{},"content":"3,204"},{"kind":"cell","props":{},"content":"3,190"},{"kind":"cell","props":{},"content":"3,275"},{"kind":"cell","props":{},"content":"3,301"},{"kind":"cell","props":{},"content":"3,342"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Southern region"},{"kind":"cell","props":{},"content":"870"},{"kind":"cell","props":{},"content":"902"},{"kind":"cell","props":{},"content":"915"},{"kind":"cell","props":{},"content":"899"},{"kind":"cell","props":{},"content":"940"},{"kind":"cell","props":{},"content":"968"},{"kind":"cell","props":{},"content":"1,002"},{"kind":"cell","props":{},"content":"1,011"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Coastal region"},{"kind":"cell","props":{},"content":"1,540"},{"kind":"cell","props":{},"content":"1,522"},{"kind":"cell","props":{},"content":"1,610"},{"kind":"cell","props":{},"content":"1,655"},{"kind":"cell","props":{},"content":"1,702"},{"kind":"cell","props":{},"content":"1,698"},{"kind":"cell","props":{},"content":"1,760"},{"kind":"cell","props":{},"content":"1,794"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Islands"},{"kind":"cell","props":{},"content":"212"},{"kind":"cell","props":{},"content":"220"},{"kind":"cell","props":{},"content":"198"},{"kind":"cell","props":{},"content":"240"},{"kind":"cell","props":{},"content":"251"},{"kind":"cell","props":{},"content":"263"},{"kind":"cell","props":{},"content":"270"},{"kind":"cell","props":{},"content":"268"}]},{"kind":"row","props":{"footer":true},"items":[{"kind":"cell","props":{},"content":"All regions"},{"kind":"cell","props":{},"content":"6,846"},{"kind":"cell","props":{},"content":"6,939"},{"kind":"cell","props":{},"content":"7,121"},{"kind":"cell","props":{},"content":"7,400"},{"kind":"cell","props":{},"content":"7,479"},{"kind":"cell","props":{},"content":"7,654"},{"kind":"cell","props":{},"content":"7,845"},{"kind":"cell","props":{},"content":"7,913"}]}]},{"id":"wide-sticky-column-striped","props":{"caption":"Visits by region","rowHeaders":true,"stickyFirstColumn":true,"striped":true,"size":"small"},"items":[{"kind":"column","props":{"header":"Region","wrap":false}},{"kind":"column","props":{"header":"January","align":"end","wrap":false}},{"kind":"column","props":{"header":"February","align":"end","wrap":false}},{"kind":"column","props":{"header":"March","align":"end","wrap":false}},{"kind":"column","props":{"header":"April","align":"end","wrap":false}},{"kind":"column","props":{"header":"May","align":"end","wrap":false}},{"kind":"column","props":{"header":"June","align":"end","wrap":false}},{"kind":"column","props":{"header":"July","align":"end","wrap":false}},{"kind":"column","props":{"header":"August","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Northern region"},{"kind":"cell","props":{},"content":"1,204"},{"kind":"cell","props":{},"content":"1,310"},{"kind":"cell","props":{},"content":"1,288"},{"kind":"cell","props":{},"content":"1,402"},{"kind":"cell","props":{},"content":"1,396"},{"kind":"cell","props":{},"content":"1,450"},{"kind":"cell","props":{},"content":"1,512"},{"kind":"cell","props":{},"content":"1,498"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Central region"},{"kind":"cell","props":{},"content":"3,020"},{"kind":"cell","props":{},"content":"2,985"},{"kind":"cell","props":{},"content":"3,110"},{"kind":"cell","props":{},"content":"3,204"},{"kind":"cell","props":{},"content":"3,190"},{"kind":"cell","props":{},"content":"3,275"},{"kind":"cell","props":{},"content":"3,301"},{"kind":"cell","props":{},"content":"3,342"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Southern region"},{"kind":"cell","props":{},"content":"870"},{"kind":"cell","props":{},"content":"902"},{"kind":"cell","props":{},"content":"915"},{"kind":"cell","props":{},"content":"899"},{"kind":"cell","props":{},"content":"940"},{"kind":"cell","props":{},"content":"968"},{"kind":"cell","props":{},"content":"1,002"},{"kind":"cell","props":{},"content":"1,011"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Coastal region"},{"kind":"cell","props":{},"content":"1,540"},{"kind":"cell","props":{},"content":"1,522"},{"kind":"cell","props":{},"content":"1,610"},{"kind":"cell","props":{},"content":"1,655"},{"kind":"cell","props":{},"content":"1,702"},{"kind":"cell","props":{},"content":"1,698"},{"kind":"cell","props":{},"content":"1,760"},{"kind":"cell","props":{},"content":"1,794"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Islands"},{"kind":"cell","props":{},"content":"212"},{"kind":"cell","props":{},"content":"220"},{"kind":"cell","props":{},"content":"198"},{"kind":"cell","props":{},"content":"240"},{"kind":"cell","props":{},"content":"251"},{"kind":"cell","props":{},"content":"263"},{"kind":"cell","props":{},"content":"270"},{"kind":"cell","props":{},"content":"268"}]}]},{"id":"sticky-header","props":{"caption":"Releases","stickyHeader":true},"items":[{"kind":"column","props":{"header":"Version","wrap":false}},{"kind":"column","props":{"header":"Released","wrap":false}},{"kind":"column","props":{"header":"Changes"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.4.0"},{"kind":"cell","props":{},"content":"12 May"},{"kind":"cell","props":{},"content":"Tables keep their header in view."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.3.2"},{"kind":"cell","props":{},"content":"28 April"},{"kind":"cell","props":{},"content":"A fix for dates typed with two-digit years."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.3.1"},{"kind":"cell","props":{},"content":"20 April"},{"kind":"cell","props":{},"content":"A fix for a menu that opened off the screen."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.3.0"},{"kind":"cell","props":{},"content":"14 April"},{"kind":"cell","props":{},"content":"Search results grouped by page."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.2.0"},{"kind":"cell","props":{},"content":"30 March"},{"kind":"cell","props":{},"content":"Right-to-left layouts."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.1.3"},{"kind":"cell","props":{},"content":"18 March"},{"kind":"cell","props":{},"content":"Faster first paint of long lists."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.1.2"},{"kind":"cell","props":{},"content":"11 March"},{"kind":"cell","props":{},"content":"A fix for focus lost after a dialog closes."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.1.1"},{"kind":"cell","props":{},"content":"6 March"},{"kind":"cell","props":{},"content":"A fix for a snackbar hidden by the keyboard."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.1.0"},{"kind":"cell","props":{},"content":"1 March"},{"kind":"cell","props":{},"content":"The calendar scrolls by month."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.0.1"},{"kind":"cell","props":{},"content":"20 February"},{"kind":"cell","props":{},"content":"A fix for text cut in a narrow tab."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"2.0.0"},{"kind":"cell","props":{},"content":"14 February"},{"kind":"cell","props":{},"content":"New color roles; see the migration guide."}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"1.9.4"},{"kind":"cell","props":{},"content":"2 February"},{"kind":"cell","props":{},"content":"The last release of the 1.x line."}]}]},{"id":"japanese","props":{"caption":"表の設定"},"items":[{"kind":"column","props":{"header":"項目","wrap":false}},{"kind":"column","props":{"header":"既定値","wrap":false}},{"kind":"column","props":{"header":"説明"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"サイズ"},{"kind":"cell","props":{},"content":"medium"},{"kind":"cell","props":{},"content":"表の詰まり具合です。数行を読む表には medium、数百行を見渡す表には small を使います。行の高さは決めず、セルの内容と余白に従います。"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"行の区切り"},{"kind":"cell","props":{},"content":"auto"},{"kind":"cell","props":{},"content":"行と行の間を線で区切るか、余白で区切るかを選びます。auto はデザインシステムの選択に従います。"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"縞模様"},{"kind":"cell","props":{},"content":"false"},{"kind":"cell","props":{},"content":"一行おきに淡い地色を敷きます。列の多い表で、目が行を追いやすくなります。"}]}]},{"id":"rtl","props":{"caption":"الطلب"},"items":[{"kind":"column","props":{"header":"المنتج"}},{"kind":"column","props":{"header":"الكمية","align":"end","wrap":false}},{"kind":"column","props":{"header":"السعر","align":"end","wrap":false}},{"kind":"column","props":{"header":"المجموع","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"قهوة"},{"kind":"cell","props":{},"content":"2"},{"kind":"cell","props":{},"content":"18.50"},{"kind":"cell","props":{},"content":"37.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"شاي"},{"kind":"cell","props":{},"content":"10"},{"kind":"cell","props":{},"content":"4.25"},{"kind":"cell","props":{},"content":"42.50"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"سكر"},{"kind":"cell","props":{},"content":"1"},{"kind":"cell","props":{},"content":"3.00"},{"kind":"cell","props":{},"content":"3.00"}]},{"kind":"row","props":{"footer":true},"items":[{"kind":"cell","props":{},"content":"المجموع"},{"kind":"cell","props":{},"content":"13"},{"kind":"cell","props":{}},{"kind":"cell","props":{},"content":"82.50"}]}],"direction":"rtl"},{"id":"rtl-wide-sticky-column","props":{"caption":"الزيارات حسب المنطقة","rowHeaders":true,"stickyFirstColumn":true},"items":[{"kind":"column","props":{"header":"المنطقة","wrap":false}},{"kind":"column","props":{"header":"يناير","align":"end","wrap":false}},{"kind":"column","props":{"header":"فبراير","align":"end","wrap":false}},{"kind":"column","props":{"header":"مارس","align":"end","wrap":false}},{"kind":"column","props":{"header":"أبريل","align":"end","wrap":false}},{"kind":"column","props":{"header":"مايو","align":"end","wrap":false}},{"kind":"column","props":{"header":"يونيو","align":"end","wrap":false}},{"kind":"column","props":{"header":"يوليو","align":"end","wrap":false}},{"kind":"column","props":{"header":"أغسطس","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"المنطقة الشمالية"},{"kind":"cell","props":{},"content":"1,204"},{"kind":"cell","props":{},"content":"1,310"},{"kind":"cell","props":{},"content":"1,288"},{"kind":"cell","props":{},"content":"1,402"},{"kind":"cell","props":{},"content":"1,396"},{"kind":"cell","props":{},"content":"1,450"},{"kind":"cell","props":{},"content":"1,512"},{"kind":"cell","props":{},"content":"1,498"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"المنطقة الوسطى"},{"kind":"cell","props":{},"content":"3,020"},{"kind":"cell","props":{},"content":"2,985"},{"kind":"cell","props":{},"content":"3,110"},{"kind":"cell","props":{},"content":"3,204"},{"kind":"cell","props":{},"content":"3,190"},{"kind":"cell","props":{},"content":"3,275"},{"kind":"cell","props":{},"content":"3,301"},{"kind":"cell","props":{},"content":"3,342"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"المنطقة الجنوبية"},{"kind":"cell","props":{},"content":"870"},{"kind":"cell","props":{},"content":"902"},{"kind":"cell","props":{},"content":"915"},{"kind":"cell","props":{},"content":"899"},{"kind":"cell","props":{},"content":"940"},{"kind":"cell","props":{},"content":"968"},{"kind":"cell","props":{},"content":"1,002"},{"kind":"cell","props":{},"content":"1,011"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"الساحل"},{"kind":"cell","props":{},"content":"1,540"},{"kind":"cell","props":{},"content":"1,522"},{"kind":"cell","props":{},"content":"1,610"},{"kind":"cell","props":{},"content":"1,655"},{"kind":"cell","props":{},"content":"1,702"},{"kind":"cell","props":{},"content":"1,698"},{"kind":"cell","props":{},"content":"1,760"},{"kind":"cell","props":{},"content":"1,794"}]}],"direction":"rtl"},{"id":"ltr-cells-rtl","props":{"label":"Names on each platform","rowHeaders":true},"items":[{"kind":"column","props":{"header":"In the spec","wrap":false}},{"kind":"column","props":{"header":"Web","wrap":false}},{"kind":"column","props":{"header":"SwiftUI","wrap":false}},{"kind":"column","props":{"header":"Compose","wrap":false}},{"kind":"column","props":{"header":"Flutter","wrap":false}},{"kind":"column","props":{"header":"React Native","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"The component"},{"kind":"cell","props":{},"content":"tanrei-button"},{"kind":"cell","props":{},"content":"TanreiButton"},{"kind":"cell","props":{},"content":"TanreiButton"},{"kind":"cell","props":{},"content":"TanreiButton"},{"kind":"cell","props":{},"content":"Button"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"label"},{"kind":"cell","props":{},"content":"label"},{"kind":"cell","props":{},"content":"title"},{"kind":"cell","props":{},"content":"label"},{"kind":"cell","props":{},"content":"label"},{"kind":"cell","props":{},"content":"label"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"disabled"},{"kind":"cell","props":{},"content":"disabled"},{"kind":"cell","props":{},"content":".disabled(_:)"},{"kind":"cell","props":{},"content":"enabled"},{"kind":"cell","props":{},"content":"onPressed: null"},{"kind":"cell","props":{},"content":"disabled"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"click"},{"kind":"cell","props":{},"content":"click"},{"kind":"cell","props":{},"content":"action"},{"kind":"cell","props":{},"content":"onClick"},{"kind":"cell","props":{},"content":"onPressed"},{"kind":"cell","props":{},"content":"onPress"}]}],"direction":"rtl"},{"id":"sortable","props":{"caption":"Products","sortedAscendingLabel":"sorted ascending","sortedDescendingLabel":"sorted descending"},"items":[{"kind":"column","props":{"header":"Name","sortable":true,"value":"name","sort":"ascending"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false,"sortable":true,"value":"stock"}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false,"sortable":true,"value":"price"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]}]},{"id":"sorted-end","props":{"caption":"Products by price","sortedAscendingLabel":"sorted ascending","sortedDescendingLabel":"sorted descending"},"items":[{"kind":"column","props":{"header":"Name","sortable":true,"value":"name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false,"sortable":true,"value":"stock"}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false,"sortable":true,"value":"price","sort":"descending"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]}]},{"id":"sortable-mixed","props":{"caption":"Products","sortedAscendingLabel":"sorted ascending","sortedDescendingLabel":"sorted descending"},"items":[{"kind":"column","props":{"header":"Name","sortable":true,"value":"name","sort":"ascending"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Note"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"Sold in packs of one hundred"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":""}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"Induction and gas"}]}]},{"id":"sortable-small","props":{"label":"Products","size":"small","sortedAscendingLabel":"sorted ascending","sortedDescendingLabel":"sorted descending"},"items":[{"kind":"column","props":{"header":"Name","sortable":true,"value":"name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false,"sortable":true,"value":"stock","sort":"ascending"}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false,"sortable":true,"value":"price"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]}]},{"id":"sortable-long-headers","props":{"caption":"Response times","sortedAscendingLabel":"sorted ascending","sortedDescendingLabel":"sorted descending"},"items":[{"kind":"column","props":{"header":"Region the request was answered from","sortable":true,"value":"region","sort":"ascending"}},{"kind":"column","props":{"header":"Median time to the first byte, in milliseconds","align":"end","sortable":true,"value":"median"}},{"kind":"column","props":{"header":"Share of requests answered within one second","align":"end","sortable":true,"value":"share"}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Highlands"},{"kind":"cell","props":{},"content":"412"},{"kind":"cell","props":{},"content":"91 %"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Islands"},{"kind":"cell","props":{},"content":"388"},{"kind":"cell","props":{},"content":"94 %"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Northern coast"},{"kind":"cell","props":{},"content":"176"},{"kind":"cell","props":{},"content":"99 %"}]}]},{"id":"selection","props":{"caption":"Products","selection":"multiple","rowHeaders":true,"selectAllLabel":"Select all products"},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}},{"kind":"row","props":{"value":"paper","selected":true,"selectLabel":"Select Filter paper"},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{"value":"grinder","selected":false,"selectLabel":"Select Hand grinder"},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{"value":"kettle","selected":true,"selectLabel":"Select Kettle"},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{"value":"scale","selected":false,"selectLabel":"Select Scale"},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]},{"kind":"row","props":{"footer":true},"items":[{"kind":"cell","props":{},"content":"Total"},{"kind":"cell","props":{},"content":"143"},{"kind":"cell","props":{},"content":""}]}]},{"id":"selection-all","props":{"caption":"Products","selection":"multiple","rowHeaders":true,"selectAllLabel":"Select all products"},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}},{"kind":"row","props":{"value":"paper","selected":true,"selectLabel":"Select Filter paper"},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{"value":"grinder","selected":true,"selectLabel":"Select Hand grinder"},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{"value":"kettle","selected":true,"selectLabel":"Select Kettle"},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{"value":"scale","selected":true,"selectLabel":"Select Scale"},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]}]},{"id":"selection-small","props":{"label":"Products","selection":"multiple","size":"small","selectAllLabel":"Select all products"},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}},{"kind":"row","props":{"value":"paper","selected":false,"selectLabel":"Select Filter paper"},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{"value":"grinder","selected":false,"selectLabel":"Select Hand grinder"},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{"value":"kettle","selected":false,"selectLabel":"Select Kettle"},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{"value":"scale","selected":false,"selectLabel":"Select Scale"},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]}]},{"id":"selection-striped","props":{"caption":"Products","selection":"multiple","striped":true,"separation":"gap","selectAllLabel":"Select all products"},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}},{"kind":"row","props":{"value":"paper","selected":false,"selectLabel":"Select Filter paper"},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{"value":"grinder","selected":true,"selectLabel":"Select Hand grinder"},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{"value":"kettle","selected":false,"selectLabel":"Select Kettle"},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{"value":"scale","selected":false,"selectLabel":"Select Scale"},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]}]},{"id":"selection-sticky-column","props":{"caption":"Visits by region","selection":"multiple","rowHeaders":true,"stickyFirstColumn":true,"selectAllLabel":"Select all regions"},"items":[{"kind":"column","props":{"header":"Region","wrap":false}},{"kind":"column","props":{"header":"January","align":"end","wrap":false}},{"kind":"column","props":{"header":"February","align":"end","wrap":false}},{"kind":"column","props":{"header":"March","align":"end","wrap":false}},{"kind":"column","props":{"header":"April","align":"end","wrap":false}},{"kind":"column","props":{"header":"May","align":"end","wrap":false}},{"kind":"column","props":{"header":"June","align":"end","wrap":false}},{"kind":"column","props":{"header":"July","align":"end","wrap":false}},{"kind":"column","props":{"header":"Year","align":"end","wrap":false}},{"kind":"row","props":{"value":"r0","selected":false},"items":[{"kind":"cell","props":{},"content":"Islands"},{"kind":"cell","props":{},"content":"212"},{"kind":"cell","props":{},"content":"198"},{"kind":"cell","props":{},"content":"240"},{"kind":"cell","props":{},"content":"251"},{"kind":"cell","props":{},"content":"263"},{"kind":"cell","props":{},"content":"270"},{"kind":"cell","props":{},"content":"281"},{"kind":"cell","props":{},"content":"4,120"}]},{"kind":"row","props":{"value":"r1","selected":true},"items":[{"kind":"cell","props":{},"content":"Northern coast"},{"kind":"cell","props":{},"content":"1,204"},{"kind":"cell","props":{},"content":"1,150"},{"kind":"cell","props":{},"content":"1,310"},{"kind":"cell","props":{},"content":"1,402"},{"kind":"cell","props":{},"content":"1,377"},{"kind":"cell","props":{},"content":"1,420"},{"kind":"cell","props":{},"content":"1,466"},{"kind":"cell","props":{},"content":"18,950"}]},{"kind":"row","props":{"value":"r2","selected":false},"items":[{"kind":"cell","props":{},"content":"Highlands"},{"kind":"cell","props":{},"content":"87"},{"kind":"cell","props":{},"content":"92"},{"kind":"cell","props":{},"content":"101"},{"kind":"cell","props":{},"content":"110"},{"kind":"cell","props":{},"content":"96"},{"kind":"cell","props":{},"content":"104"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"1,345"}]},{"kind":"row","props":{"value":"r3","selected":false},"items":[{"kind":"cell","props":{},"content":"Capital"},{"kind":"cell","props":{},"content":"3,410"},{"kind":"cell","props":{},"content":"3,290"},{"kind":"cell","props":{},"content":"3,655"},{"kind":"cell","props":{},"content":"3,702"},{"kind":"cell","props":{},"content":"3,810"},{"kind":"cell","props":{},"content":"3,905"},{"kind":"cell","props":{},"content":"4,012"},{"kind":"cell","props":{},"content":"44,870"}]}]},{"id":"selection-single","props":{"caption":"Featured product","selection":"single","rowHeaders":true},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}},{"kind":"row","props":{"value":"paper","selected":false,"selectLabel":"Select Filter paper"},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{"value":"grinder","selected":false,"selectLabel":"Select Hand grinder"},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{"value":"kettle","selected":true,"selectLabel":"Select Kettle"},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{"value":"scale","selected":false,"selectLabel":"Select Scale"},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]},{"kind":"row","props":{"footer":true},"items":[{"kind":"cell","props":{},"content":"Total"},{"kind":"cell","props":{},"content":"143"},{"kind":"cell","props":{},"content":""}]}]},{"id":"sortable-selection","props":{"caption":"Products","selection":"multiple","rowHeaders":true,"status":"2 of 4 selected","selectAllLabel":"Select all products","sortedAscendingLabel":"sorted ascending","sortedDescendingLabel":"sorted descending"},"items":[{"kind":"column","props":{"header":"Name","sortable":true,"value":"name","sort":"ascending"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false,"sortable":true,"value":"stock"}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false,"sortable":true,"value":"price"}},{"kind":"row","props":{"value":"paper","selected":false,"selectLabel":"Select Filter paper"},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{"value":"grinder","selected":true,"selectLabel":"Select Hand grinder"},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{"value":"kettle","selected":true,"selectLabel":"Select Kettle"},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{"value":"scale","selected":false,"selectLabel":"Select Scale"},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]}]},{"id":"empty","props":{"caption":"Products"},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}}],"slots":{"empty":"No products match these filters."}},{"id":"empty-selection","props":{"caption":"Products","selection":"multiple","status":"0 of 0","selectAllLabel":"Select all products","sortedAscendingLabel":"sorted ascending","sortedDescendingLabel":"sorted descending"},"items":[{"kind":"column","props":{"header":"Name","sortable":true,"value":"name","sort":"ascending"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false,"sortable":true,"value":"stock"}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false,"sortable":true,"value":"price"}}],"slots":{"empty":"No products yet. Add the first one."}},{"id":"header-alone","props":{"label":"Keyboard"},"items":[{"kind":"column","props":{"header":"Keys"}},{"kind":"column","props":{"header":"Action"}}]},{"id":"loading","props":{"caption":"Products","selection":"multiple","rowHeaders":true,"loading":true,"status":"Loading","selectAllLabel":"Select all products"},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}},{"kind":"row","props":{"value":"paper","selected":true,"selectLabel":"Select Filter paper"},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{"value":"grinder","selected":false,"selectLabel":"Select Hand grinder"},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{"value":"kettle","selected":true,"selectLabel":"Select Kettle"},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{"value":"scale","selected":false,"selectLabel":"Select Scale"},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]}]},{"id":"loading-placeholders","props":{"caption":"Products","selection":"multiple","loading":true,"status":"Loading","selectAllLabel":"Select all products"},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}},{"kind":"row","props":{"placeholder":true},"items":[{"kind":"cell","props":{},"content":""},{"kind":"cell","props":{},"content":""},{"kind":"cell","props":{},"content":""}]},{"kind":"row","props":{"placeholder":true},"items":[{"kind":"cell","props":{},"content":""},{"kind":"cell","props":{},"content":""},{"kind":"cell","props":{},"content":""}]},{"kind":"row","props":{"placeholder":true},"items":[{"kind":"cell","props":{},"content":""},{"kind":"cell","props":{},"content":""},{"kind":"cell","props":{},"content":""}]},{"kind":"row","props":{"placeholder":true},"items":[{"kind":"cell","props":{},"content":""},{"kind":"cell","props":{},"content":""},{"kind":"cell","props":{},"content":""}]},{"kind":"row","props":{"placeholder":true},"items":[{"kind":"cell","props":{},"content":""},{"kind":"cell","props":{},"content":""},{"kind":"cell","props":{},"content":""}]}]},{"id":"status","props":{"caption":"Products","status":"4 products"},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]}]},{"id":"status-pagination","props":{"caption":"Products","status":"1–4 of 132"},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]}],"slots":{"pagination":"Page 1 of 33"}},{"id":"status-long","props":{"label":"Products","status":"Showing products 1 to 4 of the 132 that match \"pour-over\" in every warehouse; 2 of them are selected and will be moved together."},"items":[{"kind":"column","props":{"header":"Name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false}},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]}],"slots":{"pagination":"Page 1 of 33"}},{"id":"data","props":{"caption":"Products","selection":"multiple","rowHeaders":true,"stickyHeader":true,"size":"small","status":"1–4 of 132 · 1 selected","selectAllLabel":"Select all products","sortedAscendingLabel":"sorted ascending","sortedDescendingLabel":"sorted descending"},"items":[{"kind":"column","props":{"header":"Name","sortable":true,"value":"name"}},{"kind":"column","props":{"header":"Stock","align":"end","wrap":false,"sortable":true,"value":"stock"}},{"kind":"column","props":{"header":"Price","align":"end","wrap":false,"sortable":true,"value":"price","sort":"ascending"}},{"kind":"row","props":{"value":"paper","selected":false,"selectLabel":"Select Filter paper"},"items":[{"kind":"cell","props":{},"content":"Filter paper"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]},{"kind":"row","props":{"value":"scale","selected":true,"selectLabel":"Select Scale"},"items":[{"kind":"cell","props":{},"content":"Scale"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"29.50"}]},{"kind":"row","props":{"value":"kettle","selected":false,"selectLabel":"Select Kettle"},"items":[{"kind":"cell","props":{},"content":"Kettle"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{"value":"grinder","selected":false,"selectLabel":"Select Hand grinder"},"items":[{"kind":"cell","props":{},"content":"Hand grinder"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]}],"slots":{"pagination":"Page 1 of 33"}},{"id":"japanese-data","props":{"caption":"商品","selection":"multiple","rowHeaders":true,"status":"4 件中 1 件を選択中","selectAllLabel":"すべての商品を選択","sortedAscendingLabel":"昇順で並べ替え済み","sortedDescendingLabel":"降順で並べ替え済み"},"items":[{"kind":"column","props":{"header":"商品名","sortable":true,"value":"name","sort":"ascending"}},{"kind":"column","props":{"header":"在庫","align":"end","wrap":false,"sortable":true,"value":"stock"}},{"kind":"column","props":{"header":"価格","align":"end","wrap":false,"sortable":true,"value":"price"}},{"kind":"row","props":{"value":"kettle","selected":true,"selectLabel":"ケトルを選択"},"items":[{"kind":"cell","props":{},"content":"ケトル"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"3,800"}]},{"kind":"row","props":{"value":"scale","selectLabel":"スケールを選択"},"items":[{"kind":"cell","props":{},"content":"スケール"},{"kind":"cell","props":{},"content":"0"},{"kind":"cell","props":{},"content":"2,950"}]},{"kind":"row","props":{"value":"grinder","selectLabel":"ハンドグラインダーを選択"},"items":[{"kind":"cell","props":{},"content":"ハンドグラインダー"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"6,400"}]},{"kind":"row","props":{"value":"paper","selectLabel":"ペーパーフィルターを選択"},"items":[{"kind":"cell","props":{},"content":"ペーパーフィルター"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"450"}]}]},{"id":"rtl-sortable-selection","direction":"rtl","props":{"caption":"المنتجات","selection":"multiple","rowHeaders":true,"status":"تم تحديد 1 من 3","selectAllLabel":"تحديد كل المنتجات","sortedAscendingLabel":"مرتب تصاعديًا","sortedDescendingLabel":"مرتب تنازليًا"},"items":[{"kind":"column","props":{"header":"المنتج","sortable":true,"value":"name"}},{"kind":"column","props":{"header":"الكمية","align":"end","wrap":false,"sortable":true,"value":"stock"}},{"kind":"column","props":{"header":"السعر","align":"end","wrap":false,"sortable":true,"value":"price","sort":"descending"}},{"kind":"row","props":{"value":"grinder","selectLabel":"تحديد مطحنة"},"items":[{"kind":"cell","props":{},"content":"مطحنة"},{"kind":"cell","props":{},"content":"8"},{"kind":"cell","props":{},"content":"64.00"}]},{"kind":"row","props":{"value":"kettle","selected":true,"selectLabel":"تحديد غلاية"},"items":[{"kind":"cell","props":{},"content":"غلاية"},{"kind":"cell","props":{},"content":"15"},{"kind":"cell","props":{},"content":"38.00"}]},{"kind":"row","props":{"value":"paper","selectLabel":"تحديد ورق ترشيح"},"items":[{"kind":"cell","props":{},"content":"ورق ترشيح"},{"kind":"cell","props":{},"content":"120"},{"kind":"cell","props":{},"content":"4.50"}]}],"slots":{"pagination":"الصفحة 1 من 1"}},{"id":"rtl-empty","direction":"rtl","props":{"caption":"المنتجات","status":"0 منتج"},"items":[{"kind":"column","props":{"header":"المنتج"}},{"kind":"column","props":{"header":"الكمية","align":"end","wrap":false}},{"kind":"column","props":{"header":"السعر","align":"end","wrap":false}}],"slots":{"empty":"لا توجد منتجات تطابق عوامل التصفية."}}],"platforms":{"web":{"status":"lagging","name":"tanrei-table","props":{"caption":"caption","label":"label","size":"size","separation":"separation","striped":"striped","rowHeaders":"rowHeaders","stickyHeader":"stickyHeader","stickyFirstColumn":"stickyFirstColumn","selection":"selection","selectAllLabel":"select-all-label","sortedAscendingLabel":"sorted-ascending-label","sortedDescendingLabel":"sorted-descending-label","loading":"loading","status":"status"},"events":{"sort":"sort","selectionChange":"selectionchange"},"items":{"column":{"name":"th","props":{"header":"scope","align":"data-align","wrap":"data-wrap","sortable":"button","sort":"aria-sort","value":"data-value"},"notes":"A `<th scope=\"col\">` in the `<thead>` row; its text is the header. `data-align=\"end\"` and `data-wrap=\"false\"` on that `<th>` reach every cell of the column: the element writes the positions of such columns on the wrapper (`data-columns-end`, `data-columns-center`, `data-columns-nowrap`) and one rule per position places the cells, so no cell is written to; without script, and from a Markdown renderer, the same attributes (or the renderer's own `align` attribute, where left and right are read as start and end) sit on each cell. A sortable column: the `<th>` holds the product's own `<button type=\"button\">` (or, for a table ordered by the server, an `<a href>` to the same table in the other order) around the header's text, and carries `aria-sort=\"none\"`, `\"ascending\"` or `\"descending\"`; the stylesheet draws the mark from that attribute, so the product writes no glyph. `data-value` on the `<th>` is the column's value."},"row":{"name":"tr","props":{"footer":"tfoot","value":"data-value","selected":"data-selected","selectLabel":"aria-label","placeholder":"data-placeholder"},"notes":"A `<tr>`; a footer row is a `<tr>` inside `<tfoot>`. A row that can be chosen has `data-value` and a first cell `<td data-part=\"selection\">` holding the product's checkbox — `<tanrei-checkbox label-hidden label=\"…\">`, or a native `<input type=\"checkbox\" aria-label=\"…\">` that also works in a form without script; `selectLabel` is that checkbox's own name. `data-selected` on the `<tr>` draws the row as chosen; the element keeps it in step with the checkbox, and the stylesheet also reads a native checkbox that is checked, so a row is drawn chosen before and without script. While `selection=\"single\"` the selection cell holds a radio button instead — `<tanrei-radio-button label-hidden name=\"…\" label=\"…\">`, or a native `<input type=\"radio\" name=\"…\" aria-label=\"…\">` — the radio buttons of one table share one name (the element gives one to those that have none, so that they form one group), and the header row's selection cell is empty. A placeholder row is `<tr data-placeholder aria-hidden=\"true\">`."},"cell":{"name":"td","props":{},"notes":"A `<td>`, or a `<th scope=\"row\">` for a row header; its children are the content."},"tag":{"name":"tanrei-tag","props":{"label":"label","variant":"variant","status":"status","size":"size"}}},"notes":"Form: `<tanrei-table>` is a custom element with **no shadow root**, wrapped around a native `<table>` that stays in the light DOM — `<tanrei-table><table><caption>…</caption><thead>…</thead><tbody>…</tbody><tfoot>…</tfoot></table></tanrei-table>`. The native table is never given another `display`, so its semantics, a crawler's reading, copy and paste as a table and a screen reader's table navigation are the browser's own. The wrapper is the scroll box (`display: block; overflow: auto; max-inline-size: 100%`; the product limits its height with `max-block-size`). Everything drawn comes from one stylesheet, `@tanrei/web/table.css`, whose selectors start at `tanrei-table` and are wrapped in `:where()`; it styles the page without script (an element that is not yet defined is still an element), and the element adopts the same sheet into the root it is connected to, so it also works inside another component's shadow root. Props are attributes of the wrapper: `size`, `separation`, `striped`, `row-headers`, `sticky-header`, `sticky-first-column`, `label`. A size taken from a container (TBL-62) is drawn once the element is defined: it carries the size it draws as the custom state `size-<name>`, which the stylesheet matches beside the `size` attribute; without script a table is drawn at the size it sets, or at medium. `caption` is the native `<caption>`; the `caption` attribute is a convenience that writes one. `label` becomes `aria-label` on the table. Script adds only what CSS cannot: while the wrapper overflows it sets `tabindex=\"0\"`, `role=\"region\"` and `aria-labelledby` (the caption) or `aria-label` (TBL-22), and removes them when it does not; it sets `data-more-start` and `data-more-end` for the lines of TBL-21, writes the positions of the columns whose header names `data-align` or `data-wrap` on the wrapper (`data-columns-end`, `-center`, `-nowrap`; one rule per position places the cells and no cell is written to), gives first cells `role=\"rowheader\"` where `row-headers` is set on a table whose body cells are `<td>` (Markdown), and releases a first column wider than half of the box (TBL-20). Without script the table is fully drawn, scrolls in its box, and keeps its sticky parts; it lacks the two edge lines and, in a browser that does not focus scrollers by itself, the focus stop. Sticky parts are `position: sticky` on the cells (`inset-block-start: 0` on `thead th`, `inset-inline-start: 0` on the first cell of each row) with `border-collapse: separate` and the lines drawn as cell borders, because collapsed borders do not travel with a sticky cell. The caption stays in place sideways with `position: sticky; inset-inline-start: 0` and a width of the wrapper (`100cqi`). `font-variant-numeric: tabular-nums` on cells (TBL-4); `unicode-bidi: plaintext` per cell (TBL-28). Markdown: a renderer emits a bare `<table>`; the product wraps it at build time (a rehype step of a few lines, shown in the README) — Tanrei does not transform content. Inside `.tanrei-prose` the element is an island by its tag name (PRS-16). A cell that spans (`colspan`, `rowspan`) and a second header row keep working as HTML and are drawn with the same cell styles, but no fixture covers them. As built: the wrapper is a grid of one cell, not `display: block`, so that the two \"there is more\" lines are as tall as the table; the attributes the element writes are `data-more-start`, `data-more-end`, `data-more-above`, `data-first-column-released`, `data-columns` and the three positions above, and `data-separation` on the table; the region's `aria-labelledby` or `aria-label` is copied from the table's own name where the product named it natively. **Sorting, selection, empty, loading and status: proposed form, for the platform's agent to settle.** Everything new is the product's own markup inside the same `<table>`, drawn by `table.css` without script (TBL-57). Sorting: the stylesheet makes the control in a `th[aria-sort]` fill the cell (the cell's paddings move onto the control) and draws the mark as a generated glyph from the attribute; the element listens for the control's activation and emits `sort` (cancelable where the control is an anchor) with `detail: { column, index, direction }`; it never writes `aria-sort`. Selection: `selection=\"multiple\"` on the wrapper; the header row's first cell is `<td data-part=\"selection\">` (a cell and not a header cell: a header without text is announced as an empty one) holding the checkbox for every row, which the element keeps checked, `indeterminate` or unchecked and disables with no row to choose, and names from `select-all-label` or the product's words (`setWords({ selectAllLabel })`); the element listens to `change` from the row checkboxes, writes `data-selected`, and emits `selectionchange` with `detail: { values }`. Neither checkbox is moved, wrapped or replaced. `sorted-ascending-label` and `sorted-descending-label` are accepted and not read: `aria-sort` is the browser's. Empty: the product writes `<tbody><tr data-part=\"empty\"><td colspan=\"…\">…</td></tr></tbody>` with its `<tanrei-empty-state>` inside; the stylesheet keeps the cell's content as wide as the box (`100cqi`) and in view sideways, as it does the caption, and the element corrects a `colspan` that is not the number of columns. Loading: the `loading` attribute; the element writes `aria-busy` on the table (a server may write it itself). Status: after the `<table>`, inside the wrapper, `<div data-part=\"status\"><p role=\"status\">…</p> <nav class=\"tanrei-pagination\">…</nav></div>`; it is sticky at the inline start with the box's width, and at the block end, with the sticky fill; the `status` attribute is a convenience that writes the paragraph, as `caption` writes a caption. Coarse pointers get the taller header row and rows by `@media (pointer: coarse)`."},"swiftui":{"status":"planned","name":"TanreiTable","props":{"caption":"caption","label":"accessibilityLabel","size":"size","separation":"separation","striped":"striped","rowHeaders":"rowHeaders","stickyHeader":"stickyHeader","stickyFirstColumn":"stickyFirstColumn","selection":"selection","selectAllLabel":"selectAllLabel","sortedAscendingLabel":"sortedAscendingLabel","sortedDescendingLabel":"sortedDescendingLabel","loading":"isLoading","status":"status"},"events":{"sort":"onSort","selectionChange":"selection"},"items":{"column":{"name":"TanreiTableColumn","props":{"header":"header","align":"alignment","wrap":"wraps","sortable":"isSortable","sort":"sort","value":"value"}},"row":{"name":"TanreiTableRow","props":{"footer":"isFooter","value":"value","selected":"isSelected","selectLabel":"selectLabel","placeholder":"isPlaceholder"}},"cell":{"name":"TanreiTableCell","props":{},"notes":"A cell takes a string or a view builder."},"tag":{"name":"TanreiTag","props":{"label":"title","variant":"variant","status":"status","size":"size"}}},"notes":"Proposed spelling, for the platform's agent to settle. `TanreiTable(caption:, columns: [TanreiTableColumn], size:, …) { TanreiTableRow { TanreiTableCell(\"…\"); TanreiTableCell { TanreiTag(\"Beta\", size: .small) } } }`. Built on `Grid` and `GridRow` (columns sized from content, which is TBL-2) inside a `ScrollView` whose axes are the ones that overflow; a table of several hundred rows uses a `LazyVStack` of rows with column widths measured once from the header and a sample of rows. The platform's own `Table` is not used: it is a data table of its own look, with selection and sorting, and it collapses to its first column in a compact width. Sticky parts are pinned section headers (`pinnedViews`) for the header row and an overlaid first column whose offset follows the scroll. Accessibility: SwiftUI has no table container for custom views, so TBL-24's fallback applies — each row is an accessibility container in reading order, each cell's label is its column header followed by its content, header cells carry the header trait, and the scroll view is named by the caption. Sorting, selection, empty, loading and status: `TanreiTableColumn(header:, value:, isSortable:, sort:)`, `TanreiTable(selection: $values, onSort: { column, index, direction in … })` where `selection` is a binding to the set of chosen values, and rows take `value:`, `selectLabel:`, `isPlaceholder:`. A sortable header is a `Button` whose accessibility value is `sortedAscendingLabel` or `sortedDescendingLabel` (SwiftUI has no sort trait); the row's checkbox is `TanreiCheckbox`. The empty slot and the pagination slot are view builders (`empty:`, `pagination:`); the status text is posted as an announcement when it changes; `isLoading` sets nothing SwiftUI has a trait for, so placeholder rows are hidden and the status says it. Single selection (`selection` single, TBL-60, TBL-61): the row's control is the platform's Tanrei radio button in place of the checkbox, the header row holds none, and the product's selection holds one value at most."},"compose":{"status":"planned","name":"TanreiTable","props":{"caption":"caption","label":"contentDescription","size":"size","separation":"separation","striped":"striped","rowHeaders":"rowHeaders","stickyHeader":"stickyHeader","stickyFirstColumn":"stickyFirstColumn","selection":"selection","selectAllLabel":"selectAllLabel","sortedAscendingLabel":"sortedAscendingLabel","sortedDescendingLabel":"sortedDescendingLabel","loading":"loading","status":"status"},"events":{"sort":"onSort","selectionChange":"onSelectionChange"},"items":{"column":{"name":"TanreiTableColumn","props":{"header":"header","align":"align","wrap":"wrap","sortable":"sortable","sort":"sort","value":"value"}},"row":{"name":"row","props":{"footer":"footer","value":"value","selected":"selected","selectLabel":"selectLabel","placeholder":"placeholder"},"notes":"A call in the table's scope: `row(footer = false) { cell(\"…\") }`."},"cell":{"name":"cell","props":{},"notes":"`cell(text)` or `cell { content }` in a row's scope."},"tag":{"name":"TanreiTag","props":{"label":"label","variant":"variant","status":"status","size":"size"}}},"notes":"Proposed spelling, for the platform's agent to settle. `TanreiTable(columns = listOf(TanreiTableColumn(\"Price\", align = End)), caption = …) { row { cell(\"…\"); cell { TanreiTag(\"Beta\", size = Small) } } }`. Compose has no table layout: a custom `Layout` measures each column's least and preferred widths (intrinsics) and shares the width as TBL-2 says, inside `horizontalScroll`; a long table is a `LazyColumn` of rows with the widths measured from the header and the rows composed so far, and `stickyHeader` for the header row. Semantics: the container sets `collectionInfo(rowCount, columnCount)` and each cell `collectionItemInfo(rowIndex, columnIndex)`, header cells are `heading()`, and each cell's content description is preceded by its column header, so TalkBack announces position and header. The scroll container is focusable and named by the caption. Sorting, selection, empty, loading and status: `TanreiTableColumn(header, value = \"price\", sortable = true, sort = TanreiTableSort.Ascending)`, `onSort = { column, index, direction -> }`, `selection = TanreiTableSelection.Multiple`, rows as `row(value = \"a1\", selected = …, selectLabel = …)` with `onSelectionChange = { values -> }`; the product holds both states. A sortable header is `Modifier.clickable(role = Role.Button)` with `stateDescription` from `sortedAscendingLabel` or `sortedDescendingLabel`; the checkboxes are `TanreiCheckbox` (`ToggleableState.Indeterminate` for the header's); `empty` and `pagination` are composable slots; the status text is a polite `liveRegion`. Single selection (`selection` single, TBL-60, TBL-61): the row's control is the platform's Tanrei radio button in place of the checkbox, the header row holds none, and the product's selection holds one value at most."},"flutter":{"status":"planned","name":"TanreiTable","props":{"caption":"caption","label":"semanticLabel","size":"size","separation":"separation","striped":"striped","rowHeaders":"rowHeaders","stickyHeader":"stickyHeader","stickyFirstColumn":"stickyFirstColumn","selection":"selection","selectAllLabel":"selectAllLabel","sortedAscendingLabel":"sortedAscendingLabel","sortedDescendingLabel":"sortedDescendingLabel","loading":"loading","status":"status"},"events":{"sort":"onSort","selectionChange":"onSelectionChanged"},"items":{"column":{"name":"TanreiTableColumn","props":{"header":"header","align":"align","wrap":"wrap","sortable":"sortable","sort":"sort","value":"value"}},"row":{"name":"TanreiTableRow","props":{"footer":"footer","value":"value","selected":"selected","selectLabel":"selectLabel","placeholder":"placeholder"}},"cell":{"name":"TanreiTableCell","props":{},"notes":"`TanreiTableCell.text(\"…\")` or `TanreiTableCell(child: …)`."},"tag":{"name":"TanreiTag","props":{"label":"label","variant":"variant","status":"status","size":"size"}}},"notes":"Proposed spelling, for the platform's agent to settle. `TanreiTable(caption: …, columns: [TanreiTableColumn(header: \"Price\", align: TanreiTableAlign.end)], rows: [TanreiTableRow(cells: [...])])`. Built on the framework's `Table` widget with `IntrinsicColumnWidth` (flex for a column that wraps), inside a horizontal `SingleChildScrollView` in a `Scrollbar`; a long table uses a two-dimensional scroll view with pinned rows and columns for the sticky parts. The Material library's `DataTable` is not used: it brings its own look, sorting and selection, and reads a Material theme. Semantics: the table, row, cell and column-header roles where the framework version has them, and otherwise one `Semantics` per cell whose label is the column header followed by the content; the scroll view is a focusable region named by the caption. Sorting and selection: `TanreiTableColumn(header:, value:, sortable:, sort:)`, `onSort: (column, index, direction) {}`, `selection: TanreiTableSelection.multiple`, `TanreiTableRow(value:, selected:, selectLabel:, placeholder:)` and `onSelectionChanged: (values) {}`; the product holds both states. A sortable header is an `InkWell` in `Semantics(button: true, value: sortedAscendingLabel)`; the checkboxes are `TanreiCheckbox` with `tristate` for the header's; `empty` and `pagination` are widgets; the status text is `Semantics(liveRegion: true)`; placeholder rows are in `ExcludeSemantics`. Single selection (`selection` single, TBL-60, TBL-61): the row's control is the platform's Tanrei radio button in place of the checkbox, the header row holds none, and the product's selection holds one value at most."},"react-native":{"status":"planned","name":"Table","props":{"caption":"caption","label":"accessibilityLabel","size":"size","separation":"separation","striped":"striped","rowHeaders":"rowHeaders","stickyHeader":"stickyHeader","stickyFirstColumn":"stickyFirstColumn","selection":"selection","selectAllLabel":"selectAllLabel","sortedAscendingLabel":"sortedAscendingLabel","sortedDescendingLabel":"sortedDescendingLabel","loading":"loading","status":"status"},"events":{"sort":"onSort","selectionChange":"onSelectionChange"},"items":{"column":{"name":"TableColumn","props":{"header":"header","align":"align","wrap":"wrap","sortable":"sortable","sort":"sort","value":"value"},"notes":"An entry of the `columns` prop."},"row":{"name":"Table.Row","props":{"footer":"footer","value":"value","selected":"selected","selectLabel":"selectLabel","placeholder":"placeholder"}},"cell":{"name":"Table.Cell","props":{},"notes":"Its children are a string or elements."},"tag":{"name":"Tag","props":{"label":"label","variant":"variant","status":"status","size":"size"}}},"notes":"Proposed spelling, for the platform's agent to settle. `<Table caption=\"…\" columns={[{ header: \"Price\", align: \"end\" }]}><Table.Row><Table.Cell>…</Table.Cell></Table.Row></Table>`. React Native has no table layout: rows are `View`s in a horizontal `ScrollView` (inside a vertical one, or a `FlatList` with `stickyHeaderIndices` for a long table), and column widths are measured in a first pass with `onLayout` and applied in a second, so the first frame of a large table is drawn after measuring. A first column that stays in view is a second column of cells drawn over the scroll view and kept in step with its vertical offset. There is no table role on either native platform: TBL-24's fallback applies — a row is one accessible group and each cell's `accessibilityLabel` is its column header followed by its content; header cells have `accessibilityRole=\"header\"`. Follows the app's direction where an ancestor's is not known. Sorting and selection: columns `{ header, value, sortable, sort }`, `onSort={({ column, index, direction }) => …}`, `selection=\"multiple\"`, `<Table.Row value selected selectLabel placeholder>` and `onSelectionChange={(values) => …}`; the product holds both states. A sortable header is a `Pressable` with `accessibilityRole=\"button\"` and `accessibilityValue={{ text: sortedAscendingLabel }}`; the checkboxes are `Checkbox` (`accessibilityState={{ checked: \"mixed\" }}` for the header's); `empty` and `pagination` are elements; the status text has `accessibilityLiveRegion=\"polite\"` on Android and is posted with `AccessibilityInfo.announceForAccessibility` on iOS; `accessibilityState={{ busy: true }}` while loading. Single selection (`selection` single, TBL-60, TBL-61): the row's control is the platform's Tanrei radio button in place of the checkbox, the header row holds none, and the product's selection holds one value at most."}}}