valaxy-theme-yun 0.26.8 → 0.26.10
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/components/YunFooter.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { useSiteConfig, useValaxyConfig, useValaxyDark, useValaxyI18n } from 'valaxy'
|
|
3
|
-
import pkg from 'valaxy/package.json'
|
|
3
|
+
import pkg from 'valaxy/package.json' with { type: 'json' }
|
|
4
4
|
import { capitalize, computed } from 'vue'
|
|
5
5
|
import { useI18n } from 'vue-i18n'
|
|
6
6
|
import { useThemeConfig } from '../composables'
|
|
@@ -5,8 +5,8 @@ import { useHotKey } from '../composables'
|
|
|
5
5
|
|
|
6
6
|
const siteConfig = useSiteConfig()
|
|
7
7
|
|
|
8
|
-
const isAlgolia = computed(() => siteConfig.value.search.
|
|
9
|
-
const isFuse = computed(() => siteConfig.value.search.
|
|
8
|
+
const isAlgolia = computed(() => siteConfig.value.search.provider === 'algolia')
|
|
9
|
+
const isFuse = computed(() => siteConfig.value.search.provider === 'fuse')
|
|
10
10
|
|
|
11
11
|
const open = ref(false)
|
|
12
12
|
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { CSSProperties } from 'vue'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
withDefaults(
|
|
5
|
+
defineProps<{
|
|
6
|
+
title: string
|
|
7
|
+
chars?: number[]
|
|
8
|
+
}>(),
|
|
9
|
+
{
|
|
10
|
+
chars: () => [],
|
|
11
|
+
},
|
|
12
|
+
)
|
|
8
13
|
</script>
|
|
9
14
|
|
|
10
15
|
<template>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valaxy-theme-yun",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.26.
|
|
4
|
+
"version": "0.26.10",
|
|
5
5
|
"author": {
|
|
6
6
|
"email": "me@yunyoujun.cn",
|
|
7
7
|
"name": "YunYouJun",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@ctrl/tinycolor": "^4.2.0",
|
|
26
26
|
"@explosions/fireworks": "^0.2.0",
|
|
27
27
|
"@iconify-json/ant-design": "^1.2.5",
|
|
28
|
-
"@iconify-json/simple-icons": "^1.2.
|
|
28
|
+
"@iconify-json/simple-icons": "^1.2.57",
|
|
29
29
|
"@vueuse/motion": "^3.0.3",
|
|
30
30
|
"animejs": "^4.2.2",
|
|
31
31
|
"gsap": "^3.13.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/animejs": "^3.1.13",
|
|
36
|
-
"valaxy": "0.26.
|
|
36
|
+
"valaxy": "0.26.10",
|
|
37
37
|
"valaxy-addon-waline": "0.2.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|