Skip to content

Commit 5cd0d6e

Browse files
committed
chore(useLayout): remove composable
1 parent 61b96a7 commit 5cd0d6e

File tree

5 files changed

+12
-226
lines changed

5 files changed

+12
-226
lines changed

packages/0/README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ yarn add @vuetify/v0
4343
- **`useHydration`** - SSR hydration helpers
4444
- **`useIntersectionObserver`** - Intersection observer utilities
4545
- **`useKeydown`** - Keyboard event handling
46-
- **`useLayout`** - Layout management utilities
4746
- **`useLocale`** - Internationalization support
4847
- **`useLogger`** - Development logging utilities
4948
- **`useMutationObserver`** - DOM mutation observation
@@ -127,8 +126,8 @@ const currentStep = ref(0)
127126
<!-- Group selection -->
128127
<Group v-model="selectedItems" multiple>
129128
<template #default="{ select, isSelected }">
130-
<button
131-
v-for="item in items"
129+
<button
130+
v-for="item in items"
132131
:key="item.id"
133132
@click="select(item.id)"
134133
:class="{ active: isSelected(item.id) }"
@@ -198,23 +197,23 @@ const handleSubmit = async () => {
198197
<button @click="setTheme(theme === 'light' ? 'dark' : 'light')">
199198
Toggle Theme ({{ theme }})
200199
</button>
201-
200+
202201
<form @submit.prevent="handleSubmit">
203-
<input
204-
v-model="email"
205-
type="email"
202+
<input
203+
v-model="email"
204+
type="email"
206205
placeholder="Email"
207206
:style="{ borderColor: colors.primary }"
208207
/>
209208
<div v-if="errors.email" class="error">{{ errors.email[0] }}</div>
210-
211-
<input
212-
v-model="password"
213-
type="password"
209+
210+
<input
211+
v-model="password"
212+
type="password"
214213
placeholder="Password"
215214
/>
216215
<div v-if="errors.password" class="error">{{ errors.password[0] }}</div>
217-
216+
218217
<button type="submit">Submit</button>
219218
</form>
220219
</div>
@@ -249,4 +248,4 @@ MIT License
249248

250249
---
251250

252-
Built with ❤️ for the Vue ecosystem. Part of the Vuetify family.
251+
Built with ❤️ for the Vue ecosystem. Part of the Vuetify family.

packages/0/src/composables/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export * from './useGroup'
88
export * from './useHydration'
99
export * from './useIntersectionObserver'
1010
export * from './useKeydown'
11-
export * from './useLayout'
1211
export * from './useLocale'
1312
export * from './useLogger'
1413
export * from './useMutationObserver'

packages/0/src/composables/useLayout/index.test.ts

Lines changed: 0 additions & 82 deletions
This file was deleted.

packages/0/src/composables/useLayout/index.ts

Lines changed: 0 additions & 126 deletions
This file was deleted.

playground/src/composables.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,6 @@ declare global {
210210
export type { KeyHandler } from '../../packages/0/src/composables/useKeydown/index'
211211
import('../../packages/0/src/composables/useKeydown/index')
212212
// @ts-ignore
213-
export type { LayoutLocation, LayoutTicket, LayoutContext, LayoutOptions } from '../../packages/0/src/composables/useLayout/index'
214-
import('../../packages/0/src/composables/useLayout/index')
215-
// @ts-ignore
216213
export type { LocaleTicket, LocaleContext, LocaleOptions, LocalePluginOptions } from '../../packages/0/src/composables/useLocale/index'
217214
import('../../packages/0/src/composables/useLocale/index')
218215
// @ts-ignore
@@ -382,7 +379,6 @@ declare module 'vue' {
382379
readonly useId: UnwrapRef<typeof import('vue')['useId']>
383380
readonly useIntersectionObserver: UnwrapRef<typeof import('../../packages/0/src/composables/useIntersectionObserver/index')['useIntersectionObserver']>
384381
readonly useKeydown: UnwrapRef<typeof import('../../packages/0/src/composables/useKeydown/index')['useKeydown']>
385-
readonly useLayout: UnwrapRef<typeof import('../../packages/0/src/composables/useLayout/index')['useLayout']>
386382
readonly useLocale: UnwrapRef<typeof import('../../packages/0/src/composables/useLocale/index')['useLocale']>
387383
readonly useLogger: UnwrapRef<typeof import('../../packages/0/src/composables/useLogger/index')['useLogger']>
388384
readonly useModel: UnwrapRef<typeof import('vue')['useModel']>

0 commit comments

Comments
 (0)