react-virtuoso
Advanced tools
Comparing version 4.7.1 to 4.7.2
@@ -192,5 +192,5 @@ import { default as React_2 } from 'react'; | ||
*/ | ||
export declare type GridListProps = Pick<React_2.ComponentPropsWithRef<'div'>, 'style' | 'children' | 'ref' | 'className'> & { | ||
export declare type GridListProps = Pick<React_2.ComponentProps<'div'>, 'style' | 'children' | 'className'> & { | ||
'data-test-id': string; | ||
}; | ||
} & React_2.RefAttributes<HTMLDivElement>; | ||
@@ -285,3 +285,3 @@ export declare type GridRootProps = Omit<React_2.HTMLProps<HTMLDivElement>, 'ref' | 'data'>; | ||
export declare type GroupProps = Pick<React_2.ComponentPropsWithRef<'div'>, 'style' | 'children'> & { | ||
export declare type GroupProps = Pick<React_2.ComponentProps<'div'>, 'style' | 'children'> & { | ||
'data-index': number; | ||
@@ -305,3 +305,3 @@ 'data-item-index': number; | ||
export declare type ItemProps<D> = Pick<React_2.ComponentPropsWithRef<'div'>, 'style' | 'children'> & { | ||
export declare type ItemProps<D> = Pick<React_2.ComponentProps<'div'>, 'style' | 'children'> & { | ||
'data-index': number; | ||
@@ -319,5 +319,5 @@ 'data-item-index': number; | ||
*/ | ||
export declare type ListProps = Pick<React_2.ComponentPropsWithRef<'div'>, 'style' | 'children' | 'ref'> & { | ||
export declare type ListProps = Pick<React_2.ComponentProps<'div'>, 'style' | 'children'> & { | ||
'data-test-id': string; | ||
}; | ||
} & React_2.RefAttributes<HTMLDivElement>; | ||
@@ -369,6 +369,6 @@ export declare interface ListRange { | ||
*/ | ||
export declare type ScrollerProps = Pick<React_2.ComponentPropsWithRef<'div'>, 'style' | 'children' | 'tabIndex' | 'ref'> & { | ||
export declare type ScrollerProps = Pick<React_2.ComponentProps<'div'>, 'style' | 'children' | 'tabIndex'> & { | ||
'data-test-id'?: string; | ||
'data-virtuoso-scroller'?: boolean; | ||
}; | ||
} & React_2.RefAttributes<HTMLDivElement>; | ||
@@ -458,5 +458,5 @@ export declare type ScrollIntoViewLocation = FlatScrollIntoViewLocation | GroupedScrollIntoViewLocation; | ||
*/ | ||
export declare type TableBodyProps = Pick<React_2.ComponentPropsWithRef<'tbody'>, 'style' | 'children' | 'ref' | 'className'> & { | ||
export declare type TableBodyProps = Pick<React_2.ComponentProps<'tbody'>, 'style' | 'children' | 'className'> & { | ||
'data-test-id': string; | ||
}; | ||
} & React_2.RefAttributes<HTMLTableSectionElement>; | ||
@@ -478,11 +478,11 @@ /** | ||
*/ | ||
TableHead?: React_2.ComponentType<Pick<React_2.ComponentPropsWithRef<'thead'>, 'style' | 'children' | 'ref'> & { | ||
TableHead?: React_2.ComponentType<Pick<React_2.ComponentProps<'thead'>, 'style' | 'children'> & { | ||
context?: Context; | ||
}>; | ||
} & React_2.RefAttributes<HTMLTableSectionElement>>; | ||
/** | ||
* Set to render a fixed footer at the bottom of the table (`tfoot`). use [[fixedFooterContent]] to set the contents | ||
*/ | ||
TableFoot?: React_2.ComponentType<Pick<React_2.ComponentPropsWithRef<'tfoot'>, 'style' | 'children' | 'ref'> & { | ||
TableFoot?: React_2.ComponentType<Pick<React_2.ComponentProps<'tfoot'>, 'style' | 'children'> & { | ||
context?: Context; | ||
}>; | ||
} & React_2.RefAttributes<HTMLTableSectionElement>>; | ||
/** | ||
@@ -527,3 +527,3 @@ * Set to customize the item wrapping element. Default is `tr`. | ||
export declare type TableProps = Pick<React_2.ComponentPropsWithRef<'table'>, 'style' | 'children'>; | ||
export declare type TableProps = Pick<React_2.ComponentProps<'table'>, 'style' | 'children'>; | ||
@@ -730,3 +730,3 @@ export declare type TableRootProps = Omit<React_2.HTMLProps<HTMLTableElement>, 'ref' | 'data'>; | ||
export declare type TopItemListProps = Pick<React_2.ComponentPropsWithRef<'div'>, 'style' | 'children'>; | ||
export declare type TopItemListProps = Pick<React_2.ComponentProps<'div'>, 'style' | 'children'>; | ||
@@ -733,0 +733,0 @@ export declare const Virtuoso: <ItemData = any, Context = any>(props: VirtuosoProps<ItemData, Context> & { |
@@ -5,3 +5,3 @@ { | ||
"sideEffects": false, | ||
"version": "4.7.1", | ||
"version": "4.7.2", | ||
"homepage": "https://virtuoso.dev/", | ||
@@ -63,8 +63,9 @@ "license": "MIT", | ||
"@playwright/test": "^1.33.0", | ||
"@tanstack/react-table": "^8.9.11", | ||
"@testing-library/react": "^14.0.0", | ||
"@types/jsdom": "^21.1.1", | ||
"@types/lodash": "^4.14.194", | ||
"@types/react": "^18.2.5", | ||
"@types/react": "^18.2.64", | ||
"@types/react-beautiful-dnd": "^13.1.4", | ||
"@types/react-dom": "^18.2.4", | ||
"@types/react-dom": "^18.2.21", | ||
"@types/react-router-dom": "^5.3.3", | ||
@@ -96,3 +97,2 @@ "@typescript-eslint/eslint-plugin": "^5.59.2", | ||
"react-router-dom": "^6.14.0", | ||
"@tanstack/react-table": "^8.9.11", | ||
"semantic-release": "^19.0.5", | ||
@@ -99,0 +99,0 @@ "terser": "^5.17.1", |
249588