@gradio/gallery 0.4.2 → 0.4.4

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,10 +1,27 @@
1
1
  # @gradio/gallery
2
2
 
3
+ ## 0.4.4
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/image@0.3.3
12
+ - @gradio/statustracker@0.3.1
13
+
14
+ ## 0.4.3
15
+
16
+ ### Fixes
17
+
18
+ - [#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)!
19
+
3
20
  ## 0.4.2
4
21
 
5
22
  ### Fixes
6
23
 
7
- - [#6277](https://github.com/gradio-app/gradio/pull/6277) [`5fe091367`](https://github.com/gradio-app/gradio/commit/5fe091367fbe0eecdd504aa734ca1c70b0621f52) - handle selected_index prop change for gallery. Thanks [@pngwn](https://github.com/pngwn)!
24
+ - [#6277](https://github.com/gradio-app/gradio/pull/6277) [`5fe091367`](https://github.com/gradio-app/gradio/commit/5fe091367fbe0eecdd504aa734ca1c70b0621f52) - handle selected_index prop change for gallery. Thanks [@pngwn](https://github.com/pngwn)!
8
25
 
9
26
  ## 0.4.1
10
27
 
@@ -163,4 +180,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
163
180
 
164
181
  ### Features
165
182
 
166
- - [#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)!
183
+ - [#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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/gallery",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -8,12 +8,12 @@
8
8
  "private": false,
9
9
  "dependencies": {
10
10
  "dequal": "^2.0.2",
11
- "@gradio/atoms": "^0.2.0",
12
- "@gradio/client": "^0.7.1",
11
+ "@gradio/atoms": "^0.2.1",
12
+ "@gradio/client": "^0.7.2",
13
13
  "@gradio/icons": "^0.2.0",
14
- "@gradio/image": "^0.3.2",
15
- "@gradio/statustracker": "^0.3.0",
16
- "@gradio/upload": "^0.3.2",
14
+ "@gradio/image": "^0.3.3",
15
+ "@gradio/statustracker": "^0.3.1",
16
+ "@gradio/upload": "^0.3.3",
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
  />