react-virtuoso 4.3.0 → 4.3.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -210,6 +210,10 @@ export declare interface GroupedVirtuosoHandle {
210
210
  scrollTo(location: ScrollToOptions): void;
211
211
  scrollBy(location: ScrollToOptions): void;
212
212
  autoscrollToBottom(): void;
213
+ /**
214
+ * Obtains the internal size state of the component, so that it can be restored later. This does not include the data items.
215
+ */
216
+ getState(stateCb: StateCallback): void;
213
217
  }
214
218
 
215
219
  export declare interface GroupedVirtuosoProps<D, C> extends Omit<VirtuosoProps<D, C>, 'totalCount' | 'itemContent'> {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Petyo Ivanov",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
- "version": "4.3.0",
6
+ "version": "4.3.1",
7
7
  "homepage": "https://virtuoso.dev/",
8
8
  "license": "MIT",
9
9
  "source": "src/index.tsx",