@gradio/file 0.10.4 → 0.10.6

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,23 @@
1
1
  # @gradio/file
2
2
 
3
+ ## 0.10.6
4
+
5
+ ### Dependency updates
6
+
7
+ - @gradio/statustracker@0.9.3
8
+ - @gradio/atoms@0.10.1
9
+ - @gradio/client@1.7.1
10
+ - @gradio/upload@0.13.5
11
+
12
+ ## 0.10.5
13
+
14
+ ### Dependency updates
15
+
16
+ - @gradio/statustracker@0.9.2
17
+ - @gradio/atoms@0.10.0
18
+ - @gradio/icons@0.8.1
19
+ - @gradio/upload@0.13.4
20
+
3
21
  ## 0.10.4
4
22
 
5
23
  ### Dependency updates
@@ -53,9 +53,9 @@ export default class Index extends SvelteComponent<IndexProps, IndexEvents, Inde
53
53
  get visible(): boolean | undefined;
54
54
  /**accessor*/
55
55
  set visible(_: boolean | undefined);
56
- get value(): FileData | FileData[] | null;
56
+ get value(): any;
57
57
  /**accessor*/
58
- set value(_: FileData | FileData[] | null);
58
+ set value(_: any);
59
59
  get interactive(): boolean;
60
60
  /**accessor*/
61
61
  set interactive(_: boolean);
@@ -105,9 +105,9 @@ export default class Index extends SvelteComponent<IndexProps, IndexEvents, Inde
105
105
  clear_status: LoadingStatus;
106
106
  delete: FileData;
107
107
  }>);
108
- get file_count(): "multiple" | "single" | "directory";
108
+ get file_count(): "single" | "multiple" | "directory";
109
109
  /**accessor*/
110
- set file_count(_: "multiple" | "single" | "directory");
110
+ set file_count(_: "single" | "multiple" | "directory");
111
111
  get file_types(): string[] | undefined;
112
112
  /**accessor*/
113
113
  set file_types(_: string[] | undefined);
@@ -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) | undefined;
6
+ value?: FileData | FileData[] | null;
7
7
  label: string;
8
8
  show_label?: boolean | undefined;
9
9
  selectable?: boolean | undefined;
@@ -10,7 +10,7 @@ declare const __propDef: {
10
10
  };
11
11
  events: {
12
12
  select: CustomEvent<SelectData>;
13
- change: CustomEvent<FileData | FileData[]>;
13
+ change: CustomEvent<any>;
14
14
  delete: CustomEvent<FileData>;
15
15
  } & {
16
16
  [evt: string]: CustomEvent<any>;
@@ -24,8 +24,8 @@ declare const __propDef: {
24
24
  error: CustomEvent<any>;
25
25
  clear: CustomEvent<undefined>;
26
26
  drag: CustomEvent<boolean>;
27
- upload: CustomEvent<FileData | FileData[]>;
28
- load: CustomEvent<FileData | FileData[]>;
27
+ upload: CustomEvent<any>;
28
+ load: CustomEvent<any>;
29
29
  } & {
30
30
  [evt: string]: CustomEvent<any>;
31
31
  };
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@gradio/file",
3
- "version": "0.10.4",
3
+ "version": "0.10.6",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
7
7
  "license": "ISC",
8
8
  "private": false,
9
9
  "dependencies": {
10
- "@gradio/atoms": "^0.9.2",
11
- "@gradio/client": "^1.7.0",
12
- "@gradio/icons": "^0.8.0",
13
- "@gradio/statustracker": "^0.9.1",
14
- "@gradio/upload": "^0.13.3",
15
- "@gradio/utils": "^0.7.0",
16
- "@gradio/wasm": "^0.14.2"
10
+ "@gradio/atoms": "^0.10.1",
11
+ "@gradio/client": "^1.7.1",
12
+ "@gradio/icons": "^0.8.1",
13
+ "@gradio/statustracker": "^0.9.3",
14
+ "@gradio/wasm": "^0.14.2",
15
+ "@gradio/upload": "^0.13.5",
16
+ "@gradio/utils": "^0.7.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@gradio/preview": "^0.12.0"
19
+ "@gradio/preview": "^0.13.0"
20
20
  },
21
21
  "main": "./Index.svelte",
22
22
  "main_changeset": true,