@gradio/imageeditor 0.18.10 → 0.18.12
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 +20 -0
- package/dist/shared/ImageEditor.svelte +5 -1
- package/package.json +7 -7
- package/shared/ImageEditor.svelte +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @gradio/imageeditor
|
|
2
2
|
|
|
3
|
+
## 0.18.12
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- [#13379](https://github.com/gradio-app/gradio/pull/13379) [`b8e8745`](https://github.com/gradio-app/gradio/commit/b8e8745d2f4fb156dd12d57a3f4eb2e165f20216) - fix default tool logic in gr.ImageEditor. Thanks @hannahblair!
|
|
8
|
+
|
|
9
|
+
### Dependency updates
|
|
10
|
+
|
|
11
|
+
- @gradio/client@2.2.1
|
|
12
|
+
- @gradio/upload@0.17.10
|
|
13
|
+
|
|
14
|
+
## 0.18.11
|
|
15
|
+
|
|
16
|
+
### Dependency updates
|
|
17
|
+
|
|
18
|
+
- @gradio/atoms@0.24.0
|
|
19
|
+
- @gradio/statustracker@0.14.1
|
|
20
|
+
- @gradio/upload@0.17.9
|
|
21
|
+
- @gradio/image@0.26.3
|
|
22
|
+
|
|
3
23
|
## 0.18.10
|
|
4
24
|
|
|
5
25
|
### Dependency updates
|
|
@@ -371,8 +371,12 @@
|
|
|
371
371
|
ready = true;
|
|
372
372
|
if (sources.length > 0) {
|
|
373
373
|
handle_tool_change({ tool: "image" });
|
|
374
|
-
} else {
|
|
374
|
+
} else if (brush_options) {
|
|
375
375
|
handle_tool_change({ tool: "draw" });
|
|
376
|
+
} else if (eraser_options) {
|
|
377
|
+
handle_tool_change({ tool: "erase" });
|
|
378
|
+
} else {
|
|
379
|
+
handle_tool_change({ tool: "image" });
|
|
376
380
|
}
|
|
377
381
|
crop.set_subtool("crop");
|
|
378
382
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/imageeditor",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.12",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"pixi-filters": "^6.1.4",
|
|
12
12
|
"pixi.js": "^8.14.0",
|
|
13
13
|
"tinycolor2": "^1.6.0",
|
|
14
|
-
"@gradio/atoms": "^0.
|
|
14
|
+
"@gradio/atoms": "^0.24.0",
|
|
15
|
+
"@gradio/client": "^2.2.1",
|
|
15
16
|
"@gradio/icons": "^0.15.1",
|
|
16
|
-
"@gradio/
|
|
17
|
-
"@gradio/statustracker": "^0.14.
|
|
18
|
-
"@gradio/
|
|
19
|
-
"@gradio/upload": "^0.17.
|
|
20
|
-
"@gradio/utils": "^0.12.2"
|
|
17
|
+
"@gradio/image": "^0.26.3",
|
|
18
|
+
"@gradio/statustracker": "^0.14.1",
|
|
19
|
+
"@gradio/utils": "^0.12.2",
|
|
20
|
+
"@gradio/upload": "^0.17.10"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@gradio/preview": "^0.16.2"
|
|
@@ -371,8 +371,12 @@
|
|
|
371
371
|
ready = true;
|
|
372
372
|
if (sources.length > 0) {
|
|
373
373
|
handle_tool_change({ tool: "image" });
|
|
374
|
-
} else {
|
|
374
|
+
} else if (brush_options) {
|
|
375
375
|
handle_tool_change({ tool: "draw" });
|
|
376
|
+
} else if (eraser_options) {
|
|
377
|
+
handle_tool_change({ tool: "erase" });
|
|
378
|
+
} else {
|
|
379
|
+
handle_tool_change({ tool: "image" });
|
|
376
380
|
}
|
|
377
381
|
crop.set_subtool("crop");
|
|
378
382
|
});
|