uniweb 0.12.45 → 0.12.46

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.12.45",
3
+ "version": "0.12.46",
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/kit": "0.9.23",
45
- "@uniweb/core": "0.7.19",
46
- "@uniweb/runtime": "0.8.25"
44
+ "@uniweb/kit": "0.9.24",
45
+ "@uniweb/core": "0.7.20",
46
+ "@uniweb/runtime": "0.8.26"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@uniweb/content-reader": "1.1.12",
50
50
  "@uniweb/semantic-parser": "1.1.17",
51
- "@uniweb/build": "0.14.27"
51
+ "@uniweb/build": "0.14.28"
52
52
  },
53
53
  "peerDependenciesMeta": {
54
54
  "@uniweb/build": {
@@ -1050,20 +1050,19 @@ fonts:
1050
1050
 
1051
1051
  **In a component, weight is yours; family is the site's.** Weight / size / style utilities (`font-bold`, `font-black`, `italic`, `text-xl`) are ordinary design vocabulary — use them freely. A font-**family** utility is a different matter: `font-sans` / `font-serif` resolve to Tailwind's built-in stacks unless the foundation makes them site-controlled (below), so a bare `font-serif` in a component silently hardcodes a typeface.
1052
1052
 
1053
- **When a design needs typefaces the three roles can't express** — an editorial serif on selected prose, a display face for hero titles, a decorative mono for metadata labels that aren't `<code>` — a foundation declares each as a **typed font var** in `main.js`. Marking it `type: 'font'` is what makes it a *typeface* rather than a generic value: the family loads (via the site's `fonts.import` / `fonts.faces`), it appears in the foundation's schema tagged as a font so the site — and the visual editor's theme panel — can set it, and the family stays site-controlled.
1053
+ **When a design needs typefaces the three roles can't express** — an editorial serif on selected prose, a display face for hero titles, a decorative mono for metadata labels that aren't `<code>` — a foundation declares each as a **font var** in `main.js`. A `font-*`-named var is recognized as a *typeface* automatically (no `type` needed) — a bare-named one takes `type: 'font'`. Either way the family loads (via the site's `fonts.import` / `fonts.faces`), it appears in the foundation's schema tagged as a font so the site — and the visual editor's theme panel — can set it, and the family stays site-controlled.
1054
1054
 
1055
1055
  ```js
1056
1056
  // foundation src/main.js — typefaces this foundation manages itself.
1057
- // Defaults are OS stacks, so it renders native until a site opts in.
1057
+ // `font-*` names are recognized as fonts automatically (no `type` needed);
1058
+ // defaults are OS stacks, so it renders native until a site opts in.
1058
1059
  export const vars = {
1059
1060
  'font-serif': {
1060
- type: 'font',
1061
1061
  default: 'ui-serif, Georgia, serif',
1062
1062
  description: 'Editorial serif — blurbs, taglines, quotes',
1063
1063
  applyTo: ['blockquote', '.tagline'], // framework applies it here, like a built-in role
1064
1064
  },
1065
1065
  'font-display': {
1066
- type: 'font',
1067
1066
  default: 'ui-sans-serif, system-ui, sans-serif',
1068
1067
  description: 'Display — hero titles',
1069
1068
  // no applyTo → the component wires it (a `font-display` utility, or var(--font-display))
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-07-18T12:27:01.279Z",
3
+ "generatedAt": "2026-07-18T13:09:21.219Z",
4
4
  "packages": {
5
5
  "@uniweb/build": {
6
- "version": "0.14.27",
6
+ "version": "0.14.28",
7
7
  "path": "framework/build",
8
8
  "deps": [
9
9
  "@uniweb/content-reader",
@@ -25,7 +25,7 @@
25
25
  "deps": []
26
26
  },
27
27
  "@uniweb/core": {
28
- "version": "0.7.19",
28
+ "version": "0.7.20",
29
29
  "path": "framework/core",
30
30
  "deps": [
31
31
  "@uniweb/semantic-parser",
@@ -43,7 +43,7 @@
43
43
  "deps": []
44
44
  },
45
45
  "@uniweb/kit": {
46
- "version": "0.9.23",
46
+ "version": "0.9.24",
47
47
  "path": "framework/kit",
48
48
  "deps": [
49
49
  "@uniweb/core",
@@ -61,7 +61,7 @@
61
61
  "deps": []
62
62
  },
63
63
  "@uniweb/runtime": {
64
- "version": "0.8.25",
64
+ "version": "0.8.26",
65
65
  "path": "framework/runtime",
66
66
  "deps": [
67
67
  "@uniweb/core",
@@ -94,12 +94,12 @@
94
94
  "deps": []
95
95
  },
96
96
  "@uniweb/theming": {
97
- "version": "0.1.7",
97
+ "version": "0.1.8",
98
98
  "path": "framework/theming",
99
99
  "deps": []
100
100
  },
101
101
  "@uniweb/unipress": {
102
- "version": "0.4.34",
102
+ "version": "0.4.35",
103
103
  "path": "framework/unipress",
104
104
  "deps": [
105
105
  "@uniweb/build",