react-virtuoso 3.1.4 → 3.1.5

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -169,7 +169,7 @@ export declare interface GridItemProps {
169
169
  */
170
170
  export declare type GridListProps = Pick<ComponentPropsWithRef<'div'>, 'style' | 'children' | 'ref' | 'className'>;
171
171
 
172
- export declare type GridRootProps = Omit<React_2.HTMLProps<'div'>, 'ref' | 'data'>;
172
+ export declare type GridRootProps = Omit<React_2.HTMLProps<HTMLDivElement>, 'ref' | 'data'>;
173
173
 
174
174
  /**
175
175
  * Passed to the GridComponents.ScrollSeekPlaceholder custom component
@@ -272,7 +272,7 @@ export declare interface ListRange {
272
272
  endIndex: number;
273
273
  }
274
274
 
275
- export declare type ListRootProps = Omit<React_2.HTMLProps<'div'>, 'ref' | 'data'>;
275
+ export declare type ListRootProps = Omit<React_2.HTMLProps<HTMLDivElement>, 'ref' | 'data'>;
276
276
 
277
277
  export declare interface LocationOptions {
278
278
  /**
@@ -429,7 +429,7 @@ export declare interface TableComponents<Context = unknown> {
429
429
 
430
430
  export declare type TableProps = Pick<ComponentPropsWithRef<'table'>, 'style' | 'children'>;
431
431
 
432
- export declare type TableRootProps = Omit<React_2.HTMLProps<'table'>, 'ref' | 'data'>;
432
+ export declare type TableRootProps = Omit<React_2.HTMLProps<HTMLTableElement>, 'ref' | 'data'>;
433
433
 
434
434
  export declare const TableVirtuoso: <ItemData = any, Context = any>(props: TableVirtuosoProps<ItemData, Context> & {
435
435
  ref?: Ref<TableVirtuosoHandle> | undefined;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "react-virtuoso",
3
3
  "author": "Petyo Ivanov",
4
4
  "sideEffects": false,
5
- "version": "3.1.4",
5
+ "version": "3.1.5",
6
6
  "homepage": "https://virtuoso.dev/",
7
7
  "license": "MIT",
8
8
  "source": "src/index.tsx",