@sit-onyx/nuxt-docs 0.7.4 → 0.7.5-dev-20260907113118

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.
@@ -50,7 +50,7 @@ defineSlots<{
50
50
  &__toc {
51
51
  position: sticky;
52
52
  top: var(--onyx-grid-margin-vertical);
53
- height: calc(100vh - var(--onyx-nav-bar-height) - 2 * var(--onyx-grid-margin-vertical));
53
+ height: calc(100dvh - var(--onyx-nav-bar-height) - 2 * var(--onyx-grid-margin-vertical));
54
54
  }
55
55
 
56
56
  // hide TOC on smaller screens
@@ -151,6 +151,7 @@ export const useSidebarNavigation = async <
151
151
 
152
152
  /**
153
153
  * Finds the "previous root" (parent root) for a given current path within the navigation tree.
154
+ *
154
155
  * - If depth >= 2: returns the previous root item
155
156
  * - If depth == 1: returns the first item in the navigation (typically a "Home" item)
156
157
  * - If depth == 0: returns undefined (no back button needed)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sit-onyx/nuxt-docs",
3
- "version": "0.7.4",
3
+ "version": "0.7.5-dev-20260907113118",
4
4
  "description": "Nuxt layer/template for creating documentations with the onyx design system",
5
5
  "bugs": {
6
6
  "url": "https://github.com/SchwarzIT/onyx/issues"
@@ -26,8 +26,8 @@
26
26
  "devDependencies": {
27
27
  "@fontsource-variable/source-code-pro": "^5.3.0",
28
28
  "@fontsource-variable/source-sans-3": "^5.3.0",
29
- "@nuxt/content": "^3.15.2",
30
- "@nuxt/test-utils": "^4.1.0",
29
+ "@nuxt/content": "^3.16.0",
30
+ "@nuxt/test-utils": "^4.2.0",
31
31
  "@nuxtjs/color-mode": "^4.0.1",
32
32
  "@nuxtjs/mdc": "~0.23.1",
33
33
  "@playwright/experimental-ct-vue": "1.62.1",
@@ -37,9 +37,9 @@
37
37
  "@sit-onyx/shared": "^0.1.0",
38
38
  "nuxt": "4.5.2",
39
39
  "sass-embedded": "1.103.1",
40
- "sit-onyx": "^1.20.0",
40
+ "sit-onyx": "^1.21.0-dev-20260907113118",
41
41
  "typescript": "6.0.3",
42
- "vue": "3.5.41"
42
+ "vue": "3.5.42"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@fontsource-variable/source-code-pro": ">= 5",
@@ -51,7 +51,7 @@
51
51
  "@sit-onyx/icons": "^1.12.0",
52
52
  "@sit-onyx/nuxt": "^1.1.2",
53
53
  "sass-embedded": ">= 1",
54
- "sit-onyx": "^1.20.0"
54
+ "sit-onyx": "^1.21.0-dev-20260907113118"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=20"