@gradio/upload 0.8.4 → 0.8.5

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,19 @@
1
1
  # @gradio/upload
2
2
 
3
+ ## 0.8.5
4
+
5
+ ### Fixes
6
+
7
+ - [#8002](https://github.com/gradio-app/gradio/pull/8002) [`8903415`](https://github.com/gradio-app/gradio/commit/8903415e49b1526d31ff454b2235ea238e319c2c) - Add show_progress prop to Upload Component to bring back upload progress animation. Thanks @freddyaboulton!
8
+
9
+ ### Dependency updates
10
+
11
+ - @gradio/utils@0.3.2
12
+ - @gradio/client@0.16.0
13
+ - @gradio/upload@0.8.5
14
+ - @gradio/atoms@0.7.0
15
+ - @gradio/icons@0.4.0
16
+
3
17
  ## 0.8.4
4
18
 
5
19
  ### Dependency updates
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@gradio/upload",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
7
7
  "author": "",
8
8
  "license": "ISC",
9
9
  "dependencies": {
10
- "@gradio/atoms": "^0.6.2",
11
- "@gradio/icons": "^0.3.4",
12
- "@gradio/client": "^0.15.1",
13
- "@gradio/utils": "^0.3.1",
14
- "@gradio/wasm": "^0.10.0",
15
- "@gradio/upload": "^0.8.4"
10
+ "@gradio/icons": "^0.4.0",
11
+ "@gradio/atoms": "^0.7.0",
12
+ "@gradio/client": "^0.16.0",
13
+ "@gradio/upload": "^0.8.5",
14
+ "@gradio/utils": "^0.3.2",
15
+ "@gradio/wasm": "^0.10.0"
16
16
  },
17
17
  "main_changeset": true,
18
18
  "exports": {
package/src/Upload.svelte CHANGED
@@ -17,6 +17,7 @@
17
17
  export let format: "blob" | "file" = "file";
18
18
  export let uploading = false;
19
19
  export let hidden_upload: HTMLInputElement | null = null;
20
+ export let show_progress = true;
20
21
 
21
22
  let upload_id: string;
22
23
  let file_data: FileData[];
@@ -185,7 +186,7 @@
185
186
  >
186
187
  <slot />
187
188
  </button>
188
- {:else if uploading && !hidden_upload}
189
+ {:else if uploading && show_progress}
189
190
  {#if !hidden}
190
191
  <UploadProgress {root} {upload_id} files={file_data} />
191
192
  {/if}