abdul-react 0.0.28 → 0.0.29

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/lib/index.d.ts CHANGED
@@ -3273,14 +3273,6 @@ interface LabelEditTextFieldTypes {
3273
3273
 
3274
3274
  declare const EditTextField: FC<LabelEditTextFieldTypes>;
3275
3275
 
3276
- /** A cell coordinates in the spreadsheet */
3277
- type Point = {
3278
- /** The cell's column */
3279
- column: number;
3280
- /** The cell's row */
3281
- row: number;
3282
- };
3283
-
3284
3276
  type ContextMenuState = {
3285
3277
  open: boolean;
3286
3278
  contextType: 'sheet' | 'column' | 'row' | 'cell' | null;
@@ -3341,10 +3333,13 @@ interface ExcelFileProps {
3341
3333
  * This helps in determining the structure of the sheet.
3342
3334
  */
3343
3335
  colCount?: number;
3344
- /**
3345
- * Callback function triggered when saving the Excel data.
3346
- */
3347
- onSave?: (saveData: SaveData[]) => void;
3336
+ onSave?: (saveData: SaveData[], headerOldNewData?: {
3337
+ sheetName: string;
3338
+ headers: {
3339
+ newData: string;
3340
+ oldData: string;
3341
+ }[];
3342
+ }[]) => void;
3348
3343
  onSaveInfoChange?: (info: string) => void;
3349
3344
  /**
3350
3345
  * Delay time (in milliseconds) before the onSave callback is executed.
@@ -3388,10 +3383,6 @@ interface ExcelFileProps {
3388
3383
  maxRowLimit?: number;
3389
3384
  maxColLimit?: number;
3390
3385
  maxSheetLimit?: number;
3391
- getActiveCell?: (cell: {
3392
- value: string;
3393
- active: Point;
3394
- }) => void;
3395
3386
  }
3396
3387
  declare const ExcelFile: React__default.FC<ExcelFileProps>;
3397
3388
 
@@ -1,4 +1,4 @@
1
- import { __exports as options } from '../../../../../_virtual/options.js';
1
+ import { __exports as options } from '../../../../../_virtual/options2.js';
2
2
  import { __require as requireOptions$1 } from '../core/options.js';
3
3
 
4
4
  /*jshint node:true */
@@ -1,4 +1,4 @@
1
- import { __exports as options } from '../../../../../_virtual/options2.js';
1
+ import { __exports as options } from '../../../../../_virtual/options.js';
2
2
  import { __require as requireOptions$1 } from '../core/options.js';
3
3
 
4
4
  /*jshint node:true */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "abdul-react",
3
3
  "description": "Great for pixel-perfect, design-focused components in React",
4
- "version": "0.0.28",
4
+ "version": "0.0.29",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.js",
7
7
  "types": "lib/index.d.ts",