cecomponent 1.0.109 → 1.0.111
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.
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface TabItem {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
interface TabsProps {
|
|
7
|
+
tabs: TabItem[];
|
|
8
|
+
activeTab: string;
|
|
9
|
+
onTabClick: (value: string, e: React.MouseEvent) => void;
|
|
10
|
+
tabBarBgColor?: string;
|
|
11
|
+
tabBarItemBgColor?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const CERoundTabNav: React.FC<TabsProps>;
|
|
14
|
+
export default CERoundTabNav;
|
|
@@ -46,7 +46,20 @@ interface CEDataGridDynamicTableProps {
|
|
|
46
46
|
downloadOptions?: Array<{
|
|
47
47
|
label: string;
|
|
48
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;
|
|
49
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;
|
|
50
63
|
showRefreshIcon?: boolean;
|
|
51
64
|
showFullViewIcon?: boolean;
|
|
52
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.
|
|
4
|
+
"version": "1.0.111",
|
|
5
5
|
"main": "dist/ce-component-lib.js",
|
|
6
6
|
"module": "dist/ce-component-lib.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|