@gradio/gallery 0.15.32 → 0.15.33

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,21 @@
1
1
  # @gradio/gallery
2
2
 
3
+ ## 0.15.33
4
+
5
+ ### Fixes
6
+
7
+ - [#11784](https://github.com/gradio-app/gradio/pull/11784) [`d9dd3f5`](https://github.com/gradio-app/gradio/commit/d9dd3f54b7fb34cf7118e549d39fc63937ca3489) - Add "hidden" option to component's `visible` kwarg to render but visually hide the component. Thanks @pngwn!
8
+
9
+ ### Dependency updates
10
+
11
+ - @gradio/statustracker@0.11.1
12
+ - @gradio/atoms@0.18.0
13
+ - @gradio/client@1.19.0
14
+ - @gradio/upload@0.17.0
15
+ - @gradio/image@0.23.0
16
+ - @gradio/file@0.13.0
17
+ - @gradio/video@0.16.0
18
+
3
19
  ## 0.15.32
4
20
 
5
21
  ### Fixes
package/Index.svelte CHANGED
@@ -22,7 +22,7 @@
22
22
  export let root: string;
23
23
  export let elem_id = "";
24
24
  export let elem_classes: string[] = [];
25
- export let visible = true;
25
+ export let visible: boolean | "hidden" = true;
26
26
  export let value: GalleryData[] | null = null;
27
27
  export let file_types: string[] | null = ["image", "video"];
28
28
  export let container = true;
@@ -13,7 +13,7 @@ declare const __propDef: {
13
13
  root: string;
14
14
  elem_id?: string;
15
15
  elem_classes?: string[];
16
- visible?: boolean;
16
+ visible?: boolean | "hidden";
17
17
  value?: (GalleryImage | GalleryVideo)[] | null;
18
18
  file_types?: string[] | null;
19
19
  container?: boolean;
@@ -43,7 +43,7 @@ declare const __propDef: {
43
43
  file: FileData;
44
44
  index: number;
45
45
  }>;
46
- upload: CustomEvent<FileData | FileData[]>;
46
+ upload: CustomEvent<any>;
47
47
  } & {
48
48
  [evt: string]: CustomEvent<any>;
49
49
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/gallery",
3
- "version": "0.15.32",
3
+ "version": "0.15.33",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -8,15 +8,15 @@
8
8
  "private": false,
9
9
  "dependencies": {
10
10
  "dequal": "^2.0.2",
11
- "@gradio/atoms": "^0.17.0",
12
- "@gradio/client": "^1.18.0",
11
+ "@gradio/client": "^1.19.0",
12
+ "@gradio/atoms": "^0.18.0",
13
13
  "@gradio/icons": "^0.14.0",
14
- "@gradio/image": "^0.22.18",
15
- "@gradio/statustracker": "^0.11.0",
16
- "@gradio/upload": "^0.16.17",
14
+ "@gradio/image": "^0.23.0",
15
+ "@gradio/upload": "^0.17.0",
17
16
  "@gradio/utils": "^0.10.2",
18
- "@gradio/video": "^0.15.1",
19
- "@gradio/file": "^0.12.29"
17
+ "@gradio/statustracker": "^0.11.1",
18
+ "@gradio/video": "^0.16.0",
19
+ "@gradio/file": "^0.13.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@gradio/preview": "^0.14.0"