cecomponent 1.0.27 → 1.0.29

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 CEButtonProps {
8
8
  children: React.ReactNode;
9
9
  className?: string;
10
10
  sx?: React.CSSProperties;
11
+ color?: string;
11
12
  }
12
13
  declare const CEButton: React.FC<CEButtonProps>;
13
14
  export default CEButton;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ interface AutoCompleteProps {
3
+ label: string;
4
+ options: string[];
5
+ value: string[];
6
+ onChange: (val: string[]) => void;
7
+ multiple?: boolean;
8
+ showCheckboxes?: boolean;
9
+ }
10
+ declare const AutoCompleteInput: React.FC<AutoCompleteProps>;
11
+ export default AutoCompleteInput;
@@ -4,12 +4,14 @@ interface AutoSuggestInputProps {
4
4
  label: string;
5
5
  placeholder?: string;
6
6
  fetchSuggestions: (query: string) => Promise<string[]>;
7
- value: string;
8
- onChange: (value: string) => void;
7
+ value: string | string[];
8
+ onChange: (value: string | string[]) => void;
9
9
  width?: string;
10
10
  height?: string;
11
11
  style?: React.CSSProperties;
12
12
  size?: Size;
13
+ multipleSelection?: boolean;
14
+ showSearchIcon?: boolean;
13
15
  }
14
16
  declare const CEAutoSuggestInput: React.FC<AutoSuggestInputProps>;
15
17
  export default CEAutoSuggestInput;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ export interface UploadedFile {
3
+ name: string;
4
+ type: string;
5
+ uploadDate: string;
6
+ file: File;
7
+ }
8
+ interface CEFileUploadProps {
9
+ onUpload?: (files: UploadedFile[]) => void;
10
+ }
11
+ declare const CEFileUploadDocument: React.FC<CEFileUploadProps>;
12
+ export default CEFileUploadDocument;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const CEUploadModalWrapper: React.FC;
3
+ export default CEUploadModalWrapper;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
- import { Size } from '../Tokens/CESizes';
3
2
  type CustomModalProps = {
4
3
  isOpen: boolean;
5
4
  onClose: () => void;
@@ -9,7 +8,6 @@ type CustomModalProps = {
9
8
  secondaryButtonText?: string;
10
9
  onPrimaryClick?: () => void;
11
10
  onSecondaryClick?: () => void;
12
- size?: Size;
13
11
  };
14
12
  declare const CECustomModal: React.FC<CustomModalProps>;
15
13
  export default CECustomModal;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const CEFileUpload: React.FC;
3
+ export default CEFileUpload;
@@ -9,6 +9,7 @@ interface InputDropDownProps {
9
9
  onChange: (selected: string[]) => void;
10
10
  placeholder?: string;
11
11
  multipleSelection?: boolean;
12
+ style?: React.CSSProperties;
12
13
  size?: Size;
13
14
  }
14
15
  declare const CEInputDropDown: React.FC<InputDropDownProps>;
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export { default as CEBreadcrumbs } from './components/Common/Breadcrumb/CEBread
2
2
  export { default as CEButton } from './components/Common/Button/CEButton';
3
3
  export { default as CEAutoSuggestInput } from './components/Common/CEAutoSuggestInput/CEAutoSuggestInput';
4
4
  export { default as CEDrawer } from './components/Common/CEDrawer/CEDrawer';
5
+ export { default as CEUploadModalWrapper } from './components/Common/CEFileUpload/CEUploadPopUp';
5
6
  export { default as CESnackBar } from './components/Common/CESnackBar/CESnackBar';
6
7
  export { default as CEStepper } from './components/Common/CEStepper/CEStepper';
7
8
  export { default as CECheckbox } from './components/Common/CheckBox/CECheckBox';
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.27",
4
+ "version": "1.0.29",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/index.d.ts",