Skip to content

Commit cd08fdf

Browse files
committed
migration across the framework
1 parent 3a0e523 commit cd08fdf

File tree

95 files changed

+116
-157
lines changed

Some content is hidden

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

95 files changed

+116
-157
lines changed

packages/api-generator/src/locale/en/VCard.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"props": {
33
"flat": "Removes the card's elevation.",
4-
"hover": "Applies **4dp** of elevation when hovered (default 2dp). You can find more information on the [elevation page](/styles/elevation).",
4+
"hover": "Applies **3dp** (level 2) of elevation when hovered (default 1dp). You can find more information on the [elevation page](/styles/elevation).",
55
"image": "Apply a specific background image to the component.",
66
"prependIcon": "Prepends a [v-icon](/components/icons/) component to the header."
77
},

packages/docs/src/examples/concepts/density.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<v-toolbar
7575
:density="density"
7676
class="mb-2"
77-
elevation="2"
77+
elevation="1"
7878
title="Daily Reports"
7979
></v-toolbar>
8080

packages/docs/src/examples/spacing/negative-margin.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<v-card
1010
class="mt-n12 mx-auto"
1111
color="secondary"
12-
elevation="12"
12+
elevation="4"
1313
height="200"
1414
max-width="300"
1515
>

packages/docs/src/examples/spacing/usage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
>
6969
<v-sheet
7070
:class="[computedMargin]"
71-
elevation="4"
71+
elevation="2"
7272
rounded
7373
>
7474
<div

packages/docs/src/examples/v-alert/prop-border-color.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<v-alert
44
border="start"
55
border-color="deep-purple accent-4"
6-
elevation="2"
6+
elevation="1"
77
>
88
Aliquam eu nunc. Fusce commodo aliquam arcu. In consectetuer turpis ut velit. Nulla facilisi..
99

@@ -15,7 +15,7 @@
1515
<v-alert
1616
border="top"
1717
border-color="success"
18-
elevation="2"
18+
elevation="1"
1919
>
2020
Vestibulum ullamcorper mauris at ligula. Nam pretium turpis et arcu. Ut varius tincidunt libero. Curabitur ligula sapien, tincidunt non, euismod vitae, posuere imperdiet, leo. Morbi nec metus.
2121
</v-alert>
@@ -25,7 +25,7 @@
2525
<v-alert
2626
border="bottom"
2727
border-color="warning"
28-
elevation="2"
28+
elevation="1"
2929
>
3030
Sed in libero ut nibh placerat accumsan. Phasellus leo dolor, tempus non, auctor et, hendrerit quis, nisi. Phasellus leo dolor, tempus non, auctor et, hendrerit quis, nisi. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero. Donec elit libero, sodales nec, volutpat a, suscipit non, turpis.
3131
</v-alert>
@@ -35,7 +35,7 @@
3535
<v-alert
3636
border="end"
3737
border-color="error"
38-
elevation="2"
38+
elevation="1"
3939
>
4040
Fusce commodo aliquam arcu. Pellentesque posuere. Phasellus tempus. Donec posuere vulputate arcu.
4141
</v-alert>

packages/docs/src/examples/v-app-bar/usage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<template v-slot:configuration>
2929
<v-checkbox v-model="actions" label="Actions"></v-checkbox>
3030

31-
<v-slider v-model="elevation" label="Elevation" max="24" min="0" step="1"></v-slider>
31+
<v-slider v-model="elevation" label="Elevation" max="5" min="0" step="1"></v-slider>
3232
</template>
3333
</ExamplesUsageExample>
3434
</template>
@@ -37,13 +37,13 @@
3737
const name = 'v-app-bar'
3838
const model = ref('default')
3939
const actions = ref(false)
40-
const elevation = ref(2)
40+
const elevation = ref(1)
4141
const options = ['collapse', 'rounded']
4242
4343
const props = computed(() => {
4444
return {
4545
collapse: model.value === 'collapse' ? true : undefined,
46-
elevation: elevation.value === 4 ? undefined : elevation.value,
46+
elevation: elevation.value === 1 ? undefined : elevation.value,
4747
rounded: model.value === 'rounded' ? true : undefined,
4848
}
4949
})

packages/docs/src/examples/v-btn/misc-dialog-action.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
v-if="dialog"
1919
append-icon="$close"
2020
class="mx-auto"
21-
elevation="16"
21+
elevation="4"
2222
max-width="500"
2323
title="Send a receipt"
2424
>

packages/docs/src/examples/v-btn/prop-elevation.vue

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,15 @@
66
</v-col>
77

88
<v-col cols="auto">
9-
<v-btn elevation="4" size="x-large">Elevation 4</v-btn>
10-
</v-col>
11-
12-
<v-col cols="auto">
13-
<v-btn elevation="8" size="x-large">Elevation 8</v-btn>
9+
<v-btn elevation="3" size="x-large">Elevation 3</v-btn>
1410
</v-col>
1511

1612
<v-col cols="auto">
17-
<v-btn elevation="12" size="x-large">Elevation 12</v-btn>
18-
</v-col>
19-
20-
<v-col cols="auto">
21-
<v-btn elevation="16" size="x-large">Elevation 16</v-btn>
22-
</v-col>
23-
24-
<v-col cols="auto">
25-
<v-btn elevation="20" size="x-large">Elevation 20</v-btn>
13+
<v-btn elevation="4" size="x-large">Elevation 4</v-btn>
2614
</v-col>
2715

2816
<v-col cols="auto">
29-
<v-btn elevation="24" size="x-large">Elevation 24</v-btn>
17+
<v-btn elevation="5" size="x-large">Elevation 5</v-btn>
3018
</v-col>
3119
</v-row>
3220
</v-container>

packages/docs/src/examples/v-card/prop-elevation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<v-card
33
class="mx-auto my-8"
4-
elevation="16"
4+
elevation="4"
55
max-width="344"
66
>
77
<v-card-item>

packages/docs/src/examples/v-carousel/prop-custom-icons.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<v-card
33
class="mx-auto"
4-
elevation="24"
4+
elevation="5"
55
max-width="444"
66
>
77
<v-carousel

0 commit comments

Comments
 (0)