viewkitjs 0.28.0 → 0.29.0

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 (305) hide show
  1. package/CHANGELOG.md +107 -0
  2. package/MIGRATION.md +85 -4
  3. package/fields/dist/derived.d.ts +2 -1
  4. package/fields/dist/derived.js +9 -3
  5. package/fields/dist/entities.js +41 -3
  6. package/fields/dist/index.d.ts +1 -1
  7. package/fields/dist/index.js +1 -1
  8. package/fields/dist/messages.d.ts +8 -2
  9. package/fields/dist/messages.js +3 -0
  10. package/fields/dist/range.d.ts +6 -0
  11. package/fields/dist/range.js +8 -0
  12. package/fields/dist/registry.js +11 -1
  13. package/fields/dist/spec-changes.js +1 -0
  14. package/fields/dist/types.d.ts +23 -1
  15. package/fields/docs/guides/derived-fields.md +7 -5
  16. package/fields/docs/guides/field-types.md +2 -2
  17. package/fields/docs/guides/the-index.md +1 -1
  18. package/fields/docs/reference/fields.md +3 -1
  19. package/fields/docs/reference/types.md +3 -1
  20. package/fields/skills/viewkit/SKILL.md +1 -1
  21. package/package.json +2 -1
  22. package/postgres/dist/definitions/build.js +29 -5
  23. package/postgres/dist/definitions/label.d.ts +7 -0
  24. package/postgres/dist/definitions/label.js +9 -1
  25. package/postgres/dist/definitions/lookup.js +6 -2
  26. package/postgres/dist/definitions/place.d.ts +6 -3
  27. package/postgres/dist/definitions/rollup.js +5 -1
  28. package/postgres/dist/definitions/storage.d.ts +15 -0
  29. package/postgres/dist/definitions/storage.js +52 -1
  30. package/postgres/dist/definitions/stored.js +21 -0
  31. package/postgres/dist/phone.d.ts +13 -1
  32. package/postgres/dist/phone.js +23 -3
  33. package/postgres/dist/search-indexes.d.ts +6 -1
  34. package/postgres/dist/search-indexes.js +71 -25
  35. package/postgres/dist/search.js +3 -3
  36. package/postgres/docs/guides/definitions.md +22 -5
  37. package/postgres/docs/guides/field-map.md +5 -4
  38. package/postgres/docs/reference/definitions.md +3 -3
  39. package/postgres/docs/reference/postgres.md +1 -1
  40. package/views/dist/cells/cell-format.js +2 -2
  41. package/views/dist/cells/cell-values.js +9 -10
  42. package/views/dist/contract.d.ts +149 -3
  43. package/views/dist/contract.js +157 -1
  44. package/views/dist/controls/bulk-bar/bulk-bar-of.d.ts +66 -0
  45. package/views/dist/controls/bulk-bar/bulk-bar-of.js +22 -0
  46. package/views/dist/controls/bulk-bar/bulk-bar.d.ts +40 -0
  47. package/views/dist/controls/bulk-bar/bulk-bar.js +278 -0
  48. package/views/dist/controls/bulk-bar/looks.d.ts +10 -0
  49. package/views/dist/controls/bulk-bar/looks.js +14 -0
  50. package/views/dist/controls/bulk-bar/map-selection-bar.d.ts +19 -0
  51. package/views/dist/controls/bulk-bar/map-selection-bar.js +57 -0
  52. package/views/dist/controls/bulk-bar/tokens.d.ts +136 -0
  53. package/views/dist/controls/bulk-bar/tokens.js +36 -0
  54. package/views/dist/controls/bulk-bar/words.d.ts +50 -0
  55. package/views/dist/controls/bulk-bar/words.js +19 -0
  56. package/views/dist/controls/bulk-bar.css +96 -0
  57. package/views/dist/controls/button/button.js +3 -1
  58. package/views/dist/controls/button.css +5 -4
  59. package/views/dist/controls/checkbox/checkbox.js +3 -1
  60. package/views/dist/controls/checkbox.css +1 -1
  61. package/views/dist/controls/choice/tokens.d.ts +79 -0
  62. package/views/dist/controls/choice/tokens.js +22 -0
  63. package/views/dist/controls/choice.css +31 -0
  64. package/views/dist/controls/compound-editor/looks.js +1 -1
  65. package/views/dist/controls/controls.d.ts +10 -0
  66. package/views/dist/controls/controls.js +8 -0
  67. package/views/dist/controls/customize/customize.d.ts +125 -0
  68. package/views/dist/controls/customize/customize.js +243 -0
  69. package/views/dist/controls/customize/glide.d.ts +10 -0
  70. package/views/dist/controls/customize/glide.js +55 -0
  71. package/views/dist/controls/customize/looks.d.ts +13 -0
  72. package/views/dist/controls/customize/looks.js +11 -0
  73. package/views/dist/controls/customize/map-customize-body.d.ts +18 -0
  74. package/views/dist/controls/customize/map-customize-body.js +160 -0
  75. package/views/dist/controls/customize/rules.d.ts +23 -0
  76. package/views/dist/controls/customize/rules.js +19 -0
  77. package/views/dist/controls/customize/tokens.d.ts +40 -0
  78. package/views/dist/controls/customize/tokens.js +12 -0
  79. package/views/dist/controls/customize/words.d.ts +58 -0
  80. package/views/dist/controls/customize/words.js +37 -0
  81. package/views/dist/controls/customize.css +54 -0
  82. package/views/dist/controls/date-editor/looks.js +1 -1
  83. package/views/dist/controls/filter-editor/block.d.ts +31 -0
  84. package/views/dist/controls/filter-editor/block.js +27 -0
  85. package/views/dist/controls/filter-editor/filter-editor.d.ts +2 -0
  86. package/views/dist/controls/filter-editor/filter-editor.js +85 -43
  87. package/views/dist/controls/filter-editor/how.d.ts +1 -1
  88. package/views/dist/controls/filter-editor/how.js +1 -0
  89. package/views/dist/controls/filter-editor/map-filter-body.d.ts +16 -1
  90. package/views/dist/controls/filter-editor/map-filter-body.js +39 -13
  91. package/views/dist/controls/filter-editor/map-rules.d.ts +27 -11
  92. package/views/dist/controls/filter-editor/map-rules.js +73 -42
  93. package/views/dist/controls/filter-editor/rules.d.ts +43 -5
  94. package/views/dist/controls/filter-editor/rules.js +55 -2
  95. package/views/dist/controls/filter-editor/words.d.ts +15 -0
  96. package/views/dist/controls/filter-editor/words.js +6 -0
  97. package/views/dist/controls/filter-editor.css +18 -0
  98. package/views/dist/controls/index.d.ts +26 -2
  99. package/views/dist/controls/index.js +25 -2
  100. package/views/dist/controls/inline-input/looks.js +1 -1
  101. package/views/dist/controls/input/input.js +10 -4
  102. package/views/dist/controls/internal/phone.d.ts +5 -4
  103. package/views/dist/controls/internal/phone.js +7 -7
  104. package/views/dist/controls/internal/scroll.js +5 -1
  105. package/views/dist/controls/internal/typed-run.d.ts +2 -0
  106. package/views/dist/controls/internal/typed-run.js +5 -0
  107. package/views/dist/controls/menu/map-menu.js +2 -2
  108. package/views/dist/controls/number-editor/looks.js +1 -1
  109. package/views/dist/controls/option/option.js +3 -1
  110. package/views/dist/controls/option.css +1 -1
  111. package/views/dist/controls/pane/pane.d.ts +4 -0
  112. package/views/dist/controls/pane/pane.js +2 -1
  113. package/views/dist/controls/picker/looks.js +1 -1
  114. package/views/dist/controls/picker/map-picker.d.ts +6 -2
  115. package/views/dist/controls/picker/map-picker.js +4 -2
  116. package/views/dist/controls/picker/picker.d.ts +7 -0
  117. package/views/dist/controls/picker/picker.js +57 -8
  118. package/views/dist/controls/popover/map-popover.d.ts +1 -1
  119. package/views/dist/controls/popover/map-popover.js +2 -2
  120. package/views/dist/controls/popover/popover.js +2 -1
  121. package/views/dist/controls/popover.css +3 -0
  122. package/views/dist/controls/ports-host/map-ports-host.d.ts +7 -0
  123. package/views/dist/controls/ports-host/map-ports-host.js +43 -0
  124. package/views/dist/controls/press/tokens.d.ts +8 -0
  125. package/views/dist/controls/press/tokens.js +4 -0
  126. package/views/dist/controls/press.css +44 -0
  127. package/views/dist/controls/quick-filters/looks.d.ts +11 -0
  128. package/views/dist/controls/quick-filters/looks.js +9 -0
  129. package/views/dist/controls/quick-filters/map-quick-filters-body.d.ts +31 -0
  130. package/views/dist/controls/quick-filters/map-quick-filters-body.js +56 -0
  131. package/views/dist/controls/quick-filters/quick-filters.d.ts +37 -0
  132. package/views/dist/controls/quick-filters/quick-filters.js +89 -0
  133. package/views/dist/controls/quick-filters/reminder.d.ts +18 -0
  134. package/views/dist/controls/quick-filters/reminder.js +41 -0
  135. package/views/dist/controls/quick-filters/rules.d.ts +89 -0
  136. package/views/dist/controls/quick-filters/rules.js +52 -0
  137. package/views/dist/controls/quick-filters/tokens.d.ts +112 -0
  138. package/views/dist/controls/quick-filters/tokens.js +30 -0
  139. package/views/dist/controls/quick-filters/words.d.ts +25 -0
  140. package/views/dist/controls/quick-filters/words.js +13 -0
  141. package/views/dist/controls/quick-filters.css +118 -0
  142. package/views/dist/controls/sheet/bottom-sheet.d.ts +9 -4
  143. package/views/dist/controls/sheet/bottom-sheet.js +4 -4
  144. package/views/dist/controls/sheet/map-sheet.d.ts +4 -1
  145. package/views/dist/controls/sheet/map-sheet.js +19 -6
  146. package/views/dist/controls/sheet/sheet-parts.d.ts +10 -0
  147. package/views/dist/controls/sheet/sheet-parts.js +2 -0
  148. package/views/dist/controls/switch-row/switch-row.d.ts +15 -0
  149. package/views/dist/controls/switch-row/switch-row.js +9 -0
  150. package/views/dist/controls/switch-row/tokens.d.ts +51 -0
  151. package/views/dist/controls/switch-row/tokens.js +15 -0
  152. package/views/dist/controls/switch-row.css +39 -0
  153. package/views/dist/controls/switch.css +1 -1
  154. package/views/dist/controls/tag/tag.js +3 -1
  155. package/views/dist/controls/tag-field/tag-field.d.ts +20 -0
  156. package/views/dist/controls/tag-field/tag-field.js +19 -0
  157. package/views/dist/controls/tag-field/tokens.d.ts +7 -0
  158. package/views/dist/controls/tag-field/tokens.js +4 -0
  159. package/views/dist/controls/tag-field.css +13 -0
  160. package/views/dist/controls/text-editor/looks.js +1 -1
  161. package/views/dist/controls/text-editor/text-editor.js +1 -5
  162. package/views/dist/controls/toast/toast.d.ts +5 -1
  163. package/views/dist/controls/toast/toast.js +5 -3
  164. package/views/dist/controls/tokens.js +18 -0
  165. package/views/dist/controls/toolbar/keys.d.ts +3 -0
  166. package/views/dist/controls/toolbar/keys.js +11 -0
  167. package/views/dist/controls/toolbar/looks.d.ts +10 -0
  168. package/views/dist/controls/toolbar/looks.js +40 -0
  169. package/views/dist/controls/toolbar/tokens.d.ts +28 -0
  170. package/views/dist/controls/toolbar/tokens.js +9 -0
  171. package/views/dist/controls/toolbar/toolbar.d.ts +111 -0
  172. package/views/dist/controls/toolbar/toolbar.js +370 -0
  173. package/views/dist/controls/toolbar/words.d.ts +28 -0
  174. package/views/dist/controls/toolbar/words.js +17 -0
  175. package/views/dist/controls/toolbar-button/looks.d.ts +4 -0
  176. package/views/dist/controls/toolbar-button/looks.js +21 -0
  177. package/views/dist/controls/toolbar-button/tokens.d.ts +103 -0
  178. package/views/dist/controls/toolbar-button/tokens.js +28 -0
  179. package/views/dist/controls/toolbar-button/toolbar-button.d.ts +66 -0
  180. package/views/dist/controls/toolbar-button/toolbar-button.js +51 -0
  181. package/views/dist/controls/toolbar-button.css +75 -0
  182. package/views/dist/controls/toolbar.css +65 -0
  183. package/views/dist/controls/tooltip/map-tooltip.d.ts +1 -1
  184. package/views/dist/controls/tooltip/map-tooltip.js +2 -2
  185. package/views/dist/controls/tooltip/tooltip.d.ts +3 -1
  186. package/views/dist/controls/tooltip/tooltip.js +2 -2
  187. package/views/dist/controls/values-editor/looks.js +1 -1
  188. package/views/dist/controls/views-list/map-views-list-body.d.ts +4 -1
  189. package/views/dist/controls/views-list/map-views-list-body.js +128 -4
  190. package/views/dist/controls/views-list/rules.d.ts +26 -0
  191. package/views/dist/controls/views-list/rules.js +63 -0
  192. package/views/dist/controls/views-list/view-menu.d.ts +84 -0
  193. package/views/dist/controls/views-list/view-menu.js +201 -0
  194. package/views/dist/controls/views-list/views-list.d.ts +8 -1
  195. package/views/dist/controls/views-list/views-list.js +18 -3
  196. package/views/dist/controls/views-list/words.d.ts +54 -0
  197. package/views/dist/controls/views-list/words.js +10 -1
  198. package/views/dist/controls/views-list.css +5 -1
  199. package/views/dist/display/date.js +3 -3
  200. package/views/dist/display/format.d.ts +6 -0
  201. package/views/dist/display/format.js +3 -0
  202. package/views/dist/display/index.d.ts +1 -1
  203. package/views/dist/display/index.js +1 -1
  204. package/views/dist/display/range.d.ts +2 -1
  205. package/views/dist/display/range.js +4 -1
  206. package/views/dist/grid/chrome/GridHeader.js +2 -1
  207. package/views/dist/grid/chrome/GridNumberEditor.js +2 -2
  208. package/views/dist/grid/chrome/GridRowCells.js +2 -1
  209. package/views/dist/grid/chrome/GridTextEditor.js +2 -2
  210. package/views/dist/grid/chrome/grid-editor-layer.d.ts +5 -1
  211. package/views/dist/grid/chrome/grid-editor-layer.js +1 -0
  212. package/views/dist/grid/chrome/grid-fitted-box.d.ts +7 -1
  213. package/views/dist/grid/chrome/grid-fitted-box.js +4 -4
  214. package/views/dist/grid/core/clipboard-model.js +9 -4
  215. package/views/dist/grid/grid.css +240 -0
  216. package/views/dist/grid/looks.d.ts +5 -1
  217. package/views/dist/grid/looks.js +20 -12
  218. package/views/dist/grid-tokens.d.ts +109 -0
  219. package/views/dist/grid-tokens.js +29 -0
  220. package/views/dist/looks/index.d.ts +5 -0
  221. package/views/dist/looks/index.js +5 -0
  222. package/views/dist/looks/pieces.js +10 -0
  223. package/views/dist/model/column-capabilities.d.ts +2 -0
  224. package/views/dist/model/column-filters.d.ts +2 -1
  225. package/views/dist/model/column-from.js +2 -2
  226. package/views/dist/model/relation-filters.d.ts +2 -0
  227. package/views/dist/panels/index.d.ts +2 -2
  228. package/views/dist/panels/index.js +2 -2
  229. package/views/dist/panels/labels.d.ts +4 -0
  230. package/views/dist/panels/labels.js +8 -0
  231. package/views/dist/panels/model.d.ts +10 -2
  232. package/views/dist/panels/quick/model.d.ts +4 -0
  233. package/views/dist/panels/react/customize-body.d.ts +9 -4
  234. package/views/dist/panels/react/customize-body.js +39 -11
  235. package/views/dist/panels/react/customize.d.ts +8 -1
  236. package/views/dist/panels/react/customize.js +9 -6
  237. package/views/dist/panels/react/filter/FilterEditor.js +4 -4
  238. package/views/dist/panels/react/filter/FilterFieldList.js +10 -2
  239. package/views/dist/panels/react/filter/PhoneFilterEditor.js +3 -3
  240. package/views/dist/panels/react/filter/filter-body.js +5 -2
  241. package/views/dist/panels/react/panel-step.d.ts +3 -0
  242. package/views/dist/panels/react/panel-step.js +2 -1
  243. package/views/dist/panels/react/quick/QuickFiltersPanel.js +1 -0
  244. package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +13 -3
  245. package/views/dist/panels/react/toolbar/ReadyToolbar.js +10 -3
  246. package/views/dist/panels/react/toolbar/Toolbar.js +1 -1
  247. package/views/dist/panels/react/toolbar/ToolbarAsideFilter.js +2 -2
  248. package/views/dist/panels/react/toolbar/ToolbarBarFilter.js +13 -3
  249. package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +2 -1
  250. package/views/dist/panels/react/toolbar/ToolbarFilters.js +3 -3
  251. package/views/dist/panels/react/toolbar/ToolbarOptions.d.ts +12 -4
  252. package/views/dist/panels/react/toolbar/ToolbarOptions.js +6 -2
  253. package/views/dist/panels/react/view-footer.d.ts +1 -1
  254. package/views/dist/panels/react/views-row/ViewPicker.js +25 -4
  255. package/views/dist/panels/settings/filter-groups.d.ts +3 -0
  256. package/views/dist/panels/settings/filter-groups.js +40 -9
  257. package/views/dist/panels/settings/filters.d.ts +5 -0
  258. package/views/dist/panels/settings/filters.js +12 -6
  259. package/views/dist/panels/views-row/model.d.ts +10 -1
  260. package/views/dist/provider/ViewsProvider.js +29 -5
  261. package/views/dist/provider/components.d.ts +149 -8
  262. package/views/dist/provider/context.d.ts +6 -0
  263. package/views/dist/provider/ports.d.ts +18 -6
  264. package/views/dist/provider/ports.js +2 -1
  265. package/views/dist/react.d.ts +2 -2
  266. package/views/dist/react.js +1 -1
  267. package/views/dist/selection/SelectionBar.d.ts +2 -16
  268. package/views/dist/selection/SelectionBar.js +4 -1
  269. package/views/dist/selection/bar-props.d.ts +26 -0
  270. package/views/dist/selection/bar-props.js +1 -0
  271. package/views/dist/selection/index.d.ts +1 -1
  272. package/views/dist/selection/verbs.d.ts +32 -5
  273. package/views/dist/styles.css +656 -25
  274. package/views/dist/styles.unlayered.css +653 -22
  275. package/views/docs/contract.md +44 -17
  276. package/views/docs/controls/bulk-bar.md +41 -0
  277. package/views/docs/controls/choice.md +25 -0
  278. package/views/docs/controls/customize.md +17 -0
  279. package/views/docs/controls/popover.md +2 -0
  280. package/views/docs/controls/press.md +9 -0
  281. package/views/docs/controls/quick-filters.md +35 -0
  282. package/views/docs/controls/radio.md +1 -1
  283. package/views/docs/controls/switch-row.md +18 -0
  284. package/views/docs/controls/tag-field.md +7 -0
  285. package/views/docs/controls/toolbar-button.md +31 -0
  286. package/views/docs/controls/toolbar.md +14 -0
  287. package/views/docs/guides/atoms.md +2 -2
  288. package/views/docs/guides/cells.md +2 -2
  289. package/views/docs/guides/display.md +2 -2
  290. package/views/docs/guides/looks.md +8 -2
  291. package/views/docs/guides/ports.md +6 -6
  292. package/views/docs/guides/selection.md +5 -1
  293. package/views/docs/guides/the-grid.md +1 -1
  294. package/views/docs/guides/the-provider.md +2 -2
  295. package/views/docs/install.md +4 -1
  296. package/views/docs/reference/cells.md +1 -1
  297. package/views/docs/reference/controls.md +194 -13
  298. package/views/docs/reference/display.md +1 -0
  299. package/views/docs/reference/looks.md +25 -11
  300. package/views/docs/reference/panels-react.md +7 -7
  301. package/views/docs/reference/panels.md +8 -6
  302. package/views/docs/reference/react.md +13 -6
  303. package/views/docs/reference/selection.md +4 -2
  304. package/views/docs/reference/views.md +7 -6
  305. package/views/skills/views/SKILL.md +2 -2
@@ -387,6 +387,14 @@ Each control's names, with their kind, the Outright token each stands for and it
387
387
  `docs/controls/<piece>.md`, beside its stylesheet `viewkitjs/views/controls/<piece>.css`. A name two controls read is on
388
388
  both pages, one kind and one token.
389
389
 
390
+ ### The grid's look tokens
391
+
392
+ The grid's look stylesheet (`viewkitjs/views/grid.css`, below in Looks) reads only these names beside the grid's own
393
+ geometry (`--vk-scale`), listed as `VK_GRID_TOKENS` with each one's kind and Outright token, each optional like the
394
+ controls': the ready stylesheet declares every one at My preset's value. All but one are the controls' names, the same
395
+ token there. `--vk-frozen-fade` is the grid's alone: the shade a pinned column casts over the columns scrolling under it
396
+ (the Pinned edge's Fade, Outright `pinned-shadow`), read into `--vk-frozen-shadow`.
397
+
390
398
  ## Looks
391
399
 
392
400
  A piece's looks are declared beside the piece and listed in `LOOKS` (`viewkitjs/views/looks`). An option is a closed set
@@ -402,7 +410,11 @@ Each default control declares its looks beside it in the controls part (its fold
402
410
  its stylesheet is its look stylesheet. The grid (`GRID_LOOKS`): 25 options and two looks, `attio` and `portal`. Fourteen of its
403
411
  options are read by the grid's code (`GRID_LOOK_READ`): eleven become the props it is handed (`gridLookProps`), and three
404
412
  the app wires itself, `more` (pages under `GridTable`'s `pages`), `figures` (the footer's words, through the provider's
405
- messages) and `wait` (`RowsWait` in the components map). The other eleven are its look stylesheet's, which ships later.
413
+ messages) and `wait` (`RowsWait` in the components map). The other eleven are its look stylesheet's: `viewkitjs/views/grid.css`,
414
+ inside the ready stylesheet after ViewKit's own classes, or imported by its door after them. It reaches the grid only by its
415
+ slots, its states, the frame's `data-grid-*` and the kit mark ViewKit's own controls carry (where the Text, Number,
416
+ Picker, Compound, Values or Date editor draws its own edge, the cell's outline stands down), and each option's default
417
+ draws with no frame too, so a grid that wears no picks wears the default look.
406
418
 
407
419
  ## The components map
408
420
 
@@ -419,7 +431,7 @@ grid's editors and menus use, each in Base UI's shape, and an adapter on Radix a
419
431
  both fill every one.
420
432
 
421
433
  **Defaults for an app that hands none:** `CONTROLS`, from `viewkitjs/views/controls`, holds ViewKit's default controls,
422
- the Outright kit's, on Base UI: its controls (the Button, the Popover, the Sheet, the Input, the Checkbox, the Tooltip, the Menu), the Text editor as its `TextBody`, the Picker as its `Picker` and `FieldsBody`, the Date editor as its `DateBody`, the Date editor's days as its `Calendar`, the Compound editor as its `PartsBody`, the Number editor as its `NumberBody`, the Values editor as its `ValuesBody`, the Links editor as its `LinksBody`, and of the panels the sort editor as its `SortBody`, the views list as its `ViewsListBody`, the filter editor as its `FilterBody` and `FilterPartBody` and the group editor as its `GroupBody`; and of the panels' controls the Collapsible as its `Collapse`. An app spreads it first and its own after
434
+ the Outright kit's, on Base UI: its controls (the Button, the Popover, the Sheet, the Input, the Checkbox, the Tooltip, the Menu), the Text editor as its `TextBody`, the Picker as its `Picker` and `FieldsBody`, the Date editor as its `DateBody`, the Date editor's days as its `Calendar`, the Compound editor as its `PartsBody`, the Number editor as its `NumberBody`, the Values editor as its `ValuesBody`, the Links editor as its `LinksBody`, and of the panels the sort editor as its `SortBody`, the views list as its `ViewsListBody`, the filter editor as its `FilterBody` and `FilterPartBody` and the group editor as its `GroupBody`, Customize as its `CustomizeBody`, the quick filters as its `QuickFiltersBody`, the bulk bar as its `SelectionBar`; and of the panels' controls the Collapsible as its `Collapse`; and `PortsHost`, ViewKit's Toast and alert dialog for the `toast` and `confirm` ports an app leaves out. An app spreads it first and its own after
423
435
  (`components={{ ...CONTROLS, ...own }}`), so whatever it hands wins. That door alone needs `@base-ui/react`, an optional
424
436
  peer; the provider and every other door import neither library, so an app that hands every control never installs it.
425
437
 
@@ -429,7 +441,7 @@ peer; the provider and every other door import neither library, so an app that h
429
441
 
430
442
  `Checkbox`: `ViewsCheckboxProps`. When the provider's `gridCheckboxes` is `checkbox`, a yes/no cell in the grid draws it, handed `checked`, the column's name as `aria-label`, `tabIndex` -1 and `onCheckedChange`; a cell the grid can't write is handed `readOnly` and a press that writes nothing. When `fieldRowCheckboxes` is `checkbox`, a field row's yes/no draws it, handed `checked`, the field's name as `aria-label` and `onCheckedChange`, and no `tabIndex`, so it stays a Tab stop as the row's own switch is; a row it can't write is handed `readOnly`, and a value inside the row's own button keeps the tick box. Forward `readOnly` to your control.
431
443
 
432
- `Input`, optional: a single-line text box, `ViewsInputProps`. Every editor's text box draws through it; without it the editors draw a plain `<input>`. Forward every prop to your element, `ref` included. `chrome` is `bare` (the default: a grid cell, a panel that frames the box) or `field` (your field's frame). `OPTIONAL_COMPONENT_NAMES` lists the twenty optional slots apart from `COMPONENT_NAMES`, which lists the slots you must fill.
444
+ `Input`, optional: a single-line text box, `ViewsInputProps`. Every editor's text box draws through it; without it the editors draw a plain `<input>`. Forward every prop to your element, `ref` included. `chrome` is `bare` (the default: a grid cell, a panel that frames the box) or `field` (your field's frame). `OPTIONAL_COMPONENT_NAMES` lists the twenty-one optional slots apart from `COMPONENT_NAMES`, which lists the slots you must fill.
433
445
 
434
446
  `Command`, optional: the command list's parts (`ViewsCommandParts`), through which the editors' lists and the grid's menus on the `popover` route draw. A list reached without one throws an error naming it. An app that hands `Picker` and sets `menus: "menu"` needs none.
435
447
 
@@ -450,19 +462,23 @@ peer; the provider and every other door import neither library, so an app that h
450
462
 
451
463
  `SortBody`, optional: the sort editor's whole body, which your app draws, `ViewsSortBodyProps`. Handed one, the sort pill opens it in place of ViewKit's own sort editor: in its popover on a computer (or your `host`, where the toolbar is handed one) and in the Sheet on a phone, and so does anything else that opens `SortEditor` or `useSortEditor`'s body. It is handed the sort's name (`label`), the fields the list sorts by (`options`, each its sort key, its words and the direction a new rule takes, and, marked as the grid's header marks its column, its field's `type`, the `part` it sorts by and the header's `glyph`, drawn with your icons; the three absent for an option your app built with no column behind it), the rules in order, the first sorting first (`rules`, each a sort key and `asc` or `desc`), the sorts set aside after them (`setAside`, each holding one of the places until it is put back or deleted; `[]` when there are none), how many rules at most (`max`, a set-aside sort holding one of the places), `form`, and `addSort`, true on a computer where what holds it has no + of its own (the dashed Sort, while only set-aside sorts stand, and a pill handed `addAfter={false}`), so Add sort stands at your body's foot; a phone's body always has one. The body hands back `onRulesChange` (the whole rules in order and, when handed, the set-aside sorts kept, any left out deleted, absent keeping every one; every change as it is made: a move, a direction, a removal, an added rule, a set-aside sort put back or deleted) and `onDone` (the job is done and what holds it closes). On a phone where the sheet's head doesn't draw them (the provider's `sheetActions` at `bar`), it is handed `actions`, the ✕ (`close`, which takes the rules and the set-aside sorts back to what they were as the sheet opened) and ✓ (`done`, which keeps them) for its own head; on a computer, and under `head`, where the sheet holds them, it is handed none. On a phone it is handed `onStepChange`: hand it a step of your own (`ViewsBodyStep`, its `title` and `onBack`: Add sort's fields, a rule's direction) while you stand on one, and `null` once you are back; under `head` the sheet's head shows the step's title and Back in ✕'s place, under `bar` your own head does, and the sheet's Escape goes back a step instead of closing it (a swipe still closes the sheet, keeping the rules). ViewKit keeps the rest: it checks each list against the rules (each rule one of `options`, each field sorted once, each set-aside sort one the list holds, `max` at most, a set-aside sort counted) and writes nothing when one breaks them; it keeps the latest rules between renders, so two changes before the next render both land; on a computer it closes the popover when the last rule goes with no set-aside sort left; and it keeps what ✕ takes back to. The + after the pill, the empty Sort and Sort on the row's right open your `FieldsBody` where you hand one, else ViewKit's own list of fields. A body that ignores `setAside` shows an empty panel at the dashed Sort, where only set-aside sorts stand. `CONTROLS.SortBody` is ViewKit's own, the sort editor: on a computer each rule its grip, its field's and its direction's Select, and ×, then Add sort where `addSort` and Clear all sorts; the set-aside sorts after the rules, each its field's box dashed with why, re-pointed, put back or deleted; on a phone a card per rule, and Add sort, a rule's direction and a set-aside sort's field as a step of the same sheet (`onStepChange`), with its own head under `bar`.
452
464
 
453
- `FilterBody`, optional: the filter editor's whole body, which your app draws, `ViewsFilterBodyProps`. Handed one, an advanced filter's pill opens it in place of ViewKit's own filter editor on a computer (in its popover, or your `host`), and Filter opens it in the Sheet on a phone, and so does anything else that opens `FilterEditor`, `PhoneFilterEditor` or `usePhoneFilterEditor`'s body. It is handed the filter's name (`label`), the fields a rule may name (`fields`, each its key, words, `fieldKey`, `part` and `type`, a relation with its `far` fields one level in), the level it is open on (`filter`, `viewkitjs/fields/query`'s `FilterGroup`: on a computer the advanced filter's own group, a top joined by Or as one group of its own; on a phone the whole filter; its items rules, groups and relation rules, a rule or relation rule set aside kept where it sits), how many levels deep its rules may stand (`levels`, its own the first: 2 for an advanced filter's group, 3 on a phone, so the view never stands more than 3 deep), whether it may exclude its matches (`excludable`, `op: "not"`: an advanced filter's own group, never a top or a where), `relation` where the level is a relation rule's where edited in place (its field key, words and quantifier; its rules name its far fields; and `gone`, present only where the list no longer lists the relation: why, in words, "Its relation is no longer in this list", for your Add filter's disabled reason), `form`, and `ruleValue`, a rule's value in ViewKit's own body for its type, for your body to place where a rule's value opens, each change handed back as the rule with its new value (null for a rule set aside or a way taking no value). The body hands back `onFilterChange` (the whole level and, at a relation edited in place, its quantifier; every change as it is made: a rule added, changed or removed, a join turned, a group made, matches excluded) and `onDone` (the job is done and what holds it closes). A rule held until whole is your body's to hold: hand it back once whole. On a phone where the sheet's head doesn't draw them (the provider's `sheetActions` at `bar`), it is handed `actions`, the ✕ (`close`, which takes the filter back to what it was as the sheet opened) and ✓ (`done`, which keeps it); on a computer, and under `head`, it is handed none. ViewKit keeps the rest: it checks each level against the rules (its join `and` or `or`, `not` only where `excludable`; `levels` deep at most; 50 items at most in each container; each rule a field it may name and a way that field offers, with a value that way stores; each relation rule one of the relations, never inside another, `any`, `none` or `every`; each rule still set aside one the level held, unchanged; under a relation the list no longer lists, each rule one the level held, unchanged, so its rules may be deleted and never added or changed) and writes nothing when one breaks them; it writes through its own editor's state, so the first edit in a top joined by Or wraps it into one advanced filter and the pills' keys follow; a level handed back empty on a computer takes its advanced filter away and closes the popover, and on a phone the sheet stays on it; and it keeps what ✕ takes back to. Beside the level it is handed each choice field's values (`options` on a field, each as the Picker draws it: a status's step, a person's or a record's avatar, a record's kind), only where ViewKit holds the field's whole list as it opens (its values read on demand and not yet handed by your app, it is absent: open `ruleValue` there; `[]` is a whole list that is empty), ViewKit's own words for a rule (`ruleWords(rule, relation?)`: its field, way and value as the bar words them, for a rule your body has no words of its own for), and, on a phone, `onStepChange`: hand it a step of your own (`ViewsBodyStep`: a box's list, Add filter's fields) while you stand on one, and `null` once you are back; under `head` the sheet's head shows the step's title and Back in ✕'s place, under `bar` your own head does, and the sheet's Escape goes back a step instead of closing it. `CONTROLS.FilterBody` is ViewKit's own, the filter editor: each rule Where or its join, its field, how it compares and its value in its type's own box (a choice's values from `options`), ⋮ to make a group or delete it, groups 3 deep, Add filter and Clear all filters; a rule set aside in its place, its field's box dashed saying why, re-pointed, put back where its field is back, or deleted; ViewKit's own words and value body (`ruleWords`, `ruleValue`) for a way the kit has no word for, a field it doesn't list or a choice with no values; on a phone each box's list, a date, a value ViewKit draws and Add filter as a step of the same sheet (`onStepChange`), with its own head under `bar`. It reads neither `excludable` nor a relation rule other than `any` with one far rule, which it hands back unchanged in their place.
465
+ `FilterBody`, optional: the filter editor's whole body, which your app draws, `ViewsFilterBodyProps`. Handed one, an advanced filter's pill opens it in place of ViewKit's own filter editor on a computer (in its popover, or your `host`), and Filter opens it in the Sheet on a phone, and so does anything else that opens `FilterEditor`, `PhoneFilterEditor` or `usePhoneFilterEditor`'s body. It is handed the filter's name (`label`), the fields a rule may name (`fields`, each its key, words, `fieldKey`, `part` and `type`, a relation with its `far` fields one level in; and, in its place in the column order, each column the list can't filter, why in `disabled`, for your body to draw greyed and never name in a rule or put a set-aside rule back on), the level it is open on (`filter`, `viewkitjs/fields/query`'s `FilterGroup`: on a computer the advanced filter's own group, a top joined by Or as one group of its own; on a phone the whole filter; its items rules, groups and relation rules, a rule or relation rule set aside kept where it sits), how many levels deep its rules may stand (`levels`, its own the first: 2 for an advanced filter's group, 3 on a phone, so the view never stands more than 3 deep), whether it may exclude its matches (`excludable`, `op: "not"`: an advanced filter's own group, never a top or a where), `relation` where the level is a relation rule's where edited in place (its field key, words and quantifier; its rules name its far fields; and `gone`, present only where the list no longer lists the relation: why, in words, "Its relation is no longer in this list", for your Add filter's disabled reason), `form`, and `ruleValue`, a rule's value in ViewKit's own body for its type, for your body to place where a rule's value opens, each change handed back as the rule with its new value (null for a rule set aside or a way taking no value). The body hands back `onFilterChange` (the whole level and, at a relation edited in place, its quantifier; every change as it is made: a rule added, changed or removed, a join turned, a group made, matches excluded) and `onDone` (the job is done and what holds it closes). A rule held until whole is your body's to hold: hand it back once whole. On a phone where the sheet's head doesn't draw them (the provider's `sheetActions` at `bar`), it is handed `actions`, the ✕ (`close`, which takes the filter back to what it was as the sheet opened) and ✓ (`done`, which keeps it); on a computer, and under `head`, it is handed none. ViewKit keeps the rest: it checks each level against the rules (its join `and` or `or`, `not` only where `excludable`; `levels` deep at most; 50 items at most in each container; each rule a field it may name and a way that field offers, with a value that way stores; each relation rule one of the relations, never inside another, `any`, `none` or `every`; each rule still set aside one the level held, unchanged; under a relation the list no longer lists, each rule one the level held, unchanged, so its rules may be deleted and never added or changed) and writes nothing when one breaks them; it writes through its own editor's state, so the first edit in a top joined by Or wraps it into one advanced filter and the pills' keys follow; a level handed back empty on a computer takes its advanced filter away and closes the popover, and on a phone the sheet stays on it; and it keeps what ✕ takes back to. Beside the level it is handed each choice field's values, and a place's country's names (`options` on a field, each as the Picker draws it: a status's step, a person's or a record's avatar, a record's kind), only where ViewKit holds the field's whole list as it opens (its values read on demand and not yet handed by your app, it is absent: open `ruleValue` there; `[]` is a whole list that is empty), ViewKit's own words for a rule (`ruleWords(rule, relation?)`: its field, way and value as the bar words them, for a rule your body has no words of its own for), and, on a phone, `onStepChange`: hand it a step of your own (`ViewsBodyStep`: a box's list, Add filter's fields) while you stand on one, and `null` once you are back; under `head` the sheet's head shows the step's title and Back in ✕'s place, under `bar` your own head does, and the sheet's Escape goes back a step instead of closing it. `CONTROLS.FilterBody` is ViewKit's own, the filter editor: each rule Where or its join, its field, how it compares and its value in its type's own box (a choice's values from `options`), ⋮ to make a group or delete it, groups 3 deep, Add filter and Clear all filters; a relation rule's block (its relation, `any`, `none` or `every` where, its rules on that relation's fields), which a related rule's ⋮ makes with None or Every; a group's ⋮ with Exclude matches, and the level's own where `excludable`; a rule set aside in its place, its field's box dashed saying why, re-pointed, put back where its field is back, or deleted, and a relation rule set aside, or on a relation the list no longer lists, one row in its words; ViewKit's own words and value body (`ruleWords`, `ruleValue`) for a way the kit has no word for, a field it has no type for or a choice with no values, so nothing the level holds is out of sight; open on a relation's where, its relation and quantifier over the rules, the quantifier handed back with the level; on a phone each box's list, a date, a value ViewKit draws, Add filter, a block's quantifier and a rule's or a group's ⋯ as a step of the same sheet (`onStepChange`), with its own head under `bar`.
454
466
 
455
- `FieldsBody`, optional: the field list's whole body, which your app draws, `ViewsFieldsBodyProps`. Handed one, ViewKit opens it wherever it opens its own sort or filter field list, in place of its own rows: for a sort, the empty Sort, Sort on the row's right and the + after the sort pill, and, inside ViewKit's own sort editor, Add sort, a rule's field and a set-aside sort's field; for a filter, Filter and the + on the bar, a filter's field on the bar, a set-aside filter's field, and, inside ViewKit's own filter editor on a computer and on a phone, Add filter and a rule's field. It stands where ViewKit's list would: in the popover under what opened it on a computer, and on a page of the editor's sheet on a phone, under the sheet's own head, so it takes no `actions`. It is handed what the pick is for (`purpose`: `sort` or `filter`), the list's name (`label`), its search's words (`search`), the fields in order as `ViewsFieldsBodyField` data (each its `key`, its words, its field's `type`, the `part` it reads and its column's `glyph`, all three as the grid's header marks its column, and, where it can't be picked, why, in `disabled`: a field another rule sorts says "Sorted"; for a filter, each relation with its `far` fields one level in, where a rule can name one), the field being changed (`own`, absent where a pick adds) and `form`. It hands back one pick through `onPick` (the field's key, and for a far field the far field's key too), and `onDone` closes what holds it with no pick. ViewKit writes the pick as its own list's would, and writes nothing for a key it didn't hand or handed `disabled`. `CONTROLS.FieldsBody` is ViewKit's own, the Picker.
467
+ `FieldsBody`, optional: the field list's whole body, which your app draws, `ViewsFieldsBodyProps`. Handed one, ViewKit opens it wherever it opens its own sort or filter field list, in place of its own rows: for a sort, the empty Sort, Sort on the row's right and the + after the sort pill, and, inside ViewKit's own sort editor, Add sort, a rule's field and a set-aside sort's field; for a filter, Filter and the + on the bar, a filter's field on the bar, a set-aside filter's field, and, inside ViewKit's own filter editor on a computer and on a phone, Add filter and a rule's field. It stands where ViewKit's list would: in the popover under what opened it on a computer, and on a page of the editor's sheet on a phone, under the sheet's own head, so it takes no `actions`. It is handed what the pick is for (`purpose`: `sort` or `filter`), the list's name (`label`), its search's words (`search`), the fields in order as `ViewsFieldsBodyField` data (each its `key`, its words, its field's `type`, the `part` it reads and its column's `glyph`, all three as the grid's header marks its column, and, where it can't be picked, why, in `disabled`: a field another rule sorts says "Sorted", and, for a filter, a column the list can't filter says why in your words; for a filter, each relation with its `far` fields one level in, where a rule can name one), the field being changed (`own`, absent where a pick adds) and `form`. It hands back one pick through `onPick` (the field's key, and for a far field the far field's key too), and `onDone` closes what holds it with no pick. ViewKit writes the pick as its own list's would, and writes nothing for a key it didn't hand or handed `disabled`. `CONTROLS.FieldsBody` is ViewKit's own, the Picker.
456
468
 
457
469
  `FilterPartBody`, optional: a filter rule's way and value, which your app draws, `ViewsFilterPartBodyProps`. Handed one, a rule's way and its value open it wherever ViewKit draws them itself, in place of its ways menu and its value body: a filter on the bar, and a rule in ViewKit's own filter editor, in a popover on a computer and on a page of the sheet on a phone (no `actions`, as `FieldsBody`). It never opens inside `FilterBody`'s `ruleValue`, which stays ViewKit's own value body. It is handed which part opened it (`part`: `way` or `value`), the part's name (`label`), the rule as data (`rule`: its field key, part, way and value; one waiting for its value holds its way's empty value), the field it names (`field`, a far field for a far rule, its `type` saying the ways and the value each stores), the ways its field offers (`ways`, each its operator and its words), ViewKit's own value body (`own`, for a type your body doesn't draw; null at `way`) and `form`. It hands back the rule changed through `onRuleChange`: a new way is written as ViewKit's own writes one, its value kept where it still fits and emptied where not, whatever value comes with it; a value is written once its way can hold it, or emptied (the rule then waits for its value). ViewKit writes nothing for a rule naming another field or part, a way its field doesn't offer or a value its way can't hold, and keeps a rule held until whole, the Or top's wrap and the bar's keys. `onDone` closes what holds it. Its `field` carries the field's values (`options`) as `FilterBody`'s fields do. `CONTROLS.FilterPartBody` is ViewKit's own, the filter part: a rule's way in the kit's ways, its value in its type's own (a choice's values from `options`), and ViewKit's ways and `own` for a rule the kit draws no part of.
458
470
 
459
471
  `SearchField`, optional: the toolbar's search box, which your app draws, `ViewsSearchFieldProps`. Handed one, the search opens it wherever it opens its own field, in place of its frame's glass, field and ✕, on a computer and on a phone: from its button on the row and beside the phone's views, and filling its line in the narrow panel and on a phone with no views. It is handed the value, `onChange` (every keystroke), the placeholder, its name (`label`), `searching` and its words (`searchingLabel`), the clear (`onClear`, its name in `clearLabel`, and `closes`: opened from its button, your clear stands while it is open, empty or not, and closes it; filling its line, show it only while it holds a value), `form` (`computer` or `phone`) and `fill`. ViewKit keeps its button while shut, whether it is open, the caret on a press (in the first `input` inside your box), Escape and a blur with nothing typed, caught on its frame around your box: an Escape your box keeps for itself, `preventDefault` it, and a button of your own inside the box `preventDefault`s its `mousedown`, as ViewKit's ✕ does, so the box keeps its focus (a browser that doesn't focus a button on a click gives the blur no target). Fill the frame's width; on a phone, a text of 16px keeps iOS from zooming the page.
460
472
 
461
- `ViewsListBody`, optional: the views list's whole body, which your app draws, `ViewsViewsListBodyProps`. Handed one, the view picker's chip opens it in place of ViewKit's own list of views: in its popover on a computer and in the Sheet on a phone. The row's pills and its "+N" list stay ViewKit's. It is handed the list's name (`label`), the axis's views in its order (`views`, each its `value`, its words, its `icon`, its `count` (absent while the list's counts are hidden), `private` for one of the reader's own, and `menu`, the view's own verbs as your app gave them), the view in use (`value`), `form`, and, where the axis has them, `onCreate` with its word (`createLabel`; what holds the list closes first, then the axis's own create runs) and `onReorder` with `canDrag`. The body hands back `onViewChange` (a view picked; it closes nothing, so call `onDone` after it, as ViewKit's own list closes on a pick), `onReorder` (one whole block, the shared views or the reader's own, in its new order, each once) and `onDone` (what holds it closes). On a phone where the sheet's head doesn't draw it (the provider's `sheetActions` at `bar`), it is handed `actions`, the ✕ alone (`close`, which closes the list); on a computer, and under `head`, it is handed none. ViewKit checks each value before it is written: a pick that isn't one of `views`, and an order that isn't one whole block, write nothing. What creating, reordering and a view's verbs mean stays your app's, as the axis says. `CONTROLS.ViewsListBody` is ViewKit's own, the views list: a search over the views (at the Sheet's foot on a phone), each with its glyph, its count and its ⋮ where you hand it a menu, Shared and the reader's own under their headings with a lock on each of the reader's own, a view moved by a drag or ⌥↑ ⌥↓ within its block (never one `canDrag` refuses, nor a view dropped past one), ↓ and ↑ going on from the view in use, and New view where the axis grows. It draws no ✕ of its own: the Sheet's head draws it, and `actions` goes unread.
473
+ `PortsHost`, optional: what draws the ports an app leaves out, `ViewsPortsHostProps`: `toast` and `confirm` (which of them to draw) and `onReady` (hand it the ports once they stand). The provider mounts it once, after it first renders in the browser, so a server render draws neither, and only when the app hands no `toast` or no `confirm`; an app's own port always wins. Left out, a missing `toast` draws nothing and a missing `confirm` is the browser's. `CONTROLS.PortsHost` reports in ViewKit's Toast (Undo where `success` hands one) and asks in ViewKit's alert dialog, the question held in its own state, so an app's own `AlertDialogHost` never shows it twice; its words are your messages' (`views.panels.toast-undo`, `views.panels.close`, `views.panels.toast-region`, `views.panels.alert-failed`, `views.picker.retry`, `views.picker.cancel`).
474
+
475
+ `SelectionBar`, optional: the selection bar, which your app draws, `ViewsSelectionBarProps`, the props of ViewKit's `SelectionBar`. Handed one, ViewKit's `SelectionBar`, wherever your `renderBar` calls it, draws yours in its own place, in the box that holds it (a grid's frame), at every count, zero included, so it can leave as it chooses; left out, ViewKit draws its own bar, portalled to the screen's foot, placed by the provider's `selectionBar`. Beside the count, the clear, the verbs, `busy`, `onDelete` and `deleteLabel`, it is handed what ViewKit's own bar doesn't read: `noun` (what a row is, one and many), `deleteLine` (the line under Delete's question), and on each verb `more` (kept off the bar, in More), on an options verb `value` (what every picked row holds, null when every one is empty), `empty` (the empty row's words; a pick of it hands `null`) and `search`, its `options` ViewKit's picker items (a person by `avatarUrl` and `kind`), and a press (`onClick`, `onSelect`, `onDelete`) may hand back a `SelectionDone`, `{ words, undo }`, or a promise of one, which yours shows. `CONTROLS.SelectionBar` is the Outright bulk bar (`BulkBar`): on a computer a surface floating at the foot of the box that holds it, centred, its count (which clears), the verbs as outlined buttons, Delete in More or its own (its option `delete`, `BULK_BAR_LOOKS`), and More, holding what is kept off and what doesn't fit; on a phone, or in a `PhoneHost` screen, the tray, its verbs at 44 with Delete among them, or the pill (its option `phone`); one Tab stop with the arrows; Escape from the box clears; an options verb's values in the Picker (in the one Sheet on a phone); Delete asked first in ViewKit's alert dialog, then called, so your `onDelete` asks nothing of its own; what a press hands back said in its own Toast, just above it, with Undo; a press that throws said as one that didn't go through. It hands the box that holds it the room it takes, which a list that scrolls in it pads its foot by ([its tokens](controls/bulk-bar.md)). The provider's `selectionBar` placement, query and `chip` are ViewKit's own bar's. Every word is your messages'.
476
+
477
+ `ViewsListBody`, optional: the views list's whole body, which your app draws, `ViewsViewsListBodyProps`. Handed one, the view picker's chip opens it in place of ViewKit's own list of views: in its popover on a computer and in the Sheet on a phone. The row's pills and its "+N" list stay ViewKit's. It is handed the list's name (`label`), the axis's views in its order (`views`, each its `value`, its words, its `icon`, its `count` (absent while the list's counts are hidden), `private` for one of the reader's own, and `menu`, the view's own verbs as your app gave them), the view in use (`value`), `form`, and, where the axis has them, `onCreate` with its word (`createLabel`; what holds the list closes first, then the axis's own create runs) and `onReorder` with `canDrag`. The body hands back `onViewChange` (a view picked; it closes nothing, so call `onDone` after it, as ViewKit's own list closes on a pick), `onReorder` (one whole block, the shared views or the reader's own, in its new order, each once) and `onDone` (what holds it closes). On a phone where the sheet's head doesn't draw it (the provider's `sheetActions` at `bar`), it is handed `actions`, the ✕ (`close`, which closes the list) and, while it stands on a step, Back (`back`); on a computer, and under `head`, it is handed none. On a computer it is handed `onHold`: while the body holds, a press outside the list and Escape close nothing (it asks a question outside the list, your `confirm` port's dialog), so the list stays when the question is answered. On a phone it is handed `onStepChange`: a body standing on a step of its own (a view's menu, Rename) tells it, and the sheet shows the step's title and Back and its Escape goes back a step. Where the axis hands `verbs` (`ViewsViewVerbs`: the `layouts` a new view can take, each its glyph by your `AppIcon`, the `records`' noun, a board's `columns` and `onChange`, which takes every change a view's menu makes, `ViewsViewChange`: rename, create, duplicate, delete, restore, save, reset, edit, link, favorite, private), the body is handed them, and each view its `layout`, `changed` and `favorite`. ViewKit checks each value before it is written: a pick that isn't one of `views`, and an order that isn't one whole block, write nothing. What creating, reordering and a view's verbs mean stays your app's, as the axis says. `CONTROLS.ViewsListBody` is ViewKit's own, the views list: a search over the views (at the Sheet's foot on a phone), each with its glyph, its count and its ⋮ where you hand it a menu, Shared and the reader's own under their headings with a lock on each of the reader's own, a view moved by a drag or ⌥↑ ⌥↓ within its block (never one `canDrag` refuses, nor a view dropped past one), ↓ and ↑ going on from the view in use, and New view where the axis grows. It draws no ✕ of its own: the Sheet's head draws it, and `actions` goes unread but for Back on a step. On a phone a view's ⋯ turns the one Sheet into its menu, with Back, never a sheet on top (VK-823). Handed `verbs`, a view's menu is the Outright kit's (`useViewMenu`): Rename… and New view in the Modal (New view where the axis grows, as without verbs, its create handed to `verbs.onChange`), Edit view, Private view, Save for everyone, Reset and Save as new view, Copy link, Favorite, Duplicate, and Delete, asked on a computer through the `confirm` port (ViewKit's alert dialog where your app hands none and `PortsHost` stands; the menu's own dialog where neither does, never the browser's) and said through the `toast` port's `success` with its `undo`. ViewKit moves no view itself: your `verbs.onChange` opens the right one, the first listed when the open one is deleted, the view again on a restore with `open`, the new one on a create or a duplicate (whose ids your app makes); `viewsAfter`, from `viewkitjs/views/controls`, does all of it over your views; on a phone each a step of the one Sheet, the delete question the Alert in its sheet form. Every word is your messages'.
462
478
 
463
479
  `GroupBody`, optional: the group editor's whole body, which your app draws, `ViewsGroupBodyProps`. Handed one, Customize's Group opens it in place of ViewKit's own group pages (Group by, its order, its date step, the groups): on a computer and in the phone's Sheet. It is for an app that keeps ViewKit's Customize: an app that hands its own `CustomizeBody` holds its group editor inside it, handed the same props. It is handed the group's name (`label`), the fields the list can be grouped by (`dimensions`, each its `value`, its words, its `orderOptions` with the direction each opens in, its `defaultOrder`, and a date's `granularities` with its `defaultGranularity`), the group as one value (`group`, a `ViewsGroupValue`: the dimension grouped by or `none`, the active dimension's `order` (`mode` and `dir`), its date step (`granularity`), `hideEmpty` while grouped where the list offers it, and `groups` while grouped where the list hands them, in the order the list shows them, each its `key`, its words, `empty`, `hidden`, and its `count` where the list counts it), `manualOrder` (your own order, `manual`, may be picked) and `form`. The body hands back `onGroupChange` (the whole group, every change as it is made) and `onDone` (inside Customize, back to its list). ViewKit makes one write for each change, in this order: a new Group by, order or date step is written alone, the rest of the value (about the old field's groups) set aside; else Hide empty groups; else the groups: the same groups in a new order (your own order), one group shown or hidden, every group hidden, or every group shown. A new Group by keeps the order and step handed with it only where the new field offers them, else takes the field's own. A value that changes two of those at once, names a field the list doesn't offer, names an order or step the field grouped by doesn't offer, or adds or loses a group writes nothing. Inside Customize, whose own head holds the ✕, it is handed no `actions`. It is handed `onStepChange`, on a computer and a phone: hand it a level of your own (`ViewsBodyStep`, its `title` and `onBack`: Group by's fields, an order's choices) while you stand on one, and `null` once you are back; ViewKit's Customize shows the level's name in its head and its Back calls `onBack`. `CONTROLS.GroupBody` is ViewKit's own, the group editor: Group by, Order, Direction, a date field's Date step and Hide empty groups, each opening its choices in place; the groups with their Switch, dragged into your own order, Hide all and Show all; Remove grouping; each change one write, Count ordered by each group's `count`, its level told through `onStepChange`.
464
480
 
465
- `CustomizeBody`, optional: Customize's whole body, which your app draws, `ViewsCustomizeBodyProps`. Handed one, Options opens it in place of ViewKit's own Customize, in your `host`, the map's `Popover` or, on a phone, the `Sheet`, and so does everything else that draws ViewKit's Customize (`ViewOptionsPanelContent`, the ready toolbar's Options, `ViewOptionsPopoverPanel`). One body holds the whole of Customize: its sections stand where your body puts them. It is handed Customize's name (`label`), the page it stands on (`page`: `list`, `layout`, `columns`, `filter`, `sort` or `group`, held by your app where it holds Options' page, so it survives the toolbar changing form) with `onPageChange`, and the view's settings as data: `layout` (the layouts, the one in use, those refused with their reasons, `onLayoutChange`, and the layout in use's own toggles, choices, density and the reader's own settings, offered where ViewKit's own Layout page offers them), `columns` (every column in the view's order, hidden or not, `hideable`, `fixed`, a card's `startsLine` and each column's own settings; `onColumnsChange` with every column in its order, written one change at a time, a reorder or columns shown or hidden, several at once in one write (your Hide all and Show all), a column that can't hide (fixed, not hideable) staying shown and a Hide all of every column leaving the first one shown, a reorder with a column shown or hidden writing nothing; with the panels' builder's `parts`, the table's columns include each part column the view places, so a Hide all reaches it; `onStartsLineChange`, `reset` while the columns differ from the view's, and your field editor's rows as `columnMenu` and `footer`), the sort as `SortBody` is handed it (`sort`; a list with one sort as one rule, `max` 1), the filter as `FilterBody` is handed it on a phone (`filter`: the whole filter, 3 levels deep), the group as `GroupBody` is handed it (`group`), `toggles` (Show counts among them, read from the view, each written through its own `onChange`), and, on a shared view, `view` (`changes`, `stale`, `canPublish`, `pending`, `onReset`, `onPublish`). With no shared view it is handed the foot's Clear (`onClear`) where the holder offers one and Clear all (`clearAll`) while anything is set; `foot` says the foot's words (`kit` for Clear and Save, `none` where they stand elsewhere). It hands back `onDone` (what holds it closes); on a phone where the sheet's head doesn't draw it, it is handed `actions`, the ✕ alone. The sort, filter and group are written as their own slots' are, through ViewKit's checks. A list whose Customize lists the per-field filters (a field's values, a time scope, a date range, as ViewKit's own Filter page draws them) has nothing to hand a body for them: where a list's filter is only those, with no filter tree, ViewKit draws its own Customize even with a body in your map, so they stay editable. The view's name, Copy link and Export are your app's to hand your body.
481
+ `CustomizeBody`, optional: Customize's whole body, which your app draws, `ViewsCustomizeBodyProps`. Handed one, Options opens it in place of ViewKit's own Customize, in your `host`, the map's `Popover` or, on a phone, the `Sheet`, and so does everything else that draws ViewKit's Customize (`ViewOptionsPanelContent`, the ready toolbar's Options, `ViewOptionsPopoverPanel`). One body holds the whole of Customize: its sections stand where your body puts them. It is handed Customize's name (`label`), the page it stands on (`page`: `list`, `layout`, `columns`, `filter`, `sort` or `group`, held by your app where it holds Options' page, so it survives the toolbar changing form) with `onPageChange`, and the view's settings as data: `layout` (the layouts, the one in use, those refused with their reasons, `onLayoutChange`, and the layout in use's own toggles, choices, density and the reader's own settings, offered where ViewKit's own Layout page offers them), `columns` (every column in the view's order, hidden or not, `hideable`, `fixed`, a card's `startsLine` and each column's own settings; `onColumnsChange` with every column in its order, written one change at a time, a reorder or columns shown or hidden, several at once in one write (your Hide all and Show all), a column that can't hide (fixed, not hideable) staying shown and a Hide all of every column leaving the first one shown, a reorder with a column shown or hidden writing nothing; with the panels' builder's `parts`, the table's columns include each part column the view places, so a Hide all reaches it; `onStartsLineChange`, `reset` while the columns differ from the view's, and your field editor's rows as `columnMenu` and `footer`), the sort as `SortBody` is handed it (`sort`; a list with one sort as one rule, `max` 1), the filter as `FilterBody` is handed it on a phone (`filter`: the whole filter, 3 levels deep), the group as `GroupBody` is handed it (`group`), `toggles` (Show counts among them, read from the view, each written through its own `onChange`), and, on a shared view, `view` (`changes`, `stale`, `canPublish`, `pending`, `onReset`, `onPublish`). With no shared view it is handed the foot's Clear (`onClear`) where the holder offers one and Clear all (`clearAll`) while anything is set; `foot` says the foot's words (`kit` for Clear and Save, `none` where they stand elsewhere). It hands back `onDone` (what holds it closes); on a phone where the sheet's head doesn't draw it, it is handed `actions`, the ✕ alone. The sort, filter and group are written as their own slots' are, through ViewKit's checks. A list whose Customize lists the per-field filters (a field's values, a time scope, a date range, as ViewKit's own Filter page draws them) has nothing to hand a body for them: where a list's filter is only those, with no filter tree, ViewKit draws its own Customize even with a body in your map, so they stay editable. The view's name with its rename (`name`, `onRename`), Copy link (`onCopyLink`) and Export CSV with its count (`onExport`, `exportCount`) are handed where your app hands them to the toolbar (`ToolbarOptions`' and `ReadyToolbar`'s `viewName`, `onRenameView`, `onCopyLink`, `onExport`, `exportCount`); draw each only where handed. On a phone it may tell the level of its own it stands on inside a section (`onStepChange`), and the sheet's Escape goes back a level instead of closing. A body that can't draw everything a list hands carries `stepsAside`, a function on the slot's component: given the props it would be handed, true, and ViewKit draws its own Customize instead, as it does for a list whose filter is only per-field values. `CONTROLS.CustomizeBody` steps aside for a column with its own settings, your field editor's rows and a card layout's line breaks; an app that wraps it copies `stepsAside` onto its wrapper.
466
482
 
467
483
  `RowsWait`, optional: wraps a grid's rows, `ViewsRowsWaitProps`: `pending` and `children`. Handed one, a grid that has settled always draws its rows as its children, so they stay mounted as a wait starts and ends. It stands inside the grid's scroll area, where the rows are: an ungrouped grid's column names stand above it and its footer below it, and a grouped grid's one row of column names (`oneHeader`) above it, every group inside it with its bar, column names and footer. The column names and the footer stay as they are, and take no press while the rows wait. While new rows load (`transitionPending`, or the one commit after `transitionKey` changes) and the grid already shows rows, it keeps the old ones on screen as they were drawn, inert, and hands `pending: true`: draw how they wait (a bar along the top, the rows dimmed). When the wait ends the new rows mount fresh and `pending` is false: draw `children` as they are. A grid with no rows yet, a first load or an empty grid, draws Loading in place of its body either way, and without `RowsWait` every wait does. Draw it as a block in flow that neither scrolls nor clips (no `overflow` of its own) and is no size container (no `container-type`), so the heads inside it still pin, the group labels and the empty message keep to the scroll area's width, and the rows scroll with the grid. Its top scrolls with the rows: a bar along it lies along the first row's top and leaves sight once the grid is scrolled, so a bar meant to stay in sight pins itself, sticky at `top: var(--vk-head-h)` under the column names. The slot mounts afresh when the grid changes shape (empty to rows, grouped to ungrouped, `oneHeader`), never during a wait. An editor open as the wait starts writes its draft then, as the grid going would; a draft your app refuses there keeps its refusal under the inert cell and is said in a toast when the rows mount fresh. A popup the grid opened outside its box (a column's or a row's menu, a phone's sheet) is not inert and stays as it was; what is typed in a sheet during the wait is thrown away when the rows mount fresh. The grid's paste, undo and redo wait with the rows.
468
484
 
@@ -506,9 +522,9 @@ The package ships none of them and depends on neither library.
506
522
 
507
523
  A toolbar panel's body slot (`SortBody` the first, then `FilterBody`, `ViewsListBody`, `GroupBody` and `CustomizeBody`) follows one pattern, which every panel's body copies. It is optional and named `<Panel>Body`: left out, ViewKit draws its own panel; handed one, ViewKit opens it wherever it opens its own, on a computer and in the phone's Sheet. It is typed `Views<Panel>BodyProps` (`ViewsSortBodyProps`, `ViewsFilterBodyProps`, `ViewsViewsListBodyProps`, `ViewsGroupBodyProps`, `ViewsCustomizeBodyProps`) and handed the panel's state as plain data, `form` (`computer` or `phone`), `onDone` (the job is done and what holds it closes), and, on a phone, `actions` (the ✕ and ✓, `ViewsSheetActions`) only where the sheet's head doesn't draw them. It hands back the whole new value on every change, as it is made, through one `on<Value>Change` (`onRulesChange`, `onFilterChange`, `onViewChange`, `onGroupChange`), never a step to apply. A body that holds several values, as Customize's does, is handed each section as data with its own change (a layout's `onLayoutChange`, the columns' `onColumnsChange`, each toggle's `onChange`), and a section that has a slot of its own (the sort, the filter, the group) as that slot's props without the chrome, so each type is written once. One contract serves the computer and the phone: `form` tells them apart. ViewKit checks each value against the panel's own rules and writes nothing when one breaks them, and it keeps the save, the latest value between renders and what ✕ takes back to. The group's and the columns' changes are the exception: their writes rebuild from the settings ViewKit last drew, so each change is checked against the last render, and a second one handed before ViewKit draws again writes nothing; hand one change for each press. ViewKit's own panel stays the plain fallback, dressed only through the atoms and `panelButtons`.
508
524
 
509
- `QuickFiltersBody` (`ViewsQuickFiltersBodyProps`) is the quick filters' body: handed the fields as the strip shows them (`quickFieldsShown`: those the app offers, then each other field the hold holds a value on, named by the app's `heldLabels` else its key, listing only its held values), each with its values in the order to show them (their counts, and the held values drawn from the hold and worded by the app's `heldLabels` else their key, so a value no row holds any more, a deleted record say, can still be named and let go), the hold, `several` and `showCounts`, it hands back the whole hold through `onHoldChange`. ViewKit writes nothing for a hold that holds a field twice, holds more than one value where `several` is false, or adds a value on a field the strip doesn't offer (one already held there may stay or go). On a phone its `actions` is the ✕ alone, which closes it. ViewKit's own panel closes its phone Sheet after a press when one value is held at a time (`quickPressCloses`); your body does the same by calling `onDone`.
525
+ `QuickFiltersBody` (`ViewsQuickFiltersBodyProps`) is the quick filters' body: handed the fields as the strip shows them (`quickFieldsShown`: those the app offers, then each other field the hold holds a value on, named by the app's `heldLabels` else its key, listing only its held values), each with its values in the order to show them (their counts, and the held values drawn from the hold and worded by the app's `heldLabels` else their key, so a value no row holds any more, a deleted record say, can still be named and let go), the hold, `several` and `showCounts`, it hands back the whole hold through `onHoldChange`. ViewKit writes nothing for a hold that holds a field twice, holds more than one value where `several` is false, or adds a value on a field the strip doesn't offer (one already held there may stay or go). On a phone its `actions` is the ✕ alone, which closes it. ViewKit's own panel closes its phone Sheet after a press when one value is held at a time (`quickPressCloses`); your body does the same by calling `onDone`. Each field may carry its `options` as the app hands them on the quick filter field (`ViewsPickerItem`s), so a value draws its option's mark (a status's step, a face). `CONTROLS.QuickFiltersBody` is ViewKit's own, the Outright kit's quick filters.
510
526
 
511
- `FieldsBody` (`ViewsFieldsBodyProps`) is the field list's body: ViewKit opens it wherever it opens its own sort or filter field list (the empty Sort, Sort on the row's right, the + after the sort pill, Filter, the bar's +, a filter's field, a set-aside rule's field, and the field lists inside ViewKit's own sort and filter editors). It is handed `purpose` (`sort` or `filter`), the fields as data, each with its mark (`type`, `part`, `glyph`, as the grid's header marks its column) and, where it can't be picked, why (`disabled`: "Sorted" for a field another rule sorts), for a filter a relation's `far` fields one level in, `own` (the field being changed) and `form`. A pick is one value, so it hands back `onPick` (the key, and a far field's key for a far field) rather than an `on<Value>Change`; ViewKit writes it as its own list's pick and writes nothing for a key it didn't hand or handed `disabled`. Its search, its rows and Related records are your body's; ViewKit's own stay the fallback.
527
+ `FieldsBody` (`ViewsFieldsBodyProps`) is the field list's body: ViewKit opens it wherever it opens its own sort or filter field list (the empty Sort, Sort on the row's right, the + after the sort pill, Filter, the bar's +, a filter's field, a set-aside rule's field, and the field lists inside ViewKit's own sort and filter editors). It is handed `purpose` (`sort` or `filter`), the fields as data, each with its mark (`type`, `part`, `glyph`, as the grid's header marks its column) and, where it can't be picked, why (`disabled`: "Sorted" for a field another rule sorts, a filter's column the list can't filter its reason), for a filter a relation's `far` fields one level in, `own` (the field being changed) and `form`. A pick is one value, so it hands back `onPick` (the key, and a far field's key for a far field) rather than an `on<Value>Change`; ViewKit writes it as its own list's pick and writes nothing for a key it didn't hand or handed `disabled`. Its search, its rows and Related records are your body's; ViewKit's own stay the fallback.
512
528
 
513
529
  `FilterPartBody` (`ViewsFilterPartBodyProps`) is a filter rule's part: a rule's way and its value open it on the bar and in ViewKit's own filter editors, in place of ViewKit's ways menu and value body, never inside `FilterBody`'s `ruleValue`. It is handed `part` (`way` or `value`), the rule as data, its field, its ways and ViewKit's own value body (`own`) for a type your body doesn't draw, and hands back the rule through `onRuleChange`: a new way is written as ViewKit's own writes one, its value kept where it still fits and emptied where not; a value is written once its way holds it, or emptied. ViewKit writes nothing for another field or part, a way its field doesn't offer or a value its way can't hold. Neither body takes `actions`: on a phone each stands on a page of the editor's sheet, under the sheet's own head.
514
530
 
@@ -767,11 +783,11 @@ a desktop and its `Sheet` on a phone, and marks its parts with these slots:
767
783
 
768
784
  Runtime services the app hands in through the provider, typed in `src/provider/ports.ts`:
769
785
 
770
- - `toast` — `success(message)`, `error(message)`, `info(message)`, `warning(message, { description })` (a change the person did not make).
786
+ - `toast` — `success(message, { undo })`, `error(message)`, `info(message)`, `warning(message, { description })` (a change the person did not make). `undo`, where handed, takes the act back: offer it as the toast's Undo (an app's toast may ignore it, and then shows no Undo). Optional: an app that hands none sees ViewKit's Toast where the components map hands `PortsHost` (`CONTROLS` does), and nothing elsewhere. `useViews().ports.toast` is always there.
771
787
  - `haptics` — `selection()`, `impact(style)`, `notification(type)`; an app without a device hands in no-ops.
772
788
  - `clipboard` — `writeText(text)` resolving to whether it succeeded; `readText()` resolving to the text or `null`.
773
789
  - `viewPrefs` — `get(key)`, `set(key, value)`, `subscribe(key, listener)`: a per-device store for state a view keeps between visits. No view in this release reads it; the grid's preferences come in through `useGridTablePrefs`, from wherever the host keeps them.
774
- - `confirm` — `confirm({ message, confirmLabel, subject, destructive })` resolving to whether the person said yes; asked before a row's Delete, `subject` being the host's `deleteLabel`. Optional: an app that hands none gets the browser's own confirm with `message`, and a rejection or a throw counts as no. `useViews().ports.confirm` is always a function.
790
+ - `confirm` — `confirm({ message, confirmLabel, subject, detail, destructive })` resolving to whether the person said yes; asked before a row's Delete, `subject` being the host's `deleteLabel`, and before a view's delete in `CONTROLS.ViewsListBody` on a computer, `detail` its one line on what follows. Optional: an app that hands none asks in ViewKit's alert dialog where the components map hands `PortsHost` (`CONTROLS` does), and elsewhere gets the browser's own confirm with `message`, and a rejection or a throw counts as no. `useViews().ports.confirm` is always a function.
775
791
 
776
792
  ## Icons
777
793
 
@@ -890,7 +906,7 @@ Paused"), `views.panels.relation-condition` (`{ field, value }`), `views.panels.
890
906
  (`{ rule, subject, one, many, conditions }`, the whole sentence: "Clients with at least one campaign where status is Active.", its
891
907
  `rule` `"all"`, `"any"`, `"none"`, `"every"` or `"every-unmatched"`), `views.panels.relation-value-one`
892
908
  (`{ quantifier, field, value }`, "Any · Status: Active") and `views.panels.relation-value-many`
893
- (`{ quantifier, count }`); a row's value: `views.panels.filter-unavailable` ("Saved filter unavailable"), `views.panels.filter-not-offered` (a filter row that can't be opened, its reason: "This column can't be filtered"), `views.panels.filter-all`
909
+ (`{ quantifier, count }`); a row's value: `views.panels.filter-unavailable` ("Saved filter unavailable"), `views.panels.filter-not-offered` (a filter row that can't be opened, its reason: "This column can't be filtered"), `views.panels.filter-fieldless` (why a saved view can't filter a column with no field: "Not a field of this list; a view cannot filter on it."), `views.panels.filter-all`
894
910
  ("All"), `views.panels.filter-all-of` (`{ field }`, "All owners"), `views.panels.filter-selected` (`{ count }`),
895
911
  `views.panels.hidden-columns` ("Hidden columns", the heading a hidden column's Filter row sits under), `views.panels.related-records` ("Related records", the relation rows' heading), a yes/no column's choices
896
912
  `views.panels.boolean-checked` ("Checked"), `views.panels.boolean-unchecked` ("Unchecked") and `views.panels.boolean-not`
@@ -917,6 +933,8 @@ picker's chip), `views.panels.view-fallback` ("View", the chip with no active vi
917
933
  `views.panels.views-none` ("No view matches."), `views.panels.view-create` ("New view", the +),
918
934
  `views.panels.view-create-row` (`{ label }`, "New view…", the picker's last row) and
919
935
  `views.panels.view-menu` ("View menu", a picker row's `⋮`).
936
+ The ports' own (`CONTROLS.PortsHost`): `views.panels.toast-undo` ("Undo", a toast's way back) and `views.panels.alert-failed` ("That didn't go through. Nothing changed.", the alert dialog's failure with no words of its own).
937
+ A view's menu and what it opens (`CONTROLS.ViewsListBody` where the axis hands `verbs`, and `useViewMenu`): `views.panels.view-rename` ("Rename…") and `views.panels.view-rename-short` ("Rename", a phone's tile), `views.panels.view-edit` ("Edit view…"), `views.panels.view-private-toggle` ("Private view"), `views.panels.view-save-everyone` ("Save for everyone"), `views.panels.view-save-new` ("Save as new view…"), `views.panels.view-copy-link-short` ("Copy link", a phone's tile; a computer's is `views.panels.copy-link`), `views.panels.view-favorite` ("Favorite") and `views.panels.view-unfavorite` ("Unfavorite"), `views.panels.view-duplicate` ("Duplicate view") and `views.panels.view-duplicate-short` ("Duplicate", a phone's tile), `views.panels.view-delete` ("Delete view"), `views.panels.view-keep-one` ("A list keeps one view", why Delete can't be pressed), `views.panels.view-unsaved` ("Unsaved changes") and `views.panels.view-this` ("This view"), a phone's two headings, `views.panels.view-rename-title` ("Rename view"), `views.panels.view-name` ("Name"), `views.panels.view-create-action` ("Create view"), `views.panels.view-delete-title` (`{ name }`, "Delete Q3?"), `views.panels.view-deleted` (`{ name }`, "Q3 was deleted", the toast), `views.panels.view-copy-name` (`{ name }`, "Copy of Q3", a duplicate's name), `views.panels.view-delete-stays` (`{ records }`, "The deals in it stay as they are.") and `views.panels.view-delete-goes` ("The view goes for everyone who uses it."), the delete question's line, and `views.panels.view-columns` (`{ layout }`, "Board columns", the field a board's columns follow).
920
938
  The toolbar's words: `views.panels.show-counts` ("Show counts", the toolbar's toggle over the views' and the quick filters' counts,
921
939
  writing the view's `showCounts`),
922
940
  `views.panels.toolbar-more` ("More", ⋯'s name in a folding toolbar line), `views.panels.view-clear` ("Clear") and
@@ -957,11 +975,11 @@ rows' and pages' names where the list names none, `views.panels.filter` ("Filter
957
975
  ("Group"), with `views.panels.sort`, `views.panels.group-by`, `views.panels.date-by`,
958
976
  `views.panels.time-scope-label` and `views.panels.date-range-label` above, and the Columns row's value,
959
977
  `views.panels.columns-shown` (`{ count }`, "3 shown"); its footer on a shared view, `views.panels.view-publish`
960
- ("Set default for everyone"), `views.panels.view-reset` ("Reset") and `views.panels.view-stale` ("Everyone's view
978
+ ("Save for everyone"), `views.panels.view-reset` ("Reset") and `views.panels.view-stale` ("Everyone's view
961
979
  changed since you started."); and its actions, `views.panels.copy-link` ("Copy link to view"),
962
980
  `views.panels.export-csv` ("Export CSV"), `views.panels.share` ("Share"), `views.panels.coming-soon` ("Coming
963
981
  soon", a parked action's hint) and `views.panels.loading` ("Loading", the export's spinner).
964
- The words the panels' builder writes into its configs (`settingsPanels`, `/panels`): the layouts, `views.panels.layout-table` ("Table"), `views.panels.layout-list` ("List"), `views.panels.layout-board` ("Board"), `views.panels.layout-calendar` ("Calendar"), with `views.panels.layout-rows` ("Rows", the list as the phone choice names it), and the reasons one is refused, `views.panels.layout-refused-calendar` ("No date field") and `views.panels.layout-refused-board` ("No field to lay a board out by"); the look, `views.panels.look-vertical-borders` ("Vertical borders"), `views.panels.look-row-icon` ("Row icon"), `views.panels.look-freeze-identity` ("Freeze identity columns"), `views.panels.look-always-checkboxes` ("Show checkboxes always"); the densities, `views.panels.density-compact` ("Compact"), `views.panels.density-default` ("Default"), `views.panels.density-spacious` ("Spacious"); the Layout panel's choices, `views.panels.board-field` ("Board by"), `views.panels.calendar-field` ("Date field"), `views.panels.card-fields` ("Fields") (a card's Columns row) and `views.panels.phone-layout` ("On your phone"); Sort's `views.panels.sort-manual` ("Manual"); the sort pill and the sort editor's (VK-188), `views.panels.sorted-by` ("Sorted by", before the first rule's field), `views.panels.sort-more` (`{ count }`, "+{count}"), `views.panels.sort-add-one` ("Add a sort", the +'s name), `views.panels.sort-add` ("Add sort"), `views.panels.sort-clear-all` ("Clear all"), `views.panels.sort-sorted` ("Sorted", a field already sorted), `views.panels.sort-max` (`{ max }`, "Three at most"), `views.panels.sort-empty` ("No sorting set up yet") and `views.panels.sort-empty-line` ("Choose a field to sort by"), `views.panels.sort-ascending` ("Ascending") and `views.panels.sort-descending` ("Descending"), `views.panels.sort-direction` ("Direction", its menu's name), with `views.panels.sort-field-named` and `views.panels.sort-direction-named` (`{ label }`, "Field: {label}", "Direction: {label}", a rule's two boxes named with what they hold), `views.panels.sort-delete` ("Delete"), `views.panels.sort-move` (`{ label }`, "Move {label}", a rule's grip), `views.panels.sort-remove` (`{ label }`, "Remove the sort by {label}"), `views.panels.sort-actions` (`{ label }`, "Actions for the sort by {label}", a phone's ⋯), `views.panels.sort-search` ("Search fields") and `views.panels.sort-done` ("Done", the phone sheet's ✓), and `CONTROLS.SortBody`'s own (VK-721), `views.panels.sort-field` ("Field", a rule's field box), `views.panels.sort-clear-all-sorts` ("Clear all sorts", a computer's foot) and `views.panels.sort-by-named` (`{ label }`, "the sort by {label}", a rule's ⋯ menu); `CONTROLS.FilterBody`'s and `CONTROLS.FilterPartBody`'s own (VK-720), `views.panels.filter-group-list` ("Group", a group's rules to a screen reader), `views.panels.filter-rule-named` (`{ label }`, "{label}'s rule", a rule's ⋮), `views.panels.filter-way-named` (`{ label }`, "How {label} compares", a way's list and its step), `views.panels.filter-choose-date` ("Choose a date"), `views.panels.filter-type-number` ("Type a number") and `views.panels.filter-type-value` ("Type a value"), a value's placeholders, `views.panels.filter-from-named` and `views.panels.filter-to-named` (`{ label }`, "{label} from", "{label} to", a range's two ends), `views.panels.filter-checked` ("Checked") and `views.panels.filter-unchecked` ("Unchecked"), a yes/no's two values, and `views.panels.filter-kit-way` (`{ way }`, the kit's ways in their words: "is any of", "less than", "any part between"); `CONTROLS.GroupBody`'s own (VK-839), `views.panels.group-order` ("Order", the group's order setting), `views.panels.group-date-step` ("Date step", a date field's step setting), `views.panels.group-order-own` ("Your own", your own order), `views.panels.group-own-no-direction` ("Your own order has no direction", why Direction is greyed), `views.panels.group-no-value` ("No value", the empty group), and its rows' own, `views.panels.list-move-keys` ("Left arrow for its grip, then up or down arrow to move it", how a computer's rows move), `views.panels.list-move-hold` ("Hold, then drag to move it", a phone's) and `views.panels.list-moved` (`{ label, at, of }`, "{label}, {at} of {of}", a move said), a grip named by `views.panels.sort-move` and a Switch's words by `views.panels.toggle-on` and `views.panels.toggle-off`; the quick filters' (VK-563), `views.panels.quick-filters` ("Quick filters", the button and its panel), `views.panels.quick-fields` ("Fields", the strip's name), `views.panels.quick-search` (`{ field }`, "Search {field}"), `views.panels.quick-none` ("Nothing matches."), `views.panels.quick-value` (`{ label, count }`, "{label}, {count}", a value with its count to a screen reader, the count already in the reader's digits), `views.panels.quick-empty` ("No value", a held empty value no value lists), and the reminder's on a phone (VK-566), `views.panels.quick-reminder` (`{ names }`, "Quick filters: {names}", its names to a screen reader, every held value named once), `views.panels.quick-more` (`{ count }`, "+{count}", the names it doesn't show) and `views.panels.quick-clear` ("Clear quick filters", its ✕); the advanced filter and the filter editor's (VK-531), `views.panels.advanced-filter` ("Advanced filter", its pill), `views.panels.advanced-filter-set-aside` ("Its rules are set aside", why a pill whose rules are all set aside is drawn set aside), `views.panels.filter-join` (`{ join }`, "And" or "Or"), `views.panels.filter-add` ("Add filter"), `views.panels.filter-clear-all-filters` ("Clear all filters"), `views.panels.filter-to-group` ("Convert to group"), `views.panels.filter-delete-rule` ("Delete condition"), `views.panels.filter-delete-group` ("Delete group"), `views.panels.filter-exclude` ("Exclude matches"), `views.panels.filter-exclude-needs-and` ("Join by And to exclude matches"), `views.panels.filter-excluded` ("Not all of these", heading a group that excludes its matches), `views.panels.filter-to-advanced` ("Convert to advanced filter", a filter's page in the Filter panel, and a row of a filter's ⋯ on the bar), `views.panels.filter-field` ("Field"), `views.panels.filter-way` ("How it compares") and `views.panels.filter-value` ("Value"), a rule's three boxes and a bar filter's three parts, `views.panels.filter-choose` ("Choose", drawn nowhere: a value waiting says `views.panels.filter-waits`), `views.panels.filter-search` ("Filter by…"), `views.panels.filter-relation-way` (`{ quantifier }`, "any where", "none where", "every where"), `views.panels.filter-rule-actions` (`{ label }`, "Actions for the filter on {label}", a rule's ⋮), `views.panels.filter-group-actions` ("Actions for this group"), `views.panels.filter-set-aside-why` (`{ reason }`, a set-aside filter's why: "Set aside: its field is no longer in this list", "Set aside: its field no longer compares this way", "Set aside: its field no longer has this part"), `views.panels.sort-set-aside-why` (`{ reason }`, a set-aside sort's: "Set aside: its field is no longer in this list", else "Set aside: its field no longer sorts this way"), `views.panels.filter-set-aside-back` and `views.panels.sort-set-aside-back` (a set-aside filter's or sort's why once its field is listed again: "Set aside: its field is back in this list, and Put back filters by it again", "… and Put back sorts by it again"), `views.panels.put-back` ("Put back"), `views.panels.filter-or-full` ("This view's filter joins by Or and is three levels deep: change it in its advanced filter", the rows' reason), `views.panels.filter-too-deep` ("Three levels at most"), `views.panels.filter-too-many` ("Fifty filters at most in one group") and `views.panels.filter-relation-gone` ("Its relation is no longer in this list", Add filter's reason under a relation the list no longer lists); the filter editor on a phone's (VK-532), `views.panels.filter-empty` ("No filtering set up yet") and `views.panels.filter-empty-line` ("Choose a field to filter by"), `views.panels.filter-clear-all` ("Clear all") and `views.panels.filter-done` ("Done", the phone sheet's ✓); the filters on the toolbar's bar, `views.panels.filter-waits` (`{ type }`, what a filter's value waits for, on the bar and in the filter editor's value box: "Choose" for a choice, "Type a number", "Choose a date", "Type a value"), `views.panels.filter-way-words` (`{ label }`, how it compares as the bar says it, the way's label with its first letter in lower case, "is any of"), `views.panels.filter-far-field` (`{ relation, field }`, "Company › Industry", a related record's field), `views.panels.filter-rule-words` (`{ field, way, value }`, "Stage is any of Talking", the sentence that names a filter), `views.panels.filter-add-one` ("Add a filter", the +'s name), `views.panels.filter-delete` ("Delete filter"), `views.panels.filter-more` (`{ count }`, "+1 filter", "+{count} filters") and `views.panels.filter-more-named` (`{ count }`, "1 more filter", "{count} more filters", its name); what a screen reader hears of a drag in the parts that drag (VK-401), each row by its label, `views.panels.drag-instructions` ("To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel."), `views.panels.drag-picked-up` (`{ label }`, "Picked up draggable item {label}."), `views.panels.drag-over` (`{ label, over }`, "Draggable item {label} was moved over droppable area {over}."), `views.panels.drag-not-over` (`{ label }`, "Draggable item {label} is no longer over a droppable area."), `views.panels.drag-dropped-over` (`{ label, over }`, "Draggable item {label} was dropped over droppable area {over}"), `views.panels.drag-dropped` (`{ label }`, "Draggable item {label} was dropped.") and `views.panels.drag-cancelled` (`{ label }`, "Dragging was cancelled. Draggable item {label} was dropped."); the Group panel's orders `views.panels.group-order-date` ("Date") and `views.panels.group-order-lifecycle` ("Lifecycle"); and a date's granularities, `views.panels.granularity-relative` ("Relative"), `views.panels.granularity-due` ("Due"), `views.panels.granularity-day` ("Day"), `views.panels.granularity-week` ("Week"), `views.panels.granularity-month` ("Month"), `views.panels.granularity-year` ("Year").
982
+ The words the panels' builder writes into its configs (`settingsPanels`, `/panels`): the layouts, `views.panels.layout-table` ("Table"), `views.panels.layout-list` ("List"), `views.panels.layout-board` ("Board"), `views.panels.layout-calendar` ("Calendar"), with `views.panels.layout-rows` ("Rows", the list as the phone choice names it), and the reasons one is refused, `views.panels.layout-refused-calendar` ("No date field") and `views.panels.layout-refused-board` ("No field to lay a board out by"); the look, `views.panels.look-vertical-borders` ("Vertical borders"), `views.panels.look-row-icon` ("Row icon"), `views.panels.look-freeze-identity` ("Freeze identity columns"), `views.panels.look-always-checkboxes` ("Show checkboxes always"); the densities, `views.panels.density-compact` ("Compact"), `views.panels.density-default` ("Default"), `views.panels.density-spacious` ("Spacious"); the Layout panel's choices, `views.panels.board-field` ("Board by"), `views.panels.calendar-field` ("Date field"), `views.panels.card-fields` ("Fields") (a card's Columns row) and `views.panels.phone-layout` ("On your phone"); Sort's `views.panels.sort-manual` ("Manual"); the sort pill and the sort editor's (VK-188), `views.panels.sorted-by` ("Sorted by", before the first rule's field), `views.panels.sort-more` (`{ count }`, "+{count}"), `views.panels.sort-add-one` ("Add a sort", the +'s name), `views.panels.sort-add` ("Add sort"), `views.panels.sort-clear-all` ("Clear all"), `views.panels.sort-sorted` ("Sorted", a field already sorted), `views.panels.sort-max` (`{ max }`, "Three at most"), `views.panels.sort-empty` ("No sorting set up yet") and `views.panels.sort-empty-line` ("Choose a field to sort by"), `views.panels.sort-ascending` ("Ascending") and `views.panels.sort-descending` ("Descending"), `views.panels.sort-direction` ("Direction", its menu's name), with `views.panels.sort-field-named` and `views.panels.sort-direction-named` (`{ label }`, "Field: {label}", "Direction: {label}", a rule's two boxes named with what they hold), `views.panels.sort-delete` ("Delete"), `views.panels.sort-move` (`{ label }`, "Move {label}", a rule's grip), `views.panels.sort-remove` (`{ label }`, "Remove the sort by {label}"), `views.panels.sort-actions` (`{ label }`, "Actions for the sort by {label}", a phone's ⋯), `views.panels.sort-search` ("Search fields") and `views.panels.sort-done` ("Done", the phone sheet's ✓), and `CONTROLS.SortBody`'s own (VK-721), `views.panels.sort-field` ("Field", a rule's field box), `views.panels.sort-clear-all-sorts` ("Clear all sorts", a computer's foot) and `views.panels.sort-by-named` (`{ label }`, "the sort by {label}", a rule's ⋯ menu); `CONTROLS.FilterBody`'s and `CONTROLS.FilterPartBody`'s own (VK-720), `views.panels.filter-group-list` ("Group", a group's rules to a screen reader), `views.panels.filter-rule-named` (`{ label }`, "{label}'s rule", a rule's ⋮), `views.panels.filter-way-named` (`{ label }`, "How {label} compares", a way's list and its step), `views.panels.filter-choose-date` ("Choose a date"), `views.panels.filter-type-number` ("Type a number") and `views.panels.filter-type-value` ("Type a value"), a value's placeholders, `views.panels.filter-from-named` and `views.panels.filter-to-named` (`{ label }`, "{label} from", "{label} to", a range's two ends), `views.panels.filter-checked` ("Checked") and `views.panels.filter-unchecked` ("Unchecked"), a yes/no's two values, and `views.panels.filter-kit-way` (`{ way }`, the kit's ways in their words: "is any of", "less than", "any part between"); `CONTROLS.GroupBody`'s own (VK-839), `views.panels.group-order` ("Order", the group's order setting), `views.panels.group-date-step` ("Date step", a date field's step setting), `views.panels.group-order-own` ("Your own", your own order), `views.panels.group-own-no-direction` ("Your own order has no direction", why Direction is greyed), `views.panels.group-no-value` ("No value", the empty group), and its rows' own, `views.panels.list-move-keys` ("Left arrow for its grip, then up or down arrow to move it", how a computer's rows move), `views.panels.list-move-hold` ("Hold, then drag to move it", a phone's) and `views.panels.list-moved` (`{ label, at, of }`, "{label}, {at} of {of}", a move said), a grip named by `views.panels.sort-move` and a Switch's words by `views.panels.toggle-on` and `views.panels.toggle-off`; `CONTROLS.CustomizeBody`'s own (VK-840), `views.panels.customize-list` ("Customize", its list to a screen reader), `views.panels.customize-shown` ("Shown in the table", on a table), `views.panels.customize-shown-fields` ("Shown", on another layout) and `views.panels.customize-hidden` ("Hidden"), Columns' headings, `views.panels.customize-search` ("Search columns", a computer's) and `views.panels.customize-find` ("Find a column", a phone's), `views.panels.customize-no-column` (`{ words }`, "No column is named “{words}”"), `views.panels.customize-always-shown` ("Always shown", why the first column can't hide), `views.panels.customize-view-name` ("The view's name", its box), `views.panels.customize-layout-button` (`{ name }`, "Layout: {name}", the layout's button beside the name), `views.panels.customize-layout-settings` (`{ name }`, "{name} settings", a layout's settings to a screen reader) and `views.panels.customize-share` ("Share the view", its footer); the quick filters' (VK-563), `views.panels.quick-filters` ("Quick filters", the button and its panel), `views.panels.quick-fields` ("Fields", the strip's name), `views.panels.quick-search` (`{ field }`, "Search {field}"), `views.panels.quick-none` ("Nothing matches."), `views.panels.quick-value` (`{ label, count }`, "{label}, {count}", a value with its count to a screen reader, the count already in the reader's digits), `views.panels.quick-empty` ("No value", a held empty value no value lists), `CONTROLS.QuickFiltersBody`'s own (VK-724), `views.panels.quick-clear-value` ("Clear filter", a held value's words before its count), and the reminder's on a phone (VK-566), `views.panels.quick-reminder` (`{ names }`, "Quick filters: {names}", its names to a screen reader, every held value named once), `views.panels.quick-more` (`{ count }`, "+{count}", the names it doesn't show) and `views.panels.quick-clear` ("Clear quick filters", its ✕); the advanced filter and the filter editor's (VK-531), `views.panels.advanced-filter` ("Advanced filter", its pill), `views.panels.advanced-filter-set-aside` ("Its rules are set aside", why a pill whose rules are all set aside is drawn set aside), `views.panels.filter-join` (`{ join }`, "And" or "Or"), `views.panels.filter-add` ("Add filter"), `views.panels.filter-clear-all-filters` ("Clear all filters"), `views.panels.filter-to-group` ("Convert to group"), `views.panels.filter-delete-rule` ("Delete condition"), `views.panels.filter-delete-group` ("Delete group"), `views.panels.filter-exclude` ("Exclude matches"), `views.panels.filter-exclude-needs-and` ("Join by And to exclude matches"), `views.panels.filter-excluded` ("Not all of these", heading a group that excludes its matches), `views.panels.filter-to-advanced` ("Convert to advanced filter", a filter's page in the Filter panel, and a row of a filter's ⋯ on the bar), `views.panels.filter-field` ("Field"), `views.panels.filter-way` ("How it compares") and `views.panels.filter-value` ("Value"), a rule's three boxes and a bar filter's three parts, `views.panels.filter-choose` ("Choose", drawn nowhere: a value waiting says `views.panels.filter-waits`), `views.panels.filter-search` ("Filter by…"), `views.panels.filter-relation-way` (`{ quantifier }`, "any where", "none where", "every where"), `views.panels.filter-rule-actions` (`{ label }`, "Actions for the filter on {label}", a rule's ⋮), `views.panels.filter-group-actions` ("Actions for this group"), `views.panels.filter-set-aside-why` (`{ reason }`, a set-aside filter's why: "Set aside: its field is no longer in this list", "Set aside: its field no longer compares this way", "Set aside: its field no longer has this part"), `views.panels.sort-set-aside-why` (`{ reason }`, a set-aside sort's: "Set aside: its field is no longer in this list", else "Set aside: its field no longer sorts this way"), `views.panels.filter-set-aside-back` and `views.panels.sort-set-aside-back` (a set-aside filter's or sort's why once its field is listed again: "Set aside: its field is back in this list, and Put back filters by it again", "… and Put back sorts by it again"), `views.panels.put-back` ("Put back"), `views.panels.filter-or-full` ("This view's filter joins by Or and is three levels deep: change it in its advanced filter", the rows' reason), `views.panels.filter-too-deep` ("Three levels at most"), `views.panels.filter-too-many` ("Fifty filters at most in one group") and `views.panels.filter-relation-gone` ("Its relation is no longer in this list", Add filter's reason under a relation the list no longer lists); the filter editor on a phone's (VK-532), `views.panels.filter-empty` ("No filtering set up yet") and `views.panels.filter-empty-line` ("Choose a field to filter by"), `views.panels.filter-clear-all` ("Clear all") and `views.panels.filter-done` ("Done", the phone sheet's ✓); the filters on the toolbar's bar, `views.panels.filter-waits` (`{ type }`, what a filter's value waits for, on the bar and in the filter editor's value box: "Choose" for a choice, "Type a number", "Choose a date", "Type a value"), `views.panels.filter-way-words` (`{ label }`, how it compares as the bar says it, the way's label with its first letter in lower case, "is any of"), `views.panels.filter-far-field` (`{ relation, field }`, "Company › Industry", a related record's field), `views.panels.filter-rule-words` (`{ field, way, value }`, "Stage is any of Talking", the sentence that names a filter), `views.panels.filter-add-one` ("Add a filter", the +'s name), `views.panels.filter-delete` ("Delete filter"), `views.panels.filter-more` (`{ count }`, "+1 filter", "+{count} filters") and `views.panels.filter-more-named` (`{ count }`, "1 more filter", "{count} more filters", its name); what a screen reader hears of a drag in the parts that drag (VK-401), each row by its label, `views.panels.drag-instructions` ("To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel."), `views.panels.drag-picked-up` (`{ label }`, "Picked up draggable item {label}."), `views.panels.drag-over` (`{ label, over }`, "Draggable item {label} was moved over droppable area {over}."), `views.panels.drag-not-over` (`{ label }`, "Draggable item {label} is no longer over a droppable area."), `views.panels.drag-dropped-over` (`{ label, over }`, "Draggable item {label} was dropped over droppable area {over}"), `views.panels.drag-dropped` (`{ label }`, "Draggable item {label} was dropped.") and `views.panels.drag-cancelled` (`{ label }`, "Dragging was cancelled. Draggable item {label} was dropped."); the Group panel's orders `views.panels.group-order-date` ("Date") and `views.panels.group-order-lifecycle` ("Lifecycle"); and a date's granularities, `views.panels.granularity-relative` ("Relative"), `views.panels.granularity-due` ("Due"), `views.panels.granularity-day` ("Day"), `views.panels.granularity-week` ("Week"), `views.panels.granularity-month` ("Month"), `views.panels.granularity-year` ("Year").
965
983
  The selection bar's words are under `views.selection.*`: `views.selection.count` (`{ count }`, "3 selected",
966
984
  the phone sheet's title), `views.selection.selected` (the word after the count the bar draws),
967
985
  `views.selection.deselect-all` (the count chip), `views.selection.clear` (the phone's ✕),
@@ -969,7 +987,16 @@ the phone sheet's title), `views.selection.selected` (the word after the count t
969
987
  `views.selection.more-label` (More, and its accessible name), `views.selection.more-none` ("No more
970
988
  actions for these", why More opens nothing while no verb spills into it), `views.selection.actions` (the phone's
971
989
  Actions), `views.selection.sheet-label` (the sheet's accessible name) and `views.selection.escape`
972
- (the key cap in the chip's tooltip).
990
+ (the key cap in the chip's tooltip). `CONTROLS.SelectionBar`'s own (VK-725): `views.selection.many`
991
+ (`{ count, one, other }`, "3 deals", how many are picked with the noun), `views.selection.bar-label` (`{ many }`,
992
+ "{many} selected", the bar's name), `views.selection.delete-many` (`{ many }`, "Delete {many}", Delete's name and
993
+ More's row), `views.selection.delete-ask` (`{ many }`, "Delete {many}?", its question), `views.selection.noun-one`
994
+ and `views.selection.noun-other` ("row", "rows", where the app hands no noun), `views.selection.bar-count`
995
+ ("Selected", after the number on a computer), `views.selection.clear-the` ("Clear the selection", the count's name),
996
+ `views.selection.delete-button` ("Delete", the tray's and the question's) and `views.selection.cant-use` ("Can't be
997
+ used now", a verb that can't be used and gives no reason); with `views.selection.selected`, `views.selection.more`,
998
+ `views.selection.actions`, `views.picker.cancel` and the ports' words. The region a Toast stands in is
999
+ `views.panels.toast-region` ("Notifications").
973
1000
  A span behind now is fields' own `time.ago`. The provider's `messages` resolves them; it defaults to the
974
1001
  package's English, `resolveViewsMessage`; an app's resolver that words only some keys calls
975
1002
  `resolveViewsMessage` for the rest, since the provider does not fall back for it. A new key is a
@@ -992,7 +1019,7 @@ A value takes up to four shapes on its way through a view: **stored** (what the
992
1019
  | `select`, `status` | the option's code | none: a pick commits | the option's code, or `""` for None on a field that may be emptied | a badge, a status by its semantic slot |
993
1020
  | `multiselect` | the codes | the chosen codes | the whole set | badges |
994
1021
  | `relation`, `user` | an id or null (ids for a many relation) | the picked id; a many relation's set | an id, a ref `{ kind, id }`, or `null` for unlinked; a many relation's whole set as stored | a chip `{ id, label, entity, avatarUrl }` the host resolves |
995
- | `range` | `{ low, high }` | two boxes | `{ low, high }`, an empty box an open end | "11–50" with its unit and period |
1022
+ | `range` | `{ low, high }` | two boxes | `{ low, high }`, an empty box an open end | "11–50" with its unit and period, or its exact band's name |
996
1023
  | `name` | `{ full, given, family }` | three boxes | `{ full, given, family }`, or `null` | the full name, else the parts, else the host's fallback |
997
1024
  | `location` | the place's parts in its country's order | the country, then its parts | the place, or `null` | the place written whole |
998
1025
  | `rich_text` | a markdown string | the host's own input; in the grid, the long-text panel | the markdown string | folded text |
@@ -1074,7 +1101,7 @@ search field, on a phone too. The row menu and a command cell's menu always go t
1074
1101
  And an optional `gridButtons` (`ViewsGridButtons`, default `own`): who draws the buttons the grid draws itself, a
1075
1102
  group's fold and ⋯, "+ Add column", a row's ⋯, the name's actions (the pencil and the app's `rowActions`), an action
1076
1103
  column's buttons, a pick-list cell's ▾, and a command cell's ▾ and its trigger around a value (`ghost`, `icon` beside a
1077
- relation, user, link, email, phone or domain, `sm` around any other value, which keeps its line and the cell's own type
1104
+ relation, link, email, phone or domain, `sm` around any other value, which keeps its line and the cell's own type
1078
1105
  through `[font:inherit]`; these two are handed only `type`, `variant`, `size`, `className` and the column's name as
1079
1106
  `aria-label`, and stay Tab stops as on 0.5.0). `own` draws ViewKit's own, as on 0.5.0; `button` draws your `Button`,
1080
1107
  `variant` `ghost` (`outline` for the name's actions), `size` `icon` (`sm` for "+ Add column" at the header's end; `icon`,
@@ -0,0 +1,41 @@
1
+ # The bulk bar's tokens
2
+
3
+ Every name `bulk-bar.css` reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
+
5
+ The bar draws its surface, its place, its count, the room its Toast rises in, and its measuring row: the Toolbar, the Buttons, the Menus, the Picker, the Popover, the Sheet, the alert dialog and the Toast it holds read their own pages' names. Its own machinery: `--bulk-bar-bottom` (how far above its holder's foot it stands) and `--bulk-bar-height` (how tall it is), set once for each form on the bar, the room its Toast rises in and its holder; `--bulk-bar-room`, the room it hands its holder while it is shown, which a list that scrolls in the holder pads its foot by; and `--safe-area-bottom`, the phone's safe area at its foot, as the Sheet reads it.
6
+
7
+ | name | kind | the Outright token | default |
8
+ | ---- | ---- | ------------------ | ------- |
9
+ | `--vk-border` | colour | `border` | `hsl(220 7% 90%)` · dark `hsl(225 7% 15%)` |
10
+ | `--vk-border-brand` | colour | `border-focused` | `hsl(219 90% 65.5%)` · dark `hsl(219 66% 47%)` |
11
+ | `--vk-border-input` | colour | `border-input` | `hsl(220 3% 86%)` · dark `hsl(220 4% 22%)` |
12
+ | `--vk-border-width` | size | `border-width` | `1px` |
13
+ | `--vk-brand` | colour | `background-brand-bold` | `hsl(219 87% 54%)` · dark `hsl(219 87% 59.5%)` |
14
+ | `--vk-duration-base` | motion | `duration-base` | `200ms` |
15
+ | `--vk-ease-out` | motion | `ease-out` | `cubic-bezier(0, 0, 0.2, 1)` |
16
+ | `--vk-fg` | colour | `text` | `hsl(210 6% 7%)` · dark `hsl(210 8% 95%)` |
17
+ | `--vk-fg-accent` | colour | `text-brand` | `hsl(219 87% 54%)` · dark `hsl(219 87% 59.5%)` |
18
+ | `--vk-fg-disabled` | colour | `text-disabled` | `hsl(210 1% 72%)` · dark `hsl(210 1% 37%)` |
19
+ | `--vk-fg-on-brand` | colour | `text-brand-inverse` | `hsl(0 0% 100%)` · dark `hsl(210 8% 5%)` |
20
+ | `--vk-fg-subtle` | colour | `text-subtle` | `hsl(0 0% 35%)` · dark `hsl(258 4% 72%)` |
21
+ | `--vk-fg-subtlest` | colour | `text-subtlest` | `hsl(210 1% 53.5%)` · dark `hsl(210 3% 53%)` |
22
+ | `--vk-focus-offset` | size | `focus-offset` | `2px` |
23
+ | `--vk-focus-width` | size | `focus-width` | `2px` |
24
+ | `--vk-font-size-base` | size | `text-base` | `16px` |
25
+ | `--vk-font-size-sm` | size | `text-sm` | `14px` |
26
+ | `--vk-font-size-xs` | size | `text-xs` | `12px` |
27
+ | `--vk-font-weight-medium` | size | `font-weight-medium` | `500` |
28
+ | `--vk-font-weight-semibold` | size | `font-weight-semibold` | `600` |
29
+ | `--vk-layer-sticky` | size | `layer-sticky` | `20` |
30
+ | `--vk-line-height-base` | size | `text-base--line-height` | `1.5` |
31
+ | `--vk-line-height-sm` | size | `text-sm--line-height` | `1.4286` |
32
+ | `--vk-neutral-hovered` | colour | `background-neutral-hovered` | `hsl(220 7% 90%)` · dark `hsl(225 7% 15%)` |
33
+ | `--vk-overlay` | colour | `surface-overlay` | `hsl(0 0% 100%)` · dark `hsl(226 10% 10%)` |
34
+ | `--vk-radius-2xl` | size | `radius-2xl` | `20px` |
35
+ | `--vk-radius-full` | size | `radius-full` | `9999px` |
36
+ | `--vk-radius-lg` | size | `radius-lg` | `10px` |
37
+ | `--vk-radius-sm` | size | `radius-sm` | `5px` |
38
+ | `--vk-radius-xl` | size | `radius-xl` | `15px` |
39
+ | `--vk-shadow-lg` | shadow | `shadow-lg` | `0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)` · dark `0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)` |
40
+ | `--vk-shadow-menu` | shadow | `shadow-menu` | `0 6px 18px hsl(0 0% 0% / 0.06), 0 3px 9px hsl(0 0% 0% / 0.05), 0 1px 1px hsl(0 0% 0% / 0.04)` · dark `0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%)` |
41
+ | `--vk-spacing` | size | `spacing` | `4px` |
@@ -0,0 +1,25 @@
1
+ # The choice's words' tokens
2
+
3
+ Every name the stylesheet of the words beside a choice (`choice.css`) reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
+
5
+ | name | kind | the Outright token | default |
6
+ | ---- | ---- | ------------------ | ------- |
7
+ | `--vk-border` | colour | `border` | `hsl(220 7% 90%)` · dark `hsl(225 7% 15%)` |
8
+ | `--vk-border-danger` | colour | `border-danger` | `hsl(3 87% 68%)` · dark `hsl(1 55% 46.5%)` |
9
+ | `--vk-border-selected` | colour | `border-selected` | `hsl(219 90% 65.5%)` · dark `hsl(219 66% 47%)` |
10
+ | `--vk-border-subtle` | colour | `border-subtle` | `hsl(0 0% 94%)` · dark `hsl(225 7% 11%)` |
11
+ | `--vk-fg` | colour | `text` | `hsl(210 6% 7%)` · dark `hsl(210 8% 95%)` |
12
+ | `--vk-fg-subtle` | colour | `text-subtle` | `hsl(0 0% 35%)` · dark `hsl(258 4% 72%)` |
13
+ | `--vk-ground` | colour | `surface` | `hsl(0 0% 100%)` · dark `hsl(210 6% 7%)` |
14
+ | `--vk-hovered` | colour | `surface-hovered` | `hsl(0 0% 96.5%)` · dark `hsl(210 4% 9.5%)` |
15
+ | `--vk-selected` | colour | `surface-selected` | `hsl(0 0% 94.5%)` · dark `hsl(225 7% 15%)` |
16
+ | `--vk-border-width` | size | `border-width` | `1px` |
17
+ | `--vk-font-size-sm` | size | `text-sm` | `14px` |
18
+ | `--vk-font-size-xs` | size | `text-xs` | `12px` |
19
+ | `--vk-font-weight-medium` | size | `font-weight-medium` | `500` |
20
+ | `--vk-line-height-sm` | size | `text-sm--line-height` | `1.4286` |
21
+ | `--vk-line-height-xs` | size | `text-xs--line-height` | `1.3333` |
22
+ | `--vk-radius-lg` | size | `radius-lg` | `10px` |
23
+ | `--vk-spacing` | size | `spacing` | `4px` |
24
+ | `--vk-duration-fast` | motion | `duration-fast` | `150ms` |
25
+ | `--vk-ease-out` | motion | `ease-out` | `cubic-bezier(0, 0, 0.2, 1)` |
@@ -0,0 +1,17 @@
1
+ # Customize's tokens
2
+
3
+ Every name `customize.css` reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
+
5
+ The Menu list, the Radio, the Input, the Button, the Notice, the Pane and the Sheet it draws with read their own pages' names.
6
+
7
+ | name | kind | the Outright token | default |
8
+ | ---- | ---- | ------------------ | ------- |
9
+ | `--vk-border` | colour | `border` | the colour defaults' |
10
+ | `--vk-duration-base` | motion | `duration-base` | `200ms` |
11
+ | `--vk-duration-fast` | motion | `duration-fast` | `150ms` |
12
+ | `--vk-ease-in-out` | motion | `ease-in-out` | `cubic-bezier(0.4, 0, 0.2, 1)` |
13
+ | `--vk-fg-subtle` | colour | `text-subtle` | the colour defaults' |
14
+ | `--vk-font-size-sm` | size | `text-sm` | `14px` |
15
+ | `--vk-line-height-sm` | size | `text-sm--line-height` | `1.4286` |
16
+ | `--vk-overlay` | colour | `surface-overlay` | the colour defaults' |
17
+ | `--vk-spacing` | size | `spacing` | `4px` |
@@ -2,6 +2,8 @@
2
2
 
3
3
  Every name the Popover's stylesheet (`popover.css`) reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
4
 
5
+ A popup that holds a list (the components map's `chrome` `menu`) is marked `data-popover-chrome="menu"` on the popover itself: the Outright look draws it as its card, and your styles may draw it otherwise.
6
+
5
7
  | name | kind | the Outright token | default |
6
8
  | ---- | ---- | ------------------ | ------- |
7
9
  | `--vk-border` | colour | `border` | `hsl(220 7% 90%)` · dark `hsl(225 7% 15%)` |
@@ -0,0 +1,9 @@
1
+ # The pressing area's tokens
2
+
3
+ Every name the pressing area's stylesheet (`press.css`) reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
+
5
+ A control that packs targets closer than 44px sets `--pressing-room-x` and `--pressing-room-y` on them, half the room between, so two areas never overlap; they are the controls' own machinery, not public. The phone's rule holds where an element is marked `data-vk-phone` and inside it: the Button, the Checkbox, a Tag's remove button and an Option drawn as a link mark themselves on a phone, as the Switch and the Radio do. What it draws: [the pressing area](../reference/controls.md#the-pressing-area).
6
+
7
+ | name | kind | the Outright token | default |
8
+ | ---- | ---- | ------------------ | ------- |
9
+ | `--vk-spacing` | size | `spacing` | `4px` |
@@ -0,0 +1,35 @@
1
+ # The quick filters' tokens
2
+
3
+ Every name `quick-filters.css` reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
+
5
+ The Toggle group, the Input, the Avatar, the Status and the Scrollbar it draws with read their own pages' names; so do the Toolbar and the Button its reminder draws with. The reminder's own machinery, `--quick-filters-reminder-bottom`, `--quick-filters-reminder-height` and `--quick-filters-room` (the room it takes at its holder's foot, which a list that scrolls there pads its foot by), and the phone's `--safe-area-bottom`, are its own.
6
+
7
+ | name | kind | the Outright token | default |
8
+ | ---- | ---- | ------------------ | ------- |
9
+ | `--vk-border` | colour | `border` | `hsl(220 7% 90%)` · dark `hsl(225 7% 15%)` |
10
+ | `--vk-border-brand` | colour | `border-focused` | the colour defaults' |
11
+ | `--vk-border-width` | size | `border-width` | `1px` |
12
+ | `--vk-duration-base` | motion | `duration-base` | `200ms` |
13
+ | `--vk-ease-out` | motion | `ease-out` | `cubic-bezier(0, 0, 0.2, 1)` |
14
+ | `--vk-fg` | colour | `text` | the colour defaults' |
15
+ | `--vk-fg-disabled` | colour | `text-disabled` | `hsl(210 1% 72%)` · dark `hsl(210 1% 37%)` |
16
+ | `--vk-fg-subtle` | colour | `text-subtle` | the colour defaults' |
17
+ | `--vk-fg-subtlest` | colour | `text-subtlest` | the colour defaults' |
18
+ | `--vk-focus-offset` | size | `focus-offset` | `2px` |
19
+ | `--vk-focus-width` | size | `focus-width` | `2px` |
20
+ | `--vk-font-size-base` | size | `text-base` | `16px` |
21
+ | `--vk-font-size-sm` | size | `text-sm` | `14px` |
22
+ | `--vk-font-size-xs` | size | `text-xs` | `12px` |
23
+ | `--vk-font-weight-medium` | size | `font-weight-medium` | `500` |
24
+ | `--vk-layer-sticky` | size | `layer-sticky` | `20` |
25
+ | `--vk-line-height-base` | size | `text-base--line-height` | `1.5` |
26
+ | `--vk-line-height-sm` | size | `text-sm--line-height` | `1.4286` |
27
+ | `--vk-overlay` | colour | `surface-overlay` | the colour defaults' |
28
+ | `--vk-overlay-card` | colour | `surface-overlay-card` | `hsl(0 0% 94%)` · dark `hsl(225 7% 15%)` |
29
+ | `--vk-overlay-card-pressed` | colour | `surface-overlay-card-pressed` | `hsl(220 7% 90%)` · dark `hsl(220 4% 22%)` |
30
+ | `--vk-overlay-hovered` | colour | `surface-overlay-hovered` | `hsl(220 3% 97%)` · dark `hsl(225 7% 15%)` |
31
+ | `--vk-overlay-pressed` | colour | `surface-overlay-pressed` | `hsl(0 0% 94%)` · dark `hsl(225 7% 15%)` |
32
+ | `--vk-radius-full` | size | `radius-full` | `9999px` |
33
+ | `--vk-radius-lg` | size | `radius-lg` | `10px` |
34
+ | `--vk-shadow-menu` | shadow | `shadow-menu` | `0 6px 18px hsl(0 0% 0% / 0.06), 0 3px 9px hsl(0 0% 0% / 0.05), 0 1px 1px hsl(0 0% 0% / 0.04)` · dark `0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%)` |
35
+ | `--vk-spacing` | size | `spacing` | `4px` |
@@ -2,7 +2,7 @@
2
2
 
3
3
  Every name `radio.css` reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
4
 
5
- The words beside a choice, and a card's edge and ground (`o-choice-*`), are the app's own choice styles, as the Checkbox's are.
5
+ The words beside a choice, and a card's edge and ground (`o-choice-*`), are `choice.css`'s ([its page](choice.md)), as the Checkbox's are.
6
6
 
7
7
  | name | kind | the Outright token | default |
8
8
  | ---- | ---- | ------------------ | ------- |
@@ -0,0 +1,18 @@
1
+ # The SwitchRow's tokens
2
+
3
+ Every name the SwitchRow's and SwitchRows' stylesheet (`switch-row.css`) reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
+
5
+ | name | kind | the Outright token | default |
6
+ | ---- | ---- | ------------------ | ------- |
7
+ | `--vk-border` | colour | `border` | `hsl(220 7% 90%)` · dark `hsl(225 7% 15%)` |
8
+ | `--vk-border-subtle` | colour | `border-subtle` | `hsl(0 0% 94%)` · dark `hsl(225 7% 11%)` |
9
+ | `--vk-hovered` | colour | `surface-hovered` | `hsl(0 0% 96.5%)` · dark `hsl(210 4% 9.5%)` |
10
+ | `--vk-border-width` | size | `border-width` | `1px` |
11
+ | `--vk-corner-smoothing` | size | `corner-smoothing` | `0.7` |
12
+ | `--vk-font-size-sm` | size | `text-sm` | `14px` |
13
+ | `--vk-font-weight-medium` | size | `font-weight-medium` | `500` |
14
+ | `--vk-line-height-sm` | size | `text-sm--line-height` | `1.4286` |
15
+ | `--vk-radius-lg` | size | `radius-lg` | `10px` |
16
+ | `--vk-spacing` | size | `spacing` | `4px` |
17
+ | `--vk-duration-fast` | motion | `duration-fast` | `150ms` |
18
+ | `--vk-ease-out` | motion | `ease-out` | `cubic-bezier(0, 0, 0.2, 1)` |
@@ -0,0 +1,7 @@
1
+ # The TagField's tokens
2
+
3
+ Every name the TagField's stylesheet (`tag-field.css`) reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
+
5
+ | name | kind | the Outright token | default |
6
+ | ---- | ---- | ------------------ | ------- |
7
+ | `--vk-spacing` | size | `spacing` | `4px` |
@@ -0,0 +1,31 @@
1
+ # The toolbar button's tokens
2
+
3
+ Every name the toolbar button's stylesheet (`toolbar-button.css`) reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. It is the Button, so the Button's names ([its page](button.md)) reach it too. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
+
5
+ | name | kind | the Outright token | default |
6
+ | ---- | ---- | ------------------ | ------- |
7
+ | `--vk-radius-xs` | size | `radius-xs` | `2.5px` |
8
+ | `--vk-radius-sm` | size | `radius-sm` | `5px` |
9
+ | `--vk-radius-md` | size | `radius-md` | `7.5px` |
10
+ | `--vk-radius-lg` | size | `radius-lg` | `10px` |
11
+ | `--vk-radius-xl` | size | `radius-xl` | `15px` |
12
+ | `--vk-radius-2xl` | size | `radius-2xl` | `20px` |
13
+ | `--vk-radius-full` | size | `radius-full` | `9999px` |
14
+ | `--vk-font-weight-medium` | size | `font-weight-medium` | `500` |
15
+ | `--vk-font-weight-semibold` | size | `font-weight-semibold` | `600` |
16
+ | `--vk-spacing` | size | `spacing` | `4px` |
17
+ | `--vk-fg-subtle` | colour | `text-subtle` | `hsl(0 0% 35%)` · dark `hsl(258 4% 72%)` |
18
+ | `--vk-dot-size` | size | `dot-size` | `6px` |
19
+ | `--vk-brand` | colour | `background-brand-bold` | `hsl(219 87% 54%)` · dark `hsl(219 87% 59.5%)` |
20
+ | `--vk-fg-accent` | colour | `text-brand` | `hsl(219 87% 54%)` · dark `hsl(219 87% 59.5%)` |
21
+ | `--vk-fg` | colour | `text` | `hsl(210 6% 7%)` · dark `hsl(210 8% 95%)` |
22
+ | `--vk-selected` | colour | `surface-selected` | `hsl(0 0% 94.5%)` · dark `hsl(225 7% 15%)` |
23
+ | `--vk-fg-selected` | colour | `text-selected` | `hsl(210 6% 7%)` · dark `hsl(210 8% 95%)` |
24
+ | `--vk-raised-selected` | colour | `surface-raised-selected` | `hsl(220 7% 90%)` · dark `hsl(225 7% 15%)` |
25
+ | `--vk-sunken-selected` | colour | `surface-sunken-selected` | `hsl(0 0% 91%)` · dark `hsl(225 7% 11%)` |
26
+ | `--vk-brand-subtlest` | colour | `background-brand-subtlest` | `hsl(218 100% 98%)` · dark `hsl(218 15% 10%)` |
27
+ | `--vk-border-bold` | colour | `border-bold` | `hsl(210 1% 82%)` · dark `hsl(210 2% 26.5%)` |
28
+ | `--vk-hovered` | colour | `surface-hovered` | `hsl(0 0% 96.5%)` · dark `hsl(210 4% 9.5%)` |
29
+ | `--vk-border-warning` | colour | `border-warning` | `hsl(20 63% 57.5%)` · dark `hsl(22 74% 36%)` |
30
+ | `--vk-warning` | colour | `text-warning` | `hsl(25 92% 41%)` |
31
+ | `--vk-warning-subtlest` | colour | `background-warning-subtlest` | `hsl(19 74% 97.5%)` · dark `hsl(19 13% 10%)` |
@@ -0,0 +1,14 @@
1
+ # The Toolbar's tokens
2
+
3
+ Every name `toolbar.css` reads, each optional: the ready stylesheet declares it at the Outright look's value, and your app declares it to change it. Each stands for one Outright token, which an app on the Outright tokens declares it as. How the names are made, and the controls' other pages: [the controls' tokens](../contract.md#the-controls-tokens).
4
+
5
+ The Toolbar draws nothing of its own but its lines, the room between what each holds, and its separators: the toolbar buttons, the Buttons, the Toggle group, the Input and the Menu it holds read their own pages' names. Its own machinery, `--toolbar-spacing` (how far apart what a line holds stands, in spacing steps) and `--toolbar-inset` (the room at each side of each line, `0` unless what holds it gives one), are set by what holds it.
6
+
7
+ | name | kind | the Outright token | default |
8
+ | ---- | ---- | ------------------ | ------- |
9
+ | `--vk-border` | colour | `border` | `hsl(220 7% 90%)` · dark `hsl(225 7% 15%)` |
10
+ | `--vk-border-subtle` | colour | `border-subtle` | `hsl(0 0% 94%)` · dark `hsl(225 7% 11%)` |
11
+ | `--vk-border-width` | size | `border-width` | `1px` |
12
+ | `--vk-duration-base` | motion | `duration-base` | `200ms` |
13
+ | `--vk-ease-out` | motion | `ease-out` | `cubic-bezier(0, 0, 0.2, 1)` |
14
+ | `--vk-spacing` | size | `spacing` | `4px` |