@gradio/imageeditor 0.2.2 → 0.2.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @gradio/imageeditor
2
2
 
3
+ ## 0.2.3
4
+
5
+ ### Fixes
6
+
7
+ - [#6885](https://github.com/gradio-app/gradio/pull/6885) [`640b7fe`](https://github.com/gradio-app/gradio/commit/640b7fe05276e11720b4341cadf088491395e53d) - Fix issue with Webcam Recording. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)!
8
+
3
9
  ## 0.2.2
4
10
 
5
11
  ### Patch Changes
@@ -127,4 +133,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
127
133
 
128
134
  - [#6502](https://github.com/gradio-app/gradio/pull/6502) [`070f71c93`](https://github.com/gradio-app/gradio/commit/070f71c933d846ce8e2fe11cdd9bc0f3f897f29f) - Ensure image editor crop and draw cursor works as expected when the scroll position changes. Thanks [@pngwn](https://github.com/pngwn)!
129
135
 
130
- # @gradio/image
136
+ # @gradio/image
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/imageeditor",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -13,11 +13,11 @@
13
13
  "@gradio/atoms": "^0.4.1",
14
14
  "@gradio/icons": "^0.3.2",
15
15
  "@gradio/client": "^0.10.0",
16
- "@gradio/image": "^0.6.0",
17
- "@gradio/upload": "^0.5.8",
16
+ "@gradio/image": "^0.6.1",
18
17
  "@gradio/utils": "^0.2.0",
19
- "@gradio/statustracker": "^0.4.3",
20
- "@gradio/wasm": "^0.4.1"
18
+ "@gradio/upload": "^0.6.0",
19
+ "@gradio/wasm": "^0.5.0",
20
+ "@gradio/statustracker": "^0.4.3"
21
21
  },
22
22
  "main_changeset": true,
23
23
  "main": "./Index.svelte",
@@ -80,7 +80,7 @@
80
80
  }
81
81
  }
82
82
 
83
- function handle_upload(e: CustomEvent<Blob>): void {
83
+ function handle_upload(e: CustomEvent<Blob | any>): void {
84
84
  const file_data = e.detail;
85
85
  background = file_data;
86
86
  active_mode = null;
@@ -180,6 +180,7 @@
180
180
  >
181
181
  <div class="modal-inner">
182
182
  <Webcam
183
+ {root}
183
184
  on:capture={handle_upload}
184
185
  on:error
185
186
  on:drag