@gradio/dataset 0.4.32 → 0.4.33
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 +15 -0
- package/dist/Index.svelte +2 -4
- package/dist/Index.svelte.d.ts +13 -11
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @gradio/dataset
|
|
2
2
|
|
|
3
|
+
## 0.4.33
|
|
4
|
+
|
|
5
|
+
### Dependency updates
|
|
6
|
+
|
|
7
|
+
- @gradio/client@1.18.0
|
|
8
|
+
- @gradio/atoms@0.17.0
|
|
9
|
+
- @gradio/upload@0.16.17
|
|
10
|
+
- @gradio/textbox@0.11.0
|
|
11
|
+
|
|
12
|
+
## 0.4.32
|
|
13
|
+
|
|
14
|
+
### Dependency updates
|
|
15
|
+
|
|
16
|
+
- @gradio/upload@0.16.16
|
|
17
|
+
|
|
3
18
|
## 0.4.32
|
|
4
19
|
|
|
5
20
|
### Dependency updates
|
package/dist/Index.svelte
CHANGED
|
@@ -22,8 +22,7 @@ export let gradio;
|
|
|
22
22
|
export let layout = null;
|
|
23
23
|
let samples_dir = proxy_url ? `/proxy=${proxy_url}file=` : `${root}/file=`;
|
|
24
24
|
let page = 0;
|
|
25
|
-
$:
|
|
26
|
-
gallery = (components.length < 2 || sample_labels !== null) && layout !== "table";
|
|
25
|
+
$: gallery = (components.length < 2 || sample_labels !== null) && layout !== "table";
|
|
27
26
|
let paginate = samples ? samples.length > samples_per_page : false;
|
|
28
27
|
let selected_samples;
|
|
29
28
|
let page_count;
|
|
@@ -82,8 +81,7 @@ async function get_component_meta(selected_samples2) {
|
|
|
82
81
|
)
|
|
83
82
|
);
|
|
84
83
|
}
|
|
85
|
-
$:
|
|
86
|
-
component_map, get_component_meta(selected_samples);
|
|
84
|
+
$: component_map, get_component_meta(selected_samples);
|
|
87
85
|
</script>
|
|
88
86
|
|
|
89
87
|
<Block
|
package/dist/Index.svelte.d.ts
CHANGED
|
@@ -8,30 +8,32 @@ declare const __propDef: {
|
|
|
8
8
|
component_map: Map<string, Promise<{
|
|
9
9
|
default: ComponentType<SvelteComponent>;
|
|
10
10
|
}>>;
|
|
11
|
-
label?: string
|
|
12
|
-
show_label?: boolean
|
|
11
|
+
label?: string;
|
|
12
|
+
show_label?: boolean;
|
|
13
13
|
headers: string[];
|
|
14
|
-
samples?:
|
|
15
|
-
sample_labels?:
|
|
16
|
-
elem_id?: string
|
|
17
|
-
elem_classes?: string[]
|
|
18
|
-
visible?: boolean
|
|
19
|
-
value?:
|
|
14
|
+
samples?: any[][] | null;
|
|
15
|
+
sample_labels?: string[] | null;
|
|
16
|
+
elem_id?: string;
|
|
17
|
+
elem_classes?: string[];
|
|
18
|
+
visible?: boolean;
|
|
19
|
+
value?: number | null;
|
|
20
20
|
root: string;
|
|
21
21
|
proxy_url: null | string;
|
|
22
|
-
samples_per_page?: number
|
|
23
|
-
scale?:
|
|
22
|
+
samples_per_page?: number;
|
|
23
|
+
scale?: number | null;
|
|
24
24
|
min_width?: number | undefined;
|
|
25
25
|
gradio: Gradio<{
|
|
26
26
|
click: number;
|
|
27
27
|
select: SelectData;
|
|
28
28
|
}>;
|
|
29
|
-
layout?:
|
|
29
|
+
layout?: "gallery" | "table" | null;
|
|
30
30
|
};
|
|
31
31
|
events: {
|
|
32
32
|
[evt: string]: CustomEvent<any>;
|
|
33
33
|
};
|
|
34
34
|
slots: {};
|
|
35
|
+
exports?: {} | undefined;
|
|
36
|
+
bindings?: string | undefined;
|
|
35
37
|
};
|
|
36
38
|
export type IndexProps = typeof __propDef.props;
|
|
37
39
|
export type IndexEvents = typeof __propDef.events;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/dataset",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.33",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@gradio/atoms": "^0.
|
|
20
|
-
"@gradio/upload": "^0.16.15",
|
|
19
|
+
"@gradio/atoms": "^0.17.0",
|
|
21
20
|
"@gradio/utils": "^0.10.2",
|
|
22
|
-
"@gradio/textbox": "^0.
|
|
23
|
-
"@gradio/
|
|
21
|
+
"@gradio/textbox": "^0.11.0",
|
|
22
|
+
"@gradio/upload": "^0.16.17",
|
|
23
|
+
"@gradio/client": "^1.18.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@gradio/preview": "^0.14.0"
|