@sit-onyx/nuxt-docs 0.5.1-dev-20260421131457 → 0.5.1-dev-20260421140058
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.
|
@@ -110,13 +110,9 @@ const filteredSearchResults = computed(() => {
|
|
|
110
110
|
@click="isOpen = true"
|
|
111
111
|
/>
|
|
112
112
|
|
|
113
|
-
<
|
|
114
|
-
v-model="searchTerm"
|
|
115
|
-
v-model:open="isOpen"
|
|
116
|
-
:loading="status === 'pending'"
|
|
117
|
-
>
|
|
113
|
+
<OnyxGlobalSearch v-model="searchTerm" v-model:open="isOpen" :loading="status === 'pending'">
|
|
118
114
|
<template v-if="filteredSearchResults.length" #default>
|
|
119
|
-
<
|
|
115
|
+
<OnyxGlobalSearchGroup
|
|
120
116
|
v-for="group in filteredSearchResults"
|
|
121
117
|
:key="group.label"
|
|
122
118
|
:label="group.label"
|
|
@@ -125,19 +121,19 @@ const filteredSearchResults = computed(() => {
|
|
|
125
121
|
<template v-for="option in group.options" :key="option.value">
|
|
126
122
|
<LazyLocaleSwitch v-if="option.value === 'locale'">
|
|
127
123
|
<template #default="{ trigger }">
|
|
128
|
-
<
|
|
124
|
+
<OnyxGlobalSearchOption v-bind="mergeVueProps(trigger, option)" />
|
|
129
125
|
</template>
|
|
130
126
|
</LazyLocaleSwitch>
|
|
131
127
|
|
|
132
128
|
<ColorSchemeSwitch v-else-if="option.value === 'colorScheme'">
|
|
133
129
|
<template #default="{ trigger }">
|
|
134
|
-
<
|
|
130
|
+
<OnyxGlobalSearchOption v-bind="mergeVueProps(trigger, option)" />
|
|
135
131
|
</template>
|
|
136
132
|
</ColorSchemeSwitch>
|
|
137
133
|
|
|
138
|
-
<
|
|
134
|
+
<OnyxGlobalSearchOption v-else v-bind="option" @click="isOpen = false" />
|
|
139
135
|
</template>
|
|
140
|
-
</
|
|
136
|
+
</OnyxGlobalSearchGroup>
|
|
141
137
|
</template>
|
|
142
|
-
</
|
|
138
|
+
</OnyxGlobalSearch>
|
|
143
139
|
</template>
|
|
@@ -10,23 +10,19 @@ const props = defineProps<{
|
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
v-for="link in props.links"
|
|
16
|
-
:key="link.id"
|
|
17
|
-
:link="`#${link.id}`"
|
|
18
|
-
>
|
|
13
|
+
<OnyxTableOfContents>
|
|
14
|
+
<OnyxTableOfContentsItem v-for="link in props.links" :key="link.id" :link="`#${link.id}`">
|
|
19
15
|
{{ link.text }}
|
|
20
16
|
|
|
21
17
|
<template v-if="link.children?.length" #children>
|
|
22
|
-
<
|
|
18
|
+
<OnyxTableOfContentsItem
|
|
23
19
|
v-for="child in link.children"
|
|
24
20
|
:key="child.id"
|
|
25
21
|
:link="`#${child.id}`"
|
|
26
22
|
>
|
|
27
23
|
{{ child.text }}
|
|
28
|
-
</
|
|
24
|
+
</OnyxTableOfContentsItem>
|
|
29
25
|
</template>
|
|
30
|
-
</
|
|
31
|
-
</
|
|
26
|
+
</OnyxTableOfContentsItem>
|
|
27
|
+
</OnyxTableOfContents>
|
|
32
28
|
</template>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sit-onyx/nuxt-docs",
|
|
3
|
-
"version": "0.5.1-dev-
|
|
3
|
+
"version": "0.5.1-dev-20260421140058",
|
|
4
4
|
"description": "Nuxt layer/template for creating documentations with the onyx design system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Schwarz IT KG",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"nuxt.config.ts"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@sit-onyx/mdc": "^0.1.0-dev-
|
|
26
|
+
"@sit-onyx/mdc": "^0.1.0-dev-20260421140058"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@fontsource-variable/source-code-pro": ">= 5",
|
|
@@ -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.9.0-dev-
|
|
36
|
+
"@sit-onyx/icons": "^1.9.0-dev-20260421140058",
|
|
37
37
|
"@sit-onyx/nuxt": "^1.0.1",
|
|
38
|
-
"sit-onyx": "^1.12.0-dev-
|
|
38
|
+
"sit-onyx": "^1.12.0-dev-20260421140058"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@fontsource-variable/source-code-pro": "^5.2.7",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"sass-embedded": "1.99.0",
|
|
51
51
|
"typescript": "5.9.3",
|
|
52
52
|
"vue": "3.5.32",
|
|
53
|
-
"@sit-onyx/icons": "^1.9.0-dev-
|
|
53
|
+
"@sit-onyx/icons": "^1.9.0-dev-20260421140058",
|
|
54
54
|
"@sit-onyx/nuxt": "^1.0.1",
|
|
55
55
|
"@sit-onyx/shared": "^0.1.0",
|
|
56
|
-
"sit-onyx": "^1.12.0-dev-
|
|
56
|
+
"sit-onyx": "^1.12.0-dev-20260421140058"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"dev": "pnpm dev:prepare && nuxi dev playground",
|