@vuepress/client 2.0.0-beta.27 → 2.0.0-beta.33
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/lib/components/index.d.ts +0 -1
- package/lib/components/index.js +0 -1
- package/lib/registerGlobalComponents.js +1 -2
- package/package.json +5 -5
- package/templates/{index.ssr.html → index.build.html} +0 -0
- package/lib/components/OutboundLink.css +0 -7
- package/lib/components/OutboundLink.d.ts +0 -3
- package/lib/components/OutboundLink.js +0 -24
package/lib/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClientOnly, Content
|
|
1
|
+
import { ClientOnly, Content } from './components';
|
|
2
2
|
/**
|
|
3
3
|
* Register global built-in components
|
|
4
4
|
*/
|
|
@@ -6,6 +6,5 @@ export const registerGlobalComponents = (app) => {
|
|
|
6
6
|
/* eslint-disable vue/match-component-file-name */
|
|
7
7
|
app.component('ClientOnly', ClientOnly);
|
|
8
8
|
app.component('Content', Content);
|
|
9
|
-
app.component('OutboundLink', OutboundLink);
|
|
10
9
|
/* eslint-enable vue/match-component-file-name */
|
|
11
10
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuepress/client",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.33",
|
|
4
4
|
"description": "Client package of VuePress",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuepress",
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"copy": "cpx \"src/**/*.{d.ts,css}\" lib"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@vuepress/shared": "2.0.0-beta.
|
|
33
|
-
"vue": "^3.2.
|
|
32
|
+
"@vuepress/shared": "2.0.0-beta.33",
|
|
33
|
+
"vue": "^3.2.26",
|
|
34
34
|
"vue-router": "^4.0.12"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/webpack-env": "^1.16.3",
|
|
38
|
-
"vite": "^2.
|
|
38
|
+
"vite": "^2.7.10"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "0934a5d6685922e0dc6391622b00a3b89140492c"
|
|
44
44
|
}
|
|
File without changes
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { h } from 'vue';
|
|
2
|
-
import './OutboundLink.css';
|
|
3
|
-
const svg = h('svg', {
|
|
4
|
-
'class': 'icon outbound',
|
|
5
|
-
'xmlns': 'http://www.w3.org/2000/svg',
|
|
6
|
-
'aria-hidden': 'true',
|
|
7
|
-
'focusable': 'false',
|
|
8
|
-
'x': '0px',
|
|
9
|
-
'y': '0px',
|
|
10
|
-
'viewBox': '0 0 100 100',
|
|
11
|
-
'width': '15',
|
|
12
|
-
'height': '15',
|
|
13
|
-
}, [
|
|
14
|
-
h('path', {
|
|
15
|
-
fill: 'currentColor',
|
|
16
|
-
d: 'M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z',
|
|
17
|
-
}),
|
|
18
|
-
h('polygon', {
|
|
19
|
-
fill: 'currentColor',
|
|
20
|
-
points: '45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9',
|
|
21
|
-
}),
|
|
22
|
-
]);
|
|
23
|
-
export const OutboundLink = (_, { slots }) => { var _a; return h('span', [svg, (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)]); };
|
|
24
|
-
OutboundLink.displayName = 'OutboundLink';
|