@gradio/dataframe 0.8.13 → 0.9.1

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,31 @@
1
1
  # @gradio/dataframe
2
2
 
3
+ ## 0.9.1
4
+
5
+ ### Dependency updates
6
+
7
+ - @gradio/atoms@0.7.8
8
+ - @gradio/utils@0.5.2
9
+ - @gradio/statustracker@0.7.3
10
+ - @gradio/upload@0.12.1
11
+ - @gradio/markdown@0.9.1
12
+ - @gradio/button@0.2.48
13
+
14
+ ## 0.9.0
15
+
16
+ ### Features
17
+
18
+ - [#8745](https://github.com/gradio-app/gradio/pull/8745) [`4030f28`](https://github.com/gradio-app/gradio/commit/4030f28af6ae9f3eb94bb4e9cae83fb7016cdaad) - Allows updating the dataset of a `gr.Examples`. Thanks @abidlabs!
19
+
20
+ ### Dependency updates
21
+
22
+ - @gradio/markdown@0.9.0
23
+ - @gradio/client@1.4.0
24
+ - @gradio/statustracker@0.7.2
25
+ - @gradio/upload@0.12.0
26
+ - @gradio/atoms@0.7.7
27
+ - @gradio/button@0.2.47
28
+
3
29
  ## 0.8.13
4
30
 
5
31
  ### Fixes
package/Example.svelte CHANGED
@@ -5,8 +5,7 @@
5
5
  export let index: number;
6
6
 
7
7
  let hovered = false;
8
- let loaded_value: (string | number)[][] | string = value;
9
- let loaded = Array.isArray(loaded_value);
8
+ let loaded = Array.isArray(value);
10
9
  </script>
11
10
 
12
11
  {#if loaded}
@@ -19,11 +18,11 @@
19
18
  on:mouseenter={() => (hovered = true)}
20
19
  on:mouseleave={() => (hovered = false)}
21
20
  >
22
- {#if typeof loaded_value === "string"}
23
- {loaded_value}
21
+ {#if typeof value === "string"}
22
+ {value}
24
23
  {:else}
25
24
  <table class="">
26
- {#each loaded_value.slice(0, 3) as row, i}
25
+ {#each value.slice(0, 3) as row, i}
27
26
  <tr>
28
27
  {#each row.slice(0, 3) as cell, j}
29
28
  <td>{cell}</td>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/dataframe",
3
- "version": "0.8.13",
3
+ "version": "0.9.1",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -17,13 +17,13 @@
17
17
  "dompurify": "^3.0.3",
18
18
  "katex": "^0.16.7",
19
19
  "marked": "^12.0.0",
20
- "@gradio/atoms": "^0.7.6",
21
- "@gradio/client": "^1.3.0",
22
- "@gradio/markdown": "^0.8.1",
23
- "@gradio/statustracker": "^0.7.1",
24
- "@gradio/utils": "^0.5.1",
25
- "@gradio/upload": "^0.11.5",
26
- "@gradio/button": "^0.2.46"
20
+ "@gradio/atoms": "^0.7.8",
21
+ "@gradio/button": "^0.2.48",
22
+ "@gradio/client": "^1.4.0",
23
+ "@gradio/statustracker": "^0.7.3",
24
+ "@gradio/markdown": "^0.9.1",
25
+ "@gradio/upload": "^0.12.1",
26
+ "@gradio/utils": "^0.5.2"
27
27
  },
28
28
  "exports": {
29
29
  ".": "./Index.svelte",
@@ -31,6 +31,6 @@
31
31
  "./package.json": "./package.json"
32
32
  },
33
33
  "devDependencies": {
34
- "@gradio/preview": "^0.10.1"
34
+ "@gradio/preview": "^0.10.2"
35
35
  }
36
36
  }