@functionalcms/svelte-components 4.13.0 → 4.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/form/dropzone/DefaultDropzone.svelte +1 -1
- package/dist/components/form/dropzone/DefaultDropzone.svelte.d.ts +1 -1
- package/dist/components/form/dropzone/Dropzone.svelte +2 -2
- package/dist/components/form/dropzone/Dropzone.svelte.d.ts +1 -1
- package/dist/components/form/dropzone/UseDropzone.d.ts +1 -1
- package/dist/components/form/dropzone/attr-accept.d.ts +1 -1
- package/dist/components/form/dropzone/default.d.ts +1 -1
- package/dist/components/form/dropzone/default.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
|
-
import type { CustomDropzoneProps } from './types.
|
|
3
|
+
import type { CustomDropzoneProps } from './types.js';
|
|
4
4
|
interface DefaultDropzone extends CustomDropzoneProps {
|
|
5
5
|
defaultDropzoneElement: HTMLElement | undefined;
|
|
6
6
|
children: Snippet;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
|
-
import type { CustomDropzoneProps } from './types.
|
|
2
|
+
import type { CustomDropzoneProps } from './types.js';
|
|
3
3
|
interface DefaultDropzone extends CustomDropzoneProps {
|
|
4
4
|
defaultDropzoneElement: HTMLElement | undefined;
|
|
5
5
|
children: Snippet;
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
DropzoneProps,
|
|
13
13
|
FromEventFileTypes,
|
|
14
14
|
RejectedFile
|
|
15
|
-
} from './types.
|
|
15
|
+
} from './types.js';
|
|
16
16
|
import type { EventHandler } from 'svelte/elements';
|
|
17
17
|
import DefaultDropzone from './DefaultDropzone.svelte';
|
|
18
|
-
import useDropzone from './UseDropzone.
|
|
18
|
+
import useDropzone from './UseDropzone.js';
|
|
19
19
|
|
|
20
20
|
let {
|
|
21
21
|
accept,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DropzoneProps } from './types.
|
|
1
|
+
import type { DropzoneProps } from './types.js';
|
|
2
2
|
declare const Dropzone: import("svelte").Component<DropzoneProps, {}, "inputElement" | "dropzoneElement">;
|
|
3
3
|
type Dropzone = ReturnType<typeof Dropzone>;
|
|
4
4
|
export default Dropzone;
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
* @param accept {string}
|
|
9
9
|
* @returns {boolean}
|
|
10
10
|
*/
|
|
11
|
-
import type { FromEventFileTypes, MimeTypes } from "./types.
|
|
11
|
+
import type { FromEventFileTypes, MimeTypes } from "./types.js";
|
|
12
12
|
export default function (file: FromEventFileTypes, accept: MimeTypes[] | string[]): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FromEventFileTypes, MimeTypes, DropzoneErrorCode } from "./types.
|
|
1
|
+
import type { FromEventFileTypes, MimeTypes, DropzoneErrorCode } from "./types.js";
|
|
2
2
|
export declare const FILE_INVALID_TYPE = "file-invalid-type";
|
|
3
3
|
export declare const FILE_TOO_LARGE = "file-too-large";
|
|
4
4
|
export declare const FILE_TOO_SMALL = "file-too-small";
|