@gradio/annotatedimage 0.10.0 → 0.10.1-dev.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,25 @@
1
1
  # @gradio/annotatedimage
2
2
 
3
+ ## 0.10.1-dev.0
4
+
5
+ ### Dependency updates
6
+
7
+ - @gradio/upload@0.17.2-dev.0
8
+ - @gradio/client@2.0.0-dev.0
9
+
10
+ ## 0.10.0
11
+
12
+ ### Dependency updates
13
+
14
+ - @gradio/client@1.19.1
15
+
16
+ ## 0.10.0
17
+
18
+ ### Dependency updates
19
+
20
+ - @gradio/upload@0.17.1
21
+ - @gradio/atoms@0.18.1
22
+
3
23
  ## 0.10.0
4
24
 
5
25
  ### Features
package/Index.svelte CHANGED
@@ -43,7 +43,7 @@
43
43
  export let min_width: number | undefined = undefined;
44
44
  let active: string | null = null;
45
45
  export let loading_status: LoadingStatus;
46
- export let show_fullscreen_button = true;
46
+ export let buttons: string[] | null = null;
47
47
 
48
48
  let image_container: HTMLElement;
49
49
  let fullscreen = false;
@@ -115,7 +115,7 @@
115
115
  {:else}
116
116
  <div class="image-container" bind:this={image_container}>
117
117
  <IconButtonWrapper>
118
- {#if show_fullscreen_button}
118
+ {#if buttons?.includes("fullscreen") ?? true}
119
119
  <FullscreenButton
120
120
  {fullscreen}
121
121
  on:fullscreen={({ detail }) => {
package/dist/Index.svelte CHANGED
@@ -26,7 +26,7 @@ export let scale = null;
26
26
  export let min_width = void 0;
27
27
  let active = null;
28
28
  export let loading_status;
29
- export let show_fullscreen_button = true;
29
+ export let buttons = null;
30
30
  let image_container;
31
31
  let fullscreen = false;
32
32
  let latest_promise = null;
@@ -92,7 +92,7 @@ function handle_click(i, value2) {
92
92
  {:else}
93
93
  <div class="image-container" bind:this={image_container}>
94
94
  <IconButtonWrapper>
95
- {#if show_fullscreen_button}
95
+ {#if buttons?.includes("fullscreen") ?? true}
96
96
  <FullscreenButton
97
97
  {fullscreen}
98
98
  on:fullscreen={({ detail }) => {
@@ -28,7 +28,7 @@ declare const __propDef: {
28
28
  scale?: number | null;
29
29
  min_width?: number | undefined;
30
30
  loading_status: LoadingStatus;
31
- show_fullscreen_button?: boolean;
31
+ buttons?: string[] | null;
32
32
  };
33
33
  events: {
34
34
  [evt: string]: CustomEvent<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/annotatedimage",
3
- "version": "0.10.0",
3
+ "version": "0.10.1-dev.0",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -22,12 +22,12 @@
22
22
  "svelte": "^4.0.0"
23
23
  },
24
24
  "dependencies": {
25
- "@gradio/atoms": "^0.18.0",
26
- "@gradio/icons": "^0.14.0",
25
+ "@gradio/atoms": "^0.18.1",
27
26
  "@gradio/statustracker": "^0.11.1",
28
- "@gradio/upload": "^0.17.0",
27
+ "@gradio/upload": "^0.17.2-dev.0",
29
28
  "@gradio/utils": "^0.10.2",
30
- "@gradio/client": "^1.19.0"
29
+ "@gradio/icons": "^0.14.0",
30
+ "@gradio/client": "^2.0.0-dev.0"
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",