@gradio/dataset 0.4.33 → 0.4.35-dev.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 CHANGED
@@ -1,5 +1,39 @@
1
1
  # @gradio/dataset
2
2
 
3
+ ## 0.4.35-dev.0
4
+
5
+ ### Dependency updates
6
+
7
+ - @gradio/upload@0.17.2-dev.0
8
+ - @gradio/client@2.0.0-dev.0
9
+
10
+ ## 0.4.34
11
+
12
+ ### Dependency updates
13
+
14
+ - @gradio/client@1.19.1
15
+
16
+ ## 0.4.34
17
+
18
+ ### Dependency updates
19
+
20
+ - @gradio/upload@0.17.1
21
+ - @gradio/atoms@0.18.1
22
+
23
+ ## 0.4.34
24
+
25
+ ### Fixes
26
+
27
+ - [#11920](https://github.com/gradio-app/gradio/pull/11920) [`0f38b65`](https://github.com/gradio-app/gradio/commit/0f38b65f551cb61b3e9ed668e0ea525441672482) - Fix Examples Pagination. Thanks @freddyaboulton!
28
+ - [#11784](https://github.com/gradio-app/gradio/pull/11784) [`d9dd3f5`](https://github.com/gradio-app/gradio/commit/d9dd3f54b7fb34cf7118e549d39fc63937ca3489) - Add "hidden" option to component's `visible` kwarg to render but visually hide the component. Thanks @pngwn!
29
+
30
+ ### Dependency updates
31
+
32
+ - @gradio/atoms@0.18.0
33
+ - @gradio/client@1.19.0
34
+ - @gradio/upload@0.17.0
35
+ - @gradio/textbox@0.11.1
36
+
3
37
  ## 0.4.33
4
38
 
5
39
  ### Dependency updates
package/Index.svelte CHANGED
@@ -19,7 +19,7 @@
19
19
  export let sample_labels: string[] | null = null;
20
20
  export let elem_id = "";
21
21
  export let elem_classes: string[] = [];
22
- export let visible = true;
22
+ export let visible: boolean | "hidden" = true;
23
23
  export let value: number | null = null;
24
24
  export let root: string;
25
25
  export let proxy_url: null | string;
@@ -63,7 +63,7 @@
63
63
  } else if (!samples) {
64
64
  samples = [];
65
65
  }
66
- if (samples !== old_samples) {
66
+ if (JSON.stringify(samples) !== JSON.stringify(old_samples)) {
67
67
  page = 0;
68
68
  old_samples = samples;
69
69
  }
package/dist/Index.svelte CHANGED
@@ -40,7 +40,7 @@ $: {
40
40
  } else if (!samples) {
41
41
  samples = [];
42
42
  }
43
- if (samples !== old_samples) {
43
+ if (JSON.stringify(samples) !== JSON.stringify(old_samples)) {
44
44
  page = 0;
45
45
  old_samples = samples;
46
46
  }
@@ -15,7 +15,7 @@ declare const __propDef: {
15
15
  sample_labels?: string[] | null;
16
16
  elem_id?: string;
17
17
  elem_classes?: string[];
18
- visible?: boolean;
18
+ visible?: boolean | "hidden";
19
19
  value?: number | null;
20
20
  root: string;
21
21
  proxy_url: null | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/dataset",
3
- "version": "0.4.33",
3
+ "version": "0.4.35-dev.0",
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.17.0",
19
+ "@gradio/client": "^2.0.0-dev.0",
20
20
  "@gradio/utils": "^0.10.2",
21
- "@gradio/textbox": "^0.11.0",
22
- "@gradio/upload": "^0.16.17",
23
- "@gradio/client": "^1.18.0"
21
+ "@gradio/atoms": "^0.18.1",
22
+ "@gradio/upload": "^0.17.2-dev.0",
23
+ "@gradio/textbox": "^0.11.1"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@gradio/preview": "^0.14.0"