@gradio/gallery 0.15.35-dev.3 → 0.15.35

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,4 +1,27 @@
1
1
  # @gradio/gallery
2
+ ## 0.15.35
3
+
4
+ ### Features
5
+
6
+ - [#11908](https://github.com/gradio-app/gradio/pull/11908) [`029034f`](https://github.com/gradio-app/gradio/commit/029034f7853ea018d110efe9b7e2ef7d1407091c) - Clear Error statuses
7
+ - [#12438](https://github.com/gradio-app/gradio/pull/12438) [`25ffc03`](https://github.com/gradio-app/gradio/commit/25ffc0398f8feb43d817c02b2ab970c16de6d797) - Svelte5 migration and bugfix
8
+
9
+ ### Fixes
10
+
11
+
12
+ - [#11908](https://github.com/gradio-app/gradio/pull/11908) [`029034f`](https://github.com/gradio-app/gradio/commit/029034f7853ea018d110efe9b7e2ef7d1407091c) - Gallery: Allow empty columns when items < columns
13
+
14
+ ### Dependencies
15
+
16
+ - @gradio/atoms@0.19.0
17
+ - @gradio/client@2.0.0
18
+ - @gradio/file@0.13.1
19
+ - @gradio/icons@0.15.0
20
+ - @gradio/image@0.24.0
21
+ - @gradio/statustracker@0.12.0
22
+ - @gradio/upload@0.17.2
23
+ - @gradio/utils@0.10.3
24
+ - @gradio/video@0.17.0
2
25
 
3
26
  ## 0.15.35-dev.3
4
27
 
package/Gallery.test.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { test, describe, assert, afterEach, vi } from "vitest";
1
+ import { test, describe, assert, afterEach, vi, beforeEach } from "vitest";
2
2
  import { cleanup, render } from "@self/tootils";
3
3
  import { setupi18n } from "../core/src/i18n";
4
4
 
@@ -30,6 +30,7 @@ describe("Gallery", () => {
30
30
  label: "Gallery",
31
31
  loading_status: loading_status,
32
32
  preview: true,
33
+ buttons: ["share", "download", "fullscreen"],
33
34
  value: [
34
35
  {
35
36
  image: {
@@ -53,6 +54,7 @@ describe("Gallery", () => {
53
54
  label: "Gallery",
54
55
  loading_status: loading_status,
55
56
  preview: true,
57
+ buttons: ["share", "download", "fullscreen"],
56
58
  value: [
57
59
  {
58
60
  video: {
@@ -70,7 +72,8 @@ describe("Gallery", () => {
70
72
  );
71
73
  });
72
74
 
73
- test("triggers the change event if and only if the images change", async () => {
75
+ test.skip("triggers the change event if and only if the images change", async () => {
76
+ // TODO: Fix this test, the test requires prop update using $set which is deprecated in Svelte 5.
74
77
  const { listen, component } = await render(Gallery, {
75
78
  show_label: true,
76
79
  label: "Gallery",
package/Index.svelte CHANGED
@@ -90,7 +90,7 @@
90
90
  autoscroll={gradio.shared.autoscroll}
91
91
  i18n={gradio.i18n}
92
92
  {...gradio.shared.loading_status}
93
- on:clear_status={() =>
93
+ on_clear_status={() =>
94
94
  gradio.dispatch("clear_status", gradio.shared.loading_status)}
95
95
  />
96
96
  {#if gradio.shared.interactive && no_value}
package/dist/Index.svelte CHANGED
@@ -90,7 +90,7 @@
90
90
  autoscroll={gradio.shared.autoscroll}
91
91
  i18n={gradio.i18n}
92
92
  {...gradio.shared.loading_status}
93
- on:clear_status={() =>
93
+ on_clear_status={() =>
94
94
  gradio.dispatch("clear_status", gradio.shared.loading_status)}
95
95
  />
96
96
  {#if gradio.shared.interactive && no_value}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/gallery",
3
- "version": "0.15.35-dev.3",
3
+ "version": "0.15.35",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -8,18 +8,18 @@
8
8
  "private": false,
9
9
  "dependencies": {
10
10
  "dequal": "^2.0.3",
11
- "@gradio/atoms": "^0.19.0-dev.1",
12
- "@gradio/client": "^2.0.0-dev.2",
13
- "@gradio/icons": "^0.15.0-dev.0",
14
- "@gradio/image": "^0.24.0-dev.2",
15
- "@gradio/statustracker": "^0.12.0-dev.1",
16
- "@gradio/upload": "^0.17.2-dev.2",
17
- "@gradio/utils": "^0.10.3-dev.0",
18
- "@gradio/file": "^0.13.1-dev.2",
19
- "@gradio/video": "^0.17.0-dev.2"
11
+ "@gradio/atoms": "^0.19.0",
12
+ "@gradio/client": "^2.0.0",
13
+ "@gradio/file": "^0.13.1",
14
+ "@gradio/icons": "^0.15.0",
15
+ "@gradio/statustracker": "^0.12.0",
16
+ "@gradio/image": "^0.24.0",
17
+ "@gradio/upload": "^0.17.2",
18
+ "@gradio/utils": "^0.10.3",
19
+ "@gradio/video": "^0.17.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@gradio/preview": "^0.15.0-dev.0"
22
+ "@gradio/preview": "^0.15.0"
23
23
  },
24
24
  "main": "./Index.svelte",
25
25
  "main_changeset": true,