@gradio/file 0.2.1 → 0.2.3
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 +17 -0
- package/File.stories.svelte +9 -7
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# @gradio/file
|
2
2
|
|
3
|
+
## 0.2.3
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [[`bca6c2c80`](https://github.com/gradio-app/gradio/commit/bca6c2c80f7e5062427019de45c282238388af95), [`3cdeabc68`](https://github.com/gradio-app/gradio/commit/3cdeabc6843000310e1a9e1d17190ecbf3bbc780), [`fad92c29d`](https://github.com/gradio-app/gradio/commit/fad92c29dc1f5cd84341aae417c495b33e01245f)]:
|
8
|
+
- @gradio/client@0.7.2
|
9
|
+
- @gradio/atoms@0.2.1
|
10
|
+
- @gradio/upload@0.3.3
|
11
|
+
- @gradio/statustracker@0.3.1
|
12
|
+
|
13
|
+
## 0.2.2
|
14
|
+
|
15
|
+
### Patch Changes
|
16
|
+
|
17
|
+
- Updated dependencies [[`aaa55ce85`](https://github.com/gradio-app/gradio/commit/aaa55ce85e12f95aba9299445e9c5e59824da18e)]:
|
18
|
+
- @gradio/upload@0.3.2
|
19
|
+
|
3
20
|
## 0.2.1
|
4
21
|
|
5
22
|
### Patch Changes
|
package/File.stories.svelte
CHANGED
@@ -21,25 +21,27 @@
|
|
21
21
|
</Template>
|
22
22
|
|
23
23
|
<Story
|
24
|
-
name="
|
24
|
+
name="Single File"
|
25
25
|
args={{
|
26
26
|
value: [
|
27
27
|
{
|
28
|
-
|
29
|
-
|
28
|
+
path: "groot.jpg",
|
29
|
+
orig_name: "groot.jpg",
|
30
|
+
url: "https://i.ibb.co/6BgKdSj/groot.jpg",
|
30
31
|
size: 10000
|
31
32
|
}
|
32
33
|
]
|
33
34
|
}}
|
34
35
|
/>
|
35
36
|
<Story
|
36
|
-
name="
|
37
|
+
name="Multiple files, with height set to 150px"
|
37
38
|
args={{
|
38
39
|
value: Array(10).fill({
|
39
|
-
|
40
|
-
|
40
|
+
path: "groot.jpg",
|
41
|
+
orig_name: "groot.jpg",
|
42
|
+
url: "https://i.ibb.co/6BgKdSj/groot.jpg",
|
41
43
|
size: 10000
|
42
44
|
}),
|
43
|
-
height:
|
45
|
+
height: 150
|
44
46
|
}}
|
45
47
|
/>
|
package/package.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/file",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.3",
|
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/atoms": "^0.2.
|
11
|
-
"@gradio/client": "^0.7.
|
10
|
+
"@gradio/atoms": "^0.2.1",
|
11
|
+
"@gradio/client": "^0.7.2",
|
12
12
|
"@gradio/icons": "^0.2.0",
|
13
|
-
"@gradio/statustracker": "^0.3.
|
14
|
-
"@gradio/upload": "^0.3.
|
13
|
+
"@gradio/statustracker": "^0.3.1",
|
14
|
+
"@gradio/upload": "^0.3.3",
|
15
15
|
"@gradio/utils": "^0.2.0"
|
16
16
|
},
|
17
17
|
"main": "./Index.svelte",
|