@gradio/dataframe 0.8.12 → 0.9.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/Example.svelte +4 -5
- package/package.json +9 -9
- package/shared/Example.svelte +6 -0
- package/shared/Table.svelte +4 -0
- package/shared/VirtualTable.svelte +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @gradio/dataframe
|
|
2
2
|
|
|
3
|
+
## 0.9.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- [#8745](https://github.com/gradio-app/gradio/pull/8745) [`4030f28`](https://github.com/gradio-app/gradio/commit/4030f28af6ae9f3eb94bb4e9cae83fb7016cdaad) - Allows updating the dataset of a `gr.Examples`. Thanks @abidlabs!
|
|
8
|
+
|
|
9
|
+
### Dependency updates
|
|
10
|
+
|
|
11
|
+
- @gradio/markdown@0.9.0
|
|
12
|
+
- @gradio/client@1.4.0
|
|
13
|
+
- @gradio/statustracker@0.7.2
|
|
14
|
+
- @gradio/upload@0.12.0
|
|
15
|
+
- @gradio/atoms@0.7.7
|
|
16
|
+
- @gradio/button@0.2.47
|
|
17
|
+
|
|
18
|
+
## 0.8.13
|
|
19
|
+
|
|
20
|
+
### Fixes
|
|
21
|
+
|
|
22
|
+
- [#8763](https://github.com/gradio-app/gradio/pull/8763) [`c1ecfde`](https://github.com/gradio-app/gradio/commit/c1ecfde50e55902140aafc3551968e26c1bb4cd0) - 8394 df hidden items. Thanks @pngwn!
|
|
23
|
+
|
|
24
|
+
### Dependency updates
|
|
25
|
+
|
|
26
|
+
- @gradio/atoms@0.7.6
|
|
27
|
+
- @gradio/utils@0.5.1
|
|
28
|
+
- @gradio/statustracker@0.7.1
|
|
29
|
+
- @gradio/client@1.3.0
|
|
30
|
+
- @gradio/markdown@0.8.1
|
|
31
|
+
- @gradio/upload@0.11.5
|
|
32
|
+
- @gradio/button@0.2.46
|
|
33
|
+
|
|
3
34
|
## 0.8.12
|
|
4
35
|
|
|
5
36
|
### Dependency updates
|
package/Example.svelte
CHANGED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
export let index: number;
|
|
6
6
|
|
|
7
7
|
let hovered = false;
|
|
8
|
-
let
|
|
9
|
-
let loaded = Array.isArray(loaded_value);
|
|
8
|
+
let loaded = Array.isArray(value);
|
|
10
9
|
</script>
|
|
11
10
|
|
|
12
11
|
{#if loaded}
|
|
@@ -19,11 +18,11 @@
|
|
|
19
18
|
on:mouseenter={() => (hovered = true)}
|
|
20
19
|
on:mouseleave={() => (hovered = false)}
|
|
21
20
|
>
|
|
22
|
-
{#if typeof
|
|
23
|
-
{
|
|
21
|
+
{#if typeof value === "string"}
|
|
22
|
+
{value}
|
|
24
23
|
{:else}
|
|
25
24
|
<table class="">
|
|
26
|
-
{#each
|
|
25
|
+
{#each value.slice(0, 3) as row, i}
|
|
27
26
|
<tr>
|
|
28
27
|
{#each row.slice(0, 3) as cell, j}
|
|
29
28
|
<td>{cell}</td>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/dataframe",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"dompurify": "^3.0.3",
|
|
18
18
|
"katex": "^0.16.7",
|
|
19
19
|
"marked": "^12.0.0",
|
|
20
|
-
"@gradio/atoms": "^0.7.
|
|
21
|
-
"@gradio/client": "^1.
|
|
22
|
-
"@gradio/
|
|
23
|
-
"@gradio/
|
|
24
|
-
"@gradio/
|
|
25
|
-
"@gradio/
|
|
26
|
-
"@gradio/
|
|
20
|
+
"@gradio/atoms": "^0.7.7",
|
|
21
|
+
"@gradio/client": "^1.4.0",
|
|
22
|
+
"@gradio/upload": "^0.12.0",
|
|
23
|
+
"@gradio/markdown": "^0.9.0",
|
|
24
|
+
"@gradio/statustracker": "^0.7.2",
|
|
25
|
+
"@gradio/utils": "^0.5.1",
|
|
26
|
+
"@gradio/button": "^0.2.47"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|
|
29
29
|
".": "./Index.svelte",
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"./package.json": "./package.json"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@gradio/preview": "^0.10.
|
|
34
|
+
"@gradio/preview": "^0.10.1"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/shared/Example.svelte
CHANGED
package/shared/Table.svelte
CHANGED