@gradio/file 0.2.0-beta.8 → 0.2.0
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 +12 -0
- package/Index.svelte +2 -2
- package/package.json +7 -7
- package/shared/File.svelte +1 -1
- package/shared/FileUpload.svelte +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @gradio/file
|
2
2
|
|
3
|
+
## 0.2.0
|
4
|
+
|
5
|
+
### Features
|
6
|
+
|
7
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
8
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Clean root url. Thanks [@pngwn](https://github.com/pngwn)!
|
9
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Fix selectable prop in the backend. Thanks [@pngwn](https://github.com/pngwn)!
|
10
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Image v4. Thanks [@pngwn](https://github.com/pngwn)!
|
11
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Publish all components to npm. Thanks [@pngwn](https://github.com/pngwn)!
|
12
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Custom components. Thanks [@pngwn](https://github.com/pngwn)!
|
13
|
+
- [#6171](https://github.com/gradio-app/gradio/pull/6171) [`28322422c`](https://github.com/gradio-app/gradio/commit/28322422cb9d8d3e471e439ad602959662e79312) - strip dangling svelte imports. Thanks [@pngwn](https://github.com/pngwn)!
|
14
|
+
|
3
15
|
## 0.2.0-beta.8
|
4
16
|
|
5
17
|
### Features
|
package/Index.svelte
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
export let show_label: boolean;
|
29
29
|
export let height: number | undefined = undefined;
|
30
30
|
|
31
|
-
export let
|
31
|
+
export let proxy_url: null | string;
|
32
32
|
export let _selectable = false;
|
33
33
|
export let loading_status: LoadingStatus;
|
34
34
|
export let container = true;
|
@@ -43,7 +43,7 @@
|
|
43
43
|
}>;
|
44
44
|
export let file_count: string;
|
45
45
|
export let file_types: string[] = ["file"];
|
46
|
-
$: _value = normalise_file(value, root,
|
46
|
+
$: _value = normalise_file(value, root, proxy_url);
|
47
47
|
|
48
48
|
let old_value = _value;
|
49
49
|
$: if (JSON.stringify(old_value) !== JSON.stringify(_value)) {
|
package/package.json
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/file",
|
3
|
-
"version": "0.2.0
|
3
|
+
"version": "0.2.0",
|
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.2.0
|
11
|
-
"@gradio/client": "^0.7.0
|
12
|
-
"@gradio/icons": "^0.2.0
|
13
|
-
"@gradio/statustracker": "^0.3.0
|
14
|
-
"@gradio/upload": "^0.3.0
|
15
|
-
"@gradio/utils": "^0.2.0
|
10
|
+
"@gradio/atoms": "^0.2.0",
|
11
|
+
"@gradio/client": "^0.7.0",
|
12
|
+
"@gradio/icons": "^0.2.0",
|
13
|
+
"@gradio/statustracker": "^0.3.0",
|
14
|
+
"@gradio/upload": "^0.3.0",
|
15
|
+
"@gradio/utils": "^0.2.0"
|
16
16
|
},
|
17
17
|
"main": "./Index.svelte",
|
18
18
|
"main_changeset": true,
|
package/shared/File.svelte
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
import { BlockLabel, Empty } from "@gradio/atoms";
|
4
4
|
import { File } from "@gradio/icons";
|
5
5
|
import FilePreview from "./FilePreview.svelte";
|
6
|
-
import type { I18nFormatter } from "
|
6
|
+
import type { I18nFormatter } from "@gradio/utils";
|
7
7
|
|
8
8
|
export let value: FileData | FileData[] | null = null;
|
9
9
|
export let label: string;
|
package/shared/FileUpload.svelte
CHANGED