uniweb 1.24.16 → 1.24.18
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 +7 -7
- package/partials/agents.md +3 -3
- package/src/framework-index.json +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uniweb",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.18",
|
|
4
4
|
"description": "Create structured Vite + React sites with content/code separation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"js-yaml": "^4.3.2",
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
43
|
"tar": "^7.5.21",
|
|
44
|
-
"@uniweb/content-writer": "~1.3.1",
|
|
45
44
|
"@uniweb/core": "~1.5.2",
|
|
46
|
-
"@uniweb/semantic-parser": "~1.13.
|
|
47
|
-
"@uniweb/schemas": "~1.6.7"
|
|
45
|
+
"@uniweb/semantic-parser": "~1.13.2",
|
|
46
|
+
"@uniweb/schemas": "~1.6.7",
|
|
47
|
+
"@uniweb/content-writer": "~1.3.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@uniweb/build": "~1.13.
|
|
51
|
-
"@uniweb/
|
|
52
|
-
"@uniweb/
|
|
50
|
+
"@uniweb/build": "~1.13.10",
|
|
51
|
+
"@uniweb/semantic-parser": "~1.13.2",
|
|
52
|
+
"@uniweb/content-reader": "~1.5.8"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
55
55
|
"@uniweb/build": {
|
package/partials/agents.md
CHANGED
|
@@ -378,7 +378,7 @@ content = {
|
|
|
378
378
|
subtitle: '', // Line(s) one step below the title — each further
|
|
379
379
|
// one-step descent is another line (string or string[])
|
|
380
380
|
paragraphs: [], // Text blocks
|
|
381
|
-
links: [], // { href, label, role } —
|
|
381
|
+
links: [], // { href, label, role } — links on their own line. Not a sentence's, and a list item has its own
|
|
382
382
|
images: [], // { url, alt, caption, role, href, target } — `url`, where a video has `src`
|
|
383
383
|
icons: [], // { library, name, role }
|
|
384
384
|
videos: [], // { src, alt, caption, role, poster, href, target }
|
|
@@ -560,7 +560,7 @@ Sizing and loading ride on the image: `{width=800 height=600 loading=lazy fit=co
|
|
|
560
560
|
|
|
561
561
|
**Separators are forgiving.** `:` works wherever `=` does, and pairs may be separated by whitespace, a comma, or both — `{role=banner width=1200}`, `{role:banner, width:1200}` and `{role:banner,width:1200}` are identical. `=` and spaces are canonical, and that is what gets written back on save. Two rules keep it unambiguous: the separator must **touch** the key (`{note:warning}` is one pair, `{note : warning}` is two flags), and a value containing a **comma** must be quoted (`{style="a, b"}`). A value containing a colon needs no quoting — only the first colon separates, so `{href:https://example.com}` is fine.
|
|
562
562
|
|
|
563
|
-
Standalone links (alone on a line) are promoted to `content.links[]
|
|
563
|
+
Standalone links (alone on a line) are promoted to `content.links[]`. How they're drawn is the component's choice. A link inside a sentence stays an `<a>` tag in `content.paragraphs[]`, and isn't in `content.links[]`. Multiple links sharing a paragraph are all promoted:
|
|
564
564
|
|
|
565
565
|
```markdown
|
|
566
566
|
[Primary](/start) ← standalone → content.links[0]
|
|
@@ -1128,7 +1128,7 @@ import { Section, Prose } from '@uniweb/kit'
|
|
|
1128
1128
|
<Prose content={content} block={block} /> // or only its prose, in your own markup
|
|
1129
1129
|
```
|
|
1130
1130
|
|
|
1131
|
-
`Prose` renders from the parsed sequence — headings, paragraphs, images, snippets, lists — with prose typography. Tagged data blocks are **skipped**; access them via `content.data` for custom rendering. Pass `content` (needs `.sequence`), and `block` too if the content uses insets. Also works as a pure typography wrapper: `<Prose>{children}</Prose>`.
|
|
1131
|
+
`Prose` renders from the parsed sequence — headings, paragraphs, images, snippets, lists — with prose typography. Markdown footnotes (`[^1]` and a `[^1]: the note` paragraph in the same file) become numbered links with the notes listed at the end. A section drawing `content.paragraphs` itself sees them as the text they are. Tagged data blocks are **skipped**; access them via `content.data` for custom rendering. Pass `content` (needs `.sequence`), and `block` too if the content uses insets. Also works as a pure typography wrapper: `<Prose>{children}</Prose>`.
|
|
1132
1132
|
|
|
1133
1133
|
`Article` is `Prose` in a semantic `<article>` element — the same rendering, for content that is a self-contained document.
|
|
1134
1134
|
|
package/src/framework-index.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-01T03:46:59.682Z",
|
|
4
4
|
"packages": {
|
|
5
5
|
"@uniweb/api": {
|
|
6
6
|
"version": "1.6.7"
|
|
7
7
|
},
|
|
8
8
|
"@uniweb/build": {
|
|
9
|
-
"version": "1.13.
|
|
9
|
+
"version": "1.13.10"
|
|
10
10
|
},
|
|
11
11
|
"@uniweb/content-reader": {
|
|
12
12
|
"version": "1.5.8"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"version": "1.0.7"
|
|
25
25
|
},
|
|
26
26
|
"@uniweb/kit": {
|
|
27
|
-
"version": "1.6.
|
|
27
|
+
"version": "1.6.13"
|
|
28
28
|
},
|
|
29
29
|
"@uniweb/loom": {
|
|
30
30
|
"version": "1.1.2"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"version": "1.2.9"
|
|
37
37
|
},
|
|
38
38
|
"@uniweb/runtime": {
|
|
39
|
-
"version": "1.3.
|
|
39
|
+
"version": "1.3.7"
|
|
40
40
|
},
|
|
41
41
|
"@uniweb/scene": {
|
|
42
42
|
"version": "1.0.1"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"version": "1.1.0"
|
|
49
49
|
},
|
|
50
50
|
"@uniweb/semantic-parser": {
|
|
51
|
-
"version": "1.13.
|
|
51
|
+
"version": "1.13.2"
|
|
52
52
|
},
|
|
53
53
|
"@uniweb/snapshot": {
|
|
54
54
|
"version": "1.1.2"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"version": "1.2.1"
|
|
61
61
|
},
|
|
62
62
|
"@uniweb/unipress": {
|
|
63
|
-
"version": "1.1.
|
|
63
|
+
"version": "1.1.23"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"templates": {
|