react-virtuoso 4.0.8 → 4.0.9

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 +12 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -731,6 +731,12 @@ export declare interface VirtuosoGridProps<D, C = unknown> extends GridRootProps
731
731
  * Pass a reference to a scrollable parent element, so that the grid won't wrap in its own.
732
732
  */
733
733
  customScrollParent?: HTMLElement;
734
+ /**
735
+ * set to LogLevel.DEBUG to enable various diagnostics in the console, the most useful being the item measurement reports.
736
+ *
737
+ * Ensure that you have "all levels" enabled in the browser console too see the messages.
738
+ */
739
+ logLevel?: LogLevel;
734
740
  }
735
741
 
736
742
  export declare interface VirtuosoHandle {
@@ -956,6 +962,12 @@ export declare interface VirtuosoProps<D, C> extends ListRootProps {
956
962
  * By default `4`. Redefine to change how much away from the bottom the scroller can be before the list is not considered not at bottom.
957
963
  */
958
964
  atBottomThreshold?: number;
965
+ /**
966
+ * set to LogLevel.DEBUG to enable various diagnostics in the console, the most useful being the item measurement reports.
967
+ *
968
+ * Ensure that you have "all levels" enabled in the browser console too see the messages.
969
+ */
970
+ logLevel?: LogLevel;
959
971
  }
960
972
 
961
973
  export declare interface WindowViewportInfo {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Petyo Ivanov",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
- "version": "4.0.8",
6
+ "version": "4.0.9",
7
7
  "homepage": "https://virtuoso.dev/",
8
8
  "license": "MIT",
9
9
  "source": "src/index.tsx",