@ishibashi0112/spreadsheet-grid 0.34.0 → 0.35.0
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/README.md +2 -2
- package/dist/hooks/useVirtualizerCore.d.ts +5 -0
- package/dist/index.cjs +8 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2995 -2978
- package/dist/logic/scrollHint.d.ts +5 -6
- package/dist/model/gridSelectors.d.ts +2 -2
- package/dist/model/gridTypes.core.d.ts +796 -0
- package/dist/model/gridTypes.d.ts +32 -792
- package/dist/view/GridScrollHint.d.ts +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ npm install @ishibashi0112/spreadsheet-grid
|
|
|
44
44
|
# yarn add @ishibashi0112/spreadsheet-grid
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Requires **react** and **react-dom** `>= 19` as peer dependencies (install them in your app if you have not already). `@tanstack/
|
|
47
|
+
Requires **react** and **react-dom** `>= 19` as peer dependencies (install them in your app if you have not already). `@tanstack/virtual-core` (the framework-agnostic core of TanStack Virtual) is a regular dependency and is installed automatically; the React adapter is bundled with the grid.
|
|
48
48
|
|
|
49
49
|
## Styles
|
|
50
50
|
|
|
@@ -333,7 +333,7 @@ npm install @ishibashi0112/spreadsheet-grid
|
|
|
333
333
|
# yarn add @ishibashi0112/spreadsheet-grid
|
|
334
334
|
```
|
|
335
335
|
|
|
336
|
-
peer 依存として **react** / **react-dom** `>= 19` が必要です(未導入なら利用側で入れてください)。`@tanstack/
|
|
336
|
+
peer 依存として **react** / **react-dom** `>= 19` が必要です(未導入なら利用側で入れてください)。`@tanstack/virtual-core`(TanStack Virtual のフレームワーク非依存コア)は通常依存として自動的に入ります。React 向けアダプタはグリッド側に同梱しています。
|
|
337
337
|
|
|
338
338
|
### スタイル
|
|
339
339
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Virtualizer, type PartialKeys, type VirtualizerOptions } from '@tanstack/virtual-core';
|
|
2
|
+
export type UseVirtualizerCoreOptions<TScrollElement extends Element, TItemElement extends Element> = PartialKeys<VirtualizerOptions<TScrollElement, TItemElement>, 'observeElementRect' | 'observeElementOffset' | 'scrollToFn'> & {
|
|
3
|
+
useFlushSync?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare function useVirtualizerCore<TScrollElement extends Element, TItemElement extends Element = Element>(options: UseVirtualizerCoreOptions<TScrollElement, TItemElement>): Virtualizer<TScrollElement, TItemElement>;
|