cecomponent 1.0.108 → 1.0.110

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.
@@ -7,6 +7,7 @@ export interface ColumnConfig {
7
7
  shouldVisible?: boolean;
8
8
  width?: string;
9
9
  elementType?: "inputtext" | "autosuggestion" | "text";
10
+ required?: boolean;
10
11
  }
11
12
  interface CEDataGridDynamicTableProps {
12
13
  title?: React.ReactNode;
@@ -45,7 +46,20 @@ interface CEDataGridDynamicTableProps {
45
46
  downloadOptions?: Array<{
46
47
  label: string;
47
48
  onClick: () => void;
49
+ /**
50
+ * If true, this downloadOptions entry's label will be used as the
51
+ * default download item label (which triggers the built-in export).
52
+ * The entry itself will not be rendered as a separate item in the
53
+ * dropdown (it's used only to provide the label).
54
+ */
55
+ usedefault?: boolean;
48
56
  }>;
57
+ /**
58
+ * Label for the default download action included at the top of the
59
+ * download dropdown when `downloadOptions` is provided. Defaults to
60
+ * "Export to Excel".
61
+ */
62
+ defaultDownloadLabel?: string;
49
63
  showRefreshIcon?: boolean;
50
64
  showFullViewIcon?: boolean;
51
65
  showSearchIcon?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cecomponent",
3
3
  "description": "A React component library for building modern UIs for Cleanearth",
4
- "version": "1.0.108",
4
+ "version": "1.0.110",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/index.d.ts",