@protobase/cli 0.94.34 → 0.94.36

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.
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.94.34";
2
+ var version = "0.94.36";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/cli",
3
- "version": "0.94.34",
3
+ "version": "0.94.36",
4
4
  "description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,13 +43,13 @@
43
43
  "dependencies": {
44
44
  "@better-auth/core": "^1.7.12",
45
45
  "@hono/node-server": "^2.1.3",
46
- "@protobase/config": "0.94.34",
47
- "@protobase/layout": "0.94.34",
48
- "@protobase/query": "0.94.34",
49
- "@protobase/schema": "0.94.34",
50
- "@protobase/server": "0.94.34",
51
- "@protobase/ui": "0.94.34",
52
- "@protobase/workflows": "0.94.34",
46
+ "@protobase/config": "0.94.36",
47
+ "@protobase/layout": "0.94.36",
48
+ "@protobase/query": "0.94.36",
49
+ "@protobase/schema": "0.94.36",
50
+ "@protobase/server": "0.94.36",
51
+ "@protobase/ui": "0.94.36",
52
+ "@protobase/workflows": "0.94.36",
53
53
  "@react-email/render": "^2.1.0",
54
54
  "@scalar/hono-api-reference": "^0.12.10",
55
55
  "@sentry/vite-plugin": "^11.10.0",
@@ -999,7 +999,7 @@ Without any configuration, the record page's rail has a **Related records** card
999
999
  | `filter`, `sort` | AIP-160 and AIP-132 on `resource`, as in the list API. `filter` narrows the listed records, `through.filter` the join records. |
1000
1000
  | `columns` | Fields of `resource`, through relations too (`unit_id.property_id`); default the view's list columns without `field`. The first links to the record a row opens. With `presentation: 'cards'` or `'compact'`, the fields each card shows; with `presentation: 'record'`, the fields of the record it shows. |
1001
1001
  | `presentation` | `'cards'` shows the records as [cards](#related-records-as-cards) instead of the table or display; `'compact'` as [compact cards](#compact-related-cards) of a line or two; `'record'` shows [one record in full](#a-related-record-in-full). |
1002
- | `actions` | Named actions of `resource`'s view, by name, as buttons on each card; only with `presentation: 'cards'` or `'compact'`. |
1002
+ | `actions` | Named actions of `resource`'s view, by name, as buttons on each card; only with `presentation: 'cards'` or `'compact'`. A screen reader names each button by its label and the card's title, such as *Mark clear: Lists lose their place*. |
1003
1003
  | `time` | A date or timestamp field of `resource` each compact card shows beside its title, as its view formats it; only with `presentation: 'compact'`. |
1004
1004
  | `tone` | An enum field of `resource` whose value colours each card's left edge, by its view's [`valueColors`](#value-tones-and-currencies); only with `presentation: 'cards'` or `'compact'`. |
1005
1005
  | `button` | `{ label, to }` or `{ label, href }`, or a list of them of which each row shows the first whose fields it holds: a [button on each row](blocks.md#row-buttons), or each card, to an address the row's fields name, its tab or list filter too, or to the outside page a field holds, such as `{ label: '{verb}', to: { kind: 'record', resource: 'tasks', key: '{task_id}', tab: 'Review' } }`; a row without a value for a field it names shows none. Not with `lines`. |
@@ -1089,6 +1089,8 @@ With `presentation: 'compact'` each card takes a line or two, for a short list w
1089
1089
 
1090
1090
  With `tone`, each card's left edge takes the colour its value has in the view's `valueColors`, a tone or a hex colour as its badge does, and the value's badge shows first among the card's values, unless `columns` places it elsewhere, so the colour is never all that says it. An action that changes the value changes the edge as the section loads again. `tone` works on `presentation: 'cards'` too.
1091
1091
 
1092
+ When an action takes its card out of the section, such as Mark clear under `filter: 'state != "clear"'`, focus moves to the next card's first action, else the previous card's, else the section's heading, and a screen reader hears `Done: Mark clear, <title>. It has left this list.` This holds for `presentation: 'cards'` too. A section with `hideEmpty: true` goes away with its last card, so then focus has no heading to go to and nothing is announced.
1093
+
1092
1094
  ```ts
1093
1095
  l.related('Holding it up', {
1094
1096
  resource: 'objective_causes',