@gradio/imageeditor 0.18.0 → 0.18.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,5 +1,11 @@
1
1
  # @gradio/imageeditor
2
2
 
3
+ ## 0.18.1
4
+
5
+ ### Fixes
6
+
7
+ - [#12023](https://github.com/gradio-app/gradio/pull/12023) [`69da8c8`](https://github.com/gradio-app/gradio/commit/69da8c87653d7ea7f733a248b324051ef5bb810f) - feat: Extended the waternark positioning feature to Video. Thanks @PRIME-SV!
8
+
3
9
  ## 0.18.0
4
10
 
5
11
  ### Features
@@ -15,6 +15,6 @@ export interface WebcamOptions {
15
15
  constraints: Record<string, any>;
16
16
  }
17
17
  export interface WatermarkOptions {
18
- text: string | Blob | null;
18
+ watermark: string | Blob | null;
19
19
  position: [number, number] | "top-left" | "top-right" | "bottom-left" | "bottom-right";
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/imageeditor",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -11,13 +11,13 @@
11
11
  "pixi-filters": "^6.1.0",
12
12
  "pixi.js": "^8.7.3",
13
13
  "tinycolor2": "^1.6.0",
14
- "@gradio/atoms": "^0.18.1",
15
14
  "@gradio/client": "^1.19.1",
16
- "@gradio/icons": "^0.14.0",
15
+ "@gradio/atoms": "^0.18.1",
16
+ "@gradio/statustracker": "^0.11.1",
17
17
  "@gradio/image": "^0.23.1",
18
18
  "@gradio/upload": "^0.17.1",
19
19
  "@gradio/utils": "^0.10.2",
20
- "@gradio/statustracker": "^0.11.1"
20
+ "@gradio/icons": "^0.14.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@gradio/preview": "^0.14.0"
package/shared/types.ts CHANGED
@@ -19,7 +19,7 @@ export interface WebcamOptions {
19
19
  }
20
20
 
21
21
  export interface WatermarkOptions {
22
- text: string | Blob | null;
22
+ watermark: string | Blob | null;
23
23
  position:
24
24
  | [number, number]
25
25
  | "top-left"