@sit-onyx/nuxt-docs 0.7.0 → 0.7.1-dev-20260611132325
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.
|
@@ -64,6 +64,10 @@ defineSlots<{
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&__content {
|
|
67
|
+
// when using a grid inside the content, it should reflect only the available
|
|
68
|
+
// content width as breakpoint instead of the whole page (including the TOC)
|
|
69
|
+
container-type: inline-size;
|
|
70
|
+
|
|
67
71
|
// remove the top margin of the first child since its redundant to the page padding
|
|
68
72
|
:deep(> div > :first-child) {
|
|
69
73
|
margin-top: 0;
|
|
@@ -32,9 +32,10 @@ export const useCollection = async <TCollection extends keyof Collections = keyo
|
|
|
32
32
|
|
|
33
33
|
// get base path of current route (remove a potential locale prefix)
|
|
34
34
|
_path = route.path;
|
|
35
|
-
const localePrefix = `/${locale.value}
|
|
35
|
+
const localePrefix = `/${locale.value}/`;
|
|
36
36
|
|
|
37
|
-
if (_path.
|
|
37
|
+
if (_path === `/${locale.value}`) return "/";
|
|
38
|
+
if (_path.startsWith(localePrefix)) return `/${_path.slice(localePrefix.length)}`;
|
|
38
39
|
return _path;
|
|
39
40
|
});
|
|
40
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sit-onyx/nuxt-docs",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1-dev-20260611132325",
|
|
4
4
|
"description": "Nuxt layer/template for creating documentations with the onyx design system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Schwarz IT KG",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@nuxtjs/i18n": ">= 10",
|
|
34
34
|
"@nuxtjs/mdc": ">= 0.20.2",
|
|
35
35
|
"sass-embedded": ">= 1",
|
|
36
|
-
"@sit-onyx/icons": "^1.10.
|
|
36
|
+
"@sit-onyx/icons": "^1.10.1-dev-20260611132325",
|
|
37
37
|
"@sit-onyx/nuxt": "^1.0.1",
|
|
38
|
-
"sit-onyx": "^1.
|
|
38
|
+
"sit-onyx": "^1.15.0-dev-20260611132325"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@fontsource-variable/source-code-pro": "^5.2.7",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
"@nuxtjs/mdc": "~0.22.0",
|
|
47
47
|
"@playwright/experimental-ct-vue": "1.60.0",
|
|
48
48
|
"@playwright/test": "1.60.0",
|
|
49
|
-
"nuxt": "4.4.
|
|
49
|
+
"nuxt": "4.4.8",
|
|
50
50
|
"sass-embedded": "1.100.0",
|
|
51
51
|
"typescript": "5.9.3",
|
|
52
52
|
"vue": "3.5.35",
|
|
53
|
-
"@sit-onyx/icons": "^1.10.
|
|
53
|
+
"@sit-onyx/icons": "^1.10.1-dev-20260611132325",
|
|
54
54
|
"@sit-onyx/nuxt": "^1.0.1",
|
|
55
55
|
"@sit-onyx/shared": "^0.1.0",
|
|
56
|
-
"sit-onyx": "^1.
|
|
56
|
+
"sit-onyx": "^1.15.0-dev-20260611132325"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"dev": "pnpm dev:prepare && nuxi dev playground",
|