@gradio/image 0.3.1 → 0.3.3
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 +16 -0
- package/Image.stories.svelte +7 -12
- package/Index.svelte +0 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# @gradio/image
|
2
2
|
|
3
|
+
## 0.3.3
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [[`bca6c2c80`](https://github.com/gradio-app/gradio/commit/bca6c2c80f7e5062427019de45c282238388af95), [`3cdeabc68`](https://github.com/gradio-app/gradio/commit/3cdeabc6843000310e1a9e1d17190ecbf3bbc780), [`fad92c29d`](https://github.com/gradio-app/gradio/commit/fad92c29dc1f5cd84341aae417c495b33e01245f)]:
|
8
|
+
- @gradio/client@0.7.2
|
9
|
+
- @gradio/atoms@0.2.1
|
10
|
+
- @gradio/upload@0.3.3
|
11
|
+
- @gradio/statustracker@0.3.1
|
12
|
+
|
13
|
+
## 0.3.2
|
14
|
+
|
15
|
+
### Fixes
|
16
|
+
|
17
|
+
- [#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)!
|
18
|
+
|
3
19
|
## 0.3.1
|
4
20
|
|
5
21
|
### Patch Changes
|
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.3",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
@@ -10,11 +10,11 @@
|
|
10
10
|
"cropperjs": "^1.5.12",
|
11
11
|
"lazy-brush": "^1.0.1",
|
12
12
|
"resize-observer-polyfill": "^1.5.1",
|
13
|
-
"@gradio/atoms": "^0.2.
|
14
|
-
"@gradio/client": "^0.7.
|
13
|
+
"@gradio/atoms": "^0.2.1",
|
14
|
+
"@gradio/client": "^0.7.2",
|
15
15
|
"@gradio/icons": "^0.2.0",
|
16
|
-
"@gradio/statustracker": "^0.3.
|
17
|
-
"@gradio/upload": "^0.3.
|
16
|
+
"@gradio/statustracker": "^0.3.1",
|
17
|
+
"@gradio/upload": "^0.3.3",
|
18
18
|
"@gradio/utils": "^0.2.0",
|
19
19
|
"@gradio/wasm": "^0.2.0"
|
20
20
|
},
|