Skip to content

Commit 78ac42c

Browse files
migrate to Vuetify 4
1 parent 231a37a commit 78ac42c

15 files changed

Lines changed: 40 additions & 36 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ npm i @wdns/vuetify-inline-fields
4242

4343
## Dependencies
4444

45-
[Vuetify v3](https://vuetifyjs.com/)
45+
[Vuetify v4](https://vuetifyjs.com/)
4646
[Vue 3](https://vuejs.org/)
4747
[VueUse](https://vueuse.org/)
4848

@@ -54,7 +54,7 @@ npm i @wdns/vuetify-inline-fields
5454

5555
## License
5656

57-
Copyright (c) 2023 WebDevNerdStuff
57+
Copyright (c) 2026 WebDevNerdStuff
5858
Licensed under the [MIT license](https://github.com/webdevnerdstuff/vuetify-inline-fields/blob/main/LICENSE.md).
5959

6060

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/>
3535
<meta
3636
name="keywords"
37-
content="vuetify-inline-fields, vuetify, vuetify3, checkbox, select, switch, text-field, textarea, vue, vue3, component, javascript, typescript, webdevnerdstuff, wdns"
37+
content="vuetify-inline-fields, vuetify, vuetify4, checkbox, select, switch, text-field, textarea, vue, vue3, component, javascript, typescript, webdevnerdstuff, wdns"
3838
/>
3939
<meta
4040
name="author"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"scripts": {
1313
"dev": "NODE_OPTIONS='--no-warnings' vite",
1414
"watch": "pnpm dev",
15+
"build:watch": "vite build --watch --config vite.build.config.mts",
1516
"play": "sh src/playground/configs/build.sh && NODE_ENV=playground pnpm dev",
1617
"build": "vue-tsc && npm run test:build && vite build --config vite.build.config.mts",
1718
"build:docs": "vite build",
@@ -54,7 +55,7 @@
5455
"keywords": [
5556
"vuetify-inline-fields",
5657
"vuetify",
57-
"vuetify3",
58+
"vuetify4",
5859
"autocomplete",
5960
"checkbox",
6061
"form",

src/documentation/DocsPage.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<v-col cols="12">
44
<v-img
55
class="my-3"
6-
contain
76
height="200"
87
src="../assets/vuetify-logo.svg"
98
/>

src/documentation/layout/AppBar.vue

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@
4242
>
4343
<template #item="{ item }">
4444
<v-list-item
45-
:key="item.raw.key"
4645
density="compact"
47-
:href="item.raw.link"
48-
:prepend-icon="item.raw.icon ? item.raw.icon : '$vuetify'"
46+
:href="item.link"
47+
:prepend-icon="item.icon ? item.icon : '$vuetify'"
4948
target="_blank"
50-
:title="item.raw?.topTitle || item.title"
49+
:title="item.topTitle || item.title"
5150
>
5251
</v-list-item>
5352
</template>
@@ -146,19 +145,18 @@ function getTheme() {
146145
return false;
147146
}
148147
149-
theme.global.name.value = themeName.value;
148+
theme.change(themeName.value);
150149
emit('changedTheme', themeName.value);
151150
}
152151
153152
function setTheme() {
154153
themeName.value = store.setTheme(themeName.value);
155-
theme.global.name.value = themeName.value;
154+
theme.change(themeName.value);
156155
}
157156
158157
function toggleDrawer() {
159158
emit('updatedDrawer', drawer.value);
160159
}
161160
</script>
162161

163-
<style lang="scss">
164-
</style>
162+
<style lang="scss"></style>

src/documentation/sections/DependenciesSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
:href="store.links.vuetify"
1919
target="_blank"
2020
>
21-
Vuetify v3
21+
Vuetify v4
2222
</a>
2323
<br />
2424
<a

src/playground/configs/PlaygroundApp.vue

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,24 @@
88
<v-responsive>
99
<v-container class="px-10">
1010
<v-row>
11-
<v-col class="v-col-12 text-center">
11+
<v-col
12+
class="text-center"
13+
cols="12"
14+
>
1215
<h1>Vuetify Inline Fields</h1>
1316
</v-col>
14-
<v-col class="v-col-12 text-center">
17+
<v-col
18+
class="text-center"
19+
cols="12"
20+
>
1521
<v-chip color="primary">
1622
Playground v{{ store.pluginVersion }}
1723
</v-chip>
1824
</v-col>
1925
</v-row>
2026

2127
<v-row>
22-
<v-col class="v-col-12">
28+
<v-col cols="12">
2329
<v-container>
2430
<v-row class="row mb-4">
2531
<PlaygroundPage is-playground />
@@ -45,5 +51,4 @@ provide('links', store.links);
4551
</script>
4652

4753

48-
<style scoped>
49-
</style>
54+
<style scoped></style>

src/plugin/components/VInlineAutocomplete/VInlineAutocomplete.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ import {
126126
TimeOpened,
127127
} from '@/plugin/types';
128128
import type { VInlineAutocompleteProps } from './';
129-
import { IconOptions } from 'vuetify';
129+
import type { IconOptions } from 'vuetify';
130130
import type { VSelect } from 'vuetify/components';
131131
import {
132132
autocompleteProps,
@@ -444,6 +444,6 @@ onUnmounted(() => {
444444

445445
<style lang="scss" scoped>
446446
:deep(.v-field__field) {
447-
align-items: flex-end !important;
447+
align-items: flex-end;
448448
}
449449
</style>

src/plugin/components/VInlineCheckbox/VInlineCheckbox.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ import {
134134
TimeOpened,
135135
} from '@/plugin/types';
136136
import type { VInlineCheckboxProps } from './';
137-
import { IconOptions, useTheme } from 'vuetify';
137+
import { useTheme } from 'vuetify';
138+
import type { IconOptions } from 'vuetify';
138139
import {
139140
checkboxProps,
140141
defaultCardProps,

src/plugin/components/VInlineCustomField/VInlineCustomField.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ import {
9090
TimeOpened,
9191
} from '@/plugin/types';
9292
import type { VInlineCustomFieldProps } from './';
93-
import { IconOptions } from 'vuetify';
93+
import type { IconOptions } from 'vuetify';
9494
import {
9595
defaultCardProps,
9696
textFieldProps,

0 commit comments

Comments
 (0)