@gradio/upload 0.3.0-beta.2 → 0.3.0-beta.4
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 +22 -13
- package/package.json +6 -6
- package/src/Upload.svelte +5 -7
package/CHANGELOG.md
CHANGED
@@ -1,29 +1,38 @@
|
|
1
1
|
# @gradio/upload
|
2
2
|
|
3
|
-
## 0.3.0-beta.
|
3
|
+
## 0.3.0-beta.4
|
4
|
+
|
5
|
+
### Features
|
6
|
+
|
7
|
+
- [#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)!
|
8
|
+
|
9
|
+
## 0.3.3
|
4
10
|
|
5
11
|
### Patch Changes
|
6
12
|
|
7
|
-
- Updated dependencies [[`
|
8
|
-
- @gradio/
|
9
|
-
- @gradio/atoms@0.2.0-beta.2
|
10
|
-
- @gradio/upload@0.3.0-beta.2
|
13
|
+
- Updated dependencies [[`e70805d54`](https://github.com/gradio-app/gradio/commit/e70805d54cc792452545f5d8eccc1aa0212a4695)]:
|
14
|
+
- @gradio/atoms@0.2.0
|
11
15
|
|
12
|
-
## 0.3.
|
16
|
+
## 0.3.2
|
13
17
|
|
14
18
|
### Patch Changes
|
15
19
|
|
16
20
|
- Updated dependencies []:
|
17
|
-
- @gradio/
|
18
|
-
|
19
|
-
|
21
|
+
- @gradio/atoms@0.1.4
|
22
|
+
|
23
|
+
## 0.3.1
|
24
|
+
|
25
|
+
### Patch Changes
|
26
|
+
|
27
|
+
- Updated dependencies [[`8f0fed857`](https://github.com/gradio-app/gradio/commit/8f0fed857d156830626eb48b469d54d211a582d2)]:
|
28
|
+
- @gradio/icons@0.2.0
|
29
|
+
- @gradio/atoms@0.1.3
|
20
30
|
|
21
|
-
## 0.3.0
|
31
|
+
## 0.3.0
|
22
32
|
|
23
33
|
### Features
|
24
34
|
|
25
|
-
- [#
|
26
|
-
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`681f10c31`](https://github.com/gradio-app/gradio/commit/681f10c315a75cc8cd0473c9a0167961af7696db) - release first version. Thanks [@pngwn](https://github.com/pngwn)!
|
35
|
+
- [#5554](https://github.com/gradio-app/gradio/pull/5554) [`75ddeb390`](https://github.com/gradio-app/gradio/commit/75ddeb390d665d4484667390a97442081b49a423) - Accessibility Improvements. Thanks [@hannahblair](https://github.com/hannahblair)!
|
27
36
|
|
28
37
|
## 0.2.1
|
29
38
|
|
@@ -112,4 +121,4 @@ From the backend, streamed outputs are served from the `/stream/` endpoint inste
|
|
112
121
|
### Patch Changes
|
113
122
|
|
114
123
|
- Updated dependencies []:
|
115
|
-
- @gradio/atoms@0.0.2
|
124
|
+
- @gradio/atoms@0.0.2
|
package/package.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/upload",
|
3
|
-
"version": "0.3.0-beta.
|
3
|
+
"version": "0.3.0-beta.4",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"main": "src/index.ts",
|
7
7
|
"author": "",
|
8
8
|
"license": "ISC",
|
9
9
|
"dependencies": {
|
10
|
-
"@gradio/atoms": "^0.2.0-beta.
|
11
|
-
"@gradio/icons": "^0.2.0-beta.
|
12
|
-
"@gradio/
|
13
|
-
"@gradio/
|
14
|
-
"@gradio/utils": "^0.2.0-beta.
|
10
|
+
"@gradio/atoms": "^0.2.0-beta.4",
|
11
|
+
"@gradio/icons": "^0.2.0-beta.1",
|
12
|
+
"@gradio/client": "^0.5.2",
|
13
|
+
"@gradio/upload": "^0.3.0-beta.4",
|
14
|
+
"@gradio/utils": "^0.2.0-beta.4"
|
15
15
|
},
|
16
16
|
"main_changeset": true
|
17
17
|
}
|
package/src/Upload.svelte
CHANGED
@@ -94,10 +94,7 @@
|
|
94
94
|
}
|
95
95
|
</script>
|
96
96
|
|
97
|
-
|
98
|
-
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
99
|
-
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
100
|
-
<div
|
97
|
+
<button
|
101
98
|
class:center
|
102
99
|
class:boundedheight
|
103
100
|
class:flex
|
@@ -123,17 +120,18 @@
|
|
123
120
|
webkitdirectory={file_count === "directory" || undefined}
|
124
121
|
mozdirectory={file_count === "directory" || undefined}
|
125
122
|
/>
|
126
|
-
</
|
123
|
+
</button>
|
127
124
|
|
128
125
|
<style>
|
129
|
-
|
126
|
+
button {
|
130
127
|
cursor: pointer;
|
131
128
|
width: var(--size-full);
|
132
129
|
height: var(--size-full);
|
133
130
|
}
|
134
131
|
|
135
132
|
.center {
|
136
|
-
|
133
|
+
display: flex;
|
134
|
+
justify-content: center;
|
137
135
|
}
|
138
136
|
.flex {
|
139
137
|
display: flex;
|