uniweb 0.8.27 → 0.8.28
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/package.json +6 -6
- package/partials/agents.md +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uniweb",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.28",
|
|
4
4
|
"description": "Create structured Vite + React sites with content/code separation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"js-yaml": "^4.1.0",
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
43
|
"tar": "^7.0.0",
|
|
44
|
-
"@uniweb/core": "0.5.
|
|
45
|
-
"@uniweb/kit": "0.7.
|
|
46
|
-
"@uniweb/runtime": "0.6.
|
|
44
|
+
"@uniweb/core": "0.5.17",
|
|
45
|
+
"@uniweb/kit": "0.7.18",
|
|
46
|
+
"@uniweb/runtime": "0.6.23"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@uniweb/build": "0.8.
|
|
49
|
+
"@uniweb/build": "0.8.27",
|
|
50
50
|
"@uniweb/content-reader": "1.1.4",
|
|
51
|
-
"@uniweb/semantic-parser": "1.1.
|
|
51
|
+
"@uniweb/semantic-parser": "1.1.8"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
|
54
54
|
"@uniweb/build": {
|
package/partials/agents.md
CHANGED
|
@@ -258,7 +258,7 @@ Enterprise-grade security. │ content.items[1].paragraphs[0] = "Enterprise
|
|
|
258
258
|
|
|
259
259
|
Headings before the main title become `pretitle`. Headings after the main title at a lower importance become `subtitle`. Headings that appear after body content (paragraphs, links, images) start the `items` array.
|
|
260
260
|
|
|
261
|
-
**Subtitle vs items:** A heading immediately after the title (
|
|
261
|
+
**Subtitle vs items:** A heading immediately after the title becomes `subtitle` only when it is **exactly one level deeper** (H1→H2, H2→H3). Skipping levels (H1→H3) breaks the group — the deeper heading starts items instead. If you want items without a subtitle, use a `---` divider or a paragraph to close the title group:
|
|
262
262
|
|
|
263
263
|
```markdown
|
|
264
264
|
# Our Stats │ content.title = "Our Stats"
|
|
@@ -746,6 +746,8 @@ export const vars = {
|
|
|
746
746
|
|
|
747
747
|
Sites override in `theme.yml` under `vars:`. Components use: `py-[var(--section-padding-y)]`, `h-[var(--header-height)]`.
|
|
748
748
|
|
|
749
|
+
Tailwind v4 also supports a shorthand: `py-(--section-padding-y)`. This requires registering the variable in `styles.css` via `@theme inline { --section-padding-y: <default>; }`. Use the shorthand for vars referenced across many components; otherwise the bracket syntax works without registration.
|
|
750
|
+
|
|
749
751
|
### Design richness beyond tokens
|
|
750
752
|
|
|
751
753
|
Tokens handle context adaptation — the hard problem. **They are a floor, not a ceiling.** A great foundation adds design vocabulary on top:
|