valaxy-theme-yun 0.15.14 → 0.16.0
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.
@@ -44,13 +44,13 @@ onContentUpdated(() => {
|
|
44
44
|
// only intercept inbound links
|
45
45
|
if (
|
46
46
|
!e.ctrlKey
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
47
|
+
&& !e.shiftKey
|
48
|
+
&& !e.altKey
|
49
|
+
&& !e.metaKey
|
50
|
+
&& target !== '_blank'
|
51
|
+
&& protocol === currentUrl.protocol
|
52
|
+
&& hostname === currentUrl.hostname
|
53
|
+
&& !(extMatch && extMatch[0] !== '.html')
|
54
54
|
) {
|
55
55
|
if (pathname === currentUrl.pathname) {
|
56
56
|
e.preventDefault()
|
package/components/YunCard.vue
CHANGED
package/components/YunLinks.vue
CHANGED
@@ -31,7 +31,7 @@ function onError(e: Event) {
|
|
31
31
|
<div class="links">
|
32
32
|
<ul class="link-items">
|
33
33
|
<li v-for="link, i in data" :key="i" class="link-item" :style="`--primary-color: ${link.color}`">
|
34
|
-
<a class="link-url" p="x-4 y-2" :href="link.url" :title="link.name" alt="portrait" rel="friend">
|
34
|
+
<a class="link-url" p="x-4 y-2" :href="link.url" :title="link.name" alt="portrait" rel="friend" target="_blank">
|
35
35
|
<div class="link-left">
|
36
36
|
<img
|
37
37
|
class="link-avatar" width="64" height="64" w="16" h="16"
|
@@ -49,7 +49,7 @@ function onError(e: Event) {
|
|
49
49
|
</div>
|
50
50
|
</template>
|
51
51
|
|
52
|
-
<
|
52
|
+
<style lang="scss" scoped>
|
53
53
|
.link-item {
|
54
54
|
display: inline-flex;
|
55
55
|
}
|
@@ -117,4 +117,4 @@ function onError(e: Event) {
|
|
117
117
|
justify-content: center;
|
118
118
|
}
|
119
119
|
}
|
120
|
-
</
|
120
|
+
</style>
|
@@ -23,6 +23,7 @@ const { icon, styles } = usePostProperty(props.post.type)
|
|
23
23
|
width="320" height="180"
|
24
24
|
w="40%" h="54"
|
25
25
|
class="cover object-cover object-center md:shadow"
|
26
|
+
loading="lazy"
|
26
27
|
>
|
27
28
|
|
28
29
|
<div class="flex flex-col items-center" :class="post.cover && 'h-54'" w="full">
|
package/layouts/404.vue
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-yun",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.16.0",
|
4
4
|
"author": {
|
5
5
|
"email": "me@yunyoujun.cn",
|
6
6
|
"name": "YunYouJun",
|
@@ -18,13 +18,13 @@
|
|
18
18
|
"types": "types/index.d.ts",
|
19
19
|
"dependencies": {
|
20
20
|
"@explosions/fireworks": "^0.0.2",
|
21
|
-
"@iconify-json/ant-design": "^1.1.
|
22
|
-
"@iconify-json/simple-icons": "^1.1.
|
23
|
-
"animejs": "^3.2.
|
21
|
+
"@iconify-json/ant-design": "^1.1.13",
|
22
|
+
"@iconify-json/simple-icons": "^1.1.84",
|
23
|
+
"animejs": "^3.2.2"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
|
-
"@types/animejs": "^3.1.
|
27
|
-
"valaxy": "0.
|
26
|
+
"@types/animejs": "^3.1.12",
|
27
|
+
"valaxy": "0.16.0",
|
28
28
|
"valaxy-addon-waline": "0.1.1"
|
29
29
|
}
|
30
30
|
}
|