caplink-saas-ui-shared-component-library 1.109.0 → 1.110.1

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
1
  /// <reference types="react" />
2
2
  import * as Spreadsheet from './spreadsheet';
3
3
  export declare const SpreadsheetContext: import('react').Context<Spreadsheet.Context | null>;
4
- export declare function SpreadsheetContextProvider({ children, startingColumns, matrix: legacyMatrix, matrixObject, staticRows, onMatrixChange: onMatrixChangeProp, onExportData, onImportData, onOpenFullScreen, fullScreen, conditionalFormatting, enableCyclicPasteRepeat, }: Spreadsheet.ContextProvider): import("react/jsx-runtime").JSX.Element;
4
+ export declare function SpreadsheetContextProvider({ children, startingColumns, matrix: legacyMatrix, matrixObject, staticRows, onMatrixChange: onMatrixChangeProp, onExportData, onImportData, onOpenFullScreen, fullScreen, dataCypress, conditionalFormatting, enableCyclicPasteRepeat, }: Spreadsheet.ContextProvider): import("react/jsx-runtime").JSX.Element;
@@ -228,6 +228,7 @@ export type Context = {
228
228
  onImportData?: () => void;
229
229
  onOpenFullScreen?: () => void;
230
230
  fullScreen: boolean;
231
+ dataCypress?: string;
231
232
  viewType: SpreadsheetDisplayModeEnum;
232
233
  setViewType: (viewType: SpreadsheetDisplayModeEnum) => void;
233
234
  scrollLeft: number;
@@ -21,6 +21,12 @@ export type SpreadsheetProps = {
21
21
  onExportData?: () => void;
22
22
  onImportData?: () => void;
23
23
  onOpenFullScreen?: () => void;
24
+ /**
25
+ * Prefix used to build `data-cypress` identifiers for the toolbar options menu:
26
+ * `${dataCypress}-options-trigger`, `${dataCypress}-export-data` and `${dataCypress}-import-data`.
27
+ * When omitted, no identifiers are rendered.
28
+ */
29
+ dataCypress?: string;
24
30
  fullScreen?: boolean;
25
31
  conditionalFormatting?: ConditionalFormattingRule[];
26
32
  /**