valaxy-theme-yun 0.20.0 → 0.20.1
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/YunClassifyPopover.vue +2 -1
- package/components/YunLinkItem.vue +3 -2
- package/layouts/home.vue +1 -2
- package/node/config.ts +2 -0
- package/package.json +7 -7
- package/types/index.d.ts +11 -0
- package/valaxy.config.ts +1 -1
@@ -1,9 +1,10 @@
|
|
1
1
|
<script setup lang="ts">
|
2
2
|
import { useMotion } from '@vueuse/motion'
|
3
3
|
import Popover from 'primevue/popover'
|
4
|
+
import type { ComponentInstance } from 'vue'
|
4
5
|
import { onMounted, ref } from 'vue'
|
5
6
|
|
6
|
-
const op = ref<typeof Popover
|
7
|
+
const op = ref<ComponentInstance<typeof Popover>>()
|
7
8
|
|
8
9
|
const pContentRef = ref<HTMLElement>()
|
9
10
|
const motion = useMotion(pContentRef, {
|
@@ -42,12 +42,13 @@ useMotion(itemRef, {
|
|
42
42
|
}"
|
43
43
|
>
|
44
44
|
<a
|
45
|
-
class="yun-link-url" p="x-4 y-2"
|
45
|
+
class="yun-link-url" p="x-4 y-2"
|
46
|
+
:href="link.url" :title="link.name"
|
46
47
|
alt="portrait" rel="friend" target="_blank"
|
47
48
|
>
|
48
49
|
<div class="yun-link-left">
|
49
50
|
<img
|
50
|
-
class="yun-link-avatar" width="64" height="64"
|
51
|
+
class="yun-link-avatar w-16 h-16 aspect-ratio-1" width="64" height="64"
|
51
52
|
loading="lazy"
|
52
53
|
:src="link.avatar" :alt="link.name"
|
53
54
|
@error="onError"
|
package/layouts/home.vue
CHANGED
package/node/config.ts
CHANGED
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-yun",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.20.
|
4
|
+
"version": "0.20.1",
|
5
5
|
"author": {
|
6
6
|
"email": "me@yunyoujun.cn",
|
7
7
|
"name": "YunYouJun",
|
@@ -24,17 +24,17 @@
|
|
24
24
|
"@ctrl/tinycolor": "^4.1.0",
|
25
25
|
"@explosions/fireworks": "^0.1.0",
|
26
26
|
"@iconify-json/ant-design": "^1.2.2",
|
27
|
-
"@iconify-json/simple-icons": "^1.2.
|
28
|
-
"@vueuse/motion": "^2.2.
|
27
|
+
"@iconify-json/simple-icons": "^1.2.10",
|
28
|
+
"@vueuse/motion": "^2.2.6",
|
29
29
|
"animejs": "^3.2.2",
|
30
30
|
"gsap": "^3.12.5",
|
31
|
-
"primevue": "^4.1.
|
32
|
-
"radix-vue": "^1.9.
|
31
|
+
"primevue": "^4.1.1",
|
32
|
+
"radix-vue": "^1.9.8"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
35
|
"@types/animejs": "^3.1.12",
|
36
|
-
"valaxy
|
37
|
-
"valaxy": "0.
|
36
|
+
"valaxy": "0.20.1",
|
37
|
+
"valaxy-addon-waline": "0.2.0"
|
38
38
|
},
|
39
39
|
"scripts": {
|
40
40
|
"release": "bumpp && npm publish"
|
package/types/index.d.ts
CHANGED
@@ -50,6 +50,17 @@ export interface PageProps {
|
|
50
50
|
* Theme Config
|
51
51
|
*/
|
52
52
|
export interface ThemeConfig extends DefaultTheme.Config {
|
53
|
+
/**
|
54
|
+
* Theme Type
|
55
|
+
* - v1 strato 层云 Legacy
|
56
|
+
* - v2 nimbo 雨云
|
57
|
+
* - cirro 卷云 (未来)
|
58
|
+
* - cumulo 积云 (未来)
|
59
|
+
* - alto 高云 (未来)
|
60
|
+
* @default 'nimbo'
|
61
|
+
*/
|
62
|
+
type: 'strato' | 'nimbo'
|
63
|
+
|
53
64
|
/**
|
54
65
|
* toc title
|
55
66
|
* @default 'On this page'
|
package/valaxy.config.ts
CHANGED