@gradio/dataset 0.1.0-beta.0 → 0.1.0-beta.2

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @gradio/dataset
2
2
 
3
+ ## 0.1.0-beta.2
4
+
5
+ ### Features
6
+
7
+ - [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
8
+
9
+ ## 0.1.0-beta.1
10
+
11
+ ### Features
12
+
13
+ - [#6016](https://github.com/gradio-app/gradio/pull/6016) [`83e947676`](https://github.com/gradio-app/gradio/commit/83e947676d327ca2ab6ae2a2d710c78961c771a0) - Format js in v4 branch. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
14
+ - [#6014](https://github.com/gradio-app/gradio/pull/6014) [`cad537aac`](https://github.com/gradio-app/gradio/commit/cad537aac57998560c9f44a37499be734de66349) - pass props to example components and to example outputs. Thanks [@pngwn](https://github.com/pngwn)!
15
+
3
16
  ## 0.1.0-beta.0
4
17
 
5
18
  ### Features
package/Index.svelte CHANGED
@@ -2,8 +2,9 @@
2
2
  import { Block } from "@gradio/atoms";
3
3
  import type { SvelteComponent, ComponentType } from "svelte";
4
4
  import type { Gradio, SelectData } from "@gradio/utils";
5
- import { get_fetchable_url_or_file } from "@gradio/upload";
5
+ import { get_fetchable_url_or_file } from "@gradio/client";
6
6
  export let components: string[];
7
+ export let component_props: Record<string, any>[];
7
8
  export let component_map: Map<
8
9
  string,
9
10
  Promise<{
@@ -141,6 +142,7 @@
141
142
  {#if component_meta.length && component_map.get(components[0])}
142
143
  <svelte:component
143
144
  this={component_meta[0][0].component}
145
+ {...component_props[0]}
144
146
  value={sample_row[0]}
145
147
  {samples_dir}
146
148
  type="gallery"
@@ -185,6 +187,7 @@
185
187
  >
186
188
  <svelte:component
187
189
  this={component}
190
+ {...component_props[j]}
188
191
  {value}
189
192
  {samples_dir}
190
193
  type="table"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/dataset",
3
- "version": "0.1.0-beta.0",
3
+ "version": "0.1.0-beta.2",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -12,8 +12,9 @@
12
12
  "./package.json": "./package.json"
13
13
  },
14
14
  "dependencies": {
15
- "@gradio/atoms": "^0.2.0-beta.4",
16
- "@gradio/utils": "^0.2.0-beta.4",
17
- "@gradio/upload": "^0.3.0-beta.4"
15
+ "@gradio/atoms": "^0.2.0-beta.6",
16
+ "@gradio/client": "^0.7.0-beta.1",
17
+ "@gradio/utils": "^0.2.0-beta.6",
18
+ "@gradio/upload": "^0.3.0-beta.6"
18
19
  }
19
20
  }