Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(VTimePicker): port to v3 (#18153)
closes #13516 Co-authored-by: John Leider <john@vuetifyjs.com>
- Loading branch information
1 parent
12cc8cc
commit 695f5f4
Showing
81 changed files
with
1,208 additions
and
5,663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
126 changes: 49 additions & 77 deletions
126
packages/docs/src/examples/v-time-picker/misc-dialog-and-menu.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 19 additions & 18 deletions
37
packages/docs/src/examples/v-time-picker/prop-allowed-times.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,14 @@ | ||
<template> | ||
<v-row justify="space-around"> | ||
<v-time-picker | ||
v-model="e4" | ||
color="green-lighten-1" | ||
></v-time-picker> | ||
<v-time-picker | ||
v-model="e4" | ||
color="green-lighten-1" | ||
header-color="primary" | ||
></v-time-picker> | ||
</v-row> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from 'vue' | ||
<v-container> | ||
<v-row justify="space-around"> | ||
<v-time-picker | ||
color="green-lighten-1" | ||
></v-time-picker> | ||
|
||
const e4 = ref(null) | ||
</script> | ||
|
||
<script> | ||
export default { | ||
data () { | ||
return { | ||
e4: null, | ||
} | ||
}, | ||
} | ||
</script> | ||
<v-time-picker | ||
color="pink" | ||
header-color="primary" | ||
></v-time-picker> | ||
</v-row> | ||
</v-container> | ||
</template> |
37 changes: 7 additions & 30 deletions
37
packages/docs/src/examples/v-time-picker/prop-elevation.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,9 @@ | ||
<template> | ||
<v-row | ||
align="center" | ||
justify="space-around" | ||
> | ||
<v-time-picker | ||
v-model="picker" | ||
flat | ||
></v-time-picker> | ||
|
||
<v-time-picker | ||
v-model="picker" | ||
elevation="15" | ||
></v-time-picker> | ||
</v-row> | ||
<v-container> | ||
<v-row justify="center"> | ||
<v-time-picker | ||
elevation="15" | ||
></v-time-picker> | ||
</v-row> | ||
</v-container> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from 'vue' | ||
const picker = ref(null) | ||
</script> | ||
|
||
<script> | ||
export default { | ||
data () { | ||
return { | ||
picker: null, | ||
} | ||
}, | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,7 @@ | ||
<template> | ||
<v-row justify="center"> | ||
<v-col> | ||
<v-time-picker | ||
v-model="e7" | ||
format="24hr" | ||
></v-time-picker> | ||
</v-col> | ||
</v-row> | ||
<v-container> | ||
<v-row justify="center"> | ||
<v-time-picker format="24hr"></v-time-picker> | ||
</v-row> | ||
</v-container> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from 'vue' | ||
const e7 = ref(null) | ||
</script> | ||
|
||
<script> | ||
export default { | ||
data () { | ||
return { | ||
e7: null, | ||
} | ||
}, | ||
} | ||
</script> |
7 changes: 7 additions & 0 deletions
7
packages/docs/src/examples/v-time-picker/prop-hide-header.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<template> | ||
<v-container> | ||
<v-row justify="center"> | ||
<v-time-picker hide-header></v-time-picker> | ||
</v-row> | ||
</v-container> | ||
</template> |
31 changes: 0 additions & 31 deletions
31
packages/docs/src/examples/v-time-picker/prop-no-title.vue
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.