gridjs-spreadsheet 26.4.4 → 26.4.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.
Binary file
package/index.d.ts CHANGED
@@ -71,6 +71,7 @@ declare module 'gridjs-spreadsheet' {
71
71
  export type REDACTION_UPDATED = 'redaction-updated';
72
72
  export type REDACTION_REASON_INSERTED = 'redactionReason-inserted';
73
73
  export type REDACTION_REASON_CLEARED = 'redactionReason-cleared';
74
+ export type REDACTION_TRANSPARENCY_TOGGLED = 'redactionTransparency-toggled';
74
75
  export type UPDATE_SERVER_ERROR = 'updateServerError';
75
76
  export type UPDATE_CELL_ERROR = 'updateCellError';
76
77
 
@@ -184,6 +185,10 @@ declare module 'gridjs-spreadsheet' {
184
185
  envt: REDACTION_REASON_CLEARED,
185
186
  callback: () => void
186
187
  ): void;
188
+ (
189
+ envt: REDACTION_TRANSPARENCY_TOGGLED,
190
+ callback: (isTransparent: boolean) => void
191
+ ): void;
187
192
  (
188
193
  envt: UPDATE_SERVER_ERROR,
189
194
  callback: (...args: any[]) => void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gridjs-spreadsheet",
3
- "version": "26.4.4",
3
+ "version": "26.4.5",
4
4
  "description": "this is the client side script for GridJs which is a lightweight, scalable, and customizable toolkit that provides cross-platform web applications, enables convenient development for editing or viewing Excel/Spreadsheet files, offers simple deployment, and provides easy-to-use APIs based on JSON format.",
5
5
  "types": "index.d.ts",
6
6
  "main": "xspreadsheet.js",