vitepress-plugin-announcement 0.1.4 → 0.1.6
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.
|
@@ -176,7 +176,7 @@ const showReopen = computed(() => {
|
|
|
176
176
|
<span class="title">{{ popoverProps?.title }}</span>
|
|
177
177
|
</div>
|
|
178
178
|
<AnnouncementIcon class="close-icon" size="20px" :icon="popoverProps?.closeIcon" @click="handleClose">
|
|
179
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z" /></svg>
|
|
179
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="20" height="20"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z" /></svg>
|
|
180
180
|
</AnnouncementIcon>
|
|
181
181
|
</div>
|
|
182
182
|
<div v-if="bodyContent.length" class="body content">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitepress-plugin-announcement",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "vitepress plugin, Announcement, 公告窗口",
|
|
5
5
|
"author": "sugar",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"vitepress": "^1"
|
|
35
|
+
"vitepress": "^1 || ^2"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"javascript-stringify": "^2.1.0"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"tinyglobby": "^0.2.6",
|
|
44
44
|
"typescript": "^5.5.4",
|
|
45
45
|
"vite": "^5",
|
|
46
|
-
"vitepress": "
|
|
46
|
+
"vitepress": "2.0.0-alpha.15",
|
|
47
47
|
"vue": "^3.5.12"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|