@gradio/imageeditor 0.2.3 → 0.3.1

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,10 +1,28 @@
1
1
  # @gradio/imageeditor
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`5727b92`](https://github.com/gradio-app/gradio/commit/5727b92abc8a00a675bfc0a921b38de771af947b), [`bc2cdc1`](https://github.com/gradio-app/gradio/commit/bc2cdc1df95b38025486cf76df4a494b66d98585), [`c60ad4d`](https://github.com/gradio-app/gradio/commit/c60ad4d34ab5b56a89bf6796822977e51e7a4a32), [`be56c76`](https://github.com/gradio-app/gradio/commit/be56c76c7b5d2814ea8239c7dbeddc4b1d3701c4), [`8c355a4`](https://github.com/gradio-app/gradio/commit/8c355a47844296e3aab250fe61e2ecc706122e78)]:
8
+ - @gradio/utils@0.2.1
9
+ - @gradio/upload@0.7.0
10
+ - @gradio/atoms@0.5.0
11
+ - @gradio/wasm@0.5.1
12
+ - @gradio/image@0.7.1
13
+ - @gradio/statustracker@0.4.4
14
+
15
+ ## 0.3.0
16
+
17
+ ### Fixes
18
+
19
+ - [#6933](https://github.com/gradio-app/gradio/pull/6933) [`9cefd2e`](https://github.com/gradio-app/gradio/commit/9cefd2e90a1d0cc4d3e4e953fc5b9b1a7afb68dd) - Refactor examples so they accept data in the same format as is returned by function, rename `.as_example()` to `.process_example()`. Thanks [@abidlabs](https://github.com/abidlabs)!
20
+
3
21
  ## 0.2.3
4
22
 
5
23
  ### Fixes
6
24
 
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)!
25
+ - [#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
26
 
9
27
  ## 0.2.2
10
28
 
@@ -133,4 +151,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
133
151
 
134
152
  - [#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)!
135
153
 
136
- # @gradio/image
154
+ # @gradio/image
package/Example.svelte CHANGED
@@ -14,7 +14,10 @@
14
14
  class:gallery={type === "gallery"}
15
15
  class:selected
16
16
  >
17
- <Image src={samples_dir + (value.composite || value.background)} alt="" />
17
+ <Image
18
+ src={samples_dir + (value.composite?.path || value.background?.path)}
19
+ alt=""
20
+ />
18
21
  </div>
19
22
 
20
23
  <style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/imageeditor",
3
- "version": "0.2.3",
3
+ "version": "0.3.1",
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/atoms": "^0.4.1",
13
+ "@gradio/atoms": "^0.5.0",
14
+ "@gradio/client": "^0.10.1",
14
15
  "@gradio/icons": "^0.3.2",
15
- "@gradio/client": "^0.10.0",
16
- "@gradio/image": "^0.6.1",
17
- "@gradio/utils": "^0.2.0",
18
- "@gradio/upload": "^0.6.0",
19
- "@gradio/wasm": "^0.5.0",
20
- "@gradio/statustracker": "^0.4.3"
16
+ "@gradio/image": "^0.7.1",
17
+ "@gradio/statustracker": "^0.4.4",
18
+ "@gradio/upload": "^0.7.0",
19
+ "@gradio/utils": "^0.2.1",
20
+ "@gradio/wasm": "^0.5.1"
21
21
  },
22
22
  "main_changeset": true,
23
23
  "main": "./Index.svelte",