ids-enterprise-typings 20.1.3 → 20.2.0-alpha.0

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.
@@ -8,13 +8,16 @@
8
8
  type SohoAlertType = 'error' | 'alert' | 'success' | 'info' | 'icon' | undefined;
9
9
 
10
10
  interface SohoAlertOptions {
11
- /** */
11
+ /** The message text to display in the alert. */
12
12
  message?: string;
13
13
 
14
- /** */
14
+ /** If true, displays the alert inline rather than as a banner. */
15
15
  inline?: boolean;
16
16
 
17
- /** */
17
+ /** If true, truncates long messages with ellipsis. */
18
+ truncated?: boolean;
19
+
20
+ /** The type of alert to display. */
18
21
  type?: SohoAlertType;
19
22
 
20
23
  /**
@@ -27,9 +30,10 @@ interface SohoAlertOptions {
27
30
  */
28
31
  triggerEvents?: boolean;
29
32
 
30
- /** */
33
+ /** The icon to display with the alert. */
31
34
  icon?: string;
32
35
 
36
+ /** Unique identifier for the alert element. */
33
37
  id?: string;
34
38
  }
35
39
 
@@ -1254,6 +1254,13 @@ interface SohoDataGridStatic {
1254
1254
 
1255
1255
  exportToCsv(fileName: string, customDs: Object[], separator: string | object, format?: boolean): void;
1256
1256
 
1257
+ /**
1258
+ * Export the grid data to Excel format.
1259
+ * @param fileName The name of the file to export
1260
+ * @param keepGridFormatting Whether to keep grid formatting (defaults to true)
1261
+ */
1262
+ exportToXlsx(fileName: string, keepGridFormatting?: boolean): void;
1263
+
1257
1264
  /**
1258
1265
  * Returns an array of all the rows in the grid marked as dirty.
1259
1266
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "20.1.3",
4
+ "version": "20.2.0-alpha.0",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "peerDependencies": {