@gradio/imageeditor 0.1.5 → 0.2.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,25 @@
|
|
|
1
1
|
# @gradio/imageeditor
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`d406855`](https://github.com/gradio-app/gradio/commit/d4068557953746662235d595ec435c42ceb24414), [`15c97c6`](https://github.com/gradio-app/gradio/commit/15c97c6d346c475141d20615b5a865e9c44bdc76)]:
|
|
8
|
+
- @gradio/client@0.9.4
|
|
9
|
+
- @gradio/image@0.5.4
|
|
10
|
+
- @gradio/upload@0.5.7
|
|
11
|
+
|
|
12
|
+
## 0.2.0
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- [#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)!
|
|
17
|
+
|
|
3
18
|
## 0.1.5
|
|
4
19
|
|
|
5
20
|
### Fixes
|
|
6
21
|
|
|
7
|
-
- [#6799](https://github.com/gradio-app/gradio/pull/6799) [`c352811`](https://github.com/gradio-app/gradio/commit/c352811f76d4126613ece0a584f8c552fdd8d1f6) - Adds docstrings for `gr.WaveformOptions`, `gr.Brush`, and `gr.Eraser`, fixes examples for `ImageEditor`, and allows individual images to be used as the initial `value` for `ImageEditor`.
|
|
22
|
+
- [#6799](https://github.com/gradio-app/gradio/pull/6799) [`c352811`](https://github.com/gradio-app/gradio/commit/c352811f76d4126613ece0a584f8c552fdd8d1f6) - Adds docstrings for `gr.WaveformOptions`, `gr.Brush`, and `gr.Eraser`, fixes examples for `ImageEditor`, and allows individual images to be used as the initial `value` for `ImageEditor`. Thanks [@abidlabs](https://github.com/abidlabs)!
|
|
8
23
|
|
|
9
24
|
## 0.1.4
|
|
10
25
|
|
|
@@ -102,4 +117,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
|
|
|
102
117
|
|
|
103
118
|
- [#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)!
|
|
104
119
|
|
|
105
|
-
# @gradio/image
|
|
120
|
+
# @gradio/image
|
|
@@ -105,7 +105,11 @@
|
|
|
105
105
|
|
|
106
106
|
await userEvent.click(canvas.getByLabelText("Color button"));
|
|
107
107
|
|
|
108
|
-
|
|
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
|
|
3
|
+
"version": "0.2.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.0",
|
|
14
|
-
"@gradio/client": "^0.9.2",
|
|
15
13
|
"@gradio/icons": "^0.3.2",
|
|
16
|
-
"@gradio/
|
|
17
|
-
"@gradio/
|
|
18
|
-
"@gradio/
|
|
14
|
+
"@gradio/atoms": "^0.4.1",
|
|
15
|
+
"@gradio/image": "^0.5.4",
|
|
16
|
+
"@gradio/statustracker": "^0.4.3",
|
|
17
|
+
"@gradio/upload": "^0.5.7",
|
|
19
18
|
"@gradio/wasm": "^0.4.0",
|
|
20
|
-
"@gradio/
|
|
19
|
+
"@gradio/utils": "^0.2.0",
|
|
20
|
+
"@gradio/client": "^0.9.4"
|
|
21
21
|
},
|
|
22
22
|
"main_changeset": true,
|
|
23
23
|
"main": "./Index.svelte",
|