@gradio/dataset 0.1.25 → 0.1.26

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,16 @@
1
1
  # @gradio/dataset
2
2
 
3
+ ## 0.1.26
4
+
5
+ ### Fixes
6
+
7
+ - [#7564](https://github.com/gradio-app/gradio/pull/7564) [`5d1e8da`](https://github.com/gradio-app/gradio/commit/5d1e8dae5ac23f605c3b5f41dbe18751dff380a0) - batch UI updates on a per frame basis. Thanks @pngwn!
8
+
9
+ ### Dependency updates
10
+
11
+ - @gradio/client@0.14.0
12
+ - @gradio/upload@0.8.0
13
+
3
14
  ## 0.1.25
4
15
 
5
16
  ### Dependency updates
package/Index.svelte CHANGED
@@ -7,8 +7,7 @@
7
7
  export let component_map: Map<
8
8
  string,
9
9
  Promise<{
10
- name: string;
11
- component: { default: ComponentType<SvelteComponent> };
10
+ default: ComponentType<SvelteComponent>;
12
11
  }>
13
12
  >;
14
13
  export let label = "Examples";
@@ -46,6 +45,7 @@
46
45
  function handle_mouseenter(i: number): void {
47
46
  current_hover = i;
48
47
  }
48
+
49
49
  function handle_mouseleave(): void {
50
50
  current_hover = -1;
51
51
  }
@@ -89,7 +89,7 @@
89
89
  sample_row.map(async (sample_cell, j) => {
90
90
  return {
91
91
  value: sample_cell,
92
- component: (await component_map.get(components[j]))?.component
92
+ component: (await component_map.get(components[j]))
93
93
  ?.default as ComponentType<SvelteComponent>
94
94
  };
95
95
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/dataset",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -12,9 +12,9 @@
12
12
  "./package.json": "./package.json"
13
13
  },
14
14
  "dependencies": {
15
+ "@gradio/client": "^0.14.0",
15
16
  "@gradio/atoms": "^0.5.3",
16
- "@gradio/upload": "^0.7.7",
17
- "@gradio/utils": "^0.3.0",
18
- "@gradio/client": "^0.13.0"
17
+ "@gradio/upload": "^0.8.0",
18
+ "@gradio/utils": "^0.3.0"
19
19
  }
20
20
  }