diff --git a/next-ui/package-lock.json b/next-ui/package-lock.json index 82f509ef..54bf00be 100644 --- a/next-ui/package-lock.json +++ b/next-ui/package-lock.json @@ -25,7 +25,7 @@ "vue": "^3.5.30", "vue-intl": "^7.1.3", "vuedraggable": "^4.1.0", - "vuetify": "^3.11.7" + "vuetify": "^4.0.2" }, "devDependencies": { "@chromatic-com/storybook": "^5.0.1", @@ -12131,9 +12131,9 @@ } }, "node_modules/vuetify": { - "version": "3.11.7", - "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-3.11.7.tgz", - "integrity": "sha512-3nK1mKTXQRbU4QXukV4WIbs5YZgMK19flHpFq3pU+6Fpa5YLB8RyyK1BLWAW8JmhSVcaqVUcB/EJ3oJ8g3XNCw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-4.0.2.tgz", + "integrity": "sha512-klgSGmfXoLajdTuuxreilzDQjp0ojzL2U5v6Z3ZbMYtpihPPXT9rkd/FxWL3dIGevnWdgaP2Kpwoz6aS/MISDA==", "license": "MIT", "funding": { "type": "github", diff --git a/next-ui/package.json b/next-ui/package.json index 9d45d856..19b6f8d7 100644 --- a/next-ui/package.json +++ b/next-ui/package.json @@ -46,7 +46,7 @@ "vue": "^3.5.30", "vue-intl": "^7.1.3", "vuedraggable": "^4.1.0", - "vuetify": "^3.11.7" + "vuetify": "^4.0.2" }, "devDependencies": { "@chromatic-com/storybook": "^5.0.1", diff --git a/next-ui/src/components/AppFooter.vue b/next-ui/src/components/AppFooter.vue index ecc44d36..f8909669 100644 --- a/next-ui/src/components/AppFooter.vue +++ b/next-ui/src/components/AppFooter.vue @@ -21,7 +21,7 @@ variant="text" color="grey" size="small" - class="text-caption" + class="text-body-small" href="https://komga.org" target="_blank" :text=" diff --git a/next-ui/src/components/BuildCommit.vue b/next-ui/src/components/BuildCommit.vue index 0fbcd94b..8ec21022 100644 --- a/next-ui/src/components/BuildCommit.vue +++ b/next-ui/src/components/BuildCommit.vue @@ -5,7 +5,7 @@ variant="text" color="grey" size="small" - class="text-caption" + class="text-body-small" :href="'https://github.com/gotson/komga/commits/' + commitId" target="_blank" > diff --git a/next-ui/src/components/BuildVersion.vue b/next-ui/src/components/BuildVersion.vue index b6d87398..149b14a2 100644 --- a/next-ui/src/components/BuildVersion.vue +++ b/next-ui/src/components/BuildVersion.vue @@ -10,7 +10,7 @@ variant="text" color="grey" size="small" - class="text-caption" + class="text-body-small" to="/server/updates" > {{ buildVersion || $formatMessage(commonMessages.error) }} diff --git a/next-ui/src/components/HelloWorld.vue b/next-ui/src/components/HelloWorld.vue index 85d9f4a9..908ae3c4 100644 --- a/next-ui/src/components/HelloWorld.vue +++ b/next-ui/src/components/HelloWorld.vue @@ -12,6 +12,45 @@
+ +
+ + + + + +
+
+ {{ item.title }} @@ -14,10 +14,7 @@ @@ -48,17 +45,3 @@ const emit = defineEmits<{ markRead: [id: string] }>() - - diff --git a/next-ui/src/components/apikey/GenerateDialog.stories.ts b/next-ui/src/components/apikey/GenerateDialog.stories.ts index 8a986c79..9d6fdf95 100644 --- a/next-ui/src/components/apikey/GenerateDialog.stories.ts +++ b/next-ui/src/components/apikey/GenerateDialog.stories.ts @@ -35,15 +35,19 @@ export const Default: Story = { export const Created: Story = { play: async ({ userEvent }) => { + const user = userEvent.setup({ + pointerEventsCheck: 0, + }) + const canvas = within(screen.getByRole('dialog')) await waitFor(() => expect(canvas.getByText(/kobo sync protocol/i)).toBeVisible()) const comment = canvas.getByLabelText(/comment/i, { selector: 'input', }) - await userEvent.type(comment, 'new key') + await user.type(comment, 'new key') - await userEvent.click(canvas.getByRole('button', { name: /generate/i })) + await user.click(canvas.getByRole('button', { name: /generate/i })) }, } @@ -54,15 +58,19 @@ export const Loading: Story = { }, }, play: async ({ userEvent }) => { + const user = userEvent.setup({ + pointerEventsCheck: 0, + }) + const canvas = within(screen.getByRole('dialog')) await waitFor(() => expect(canvas.getByText(/kobo sync protocol/i)).toBeVisible()) const comment = canvas.getByLabelText(/comment/i, { selector: 'input', }) - await userEvent.type(comment, 'long loading') + await user.type(comment, 'long loading') - await userEvent.click(canvas.getByRole('button', { name: /generate/i })) + await user.click(canvas.getByRole('button', { name: /generate/i })) }, } @@ -77,14 +85,18 @@ export const DuplicateError: Story = { }, }, play: async ({ userEvent }) => { + const user = userEvent.setup({ + pointerEventsCheck: 0, + }) + const canvas = within(screen.getByRole('dialog')) await waitFor(() => expect(canvas.getByText(/kobo sync protocol/i)).toBeVisible()) const comment = canvas.getByLabelText(/comment/i, { selector: 'input', }) - await userEvent.type(comment, 'duplicate') + await user.type(comment, 'duplicate') - await userEvent.click(canvas.getByRole('button', { name: /generate/i })) + await user.click(canvas.getByRole('button', { name: /generate/i })) }, } diff --git a/next-ui/src/components/dialog/FileNamePicker.vue b/next-ui/src/components/dialog/FileNamePicker.vue index e6bbafdc..71ed5b25 100644 --- a/next-ui/src/components/dialog/FileNamePicker.vue +++ b/next-ui/src/components/dialog/FileNamePicker.vue @@ -22,7 +22,7 @@ -
+
{{ $formatMessage({ description: 'File name picker dialog: source file name field label', @@ -37,7 +37,7 @@ - + - + - + +
{{ title }}
{{ text }} diff --git a/next-ui/src/components/item/card/ItemCard.vue b/next-ui/src/components/item/card/ItemCard.vue index c14aff2a..34c47f60 100644 --- a/next-ui/src/components/item/card/ItemCard.vue +++ b/next-ui/src/components/item/card/ItemCard.vue @@ -38,7 +38,7 @@
{{ title.text }} diff --git a/next-ui/src/components/layout/app/Bar.vue b/next-ui/src/components/layout/app/Bar.vue index 4d5c9544..2d454e00 100644 --- a/next-ui/src/components/layout/app/Bar.vue +++ b/next-ui/src/components/layout/app/Bar.vue @@ -1,5 +1,5 @@