@sheetxl/studio-mui 0.6.5 → 0.6.6

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.
Files changed (39) hide show
  1. package/browser/cjs/{D3da_TJhCMaA-Jvd.cjs → B6xMVH-gFKvv7HTm.cjs} +2 -2
  2. package/browser/cjs/{Bkxhpequ7eXKflN2.cjs → BN2uLx4xGjk-OlUv.cjs} +2 -2
  3. package/browser/cjs/{BdFSVVjjrhlXHPpK.cjs → BjuWRjBUgXPf4mv5.cjs} +2 -2
  4. package/browser/cjs/{BiXR_PE14hrnbjxg.cjs → BnzLXJ_f-WnIEHA7.cjs} +1 -1
  5. package/browser/cjs/{mocbOdB4d2s-EcmO.cjs → CUT6hk38cssRLfxe.cjs} +2 -2
  6. package/browser/cjs/{CUnh1LhecJpjlHt_.cjs → CtRt6b0Z9PqCHSYZ.cjs} +3 -3
  7. package/browser/cjs/{CZibZcMftaStnfGU.cjs → DBqla_PwQUaZTKah.cjs} +1 -1
  8. package/browser/cjs/{BMxf7QrY-RKnhIl4.cjs → Dcrkgeqj3YntIuSp.cjs} +1 -1
  9. package/browser/cjs/{Cgcw3wtvrTN9St3u.cjs → L3kTnaogdAjKmBcL.cjs} +1 -1
  10. package/browser/cjs/{CHMLnYdMrxKoXUT-.cjs → Ubpcm3GwuRfaaW1V.cjs} +1 -1
  11. package/browser/cjs/{BS2wS_sZa-gKkoFx.cjs → fFQ9XQWBeQc3axmM.cjs} +11 -11
  12. package/browser/cjs/index.cjs +2 -2
  13. package/browser/cjs/{BTFMHzaEfycvibMu.cjs → miraQ-Yi17yo4jmD.cjs} +2 -2
  14. package/browser/esm/{DrthDGd5PMQYMoAg.mjs → 5Ukv5-SQmOLwdH1V.mjs} +2 -2
  15. package/browser/esm/{BezPorS4-_Cf52pp.mjs → BWwRv_4Vs3pIJHK-.mjs} +1 -1
  16. package/browser/esm/{DNCGkZj-AkmOiPjY.mjs → BccWI_Pflx_rlXOP.mjs} +1 -1
  17. package/browser/esm/{BZW3vg34hfduKfB_.mjs → C1Z_BXflJEH0VdJS.mjs} +1699 -1668
  18. package/browser/esm/{CmyX3-QWO3ckLyv3.mjs → CGU0MsHi6xVOM3Wy.mjs} +1 -1
  19. package/browser/esm/{1-hjYTXne52O8OX_.mjs → CTfL4NRMBZr5dUNM.mjs} +1 -1
  20. package/browser/esm/{ClhYgmXRwTR4BGDR.mjs → ChXhIK3n7tSPyfOU.mjs} +2 -2
  21. package/browser/esm/{DnGxqCVe_CBDfW9k.mjs → CrzQTch0GzxqX1Hh.mjs} +2 -2
  22. package/browser/esm/{DhXNvjm-1jhrLfp9.mjs → CyT1_wFdlQtHv48w.mjs} +2 -2
  23. package/browser/esm/{BM3rF0tr-rYuco_b.mjs → D1Jl9RDW29udjLaD.mjs} +2 -2
  24. package/browser/esm/{BMSwIfNeNw_icSmZ.mjs → Wo3zv3YCmz4f5NpR.mjs} +1 -1
  25. package/browser/esm/index.mjs +53 -52
  26. package/browser/esm/{C79_LGbHVJJOQeTJ.mjs → q95zwalhNRxfwm2I.mjs} +3 -3
  27. package/node/esm/{DGRe7O8zr5SC-f6x.mjs → BRsMzfYwnF3y7jL5.mjs} +1 -1
  28. package/node/esm/{Diz6_VGLA3UKNUY9.mjs → C4HcRU0pP7BegG2D.mjs} +1 -1
  29. package/node/esm/{B6FKzcfPmEc-2C3u.mjs → C9HmzGWmGV2F1-iF.mjs} +1 -1
  30. package/node/esm/{Cnq5yNOuwBbKS_5h.mjs → CADlYGKEEO7IDDe4.mjs} +1 -1
  31. package/node/esm/{Ky0P7yYYcyx15RUV.mjs → CFBxXNyH40J__9j7.mjs} +1 -1
  32. package/node/esm/{CztOzeLDzog1fyuN.mjs → D8uH0zqPI1d50qsx.mjs} +1 -1
  33. package/node/esm/{6F8OSHeXM9CEkZqx.mjs → DxhxmNkJB4A7DSHZ.mjs} +1 -1
  34. package/node/esm/{Bzl7JElFM6-FCHSt.mjs → Dy5ZlGkkqU9eK4Mt.mjs} +1 -1
  35. package/node/esm/{CIovZ9X_7yBfY6gS.mjs → Nxk8BN00peWJT0Pd.mjs} +1 -1
  36. package/node/esm/index.mjs +1012 -979
  37. package/node/esm/{B8vjMUZKgFrmm-ow.mjs → oP0NpP9IIAnwgsOY.mjs} +1 -1
  38. package/package.json +8 -8
  39. package/types/index.d.ts +27 -11
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.5
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.6.6
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/studio-mui",
3
3
  "description": "Studio - Spreadsheet UI built with SheetXL SDK using React & MUI.",
4
- "version": "0.6.5",
4
+ "version": "0.6.6",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -36,13 +36,13 @@
36
36
  "charting"
37
37
  ],
38
38
  "dependencies": {
39
- "@sheetxl/grid-react": "^0.6.5",
40
- "@sheetxl/io": "^0.6.5",
41
- "@sheetxl/react": "^0.6.5",
42
- "@sheetxl/utils": "^0.6.5",
43
- "@sheetxl/utils-mui": "^0.6.5",
44
- "@sheetxl/utils-react": "^0.6.5",
45
- "@sheetxl/sdk": "^0.6.5",
39
+ "@sheetxl/grid-react": "^0.6.6",
40
+ "@sheetxl/io": "^0.6.6",
41
+ "@sheetxl/react": "^0.6.6",
42
+ "@sheetxl/utils": "^0.6.6",
43
+ "@sheetxl/utils-mui": "^0.6.6",
44
+ "@sheetxl/utils-react": "^0.6.6",
45
+ "@sheetxl/sdk": "^0.6.6",
46
46
  "clsx": "^2.1.1",
47
47
  "csstype": "^3.1.3",
48
48
  "file-saver": "^2.0.5",
package/types/index.d.ts CHANGED
@@ -586,6 +586,32 @@ export declare interface InsertCellsCommandButtonProps extends CommandPopupButto
586
586
  showQuickButton?: boolean;
587
587
  }
588
588
 
589
+ export declare interface InsertFunctionCommandButtonProps extends CommandPopupButtonProps {
590
+ category: string;
591
+ icon?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
592
+ label?: default_2.ReactNode | ((command: ICommand) => default_2.ReactNode);
593
+ /**
594
+ * Allow for listeners against a specific buttons execute rather than the command.
595
+ *
596
+ * @remarks
597
+ * Useful when knowing the specific button that executed a command is required.
598
+ * (For example when closing menus or restoring focus)
599
+ */
600
+ commandHook?: ICommandHook<any, any>;
601
+ }
602
+
603
+ export declare const InsertFunctionCommandPopupButton: default_2.NamedExoticComponent<Omit<InsertFunctionCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
604
+
605
+ /**
606
+ * Menu for quick function sum
607
+ */
608
+ export declare const InsertFunctionSumCommandPopupButton: default_2.NamedExoticComponent<InsertFunctionSumCommandPopupButtonProps & default_2.RefAttributes<HTMLElement>>;
609
+
610
+ export declare interface InsertFunctionSumCommandPopupButtonProps extends CommandButtonOptions {
611
+ parentFloat: FloatReference;
612
+ commands: ICommands.IGroup;
613
+ }
614
+
589
615
  export declare const InsertImageCommandButton: default_2.NamedExoticComponent<Omit<InsertImageCommandButtonProps, "ref"> & default_2.RefAttributes<HTMLElement>>;
590
616
 
591
617
  export declare interface InsertImageCommandButtonProps extends CommandPopupButtonProps {
@@ -790,16 +816,6 @@ export declare interface PresetTableStylesCommandButtonProps extends CommandPopu
790
816
  usePreviewIcon?: boolean;
791
817
  }
792
818
 
793
- /**
794
- * Menu for quick formula sum
795
- */
796
- export declare const QuickFormulaSumCommandPopupButton: default_2.NamedExoticComponent<QuickFormulaSumCommandPopupButtonProps & default_2.RefAttributes<HTMLElement>>;
797
-
798
- export declare interface QuickFormulaSumCommandPopupButtonProps extends CommandButtonOptions {
799
- parentFloat: FloatReference;
800
- commands: ICommands.IGroup;
801
- }
802
-
803
819
  /**
804
820
  * Range input field.
805
821
  */
@@ -1385,7 +1401,7 @@ export declare interface useWorkbookCommandsOptions {
1385
1401
  workbookElement: IWorkbookElement;
1386
1402
  notifier?: Notifier;
1387
1403
  onNewWorkbook?: () => void;
1388
- commandTarget: ICommands.ITarget | (() => ICommands.ITarget);
1404
+ target: ICommands.ITarget | (() => ICommands.ITarget);
1389
1405
  commands: ICommands.IGroup;
1390
1406
  onExecute?: () => void;
1391
1407
  /**