valaxy-theme-yun 0.14.29 → 0.14.31
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/YunBanner.vue
CHANGED
@@ -23,12 +23,12 @@ const chars = computed(() => {
|
|
23
23
|
// height of top/bottom line
|
24
24
|
const lineH = computed(() => chars.value.reduce((a, b) => a + b, 0) / 2)
|
25
25
|
|
26
|
-
const bannerStyles = ref()
|
26
|
+
const bannerStyles = ref<CSSProperties>()
|
27
27
|
onBeforeMount(() => {
|
28
28
|
bannerStyles.value = {
|
29
29
|
'--banner-height': `${window.innerHeight}px`,
|
30
30
|
'--banner-line-height': `calc(var(--banner-height, 100vh) / 2 - ${lineH.value}rem)`,
|
31
|
-
}
|
31
|
+
}
|
32
32
|
})
|
33
33
|
</script>
|
34
34
|
|
package/components/YunTwikoo.vue
CHANGED
package/layouts/layout.vue
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
<script lang="ts" setup>
|
2
|
+
import { asAny } from 'valaxy'
|
3
|
+
</script>
|
4
|
+
|
1
5
|
<template>
|
2
6
|
<ValaxySidebar>
|
3
7
|
<slot name="sidebar">
|
@@ -9,7 +13,7 @@
|
|
9
13
|
</ValaxySidebar>
|
10
14
|
|
11
15
|
<router-view v-slot="{ Component }">
|
12
|
-
<component :is="Component">
|
16
|
+
<component :is="asAny(Component)">
|
13
17
|
<template #main-header>
|
14
18
|
<slot name="main-header" />
|
15
19
|
</template>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-yun",
|
3
|
-
"version": "0.14.
|
3
|
+
"version": "0.14.31",
|
4
4
|
"author": {
|
5
5
|
"email": "me@yunyoujun.cn",
|
6
6
|
"name": "YunYouJun",
|
@@ -18,12 +18,12 @@
|
|
18
18
|
"types": "types/index.d.ts",
|
19
19
|
"dependencies": {
|
20
20
|
"@iconify-json/ant-design": "^1.1.5",
|
21
|
-
"@iconify-json/simple-icons": "^1.1.
|
21
|
+
"@iconify-json/simple-icons": "^1.1.55",
|
22
22
|
"animejs": "^3.2.1",
|
23
23
|
"valaxy-addon-waline": "0.1.0"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
26
|
"@types/animejs": "^3.1.7",
|
27
|
-
"valaxy": "0.14.
|
27
|
+
"valaxy": "0.14.31"
|
28
28
|
}
|
29
29
|
}
|