@gradio/gallery 0.4.2 → 0.4.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @gradio/gallery
2
2
 
3
+ ## 0.4.3
4
+
5
+ ### Fixes
6
+
7
+ - [#6288](https://github.com/gradio-app/gradio/pull/6288) [`92278729e`](https://github.com/gradio-app/gradio/commit/92278729ee008126af15ffe6be399236211b2f34) - Gallery preview fix and optionally skip download of urls in postprcess. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
8
+
3
9
  ## 0.4.2
4
10
 
5
11
  ### Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/gallery",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -12,8 +12,8 @@
12
12
  "@gradio/client": "^0.7.1",
13
13
  "@gradio/icons": "^0.2.0",
14
14
  "@gradio/image": "^0.3.2",
15
- "@gradio/statustracker": "^0.3.0",
16
15
  "@gradio/upload": "^0.3.2",
16
+ "@gradio/statustracker": "^0.3.0",
17
17
  "@gradio/utils": "^0.2.0"
18
18
  },
19
19
  "main": "./Index.svelte",
@@ -214,7 +214,7 @@
214
214
  >
215
215
  <img
216
216
  data-testid="detailed-image"
217
- src={_value[selected_index].image.path}
217
+ src={_value[selected_index].image.url}
218
218
  alt={_value[selected_index].caption || ""}
219
219
  title={_value[selected_index].caption || null}
220
220
  class:with-caption={!!_value[selected_index].caption}
@@ -240,8 +240,9 @@
240
240
  aria-label={"Thumbnail " + (i + 1) + " of " + _value.length}
241
241
  >
242
242
  <img
243
- src={image.image.path}
243
+ src={image.image.url}
244
244
  title={image.caption || null}
245
+ data-testid={"thumbnail " + (i + 1)}
245
246
  alt=""
246
247
  loading="lazy"
247
248
  />