@gradio/gallery 0.13.6 → 0.13.7
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 +15 -0
- package/dist/shared/Gallery.svelte +11 -14
- package/package.json +7 -7
- package/shared/Gallery.svelte +11 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @gradio/gallery
|
|
2
2
|
|
|
3
|
+
## 0.13.7
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- [#9881](https://github.com/gradio-app/gradio/pull/9881) [`6866a54`](https://github.com/gradio-app/gradio/commit/6866a5433afe7e29ad73bac10ecbc3b44f5867f4) - Ensure gallery share button is positioned correctly. Thanks @hannahblair!
|
|
8
|
+
|
|
9
|
+
### Dependency updates
|
|
10
|
+
|
|
11
|
+
- @gradio/video@0.11.7
|
|
12
|
+
- @gradio/statustracker@0.9.4
|
|
13
|
+
- @gradio/atoms@0.11.0
|
|
14
|
+
- @gradio/file@0.11.0
|
|
15
|
+
- @gradio/upload@0.14.0
|
|
16
|
+
- @gradio/image@0.16.7
|
|
17
|
+
|
|
3
18
|
## 0.13.6
|
|
4
19
|
|
|
5
20
|
### Dependency updates
|
|
@@ -225,7 +225,17 @@ const toggle_full_screen = async () => {
|
|
|
225
225
|
on:click={toggle_full_screen}
|
|
226
226
|
/>
|
|
227
227
|
{/if}
|
|
228
|
-
|
|
228
|
+
{#if show_share_button}
|
|
229
|
+
<div class="icon-button">
|
|
230
|
+
<ShareButton
|
|
231
|
+
{i18n}
|
|
232
|
+
on:share
|
|
233
|
+
on:error
|
|
234
|
+
value={resolved_value}
|
|
235
|
+
formatter={format_gallery_for_sharing}
|
|
236
|
+
/>
|
|
237
|
+
</div>
|
|
238
|
+
{/if}
|
|
229
239
|
{#if !is_full_screen}
|
|
230
240
|
<IconButton
|
|
231
241
|
Icon={Clear}
|
|
@@ -329,19 +339,6 @@ const toggle_full_screen = async () => {
|
|
|
329
339
|
<ModifyUpload {i18n} on:clear={() => (value = [])} />
|
|
330
340
|
</div>
|
|
331
341
|
{/if}
|
|
332
|
-
<IconButtonWrapper>
|
|
333
|
-
{#if show_share_button}
|
|
334
|
-
<div class="icon-button">
|
|
335
|
-
<ShareButton
|
|
336
|
-
{i18n}
|
|
337
|
-
on:share
|
|
338
|
-
on:error
|
|
339
|
-
value={resolved_value}
|
|
340
|
-
formatter={format_gallery_for_sharing}
|
|
341
|
-
/>
|
|
342
|
-
</div>
|
|
343
|
-
{/if}
|
|
344
|
-
</IconButtonWrapper>
|
|
345
342
|
{#each resolved_value as entry, i}
|
|
346
343
|
<button
|
|
347
344
|
class="thumbnail-item thumbnail-lg"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/gallery",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.7",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"private": false,
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"dequal": "^2.0.2",
|
|
11
|
-
"@gradio/atoms": "^0.
|
|
11
|
+
"@gradio/atoms": "^0.11.0",
|
|
12
12
|
"@gradio/icons": "^0.8.1",
|
|
13
13
|
"@gradio/client": "^1.7.1",
|
|
14
|
-
"@gradio/image": "^0.16.
|
|
15
|
-
"@gradio/statustracker": "^0.9.
|
|
14
|
+
"@gradio/image": "^0.16.7",
|
|
15
|
+
"@gradio/statustracker": "^0.9.4",
|
|
16
16
|
"@gradio/utils": "^0.7.0",
|
|
17
|
-
"@gradio/
|
|
18
|
-
"@gradio/
|
|
19
|
-
"@gradio/
|
|
17
|
+
"@gradio/upload": "^0.14.0",
|
|
18
|
+
"@gradio/video": "^0.11.7",
|
|
19
|
+
"@gradio/file": "^0.11.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@gradio/preview": "^0.13.0"
|
package/shared/Gallery.svelte
CHANGED
|
@@ -284,7 +284,17 @@
|
|
|
284
284
|
on:click={toggle_full_screen}
|
|
285
285
|
/>
|
|
286
286
|
{/if}
|
|
287
|
-
|
|
287
|
+
{#if show_share_button}
|
|
288
|
+
<div class="icon-button">
|
|
289
|
+
<ShareButton
|
|
290
|
+
{i18n}
|
|
291
|
+
on:share
|
|
292
|
+
on:error
|
|
293
|
+
value={resolved_value}
|
|
294
|
+
formatter={format_gallery_for_sharing}
|
|
295
|
+
/>
|
|
296
|
+
</div>
|
|
297
|
+
{/if}
|
|
288
298
|
{#if !is_full_screen}
|
|
289
299
|
<IconButton
|
|
290
300
|
Icon={Clear}
|
|
@@ -388,19 +398,6 @@
|
|
|
388
398
|
<ModifyUpload {i18n} on:clear={() => (value = [])} />
|
|
389
399
|
</div>
|
|
390
400
|
{/if}
|
|
391
|
-
<IconButtonWrapper>
|
|
392
|
-
{#if show_share_button}
|
|
393
|
-
<div class="icon-button">
|
|
394
|
-
<ShareButton
|
|
395
|
-
{i18n}
|
|
396
|
-
on:share
|
|
397
|
-
on:error
|
|
398
|
-
value={resolved_value}
|
|
399
|
-
formatter={format_gallery_for_sharing}
|
|
400
|
-
/>
|
|
401
|
-
</div>
|
|
402
|
-
{/if}
|
|
403
|
-
</IconButtonWrapper>
|
|
404
401
|
{#each resolved_value as entry, i}
|
|
405
402
|
<button
|
|
406
403
|
class="thumbnail-item thumbnail-lg"
|