@gradio/imageslider 0.2.9 → 0.2.11

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,19 @@
1
1
  # @gradio/imageslider
2
2
 
3
+ ## 0.2.11
4
+
5
+ ### Dependency updates
6
+
7
+ - @gradio/upload@0.16.13
8
+ - @gradio/client@1.16.0
9
+
10
+ ## 0.2.10
11
+
12
+ ### Dependency updates
13
+
14
+ - @gradio/upload@0.16.12
15
+ - @gradio/client@1.15.7
16
+
3
17
  ## 0.2.9
4
18
 
5
19
  ### Dependency updates
@@ -63,9 +63,9 @@ export default class Index extends SvelteComponent<IndexProps, IndexEvents, Inde
63
63
  get visible(): boolean | undefined;
64
64
  /**accessor*/
65
65
  set visible(_: boolean | undefined);
66
- get value(): [any, any] | undefined;
66
+ get value(): [FileData | null, FileData | null] | undefined;
67
67
  /**accessor*/
68
- set value(_: [any, any] | undefined);
68
+ set value(_: [FileData | null, FileData | null] | undefined);
69
69
  get label(): string;
70
70
  /**accessor*/
71
71
  set label(_: string);
@@ -24,7 +24,7 @@ declare const __propDef: {
24
24
  edit: CustomEvent<undefined>;
25
25
  clear: CustomEvent<undefined>;
26
26
  drag: CustomEvent<boolean>;
27
- upload: CustomEvent<[any, any]>;
27
+ upload: CustomEvent<[FileData | null, FileData | null]>;
28
28
  select: CustomEvent<SelectData>;
29
29
  } & {
30
30
  [evt: string]: CustomEvent<any>;
@@ -20,7 +20,7 @@ declare const __propDef: {
20
20
  edit: CustomEvent<undefined>;
21
21
  clear: CustomEvent<undefined>;
22
22
  stream: CustomEvent<string | null>;
23
- upload: CustomEvent<[any, any]>;
23
+ upload: CustomEvent<[FileData | null, FileData | null]>;
24
24
  select: CustomEvent<import("@gradio/utils").SelectData>;
25
25
  share: CustomEvent<any>;
26
26
  } & {
@@ -34,15 +34,15 @@ export type SliderUploadProps = typeof __propDef.props;
34
34
  export type SliderUploadEvents = typeof __propDef.events;
35
35
  export type SliderUploadSlots = typeof __propDef.slots;
36
36
  export default class SliderUpload extends SvelteComponent<SliderUploadProps, SliderUploadEvents, SliderUploadSlots> {
37
- get value(): [any, any] | undefined;
37
+ get value(): [FileData | null, FileData | null] | undefined;
38
38
  /**accessor*/
39
- set value(_: [any, any] | undefined);
40
- get upload(): Client;
39
+ set value(_: [FileData | null, FileData | null] | undefined);
40
+ get upload(): (file_data: FileData[], root_url: string, upload_id?: string, max_file_size?: number) => Promise<(FileData | null)[] | null>;
41
41
  /**accessor*/
42
- set upload(_: Client);
43
- get stream_handler(): Client;
42
+ set upload(_: (file_data: FileData[], root_url: string, upload_id?: string, max_file_size?: number) => Promise<(FileData | null)[] | null>);
43
+ get stream_handler(): (url: URL) => EventSource;
44
44
  /**accessor*/
45
- set stream_handler(_: Client);
45
+ set stream_handler(_: (url: URL) => EventSource);
46
46
  get label(): string;
47
47
  /**accessor*/
48
48
  set label(_: string);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/imageslider",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -12,9 +12,9 @@
12
12
  "d3-drag": "^3.0.0",
13
13
  "d3-selection": "^3.0.0",
14
14
  "@gradio/atoms": "^0.16.3",
15
+ "@gradio/client": "^1.16.0",
15
16
  "@gradio/icons": "^0.12.0",
16
- "@gradio/client": "^1.15.6",
17
- "@gradio/upload": "^0.16.11",
17
+ "@gradio/upload": "^0.16.13",
18
18
  "@gradio/utils": "^0.10.2",
19
19
  "@gradio/statustracker": "^0.10.15",
20
20
  "@gradio/wasm": "^0.18.1"