@gradio/button 0.2.0-beta.7 → 0.2.1
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 +24 -7
- package/Index.svelte +2 -2
- package/package.json +4 -4
- package/shared/Button.svelte +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,25 +1,42 @@
|
|
1
1
|
# @gradio/button
|
2
2
|
|
3
|
+
## 0.2.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [[`2ba14b284`](https://github.com/gradio-app/gradio/commit/2ba14b284f908aa13859f4337167a157075a68eb)]:
|
8
|
+
- @gradio/client@0.7.1
|
9
|
+
- @gradio/upload@0.3.1
|
10
|
+
|
11
|
+
## 0.2.0
|
12
|
+
|
13
|
+
### Features
|
14
|
+
|
15
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
16
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Clean root url. Thanks [@pngwn](https://github.com/pngwn)!
|
17
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Publish all components to npm. Thanks [@pngwn](https://github.com/pngwn)!
|
18
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Custom components. Thanks [@pngwn](https://github.com/pngwn)!
|
19
|
+
|
3
20
|
## 0.2.0-beta.7
|
4
21
|
|
5
22
|
### Features
|
6
23
|
|
7
|
-
- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload.
|
8
|
-
- [#6136](https://github.com/gradio-app/gradio/pull/6136) [`667802a6c`](https://github.com/gradio-app/gradio/commit/667802a6cdbfb2ce454a3be5a78e0990b194548a) - JS Component Documentation.
|
9
|
-
- [#6149](https://github.com/gradio-app/gradio/pull/6149) [`90318b1dd`](https://github.com/gradio-app/gradio/commit/90318b1dd118ae08a695a50e7c556226234ab6dc) - swap `mode` on the frontned to `interactive` to match the backend.
|
24
|
+
- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
25
|
+
- [#6136](https://github.com/gradio-app/gradio/pull/6136) [`667802a6c`](https://github.com/gradio-app/gradio/commit/667802a6cdbfb2ce454a3be5a78e0990b194548a) - JS Component Documentation. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
26
|
+
- [#6149](https://github.com/gradio-app/gradio/pull/6149) [`90318b1dd`](https://github.com/gradio-app/gradio/commit/90318b1dd118ae08a695a50e7c556226234ab6dc) - swap `mode` on the frontned to `interactive` to match the backend. Thanks [@pngwn](https://github.com/pngwn)!
|
10
27
|
|
11
28
|
## 0.2.0-beta.6
|
12
29
|
|
13
30
|
### Fixes
|
14
31
|
|
15
|
-
- [#6046](https://github.com/gradio-app/gradio/pull/6046) [`dbb7de5e0`](https://github.com/gradio-app/gradio/commit/dbb7de5e02c53fee05889d696d764d212cb96c74) - fix tests.
|
32
|
+
- [#6046](https://github.com/gradio-app/gradio/pull/6046) [`dbb7de5e0`](https://github.com/gradio-app/gradio/commit/dbb7de5e02c53fee05889d696d764d212cb96c74) - fix tests. Thanks [@pngwn](https://github.com/pngwn)!
|
16
33
|
|
17
34
|
## 0.2.0-beta.5
|
18
35
|
|
19
36
|
### Features
|
20
37
|
|
21
|
-
- [#5960](https://github.com/gradio-app/gradio/pull/5960) [`319c30f3f`](https://github.com/gradio-app/gradio/commit/319c30f3fccf23bfe1da6c9b132a6a99d59652f7) - rererefactor frontend files.
|
22
|
-
- [#5938](https://github.com/gradio-app/gradio/pull/5938) [`13ed8a485`](https://github.com/gradio-app/gradio/commit/13ed8a485d5e31d7d75af87fe8654b661edcca93) - V4: Use beta release versions for '@gradio' packages.
|
38
|
+
- [#5960](https://github.com/gradio-app/gradio/pull/5960) [`319c30f3f`](https://github.com/gradio-app/gradio/commit/319c30f3fccf23bfe1da6c9b132a6a99d59652f7) - rererefactor frontend files. Thanks [@pngwn](https://github.com/pngwn)!
|
39
|
+
- [#5938](https://github.com/gradio-app/gradio/pull/5938) [`13ed8a485`](https://github.com/gradio-app/gradio/commit/13ed8a485d5e31d7d75af87fe8654b661edcca93) - V4: Use beta release versions for '@gradio' packages. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
23
40
|
|
24
41
|
## 0.2.3
|
25
42
|
|
@@ -101,4 +118,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
|
|
101
118
|
### Patch Changes
|
102
119
|
|
103
120
|
- Updated dependencies []:
|
104
|
-
- @gradio/utils@0.0.2
|
121
|
+
- @gradio/utils@0.0.2
|
package/Index.svelte
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
click: never;
|
23
23
|
}>;
|
24
24
|
export let root = "";
|
25
|
-
export let
|
25
|
+
export let proxy_url: null | string = null;
|
26
26
|
</script>
|
27
27
|
|
28
28
|
<Button
|
@@ -37,7 +37,7 @@
|
|
37
37
|
{min_width}
|
38
38
|
{visible}
|
39
39
|
{root}
|
40
|
-
{
|
40
|
+
{proxy_url}
|
41
41
|
disabled={!interactive}
|
42
42
|
on:click={() => gradio.dispatch("click")}
|
43
43
|
>
|
package/package.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/button",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.1",
|
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/client": "^0.7.
|
11
|
-
"@gradio/upload": "^0.3.
|
12
|
-
"@gradio/utils": "^0.2.0
|
10
|
+
"@gradio/client": "^0.7.1",
|
11
|
+
"@gradio/upload": "^0.3.1",
|
12
|
+
"@gradio/utils": "^0.2.0"
|
13
13
|
},
|
14
14
|
"main": "./Index.svelte",
|
15
15
|
"main_changeset": true,
|
package/shared/Button.svelte
CHANGED
@@ -13,8 +13,8 @@
|
|
13
13
|
export let scale: number | null = null;
|
14
14
|
export let min_width: number | undefined = undefined;
|
15
15
|
export let root = "";
|
16
|
-
export let
|
17
|
-
$: icon_path = get_fetchable_url_or_file(icon, root,
|
16
|
+
export let proxy_url: string | null = null;
|
17
|
+
$: icon_path = get_fetchable_url_or_file(icon, root, proxy_url);
|
18
18
|
</script>
|
19
19
|
|
20
20
|
{#if link && link.length > 0}
|