@farming-labs/nuxt-theme 0.0.3-beta.8 → 0.0.3-beta.9
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": "@farming-labs/nuxt-theme",
|
|
3
|
-
"version": "0.0.3-beta.
|
|
3
|
+
"version": "0.0.3-beta.9",
|
|
4
4
|
"description": "Nuxt/Vue UI components for @farming-labs/docs — layout, sidebar, TOC, search, and theme toggle",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"sugar-high": "^0.9.5",
|
|
63
|
-
"@farming-labs/docs": "0.0.3-beta.
|
|
63
|
+
"@farming-labs/docs": "0.0.3-beta.9"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"nuxt": ">=3.0.0",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { ref, computed } from "vue";
|
|
3
3
|
import { useRoute } from "vue-router";
|
|
4
|
+
import { useHead } from "#app";
|
|
4
5
|
import SearchDialog from "./SearchDialog.vue";
|
|
5
6
|
import FloatingAIChat from "./FloatingAIChat.vue";
|
|
6
7
|
import ThemeToggle from "./ThemeToggle.vue";
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* and Astro SearchDialog: recents when empty, /api/docs search, keyboard nav, click to navigate.
|
|
5
5
|
*/
|
|
6
6
|
import { ref, computed, watch, onMounted, nextTick } from "vue";
|
|
7
|
+
import { navigateTo } from "#app";
|
|
7
8
|
|
|
8
9
|
const STORAGE_KEY = "fd:omni:recents";
|
|
9
10
|
const MAX_RECENTS = 8;
|