@gradio/video 0.21.0 → 0.22.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,20 @@
1
1
  # @gradio/video
2
2
 
3
+ ## 0.22.0
4
+
5
+ ### Features
6
+
7
+ - [#13543](https://github.com/gradio-app/gradio/pull/13543) [`0533483`](https://github.com/gradio-app/gradio/commit/0533483bccdee38f334a598f18297e8c02966343) - Migrate Image components to Svelte 5. Thanks @dawoodkhan82!
8
+
9
+ ### Dependency updates
10
+
11
+ - @gradio/statustracker@0.15.1
12
+ - @gradio/icons@0.16.0
13
+ - @gradio/atoms@0.26.0
14
+ - @gradio/image@0.28.0
15
+ - @gradio/client@2.3.1
16
+ - @gradio/upload@0.18.1
17
+
3
18
  ## 0.21.0
4
19
 
5
20
  ### Features
@@ -157,10 +157,10 @@
157
157
  webcam_constraints={webcam_options.constraints}
158
158
  {include_audio}
159
159
  mode="video"
160
- on:error={({ detail }) => onerror?.(detail)}
161
- on:capture={handle_capture}
162
- on:start_recording={() => onstart_recording?.()}
163
- on:stop_recording={() => onstop_recording?.()}
160
+ onerror={(detail) => onerror?.(detail)}
161
+ oncapture={(detail) => handle_capture({ detail } as CustomEvent)}
162
+ onstart_recording={() => onstart_recording?.()}
163
+ onstop_recording={() => onstop_recording?.()}
164
164
  {i18n}
165
165
  {upload}
166
166
  stream_every={1}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/video",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -11,13 +11,13 @@
11
11
  "@ffmpeg/util": "^0.12.2",
12
12
  "hls.js": "^1.6.13",
13
13
  "mrmime": "^2.0.1",
14
- "@gradio/atoms": "^0.25.0",
15
- "@gradio/client": "^2.3.0",
16
- "@gradio/icons": "^0.15.1",
17
- "@gradio/image": "^0.27.0",
18
- "@gradio/statustracker": "^0.15.0",
19
- "@gradio/upload": "^0.18.0",
20
- "@gradio/utils": "^0.13.0"
14
+ "@gradio/atoms": "^0.26.0",
15
+ "@gradio/icons": "^0.16.0",
16
+ "@gradio/image": "^0.28.0",
17
+ "@gradio/statustracker": "^0.15.1",
18
+ "@gradio/client": "^2.3.1",
19
+ "@gradio/utils": "^0.13.0",
20
+ "@gradio/upload": "^0.18.1"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@gradio/preview": "^0.16.2"
@@ -157,10 +157,10 @@
157
157
  webcam_constraints={webcam_options.constraints}
158
158
  {include_audio}
159
159
  mode="video"
160
- on:error={({ detail }) => onerror?.(detail)}
161
- on:capture={handle_capture}
162
- on:start_recording={() => onstart_recording?.()}
163
- on:stop_recording={() => onstop_recording?.()}
160
+ onerror={(detail) => onerror?.(detail)}
161
+ oncapture={(detail) => handle_capture({ detail } as CustomEvent)}
162
+ onstart_recording={() => onstart_recording?.()}
163
+ onstop_recording={() => onstop_recording?.()}
164
164
  {i18n}
165
165
  {upload}
166
166
  stream_every={1}