@orderly.network/ui 2.1.0 → 2.1.1
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/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -10,7 +10,7 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
10
10
|
import { TooltipContentProps } from '@radix-ui/react-tooltip';
|
|
11
11
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
12
12
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
13
|
-
import { Row, CoreOptions, ColumnFilter, RowSelectionState, TableFeature, Table, RowData } from '@tanstack/react-table';
|
|
13
|
+
import { Row, CoreOptions, Column as Column$1, ColumnFilter, RowSelectionState, TableFeature, Table, RowData } from '@tanstack/react-table';
|
|
14
14
|
export { Table, Column as TanstackColumn } from '@tanstack/react-table';
|
|
15
15
|
import { DateRange, DayPickerRangeProps, DayPicker } from 'react-day-picker';
|
|
16
16
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
@@ -3790,6 +3790,7 @@ type DataTableProps<RecordType> = {
|
|
|
3790
3790
|
renderRowContainer?: (record: RecordType, index: number, children: ReactNode) => ReactNode;
|
|
3791
3791
|
generatedRowKey?: CoreOptions<any>["getRowId"];
|
|
3792
3792
|
onRow?: (record: RecordType, index: number) => any;
|
|
3793
|
+
onCell?: (column: Column$1<any>, record: RecordType, index: number) => any;
|
|
3793
3794
|
columnFilters?: ColumnFilter | ColumnFilter[];
|
|
3794
3795
|
rowSelection?: RowSelectionState;
|
|
3795
3796
|
testIds?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
10
10
|
import { TooltipContentProps } from '@radix-ui/react-tooltip';
|
|
11
11
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
12
12
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
13
|
-
import { Row, CoreOptions, ColumnFilter, RowSelectionState, TableFeature, Table, RowData } from '@tanstack/react-table';
|
|
13
|
+
import { Row, CoreOptions, Column as Column$1, ColumnFilter, RowSelectionState, TableFeature, Table, RowData } from '@tanstack/react-table';
|
|
14
14
|
export { Table, Column as TanstackColumn } from '@tanstack/react-table';
|
|
15
15
|
import { DateRange, DayPickerRangeProps, DayPicker } from 'react-day-picker';
|
|
16
16
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
@@ -3790,6 +3790,7 @@ type DataTableProps<RecordType> = {
|
|
|
3790
3790
|
renderRowContainer?: (record: RecordType, index: number, children: ReactNode) => ReactNode;
|
|
3791
3791
|
generatedRowKey?: CoreOptions<any>["getRowId"];
|
|
3792
3792
|
onRow?: (record: RecordType, index: number) => any;
|
|
3793
|
+
onCell?: (column: Column$1<any>, record: RecordType, index: number) => any;
|
|
3793
3794
|
columnFilters?: ColumnFilter | ColumnFilter[];
|
|
3794
3795
|
rowSelection?: RowSelectionState;
|
|
3795
3796
|
testIds?: {
|