cecomponent 2.0.24 → 2.0.26

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.
@@ -2,6 +2,7 @@ import { default as React } from 'react';
2
2
  interface Option {
3
3
  label: string;
4
4
  value: string;
5
+ subtitle?: string;
5
6
  }
6
7
  interface CEAutoCompleteSelectProps {
7
8
  label: string;
@@ -3,6 +3,7 @@ import { Size } from '../Tokens/CESizes';
3
3
  export interface AutoSuggestOption {
4
4
  label: string;
5
5
  value: string | number;
6
+ subtitle?: string;
6
7
  [key: string]: any;
7
8
  }
8
9
  interface AdvancedAutoSuggestProps {
@@ -31,6 +31,8 @@ interface CEDataGridDynamicTableProps {
31
31
  isApproveButtonRequired?: boolean;
32
32
  isReassignButtonRequired?: boolean;
33
33
  isCancelButtonRequired?: boolean;
34
+ isCopyButtonRequired?: boolean;
35
+ isViewButtonRequired?: boolean;
34
36
  noOfPagesPerPage?: number;
35
37
  handleEditClick?: (row: any, rowIndex: number) => void;
36
38
  handleAddClick?: () => void;
@@ -38,6 +40,8 @@ interface CEDataGridDynamicTableProps {
38
40
  handleApproveClick?: (row: any, rowIndex: number) => void;
39
41
  handleReassignClick?: () => void;
40
42
  handleCancelClick?: (row: any, rowIndex: number) => void;
43
+ handleCopyClick?: (row: any, rowIndex: number) => void;
44
+ handleViewClick?: (row: any, rowIndex: number) => void;
41
45
  clickableColumns?: string[];
42
46
  isExportAllToExcel?: boolean;
43
47
  conditionalClickableColumns?: Record<string, string[]>;
@@ -19,6 +19,10 @@ interface DatePickerProps {
19
19
  * Maximum selectable date (inclusive). Format: 'YYYY-MM-DD' or Date object.
20
20
  */
21
21
  maxDate?: string | Date;
22
+ /**
23
+ * If true, disables the entire date picker (input and calendar)
24
+ */
25
+ disabled?: boolean;
22
26
  }
23
27
  declare const CEDatePicker: FC<DatePickerProps>;
24
28
  export default CEDatePicker;
@@ -6,6 +6,7 @@ export interface RadioButtonProps {
6
6
  onChange: (value: string) => void;
7
7
  id?: string;
8
8
  name?: string;
9
+ disabled?: boolean;
9
10
  }
10
11
  declare const CERadioButton: React.FC<RadioButtonProps>;
11
12
  export default CERadioButton;
@@ -11,6 +11,7 @@ interface RadioButtonGroupProps {
11
11
  direction?: "vertical" | "horizontal";
12
12
  id?: string;
13
13
  nameAttr?: string;
14
+ disabled?: boolean;
14
15
  }
15
16
  declare const CERadioButtonGroup: React.FC<RadioButtonGroupProps>;
16
17
  export default CERadioButtonGroup;
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": "2.0.24",
4
+ "version": "2.0.26",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/idex.d.ts",