@gradio/dataframe 0.23.5 → 0.24.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,22 @@
1
1
  # @gradio/dataframe
2
2
 
3
+ ## 0.24.0
4
+
5
+ ### Features
6
+
7
+ - [#13526](https://github.com/gradio-app/gradio/pull/13526) [`53cb4ca`](https://github.com/gradio-app/gradio/commit/53cb4cae1ec3521e9170d12867253516413ba37a) - Run `pnpm lint` and `pnpm ts:check` on CI. Thanks @abidlabs!
8
+
9
+ ### Dependency updates
10
+
11
+ - @gradio/atoms@0.25.0
12
+ - @gradio/statustracker@0.15.0
13
+ - @gradio/utils@0.13.0
14
+ - @gradio/client@2.3.0
15
+ - @gradio/upload@0.18.0
16
+ - @gradio/button@0.8.0
17
+ - @gradio/markdown-code@0.9.0
18
+ - @gradio/checkbox@0.8.0
19
+
3
20
  ## 0.23.5
4
21
 
5
22
  ### Dependency updates
package/Index.svelte CHANGED
@@ -100,7 +100,7 @@
100
100
  label={gradio.shared.label}
101
101
  show_label={gradio.shared.show_label}
102
102
  wrap={gradio.props.wrap}
103
- datatype={aligned_datatype}
103
+ datatype={aligned_datatype as any}
104
104
  latex_delimiters={gradio.props.latex_delimiters}
105
105
  max_height={gradio.props.max_height}
106
106
  editable={gradio.shared.interactive ?? true}
package/dist/Index.svelte CHANGED
@@ -100,7 +100,7 @@
100
100
  label={gradio.shared.label}
101
101
  show_label={gradio.shared.show_label}
102
102
  wrap={gradio.props.wrap}
103
- datatype={aligned_datatype}
103
+ datatype={aligned_datatype as any}
104
104
  latex_delimiters={gradio.props.latex_delimiters}
105
105
  max_height={gradio.props.max_height}
106
106
  editable={gradio.shared.interactive ?? true}
@@ -68,7 +68,7 @@
68
68
  coords: [number, number];
69
69
  }) => void;
70
70
  onkeydown?: (event: KeyboardEvent) => void;
71
- pad_left: boolean;
71
+ pad_left?: boolean;
72
72
  } = $props();
73
73
 
74
74
  function truncate_text(
@@ -31,7 +31,7 @@ type $$ComponentProps = {
31
31
  coords: [number, number];
32
32
  }) => void;
33
33
  onkeydown?: (event: KeyboardEvent) => void;
34
- pad_left: boolean;
34
+ pad_left?: boolean;
35
35
  };
36
36
  declare const EditableCell: import("svelte").Component<$$ComponentProps, {}, "value" | "el">;
37
37
  type EditableCell = ReturnType<typeof EditableCell>;
@@ -860,9 +860,8 @@
860
860
  return () => document.removeEventListener("click", handle_click_outside);
861
861
  });
862
862
 
863
- function measure_row(node: HTMLElement) {
863
+ function measure_row(node: HTMLElement, _row?: unknown) {
864
864
  tick().then(() => {
865
- console.log("measuring");
866
865
  virtualizer.instance.measureElement(node as any);
867
866
  });
868
867
 
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { SelectData } from "@gradio/utils";
2
- import type { LoadingStatus } from "@gradio/statustracker";
2
+ import type { ILoadingStatus as LoadingStatus } from "@gradio/statustracker";
3
3
  import type { DataframeValue, Datatype, EditData } from "./shared/utils/utils";
4
4
  export interface DataframeEvents {
5
5
  change: DataframeValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/dataframe",
3
- "version": "0.23.5",
3
+ "version": "0.24.0",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -15,15 +15,15 @@
15
15
  "dequal": "^2.0.3",
16
16
  "@tanstack/table-core": "^8.21.3",
17
17
  "@tanstack/virtual-core": "^3.13.6",
18
- "@gradio/atoms": "^0.24.0",
19
- "@gradio/button": "^0.7.0",
20
- "@gradio/checkbox": "^0.7.0",
21
- "@gradio/client": "^2.2.2",
18
+ "@gradio/atoms": "^0.25.0",
19
+ "@gradio/button": "^0.8.0",
20
+ "@gradio/checkbox": "^0.8.0",
21
+ "@gradio/markdown-code": "^0.9.0",
22
22
  "@gradio/icons": "^0.15.1",
23
- "@gradio/markdown-code": "^0.8.0",
24
- "@gradio/statustracker": "^0.14.1",
25
- "@gradio/utils": "^0.12.2",
26
- "@gradio/upload": "^0.17.10"
23
+ "@gradio/client": "^2.3.0",
24
+ "@gradio/statustracker": "^0.15.0",
25
+ "@gradio/upload": "^0.18.0",
26
+ "@gradio/utils": "^0.13.0"
27
27
  },
28
28
  "exports": {
29
29
  ".": {
@@ -68,7 +68,7 @@
68
68
  coords: [number, number];
69
69
  }) => void;
70
70
  onkeydown?: (event: KeyboardEvent) => void;
71
- pad_left: boolean;
71
+ pad_left?: boolean;
72
72
  } = $props();
73
73
 
74
74
  function truncate_text(
@@ -860,9 +860,8 @@
860
860
  return () => document.removeEventListener("click", handle_click_outside);
861
861
  });
862
862
 
863
- function measure_row(node: HTMLElement) {
863
+ function measure_row(node: HTMLElement, _row?: unknown) {
864
864
  tick().then(() => {
865
- console.log("measuring");
866
865
  virtualizer.instance.measureElement(node as any);
867
866
  });
868
867
 
package/types.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { SelectData } from "@gradio/utils";
2
- import type { LoadingStatus } from "@gradio/statustracker";
2
+ import type { ILoadingStatus as LoadingStatus } from "@gradio/statustracker";
3
3
  import type { DataframeValue, Datatype, EditData } from "./shared/utils/utils";
4
4
 
5
5
  export interface DataframeEvents {