@uniweb/build 0.8.6 → 0.8.7
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 +4 -4
- package/src/schema.js +4 -4
- package/src/theme/processor.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniweb/build",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"description": "Build tooling for the Uniweb Component Web Platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
53
|
"@uniweb/content-reader": "1.1.4",
|
|
54
|
-
"@uniweb/
|
|
55
|
-
"@uniweb/
|
|
54
|
+
"@uniweb/schemas": "0.2.1",
|
|
55
|
+
"@uniweb/runtime": "0.6.5"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@tailwindcss/vite": "^4.0.0",
|
|
62
62
|
"@vitejs/plugin-react": "^4.0.0 || ^5.0.0",
|
|
63
63
|
"vite-plugin-svgr": "^4.0.0",
|
|
64
|
-
"@uniweb/core": "0.5.
|
|
64
|
+
"@uniweb/core": "0.5.6"
|
|
65
65
|
},
|
|
66
66
|
"peerDependenciesMeta": {
|
|
67
67
|
"vite": {
|
package/src/schema.js
CHANGED
|
@@ -251,7 +251,7 @@ async function discoverSectionsInPath(srcDir, sectionsRelPath) {
|
|
|
251
251
|
|
|
252
252
|
if (result && result.meta) {
|
|
253
253
|
// Has meta.js — use explicit meta
|
|
254
|
-
if (result.meta.
|
|
254
|
+
if (result.meta.hidden) continue
|
|
255
255
|
components[entry.name] = buildComponentEntry(entry.name, relativePath, result.meta)
|
|
256
256
|
} else if (hasEntryFile(dirPath, entry.name)) {
|
|
257
257
|
// No meta.js but has entry file — implicit section type at root
|
|
@@ -338,7 +338,7 @@ export async function discoverLayoutsInPath(srcDir, layoutsRelPath = LAYOUTS_PAT
|
|
|
338
338
|
const result = await loadComponentMeta(dirPath)
|
|
339
339
|
|
|
340
340
|
if (result && result.meta) {
|
|
341
|
-
if (result.meta.
|
|
341
|
+
if (result.meta.hidden) continue
|
|
342
342
|
layouts[entry.name] = buildComponentEntry(entry.name, relativePath, result.meta)
|
|
343
343
|
} else if (hasEntryFile(dirPath, entry.name)) {
|
|
344
344
|
layouts[entry.name] = buildComponentEntry(entry.name, relativePath, createImplicitMeta(entry.name))
|
|
@@ -372,7 +372,7 @@ async function discoverNestedSections(srcDir, parentFullPath, parentRelPath, com
|
|
|
372
372
|
const result = await loadComponentMeta(dirPath)
|
|
373
373
|
|
|
374
374
|
if (result && result.meta) {
|
|
375
|
-
if (result.meta.
|
|
375
|
+
if (result.meta.hidden) continue
|
|
376
376
|
components[entry.name] = buildComponentEntry(entry.name, relativePath, result.meta)
|
|
377
377
|
}
|
|
378
378
|
|
|
@@ -406,7 +406,7 @@ async function discoverExplicitSectionsInPath(srcDir, relativePath) {
|
|
|
406
406
|
|
|
407
407
|
if (result && result.meta) {
|
|
408
408
|
// Check if explicitly hidden from discovery
|
|
409
|
-
if (result.meta.
|
|
409
|
+
if (result.meta.hidden) {
|
|
410
410
|
continue
|
|
411
411
|
}
|
|
412
412
|
|
package/src/theme/processor.js
CHANGED
|
@@ -23,11 +23,11 @@ const NEUTRAL_PRESETS = {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
|
-
* Default inline text styles (content-author markdown: [text]{
|
|
26
|
+
* Default inline text styles (content-author markdown: [text]{accent})
|
|
27
27
|
* These reference semantic tokens so they adapt to context automatically
|
|
28
28
|
*/
|
|
29
29
|
const DEFAULT_INLINE = {
|
|
30
|
-
|
|
30
|
+
accent: {
|
|
31
31
|
color: 'var(--link)',
|
|
32
32
|
'font-weight': '600',
|
|
33
33
|
},
|