uniweb 0.8.34 → 0.8.36

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniweb",
3
- "version": "0.8.34",
3
+ "version": "0.8.36",
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/runtime": "0.6.29",
45
- "@uniweb/core": "0.5.19",
46
- "@uniweb/kit": "0.7.22"
44
+ "@uniweb/core": "0.5.20",
45
+ "@uniweb/kit": "0.7.23",
46
+ "@uniweb/runtime": "0.6.31"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@uniweb/content-reader": "1.1.4",
50
50
  "@uniweb/semantic-parser": "1.1.9",
51
- "@uniweb/build": "0.8.33"
51
+ "@uniweb/build": "0.8.35"
52
52
  },
53
53
  "peerDependenciesMeta": {
54
54
  "@uniweb/build": {
@@ -841,6 +841,8 @@ All non-reserved frontmatter fields become `params`. Reserved: `type`, `preset`,
841
841
  | `block.rawContent` | object | ProseMirror document — passed internally when using `<Article block={block} />` |
842
842
  | `block.themeName` | string | `"light"`, `"medium"`, `"dark"` |
843
843
  | `block.stableId` | string | Stable ID from filename or `id:` |
844
+ | `block.key` | string | Unique key across pages (path + id) — use as React key |
845
+ | `block.path` | string | Page route this block belongs to |
844
846
 
845
847
  ### Section Wrapper
846
848
 
@@ -6,7 +6,7 @@
6
6
  export const BUILTIN_TEMPLATES = ['blank', 'starter', 'none']
7
7
 
8
8
  // Official templates from @uniweb/templates package (downloaded from GitHub releases)
9
- export const OFFICIAL_TEMPLATES = ['marketing', 'academic', 'docs', 'international', 'dynamic', 'store', 'extensions']
9
+ export const OFFICIAL_TEMPLATES = ['marketing', 'academic', 'docs', 'international', 'dynamic', 'store', 'learning', 'extensions']
10
10
 
11
11
  /**
12
12
  * Parse a template identifier and determine its source type