viewkitjs 0.26.0 → 0.28.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 (294) hide show
  1. package/CHANGELOG.md +95 -0
  2. package/MIGRATION.md +122 -7
  3. package/package.json +1 -1
  4. package/views/dist/cells/cell-format.d.ts +3 -1
  5. package/views/dist/cells/cell-format.js +2 -2
  6. package/views/dist/cells/use-cell-format.d.ts +8 -1
  7. package/views/dist/cells/use-cell-format.js +13 -2
  8. package/views/dist/contract.d.ts +240 -3
  9. package/views/dist/contract.js +238 -0
  10. package/views/dist/controls/alert/alert.d.ts +46 -0
  11. package/views/dist/controls/alert/alert.js +11 -0
  12. package/views/dist/controls/alert/looks.d.ts +4 -0
  13. package/views/dist/controls/alert/looks.js +19 -0
  14. package/views/dist/controls/alert/tokens.d.ts +92 -0
  15. package/views/dist/controls/alert/tokens.js +25 -0
  16. package/views/dist/controls/alert-dialog/alert-dialog.d.ts +50 -0
  17. package/views/dist/controls/alert-dialog/alert-dialog.js +67 -0
  18. package/views/dist/controls/alert-dialog/confirm.d.ts +13 -0
  19. package/views/dist/controls/alert-dialog/confirm.js +11 -0
  20. package/views/dist/controls/alert-dialog/looks.d.ts +4 -0
  21. package/views/dist/controls/alert-dialog/looks.js +17 -0
  22. package/views/dist/controls/alert-dialog/tokens.d.ts +119 -0
  23. package/views/dist/controls/alert-dialog/tokens.js +32 -0
  24. package/views/dist/controls/alert-dialog.css +95 -0
  25. package/views/dist/controls/alert.css +51 -0
  26. package/views/dist/controls/collapsible/collapsible.d.ts +39 -0
  27. package/views/dist/controls/collapsible/collapsible.js +18 -0
  28. package/views/dist/controls/collapsible/looks.d.ts +4 -0
  29. package/views/dist/controls/collapsible/looks.js +5 -0
  30. package/views/dist/controls/collapsible/map-collapse.d.ts +2 -0
  31. package/views/dist/controls/collapsible/map-collapse.js +6 -0
  32. package/views/dist/controls/collapsible/tokens.d.ts +68 -0
  33. package/views/dist/controls/collapsible/tokens.js +19 -0
  34. package/views/dist/controls/collapsible.css +83 -0
  35. package/views/dist/controls/compound-editor/map-parts-body.js +2 -1
  36. package/views/dist/controls/compound-editor/name-parts.js +10 -2
  37. package/views/dist/controls/compound-editor/place-parts.js +5 -1
  38. package/views/dist/controls/compound-editor/place.d.ts +2 -1
  39. package/views/dist/controls/compound-editor/place.js +2 -0
  40. package/views/dist/controls/controls.d.ts +17 -0
  41. package/views/dist/controls/controls.js +17 -0
  42. package/views/dist/controls/date-editor/date-editor.d.ts +2 -1
  43. package/views/dist/controls/date-editor/map-calendar.js +3 -1
  44. package/views/dist/controls/filter-editor/filter-editor.d.ts +56 -0
  45. package/views/dist/controls/filter-editor/filter-editor.js +208 -0
  46. package/views/dist/controls/filter-editor/how.d.ts +23 -0
  47. package/views/dist/controls/filter-editor/how.js +13 -0
  48. package/views/dist/controls/filter-editor/map-filter-body.d.ts +18 -0
  49. package/views/dist/controls/filter-editor/map-filter-body.js +164 -0
  50. package/views/dist/controls/filter-editor/map-rules.d.ts +85 -0
  51. package/views/dist/controls/filter-editor/map-rules.js +273 -0
  52. package/views/dist/controls/filter-editor/parts.d.ts +46 -0
  53. package/views/dist/controls/filter-editor/parts.js +75 -0
  54. package/views/dist/controls/filter-editor/rules.d.ts +104 -0
  55. package/views/dist/controls/filter-editor/rules.js +148 -0
  56. package/views/dist/controls/filter-editor/tokens.d.ts +83 -0
  57. package/views/dist/controls/filter-editor/tokens.js +23 -0
  58. package/views/dist/controls/filter-editor/words.d.ts +59 -0
  59. package/views/dist/controls/filter-editor/words.js +40 -0
  60. package/views/dist/controls/filter-editor.css +124 -0
  61. package/views/dist/controls/group-editor/group-editor.d.ts +56 -0
  62. package/views/dist/controls/group-editor/group-editor.js +126 -0
  63. package/views/dist/controls/group-editor/map-group-body.d.ts +19 -0
  64. package/views/dist/controls/group-editor/map-group-body.js +106 -0
  65. package/views/dist/controls/group-editor/rules.d.ts +48 -0
  66. package/views/dist/controls/group-editor/rules.js +41 -0
  67. package/views/dist/controls/group-editor/tokens.d.ts +15 -0
  68. package/views/dist/controls/group-editor/tokens.js +6 -0
  69. package/views/dist/controls/group-editor/words.d.ts +39 -0
  70. package/views/dist/controls/group-editor/words.js +21 -0
  71. package/views/dist/controls/group-editor.css +20 -0
  72. package/views/dist/controls/index.d.ts +35 -1
  73. package/views/dist/controls/index.js +35 -1
  74. package/views/dist/controls/internal/editor-parts.d.ts +47 -0
  75. package/views/dist/controls/internal/editor-parts.js +48 -0
  76. package/views/dist/controls/internal/step-return.d.ts +9 -0
  77. package/views/dist/controls/internal/step-return.js +27 -0
  78. package/views/dist/controls/links-editor/links-editor.d.ts +80 -0
  79. package/views/dist/controls/links-editor/links-editor.js +329 -0
  80. package/views/dist/controls/links-editor/links.d.ts +62 -0
  81. package/views/dist/controls/links-editor/links.js +50 -0
  82. package/views/dist/controls/links-editor/map-links-body.d.ts +10 -0
  83. package/views/dist/controls/links-editor/map-links-body.js +74 -0
  84. package/views/dist/controls/links-editor/tokens.d.ts +71 -0
  85. package/views/dist/controls/links-editor/tokens.js +20 -0
  86. package/views/dist/controls/links-editor/words.d.ts +56 -0
  87. package/views/dist/controls/links-editor/words.js +33 -0
  88. package/views/dist/controls/links-editor.css +132 -0
  89. package/views/dist/controls/menu-list/menu-list.d.ts +17 -2
  90. package/views/dist/controls/menu-list/menu-list.js +25 -16
  91. package/views/dist/controls/modal/looks.d.ts +4 -0
  92. package/views/dist/controls/modal/looks.js +25 -0
  93. package/views/dist/controls/modal/modal.d.ts +69 -0
  94. package/views/dist/controls/modal/modal.js +62 -0
  95. package/views/dist/controls/modal/tokens.d.ts +192 -0
  96. package/views/dist/controls/modal/tokens.js +50 -0
  97. package/views/dist/controls/modal.css +130 -0
  98. package/views/dist/controls/notice/notice.d.ts +49 -0
  99. package/views/dist/controls/notice/notice.js +35 -0
  100. package/views/dist/controls/notice/tokens.d.ts +99 -0
  101. package/views/dist/controls/notice/tokens.js +27 -0
  102. package/views/dist/controls/notice.css +100 -0
  103. package/views/dist/controls/number-editor/format.d.ts +31 -0
  104. package/views/dist/controls/number-editor/format.js +79 -0
  105. package/views/dist/controls/number-editor/looks.d.ts +14 -0
  106. package/views/dist/controls/number-editor/looks.js +17 -0
  107. package/views/dist/controls/number-editor/map-number-body.d.ts +16 -0
  108. package/views/dist/controls/number-editor/map-number-body.js +57 -0
  109. package/views/dist/controls/number-editor/number-editor.d.ts +72 -0
  110. package/views/dist/controls/number-editor/number-editor.js +202 -0
  111. package/views/dist/controls/number-editor/tokens.d.ts +28 -0
  112. package/views/dist/controls/number-editor/tokens.js +9 -0
  113. package/views/dist/controls/number-editor/words.d.ts +23 -0
  114. package/views/dist/controls/number-editor/words.js +13 -0
  115. package/views/dist/controls/number-editor.css +37 -0
  116. package/views/dist/controls/number-field/number-field.js +57 -5
  117. package/views/dist/controls/pane/looks.d.ts +4 -0
  118. package/views/dist/controls/pane/looks.js +11 -0
  119. package/views/dist/controls/pane/pane.d.ts +63 -0
  120. package/views/dist/controls/pane/pane.js +98 -0
  121. package/views/dist/controls/pane/state.d.ts +14 -0
  122. package/views/dist/controls/pane/state.js +7 -0
  123. package/views/dist/controls/pane/tokens.d.ts +79 -0
  124. package/views/dist/controls/pane/tokens.js +22 -0
  125. package/views/dist/controls/pane.css +104 -0
  126. package/views/dist/controls/picker/rows.d.ts +4 -2
  127. package/views/dist/controls/picker/rows.js +4 -3
  128. package/views/dist/controls/radio/radio.d.ts +33 -0
  129. package/views/dist/controls/radio/radio.js +19 -0
  130. package/views/dist/controls/radio/tokens.d.ts +127 -0
  131. package/views/dist/controls/radio/tokens.js +34 -0
  132. package/views/dist/controls/radio.css +104 -0
  133. package/views/dist/controls/sort-editor/map-sort-body.d.ts +9 -0
  134. package/views/dist/controls/sort-editor/map-sort-body.js +81 -0
  135. package/views/dist/controls/sort-editor/rules.d.ts +48 -0
  136. package/views/dist/controls/sort-editor/rules.js +24 -0
  137. package/views/dist/controls/sort-editor/sort-editor.d.ts +58 -0
  138. package/views/dist/controls/sort-editor/sort-editor.js +180 -0
  139. package/views/dist/controls/sort-editor/tokens.d.ts +79 -0
  140. package/views/dist/controls/sort-editor/tokens.js +22 -0
  141. package/views/dist/controls/sort-editor/words.d.ts +48 -0
  142. package/views/dist/controls/sort-editor/words.js +25 -0
  143. package/views/dist/controls/sort-editor.css +96 -0
  144. package/views/dist/controls/text-editor/phone-number.d.ts +4 -0
  145. package/views/dist/controls/text-editor/phone-number.js +20 -0
  146. package/views/dist/controls/text-editor/text-editor.js +2 -19
  147. package/views/dist/controls/toast/toast.d.ts +75 -0
  148. package/views/dist/controls/toast/toast.js +99 -0
  149. package/views/dist/controls/toast/tokens.d.ts +100 -0
  150. package/views/dist/controls/toast/tokens.js +27 -0
  151. package/views/dist/controls/toast.css +93 -0
  152. package/views/dist/controls/tokens.js +30 -0
  153. package/views/dist/controls/values-editor/looks.d.ts +16 -0
  154. package/views/dist/controls/values-editor/looks.js +19 -0
  155. package/views/dist/controls/values-editor/map-values-body.d.ts +12 -0
  156. package/views/dist/controls/values-editor/map-values-body.js +71 -0
  157. package/views/dist/controls/values-editor/tokens.d.ts +132 -0
  158. package/views/dist/controls/values-editor/tokens.js +35 -0
  159. package/views/dist/controls/values-editor/values-editor.d.ts +62 -0
  160. package/views/dist/controls/values-editor/values-editor.js +441 -0
  161. package/views/dist/controls/values-editor/values.d.ts +71 -0
  162. package/views/dist/controls/values-editor/values.js +59 -0
  163. package/views/dist/controls/values-editor/words.d.ts +50 -0
  164. package/views/dist/controls/values-editor/words.js +29 -0
  165. package/views/dist/controls/values-editor.css +207 -0
  166. package/views/dist/controls/views-list/looks.d.ts +13 -0
  167. package/views/dist/controls/views-list/looks.js +12 -0
  168. package/views/dist/controls/views-list/map-views-list-body.d.ts +19 -0
  169. package/views/dist/controls/views-list/map-views-list-body.js +65 -0
  170. package/views/dist/controls/views-list/rules.d.ts +72 -0
  171. package/views/dist/controls/views-list/rules.js +4 -0
  172. package/views/dist/controls/views-list/tokens.d.ts +11 -0
  173. package/views/dist/controls/views-list/tokens.js +5 -0
  174. package/views/dist/controls/views-list/views-list.d.ts +44 -0
  175. package/views/dist/controls/views-list/views-list.js +57 -0
  176. package/views/dist/controls/views-list/words.d.ts +22 -0
  177. package/views/dist/controls/views-list/words.js +3 -0
  178. package/views/dist/controls/views-list.css +8 -0
  179. package/views/dist/display/date.js +2 -2
  180. package/views/dist/display/format.js +10 -2
  181. package/views/dist/display/options.d.ts +3 -1
  182. package/views/dist/display/use-display-options.d.ts +3 -0
  183. package/views/dist/display/use-display-options.js +10 -2
  184. package/views/dist/display/viewer.d.ts +1 -1
  185. package/views/dist/display/viewer.js +1 -1
  186. package/views/dist/editors/DateEditor.js +11 -9
  187. package/views/dist/editors/NumberEditor.js +3 -1
  188. package/views/dist/editors/relation-panel.js +7 -1
  189. package/views/dist/editors/relation-picker.d.ts +2 -1
  190. package/views/dist/editors/relation-picker.js +4 -3
  191. package/views/dist/editors/relation-source.d.ts +4 -1
  192. package/views/dist/editors/relation-source.js +5 -2
  193. package/views/dist/field-row/editors/RowNumberEditor.js +2 -2
  194. package/views/dist/fields/number-edit.d.ts +6 -0
  195. package/views/dist/fields/number-edit.js +8 -1
  196. package/views/dist/grid/chrome/GridCellEditors.js +3 -3
  197. package/views/dist/grid/chrome/GridColumnDateSection.d.ts +4 -3
  198. package/views/dist/grid/chrome/GridColumnDateSection.js +4 -4
  199. package/views/dist/grid/chrome/GridColumnDurationSection.js +2 -2
  200. package/views/dist/grid/chrome/GridColumnMenu.js +6 -4
  201. package/views/dist/grid/chrome/GridDateEditor.d.ts +3 -1
  202. package/views/dist/grid/chrome/GridDateEditor.js +2 -1
  203. package/views/dist/grid/chrome/GridFooter.js +2 -2
  204. package/views/dist/grid/chrome/grid-column-menu-items.js +4 -2
  205. package/views/dist/grid/chrome/useGridBandFigures.js +2 -2
  206. package/views/dist/grid/chrome/useGridFittedWidths.d.ts +3 -0
  207. package/views/dist/grid/chrome/useGridFittedWidths.js +9 -3
  208. package/views/dist/grid/chrome/useGridKeyboard.d.ts +4 -1
  209. package/views/dist/grid/chrome/useGridKeyboard.js +5 -2
  210. package/views/dist/grid/chrome/useGridTableInteractionModel.js +2 -1
  211. package/views/dist/grid/core/commit-model.d.ts +7 -0
  212. package/views/dist/grid/core/commit-model.js +5 -1
  213. package/views/dist/grid/core/editing-controller.js +10 -2
  214. package/views/dist/grid/core/editing-model.js +3 -7
  215. package/views/dist/grid/core/undo-owner.d.ts +6 -0
  216. package/views/dist/grid/core/undo-owner.js +13 -0
  217. package/views/dist/grid/core/useGridEditing.d.ts +2 -0
  218. package/views/dist/grid/core/useGridEditing.js +4 -0
  219. package/views/dist/looks/index.d.ts +8 -0
  220. package/views/dist/looks/index.js +8 -0
  221. package/views/dist/looks/pieces.js +16 -0
  222. package/views/dist/panels/model.d.ts +6 -1
  223. package/views/dist/panels/react/customize-body.d.ts +4 -2
  224. package/views/dist/panels/react/customize-body.js +3 -3
  225. package/views/dist/panels/react/customize.js +4 -2
  226. package/views/dist/panels/react/filter/FilterEditor.js +2 -2
  227. package/views/dist/panels/react/filter/PhoneFilterEditor.d.ts +8 -2
  228. package/views/dist/panels/react/filter/PhoneFilterEditor.js +9 -6
  229. package/views/dist/panels/react/filter/filter-body.d.ts +8 -5
  230. package/views/dist/panels/react/filter/filter-body.js +17 -6
  231. package/views/dist/panels/react/filter/filter-part-body.d.ts +4 -1
  232. package/views/dist/panels/react/filter/filter-part-body.js +3 -1
  233. package/views/dist/panels/react/panel-sheet.d.ts +5 -1
  234. package/views/dist/panels/react/panel-sheet.js +6 -2
  235. package/views/dist/panels/react/panel-step.d.ts +12 -0
  236. package/views/dist/panels/react/panel-step.js +26 -0
  237. package/views/dist/panels/react/sort/SortEditor.d.ts +4 -0
  238. package/views/dist/panels/react/sort/SortEditor.js +5 -2
  239. package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +8 -0
  240. package/views/dist/panels/react/toolbar/ReadyToolbar.js +84 -2
  241. package/views/dist/panels/react/toolbar/ToolbarBarFilter.js +2 -2
  242. package/views/dist/panels/react/toolbar/ToolbarFilterAdd.d.ts +16 -0
  243. package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +49 -0
  244. package/views/dist/panels/react/toolbar/ToolbarFilterSheet.js +3 -1
  245. package/views/dist/panels/react/toolbar/ToolbarFilters.d.ts +4 -1
  246. package/views/dist/panels/react/toolbar/ToolbarFilters.js +36 -21
  247. package/views/dist/panels/react/toolbar/ToolbarQuickFilters.d.ts +4 -1
  248. package/views/dist/panels/react/toolbar/ToolbarQuickFilters.js +2 -2
  249. package/views/dist/panels/react/toolbar/ToolbarSortPill.d.ts +5 -0
  250. package/views/dist/panels/react/toolbar/ToolbarSortPill.js +15 -6
  251. package/views/dist/panels/react/toolbar/panel-part.d.ts +5 -1
  252. package/views/dist/panels/react/toolbar/panel-part.js +2 -2
  253. package/views/dist/panels/react/toolbar/use-filter-add.d.ts +16 -0
  254. package/views/dist/panels/react/toolbar/use-filter-add.js +32 -0
  255. package/views/dist/panels/react.d.ts +1 -0
  256. package/views/dist/panels/react.js +1 -0
  257. package/views/dist/panels/settings/filter-groups.js +35 -1
  258. package/views/dist/panels/settings/group-buckets.js +1 -0
  259. package/views/dist/provider/ViewsProvider.d.ts +7 -1
  260. package/views/dist/provider/ViewsProvider.js +23 -3
  261. package/views/dist/provider/components.d.ts +34 -4
  262. package/views/dist/provider/moment.d.ts +6 -0
  263. package/views/dist/provider/moment.js +10 -0
  264. package/views/dist/styles.css +1276 -51
  265. package/views/dist/styles.unlayered.css +1277 -51
  266. package/views/docs/contract.md +23 -15
  267. package/views/docs/controls/alert-dialog.md +37 -0
  268. package/views/docs/controls/alert.md +30 -0
  269. package/views/docs/controls/collapsible.md +22 -0
  270. package/views/docs/controls/filter-editor.md +28 -0
  271. package/views/docs/controls/group-editor.md +11 -0
  272. package/views/docs/controls/links-editor.md +25 -0
  273. package/views/docs/controls/modal.md +55 -0
  274. package/views/docs/controls/notice.md +32 -0
  275. package/views/docs/controls/number-editor.md +12 -0
  276. package/views/docs/controls/pane.md +25 -0
  277. package/views/docs/controls/radio.md +39 -0
  278. package/views/docs/controls/sort-editor.md +27 -0
  279. package/views/docs/controls/toast.md +32 -0
  280. package/views/docs/controls/values-editor.md +40 -0
  281. package/views/docs/controls/views-list.md +8 -0
  282. package/views/docs/guides/cells.md +1 -1
  283. package/views/docs/guides/display.md +1 -1
  284. package/views/docs/guides/the-grid.md +1 -1
  285. package/views/docs/guides/the-provider.md +19 -0
  286. package/views/docs/reference/cells.md +2 -2
  287. package/views/docs/reference/controls.md +326 -8
  288. package/views/docs/reference/display.md +2 -2
  289. package/views/docs/reference/editors-relation.md +1 -1
  290. package/views/docs/reference/looks.md +20 -3
  291. package/views/docs/reference/panels-react.md +7 -6
  292. package/views/docs/reference/panels.md +1 -1
  293. package/views/docs/reference/react.md +8 -8
  294. package/views/docs/reference/views.md +1 -0
@@ -124,7 +124,7 @@ Import from `viewkitjs/views/controls` to draw ViewKit's default controls: the O
124
124
  - `InlineInputProps` — its props.
125
125
  - `InlineInputGroup` — an inline input with something beside the value in one row; its button is `xs`.
126
126
  - `InlineInputGroupProps` — its props.
127
- - `NumberField` — a number typed in, stepped or bounded, on Base UI's number field: the Input's own field with its steppers (or `steppers="arrows"`), `before` and `after` it, `align`, `scrub`; `chrome` `field`, `soft`, `inline` or `bare`.
127
+ - `NumberField` — a number typed in, stepped or bounded, on Base UI's number field: the Input's own field with its steppers (or `steppers="arrows"`), `before` and `after` it, `align`, `scrub`; `chrome` `field`, `soft`, `inline` or `bare`. One ⌘Z takes back a typed run: while a value is typed, Base UI's hidden form input keeps what it held until the box is left, Enter is pressed or a change that isn't typing arrives; a named field's is written as it comes.
128
128
  - `NumberFieldProps` — its props.
129
129
  - `Field` — a field: its `label`, its control, and under it its `note` or its `error` (several shown each once), `orientation`, `quietLabel` and its `form`, the computer's unless said: its place says the phone's where it draws a phone's form.
130
130
  - `FieldProps` — its props.
@@ -204,6 +204,8 @@ Their stylesheets are `input.css`, `inline-input.css`, `field.css`, `toggle.css`
204
204
  - `MenuListShown` — the same rows standing still on a page: `open` shows a level's rows beside it, `on` a row as under the pointer.
205
205
  - `MenuListPanelRows` — a menu's rows in a panel that is no menu (a pane, a popover): one tab stop, ↑ ↓ wrapping, Home, End and a typed letter, Enter and Space press, → presses a row one level in, which `onOpen` hands its holder; `ticks` `box`, `switch` or `eye`; rows with a `grip` moved by it, the pointer or ↑ ↓ on it.
206
206
  - `MenuListPanelRowsProps` — its props.
207
+ - `MenuListWords` — the words its rows with a grip and its Switches say: a grip's name, how the rows move on a computer and on a phone, a move said, a Switch's two words; handed as `words` to `MenuList` and `MenuListPanelRows`.
208
+ - `MENU_LIST_WORDS` — those words in English.
207
209
  - `MenuListRow` — a name and its value as one row standing alone, at the list's own height and inset.
208
210
  - `MenuScroll` — what scrolls in a menu's panel: its rows alone, the Scrollbar over them.
209
211
  - `MenuEntry` — a row of a menu: an action, a link, a tick, a choice or actions one level in, a pick under a heading, a group, a separator.
@@ -300,7 +302,7 @@ Their stylesheets are `input.css`, `inline-input.css`, `field.css`, `toggle.css`
300
302
  - `PickerDoing` — what its list is doing: `searching` or `failed`.
301
303
  - `PickerLead` — the row that leads, where its field leads several.
302
304
  - `PickerBoxSearch` — what a box that is its search is handed: its keys and what it holds.
303
- - `PickerItem` — a row handed to it: its value, words, second line, group, level, menu, count.
305
+ - `PickerItem` — a row handed to it: its value, words, second line, group, level, menu, count, and the words its search also finds (`also`).
304
306
  - `PickerAs` — what a row is drawn as: an Option, a Status, an Avatar, a sign or a mark.
305
307
  - `PickerRow` — a row its list shows.
306
308
  - `RowsInput` — what its rows are worked out from.
@@ -331,9 +333,246 @@ Their stylesheets are `input.css`, `inline-input.css`, `field.css`, `toggle.css`
331
333
  - `chipsThatFit` — how many chips stand on its one line.
332
334
  - `filledMatch` — the choice a browser's fill names.
333
335
 
334
- <!-- The panels': the Pane, the toolbar button, the Radio, the Modal, the alert dialog, the Toast, the Collapsible, the Alert, the Notice -->
335
-
336
- <!-- The editors: the Text editor, the Picker, the Date editor, the Compound editor -->
336
+ <!-- The panels' block: the Pane, the toolbar button, the Radio, the sort editor, the views list, the filter editor, the group editor, the Modal, the alert dialog, the Toast, the Collapsible, the Alert, the Notice -->
337
+
338
+ ## The Pane
339
+
340
+ A list's panel at its right edge, on a computer, on Base UI's dialog, not modal: nothing is dimmed, the list stays in use beside it, and a press outside or the focus leaving never closes it. Escape closes it, unless it was pressed inside another popup over the list (a Menu, a Popover, a Select's list), or a control took the key; with two Panes open, an Escape outside both closes the one nearest the focus, else the one opened last. The focus lands on it as it opens and goes back to what opened it as it closes. Its stylesheet is `viewkitjs/views/controls/pane.css`; its options are `PANE_LOOKS`.
341
+
342
+ - `Pane` — the shell: `open`, `onOpenChange` (with `PaneChangeDetails`), `container` (the list's box it stands in: positioned, never scrolling; nothing is drawn while it is null), `opener`, `initialFocus`, `aria-label`, `className`, and what stands in it.
343
+ - `PaneProps` — its props.
344
+ - `PaneChangeDetails` — why it closed (`reason`) and the event.
345
+ - `PaneCloseReason` — `escape-key`, `close-press` or `none`.
346
+ - `PaneHead` — its head, at its top: what stands in it draws its title and ✕.
347
+ - `PaneBody` — what it holds, scrolling between its head and its foot, with its scrollbar.
348
+ - `PaneFoot` — its foot, under a line across the whole Pane.
349
+ - `PaneTitle` — its title, which names it to a screen reader.
350
+ - `PaneClose` — what closes it from inside (`render`, a Button), with the reason `close-press`.
351
+ - `usePane` — its holder: one thing in it at a time, `opens(key)` spread on each opener, `pane` spread on the Pane, `shown`, `close`.
352
+ - `paneAfter` — the holder's state after a press: an opener's key, or a close.
353
+ - `PaneState` — what stands in it, by its key, and what opened it last.
354
+ - `PanePress` — a press on an opener, or a close from inside.
355
+
356
+ ## The Radio
357
+
358
+ One of a few choices, all of them in sight, on Base UI's radio group: the arrow keys move the choice, a hidden input carries it in a form, and the label round a ring presses it. Its stylesheet is `viewkitjs/views/controls/radio.css`; the words beside a choice and a card's edge and ground (`o-choice-*`) are the app's own choice styles, as the Checkbox's are. Its group marks a phone from the device (`data-vk-phone`), where marked cards stand one under another and tiles on one card. The Links editor draws a link's lead with it.
359
+
360
+ - `RadioGroup` — its choices, one under another: its `label` (the group a FieldSet, its name the legend; without one, give it an `aria-label`), `row` for two to four side by side, `tiles` for marked cards three across, and Base UI's group props (`value`, `defaultValue`, `onValueChange`, `disabled`).
361
+ - `RadioGroupProps` — its props.
362
+ - `Radio` — one choice: its `value`, its `label` and `note` beside it, `card` drawn as a card, `mark` a mark in place of the ring on a marked card.
363
+ - `RadioProps` — its props.
364
+
365
+ ## The sort editor
366
+
367
+ What a list's sort opens, Attio's: the view's rules in order, the first sorting first, three at most, one per field (a place by one of its parts). Every change is handed on as it is made, so the list sorts again at once. Its stylesheet is `viewkitjs/views/controls/sort-editor.css`; its root marks a phone from the device (`data-vk-phone`).
368
+
369
+ - `useSortEditorParts` — the editor's state and its parts (`SortEditorParts`): the `body`, and on a phone the Sheet head's ✕ and ✓, or on a step its Back (`head.onBack`) and its `title`. Its props (`SortEditorProps`): `label`, the `fields` (Picker rows, each with its mark; one leading one level in holds its own), the `rules`, `onRulesChange` (the whole rules, and the set-aside sorts left when one of them is written), `max`, `form` (`computer`, `phone`, or `narrow`: the phone's structure at a computer's sizes, for a narrow place), `onDone`, the fields' `search` words, `aside` (the sorts set aside, `SortAside`s), `fieldOf` (the field a sort key sorts, so a place sorts once by one of its parts), `addSort` (Add sort at a computer's foot, true unless said), `words`, and for a page standing still `lifted`, `opens` (`SortEditorOpens`) and `level`. On a computer each rule is its grip, its field's and its direction's Select, and ×, with Add sort and Clear all sorts at the foot; the set-aside sorts follow, each its field's box dashed in the warning colour with why, its direction greyed, ⋯ holding why, Put back and Delete. On a phone each rule is a card row, its direction under its name; a press turns the body to its direction, Add sort to the fields, a set-aside sort's row to the fields to point it at one: steps of the same sheet, never a sheet on top. The body answers no Escape: its holder's sheet does. Its hook joins this door as `useSortEditor`, and the body alone as `SortEditor`, once VK-727 retires the panels' older sort editor of those names.
370
+ - `SortEditorProps` — its props.
371
+ - `SortEditorParts` — its parts: the body, the head's buttons, and on a phone's step its title and Back.
372
+ - `SortEditorOpens` — what a page shows standing open: a rule's field or direction, by its place.
373
+ - `sortableFields` — the fields as the list's Sort offers them to add a rule: those another rule sorts greyed with "Sorted", one level in too.
374
+ - `SORT_MAX` — how many rules a view sorts by, at most: three.
375
+ - `addSort` — the rules with one more at their end, sorting by a field, ascending.
376
+ - `canAddSort` — whether another rule can be added: fewer than its `max`.
377
+ - `sortedFields` — the fields the rules sort by already, each as `fieldOf` names it.
378
+ - `takenBy` — whether another rule than the one on `own` already sorts a field.
379
+ - `sortLabel` — the sort as the bar names it: its first rule's field, by its path ("Company › Region"), and how many follow.
380
+ - `SortAside` — a sort set aside: its stored field key, its words, its direction, why in words, and the key it sorts by once put back.
381
+ - `openPlaces` — how many rules fit: `max` less the sorts set aside.
382
+ - `repoint` — a set-aside sort pointed at a field: a rule on it, in its direction, at the end; null where another rule sorts that field.
383
+ - `putBack` — a set-aside sort put back on its own field; null while it doesn't fit.
384
+ - `dropAside` — the sorts set aside without one.
385
+ - `FieldOf` — the field a sort key sorts: a place's part key sorts its place.
386
+ - `SORT_EDITOR_WORDS` — its words in English.
387
+ - `sortWords` — its words: the handed ones over the English.
388
+ - `SortEditorWords` — its words' shape.
389
+
390
+ `CONTROLS.SortBody` draws ViewKit's sort body with it: the rules as data, every change handed back whole, the set-aside sorts as rows of their own, `addSort` honoured, a place's parts sorted once, a phone's step told to the sheet (`onStepChange`), and under `sheetActions: "bar"` its own head (✕, the title, ✓; on a step Back and the step's title). Every word is the app's, from its messages.
391
+
392
+ ## The views list
393
+
394
+ What the view switcher opens: the Picker over a list's views, each its layout's mark, its name and its count where handed, the open one held (in its place on a phone too), ↓ and ↑ going on from it. A press opens a view and closes the list; a press and drag (on a phone after a hold) or ⌥↑ ⌥↓ moves one among the views under its heading. Its holder hands each view's menu and New view. Where private views are on, Shared and Just me head the views and a private view wears a lock. Its stylesheet is `viewkitjs/views/controls/views-list.css`; its root marks a phone from the device (`data-vk-phone`). Its options are on `viewkitjs/views/looks` (`VIEWS_LIST_LOOKS`). Its props, `ViewsListProps`, stay inside the controls part until VK-727: `viewkitjs/views/react` already exports an atom by that name.
395
+
396
+ - `useViewsList` — its state and the parts a shell pours in: `views`, `open`, `layouts` (each view's mark by its layout), `onChange` (it hands on `open` and `order`), `onDone`, `form`, `entries` (a view's menu, by its id), `onNew` (New view), `privateViews` (left out, the Private views option worn round it), `reorder` (`false`: no row moves), `label` and `words`.
397
+ - `ViewsListParts` — its `body`, and on a phone its Sheet head's buttons (`head`).
398
+ - `ViewsList` — the body alone, for a shell that holds only a body.
399
+ - `LOCK` — a private view's lock, as the list draws it after its name.
400
+ - `useViewsListWorn` — the views list's options worn round an element, read again as they change.
401
+ - `listed` — the views as the list shows them: as they are, or with private views on, the shared ones, then the reader's own.
402
+ - `SHARED` — the shared views' heading's English ("Shared").
403
+ - `JUST_ME` — the reader's own views' heading's English ("Just me").
404
+ - `ListView` — a view as an app hands it: its `id`, `name`, `layout`, and `private`, `favorite`, `changed` and `count` where it has them.
405
+ - `ViewsListLayout` — a layout a view takes: its `id`, `name`, `mark`, its one `line`, and `columns` where it asks which field makes its columns.
406
+ - `ViewsListChange` — what happened, handed on as it happens.
407
+ - `viewsListWornOf` — the options worn round an element, `{ privateViews, favorites }`.
408
+ - `ViewsListWorn` — those two.
409
+ - `VIEWS_LIST_ATTRS` — the attributes it reads them from.
410
+ - `ViewsListWords` — its words: `label`, `search` (a computer's), `find` (a phone's), `newView`, `shared`, `justMe`, `none`, and `picker` (the list's own).
411
+ - `VIEWS_LIST_WORDS` — their English.
412
+ - `viewsListWords` — the words handed over the English.
413
+
414
+ `CONTROLS.ViewsListBody` draws it where the view switcher opens: the axis's views, each its glyph by your `AppIcon`, its count and its menu rows as the Menu's (a row with no reason it can't be used says your `views.menus.not-now`), New view from `onCreate` in the axis's word, an order handed to `onReorder` as one whole block and never one that moves a view `canDrag` refuses, Shared and the reader's own wherever a view is private, and every word your messages'. It is internal: `CONTROLS` is the way in.
415
+
416
+ ## The filter editor
417
+
418
+ What an advanced filter opens on a computer and Filter on a phone, Attio's: the view's rules, each Where or its level's join, its field, how it compares and its value in its type's own box, joined by And or Or, in groups three deep; and the filter part, what a filter's way and value open on the bar. A body, as the sort editor is: the Popover holds it on a computer and the Sheet on a phone. Every word is handed (`words`). Its stylesheet is `viewkitjs/views/controls/filter-editor.css`; its root marks a phone from the device (`data-vk-phone`).
419
+
420
+ - `useFilterEditorParts` — the editor's state and its parts (`FilterEditorParts`): the `body`, and on a phone the Sheet head's ✕ and ✓, or on a step its Back (`head.onBack`) and its `title`. Its props (`FilterEditorProps`): `label`, the `fields` (each typed, a choice's values with it; one leading one level in holds its own), the `filter`, `onFilterChange`, `at`, `ids`, `levels`, `form` (`computer`, `phone`, or `narrow`), `onDone`, `standing`, `own` (ViewKit's own words and value body for a rule the kit has no box for) and `words`. On a phone each box's list, a date, a value ViewKit draws and Add filter turn the body to a step of the same sheet, never a sheet on top; the body answers no Escape: its holder's sheet does. Its hook joins this door as `useFilterEditor`, and the body alone as `FilterEditor`, once VK-727 retires the panels' older filter editor of that name.
421
+ - `FilterEditorProps` — its props.
422
+ - `FilterEditorParts` — its parts: the body, the head's buttons, and on a phone's step its title and Back.
423
+ - `FilterOwn` — ViewKit's own words and value body for a rule: its field's words, its way's word, its value's words, its value body.
424
+ - `FilterPartBody` — what a part of a filter on the bar opens: the fields, its type's ways, or its value in its type's own.
425
+ - `FilterPartProps` — its props: `part`, `rule`, `label`, `fields`, `filter`, `onFilterChange`, `onDone`, `own`, `form` and `words`.
426
+ - `FilterPart` — which part was pressed: `field`, `how` or `value`.
427
+ - `PairValue` — a range's From and To: two Number fields, an en dash between.
428
+ - `valuePlaceholder` — what a filter's value says while it has none, by its field's type.
429
+ - `FILTER_SEARCH` — the fields' search, in English.
430
+ - `HOW` — each type's ways, in the order they are offered, the first a new rule's.
431
+ - `CHECKED` — a yes/no's two values, Checked and Unchecked.
432
+ - `wayOf` — a type's way by its value.
433
+ - `FilterField` — a field a list filters by: a Picker row with its type, a choice's values, a related record's fields one level in.
434
+ - `FilterWay` — one way a type compares: its value, its words, what it takes.
435
+ - `Takes` — what a way takes: one value, several, two, or none.
436
+ - `FILTER_DEPTH` — how many levels deep rules stand at most: three.
437
+ - `NO_FILTER` — the filter with nothing in it.
438
+ - `OWN_WAY` — the prefix of a way only ViewKit words (`vk:<operator>`).
439
+ - `isOwnWay` — whether a rule's way is one only ViewKit words.
440
+ - `addRule` — a rule on a field, its type's first way and no value, added at a group's end.
441
+ - `removeRule` — the filter with a rule or group taken away, any group left empty with it.
442
+ - `changeRule` — a rule changed: its field, its way, or its value.
443
+ - `clearAll` — the filter with nothing in it, its id and join kept.
444
+ - `setJoin` — a level's join, which is every join at its level.
445
+ - `toGroup` — a rule turned into a group of its own.
446
+ - `canGroup` — whether a rule can become a group.
447
+ - `depthOf` — how many levels hold an item.
448
+ - `idsOf` — every id in the filter.
449
+ - `itemOf` — a rule or group by its id.
450
+ - `fieldOf` — the field a rule reads.
451
+ - `rulesOf` — every rule, in order, groups opened.
452
+ - `takesOf` — what a rule's way takes.
453
+ - `isWhole` — whether a rule narrows the list.
454
+ - `isSetAside` — whether a rule is set aside.
455
+ - `isPair` — whether a value is a range's From and To.
456
+ - `isGroup` — whether an item is a group.
457
+ - `isAdvanced` — whether the filter is advanced: an Or between its rules, or a group in it.
458
+ - `barOf` — the filter as the bar reads it: each rule at its own level plain, each group there advanced.
459
+ - `BarFilter` — a filter as the bar shows it.
460
+ - `toAdvanced` — a plain filter turned advanced.
461
+ - `setGroup` — an advanced filter put back, as its editor changed it.
462
+ - `valueText` — a rule's value in words.
463
+ - `ruleText` — a rule in words.
464
+ - `FilterAside` — a rule ViewKit set aside, in words: its field's name, why, and whether it can be put back.
465
+ - `FILTER_EDITOR_WORDS` — its words in English.
466
+ - `filterWords` — its words: the handed ones over the English.
467
+ - `FilterEditorWords` — its words' shape.
468
+
469
+ `CONTROLS.FilterBody` draws ViewKit's filter body with it: the level as data, every change handed back whole, a choice's values from each field's `options`, a set-aside rule in its place saying why, ViewKit's own words and value body for a way the kit has no word for, a field it doesn't list or a choice with no values, a phone's step told to the sheet (`onStepChange`), and under `sheetActions: "bar"` its own head (✕, the title, ✓; on a step Back and the step's title). `CONTROLS.FilterPartBody` draws a filter's way and value with the filter part, ViewKit's ways and own value body for a rule the kit draws no part of. Every word is the app's, from its messages. Both are internal: `CONTROLS` is the way in.
470
+
471
+ ## The group editor
472
+
473
+ What Customize's Group opens: the list's group as the Menu list's rows. Group by, Order, Direction, a date field's Date step and Hide empty groups, each saying what it is and opening its choices in place; then the groups under their heading, each its grip, its name and its Switch, dragged into your own order, Hide all (Show all once none shows) at the heading; Remove grouping at its foot. A body: Customize holds it, a screen in its panel on a computer and a step of its sheet on a phone. A setting's choices stand in place of the settings, and the editor hands their name and the way back to its holder (`level`), whose head shows them. Every word is handed (`words`). Its stylesheet is `viewkitjs/views/controls/group-editor.css`; its root marks a phone from the device (`data-vk-phone`).
474
+
475
+ - `useGroupEditor` — the editor's state and its parts (`GroupEditorParts`): the `body`, and the `level` it stands on. Its props (`GroupEditorProps`): `label`, the `fields` (Picker rows; one leading one level in holds its own), `ownOrders` (a field's own order, in its words), `orders` (the orders each field offers), `manualOrder` (whether Your own may be picked), `steps` (each date field's steps), the `group`, the groups as `values` (each with its count), `onGroupChange` (the whole group, null once taken off), `search`, `form`, `words`, and for a page standing still `opens` and `opensLevel`. The body alone, `GroupEditor`, joins this door with VK-727, beside the other panels' bodies.
476
+ - `GroupEditorProps` — its props.
477
+ - `GroupEditorParts` — its parts: the body, and the level it stands on (its name and the way back), null at the settings.
478
+ - `GroupEditorValue` — a group as the editor draws it: its value, its name, its mark, its count.
479
+ - `GroupEditorLevel` — a setting's choices: Group by's fields, Order's, Direction's or a date's steps.
480
+ - `GroupOrder` — an order: the field's own, by name, by count, your own.
481
+ - `GroupDirection` — ascending or descending.
482
+ - `GroupValue` — a group: its value, its name, how many records it holds.
483
+ - `startGroup` — a new group by a field: its own order where it has one, else by name; ascending; a date's step held.
484
+ - `groupOrders` — the orders a field offers: its own first, then Name, Count and Your own; only those offered.
485
+ - `orderedGroups` — the groups in the order the list shows them.
486
+ - `moveGroup` — a group moved among the groups as the list shows them: the order becomes your own.
487
+ - `setGroupShown` — a group shown or hidden by its Switch.
488
+ - `hideAllGroups` — every group hidden.
489
+ - `showAllGroups` — every group shown.
490
+ - `noneShown` — whether no group shows.
491
+ - `directionTurns` — whether Direction turns the order: every order but your own.
492
+ - `groupLabel` — the group as its row names it: its field, one level in by its path; none, None.
493
+ - `GROUP_EDITOR_WORDS` — its words in English.
494
+ - `groupWords` — its words: the handed ones over the English.
495
+ - `GroupEditorWords` — its words' shape.
496
+
497
+ `CONTROLS.GroupBody` draws ViewKit's group body with it: the group as one value, every change handed back as one write, the orders each field offers, Your own where the list offers it, a date field's steps, each group's count (`ViewsGroupEntry.count`) for its Count order, and its level told to what holds it (`onStepChange`), which ViewKit's Customize shows in its head. Every word is the app's, from its messages. It is internal: `CONTROLS` is the way in.
498
+
499
+ ## The Modal
500
+
501
+ What holds a form, a quick create or a long read in the middle of the screen, on Base UI's dialog: it traps the focus, which starts on the first box it holds, and Escape, its X, Cancel and a press outside are its ways out. With unsaved changes every way out asks first, in an alert dialog over it; while its action works nothing closes it, and if the work throws it stays open and says what went wrong in a Notice. Opened from inside a Popover, it stands over it. On a phone it is the Sheet at full height, Cancel and its action in the head. Its stylesheet is `viewkitjs/views/controls/modal.css`; its options and looks are `MODAL_LOOKS`.
502
+
503
+ - `Modal` — `open`, `onOpenChange`, `title`, `mark`, `path`, `onOpenAsPage`, `size` (`sm`, `md`, `lg` or `xl`), `foot` (`both`, `action` or `none`), `action` (`ModalAction`), `cancel` ("Cancel" unless said), `footStart`, `dirty`, `state` and `failed` (shown as they stand, on a page that shows one), `container`, `standing`, what it holds, and `words`.
504
+ - `ModalProps` — its props.
505
+ - `ModalAction` — what its foot confirms: `label`, `kind` (`primary` or `danger`), `disabled`, and the work it starts (`run`).
506
+ - `ModalSize` — how wide it stands.
507
+ - `ModalFoot` — what its foot holds.
508
+ - `ModalState` — `rest`, `saving` or `failed`.
509
+ - `MODAL_WORDS` — its words in English: its head's Close and Open as a page, what a failure says when its work threw no words, and the discard question's title, line and answers.
510
+ - `ModalWords` — its words' shape.
511
+
512
+ ## The alert dialog
513
+
514
+ The panel an Alert stands in, over the page, on Base UI's alert dialog: it traps the focus, which starts on Cancel; a press outside does nothing; Escape is its way out, answering no; only the Alert's action confirms. While its action's work runs nothing else can be pressed; if it throws, it stays open and says what went wrong. On a phone it is its panel, with an X of its own where the frame shows one, or a Sheet where the Alert's Opens as is `sheet` (`data-alert-phone`). Its stylesheet is `viewkitjs/views/controls/alert-dialog.css`; its options are `ALERT_DIALOG_LOOKS`.
515
+
516
+ - `AlertDialog` — what it asks (an `AlertAsk`), `open`, `onAnswer` (true for the action, false for every way out), `state` and `failed` (shown as they stand, on a page that shows one), `container`, `standing`, and `words`.
517
+ - `AlertDialogProps` — its props.
518
+ - `AlertDialogPanel` — the panel alone, round what it holds: what's behind it, the panel in the middle of the screen, and its X on a phone, named by its `close` ("Close" unless said).
519
+ - `AlertDialogPanelProps` — its props.
520
+ - `confirm` — asks from anywhere, through the one `AlertDialogHost`: a promise, true for its action, false for every way out. One question at a time: a newer one takes the place of the open one, whose asker hears false.
521
+ - `AlertDialogHost` — where `confirm()` shows: put it in the app once. Its `words`.
522
+ - `ALERT_DIALOG_WORDS` — its words in English: Close, what a failure says when its work threw no words, and Try again.
523
+ - `AlertDialogWords` — its words' shape.
524
+
525
+ ## The Toast
526
+
527
+ What just happened, said for a moment at the bottom of the screen, on Base UI's toast: announced without taking the focus, it leaves after its time (`--vk-toast-duration`, four seconds where nothing declares it), and the pointer or the keyboard on it holds the time. One at a time: a new toast takes the place of the one showing, and a working one turns into its result where it stands. Undo puts the thing back and closes it at once; ⌘Z does the same while it shows, unless the keys are typing into a field; Escape closes it. Its stylesheet is `viewkitjs/views/controls/toast.css`.
528
+
529
+ - `Toast` — where toasts are made and rise: put it round the app once. `inside` (at the bottom of the element round it instead), `manager` (show what a `ToastManager` sends), `stack` (several, the newest in front), and `words`.
530
+ - `useToast` — shows a toast (`ToastOptions`), and hands back its id.
531
+ - `ToastOptions` — `words` (what just happened), `title`, `undo`, `action` with `onAction`, `working`, `failed`, `meaning` (a Notice's), `closable` and `duration`.
532
+ - `createToastManager` — toasts called from anywhere, outside React: `show`, `update`, `close`, `promise`; give it to the `Toast` that shows them. It takes the words too.
533
+ - `ToastManager` — its shape.
534
+ - `ToastShown` — a toast standing still on a page that shows how it looks: it never times out or moves. Its words are its `said`, since its `words` are what it says.
535
+ - `TOAST_WORDS` — its words in English: Undo, Close.
536
+ - `ToastWords` — its words' shape.
537
+
538
+ ## The Collapsible
539
+
540
+ One part that opens and closes in place, under its trigger or set open from outside, on Base UI's collapsible: the trigger says whether its part is open and which part it opens, Enter and Space press it, and a closed part leaves the page unless it is kept for the browser's find. Its height moves from nothing to what it holds, easing out both ways, its time following its height; under reduced motion it opens and closes at once. Its stylesheet is `viewkitjs/views/controls/collapsible.css`; its root marks a phone from the device (`data-vk-phone`), where its trigger is 44 high; its options are `COLLAPSIBLE_LOOKS`.
541
+
542
+ - `Collapsible` — the part and its trigger: `open` with `onOpenChange` when set from outside, `defaultOpen` when it keeps its own state, `disabled`, `className`.
543
+ - `CollapsibleProps` — its props.
544
+ - `CollapsibleTrigger` — what opens and closes it, plain: its name after a chevron, which turns down while the part is open; `render` hands your own element, which keeps its look and gains the behaviour.
545
+ - `CollapsibleTriggerProps` — its props.
546
+ - `CollapsiblePanel` — the part: the box that crops it while its height moves (`clipClassName`), and what it holds inside (`className`); `durationMs` an app's own time, both ways; `hiddenUntilFound` keeps it on the page for the browser's find.
547
+ - `CollapsiblePanelProps` — its props.
548
+
549
+ `CONTROLS.Collapse` draws ViewKit's folds (a grid's group, a field's note, the selection sheet's groups) as the Collapsible's part, set open from outside, so an app that spreads `CONTROLS` hands no `Collapse`.
550
+
551
+ ## The Alert
552
+
553
+ What an app asks before something happens: its title says what it asks, a line what follows, and its two answers are the way out and the action, the only one that confirms. It knows no shell: the alert dialog stands it in its panel, or on a phone in a Sheet. Its stylesheet is `viewkitjs/views/controls/alert.css`; its options are `ALERT_LOOKS`.
554
+
555
+ - `Alert` — `title`, `line`, `action` (its word), `kind` (its colour: `primary`, `information`, `success`, `warning` or `danger`), `cancel` ("Cancel" unless said), `icon`, `onAnswer` (true for the action, false for the way out), `state`, `failed` (what went wrong, in its line's place), `phone`, `shell` (`panel` or `sheet`), `cancelRef`, `Title` and `Line` (the elements its title and line are drawn as), and `words`.
556
+ - `AlertProps` — its props.
557
+ - `AlertAsk` — what one asks: its title, line, action, kind, cancel, icon and the work its action starts (`run`).
558
+ - `AlertKind` — its action's colour.
559
+ - `AlertState` — `rest`, `working` (nothing else can be pressed) or `failed` (it stays open and says so).
560
+ - `ALERT_WORDS` — its words in English: Try again.
561
+ - `AlertWords` — its words' shape.
562
+
563
+ ## The Notice
564
+
565
+ A sentence set into the page on its meaning's ground: worth knowing, done, careful, wrong, or a plain fact with no colour of its own. It is part of the page, there when the page is, fading in only when it arrives because of something just done; put away or resolved, it fades out and its space closes. Its stylesheet is `viewkitjs/views/controls/notice.css`; its root marks a phone from the device (`data-vk-phone`), where its actions drop under the sentence.
566
+
567
+ - `Notice` — `meaning` (`information`, the default, `success`, `warning`, `danger` or `neutral`), `icon` (its own, or false for none), `title`, the sentence as its children, `actions` (at most two: `{ label, onClick }` for the text Button, or any element), `onRetry` (Retry first among them, Retrying… while it works, the notice going once it does), `dismissible` with `onDismiss` (× at its end), `urgent` (read out at once, `role="alert"`), `arrived` (it fades in), `className`, and `words`.
568
+ - `NoticeProps` — its props.
569
+ - `NoticeMeaning` — `information`, `success`, `warning` or `danger`.
570
+ - `NoticeAction` — an action drawn from its words: `{ label, onClick }`.
571
+ - `NOTICE_ICONS` — each meaning's icon, as its paths: the Alert and the Toast draw their marks with them too.
572
+ - `NOTICE_WORDS` — its words in English: Retry, Retrying…, Dismiss.
573
+ - `NoticeWords` — its words' shape.
574
+
575
+ <!-- The editors' block: the Text editor, the Picker, the Date editor, the Compound editor, the Number editor, the Values editor, the Links editor -->
337
576
 
338
577
  ## The Text editor
339
578
 
@@ -412,7 +651,7 @@ Its stylesheet is `viewkitjs/views/controls/text-editor.css`, beside the inline
412
651
  - `addDays` — a day moved by a number of days.
413
652
  - `addMonths` — a day moved by a number of months, kept inside the month it lands in.
414
653
  - `weekday` — 0 for Monday to 6 for Sunday.
415
- - `todayOf` — today, in the browser's own day.
654
+ - `todayOf` — today, in the browser's own day, or at the moment handed.
416
655
  - `DateSegment` — a part: `day`, `month`, `year`, `hour`, `minute`.
417
656
  - `DateSegments` — the parts' values, each a number or null.
418
657
  - `segmentRange` — a part's least and greatest.
@@ -434,7 +673,7 @@ Its stylesheet is `viewkitjs/views/controls/date-editor.css`, beside the Button'
434
673
 
435
674
  ## The Compound editor
436
675
 
437
- `CONTROLS` fills its `PartsBody` with the Compound editor: ViewKit's name, place and range bodies, held as a shell that keeps the draft. A name types into First name and Last name, labelled boxes side by side; a place into its street, one box of several lines (line 1, and the rest line 2) under the field's own word for line 1 (`Address line 1` in ViewKit's own words, `Street address` where no word is handed), City, State beside Postal code, then its Country with its flag, the country's and the region's lists the Select's own under their boxes (on a phone a step of the Sheet); a range into From and To, its unit under them and its bands listed under those. ViewKit's name, place and range editors keep the draft, the full name's rule, a place's region code, Escape, Tab, the check and the save; a refusal is the host's to show. With its full name hidden (Shown as: Hidden, the default) the body hands a name of its own back as its parts joined once one changes, so the full name follows them; untouched, it stays the name's own.
676
+ `CONTROLS` fills its `PartsBody` with the Compound editor: ViewKit's name, place and range bodies, held as a shell that keeps the draft. A name types into First name and Last name, labelled boxes side by side; a place into its street, one box of several lines (line 1, and the rest line 2) under one word for both, `Street address` (`views.editors.place-street`) whatever the country, City, State beside Postal code, then its Country with its flag, the country's and the region's lists the Select's own under their boxes (on a phone a step of the Sheet); a range into From and To, its unit under them and its bands listed under those. ViewKit's name, place and range editors keep the draft, the full name's rule, a place's region code, Escape, Tab, the check and the save; a refusal is the host's to show. With its full name hidden (Shown as: Hidden, the default) the body hands a name of its own back as its parts joined once one changes, so the full name follows them, from the start when a letter typed on the cell opened it; untouched, it stays the name's own.
438
677
 
439
678
  - `useCompoundEditor` — the Compound editor, as the parts a shell pours in: its `body`, and on a phone the Sheet head's buttons (`head`) and a list's step `title`. Standing alone (`draft: "own"`, the default) it keeps on Enter, Escape or a press elsewhere, says why it keeps the value it had, and on a phone hands its head ✕ and ✓; held (`draft: "shell"`) it hands every change, the whole value each time, and keeps nothing. One kind per mount.
440
679
  - `CompoundEditor` — the body alone, for a shell that holds only a body.
@@ -457,7 +696,7 @@ Its stylesheet is `viewkitjs/views/controls/date-editor.css`, beside the Button'
457
696
  - `Country` — a country: its code and name, and its rows, words and regions where a field hands them.
458
697
  - `Region` — a region a country names: its code and its name.
459
698
  - `rowsOf` — a country's rows for the parts a field keeps, in its own order or Attio's.
460
- - `wordOf` — a part's words for a country; where no country names them, the app's from `words` when it hands them.
699
+ - `wordOf` — a part's words for a country; where no country names them, the app's from `words` when it hands them. In Attio's look the street takes Attio's word whatever the country.
461
700
  - `PlaceWords` — a place's boxes' words where no country names them: Attio's look's, the country-first look's, and the short ones a phone's row takes.
462
701
  - `streetOf` — the street as its one box holds it: line 1, and line 2 on the next line.
463
702
  - `streetParts` — the street box's text back as line 1 and line 2.
@@ -477,6 +716,85 @@ Its stylesheet is `viewkitjs/views/controls/date-editor.css`, beside the Button'
477
716
 
478
717
  A name's `NameValue` and `sameName`, and a range's `rangeText`, stay inside the editor: `viewkitjs/fields` names each already, with another meaning. Its stylesheets are `viewkitjs/views/controls/compound-editor.css` and `flag.css`, beside those of the controls it draws its parts with; their names are on [its page](../controls/compound-editor.md) and [the Flag's](../controls/flag.md). The flags are about 560 KB of SVG, loaded with the controls part.
479
718
 
719
+ ## The Number editor
720
+
721
+ `CONTROLS` fills its `NumberBody` with the Number editor: ViewKit's number, money and percent bodies, held as a shell that keeps the draft. A number types into the number field inline, over its cell, its up and down arrows at its end while it is edited; money's code stands before the amount, a press away from a list of each currency's sign and name in the conventions' language, found by its name or its code, ↓ there going on from the currency held; a number's unit the same; a percent shows its %. Home and End move the cursor. On a phone the Sheet holds the number field with the number pad, the currencies a step of the Sheet (`onStepChange`). ViewKit's number editor keeps the draft, the rounding to the field's decimals, Escape, Tab, the check, the empty rule and the save; a refusal is the host's to show. A duration keeps ViewKit's own box.
722
+
723
+ - `useNumberEditor` — the Number editor, as the parts a shell pours in: its `body`, and on a phone the Sheet head's buttons (`head`) and the currencies' step `title`. Standing alone (`draft: "own"`, the default) it keeps on Enter or a press elsewhere and leaves on Escape, and on a phone hands its head ✕ and ✓; held (`draft: "shell"`) it hands every change as it is read and keeps nothing.
724
+ - `useNumberEditorWorn` — the options worn round the body, read again as they change: a ref for its root, and what it wears.
725
+ - `NumberEditorProps` — its props: a `number`, `money` or `percent`, its value, its currency or unit and those on offer, its limits, decimals and reading, and its change.
726
+ - `NumberEditorParts` — what `useNumberEditor` hands back: its `body`, its phone `head` and a step's `title`.
727
+ - `numberText` — what a cell shows of a number once kept: its thousands back, money's code (or sign) before it, a percent's %.
728
+ - `readTyped` — what is typed, read as ViewKit's own box reads it: either separator unless one is stated; null for nothing, `NaN` for text that reads as no number.
729
+ - `boxLocale` — the locale the box reads with: the one handed, or one that writes the decimal separator handed.
730
+ - `NumberKind` — `number`, `money` or `percent`.
731
+ - `Currency` — a currency: its code, sign and name.
732
+ - `Unit` — a unit or a currency: its code, name, and the sign that stands for it where it has one.
733
+ - `Units` — how money's currency and a percent's % stand in what a cell shows: `code` or `sign`.
734
+ - `NUMBER_EDITOR_ATTRS` — the frame's attributes the body watches.
735
+ - `numberEditorWornOf` — the options worn round an element, each from the nearest frame; outside any frame, Attio's.
736
+ - `NumberEditorWorn` — its options as worn.
737
+ - `NUMBER_EDITOR_WORDS` — its words, in English: its lists' names and searches, the code button's name and the number field's steps. `CONTROLS.NumberBody` hands the app's (`views.menus.currency`, `views.editors.number-*`, listed in the contract).
738
+ - `numberWords` — the words handed over the English.
739
+ - `NumberEditorWords` — those words, and its lists' own (`picker`).
740
+
741
+ The body alone, as `NumberEditor`, stays inside the editor until the editors' older `NumberEditor` (`viewkitjs/views/editors/number`) leaves: one package holds no two public names alike. Its stylesheet is `viewkitjs/views/controls/number-editor.css`, beside those of the controls it draws with; its names are on [its page](../controls/number-editor.md).
742
+ ## The Values editor
743
+
744
+ `CONTROLS` fills its `ValuesBody` with the Values editor: ViewKit's bodies for several emails, phones, links or domains (and for one email or domain an app opens as a list of one, `oneValue`), held as a shell that keeps the draft. Each value is a pill with copy and trash, pressed to edit it in place, its label quiet after it; a grip moves it, by the pointer or by ↑ and ↓, and the first is the main one. A line at the foot adds one: a plus and its kind's words, or a phone's country (ViewKit's region for the record, else the last one kept, else the browser's region), its dial code and its pattern. Enter there adds the value and stays open; Enter on the empty line saves, as Enter on a value being edited first finishes it. A new value takes Work, Mobile or Other (a domain none), and a label is picked from Work, Personal, Mobile and Other in the app's words, or typed. ViewKit's value list editor keeps the draft, which value is kept as stored, Escape, Tab, the check and the save; a value that doesn't read, left in the line or in a value being edited, is handed as typed, so the host refuses it, says why and stays open. Escape in a label's or a country's list closes the list alone.
745
+
746
+ - `useValuesEditor` — the Values editor, as the parts a shell pours in: its `body`, and on a phone the Sheet head's buttons (`head`) and a list's step `title`. Standing alone (`draft: "own"`, the default) it keeps the list with what the line reads on Enter on the empty line, Escape or a press elsewhere, says why a value is refused under it, and on a phone hands its head ✕ and ✓; held (`draft: "shell"`) it hands every change, the whole list each time, and keeps nothing.
747
+ - `ValuesEditor` — the body alone, for a shell that holds only a body.
748
+ - `useValuesEditorWorn` — the options worn round the body, read again as they change.
749
+ - `ValuesEditorProps` — its props: what it holds several of, the list, its change, and its labels, country codes, words and language.
750
+ - `ValuesEditorParts` — what `useValuesEditor` hands back: its `body`, its phone `head` and a step's `title`.
751
+ - `ValuesKind` — what a field holds several of: `email`, `phone`, `link` or `domain`.
752
+ - `ListedValue` — one value of the list: what it is, its label, and whether it is the main one.
753
+ - `DialCode` — a phone's country code as a field hands it: the country, its code and how a number is written there.
754
+ - `LABELS` — the labels a value is picked from, in English.
755
+ - `labelFor` — a new value's label, in the words handed: Work for an email, Mobile for a phone, Other for a link; a domain none.
756
+ - `listOf` — the list with its main one first and marked main alone.
757
+ - `added` — what the line adds: the value as kept, a phone's country code before it; or why it is refused.
758
+ - `valuesText` — what a cell shows: the main one, and how many more.
759
+ - `openOf` — a value's open action: a call, an email written, the page.
760
+ - `splitEmail` — an email as its name and its domain, split at its last @.
761
+ - `charsThatFit` — how many of a name's characters stand before its ellipsis.
762
+ - `VALUES_EDITOR_WORDS` — its words, in English: the line's, each value's buttons, its labels, a phone's country and its list, a list's step and Back. `CONTROLS.ValuesBody` hands the app's (`views.editors.values-*`, the open actions' and the place editor's country words, listed in the contract) and names a phone's countries in the conventions' `language`.
763
+ - `ValuesEditorWords` — those words, and its lists' own (`picker`).
764
+ - `valuesWords` — the words handed, over the English.
765
+ - `valuesEditorWornOf` — its options as worn round an element.
766
+ - `VALUES_EDITOR_ATTRS` — the attributes it watches, so a look changed while it is open reaches it.
767
+ - `ValuesEditorWorn` — its options as worn.
768
+
769
+ The grip's `moved` and `dragAt`, the list a shell is handed (`handedList`) and the shapes of the label words and the line's read stay inside it. Its stylesheet is `viewkitjs/views/controls/values-editor.css`, beside those of the controls it draws with; its names are on [its page](../controls/values-editor.md).
770
+ ## The Links editor
771
+
772
+ `CONTROLS` fills its `LinksBody` with the Links editor: ViewKit's links body, for a relation holding several records whose field declares `links`. On a computer the search stands on top, the linked records under the field's name, Roles and Lead (a link's roles in a short button opening the Picker to tick them, the lead a radio, ✕ to unlink), then a line and the records to add under Add, ↑ ↓ lighting one and Enter linking it last; on a phone a card per link (its roles a row opening them as a step of the Sheet, with Back, told to ViewKit as `onStepChange`, its ⋯ making it the lead or unlinking it), the records to add in a card under it and the search at the Sheet's foot. ViewKit keeps the set, the lead first on save, Escape, Tab, the save on close and the phone's ✕ and ✓; the editor hands every change as it is made, every query back to ViewKit (which filters or fetches), and draws its searching and failed lines, more records as the list's end comes into sight, and the create rows. A field that declares no roles has no Roles column. Its stylesheet is `viewkitjs/views/controls/links-editor.css`; its words are the app's, from its messages. With several fields on a link (an app's own use of the body), each column reads as words and a link's fields open as a step on a computer, and as a step of the Sheet on a phone.
773
+
774
+ - `LinksEditor` — the body alone, for a shell that holds only a body.
775
+ - `useLinksEditor` — its state and the parts a shell pours in: the body, and on a phone the Sheet head's ✕ and ✓, or a step's Back, and a step's `title`; a shell that draws its own Sheet takes Escape on a step as Back (`head.onBack`).
776
+ - `LinksEditorProps` — its props (a link's own type, `Link`, stays inside the editor, named `LinksEditorProps["links"][number]`): the field's name (`label`), its records' kind (`kind`, the first column's name), the records (`records`, Picker rows), the fields a link holds (`fields`), the links (`links`), each change (`onLinksChange`), the lead (`lead`), the search's words (`search`), `form`, `onDone`, `autoFocus`, a page's state (`typed`, `opens`), its `words`, and a list its editor finds (`onSearch`, `doing`, `onRetry`, `onMore`, `actions`).
777
+ - `LinksEditorParts` — what it hands a shell: its `body`, its phone `head` and a step's `title`.
778
+ - `LinksEditorLead` — which link leads, a way to set it, and its column's name.
779
+ - `LinksEditorOpens` — what a page shows standing open: a field's list on a link, or a link's fields.
780
+ - `LinksEditorAction` — a row that does something rather than link: its key, its words, a mark, and what it does.
781
+ - `LinkField` — a field a link holds: its id, its name, its kind (`LinkFieldKind`: several, one, or yes or no) and, for a list, its choices (`LinkChoice`, an archived one offered only where held).
782
+ - `LinkFieldKind` — a field's kind: several of a list, one of a list, or yes or no.
783
+ - `LinkChoice` — a choice of a field's list: its value, its words, and whether it is archived.
784
+ - `LinkValue` — what a field holds on a link: several choices, one, yes or no, or nothing.
785
+ - `found` — what the search finds: the linked records first, then the rest; handed, as the editor found them.
786
+ - `removed` — the links with a record unlinked. Its `added` (a record linked last) stays inside the editor: the Values editor's `added` holds that name on this door.
787
+ - `leadAfter` — which link leads after a change: never none while a link is left.
788
+ - `setValue` — the links with one field of one link changed.
789
+ - `ticked` — the choices held after one is pressed: a new one last, a held one out.
790
+ - `heldOf` — the choices a link holds on a field, in the order held.
791
+ - `offered` — what a field's list offers on a link: its choices, an archived one only where held, then each held value it no longer offers.
792
+ - `said` — a link's value in words, as its column reads it.
793
+ - `saidShort` — a link's value as a short button says it: two whole, more as the first and a count.
794
+ - `LINKS_EDITOR_WORDS` — its words, in English.
795
+ - `LinksEditorWords` — those words, and its roles list's own (`picker`).
796
+ - `linksWords` — the words handed, over the English.
797
+
480
798
  ## The stylesheets
481
799
 
482
800
  The ready stylesheet (`viewkitjs/views/styles.css`) carries the controls, every token they read declared at the Outright look's value ([the controls' tokens](../contract.md#the-controls-tokens)). An app on the Outright tokens imports them one by one instead, and declares each token as its own: `viewkitjs/views/controls/smooth.css` first (the smooth corner every control's outline stands on), then each control's own, `viewkitjs/views/controls/<piece>.css` (the Button's `button.css`, the Spinner's `spinner.css`); each control's names are on its page under `docs/controls/`. Their options and looks are on [`viewkitjs/views/looks`](looks.md).
@@ -33,8 +33,8 @@ Guide: [display](../guides/display.md).
33
33
 
34
34
  ## The viewer and the presentation
35
35
 
36
- - `FieldViewerContext` — who is reading: `locale`, `now`, and optionally `language` (the names language a place's country is written in; `locale` when absent), `timeZone`, `region` (a phone of that country is written as at home), `fieldMessages` (fields' words, fields' English by default) and `messages` (the package's words, its English by default).
37
- - `viewerFrom` — builds a `FieldViewerContext` from your conventions: their locale, names language, zone, region and messages, with the package's words (`resolveViewsMessage` unless you pass a resolver) and `now` (the current moment unless you pass one).
36
+ - `FieldViewerContext` — who is reading: `locale`, and optionally `now` (the moment relative dates count from; absent before the provider has one), `language` (the names language a place's country is written in; `locale` when absent), `timeZone`, `region` (a phone of that country is written as at home), `fieldMessages` (fields' words, fields' English by default) and `messages` (the package's words, its English by default).
37
+ - `viewerFrom` — builds a `FieldViewerContext` from your conventions: their locale, names language, zone, region and messages, with the package's words (`resolveViewsMessage` unless you pass a resolver) and `now` (the current moment unless you pass one; `null`, a viewer with no moment yet, whose relative dates draw in full).
38
38
  - `FieldPresentation` — every formatter a value is printed through, so your app can replace how numbers, durations and dates read: `message`, `number`, `duration`, `calendarDay`, `instant`, `relativeCalendarDay` and `relativeInstant`, each handed the viewer. The provider's `presentation` option returns one, given the defaults.
39
39
  - `DEFAULT_FIELD_PRESENTATION` — the package's own `FieldPresentation`. Numbers print through `Intl.NumberFormat` in the viewer's locale; a percent, stored as 0 to 100, prints as it is with `%`; a currency defaults to `EUR` with two decimals. Days print `short` ("27 Sep", the year added when it is not the current one), `long` ("27 September 2026") or `numeric` ("27/09/2026"), a time ("14:05") after a comma, in the viewer's zone. Relative styles say "just now", "5m ago", "in 1d", and "today", "yesterday" or "tomorrow" for a day. Month names and relative words come from the viewer's messages.
40
40
 
@@ -1,6 +1,6 @@
1
1
  # `viewkitjs/views/editors/relation`
2
2
 
3
- Import from `viewkitjs/views/editors/relation` in a client component: the door opens with the client directive. It holds the picker for a link, the editor of a `relation` and a `user` field: search the candidates, pick one, and it replaces the link; and the editor of a relation holding several records, which adds and removes links with the list open. The candidates are the host's, through a `RelationSource`: a static list the panel filters on its labels, or a remote search your function answers a page at a time. The panel owns the search box, the rows, the paging (it waits before a typed query searches, drops an answer a newer query superseded, asks for the next page as the end of the list scrolls into view, and says when it is searching, failed or found nothing) and, in `RelationEditor`, what a close means: a pick is the commit, every other close discards (`RelationSetEditor` saves on every close but Escape). It never does the asking itself, so access stays in your function's closure. Its host owns the popover, the anchor and the write. It commits the picked id, or null for None. The door also re-exports `RelationCandidate`, `RelationSearch` and `RelationSource`, which are documented with the root door. Guide: [editors](../guides/editors.md).
3
+ Import from `viewkitjs/views/editors/relation` in a client component: the door opens with the client directive. It holds the picker for a link, the editor of a `relation` and a `user` field: search the candidates, pick one, and it replaces the link; and the editor of a relation holding several records, which adds and removes links with the list open. The candidates are the host's, through a `RelationSource`: a static list the panel filters on its labels, or a remote search your function answers a page at a time. The panel owns the search box, the rows, the paging (it waits before a typed query searches, drops an answer a newer query superseded, asks for the next page as the end of the list scrolls into view, and says it is searching from the keystroke until the typed query answers, so an Enter meanwhile picks nothing, and when it failed or found nothing) and, in `RelationEditor`, what a close means: a pick is the commit, every other close discards (`RelationSetEditor` saves on every close but Escape). It never does the asking itself, so access stays in your function's closure. Its host owns the popover, the anchor and the write. It commits the picked id, or null for None. The door also re-exports `RelationCandidate`, `RelationSearch` and `RelationSource`, which are documented with the root door. Guide: [editors](../guides/editors.md).
4
4
 
5
5
  - `RelationEditor` — the relation-picking panel, built from your app's command list, or opened in your app's `Picker` when the provider has one (the list filtered or fetched by the editor, the create rows as its `actions`); its ref is a `RelationEditorHandle`. It takes `candidates` (the `RelationSource`), `initial` (the linked id, or null), `clearable` (a None row for a link the surface says is optional, hidden while a query is typed), `onRequestClose` (called with `pick` when someone chooses), `kindGlyph` (the glyph worn by every candidate with no icon of its own; given, every row keeps a glyph lane so the labels line up), `noneLabel` (the surface's words for the None row), `message` (the fields message resolver, defaulting to the provider's conventions), `creates` (`RelationCreate` rows pinned under the list), `seed` (the text the search opens with, such as a letter typed on the cell that opened it), `label` (the field's name, for your `Picker`; default the search's words) and `focusSearch` (put the caret in the search as the panel opens, without scrolling; off by default, and left off on a phone so its sheet opens with the keyboard down). The list opens with the linked record highlighted, so an Enter pressed at once changes nothing; when a remote page doesn't hold it, nothing is highlighted until a key or typed text moves the highlight; with nothing linked, None or the first candidate; opened with a `seed`, the first match. It asks your command list for that through its root's `defaultValue`; a list that ignores it opens on its first row. A candidate's `sublabel` draws as a muted second line and its `badge` as a small chip at the row's end.
6
6
  - `RelationEditorHandle` — what the host's ref reads: `resolveClose(reason)`, synchronous and safe to ask twice. It answers `commit` with the picked id, or null for None, only for `pick` and only when it differs from `initial`; `noop` for a `pick` with nothing picked or the link already held; `cancel` for every other reason.
@@ -102,9 +102,22 @@ on a frame round the controls as `data-<piece>-*`, which each control's styleshe
102
102
  - `AvatarLookOptionId` — the Avatar's option ids.
103
103
  - `MENU_LIST_CARD_FRAME` — the menu list's options as a frame's data attributes, the Stack look's (Card rows, inset lines, 52, xl): a piece whose menu lists are no menu's own sheet (a panel's settings, a list of people) puts it round them, and keeps them whatever the app picks, since with nothing picked a menu's own sheet draws My preset's Words and the nearest frame wins.
104
104
 
105
- <!-- The panels': the Pane, the toolbar button, the Radio, the Modal, the alert dialog, the Toast, the Collapsible, the Alert, the Notice -->
106
-
107
- <!-- The editors: the Text editor, the Picker, the Date editor, the Compound editor -->
105
+ <!-- The panels' block: the Pane, the toolbar button, the Radio, the sort editor, the views list, the Modal, the alert dialog, the Toast, the Collapsible, the Alert, the Notice -->
106
+
107
+ - `PANE_LOOKS` — the Pane's: 7 options, each a computer's (`place`, `list` or `fit`; `corners`, `lg`, `xl` or `2xl`; `smoothing`, `round` or `smooth`; `shadow`, `none`, `menu`, `lg` or `xl`; `edge`, `outline`, `subtle` or `none`; `gap`, `0` to `16`, `8` the default (My preset's); `padding`, `0` to `16`), and no looks.
108
+ - `PaneOptionId` — its option ids.
109
+ - `VIEWS_LIST_LOOKS` — the views list's: 2 options (`private`, Private views: Shared and Just me, a private view's lock, and a view's menu's Private view; `favorites`, a view's menu's Favorite), each `off` (the default, My preset's) or `on`, and no looks.
110
+ - `ViewsListOptionId` — its option ids.
111
+ - `MODAL_LOOKS` — the Modal's: 12 options, each a computer's (`edge`, `lines`, `buttons`, `head`, `size`, `corners`, `smoothing`, `padding`, `behind`, `strength`, `blur`, `shadow`), and two looks, `framed` (every option's default) and `outlined`.
112
+ - `ModalOptionId` — its option ids.
113
+ - `ALERT_DIALOG_LOOKS` — the alert dialog's: 11 options (`close`, the X, a phone's; `padding`; `behind`, `dim` or `veil`; `strength`; `blur`, a computer's, and `blurphone`; `shadow`, a computer's, and `shadowphone`; `margin`, a phone's; `corners`; `smoothing`, `round` or `smooth` (the default, My preset's)), and no looks.
114
+ - `AlertDialogOptionId` — its option ids.
115
+ - `COLLAPSIBLE_LOOKS` — the Collapsible's: 2 options (`content`, `still`, `fade` (the default, My preset's) or `slide`: how what it holds comes and goes; `curve`, `soft` or `sharp`), and no looks.
116
+ - `CollapsibleOptionId` — its option ids.
117
+ - `ALERT_LOOKS` — the Alert's: 5 options (`buttons`, `end` (the default, My preset's) or `full`, a computer's; `size`, `32`, `36` or `44`, a computer's; `pair`, `side` or `stacked`, a phone's; `mark`, `none` or `shown`; `phone`, `panel` or `sheet`, what it opens as on a phone) and three looks, `even`, `plain` and `marked`.
118
+ - `AlertOptionId` — its option ids.
119
+
120
+ <!-- The editors' block: the Text editor, the Picker, the Date editor, the Compound editor, the Number editor, the Values editor, the Links editor -->
108
121
 
109
122
  - `TEXT_EDITOR_LOOKS` — the Text editor's: 3 options (`box`, `over` or `cell`, a computer's; `long`, `enter` or `mod`, a computer's; `phone`, `country` or `line`) and two looks, `attio` (every option's default) and `mihais`.
110
123
  - `TextEditorLookOptionId` — its option ids.
@@ -112,6 +125,10 @@ on a frame round the controls as `data-<piece>-*`, which each control's styleshe
112
125
  - `DateEditorLookOptionId` — its option ids.
113
126
  - `COMPOUND_EDITOR_LOOKS` — the Compound editor's: 4 options (`boxes`, `boxes` or `fields`; `shown`, `hidden` or `shown`; `country`, `last` or `first`; `arrows`, `editing` or `none`, a computer's) and two looks, `attio` (every option's default) and `mihai`.
114
127
  - `CompoundEditorOptionId` — its option ids.
128
+ - `NUMBER_EDITOR_LOOKS` — the Number editor's: 3 options (`arrows`, `editing` or `none`, a computer's; `units`, `code` or `sign`; `sheet`, `line` or `field`, a phone's) and two looks, `attio` (every option's default) and `mihai`.
129
+ - `NumberEditorOptionId` — its option ids.
130
+ - `VALUES_EDITOR_LOOKS` — the Values editor's: 5 options (`rows`, `copy` or `fill`, a computer's; `main`, `none` or `pill`, a computer's; `line`, `plus` or `icon`; `lists`, `under` or `inplace`, a computer's; `phone`, `rows` or `cards`, a phone's) and two looks, `attio` (every option's default) and `mihai`.
131
+ - `ValuesEditorOptionId` — its option ids.
115
132
 
116
133
  ## The grid's
117
134