cecomponent 2.0.34 → 2.0.36

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,6 +8,7 @@ interface AutoCompleteProps {
8
8
  multiple?: boolean;
9
9
  showCheckboxes?: boolean;
10
10
  required?: boolean;
11
+ disabled?: boolean;
11
12
  }
12
13
  declare const AutoCompleteInput: React.FC<AutoCompleteProps>;
13
14
  export default AutoCompleteInput;
@@ -19,6 +19,7 @@ interface AdvancedAutoSuggestProps {
19
19
  showError?: boolean;
20
20
  errorMessage?: string;
21
21
  id?: string;
22
+ disabled?: boolean;
22
23
  }
23
24
  declare const CEAdvancedAutoSuggest: React.FC<AdvancedAutoSuggestProps>;
24
25
  export default CEAdvancedAutoSuggest;
@@ -17,6 +17,7 @@ interface AutoSuggestInputProps {
17
17
  required?: boolean;
18
18
  showError?: boolean;
19
19
  errorMessage?: string;
20
+ disabled?: boolean;
20
21
  }
21
22
  declare const CEAutoSuggestInput: React.FC<AutoSuggestInputProps>;
22
23
  export default CEAutoSuggestInput;
@@ -1,5 +1,5 @@
1
1
  import { default as React, InputHTMLAttributes } from 'react';
2
- export interface CESearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
2
+ export interface CESearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {
3
3
  label?: string;
4
4
  onSearch?: (value: string) => void;
5
5
  onClear?: () => void;
@@ -11,6 +11,7 @@ export interface CESearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputEl
11
11
  labelClassName?: string;
12
12
  inputClassName?: string;
13
13
  containerStyle?: React.CSSProperties;
14
+ disabled?: boolean;
14
15
  }
15
16
  declare const CEDynamicSearchField: React.ForwardRefExoticComponent<CESearchFieldProps & React.RefAttributes<HTMLInputElement>>;
16
17
  export default CEDynamicSearchField;
@@ -14,6 +14,7 @@ export interface CETextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElem
14
14
  rows?: number;
15
15
  minHeight?: number | string;
16
16
  width?: number | string;
17
+ disabled?: boolean;
17
18
  /** 🔥 NEW – zero-risk UI switch */
18
19
  labelPosition?: "floating" | "top";
19
20
  /** Optional leading/trailing icon */
@@ -3,6 +3,7 @@ type ToggleYesNoProps = {
3
3
  value: string | null;
4
4
  onChange: (val: string) => void;
5
5
  label?: string;
6
+ disabled?: boolean;
6
7
  };
7
8
  declare const CEToggleYesNo: React.FC<ToggleYesNoProps>;
8
9
  export default CEToggleYesNo;
@@ -5,6 +5,7 @@ declare const meta: {
5
5
  value: string | null;
6
6
  onChange: (val: string) => void;
7
7
  label?: string;
8
+ disabled?: boolean;
8
9
  }>;
9
10
  parameters: {
10
11
  layout: string;
@@ -10,6 +10,7 @@ interface DateInputPartProps {
10
10
  onClick?: (e: React.MouseEvent<HTMLInputElement>) => void;
11
11
  id?: string;
12
12
  name?: string;
13
+ disabled?: boolean;
13
14
  }
14
15
  declare const DateInputPart: React.FC<DateInputPartProps>;
15
16
  export default DateInputPart;
@@ -16,6 +16,7 @@ interface AdvancedMultiSelectDropdownProps {
16
16
  dropdownMaxHeight?: string | number;
17
17
  id?: string;
18
18
  name?: string;
19
+ disabled?: boolean;
19
20
  }
20
21
  declare const CEAdvancedMultiSelectDropdown: React.FC<AdvancedMultiSelectDropdownProps>;
21
22
  export default CEAdvancedMultiSelectDropdown;
@@ -5,6 +5,7 @@ interface TimePickerProps {
5
5
  className?: string;
6
6
  id?: string;
7
7
  name?: string;
8
+ disabled?: boolean;
8
9
  }
9
10
  declare const CETimePicker: React.FC<TimePickerProps>;
10
11
  export default CETimePicker;
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.34",
4
+ "version": "2.0.36",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/idex.d.ts",