@gridsheet/react-core 3.0.6 → 3.0.7
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/dist/components/CellStateOverlay.d.ts.map +1 -1
- package/dist/components/GridSheet.d.ts.map +1 -1
- package/dist/components/StoreObserver.d.ts +3 -1
- package/dist/components/StoreObserver.d.ts.map +1 -1
- package/dist/{hooks-CcD8I6FA.mjs → hooks-CvkA2lFB.mjs} +403 -364
- package/dist/hooks-CvkA2lFB.mjs.map +1 -0
- package/dist/index.js +852 -835
- package/dist/index.js.map +1 -1
- package/dist/spellbook.js +1 -1
- package/dist/store/actions.d.ts.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/hooks-CcD8I6FA.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellStateOverlay.d.ts","sourceRoot":"","sources":["../../src/components/CellStateOverlay.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,UAAU,CAAC;AAwBnE,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,CAAC;AAmEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"CellStateOverlay.d.ts","sourceRoot":"","sources":["../../src/components/CellStateOverlay.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,UAAU,CAAC;AAwBnE,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,CAAC;AAmEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,KAAK,CAyRtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridSheet.d.ts","sourceRoot":"","sources":["../../src/components/GridSheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAsB,WAAW,EAAE,WAAW,EAAe,KAAK,EAAa,MAAM,UAAU,CAAC;AA+B5G,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4DAAyC,CAAC;AAClE,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4DAAyC,CAAC;AAElE,wBAAgB,SAAS,CAAC,EACxB,YAAY,EACZ,SAAc,EACd,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,eAAe,EACzB,OAAY,EACZ,SAAS,EACT,KAAK,EACL,IAAI,EAAE,WAAW,GAClB,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"GridSheet.d.ts","sourceRoot":"","sources":["../../src/components/GridSheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAsB,WAAW,EAAE,WAAW,EAAe,KAAK,EAAa,MAAM,UAAU,CAAC;AA+B5G,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4DAAyC,CAAC;AAClE,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4DAAyC,CAAC;AAElE,wBAAgB,SAAS,CAAC,EACxB,YAAY,EACZ,SAAc,EACd,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,eAAe,EACzB,OAAY,EACZ,SAAS,EACT,KAAK,EACL,IAAI,EAAE,WAAW,GAClB,EAAE,KAAK,eAgPP"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { FC, MutableRefObject } from 'react';
|
|
2
2
|
import { OptionsType, SheetHandle, StoreHandle } from '../types';
|
|
3
|
-
type StoreObserverProps = OptionsType & {
|
|
3
|
+
type StoreObserverProps = Omit<OptionsType, 'sheetHeight' | 'sheetWidth'> & {
|
|
4
|
+
sheetHeight?: number;
|
|
5
|
+
sheetWidth?: number;
|
|
4
6
|
sheetName?: string;
|
|
5
7
|
sheetRef?: MutableRefObject<SheetHandle | null>;
|
|
6
8
|
storeRef?: MutableRefObject<StoreHandle | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoreObserver.d.ts","sourceRoot":"","sources":["../../src/components/StoreObserver.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,WAAW,EAAS,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAQ7E,KAAK,kBAAkB,GAAG,WAAW,GAAG;
|
|
1
|
+
{"version":3,"file":"StoreObserver.d.ts","sourceRoot":"","sources":["../../src/components/StoreObserver.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,WAAW,EAAS,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAQ7E,KAAK,kBAAkB,GAAG,IAAI,CAAC,WAAW,EAAE,aAAa,GAAG,YAAY,CAAC,GAAG;IAE1E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAChD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4CAAyC,CAAC;AAClE,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4CAAyC,CAAC;AAClE,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAqFhD,CAAC"}
|