@protobase/cli 0.78.2 → 0.79.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.
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.78.2";
2
+ var version = "0.79.0";
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.78.2",
3
+ "version": "0.79.0",
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.78.2",
47
- "@protobase/layout": "0.78.2",
48
- "@protobase/query": "0.78.2",
49
- "@protobase/schema": "0.78.2",
50
- "@protobase/server": "0.78.2",
51
- "@protobase/ui": "0.78.2",
52
- "@protobase/workflows": "0.78.2",
46
+ "@protobase/config": "0.79.0",
47
+ "@protobase/layout": "0.79.0",
48
+ "@protobase/query": "0.79.0",
49
+ "@protobase/schema": "0.79.0",
50
+ "@protobase/server": "0.79.0",
51
+ "@protobase/ui": "0.79.0",
52
+ "@protobase/workflows": "0.79.0",
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",
@@ -8,7 +8,6 @@ The page of one record, with its sections, related records, galleries, charts an
8
8
  - [Full-width record pages](../reference/ui-config.md#page-width): A view's record pages and create form fill the whole area beside the sidebar instead of a centred column, with the sidebar cards still beside the sections.
9
9
  - [Focus pages](../reference/ui-config.md#focus-pages) (beta): A record whose page is one big surface, such as a graph or a board, fills the page under a thin bar with its Save, actions and panels, its form a link away.
10
10
  - [A create address that opens a page](../reference/ui-config.md#focus-pages) (beta): `.createOpens(to)` sends a resource's create address to a page in place of its form, such as a record's focus page with a panel open, filled from the address's values.
11
- - [Page-wide sections](../reference/ui-config.md#page-wide-sections): A section spans the page above the main column and the sidebar cards, such as a workflow's graph, with Save in a bar at the foot of the window.
12
11
  - [Record pages that open another](../reference/ui-config.md#a-record-page-that-opens-another): A record's page opens another address built from its fields in its place, such as a workflow run opening its workflow's page with the run shown.
13
12
  - [Full-area record pages](../reference/ui-config.md#full-area-record-pages) (beta): A view draws its record pages with a component of its own that fills the area beside the sidebar and under the top bar, such as a chat channel, and links to the standard page.
14
13
  - [Read view and edit](../reference/ui-config.md#read-view-and-edit): A record opens as a read-only fact sheet or a form, and Edit opens the form at its own address.
@@ -680,16 +680,6 @@ The record page sits in a centred column about 1100px wide. `.recordWidth('full'
680
680
  view<typeof objectives>('objectives').recordWidth('full')
681
681
  ```
682
682
 
683
- ### Page-wide sections
684
-
685
- `l.section(title, fields, { width: 'page' })` spans the page above the main column and the sidebar cards, for a field that needs the room, such as a workflow's graph; Save then stays in a bar at the foot of the window, on a wide screen as on a phone. It applies to a section outside tabs and groups: `l.tab` and `l.group` throw on one. On the create form it is a section like the others.
686
-
687
- ```ts
688
- view<typeof workflows>('workflows')
689
- .recordWidth('full')
690
- .layout((r) => [l.section('Workflow', [r.name, r.description]), l.section('Graph', [r.definition], { width: 'page' })])
691
- ```
692
-
693
683
  ### A record page that opens another
694
684
 
695
685
  `.recordOpens(to)` sends a record's page to another address in its place, its `{field}`s, in the resource, the key and `run`, filled from the record, replacing the record's address in the history so Back skips it: a workflow run's page opens its workflow's page with the run on the graph. A caller who cannot follow it, such as one who may not read the resource it names or open the page it names, gets the record's own page. The record's own page stays at its address with `?standard=true`.