Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@wangxyu/react-data-grid

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wangxyu/react-data-grid - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2-beta.0
+14
-6
lib/index.d.ts

@@ -111,3 +111,3 @@ import { JSX as JSX_2 } from 'react';

scrollToRow: (rowIdx: number) => void;
selectCell: (position: Position, enableEditor?: Maybe<boolean>) => void;
selectCell: (position: Position, options?: SelectCellOptions) => void;
}

@@ -207,4 +207,4 @@

row: TRow;
onRowChange: (row: TRow, commitChanges?: boolean) => void;
onClose: (commitChanges?: boolean) => void;
onRowChange: (row: TRow, commitChanges?: boolean, shouldFocusCell?: boolean) => void;
onClose: (commitChanges?: boolean, shouldFocusCell?: boolean) => void;
}

@@ -223,2 +223,3 @@

onRowChange: (row: TRow) => void;
tabIndex?: number;
}

@@ -248,3 +249,3 @@

export declare function headerRenderer<R, SR>({ column, sortDirection, priority, onSort, isCellSelected }: HeaderRendererProps<R, SR>): JSX_2.Element;
export declare function headerRenderer<R, SR>({ column, sortDirection, priority, onSort, isCellSelected, tabIndex }: HeaderRendererProps<R, SR>): JSX_2.Element;

@@ -259,2 +260,3 @@ export declare interface HeaderRendererProps<TRow, TSummaryRow = unknown> {

isCellSelected: boolean;
tabIndex?: number;
}

@@ -313,3 +315,3 @@

setDraggedOverRowIdx: ((overRowIdx: number) => void) | undefined;
selectCell: (row: TRow, column: CalculatedColumn<TRow, TSummaryRow>, enableEditor?: Maybe<boolean>) => void;
selectCell: (row: TRow, column: CalculatedColumn<TRow, TSummaryRow>, options?: SelectCellOptions) => void;
}

@@ -324,3 +326,3 @@

export declare function SelectCellFormatter({ value, isCellSelected, disabled, onChange, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy }: SelectCellFormatterProps): JSX_2.Element;
export declare function SelectCellFormatter({ value, isCellSelected, disabled, onChange, tabIndex: childTabIndex, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy }: SelectCellFormatterProps): JSX_2.Element;

@@ -331,4 +333,10 @@ declare interface SelectCellFormatterProps extends SharedInputProps {

onChange: (value: boolean, isShiftClick: boolean) => void;
tabIndex?: number;
}
export declare interface SelectCellOptions {
enableEditor?: Maybe<boolean>;
shouldFocusCell?: Maybe<boolean>;
}
export declare const SelectColumn: Column<any, any>;

@@ -335,0 +343,0 @@

{
"name": "@wangxyu/react-data-grid",
"version": "1.0.1",
"version": "1.0.2-beta.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "基于 react-data-grid@7.0.0-beta.16 功能丰富且可自定义的数据网格 React 组件",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display