@gradio/file 0.8.3 → 0.8.4

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,16 @@
1
1
  # @gradio/file
2
2
 
3
+ ## 0.8.4
4
+
5
+ ### Fixes
6
+
7
+ - [#8608](https://github.com/gradio-app/gradio/pull/8608) [`c12f82a`](https://github.com/gradio-app/gradio/commit/c12f82a36dc75ff30918dc2ce5f24e583b676f22) - Bugfix: Add a `file_count` parameter to `gr.MultimodalTextbox`. Multiple files cab be uploaded by setting `file_count="multiple"`. Default is `"single"` to preserve the previous behavior. Thanks @freddyaboulton!
8
+
9
+ ### Dependency updates
10
+
11
+ - @gradio/upload@0.11.4
12
+ - @gradio/client@1.2.1
13
+
3
14
  ## 0.8.3
4
15
 
5
16
  ### Dependency updates
package/Index.svelte CHANGED
@@ -42,7 +42,7 @@
42
42
  clear_status: LoadingStatus;
43
43
  delete: FileData;
44
44
  }>;
45
- export let file_count: string;
45
+ export let file_count: "single" | "multiple" | "directory";
46
46
  export let file_types: string[] = ["file"];
47
47
 
48
48
  let old_value = value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/file",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
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.7.5",
11
- "@gradio/client": "^1.2.0",
12
- "@gradio/utils": "^0.5.0",
13
11
  "@gradio/icons": "^0.5.0",
14
12
  "@gradio/statustracker": "^0.7.0",
15
- "@gradio/wasm": "^0.11.0",
16
- "@gradio/upload": "^0.11.3"
13
+ "@gradio/client": "^1.2.1",
14
+ "@gradio/upload": "^0.11.4",
15
+ "@gradio/utils": "^0.5.0",
16
+ "@gradio/wasm": "^0.11.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@gradio/preview": "^0.10.0"
@@ -12,7 +12,7 @@
12
12
 
13
13
  export let label: string;
14
14
  export let show_label = true;
15
- export let file_count = "single";
15
+ export let file_count: "single" | "multiple" | "directory" = "single";
16
16
  export let file_types: string[] | null = null;
17
17
  export let selectable = false;
18
18
  export let root: string;