@gradio/image 0.3.0 → 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 +29 -15
- package/Image.stories.svelte +7 -12
- package/Index.svelte +0 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
@@ -1,40 +1,54 @@
|
|
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
|
+
|
9
|
+
## 0.3.1
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- Updated dependencies [[`2ba14b284`](https://github.com/gradio-app/gradio/commit/2ba14b284f908aa13859f4337167a157075a68eb)]:
|
14
|
+
- @gradio/client@0.7.1
|
15
|
+
- @gradio/upload@0.3.1
|
16
|
+
|
3
17
|
## 0.3.0
|
4
18
|
|
5
19
|
### Features
|
6
20
|
|
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.
|
8
|
-
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Fix selectable prop in the backend.
|
9
|
-
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Image v4.
|
10
|
-
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Publish all components to npm.
|
11
|
-
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Custom components.
|
12
|
-
- [#6171](https://github.com/gradio-app/gradio/pull/6171) [`28322422c`](https://github.com/gradio-app/gradio/commit/28322422cb9d8d3e471e439ad602959662e79312) - strip dangling svelte imports.
|
21
|
+
- [#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)!
|
22
|
+
- [#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)!
|
23
|
+
- [#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)!
|
24
|
+
- [#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)!
|
25
|
+
- [#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)!
|
26
|
+
- [#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)!
|
13
27
|
|
14
28
|
## 0.3.0-beta.9
|
15
29
|
|
16
30
|
### Features
|
17
31
|
|
18
|
-
- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload.
|
19
|
-
- [#6136](https://github.com/gradio-app/gradio/pull/6136) [`667802a6c`](https://github.com/gradio-app/gradio/commit/667802a6cdbfb2ce454a3be5a78e0990b194548a) - JS Component Documentation.
|
20
|
-
- [#6094](https://github.com/gradio-app/gradio/pull/6094) [`c476bd5a5`](https://github.com/gradio-app/gradio/commit/c476bd5a5b70836163b9c69bf4bfe068b17fbe13) - Image v4.
|
21
|
-
- [#6149](https://github.com/gradio-app/gradio/pull/6149) [`90318b1dd`](https://github.com/gradio-app/gradio/commit/90318b1dd118ae08a695a50e7c556226234ab6dc) - swap `mode` on the frontned to `interactive` to match the backend.
|
22
|
-
- [#6135](https://github.com/gradio-app/gradio/pull/6135) [`bce37ac74`](https://github.com/gradio-app/gradio/commit/bce37ac744496537e71546d2bb889bf248dcf5d3) - Fix selectable prop in the backend.
|
32
|
+
- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
33
|
+
- [#6136](https://github.com/gradio-app/gradio/pull/6136) [`667802a6c`](https://github.com/gradio-app/gradio/commit/667802a6cdbfb2ce454a3be5a78e0990b194548a) - JS Component Documentation. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
34
|
+
- [#6094](https://github.com/gradio-app/gradio/pull/6094) [`c476bd5a5`](https://github.com/gradio-app/gradio/commit/c476bd5a5b70836163b9c69bf4bfe068b17fbe13) - Image v4. Thanks [@pngwn](https://github.com/pngwn)!
|
35
|
+
- [#6149](https://github.com/gradio-app/gradio/pull/6149) [`90318b1dd`](https://github.com/gradio-app/gradio/commit/90318b1dd118ae08a695a50e7c556226234ab6dc) - swap `mode` on the frontned to `interactive` to match the backend. Thanks [@pngwn](https://github.com/pngwn)!
|
36
|
+
- [#6135](https://github.com/gradio-app/gradio/pull/6135) [`bce37ac74`](https://github.com/gradio-app/gradio/commit/bce37ac744496537e71546d2bb889bf248dcf5d3) - Fix selectable prop in the backend. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
23
37
|
|
24
38
|
### Fixes
|
25
39
|
|
26
|
-
- [#6146](https://github.com/gradio-app/gradio/pull/6146) [`40a171ea6`](https://github.com/gradio-app/gradio/commit/40a171ea60c74afa9519d6cb159def16ce68e1ca) - Fix image double change bug.
|
40
|
+
- [#6146](https://github.com/gradio-app/gradio/pull/6146) [`40a171ea6`](https://github.com/gradio-app/gradio/commit/40a171ea60c74afa9519d6cb159def16ce68e1ca) - Fix image double change bug. Thanks [@pngwn](https://github.com/pngwn)!
|
27
41
|
|
28
42
|
## 0.3.0-beta.8
|
29
43
|
|
30
44
|
### Features
|
31
45
|
|
32
|
-
- [#6016](https://github.com/gradio-app/gradio/pull/6016) [`83e947676`](https://github.com/gradio-app/gradio/commit/83e947676d327ca2ab6ae2a2d710c78961c771a0) - Format js in v4 branch.
|
33
|
-
- [#6044](https://github.com/gradio-app/gradio/pull/6044) [`9053c95a1`](https://github.com/gradio-app/gradio/commit/9053c95a10de12aef572018ee37c71106d2da675) - Simplify File Component.
|
46
|
+
- [#6016](https://github.com/gradio-app/gradio/pull/6016) [`83e947676`](https://github.com/gradio-app/gradio/commit/83e947676d327ca2ab6ae2a2d710c78961c771a0) - Format js in v4 branch. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
47
|
+
- [#6044](https://github.com/gradio-app/gradio/pull/6044) [`9053c95a1`](https://github.com/gradio-app/gradio/commit/9053c95a10de12aef572018ee37c71106d2da675) - Simplify File Component. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
34
48
|
|
35
49
|
### Fixes
|
36
50
|
|
37
|
-
- [#6046](https://github.com/gradio-app/gradio/pull/6046) [`dbb7de5e0`](https://github.com/gradio-app/gradio/commit/dbb7de5e02c53fee05889d696d764d212cb96c74) - fix tests.
|
51
|
+
- [#6046](https://github.com/gradio-app/gradio/pull/6046) [`dbb7de5e0`](https://github.com/gradio-app/gradio/commit/dbb7de5e02c53fee05889d696d764d212cb96c74) - fix tests. Thanks [@pngwn](https://github.com/pngwn)!
|
38
52
|
|
39
53
|
## 0.3.0-beta.7
|
40
54
|
|
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": "",
|
@@ -11,12 +11,12 @@
|
|
11
11
|
"lazy-brush": "^1.0.1",
|
12
12
|
"resize-observer-polyfill": "^1.5.1",
|
13
13
|
"@gradio/atoms": "^0.2.0",
|
14
|
-
"@gradio/client": "^0.7.
|
14
|
+
"@gradio/client": "^0.7.1",
|
15
15
|
"@gradio/icons": "^0.2.0",
|
16
|
-
"@gradio/
|
17
|
-
"@gradio/upload": "^0.3.0",
|
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",
|