@gradio/video 0.2.4 → 0.3.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,12 @@
1
1
  # @gradio/video
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Features
6
+
7
+ - [#6133](https://github.com/gradio-app/gradio/pull/6133) [`f742d0e`](https://github.com/gradio-app/gradio/commit/f742d0e861c8e25c5d77d9102c9d50f94b0d3383) - Lite: Support AnnotatedImage on Wasm. Thanks [@whitphx](https://github.com/whitphx)!
8
+ - [#6897](https://github.com/gradio-app/gradio/pull/6897) [`fb9c6ca`](https://github.com/gradio-app/gradio/commit/fb9c6cacd7ca4598c000f1f97d7d39a8c4463519) - Lite: Chatbot. Thanks [@whitphx](https://github.com/whitphx)!
9
+
3
10
  ## 0.2.4
4
11
 
5
12
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/video",
3
- "version": "0.2.4",
3
+ "version": "0.3.0",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -10,13 +10,13 @@
10
10
  "@ffmpeg/ffmpeg": "^0.12.7",
11
11
  "@ffmpeg/util": "^0.12.1",
12
12
  "@gradio/atoms": "^0.4.1",
13
+ "@gradio/client": "^0.10.0",
13
14
  "@gradio/icons": "^0.3.2",
14
- "@gradio/image": "^0.5.4",
15
- "@gradio/client": "^0.9.4",
16
- "@gradio/upload": "^0.5.7",
15
+ "@gradio/image": "^0.6.0",
16
+ "@gradio/statustracker": "^0.4.3",
17
+ "@gradio/upload": "^0.5.8",
17
18
  "@gradio/utils": "^0.2.0",
18
- "@gradio/wasm": "^0.4.0",
19
- "@gradio/statustracker": "^0.4.3"
19
+ "@gradio/wasm": "^0.4.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "mrmime": "^2.0.0"
@@ -24,6 +24,7 @@
24
24
  "exports": {
25
25
  ".": "./index.ts",
26
26
  "./example": "./Example.svelte",
27
+ "./shared": "./shared/index.ts",
27
28
  "./package.json": "./package.json"
28
29
  },
29
30
  "main": "index.ts",
@@ -21,8 +21,6 @@
21
21
 
22
22
  export let processingVideo = false;
23
23
 
24
- const dispatch = createEventDispatcher();
25
-
26
24
  let resolved_src: typeof src;
27
25
 
28
26
  // The `src` prop can be updated before the Promise from `resolve_wasm_src` is resolved.
@@ -32,7 +30,7 @@
32
30
  $: {
33
31
  // In normal (non-Wasm) Gradio, the `<img>` element should be rendered with the passed `src` props immediately
34
32
  // without waiting for `resolve_wasm_src()` to resolve.
35
- // If it waits, a black image is displayed until the async task finishes
33
+ // If it waits, a blank element is displayed until the async task finishes
36
34
  // and it leads to undesirable flickering.
37
35
  // So set `src` to `resolved_src` here.
38
36
  resolved_src = src;
@@ -45,6 +43,8 @@
45
43
  }
46
44
  });
47
45
  }
46
+
47
+ const dispatch = createEventDispatcher();
48
48
  </script>
49
49
 
50
50
  <!--
@@ -0,0 +1 @@
1
+ export { default as Video } from "./Video.svelte";