@gradio/file 0.12.25 → 0.12.26
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/CHANGELOG.md
CHANGED
package/dist/Index.svelte.d.ts
CHANGED
@@ -55,9 +55,9 @@ export default class Index extends SvelteComponent<IndexProps, IndexEvents, Inde
|
|
55
55
|
get visible(): boolean | undefined;
|
56
56
|
/**accessor*/
|
57
57
|
set visible(_: boolean | undefined);
|
58
|
-
get value():
|
58
|
+
get value(): FileData | FileData[] | null;
|
59
59
|
/**accessor*/
|
60
|
-
set value(_:
|
60
|
+
set value(_: FileData | FileData[] | null);
|
61
61
|
get interactive(): boolean;
|
62
62
|
/**accessor*/
|
63
63
|
set interactive(_: boolean);
|
@@ -3,7 +3,7 @@ import type { FileData } from "@gradio/client";
|
|
3
3
|
import type { I18nFormatter } from "@gradio/utils";
|
4
4
|
declare const __propDef: {
|
5
5
|
props: {
|
6
|
-
value?: FileData | FileData[] | null;
|
6
|
+
value?: (FileData | FileData[] | null) | undefined;
|
7
7
|
label: string;
|
8
8
|
show_label?: boolean | undefined;
|
9
9
|
selectable?: boolean | undefined;
|
@@ -25,8 +25,8 @@ declare const __propDef: {
|
|
25
25
|
delete: CustomEvent<FileData>;
|
26
26
|
clear: CustomEvent<undefined>;
|
27
27
|
drag: CustomEvent<boolean>;
|
28
|
-
upload: CustomEvent<
|
29
|
-
load: CustomEvent<
|
28
|
+
upload: CustomEvent<FileData | FileData[]>;
|
29
|
+
load: CustomEvent<FileData | FileData[]>;
|
30
30
|
} & {
|
31
31
|
[evt: string]: CustomEvent<any>;
|
32
32
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/file",
|
3
|
-
"version": "0.12.
|
3
|
+
"version": "0.12.26",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
@@ -8,12 +8,12 @@
|
|
8
8
|
"private": false,
|
9
9
|
"dependencies": {
|
10
10
|
"@gradio/atoms": "^0.16.3",
|
11
|
+
"@gradio/client": "^1.16.0",
|
11
12
|
"@gradio/icons": "^0.12.0",
|
12
|
-
"@gradio/client": "^1.15.7",
|
13
13
|
"@gradio/statustracker": "^0.10.15",
|
14
14
|
"@gradio/utils": "^0.10.2",
|
15
|
-
"@gradio/
|
16
|
-
"@gradio/
|
15
|
+
"@gradio/wasm": "^0.18.1",
|
16
|
+
"@gradio/upload": "^0.16.13"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
19
|
"@gradio/preview": "^0.14.0"
|