@gradio/imageeditor 0.2.3 → 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,11 @@
1
1
  # @gradio/imageeditor
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Fixes
6
+
7
+ - [#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)!
8
+
3
9
  ## 0.2.3
4
10
 
5
11
  ### Fixes
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.0",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -11,13 +11,13 @@
11
11
  "pixi.js": "^7.3.2",
12
12
  "tinycolor2": "^1.6.0",
13
13
  "@gradio/atoms": "^0.4.1",
14
+ "@gradio/statustracker": "^0.4.3",
15
+ "@gradio/client": "^0.10.1",
16
+ "@gradio/image": "^0.7.0",
14
17
  "@gradio/icons": "^0.3.2",
15
- "@gradio/client": "^0.10.0",
16
- "@gradio/image": "^0.6.1",
17
18
  "@gradio/utils": "^0.2.0",
18
- "@gradio/upload": "^0.6.0",
19
- "@gradio/wasm": "^0.5.0",
20
- "@gradio/statustracker": "^0.4.3"
19
+ "@gradio/upload": "^0.6.1",
20
+ "@gradio/wasm": "^0.5.0"
21
21
  },
22
22
  "main_changeset": true,
23
23
  "main": "./Index.svelte",