@gradio/dataframe 0.21.1 → 0.21.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,21 @@
1
1
  # @gradio/dataframe
2
2
 
3
+ ## 0.21.2
4
+
5
+ ### Fixes
6
+
7
+ - [#12550](https://github.com/gradio-app/gradio/pull/12550) [`efb2549`](https://github.com/gradio-app/gradio/commit/efb2549a1c2c4d0254a5c2b5b46b824322395854) - Fix Dataframe Package. Thanks @dawoodkhan82!
8
+
9
+ ### Dependency updates
10
+
11
+ - @gradio/atoms@0.20.0
12
+ - @gradio/checkbox@0.6.0
13
+ - @gradio/utils@0.11.0
14
+ - @gradio/client@2.0.1
15
+ - @gradio/statustracker@0.12.1
16
+ - @gradio/upload@0.17.3
17
+ - @gradio/button@0.6.1
18
+
3
19
  ## 0.21.1
4
20
 
5
21
  ### Dependency updates
package/Index.svelte CHANGED
@@ -34,7 +34,6 @@
34
34
  }
35
35
 
36
36
  let props = $props();
37
-
38
37
  let gradio = new DataframeGradio(props);
39
38
  let el: HTMLDivElement;
40
39
  let Component: typeof DF | null = null;
@@ -69,7 +68,11 @@
69
68
  show_search: gradio.props.show_search,
70
69
  pinned_columns: gradio.props.pinned_columns,
71
70
  static_columns: gradio.props.static_columns,
72
- fullscreen: gradio.props.fullscreen
71
+ fullscreen: gradio.props.fullscreen,
72
+ show_copy_button:
73
+ gradio.props.buttons && gradio.props.buttons.includes("copy"),
74
+ show_fullscreen_button:
75
+ gradio.props.buttons && gradio.props.buttons.includes("fullscreen")
73
76
  }
74
77
  });
75
78
  });
package/dist/Index.svelte CHANGED
@@ -34,7 +34,6 @@
34
34
  }
35
35
 
36
36
  let props = $props();
37
-
38
37
  let gradio = new DataframeGradio(props);
39
38
  let el: HTMLDivElement;
40
39
  let Component: typeof DF | null = null;
@@ -69,7 +68,11 @@
69
68
  show_search: gradio.props.show_search,
70
69
  pinned_columns: gradio.props.pinned_columns,
71
70
  static_columns: gradio.props.static_columns,
72
- fullscreen: gradio.props.fullscreen
71
+ fullscreen: gradio.props.fullscreen,
72
+ show_copy_button:
73
+ gradio.props.buttons && gradio.props.buttons.includes("copy"),
74
+ show_fullscreen_button:
75
+ gradio.props.buttons && gradio.props.buttons.includes("fullscreen")
73
76
  }
74
77
  });
75
78
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/dataframe",
3
- "version": "0.21.1",
3
+ "version": "0.21.2",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -13,16 +13,15 @@
13
13
  "@types/katex": "^0.16.7",
14
14
  "d3-dsv": "^3.0.1",
15
15
  "dequal": "^2.0.3",
16
- "@gradio/atoms": "^0.19.0",
17
- "@gradio/checkbox": "^0.5.1",
18
- "@gradio/client": "^2.0.0",
19
- "@gradio/markdown-code": "^0.6.0",
20
- "@gradio/button": "^0.6.0",
16
+ "@gradio/atoms": "^0.20.0",
17
+ "@gradio/checkbox": "^0.6.0",
18
+ "@gradio/button": "^0.6.1",
19
+ "@gradio/client": "^2.0.1",
21
20
  "@gradio/icons": "^0.15.0",
22
- "@gradio/utils": "^0.10.4",
23
- "@gradio/dataframe-interim": "^0.21.0",
24
- "@gradio/statustracker": "^0.12.0",
25
- "@gradio/upload": "^0.17.2"
21
+ "@gradio/statustracker": "^0.12.1",
22
+ "@gradio/markdown-code": "^0.6.0",
23
+ "@gradio/upload": "^0.17.3",
24
+ "@gradio/utils": "^0.11.0"
26
25
  },
27
26
  "exports": {
28
27
  ".": {
@@ -41,7 +40,8 @@
41
40
  "svelte": ">=5.0.0"
42
41
  },
43
42
  "devDependencies": {
44
- "@gradio/preview": "^0.15.1"
43
+ "@gradio/preview": "^0.15.1",
44
+ "@gradio/dataframe-interim": "^0.21.0"
45
45
  },
46
46
  "repository": {
47
47
  "type": "git",