@gradio/imageeditor 0.2.1 → 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,21 @@
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
+
9
+ ## 0.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [[`b1b78c2`](https://github.com/gradio-app/gradio/commit/b1b78c2168e24fb65251a9b9b6cbc9382179a8ca), [`f742d0e`](https://github.com/gradio-app/gradio/commit/f742d0e861c8e25c5d77d9102c9d50f94b0d3383), [`6c863af`](https://github.com/gradio-app/gradio/commit/6c863af92fa9ceb5c638857eb22cc5ddb718d549), [`fb9c6ca`](https://github.com/gradio-app/gradio/commit/fb9c6cacd7ca4598c000f1f97d7d39a8c4463519), [`459c5dc`](https://github.com/gradio-app/gradio/commit/459c5dc989849b1f0134467d260710fe891045d6), [`649cd4d`](https://github.com/gradio-app/gradio/commit/649cd4d68041d11fcbe31f8efa455345ac49fc74), [`8333db8`](https://github.com/gradio-app/gradio/commit/8333db83ac6e2c8511c104534c48137576d0bcd7)]:
14
+ - @gradio/image@0.6.0
15
+ - @gradio/client@0.10.0
16
+ - @gradio/upload@0.5.8
17
+ - @gradio/wasm@0.4.1
18
+
3
19
  ## 0.2.1
4
20
 
5
21
  ### Patch Changes
@@ -117,4 +133,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
117
133
 
118
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)!
119
135
 
120
- # @gradio/image
136
+ # @gradio/image
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/imageeditor",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -10,14 +10,14 @@
10
10
  "@types/tinycolor2": "^1.4.6",
11
11
  "pixi.js": "^7.3.2",
12
12
  "tinycolor2": "^1.6.0",
13
- "@gradio/icons": "^0.3.2",
14
13
  "@gradio/atoms": "^0.4.1",
15
- "@gradio/image": "^0.5.4",
16
- "@gradio/statustracker": "^0.4.3",
17
- "@gradio/upload": "^0.5.7",
18
- "@gradio/wasm": "^0.4.0",
14
+ "@gradio/icons": "^0.3.2",
15
+ "@gradio/client": "^0.10.0",
16
+ "@gradio/image": "^0.6.1",
19
17
  "@gradio/utils": "^0.2.0",
20
- "@gradio/client": "^0.9.4"
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