viewkitjs 0.28.0 → 0.30.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 (530) hide show
  1. package/CHANGELOG.md +218 -0
  2. package/MIGRATION.md +181 -11
  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.d.ts +2 -2
  41. package/views/dist/cells/cell-format.js +2 -2
  42. package/views/dist/cells/cell-values.js +9 -12
  43. package/views/dist/contract.d.ts +161 -18
  44. package/views/dist/contract.js +170 -28
  45. package/views/dist/controls/bulk-bar/bulk-bar-of.d.ts +66 -0
  46. package/views/dist/controls/bulk-bar/bulk-bar-of.js +22 -0
  47. package/views/dist/controls/bulk-bar/bulk-bar.d.ts +40 -0
  48. package/views/dist/controls/bulk-bar/bulk-bar.js +278 -0
  49. package/views/dist/controls/bulk-bar/looks.d.ts +10 -0
  50. package/views/dist/controls/bulk-bar/looks.js +14 -0
  51. package/views/dist/controls/bulk-bar/map-selection-bar.d.ts +19 -0
  52. package/views/dist/controls/bulk-bar/map-selection-bar.js +57 -0
  53. package/views/dist/controls/bulk-bar/tokens.d.ts +136 -0
  54. package/views/dist/controls/bulk-bar/tokens.js +36 -0
  55. package/views/dist/controls/bulk-bar/words.d.ts +50 -0
  56. package/views/dist/controls/bulk-bar/words.js +19 -0
  57. package/views/dist/controls/bulk-bar.css +96 -0
  58. package/views/dist/controls/button/button.js +3 -1
  59. package/views/dist/controls/button.css +5 -4
  60. package/views/dist/controls/checkbox/checkbox.js +3 -1
  61. package/views/dist/controls/checkbox.css +1 -1
  62. package/views/dist/controls/choice/tokens.d.ts +79 -0
  63. package/views/dist/controls/choice/tokens.js +22 -0
  64. package/views/dist/controls/choice.css +31 -0
  65. package/views/dist/controls/compound-editor/looks.js +1 -1
  66. package/views/dist/controls/controls.d.ts +8 -0
  67. package/views/dist/controls/controls.js +8 -0
  68. package/views/dist/controls/customize/customize.d.ts +176 -0
  69. package/views/dist/controls/customize/customize.js +348 -0
  70. package/views/dist/controls/customize/glide.d.ts +10 -0
  71. package/views/dist/controls/customize/glide.js +55 -0
  72. package/views/dist/controls/customize/looks.d.ts +13 -0
  73. package/views/dist/controls/customize/looks.js +11 -0
  74. package/views/dist/controls/customize/map-customize-body.d.ts +15 -0
  75. package/views/dist/controls/customize/map-customize-body.js +195 -0
  76. package/views/dist/controls/customize/map-ranges.d.ts +23 -0
  77. package/views/dist/controls/customize/map-ranges.js +41 -0
  78. package/views/dist/controls/customize/rules.d.ts +39 -0
  79. package/views/dist/controls/customize/rules.js +21 -0
  80. package/views/dist/controls/customize/tokens.d.ts +40 -0
  81. package/views/dist/controls/customize/tokens.js +12 -0
  82. package/views/dist/controls/customize/words.d.ts +65 -0
  83. package/views/dist/controls/customize/words.js +42 -0
  84. package/views/dist/controls/customize.css +57 -0
  85. package/views/dist/controls/date-editor/looks.js +1 -1
  86. package/views/dist/controls/filter-editor/block.d.ts +31 -0
  87. package/views/dist/controls/filter-editor/block.js +27 -0
  88. package/views/dist/controls/filter-editor/filter-editor.d.ts +4 -0
  89. package/views/dist/controls/filter-editor/filter-editor.js +86 -43
  90. package/views/dist/controls/filter-editor/how.d.ts +1 -1
  91. package/views/dist/controls/filter-editor/how.js +1 -0
  92. package/views/dist/controls/filter-editor/map-filter-body.d.ts +16 -1
  93. package/views/dist/controls/filter-editor/map-filter-body.js +39 -13
  94. package/views/dist/controls/filter-editor/map-rules.d.ts +27 -11
  95. package/views/dist/controls/filter-editor/map-rules.js +73 -42
  96. package/views/dist/controls/filter-editor/rules.d.ts +42 -5
  97. package/views/dist/controls/filter-editor/rules.js +55 -2
  98. package/views/dist/controls/filter-editor/words.d.ts +15 -0
  99. package/views/dist/controls/filter-editor/words.js +6 -0
  100. package/views/dist/controls/filter-editor.css +18 -0
  101. package/views/dist/controls/index.d.ts +33 -9
  102. package/views/dist/controls/index.js +32 -9
  103. package/views/dist/controls/inline-input/looks.js +1 -1
  104. package/views/dist/controls/input/input.js +10 -4
  105. package/views/dist/controls/internal/phone.d.ts +5 -4
  106. package/views/dist/controls/internal/phone.js +7 -7
  107. package/views/dist/controls/internal/scroll.js +5 -1
  108. package/views/dist/controls/internal/typed-run.d.ts +2 -0
  109. package/views/dist/controls/internal/typed-run.js +5 -0
  110. package/views/dist/controls/menu/map-menu.js +2 -2
  111. package/views/dist/controls/menu-list/menu-list.d.ts +16 -1
  112. package/views/dist/controls/menu-list/menu-list.js +26 -8
  113. package/views/dist/controls/menu-list.css +8 -0
  114. package/views/dist/controls/number-editor/looks.js +1 -1
  115. package/views/dist/controls/option/option.js +3 -1
  116. package/views/dist/controls/option.css +1 -1
  117. package/views/dist/controls/pane/pane.d.ts +4 -0
  118. package/views/dist/controls/pane/pane.js +2 -1
  119. package/views/dist/controls/picker/looks.js +1 -1
  120. package/views/dist/controls/picker/map-picker.d.ts +6 -2
  121. package/views/dist/controls/picker/map-picker.js +4 -2
  122. package/views/dist/controls/picker/picker.d.ts +7 -0
  123. package/views/dist/controls/picker/picker.js +57 -8
  124. package/views/dist/controls/popover/map-popover.d.ts +1 -1
  125. package/views/dist/controls/popover/map-popover.js +2 -2
  126. package/views/dist/controls/popover/popover.js +2 -1
  127. package/views/dist/controls/popover.css +3 -0
  128. package/views/dist/controls/ports-host/map-ports-host.d.ts +7 -0
  129. package/views/dist/controls/ports-host/map-ports-host.js +43 -0
  130. package/views/dist/controls/press/tokens.d.ts +8 -0
  131. package/views/dist/controls/press/tokens.js +4 -0
  132. package/views/dist/controls/press.css +44 -0
  133. package/views/dist/controls/quick-filters/looks.d.ts +11 -0
  134. package/views/dist/controls/quick-filters/looks.js +9 -0
  135. package/views/dist/controls/quick-filters/map-quick-filters-body.d.ts +31 -0
  136. package/views/dist/controls/quick-filters/map-quick-filters-body.js +59 -0
  137. package/views/dist/controls/quick-filters/quick-filters.d.ts +37 -0
  138. package/views/dist/controls/quick-filters/quick-filters.js +89 -0
  139. package/views/dist/controls/quick-filters/reminder.d.ts +18 -0
  140. package/views/dist/controls/quick-filters/reminder.js +41 -0
  141. package/views/dist/controls/quick-filters/rules.d.ts +89 -0
  142. package/views/dist/controls/quick-filters/rules.js +52 -0
  143. package/views/dist/controls/quick-filters/tokens.d.ts +112 -0
  144. package/views/dist/controls/quick-filters/tokens.js +30 -0
  145. package/views/dist/controls/quick-filters/words.d.ts +25 -0
  146. package/views/dist/controls/quick-filters/words.js +13 -0
  147. package/views/dist/controls/quick-filters.css +118 -0
  148. package/views/dist/controls/sheet/bottom-sheet.d.ts +9 -4
  149. package/views/dist/controls/sheet/bottom-sheet.js +4 -4
  150. package/views/dist/controls/sheet/map-sheet.d.ts +4 -1
  151. package/views/dist/controls/sheet/map-sheet.js +19 -6
  152. package/views/dist/controls/sheet/sheet-parts.d.ts +10 -0
  153. package/views/dist/controls/sheet/sheet-parts.js +2 -0
  154. package/views/dist/controls/switch-row/switch-row.d.ts +15 -0
  155. package/views/dist/controls/switch-row/switch-row.js +9 -0
  156. package/views/dist/controls/switch-row/tokens.d.ts +51 -0
  157. package/views/dist/controls/switch-row/tokens.js +15 -0
  158. package/views/dist/controls/switch-row.css +39 -0
  159. package/views/dist/controls/switch.css +1 -1
  160. package/views/dist/controls/tag/tag.js +3 -1
  161. package/views/dist/controls/tag-field/tag-field.d.ts +20 -0
  162. package/views/dist/controls/tag-field/tag-field.js +19 -0
  163. package/views/dist/controls/tag-field/tokens.d.ts +7 -0
  164. package/views/dist/controls/tag-field/tokens.js +4 -0
  165. package/views/dist/controls/tag-field.css +13 -0
  166. package/views/dist/controls/text-editor/looks.js +1 -1
  167. package/views/dist/controls/text-editor/map-text-body.d.ts +1 -1
  168. package/views/dist/controls/text-editor/map-text-body.js +2 -2
  169. package/views/dist/controls/text-editor/text-editor.d.ts +3 -0
  170. package/views/dist/controls/text-editor/text-editor.js +17 -7
  171. package/views/dist/controls/text-editor.css +11 -0
  172. package/views/dist/controls/toast/toast.d.ts +5 -1
  173. package/views/dist/controls/toast/toast.js +5 -3
  174. package/views/dist/controls/tokens.js +18 -0
  175. package/views/dist/controls/toolbar/keys.d.ts +3 -0
  176. package/views/dist/controls/toolbar/keys.js +11 -0
  177. package/views/dist/controls/toolbar/looks.d.ts +10 -0
  178. package/views/dist/controls/toolbar/looks.js +40 -0
  179. package/views/dist/controls/toolbar/tokens.d.ts +28 -0
  180. package/views/dist/controls/toolbar/tokens.js +9 -0
  181. package/views/dist/controls/toolbar/toolbar.d.ts +111 -0
  182. package/views/dist/controls/toolbar/toolbar.js +370 -0
  183. package/views/dist/controls/toolbar/words.d.ts +28 -0
  184. package/views/dist/controls/toolbar/words.js +17 -0
  185. package/views/dist/controls/toolbar-button/looks.d.ts +4 -0
  186. package/views/dist/controls/toolbar-button/looks.js +21 -0
  187. package/views/dist/controls/toolbar-button/tokens.d.ts +103 -0
  188. package/views/dist/controls/toolbar-button/tokens.js +28 -0
  189. package/views/dist/controls/toolbar-button/toolbar-button.d.ts +66 -0
  190. package/views/dist/controls/toolbar-button/toolbar-button.js +51 -0
  191. package/views/dist/controls/toolbar-button.css +75 -0
  192. package/views/dist/controls/toolbar.css +65 -0
  193. package/views/dist/controls/tooltip/map-tooltip.d.ts +1 -1
  194. package/views/dist/controls/tooltip/map-tooltip.js +2 -2
  195. package/views/dist/controls/tooltip/tooltip.d.ts +3 -1
  196. package/views/dist/controls/tooltip/tooltip.js +2 -2
  197. package/views/dist/controls/values-editor/looks.js +1 -1
  198. package/views/dist/controls/values-editor/values.js +6 -2
  199. package/views/dist/controls/views-list/map-views-list-body.d.ts +4 -1
  200. package/views/dist/controls/views-list/map-views-list-body.js +128 -4
  201. package/views/dist/controls/views-list/rules.d.ts +26 -0
  202. package/views/dist/controls/views-list/rules.js +63 -0
  203. package/views/dist/controls/views-list/view-menu.d.ts +84 -0
  204. package/views/dist/controls/views-list/view-menu.js +201 -0
  205. package/views/dist/controls/views-list/views-list.d.ts +8 -1
  206. package/views/dist/controls/views-list/views-list.js +18 -3
  207. package/views/dist/controls/views-list/words.d.ts +54 -0
  208. package/views/dist/controls/views-list/words.js +10 -1
  209. package/views/dist/controls/views-list.css +5 -1
  210. package/views/dist/display/date.js +3 -3
  211. package/views/dist/display/format.d.ts +6 -0
  212. package/views/dist/display/format.js +3 -0
  213. package/views/dist/display/index.d.ts +1 -1
  214. package/views/dist/display/index.js +1 -1
  215. package/views/dist/display/options.d.ts +1 -1
  216. package/views/dist/display/range.d.ts +2 -1
  217. package/views/dist/display/range.js +4 -1
  218. package/views/dist/display/rich-text.js +0 -1
  219. package/views/dist/editors/ChipsEditor.d.ts +4 -5
  220. package/views/dist/editors/ChipsEditor.js +12 -78
  221. package/views/dist/editors/DateEditor.d.ts +12 -16
  222. package/views/dist/editors/DateEditor.js +40 -191
  223. package/views/dist/editors/EditorPanel.d.ts +2 -6
  224. package/views/dist/editors/EditorPanel.js +2 -2
  225. package/views/dist/editors/LocationEditor.d.ts +11 -19
  226. package/views/dist/editors/LocationEditor.js +19 -211
  227. package/views/dist/editors/NameEditor.d.ts +8 -16
  228. package/views/dist/editors/NameEditor.js +11 -100
  229. package/views/dist/editors/NumberEditor.d.ts +14 -21
  230. package/views/dist/editors/NumberEditor.js +22 -49
  231. package/views/dist/editors/RangeEditor.d.ts +9 -33
  232. package/views/dist/editors/RangeEditor.js +12 -97
  233. package/views/dist/editors/RelationEditor.d.ts +6 -9
  234. package/views/dist/editors/RelationEditor.js +11 -30
  235. package/views/dist/editors/RelationSetEditor.d.ts +13 -24
  236. package/views/dist/editors/RelationSetEditor.js +33 -101
  237. package/views/dist/editors/SelectEditor.d.ts +15 -17
  238. package/views/dist/editors/SelectEditor.js +15 -94
  239. package/views/dist/editors/TextEditor.d.ts +23 -26
  240. package/views/dist/editors/TextEditor.js +11 -48
  241. package/views/dist/editors/ValueListEditor.d.ts +14 -23
  242. package/views/dist/editors/ValueListEditor.js +16 -202
  243. package/views/dist/editors/body-panel.d.ts +13 -7
  244. package/views/dist/editors/body-panel.js +3 -7
  245. package/views/dist/editors/edit-cores.d.ts +15 -15
  246. package/views/dist/editors/edit-cores.js +14 -14
  247. package/views/dist/editors/number-body.d.ts +1 -1
  248. package/views/dist/editors/number-step.d.ts +0 -34
  249. package/views/dist/editors/number-step.js +0 -37
  250. package/views/dist/editors/option-add-flow.d.ts +1 -13
  251. package/views/dist/editors/option-add-flow.js +0 -22
  252. package/views/dist/editors/relation-links-body.d.ts +2 -3
  253. package/views/dist/editors/relation-picker.d.ts +13 -3
  254. package/views/dist/editors/relation-source.d.ts +0 -22
  255. package/views/dist/editors/relation-source.js +0 -21
  256. package/views/dist/field-row/FieldRow.js +5 -6
  257. package/views/dist/field-row/FieldRowLane.js +0 -1
  258. package/views/dist/field-row/editors/RowChipsEditor.js +2 -2
  259. package/views/dist/field-row/editors/RowDateEditor.d.ts +2 -2
  260. package/views/dist/field-row/editors/RowDateEditor.js +2 -2
  261. package/views/dist/field-row/editors/RowNameEditor.d.ts +2 -5
  262. package/views/dist/field-row/editors/RowNameEditor.js +7 -12
  263. package/views/dist/field-row/editors/RowNumberEditor.d.ts +1 -1
  264. package/views/dist/field-row/editors/RowNumberEditor.js +4 -4
  265. package/views/dist/field-row/editors/RowPlaceEditor.js +3 -3
  266. package/views/dist/field-row/editors/RowRangeEditor.d.ts +2 -5
  267. package/views/dist/field-row/editors/RowRangeEditor.js +7 -14
  268. package/views/dist/field-row/editors/RowRelationEditor.js +3 -3
  269. package/views/dist/field-row/editors/RowSelectEditor.js +2 -2
  270. package/views/dist/field-row/editors/RowTextEditor.d.ts +1 -1
  271. package/views/dist/field-row/editors/RowTextEditor.js +3 -4
  272. package/views/dist/field-row/editors/RowValueListEditor.js +5 -5
  273. package/views/dist/field-row/field-row-button.d.ts +6 -9
  274. package/views/dist/field-row/field-row-button.js +1 -6
  275. package/views/dist/field-row/field-row-checkbox.d.ts +1 -1
  276. package/views/dist/field-row/row-target.d.ts +0 -7
  277. package/views/dist/field-row/row-target.js +0 -2
  278. package/views/dist/grid/chrome/GridAddColumn.d.ts +2 -1
  279. package/views/dist/grid/chrome/GridAddColumn.js +8 -66
  280. package/views/dist/grid/chrome/GridAggregateMenu.d.ts +5 -7
  281. package/views/dist/grid/chrome/GridAggregateMenu.js +20 -39
  282. package/views/dist/grid/chrome/GridCellEditors.d.ts +2 -2
  283. package/views/dist/grid/chrome/GridCellEditors.js +12 -12
  284. package/views/dist/grid/chrome/GridChipsEditor.js +3 -3
  285. package/views/dist/grid/chrome/GridColumnMenu.d.ts +11 -12
  286. package/views/dist/grid/chrome/GridColumnMenu.js +32 -93
  287. package/views/dist/grid/chrome/GridDateEditor.d.ts +6 -6
  288. package/views/dist/grid/chrome/GridDateEditor.js +3 -3
  289. package/views/dist/grid/chrome/GridGroupMenu.d.ts +4 -6
  290. package/views/dist/grid/chrome/GridGroupMenu.js +21 -62
  291. package/views/dist/grid/chrome/GridHeader.d.ts +1 -2
  292. package/views/dist/grid/chrome/GridHeader.js +3 -2
  293. package/views/dist/grid/chrome/GridLongTextEditor.d.ts +17 -38
  294. package/views/dist/grid/chrome/GridLongTextEditor.js +6 -7
  295. package/views/dist/grid/chrome/GridNameEditor.js +4 -4
  296. package/views/dist/grid/chrome/GridNumberEditor.d.ts +4 -5
  297. package/views/dist/grid/chrome/GridNumberEditor.js +5 -6
  298. package/views/dist/grid/chrome/GridPlaceEditor.d.ts +2 -5
  299. package/views/dist/grid/chrome/GridPlaceEditor.js +5 -5
  300. package/views/dist/grid/chrome/GridRangeEditor.d.ts +6 -12
  301. package/views/dist/grid/chrome/GridRangeEditor.js +7 -15
  302. package/views/dist/grid/chrome/GridRelationEditor.js +5 -5
  303. package/views/dist/grid/chrome/GridRow.js +0 -3
  304. package/views/dist/grid/chrome/GridRowActions.d.ts +1 -1
  305. package/views/dist/grid/chrome/GridRowActions.js +0 -5
  306. package/views/dist/grid/chrome/GridRowCells.js +11 -7
  307. package/views/dist/grid/chrome/GridSelectEditor.js +3 -3
  308. package/views/dist/grid/chrome/GridStructure.js +0 -1
  309. package/views/dist/grid/chrome/GridTable.js +1 -1
  310. package/views/dist/grid/chrome/GridTextEditor.d.ts +5 -7
  311. package/views/dist/grid/chrome/GridTextEditor.js +5 -18
  312. package/views/dist/grid/chrome/GridValueListEditor.js +4 -4
  313. package/views/dist/grid/chrome/grid-body-place.d.ts +2 -3
  314. package/views/dist/grid/chrome/grid-body-place.js +4 -8
  315. package/views/dist/grid/chrome/grid-button.d.ts +7 -10
  316. package/views/dist/grid/chrome/grid-button.js +1 -6
  317. package/views/dist/grid/chrome/grid-cell-classes.js +1 -1
  318. package/views/dist/grid/chrome/grid-column-menu-items.d.ts +4 -4
  319. package/views/dist/grid/chrome/grid-column-menu-items.js +10 -6
  320. package/views/dist/grid/chrome/grid-editor-layer.d.ts +5 -1
  321. package/views/dist/grid/chrome/grid-editor-layer.js +1 -0
  322. package/views/dist/grid/chrome/grid-fitted-box.d.ts +7 -1
  323. package/views/dist/grid/chrome/grid-fitted-box.js +4 -4
  324. package/views/dist/grid/chrome/grid-group-menu-parts.d.ts +5 -9
  325. package/views/dist/grid/chrome/grid-group-menu-parts.js +1 -3
  326. package/views/dist/grid/chrome/grid-hover.js +0 -1
  327. package/views/dist/grid/chrome/grid-menu-focus.d.ts +7 -31
  328. package/views/dist/grid/chrome/grid-menu-focus.js +7 -47
  329. package/views/dist/grid/chrome/grid-styles.d.ts +0 -3
  330. package/views/dist/grid/chrome/grid-styles.js +0 -1
  331. package/views/dist/grid/chrome/grid-table-props.d.ts +6 -10
  332. package/views/dist/grid/chrome/useGridTableInteractionModel.js +2 -4
  333. package/views/dist/grid/core/clipboard-model.js +9 -4
  334. package/views/dist/grid/core/editing-controller.d.ts +2 -1
  335. package/views/dist/grid/core/editing-controller.js +10 -2
  336. package/views/dist/grid/core/refusal-sentence.d.ts +3 -0
  337. package/views/dist/grid/core/refusal-sentence.js +2 -2
  338. package/views/dist/grid/core/write-states.d.ts +3 -1
  339. package/views/dist/grid/core/write-states.js +6 -2
  340. package/views/dist/grid/grid.css +240 -0
  341. package/views/dist/grid/looks.d.ts +5 -1
  342. package/views/dist/grid/looks.js +20 -12
  343. package/views/dist/grid-tokens.d.ts +109 -0
  344. package/views/dist/grid-tokens.js +29 -0
  345. package/views/dist/looks/index.d.ts +5 -0
  346. package/views/dist/looks/index.js +5 -0
  347. package/views/dist/looks/pieces.js +10 -0
  348. package/views/dist/model/body-frame.d.ts +0 -32
  349. package/views/dist/model/body-frame.js +1 -15
  350. package/views/dist/model/column-capabilities.d.ts +2 -0
  351. package/views/dist/model/column-filters.d.ts +2 -1
  352. package/views/dist/model/column-from.js +2 -2
  353. package/views/dist/model/column-inspect.d.ts +5 -5
  354. package/views/dist/model/column-inspect.js +2 -2
  355. package/views/dist/model/relation-filters.d.ts +2 -0
  356. package/views/dist/panels/customize-body.d.ts +1 -10
  357. package/views/dist/panels/customize-body.js +0 -3
  358. package/views/dist/panels/filter/MenuSelect.js +0 -5
  359. package/views/dist/panels/filter/RangeFilterBody.js +0 -1
  360. package/views/dist/panels/filter/details.d.ts +1 -5
  361. package/views/dist/panels/filter/details.js +0 -13
  362. package/views/dist/panels/filter/filter-list.d.ts +0 -1
  363. package/views/dist/panels/filter/filter-list.js +1 -1
  364. package/views/dist/panels/index.d.ts +2 -2
  365. package/views/dist/panels/index.js +2 -2
  366. package/views/dist/panels/labels.d.ts +4 -0
  367. package/views/dist/panels/labels.js +8 -0
  368. package/views/dist/panels/model.d.ts +10 -2
  369. package/views/dist/panels/panel-button.d.ts +10 -12
  370. package/views/dist/panels/panel-button.js +1 -6
  371. package/views/dist/panels/quick/model.d.ts +4 -0
  372. package/views/dist/panels/react/chrome.d.ts +0 -17
  373. package/views/dist/panels/react/chrome.js +0 -8
  374. package/views/dist/panels/react/customize-body.d.ts +14 -12
  375. package/views/dist/panels/react/customize-body.js +93 -19
  376. package/views/dist/panels/react/customize.d.ts +16 -12
  377. package/views/dist/panels/react/customize.js +4 -110
  378. package/views/dist/panels/react/filter/FilterEditor.d.ts +4 -18
  379. package/views/dist/panels/react/filter/FilterEditor.js +6 -330
  380. package/views/dist/panels/react/filter/FilterFieldList.d.ts +1 -1
  381. package/views/dist/panels/react/filter/FilterFieldList.js +27 -51
  382. package/views/dist/panels/react/filter/PhoneFilterEditor.d.ts +1 -11
  383. package/views/dist/panels/react/filter/PhoneFilterEditor.js +8 -144
  384. package/views/dist/panels/react/filter/editor-ctx.d.ts +1 -33
  385. package/views/dist/panels/react/filter/editor-ctx.js +5 -33
  386. package/views/dist/panels/react/filter/filter-body.js +5 -2
  387. package/views/dist/panels/react/filter/filter-part-body.d.ts +3 -6
  388. package/views/dist/panels/react/filter/filter-part-body.js +0 -5
  389. package/views/dist/panels/react/filter/rule-writes.d.ts +1 -26
  390. package/views/dist/panels/react/filter/rule-writes.js +4 -95
  391. package/views/dist/panels/react/order-details.d.ts +1 -26
  392. package/views/dist/panels/react/order-details.js +3 -69
  393. package/views/dist/panels/react/panel-header.js +0 -1
  394. package/views/dist/panels/react/panel-step.d.ts +3 -0
  395. package/views/dist/panels/react/panel-step.js +2 -1
  396. package/views/dist/panels/react/popover.d.ts +4 -7
  397. package/views/dist/panels/react/quick/QuickFiltersPanel.d.ts +2 -4
  398. package/views/dist/panels/react/quick/QuickFiltersPanel.js +16 -136
  399. package/views/dist/panels/react/sort/SortEditor.d.ts +4 -4
  400. package/views/dist/panels/react/sort/SortEditor.js +8 -245
  401. package/views/dist/panels/react/sort/SortFieldList.d.ts +1 -1
  402. package/views/dist/panels/react/sort/SortFieldList.js +11 -25
  403. package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +13 -3
  404. package/views/dist/panels/react/toolbar/ReadyToolbar.js +10 -3
  405. package/views/dist/panels/react/toolbar/Toolbar.js +1 -1
  406. package/views/dist/panels/react/toolbar/ToolbarAdvancedFilters.js +2 -2
  407. package/views/dist/panels/react/toolbar/ToolbarAsideFilter.js +2 -2
  408. package/views/dist/panels/react/toolbar/ToolbarBarFilter.js +16 -18
  409. package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +2 -1
  410. package/views/dist/panels/react/toolbar/ToolbarFilters.js +3 -3
  411. package/views/dist/panels/react/toolbar/ToolbarOptions.d.ts +12 -4
  412. package/views/dist/panels/react/toolbar/ToolbarOptions.js +6 -2
  413. package/views/dist/panels/react/toolbar/ToolbarQuickFilters.js +1 -1
  414. package/views/dist/panels/react/toolbar/ToolbarSave.js +0 -4
  415. package/views/dist/panels/react/toolbar/ToolbarSearch.js +0 -1
  416. package/views/dist/panels/react/toolbar/ToolbarSortPill.js +3 -3
  417. package/views/dist/panels/react/view-actions.js +0 -1
  418. package/views/dist/panels/react/views-row/FoldingViewRow.js +2 -5
  419. package/views/dist/panels/react/views-row/ViewCreatePill.js +0 -1
  420. package/views/dist/panels/react/views-row/ViewPicker.js +30 -45
  421. package/views/dist/panels/react/views-row/ViewPickerRow.js +0 -2
  422. package/views/dist/panels/react/views-row/menu-classes.d.ts +0 -4
  423. package/views/dist/panels/react/views-row/menu-classes.js +0 -2
  424. package/views/dist/panels/react.d.ts +5 -12
  425. package/views/dist/panels/react.js +5 -12
  426. package/views/dist/panels/settings/filter-groups.d.ts +3 -0
  427. package/views/dist/panels/settings/filter-groups.js +40 -9
  428. package/views/dist/panels/settings/filters.d.ts +5 -0
  429. package/views/dist/panels/settings/filters.js +12 -6
  430. package/views/dist/panels/views-row/model.d.ts +10 -1
  431. package/views/dist/provider/ViewsProvider.d.ts +2 -46
  432. package/views/dist/provider/ViewsProvider.js +31 -27
  433. package/views/dist/provider/components.d.ts +295 -107
  434. package/views/dist/provider/context.d.ts +7 -21
  435. package/views/dist/provider/missing-slot.d.ts +3 -7
  436. package/views/dist/provider/missing-slot.js +2 -9
  437. package/views/dist/provider/ports.d.ts +18 -6
  438. package/views/dist/provider/ports.js +2 -1
  439. package/views/dist/react.d.ts +2 -3
  440. package/views/dist/react.js +1 -1
  441. package/views/dist/selection/SelectionBar.d.ts +2 -16
  442. package/views/dist/selection/SelectionBar.js +6 -4
  443. package/views/dist/selection/bar-props.d.ts +26 -0
  444. package/views/dist/selection/bar-props.js +1 -0
  445. package/views/dist/selection/index.d.ts +1 -1
  446. package/views/dist/selection/verbs.d.ts +32 -5
  447. package/views/dist/styles.css +694 -191
  448. package/views/dist/styles.unlayered.css +691 -188
  449. package/views/docs/contract.md +133 -130
  450. package/views/docs/controls/bulk-bar.md +41 -0
  451. package/views/docs/controls/choice.md +25 -0
  452. package/views/docs/controls/customize.md +17 -0
  453. package/views/docs/controls/popover.md +2 -0
  454. package/views/docs/controls/press.md +9 -0
  455. package/views/docs/controls/quick-filters.md +35 -0
  456. package/views/docs/controls/radio.md +1 -1
  457. package/views/docs/controls/switch-row.md +18 -0
  458. package/views/docs/controls/tag-field.md +7 -0
  459. package/views/docs/controls/toolbar-button.md +31 -0
  460. package/views/docs/controls/toolbar.md +14 -0
  461. package/views/docs/getting-started.md +222 -2
  462. package/views/docs/guides/atoms.md +2 -2
  463. package/views/docs/guides/cells.md +224 -4
  464. package/views/docs/guides/display.md +3 -3
  465. package/views/docs/guides/editors.md +235 -20
  466. package/views/docs/guides/looks.md +8 -2
  467. package/views/docs/guides/ports.md +7 -7
  468. package/views/docs/guides/selection.md +5 -1
  469. package/views/docs/guides/the-grid.md +15 -17
  470. package/views/docs/guides/the-provider.md +9 -15
  471. package/views/docs/install.md +4 -1
  472. package/views/docs/reference/cells.md +2 -2
  473. package/views/docs/reference/controls.md +215 -21
  474. package/views/docs/reference/display.md +1 -0
  475. package/views/docs/reference/editors-chips.md +2 -2
  476. package/views/docs/reference/editors-date.md +4 -4
  477. package/views/docs/reference/editors-location.md +4 -7
  478. package/views/docs/reference/editors-name.md +3 -5
  479. package/views/docs/reference/editors-number.md +10 -10
  480. package/views/docs/reference/editors-panel.md +3 -3
  481. package/views/docs/reference/editors-range.md +3 -5
  482. package/views/docs/reference/editors-relation.md +4 -4
  483. package/views/docs/reference/editors-select.md +3 -3
  484. package/views/docs/reference/editors-text.md +3 -4
  485. package/views/docs/reference/editors-value-list.md +3 -3
  486. package/views/docs/reference/field-row.md +1 -1
  487. package/views/docs/reference/grid.md +2 -2
  488. package/views/docs/reference/looks.md +25 -11
  489. package/views/docs/reference/panels-react.md +23 -37
  490. package/views/docs/reference/panels.md +8 -6
  491. package/views/docs/reference/react.md +24 -24
  492. package/views/docs/reference/selection.md +4 -2
  493. package/views/docs/reference/views.md +12 -11
  494. package/views/skills/views/SKILL.md +2 -2
  495. package/views/dist/editors/relation-panel.d.ts +0 -69
  496. package/views/dist/editors/relation-panel.js +0 -46
  497. package/views/dist/grid/chrome/GridColumnColorSection.d.ts +0 -13
  498. package/views/dist/grid/chrome/GridColumnColorSection.js +0 -40
  499. package/views/dist/grid/chrome/GridColumnDateSection.d.ts +0 -28
  500. package/views/dist/grid/chrome/GridColumnDateSection.js +0 -23
  501. package/views/dist/grid/chrome/GridColumnDurationSection.d.ts +0 -23
  502. package/views/dist/grid/chrome/GridColumnDurationSection.js +0 -24
  503. package/views/dist/grid/chrome/GridColumnNumberSection.d.ts +0 -29
  504. package/views/dist/grid/chrome/GridColumnNumberSection.js +0 -27
  505. package/views/dist/grid/chrome/GridColumnPercentSection.d.ts +0 -16
  506. package/views/dist/grid/chrome/GridColumnPercentSection.js +0 -16
  507. package/views/dist/grid/chrome/GridColumnSortSection.d.ts +0 -38
  508. package/views/dist/grid/chrome/GridColumnSortSection.js +0 -33
  509. package/views/dist/grid/chrome/GridFlyout.d.ts +0 -44
  510. package/views/dist/grid/chrome/GridFlyout.js +0 -80
  511. package/views/dist/grid/chrome/GridMenuRow.d.ts +0 -15
  512. package/views/dist/grid/chrome/GridMenuRow.js +0 -15
  513. package/views/dist/grid/chrome/grid-menu-search.d.ts +0 -7
  514. package/views/dist/grid/chrome/grid-menu-search.js +0 -7
  515. package/views/dist/panels/react/GroupBucketsList.d.ts +0 -16
  516. package/views/dist/panels/react/GroupBucketsList.js +0 -44
  517. package/views/dist/panels/react/LayoutColumnsList.d.ts +0 -24
  518. package/views/dist/panels/react/LayoutColumnsList.js +0 -101
  519. package/views/dist/panels/react/PopoverColumnDetail.d.ts +0 -11
  520. package/views/dist/panels/react/PopoverColumnDetail.js +0 -24
  521. package/views/dist/panels/react/drag.d.ts +0 -2
  522. package/views/dist/panels/react/drag.js +0 -5
  523. package/views/dist/panels/react/layout-detail.d.ts +0 -4
  524. package/views/dist/panels/react/layout-detail.js +0 -29
  525. package/views/dist/panels/react/root-list.d.ts +0 -6
  526. package/views/dist/panels/react/root-list.js +0 -31
  527. package/views/dist/panels/react/sort/use-sort-drag.d.ts +0 -17
  528. package/views/dist/panels/react/sort/use-sort-drag.js +0 -39
  529. package/views/dist/panels/react/view-footer.d.ts +0 -20
  530. package/views/dist/panels/react/view-footer.js +0 -41
package/CHANGELOG.md CHANGED
@@ -5,6 +5,224 @@ Until 0.19.0 ViewKit shipped as three packages; their changes are in [fields/CHA
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.30.0] — 2026-12-01
9
+
10
+ ### Added
11
+
12
+ - `viewkitjs/views/controls` names the editors' and panels' bodies plainly: `TextEditor` and `TextEditorProps` (the Text editor's body), `DateEditor`, `NumberEditor`, `SortEditor` and `useSortEditor`, `FilterEditor` and `useFilterEditor`, `GroupEditor` and `Customize`, each the body alone for a shell that holds only a body. With them `FilterItem` (a filter's rule or group) and `putFilterBack` (a filter rule set aside, put back), beside the sort editor's `putBack`.
13
+ - `viewkitjs/views/controls`: a Menu list tick row may open a level of its own (`opens`, the name of the › after its tick; → presses it while Enter and Space still tick the row) and carry one Toggle before its tick (`toggle`: its mark, its name, whether it is on, its press, and `disabled` saying why it can't be pressed), on a computer and in a phone's Sheet.
14
+ - `useCustomize`'s `onLineChange` (a card's field starting a new line) and `columnsFoot` (your rows under Columns' rows); `CustomizeColumn`'s `settings`, `rows` and `line`; `CustomizeParts`' `level`.
15
+ - The message key `views.panels.column-settings` ("{label} settings"), the name of the › that opens a column's own settings.
16
+ - `ViewsCustomizeBodyProps.fields` (`ViewsCustomizeFields`, `ViewsCustomizeField`): a list's per-field filters, its time range and its date ranges, handed to a Customize body as data. Each comes with its words, what it holds, where its row stands, why it can't open, and its screen's content: a value to pick, values to check, a time range's presets with Custom, a range of days, or ViewKit's own body for any other kind. `folded` says whether they stand behind one Filter row.
17
+ - `viewkitjs/views/controls`: `useCustomize`'s `fields` and `foldFields` (`CustomizeField`). A per-field filter, a time range or a date range stands as its own row, or all of them stand behind Filter, each opening its own screen.
18
+ - `ViewsTextBodyProps.place`: where the text body stands on a computer, `cell` in a grid cell or `row` in a field row, where it stands in the row's flow. ViewKit's editors always hand it; absent, `cell`.
19
+
20
+ ### Changed
21
+
22
+ - Every app's grid now shows which cell the app refused. A cell whose latest write was refused, alone or as one cell of a paste, a fill or a bulk change, draws the danger line inside its edge (`--vk-border-danger`, the line a refused field draws; undeclared, `--vk-danger`) and carries the reason as its `title` and `aria-description`: the rejected error's own message (in a batch, each refused cell's own, from the outcomes your `onCellsCommit` rejects with), else "Couldn't save {field}.". The mark holds until that cell's next write. It is drawn by the cell's own classes, so it shows whether or not you import `viewkitjs/views/grid.css`. Your commit's error message is now read on the cell as well as in the refusal toast, so word it for a person.
23
+ - Every app that spreads `CONTROLS` and keeps `sheetActions` at its default, `bar`: on a phone, `CONTROLS.Sheet` handed `label` alone (no `title`, no `description`) draws no head of its own, its handle alone, `label` still naming it. The sort editor, the filter editor and Customize now stand under their own head only, with one ✕, where they stood under two. A sheet handed a `title` keeps its title and X.
24
+ - `CONTROLS.QuickFiltersBody`, handed `actions` on a phone (`sheetActions: "bar"`), draws its own head: its name and the ✕, which closes it. Under `head` it draws none, as before.
25
+ - The contract says it now: the Sheet pads its body, and a body draws no side inset of its own; a Sheet handed `label` alone holds a body that heads itself, so it draws no title or close over it. An app's own `Sheet` that drew `label` as its title over a toolbar panel draws it twice; draw none.
26
+ - The older hosts that open your bodies take host names, with no alias: `TextEditor` and `TextEditorProps` (`viewkitjs/views/editors/text`) are `TextEditorHost` and `TextEditorHostProps`, `DateEditor` (`…/editors/date`) is `DateEditorHost`, `NumberEditor` (`…/editors/number`) is `NumberEditorHost`, and `SortEditor`, `useSortEditor` and `FilterEditor` (`viewkitjs/views/panels/react`) are `SortEditorHost`, `useSortEditorHost` and `FilterEditorHost`. Their handles, `TextEditorType`, `NumberEditValue` and `SortEditorOptions` keep their names. An app that imports a host renames it; the portal is the only one that does. Atlas imports none of the hosts: from `viewkitjs/views/controls` it takes only what the door already held (`CONTROLS`, and any held name such as `useTextEditor`, `useSortEditorParts` or `useFilterEditorParts`), and every one of those still answers, so it changes nothing for these renames. outright-base and the Showcase import no host either, and change nothing.
27
+
28
+ ```tsx
29
+ // before
30
+ import { TextEditor } from "viewkitjs/views/editors/text";
31
+ import { SortEditor, useSortEditor } from "viewkitjs/views/panels/react";
32
+ // after
33
+ import { TextEditorHost } from "viewkitjs/views/editors/text";
34
+ import { SortEditorHost, useSortEditorHost } from "viewkitjs/views/panels/react";
35
+ ```
36
+
37
+ - `useSortEditorParts` stays, the same hook as `useSortEditor`; `useFilterEditorParts` stays as a deprecated alias of `useFilterEditor`. An app that uses them (Atlas, the Showcase) may move to the plain names when it likes.
38
+ - `SortRule`, `SortDirection`, `ListGroup`, `ViewsListProps`, `FieldType`, `FilterRule` and `FilterGroup` stay off the controls door: each is a live name elsewhere in the package with another shape. The bodies take fields' and views' own types.
39
+ - Every app that spreads `CONTROLS`: a column's settings, the column menu's rows, a handed footer and the new-line marks now draw in Customize's own look. A column's settings open one level into Columns from the › on its row (Shown, its pick-one settings, its toggles under their sections, then your field editor's rows for it), the footer stands under Columns' rows, and on a board or a calendar each field carries its new-line toggle. ViewKit no longer hands those lists to its older Customize.
40
+ - `CustomizeBody.stepsAside` is gone from the components map: ViewKit draws the body an app hands for every list but one whose filter is only per-field values, and asks it nothing. `CONTROLS.CustomizeBody.stepsAside` stays, deprecated and always false, so a wrapper that copied it onto itself still compiles; delete that line.
41
+ - Every app that spreads `CONTROLS`: a list's per-field filters, its time range (its presets, and Custom with its calendar) and its date ranges now draw in Customize's own look. ViewKit no longer hands a list whose filter is only per-field values, or that has a time range or date ranges, to its older Customize: the body an app hands draws every list.
42
+ - `CustomizeBody` is a required slot of the components map. An app that spreads `CONTROLS` changes nothing. An app that builds its own map adds `CustomizeBody: CONTROLS.CustomizeBody`, or its own body.
43
+ - The `GroupBody` slot is read by nothing and deprecated: only ViewKit's own Customize opened it, and a `CustomizeBody` holds its own group editor. `CONTROLS.GroupBody` stays, so a map that names it still compiles.
44
+ - `ViewOptionsPanelContent`'s and `ViewOptionsPopoverPanel`'s `fill` is deprecated and read by nothing: a `CustomizeBody` sizes itself in its host.
45
+ - `--vk-sheet-text` is read by nothing now: it set the older Columns list's and group order's rows on a phone. It stays declared until a later release takes it out.
46
+ - `SortBody`, `FilterBody`, `FilterPartBody`, `FieldsBody`, `QuickFiltersBody` and `ViewsListBody` are required slots of the components map. An app that spreads `CONTROLS` changes nothing (the Showcase and the portal hand all six already). An app that builds its own map hands all six: Atlas and outright-base add them at their next bump (`SortBody: CONTROLS.SortBody`, `FilterBody: CONTROLS.FilterBody`, `FilterPartBody: CONTROLS.FilterPartBody`, `FieldsBody: CONTROLS.FieldsBody`, `QuickFiltersBody: CONTROLS.QuickFiltersBody` and `ViewsListBody: CONTROLS.ViewsListBody`, or its own).
47
+ - ViewKit's older toolbar panels are gone: the sort pill opens the `SortBody`, an advanced filter's pill and Filter on a phone the `FilterBody`, every sort and filter field list the `FieldsBody`, a filter's way and value on the bar the `FilterPartBody` (its ways menu goes), the quick filters' button the `QuickFiltersBody`, and the view picker's chip the `ViewsListBody`. With them, no panel of the toolbar keeps an older copy.
48
+ - Every app that handed none of them sees the toolbar's panels at ViewKit's defaults, the Outright kit's.
49
+ - Removed, as only the older panels used them: `PhoneFilterEditor` and `usePhoneFilterEditor` (`viewkitjs/views/panels/react`; Filter on a phone still opens your `FilterBody`), and `QuickFiltersPanel`'s `fill`. Delete them where you use them.
50
+ - Their `data-slot` values leave `ATOM_SLOTS`: `vk-sort-editor`, `vk-sort-rule`, `vk-sort-aside`, `vk-sort-fields`, `vk-quick-filters`, `vk-quick-filters-field`, `vk-quick-filters-value`, `vk-quick-filters-none`, `vk-filter-editor`, `vk-filter-rule`, `vk-filter-group`, `vk-filter-relation` and `vk-filter-fields`. A stylesheet that dressed them dresses your bodies instead.
51
+ - Your `Button` always draws the buttons ViewKit draws itself: the grid's (a group's fold and ⋯, "+ Add column", a row's ⋯, the name's actions, an action column's buttons, a pick-list cell's ▾, a command cell's ▾ and trigger), a field row's (its edit target, the verb trigger, the lane's ▾, Show more), the ones in the toolbar's panels, the search's ✕ and the views row, and the selection bar's count chip. Each is handed ViewKit's box in one class string. Your `Checkbox` always draws a yes/no cell in the grid and a field row's yes/no. This is a default every app sees.
52
+ - What each app sees: the portal and the Showcase already set every switch to their own, so nothing changes for them. Atlas and outright-base set none: their grid buttons, yes/no cells, field-row buttons and yes/no boxes, panel buttons and the selection chip (where they don't hand their own `SelectionBar`) become their own `Button` and `Checkbox`.
53
+ - Before you upgrade, make your `Button` render a real `<button>`, take the `secondary` variant, let the `className` it is handed win over its own size, and forward `ref`, `tabIndex`, `aria-haspopup`, `aria-expanded`, `aria-pressed`, `aria-disabled`, `role`, `aria-selected`, `data-slot`, `data-open`, `data-state` and `data-vs-row` to its element; make your `Checkbox` forward `readOnly`. A `Button` that drops the ref leaves the menus these buttons open with nothing to anchor on; one that drops `tabIndex` makes every grid button a Tab stop.
54
+ - The grid's column menu, its footer's figure picker, a group's ⋯ and "+ Add column" open your `Menu`, handed their rows as data, on a phone too, with no search field. The popover around a whole body your app hands (`Picker`, `PartsBody`, `ValuesBody`, `LinksBody`) takes none of ViewKit's width or padding, only its layer, and carries `data-vk-body`; in the grid it opens with its top on the cell's top. The grid says a refused edit through your toast port's `error`, a batch once. This is a default every app sees.
55
+ - What each app sees:
56
+ - The portal and the Showcase already set `menus="menu"`, `bodyFrame="popover"`, `gridBodyPlace="over"` and `sayRefusals`: nothing changes on their screens.
57
+ - Atlas set only `sayRefusals`, so three things move on its screens. A column's menu, the footer's figure picker, a group's ⋯ and "+ Add column" open Atlas's own `Menu`, no longer ViewKit's rows in its `Popover`, and have no search field. The popover around a body Atlas hands (its `Picker`, `PartsBody`, `ValuesBody`, `LinksBody`) stands at its own `Popover`'s width, no longer ViewKit's. In the grid, that body opens over the cell, its top on the cell's top, no longer 4px under it. Its refusals are said as before.
58
+ - outright-base set none: all of the above, and the grid says a refused edit through its toast, so it stops saying its own. Its Edit field row in a column's menu goes until it hands `columnMenuItems`.
59
+ - Before you upgrade: give your `Menu` the three hints a row may carry (`beside` groups, `keepOpen` ticks, `detail`), give your `Popover` a width for `[data-vk-body]` that doesn't follow its content, at least the cell's width in the grid, and stop toasting your own refusals of the grid's edits.
60
+ - `Command` in the components map is deprecated and read by nothing. Leave it out; it goes at a later minor.
61
+ - The grid's `renderColumnMenuRows` is deprecated and read by nothing, since a row drawn as a node has nowhere to stand in your `Menu`. Hand the same rows as data through `columnMenuItems` (outright-base's Edit field row, say):
62
+
63
+ ```tsx
64
+ // before
65
+ renderColumnMenuRows={(key, close) => (edits[key] ? <EditFieldRow onClick={() => { close(); openEdit(key); }} /> : null)}
66
+ // after
67
+ columnMenuItems={(key) => (edits[key] ? [{ key: "edit-field", label: "Edit field", onSelect: () => openEdit(key) }] : null)}
68
+ ```
69
+ - `TextBody` and `NumberBody` are required slots of the components map. An app that spreads `CONTROLS` changes nothing (the Showcase and the portal hand both already). An app that builds its own map hands both: Atlas hands its `TextBody` already and adds a `NumberBody` (`CONTROLS.NumberBody` or its own) at its next bump; outright-base hands neither and adds both, or spreads `CONTROLS`, which hands every body at once.
70
+ - ViewKit's older text and number boxes are gone: every text a person may write opens the text body and every number the number body. A text opened only to be read keeps ViewKit's read-only panel, and a number formatted as a duration keeps ViewKit's own box, the two no body has a form for.
71
+ - `viewkitjs/views/editors/text` no longer exports `TEXT_INPUT_TYPE`, and `TextEditor` takes no `wraps` or `chrome`; `viewkitjs/views/editors/number`'s `NumberEditor` takes no `unitLeft`. Delete them where you pass them.
72
+ - Every app that spreads `CONTROLS`: a field row's text box (a record's drawer) now stands in the row's flow, a line one list row high and long text growing with what is typed up to 320px, so a section that clips the row no longer cuts its bottom edge.
73
+ - `Picker` and `LinksBody` are required slots of the components map. An app that spreads `CONTROLS` changes nothing (the Showcase and the portal hand both already). An app that builds its own map hands both: Atlas hands its `Picker` already and adds a `LinksBody` (`CONTROLS.LinksBody` or its own) at its next bump; outright-base hands neither and adds both, or spreads `CONTROLS`, which hands every body at once.
74
+ - ViewKit's older Command lists are gone: the select, several-values, relation and place editors always open the `Picker`, and a relation holding several records whose field declares `links` the `LinksBody`. `Command` now draws only the grid's menus on the `popover` route; an app that sets `menus: "menu"` needs none.
75
+ - Every app that handed no `Picker`: a long select that can't be emptied no longer opens on its first option, so an Enter at once changes nothing, and a field row's short select opened by a click takes the arrows and Enter, going on from the value it holds.
76
+ - `--vk-input-text` is read by nothing now: it set the text in the older lists' search boxes. It stays declared until a later release takes it out.
77
+ - `DateBody`, `PartsBody` and `ValuesBody` are required slots of the components map. An app that spreads `CONTROLS` changes nothing (the Showcase and the portal hand all three already). An app that builds its own map hands all three: Atlas hands its `DateBody` and `PartsBody` already and adds a `ValuesBody` (`CONTROLS.ValuesBody` or its own) at its next bump; outright-base hands none of them and adds all three, or spreads `CONTROLS`, which hands every body at once.
78
+ - ViewKit's older date, name, range, place and value-list panels are gone: the date editor always opens the `DateBody` (its own calendar, quick-day row, Clear row and 15-minute time list go), the name, place and range editors the `PartsBody`, and the value list editor the `ValuesBody`. `Calendar` is reached only by the filter panel's month now.
79
+ - Every app that handed no `PartsBody`: a range and a name open under their cell or row rather than in place, a range's bands are the body's picks and its refusal is said once by the panel, and a range's ends no longer step within the field's `min` and `max` (the range body takes no limits; the write check still refuses a value outside them).
80
+ - Removed, as only the older panels read them: `DateEditor`'s `fill`, `NameEditor`'s `chrome` and `boxClassName`, `RangeEditor`'s `bandsAt`, `refusal`, `boxClassName`, `align`, `min` and `max`, `LocationEditor`'s `chrome` and `clearable`, `ValueListEditor`'s `openLinks`, and `EditorPanel`'s `editorDrawsRefusal`. Delete them where you pass them.
81
+
82
+ ### Fixed
83
+
84
+ - `CONTROLS.CustomizeBody` on a phone, in an app's own `Sheet` that takes no head from it: the head Customize draws for itself shows one ✕ and one Back, where it showed both the glass and the plain form of each side by side.
85
+ - `CONTROLS.ValuesBody`'s call action on a phone holding an extension dials the extension after the number (`tel:+40264123456;ext=12`) rather than running its digits into it.
86
+
87
+ ### Removed
88
+
89
+ - ViewKit's own Customize: its root list, its Layout, Columns, column, Group, toggle and filter-list pages and its footer. `ViewOptionsPanelContent`, `ViewOptionsPopoverPanel` and Options draw only your components map's `CustomizeBody`. An app that spreads `CONTROLS` changes nothing: `CONTROLS.CustomizeBody` already drew every list.
90
+ - `viewkitjs/views/panels/react`: `PopoverRootList`, `ViewFooter`, `CompactLayoutDetail`, `LayoutColumnsList`, `PopoverColumnDetail`, `CompactGroupDetail`, `CompactGroupByDetail`, `CompactGroupSortDetail`, `CompactGroupDateByDetail`, `GroupBucketsList`, `CompactToggleDetail` and `dimensionRows`. The filter panel's `CompactFilterList`, `CompactFilterDetail`, `CompactDateRangeDetail` and `CompactTimeScopeDetail`, Sort's `CompactSortDetail` and `ViewOptionsActions` stay.
91
+ - `CONTROLS.CustomizeBody.stepsAside`, deprecated since it stopped being read. A wrapper that copied it onto itself deletes that line:
92
+
93
+ ```ts
94
+ // before
95
+ const CustomizeBody = Object.assign(MyBody, { stepsAside: CONTROLS.CustomizeBody.stepsAside });
96
+ // after
97
+ const CustomizeBody = MyBody;
98
+ ```
99
+ - The provider's switches between ViewKit's own buttons and yes/no boxes and your app's: `gridButtons`, `gridCheckboxes`, `fieldRowButtons`, `fieldRowCheckboxes`, `panelButtons` and `selectionBar`'s `chip`, with their types `ViewsGridButtons`, `ViewsGridCheckboxes`, `ViewsFieldRowButtons`, `ViewsFieldRowCheckboxes`, `ViewsPanelButtons` and `ViewsSelectionChip` (`viewkitjs/views/react`). Delete them where you pass them.
100
+
101
+ ```tsx
102
+ // before
103
+ <ViewsProvider {...rest} gridButtons="button" gridCheckboxes="checkbox" fieldRowButtons="button"
104
+ fieldRowCheckboxes="checkbox" panelButtons="button" selectionBar={{ phone, chip: "button" }} />
105
+ // after
106
+ <ViewsProvider {...rest} selectionBar={{ phone }} />
107
+ ```
108
+ - The provider's switches for the grid's menus, an app body's frame and place, and saying a refusal: `menus`, `bodyFrame`, `gridBodyPlace` and `sayRefusals`, with their types `ViewsMenuRoute`, `ViewsBodyFrame` and `ViewsGridBodyPlace` (`viewkitjs/views/react`). Delete them where you pass them.
109
+
110
+ ```tsx
111
+ // before
112
+ <ViewsProvider {...rest} menus="menu" bodyFrame="popover" gridBodyPlace="over" sayRefusals />
113
+ // after
114
+ <ViewsProvider {...rest} />
115
+ ```
116
+
117
+ - ViewKit's own popover menus: the column menu, the footer's figure picker, a group's ⋯ and "+ Add column" no longer draw ViewKit's rows in your `Popover`, with their searches and flyouts. `GRID_SLOTS` loses `vk-grid-column-menu`, `vk-grid-flyout`, `vk-grid-group-menu` and `vk-grid-aggregate-menu`.
118
+
119
+ ## [0.29.0] — 2026-11-30
120
+
121
+ ### Added
122
+
123
+ - `viewkitjs/views/display`: `timeShown(declared?, chosen?)`, whether a date-and-time shows its time: the reader's choice, else the declared `withTime`, else yes. An app drawing its own date line reads the same rule.
124
+ - `viewkitjs/fields`: `exactPresetOf(field, value)`, the preset whose two ends are exactly a range value's, and `rangeShownText(field, value, conventions?)`, the value as a cell shows it: that preset's label, else its numbers as `rangeText` writes them.
125
+ - `viewkitjs/views/controls`: `CONTROLS.QuickFiltersBody`, the Outright quick filters: a strip of the fields, a search past eight values, each value with its mark and its count, one Tab stop over the values, in the one sheet on a phone. Their option Holds (`data-quick-filters-holds`, `one` or `several`) is `QUICK_FILTERS_LOOKS` in `viewkitjs/views/looks`. The body itself is `QuickFilters`, with its rules as `QUICK_FILTERS_RULES`, and its stylesheet `viewkitjs/views/controls/quick-filters.css`.
126
+ - `viewkitjs/views/panels`: a quick filter field may hand its `options` (`ViewsPickerItem`s), and a quick filters' body is handed them, so each value draws its option's mark (a status's step, a person's or a company's face).
127
+ - The message key `views.panels.quick-clear-value`, "Clear filter": what a held value says before its count.
128
+ - `viewkitjs/views/controls`: `BulkBar`, the Outright bulk bar: on a computer a surface floating at the foot of the list that holds it, its count, its verbs as outlined buttons, Delete and More; on a phone the tray, or the pill. Its options (`delete`, `phone`, `picked`) and its look are `BULK_BAR_LOOKS` in `viewkitjs/views/looks`, its stylesheet `viewkitjs/views/controls/bulk-bar.css`.
129
+ - The components map's optional `SelectionBar`, and `CONTROLS.SelectionBar`, which draws the Outright bulk bar wherever ViewKit's `SelectionBar` is called.
130
+ - `viewkitjs/views/selection`: `SelectionBar`'s optional `noun` and `deleteLine`; a verb's optional `more`; an options verb's optional `value`, `empty`, `onEmpty` and `search`, and its `options` may be `ViewsPickerItem`s; a press may hand back `{ words, undo }` (`SelectionDone`) or a promise of one, which the Outright bulk bar says in its Toast.
131
+ - The message keys `views.selection.many` ("{count} {one}" or "{count} {other}"), `views.selection.bar-label` ("{many} selected"), `views.selection.delete-many` ("Delete {many}"), `views.selection.delete-ask` ("Delete {many}?"), `views.selection.noun-one` ("row"), `views.selection.noun-other` ("rows"), `views.selection.bar-count` ("Selected"), `views.selection.clear-the` ("Clear the selection"), `views.selection.delete-button` ("Delete"), `views.selection.cant-use` ("Can't be used now") and `views.panels.toast-region` ("Notifications").
132
+ - `viewkitjs/views/grid.css`: the grid's look stylesheet, which draws the grid's options (`GRID_LOOKS`) worn on a frame round the grid as `data-grid-*`: the header's words, the column lines' pinned edge, the pinned edge's fade, line or divider, the rows' lines, a picked cell's wash, the cell frames' corners and colours, picked rows' tint, compact groups, names underlined, phones as links, a phone kept as typed, the footer's figures value first, and a header, footer or + Add column cell pressed while its menu is open. A grid with no frame round it wears each option's default. Where ViewKit's own Text, Number, Picker, Compound, Values or Date editor draws its own edge, the edited cell's outline stands down. Plain CSS on the contract's names; an app that imports ViewKit's stylesheets one by one imports it after ViewKit's own classes.
133
+ - `viewkitjs/views`: `VK_GRID_TOKENS`, every name the grid's look reads beside the grid's own geometry, each with its kind and the Outright token it stands for. One is new, `--vk-frozen-fade`: the shade a pinned column casts over the columns scrolling under it.
134
+ - `viewkitjs/postgres/definitions`: `buildFieldMap` takes `readUnder`, by kind and field, the name of a condition a lookup or a rollup reads its far records under. Such a field reads through tables keyed `far:<kind>:<name>`, which `reads` names, so you hand it a condition and a list of readable fields of its own: a list can show a related record's name to everyone who sees the row and its other fields only to readers who may see that record. Fields given one name share their tables. A map that names no field is built as before.
135
+ - `viewkitjs/postgres/definitions`: a storage keeps a select, a status or a text of one value as another kind's record, `{ column, from: { kind, value } }`: `column` holds that record's key and the field's value is its `value` column (a status kept as a code table's row id, valued by its code). The code table is declared as a kind, read as `far:<kind>` under the condition you hand for it; the field filters, sorts, groups and counts by that value, and an empty, unmatched, hidden or trashed id reads as no value. A field you declared `notKept` for this reason can now be kept.
136
+ - `viewkitjs/views/controls`: the pressing area, `viewkitjs/views/controls/press.css`, in the ready stylesheet. On a phone a Button under 44px, a Checkbox's box, a Radio's ring, a Tag's remove button, a Switch and an Option drawn as a link take taps from an invisible area 44px round them, never overlapping a neighbour's; on a computer the Switch, the Checkbox's box and the Radio's ring take a little room round them.
137
+
138
+ - `viewkitjs/views/controls`: the TagField, tags typed into the Input's field (Enter or a comma adds one, Backspace on an empty box takes the last off), and the SwitchRow and SwitchRows, a settings list's rows, each with its stylesheet (`tag-field.css`, `switch-row.css`), in the ready stylesheet.
139
+ - `viewkitjs/views/controls`: the Tooltip's and the Sheet's `className`, a class on the tooltip or the sheet itself; a Sheet's head takes a title that isn't words.
140
+ - `viewkitjs/views/controls`: `PickerProps.menuWords`, the words of the Picker's own menus (a row's menu, and on a phone the ⋯ beside its search): a level's search, a sheet's ✕ and Back, the Close row. A level's list in them takes the Picker's own `words`.
141
+ - `CONTROLS.FilterBody` draws a relation rule as a block in the kit's look, on a computer and on a phone: its relation, Any, None or Every where (Every waiting, saying why, until a rule in it narrows), its rules on that relation's fields, Add filter listing those alone, and Delete condition. A rule on a related field's ⋮ offers Any, None and Every; None or Every turns it into the block. Opened on a relation's where, the same head stands over its rules and hands the quantifier back with the level.
142
+ - A group's ⋮ offers Exclude matches (a group joined by And), and an excluded group says so. `FilterEditorProps.excludable`: the filter itself may exclude its matches, an advanced filter's own group.
143
+ - Nothing a filter holds is out of sight in `CONTROLS.FilterBody`: a `not` group, every relation rule, and a rule on a field the kit has no type for (in ViewKit's own words). Created by is a person in the kit's filter editor, and a long text compares by contains, does not contain, empty and not empty.
144
+ - A place's Country in the kit's filter editor, with `parts: true`: a choice of country names, handed as the field's `options` where ViewKit holds the list (VK-735).
145
+ - `viewkitjs/views/controls`: Customize (`useCustomize`, with its rules, words and options). `CONTROLS.CustomizeBody` draws ViewKit's Customize body with it: the view's sections (Layout, Columns, Filter, Sort, Group) as rows saying where they stand, each opening its screen in place; Layout's cards and the layout's own settings (its density and pick-one settings as rows whose choices open in place, its toggles under their sections with a toggle's way back, For you with its own); Columns with a search, shown and hidden, dragged into place, with Reset columns; Filter, Sort and Group drawing the filter, sort and group editors; the shared view's stale note in a Notice. On a computer it stands in the Pane where your app hands a Pane host, and in the toolbar's popover otherwise; on a phone it heads the one sheet, each section's step under its head. Its stylesheet is `viewkitjs/views/controls/customize.css`.
146
+ - `viewkitjs/views/looks`: `CUSTOMIZE_LOOKS`, its options Its head and Columns.
147
+ - `SheetPartsFrom`: a body in the controls' Sheet may hand it the sheet's head and foot.
148
+ - `ViewsComponents.CustomizeBody.stepsAside`: a Customize body may say which lists it can't draw; for those ViewKit draws its own Customize. `CONTROLS.CustomizeBody` steps aside for a column with its own settings, your field editor's rows and a card layout's line breaks.
149
+ - `viewkitjs/views/controls`: the toolbar button, `ToolbarButtonControl`, a default control on Base UI. It is the Button: its ground (ghost, bordered, filled), its words (icon and word, icon, word), its size and its corners are read from the frame around it, a computer's or a phone's, and follow it as it changes, and it says a count, a dot, an empty place, lit, set aside, joined to its neighbours, or a view tab. Inside a toolbar (`InToolbar`) it takes the row's size and form and is one of the toolbar's stops; `useToolbarButtonWorn` reads its options as worn. Its options and looks are `TOOLBAR_BUTTON_LOOKS` on `viewkitjs/views/looks` (nothing set: bordered, 32, icon and word on a computer; filled, 36, round, its icon alone on a phone), its stylesheet `viewkitjs/views/controls/toolbar-button.css`, in the ready stylesheet too. ViewKit's own toolbar still draws its `ToolbarButton` atom: nothing an app draws changes.
150
+ - `ReadyToolbar` and `ToolbarOptions` take `viewName`, `onRenameView`, `onCopyLink`, `onExport` and `exportCount`, handed on to Customize: `CONTROLS.CustomizeBody` draws the view's name (where its head is the view's name, renamed in place where `onRenameView` is handed), Copy link to view, and Export CSV with its count, each only where handed. An app's own `CustomizeBody` is handed them as `name`, `onRename`, `onCopyLink`, `onExport` and `exportCount` on `ViewsCustomizeBodyProps`.
151
+ - `ViewsCustomizeBodyProps.onStepChange`: on a phone, a body tells the level of its own it stands on inside a section, and the sheet's Escape goes back a level.
152
+ - `viewkitjs/views/controls`: `ToolbarControl`, the Outright Toolbar: the row and the filter bar under it, a phone's one line, a list's places standing where its options pick, folding as it narrows (words to icons, view tabs into "+N", filters into "+N filters", the rest into ⋯), one Tab stop with the arrows, Home and End. With it `ToolbarSeparatorControl`, `ToolbarSpacer`, `ToolbarInput`, `ToolbarFolds` and its words (`TOOLBAR_WORDS`). Its 14 options and four looks (Outright, Attio, Attio with the buttons on the right, and the portal's) are `TOOLBAR_LOOKS` in `viewkitjs/views/looks`, and its stylesheet `viewkitjs/views/controls/toolbar.css`.
153
+ - `viewkitjs/views/controls`: `QuickFiltersReminderControl`, the quick filters' reminder at a phone list's foot, drawn in the Toolbar, with its words (`QUICK_FILTERS_REMINDER_WORDS`); its rules join `quick-filters.css`, which reads one new name, `--vk-layer-sticky`.
154
+ - `viewkitjs/postgres`: `SEARCH_INDEX_REASONS.notImmutable`, for a searched field read with a function Postgres won't index (such as `concat_ws`, `concat`, `to_char`, `unaccent` or `now()`), and `SEARCH_INDEX_REASONS.farLabel`, for a relation whose far table's label no index can hold.
155
+ - `viewkitjs/fields`: the message `field.label` (`{ entity, field, label }`), a field a lookup's or a rollup's note names, before it goes into the note. Its English is the label. An app whose labels are its own catalog's keys words them here; an app whose `messages` handles every key exhaustively adds this one.
156
+ - `viewkitjs/fields`: `defineIndex` stamps each lookup and rollup with `names` (`DerivedNames`): the relation, the hops and the far field its note names, each a `NamedField` as the index found it. Like a lookup's `target`, it is never written in a registry.
157
+ - `viewkitjs/views/panels`: the builder's `filterTree.listed`, what a field list shows: its `fields` and, in their places in the person's column order, each column the list can't filter, carrying `disabled` (why, in your words: your capability's reason, a column with no field's, else `views.panels.filter-not-offered`). `listedFieldsOf(filterTree)` reads it, `fields` where it is absent. `FilterEditorField.disabled`.
158
+ - The components map's `ViewsFilterBodyField.disabled`: why no rule can be made on that field. Your `FilterBody` draws it greyed and never writes a rule on it nor puts one back; ViewKit refuses a level that does.
159
+ - The message key `views.panels.filter-fieldless` ("Not a field of this list; a view cannot filter on it."): why a saved view can't filter a column with no field, in the Filter rows and the filter editor's field lists.
160
+ - `CONTROLS.PortsHost` answers the ports an app leaves out: an app that spreads `CONTROLS` and hands no `confirm` asks a row's Delete, and every question ViewKit asks, in ViewKit's alert dialog, not the browser's; one that hands no `toast` sees what ViewKit reports in ViewKit's Toast. An app's own `toast` or `confirm` still wins, and a server render draws neither. This is a new default every app that spreads `CONTROLS` sees.
161
+ - The `PortsHost` slot (`ViewsPortsHostProps`), for an app that draws the missing ports its own way.
162
+ - The toast port's `success(message, { undo })`: a report that can be taken back, shown with Undo in ViewKit's Toast. The confirm request's `detail`: one line under the question.
163
+ - A view's menu is ViewKit's: `useViewMenu` (with `ViewMenuProps`, `ViewMenuShows`, `ViewMenuParts`, `ViewMenuStep`, `ViewMenuWords`) and the rules an app keeping its views uses, `ViewsState`, `viewsAfter`, `copyName`, `canDelete`, `deleteLine` and `columnsLabel`, from `viewkitjs/views/controls`, for an app that draws its own menu. Handed `ask` and `report` it asks and says through your ports; handed `steps`, a phone's menu and what it opens are steps of one Sheet.
164
+ - The views axis's `verbs` (`ViewsViewVerbs`: layouts, the records' noun, a board's columns and one `onChange` taking every `ViewsViewChange`), and each view's `layout`, `changed` and `favorite`. Handed them, `CONTROLS.ViewsListBody` draws a view's whole menu in the Outright look: Rename and New view in the Modal, Edit view, Private view, Save for everyone, Reset, Save as new view, Copy link, Favorite, Duplicate, and Delete, asked through your `confirm` port and said through your `toast` port with Undo. Every word is your messages'. ViewKit moves no view itself: your `onChange` opens the right one (after a delete, an Undo, a create or a duplicate), and `viewsAfter` does it over your views. New view stands only where the axis grows (`onCreate`).
165
+ - `ViewsViewsListBodyProps` gains `verbs`, `onStepChange` and `onHold` (the list holds open while the body asks outside it, the `confirm` port's dialog), and `actions.back` on a step.
166
+
167
+ ### Changed
168
+
169
+ - A date-and-time now shows its time by default ("20 Nov, 14:30"): in a grid cell, a field row, a column's printed value and its column menu's Show time, wherever the field's `format.withTime` is left unset. This changes what every app draws for such a field. A field that wants the day alone sets `format: { withTime: false }`; a reader's Show time, and the `withTime` display option, still win over the field. `columnFrom` now carries a field's `withTime: false` onto its column.
170
+ - A range cell and a range field row read as the band's name when the value's ends are exactly one of the field's `presets` ("Small"), with the numbers on hover; any other value still reads as its numbers. The grid's copy writes what the cell shows, and a paste reads a band's name back, in any case (a name two bands share is refused). On hover a band shows its whole value, its code and period included. `rangeText` still writes the numbers.
171
+ - An app that spreads `CONTROLS` now opens these quick filters from the quick filters' button, in place of ViewKit's plain panel. An app that hands its own `QuickFiltersBody` after `CONTROLS` keeps its own.
172
+ - An app that spreads `CONTROLS` now draws the Outright bulk bar where it calls `SelectionBar`, in place of ViewKit's own: in the box that holds the list, at its foot, rather than portalled to the screen's foot; its Delete asks first, then calls `onDelete`; the provider's `selectionBar` placement, `phoneQuery` and `chip` apply to ViewKit's own bar alone. An app that wants ViewKit's own leaves the slot out: `{ ...CONTROLS, SelectionBar: undefined }`.
173
+ - ViewKit's Toast names the region its toasts stand in with the app's words (`views.panels.toast-region`), where Base UI said "Notifications" in English.
174
+ - The ready stylesheet (`viewkitjs/views/styles.css` and `styles.unlayered.css`) now carries the grid's look, after ViewKit's own classes, and declares `--vk-frozen-fade` at the Outright look's value. This changes what every app on the ready stylesheet draws for its grid; the `portal` look's picks, worn on a frame round it (`lookAttrs(GRID_LOOKS, lookPicks(GRID_LOOKS, "portal"))`), come closest to the grid as it was. An app that imports ViewKit's stylesheets one by one sees no change until it imports `viewkitjs/views/grid.css`.
175
+ - `viewkitjs/views/looks`: the grid's option defaults are now the Outright look's: column lines `all`, pinned edge `line`, checkboxes `always`, picked rows `line`, cell corners `round`, hover frame `strong`, groups `titles`, names `hover`, phones `text` and figures `word`. A grid that wears no picks, and `gridLookWorn()` with none, take them; the `attio` look keeps its own picks.
176
+ - Every app on the ready stylesheet: on a phone the small targets above take taps from 44px round them.
177
+ - Every app on the ready stylesheet: the words beside a Checkbox, a Radio and a Switch draw with the label type styles (`viewkitjs/views/controls/choice.css`, now in the ready stylesheet): the label in the small text and the text colour, a note under it in the extra-small text and the subtle colour, and a choice drawn as a card takes its edge and ground.
178
+ - An app that imports ViewKit's control stylesheets one by one adds `viewkitjs/views/controls/press.css` and `viewkitjs/views/controls/choice.css` to get them.
179
+ - The Button, the Checkbox, a Tag's remove button and an Option drawn as a link carry `data-vk-phone` on a phone, as the Switch and the Radio do: an app's own phone rule written as ViewKit's are (`:where([data-vk-phone], [data-vk-phone] *)`) now reaches one of them standing outside any panel too.
180
+ - A Button's own-look dot (`dot: "brand"`) is drawn with `::before`, so on a phone it stays at its top end corner and the Button keeps its pressing area.
181
+ - `viewkitjs/views/looks`: every look named "Mihai's" is named "Outright": the inline input's, the Text editor's, the Values editor's, the Compound editor's, the Number editor's, the Date editor's and the Picker's. Their ids (`mihais`, `mihai`) are unchanged, so a saved pick still finds its look.
182
+ - Every app on `CONTROLS`: a tooltip takes the side, the alignment, the wait (`delayMs`; 0 opens it at once) and the class ViewKit asks for, a date's one second and its start alignment among them.
183
+ - Every app on `CONTROLS`: a popup that holds a list carries `data-popover-chrome="menu"`, which your styles may draw otherwise; it draws as before.
184
+ - An app on the default Sheet (`CONTROLS.Sheet`): it now opens at the height `snap` asks for (`auto` as tall as its content, which an editor's sheet and the selection's ask; `half` at half, with a drag to the top; `peek` low; `full` to the top), and takes its title (words of its own, or words with a mark), named to screen readers by its label where the two differ, a description under its title, and its class.
185
+ - On the bar's part body (`CONTROLS.FilterPartBody`), an actor's rule and a place's Country now open the kit's ways and values, not ViewKit's.
186
+ - On a phone, a rule's ⋯ in the kit's filter editor opens as a step of the same sheet with Back, not a menu sheet on top (one sheet, never a sheet on top).
187
+ - In an app that spreads `CONTROLS`, View settings now opens the kit's Customize in place of ViewKit's own. To keep ViewKit's own:
188
+
189
+ Before: `components={CONTROLS}`
190
+ After: `components={{ ...CONTROLS, CustomizeBody: undefined }}`
191
+ - Customize's popover is 300 px wide by default (`w-75`, was `w-60`, 240 px), the Pane it was designed in: every app that hands `ToolbarOptions` no `widthClassName` sees it, `ReadyToolbar`'s included. Sort's and Filter's popovers keep their width.
192
+ - On a phone, Escape on Customize's group level (Group by's fields, an order's choices) goes back a level instead of closing Customize, in ViewKit's own Customize and in `CONTROLS.CustomizeBody`, whose sort and filter levels go back too.
193
+ - The Toolbar wearing none of its options draws the Outright look: one row at rest, the sort and Filter on its right with their words, the filter bar once a filter is added, the quick filters' button, and on a phone the sort, Filter and View settings on the right of the views. An app that wants Attio's two lines wears the look `attio` (`lookAttrs(TOOLBAR_LOOKS, lookPicks(TOOLBAR_LOOKS, "attio"))`). The looks list Outright first.
194
+ - `viewkitjs/views`: the default English for `views.panels.view-publish` is now "Save for everyone", where it was "Set default for everyone". Customize's foot on a shared view says Reset · Save for everyone, as do `ViewFooter` and `CONTROLS.CustomizeBody`. Every app without its own word for this key sees the new word; an app whose catalog words it keeps its own.
195
+ - `ReadyToolbar`: in Mihai's look, where Clear and Save don't stand on the bar (on a phone, or with no filter), Customize's foot on a shared view now says Reset · Save for everyone, where it said Clear · Save. With no shared view it still offers Clear alone.
196
+ - `viewkitjs/views`: a `command` cell holding a member opens its verbs on one click on the name, as a select's does: the member's chip is drawn inert inside the one trigger, so it no longer opens the member there (`onOpenRelation` and the `RelationLink` atom stand aside in a command cell). A relation, link, email, phone or domain keeps its own control and the ▾ beside it.
197
+ - `viewkitjs/views`: an empty `command` cell handed `commandItems` draws a ▾ that opens its verbs, where it drew nothing before. Without `commandItems` an empty cell still draws nothing.
198
+ - `viewkitjs/postgres`: `searchIndexes` no longer prints an index on an expression that calls a function it knows Postgres won't index; it names the field in `unserved` with `notImmutable`. A relation whose far label no index can hold is now named in `unserved` with `farLabel`, its own column's index still printed; a relation to one record through a link table's lead row names `farLabel` where it named `otherTable`.
199
+ - `viewkitjs/postgres`: a search word reaches a phone through arms an index serves: an international phone whose number holds it, or any other phone whose text as typed holds it, in place of a choice made on each row, which no index served and which made a whole search read every row. A word holding anything but digits and `+` reaches the typed text alone. What a search finds on a phone is unchanged.
200
+ - `viewkitjs/postgres`: `searchIndexes` prints a trigram index on a phone's folded number (when its `parts` keep one) and on its folded text as typed, on the record or on its row's own table, with their statistics, where it named every phone in `unserved`. Run `searchIndexes` again and add them: a search naming a phone then reads through them and the other fields' indexes. `SEARCH_INDEX_REASONS.phone` is no longer given and stays exported.
201
+ - `viewkitjs/postgres`: on a page, a search word on a phone kept in a row of its own, three characters or more, counts its rows through those indexes first, as a text kept in a row does.
202
+ - `viewkitjs/fields`: a lookup's and a rollup's note (`derivedReason`, and `lockReason` for them) names its fields by their labels, through `field.label`, where the field came through the index: "From the linked Company: Country" where it read "From the linked company: country", and "The latest Scheduled start over Calls" where it read "The latest scheduledStartAt over calls". A field outside the index, or a part it couldn't reach, keeps the words it had. This changes the lock's hover and the grid's refusal for every app whose fields come through `defineIndex`.
203
+ - The filter editor's field lists (Filter, +, a filter's field, the advanced filter's editor and the phone's sheet) show a column the list can't filter greyed with its reason, in its place, as the Filter panel's rows do, where they left it out. A press on it picks nothing. Your `FieldsBody` and `FilterBody` are handed it with `disabled`, and a pick of it writes nothing. `filterEditorFields` and `filterTree.fields`, what a rule may name, are unchanged.
204
+ - A filter on the bar whose one value it can only draw by its stored key (a person, an actor or a record your app hasn't named yet, such as after a reload) asks your `filterData.onValuesWanted` once for that field, as opening its filter row does (a related record's field: `relationFilters.farValues.onWanted`), and draws the name once you hand the value in `knownValues` and its name in `knownLabels` (a related record's field: `farValues.values` and `labels`). An app that hands no `onValuesWanted` sees no change.
205
+ - `viewkitjs/views/panels`: `drawsUnnamedValue(filter)`, whether `filterValueLabel` draws a filter's value by its stored key.
206
+ - The builder words that reason through your messages (`filterData.messages`, else your resolver), where it drew `VIEW_FIELDLESS_FILTER_REASON`'s English in every language. The constant stays, as the key's English.
207
+ - `toast` is an optional port. `useViews().ports.toast` is always there: ViewKit's Toast through `PortsHost`, or one that draws nothing.
208
+ - An app that hands its own `toast` and `confirm` (Atlas) sees no change. The portal hands a `toast`, no `confirm`, and doesn't spread `CONTROLS`, so it sees no change either: a row's Delete still asks in the browser's confirm, as before. An app's own toast that ignores `success`'s `{ undo }` shows the report without Undo.
209
+ - On a phone, a view's ⋯ in `CONTROLS.ViewsListBody` opens its menu as a step of the same sheet with Back, not a menu sheet on top (one sheet, never a sheet on top), and Rename, New view and the delete question opened from it turn the same sheet.
210
+
211
+ ### Fixed
212
+
213
+ - `viewkitjs/views/controls`: the Picker's search box and rows, and the Clear all of a several-values Picker, no longer throw on open where the page or a test (Testing Library's `user-event`) made `HTMLElement.prototype.focus` a getter with no setter.
214
+ - `viewkitjs/views/controls`: one ⌘Z (Ctrl+Z) takes back a typed run in the Input's long text (`multiline`), where it took back one letter a press in Chromium when the box was handed a `value`: a place's street lines in `CONTROLS.PartsBody`, and every long-text Input your app draws. A value set from outside still draws in the box. The box's default value now stays what it was first drawn with, which only a form's reset reads: an app that resets an uncontrolled long-text Input by changing its `defaultValue` sets `value` instead.
215
+ - A view's menu in `CONTROLS.ViewsListBody`, and the ⋯ beside the search of `CONTROLS.Picker` on a phone, now say your app's words where they said ViewKit's English: the Close row, a sheet's ✕ and Back and a level's search, from `views.panels.close`, `views.panels.back` and `views.menus.search`. It showed where your app turns on the menu list's Close row. No new message key.
216
+ - `viewkitjs/views/controls`: in the Picker on a computer, ↓ and ↑ pass a greyed row by, as a greyed row promises. A bare ↓ in a list whose first row can't be picked (a sorted field in the sort's fields) lit that row, and Enter then picked nothing; it now lights the first row that can be picked. This changes every Picker an app draws, `CONTROLS`' included.
217
+ - A click on a date in the grid selects its cell even when the press comes in the same moment the pointer jumps onto the date. The date's full form, shown on a slow hover, could replace the date's element mid-press, and the browser then fired no click.
218
+ - `viewkitjs/views/controls`: on a phone, a rule's ⋯ and a group's ⋯ in `CONTROLS.FilterBody` turn the sheet to a step whose rows stand in its body, under its head, on the sheet's ground, drawn as the sheet's card rows like Customize's. They drew as a floating menu's rows, so the sheet lost its ground and the first row ran up under its head: Convert to group, and a group's only choice, Exclude matches, couldn't be seen or pressed. This changes the filter editor on a phone for every app that draws `CONTROLS.FilterBody`.
219
+ - `viewkitjs/postgres`: `searchIndexes` names a lookup read through a relation in `unserved`, with the `otherTable` reason, where it threw ("render: a fragment asks for a part its statement doesn't write") and printed nothing. The other searched fields' indexes and statistics print as they would without it.
220
+ - `viewkitjs/postgres`: a kind whose label is a name kept in parts (full, given, family) has its label written in functions Postgres can index, so the trigram index `searchIndexes` prints for a relation to that kind is one `CREATE INDEX` accepts, and a search through the relation reads the far table through it instead of whole for each word. The label reads as before: the full name, else the given and family names that aren't blank, joined by one space. A lookup of a name sorts by the same text, written the same way.
221
+ - The filter editor's field list names a place's parts ("Location · Country") in your words where you hand them as the panels' resolver (the ready toolbar's `resolve`, or the provider's messages), not only in `filterData.messages`.
222
+ - The ready toolbar's kit arrangement contains its own inline size: its width comes from where it stands, never from what its lines hold. Inside a holder sized from its content (an app's main beside a sidebar, a flex item with no `min-width: 0`) its row now gives way as the page narrows (words to icons, view tabs into "+N", the rest into ⋯) instead of holding its whole width and pushing the page sideways. An app that wrapped the ready toolbar in its own `contain: inline-size` box can drop it. The row arrangement (`arrangement: "row"`) is unchanged, and so is `ToolbarControl`, whose holder gives it its width.
223
+ - A money or phone cell edited through `CONTROLS.NumberBody` or `CONTROLS.TextBody` in a narrow column now grows past the cell, as ViewKit's own editor does, so the currency or the country and the whole figure typed show together; an empty amount keeps room to type in. A right-aligned column grows leftward. A cell wide enough opens exactly as before.
224
+ - In the Picker on a computer, a typed search lights its first match that can be picked, so Enter takes it: a greyed first match is passed over, and where nothing matches, Enter creates the typed value as a press on Create does.
225
+
8
226
  ## [0.28.0] — 2026-11-29
9
227
 
10
228
  ### Added
package/MIGRATION.md CHANGED
@@ -170,13 +170,92 @@ Nothing was removed except what is below.
170
170
  <ReadyToolbar {...list} />
171
171
  ```
172
172
 
173
+ - **Every body slot of the components map is required** (0.30): `TextBody`, `NumberBody`, `Picker`, `LinksBody`,
174
+ `DateBody`, `PartsBody`, `ValuesBody`, and the toolbar panels' `SortBody`, `FilterBody`, `FilterPartBody`,
175
+ `FieldsBody`, `QuickFiltersBody` and `ViewsListBody`, and `CustomizeBody`. An app that spreads `CONTROLS` hands them already; one that
176
+ builds its own map adds `TextBody: CONTROLS.TextBody`, `NumberBody: CONTROLS.NumberBody`, `Picker: CONTROLS.Picker`,
177
+ `LinksBody: CONTROLS.LinksBody`, `DateBody: CONTROLS.DateBody`, `PartsBody: CONTROLS.PartsBody`,
178
+ `ValuesBody: CONTROLS.ValuesBody`, `SortBody: CONTROLS.SortBody`, `FilterBody: CONTROLS.FilterBody`,
179
+ `FilterPartBody: CONTROLS.FilterPartBody`, `FieldsBody: CONTROLS.FieldsBody`,
180
+ `QuickFiltersBody: CONTROLS.QuickFiltersBody`, `ViewsListBody: CONTROLS.ViewsListBody` and
181
+ `CustomizeBody: CONTROLS.CustomizeBody`, or its own. ViewKit's own Customize is gone (its root list, pages and footer,
182
+ and the `/panels/react` exports that drew them): Options opens your `CustomizeBody` everywhere. `GroupBody` is read
183
+ by nothing and deprecated, `CONTROLS.CustomizeBody.stepsAside` is gone, and a wrapper that copied it deletes that
184
+ line.
185
+ ViewKit's older sort editor, filter editor (on a computer and on a phone), sort and filter field lists, a filter's
186
+ ways menu on the bar, quick-filters panel and list of views are gone: each panel opens your body. With them go
187
+ `PhoneFilterEditor` and `usePhoneFilterEditor` (`viewkitjs/views/panels/react`; Filter on a phone still opens your
188
+ `FilterBody`) and `QuickFiltersPanel`'s `fill`: delete them where you use them. Their `data-slot`s leave
189
+ `ATOM_SLOTS`: `vk-sort-editor`, `vk-sort-rule`, `vk-sort-aside`, `vk-sort-fields`, `vk-quick-filters`,
190
+ `vk-quick-filters-field`, `vk-quick-filters-value`, `vk-quick-filters-none`, `vk-filter-editor`, `vk-filter-rule`,
191
+ `vk-filter-group`, `vk-filter-relation` and `vk-filter-fields`; a stylesheet that dressed them dresses your bodies. ViewKit's older date, name, range, place and value-list panels are
192
+ gone: the date editor opens your `DateBody` (`Calendar` is now reached only by the filter panel's month), the name,
193
+ place and range editors your `PartsBody`, and the value list editor your `ValuesBody`; a range and a name open under
194
+ their cell or row, never in place. With them go `DateEditor`'s `fill` (`viewkitjs/views/editors/date`),
195
+ `NameEditor`'s `chrome` and `boxClassName` (`…/editors/name`), `RangeEditor`'s `bandsAt`, `refusal`,
196
+ `boxClassName`, `align`, `min` and `max` (`…/editors/range`), `LocationEditor`'s `chrome` and `clearable`
197
+ (`…/editors/location`), `ValueListEditor`'s `openLinks` (`…/editors/value-list`) and `EditorPanel`'s
198
+ `editorDrawsRefusal` (`…/editors/panel`): delete them where you pass them.
199
+ ViewKit's older Command lists for the select, several-values, relation and place editors are gone (none was
200
+ exported): every list opens your `Picker`, and a relation holding several records whose field declares
201
+ `links` your `LinksBody`. ViewKit's older text and
202
+ number boxes are gone: a text opened only to be read and a number formatted as a duration keep ViewKit's own box, the
203
+ two no body has a form for. With them go
204
+ `TEXT_INPUT_TYPE` and `TextEditor`'s `wraps` and `chrome` (`viewkitjs/views/editors/text`), and `NumberEditor`'s
205
+ `unitLeft` (`viewkitjs/views/editors/number`): delete them where you pass them.
206
+ - **The provider's switches between ViewKit's own buttons and yes/no boxes and yours are gone** (0.30):
207
+ `gridButtons`, `gridCheckboxes`, `fieldRowButtons`, `fieldRowCheckboxes`, `panelButtons` and `selectionBar`'s
208
+ `chip`, with their types `ViewsGridButtons`, `ViewsGridCheckboxes`, `ViewsFieldRowButtons`,
209
+ `ViewsFieldRowCheckboxes`, `ViewsPanelButtons` and `ViewsSelectionChip`. Delete them where you pass them: your
210
+ `Button` and `Checkbox` always draw those buttons and boxes (step 8). Make your `Button` render a real `<button>`,
211
+ take the `secondary` variant, let the `className` it is handed win over its own size, and forward `ref`, `tabIndex`,
212
+ `aria-haspopup`, `aria-expanded`, `aria-pressed`, `aria-disabled`, `role`, `aria-selected`, `data-slot`,
213
+ `data-open`, `data-state` and `data-vs-row`; make your `Checkbox` forward `readOnly`
214
+ ([the provider](views/docs/guides/the-provider.md)).
215
+
216
+ ```tsx
217
+ // before
218
+ <ViewsProvider {...rest} gridButtons="button" gridCheckboxes="checkbox" fieldRowButtons="button"
219
+ fieldRowCheckboxes="checkbox" panelButtons="button" selectionBar={{ phone, chip: "button" }} />
220
+ // after
221
+ <ViewsProvider {...rest} selectionBar={{ phone }} />
222
+ ```
223
+
224
+ - **The provider's switches for the grid's menus, an app body's frame and place, and saying a refusal are gone**
225
+ (0.30): `menus`, `bodyFrame`, `gridBodyPlace` and `sayRefusals`, with their types `ViewsMenuRoute`,
226
+ `ViewsBodyFrame` and `ViewsGridBodyPlace`. Delete them where you pass them: the grid's menus are your `Menu`, an
227
+ app body's popover is your `Popover` at its own width, a grid body opens over its cell, and the grid says a refused
228
+ edit through your toast's `error`, so stop toasting your own (step 8). `GRID_SLOTS` loses `vk-grid-column-menu`,
229
+ `vk-grid-flyout`, `vk-grid-group-menu` and `vk-grid-aggregate-menu`: style the grid's menus as your `Menu`.
230
+ `Command` is deprecated and read by nothing: leave it out. The grid's `renderColumnMenuRows` is deprecated and read
231
+ by nothing: a row drawn as a node has nowhere to stand in your `Menu`, so hand the same rows as data through
232
+ `columnMenuItems` (outright-base's Edit field row, say).
233
+
234
+ ```tsx
235
+ // before
236
+ <ViewsProvider {...rest} menus="menu" bodyFrame="popover" gridBodyPlace="over" sayRefusals />
237
+ <GridTable {...grid} renderColumnMenuRows={(key, close) => (edits[key] ? <EditFieldRow onClick={() => { close(); openEdit(key); }} /> : null)} />
238
+ // after
239
+ <ViewsProvider {...rest} />
240
+ <GridTable {...grid} columnMenuItems={(key) => (edits[key] ? [{ key: "edit-field", label: "Edit field", onSelect: () => openEdit(key) }] : null)} />
241
+ ```
242
+
243
+ - **The older hosts that open your bodies take host names** (0.30), with no alias: `TextEditor` and `TextEditorProps`
244
+ (`viewkitjs/views/editors/text`) are `TextEditorHost` and `TextEditorHostProps`, `DateEditor` (`…/editors/date`) is
245
+ `DateEditorHost`, `NumberEditor` (`…/editors/number`) is `NumberEditorHost`, and `SortEditor`, `useSortEditor` and
246
+ `FilterEditor` (`viewkitjs/views/panels/react`) are `SortEditorHost`, `useSortEditorHost` and `FilterEditorHost`:
247
+ rename them where you import them. The plain names are the bodies' own now, on `viewkitjs/views/controls`, where
248
+ `useSortEditorParts` and `useFilterEditorParts` (deprecated) still answer.
249
+
173
250
  - **`ToolbarSlotState.appFrame` is required** (views 0.10). Code that builds a whole `ToolbarSlotState`
174
251
  adds `appFrame: false`. A partial slot handed to `ToolbarSlotProvider` is unaffected.
175
252
  - **`FieldSpec` no longer holds `avatar`** (0.20): `defineFields({ avatar })` stamps it. `checkFieldSpec`
176
253
  takes `unknown` and asserts a `FieldSpec`, so casts before it can go.
177
254
  - **Lists typed over every name grew.** A record or an exhaustive `switch` over one of these needs the new
178
255
  members:
179
- - `OptionalComponentName`: `SearchField` (views 0.10) and `LinksBody` (views 0.12).
256
+ - `OptionalComponentName`: `SearchField` (views 0.10); `LinksBody` was optional from views 0.12 to 0.29. It loses
257
+ `TextBody`, `NumberBody`, `Picker`, `LinksBody`, `DateBody`, `PartsBody`, `ValuesBody`, `SortBody`, `FilterBody`,
258
+ `FilterPartBody`, `FieldsBody`, `QuickFiltersBody` and `ViewsListBody` (0.30), which `ComponentName` gains.
180
259
  - `ViewsBodyKind`: `links` (views 0.12).
181
260
  - `ATOM_STATES`: `tab` and `current`. `ATOM_SLOTS`: `vk-toolbar-chevron`, `vk-quick-filters-reminder`,
182
261
  `vk-quick-filters-reminder-open` and `vk-quick-filters-reminder-clear` (views 0.10).
@@ -252,15 +331,14 @@ import { CONTROLS } from "viewkitjs/views/controls";
252
331
  It holds `Button`, `Tooltip`, `Popover`, `Sheet`, `Input`, `Checkbox` and `Menu`; the Text editor
253
332
  (`TextBody`); the Picker (`Picker`, and `FieldsBody`, the sort's and the filter's field lists); the Date editor
254
333
  (`DateBody`); the month the filter panel picks a day in (`Calendar`); the Compound editor (`PartsBody`) for
255
- a name, a place and a range; the Number editor (`NumberBody`) for a number, money or a percent; the Values editor (`ValuesBody`) for several emails, phones, links or domains; the Links editor (`LinksBody`) for a relation whose field declares `links`, where an app that hands none edits it in the Picker; the views list (`ViewsListBody`), what the view switcher opens, where an app that hands none keeps ViewKit's own list; and the group editor (`GroupBody`), what Customize's Group opens, where an app that hands none keeps ViewKit's own group pages; and the Collapsible (`Collapse`), the fold a grid's group, a field's note and the selection sheet open in. **An app that spreads it hands no `Calendar`:** the filter panel's date, its date
334
+ a name, a place and a range; the Number editor (`NumberBody`) for a number, money or a percent; the Values editor (`ValuesBody`) for several emails, phones, links or domains; the Links editor (`LinksBody`) for a relation whose field declares `links`; the views list (`ViewsListBody`), what the view switcher opens; and the group editor (`GroupBody`), what Customize's Group opens, where an app that hands none keeps ViewKit's own group pages; and the Collapsible (`Collapse`), the fold a grid's group, a field's note and the selection sheet open in; and `PortsHost`, which answers the `toast` and `confirm` ports an app leaves out with ViewKit's Toast and alert dialog. **An app that spreads it hands no `Calendar`:** the filter panel's date, its date
256
335
  ranges and its custom time scope open ViewKit's own month. An app's own `Calendar` or `RangeCalendar` atom is
257
- kept. You still hand `AppIcon` and `Markdown`, and `Command` unless you set `menus: "menu"`: the
258
- grid's + Add column and a group's menu search still draw through it. `CONTROL_ATOMS` (0.23) does the same for the atoms
336
+ kept. You still hand `AppIcon` and `Markdown`. `CONTROL_ATOMS` (0.23) does the same for the atoms
259
337
  (`Tag`, `StatusBadge`, `CellMore`): `atoms={{ ...CONTROL_ATOMS, ...ownAtoms }}`.
260
338
 
261
339
  The controls' stylesheet is in `viewkitjs/views/styles.css` (step 9). An app that imports the controls'
262
340
  stylesheets one by one instead imports `smooth.css` first, then each control's own, and now adds
263
- `picker.css`, `text-editor.css`, `date-editor.css`, `compound-editor.css`, `flag.css`, `number-editor.css`, `values-editor.css`, `radio.css`, `links-editor.css`, `sort-editor.css`, `views-list.css`, `filter-editor.css`, `group-editor.css`, `pane.css` and `collapsible.css`.
341
+ `picker.css`, `text-editor.css`, `date-editor.css`, `compound-editor.css`, `flag.css`, `number-editor.css`, `values-editor.css`, `radio.css`, `links-editor.css`, `sort-editor.css`, `views-list.css`, `filter-editor.css`, `group-editor.css`, `pane.css`, `collapsible.css` and `toolbar-button.css`.
264
342
 
265
343
  What an app meets when it moves from its own editors, or ViewKit's older ones, to these:
266
344
 
@@ -343,10 +421,22 @@ hydrates.
343
421
  unchanged.
344
422
  - The group count is a chip ViewKit draws (0.21), so CSS that dressed `vk-grid-group-count` can go.
345
423
  - The default Tag is a pill (0.21). An app's own `Tag` atom is unchanged.
346
- - A place cell offers a Clear row on a column that may be emptied (views 0.10).
424
+ - A place cell offered a Clear row on a column that may be emptied from views 0.10 to 0.29; the Compound editor has none (0.30).
425
+ - The buttons the grid draws itself, a yes/no cell, a field row's own buttons and its yes/no, the buttons in the
426
+ toolbar's panels, the search's ✕ and the views row, and the selection bar's count chip are your `Button` and
427
+ `Checkbox` (0.30), where each was ViewKit's own unless you set its switch. An app that set every switch to yours
428
+ sees no change.
429
+ - A column's menu, the footer's figure picker, a group's ⋯ and "+ Add column" open your `Menu`, handed their rows as
430
+ data, on a phone too, with no search field (0.30). The popover around a body your app hands (`Picker`,
431
+ `PartsBody`, `ValuesBody`, `LinksBody`) takes none of ViewKit's width or padding and is marked `data-vk-body`; in
432
+ the grid it opens over its cell. The grid says a refused edit through your toast's `error`. An app that set
433
+ `menus="menu"`, `bodyFrame="popover"`, `gridBodyPlace="over"` and `sayRefusals` sees no change.
347
434
 
348
435
  **Toolbar and panels**
349
436
 
437
+ - An app that spreads `CONTROLS` and hands no `confirm` asks a row's Delete in ViewKit's alert dialog, not the
438
+ browser's, and one that hands no `toast` sees ViewKit's reports in ViewKit's Toast. `toast` is optional now. An
439
+ app's own ports win.
350
440
  - Inside `ToolbarSlotProvider`, the views part and Save draw through your `ToolbarButton` (views 0.10).
351
441
  `slot={{ appFrame: false }}` keeps the old way.
352
442
  - Drag announcements come from your messages and name a row by its label (views 0.10).
@@ -376,9 +466,10 @@ Each control reads only `--vk-*` names, each with a default. The names, and the
376
466
 
377
467
  ### 10. Tests your app may have pinned
378
468
 
379
- - **Exact component, icon and port names.** The required component names are unchanged. The optional ones
380
- gained `SearchField` and `LinksBody`. The icon names and the port names are unchanged. A test that compares
381
- the whole list of optional names fails on the two new ones.
469
+ - **Exact component, icon and port names.** The required component names gained `TextBody`, `NumberBody`, `Picker`,
470
+ `LinksBody`, `DateBody`, `PartsBody`, `ValuesBody`, `SortBody`, `FilterBody`, `FilterPartBody`, `FieldsBody`,
471
+ `QuickFiltersBody`, `ViewsListBody` and `CustomizeBody` (0.30), which the optional ones lost. The optional ones gained `SearchField` (and held `LinksBody` from 0.12 to 0.29). The icon names and the port
472
+ names are unchanged. A test that compares the whole list of required or optional names fails on what moved.
382
473
  - **The test kit's case count** (`viewkitjs/fields/testing`). Counted on ViewKit's own memory backend, it went
383
474
  from 1,028 cases at fields 0.15 to 1,039: 6 more filter cases and 5 more search cases. A count pinned on
384
475
  your own backend moves by what it runs of these. Fields 0.17 names three of the new filter cases; a backend
@@ -403,8 +494,8 @@ Every word the default controls draw is a message, so an app whose catalog words
403
494
  from them. The one exception is Base UI's own: its combobox carries a hidden "Dismiss" button for screen
404
495
  readers, which ViewKit can't word.
405
496
 
406
- Four keys kept their names and changed their English, so the older editors and a field's part rows say
407
- what the new editors say:
497
+ Five keys kept their names and changed their English: four so the older editors and a field's part rows
498
+ say what the new editors say, and Customize's save so every Customize's foot says Reset · Save for everyone:
408
499
 
409
500
  | Key | Was | Is |
410
501
  | --- | --- | --- |
@@ -412,6 +503,7 @@ what the new editors say:
412
503
  | `views.editors.name-family` | Family name | Last name |
413
504
  | `views.editors.place-country-search` | Search countries | Search for a country |
414
505
  | `type.label` (fields 0.16) | Rich text, Percentage, User, Location | Long text, Percent, Member, Place |
506
+ | `views.panels.view-publish` | Set default for everyone | Save for everyone |
415
507
 
416
508
  The keys added since views 0.9 and fields 0.15, with their English. A word in braces is a value ViewKit hands
417
509
  the message.
@@ -545,6 +637,43 @@ The views list (`CONTROLS.ViewsListBody`; its other words are ViewKit's own list
545
637
  | --- | --- |
546
638
  | `views.panels.views-find` | Find a view |
547
639
 
640
+ The ports' own (`CONTROLS.PortsHost`):
641
+
642
+ | Key | English |
643
+ | --- | --- |
644
+ | `views.panels.toast-undo` | Undo |
645
+ | `views.panels.alert-failed` | That didn't go through. Nothing changed. |
646
+ | `views.panels.toast-region` | Notifications |
647
+
648
+ A view's menu and what it opens (`CONTROLS.ViewsListBody` where the axis hands `verbs`, and `useViewMenu`; its other words are keys worded already: `views.panels.copy-link`, `views.panels.view-reset`, `views.panels.view-save`, `views.panels.view-create`, `views.panels.layout`, `views.panels.back`):
649
+
650
+ | Key | English |
651
+ | --- | --- |
652
+ | `views.panels.view-rename` | Rename… |
653
+ | `views.panels.view-rename-short` | Rename |
654
+ | `views.panels.view-edit` | Edit view… |
655
+ | `views.panels.view-private-toggle` | Private view |
656
+ | `views.panels.view-save-everyone` | Save for everyone |
657
+ | `views.panels.view-save-new` | Save as new view… |
658
+ | `views.panels.view-copy-link-short` | Copy link |
659
+ | `views.panels.view-favorite` | Favorite |
660
+ | `views.panels.view-unfavorite` | Unfavorite |
661
+ | `views.panels.view-duplicate` | Duplicate view |
662
+ | `views.panels.view-duplicate-short` | Duplicate |
663
+ | `views.panels.view-delete` | Delete view |
664
+ | `views.panels.view-keep-one` | A list keeps one view |
665
+ | `views.panels.view-unsaved` | Unsaved changes |
666
+ | `views.panels.view-this` | This view |
667
+ | `views.panels.view-rename-title` | Rename view |
668
+ | `views.panels.view-name` | Name |
669
+ | `views.panels.view-create-action` | Create view |
670
+ | `views.panels.view-delete-title` | Delete {name}? |
671
+ | `views.panels.view-deleted` | {name} was deleted |
672
+ | `views.panels.view-copy-name` | Copy of {name} |
673
+ | `views.panels.view-delete-stays` | The {records} in it stay as they are. |
674
+ | `views.panels.view-delete-goes` | The view goes for everyone who uses it. |
675
+ | `views.panels.view-columns` | {layout} columns |
676
+
548
677
  The filter editor (`CONTROLS.FilterBody`, `CONTROLS.FilterPartBody`; its other words are ViewKit's own editor's keys, worded already):
549
678
 
550
679
  | Key | English |
@@ -574,6 +703,45 @@ The group editor (`CONTROLS.GroupBody`; its other words are ViewKit's own group
574
703
  | `views.panels.list-move-hold` | Hold, then drag to move it |
575
704
  | `views.panels.list-moved` | {label}, {at} of {of} |
576
705
 
706
+ Customize (`CONTROLS.CustomizeBody`; its other words are ViewKit's own Customize's, its group pages' and the sort editor's keys, worded already):
707
+
708
+ | Key | English |
709
+ | --- | --- |
710
+ | `views.panels.customize-list` | Customize |
711
+ | `views.panels.customize-shown` | Shown in the table |
712
+ | `views.panels.customize-shown-fields` | Shown |
713
+ | `views.panels.customize-hidden` | Hidden |
714
+ | `views.panels.customize-search` | Search columns |
715
+ | `views.panels.customize-find` | Find a column |
716
+ | `views.panels.customize-no-column` | No column is named “{words}” |
717
+ | `views.panels.customize-always-shown` | Always shown |
718
+ | `views.panels.customize-view-name` | The view's name |
719
+ | `views.panels.customize-layout-button` | Layout: {name} |
720
+ | `views.panels.customize-layout-settings` | {name} settings |
721
+ | `views.panels.customize-share` | Share the view |
722
+ | `views.panels.column-settings` | {label} settings |
723
+
724
+ The quick filters (`CONTROLS.QuickFiltersBody`; its other words are ViewKit's own quick filters' keys, worded already):
725
+
726
+ | Key | English |
727
+ | --- | --- |
728
+ | `views.panels.quick-clear-value` | Clear filter |
729
+
730
+ The bulk bar (`CONTROLS.SelectionBar`; its other words are ViewKit's own bar's keys, worded already: `views.selection.selected`, `views.selection.more`, `views.selection.actions`):
731
+
732
+ | Key | English |
733
+ | --- | --- |
734
+ | `views.selection.many` | {count} {one} or {count} {other} |
735
+ | `views.selection.bar-label` | {many} selected |
736
+ | `views.selection.delete-many` | Delete {many} |
737
+ | `views.selection.delete-ask` | Delete {many}? |
738
+ | `views.selection.noun-one` | row |
739
+ | `views.selection.noun-other` | rows |
740
+ | `views.selection.bar-count` | Selected |
741
+ | `views.selection.clear-the` | Clear the selection |
742
+ | `views.selection.delete-button` | Delete |
743
+ | `views.selection.cant-use` | Can't be used now |
744
+
577
745
  Adding an option to a select:
578
746
 
579
747
  | Key | English |
@@ -599,6 +767,7 @@ The panels: quick filters, set-aside rules, dragging:
599
767
  | `views.panels.drag-dropped-over` | Draggable item {label} was dropped over droppable area {over} |
600
768
  | `views.panels.drag-dropped` | Draggable item {label} was dropped. |
601
769
  | `views.panels.drag-cancelled` | Dragging was cancelled. Draggable item {label} was dropped. |
770
+ | `views.panels.filter-fieldless` | Not a field of this list; a view cannot filter on it. |
602
771
 
603
772
  `viewkitjs/fields` (the conventions' `messages`):
604
773
 
@@ -621,6 +790,7 @@ The panels: quick filters, set-aside rules, dragging:
621
790
  | `date.not-a-date` | That isn't a date. Write a day and a month: 12/11 |
622
791
  | `date.no-such-day` | {month} has no {day, as an ordinal}. Write a day and a month: 12/11 |
623
792
  | `field.must-tick` | This box must be ticked |
793
+ | `field.label` | A field a lookup's or a rollup's note names, by `{ entity, field, label }`: its label |
624
794
 
625
795
  ### Check you're done with this part
626
796
 
@@ -17,7 +17,8 @@ export declare function scalarOf(field: FieldDef, value: unknown): unknown;
17
17
  /** The type a consumer dispatches on — the result's for a rollup or a formula,
18
18
  * the far field's for a lookup (text while unresolved). */
19
19
  export declare function valueTypeOf(field: FieldDef): ValueType;
20
- /** The sentence a lock shows for a derived field — data-model truth in words. */
20
+ /** The sentence a lock shows for a derived field — data-model truth in words. Each field it names is worded by its
21
+ * label, through the host's `field.label`, where the index named it (`names`); else by its key, as before. */
21
22
  export declare function derivedReason(field: DerivedDef, cv?: FieldConventions): string;
22
23
  /**
23
24
  * WHY a field refuses an edit, in the user's words — the lock glyph's hover and
@@ -27,16 +27,22 @@ function humanizeKey(key) {
27
27
  }
28
28
  export function derivedReason(field, cv = DEFAULT_CONVENTIONS) {
29
29
  cv = conventionsOr(cv);
30
+ const word = (named, key) => named ? cv.messages({ key: "field.label", values: named }) : humanizeKey(key);
30
31
  if (field.type === "lookup") {
31
32
  return cv.messages({
32
33
  key: "derived.lookup",
33
- values: { via: humanizeKey(field.via), field: humanizeKey(field.field) },
34
+ values: { via: word(field.names?.via, field.via), field: word(field.names?.field, field.field) },
34
35
  });
35
36
  }
36
37
  if (field.type === "formula") {
37
38
  return cv.messages({ key: "derived.formula", values: { from: field.from } });
38
39
  }
39
- const over = typeof field.over === "string" ? field.over : field.over.join(" → ");
40
+ const hops = field.names?.over;
41
+ const over = hops
42
+ ? hops.map((hop) => cv.messages({ key: "field.label", values: hop })).join(" → ")
43
+ : typeof field.over === "string"
44
+ ? field.over
45
+ : field.over.join(" → ");
40
46
  if (field.fn === "count" || field.fn === "countDistinct") {
41
47
  return cv.messages({ key: "derived.count", values: { over } });
42
48
  }
@@ -46,7 +52,7 @@ export function derivedReason(field, cv = DEFAULT_CONVENTIONS) {
46
52
  return cv.messages({ key: "derived.none", values: { over } });
47
53
  return cv.messages({
48
54
  key: "derived.rollup",
49
- values: { fn: field.fn, of: humanizeKey(field.of ?? ""), over },
55
+ values: { fn: field.fn, of: word(field.names?.of, field.of ?? ""), over },
50
56
  });
51
57
  }
52
58
  export function lockReason(field, cv = DEFAULT_CONVENTIONS) {