@gradio/gallery 0.4.17 → 0.5.0
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 +6 -0
- package/package.json +5 -5
- package/shared/Gallery.svelte +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @gradio/gallery
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- [#7024](https://github.com/gradio-app/gradio/pull/7024) [`f2d69fc`](https://github.com/gradio-app/gradio/commit/f2d69fc7d0c1c3457112e702b53e38a0255fc1b7) - Fix gallery thumbnail design regression. Thanks [@hannahblair](https://github.com/hannahblair)!
|
|
8
|
+
|
|
3
9
|
## 0.4.17
|
|
4
10
|
|
|
5
11
|
### Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/gallery",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"dequal": "^2.0.2",
|
|
11
11
|
"@gradio/atoms": "^0.4.1",
|
|
12
|
+
"@gradio/client": "^0.10.1",
|
|
12
13
|
"@gradio/icons": "^0.3.2",
|
|
13
|
-
"@gradio/image": "^0.6.1",
|
|
14
14
|
"@gradio/statustracker": "^0.4.3",
|
|
15
|
+
"@gradio/image": "^0.7.0",
|
|
16
|
+
"@gradio/upload": "^0.6.1",
|
|
15
17
|
"@gradio/utils": "^0.2.0",
|
|
16
|
-
"@gradio/
|
|
17
|
-
"@gradio/wasm": "^0.5.0",
|
|
18
|
-
"@gradio/upload": "^0.6.0"
|
|
18
|
+
"@gradio/wasm": "^0.5.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "./Index.svelte",
|
|
21
21
|
"main_changeset": true,
|
package/shared/Gallery.svelte
CHANGED
|
@@ -357,12 +357,16 @@
|
|
|
357
357
|
width: 100%;
|
|
358
358
|
display: flex;
|
|
359
359
|
}
|
|
360
|
-
.
|
|
360
|
+
.image-button :global(img) {
|
|
361
361
|
width: var(--size-full);
|
|
362
362
|
height: var(--size-full);
|
|
363
363
|
object-fit: contain;
|
|
364
364
|
}
|
|
365
|
-
|
|
365
|
+
.thumbnails :global(img) {
|
|
366
|
+
object-fit: cover;
|
|
367
|
+
width: var(--size-full);
|
|
368
|
+
height: var(--size-full);
|
|
369
|
+
}
|
|
366
370
|
.preview :global(img.with-caption) {
|
|
367
371
|
height: var(--size-full);
|
|
368
372
|
}
|