@wangxyu/react-data-grid
Advanced tools
+14
-6
@@ -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 @@ |
+1
-1
| { | ||
| "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
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
696324
1.33%6054
1.19%2
100%1
Infinity%