@gradio/imageeditor 0.4.3 → 0.4.5

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,19 @@
1
1
  # @gradio/imageeditor
2
2
 
3
+ ## 0.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`8181695`](https://github.com/gradio-app/gradio/commit/8181695e70187e8bc2bf7518697098c8d1b9843d)]:
8
+ - @gradio/upload@0.7.6
9
+ - @gradio/image@0.9.5
10
+
11
+ ## 0.4.4
12
+
13
+ ### Features
14
+
15
+ - [#7528](https://github.com/gradio-app/gradio/pull/7528) [`eda33b3`](https://github.com/gradio-app/gradio/commit/eda33b3763897a542acf298e523fa493dc655aee) - Refactors `get_fetchable_url_or_file()` to remove it from the frontend. Thanks [@abidlabs](https://github.com/abidlabs)!
16
+
3
17
  ## 0.4.3
4
18
 
5
19
  ### Patch Changes
package/Example.svelte CHANGED
@@ -3,7 +3,6 @@
3
3
  import type { EditorData } from "./shared/InteractiveImageEditor.svelte";
4
4
 
5
5
  export let value: EditorData;
6
- export let samples_dir: string;
7
6
  export let type: "gallery" | "table";
8
7
  export let selected = false;
9
8
  </script>
@@ -14,10 +13,7 @@
14
13
  class:gallery={type === "gallery"}
15
14
  class:selected
16
15
  >
17
- <Image
18
- src={samples_dir + (value.composite?.path || value.background?.path)}
19
- alt=""
20
- />
16
+ <Image src={value.composite?.url || value.background?.url} alt="" />
21
17
  </div>
22
18
 
23
19
  <style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/imageeditor",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
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/client": "^0.12.2",
13
14
  "@gradio/atoms": "^0.5.3",
14
- "@gradio/client": "^0.12.1",
15
15
  "@gradio/icons": "^0.3.3",
16
- "@gradio/image": "^0.9.3",
17
- "@gradio/statustracker": "^0.4.8",
18
- "@gradio/upload": "^0.7.4",
16
+ "@gradio/image": "^0.9.5",
17
+ "@gradio/upload": "^0.7.6",
19
18
  "@gradio/utils": "^0.3.0",
20
- "@gradio/wasm": "^0.6.0"
19
+ "@gradio/statustracker": "^0.4.8",
20
+ "@gradio/wasm": "^0.7.0"
21
21
  },
22
22
  "main_changeset": true,
23
23
  "main": "./Index.svelte",