chore: update frontend dependencies within their semver ranges
SvelteKit 2.53 to 2.70 renamed the remote form enhance callback's `form` to `element`, which would have thrown on reset in the signup, device, library and cover forms.
This commit is contained in:
+20
-20
@@ -16,41 +16,41 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/compat": "^1.4.1",
|
"@eslint/compat": "^1.4.1",
|
||||||
"@eslint/js": "^9.39.4",
|
"@eslint/js": "^9.39.5",
|
||||||
"@iconify/svelte": "^5.2.1",
|
"@iconify/svelte": "^5.2.2",
|
||||||
"@internationalized/date": "^3.12.0",
|
"@internationalized/date": "^3.12.3",
|
||||||
"@lucide/svelte": "^0.544.0",
|
"@lucide/svelte": "^0.544.0",
|
||||||
"@sveltejs/adapter-node": "^5.5.4",
|
"@sveltejs/adapter-node": "^5.5.7",
|
||||||
"@sveltejs/kit": "^2.53.4",
|
"@sveltejs/kit": "^2.70.2",
|
||||||
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
||||||
"@tailwindcss/vite": "^4.2.1",
|
"@tailwindcss/vite": "^4.3.3",
|
||||||
"@types/node": "^22.19.15",
|
"@types/node": "^22.20.1",
|
||||||
"bits-ui": "^2.16.3",
|
"bits-ui": "^2.18.1",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"eslint": "^9.39.4",
|
"eslint": "^9.39.5",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-svelte": "^3.15.0",
|
"eslint-plugin-svelte": "^3.23.0",
|
||||||
"globals": "^16.5.0",
|
"globals": "^16.5.0",
|
||||||
"jsrepo": "^2.5.2",
|
"jsrepo": "^2.5.2",
|
||||||
"openapi-typescript": "^7.13.0",
|
"openapi-typescript": "^7.13.0",
|
||||||
"prettier": "^3.8.1",
|
"prettier": "^3.9.6",
|
||||||
"prettier-plugin-svelte": "^3.5.2",
|
"prettier-plugin-svelte": "^3.5.2",
|
||||||
"prettier-plugin-tailwindcss": "^0.8.1",
|
"prettier-plugin-tailwindcss": "^0.8.1",
|
||||||
"svelte": "^5.53.7",
|
"svelte": "^5.56.9",
|
||||||
"svelte-check": "^4.4.5",
|
"svelte-check": "^4.7.6",
|
||||||
"tailwind-merge": "^3.5.0",
|
"tailwind-merge": "^3.6.0",
|
||||||
"tailwind-scrollbar": "^4.0.2",
|
"tailwind-scrollbar": "^4.0.2",
|
||||||
"tailwind-variants": "^3.2.2",
|
"tailwind-variants": "^3.3.1",
|
||||||
"tailwindcss": "^4.2.1",
|
"tailwindcss": "^4.3.3",
|
||||||
"tw-animate-css": "^1.4.0",
|
"tw-animate-css": "^1.4.0",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
"typescript-eslint": "^8.56.1",
|
"typescript-eslint": "^8.67.0",
|
||||||
"vite": "^7.3.1"
|
"vite": "^7.3.6"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"construct-style-sheets-polyfill": "^3.1.0",
|
"construct-style-sheets-polyfill": "^3.1.0",
|
||||||
"mode-watcher": "^1.1.0",
|
"mode-watcher": "^1.1.0",
|
||||||
"svelte-sonner": "^1.0.8",
|
"svelte-sonner": "^1.2.1",
|
||||||
"zod": "^4.3.6"
|
"zod": "^4.4.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+1111
-1056
File diff suppressed because it is too large
Load Diff
@@ -13,7 +13,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<form
|
<form
|
||||||
{...createDevice.enhance(async ({ form, submit }) => {
|
{...createDevice.enhance(async ({ element, submit }) => {
|
||||||
try {
|
try {
|
||||||
await submit();
|
await submit();
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
const deviceName = createDevice.fields.name.value();
|
const deviceName = createDevice.fields.name.value();
|
||||||
|
|
||||||
form.reset();
|
element.reset();
|
||||||
toast.success(`Device '${deviceName}' created`);
|
toast.success(`Device '${deviceName}' created`);
|
||||||
onSuccess?.();
|
onSuccess?.();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -50,10 +50,10 @@
|
|||||||
|
|
||||||
<form
|
<form
|
||||||
bind:this={formEl}
|
bind:this={formEl}
|
||||||
{...updateBookCover.enhance(async ({ submit, form }) => {
|
{...updateBookCover.enhance(async ({ submit, element }) => {
|
||||||
try {
|
try {
|
||||||
await submit();
|
await submit();
|
||||||
form.reset();
|
element.reset();
|
||||||
// Deliberately does not close the dialog. The cover is one panel of a
|
// Deliberately does not close the dialog. The cover is one panel of a
|
||||||
// larger form now, and closing here would throw away metadata edits
|
// larger form now, and closing here would throw away metadata edits
|
||||||
// the reader has not saved yet.
|
// the reader has not saved yet.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
</Dialog.Header>
|
</Dialog.Header>
|
||||||
|
|
||||||
<form
|
<form
|
||||||
{...createLibrary.enhance(async ({ form, submit }) => {
|
{...createLibrary.enhance(async ({ element, submit }) => {
|
||||||
try {
|
try {
|
||||||
await submit();
|
await submit();
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
const libraryName = createLibrary.fields.name.value();
|
const libraryName = createLibrary.fields.name.value();
|
||||||
|
|
||||||
form.reset();
|
element.reset();
|
||||||
selectedIcon = 'library';
|
selectedIcon = 'library';
|
||||||
open = false;
|
open = false;
|
||||||
toast.success(`Library '${libraryName}' created.`);
|
toast.success(`Library '${libraryName}' created.`);
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
</Card.Header>
|
</Card.Header>
|
||||||
|
|
||||||
<form
|
<form
|
||||||
{...signup.enhance(async ({ submit, form }) => {
|
{...signup.enhance(async ({ submit, element }) => {
|
||||||
try {
|
try {
|
||||||
await submit();
|
await submit();
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
// Move to login tab on success
|
// Move to login tab on success
|
||||||
// TODO: Fix previous errors showing on login form
|
// TODO: Fix previous errors showing on login form
|
||||||
form.reset();
|
element.reset();
|
||||||
toast.success('Successfully registered!');
|
toast.success('Successfully registered!');
|
||||||
login.fields.set({ email: '', password: '' });
|
login.fields.set({ email: '', password: '' });
|
||||||
login.validate();
|
login.validate();
|
||||||
|
|||||||
@@ -6,9 +6,7 @@ import type { WithChildren } from 'bits-ui';
|
|||||||
import type { HTMLInputAttributes } from 'svelte/elements';
|
import type { HTMLInputAttributes } from 'svelte/elements';
|
||||||
|
|
||||||
export type FileRejectedReason =
|
export type FileRejectedReason =
|
||||||
| 'Maximum file size exceeded'
|
'Maximum file size exceeded' | 'File type not allowed' | 'Maximum files uploaded';
|
||||||
| 'File type not allowed'
|
|
||||||
| 'Maximum files uploaded';
|
|
||||||
|
|
||||||
export type FileDropZonePropsWithoutHTML = WithChildren<{
|
export type FileDropZonePropsWithoutHTML = WithChildren<{
|
||||||
ref?: HTMLInputElement | null;
|
ref?: HTMLInputElement | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user