@gradio/gallery 0.4.0-beta.9 → 0.4.1

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 CHANGED
@@ -1,22 +1,41 @@
1
1
  # @gradio/gallery
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`2ba14b284`](https://github.com/gradio-app/gradio/commit/2ba14b284f908aa13859f4337167a157075a68eb)]:
8
+ - @gradio/client@0.7.1
9
+ - @gradio/image@0.3.1
10
+ - @gradio/upload@0.3.1
11
+
12
+ ## 0.4.0
13
+
14
+ ### Features
15
+
16
+ - [#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)!
17
+ - [#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)!
18
+ - [#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)!
19
+ - [#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)!
20
+ - [#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)!
21
+
3
22
  ## 0.4.0-beta.9
4
23
 
5
24
  ### Features
6
25
 
7
- - [#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)!
8
- - [#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)!
9
- - [#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)!
26
+ - [#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)!
27
+ - [#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)!
28
+ - [#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)!
10
29
 
11
30
  ## 0.4.0-beta.8
12
31
 
13
32
  ### Features
14
33
 
15
- - [#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)!
34
+ - [#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)!
16
35
 
17
36
  ### Fixes
18
37
 
19
- - [#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
+ - [#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)!
20
39
 
21
40
  ## 0.4.0-beta.7
22
41
 
@@ -138,4 +157,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
138
157
 
139
158
  ### Features
140
159
 
141
- - [#4995](https://github.com/gradio-app/gradio/pull/4995) [`3f8c210b`](https://github.com/gradio-app/gradio/commit/3f8c210b01ef1ceaaf8ee73be4bf246b5b745bbf) - Implement left and right click in `Gallery` component and show implicit images in `Gallery` grid. Thanks [@hannahblair](https://github.com/hannahblair)!
160
+ - [#4995](https://github.com/gradio-app/gradio/pull/4995) [`3f8c210b`](https://github.com/gradio-app/gradio/commit/3f8c210b01ef1ceaaf8ee73be4bf246b5b745bbf) - Implement left and right click in `Gallery` component and show implicit images in `Gallery` grid. Thanks [@hannahblair](https://github.com/hannahblair)!
package/Gallery.test.ts CHANGED
@@ -31,7 +31,7 @@ describe("Gallery", () => {
31
31
  loading_status: loading_status,
32
32
  preview: true,
33
33
  root: "",
34
- root_url: "",
34
+ proxy_url: "",
35
35
  value: [
36
36
  {
37
37
  image: {
@@ -54,7 +54,7 @@ describe("Gallery", () => {
54
54
  loading_status: loading_status,
55
55
  preview: true,
56
56
  root: "",
57
- root_url: "",
57
+ proxy_url: "",
58
58
  value: [
59
59
  {
60
60
  image: {
package/Index.svelte CHANGED
@@ -14,7 +14,7 @@
14
14
  export let show_label: boolean;
15
15
  export let label: string;
16
16
  export let root: string;
17
- export let root_url: null | string;
17
+ export let proxy_url: null | string;
18
18
  export let elem_id = "";
19
19
  export let elem_classes: string[] = [];
20
20
  export let visible = true;
@@ -69,7 +69,7 @@
69
69
  {value}
70
70
  {show_label}
71
71
  {root}
72
- {root_url}
72
+ {proxy_url}
73
73
  {columns}
74
74
  {rows}
75
75
  {height}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/gallery",
3
- "version": "0.4.0-beta.9",
3
+ "version": "0.4.1",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -8,13 +8,13 @@
8
8
  "private": false,
9
9
  "dependencies": {
10
10
  "dequal": "^2.0.2",
11
- "@gradio/atoms": "^0.2.0-beta.6",
12
- "@gradio/client": "^0.7.0-beta.1",
13
- "@gradio/icons": "^0.2.0-beta.3",
14
- "@gradio/image": "^0.3.0-beta.9",
15
- "@gradio/statustracker": "^0.3.0-beta.8",
16
- "@gradio/upload": "^0.3.0-beta.6",
17
- "@gradio/utils": "^0.2.0-beta.6"
11
+ "@gradio/atoms": "^0.2.0",
12
+ "@gradio/client": "^0.7.1",
13
+ "@gradio/icons": "^0.2.0",
14
+ "@gradio/image": "^0.3.1",
15
+ "@gradio/statustracker": "^0.3.0",
16
+ "@gradio/upload": "^0.3.1",
17
+ "@gradio/utils": "^0.2.0"
18
18
  },
19
19
  "main": "./Index.svelte",
20
20
  "main_changeset": true,
@@ -15,7 +15,7 @@
15
15
  export let show_label = true;
16
16
  export let label: string;
17
17
  export let root = "";
18
- export let root_url: null | string = null;
18
+ export let proxy_url: null | string = null;
19
19
  export let value: { image: FileData; caption: string | null }[] | null = null;
20
20
  export let columns: number | number[] | undefined = [2];
21
21
  export let rows: number | number[] | undefined = undefined;
@@ -44,7 +44,7 @@
44
44
  value === null
45
45
  ? null
46
46
  : value.map((data) => ({
47
- image: normalise_file(data.image, root, root_url) as FileData,
47
+ image: normalise_file(data.image, root, proxy_url) as FileData,
48
48
  caption: data.caption
49
49
  }));
50
50