uniweb 0.6.2 → 0.6.4

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.6.2",
3
+ "version": "0.6.4",
4
4
  "description": "Create structured Vite + React sites with content/code separation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -40,9 +40,9 @@
40
40
  "js-yaml": "^4.1.0",
41
41
  "prompts": "^2.4.2",
42
42
  "tar": "^7.0.0",
43
- "@uniweb/runtime": "0.5.12",
44
- "@uniweb/core": "0.4.0",
45
- "@uniweb/build": "0.6.0",
46
- "@uniweb/kit": "0.5.0"
43
+ "@uniweb/build": "0.6.2",
44
+ "@uniweb/core": "0.4.1",
45
+ "@uniweb/kit": "0.5.2",
46
+ "@uniweb/runtime": "0.5.13"
47
47
  }
48
48
  }
@@ -6,7 +6,7 @@
6
6
  export const BUILTIN_TEMPLATES = ['single', 'multi']
7
7
 
8
8
  // Official templates from @uniweb/templates package (downloaded from GitHub releases)
9
- export const OFFICIAL_TEMPLATES = ['marketing', 'academic', 'docs', 'international', 'dynamic']
9
+ export const OFFICIAL_TEMPLATES = ['marketing', 'academic', 'docs', 'international', 'dynamic', 'store']
10
10
 
11
11
  /**
12
12
  * Parse a template identifier and determine its source type
@@ -7,7 +7,7 @@ import { H1, H2, P, Link, cn } from '@uniweb/kit'
7
7
  * A versatile content section that handles headings, text, and links.
8
8
  * This is the default component for rendering markdown content.
9
9
  */
10
- export function Section({ content, params }) {
10
+ function Section({ content, params }) {
11
11
  // Content fields: title, pretitle, subtitle, paragraphs, links, imgs, items
12
12
  const { title, pretitle, subtitle, paragraphs = [], links = [], imgs = [] } = content || {}
13
13
 
@@ -7,7 +7,7 @@ import { H1, H2, P, Link, cn } from '@uniweb/kit'
7
7
  * A versatile content section that handles headings, text, and links.
8
8
  * This is the default component for rendering markdown content.
9
9
  */
10
- export function Section({ content, params }) {
10
+ function Section({ content, params }) {
11
11
  // Content fields: title, pretitle, subtitle, paragraphs, links, imgs, items
12
12
  const { title, pretitle, subtitle, paragraphs = [], links = [], imgs = [] } = content || {}
13
13