Skip to content

Commit 466b641

Browse files
committed
Merge branch 'master' into pr/222
2 parents cd6d409 + 56232fd commit 466b641

File tree

217 files changed

+10161
-4304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+10161
-4304
lines changed

assets/lifecycle-diagram.svg

Lines changed: 185 additions & 0 deletions
Loading

assets/scoped-slot-diagram.svg

Lines changed: 78 additions & 0 deletions
Loading

assets/slot-render-diagram.svg

Lines changed: 60 additions & 0 deletions
Loading

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"devDependencies": {
33
"@vuepress/plugin-pwa": "^1.5.4",
4-
"node-sass": "^4.13.1",
4+
"sass": "^1.32.0",
55
"sass-loader": "^8.0.2",
66
"vuepress": "^1.5.4"
77
},
@@ -14,7 +14,6 @@
1414
"@docsearch/css": "^1.0.0-alpha.27",
1515
"@docsearch/js": "^1.0.0-alpha.27",
1616
"algoliasearch": "^4.4.0",
17-
"axios": "^0.19.1",
1817
"intersection-observer": "^0.11.0",
1918
"showdown": "^1.9.1"
2019
}

src/.vuepress/components/MigrationBadges.vue

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
<script>
2-
const validBadges = ['new', 'breaking', 'removed', 'updated']
2+
const validBadges = {
3+
new: 'new',
4+
breaking: 'breaking',
5+
removed: 'removed',
6+
updated: 'updated'
7+
}
38
49
export default {
510
props: {
611
badges: {
712
type: Array,
813
default: () => [],
914
validator(value) {
10-
return value.every(badge => validBadges.includes(badge))
15+
return value.every(badge => Object.keys(validBadges).includes(badge))
1116
}
1217
}
18+
},
19+
data() {
20+
return {
21+
validBadges
22+
}
1323
}
1424
}
1525
</script>
@@ -21,7 +31,7 @@ export default {
2131
:class="`migration-badge is-${badgeType}`"
2232
:key="`badge-type-${badgeType}`"
2333
>
24-
{{ badgeType }}
34+
{{ validBadges[badgeType] }}
2535
</span>
2636
</div>
2737
</template>

src/.vuepress/components/common/codepen-snippet.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
:data-pen-title="title"
1212
:data-embed-version="version"
1313
:style="`height: ${height}px`">
14-
<span>See the Pen <a :href="href">{{ title }}</a>
15-
by {{ name || user }} (<a :href="`https://codepen.io/${user}`">@{{user}}</a>)
16-
on <a href="https://codepen.io">CodePen</a>.</span>
14+
<span>Veja o exemplo <a :href="href">{{ title }}</a>
15+
por {{ name || user }} (<a :href="`https://codepen.io/${user}`">@{{user}}</a>)
16+
no <a href="https://codepen.io">CodePen</a>.</span>
1717
</p>
1818
</template>
1919

@@ -44,7 +44,7 @@ export default {
4444
4545
user: {
4646
type: String,
47-
default: 'Vue',
47+
default: 'vuejs-br',
4848
},
4949
5050
name: {

src/.vuepress/components/community/team/members.js

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ const members = [
109109
languages: ['hi', 'en'],
110110
work: {
111111
role: 'Software Engineer',
112-
org: 'Myntra',
113-
orgUrl: 'https://www.myntra.com/'
112+
org: 'Grammarly',
113+
orgUrl: 'https://grammarly.com/'
114114
},
115115
github: 'znck',
116116
twitter: 'znck0',
117-
reposOfficial: ['rollup-plugin-vue', 'vue-issue-helper'],
118-
reposPersonal: ['keynote', 'bootstrap-for-vue', 'vue-interop'],
119-
links: ['https://znck.me', 'https://www.codementor.io/znck']
117+
reposOfficial: ['rollup-plugin-vue', 'vue-next'],
118+
reposPersonal: ['vue-developer-experience', 'prop-types', 'grammarly'],
119+
links: ['https://znck.me']
120120
},
121121
{
122122
name: 'Linusborg',
@@ -248,7 +248,7 @@ const members = [
248248
{
249249
name: 'Natalia Tepluhina',
250250
title: 'Fox Tech Guru',
251-
city: 'Kyiv, Ukraine',
251+
city: 'Amsterdam, Netherlands',
252252
languages: ['uk', 'ru', 'en'],
253253
reposOfficial: ['vuejs.org', 'vue-cli'],
254254
work: {
@@ -299,6 +299,16 @@ const members = [
299299
twitter: 'KiaKing85',
300300
reposOfficial: ['vuex'],
301301
reposPersonal: ['vuex-orm/*']
302+
},
303+
{
304+
name: 'Anthony Fu',
305+
city: 'Taipei, Taiwan',
306+
languages: ['zh', 'en'],
307+
github: 'antfu',
308+
twitter: 'antfu7',
309+
reposOfficial: ['composition-api'],
310+
reposPersonal: ['vueuse', 'vue-demi', 'vue-reactivity/*'],
311+
links: ['https://antfu.me/']
302312
}
303313
])
304314
)

src/.vuepress/components/community/themes/theme-data.js

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,51 +127,79 @@ export default [
127127
},
128128
{
129129
name: 'PrimeVue',
130-
description: `The open-source UI component library [PrimeVue](https://www.primefaces.org/primevue/#/?af_id=4218) offers over 50 flexible components to build your apps with! They have a ton of different component themes and Vue-CLI application templates available to get the look&feel that suits you best.`,
130+
description: `The open-source UI component library [PrimeVue](https://www.primefaces.org/primevue/#/?af_id=4218) offers over 80 flexible components to build your apps with! They have a ton of different component themes and Vue-CLI application templates available to get the look&feel that suits you best.`,
131131
seeMoreUrl: 'https://www.primefaces.org/primevue/#/?af_id=4218',
132132
products: [
133133
{
134-
name: 'Sapphire',
134+
name: 'Freya',
135+
price: 59,
136+
description: 'Premium Admin Template',
137+
url: 'https://www.primefaces.org/layouts/freya-vue?af_id=4218',
138+
image: 'https://www.primefaces.org/vue-templates/freya.jpg'
139+
},
140+
{
141+
name: 'Diamond',
142+
price: 59,
143+
description: 'PrimeOne Design Admin Template',
144+
url: 'https://www.primefaces.org/layouts/diamond-vue?af_id=4218',
145+
image: 'https://www.primefaces.org/vue-templates/diamond.jpg'
146+
},
147+
{
148+
name: 'Ultima',
135149
price: 79,
136150
description: 'Material Design Admin Template',
151+
url: 'https://www.primefaces.org/layouts/ultima-vue?af_id=4218',
152+
image: 'https://www.primefaces.org/vue-templates/ultima.jpg'
153+
},
154+
{
155+
name: 'Sapphire',
156+
price: 49,
157+
description: 'Material Design Admin Template',
137158
url: 'https://www.primefaces.org/layouts/sapphire-vue?af_id=4218',
138159
image: 'https://www.primefaces.org/vue-templates/sapphire.jpg'
139160
},
140161
{
141162
name: 'Avalon',
142-
price: 79,
163+
price: 49,
143164
description: 'Bootstrap Inspired Admin Template',
144165
url: 'https://www.primefaces.org/layouts/avalon-vue?af_id=4218',
145166
image: 'https://www.primefaces.org/vue-templates/avalon.jpg'
146167
},
147168
{
148169
name: 'Serenity',
149-
price: 79,
170+
price: 49,
150171
description: 'Material Design Admin Template',
151172
url: 'https://www.primefaces.org/layouts/serenity-vue?af_id=4218',
152173
image: 'https://www.primefaces.org/vue-templates/serenity.jpg'
153174
},
154175
{
155176
name: 'Apollo',
156-
price: 79,
177+
price: 49,
157178
description: 'Admin Template with a Dark Mode',
158179
url: 'https://www.primefaces.org/layouts/apollo-vue?af_id=4218',
159180
image: 'https://www.primefaces.org/vue-templates/apollo.jpg'
160181
},
161182
{
162183
name: 'Babylon',
163-
price: 79,
184+
price: 49,
164185
description: 'Admin Template with Extensive Options',
165186
url: 'https://www.primefaces.org/layouts/babylon-vue?af_id=4218',
166187
image: 'https://www.primefaces.org/vue-templates/babylon.jpg'
167188
},
168189
{
169190
name: 'Roma',
170-
price: 59,
191+
price: 39,
171192
description: 'Admin Template with a Clean Design System',
172193
url: 'https://www.primefaces.org/layouts/roma-vue?af_id=4218',
173194
image: 'https://www.primefaces.org/vue-templates/roma.jpg'
174195
},
196+
{
197+
name: 'Prestige',
198+
price: 39,
199+
description: 'Highly Customizable Admin Template',
200+
url: 'https://www.primefaces.org/layouts/prestige-vue?af_id=4218',
201+
image: 'https://www.primefaces.org/vue-templates/prestige.jpg'
202+
},
175203
{
176204
name: 'Sigma',
177205
price: 0,
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
export const labels = {
2+
language: 'Language',
3+
github: 'GitHub',
4+
lastCommit: 'Last commit',
5+
last90Days: 'Last 90 days',
6+
loadDetails: 'Load Details',
7+
commits: 'commits',
8+
loading: 'Loading...'
9+
}
10+
11+
// Repos are in alphabetical order by the language code
12+
// You may need to clear your sessionStorage when adding a new item to this list
13+
export const repos = [
14+
{ lang: 'en-us', owner: 'vuejs', repo: 'docs', branch: 'master', url: 'https://v3.vuejs.org/' },
15+
{ lang: 'fr', owner: 'demahom18', repo: 'docs-next', branch: 'master', url: 'https://vue3-fr.netlify.app' },
16+
{ lang: 'id', owner: 'vuejs-id', repo: 'docs-next', branch: 'indonesian' },
17+
{ lang: 'ja', owner: 'vuejs-jp', repo: 'ja.vuejs.org', branch: 'lang-ja', url: 'https://v3.ja.vuejs.org/' },
18+
{ lang: 'ko', owner: 'vuejs-kr', repo: 'docs-next', branch: 'rootKoKr', url: 'https://v3.ko.vuejs.org/' },
19+
{ lang: 'pt-br', owner: 'vuejs-br', repo: 'docs-next', branch: 'master', url: 'https://vuejsbr-docs-next.netlify.app/' },
20+
{ lang: 'ru', owner: 'translation-gang', repo: 'docs-next', branch: 'master', url: 'https://v3.ru.vuejs.org/' },
21+
{ lang: 'zh-cn', owner: 'vuejs', repo: 'docs-next-zh-cn', branch: 'master', url: 'https://v3.cn.vuejs.org/' }
22+
]

0 commit comments

Comments
 (0)