hash
stringlengths 40
40
| date
stringdate 2017-10-11 16:52:59
2025-03-24 06:02:38
| author
stringclasses 190
values | commit_message
stringlengths 12
90
| is_merge
bool 1
class | masked_commit_message
stringlengths 5
75
| type
stringclasses 8
values | git_diff
stringlengths 144
14.2M
|
|---|---|---|---|---|---|---|---|
0bf8ee02ed4d37ea45e06f9034d32b3f5f808d71
|
2019-03-06 18:07:50
|
Dmitry Sharshakov
|
docs(readme): add badge for next version
| false
|
add badge for next version
|
docs
|
diff --git a/README.md b/README.md
index 150046a3efc..055a0243fa9 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,9 @@
<a href="https://www.npmjs.com/package/vuetify">
<img src="https://img.shields.io/npm/v/vuetify.svg" alt="Version">
</a>
+ <a href="https://www.npmjs.com/package/vuetify">
+ <img src="https://img.shields.io/npm/v/vuetify/next.svg" alt="Next version">
+ </a>
<a href="https://cdnjs.com/libraries/vuetify">
<img src="https://img.shields.io/cdnjs/v/vuetify.svg" alt="CDN">
</a>
|
b65f371ade34534bc37b269550f685e5c8be5abe
|
2019-03-29 23:41:51
|
John Leider
|
refactor(VRipple): convert stylus to sass
| false
|
convert stylus to sass
|
refactor
|
diff --git a/packages/vuetify/src/styles/components/_ripples.sass b/packages/vuetify/src/directives/ripple/VRipple.sass
similarity index 90%
rename from packages/vuetify/src/styles/components/_ripples.sass
rename to packages/vuetify/src/directives/ripple/VRipple.sass
index 4c67ae4ae57..b65b08ffe9d 100644
--- a/packages/vuetify/src/styles/components/_ripples.sass
+++ b/packages/vuetify/src/directives/ripple/VRipple.sass
@@ -1,3 +1,6 @@
+@import '../../styles/styles.sass'
+@import './_variables.scss'
+
.v-ripple
&__container
color: inherit
diff --git a/packages/vuetify/src/directives/ripple/_variables.scss b/packages/vuetify/src/directives/ripple/_variables.scss
new file mode 100644
index 00000000000..a667356df50
--- /dev/null
+++ b/packages/vuetify/src/directives/ripple/_variables.scss
@@ -0,0 +1,4 @@
+$ripple-animation-transition-in: transform .25s map-get($transition, 'fast-in-slow-out'),
+ opacity .1s map-get($transition, 'fast-in-slow-out') !default;
+$ripple-animation-transition-out: opacity .3s map-get($transition, 'fast-in-slow-out') !default;
+$ripple-animation-visible-opacity: .15 !default;
diff --git a/packages/vuetify/src/directives/ripple/index.ts b/packages/vuetify/src/directives/ripple/index.ts
index 970037ccda7..65d69ee439d 100644
--- a/packages/vuetify/src/directives/ripple/index.ts
+++ b/packages/vuetify/src/directives/ripple/index.ts
@@ -1,3 +1,6 @@
+// Styles
+import './VRipple.sass'
+
import { VNode, VNodeDirective } from 'vue'
import { consoleWarn } from '../../util/console'
diff --git a/packages/vuetify/src/styles/components/_index.sass b/packages/vuetify/src/styles/components/_index.sass
index f4744cfdb01..c7b64c9745b 100644
--- a/packages/vuetify/src/styles/components/_index.sass
+++ b/packages/vuetify/src/styles/components/_index.sass
@@ -1,2 +1 @@
-@import './_ripples'
@import './_selection-controls'
diff --git a/packages/vuetify/src/stylus/components/_ripples.styl b/packages/vuetify/src/stylus/components/_ripples.styl
deleted file mode 100644
index 4c67ae4ae57..00000000000
--- a/packages/vuetify/src/stylus/components/_ripples.styl
+++ /dev/null
@@ -1,34 +0,0 @@
-.v-ripple
- &__container
- color: inherit
- border-radius: inherit
- position: absolute
- width: 100%
- height: 100%
- left: 0
- top: 0
- overflow: hidden
- z-index: 0
- pointer-events: none
- contain: strict
-
- &__animation
- color: inherit
- position: absolute
- top: 0
- left: 0
- border-radius: 50%
- background: currentColor
- opacity: 0
- pointer-events: none
- overflow: hidden
- will-change: transform, opacity
-
- &--enter
- transition: none
-
- &--in
- transition: $ripple-animation-transition-in
-
- &--out
- transition: $ripple-animation-transition-out
diff --git a/packages/vuetify/src/stylus/settings/_variables.styl b/packages/vuetify/src/stylus/settings/_variables.styl
index 85879fe94c8..20045879be5 100644
--- a/packages/vuetify/src/stylus/settings/_variables.styl
+++ b/packages/vuetify/src/stylus/settings/_variables.styl
@@ -304,10 +304,5 @@ $calendar-weekly-day-month-left := 36px
// Directives
// ============================================================
-// Ripple animation
-$ripple-animation-transition-in := transform .25s $transition.fast-out-slow-in, opacity .1s $transition.fast-out-slow-in
-$ripple-animation-transition-out := opacity .3s $transition.fast-out-slow-in
-$ripple-animation-visible-opacity := .15
-
// Treeview transition
$treeview-transition := .2s $transition.linear-out-slow-in
|
9fe23f2daef248ddcb84eb4f2fd0018c023d5c06
|
2018-10-28 15:15:32
|
Kael
|
chore: create travis config
| false
|
create travis config
|
chore
|
diff --git a/packages/vuetifyjs.com/.travis.yml b/packages/vuetifyjs.com/.travis.yml
new file mode 100644
index 00000000000..be00e824a1b
--- /dev/null
+++ b/packages/vuetifyjs.com/.travis.yml
@@ -0,0 +1,8 @@
+language: node_js
+node_js:
+ - "8"
+
+script:
+ - yarn --frozen-lockfile --non-interactive
+ - yarn run lint
+ - yarn run build
|
123cab6658f87616fc16651184d1c1e2d663615d
|
2019-11-06 10:51:30
|
MajesticPotatoe
|
docs(PreMadeLayouts): fix source url
| false
|
fix source url
|
docs
|
diff --git a/packages/docs/src/layouts/layouts/Index.vue b/packages/docs/src/layouts/layouts/Index.vue
index 4f7dd415dc3..8d90af30649 100644
--- a/packages/docs/src/layouts/layouts/Index.vue
+++ b/packages/docs/src/layouts/layouts/Index.vue
@@ -3,7 +3,7 @@
<component
:is="component"
v-if="component"
- :source="`https://github.com/vuetifyjs/vuetify/blob/${branch}/packages/docs/src/examples/layouts/${page}.vue`"
+ :source="`https://github.com/vuetifyjs/vuetify/blob/${branch}/packages/docs/src/layouts/layouts/demos/${page}.vue`"
/>
</div>
</template>
|
ec2b3d1a1def618eedae03fd082a3518a9c20386
|
2023-06-07 13:48:16
|
Kael
|
chore(release): publish v3.3.3
| false
|
publish v3.3.3
|
chore
|
diff --git a/lerna.json b/lerna.json
index 42139503866..0635cca76dd 100644
--- a/lerna.json
+++ b/lerna.json
@@ -13,6 +13,6 @@
}
},
"npmClient": "yarn",
- "version": "3.3.2",
+ "version": "3.3.3",
"useWorkspaces": true
}
diff --git a/packages/api-generator/package.json b/packages/api-generator/package.json
index 28b96bf11ea..bd2169dea6c 100755
--- a/packages/api-generator/package.json
+++ b/packages/api-generator/package.json
@@ -1,6 +1,6 @@
{
"name": "@vuetify/api-generator",
- "version": "3.3.2",
+ "version": "3.3.3",
"private": true,
"description": "",
"scripts": {
@@ -19,7 +19,7 @@
"rimraf": "^3.0.2",
"ts-morph": "^18.0.0",
"vue": "^3.3.4",
- "vuetify": "^3.3.2"
+ "vuetify": "^3.3.3"
},
"devDependencies": {
"@babel/node": "^7.20.7"
diff --git a/packages/docs/package.json b/packages/docs/package.json
index 33ab21b4098..19c57a5944f 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -3,7 +3,7 @@
"description": "A Vue.js project",
"private": true,
"author": "John Leider <[email protected]>",
- "version": "3.3.2",
+ "version": "3.3.3",
"repository": {
"type": "git",
"url": "git+https://github.com/vuetifyjs/vuetify.git",
@@ -39,7 +39,7 @@
"vue-i18n": "^9.3.0-beta.16",
"vue-instantsearch": "^4.8.8",
"vue-prism-component": "^2.0.0",
- "vuetify": "^3.3.2"
+ "vuetify": "^3.3.3"
},
"devDependencies": {
"@emailjs/browser": "^3.10.0",
@@ -51,7 +51,7 @@
"@vitejs/plugin-basic-ssl": "^1.0.1",
"@vitejs/plugin-vue": "^4.2.2",
"@vue/compiler-sfc": "^3.3.4",
- "@vuetify/api-generator": "^3.3.2",
+ "@vuetify/api-generator": "^3.3.3",
"@vuetify/vite-ssg": "^0.20.2",
"ajv": "^8.12.0",
"async-es": "^3.2.4",
diff --git a/packages/vuetify/package.json b/packages/vuetify/package.json
index 8883895f346..2d5ecfee912 100755
--- a/packages/vuetify/package.json
+++ b/packages/vuetify/package.json
@@ -1,7 +1,7 @@
{
"name": "vuetify",
"description": "Vue Material Component Framework",
- "version": "3.3.2",
+ "version": "3.3.3",
"author": {
"name": "John Leider",
"email": "[email protected]"
|
198c00948b74df0051eda158d8a9b5b5cfaf7c95
|
2022-10-14 00:49:21
|
Yuchao
|
fix(VAutocomplete): show selections slot and the input side-by-side like v2 does (#15768)
| false
|
show selections slot and the input side-by-side like v2 does (#15768)
|
fix
|
diff --git a/packages/vuetify/src/components/VAutocomplete/VAutocomplete.sass b/packages/vuetify/src/components/VAutocomplete/VAutocomplete.sass
index 06f16982a27..1a44394d067 100644
--- a/packages/vuetify/src/components/VAutocomplete/VAutocomplete.sass
+++ b/packages/vuetify/src/components/VAutocomplete/VAutocomplete.sass
@@ -90,5 +90,10 @@
opacity: 0
.v-field--focused
- .v-autocomplete__selection
+ .v-autocomplete__selection-text
opacity: 0
+
+ &--selection-slot
+ &.v-text-field input
+ position: relative
+ padding-inline-start: 0
diff --git a/packages/vuetify/src/components/VAutocomplete/VAutocomplete.tsx b/packages/vuetify/src/components/VAutocomplete/VAutocomplete.tsx
index 17d03dc138a..ba37bd58a98 100644
--- a/packages/vuetify/src/components/VAutocomplete/VAutocomplete.tsx
+++ b/packages/vuetify/src/components/VAutocomplete/VAutocomplete.tsx
@@ -178,7 +178,10 @@ export const VAutocomplete = genericComponent<new <
isSelecting.value = true
- search.value = item.title
+ if (!slots.selection) {
+ search.value = item.title
+ }
+
menu.value = false
isPristine.value = true
@@ -189,7 +192,7 @@ export const VAutocomplete = genericComponent<new <
watch(isFocused, val => {
if (val) {
isSelecting.value = true
- search.value = props.multiple ? '' : String(selections.value.at(-1)?.props.title ?? '')
+ search.value = props.multiple || !!slots.selection ? '' : String(selections.value.at(-1)?.props.title ?? '')
isPristine.value = true
nextTick(() => isSelecting.value = false)
@@ -224,6 +227,7 @@ export const VAutocomplete = genericComponent<new <
'v-autocomplete--active-menu': menu.value,
'v-autocomplete--chips': !!props.chips,
[`v-autocomplete--${props.multiple ? 'multiple' : 'single'}`]: true,
+ 'v-autocomplete--selection-slot': !!slots.selection,
},
]}
appendInnerIcon={ props.menuIcon }
|
5d11aa72c7a116bd404741c0b51b168df4c85a82
|
2022-02-28 23:57:39
|
John Leider
|
docs(App.vue): add global styling for non-class ul elements
| false
|
add global styling for non-class ul elements
|
docs
|
diff --git a/packages/docs/src/App.vue b/packages/docs/src/App.vue
index 3be0c4578ec..ae292045f8d 100644
--- a/packages/docs/src/App.vue
+++ b/packages/docs/src/App.vue
@@ -95,4 +95,8 @@
+ p
font-size: 1.25rem
font-weight: 300
+
+ ul:not([class])
+ padding-left: 20px
+ margin-bottom: 16px
</style>
|
b6f5fee4af56fecef647fefc236446910867d10e
|
2019-01-08 13:02:48
|
sh7dm
|
fix(kitchen): fix VImg pan name
| false
|
fix VImg pan name
|
fix
|
diff --git a/packages/kitchen/src/pan/Images.vue b/packages/kitchen/src/pan/Images.vue
index 3543c75b1f8..2a6e55fbdad 100644
--- a/packages/kitchen/src/pan/Images.vue
+++ b/packages/kitchen/src/pan/Images.vue
@@ -111,7 +111,7 @@
<script>
export default {
- name: '',
+ name: 'Images',
data: () => ({})
}
|
bccf9bce5a565b3007124334a25677d8ae19f7eb
|
2023-11-07 18:32:25
|
Kael
|
fix(VTextarea): pass input id to VField
| false
|
pass input id to VField
|
fix
|
diff --git a/packages/vuetify/src/components/VTextarea/VTextarea.tsx b/packages/vuetify/src/components/VTextarea/VTextarea.tsx
index c043bba23a0..a30f0f3d0f0 100644
--- a/packages/vuetify/src/components/VTextarea/VTextarea.tsx
+++ b/packages/vuetify/src/components/VTextarea/VTextarea.tsx
@@ -234,6 +234,7 @@ export const VTextarea = genericComponent<VTextareaSlots>()({
{{
...slots,
default: ({
+ id,
isDisabled,
isDirty,
isReadonly,
@@ -250,6 +251,7 @@ export const VTextarea = genericComponent<VTextareaSlots>()({
onClick:prependInner={ props['onClick:prependInner'] }
onClick:appendInner={ props['onClick:appendInner'] }
{ ...fieldProps }
+ id={ id.value }
active={ isActive.value || isDirty.value }
centerAffix={ rows.value === 1 && !isPlainOrUnderlined.value }
dirty={ isDirty.value || props.dirty }
|
05433594384eb4c7536e8e19fc495d887d571f20
|
2020-08-03 08:36:02
|
MajesticPotatoe
|
docs(getting-started): add usage with vuepress
| false
|
add usage with vuepress
|
docs
|
diff --git a/packages/docs-next/src/pages/en/getting-started/quick-start.md b/packages/docs-next/src/pages/en/getting-started/quick-start.md
index e289856348c..39bf217561f 100644
--- a/packages/docs-next/src/pages/en/getting-started/quick-start.md
+++ b/packages/docs-next/src/pages/en/getting-started/quick-start.md
@@ -271,4 +271,37 @@ $ vue add @nklayman/capacitor
$ yarn capacitor:serve
```
+## Usage with Vuepress
+
+There are 2 ways we can use Vuetify with default **vuepress** theme. Either by registering vuetify as a plugin in [vuepress](https://vuepress.vuejs.org/) `.vuepress/enhanceApp.js` file (code sample below), or by using vuetify directly from CDN:
+
+```js
+// register vuetify as a global plugin with vuepress
+// .vuepress/enhanceApp.js
+import Vuetify from 'vuetify'
+
+export default ({
+ Vue, // the version of Vue being used in the VuePress app
+ options, // the options for the root Vue instance
+ router, // the router instance for the app
+ siteData // site metadata
+}) => {
+ Vue.use(Vuetify)
+}
+
+// Alternatively, use vuetify directly from CDN.
+// Update head section in .vuepress/config.js as follows
+module.exports = {
+ head: [
+ ['link', {
+ rel: 'stylesheet',
+ href: `https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css`
+
+ }],
+ ['script', { src: `https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js` }],
+ ['script', { src: `https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.js` }],
+ ]
+}
+```
+
<backmatter />
|
9bf02afc57fe639151c1250e28ef0c5dc1492cc8
|
2018-09-06 16:42:56
|
Kael
|
fix(VMenu): inherit light/dark from v-app
| false
|
inherit light/dark from v-app
|
fix
|
diff --git a/src/components/VDialog/VDialog.js b/src/components/VDialog/VDialog.js
index 37c9265dec0..b6585c4fb9e 100644
--- a/src/components/VDialog/VDialog.js
+++ b/src/components/VDialog/VDialog.js
@@ -38,6 +38,8 @@ export default {
fullscreen: Boolean,
fullWidth: Boolean,
noClickAnimation: Boolean,
+ light: Boolean,
+ dark: Boolean,
maxWidth: {
type: [String, Number],
default: 'none'
@@ -220,7 +222,8 @@ export default {
}, [
this.$createElement(ThemeProvider, {
props: {
- dark: this.$vuetify.dark || this.dark
+ dark: !this.light && (this.$vuetify.dark || this.dark),
+ light: !this.dark && (this.light || !this.$vuetify.dark)
}
}, [dialog])
]))
diff --git a/src/components/VMenu/VMenu.js b/src/components/VMenu/VMenu.js
index 278c74eb1b3..e7612004db4 100644
--- a/src/components/VMenu/VMenu.js
+++ b/src/components/VMenu/VMenu.js
@@ -207,7 +207,8 @@ export default Vue.extend({
this.genActivator(),
this.$createElement(ThemeProvider, {
props: {
- dark: this.$vuetify.dark || this.dark
+ dark: !this.light && (this.$vuetify.dark || this.dark),
+ light: !this.dark && (this.light || !this.$vuetify.dark)
}
}, [this.genTransition()])
])
diff --git a/src/components/VMenu/mixins/menu-generators.js b/src/components/VMenu/mixins/menu-generators.js
index 3d79c9f99d3..8b864c06fc0 100644
--- a/src/components/VMenu/mixins/menu-generators.js
+++ b/src/components/VMenu/mixins/menu-generators.js
@@ -60,7 +60,6 @@ export default {
'class': {
'v-menu__content--auto': this.auto,
'menuable__content__active': this.isActive,
- ...this.themeClasses,
[this.contentClass.trim()]: true
},
style: this.styles,
diff --git a/src/mixins/menuable.js b/src/mixins/menuable.js
index 175247ebc97..185bdcb14b1 100644
--- a/src/mixins/menuable.js
+++ b/src/mixins/menuable.js
@@ -3,7 +3,6 @@ import Vue from 'vue'
import Positionable from './positionable'
import Stackable from './stackable'
-import Themeable from './themeable'
/* eslint-disable object-property-newline */
const dimensions = {
@@ -39,8 +38,7 @@ export default Vue.extend({
mixins: [
Positionable,
- Stackable,
- Themeable
+ Stackable
],
props: {
@@ -52,6 +50,8 @@ export default Vue.extend({
},
allowOverflow: Boolean,
inputActivator: Boolean,
+ light: Boolean,
+ dark: Boolean,
maxWidth: {
type: [Number, String],
default: 'auto'
diff --git a/test/unit/components/VDataIterator/__snapshots__/VDataIterator.spec.js.snap b/test/unit/components/VDataIterator/__snapshots__/VDataIterator.spec.js.snap
index 6827e22e6c9..d9387d687fd 100644
--- a/test/unit/components/VDataIterator/__snapshots__/VDataIterator.spec.js.snap
+++ b/test/unit/components/VDataIterator/__snapshots__/VDataIterator.spec.js.snap
@@ -40,7 +40,7 @@ exports[`VDataIterator.js should match a snapshot - footer slot 1`] = `
</div>
</div>
<div class="v-menu">
- <div class="v-menu__content v-menu__content--auto theme--light "
+ <div class="v-menu__content v-menu__content--auto "
style="max-height: 200px; min-width: 75px; max-width: auto; top: 12px; left: 12px; z-index: 0; display: none;"
>
<div class="v-select-list v-card theme--light">
@@ -177,7 +177,7 @@ exports[`VDataIterator.js should match a snapshot - no data 1`] = `
</div>
</div>
<div class="v-menu">
- <div class="v-menu__content v-menu__content--auto theme--light "
+ <div class="v-menu__content v-menu__content--auto "
style="max-height: 200px; min-width: 75px; max-width: auto; top: 12px; left: 12px; z-index: 0; display: none;"
>
<div class="v-select-list v-card theme--light">
@@ -305,7 +305,7 @@ exports[`VDataIterator.js should match a snapshot - no matching records 1`] = `
</div>
</div>
<div class="v-menu">
- <div class="v-menu__content v-menu__content--auto theme--light "
+ <div class="v-menu__content v-menu__content--auto "
style="max-height: 200px; min-width: 75px; max-width: auto; top: 12px; left: 12px; z-index: 0; display: none;"
>
<div class="v-select-list v-card theme--light">
@@ -437,7 +437,7 @@ exports[`VDataIterator.js should match a snapshot - with data 1`] = `
</div>
</div>
<div class="v-menu">
- <div class="v-menu__content v-menu__content--auto theme--light "
+ <div class="v-menu__content v-menu__content--auto "
style="max-height: 200px; min-width: 75px; max-width: auto; top: 12px; left: 12px; z-index: 0; display: none;"
>
<div class="v-select-list v-card theme--light">
diff --git a/test/unit/components/VDataTable/__snapshots__/VDataTable.spec.js.snap b/test/unit/components/VDataTable/__snapshots__/VDataTable.spec.js.snap
index f6a846c19f9..aa2ac1c83b3 100644
--- a/test/unit/components/VDataTable/__snapshots__/VDataTable.spec.js.snap
+++ b/test/unit/components/VDataTable/__snapshots__/VDataTable.spec.js.snap
@@ -93,7 +93,7 @@ exports[`VDataTable.vue should match a snapshot - no data 1`] = `
</div>
</div>
<div class="v-menu">
- <div class="v-menu__content v-menu__content--auto theme--light "
+ <div class="v-menu__content v-menu__content--auto "
style="max-height: 200px; min-width: 75px; max-width: auto; top: 12px; left: 12px; z-index: 0; display: none;"
>
<div class="v-select-list v-card theme--light">
@@ -272,7 +272,7 @@ exports[`VDataTable.vue should match a snapshot - no matching results 1`] = `
</div>
</div>
<div class="v-menu">
- <div class="v-menu__content v-menu__content--auto theme--light "
+ <div class="v-menu__content v-menu__content--auto "
style="max-height: 200px; min-width: 75px; max-width: auto; top: 12px; left: 12px; z-index: 0; display: none;"
>
<div class="v-select-list v-card theme--light">
@@ -453,7 +453,7 @@ exports[`VDataTable.vue should match a snapshot - with data 1`] = `
</div>
</div>
<div class="v-menu">
- <div class="v-menu__content v-menu__content--auto theme--light "
+ <div class="v-menu__content v-menu__content--auto "
style="max-height: 200px; min-width: 75px; max-width: auto; top: 12px; left: 12px; z-index: 0; display: none;"
>
<div class="v-select-list v-card theme--light">
diff --git a/test/unit/components/VMenu/__snapshots__/VMenu.spec.js.snap b/test/unit/components/VMenu/__snapshots__/VMenu.spec.js.snap
index d710f5de2ff..69318f3a6b3 100644
--- a/test/unit/components/VMenu/__snapshots__/VMenu.spec.js.snap
+++ b/test/unit/components/VMenu/__snapshots__/VMenu.spec.js.snap
@@ -3,7 +3,7 @@
exports[`VMenu.js should render component with custom absolute and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -14,7 +14,7 @@ exports[`VMenu.js should render component with custom absolute and match snapsho
exports[`VMenu.js should render component with custom activator and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -25,7 +25,7 @@ exports[`VMenu.js should render component with custom activator and match snapsh
exports[`VMenu.js should render component with custom auto and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content v-menu__content--auto theme--light "
+ <div class="v-menu__content v-menu__content--auto "
style="max-height: 200px; min-width: 16px; max-width: auto; top: 12px; left: 12px; z-index: 0; display: none;"
>
</div>
@@ -36,7 +36,7 @@ exports[`VMenu.js should render component with custom auto and match snapshot 1`
exports[`VMenu.js should render component with custom bottom and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -47,7 +47,7 @@ exports[`VMenu.js should render component with custom bottom and match snapshot
exports[`VMenu.js should render component with custom closeOnClick and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -58,7 +58,7 @@ exports[`VMenu.js should render component with custom closeOnClick and match sna
exports[`VMenu.js should render component with custom closeOnContentClick and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -69,7 +69,7 @@ exports[`VMenu.js should render component with custom closeOnContentClick and ma
exports[`VMenu.js should render component with custom disabled and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -80,7 +80,7 @@ exports[`VMenu.js should render component with custom disabled and match snapsho
exports[`VMenu.js should render component with custom fullWidth and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -91,7 +91,7 @@ exports[`VMenu.js should render component with custom fullWidth and match snapsh
exports[`VMenu.js should render component with custom lazy and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -102,7 +102,7 @@ exports[`VMenu.js should render component with custom lazy and match snapshot 1`
exports[`VMenu.js should render component with custom left and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -113,7 +113,7 @@ exports[`VMenu.js should render component with custom left and match snapshot 1`
exports[`VMenu.js should render component with custom maxHeight and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: 100px; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -124,7 +124,7 @@ exports[`VMenu.js should render component with custom maxHeight and match snapsh
exports[`VMenu.js should render component with custom maxWidth and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: 100px; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -135,7 +135,7 @@ exports[`VMenu.js should render component with custom maxWidth and match snapsho
exports[`VMenu.js should render component with custom minWidth and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 100px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -146,7 +146,7 @@ exports[`VMenu.js should render component with custom minWidth and match snapsho
exports[`VMenu.js should render component with custom nudgeBottom and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 100px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -157,7 +157,7 @@ exports[`VMenu.js should render component with custom nudgeBottom and match snap
exports[`VMenu.js should render component with custom nudgeLeft and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 12px; z-index: 0; display: none;"
>
</div>
@@ -168,7 +168,7 @@ exports[`VMenu.js should render component with custom nudgeLeft and match snapsh
exports[`VMenu.js should render component with custom nudgeRight and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 100px; z-index: 0; display: none;"
>
</div>
@@ -179,7 +179,7 @@ exports[`VMenu.js should render component with custom nudgeRight and match snaps
exports[`VMenu.js should render component with custom nudgeTop and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -190,7 +190,7 @@ exports[`VMenu.js should render component with custom nudgeTop and match snapsho
exports[`VMenu.js should render component with custom nudgeWidth and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 100px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -201,7 +201,7 @@ exports[`VMenu.js should render component with custom nudgeWidth and match snaps
exports[`VMenu.js should render component with custom offsetX and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -212,7 +212,7 @@ exports[`VMenu.js should render component with custom offsetX and match snapshot
exports[`VMenu.js should render component with custom offsetY and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -223,7 +223,7 @@ exports[`VMenu.js should render component with custom offsetY and match snapshot
exports[`VMenu.js should render component with custom openOnClick and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -234,7 +234,7 @@ exports[`VMenu.js should render component with custom openOnClick and match snap
exports[`VMenu.js should render component with custom openOnHover and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -245,7 +245,7 @@ exports[`VMenu.js should render component with custom openOnHover and match snap
exports[`VMenu.js should render component with custom origin and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -256,7 +256,7 @@ exports[`VMenu.js should render component with custom origin and match snapshot
exports[`VMenu.js should render component with custom positionX and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -267,7 +267,7 @@ exports[`VMenu.js should render component with custom positionX and match snapsh
exports[`VMenu.js should render component with custom positionY and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -278,7 +278,7 @@ exports[`VMenu.js should render component with custom positionY and match snapsh
exports[`VMenu.js should render component with custom right and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -289,7 +289,7 @@ exports[`VMenu.js should render component with custom right and match snapshot 1
exports[`VMenu.js should render component with custom top and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -300,7 +300,7 @@ exports[`VMenu.js should render component with custom top and match snapshot 1`]
exports[`VMenu.js should render component with custom transition and match snapshot 1`] = `
<div class="v-menu">
- <div class="v-menu__content theme--light "
+ <div class="v-menu__content"
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 0; display: none;"
>
</div>
@@ -321,7 +321,7 @@ exports[`VMenu.js should work 1`] = `
</div>
</button>
</div>
- <div class="v-menu__content menuable__content__active theme--light "
+ <div class="v-menu__content menuable__content__active "
style="max-height: auto; min-width: 0px; max-width: auto; top: 12px; left: 0px; z-index: 8; display: none; z-index: 8;"
>
<div class="v-card theme--light">
|
d1abfe682c8af2df23c7b28ce117d31f14ad9837
|
2018-05-06 21:34:50
|
Kael
|
fix(VOverflowBtn): get correct item value and ignore search unless editable
| false
|
get correct item value and ignore search unless editable
|
fix
|
diff --git a/src/components/VOverflowBtn/VOverflowBtn.js b/src/components/VOverflowBtn/VOverflowBtn.js
index 24780205e49..d1f5bde65e5 100644
--- a/src/components/VOverflowBtn/VOverflowBtn.js
+++ b/src/components/VOverflowBtn/VOverflowBtn.js
@@ -35,6 +35,16 @@ export default {
},
isSingle () {
return true
+ },
+ internalSearch: {
+ get () {
+ return this.editable
+ ? VAutocomplete.computed.internalSearch.get.call(this)
+ : ''
+ },
+ set (val) {
+ VAutocomplete.computed.internalSearch.set.call(this, val)
+ }
}
},
@@ -69,12 +79,10 @@ export default {
return label
},
genSegmentedBtn (item) {
- const itemObj = this.computedItems.find(i => i.value === item)
+ const itemValue = this.getValue(item)
+ const itemObj = this.computedItems.find(i => this.getValue(i) === itemValue) || item
- if (!itemObj ||
- !itemObj.text ||
- !itemObj.callback
- ) {
+ if (!itemObj.text || !itemObj.callback) {
consoleWarn('When using \'segmented\' prop without a selection slot, items must contain both a text and callback property', this)
return null
}
|
c69feb7397a9007f18865091efea322dc6b9d32a
|
2020-09-24 00:37:39
|
John Leider
|
docs(roadmap.md): add alpha target date
| false
|
add alpha target date
|
docs
|
diff --git a/packages/docs/src/pages/en/introduction/roadmap.md b/packages/docs/src/pages/en/introduction/roadmap.md
index 8312bf4745e..35136a0ce46 100644
--- a/packages/docs/src/pages/en/introduction/roadmap.md
+++ b/packages/docs/src/pages/en/introduction/roadmap.md
@@ -23,6 +23,7 @@ The following releases are currently under development:
### v3.0 (Titan)
* **Target Release:** Q1 2021
+ * **Alpha:** Q4 2020
* **Overview:**
The entire framework will be converted to the new [composition api](https://vue-composition-api-rfc.netlify.com/) coming in Vue 3. Details of this conversion process are outlined in our [v3 Notion Board](https://notion.vuetifyjs.com) along with information about release schedules, proposed new functionality and more. Vuetify 3 is being developed with the pre-releases (alpha/beta) of Vue 3 and is expected to release shortly after the next Vue version is officially released. Due to this, the target release quarter is variable and will change according to the progress of Vue 3.
* **Objectives:**
|
d345a6ab7bb222782cf51bdd4d6dabe8d1230013
|
2023-05-01 23:24:52
|
Kael
|
fix(VNavigationDrawer): remove inset styles from scrim
| false
|
remove inset styles from scrim
|
fix
|
diff --git a/packages/vuetify/src/components/VNavigationDrawer/VNavigationDrawer.tsx b/packages/vuetify/src/components/VNavigationDrawer/VNavigationDrawer.tsx
index d4eab3e02d1..5f9e302166b 100644
--- a/packages/vuetify/src/components/VNavigationDrawer/VNavigationDrawer.tsx
+++ b/packages/vuetify/src/components/VNavigationDrawer/VNavigationDrawer.tsx
@@ -21,7 +21,7 @@ import { useTouch } from './touch'
// Utilities
import { computed, nextTick, onBeforeMount, ref, toRef, Transition, watch } from 'vue'
-import { convertToUnit, genericComponent, toPhysical, useRender } from '@/util'
+import { genericComponent, toPhysical, useRender } from '@/util'
// Types
import type { PropType } from 'vue'
@@ -161,7 +161,7 @@ export const VNavigationDrawer = genericComponent<VNavigationDrawerSlots>()({
return isDragging.value ? size * dragProgress.value : size
})
- const { layoutItemStyles, layoutRect, layoutItemScrimStyles } = useLayoutItem({
+ const { layoutItemStyles, layoutItemScrimStyles } = useLayoutItem({
id: props.name,
order: computed(() => parseInt(props.order, 10)),
position: location,
@@ -185,12 +185,6 @@ export const VNavigationDrawer = genericComponent<VNavigationDrawerSlots>()({
opacity: dragProgress.value * 0.2,
transition: 'none',
} : undefined,
- ...layoutRect.value ? {
- left: convertToUnit(layoutRect.value.left),
- right: convertToUnit(layoutRect.value.right),
- top: convertToUnit(layoutRect.value.top),
- bottom: convertToUnit(layoutRect.value.bottom),
- } : undefined,
...layoutItemScrimStyles.value,
}))
|
f39ff039bb37367e1a8371b8d2a0ebd1db98d15d
|
2023-11-02 02:32:09
|
John Leider
|
docs(VDataIterator): update examples
| false
|
update examples
|
docs
|
diff --git a/packages/docs/src/examples/v-data-iterator/slot-default.vue b/packages/docs/src/examples/v-data-iterator/slot-default.vue
index 2d4e16a66b3..aa950039ae5 100644
--- a/packages/docs/src/examples/v-data-iterator/slot-default.vue
+++ b/packages/docs/src/examples/v-data-iterator/slot-default.vue
@@ -2,7 +2,6 @@
<v-data-iterator
:items="desserts"
item-value="name"
- :items-per-page="3"
>
<template v-slot:default="{ items, isExpanded, toggleExpand }">
<v-row>
@@ -10,34 +9,50 @@
v-for="item in items"
:key="item.raw.name"
cols="12"
- sm="6"
- md="4"
- lg="3"
+ sm="12"
+ md="6"
>
<v-card>
- <v-card-title>
+ <v-card-title class="d-flex align-center">
+ <v-icon
+ :color="item.raw.color"
+ :icon="item.raw.icon"
+ start
+ size="18"
+ ></v-icon>
+
<h4>{{ item.raw.name }}</h4>
</v-card-title>
- <v-switch
- color="primary"
- :model-value="isExpanded(item)"
- :label="isExpanded(item) ? 'Expanded' : 'Closed'"
- class="pl-4 mt-0"
- @click="() => toggleExpand(item)"
- ></v-switch>
+
+ <v-card-text>
+ {{ item.raw.description }}
+ </v-card-text>
+
+ <div class="px-4">
+ <v-switch
+ :model-value="isExpanded(item)"
+ :label="`${isExpanded(item) ? 'Hide' : 'Show'} details`"
+ density="compact"
+ inset
+ @click="() => toggleExpand(item)"
+ ></v-switch>
+ </div>
+
<v-divider></v-divider>
- <v-list
- v-if="isExpanded(item)"
- dense
- >
- <v-list-item title="Calories:" :subtitle="item.raw.calories"></v-list-item>
- <v-list-item title="Fat:" :subtitle="item.raw.fat"></v-list-item>
- <v-list-item title="Carbs:" :subtitle="item.raw.carbs"></v-list-item>
- <v-list-item title="Protein:" :subtitle="item.raw.protein"></v-list-item>
- <v-list-item title="Sodium:" :subtitle="item.raw.sodium"></v-list-item>
- <v-list-item title="Calcium:" :subtitle="item.raw.calcium"></v-list-item>
- <v-list-item title="Iron:" :subtitle="item.raw.iron"></v-list-item>
- </v-list>
+
+ <v-expand-transition>
+ <div v-if="isExpanded(item)">
+ <v-list density="compact" :lines="false">
+ <v-list-item :title="`🔥 Calories: ${item.raw.calories}`" active></v-list-item>
+ <v-list-item :title="`🍔 Fat: ${item.raw.fat}`"></v-list-item>
+ <v-list-item :title="`🍞 Carbs: ${item.raw.carbs}`"></v-list-item>
+ <v-list-item :title="`🍗 Protein: ${item.raw.protein}`"></v-list-item>
+ <v-list-item :title="`🧂 Sodium: ${item.raw.sodium}`"></v-list-item>
+ <v-list-item :title="`🦴 Calcium: ${item.raw.calcium}`"></v-list-item>
+ <v-list-item :title="`🧲 Iron: ${item.raw.iron}`"></v-list-item>
+ </v-list>
+ </div>
+ </v-expand-transition>
</v-card>
</v-col>
</v-row>
@@ -49,6 +64,9 @@
const desserts = [
{
name: 'Frozen Yogurt',
+ description: 'A tangy and creamy dessert made from yogurt and sometimes fruit, Frozen Yogurt is a lighter alternative to ice cream. Perfect for those who crave a sweet treat but want to keep it on the healthier side.',
+ icon: 'mdi-ice-cream',
+ color: '#6EC1E4',
calories: 159,
fat: 6,
carbs: 24,
@@ -59,6 +77,9 @@
},
{
name: 'Ice cream sandwich',
+ description: 'A classic treat featuring a layer of creamy ice cream sandwiched between two cookies or cake layers. Ideal for those hot summer days when you can\'t decide between a cookie and ice cream.',
+ icon: 'mdi-cookie',
+ color: '#F4A261',
calories: 237,
fat: 9,
carbs: 37,
@@ -69,6 +90,9 @@
},
{
name: 'Eclair',
+ description: 'A small, individual cake topped with frosting and often adorned with sprinkles or other decorations. Great for parties or as a quick indulgence when you need a sugar fix.',
+ icon: 'mdi-cake-variant',
+ color: '#6D4C41',
calories: 262,
fat: 16,
carbs: 23,
@@ -79,6 +103,9 @@
},
{
name: 'Cupcake',
+ description: 'A small, individual cake topped with frosting and often adorned with sprinkles or other decorations. Great for parties or as a quick indulgence when you need a sugar fix.',
+ color: '#FFADAD',
+ icon: 'mdi-cupcake',
calories: 305,
fat: 3.7,
carbs: 67,
@@ -96,18 +123,24 @@
desserts: [
{
name: 'Frozen Yogurt',
+ description: 'A tangy and creamy dessert made from yogurt and sometimes fruit, Frozen Yogurt is a lighter alternative to ice cream. Perfect for those who crave a sweet treat but want to keep it on the healthier side.',
+ icon: 'mdi-ice-cream',
+ color: '#6EC1E4',
calories: 159,
- fat: 6.0,
+ fat: 6,
carbs: 24,
- protein: 4.0,
+ protein: 4,
sodium: 87,
calcium: '14%',
iron: '1%',
},
{
name: 'Ice cream sandwich',
+ description: 'A classic treat featuring a layer of creamy ice cream sandwiched between two cookies or cake layers. Ideal for those hot summer days when you can\'t decide between a cookie and ice cream.',
+ icon: 'mdi-cookie',
+ color: '#F4A261',
calories: 237,
- fat: 9.0,
+ fat: 9,
carbs: 37,
protein: 4.3,
sodium: 129,
@@ -116,16 +149,22 @@
},
{
name: 'Eclair',
+ description: 'A small, individual cake topped with frosting and often adorned with sprinkles or other decorations. Great for parties or as a quick indulgence when you need a sugar fix.',
+ icon: 'mdi-cake-variant',
+ color: '#6D4C41',
calories: 262,
- fat: 16.0,
+ fat: 16,
carbs: 23,
- protein: 6.0,
+ protein: 6,
sodium: 337,
calcium: '6%',
iron: '7%',
},
{
name: 'Cupcake',
+ description: 'A small, individual cake topped with frosting and often adorned with sprinkles or other decorations. Great for parties or as a quick indulgence when you need a sugar fix.',
+ color: '#FFADAD',
+ icon: 'mdi-cupcake',
calories: 305,
fat: 3.7,
carbs: 67,
diff --git a/packages/docs/src/examples/v-data-iterator/slot-header-and-footer.vue b/packages/docs/src/examples/v-data-iterator/slot-header-and-footer.vue
index fdff5875be4..bba513e3e2f 100644
--- a/packages/docs/src/examples/v-data-iterator/slot-header-and-footer.vue
+++ b/packages/docs/src/examples/v-data-iterator/slot-header-and-footer.vue
@@ -1,263 +1,483 @@
<template>
<v-data-iterator
- :items="desserts"
- :items-per-page="3"
+ :items="mice"
+ :items-per-page="itemsPerPage"
>
- <template v-slot:header>
- <div class="bg-primary pa-2 mb-2">
- Header
- </div>
+ <template v-slot:header="{ page, pageCount, prevPage, nextPage }">
+ <h1 class="text-h4 font-weight-bold d-flex justify-space-between mb-4 align-center">
+ <div class="text-truncate">
+ Most popular mice
+ </div>
+
+ <div class="d-flex align-center">
+ <v-btn
+ class="me-8"
+ variant="text"
+ @click="onClickSeeAll"
+ >
+ <span class="text-decoration-underline text-none">See all</span>
+ </v-btn>
+
+ <div class="d-inline-flex">
+ <v-btn
+ :disabled="page === 1"
+ icon="mdi-arrow-left"
+ size="small"
+ variant="tonal"
+ class="me-2"
+ @click="prevPage"
+ ></v-btn>
+
+ <v-btn
+ :disabled="page === pageCount"
+ icon="mdi-arrow-right"
+ size="small"
+ variant="tonal"
+ @click="nextPage"
+ ></v-btn>
+ </div>
+ </div>
+ </h1>
</template>
<template v-slot:default="{ items }">
<v-row>
<v-col
- v-for="item in items"
- :key="item.raw.name"
+ v-for="(item, i) in items"
+ :key="i"
cols="12"
sm="6"
- md="4"
- lg="3"
+ xl="3"
>
- <v-card class="fill-height">
- <v-card-title class="subheading font-weight-bold d-flex align-center justify-space-between">
- {{ item.raw.name }}
- </v-card-title>
+ <v-sheet border>
+ <v-img
+ :gradient="`to top right, rgba(255, 255, 255, .1), rgba(${item.raw.color}, .15)`"
+ :src="item.raw.src"
+ cover
+ height="150"
+ ></v-img>
+
+ <v-list-item
+ :title="item.raw.name"
+ lines="two"
+ density="comfortable"
+ subtitle="Lorem ipsum dil orei namdie dkaf"
+ >
+ <template v-slot:title>
+ <strong class="text-h6">
+ {{ item.raw.name }}
+ </strong>
+ </template>
+ </v-list-item>
+
+ <v-table density="compact" class="text-caption">
+ <tbody>
+ <tr align="right">
+ <th>DPI:</th>
+
+ <td>{{ item.raw.dpi }}</td>
+ </tr>
+
+ <tr align="right">
+ <th>Buttons:</th>
- <v-divider></v-divider>
+ <td>{{ item.raw.buttons }}</td>
+ </tr>
- <v-list density="compact">
- <v-list-item title="Calories" :subtitle="String(item.raw.calories)"></v-list-item>
- <v-list-item title="Fat" :subtitle="String(item.raw.fat)"></v-list-item>
- <v-list-item title="Carbs" :subtitle="String(item.raw.carbs)"></v-list-item>
- <v-list-item title="Protein" :subtitle="String(item.raw.protein)"></v-list-item>
- <v-list-item title="Sodium" :subtitle="String(item.raw.sodium)"></v-list-item>
- <v-list-item title="Calcium" :subtitle="String(item.raw.calcium)"></v-list-item>
- <v-list-item title="Iron" :subtitle="String(item.raw.iron)"></v-list-item>
- </v-list>
- </v-card>
+ <tr align="right">
+ <th>Weight:</th>
+
+ <td>{{ item.raw.weight }}</td>
+ </tr>
+
+ <tr align="right">
+ <th>Wireless:</th>
+
+ <td>{{ item.raw.wireless ? 'Yes' : 'No' }}</td>
+ </tr>
+
+ <tr align="right">
+ <th>Price:</th>
+
+ <td>${{ item.raw.price }}</td>
+ </tr>
+ </tbody>
+ </v-table>
+ </v-sheet>
</v-col>
</v-row>
</template>
- <template v-slot:footer>
- <div class="bg-primary pa-2 mt-2">
- Footer
- </div>
+ <template v-slot:footer="{ page, pageCount }">
+ <v-footer
+ color="surface-variant"
+ class="justify-space-between text-body-2 mt-4"
+ >
+ Total mice: {{ mice.length }}
+
+ <div>
+ Page {{ page }} of {{ pageCount }}
+ </div>
+ </v-footer>
</template>
</v-data-iterator>
</template>
<script setup>
- const desserts = [
+ import { shallowRef } from 'vue'
+
+ const itemsPerPage = shallowRef(4)
+ const mice = [
{
- name: 'Frozen Yogurt',
- calories: 159,
- fat: 6,
- carbs: 24,
- protein: 4,
- sodium: 87,
- calcium: '14%',
- iron: '1%',
+ name: 'Logitech G Pro X',
+ color: '14, 151, 210',
+ dpi: 16000,
+ buttons: 8,
+ weight: '63g',
+ wireless: true,
+ price: 149.99,
+ description: 'Logitech G Pro X',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/1.png',
},
{
- name: 'Ice cream sandwich',
- calories: 237,
- fat: 9,
- carbs: 37,
- protein: 4.3,
- sodium: 129,
- calcium: '8%',
- iron: '1%',
+ name: 'Razer DeathAdder V2',
+ color: '12, 146, 47',
+ dpi: 20000,
+ buttons: 8,
+ weight: '82g',
+ wireless: false,
+ price: 69.99,
+ description: 'Razer DeathAdder V2',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/2.png',
},
{
- name: 'Eclair',
- calories: 262,
- fat: 16,
- carbs: 23,
- protein: 6,
- sodium: 337,
- calcium: '6%',
- iron: '7%',
+ name: 'Corsair Dark Core RGB',
+ color: '107, 187, 226',
+ dpi: 18000,
+ buttons: 9,
+ weight: '133g',
+ wireless: true,
+ price: 89.99,
+ description: 'Corsair Dark Core RGB',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/3.png',
},
{
- name: 'Cupcake',
- calories: 305,
- fat: 3.7,
- carbs: 67,
- protein: 4.3,
- sodium: 413,
- calcium: '3%',
- iron: '8%',
+ name: 'SteelSeries Rival 3',
+ color: '228, 196, 69',
+ dpi: 8500,
+ buttons: 6,
+ weight: '77g',
+ wireless: false,
+ price: 29.99,
+ description: 'SteelSeries Rival 3',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/4.png',
},
{
- name: 'Gingerbread',
- calories: 356,
- fat: 16,
- carbs: 49,
- protein: 3.9,
- sodium: 327,
- calcium: '7%',
- iron: '16%',
+ name: 'HyperX Pulsefire FPS Pro',
+ color: '156, 82, 251',
+ dpi: 16000,
+ buttons: 6,
+ weight: '95g',
+ wireless: false,
+ price: 44.99,
+ description: 'HyperX Pulsefire FPS Pro',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/5.png',
},
{
- name: 'Jelly bean',
- calories: 375,
- fat: 0,
- carbs: 94,
- protein: 0,
- sodium: 50,
- calcium: '0%',
- iron: '0%',
+ name: 'Zowie EC2',
+ color: '166, 39, 222',
+ dpi: 3200,
+ buttons: 5,
+ weight: '90g',
+ wireless: false,
+ price: 69.99,
+ description: 'Zowie EC2',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/6.png',
},
{
- name: 'Lollipop',
- calories: 392,
- fat: 0.2,
- carbs: 98,
- protein: 0,
- sodium: 38,
- calcium: '0%',
- iron: '2%',
+ name: 'Roccat Kone AIMO',
+ color: '131, 9, 10',
+ dpi: 16000,
+ buttons: 10,
+ weight: '130g',
+ wireless: false,
+ price: 79.99,
+ description: 'Roccat Kone AIMO',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/7.png',
},
{
- name: 'Honeycomb',
- calories: 408,
- fat: 3.2,
- carbs: 87,
- protein: 6.5,
- sodium: 562,
- calcium: '0%',
- iron: '45%',
+ name: 'Logitech G903',
+ color: '232, 94, 102',
+ dpi: 12000,
+ buttons: 11,
+ weight: '110g',
+ wireless: true,
+ price: 129.99,
+ description: 'Logitech G903',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/8.png',
},
{
- name: 'Donut',
- calories: 452,
- fat: 25,
- carbs: 51,
- protein: 4.9,
- sodium: 326,
- calcium: '2%',
- iron: '22%',
+ name: 'Cooler Master MM711',
+ color: '58, 192, 239',
+ dpi: 16000,
+ buttons: 6,
+ weight: '60g',
+ wireless: false,
+ price: 49.99,
+ description: 'Cooler Master MM711',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/9.png',
},
{
- name: 'KitKat',
- calories: 518,
- fat: 26,
- carbs: 65,
- protein: 7,
- sodium: 54,
- calcium: '12%',
- iron: '6%',
+ name: 'Glorious Model O',
+ color: '161, 252, 250',
+ dpi: 12000,
+ buttons: 6,
+ weight: '67g',
+ wireless: false,
+ price: 49.99,
+ description: 'Glorious Model O',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/10.png',
+ },
+ {
+ name: 'HP Omen Photon',
+ color: '201, 1, 2',
+ dpi: 16000,
+ buttons: 11,
+ weight: '128g',
+ wireless: true,
+ price: 99.99,
+ description: 'HP Omen Photon',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/11.png',
+ },
+ {
+ name: 'Asus ROG Chakram',
+ color: '10, 181, 19',
+ dpi: 16000,
+ buttons: 9,
+ weight: '121g',
+ wireless: true,
+ price: 159.99,
+ description: 'Asus ROG Chakram',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/12.png',
+ },
+ {
+ name: 'Razer Naga X',
+ color: '100, 101, 102',
+ dpi: 16000,
+ buttons: 16,
+ weight: '85g',
+ wireless: false,
+ price: 79.99,
+ description: 'Razer Naga X',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/13.png',
+ },
+ {
+ name: 'Mad Catz R.A.T. 8+',
+ color: '136, 241, 242',
+ dpi: 16000,
+ buttons: 11,
+ weight: '145g',
+ wireless: false,
+ price: 99.99,
+ description: 'Mad Catz R.A.T. 8+',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/14.png',
+ },
+ {
+ name: 'Alienware 610M',
+ color: '109, 110, 114',
+ dpi: 16000,
+ buttons: 7,
+ weight: '120g',
+ wireless: true,
+ price: 99.99,
+ description: 'Alienware 610M',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/15.png',
},
]
+
+ function onClickSeeAll () {
+ itemsPerPage.value = itemsPerPage.value === 4 ? mice.length : 4
+ }
</script>
<script>
export default {
- data: () => ({
- desserts: [
- {
- name: 'Frozen Yogurt',
- calories: 159,
- fat: 6.0,
- carbs: 24,
- protein: 4.0,
- sodium: 87,
- calcium: '14%',
- iron: '1%',
- },
- {
- name: 'Ice cream sandwich',
- calories: 237,
- fat: 9.0,
- carbs: 37,
- protein: 4.3,
- sodium: 129,
- calcium: '8%',
- iron: '1%',
- },
- {
- name: 'Eclair',
- calories: 262,
- fat: 16.0,
- carbs: 23,
- protein: 6.0,
- sodium: 337,
- calcium: '6%',
- iron: '7%',
- },
- {
- name: 'Cupcake',
- calories: 305,
- fat: 3.7,
- carbs: 67,
- protein: 4.3,
- sodium: 413,
- calcium: '3%',
- iron: '8%',
- },
- {
- name: 'Gingerbread',
- calories: 356,
- fat: 16.0,
- carbs: 49,
- protein: 3.9,
- sodium: 327,
- calcium: '7%',
- iron: '16%',
- },
- {
- name: 'Jelly bean',
- calories: 375,
- fat: 0.0,
- carbs: 94,
- protein: 0.0,
- sodium: 50,
- calcium: '0%',
- iron: '0%',
- },
- {
- name: 'Lollipop',
- calories: 392,
- fat: 0.2,
- carbs: 98,
- protein: 0,
- sodium: 38,
- calcium: '0%',
- iron: '2%',
- },
- {
- name: 'Honeycomb',
- calories: 408,
- fat: 3.2,
- carbs: 87,
- protein: 6.5,
- sodium: 562,
- calcium: '0%',
- iron: '45%',
- },
- {
- name: 'Donut',
- calories: 452,
- fat: 25.0,
- carbs: 51,
- protein: 4.9,
- sodium: 326,
- calcium: '2%',
- iron: '22%',
- },
- {
- name: 'KitKat',
- calories: 518,
- fat: 26.0,
- carbs: 65,
- protein: 7,
- sodium: 54,
- calcium: '12%',
- iron: '6%',
- },
- ],
- }),
+ data () {
+ return {
+ itemsPerPage: 4,
+ mice: [
+ {
+ name: 'Logitech G Pro X',
+ color: '14, 151, 210',
+ dpi: 16000,
+ buttons: 8,
+ weight: '63g',
+ wireless: true,
+ price: 149.99,
+ description: 'Logitech G Pro X',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/1.png',
+ },
+ {
+ name: 'Razer DeathAdder V2',
+ color: '12, 146, 47',
+ dpi: 20000,
+ buttons: 8,
+ weight: '82g',
+ wireless: false,
+ price: 69.99,
+ description: 'Razer DeathAdder V2',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/2.png',
+ },
+ {
+ name: 'Corsair Dark Core RGB',
+ color: '107, 187, 226',
+ dpi: 18000,
+ buttons: 9,
+ weight: '133g',
+ wireless: true,
+ price: 89.99,
+ description: 'Corsair Dark Core RGB',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/3.png',
+ },
+ {
+ name: 'SteelSeries Rival 3',
+ color: '228, 196, 69',
+ dpi: 8500,
+ buttons: 6,
+ weight: '77g',
+ wireless: false,
+ price: 29.99,
+ description: 'SteelSeries Rival 3',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/4.png',
+ },
+ {
+ name: 'HyperX Pulsefire FPS Pro',
+ color: '156, 82, 251',
+ dpi: 16000,
+ buttons: 6,
+ weight: '95g',
+ wireless: false,
+ price: 44.99,
+ description: 'HyperX Pulsefire FPS Pro',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/5.png',
+ },
+ {
+ name: 'Zowie EC2',
+ color: '166, 39, 222',
+ dpi: 3200,
+ buttons: 5,
+ weight: '90g',
+ wireless: false,
+ price: 69.99,
+ description: 'Zowie EC2',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/6.png',
+ },
+ {
+ name: 'Roccat Kone AIMO',
+ color: '131, 9, 10',
+ dpi: 16000,
+ buttons: 10,
+ weight: '130g',
+ wireless: false,
+ price: 79.99,
+ description: 'Roccat Kone AIMO',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/7.png',
+ },
+ {
+ name: 'Logitech G903',
+ color: '232, 94, 102',
+ dpi: 12000,
+ buttons: 11,
+ weight: '110g',
+ wireless: true,
+ price: 129.99,
+ description: 'Logitech G903',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/8.png',
+ },
+ {
+ name: 'Cooler Master MM711',
+ color: '58, 192, 239',
+ dpi: 16000,
+ buttons: 6,
+ weight: '60g',
+ wireless: false,
+ price: 49.99,
+ description: 'Cooler Master MM711',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/9.png',
+ },
+ {
+ name: 'Glorious Model O',
+ color: '161, 252, 250',
+ dpi: 12000,
+ buttons: 6,
+ weight: '67g',
+ wireless: false,
+ price: 49.99,
+ description: 'Glorious Model O',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/10.png',
+ },
+ {
+ name: 'HP Omen Photon',
+ color: '201, 1, 2',
+ dpi: 16000,
+ buttons: 11,
+ weight: '128g',
+ wireless: true,
+ price: 99.99,
+ description: 'HP Omen Photon',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/11.png',
+ },
+ {
+ name: 'Asus ROG Chakram',
+ color: '10, 181, 19',
+ dpi: 16000,
+ buttons: 9,
+ weight: '121g',
+ wireless: true,
+ price: 159.99,
+ description: 'Asus ROG Chakram',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/12.png',
+ },
+ {
+ name: 'Razer Naga X',
+ color: '100, 101, 102',
+ dpi: 16000,
+ buttons: 16,
+ weight: '85g',
+ wireless: false,
+ price: 79.99,
+ description: 'Razer Naga X',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/13.png',
+ },
+ {
+ name: 'Mad Catz R.A.T. 8+',
+ color: '136, 241, 242',
+ dpi: 16000,
+ buttons: 11,
+ weight: '145g',
+ wireless: false,
+ price: 99.99,
+ description: 'Mad Catz R.A.T. 8+',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/14.png',
+ },
+ {
+ name: 'Alienware 610M',
+ color: '109, 110, 114',
+ dpi: 16000,
+ buttons: 7,
+ weight: '120g',
+ wireless: true,
+ price: 99.99,
+ description: 'Alienware 610M',
+ src: 'https://cdn.vuetifyjs.com/docs/images/graphics/mice/15.png',
+ },
+ ],
+ }
+ },
+ methods: {
+ onClickSeeAll () {
+ this.itemsPerPage = this.itemsPerPage === 4 ? this.mice.length : 4
+ },
+ },
}
</script>
diff --git a/packages/docs/src/plugins/icons.ts b/packages/docs/src/plugins/icons.ts
index c9dcc511890..34285518f74 100644
--- a/packages/docs/src/plugins/icons.ts
+++ b/packages/docs/src/plugins/icons.ts
@@ -27,6 +27,7 @@ export {
mdiArrowDown,
mdiArrowLeft,
mdiArrowLeftBoldBoxOutline,
+ mdiArrowRight,
mdiArrowRightBoldBoxOutline,
mdiArrowRightThick,
mdiArrowUp,
@@ -100,6 +101,7 @@ export {
mdiCog,
mdiCogs,
mdiCogOutline,
+ mdiCookie,
mdiComment,
mdiCompassOutline,
mdiContentCopy,
@@ -109,6 +111,7 @@ export {
mdiClipboardTextOutline,
mdiCrosshairsGps,
mdiCrown,
+ mdiCupcake,
mdiDatabaseSearchOutline,
mdiDelete,
mdiDeleteOutline,
@@ -191,6 +194,7 @@ export {
mdiHomeOutline,
mdiHumanMaleBoard,
mdiHumanMaleFemaleChild,
+ mdiIceCream,
mdiImage,
mdiImageOutline,
mdiImageEdit,
|
6675b36ab0d866516d289f2553b7e929432a92a6
|
2019-11-04 05:15:18
|
Oldřich Malec
|
docs(snippets): Add missing translation: Sort by (#9558)
| false
|
Add missing translation: Sort by (#9558)
|
docs
|
diff --git a/packages/docs/src/snippets/ts/create_translation.txt b/packages/docs/src/snippets/ts/create_translation.txt
index 1c72309b963..beac987c0ef 100644
--- a/packages/docs/src/snippets/ts/create_translation.txt
+++ b/packages/docs/src/snippets/ts/create_translation.txt
@@ -12,6 +12,7 @@ export default {
sortAscending: ': Sorted ascending. Activate to sort descending.',
sortNone: ': Not sorted. Activate to sort ascending.',
},
+ sortBy: 'Sort by',
},
dataFooter: {
itemsPerPageText: 'Items per page:',
|
b3dfdb30f2a7db90ddd21cb9af015eabc3c6f684
|
2020-05-17 11:24:27
|
Dmitry Sharshakov
|
test(VColorPickerPreview): add tests
| false
|
add tests
|
test
|
diff --git a/packages/vuetify/src/components/VColorPicker/__tests__/VColorPickerPreview.spec.ts b/packages/vuetify/src/components/VColorPicker/__tests__/VColorPickerPreview.spec.ts
new file mode 100644
index 00000000000..34490e2d06b
--- /dev/null
+++ b/packages/vuetify/src/components/VColorPicker/__tests__/VColorPickerPreview.spec.ts
@@ -0,0 +1,72 @@
+import VColorPickerPreview from '../VColorPickerPreview'
+import {
+ mount,
+ MountOptions,
+ Wrapper,
+} from '@vue/test-utils'
+import { fromRGBA } from '../util'
+
+describe('VColorPickerPreview.ts', () => {
+ type Instance = InstanceType<typeof VColorPickerPreview>
+ let mountFunction: (options?: MountOptions<Instance>) => Wrapper<Instance>
+ beforeEach(() => {
+ mountFunction = (options?: MountOptions<Instance>) => {
+ return mount(VColorPickerPreview, {
+ ...options,
+ mocks: {
+ $vuetify: {
+ rtl: false,
+ },
+ },
+ })
+ }
+ })
+
+ it('should emit event when hue changes', async () => {
+ const warn = console.warn
+ console.warn = () => {}
+
+ const update = jest.fn()
+ const wrapper = mountFunction({
+ propsData: {
+ color: fromRGBA({ r: 0, g: 0, b: 0, a: 0 }),
+ },
+ listeners: {
+ 'update:color': update,
+ },
+ })
+
+ const slider = wrapper.find('.v-slider__thumb-container')
+
+ slider.trigger('keydown.right')
+ await wrapper.vm.$nextTick()
+ expect(update).toHaveBeenCalledTimes(1)
+ expect(update.mock.calls[0][0].hue).toBe(1)
+
+ console.warn = warn
+ })
+
+ it('should emit event when alpha changes', async () => {
+ const warn = console.warn
+ console.warn = () => {}
+
+ const update = jest.fn()
+ const wrapper = mountFunction({
+ propsData: {
+ color: fromRGBA({ r: 0, g: 0, b: 0, a: 0 }),
+ },
+ listeners: {
+ 'update:color': update,
+ },
+ })
+
+ const slider = wrapper.findAll('.v-slider__thumb-container').at(1)
+
+ slider.trigger('keydown.right')
+ await wrapper.vm.$nextTick()
+ expect(update).toHaveBeenCalledTimes(1)
+ expect(update.mock.calls[0][0].alpha).toBe(1)
+
+ console.warn = warn
+ })
+})
|
78dee5af045aaa020297fa95798b69d0b18206f6
|
2018-11-30 03:49:03
|
John Leider
|
docs: change order of up-next items
| false
|
change order of up-next items
|
docs
|
diff --git a/packages/vuetifyjs.com/src/components/doc/UpNext.vue b/packages/vuetifyjs.com/src/components/doc/UpNext.vue
index ef191afe342..05366bad7ed 100644
--- a/packages/vuetifyjs.com/src/components/doc/UpNext.vue
+++ b/packages/vuetifyjs.com/src/components/doc/UpNext.vue
@@ -19,8 +19,8 @@
:to="link.link"
:avatar="link.icon"
:avatar-color="link.color"
- :text="link.section"
- :subtext="link.target"
+ :text="link.target"
+ :subtext="link.section"
>
<v-list-tile-action>
<v-icon>mdi-arrow-right</v-icon>
|
4e8c717119a9bace5c2b3d8e61143731f5382c72
|
2019-01-07 02:34:55
|
John Leider
|
test(VBtn): fix broken tests
| false
|
fix broken tests
|
test
|
diff --git a/jest.config.js b/jest.config.js
index d1544fdbe79..1fd99aaa808 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -15,7 +15,8 @@ module.exports = {
moduleNameMapper: {
'^@/test$': '<rootDir>/test/index.js',
'^@/test/(.*)$': '<rootDir>/test/$1',
- '^@/(.*)$': '<rootDir>/src/$1'
+ '^@/(.*)$': '<rootDir>/src/$1',
+ '\\.(css|sass|scss)$': 'identity-obj-proxy'
},
transform: {
'\\.(styl)$': 'jest-css-modules',
diff --git a/packages/vuetify/package.json b/packages/vuetify/package.json
index 133429d0c90..3b3f2b23025 100644
--- a/packages/vuetify/package.json
+++ b/packages/vuetify/package.json
@@ -63,6 +63,7 @@
"fork-ts-checker-webpack-plugin": "^0.4.14",
"friendly-errors-webpack-plugin": "^1.7.0",
"happypack": "^5.0.0",
+ "identity-obj-proxy": "^3.0.0",
"mini-css-extract-plugin": "^0.4.4",
"node-sass": "^4.11.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
diff --git a/packages/vuetify/src/components/VBtn/VBtn.sass b/packages/vuetify/src/components/VBtn/VBtn.sass
index b7bdccc24a5..aec1177e455 100644
--- a/packages/vuetify/src/components/VBtn/VBtn.sass
+++ b/packages/vuetify/src/components/VBtn/VBtn.sass
@@ -1,5 +1,5 @@
// Imports
-@import '../../styles/styles'
+@import '../../styles/styles.sass'
// first function, should move to global functions
// does a deep map-get
diff --git a/packages/vuetify/test/unit/components/VAlert/__snapshots__/VAlert.spec.js.snap b/packages/vuetify/test/unit/components/VAlert/__snapshots__/VAlert.spec.js.snap
index 298baf81248..2057d043db2 100644
--- a/packages/vuetify/test/unit/components/VAlert/__snapshots__/VAlert.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VAlert/__snapshots__/VAlert.spec.js.snap
@@ -21,7 +21,6 @@ exports[`VAlert.vue should be dismissible 1`] = `
<a class="v-alert__dismissible">
<i aria-hidden="true"
class="v-icon v-icon--right material-icons theme--light"
- style="font-size: 28px;"
>
cancel
</i>
@@ -40,7 +39,6 @@ exports[`VAlert.vue should have a close icon 1`] = `
<a class="v-alert__dismissible">
<i aria-hidden="true"
class="v-icon v-icon--right material-icons theme--light"
- style="font-size: 28px;"
>
cancel
</i>
diff --git a/packages/vuetify/test/unit/components/VCheckbox/__snapshots__/VCheckbox.spec.js.snap b/packages/vuetify/test/unit/components/VCheckbox/__snapshots__/VCheckbox.spec.js.snap
index 43d14e5d02f..0599d0e1d3c 100644
--- a/packages/vuetify/test/unit/components/VCheckbox/__snapshots__/VCheckbox.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VCheckbox/__snapshots__/VCheckbox.spec.js.snap
@@ -24,7 +24,6 @@ exports[`VCheckbox.js should render themed component 1`] = `
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
check_box_outline_blank
</i>
@@ -53,7 +52,6 @@ exports[`VCheckbox.js should use custom icons 1`] = `
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
fizzbuzz
</i>
@@ -82,7 +80,6 @@ exports[`VCheckbox.js should use custom icons 2`] = `
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
fizzbuzz
</i>
@@ -111,7 +108,6 @@ exports[`VCheckbox.js should use custom icons 3`] = `
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
fizzbuzz
</i>
diff --git a/packages/vuetify/test/unit/components/VChip/__snapshots__/VChip.spec.js.snap b/packages/vuetify/test/unit/components/VChip/__snapshots__/VChip.spec.js.snap
index 4ae6e41cb3e..01b40141315 100644
--- a/packages/vuetify/test/unit/components/VChip/__snapshots__/VChip.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VChip/__snapshots__/VChip.spec.js.snap
@@ -9,7 +9,6 @@ exports[`VChip.vue should be removable 1`] = `
<div class="v-chip__close">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
cancel
</i>
@@ -29,7 +28,6 @@ exports[`VChip.vue should be removable 2`] = `
<div class="v-chip__close">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
cancel
</i>
diff --git a/packages/vuetify/test/unit/components/VDatePicker/__snapshots__/VDatePickerTitle.spec.js.snap b/packages/vuetify/test/unit/components/VDatePicker/__snapshots__/VDatePickerTitle.spec.js.snap
index 890dda67b1c..2ba618a0d4b 100644
--- a/packages/vuetify/test/unit/components/VDatePicker/__snapshots__/VDatePickerTitle.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VDatePicker/__snapshots__/VDatePickerTitle.spec.js.snap
@@ -66,7 +66,6 @@ exports[`VDatePickerTitle.js should render year icon 1`] = `
1234
<i aria-hidden="true"
class="v-icon material-icons theme--dark"
- style="font-size: 28px;"
>
year
</i>
diff --git a/packages/vuetify/test/unit/components/VExpansionPanel/__snapshots__/VExpansionPanel.spec.js.snap b/packages/vuetify/test/unit/components/VExpansionPanel/__snapshots__/VExpansionPanel.spec.js.snap
index cc26e56d023..1ebe951dc84 100644
--- a/packages/vuetify/test/unit/components/VExpansionPanel/__snapshots__/VExpansionPanel.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VExpansionPanel/__snapshots__/VExpansionPanel.spec.js.snap
@@ -13,7 +13,6 @@ exports[`VExpansionPanel.js should render an expanded component and match snapsh
<div class="v-expansion-panel__header__icon">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
keyboard_arrow_down
</i>
@@ -43,7 +42,6 @@ exports[`VExpansionPanel.js should render an expanded component and match snapsh
<div class="v-expansion-panel__header__icon">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
keyboard_arrow_down
</i>
@@ -72,7 +70,6 @@ exports[`VExpansionPanel.js should render component and match snapshot 1`] = `
<div class="v-expansion-panel__header__icon">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
keyboard_arrow_down
</i>
@@ -102,7 +99,6 @@ exports[`VExpansionPanel.js should render component and match snapshot 2`] = `
<div class="v-expansion-panel__header__icon">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
keyboard_arrow_down
</i>
diff --git a/packages/vuetify/test/unit/components/VExpansionPanel/__snapshots__/VExpansionPanelContent.spec.js.snap b/packages/vuetify/test/unit/components/VExpansionPanel/__snapshots__/VExpansionPanelContent.spec.js.snap
index 2af5e5aa338..3e9db75436b 100644
--- a/packages/vuetify/test/unit/components/VExpansionPanel/__snapshots__/VExpansionPanelContent.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VExpansionPanel/__snapshots__/VExpansionPanelContent.spec.js.snap
@@ -83,7 +83,6 @@ exports[`VExpansionPanelContent.js should toggle panel on header click 1`] = `
<div class="v-expansion-panel__header__icon">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
keyboard_arrow_down
</i>
diff --git a/packages/vuetify/test/unit/components/VIcon/VIcon.spec.js b/packages/vuetify/test/unit/components/VIcon/VIcon.spec.js
index ef778904bd3..6361c50b987 100644
--- a/packages/vuetify/test/unit/components/VIcon/VIcon.spec.js
+++ b/packages/vuetify/test/unit/components/VIcon/VIcon.spec.js
@@ -36,7 +36,6 @@ test('VIcon.js', ({ mount, compileToFunctions }) => {
it('should render a mapped size', () => {
const SIZE_MAP = {
small: '16px',
- medium: '28px',
large: '36px',
xLarge: '40px'
}
diff --git a/packages/vuetify/test/unit/components/VIcon/__snapshots__/VIcon.spec.js.snap b/packages/vuetify/test/unit/components/VIcon/__snapshots__/VIcon.spec.js.snap
index 2ae48f7dfa8..7b0524f3b06 100644
--- a/packages/vuetify/test/unit/components/VIcon/__snapshots__/VIcon.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VIcon/__snapshots__/VIcon.spec.js.snap
@@ -4,7 +4,6 @@ exports[`VIcon.js for component icon should render component 1`] = `
<div class="v-icon test-component v-icon--is-component theme--light"
aria-hidden="true"
- style="font-size: 28px; height: 28px;"
>
test icon
</div>
@@ -26,7 +25,6 @@ exports[`VIcon.js for component icon should set font size from helper prop 2`] =
<div class="v-icon test-component v-icon--is-component theme--light"
aria-hidden="true"
- style="font-size: 28px; height: 28px;"
>
test icon
</div>
@@ -69,7 +67,6 @@ exports[`VIcon.js set font size from helper prop 2`] = `
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
</i>
diff --git a/packages/vuetify/test/unit/components/VInput/__snapshots__/VInput.spec.js.snap b/packages/vuetify/test/unit/components/VInput/__snapshots__/VInput.spec.js.snap
index e67610c540b..d6b98b2686a 100644
--- a/packages/vuetify/test/unit/components/VInput/__snapshots__/VInput.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VInput/__snapshots__/VInput.spec.js.snap
@@ -7,7 +7,6 @@ exports[`VInput.js should apply theme to label, counter, messages and icons 1`]
<div class="v-input__icon v-input__icon--prepend">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
prepend
</i>
@@ -34,7 +33,6 @@ exports[`VInput.js should apply theme to label, counter, messages and icons 1`]
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
append
</i>
@@ -81,7 +79,6 @@ exports[`VInput.js should generate an icon and match snapshot 1`] = `
<div class="v-input__icon v-input__icon--prepend">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
list
</i>
@@ -114,7 +111,6 @@ exports[`VInput.js should generate an icon and match snapshot 2`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
list
</i>
diff --git a/packages/vuetify/test/unit/components/VList/__snapshots__/VListGroup.spec.js.snap b/packages/vuetify/test/unit/components/VList/__snapshots__/VListGroup.spec.js.snap
index 5e9745c80f2..4d30df50d34 100644
--- a/packages/vuetify/test/unit/components/VList/__snapshots__/VListGroup.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VList/__snapshots__/VListGroup.spec.js.snap
@@ -10,7 +10,6 @@ exports[`VListGroup.js should render a component with no padding for action icon
<div class="v-list__group__header__append-icon">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
keyboard_arrow_down
</i>
@@ -35,7 +34,6 @@ exports[`VListGroup.js should render a component with route namespace and match
<div class="v-list__group__header__append-icon">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
keyboard_arrow_down
</i>
@@ -60,7 +58,6 @@ exports[`VListGroup.js should render a lazy component and match snapshot 1`] = `
<div class="v-list__group__header__append-icon">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
keyboard_arrow_down
</i>
@@ -85,7 +82,6 @@ exports[`VListGroup.js should render component and match snapshot 1`] = `
<div class="v-list__group__header__append-icon">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
keyboard_arrow_down
</i>
diff --git a/packages/vuetify/test/unit/components/VOverflowBtn/__snapshots__/VOverflowBtn.spec.js.snap b/packages/vuetify/test/unit/components/VOverflowBtn/__snapshots__/VOverflowBtn.spec.js.snap
index 8673dcbfda7..96f1d42e0a4 100644
--- a/packages/vuetify/test/unit/components/VOverflowBtn/__snapshots__/VOverflowBtn.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VOverflowBtn/__snapshots__/VOverflowBtn.spec.js.snap
@@ -19,7 +19,6 @@ exports[`VOverflowBtn should use default autocomplete selections 1`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -63,7 +62,6 @@ exports[`VOverflowBtn should use default autocomplete selections 2`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
diff --git a/packages/vuetify/test/unit/components/VPagination/__snapshots__/VPagination.spec.js.snap b/packages/vuetify/test/unit/components/VPagination/__snapshots__/VPagination.spec.js.snap
index c22bc8bd5d9..0b7f4187fff 100644
--- a/packages/vuetify/test/unit/components/VPagination/__snapshots__/VPagination.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VPagination/__snapshots__/VPagination.spec.js.snap
@@ -9,7 +9,6 @@ exports[`VPagination.vue emits an event when next or previous is clicked 1`] = `
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_left
</i>
@@ -56,7 +55,6 @@ exports[`VPagination.vue emits an event when next or previous is clicked 1`] = `
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_right
</i>
@@ -75,7 +73,6 @@ exports[`VPagination.vue should only render end of range if value is equals "rig
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_left
</i>
@@ -120,7 +117,6 @@ exports[`VPagination.vue should only render end of range if value is equals "rig
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_right
</i>
@@ -139,7 +135,6 @@ exports[`VPagination.vue should only render middle of range if length is big and
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_left
</i>
@@ -301,7 +296,6 @@ exports[`VPagination.vue should only render middle of range if length is big and
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_right
</i>
@@ -320,7 +314,6 @@ exports[`VPagination.vue should only render start and end of range if length is
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_left
</i>
@@ -484,7 +477,6 @@ exports[`VPagination.vue should only render start and end of range if length is
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_right
</i>
@@ -503,7 +495,6 @@ exports[`VPagination.vue should only render start of range if value is equals "l
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_left
</i>
@@ -548,7 +539,6 @@ exports[`VPagination.vue should only render start of range if value is equals "l
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_right
</i>
@@ -567,7 +557,6 @@ exports[`VPagination.vue should render component in RTL mode and match snapshot
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_right
</i>
@@ -614,7 +603,6 @@ exports[`VPagination.vue should render component in RTL mode and match snapshot
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_left
</i>
@@ -633,7 +621,6 @@ exports[`VPagination.vue should render disabled buttons with length equals to 0
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_left
</i>
@@ -645,7 +632,6 @@ exports[`VPagination.vue should render disabled buttons with length equals to 0
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_right
</i>
@@ -664,7 +650,6 @@ exports[`VPagination.vue should use totalVisible prop if defined 1`] = `
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_left
</i>
@@ -742,7 +727,6 @@ exports[`VPagination.vue should use totalVisible prop if defined 1`] = `
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
chevron_right
</i>
diff --git a/packages/vuetify/test/unit/components/VRadioGroup/__snapshots__/VRadio.spec.js.snap b/packages/vuetify/test/unit/components/VRadioGroup/__snapshots__/VRadio.spec.js.snap
index a4f5c6710eb..b0a18d2db74 100644
--- a/packages/vuetify/test/unit/components/VRadioGroup/__snapshots__/VRadio.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VRadioGroup/__snapshots__/VRadio.spec.js.snap
@@ -13,7 +13,6 @@ exports[`VRadio.vue should not render aria-label attribute with no label value o
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
radio_button_unchecked
</i>
@@ -41,7 +40,6 @@ exports[`VRadio.vue should render aria-label attribute with label value on input
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
radio_button_unchecked
</i>
@@ -69,7 +67,6 @@ exports[`VRadio.vue should render proper input name 1`] = `
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
radio_button_unchecked
</i>
@@ -96,7 +93,6 @@ exports[`VRadio.vue should render role and aria-checked attributes on input grou
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light accent--text"
- style="font-size: 28px;"
>
radio_button_unchecked
</i>
@@ -122,7 +118,6 @@ exports[`VRadio.vue should render themed component 1`] = `
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
radio_button_unchecked
</i>
@@ -148,7 +143,6 @@ exports[`VRadio.vue should use custom icons 1`] = `
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
bar
</i>
@@ -174,7 +168,6 @@ exports[`VRadio.vue should use custom icons 2`] = `
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light accent--text"
- style="font-size: 28px;"
>
bar
</i>
diff --git a/packages/vuetify/test/unit/components/VRadioGroup/__snapshots__/VRadioGroup.spec.js.snap b/packages/vuetify/test/unit/components/VRadioGroup/__snapshots__/VRadioGroup.spec.js.snap
index 002d892ed43..0427c7eedad 100644
--- a/packages/vuetify/test/unit/components/VRadioGroup/__snapshots__/VRadioGroup.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VRadioGroup/__snapshots__/VRadioGroup.spec.js.snap
@@ -21,7 +21,6 @@ exports[`VRadioGroup.vue should be in error when v-radio-group is 1`] = `
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light error--text"
- style="font-size: 28px;"
>
radio_button_unchecked
</i>
@@ -64,7 +63,6 @@ exports[`VRadioGroup.vue should be in error when v-radio-group is 2`] = `
</div>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
radio_button_unchecked
</i>
diff --git a/packages/vuetify/test/unit/components/VSelect/__snapshots__/VSelect.spec.js.snap b/packages/vuetify/test/unit/components/VSelect/__snapshots__/VSelect.spec.js.snap
index 9ddadb43da5..3189f87d469 100644
--- a/packages/vuetify/test/unit/components/VSelect/__snapshots__/VSelect.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VSelect/__snapshots__/VSelect.spec.js.snap
@@ -30,7 +30,6 @@ exports[`VSelect should only show items if they are in items 1`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -70,7 +69,6 @@ exports[`VSelect should only show items if they are in items 2`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -113,7 +111,6 @@ exports[`VSelect should only show items if they are in items 3`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -159,7 +156,6 @@ exports[`VSelect should only show items if they are in items 4`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -199,7 +195,6 @@ exports[`VSelect should render v-select correctly when not using scope slot 1`]
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -239,7 +234,6 @@ exports[`VSelect should render v-select correctly when not using v-list-tile in
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -284,7 +278,6 @@ exports[`VSelect should render v-select correctly when using v-list-tile in item
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -327,7 +320,6 @@ exports[`VSelect should use scoped slot for selection generation 1`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
diff --git a/packages/vuetify/test/unit/components/VSelect/__snapshots__/VSelect2.spec.js.snap b/packages/vuetify/test/unit/components/VSelect/__snapshots__/VSelect2.spec.js.snap
index 291293c555a..e1d88313cfc 100644
--- a/packages/vuetify/test/unit/components/VSelect/__snapshots__/VSelect2.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VSelect/__snapshots__/VSelect2.spec.js.snap
@@ -22,7 +22,6 @@ exports[`VSelect2 should add color to selected index 1`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -65,7 +64,6 @@ exports[`VSelect2 should be clearable with prop, dirty and multi select 1`] = `
<div class="v-input__icon v-input__icon--clear">
<i aria-hidden="true"
class="v-icon v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
clear
</i>
@@ -75,7 +73,6 @@ exports[`VSelect2 should be clearable with prop, dirty and multi select 1`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -118,7 +115,6 @@ exports[`VSelect2 should be clearable with prop, dirty and single select 1`] = `
<div class="v-input__icon v-input__icon--clear">
<i aria-hidden="true"
class="v-icon v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
clear
</i>
@@ -128,7 +124,6 @@ exports[`VSelect2 should be clearable with prop, dirty and single select 1`] = `
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
diff --git a/packages/vuetify/test/unit/components/VStepper/__snapshots__/VStepperStep.spec.js.snap b/packages/vuetify/test/unit/components/VStepper/__snapshots__/VStepperStep.spec.js.snap
index e78fcb9266b..0c53256be94 100644
--- a/packages/vuetify/test/unit/components/VStepper/__snapshots__/VStepperStep.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VStepper/__snapshots__/VStepperStep.spec.js.snap
@@ -6,7 +6,6 @@ exports[`VStepperStep.js should accept a custom color 1`] = `
<span class="v-stepper__step__step pink">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
check
</i>
@@ -25,7 +24,6 @@ exports[`VStepperStep.js should accept a custom css color 1`] = `
>
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
check
</i>
diff --git a/packages/vuetify/test/unit/components/VTextField/__snapshots__/VTextField.spec.js.snap b/packages/vuetify/test/unit/components/VTextField/__snapshots__/VTextField.spec.js.snap
index 0d1c83cf7e8..93b97e243d7 100644
--- a/packages/vuetify/test/unit/components/VTextField/__snapshots__/VTextField.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VTextField/__snapshots__/VTextField.spec.js.snap
@@ -7,7 +7,6 @@ exports[`VTextField.js should apply theme to label, counter, messages and icons
<div class="v-input__icon v-input__icon--prepend">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
prepend
</i>
@@ -19,7 +18,6 @@ exports[`VTextField.js should apply theme to label, counter, messages and icons
<div class="v-input__icon v-input__icon--prepend-inner">
<i aria-hidden="true"
class="v-icon prepend prepend-inner theme--light"
- style="font-size: 28px;"
>
</i>
</div>
@@ -39,7 +37,6 @@ exports[`VTextField.js should apply theme to label, counter, messages and icons
<div class="v-input__icon v-input__icon--append">
<i aria-hidden="true"
class="v-icon material-icons theme--light"
- style="font-size: 28px;"
>
append
</i>
@@ -63,7 +60,6 @@ exports[`VTextField.js should apply theme to label, counter, messages and icons
<div class="v-input__icon v-input__icon--append-outer">
<i aria-hidden="true"
class="v-icon append append-outer theme--light"
- style="font-size: 28px;"
>
</i>
</div>
diff --git a/packages/vuetify/test/unit/components/VTimeline/__snapshots__/VTimelineItem.spec.js.snap b/packages/vuetify/test/unit/components/VTimeline/__snapshots__/VTimelineItem.spec.js.snap
index 4dca3674c45..3092cf4b603 100644
--- a/packages/vuetify/test/unit/components/VTimeline/__snapshots__/VTimelineItem.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VTimeline/__snapshots__/VTimelineItem.spec.js.snap
@@ -23,7 +23,6 @@ exports[`VTimelineItem.js should conditionally render an icon or icon slot 2`] =
<div class="v-timeline-item__inner-dot primary">
<i aria-hidden="true"
class="v-icon material-icons theme--dark"
- style="font-size: 28px;"
>
foo
</i>
diff --git a/packages/vuetify/test/unit/components/VTreeview/__snapshots__/VTreeview.spec.js.snap b/packages/vuetify/test/unit/components/VTreeview/__snapshots__/VTreeview.spec.js.snap
index f0e6a164f44..428bc436201 100644
--- a/packages/vuetify/test/unit/components/VTreeview/__snapshots__/VTreeview.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VTreeview/__snapshots__/VTreeview.spec.js.snap
@@ -7,7 +7,6 @@ exports[`VTreeView.ts should load children when expanding 1`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -29,7 +28,6 @@ exports[`VTreeView.ts should load children when expanding 2`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -62,13 +60,11 @@ exports[`VTreeView.ts should load children when selecting, but not render 1`] =
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
<i aria-hidden="true"
class="v-icon v-treeview-node__checkbox v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
check_box_outline_blank
</i>
@@ -90,13 +86,11 @@ exports[`VTreeView.ts should load children when selecting, but not render 2`] =
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
<i aria-hidden="true"
class="v-icon v-treeview-node__checkbox v-icon--link material-icons theme--light accent--text"
- style="font-size: 28px;"
>
check_box
</i>
@@ -133,7 +127,6 @@ exports[`VTreeView.ts should open all children when using open-all prop 1`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -148,7 +141,6 @@ exports[`VTreeView.ts should open all children when using open-all prop 1`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -192,7 +184,6 @@ exports[`VTreeView.ts should react to open changes 1`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -207,7 +198,6 @@ exports[`VTreeView.ts should react to open changes 1`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -251,7 +241,6 @@ exports[`VTreeView.ts should react to open changes 2`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -266,7 +255,6 @@ exports[`VTreeView.ts should react to open changes 2`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -299,7 +287,6 @@ exports[`VTreeView.ts should react to open changes 3`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -314,7 +301,6 @@ exports[`VTreeView.ts should react to open changes 3`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -358,7 +344,6 @@ exports[`VTreeView.ts should react to open changes 4`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -380,7 +365,6 @@ exports[`VTreeView.ts should recalculate tree when loading async children using
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -479,7 +463,6 @@ exports[`VTreeView.ts should render items 1`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -501,13 +484,11 @@ exports[`VTreeView.ts should select all descendants 1`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
<i aria-hidden="true"
class="v-icon v-treeview-node__checkbox v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
check_box_outline_blank
</i>
@@ -529,7 +510,6 @@ exports[`VTreeView.ts should show expand icon when children is empty and load-ch
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -550,7 +530,6 @@ exports[`VTreeView.ts should update selection when selected prop changes 1`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -572,7 +551,6 @@ exports[`VTreeView.ts should update selection when selected prop changes 2`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
@@ -605,7 +583,6 @@ exports[`VTreeView.ts should update selection when selected prop changes 3`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light v-treeview-node__toggle--open"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
diff --git a/packages/vuetify/test/unit/components/VTreeview/__snapshots__/VTreeviewNode.spec.js.snap b/packages/vuetify/test/unit/components/VTreeview/__snapshots__/VTreeviewNode.spec.js.snap
index 56b3197e952..90cbd40b0df 100644
--- a/packages/vuetify/test/unit/components/VTreeview/__snapshots__/VTreeviewNode.spec.js.snap
+++ b/packages/vuetify/test/unit/components/VTreeview/__snapshots__/VTreeviewNode.spec.js.snap
@@ -19,7 +19,6 @@ exports[`VTreeViewNode.ts should use label slot 1`] = `
<div class="v-treeview-node__root">
<i aria-hidden="true"
class="v-icon v-treeview-node__toggle v-icon--link material-icons theme--light"
- style="font-size: 28px;"
>
arrow_drop_down
</i>
diff --git a/yarn.lock b/yarn.lock
index f37af698e00..2248daf55ee 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -7167,6 +7167,11 @@ har-validator@~5.1.0:
ajv "^5.3.0"
har-schema "^2.0.0"
+harmony-reflect@^1.4.6:
+ version "1.6.1"
+ resolved "https://registry.yarnpkg.com/harmony-reflect/-/harmony-reflect-1.6.1.tgz#c108d4f2bb451efef7a37861fdbdae72c9bdefa9"
+ integrity sha512-WJTeyp0JzGtHcuMsi7rw2VwtkvLa+JyfEKJCFyfcS0+CDkjQ5lHPu7zEhFZP+PDSRrEgXa5Ah0l1MbgbE41XjA==
+
has-ansi@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
@@ -7562,6 +7567,13 @@ icss-utils@^2.1.0:
dependencies:
postcss "^6.0.1"
+identity-obj-proxy@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz#94d2bda96084453ef36fbc5aaec37e0f79f1fc14"
+ integrity sha1-lNK9qWCERT7zb7xarsN+D3nx/BQ=
+ dependencies:
+ harmony-reflect "^1.4.6"
+
ieee754@^1.1.4:
version "1.1.11"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.11.tgz#c16384ffe00f5b7835824e67b6f2bd44a5229455"
|
0ca7d0dd893ee878c2608c68259a1abd5a1fafbb
|
2021-11-07 14:41:05
|
Kael
|
fix(VDialog): allow scrolling <select multiple> in safari
| false
|
allow scrolling <select multiple> in safari
|
fix
|
diff --git a/packages/vuetify/src/mixins/overlayable/index.ts b/packages/vuetify/src/mixins/overlayable/index.ts
index 64fd3479d43..e188c6bc402 100644
--- a/packages/vuetify/src/mixins/overlayable/index.ts
+++ b/packages/vuetify/src/mixins/overlayable/index.ts
@@ -156,7 +156,7 @@ export default Vue.extend<Vue & Toggleable & Stackable & options>().extend({
if (!el || el.nodeType !== Node.ELEMENT_NODE) return false
const style = window.getComputedStyle(el)
- return ['auto', 'scroll'].includes(style.overflowY!) && el.scrollHeight > el.clientHeight
+ return (['auto', 'scroll'].includes(style.overflowY!) || el.tagName === 'SELECT') && el.scrollHeight > el.clientHeight
},
shouldScroll (el: Element, delta: number): boolean {
if (el.hasAttribute('data-app')) return false
|
a32509d9b13c31a6bde3c5a69fa2c9f8bbf583c9
|
2019-01-05 20:28:52
|
John Leider
|
docs(VBtn): update usage example
| false
|
update usage example
|
docs
|
diff --git a/packages/vuetifyjs.com/src/examples/buttons/usage.vue b/packages/vuetifyjs.com/src/examples/buttons/usage.vue
index 92445205944..9bbd41ace86 100644
--- a/packages/vuetifyjs.com/src/examples/buttons/usage.vue
+++ b/packages/vuetifyjs.com/src/examples/buttons/usage.vue
@@ -1,8 +1,97 @@
<template>
- <div>
- <v-btn color="success">Success</v-btn>
- <v-btn color="error">Error</v-btn>
- <v-btn color="warning">Warning</v-btn>
- <v-btn color="info">Info</v-btn>
- </div>
+ <v-layout
+ justify-center
+ wrap
+ >
+ <v-btn
+ v-bind="options"
+ class="mt-5"
+ dark
+ >
+ <v-icon
+ v-if="hasIcon"
+ :left="type.includes('icon-left')"
+ :right="type.includes('icon-right')"
+ >
+ mdi-plus
+ </v-icon>
+ <span v-else>{{ text }}</span>
+ </v-btn>
+
+ <v-flex xs12>
+ <v-container grid-list-md>
+ <v-layout wrap>
+ <v-flex
+ xs12
+ md4
+ >
+ <v-select
+ :items="sizes"
+ v-model="size"
+ label="Size"
+ ></v-select>
+ </v-flex>
+ <v-flex
+ xs12
+ md4
+ >
+ <v-select
+ :items="colors"
+ v-model="color"
+ label="Color"
+ ></v-select>
+ </v-flex>
+ <v-flex
+ xs12
+ md4
+ >
+ <v-select
+ :items="types"
+ v-model="type"
+ label="Type"
+ multiple
+ ></v-select>
+ </v-flex>
+ </v-layout>
+ </v-container>
+ </v-flex>
+ </v-layout>
</template>
+
+<script>
+ export default {
+ data: () => ({
+ color: 'primary',
+ size: 'medium',
+ sizes: ['x-small', 'small', 'medium', 'large', 'x-large'],
+ type: [],
+ types: ['block', 'depressed', 'fab', 'outline', 'round', 'text'],
+ text: 'Customize me'
+ }),
+
+ computed: {
+ hasIcon () {
+ return Boolean(
+ this.type.includes('fab') ||
+ this.type.includes('icon-left') ||
+ this.type.includes('icon-right')
+ )
+ },
+ options () {
+ const options = {
+ color: this.color,
+ [this.size]: true
+ }
+
+ if (this.type) {
+ for (const type of this.type) options[type] = true
+ }
+
+ return options
+ },
+ colors () {
+ return Object.keys(this.$vuetify.theme)
+ }
+ }
+ }
+</script>
|
3310920a80bc31858bc9517ed7a43dbe499c6f74
|
2019-03-08 20:19:20
|
Alexey Sokolov
|
fix(ripple): check for undefined el._ripple (#6698)
| false
|
check for undefined el._ripple (#6698)
|
fix
|
diff --git a/packages/vuetify/src/directives/ripple.ts b/packages/vuetify/src/directives/ripple.ts
index 40301a47bb0..0fbb0e270bd 100644
--- a/packages/vuetify/src/directives/ripple.ts
+++ b/packages/vuetify/src/directives/ripple.ts
@@ -130,13 +130,13 @@ function isRippleEnabled (value: any): value is true {
function rippleShow (e: MouseEvent | TouchEvent) {
const value: RippleOptions = {}
const element = e.currentTarget as HTMLElement
- if (!element || element._ripple!.touched) return
+ if (!element || !element._ripple || element._ripple.touched) return
if (isTouchEvent(e)) {
- element._ripple!.touched = true
+ element._ripple.touched = true
}
- value.center = element._ripple!.centered
- if (element._ripple!.class) {
- value.class = element._ripple!.class
+ value.center = element._ripple.centered
+ if (element._ripple.class) {
+ value.class = element._ripple.class
}
ripple.show(e, element, value)
}
|
a7381aa97c80cdd18b65354048e75397a22e4c36
|
2020-04-21 09:07:12
|
John Leider
|
fix(VFooter): only apply width when not using the inset prop
| false
|
only apply width when not using the inset prop
|
fix
|
diff --git a/packages/vuetify/src/components/VFooter/VFooter.sass b/packages/vuetify/src/components/VFooter/VFooter.sass
index 5a71df5f8a1..1e9401e58e8 100644
--- a/packages/vuetify/src/components/VFooter/VFooter.sass
+++ b/packages/vuetify/src/components/VFooter/VFooter.sass
@@ -25,7 +25,11 @@
.v-footer--absolute
position: absolute
- width: 100%
+
+ &:not(.v-footer--inset)
+ // Component already uses measurable
+ // Remove in v3.0
+ width: 100%
.v-footer--fixed
position: fixed
|
96b3ab314570d1ae7fd7313d54cc49837a251aa0
|
2020-05-28 04:18:18
|
Albert Kaaman
|
refactor: i18n functionality (#7)
| false
|
i18n functionality (#7)
|
refactor
|
diff --git a/packages/docs-next/build/pages-plugin.js b/packages/docs-next/build/pages-plugin.js
index 3a7cc676849..f313a2e94fe 100644
--- a/packages/docs-next/build/pages-plugin.js
+++ b/packages/docs-next/build/pages-plugin.js
@@ -12,21 +12,13 @@ function readFile (filePath) {
function getPages (files) {
return files.reduce((pages, filePath) => {
- const { attributes } = frontmatter(readFile(filePath))
+ const { body } = frontmatter(readFile(filePath))
+ const dir = filePath.replace(/^\.\/src\/pages\/\w+(-\w+)?/, '').replace(/\.\w+$/, '')
+ const tokens = md.parse(body)
+ const firstIndex = tokens.findIndex(({ type }) => type === 'heading_open')
+ const text = tokens[firstIndex + 1].content
- if (!attributes.nav) return pages
-
- const dir = path.dirname(filePath.replace('./src/pages/en', ''))
- const file = kebabCase(path.basename(filePath, path.extname(filePath)))
- const group = dir.slice(1)
- const to = `${dir}/${file}`
- // If nav is boolean, get from fm title
- const title = typeof attributes.nav === 'boolean'
- ? attributes.title
- : attributes.nav
-
- pages[group] = pages[group] || []
- pages[group].push({ title, to })
+ pages[dir] = text
return pages
}, {})
@@ -37,7 +29,7 @@ function getHeadings (files) {
const file = readFile(filePath)
const { body } = frontmatter(file)
- const category = path.dirname(filePath.replace('./src/pages/en/', ''))
+ const category = path.dirname(filePath.replace(/^\.\/src\/pages\/\w+(-\w+)?\//, ''))
const page = kebabCase(path.basename(filePath, path.extname(filePath)))
headings[category] = headings[category] || {}
@@ -74,33 +66,47 @@ function getPageHeadings (page) {
return headings
}
+function generateFiles () {
+ const generatedFiles = {}
+ const langDirectories = glob.sync('./src/pages/*')
+
+ const pages = files => `module.exports = ${JSON.stringify(getPages(files))};`
+ const headings = files => `module.exports = ${JSON.stringify(getHeadings(files))};`
+
+ for (const langDir of langDirectories) {
+ const files = glob.sync(`${langDir}/**/*.md`)
+ const lang = path.basename(langDir)
+
+ generatedFiles[`node_modules/@docs/${lang}/pages.js`] = pages(files)
+ generatedFiles[`node_modules/@docs/${lang}/headings.js`] = headings(files)
+ }
+
+ return generatedFiles
+}
+
class Plugin {
apply (compiler) {
+ const files = generateFiles()
let shouldWrite = false
- const files = glob.sync('./src/pages/en/**/*.md')
- const pages = files => `module.exports = ${JSON.stringify(getPages(files))};`
- const headings = files => `module.exports = ${JSON.stringify(getHeadings(files))};`
- const virtualModules = new VirtualModulesPlugin({
- 'node_modules/@docs/headings.js': headings(files),
- 'node_modules/@docs/pages.js': pages(files),
- })
+ const virtualModules = new VirtualModulesPlugin(files)
virtualModules.apply(compiler)
compiler.hooks.compilation.tap('PagesPlugin', () => {
if (!shouldWrite) return
- virtualModules.writeModule('node_modules/@docs/pages.js', pages(files))
- virtualModules.writeModule('node_modules/@docs/headings.js', headings(files))
+ for (const [key, value] of Object.entries(generateFiles())) {
+ virtualModules.writeModule(key, value)
+ }
shouldWrite = false
})
- compiler.hooks.watchRun.tap('PagesPlugin', (comp) => {
+ compiler.hooks.watchRun.tap('PagesPlugin', async (comp) => {
const changedTimes = comp.watchFileSystem.watcher.mtimes
- const changedFiles = Object.keys(changedTimes)
- .filter(file => files.find(f => f.indexOf(path.basename(file)) >= 0))
+ const changedFiles = Object.keys(changedTimes).map(filePath => filePath.replace(/\\/g, '/'))
+ .filter(filePath => filePath.indexOf('src/pages') >= 0)
if (changedFiles.length) {
shouldWrite = true
diff --git a/packages/docs-next/src/components/UpNext.vue b/packages/docs-next/src/components/UpNext.vue
index 9f772d34b81..9c2b6e0beff 100644
--- a/packages/docs-next/src/components/UpNext.vue
+++ b/packages/docs-next/src/components/UpNext.vue
@@ -38,23 +38,26 @@
'params@page',
'params@lang',
]),
- pages: get('app/pages'),
+ pages: get('i18n/pages'),
page: get('route/params@page'),
+ currentCategory () {
+ return this.pages && this.pages[this.category]
+ },
current () {
- return this.pages[this.category][this.currentIndex]
+ return this.currentCategory && this.currentCategory[this.currentIndex]
},
currentIndex () {
const current = `/${this.category}/${this.page}`
- return this.pages[this.category].findIndex(page => {
+ return this.currentCategory && this.currentCategory.findIndex(page => {
return page.to === current
})
},
prev () {
- return this.pages[this.category][this.currentIndex - 1]
+ return this.currentCategory && this.currentCategory[this.currentIndex - 1]
},
next () {
- return this.pages[this.category][this.currentIndex + 1]
+ return this.currentCategory && this.currentCategory[this.currentIndex + 1]
},
},
}
diff --git a/packages/docs-next/src/data/pages.json b/packages/docs-next/src/data/pages.json
new file mode 100644
index 00000000000..92efeb951e2
--- /dev/null
+++ b/packages/docs-next/src/data/pages.json
@@ -0,0 +1,22 @@
+[
+ {
+ "title": "getting-started",
+ "icon": "$mdiSpeedometer",
+ "items": [
+ {
+ "title": "quick-start"
+ },
+ {
+ "title": "browser-support"
+ }
+ ]
+ },
+ {
+ "title": "components",
+ "icon": "$mdiViewDashboard"
+ },
+ {
+ "title": "api",
+ "icon": "$mdiBeaker"
+ }
+]
diff --git a/packages/docs-next/src/i18n/messages/eo-UY.json b/packages/docs-next/src/i18n/messages/eo-UY.json
index ce0ccaca284..87ca9b657fc 100644
--- a/packages/docs-next/src/i18n/messages/eo-UY.json
+++ b/packages/docs-next/src/i18n/messages/eo-UY.json
@@ -1,3 +1,5 @@
{
- "components": "crwdns58546:0crwdne58546:0"
+ "api": "crwdns59408:0crwdne59408:0",
+ "components": "crwdns59410:0crwdne59410:0",
+ "getting-started": "crwdns59412:0crwdne59412:0"
}
diff --git a/packages/docs-next/src/i18n/messages/sv-SE.json b/packages/docs-next/src/i18n/messages/sv-SE.json
index 5522a21d401..fe51488c706 100644
--- a/packages/docs-next/src/i18n/messages/sv-SE.json
+++ b/packages/docs-next/src/i18n/messages/sv-SE.json
@@ -1,5 +1 @@
-{
- "api": "API",
- "components": "Komponenter",
- "getting-started": "Komma igång"
-}
+[]
diff --git a/packages/docs-next/src/layouts/default/AppBar.vue b/packages/docs-next/src/layouts/default/AppBar.vue
index 8861cfef1bd..fb1f45d7f1e 100644
--- a/packages/docs-next/src/layouts/default/AppBar.vue
+++ b/packages/docs-next/src/layouts/default/AppBar.vue
@@ -45,7 +45,7 @@
data: () => ({ locales }),
computed: {
- translating: get('app/translating'),
+ translating: get('i18n/translating'),
},
methods: {
@@ -54,14 +54,14 @@
const to = this.$router.resolve({ params: { locale } })
- await this.$router.replace(to.location)
-
// If we're moving to or from crowdin language, we should
// refresh so that jipt script can be loaded or unloaded
if (
this.translating ||
locale === 'eo-UY'
- ) window.location.reload()
+ ) setTimeout(() => this.$router.go(), 250)
+
+ await this.$router.replace(to.location)
},
},
}
diff --git a/packages/docs-next/src/layouts/default/Drawer.vue b/packages/docs-next/src/layouts/default/Drawer.vue
index e0ed02553d3..90aefc425f3 100644
--- a/packages/docs-next/src/layouts/default/Drawer.vue
+++ b/packages/docs-next/src/layouts/default/Drawer.vue
@@ -7,7 +7,7 @@
<v-list-group
v-for="item in items"
:key="item.title"
- :group="genGroup(item.group)"
+ :group="item.group"
:prepend-icon="item.icon"
no-action
>
@@ -17,15 +17,17 @@
</v-list-item-content>
</template>
- <v-list-item
- v-for="page in pages[item.group]"
- :key="page.title"
- :to="`/${locale}${page.to}`"
- >
- <v-list-item-content>
- <v-list-item-title v-text="page.title" />
- </v-list-item-content>
- </v-list-item>
+ <template v-if="!!item.items">
+ <v-list-item
+ v-for="subItem in item.items"
+ :key="subItem.title"
+ :to="subItem.to"
+ >
+ <v-list-item-content>
+ <v-list-item-title v-text="subItem.title" />
+ </v-list-item-content>
+ </v-list-item>
+ </template>
</v-list-group>
</v-list>
</v-navigation-drawer>
@@ -35,43 +37,42 @@
// Utilities
import { get } from 'vuex-pathify'
+ import pages from '@/data/pages'
+
export default {
name: 'DefaultDrawer',
computed: {
locale: get('route/params@locale'),
- pages: get('app/pages'),
+ pages: get('i18n/pages'),
items () {
- return [
- {
- title: this.$t('getting-started'),
- icon: '$mdiSpeedometer',
- group: 'getting-started',
- },
- {
- title: this.$t('components'),
- icon: '$mdiViewDashboard',
- group: 'components',
- },
- {
- title: this.$t('api'),
- icon: '$mdiBeaker',
- group: 'api',
- },
- ]
+ return pages.map(item => this.genItem(item, ''))
},
},
methods: {
- genGroup (group) {
- return this.pages[group].reduce((group, { to }) => {
- // Pages are expected to have a leading slash
- const path = to.split('/').slice(1).join('/')
-
- if (!group.includes(path)) group.push(path)
+ findItems (group) {
+ return Object.keys(this.pages).filter(p => p.startsWith(group)).map(p => {
+ return {
+ title: this.pages[p],
+ to: `/${this.$route.params.locale}${p}`,
+ }
+ })
+ },
+ genItem (item, parent) {
+ const group = `${parent}/${item.title}`
- return group
- }, []).join('|')
+ return {
+ // Try finding title among imported pages, otherwise try translating it
+ title: this.pages[group] || this.$t(item.title),
+ icon: item.icon || undefined,
+ group,
+ // If there are no defined components, try finding them among imported pages
+ items: item.items
+ ? item.items.map(i => this.genItem(i, group))
+ : this.findItems(group),
+ to: `/${this.$route.params.locale}${group}`,
+ }
},
},
}
diff --git a/packages/docs-next/src/layouts/default/Toc.vue b/packages/docs-next/src/layouts/default/Toc.vue
index c59af2f7528..a400754bede 100644
--- a/packages/docs-next/src/layouts/default/Toc.vue
+++ b/packages/docs-next/src/layouts/default/Toc.vue
@@ -41,9 +41,9 @@
computed: {
category: get('route/params@category'),
page: get('route/params@page'),
- headings: get('app/headings'),
+ tocs: get('i18n/tocs'),
toc () {
- return this.headings[this.category][this.page]
+ return this.tocs && this.tocs[this.category] && this.tocs[this.category][this.page]
},
},
}
diff --git a/packages/docs-next/src/layouts/root/Index.vue b/packages/docs-next/src/layouts/root/Index.vue
index 3ebd438c313..2358daaf44d 100644
--- a/packages/docs-next/src/layouts/root/Index.vue
+++ b/packages/docs-next/src/layouts/root/Index.vue
@@ -18,19 +18,18 @@
import 'github-markdown-css/github-markdown.css'
// Utilities
- import { get } from 'vuex-pathify'
-
- // Language
- import { loadLocale } from '@/plugins/i18n'
+ import { get, call } from 'vuex-pathify'
export default {
name: 'RootLayout',
computed: {
- translating: get('app/translating'),
+ translating: get('i18n/translating'),
},
created () {
+ this.init()
+
if (!this.translating) return
const crowdin = document.createElement('script')
@@ -40,8 +39,13 @@
document.head.appendChild(crowdin)
},
- beforeRouteUpdate: (to, _, next) => {
- loadLocale(to.params.locale).then(next)
+ methods: {
+ init: call('app/init'),
+ switchLocale: call('i18n/switch'),
+ },
+
+ beforeRouteUpdate (to, _, next) {
+ this.switchLocale({ locale: to.params.locale }).then(next)
},
}
</script>
diff --git a/packages/docs-next/src/pages/en/api/VAlert.md b/packages/docs-next/src/pages/en/api/v-alert.md
similarity index 91%
rename from packages/docs-next/src/pages/en/api/VAlert.md
rename to packages/docs-next/src/pages/en/api/v-alert.md
index e7799b8ec20..2ff205d14dc 100644
--- a/packages/docs-next/src/pages/en/api/VAlert.md
+++ b/packages/docs-next/src/pages/en/api/v-alert.md
@@ -1,12 +1,10 @@
---
layout: documentation
-title: V-Alert API
description: API for the v-alert component.
keywords: v-alert, alerts, api, vue alert component, vuetify alert component
-nav: v-alert
---
-# V-Alert API
+# V-Alert
## Props
| Name | Type | Default | Description |
diff --git a/packages/docs-next/src/pages/en/components/Alerts.md b/packages/docs-next/src/pages/en/components/alerts.md
similarity index 97%
rename from packages/docs-next/src/pages/en/components/Alerts.md
rename to packages/docs-next/src/pages/en/components/alerts.md
index c9539307b50..b5f4765aa15 100644
--- a/packages/docs-next/src/pages/en/components/Alerts.md
+++ b/packages/docs-next/src/pages/en/components/alerts.md
@@ -1,12 +1,10 @@
---
-title: Alerts
layout: documentation
description: The v-alert component is used to convey information to the user. Designed to stand out, the alerts come in four contextual styles.
keywords: v-alert, alerts, vue alert component, vuetify alert component
-nav: true
---
-# V-Alert
+# Alerts
The `v-alert` component is used to convey important information to the user through the use contextual types icons and color. These default types come in in 4 variations: `success`, `info`, `warning`, and `error`. Default icons are assigned which help represent different actions each type portrays. Many parts of an alert such as border, icon, and color can also be customized to fit almost any situation.
<carbon-ad />
diff --git a/packages/docs-next/src/pages/ko-KR/getting-started/BrowserSupport.md b/packages/docs-next/src/pages/en/getting-started/browser-support.md
similarity index 98%
rename from packages/docs-next/src/pages/ko-KR/getting-started/BrowserSupport.md
rename to packages/docs-next/src/pages/en/getting-started/browser-support.md
index cb77011d0e8..ae8a1b72603 100644
--- a/packages/docs-next/src/pages/ko-KR/getting-started/BrowserSupport.md
+++ b/packages/docs-next/src/pages/en/getting-started/browser-support.md
@@ -1,8 +1,6 @@
---
-title: Browser support
description: Vuetify is a progressive framework that supports all evergreen browsers and IE11 / Safari with polyfill.
keywords: vuetify browser support
-nav: true
---
# Browser support
diff --git a/packages/docs-next/src/pages/en/getting-started/QuickStart.md b/packages/docs-next/src/pages/en/getting-started/quick-start.md
similarity index 99%
rename from packages/docs-next/src/pages/en/getting-started/QuickStart.md
rename to packages/docs-next/src/pages/en/getting-started/quick-start.md
index d0cb27b3e0d..d8f11e7b78a 100644
--- a/packages/docs-next/src/pages/en/getting-started/QuickStart.md
+++ b/packages/docs-next/src/pages/en/getting-started/quick-start.md
@@ -1,8 +1,6 @@
---
-title: Quick Start
description: Get started with Vue and Vuetify in no time. Support for Vue CLI, Webpack, Nuxt and more.
keywords: quick start, vuetify templates, installing vuetify, install vuetify
-nav: true
---
# Quick start
diff --git a/packages/docs-next/src/pages/eo-UY/api/VAlert.md b/packages/docs-next/src/pages/eo-UY/api/VAlert.md
deleted file mode 100644
index 042a9872d35..00000000000
--- a/packages/docs-next/src/pages/eo-UY/api/VAlert.md
+++ /dev/null
@@ -1,30 +0,0 @@
----
-layout: crwdns58554:0crwdne58554:0
-title: crwdns58556:0crwdne58556:0
-description: crwdns58558:0crwdne58558:0
-keywords: crwdns58560:0crwdne58560:0
-nav: crwdns58562:0crwdne58562:0
----
-
-# crwdns58564:0crwdne58564:0
-
-## crwdns58566:0crwdne58566:0
-| crwdns58856:0crwdne58856:0 | crwdns58858:0crwdne58858:0 | crwdns58860:0crwdne58860:0 | crwdns58862:0crwdne58862:0 |
-|:-------------------------- |:--------------------------:|:--------------------------:|:----------------------------------------------------- |
-| crwdns58864:0crwdne58864:0 | crwdns58866:0crwdne58866:0 | crwdns58868:0crwdne58868:0 | crwdns58870:0crwdne58870:0 crwdns58872:0crwdne58872:0 |
-
-## crwdns58586:0crwdne58586:0
-
-## crwdns58588:0crwdne58588:0
-
-## crwdns58590:0crwdne58590:0
-
-## crwdns58592:0crwdne58592:0
-
-<carbon-ad />
-
-<up-next />
-
-<vuetify-ad />
-
-<contribute />
diff --git a/packages/docs-next/src/pages/eo-UY/api/v-alert.md b/packages/docs-next/src/pages/eo-UY/api/v-alert.md
new file mode 100644
index 00000000000..a296acb17bc
--- /dev/null
+++ b/packages/docs-next/src/pages/eo-UY/api/v-alert.md
@@ -0,0 +1,28 @@
+---
+layout: crwdns59122:0crwdne59122:0
+description: crwdns59124:0crwdne59124:0
+keywords: crwdns59126:0crwdne59126:0
+---
+
+# crwdns59128:0crwdne59128:0
+
+## crwdns59130:0crwdne59130:0
+| crwdns59132:0crwdne59132:0 | crwdns59134:0crwdne59134:0 | crwdns59136:0crwdne59136:0 | crwdns59138:0crwdne59138:0 |
+|:-------------------------- |:--------------------------:|:--------------------------:|:----------------------------------------------------- |
+| crwdns59140:0crwdne59140:0 | crwdns59142:0crwdne59142:0 | crwdns59144:0crwdne59144:0 | crwdns59146:0crwdne59146:0 crwdns59148:0crwdne59148:0 |
+
+## crwdns59150:0crwdne59150:0
+
+## crwdns59152:0crwdne59152:0
+
+## crwdns59154:0crwdne59154:0
+
+## crwdns59156:0crwdne59156:0
+
+<carbon-ad />
+
+<up-next />
+
+<vuetify-ad />
+
+<contribute />
diff --git a/packages/docs-next/src/pages/eo-UY/components/Alerts.md b/packages/docs-next/src/pages/eo-UY/components/Alerts.md
deleted file mode 100644
index 4cc5217c442..00000000000
--- a/packages/docs-next/src/pages/eo-UY/components/Alerts.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: crwdns58594:0crwdne58594:0
-layout: crwdns58596:0crwdne58596:0
-description: crwdns58598:0crwdne58598:0 crwdns58600:0crwdne58600:0
-keywords: crwdns58602:0crwdne58602:0
-nav: crwdns58604:0crwdne58604:0
----
-
-# crwdns58606:0crwdne58606:0
-crwdns58608:0crwdne58608:0 crwdns58610:0crwdne58610:0 crwdns58612:0crwdne58612:0 crwdns58614:0crwdne58614:0
-
-<carbon-ad />
-
-## crwdns58616:0crwdne58616:0
-crwdns58618:0crwdne58618:0<usage>crwdns58620:0crwdne58620:0</usage>
-
-## crwdns58622:0crwdne58622:0
-crwdns58624:0crwdne58624:0
-
-## crwdns58626:0crwdne58626:0
-
-<alert type="warning">crwdns58628:0crwdne58628:0 crwdns58630:0crwdne58630:0</alert>
-
-## crwdns58632:0crwdne58632:0
-crwdns58634:0crwdne58634:0
-
- crwdns58636:0crwdne58636:0 <example>crwdns58638:0crwdne58638:0</example>
-
-## crwdns58640:0crwdne58640:0
-crwdns58642:0crwdne58642:0 crwdns58644:0crwdne58644:0 crwdns58646:0crwdne58646:0
-
-## crwdns58648:0crwdne58648:0
-
-
-## crwdns58650:0crwdne58650:0
-<up-next />
-
-<vuetify-ad />
-
-<contribute />
diff --git a/packages/docs-next/src/pages/eo-UY/components/alerts.md b/packages/docs-next/src/pages/eo-UY/components/alerts.md
new file mode 100644
index 00000000000..99f6d9afc0e
--- /dev/null
+++ b/packages/docs-next/src/pages/eo-UY/components/alerts.md
@@ -0,0 +1,38 @@
+---
+layout: crwdns59158:0crwdne59158:0
+description: crwdns59160:0crwdne59160:0 crwdns59162:0crwdne59162:0
+keywords: crwdns59164:0crwdne59164:0
+---
+
+# crwdns59166:0crwdne59166:0
+crwdns59168:0crwdne59168:0 crwdns59170:0crwdne59170:0 crwdns59172:0crwdne59172:0 crwdns59174:0crwdne59174:0
+
+<carbon-ad />
+
+## crwdns59176:0crwdne59176:0
+crwdns59178:0crwdne59178:0<usage>crwdns59180:0crwdne59180:0</usage>
+
+## crwdns59182:0crwdne59182:0
+crwdns59184:0crwdne59184:0
+
+## crwdns59186:0crwdne59186:0
+
+<alert type="warning">crwdns59188:0crwdne59188:0 crwdns59190:0crwdne59190:0</alert>
+
+## crwdns59192:0crwdne59192:0
+crwdns59194:0crwdne59194:0
+
+ crwdns59196:0crwdne59196:0 <example>crwdns59198:0crwdne59198:0</example>
+
+## crwdns59200:0crwdne59200:0
+crwdns59202:0crwdne59202:0 crwdns59204:0crwdne59204:0 crwdns59206:0crwdne59206:0
+
+## crwdns59208:0crwdne59208:0
+
+
+## crwdns59210:0crwdne59210:0
+<up-next />
+
+<vuetify-ad />
+
+<contribute />
diff --git a/packages/docs-next/src/pages/eo-UY/getting-started/BrowserSupport.md b/packages/docs-next/src/pages/eo-UY/getting-started/BrowserSupport.md
deleted file mode 100644
index a308a101368..00000000000
--- a/packages/docs-next/src/pages/eo-UY/getting-started/BrowserSupport.md
+++ /dev/null
@@ -1,55 +0,0 @@
----
-title: crwdns58652:0crwdne58652:0
-description: crwdns58654:0crwdne58654:0
-keywords: crwdns58656:0crwdne58656:0
-nav: crwdns58658:0crwdne58658:0
----
-
-# crwdns58660:0crwdne58660:0
-
-crwdns58662:0crwdne58662:0 crwdns58664:0crwdne58664:0 crwdns58666:0crwdne58666:0
-
-<carbon-ad />
-
-## crwdns58668:0crwdne58668:0
-crwdns58670:0crwdne58670:0 crwdns58672:0crwdne58672:0 crwdns58674:0crwdne58674:0
-
-```bash
-crwdns58676:0crwdne58676:0
-```
-
-crwdns58678:0crwdne58678:0 crwdns58680:0crwdne58680:0
-
-```js
-crwdns58682:0$mountcrwdne58682:0
-```
-
-crwdns58684:0crwdne58684:0 crwdns58686:0crwdne58686:0
-
-```bash
-crwdns58688:0crwdne58688:0
-```
-
-crwdns58690:0crwdne58690:0
-
-```json
-crwdns58692:0crwdne58692:0
-```
-
-```js
-crwdns58694:0crwdne58694:0
-```
-
-<alert type="info">crwdns58696:0crwdne58696:0 crwdns58698:0crwdne58698:0</alert>
-
-crwdns58700:0crwdne58700:0 crwdns58702:0crwdne58702:0 crwdns58704:0crwdne58704:0
-
-```html
-crwdns58706:0{ props.item.name }crwdne58706:0
-```
-
-<up-next />
-
----
-
-<vuetify-ad />
diff --git a/packages/docs-next/src/pages/eo-UY/getting-started/QuickStart.md b/packages/docs-next/src/pages/eo-UY/getting-started/QuickStart.md
deleted file mode 100644
index 6b1b26b63de..00000000000
--- a/packages/docs-next/src/pages/eo-UY/getting-started/QuickStart.md
+++ /dev/null
@@ -1,146 +0,0 @@
----
-title: crwdns58708:0crwdne58708:0
-description: crwdns58710:0crwdne58710:0 crwdns58712:0crwdne58712:0
-keywords: crwdns58714:0crwdne58714:0
-nav: crwdns58716:0crwdne58716:0
----
-
-# crwdns58718:0crwdne58718:0
-
-crwdns58720:0crwdne58720:0
-
-<carbon-ad></carbon-ad>
-
-## crwdns58722:0crwdne58722:0
-
-<alert type="warning">crwdns58724:0crwdne58724:0</alert>
-
-crwdns58726:0crwdne58726:0
-
-```bash
-crwdns58728:0crwdne58728:0
-```
-
-crwdns58730:0crwdne58730:0
-
-```bash
-crwdns58732:0crwdne58732:0
-```
-
-### crwdns58734:0crwdne58734:0
-crwdns58736:0crwdne58736:0 crwdns58738:0crwdne58738:0
-
-```bash
-crwdns58740:0crwdne58740:0
-```
-
-crwdns58742:0crwdne58742:0 crwdns58744:0crwdne58744:0 crwdns58746:0crwdne58746:0
-
-
-
-## crwdns58754:0crwdne58754:0
-crwdns58756:0crwdne58756:0
-
-```bash
-crwdns58758:0crwdne58758:0
-```
-
-crwdns58760:0crwdne58760:0
-
-
-```js
-crwdns58762:0crwdne58762:0
-```
-
-crwdns58764:0crwdne58764:0
-
-## crwdns58766:0crwdne58766:0
-crwdns58768:0crwdne58768:0
-
-```bash
-crwdns58770:0crwdne58770:0
-```
-
-```bash
-crwdns58772:0crwdne58772:0
-```
-
-crwdns58774:0crwdne58774:0 crwdns58776:0crwdne58776:0 crwdns58778:0crwdne58778:0 crwdns58780:0crwdne58780:0
-
-
-```js
-crwdns58782:0crwdne58782:0
-```
-
-crwdns58784:0crwdne58784:0
-
-```js
-crwdns58786:0crwdne58786:0
-```
-
-crwdns58788:0crwdne58788:0
-
-```js
-crwdns58790:0crwdne58790:0
-```
-
-crwdns58792:0crwdne58792:0
-
-```js
-crwdns58794:0$mountcrwdne58794:0
-```
-
-### crwdns58796:0crwdne58796:0
-crwdns58798:0crwdne58798:0 crwdns58800:0crwdne58800:0
-
-```html
-crwdns58802:0crwdne58802:0
-```
-
-## crwdns58804:0crwdne58804:0
-crwdns58806:0crwdne58806:0 crwdns58808:0crwdne58808:0 crwdns58810:0crwdne58810:0 crwdns58812:0crwdne58812:0 crwdns58814:0crwdne58814:0
-
-<alert type="info">crwdns58816:0crwdne58816:0 crwdns58818:0crwdne58818:0</alert>
-
-```html
-crwdns58820:0crwdne58820:0
-```
-
-## crwdns58822:0crwdne58822:0
-crwdns58824:0crwdne58824:0
-
-```bash
-crwdns58826:0crwdne58826:0
-```
-
-## crwdns58828:0crwdne58828:0
-crwdns58830:0crwdne58830:0 crwdns58832:0crwdne58832:0
-
-```bash
-crwdns58834:0crwdne58834:0
-```
-
-## crwdns58836:0crwdne58836:0
-crwdns58838:0crwdne58838:0
-
-```bash
-crwdns58840:0crwdne58840:0
-```
-
-## crwdns58842:0crwdne58842:0
-crwdns58844:0crwdne58844:0
-
-```bash
-crwdns58846:0crwdne58846:0
-```
-
-[crwdns58850:0crwdne58850:0 crwdns58852:0crwdne58852:0](crwdns58848:0crwdne58848:0)
-
-## crwdns58854:0crwdne58854:0
-<related-topics />
-
-<up-next />
-
-<vuetify-ad />
-
-<contribute />
diff --git a/packages/docs-next/src/pages/eo-UY/getting-started/browser-support.md b/packages/docs-next/src/pages/eo-UY/getting-started/browser-support.md
new file mode 100644
index 00000000000..89a9decea31
--- /dev/null
+++ b/packages/docs-next/src/pages/eo-UY/getting-started/browser-support.md
@@ -0,0 +1,53 @@
+---
+description: crwdns59212:0crwdne59212:0
+keywords: crwdns59214:0crwdne59214:0
+---
+
+# crwdns59216:0crwdne59216:0
+
+crwdns59218:0crwdne59218:0 crwdns59220:0crwdne59220:0 crwdns59222:0crwdne59222:0
+
+<carbon-ad />
+
+## crwdns59224:0crwdne59224:0
+crwdns59226:0crwdne59226:0 crwdns59228:0crwdne59228:0 crwdns59230:0crwdne59230:0
+
+```bash
+crwdns59232:0crwdne59232:0
+```
+
+crwdns59234:0crwdne59234:0 crwdns59236:0crwdne59236:0
+
+```js
+crwdns59238:0$mountcrwdne59238:0
+```
+
+crwdns59240:0crwdne59240:0 crwdns59242:0crwdne59242:0
+
+```bash
+crwdns59244:0crwdne59244:0
+```
+
+crwdns59246:0crwdne59246:0
+
+```json
+crwdns59248:0crwdne59248:0
+```
+
+```js
+crwdns59250:0crwdne59250:0
+```
+
+<alert type="info">crwdns59252:0crwdne59252:0 crwdns59254:0crwdne59254:0</alert>
+
+crwdns59256:0crwdne59256:0 crwdns59258:0crwdne59258:0 crwdns59260:0crwdne59260:0
+
+```html
+crwdns59262:0{ props.item.name }crwdne59262:0
+```
+
+<up-next />
+
+---
+
+<vuetify-ad />
diff --git a/packages/docs-next/src/pages/eo-UY/getting-started/quick-start.md b/packages/docs-next/src/pages/eo-UY/getting-started/quick-start.md
new file mode 100644
index 00000000000..9199abe6b0b
--- /dev/null
+++ b/packages/docs-next/src/pages/eo-UY/getting-started/quick-start.md
@@ -0,0 +1,144 @@
+---
+description: crwdns59264:0crwdne59264:0 crwdns59266:0crwdne59266:0
+keywords: crwdns59268:0crwdne59268:0
+---
+
+# crwdns59270:0crwdne59270:0
+
+crwdns59272:0crwdne59272:0
+
+<carbon-ad></carbon-ad>
+
+## crwdns59274:0crwdne59274:0
+
+<alert type="warning">crwdns59276:0crwdne59276:0</alert>
+
+crwdns59278:0crwdne59278:0
+
+```bash
+crwdns59280:0crwdne59280:0
+```
+
+crwdns59282:0crwdne59282:0
+
+```bash
+crwdns59284:0crwdne59284:0
+```
+
+### crwdns59286:0crwdne59286:0
+crwdns59288:0crwdne59288:0 crwdns59290:0crwdne59290:0
+
+```bash
+crwdns59292:0crwdne59292:0
+```
+
+crwdns59294:0crwdne59294:0 crwdns59296:0crwdne59296:0 crwdns59298:0crwdne59298:0
+
+
+
+## crwdns59306:0crwdne59306:0
+crwdns59308:0crwdne59308:0
+
+```bash
+crwdns59310:0crwdne59310:0
+```
+
+crwdns59312:0crwdne59312:0
+
+
+```js
+crwdns59314:0crwdne59314:0
+```
+
+crwdns59316:0crwdne59316:0
+
+## crwdns59318:0crwdne59318:0
+crwdns59320:0crwdne59320:0
+
+```bash
+crwdns59322:0crwdne59322:0
+```
+
+```bash
+crwdns59324:0crwdne59324:0
+```
+
+crwdns59326:0crwdne59326:0 crwdns59328:0crwdne59328:0 crwdns59330:0crwdne59330:0 crwdns59332:0crwdne59332:0
+
+
+```js
+crwdns59334:0crwdne59334:0
+```
+
+crwdns59336:0crwdne59336:0
+
+```js
+crwdns59338:0crwdne59338:0
+```
+
+crwdns59340:0crwdne59340:0
+
+```js
+crwdns59342:0crwdne59342:0
+```
+
+crwdns59344:0crwdne59344:0
+
+```js
+crwdns59346:0$mountcrwdne59346:0
+```
+
+### crwdns59348:0crwdne59348:0
+crwdns59350:0crwdne59350:0 crwdns59352:0crwdne59352:0
+
+```html
+crwdns59354:0crwdne59354:0
+```
+
+## crwdns59356:0crwdne59356:0
+crwdns59358:0crwdne59358:0 crwdns59360:0crwdne59360:0 crwdns59362:0crwdne59362:0 crwdns59364:0crwdne59364:0 crwdns59366:0crwdne59366:0
+
+<alert type="info">crwdns59368:0crwdne59368:0 crwdns59370:0crwdne59370:0</alert>
+
+```html
+crwdns59372:0crwdne59372:0
+```
+
+## crwdns59374:0crwdne59374:0
+crwdns59376:0crwdne59376:0
+
+```bash
+crwdns59378:0crwdne59378:0
+```
+
+## crwdns59380:0crwdne59380:0
+crwdns59382:0crwdne59382:0 crwdns59384:0crwdne59384:0
+
+```bash
+crwdns59386:0crwdne59386:0
+```
+
+## crwdns59388:0crwdne59388:0
+crwdns59390:0crwdne59390:0
+
+```bash
+crwdns59392:0crwdne59392:0
+```
+
+## crwdns59394:0crwdne59394:0
+crwdns59396:0crwdne59396:0
+
+```bash
+crwdns59398:0crwdne59398:0
+```
+
+[crwdns59402:0crwdne59402:0 crwdns59404:0crwdne59404:0](crwdns59400:0crwdne59400:0)
+
+## crwdns59406:0crwdne59406:0
+<related-topics />
+
+<up-next />
+
+<vuetify-ad />
+
+<contribute />
diff --git a/packages/docs-next/src/pages/ko-KR/api/VAlert.md b/packages/docs-next/src/pages/ko-KR/api/VAlert.md
deleted file mode 100644
index 828bbc879cf..00000000000
--- a/packages/docs-next/src/pages/ko-KR/api/VAlert.md
+++ /dev/null
@@ -1,31 +0,0 @@
----
-layout: documentation
-title: V-Alert API
-description: API for the v-alert component.
-keywords: v-alert, alerts, api, vue alert component, vuetify alert component
-nav: v-alert
----
-
-# V-Alert API
-
-## Props
-<api-table>
-| 이름 | 타입 | 디폴트 | 설명 |
-|:------ |:------:|:---------:|:-------------------------------------------------------------------------------------- |
-| border | string | undefined | Puts a border on the alert. Accepts **top** \| **right** \| **bottom** \| **left**. |
-
-## 슬롯
-
-## Events
-
-## Functions
-
-## SASS Variables
-
-<carbon-ad />
-
-<up-next />
-
-<vuetify-ad />
-
-<contribute />
diff --git a/packages/docs-next/src/pages/ko-KR/components/Alerts.md b/packages/docs-next/src/pages/ko-KR/components/Alerts.md
deleted file mode 100644
index 621274e2257..00000000000
--- a/packages/docs-next/src/pages/ko-KR/components/Alerts.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: 경고창 (Alerts)
-layout: documentation
-description: The v-alert component is used to convey information to the user. Designed to stand out, the alerts come in four contextual styles.
-keywords: v-alert, alerts, vue alert component, vuetify alert component
-nav: true
----
-
-# V-Alert
-The `v-alert` component is used to convey important information to the user through the use contextual types icons and color. These default types come in in 4 variations: `success`, `info`, `warning`, and `error`. Default icons are assigned which help represent different actions each type portrays. Many parts of an alert such as border, icon, and color can also be customized to fit almost any situation.
-
-<carbon-ad />
-
-## Usage
-Alerts in their simplest form are a flat sheets of paper that display a message.<usage>v-alert</usage>
-
-## Sub-Components
-None
-
-## Caveats
-
-<alert type="warning">I'm an alert. Fear My Alertness!</alert>
-
-## Examples
-간단한 예재부터 복잡한 예제까지 아래를 참고해서 앱 개발을 시작해 보세요.
-
- ### Type Lorem ipsum <example>v-alert.type</example>
-
-## Accessibility
-By default, v-alert components are assigned the WAI-ARIA role of alert which denotes that the alert "is a live region with important and usually time-sensitive, information." When using the dismissible prop the close icon will receive a corresponding aria-label. This value can be modified by changing either the close-label prop or globally through customizing the Internationalization's default value for the close property.
-
-## API
-
-
-## Up Next
-<up-next />
-
-<vuetify-ad />
-
-<contribute />
diff --git a/packages/docs-next/src/pages/ko-KR/getting-started/QuickStart.md b/packages/docs-next/src/pages/ko-KR/getting-started/QuickStart.md
deleted file mode 100644
index b24bd91a04c..00000000000
--- a/packages/docs-next/src/pages/ko-KR/getting-started/QuickStart.md
+++ /dev/null
@@ -1,270 +0,0 @@
----
-title: Quick Start
-description: Get started with Vue and Vuetify in no time. Support for Vue CLI, Webpack, Nuxt and more.
-keywords: quick start, vuetify templates, get started
-nav: true
----
-
-# 빠른 시작
-
-Get started with Vuetify, the world’s most popular Vue.js framework for building feature rich, blazing fast application.
-
-<carbon-ad></carbon-ad>
-
-## Vue CLI Install
-
-<alert type="warning">For information on how to use Vue CLI, visit the [official documentation]().</alert>
-
-If you have not already created a new Vue.js project using **Vue CLI**, you can do so by typing:
-
-```bash
-vue create my-app
-# navigate to new project directory
-cd my-app
-```
-
-Now that you have an instantiated project, you can add the Vuetify [Vue CLI package]() using the cli.
-
-```bash
-vue add vuetify
-```
-
-### Vue UI install
-Vuetify can also be installed using **Vue UI**, the new visual application for Vue CLI. Ensure that you have the latest version of Vue CLI installed, then from your terminal type:
-
-```bash
-# ensure Vue CLI is >= 3.0
-vue --version
-
-# Then start the UI
-vue ui
-```
-
-This will start the Vue User Interface and open a [new window]() in your browser. On the left side of your screen, click on **Plugins**. Once navigated, search for Vuetify in the input field.
-
-
-
-## Nuxt install
-Vuetify can be added by installing the Nuxt Vuetify module.
-
-```bash
-yarn add @nuxtjs/vuetify -D
-# OR
-npm install @nuxtjs/vuetify -D
-```
-
-Once installed, update your nuxt.config.js file to include the Vuetify module in the build.
-
-
-```js
-// nuxt.config.js
-{
- buildModules: [
- // Simple usage
- '@nuxtjs/vuetify',
-
- // With options
- ['@nuxtjs/vuetify', { /* module options */ }]
- ]
-}
-```
-
-More information on installing Nuxt can be found on the official documentation.
-
-## Webpack install
-Vuetify 를 Webpack 프로젝트에 추가하기 위해선 몇가지 의존성들을 추가해야 합니다.
-
-```bash
-yarn add vuetify
-# OR
-npm install vuetify
-```
-
-```bash
-yarn add sass sass-loader fibers deepmerge -D
-# OR
-npm install sass sass-loader fibers deepmerge -D
-```
-
-Once installed, locate your webpack.config.js file and copy the snippet below into the rules array. If you have an existing sass rule configured, you may need to apply some or all of the changes below. If you are you looking to utilize the vuetify-loader for treeshaking, ensure that you are on version >=4 of Webpack. You can find more information on setting it up with webpack on the A-la-carte page.
-
-
-```js
-// webpack.config.js
-
-module.exports = {
- rules: [
- {
- test: /\.s(c|a)ss$/,
- use: [
- 'vue-style-loader',
- 'css-loader',
- {
- loader: 'sass-loader',
- // Requires sass-loader@^7.0.0
- options: {
- implementation: require('sass'),
- fiber: require('fibers'),
- indentedSyntax: true // optional
- },
- // Requires sass-loader@^8.0.0
- options: {
- implementation: require('sass'),
- sassOptions: {
- fiber: require('fibers'),
- indentedSyntax: true // optional
- },
- },
- },
- ],
- },
- ],
-}
-```
-
-Create a plugin file for Vuetify, src/plugins/vuetify.js with the below content:
-
-```js
-// src/plugins/vuetify.js
-
-import Vue from 'vue'
-import Vuetify from 'vuetify'
-import 'vuetify/dist/vuetify.min.css'
-
-Vue.use(Vuetify)
-
-const opts = {}
-
-export default new Vuetify(opts)
-```
-
-If using vuetify-loader use the content below:
-
-```js
-// src/plugins/vuetify.js
-
-import Vue from 'vue'
-import Vuetify from 'vuetify/lib'
-
-Vue.use(Vuetify)
-
-const opts = {}
-
-export default new Vuetify(opts)
-```
-
-설정된 Main Entry Point(보통 `src/main. js`) 로 이동하여 Vuetify object를 Vue 인스턴스에 옵션으로 추가 하세요.
-
-```js
-// src/main.js
-
-import Vue from 'vue'
-import vuetify from '@/plugins/vuetify' // path to vuetify export
-
-new Vue({
- vuetify,
-}).$mount('#app')
-```
-
-### Font installation
-Vuetify uses Google's Roboto font and Material Design Icons. The simplest way to install these are to include their CDN's in your main index.html.
-
-```html
-<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
-<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
-```
-
-## CDN usage
-To test using Vuetify.js without installing a template from Vue CLI, copy the code below into your index.html. This will pull the latest version of Vue and Vuetify, allowing you to start playing with components. You can also use the Vuetify starter on codepen. While not recommended, if you need to utilize the cdn packages in a production environment, it is recommended that you scope the versions of your assets. For more information on how to do this, navigate to the jsdelivr website.
-
-<alert type="info">In order for your application to work properly, you must wrap it in a v-app component. See the Application component page for more information.</alert>
-
-```html
-<!DOCTYPE html>
-<html>
-<head>
- <link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
- <link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
- <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
-</head>
-<body>
- <div id="app">
- <v-app>
- <v-content>
- <v-container>Hello world</v-container>
- </v-content>
- </v-app>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.js"></script>
- <script>
- new Vue({
- el: '#app',
- vuetify: new Vuetify(),
- })
- </script>
-</body>
-</html>
-```
-
-## Usage with Electron
-To use Vuetify with Electron, add the electron-builder plugin via Vue CLI.
-
-```bash
-# Install
-vue add electron-builder
-
-# Usage
-yarn electron:build
-yarn electron:serve
-```
-
-## Usage with PWA
-If you are creating a new app with Vue CLI, you have the option to select Progressive Web App (PWA) Support in the first prompt after initiating vue create my-app. This package can also be installed into existing Vue CLI projects by entering the following command:
-
-```bash
-vue add pwa
-```
-
-## Usage with Cordova
-To use Vuetify with Cordova, add the Cordova plugin via Vue CLI:
-
-```bash
-# If cordova is not already installed
-yarn global add cordova
-
-# Install
-vue add cordova
-
-# Usage
-yarn cordova-serve-android # Development Android
-yarn cordova-build-android # Build Android
-yarn cordova-serve-ios # Development IOS
-yarn cordova-build-ios # Build IOS
-yarn cordova-serve-browser # Development Browser
-yarn cordova-build-browser # Build Browser
-```
-
-## Usage with Capacitor
-To use Vuetify with **Capacitor**, add the [Capacitor]() plugin via Vue CLI:
-
-```bash
-# Install
-$ vue add @nklayman/capacitor
-
-# Usage
-$ yarn capacitor:serve
-```
-
-[Looking for Web Developer jobs? Try Jooble](https://jooble.org/jobs-web-developer)
-
-## Related Topics
-<related-topics />
-
-<up-next />
-
-<vuetify-ad />
-
-<contribute />
diff --git a/packages/docs-next/src/pages/sv-SE/api/VAlert.md b/packages/docs-next/src/pages/sv-SE/api/v-alert.md
similarity index 93%
rename from packages/docs-next/src/pages/sv-SE/api/VAlert.md
rename to packages/docs-next/src/pages/sv-SE/api/v-alert.md
index da4f0d98fd6..ca227bd9b1e 100644
--- a/packages/docs-next/src/pages/sv-SE/api/VAlert.md
+++ b/packages/docs-next/src/pages/sv-SE/api/v-alert.md
@@ -1,11 +1,10 @@
---
layout: documentation
-title: V-Alert API
description: API for the v-alert component.
keywords: v-alert, alerts, api, vue alert component, vuetify alert component
---
-# V-Alert API
+# V-Alert
## Props
| Name | Type | Default | Description |
@@ -22,7 +21,6 @@ keywords: v-alert, alerts, api, vue alert component, vuetify alert component
<carbon-ad />
-## Up Next
<up-next />
<vuetify-ad />
diff --git a/packages/docs-next/src/pages/sv-SE/components/Alerts.md b/packages/docs-next/src/pages/sv-SE/components/alerts.md
similarity index 94%
rename from packages/docs-next/src/pages/sv-SE/components/Alerts.md
rename to packages/docs-next/src/pages/sv-SE/components/alerts.md
index a13e55db352..584161735c5 100644
--- a/packages/docs-next/src/pages/sv-SE/components/Alerts.md
+++ b/packages/docs-next/src/pages/sv-SE/components/alerts.md
@@ -1,12 +1,10 @@
---
layout: documentation
-title: V-Alert
description: The v-alert component is used to convey information to the user. Designed to stand out, the alerts come in four contextual styles.
keywords: v-alert, alerts, vue alert component, vuetify alert component
-nav: components/alerts
---
-# V-Alert
+# Alerts
The `v-alert` component is used to convey important information to the user through the use contextual types icons and color. These default types come in in 4 variations: `success`, `info`, `warning`, and `error`. Default icons are assigned which help represent different actions each type portrays. Many parts of an alert such as border, icon, and color can also be customized to fit almost any situation.
<carbon-ad />
@@ -18,7 +16,8 @@ Alerts in their simplest form are a flat sheets of paper that display a message.
None
## Caveats
-> warning I'm an alert. Fear My Alertness!
+
+<alert type="warning">I'm an alert. Fear My Alertness!</alert>
## Examples
Below is a collection of simple to complex examples.
diff --git a/packages/docs-next/src/pages/en/getting-started/BrowserSupport.md b/packages/docs-next/src/pages/sv-SE/getting-started/browser-support.md
similarity index 98%
rename from packages/docs-next/src/pages/en/getting-started/BrowserSupport.md
rename to packages/docs-next/src/pages/sv-SE/getting-started/browser-support.md
index cb77011d0e8..ae8a1b72603 100644
--- a/packages/docs-next/src/pages/en/getting-started/BrowserSupport.md
+++ b/packages/docs-next/src/pages/sv-SE/getting-started/browser-support.md
@@ -1,8 +1,6 @@
---
-title: Browser support
description: Vuetify is a progressive framework that supports all evergreen browsers and IE11 / Safari with polyfill.
keywords: vuetify browser support
-nav: true
---
# Browser support
diff --git a/packages/docs-next/src/pages/sv-SE/getting-started/QuickStart.md b/packages/docs-next/src/pages/sv-SE/getting-started/quick-start.md
similarity index 96%
rename from packages/docs-next/src/pages/sv-SE/getting-started/QuickStart.md
rename to packages/docs-next/src/pages/sv-SE/getting-started/quick-start.md
index 49be4d33e44..004b3152759 100644
--- a/packages/docs-next/src/pages/sv-SE/getting-started/QuickStart.md
+++ b/packages/docs-next/src/pages/sv-SE/getting-started/quick-start.md
@@ -1,5 +1,4 @@
---
-title: Quick Start
description: Get started with Vue and Vuetify in no time. Support for Vue CLI, Webpack, Nuxt and more.
keywords: quick start, vuetify templates, installing vuetify, install vuetify
---
@@ -11,7 +10,8 @@ Get started with Vuetify, the world’s most popular Vue.js framework for buildi
<carbon-ad></carbon-ad>
## Vue CLI Install
-> warning For information on how to use Vue CLI, visit the [official documentation]().
+
+<alert type="warning">For information on how to use Vue CLI, visit the [official documentation]().</alert>
If you have not already created a new Vue.js project using **Vue CLI**, you can do so by typing:
@@ -174,7 +174,8 @@ Vuetify uses Google's Roboto font and Material Design Icons. The simplest way to
## CDN usage
To test using Vuetify.js without installing a template from Vue CLI, copy the code below into your index.html. This will pull the latest version of Vue and Vuetify, allowing you to start playing with components. You can also use the Vuetify starter on codepen. While not recommended, if you need to utilize the cdn packages in a production environment, it is recommended that you scope the versions of your assets. For more information on how to do this, navigate to the jsdelivr website.
-> info In order for your application to work properly, you must wrap it in a v-app component. See the Application component page for more information.
+
+<alert type="info">In order for your application to work properly, you must wrap it in a v-app component. See the Application component page for more information.</alert>
```html
<!DOCTYPE html>
@@ -260,7 +261,6 @@ $ yarn capacitor:serve
## Related Topics
<related-topics />
-## Up Next
<up-next />
<vuetify-ad />
diff --git a/packages/docs-next/src/store/index.js b/packages/docs-next/src/store/index.js
index 218cbe41469..d73b77e4c51 100644
--- a/packages/docs-next/src/store/index.js
+++ b/packages/docs-next/src/store/index.js
@@ -14,7 +14,5 @@ export function createStore () {
plugins: [pathify.plugin],
})
- store.dispatch('app/init')
-
return store
}
diff --git a/packages/docs-next/src/store/modules/app.js b/packages/docs-next/src/store/modules/app.js
index 37381eafafa..445c393594c 100644
--- a/packages/docs-next/src/store/modules/app.js
+++ b/packages/docs-next/src/store/modules/app.js
@@ -1,26 +1,18 @@
// Pathify
import { make } from 'vuex-pathify'
-import headings from '@docs/headings'
-import pages from '@docs/pages'
-const state = {
- headings,
- pages,
-}
+const state = {}
const mutations = make.mutations(state)
const actions = {
- init: ({ dispatch }) => {
+ init: ({ dispatch, rootState }) => {
dispatch('ads/fetch', null, { root: true })
+ dispatch('i18n/switch', { locale: rootState.route.params.locale }, { root: true })
},
}
-const getters = {
- translating: (state, getters, rootState) => {
- return rootState.route.params.locale === 'eo-UY'
- },
-}
+const getters = {}
export default {
namespaced: true,
diff --git a/packages/docs-next/src/store/modules/i18n.js b/packages/docs-next/src/store/modules/i18n.js
new file mode 100644
index 00000000000..5a4186c2986
--- /dev/null
+++ b/packages/docs-next/src/store/modules/i18n.js
@@ -0,0 +1,48 @@
+// Pathify
+import { make } from 'vuex-pathify'
+
+// Language
+import { loadLocale } from '@/plugins/i18n'
+
+async function loadHeadings (locale) {
+ return import(
+ /* webpackChunkName: "headings" */
+ `@docs/${locale}/headings`
+ )
+}
+
+async function loadPages (locale) {
+ return import(
+ /* webpackChunkName: "nav-items" */
+ `@docs/${locale}/pages`
+ )
+}
+
+const state = {
+ tocs: {},
+ pages: {},
+}
+
+const mutations = make.mutations(state)
+
+const actions = {
+ switch: async ({ commit }, { locale }) => {
+ await loadLocale(locale)
+ commit('tocs', (await loadHeadings(locale)).default)
+ commit('pages', (await loadPages(locale)).default)
+ },
+}
+
+const getters = {
+ translating: (state, getters, rootState) => {
+ return rootState.route.params.locale === 'eo-UY'
+ },
+}
+
+export default {
+ namespaced: true,
+ state,
+ mutations,
+ actions,
+ getters,
+}
diff --git a/packages/docs-next/src/store/modules/index.js b/packages/docs-next/src/store/modules/index.js
index 139934535a6..86d06f304bd 100644
--- a/packages/docs-next/src/store/modules/index.js
+++ b/packages/docs-next/src/store/modules/index.js
@@ -1,2 +1,3 @@
export { default as ads } from './ads'
export { default as app } from './app'
+export { default as i18n } from './i18n'
diff --git a/packages/docs-next/src/views/Documentation.vue b/packages/docs-next/src/views/Documentation.vue
index fc91413bbe6..611b6dd9749 100644
--- a/packages/docs-next/src/views/Documentation.vue
+++ b/packages/docs-next/src/views/Documentation.vue
@@ -7,14 +7,9 @@
<script>
// Utilities
import { genMetaData } from '@/util/metadata'
- import {
- camelCase,
- upperFirst,
- } from 'lodash'
async function load (route) {
- const page = upperFirst(camelCase(route.params.page))
- const { category, locale } = route.params
+ const { category, locale, page } = route.params
return import(
/* webpackChunkName: "documentation-pages" */
|
b02a6d9134a5204e872487e8514665c4584cf0e7
|
2022-11-29 11:39:39
|
Kael
|
docs(api): update dark theme row background
| false
|
update dark theme row background
|
docs
|
diff --git a/packages/docs/src/components/api/EventsTable.vue b/packages/docs/src/components/api/EventsTable.vue
index 3a82891c87a..d95b237b076 100644
--- a/packages/docs/src/components/api/EventsTable.vue
+++ b/packages/docs/src/components/api/EventsTable.vue
@@ -19,7 +19,7 @@
</thead>
<tbody>
<template v-for="item in items" :key="item.name">
- <tr class="bg-grey-lighten-4">
+ <tr :class="theme.dark ? 'bg-grey-darken-3' : 'bg-grey-lighten-4'">
<NameCell section="exposed" :name="item.name" />
<td>
<PrismCell :code="getType(item)" />
@@ -43,6 +43,7 @@
// Utilities
import { PropType } from 'vue'
+ import { useTheme } from 'vuetify'
import { getType } from './utils'
defineProps({
@@ -52,5 +53,7 @@
},
})
+ const { current: theme } = useTheme()
+
const headers = ['name', 'type']
</script>
diff --git a/packages/docs/src/components/api/ExposedTable.vue b/packages/docs/src/components/api/ExposedTable.vue
index 485c0ff9fd2..8bea9d0f2cd 100644
--- a/packages/docs/src/components/api/ExposedTable.vue
+++ b/packages/docs/src/components/api/ExposedTable.vue
@@ -5,7 +5,7 @@
>
<tbody>
<template v-for="item in items" :key="item.name">
- <tr class="bg-grey-lighten-4">
+ <tr :class="theme.dark ? 'bg-grey-darken-3' : 'bg-grey-lighten-4'">
<NameCell section="props" :name="item.name" />
</tr>
<tr>
@@ -29,6 +29,7 @@
// Utilities
import { getType } from './utils'
import { PropType } from 'vue'
+ import { useTheme } from 'vuetify'
defineProps({
items: {
@@ -36,4 +37,6 @@
default: () => [],
},
})
+
+ const { current: theme } = useTheme()
</script>
diff --git a/packages/docs/src/components/api/PropsTable.vue b/packages/docs/src/components/api/PropsTable.vue
index 1d03c91aea1..ce4015db741 100644
--- a/packages/docs/src/components/api/PropsTable.vue
+++ b/packages/docs/src/components/api/PropsTable.vue
@@ -19,7 +19,7 @@
</thead>
<tbody>
<template v-for="item in items" :key="item.name">
- <tr class="bg-grey-lighten-4">
+ <tr :class="theme.dark ? 'bg-grey-darken-3' : 'bg-grey-lighten-4'">
<NameCell section="props" :name="kebabCase(item.name)" />
<td>
<PrismCell :code="getType(item)" />
@@ -51,6 +51,7 @@
import { getType } from './utils'
import { kebabCase } from 'lodash-es'
import { PropType } from 'vue'
+ import { useTheme } from 'vuetify'
defineProps({
items: {
@@ -59,6 +60,8 @@
},
})
+ const { current: theme } = useTheme()
+
const DEV = import.meta.env.DEV
const headers = ['name', 'type', 'default']
</script>
diff --git a/packages/docs/src/components/api/SassTable.vue b/packages/docs/src/components/api/SassTable.vue
index 553856f2044..df36738fc24 100644
--- a/packages/docs/src/components/api/SassTable.vue
+++ b/packages/docs/src/components/api/SassTable.vue
@@ -19,7 +19,7 @@
</thead>
<tbody>
<template v-for="item in items" :key="item.name">
- <tr class="bg-grey-lighten-4">
+ <tr :class="theme.dark ? 'bg-grey-darken-3' : 'bg-grey-lighten-4'">
<NameCell section="props" :name="kebabCase(item.name)" />
<td>
<PrismCell :code="item.default" language="scss" />
@@ -39,6 +39,7 @@
// Utilities
import { kebabCase } from 'lodash-es'
import { PropType } from 'vue'
+ import { useTheme } from 'vuetify'
defineProps({
items: {
@@ -47,5 +48,7 @@
},
})
+ const { current: theme } = useTheme()
+
const headers = ['name', 'default']
</script>
diff --git a/packages/docs/src/components/api/SlotsTable.vue b/packages/docs/src/components/api/SlotsTable.vue
index e785b1788f4..ec6168d939b 100644
--- a/packages/docs/src/components/api/SlotsTable.vue
+++ b/packages/docs/src/components/api/SlotsTable.vue
@@ -5,7 +5,7 @@
>
<tbody>
<template v-for="item in items" :key="item.name">
- <tr class="bg-grey-lighten-4">
+ <tr :class="theme.dark ? 'bg-grey-darken-3' : 'bg-grey-lighten-4'">
<NameCell section="props" :name="item.name" />
</tr>
<tr v-if="item.formatted !== 'never'">
@@ -29,6 +29,7 @@
// Utilities
import { getType } from './utils'
import { PropType } from 'vue'
+ import { useTheme } from 'vuetify'
defineProps({
items: {
@@ -36,4 +37,6 @@
default: () => [],
},
})
+
+ const { current: theme } = useTheme()
</script>
|
d31a1a0e1bbf78ba76d8e46280788ab7d2d34653
|
2024-01-11 02:25:07
|
John Leider
|
fix(calendar): use toJsDate before calling getDay
| false
|
use toJsDate before calling getDay
|
fix
|
diff --git a/packages/vuetify/src/composables/calendar.ts b/packages/vuetify/src/composables/calendar.ts
index 3696ac09c75..5b4d9552c7b 100644
--- a/packages/vuetify/src/composables/calendar.ts
+++ b/packages/vuetify/src/composables/calendar.ts
@@ -113,7 +113,7 @@ export function useCalendar (props: CalendarProps) {
function genDays (days: Date[], today: Date) {
return days.filter(date => {
- return props.weekdays.includes(date.getDay())
+ return props.weekdays.includes(adapter.toJsDate(date).getDay())
}).map((date, index) => {
const isoDate = adapter.toISO(date)
const isAdjacent = !adapter.isSameMonth(date, month.value)
|
9ac9e17eeb6eaa5e7347af5917ff91745de6d16a
|
2022-12-28 19:04:18
|
Kael
|
fix(VRadioGroup): correct aria attributes, force checked when readonly
| false
|
correct aria attributes, force checked when readonly
|
fix
|
diff --git a/packages/vuetify/src/components/VRadioGroup/VRadioGroup.tsx b/packages/vuetify/src/components/VRadioGroup/VRadioGroup.tsx
index 9343558fd92..ba9b1a113dc 100644
--- a/packages/vuetify/src/components/VRadioGroup/VRadioGroup.tsx
+++ b/packages/vuetify/src/components/VRadioGroup/VRadioGroup.tsx
@@ -83,7 +83,7 @@ export const VRadioGroup = defineComponent({
}) => (
<>
{ label && (
- <VLabel for={ id.value }>
+ <VLabel id={ id.value }>
{ label }
</VLabel>
) }
@@ -97,6 +97,7 @@ export const VRadioGroup = defineComponent({
type={ props.type }
disabled={ isDisabled.value }
readonly={ isReadonly.value }
+ aria-labelledby={ label ? id.value : undefined }
{ ...controlAttrs }
v-model={ model.value }
v-slots={ slots }
diff --git a/packages/vuetify/src/components/VSelectionControl/VSelectionControl.tsx b/packages/vuetify/src/components/VSelectionControl/VSelectionControl.tsx
index ae2abde8332..8a106eece80 100644
--- a/packages/vuetify/src/components/VSelectionControl/VSelectionControl.tsx
+++ b/packages/vuetify/src/components/VSelectionControl/VSelectionControl.tsx
@@ -15,7 +15,7 @@ import { useProxiedModel } from '@/composables/proxiedModel'
import { useTextColor } from '@/composables/color'
// Utilities
-import { computed, inject, ref } from 'vue'
+import { computed, inject, nextTick, ref } from 'vue'
import {
filterInputAttrs,
genericComponent,
@@ -141,6 +141,7 @@ export const VSelectionControl = genericComponent<new <T>() => {
setup (props, { attrs, slots }) {
const {
+ group,
densityClasses,
icon,
model,
@@ -154,6 +155,12 @@ export const VSelectionControl = genericComponent<new <T>() => {
const isFocusVisible = ref(false)
const input = ref<HTMLInputElement>()
+ group?.onForceUpdate(() => {
+ if (input.value) {
+ input.value.checked = model.value
+ }
+ })
+
function onFocus (e: FocusEvent) {
isFocused.value = true
if (
@@ -170,6 +177,9 @@ export const VSelectionControl = genericComponent<new <T>() => {
}
function onInput (e: Event) {
+ if (props.readonly && group) {
+ nextTick(() => group.forceUpdate())
+ }
model.value = (e.target as HTMLInputElement).checked
}
@@ -227,7 +237,7 @@ export const VSelectionControl = genericComponent<new <T>() => {
onBlur={ onBlur }
onFocus={ onFocus }
onInput={ onInput }
- aria-readonly={ props.readonly }
+ aria-disabled={ props.readonly }
type={ props.type }
value={ trueValue.value }
name={ props.name }
diff --git a/packages/vuetify/src/components/VSelectionControlGroup/VSelectionControlGroup.tsx b/packages/vuetify/src/components/VSelectionControlGroup/VSelectionControlGroup.tsx
index bf4e8aafb80..5128e096a23 100644
--- a/packages/vuetify/src/components/VSelectionControlGroup/VSelectionControlGroup.tsx
+++ b/packages/vuetify/src/components/VSelectionControlGroup/VSelectionControlGroup.tsx
@@ -9,7 +9,7 @@ import { provideDefaults } from '@/composables/defaults'
import { useProxiedModel } from '@/composables/proxiedModel'
// Utilities
-import { computed, provide, toRef } from 'vue'
+import { computed, onScopeDispose, provide, toRef } from 'vue'
import { deepEqual, defineComponent, getUid, propsFactory, useRender } from '@/util'
// Types
@@ -17,6 +17,8 @@ import type { InjectionKey, PropType, Ref } from 'vue'
export interface VSelectionGroupContext {
modelValue: Ref<any>
+ forceUpdate: () => void
+ onForceUpdate: (fn: () => void) => void
}
export const VSelectionControlGroupSymbol: InjectionKey<VSelectionGroupContext> = Symbol.for('vuetify:selection-control-group')
@@ -72,7 +74,19 @@ export const VSelectionControlGroup = defineComponent({
const id = computed(() => props.id || `v-selection-control-group-${uid}`)
const name = computed(() => props.name || id.value)
- provide(VSelectionControlGroupSymbol, { modelValue })
+ const updateHandlers = new Set<() => void>()
+ provide(VSelectionControlGroupSymbol, {
+ modelValue,
+ forceUpdate: () => {
+ updateHandlers.forEach(fn => fn())
+ },
+ onForceUpdate: cb => {
+ updateHandlers.add(cb)
+ onScopeDispose(() => {
+ updateHandlers.delete(cb)
+ })
+ },
+ })
provideDefaults({
[props.defaultsTarget]: {
@@ -99,7 +113,6 @@ export const VSelectionControlGroup = defineComponent({
'v-selection-control-group',
{ 'v-selection-control-group--inline': props.inline },
]}
- aria-labelled-by={ props.type === 'radio' ? id.value : undefined }
role={ props.type === 'radio' ? 'radiogroup' : undefined }
>
{ slots.default?.() }
|
dd613edf09e5f986ca50768b2296e40f9450351e
|
2019-07-24 22:32:25
|
Andreas P
|
docs: rename to Chrome to Chromium (#7970)
| false
|
rename to Chrome to Chromium (#7970)
|
docs
|
diff --git a/packages/docs/src/components/getting-started/Browsers.vue b/packages/docs/src/components/getting-started/Browsers.vue
index ab879711cfa..b87ec14e9eb 100644
--- a/packages/docs/src/components/getting-started/Browsers.vue
+++ b/packages/docs/src/components/getting-started/Browsers.vue
@@ -41,7 +41,7 @@
export default {
data: () => ({
browsers: [
- { icon: 'google-chrome', title: 'Chrome', supported: true },
+ { icon: 'google-chrome', title: 'Chromium (Chrome, Edge Insider)', supported: true },
{ icon: 'firefox', title: 'Firefox', supported: true },
{ icon: 'edge', title: 'Edge', supported: true },
{ icon: 'apple-safari', title: 'Safari 10+', supported: true },
|
4a597e5a85be32e1fc731a050f6ed37e9549b80b
|
2020-06-25 21:48:16
|
Dmitry Sharshakov
|
docs(VFooter): migrate the page (#39)
| false
|
migrate the page (#39)
|
docs
|
diff --git a/packages/docs-next/build/api-gen/locale/en/v-footer.json b/packages/docs-next/build/api-gen/locale/en/v-footer.json
index 451ec5cc425..697ddcfe0d9 100644
--- a/packages/docs-next/build/api-gen/locale/en/v-footer.json
+++ b/packages/docs-next/build/api-gen/locale/en/v-footer.json
@@ -1,7 +1,10 @@
{
"props": {
- "empty": ""
- // add prop lang here
+ "empty": "",
+ "absolute": "Mixins.Positionable.props.absolute",
+ "fixed": "Mixins.Positionable.props.fixed",
+ "inset": "Positions the toolbar offset from an application `v-navigation-drawer`",
+ "padless": "Remove all padding from the footer"
},
"slots": {
"empty": ""
diff --git a/packages/docs-next/src/examples/v-footer/misc-company-footer.vue b/packages/docs-next/src/examples/v-footer/misc-company-footer.vue
new file mode 100644
index 00000000000..bf0f9a75254
--- /dev/null
+++ b/packages/docs-next/src/examples/v-footer/misc-company-footer.vue
@@ -0,0 +1,43 @@
+<template>
+ <v-footer
+ color="primary lighten-1"
+ padless
+ >
+ <v-row
+ justify="center"
+ no-gutters
+ >
+ <v-btn
+ v-for="link in links"
+ :key="link"
+ color="white"
+ text
+ rounded
+ class="my-2"
+ >
+ {{ link }}
+ </v-btn>
+ <v-col
+ class="primary lighten-2 py-4 text-center white--text"
+ cols="12"
+ >
+ {{ new Date().getFullYear() }} — <strong>Vuetify</strong>
+ </v-col>
+ </v-row>
+ </v-footer>
+</template>
+
+<script>
+ export default {
+ data: () => ({
+ links: [
+ 'Home',
+ 'About Us',
+ 'Team',
+ 'Services',
+ 'Blog',
+ 'Contact Us',
+ ],
+ }),
+ }
+</script>
diff --git a/packages/docs-next/src/examples/v-footer/misc-indigo-footer.vue b/packages/docs-next/src/examples/v-footer/misc-indigo-footer.vue
new file mode 100644
index 00000000000..2ffd0a6d5ae
--- /dev/null
+++ b/packages/docs-next/src/examples/v-footer/misc-indigo-footer.vue
@@ -0,0 +1,48 @@
+<template>
+ <v-footer
+ dark
+ padless
+ >
+ <v-card
+ flat
+ tile
+ class="indigo lighten-1 white--text text-center"
+ >
+ <v-card-text>
+ <v-btn
+ v-for="icon in icons"
+ :key="icon"
+ class="mx-4 white--text"
+ icon
+ >
+ <v-icon size="24px">
+ {{ icon }}
+ </v-icon>
+ </v-btn>
+ </v-card-text>
+
+ <v-card-text class="white--text pt-0">
+ Phasellus feugiat arcu sapien, et iaculis ipsum elementum sit amet. Mauris cursus commodo interdum. Praesent ut risus eget metus luctus accumsan id ultrices nunc. Sed at orci sed massa consectetur dignissim a sit amet dui. Duis commodo vitae velit et faucibus. Morbi vehicula lacinia malesuada. Nulla placerat augue vel ipsum ultrices, cursus iaculis dui sollicitudin. Vestibulum eu ipsum vel diam elementum tempor vel ut orci. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
+ </v-card-text>
+
+ <v-divider></v-divider>
+
+ <v-card-text class="white--text">
+ {{ new Date().getFullYear() }} — <strong>Vuetify</strong>
+ </v-card-text>
+ </v-card>
+ </v-footer>
+</template>
+
+<script>
+ export default {
+ data: () => ({
+ icons: [
+ 'mdi-facebook',
+ 'mdi-twitter',
+ 'mdi-linkedin',
+ 'mdi-instagram',
+ ],
+ }),
+ }
+</script>
diff --git a/packages/docs-next/src/examples/v-footer/misc-teal-footer.vue b/packages/docs-next/src/examples/v-footer/misc-teal-footer.vue
new file mode 100644
index 00000000000..787e6f08205
--- /dev/null
+++ b/packages/docs-next/src/examples/v-footer/misc-teal-footer.vue
@@ -0,0 +1,47 @@
+<template>
+ <v-footer
+ dark
+ padless
+ >
+ <v-card
+ class="flex"
+ flat
+ tile
+ >
+ <v-card-title class="teal">
+ <strong class="subheading">Get connected with us on social networks!</strong>
+
+ <v-spacer></v-spacer>
+
+ <v-btn
+ v-for="icon in icons"
+ :key="icon"
+ class="mx-4"
+ dark
+ icon
+ >
+ <v-icon size="24px">
+ {{ icon }}
+ </v-icon>
+ </v-btn>
+ </v-card-title>
+
+ <v-card-text class="py-2 white--text text-center">
+ {{ new Date().getFullYear() }} — <strong>Vuetify</strong>
+ </v-card-text>
+ </v-card>
+ </v-footer>
+</template>
+
+<script>
+ export default {
+ data: () => ({
+ icons: [
+ 'mdi-facebook',
+ 'mdi-twitter',
+ 'mdi-linkedin',
+ 'mdi-instagram',
+ ],
+ }),
+ }
+</script>
diff --git a/packages/docs-next/src/examples/v-footer/prop-absolute.vue b/packages/docs-next/src/examples/v-footer/prop-absolute.vue
new file mode 100644
index 00000000000..42038c93200
--- /dev/null
+++ b/packages/docs-next/src/examples/v-footer/prop-absolute.vue
@@ -0,0 +1,15 @@
+<template>
+ <v-card height="150">
+ <v-footer
+ absolute
+ class="font-weight-medium"
+ >
+ <v-col
+ class="text-center"
+ cols="12"
+ >
+ {{ new Date().getFullYear() }} — <strong>Vuetify</strong>
+ </v-col>
+ </v-footer>
+ </v-card>
+</template>
diff --git a/packages/docs-next/src/examples/v-footer/prop-padless.vue b/packages/docs-next/src/examples/v-footer/prop-padless.vue
new file mode 100644
index 00000000000..341827eb6a7
--- /dev/null
+++ b/packages/docs-next/src/examples/v-footer/prop-padless.vue
@@ -0,0 +1,10 @@
+<template>
+ <v-footer padless>
+ <v-col
+ class="text-center"
+ cols="12"
+ >
+ {{ new Date().getFullYear() }} — <strong>Vuetify</strong>
+ </v-col>
+ </v-footer>
+</template>
diff --git a/packages/docs-next/src/examples/v-footer/usage.vue b/packages/docs-next/src/examples/v-footer/usage.vue
new file mode 100644
index 00000000000..ca360d91033
--- /dev/null
+++ b/packages/docs-next/src/examples/v-footer/usage.vue
@@ -0,0 +1,91 @@
+<template>
+ <v-card height="400px">
+ <v-footer
+ v-bind="localAttrs"
+ :padless="padless"
+ >
+ <v-card
+ flat
+ tile
+ width="100%"
+ class="red lighten-1 text-center"
+ >
+ <v-card-text>
+ <v-btn
+ v-for="icon in icons"
+ :key="icon"
+ class="mx-4"
+ icon
+ >
+ <v-icon size="24px">
+ {{ icon }}
+ </v-icon>
+ </v-btn>
+ </v-card-text>
+
+ <v-divider></v-divider>
+
+ <v-card-text class="white--text">
+ {{ new Date().getFullYear() }} — <strong>Vuetify</strong>
+ </v-card-text>
+ </v-card>
+ </v-footer>
+
+ <v-row
+ align="center"
+ justify="center"
+ class="ma-12"
+ >
+ <v-col
+ cols="12"
+ md="8"
+ >
+ <v-select
+ v-model="variant"
+ :items="items"
+ clearable
+ label="Variant"
+ ></v-select>
+
+ <v-checkbox
+ v-model="padless"
+ hide-details
+ label="Padless"
+ ></v-checkbox>
+ </v-col>
+ </v-row>
+ </v-card>
+</template>
+
+<script>
+ export default {
+ data: () => ({
+ icons: [
+ 'mdi-home',
+ 'mdi-email',
+ 'mdi-calendar',
+ 'mdi-delete',
+ ],
+ items: [
+ 'default',
+ 'absolute',
+ 'fixed',
+ ],
+ padless: false,
+ variant: 'default',
+ }),
+ computed: {
+ localAttrs () {
+ const attrs = {}
+
+ if (this.variant === 'default') {
+ attrs.absolute = false
+ attrs.fixed = false
+ } else {
+ attrs[this.variant] = true
+ }
+ return attrs
+ },
+ },
+ }
+</script>
diff --git a/packages/docs-next/src/pages/en/components/footer.md b/packages/docs-next/src/pages/en/components/footer.md
index 1c95e04fe5d..b66fcf55b45 100644
--- a/packages/docs-next/src/pages/en/components/footer.md
+++ b/packages/docs-next/src/pages/en/components/footer.md
@@ -3,77 +3,62 @@ meta:
title: Footer component
description: The footer component provides a container for displaying additional navigation information about a site.
keywords: footers, vuetify footer component, vue footer component
+related:
+ - /components/grids/
+ - /components/buttons/
+ - /components/toolbars/
---
# Footers
-Component description
+The `v-footer` component is used for displaying general information that a user might want to access from any page within your site.
<entry-ad />
## Usage
-Usage text
+The `v-footer` component in its simplest form is a container.
-`<usage name="" />`
-- **name**: component name
-- eg: `<usage name="v-alert" />`
+<example file="v-footer/usage" />
## API
-- [API Page Link]()
+- [v-footer](../../api/v-footer)
-## Sub-Components
-
-Omit if none
-
-### Sub Component 1
-
-Sub component text
-
-### Sub Component 2
-
-Sub component text
-
-## Caveats
+## Examples
-Omit if none
+### Props
-<alert type="success">Success Caveat</alert>
-<alert type="info">Info Caveat</alert>
-<alert type="warning">Warning Caveat</alert>
-<alert type="error">Error Caveat</alert>
+#### Absolute Footer
-## Examples
+The `absolute` prop positions footers absolutely at the bottom of their parent container.
-Example text.
+<example file="v-footer/prop-absolute" />
-### Props
+#### Padless Footer
-Omit if none
+The `padless` prop removes all default padding from the footer component.
-### Events
+<example file="v-footer/prop-padless" />
-Omit if none
+### Misc
-### Slots
+#### Company Footer
-Omit if none
+The footer component as a basic company footer with links.
-### Misc
+<example file="v-footer/misc-company-footer" />
-Omit if none
+#### Indigo Footer
-#### Example Header
+The footer component with Indigo background color and social media icons and button.
-Example description
+<example file="v-footer/misc-indigo-footer" />
-`<example file="" />`
-- **file**: `<component>/<type>-<propname>`
-- eg: `<example file="v-alert/prop-colored-border" />`
+#### Teal Footer
-## Accessibility
+The footer component with a Teal color header and columns and rows of links.
-Accessibility text - omit if none
+<example file="v-footer/misc-teal-footer" />
<backmatter />
|
End of preview. Expand
in Data Studio
No dataset card yet
- Downloads last month
- 4