cecomponent 1.0.82 → 1.0.84

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 CEDateRangePickerProps {
8
8
  label?: string;
9
9
  onChange?: (range: DateRange) => void;
10
10
  size?: Size;
11
+ style?: React.CSSProperties;
11
12
  }
12
13
  declare const CEDateRangePicker: React.FC<CEDateRangePickerProps>;
13
14
  export default CEDateRangePicker;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { Size } from '../Tokens/CESizes';
3
- type InputType = "text" | "number" | "alphanumeric" | "password" | "email";
3
+ type InputType = "text" | "number" | "alphanumeric" | "password" | "email" | "textarea";
4
4
  interface ValidatedInputProps {
5
5
  value: string;
6
6
  onChange: (value: string) => void;
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ import { Size } from '../Tokens/CESizes';
3
+ export interface StatusOption {
4
+ label: string;
5
+ value: string;
6
+ backgroundColor?: string;
7
+ textColor?: string;
8
+ icon?: React.ReactNode;
9
+ statusType?: "in-progress" | "declined" | "withdrawn";
10
+ }
11
+ interface StatusDropdownProps {
12
+ options: StatusOption[];
13
+ selected: string;
14
+ onChange: (value: string) => void;
15
+ placeholder?: string;
16
+ size?: Size;
17
+ disabled?: boolean;
18
+ ariaLabel?: string;
19
+ }
20
+ declare const CEStatusDropdown: React.FC<StatusDropdownProps>;
21
+ export default CEStatusDropdown;
package/dist/index.d.ts CHANGED
@@ -42,3 +42,6 @@ export { default as CETemplate } from './components/Common/Template/CETemplate';
42
42
  export { default as CETimePicker } from './components/Common/Timepicker/CETimePicker';
43
43
  export { default as TransferList } from './components/Common/TransferListNew/CETransferList';
44
44
  export { default as CETransferButton } from './components/Common/TransferListNew/CETransferButton';
45
+ export { default as CEBadge } from './components/Common/CEBadge/CEBadge';
46
+ export { default as CEChatbox } from './components/Common/CEChatbox/CEChatbox';
47
+ export { default as CEStatusDropdown } from './components/Common/StatusDropDown/CEStatusDropdown';
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.82",
4
+ "version": "1.0.84",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/index.d.ts",