@gradio/imageeditor 0.1.5 → 0.2.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.2.0
4
+
5
+ ### Features
6
+
7
+ - [#6809](https://github.com/gradio-app/gradio/pull/6809) [`1401d99`](https://github.com/gradio-app/gradio/commit/1401d99ade46d87da75b5f5808a3354c49f1d1ea) - Fix `ImageEditor` interaction story. Thanks [@hannahblair](https://github.com/hannahblair)!
8
+
3
9
  ## 0.1.5
4
10
 
5
11
  ### Fixes
@@ -105,7 +105,11 @@
105
105
 
106
106
  await userEvent.click(canvas.getByLabelText("Color button"));
107
107
 
108
- await userEvent.click(document.getElementsByClassName("color")[1]);
108
+ var availableColors = document.querySelectorAll(
109
+ "button.color:not(.empty):not(.selected):not(.hidden)"
110
+ );
111
+
112
+ await userEvent.click(availableColors[0]);
109
113
 
110
114
  await userEvent.keyboard("{Escape}");
111
115
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/imageeditor",
3
- "version": "0.1.5",
3
+ "version": "0.2.0",
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.0",
14
- "@gradio/client": "^0.9.2",
13
+ "@gradio/atoms": "^0.4.1",
14
+ "@gradio/client": "^0.9.3",
15
15
  "@gradio/icons": "^0.3.2",
16
- "@gradio/image": "^0.5.2",
17
- "@gradio/statustracker": "^0.4.2",
16
+ "@gradio/statustracker": "^0.4.3",
17
+ "@gradio/image": "^0.5.3",
18
+ "@gradio/upload": "^0.5.6",
18
19
  "@gradio/utils": "^0.2.0",
19
- "@gradio/wasm": "^0.4.0",
20
- "@gradio/upload": "^0.5.5"
20
+ "@gradio/wasm": "^0.4.0"
21
21
  },
22
22
  "main_changeset": true,
23
23
  "main": "./Index.svelte",
@@ -104,6 +104,7 @@
104
104
 
105
105
  .empty::after {
106
106
  content: "+";
107
+ margin-bottom: var(--size-1);
107
108
  }
108
109
 
109
110
  .color {