@gradio/dataset 0.4.16 → 0.4.18
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 +12 -0
- package/Index.svelte +4 -0
- package/dist/Index.svelte +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @gradio/dataset
|
2
2
|
|
3
|
+
## 0.4.18
|
4
|
+
|
5
|
+
### Fixes
|
6
|
+
|
7
|
+
- [#11181](https://github.com/gradio-app/gradio/pull/11181) [`ee7f17e`](https://github.com/gradio-app/gradio/commit/ee7f17e25642bc4b86f2272b3b5cfcf77c08adf1) - Fix the `.select()` event in `gr.Dataset` in table layout. Thanks @abidlabs!
|
8
|
+
|
9
|
+
## 0.4.17
|
10
|
+
|
11
|
+
### Dependency updates
|
12
|
+
|
13
|
+
- @gradio/upload@0.16.4
|
14
|
+
|
3
15
|
## 0.4.16
|
4
16
|
|
5
17
|
### Dependency updates
|
package/Index.svelte
CHANGED
@@ -204,6 +204,10 @@
|
|
204
204
|
on:click={() => {
|
205
205
|
value = i + page * samples_per_page;
|
206
206
|
gradio.dispatch("click", value);
|
207
|
+
gradio.dispatch("select", {
|
208
|
+
index: value,
|
209
|
+
value: selected_samples[i]
|
210
|
+
});
|
207
211
|
}}
|
208
212
|
on:mouseenter={() => handle_mouseenter(i)}
|
209
213
|
on:mouseleave={() => handle_mouseleave()}
|
package/dist/Index.svelte
CHANGED
@@ -171,6 +171,10 @@ $:
|
|
171
171
|
on:click={() => {
|
172
172
|
value = i + page * samples_per_page;
|
173
173
|
gradio.dispatch("click", value);
|
174
|
+
gradio.dispatch("select", {
|
175
|
+
index: value,
|
176
|
+
value: selected_samples[i]
|
177
|
+
});
|
174
178
|
}}
|
175
179
|
on:mouseenter={() => handle_mouseenter(i)}
|
176
180
|
on:mouseleave={() => handle_mouseleave()}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/dataset",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.18",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"@gradio/atoms": "^0.16.0",
|
20
20
|
"@gradio/client": "^1.14.2",
|
21
21
|
"@gradio/utils": "^0.10.2",
|
22
|
-
"@gradio/upload": "^0.16.
|
22
|
+
"@gradio/upload": "^0.16.4",
|
23
23
|
"@gradio/textbox": "^0.10.10"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|