cecomponent 1.0.117 → 1.0.119
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.
- package/dist/ce-component-lib.css +1 -1
- package/dist/ce-component-lib.js +65 -65
- package/dist/ce-component-lib.mjs +2195 -1989
- package/dist/components/Common/DataGrid/CEDataGridDynamicsTable.d.ts +1 -1
- package/dist/components/Common/Multiselection/CEAdvancedMultiSelectDropdown.d.ts +19 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ interface CEDataGridDynamicTableProps {
|
|
|
33
33
|
noOfPagesPerPage?: number;
|
|
34
34
|
handleEditClick?: () => void;
|
|
35
35
|
handleAddClick?: () => void;
|
|
36
|
-
handleDeleteClick?: () => void;
|
|
36
|
+
handleDeleteClick?: (row: any, rowIndex: number) => void;
|
|
37
37
|
handleApproveClick?: () => void;
|
|
38
38
|
handleReassignClick?: () => void;
|
|
39
39
|
handleCancelClick?: () => void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface AdvancedOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
interface AdvancedMultiSelectDropdownProps {
|
|
9
|
+
options: AdvancedOption[];
|
|
10
|
+
onSelectItem: (option: AdvancedOption) => void;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
allowSearch?: boolean;
|
|
13
|
+
/** 🔧 New optional sizing props */
|
|
14
|
+
width?: string | number;
|
|
15
|
+
inputHeight?: string | number;
|
|
16
|
+
dropdownMaxHeight?: string | number;
|
|
17
|
+
}
|
|
18
|
+
declare const CEAdvancedMultiSelectDropdown: React.FC<AdvancedMultiSelectDropdownProps>;
|
|
19
|
+
export default CEAdvancedMultiSelectDropdown;
|
package/dist/index.d.ts
CHANGED
|
@@ -56,3 +56,4 @@ export { default as CERoundTabNav } from './components/Common/CERadiusTabNavigat
|
|
|
56
56
|
export { CEAccordion } from './components/Common/CEAccordion/CEAccordion';
|
|
57
57
|
export { CEAccordionItem } from './components/Common/CEAccordion/CEAccordionItem';
|
|
58
58
|
export { default as CEToggleSlider } from './components/Common/CEToggleSlider/CEToggleSlide';
|
|
59
|
+
export { default as CEAdvancedMultiSelectDropdown } from './components/Common/Multiselection/CEAdvancedMultiSelectDropdown';
|
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.119",
|
|
5
5
|
"main": "dist/ce-component-lib.js",
|
|
6
6
|
"module": "dist/ce-component-lib.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|