@ricsam/excel-to-formula-engine 0.2.0 → 0.2.2

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.
@@ -1,4 +1,4 @@
1
- import type { WorkbookData } from "@ricsam/formula-engine";
1
+ import type { CellStyle, WorkbookData } from "@ricsam/formula-engine";
2
2
  /**
3
3
  * Severity of a translation note.
4
4
  *
@@ -66,6 +66,11 @@ export interface ExcelSheetMetadata {
66
66
  tabColor?: string;
67
67
  }
68
68
  export interface ExcelWorkbookMetadata {
69
+ /** Resolved cell XF 0, in engine units. Informational fallback for clients;
70
+ * actual imported cells also receive effective direct styles. Absent when
71
+ * styles are disabled or the source has no default XF. Older imports did
72
+ * not retain this information and cannot reconstruct it losslessly. */
73
+ defaultCellStyle?: CellStyle;
69
74
  /** Source file name when the Blob carried one. */
70
75
  fileName?: string;
71
76
  /** Sheet names in their original workbook order. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricsam/excel-to-formula-engine",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Convert an Excel .xlsx file into FormulaEngine WorkbookData, in the browser",
5
5
  "type": "module",
6
6
  "module": "./dist/index.mjs",
@@ -37,13 +37,14 @@
37
37
  "fflate": "^0.8.3"
38
38
  },
39
39
  "devDependencies": {
40
+ "@ricsam/formula-engine": "0.3.4",
40
41
  "@changesets/cli": "^3.0.2",
41
42
  "@types/bun": "^1.4.2",
42
43
  "exceljs": "^4.4.0",
43
44
  "typescript": "^5.9.2"
44
45
  },
45
46
  "peerDependencies": {
46
- "@ricsam/formula-engine": "0.3.0"
47
+ "@ricsam/formula-engine": "^0.3.4"
47
48
  },
48
49
  "files": [
49
50
  "dist"