@homepages/concrete 10.0.0 → 12.0.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.
- package/CHANGELOG.md +48 -0
- package/codemods/manifest.json +7 -154
- package/dist/artifact/playground/client/assets/index-BcLGpWLR.js +1266 -0
- package/dist/artifact/playground/client/assets/index-CxWPYOH2.css +1 -0
- package/dist/artifact/playground/client/index.html +2 -2
- package/dist/artifact/playground/client/island-canvas-host.mjs +1 -1
- package/dist/artifact/playground/host.mjs +39 -40
- package/dist/base.css +18 -65
- package/dist/cli/build/artifact.js +1 -1
- package/dist/cli/build/fixtures.js +3 -2
- package/dist/cli/capture/capture.js +8 -6
- package/dist/cli/check/stages/sections.js +1 -1
- package/dist/cli/dev/workspace-reader.js +4 -2
- package/dist/css/compile.js +3 -6
- package/dist/css/rules.js +1 -51
- package/dist/design-system/format-variants.js +1 -1
- package/dist/fixtures/resolve.js +5 -1
- package/dist/fixtures/rows.js +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/packages/external/concrete/package.js +1 -1
- package/dist/packages/internal/fill-bake/dist/compute-reads.js +1 -1
- package/dist/packages/internal/fill-bake/dist/held-rows.js +2 -0
- package/dist/packages/internal/fill-bake/dist/index.js +1 -0
- package/dist/packages/internal/fill-vocabulary/dist/holder.js +3 -14
- package/dist/packages/internal/format-geometry/dist/capture.js +3 -11
- package/dist/packages/internal/format-geometry/dist/format.d.ts +2 -8
- package/dist/packages/internal/format-geometry/dist/geometry.js +2 -13
- package/dist/packages/internal/media-resolution/dist/document.js +3 -3
- package/dist/packages/internal/media-resolution/dist/image.js +3 -3
- package/dist/packages/internal/media-resolution/dist/tour.js +6 -6
- package/dist/packages/internal/media-resolution/dist/video.js +9 -9
- package/dist/packages/internal/section-contracts/dist/fill-verb-contract.js +1 -0
- package/dist/packages/internal/section-contracts/dist/runners.js +1 -3
- package/dist/packages/internal/section-contracts/dist/source-contract.js +3 -3
- package/dist/packages/internal/section-contracts/dist/sources-contract.js +0 -2
- package/dist/packages/internal/template-artifact/dist/index.js +2 -2
- package/dist/packages/internal/template-artifact/dist/layout.js +11 -11
- package/dist/packages/internal/template-artifact/dist/manifest.js +1 -1
- package/dist/packages/internal/template-artifact/dist/verify.js +13 -17
- package/dist/packages/internal/template-contracts/dist/document-value.d.ts +3 -5
- package/dist/packages/internal/template-contracts/dist/fact-registry.js +1 -1
- package/dist/packages/internal/template-contracts/dist/fill-builders.js +2 -6
- package/dist/packages/internal/template-contracts/dist/fill-spec-schema.js +4 -1
- package/dist/packages/internal/template-contracts/dist/list.js +0 -14
- package/dist/packages/internal/template-contracts/dist/primitive-descriptors.js +1 -1
- package/dist/packages/internal/template-contracts/dist/runtime-values.d.ts +6 -7
- package/dist/packages/internal/template-contracts/dist/slot-builders.js +0 -2
- package/dist/packages/internal/template-contracts/dist/slot-ref.d.ts +6 -1
- package/dist/packages/internal/template-contracts/dist/tour-value.d.ts +2 -4
- package/dist/packages/internal/template-contracts/dist/video-value.d.ts +3 -4
- package/dist/primitives/FrameShell.d.ts +5 -2
- package/dist/primitives/FrameShell.js +2 -1
- package/dist/primitives/Image.d.ts +2 -2
- package/dist/primitives/Tour.d.ts +2 -2
- package/dist/primitives/Video.d.ts +2 -2
- package/dist/primitives/slot-bindings.js +6 -13
- package/dist/primitives/slot-document.d.ts +1 -1
- package/dist/primitives/slot-download.d.ts +3 -1
- package/dist/primitives/slot-media.d.ts +5 -2
- package/dist/primitives/slot-media.js +1 -1
- package/dist/rules/registry.js +1 -7
- package/dist/schema/format-presets.d.ts +1 -1
- package/dist/schema/format.d.ts +0 -1
- package/dist/schema/format.js +1 -2
- package/dist/schema/manifest.js +18 -24
- package/dist/schema/section-schema.d.ts +5 -5
- package/dist/site-analytics.js +6 -1
- package/dist/site-runtime/window-height.js +19 -0
- package/dist/styles.css +4 -4
- package/dist/template/define-template.d.ts +11 -0
- package/dist/template/define-template.js +1 -1
- package/dist/template/materialize.js +2 -0
- package/guide/reference/cli/INDEX.md +2 -2
- package/guide/reference/cli/build.md +1 -1
- package/guide/reference/cli/check.md +1 -1
- package/guide/reference/cli/dev.md +1 -1
- package/guide/reference/cli/property-add.md +1 -1
- package/guide/reference/cli/property-list.md +1 -1
- package/guide/reference/cli/publish.md +1 -1
- package/guide/reference/cli/upgrade.md +1 -1
- package/guide/reference/rules/INDEX.md +2 -3
- package/package.json +2 -2
- package/codemods/fill-is-a-source.mjs +0 -533
- package/codemods/framework-namespace.mjs +0 -107
- package/codemods/list-grammar.mjs +0 -923
- package/codemods/object-form-only.mjs +0 -39
- package/codemods/platform-namespace.mjs +0 -83
- package/codemods/process-builders.mjs +0 -198
- package/codemods/reads-replace-reconcile.mjs +0 -285
- package/codemods/registry-keys-only.mjs +0 -113
- package/codemods/slot-object.mjs +0 -1097
- package/codemods/steps/content-object-fields.mjs +0 -324
- package/codemods/steps/list-object-form.mjs +0 -686
- package/codemods/steps/registry-key-reads.mjs +0 -276
- package/codemods/steps/select-object-form.mjs +0 -210
- package/codemods/table-rows.mjs +0 -568
- package/codemods/theme-collapse.mjs +0 -396
- package/codemods/unlayer-author-css.mjs +0 -194
- package/codemods/unwrap-object-fields.mjs +0 -310
- package/codemods/viewer-slot-document.mjs +0 -131
- package/codemods/write-property-as-facts-document.mjs +0 -716
- package/codemods/write-the-address-line.mjs +0 -255
- package/codemods/write-the-registry-members.mjs +0 -653
- package/codemods/write-the-select-from.mjs +0 -141
- package/codemods/write-the-sole-from.mjs +0 -369
- package/codemods/write-the-table-from.mjs +0 -267
- package/codemods/write-the-whole-item.mjs +0 -512
- package/codemods/writeback-drop.mjs +0 -168
- package/codemods/written-contact-address.mjs +0 -162
- package/codemods/written-media-category.mjs +0 -227
- package/codemods/written-ref-kinds-name-the-layer.mjs +0 -172
- package/codemods/written-uploads-replace-pool-reads.mjs +0 -454
- package/codemods/written-uploads-sort-into-lists.mjs +0 -405
- package/codemods/written-uploads-stated-in-sorted-lists.mjs +0 -295
- package/codemods/written-video-sources-drop.mjs +0 -144
- package/codemods/written-without-pick-none.mjs +0 -146
- package/codemods/written-without-retired-knowledge.mjs +0 -223
- package/codemods/written-without-the-media-key.mjs +0 -202
- package/codemods/written-without-the-property-type.mjs +0 -249
- package/dist/artifact/playground/client/assets/index-BFNHB7VM.css +0 -1
- package/dist/artifact/playground/client/assets/index-Div1yo6s.js +0 -1259
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# @homepages/concrete
|
|
2
2
|
|
|
3
|
+
## 12.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 88a5f3d: Manual: a folded format's panels are sections of a row page (direction: "row"); declare the sheet as the format, one page per printed side
|
|
8
|
+
|
|
9
|
+
A rendered page may declare `direction: "row"`: its frame lays its sections side by side instead of stacking them, each section setting its own width (`w-…`) and standing the frame tall. The default, `"column"`, renders exactly as before, and a website page takes no `direction`. Every section a row page places must be `required` and declare no `display.visibility` rule, since a panel that dropped out would shift every later one onto the wrong fold; `concrete check` refuses either (`pages/composition-invalid`). The editor, `concrete dev` and the PDF all show a row page as the one sheet it prints as.
|
|
10
|
+
|
|
11
|
+
`panels` is gone from `DocumentFormat`, and with it the sheets the print composed from it: `concrete check` refuses a format carrying it, and the platform refuses to publish one. A tri-fold that declared a 6 × 9 in panel with `panels: 3` and six pages now declares the 18 × 9 in sheet and two row pages, the outside and the inside, each placing its three panel sections left to right. A panel section is its trim plus the sheet's outer bleed wide (none at a fold) and clips its own box, so nothing is drawn across a fold; the printed PDF keeps the sheet's size and boxes.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- e2752f1: The canvas kernel drops its "template assets unavailable" scaffold: every template version carries a static-asset binding, so a canvas always has assets to link. The playground canvas is unchanged.
|
|
16
|
+
- 9a8f7d8: The comparables brief names the property it lists comparables for as the one the uploads market, whatever address they print for it, instead of tying it to the property's own address. Uploads marketing the property under another address now yield their comparables instead of none.
|
|
17
|
+
- 8ae5beb: The fixture bake's held rows (which standalone rows a re-derive keeps at the identity the content holds, a fill's pick or the author's re-pick, instead of re-deriving their default) are read through the same rule the platform's propagate uses, now kept beside the bake. A fixture settles exactly as before.
|
|
18
|
+
- ce903f8: A slot mirroring another slot always takes its upstream's value in the fixture bake, whatever whole-slot marker the fixture holds on it. Editing an item of a list of objects in the dev playground no longer writes a whole-list marker for an item without an id: every such item carries one.
|
|
19
|
+
- dc3c939: In the dev playground canvas, a selected list item in a live island now takes clicks on its own controls (a tab row, a toggle). Selecting the item lifted only its own shield, and the island's shield still covered it, so those controls did nothing in the canvas while they worked on the published page. An unselected item still selects on the first click.
|
|
20
|
+
- c8d9bd7: A published page pins `--concrete-window-h` to the window height measured at load and measures it again only when the width changes. The stylesheet's `100svh` is meant to hold still while a browser's toolbars collapse, but Chrome on iOS and in-app browsers let it follow the toolbars like `100dvh`, so every in-flow box sized from the token (a hero, a screen-tall video or tour band) grew and shrank mid-scroll and all content below it jumped by the sum. The pin ships in the site runtime asset, so a live site takes it on its next republish.
|
|
21
|
+
|
|
22
|
+
## 11.0.0
|
|
23
|
+
|
|
24
|
+
### Major Changes
|
|
25
|
+
|
|
26
|
+
- 1526cc4: Manual: build and publish every template again with this version; the platform reads only artifact schema 4, and refuses an artifact an earlier version built.
|
|
27
|
+
|
|
28
|
+
`concrete build` writes artifact schema 4. Every fixture carries its settled doc, the playground carries its canvas island host, and the static-assets binding always names its `masters` and `icons`. The playground host requires a reader's settled docs, computes and import map, so an edit in the playground always settles over the fixture's settled doc.
|
|
29
|
+
|
|
30
|
+
- e75a319: Manual: a workspace on a version below 11.0.0 takes its template from the current template library instead of upgrading in place; this release ships no codemod for any earlier major.
|
|
31
|
+
|
|
32
|
+
`concrete upgrade` keeps its install, manifest and runner, and ships no codemod or manifest entry for 10.0.0 or below. The `css/retired-layer` rule is gone, as are the refusals that named a key earlier majors used (`reconcile` on `defineTemplate`; `sources` and `category` on a media slot; `fields`, `title`, `unique` and `count` on `list()`; a hint for `none`, `count`, `cap` or `of` on a fill verb; a kind-less ref or a `type:` decision). The types still refuse every one of these keys, and a fill verb still refuses any option it does not take, naming the ones it does.
|
|
33
|
+
|
|
34
|
+
- 5bec6ff: Manual: rename every read of a resolved media value's id to `id`: `photo_id` on an image, `video_id` on a video, `tour_id` on a tour and `asset_id` on a document.
|
|
35
|
+
|
|
36
|
+
Every resolved media value (`ImageValue`, `VideoValue`, `TourValue`, `DocumentValue`, and an open-kind `media` value of each kind) names its media by one member, `id`. The blank video and tour values carry `id: ""`.
|
|
37
|
+
|
|
38
|
+
- 354620b: Manual: replace each `*CollectionValue` import with the array of its item's value type (`ImageCollectionValue` → `ImageValue[]`).
|
|
39
|
+
|
|
40
|
+
`ImageCollectionValue`, `VideoCollectionValue`, `TourCollectionValue` and `DocumentCollectionValue` are no longer exported. A list slot's value is an array of its item's value: write `ImageValue[]`, `VideoValue[]`, `TourValue[]` or `DocumentValue[]`.
|
|
41
|
+
|
|
42
|
+
The platform reads only what a Concrete 11 build emits: every section version carries its `anchor` and `slot_order`, a renderer receives no `variants` record, and a fill spec's pick never states `none`.
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- 1753705: Source comments in the platform modules inlined into the package no longer cite database migrations by number. No code changes, and nothing a template declares, reads or renders changes.
|
|
47
|
+
- 57e5cf4: Platform modules inlined into the package drop exports and comments nothing reads. No code a template declares, reads or renders changes.
|
|
48
|
+
- 3998744: A playground source comment names the shared static-asset binding type instead of a deleted alias. No code changes, and nothing a template declares, reads or renders changes.
|
|
49
|
+
- 7928850: The dev playground keeps an edited floor plan's floor under its declared key, `floor`, as the editor now writes it. A resolved document value is passed through as resolved: every resolver gives it a `poster` (empty when there is no preview), so the binding no longer fills one in.
|
|
50
|
+
|
|
3
51
|
## 10.0.0
|
|
4
52
|
|
|
5
53
|
### Major Changes
|
package/codemods/manifest.json
CHANGED
|
@@ -1,166 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"versions": {
|
|
4
|
-
"
|
|
4
|
+
"11.0.0": {
|
|
5
5
|
"codemods": [],
|
|
6
|
-
"manual": []
|
|
7
|
-
},
|
|
8
|
-
"1.0.1": {
|
|
9
|
-
"codemods": [],
|
|
10
|
-
"manual": []
|
|
11
|
-
},
|
|
12
|
-
"1.0.2": {
|
|
13
|
-
"codemods": [],
|
|
14
|
-
"manual": []
|
|
15
|
-
},
|
|
16
|
-
"1.0.3": {
|
|
17
|
-
"codemods": [],
|
|
18
|
-
"manual": []
|
|
19
|
-
},
|
|
20
|
-
"2.0.0": {
|
|
21
|
-
"codemods": [
|
|
22
|
-
"unlayer-author-css"
|
|
23
|
-
],
|
|
24
|
-
"manual": [
|
|
25
|
-
"replace every `useId()` in a `\"use client\"` module with an id composed from `useIslandId()` \u2014 `` const bodyId = `${useIslandId()}-body`; `` \u2014 adding your own suffix per id, and a discriminator from your own data (a row key, a facet name) wherever one component renders more than once inside a single island."
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"3.0.0": {
|
|
29
|
-
"codemods": [
|
|
30
|
-
"framework-namespace",
|
|
31
|
-
"theme-collapse"
|
|
32
|
-
],
|
|
33
|
-
"manual": [
|
|
34
|
-
"name the layout tokens the report lists in the Tailwind namespace whose utility spends them, then respell their uses as utilities."
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
"4.0.0": {
|
|
38
|
-
"codemods": [
|
|
39
|
-
"platform-namespace"
|
|
40
|
-
],
|
|
41
|
-
"manual": []
|
|
42
|
-
},
|
|
43
|
-
"5.0.0": {
|
|
44
|
-
"codemods": [],
|
|
45
|
-
"manual": [
|
|
46
|
-
"declare each contact field a section reads on its `fact.property.contacts` list, then read it under the key you declared it with."
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
"6.0.0": {
|
|
50
|
-
"codemods": [
|
|
51
|
-
"fill-is-a-source",
|
|
52
|
-
"reads-replace-reconcile"
|
|
53
|
-
],
|
|
54
6
|
"manual": [
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
7
|
+
"build and publish every template again with this version; the platform reads only artifact schema 4, and refuses an artifact an earlier version built.",
|
|
8
|
+
"a workspace on a version below 11.0.0 takes its template from the current template library instead of upgrading in place; this release ships no codemod for any earlier major.",
|
|
9
|
+
"rename every read of a resolved media value's id to `id`: `photo_id` on an image, `video_id` on a video, `tour_id` on a tour and `asset_id` on a document.",
|
|
10
|
+
"replace each `*CollectionValue` import with the array of its item's value type (`ImageCollectionValue` \u2192 `ImageValue[]`)."
|
|
59
11
|
]
|
|
60
12
|
},
|
|
61
|
-
"
|
|
13
|
+
"12.0.0": {
|
|
62
14
|
"codemods": [],
|
|
63
|
-
"manual": []
|
|
64
|
-
},
|
|
65
|
-
"6.1.0": {
|
|
66
|
-
"codemods": [],
|
|
67
|
-
"manual": []
|
|
68
|
-
},
|
|
69
|
-
"6.2.0": {
|
|
70
|
-
"codemods": [],
|
|
71
|
-
"manual": []
|
|
72
|
-
},
|
|
73
|
-
"7.0.0": {
|
|
74
|
-
"codemods": [
|
|
75
|
-
"object-form-only"
|
|
76
|
-
],
|
|
77
|
-
"manual": [
|
|
78
|
-
"where a section reads a comparable's `photo_url`, read `photo_upload_id` and draw it as an `image` value \u2014 `{ photo_id: comp.photo_upload_id, url: \"\", alt: comp.address }`, declared as an `image()` row field or slot (locked, when nothing on the canvas picks it) and rendered with `<Image>`; in a fixture property, replace each comp's `photo_url` with `photo: <an imported file>`, or drop it.",
|
|
79
|
-
"stop reading `days_on_market` from a comparable row; count it from `listed_date` instead \u2014 to the sale date on a sold comp, to the day the page is viewed on a live one \u2014 and drop the member from any fixture comp that states it.",
|
|
80
|
-
"stop reading `source_url` and `source_name` from a comparable row; the platform no longer stores either, so a section that printed a comp's listing link or its source's name drops that line.",
|
|
81
|
-
"delete `layout` from every `list.of(\u2026)` record options object. Declare the record's fields in the order the editor should show them, and give a field that must keep a row of its own a size that never pairs \u2014 a row title that sat alone above a `[beds, baths]` pair becomes `text.medium`. Write each `group(\u2026)` card's members as bare slot keys, with no `[a, b]` tuples.",
|
|
82
|
-
"where `concrete upgrade` hands back a `Manual:` line, finish it \u2014 replace each brief it generated for a record list's row field with the real one, add to a bound row's field fill the row members it uses, and give an origin to any row field it could not; then drop every `sourceFilter` from an `image`, binding a unit's floor plans from `fact.property.units` instead.",
|
|
83
|
-
"a section that reads a member of a bound record list's row it never declared \u2014 `comp.value.status`, `unit.value.sqft`, a unit's `floor_plans` off an `image` field \u2014 declares that member as a row field bound to it (`status: text.short({ label: \"Status\", source: comp.status, writeback: false })`, `floor_plans: list({ label: \"Floor plans\", source: unit.floor_plans, writeback: false, item: image({ label: \"Floor plan\" }) })`) and reads the field; a helper typed with `UnitRow`, `ContactRow`, `FloorplanAssignment`, `CollectionRowValues` or `BakedRowValue` types its parameter from the slot instead (`ItemBinding<typeof schema.slots.units>[\"value\"]`)."
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
"8.0.0": {
|
|
87
|
-
"codemods": [],
|
|
88
|
-
"manual": [
|
|
89
|
-
"in a `compute()` that reads `fact.property.comparables`, read a comp's photo as `comp.photo` wherever it reads `comp.photo_upload_id` \u2014 `{ photo_id: comp.photo, url: \"\", alt: comp.address }`."
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
"9.0.0": {
|
|
93
|
-
"codemods": [
|
|
94
|
-
"list-grammar",
|
|
95
|
-
"process-builders",
|
|
96
|
-
"slot-object",
|
|
97
|
-
"table-rows",
|
|
98
|
-
"unwrap-object-fields",
|
|
99
|
-
"viewer-slot-document",
|
|
100
|
-
"write-property-as-facts-document",
|
|
101
|
-
"write-the-address-line",
|
|
102
|
-
"write-the-registry-members",
|
|
103
|
-
"write-the-select-from",
|
|
104
|
-
"write-the-sole-from",
|
|
105
|
-
"write-the-table-from",
|
|
106
|
-
"write-the-whole-item",
|
|
107
|
-
"writeback-drop",
|
|
108
|
-
"written-contact-address",
|
|
109
|
-
"written-media-category",
|
|
110
|
-
"written-ref-kinds-name-the-layer",
|
|
111
|
-
"written-uploads-replace-pool-reads",
|
|
112
|
-
"written-uploads-sort-into-lists",
|
|
113
|
-
"written-uploads-stated-in-sorted-lists",
|
|
114
|
-
"written-video-sources-drop",
|
|
115
|
-
"written-without-pick-none",
|
|
116
|
-
"written-without-retired-knowledge",
|
|
117
|
-
"written-without-the-media-key",
|
|
118
|
-
"written-without-the-property-type"
|
|
119
|
-
],
|
|
120
|
-
"manual": [
|
|
121
|
-
"a compute that reads an asset record's `caption`, `description`, `tags` or `notes` reads a member the record no longer has \u2014 show the asset's `name`, or make the words a slot the user or a declared write fills. An `alt` on a media slot's value is the text a render uses; nothing fills it from the asset.",
|
|
122
|
-
"after `concrete upgrade`, add `none: true` to each list of places that may rightly come back empty for some homes, such as transit stops on a rural listing. Without it, finding nothing is now a failed fill.",
|
|
123
|
-
"a compute that reads an asset record's `author`, `rooms` or `address` reads a member the record no longer has \u2014 the words are in the asset's `account`, for fills to judge from; show the asset's `name`, or make the words a slot the user or a declared write fills.",
|
|
124
|
-
"after `concrete upgrade`, fold each `Manual:` line it reports into the section it names \u2014 a fill's dropped `cap` (lower the kind's own `cap`, or say it in the brief), the first field of a filled `fields` list whose own brief is gone (fold it into the list's brief), an item field reading an earlier field by its const (read what that field read).",
|
|
125
|
-
"add `from` to each media slot `concrete check` names as bound to no fact \u2014 `from: [pool.photos, pool.floor_plans]` keeps an image slot's picker as it was, bar the account's contact media, and `pool.videos`, `pool.tours` and `pool.documents` a video's, a tour's and a document's \u2014 and remove `from` from each one it names as bound.",
|
|
126
|
-
"rename each `Asset`, `ImageAsset`, `VideoAsset`, `TourAsset` or `DocumentAsset` you import from `@homepages/concrete` to `Media`, `ImageMedia`, `VideoMedia`, `TourMedia` or `DocumentMedia` \u2014 for example `(uploads: readonly Media[]) => \u2026` in a `compute()`.",
|
|
127
|
-
"delete `prefix` and `suffix` from every `number({ \u2026 })` call (each one fails to compile, naming the option); where the page should show a unit such as `$` or `sq ft`, write it in the section's markup around `Slot.Number`.",
|
|
128
|
-
"after `concrete upgrade`, settle each line it hands back: a `process` spelled through a variable \u2014 build each entry with its builder (`process.cutout()`) \u2014 and a string naming no process, which no builder constructs.",
|
|
129
|
-
"after `concrete upgrade`, rewrite each list `concrete check` refuses under `sections/row-projection-list` as a list of rows: an item holding a row `from` the table (`row({ from: fact.property.units, source: el })`), its other fields reading members off that row, and a `compute({ reads: [fact.property.units] }, (units) => \u2026)` returning the rows the list starts with. A list that is vocabulary nobody arranges takes `locked: true` instead.",
|
|
130
|
-
"a section that read `crop_key` off an image value reads `url`, which serves the slot's cut whenever the slot is cropped.",
|
|
131
|
-
"after `concrete upgrade`, finish each card it hands back by its file and line \u2014 a card whose `id` or `label` is not a plain string (one card per item of an array), or whose slots it cannot trace to a section (a context value, `{children}`), becomes an `object({ label: compute(() => \"<the card's label>\"), fields })` in the section's `slots`, with its binding passed down to a `<Slot.Object>`; a slot marked in two cards, neither holding the other, stays in one object; a card whose id names another slot takes a new name; a list of objects carded beside other slots stays at the top level \u2014 and wherever another section reads a slot that moved into an object (`Hero.slots.street`), read what that field reads instead, or keep the slot out of the object.",
|
|
132
|
-
"where `concrete upgrade` reports slots that now read a top-level row, group them with the row into an object if they are one card \u2014 `contact: object({ label: compute(() => \"Contact\"), fields: { contact, name, phone } })`, rendered in a `<Slot.Object slot={slot.contact}>` \u2014 and declare by hand any table it reports read by a position other than the first.",
|
|
133
|
-
"after `concrete upgrade`, finish each line it hands back \u2014 rename an object field named `id`, `slot`, `index`, `def`, `value` or `present` for what it holds (`value` \u2192 `figure`), in the section, its fixtures and every read of it, then read it straight off the binding \u2014 keep the field's type and label, and add no other new field of that type and label to the object in the same version, so publishing carries every site's stored value, and the edit pinning it, to the new name; and where an object's fields were enumerated, spread or handed to a library whole (`Object.keys(item.fields)`), name the fields you need instead, since the binding carries its own keys beside them.",
|
|
134
|
-
"after `concrete upgrade`, finish each line it hands back \u2014 where a `compute()` read `display` or `street_no_type` off `fact.property.address`, write the one-line address or the short street from its parts there; where it took the address whole or destructured it, handle the address value and `null`; and give any slot other than a text slot bound to the whole address a `compute()` returning what it shows.",
|
|
135
|
-
"after `concrete upgrade`, finish each line it hands back \u2014 read a contact's `primary` as the table's first row and a unit's `position` as its index where the list renders; draw a unit's floor plans through a row declared from each plan (`const plan = row({ label: \"Plan\", source: el })`, then `plan.image` and `plan.floor`) where a list drew each as a bare image; and wherever a `compute()` hands a table's rows to a helper of your own, read them there by the registry's names.",
|
|
136
|
-
"after `concrete upgrade`, settle each pick it hands back. Most are a media slot offering the user `from: [pool.photos, pool.floor_plans]` whose pick read `of: fact.photos`: the model now picks from every pool in `from`, so keep `from` wide and say in the brief what the model should prefer, or narrow `from` to the pools the model may pick \u2014 then remove `of`. A select whose pick named fewer choices than its `from` is settled the same way.",
|
|
137
|
-
"after `concrete upgrade`, settle each row it hands back. A row mirroring another section's row or list (`source: Hero.slots.agent.fields.contact`), a sibling's, or a `compute()` names the table it holds a row of in `from`, keeping its source. A row over a `compute()`'s own values \u2014 `row({ source: el, locked: true })` inside a list of constants \u2014 references no fact data and is no longer declared: read each item value with a per-field `compute({ reads: [el] }, (value) => value.title)` and drop the row.",
|
|
138
|
-
"after `concrete upgrade`, settle each picked list it hands back. A pick `of` a list slot, a sibling list or a `compute()` chooses only from its item's `from` now: picking a table's rows, name the table on a row field (`row({ label, from: fact.property.comparables })`) and say in the brief which to prefer. An item function whose element no one declaration holds declares the field holding the pick with `from` and no source, and its siblings read that field's const.",
|
|
139
|
-
"after `concrete upgrade`, settle each slot it names by line: a `writeback: false` it removed from a slot reading a stored value \u2014 a fact, a row's member, another slot. That slot now writes its source. Where it should only be seeded from it, free to diverge, source it by `compute({ reads: [contact.name] }, (name) => name)`.",
|
|
140
|
-
"after `concrete upgrade`, state the parts of each fixture contact address it hands back by line \u2014 one it could not read as \"street, [line 2,] city, ST 12345\" \u2014 and, where a section reads a contact row's `address` into a text slot, bind it with `address({ label, source: contact.address })` and print its lines in `Slot.Address`.",
|
|
141
|
-
"after `concrete upgrade`, settle each pool it names by line \u2014 a `from` spelled through a variable, a pool of another kind, or any other read of `pool` \u2014 by stating the media slot's `category`, or none.",
|
|
142
|
-
"after `concrete upgrade`, settle each line it hands back: code comparing a ref's `kind` to `\"direct\"`, `\"fact\"` or `\"slot\"` reads `\"home\"` or `\"section\"` now, and an object tagged with one of those kinds that holds other members is left for you to decide whether it is a ref.",
|
|
143
|
-
"after `concrete upgrade`, settle each line it hands back: a slot or a list sourced by a media pool picks from the uploads instead (`source: fill.pick({ brief })`, `item: image({ category: \"property\" })`), a compute taking a pool by a destructured parameter filters `fact.property.uploads` itself, and a compute reading a member the asset record spells otherwise reads the record's \u2014 a video's `source` is `provider === null ? \"upload\" : \"link\"`, a document's `filename` is `name`, a note's `upload_id` is `id`, and a floor plan's `unit_assignments` is a compute over `fact.property.units`.",
|
|
144
|
-
"after `concrete upgrade`, settle each line it hands back: a media slot narrowed by `category: \"logo\"` or `\"headshot\"` picks from every upload of its kind now \u2014 narrow it by its brief, or bind it to the contact's image (`source: agent.logo_dark`); and any other read of an asset's `category` reads `fact.property.media` or `fact.property.floor_plans` for its subset instead.",
|
|
145
|
-
"after `concrete upgrade`, settle each line it hands back: name an upload entry written inline and state it in the property's `media` or `floor_plans` where it belongs; state `media` and `floor_plans` beside uploads that are not written as an array; and wherever a fixture read an entry's `category`, read the property's `media` or `floor_plans` for that subset.",
|
|
146
|
-
"after `concrete upgrade`, settle each line it hands back: a `sources` it removed through a variable \u2014 the variable may now feed nothing, and a compute counting the videos the slot accepts counts every video, uploaded or linked \u2014 and any type reading a slot definition's `[\"sources\"]`, which no longer exists.",
|
|
147
|
-
"after `concrete upgrade`, remove `none` from each `fill.pick` it hands back by line \u2014 a pick whose options are a variable rather than an object written in the call.",
|
|
148
|
-
"after `concrete upgrade`, write an `account` for each upload it names whose tags were the only statement of what it is, and settle each entry it left because its `caption` and `description` could not be joined as text or it already states an `account`.",
|
|
149
|
-
"where `concrete upgrade` reports a `compute()` that read `fact.property.property_type`, read `fact.property.units` in its place and decide by the count (`units.length === 1` is a single home); where it reports a slot bound to the property type, its registry key as a string, or a read of `property_type` off a fixture `Property`, remove it."
|
|
150
|
-
]
|
|
151
|
-
},
|
|
152
|
-
"9.1.0": {
|
|
153
|
-
"codemods": [],
|
|
154
|
-
"manual": []
|
|
155
|
-
},
|
|
156
|
-
"10.0.0": {
|
|
157
|
-
"codemods": [
|
|
158
|
-
"registry-keys-only"
|
|
159
|
-
],
|
|
160
15
|
"manual": [
|
|
161
|
-
"
|
|
162
|
-
"a section reading `floor_label` off a floor plan's image value reads the plan's floor through a row declared from the unit's floor plans instead (`const plan = row({ label: \"Plan\", from: unit.floor_plans, source: el })`, then `plan.floor`); `ImageValue` no longer carries it. A `source:` typed as `{ kind: \"home\", key: \"<flat name>\" }` by hand is no longer a `SlotSource`: bind the fact through `fact.property.*`.",
|
|
163
|
-
"after `concrete upgrade`, finish each read of `fact.contact.address` it reports (the contact row answers an address value, not one line of text), and fix each `compute()` the typecheck names over an address part, which reads `null` where its flat spelling read `\"\"`. Then name what the removed types named: an address as `AddressValue`, a comparable a `compute()` reads as `FactsComparable`, and a `Narrative` as the text `fact.property.description` reads."
|
|
16
|
+
"a folded format's panels are sections of a row page (direction: \"row\"); declare the sheet as the format, one page per printed side"
|
|
164
17
|
]
|
|
165
18
|
}
|
|
166
19
|
}
|