@gradio/image 0.9.3 → 0.9.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 +13 -0
- package/Example.svelte +1 -2
- package/ImageExample.stories.svelte +0 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# @gradio/image
|
2
2
|
|
3
|
+
## 0.9.5
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [[`8181695`](https://github.com/gradio-app/gradio/commit/8181695e70187e8bc2bf7518697098c8d1b9843d)]:
|
8
|
+
- @gradio/upload@0.7.6
|
9
|
+
|
10
|
+
## 0.9.4
|
11
|
+
|
12
|
+
### Features
|
13
|
+
|
14
|
+
- [#7528](https://github.com/gradio-app/gradio/pull/7528) [`eda33b3`](https://github.com/gradio-app/gradio/commit/eda33b3763897a542acf298e523fa493dc655aee) - Refactors `get_fetchable_url_or_file()` to remove it from the frontend. Thanks [@abidlabs](https://github.com/abidlabs)!
|
15
|
+
|
3
16
|
## 0.9.3
|
4
17
|
|
5
18
|
### Patch Changes
|
package/Example.svelte
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
import type { FileData } from "@gradio/client";
|
4
4
|
|
5
5
|
export let value: null | FileData;
|
6
|
-
export let samples_dir: string;
|
7
6
|
export let type: "gallery" | "table";
|
8
7
|
export let selected = false;
|
9
8
|
</script>
|
@@ -16,7 +15,7 @@
|
|
16
15
|
class:border={value}
|
17
16
|
>
|
18
17
|
{#if value}
|
19
|
-
<Image src={
|
18
|
+
<Image src={value.url} alt="" />
|
20
19
|
{/if}
|
21
20
|
</div>
|
22
21
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/image",
|
3
|
-
"version": "0.9.
|
3
|
+
"version": "0.9.5",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
@@ -11,12 +11,12 @@
|
|
11
11
|
"lazy-brush": "^1.0.1",
|
12
12
|
"resize-observer-polyfill": "^1.5.1",
|
13
13
|
"@gradio/atoms": "^0.5.3",
|
14
|
-
"@gradio/client": "^0.12.
|
14
|
+
"@gradio/client": "^0.12.2",
|
15
15
|
"@gradio/icons": "^0.3.3",
|
16
16
|
"@gradio/statustracker": "^0.4.8",
|
17
17
|
"@gradio/utils": "^0.3.0",
|
18
|
-
"@gradio/
|
19
|
-
"@gradio/
|
18
|
+
"@gradio/wasm": "^0.7.0",
|
19
|
+
"@gradio/upload": "^0.7.6"
|
20
20
|
},
|
21
21
|
"main_changeset": true,
|
22
22
|
"main": "./Index.svelte",
|