@gradio/image 0.16.0-beta.6 → 0.16.0

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,42 @@
1
1
  # @gradio/image
2
2
 
3
+ ## 0.16.0
4
+
5
+ ### Features
6
+
7
+ - [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Improve Icon Button consistency
8
+ - [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Adds ability to block event trigger when file is uploading
9
+ - [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Open audio/image input stream only when queue is ready
10
+ - [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Streaming Guides
11
+ - [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Send Streaming data over Websocket if possible. Also support base64 output format for images.
12
+ - [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Chatbot autoscroll
13
+ - [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Fix stop recording button colors
14
+ - [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Streaming inputs for 5.0
15
+ - [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Ssr part 2
16
+
17
+ ### Dependencies
18
+
19
+ - @gradio/atoms@0.9.0
20
+ - @gradio/client@1.6.0
21
+ - @gradio/icons@0.8.0
22
+ - @gradio/statustracker@0.8.0
23
+ - @gradio/upload@0.13.0
24
+ - @gradio/utils@0.7.0
25
+ - @gradio/wasm@0.14.0
26
+
27
+ ## 0.16.0-beta.7
28
+
29
+ ### Features
30
+
31
+ - [#9582](https://github.com/gradio-app/gradio/pull/9582) [`43a7f42`](https://github.com/gradio-app/gradio/commit/43a7f420d8ac34c7f7fa71d6e630a4c8618d3780) - Chatbot autoscroll. Thanks @whitphx!
32
+
33
+ ### Dependency updates
34
+
35
+ - @gradio/upload@0.13.0-beta.7
36
+ - @gradio/statustracker@0.8.0-beta.5
37
+ - @gradio/icons@0.8.0-beta.4
38
+ - @gradio/atoms@0.9.0-beta.5
39
+
3
40
  ## 0.16.0-beta.6
4
41
 
5
42
  ### Features
@@ -1,6 +1,4 @@
1
- <script>import { createEventDispatcher } from "svelte";
2
- const dispatch = createEventDispatcher();
3
- import { resolve_wasm_src } from "@gradio/wasm/svelte";
1
+ <script>import { resolve_wasm_src } from "@gradio/wasm/svelte";
4
2
  export let src = void 0;
5
3
  let resolved_src;
6
4
  let latest_src;
@@ -17,7 +15,7 @@ $: {
17
15
  </script>
18
16
 
19
17
  <!-- svelte-ignore a11y-missing-attribute -->
20
- <img src={resolved_src} {...$$restProps} on:load={() => dispatch("load")} />
18
+ <img src={resolved_src} {...$$restProps} on:load />
21
19
 
22
20
  <style>
23
21
  img {
@@ -233,7 +233,7 @@ declare const __propDef: {
233
233
  "data-testid"?: string | undefined;
234
234
  };
235
235
  events: {
236
- load?: CustomEvent<void | undefined> | undefined;
236
+ load: Event;
237
237
  } & {
238
238
  [evt: string]: CustomEvent<any>;
239
239
  };
@@ -16,7 +16,7 @@ declare const __propDef: {
16
16
  events: {
17
17
  share: CustomEvent<import("@gradio/utils").ShareData>;
18
18
  error: CustomEvent<string>;
19
- load: CustomEvent<void | undefined> | undefined;
19
+ load: Event;
20
20
  change: CustomEvent<string>;
21
21
  select: CustomEvent<SelectData>;
22
22
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/image",
3
- "version": "0.16.0-beta.6",
3
+ "version": "0.16.0",
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/atoms": "^0.9.0-beta.4",
14
- "@gradio/client": "^1.6.0-beta.4",
15
- "@gradio/statustracker": "^0.8.0-beta.4",
16
- "@gradio/icons": "^0.8.0-beta.3",
17
- "@gradio/upload": "^0.13.0-beta.6",
18
- "@gradio/utils": "^0.7.0-beta.2",
19
- "@gradio/wasm": "^0.14.0-beta.3"
13
+ "@gradio/client": "^1.6.0",
14
+ "@gradio/icons": "^0.8.0",
15
+ "@gradio/upload": "^0.13.0",
16
+ "@gradio/statustracker": "^0.8.0",
17
+ "@gradio/atoms": "^0.9.0",
18
+ "@gradio/wasm": "^0.14.0",
19
+ "@gradio/utils": "^0.7.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@gradio/preview": "^0.11.2-beta.0"
22
+ "@gradio/preview": "^0.12.0"
23
23
  },
24
24
  "main_changeset": true,
25
25
  "main": "./Index.svelte",
@@ -1,8 +1,6 @@
1
1
  <script lang="ts">
2
2
  import type { HTMLImgAttributes } from "svelte/elements";
3
- import { createEventDispatcher } from "svelte";
4
3
 
5
- const dispatch = createEventDispatcher<{ load?: void }>();
6
4
  interface Props extends HTMLImgAttributes {
7
5
  "data-testid"?: string;
8
6
  }
@@ -37,7 +35,7 @@
37
35
  </script>
38
36
 
39
37
  <!-- svelte-ignore a11y-missing-attribute -->
40
- <img src={resolved_src} {...$$restProps} on:load={() => dispatch("load")} />
38
+ <img src={resolved_src} {...$$restProps} on:load />
41
39
 
42
40
  <style>
43
41
  img {