@gradio/image 0.22.14 → 0.22.15

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,12 @@
1
1
  # @gradio/image
2
2
 
3
+ ## 0.22.15
4
+
5
+ ### Dependency updates
6
+
7
+ - @gradio/upload@0.16.13
8
+ - @gradio/client@1.16.0
9
+
3
10
  ## 0.22.14
4
11
 
5
12
  ### Dependency updates
@@ -17,7 +17,7 @@ declare const __propDef: {
17
17
  elem_id?: string | undefined;
18
18
  elem_classes?: string[] | undefined;
19
19
  visible?: boolean | undefined;
20
- value?: null | FileData;
20
+ value?: (null | FileData) | undefined;
21
21
  label: string;
22
22
  show_label: boolean;
23
23
  show_download_button: boolean;
@@ -83,9 +83,9 @@ export default class Index extends SvelteComponent<IndexProps, IndexEvents, Inde
83
83
  get visible(): boolean | undefined;
84
84
  /**accessor*/
85
85
  set visible(_: boolean | undefined);
86
- get value(): any;
86
+ get value(): FileData | null | undefined;
87
87
  /**accessor*/
88
- set value(_: any);
88
+ set value(_: FileData | null | undefined);
89
89
  get label(): string;
90
90
  /**accessor*/
91
91
  set label(_: string);
@@ -4,7 +4,7 @@ import { FileData, type Client } from "@gradio/client";
4
4
  import type { Base64File, WebcamOptions } from "./types";
5
5
  declare const __propDef: {
6
6
  props: {
7
- value?: null | FileData | Base64File;
7
+ value?: (null | FileData | Base64File) | undefined;
8
8
  label?: string | undefined;
9
9
  show_label: boolean;
10
10
  sources?: ("clipboard" | "upload" | "microphone" | "webcam" | null)[] | undefined;
@@ -18,12 +18,12 @@ declare const __propDef: {
18
18
  } | null) | undefined;
19
19
  i18n: I18nFormatter;
20
20
  upload: Client["upload"];
21
- value?: FileData | null | Base64File;
21
+ value?: (FileData | null | Base64File) | undefined;
22
22
  click_outside?: ((node: Node, cb: any) => any) | undefined;
23
23
  };
24
24
  events: {
25
25
  stream: CustomEvent<string | Blob>;
26
- capture: CustomEvent<any>;
26
+ capture: CustomEvent<Blob | FileData | null>;
27
27
  error: CustomEvent<string>;
28
28
  start_recording: CustomEvent<undefined>;
29
29
  stop_recording: CustomEvent<undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/image",
3
- "version": "0.22.14",
3
+ "version": "0.22.15",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -10,11 +10,11 @@
10
10
  "cropperjs": "^1.5.12",
11
11
  "lazy-brush": "^1.0.1",
12
12
  "resize-observer-polyfill": "^1.5.1",
13
- "@gradio/client": "^1.15.7",
14
13
  "@gradio/atoms": "^0.16.3",
14
+ "@gradio/client": "^1.16.0",
15
15
  "@gradio/icons": "^0.12.0",
16
16
  "@gradio/statustracker": "^0.10.15",
17
- "@gradio/upload": "^0.16.12",
17
+ "@gradio/upload": "^0.16.13",
18
18
  "@gradio/utils": "^0.10.2",
19
19
  "@gradio/wasm": "^0.18.1"
20
20
  },