@gradio/image 0.3.1 → 0.3.2
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 +7 -1
- package/Image.stories.svelte +7 -12
- package/Index.svelte +0 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# @gradio/image
|
2
2
|
|
3
|
+
## 0.3.2
|
4
|
+
|
5
|
+
### Fixes
|
6
|
+
|
7
|
+
- [#6213](https://github.com/gradio-app/gradio/pull/6213) [`27194a987`](https://github.com/gradio-app/gradio/commit/27194a987fa7ba1234b5fc0ce8bf7fabef7033a9) - Ensure the statustracker for `gr.Image` displays in static mode. Thanks [@pngwn](https://github.com/pngwn)!
|
8
|
+
|
3
9
|
## 0.3.1
|
4
10
|
|
5
11
|
### Patch Changes
|
@@ -161,4 +167,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
|
|
161
167
|
|
162
168
|
### Features
|
163
169
|
|
164
|
-
- [#4979](https://github.com/gradio-app/gradio/pull/4979) [`44ac8ad0`](https://github.com/gradio-app/gradio/commit/44ac8ad08d82ea12c503dde5c78f999eb0452de2) - Allow setting sketch color default. Thanks [@aliabid94](https://github.com/aliabid94)!
|
170
|
+
- [#4979](https://github.com/gradio-app/gradio/pull/4979) [`44ac8ad0`](https://github.com/gradio-app/gradio/commit/44ac8ad08d82ea12c503dde5c78f999eb0452de2) - Allow setting sketch color default. Thanks [@aliabid94](https://github.com/aliabid94)!
|
package/Image.stories.svelte
CHANGED
@@ -10,12 +10,7 @@
|
|
10
10
|
value: {
|
11
11
|
control: "object",
|
12
12
|
description: "The image URL or file to display",
|
13
|
-
name: "value"
|
14
|
-
value: {
|
15
|
-
name: "https://i.ibb.co/6BgKdSj/groot.jpg",
|
16
|
-
is_file: true,
|
17
|
-
data: null
|
18
|
-
}
|
13
|
+
name: "value"
|
19
14
|
},
|
20
15
|
show_download_button: {
|
21
16
|
options: [true, false],
|
@@ -39,9 +34,9 @@
|
|
39
34
|
name="Static Image with label and download button"
|
40
35
|
args={{
|
41
36
|
value: {
|
42
|
-
|
43
|
-
|
44
|
-
|
37
|
+
path: "https://i.ibb.co/6BgKdSj/groot.jpg",
|
38
|
+
url: "https://i.ibb.co/6BgKdSj/groot.jpg",
|
39
|
+
orig_name: "groot.jpg"
|
45
40
|
},
|
46
41
|
show_label: true,
|
47
42
|
show_download_button: true
|
@@ -52,9 +47,9 @@
|
|
52
47
|
name="Static Image with no label or download button"
|
53
48
|
args={{
|
54
49
|
value: {
|
55
|
-
|
56
|
-
|
57
|
-
|
50
|
+
path: "https://i.ibb.co/6BgKdSj/groot.jpg",
|
51
|
+
url: "https://i.ibb.co/6BgKdSj/groot.jpg",
|
52
|
+
orig_name: "groot.jpg"
|
58
53
|
},
|
59
54
|
show_label: false,
|
60
55
|
show_download_button: false
|
package/Index.svelte
CHANGED
@@ -82,11 +82,9 @@
|
|
82
82
|
{min_width}
|
83
83
|
>
|
84
84
|
<StatusTracker
|
85
|
-
translucent={true}
|
86
85
|
autoscroll={gradio.autoscroll}
|
87
86
|
i18n={gradio.i18n}
|
88
87
|
{...loading_status}
|
89
|
-
show_progress="hidden"
|
90
88
|
/>
|
91
89
|
<StaticImage
|
92
90
|
on:select={({ detail }) => gradio.dispatch("select", detail)}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/image",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.2",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
@@ -13,10 +13,10 @@
|
|
13
13
|
"@gradio/atoms": "^0.2.0",
|
14
14
|
"@gradio/client": "^0.7.1",
|
15
15
|
"@gradio/icons": "^0.2.0",
|
16
|
-
"@gradio/
|
17
|
-
"@gradio/upload": "^0.3.1",
|
16
|
+
"@gradio/upload": "^0.3.2",
|
18
17
|
"@gradio/utils": "^0.2.0",
|
19
|
-
"@gradio/wasm": "^0.2.0"
|
18
|
+
"@gradio/wasm": "^0.2.0",
|
19
|
+
"@gradio/statustracker": "^0.3.0"
|
20
20
|
},
|
21
21
|
"main_changeset": true,
|
22
22
|
"main": "./Index.svelte",
|