@particle-academy/fancy-sheets 0.7.3 → 0.7.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.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React$1, { ReactNode } from 'react';
1
+ import * as react from 'react';
2
+ import react__default, { ReactNode } from 'react';
3
3
 
4
4
  /** Column-letter + row-number string, e.g. "A1", "BC42" */
5
5
  type CellAddress = string;
@@ -202,7 +202,7 @@ interface SpreadsheetContextValue {
202
202
  interface SpreadsheetGridProps {
203
203
  className?: string;
204
204
  }
205
- declare function SpreadsheetGrid({ className }: SpreadsheetGridProps): react_jsx_runtime.JSX.Element;
205
+ declare function SpreadsheetGrid({ className }: SpreadsheetGridProps): react.JSX.Element;
206
206
  declare namespace SpreadsheetGrid {
207
207
  var displayName: string;
208
208
  }
@@ -210,14 +210,14 @@ declare namespace SpreadsheetGrid {
210
210
  /** Toolbar button groups that can be toggled on/off */
211
211
  type ToolbarButton = "undo" | "bold" | "align" | "freeze" | "format" | "decimals" | "formulaBar";
212
212
  interface SpreadsheetToolbarProps {
213
- children?: React$1.ReactNode;
213
+ children?: react__default.ReactNode;
214
214
  className?: string;
215
215
  /** Additional toolbar content appended after default buttons */
216
- extra?: React$1.ReactNode;
216
+ extra?: react__default.ReactNode;
217
217
  /** Which built-in button groups to show (default: all). Omit to show everything. */
218
218
  buttons?: ToolbarButton[];
219
219
  }
220
- declare function SpreadsheetToolbar({ children, className, extra, buttons: buttonsProp }: SpreadsheetToolbarProps): react_jsx_runtime.JSX.Element;
220
+ declare function SpreadsheetToolbar({ children, className, extra, buttons: buttonsProp }: SpreadsheetToolbarProps): react__default.JSX.Element;
221
221
  declare namespace SpreadsheetToolbar {
222
222
  var displayName: string;
223
223
  }
@@ -225,12 +225,12 @@ declare namespace SpreadsheetToolbar {
225
225
  interface SpreadsheetSheetTabsProps {
226
226
  className?: string;
227
227
  }
228
- declare function SpreadsheetSheetTabs({ className }: SpreadsheetSheetTabsProps): react_jsx_runtime.JSX.Element;
228
+ declare function SpreadsheetSheetTabs({ className }: SpreadsheetSheetTabsProps): react.JSX.Element;
229
229
  declare namespace SpreadsheetSheetTabs {
230
230
  var displayName: string;
231
231
  }
232
232
 
233
- declare function SpreadsheetRoot({ children, className, data, defaultData, onChange, columnCount, rowCount, defaultColumnWidth, rowHeight, readOnly, contextMenuItems, highlights, onActiveCellChange, }: SpreadsheetProps): react_jsx_runtime.JSX.Element;
233
+ declare function SpreadsheetRoot({ children, className, data, defaultData, onChange, columnCount, rowCount, defaultColumnWidth, rowHeight, readOnly, contextMenuItems, highlights, onActiveCellChange, }: SpreadsheetProps): react.JSX.Element;
234
234
  declare namespace SpreadsheetRoot {
235
235
  var displayName: string;
236
236
  }
@@ -265,7 +265,7 @@ interface SheetProps {
265
265
  /** Fires when the active cell changes */
266
266
  onActiveCellChange?: (address: string, cell: CellData | undefined) => void;
267
267
  }
268
- declare function Sheet({ data, onChange, contextMenuItems, highlights, onActiveCellChange, ...props }: SheetProps): react_jsx_runtime.JSX.Element;
268
+ declare function Sheet({ data, onChange, contextMenuItems, highlights, onActiveCellChange, ...props }: SheetProps): react.JSX.Element;
269
269
  declare namespace Sheet {
270
270
  var displayName: string;
271
271
  }
@@ -303,7 +303,7 @@ interface SheetWorkbookProps {
303
303
  /** Fires when the active cell changes */
304
304
  onActiveCellChange?: (address: string, cell: CellData | undefined) => void;
305
305
  }
306
- declare function SheetWorkbook({ hideToolbar, hideTabs, toolbarExtra, toolbarButtons, contextMenuItems, highlights, onActiveCellChange, ...props }: SheetWorkbookProps): react_jsx_runtime.JSX.Element;
306
+ declare function SheetWorkbook({ hideToolbar, hideTabs, toolbarExtra, toolbarButtons, contextMenuItems, highlights, onActiveCellChange, ...props }: SheetWorkbookProps): react.JSX.Element;
307
307
  declare namespace SheetWorkbook {
308
308
  var displayName: string;
309
309
  }
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React$1, { ReactNode } from 'react';
1
+ import * as react from 'react';
2
+ import react__default, { ReactNode } from 'react';
3
3
 
4
4
  /** Column-letter + row-number string, e.g. "A1", "BC42" */
5
5
  type CellAddress = string;
@@ -202,7 +202,7 @@ interface SpreadsheetContextValue {
202
202
  interface SpreadsheetGridProps {
203
203
  className?: string;
204
204
  }
205
- declare function SpreadsheetGrid({ className }: SpreadsheetGridProps): react_jsx_runtime.JSX.Element;
205
+ declare function SpreadsheetGrid({ className }: SpreadsheetGridProps): react.JSX.Element;
206
206
  declare namespace SpreadsheetGrid {
207
207
  var displayName: string;
208
208
  }
@@ -210,14 +210,14 @@ declare namespace SpreadsheetGrid {
210
210
  /** Toolbar button groups that can be toggled on/off */
211
211
  type ToolbarButton = "undo" | "bold" | "align" | "freeze" | "format" | "decimals" | "formulaBar";
212
212
  interface SpreadsheetToolbarProps {
213
- children?: React$1.ReactNode;
213
+ children?: react__default.ReactNode;
214
214
  className?: string;
215
215
  /** Additional toolbar content appended after default buttons */
216
- extra?: React$1.ReactNode;
216
+ extra?: react__default.ReactNode;
217
217
  /** Which built-in button groups to show (default: all). Omit to show everything. */
218
218
  buttons?: ToolbarButton[];
219
219
  }
220
- declare function SpreadsheetToolbar({ children, className, extra, buttons: buttonsProp }: SpreadsheetToolbarProps): react_jsx_runtime.JSX.Element;
220
+ declare function SpreadsheetToolbar({ children, className, extra, buttons: buttonsProp }: SpreadsheetToolbarProps): react__default.JSX.Element;
221
221
  declare namespace SpreadsheetToolbar {
222
222
  var displayName: string;
223
223
  }
@@ -225,12 +225,12 @@ declare namespace SpreadsheetToolbar {
225
225
  interface SpreadsheetSheetTabsProps {
226
226
  className?: string;
227
227
  }
228
- declare function SpreadsheetSheetTabs({ className }: SpreadsheetSheetTabsProps): react_jsx_runtime.JSX.Element;
228
+ declare function SpreadsheetSheetTabs({ className }: SpreadsheetSheetTabsProps): react.JSX.Element;
229
229
  declare namespace SpreadsheetSheetTabs {
230
230
  var displayName: string;
231
231
  }
232
232
 
233
- declare function SpreadsheetRoot({ children, className, data, defaultData, onChange, columnCount, rowCount, defaultColumnWidth, rowHeight, readOnly, contextMenuItems, highlights, onActiveCellChange, }: SpreadsheetProps): react_jsx_runtime.JSX.Element;
233
+ declare function SpreadsheetRoot({ children, className, data, defaultData, onChange, columnCount, rowCount, defaultColumnWidth, rowHeight, readOnly, contextMenuItems, highlights, onActiveCellChange, }: SpreadsheetProps): react.JSX.Element;
234
234
  declare namespace SpreadsheetRoot {
235
235
  var displayName: string;
236
236
  }
@@ -265,7 +265,7 @@ interface SheetProps {
265
265
  /** Fires when the active cell changes */
266
266
  onActiveCellChange?: (address: string, cell: CellData | undefined) => void;
267
267
  }
268
- declare function Sheet({ data, onChange, contextMenuItems, highlights, onActiveCellChange, ...props }: SheetProps): react_jsx_runtime.JSX.Element;
268
+ declare function Sheet({ data, onChange, contextMenuItems, highlights, onActiveCellChange, ...props }: SheetProps): react.JSX.Element;
269
269
  declare namespace Sheet {
270
270
  var displayName: string;
271
271
  }
@@ -303,7 +303,7 @@ interface SheetWorkbookProps {
303
303
  /** Fires when the active cell changes */
304
304
  onActiveCellChange?: (address: string, cell: CellData | undefined) => void;
305
305
  }
306
- declare function SheetWorkbook({ hideToolbar, hideTabs, toolbarExtra, toolbarButtons, contextMenuItems, highlights, onActiveCellChange, ...props }: SheetWorkbookProps): react_jsx_runtime.JSX.Element;
306
+ declare function SheetWorkbook({ hideToolbar, hideTabs, toolbarExtra, toolbarButtons, contextMenuItems, highlights, onActiveCellChange, ...props }: SheetWorkbookProps): react.JSX.Element;
307
307
  declare namespace SheetWorkbook {
308
308
  var displayName: string;
309
309
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/fancy-sheets",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "Spreadsheet editor with formula engine, multi-sheet tabs, and full cell editing",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,12 +38,12 @@
38
38
  "prepublishOnly": "tsup"
39
39
  },
40
40
  "peerDependencies": {
41
- "@particle-academy/react-fancy": "^2.0.0",
41
+ "@particle-academy/react-fancy": ">=2",
42
42
  "react": "^18.0.0 || ^19.0.0",
43
43
  "react-dom": "^18.0.0 || ^19.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@particle-academy/react-fancy": "*",
46
+ "@particle-academy/react-fancy": "^3.2.1",
47
47
  "@types/react": "^19.0.0",
48
48
  "@types/react-dom": "^19.0.0",
49
49
  "react": "^19.0.0",