@gradio/image 0.16.4 → 0.16.6

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,23 @@
1
1
  # @gradio/image
2
2
 
3
+ ## 0.16.6
4
+
5
+ ### Dependency updates
6
+
7
+ - @gradio/statustracker@0.9.3
8
+ - @gradio/atoms@0.10.1
9
+ - @gradio/client@1.7.1
10
+ - @gradio/upload@0.13.5
11
+
12
+ ## 0.16.5
13
+
14
+ ### Dependency updates
15
+
16
+ - @gradio/statustracker@0.9.2
17
+ - @gradio/atoms@0.10.0
18
+ - @gradio/icons@0.8.1
19
+ - @gradio/upload@0.13.4
20
+
3
21
  ## 0.16.4
4
22
 
5
23
  ### Dependency updates
@@ -16,7 +16,7 @@ declare const __propDef: {
16
16
  elem_id?: string | undefined;
17
17
  elem_classes?: string[] | undefined;
18
18
  visible?: boolean | undefined;
19
- value?: (null | FileData) | undefined;
19
+ value?: null | FileData;
20
20
  label: string;
21
21
  show_label: boolean;
22
22
  show_download_button: boolean;
@@ -82,9 +82,9 @@ export default class Index extends SvelteComponent<IndexProps, IndexEvents, Inde
82
82
  get visible(): boolean | undefined;
83
83
  /**accessor*/
84
84
  set visible(_: boolean | undefined);
85
- get value(): FileData | null | undefined;
85
+ get value(): any;
86
86
  /**accessor*/
87
- set value(_: FileData | null | undefined);
87
+ set value(_: any);
88
88
  get label(): string;
89
89
  /**accessor*/
90
90
  set label(_: string);
@@ -124,9 +124,9 @@ export default class Index extends SvelteComponent<IndexProps, IndexEvents, Inde
124
124
  get show_share_button(): boolean | undefined;
125
125
  /**accessor*/
126
126
  set show_share_button(_: boolean | undefined);
127
- get sources(): ("upload" | "clipboard" | "webcam")[] | undefined;
127
+ get sources(): ("clipboard" | "upload" | "webcam")[] | undefined;
128
128
  /**accessor*/
129
- set sources(_: ("upload" | "clipboard" | "webcam")[] | undefined);
129
+ set sources(_: ("clipboard" | "upload" | "webcam")[] | undefined);
130
130
  get interactive(): boolean;
131
131
  /**accessor*/
132
132
  set interactive(_: boolean);
@@ -4,10 +4,10 @@ import { FileData, type Client } from "@gradio/client";
4
4
  import type { Base64File } from "./types";
5
5
  declare const __propDef: {
6
6
  props: {
7
- value?: (null | FileData | Base64File) | undefined;
7
+ value?: null | FileData | Base64File;
8
8
  label?: string | undefined;
9
9
  show_label: boolean;
10
- sources?: ("upload" | "clipboard" | "microphone" | "webcam" | null)[] | undefined;
10
+ sources?: ("clipboard" | "upload" | "microphone" | "webcam" | null)[] | undefined;
11
11
  streaming?: boolean | undefined;
12
12
  pending?: boolean | undefined;
13
13
  mirror_webcam: boolean;
@@ -21,7 +21,7 @@ declare const __propDef: {
21
21
  modify_stream: (state: "open" | "closed" | "waiting") => void;
22
22
  set_time_limit: (arg0: number) => void;
23
23
  uploading?: boolean | undefined;
24
- active_source?: ("upload" | "clipboard" | "microphone" | "webcam" | null) | undefined;
24
+ active_source?: ("clipboard" | "upload" | "microphone" | "webcam" | null) | undefined;
25
25
  dragging?: boolean | undefined;
26
26
  };
27
27
  events: {
@@ -15,12 +15,12 @@ declare const __propDef: {
15
15
  include_audio: boolean;
16
16
  i18n: I18nFormatter;
17
17
  upload: Client["upload"];
18
- value?: (FileData | null | Base64File) | undefined;
18
+ value?: FileData | null | Base64File;
19
19
  click_outside?: ((node: Node, cb: any) => any) | undefined;
20
20
  };
21
21
  events: {
22
22
  stream: CustomEvent<string | Blob>;
23
- capture: CustomEvent<Blob | FileData | null>;
23
+ capture: CustomEvent<any>;
24
24
  error: CustomEvent<string>;
25
25
  start_recording: CustomEvent<undefined>;
26
26
  stop_recording: CustomEvent<undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/image",
3
- "version": "0.16.4",
3
+ "version": "0.16.6",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -10,16 +10,16 @@
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.7.0",
14
- "@gradio/atoms": "^0.9.2",
15
- "@gradio/icons": "^0.8.0",
16
- "@gradio/statustracker": "^0.9.1",
17
- "@gradio/upload": "^0.13.3",
13
+ "@gradio/atoms": "^0.10.1",
14
+ "@gradio/icons": "^0.8.1",
15
+ "@gradio/statustracker": "^0.9.3",
16
+ "@gradio/upload": "^0.13.5",
17
+ "@gradio/client": "^1.7.1",
18
18
  "@gradio/utils": "^0.7.0",
19
19
  "@gradio/wasm": "^0.14.2"
20
20
  },
21
21
  "devDependencies": {
22
- "@gradio/preview": "^0.12.0"
22
+ "@gradio/preview": "^0.13.0"
23
23
  },
24
24
  "main_changeset": true,
25
25
  "main": "./Index.svelte",