@gradio/downloadbutton 0.4.11 → 0.4.13-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 +31 -0
- package/Index.svelte +1 -1
- package/dist/Index.svelte.d.ts +10 -8
- package/dist/shared/DownloadButton.svelte.d.ts +9 -7
- package/package.json +3 -3
- package/shared/DownloadButton.svelte +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @gradio/downloadbutton
|
|
2
2
|
|
|
3
|
+
## 0.4.13-dev.0
|
|
4
|
+
|
|
5
|
+
### Dependency updates
|
|
6
|
+
|
|
7
|
+
- @gradio/client@2.0.0-dev.0
|
|
8
|
+
- @gradio/button@0.5.14-dev.0
|
|
9
|
+
|
|
10
|
+
## 0.4.12
|
|
11
|
+
|
|
12
|
+
### Dependency updates
|
|
13
|
+
|
|
14
|
+
- @gradio/client@1.19.1
|
|
15
|
+
|
|
16
|
+
## 0.4.12
|
|
17
|
+
|
|
18
|
+
### Fixes
|
|
19
|
+
|
|
20
|
+
- [#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!
|
|
21
|
+
|
|
22
|
+
### Dependency updates
|
|
23
|
+
|
|
24
|
+
- @gradio/client@1.19.0
|
|
25
|
+
- @gradio/button@0.5.13
|
|
26
|
+
|
|
27
|
+
## 0.4.11
|
|
28
|
+
|
|
29
|
+
### Dependency updates
|
|
30
|
+
|
|
31
|
+
- @gradio/client@1.18.0
|
|
32
|
+
- @gradio/button@0.5.12
|
|
33
|
+
|
|
3
34
|
## 0.4.11
|
|
4
35
|
|
|
5
36
|
### Dependency updates
|
package/Index.svelte
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
export let elem_id = "";
|
|
12
12
|
export let elem_classes: string[] = [];
|
|
13
|
-
export let visible = true;
|
|
13
|
+
export let visible: boolean | "hidden" = true;
|
|
14
14
|
export let value: null | FileData;
|
|
15
15
|
export let variant: "primary" | "secondary" | "stop" = "secondary";
|
|
16
16
|
export let interactive: boolean;
|
package/dist/Index.svelte.d.ts
CHANGED
|
@@ -4,17 +4,17 @@ import type { Gradio } from "@gradio/utils";
|
|
|
4
4
|
import { type FileData } from "@gradio/client";
|
|
5
5
|
declare const __propDef: {
|
|
6
6
|
props: {
|
|
7
|
-
elem_id?: string
|
|
8
|
-
elem_classes?: string[]
|
|
9
|
-
visible?: boolean |
|
|
7
|
+
elem_id?: string;
|
|
8
|
+
elem_classes?: string[];
|
|
9
|
+
visible?: boolean | "hidden";
|
|
10
10
|
value: null | FileData;
|
|
11
|
-
variant?:
|
|
11
|
+
variant?: "primary" | "secondary" | "stop";
|
|
12
12
|
interactive: boolean;
|
|
13
|
-
size?:
|
|
14
|
-
scale?:
|
|
15
|
-
icon?:
|
|
13
|
+
size?: "sm" | "lg";
|
|
14
|
+
scale?: number | null;
|
|
15
|
+
icon?: null | FileData;
|
|
16
16
|
min_width?: number | undefined;
|
|
17
|
-
label?:
|
|
17
|
+
label?: string | null;
|
|
18
18
|
gradio: Gradio<{
|
|
19
19
|
click: never;
|
|
20
20
|
}>;
|
|
@@ -23,6 +23,8 @@ declare const __propDef: {
|
|
|
23
23
|
[evt: string]: CustomEvent<any>;
|
|
24
24
|
};
|
|
25
25
|
slots: {};
|
|
26
|
+
exports?: {} | undefined;
|
|
27
|
+
bindings?: string | undefined;
|
|
26
28
|
};
|
|
27
29
|
export type IndexProps = typeof __propDef.props;
|
|
28
30
|
export type IndexEvents = typeof __propDef.events;
|
|
@@ -2,15 +2,15 @@ import { SvelteComponent } from "svelte";
|
|
|
2
2
|
import { type FileData } from "@gradio/client";
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
elem_id?: string
|
|
6
|
-
elem_classes?: string[]
|
|
7
|
-
visible?: boolean |
|
|
8
|
-
variant?:
|
|
9
|
-
size?:
|
|
5
|
+
elem_id?: string;
|
|
6
|
+
elem_classes?: string[];
|
|
7
|
+
visible?: boolean | "hidden";
|
|
8
|
+
variant?: "primary" | "secondary" | "stop";
|
|
9
|
+
size?: "sm" | "md" | "lg";
|
|
10
10
|
value: null | FileData;
|
|
11
11
|
icon: null | FileData;
|
|
12
|
-
disabled?: boolean
|
|
13
|
-
scale?:
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
scale?: number | null;
|
|
14
14
|
min_width?: number | undefined;
|
|
15
15
|
};
|
|
16
16
|
events: {
|
|
@@ -21,6 +21,8 @@ declare const __propDef: {
|
|
|
21
21
|
slots: {
|
|
22
22
|
default: {};
|
|
23
23
|
};
|
|
24
|
+
exports?: {} | undefined;
|
|
25
|
+
bindings?: string | undefined;
|
|
24
26
|
};
|
|
25
27
|
export type DownloadButtonProps = typeof __propDef.props;
|
|
26
28
|
export type DownloadButtonEvents = typeof __propDef.events;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/downloadbutton",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.13-dev.0",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "ISC",
|
|
8
8
|
"private": false,
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@gradio/button": "^0.5.
|
|
11
|
-
"@gradio/client": "^
|
|
10
|
+
"@gradio/button": "^0.5.14-dev.0",
|
|
11
|
+
"@gradio/client": "^2.0.0-dev.0",
|
|
12
12
|
"@gradio/utils": "^0.10.2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
export let elem_id = "";
|
|
7
7
|
export let elem_classes: string[] = [];
|
|
8
|
-
export let visible = true;
|
|
8
|
+
export let visible: boolean | "hidden" = true;
|
|
9
9
|
export let variant: "primary" | "secondary" | "stop" = "secondary";
|
|
10
10
|
export let size: "sm" | "md" | "lg" = "lg";
|
|
11
11
|
export let value: null | FileData;
|