@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
@@ -1,5 +1,12 @@
1
1
  # @gradio/file
2
2
 
3
+ ## 0.12.26
4
+
5
+ ### Dependency updates
6
+
7
+ - @gradio/upload@0.16.13
8
+ - @gradio/client@1.16.0
9
+
3
10
  ## 0.12.25
4
11
 
5
12
  ### Dependency updates
@@ -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(): any;
58
+ get value(): FileData | FileData[] | null;
59
59
  /**accessor*/
60
- set value(_: any);
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;
@@ -12,7 +12,7 @@ declare const __propDef: {
12
12
  events: {
13
13
  dragenter: DragEvent;
14
14
  select: CustomEvent<SelectData>;
15
- change: CustomEvent<any>;
15
+ change: CustomEvent<FileData | FileData[]>;
16
16
  delete: CustomEvent<FileData>;
17
17
  download: CustomEvent<FileData>;
18
18
  } & {
@@ -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<any>;
29
- load: CustomEvent<any>;
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.25",
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/upload": "^0.16.12",
16
- "@gradio/wasm": "^0.18.1"
15
+ "@gradio/wasm": "^0.18.1",
16
+ "@gradio/upload": "^0.16.13"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@gradio/preview": "^0.14.0"