@homepages/concrete 6.0.0 → 6.1.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 +46 -0
- package/codemods/manifest.json +8 -0
- package/dist/artifact/playground/client/assets/index-Cqz-jjVw.js +1101 -0
- package/dist/artifact/playground/client/index.html +1 -1
- package/dist/css/inline.js +3 -6
- package/dist/packages/external/concrete/package.js +1 -1
- package/dist/platform/paths.js +5 -1
- package/dist/schema/define-schema.js +31 -5
- package/dist/schema/extract-fill-spec.js +8 -4
- package/dist/schema/fill-builders.d.ts +6 -4
- package/dist/schema/fill-declaration.js +5 -1
- package/dist/schema/slot-ref.d.ts +1 -1
- package/package.json +1 -1
- package/dist/artifact/playground/client/assets/index-u3T7DiSN.js +0 -1101
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# @homepages/concrete
|
|
2
2
|
|
|
3
|
+
## 6.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4a43d56: A `fill()` reads a sibling slot of its own section, the way a `compute()` already does: name the slot's own const in `reads`.
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
const cover = image({
|
|
11
|
+
label: "Cover",
|
|
12
|
+
source: fill({ brief: "The best exterior photo." }),
|
|
13
|
+
});
|
|
14
|
+
const second = image({
|
|
15
|
+
label: "Second",
|
|
16
|
+
source: fill({
|
|
17
|
+
brief: "The best interior photo — never the cover's.",
|
|
18
|
+
reads: [cover],
|
|
19
|
+
}),
|
|
20
|
+
});
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
The read serializes as a slot ref naming the declaring section, so the reading fill runs after the fill that writes the sibling and is shown its value. A row field's fill reads the section's slots the same way. The section-level `slot_reads` still lists other sections only.
|
|
24
|
+
|
|
25
|
+
Refused when the section is declared: a const that is not in the section's `slots` record, a sibling read from a section declared without a key, a sibling that is sourced (a fact, a `compute()` or a mirror settles it after every fill has run), and a filled display entry reading its own section's slots.
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- c198e14: Type surface only — nothing a template reads or draws changes.
|
|
30
|
+
|
|
31
|
+
The platform's activation wire contract moved to pay-as-you-go billing: the confirm an activation asks for names the property-month (`property_month_cents`, `term_ends_at`) and an owed domain fee (`custom_domain_fee_cents`), a payment-method prompt says why (`reason`, `can_manage_billing`), and a deactivation answers the end of the paid term (`term_ends_at`). That contract can reach this tarball as declarations through the platform packages it inlines, so the bytes may move without any behaviour moving with them.
|
|
32
|
+
|
|
33
|
+
- d480453: Type surface only — nothing a template reads or draws changes.
|
|
34
|
+
|
|
35
|
+
The platform's activation wire contract drops the package model's last traces: the "choose a plan" response arm no endpoint returned is gone, and a confirm names an owed domain fee only as `custom_domain_fee_cents`. That contract can reach this tarball as declarations through the platform packages it inlines, so the bytes may move without any behaviour moving with them.
|
|
36
|
+
|
|
37
|
+
- 3c7bf4a: Type surface only — nothing a template reads or draws changes.
|
|
38
|
+
|
|
39
|
+
The platform's activation wire contract moved to per-property subscriptions: a confirm names the hostname an owed domain fee registers (`custom_domain_hostname`, null exactly when `custom_domain_fee_cents` is), and the billing summary carries a per-property `status`, the org's `discount` and the flat `property_month_cents` in place of the per-org cycle, bands and upcoming-invoice fields. That contract can reach this tarball as declarations through the platform packages it inlines, so the bytes may move without any behaviour moving with them.
|
|
40
|
+
|
|
41
|
+
- 4db7176: The dev playground's editor dialogs no longer flash empty as they close. A dialog now keeps showing what it last showed while it animates out, and takes no clicks during that fade.
|
|
42
|
+
|
|
43
|
+
## 6.0.1
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- c57a69e: On Windows, `concrete dev`, `concrete check` and `concrete publish` compile a template's stylesheets. Each stylesheet `template.ts` imports was read by its absolute path, and a drive path such as `C:\Users\…\globals.css` was mistaken for a remote URL with the scheme `c:`, so no stylesheet was compiled and every template failed `css/tailwind-import` with `no stylesheet reachable from template.ts imports "tailwindcss"`. Paths on macOS and Linux were never affected, and a protocol-relative `//host/…` import is still treated as remote on every platform.
|
|
48
|
+
|
|
3
49
|
## 6.0.0
|
|
4
50
|
|
|
5
51
|
### Major Changes
|
package/codemods/manifest.json
CHANGED
|
@@ -57,6 +57,14 @@
|
|
|
57
57
|
"where `concrete upgrade` reports a `none` bar it folded into a brief, rewrite that brief's last paragraph (`Produce nothing when: \u2026`) as the brief's own sentence saying when producing nothing is right.",
|
|
58
58
|
"where `concrete upgrade` reports a `reconcile` that holds rules, move each rule onto the slot it sets \u2014 `source: Section.slots.<slot>` where it copied a value, `compute({ reads }, \u2026)` where it derived one; where it reports a `compute((f) => \u2026)`, declare what the callback reads and take each value as a parameter."
|
|
59
59
|
]
|
|
60
|
+
},
|
|
61
|
+
"6.0.1": {
|
|
62
|
+
"codemods": [],
|
|
63
|
+
"manual": []
|
|
64
|
+
},
|
|
65
|
+
"6.1.0": {
|
|
66
|
+
"codemods": [],
|
|
67
|
+
"manual": []
|
|
60
68
|
}
|
|
61
69
|
}
|
|
62
70
|
}
|