@gradio/video 0.12.0 → 0.13.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
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# @gradio/video
|
2
2
|
|
3
|
+
## 0.13.0
|
4
|
+
|
5
|
+
### Features
|
6
|
+
|
7
|
+
- [#10192](https://github.com/gradio-app/gradio/pull/10192) [`4fc7fb7`](https://github.com/gradio-app/gradio/commit/4fc7fb777c42af537e4af612423fa44029657d41) - Ensure components can be remounted with their previous data. Thanks @pngwn!
|
8
|
+
|
9
|
+
### Dependency updates
|
10
|
+
|
11
|
+
- @gradio/atoms@0.13.0
|
12
|
+
- @gradio/utils@0.10.0
|
13
|
+
- @gradio/upload@0.14.4
|
14
|
+
- @gradio/client@1.9.0
|
15
|
+
- @gradio/icons@0.9.0
|
16
|
+
- @gradio/statustracker@0.10.0
|
17
|
+
- @gradio/wasm@0.16.0
|
18
|
+
- @gradio/image@0.20.0
|
19
|
+
|
20
|
+
## 0.12.1
|
21
|
+
|
22
|
+
### Dependency updates
|
23
|
+
|
24
|
+
- @gradio/statustracker@0.9.7
|
25
|
+
- @gradio/upload@0.14.3
|
26
|
+
- @gradio/atoms@0.12.0
|
27
|
+
- @gradio/image@0.19.0
|
28
|
+
|
3
29
|
## 0.12.0
|
4
30
|
|
5
31
|
### Features
|
@@ -20,6 +20,7 @@ export let show_download_button = true;
|
|
20
20
|
export let loop;
|
21
21
|
export let i18n;
|
22
22
|
export let upload;
|
23
|
+
export let display_icon_button_wrapper_top_corner = false;
|
23
24
|
let old_value = null;
|
24
25
|
let old_subtitle = null;
|
25
26
|
const dispatch = createEventDispatcher();
|
@@ -66,7 +67,9 @@ afterUpdate(async () => {
|
|
66
67
|
/>
|
67
68
|
{/key}
|
68
69
|
<div data-testid="download-div">
|
69
|
-
<IconButtonWrapper
|
70
|
+
<IconButtonWrapper
|
71
|
+
display_top_corner={display_icon_button_wrapper_top_corner}
|
72
|
+
>
|
70
73
|
{#if show_download_button}
|
71
74
|
<DownloadLink
|
72
75
|
href={value.is_stream
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/video",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.13.0",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
@@ -11,14 +11,14 @@
|
|
11
11
|
"@ffmpeg/util": "^0.12.1",
|
12
12
|
"hls.js": "^1.5.13",
|
13
13
|
"mrmime": "^2.0.0",
|
14
|
-
"@gradio/atoms": "^0.
|
15
|
-
"@gradio/
|
16
|
-
"@gradio/
|
17
|
-
"@gradio/
|
18
|
-
"@gradio/
|
19
|
-
"@gradio/upload": "^0.14.
|
20
|
-
"@gradio/
|
21
|
-
"@gradio/wasm": "^0.
|
14
|
+
"@gradio/atoms": "^0.13.0",
|
15
|
+
"@gradio/icons": "^0.9.0",
|
16
|
+
"@gradio/client": "^1.9.0",
|
17
|
+
"@gradio/statustracker": "^0.10.0",
|
18
|
+
"@gradio/utils": "^0.10.0",
|
19
|
+
"@gradio/upload": "^0.14.4",
|
20
|
+
"@gradio/image": "^0.20.0",
|
21
|
+
"@gradio/wasm": "^0.16.0"
|
22
22
|
},
|
23
23
|
"devDependencies": {
|
24
24
|
"@gradio/preview": "^0.13.0"
|
package/shared/Player.svelte
CHANGED
@@ -25,6 +25,7 @@
|
|
25
25
|
export let loop: boolean;
|
26
26
|
export let i18n: I18nFormatter;
|
27
27
|
export let upload: Client["upload"];
|
28
|
+
export let display_icon_button_wrapper_top_corner = false;
|
28
29
|
|
29
30
|
let old_value: FileData | null = null;
|
30
31
|
let old_subtitle: FileData | null = null;
|
@@ -86,7 +87,9 @@
|
|
86
87
|
/>
|
87
88
|
{/key}
|
88
89
|
<div data-testid="download-div">
|
89
|
-
<IconButtonWrapper
|
90
|
+
<IconButtonWrapper
|
91
|
+
display_top_corner={display_icon_button_wrapper_top_corner}
|
92
|
+
>
|
90
93
|
{#if show_download_button}
|
91
94
|
<DownloadLink
|
92
95
|
href={value.is_stream
|