Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/coverage
/dist
/node_modules
/package-lock.json
__screenshots__

npm-debug.log
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
package.json
/website/routeTree.gen.ts
/lib
26 changes: 9 additions & 17 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
import * as react0$1 from "react";
import * as react0 from "react";
import * as react6 from "react";
import { Key, ReactElement, ReactNode } from "react";
import * as react_jsx_runtime0$1 from "react/jsx-runtime";
import * as react_jsx_runtime0 from "react/jsx-runtime";
import * as react_jsx_runtime10 from "react/jsx-runtime";
import * as react_jsx_runtime8 from "react/jsx-runtime";
import * as react_jsx_runtime6 from "react/jsx-runtime";
import * as react_jsx_runtime3 from "react/jsx-runtime";
import * as react_jsx_runtime4 from "react/jsx-runtime";

//#region src/types.d.ts
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
Expand Down Expand Up @@ -448,7 +440,7 @@ interface DataGridProps<R$1, SR$1 = unknown, K extends Key = Key> extends Shared
*
* <DataGrid columns={columns} rows={rows} />
*/
declare function DataGrid<R$1, SR$1 = unknown, K extends Key = Key>(props: DataGridProps<R$1, SR$1, K>): react_jsx_runtime0$1.JSX.Element;
declare function DataGrid<R$1, SR$1 = unknown, K extends Key = Key>(props: DataGridProps<R$1, SR$1, K>): react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/TreeDataGrid.d.ts
interface TreeDataGridProps<R$1, SR$1 = unknown, K extends Key = Key> extends Omit<DataGridProps<R$1, SR$1, K>, 'columns' | 'role' | 'aria-rowcount' | 'rowHeight' | 'onFill' | 'isRowSelectionDisabled'> {
Expand Down Expand Up @@ -481,7 +473,7 @@ declare function TreeDataGrid<R$1, SR$1 = unknown, K extends Key = Key>({
}: TreeDataGridProps<R$1, SR$1, K>): react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/DataGridDefaultRenderersContext.d.ts
declare const DataGridDefaultRenderersContext: react0$1.Context<Maybe<Renderers<any, any>>>;
declare const DataGridDefaultRenderersContext: react0.Context<Maybe<Renderers<any, any>>>;
//#endregion
//#region src/Row.d.ts
declare const RowComponent: <R, SR>(props: RenderRowProps<R, SR>) => React.JSX.Element;
Expand All @@ -498,16 +490,16 @@ declare function renderCheckbox({
onChange,
indeterminate,
...props
}: RenderCheckboxProps): react_jsx_runtime10.JSX.Element;
}: RenderCheckboxProps): react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/cellRenderers/renderToggleGroup.d.ts
declare function renderToggleGroup<R$1, SR$1>(props: RenderGroupCellProps<R$1, SR$1>): react_jsx_runtime8.JSX.Element;
declare function renderToggleGroup<R$1, SR$1>(props: RenderGroupCellProps<R$1, SR$1>): react_jsx_runtime0.JSX.Element;
declare function ToggleGroup<R$1, SR$1>({
groupKey,
isExpanded,
tabIndex,
toggleGroup
}: RenderGroupCellProps<R$1, SR$1>): react_jsx_runtime8.JSX.Element;
}: RenderGroupCellProps<R$1, SR$1>): react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/cellRenderers/renderValue.d.ts
declare function renderValue<R$1, SR$1>(props: RenderCellProps<R$1, SR$1>): react0.ReactNode;
Expand All @@ -525,27 +517,27 @@ declare function SelectCellFormatter({
onChange,
'aria-label': ariaLabel,
'aria-labelledby': ariaLabelledBy
}: SelectCellFormatterProps): react6.ReactNode;
}: SelectCellFormatterProps): react0.ReactNode;
//#endregion
//#region src/editors/textEditor.d.ts
declare function textEditor<TRow, TSummaryRow>({
row,
column,
onRowChange,
onClose
}: RenderEditCellProps<TRow, TSummaryRow>): react_jsx_runtime6.JSX.Element;
}: RenderEditCellProps<TRow, TSummaryRow>): react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/renderHeaderCell.d.ts
declare function renderHeaderCell<R$1, SR$1>({
column,
sortDirection,
priority
}: RenderHeaderCellProps<R$1, SR$1>): string | react_jsx_runtime3.JSX.Element;
}: RenderHeaderCellProps<R$1, SR$1>): string | react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/sortStatus.d.ts
declare function renderSortIcon({
sortDirection
}: RenderSortIconProps): react_jsx_runtime4.JSX.Element | null;
}: RenderSortIconProps): react_jsx_runtime0.JSX.Element | null;
declare function renderSortPriority({
priority
}: RenderSortPriorityProps): number | undefined;
Expand Down
107 changes: 59 additions & 48 deletions lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/index.js.map

Large diffs are not rendered by default.

Loading
Loading