@gradio/gallery 0.7.2 → 0.7.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 +7 -1
- package/package.json +6 -6
- package/shared/Gallery.svelte +12 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @gradio/gallery
|
|
2
2
|
|
|
3
|
+
## 0.7.3
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- [#7505](https://github.com/gradio-app/gradio/pull/7505) [`b186767`](https://github.com/gradio-app/gradio/commit/b18676774448f44a2ef3a9490224703254cffa7c) - Fix `Gallery` preview overlay and backdrop. Thanks [@MMP0](https://github.com/MMP0)!
|
|
8
|
+
|
|
3
9
|
## 0.7.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -357,4 +363,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
|
|
|
357
363
|
|
|
358
364
|
### Features
|
|
359
365
|
|
|
360
|
-
- [#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)!
|
|
366
|
+
- [#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.7.
|
|
3
|
+
"version": "0.7.3",
|
|
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/client": "^0.12.1",
|
|
12
|
-
"@gradio/atoms": "^0.5.3",
|
|
13
|
-
"@gradio/image": "^0.9.2",
|
|
14
|
-
"@gradio/statustracker": "^0.4.7",
|
|
15
12
|
"@gradio/icons": "^0.3.3",
|
|
16
|
-
"@gradio/
|
|
13
|
+
"@gradio/image": "^0.9.3",
|
|
14
|
+
"@gradio/statustracker": "^0.4.8",
|
|
17
15
|
"@gradio/utils": "^0.3.0",
|
|
18
|
-
"@gradio/
|
|
16
|
+
"@gradio/upload": "^0.7.4",
|
|
17
|
+
"@gradio/atoms": "^0.5.3",
|
|
18
|
+
"@gradio/file": "^0.5.3"
|
|
19
19
|
},
|
|
20
20
|
"main": "./Index.svelte",
|
|
21
21
|
"main_changeset": true,
|
package/shared/Gallery.svelte
CHANGED
|
@@ -338,14 +338,22 @@
|
|
|
338
338
|
.preview {
|
|
339
339
|
display: flex;
|
|
340
340
|
position: absolute;
|
|
341
|
-
top: 0px;
|
|
342
|
-
right: 0px;
|
|
343
|
-
bottom: 0px;
|
|
344
|
-
left: 0px;
|
|
345
341
|
flex-direction: column;
|
|
346
342
|
z-index: var(--layer-2);
|
|
343
|
+
border-radius: calc(var(--block-radius) - var(--block-border-width));
|
|
344
|
+
-webkit-backdrop-filter: blur(8px);
|
|
347
345
|
backdrop-filter: blur(8px);
|
|
346
|
+
width: var(--size-full);
|
|
347
|
+
height: var(--size-full);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.preview::before {
|
|
351
|
+
content: "";
|
|
352
|
+
position: absolute;
|
|
353
|
+
z-index: var(--layer-below);
|
|
348
354
|
background: var(--background-fill-primary);
|
|
355
|
+
opacity: 0.9;
|
|
356
|
+
width: var(--size-full);
|
|
349
357
|
height: var(--size-full);
|
|
350
358
|
}
|
|
351
359
|
|