diff --git a/src/playground/configs/templates/PlaygroundPage.vue b/src/playground/configs/templates/PlaygroundPage.vue index a6d38e6..f60ccf1 100644 --- a/src/playground/configs/templates/PlaygroundPage.vue +++ b/src/playground/configs/templates/PlaygroundPage.vue @@ -9,33 +9,7 @@ import { onMounted, provide, ref } from 'vue'; import AppBar from '@/documentation/layout/AppBar.vue'; -import type { - DrawerLocations, - HandlePositions, - StorageType, -} from '@/plugin/types'; defineProps({ @@ -138,37 +97,40 @@ defineProps({ }, }); - const drawerOptions = ref({ - absolute: false, + absolute: true, color: '', drawerImage: undefined, elevation: 0, expandOnHover: true, - floating: false, + fixed: true, + floating: true, handleBorderWidth: 8, handleColor: 'primary', - handleIcon: undefined, // handleIcon: 'mdi:mdi-arrow-right-bold-box', handleIconSize: 'x-small', - handlePosition: 'center', + handlePosition: 'center' as const, + height: undefined, image: undefined, - location: 'left', + location: 'left' as const, + maxHeight: '50%', maxWidth: '50%', + minHeight: '256px', minWidth: '256px', rail: false, railWidth: 56, resizable: true, - saveWidth: true, + saveHeight: true, + saveWidth: false, + snapBack: true, sticky: false, - storageName: 'vuetify-resize-drawer-playground-width', - storageType: 'local', + storageName: 'vuetify-resize-drawer-playground-amount', + storageType: 'local' as const, tag: 'nav', temporary: false, theme: 'dark', touchless: false, width: undefined, - widthSnapBack: true, }); const drawer = ref(true); @@ -220,11 +182,14 @@ const gridDrawerOptions = ref({ absolute: true, color: '', elevation: 0, - location: 'right', - maxWidth: '100%', + handleIconSize: 'x-small', + handlePosition: 'center' as const, + location: 'right' as const, + maxWidth: '90%', minWidth: '256px', permanent: false, resizable: true, + saveHeight: true, saveWidth: false, scrim: false, temporary: true,