cecomponent 1.0.15 → 1.0.16

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.
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  interface CEDataGridDynamicTableProps {
3
3
  jsonUrl: string;
4
+ token: string;
4
5
  }
5
6
  declare const CEDataGridDynamicTable: React.FC<CEDataGridDynamicTableProps>;
6
7
  export default CEDataGridDynamicTable;
@@ -0,0 +1,10 @@
1
+ import { default as React, ChangeEvent } from 'react';
2
+ interface FieldsInputProps {
3
+ label: string;
4
+ name: string;
5
+ placeholder?: string;
6
+ value?: string;
7
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
8
+ }
9
+ declare const FieldsInput: React.FC<FieldsInputProps>;
10
+ export default FieldsInput;
@@ -1,6 +1,9 @@
1
1
  interface CEHeaderProps {
2
2
  headerColor?: string;
3
+ logoSrc?: string;
3
4
  showSearchButton?: boolean;
5
+ quickActions?: string[];
6
+ recentSearches?: string[];
4
7
  showHelpButton?: boolean;
5
8
  showNotificationButton?: boolean;
6
9
  showAvatarMenu?: boolean;
@@ -3,6 +3,8 @@ interface SearchBarProps {
3
3
  showSuggestions?: boolean;
4
4
  onFocus?: () => void;
5
5
  onBlur?: () => void;
6
+ quickActions?: string[];
7
+ recentSearches?: string[];
6
8
  }
7
9
  declare const CESearchBar: React.FC<SearchBarProps>;
8
10
  export default CESearchBar;
@@ -1,6 +1,12 @@
1
1
  import { default as React } from 'react';
2
2
  interface SearchButtonProps {
3
3
  showSuggestions?: boolean;
4
+ quickActions?: string[];
5
+ recentSearches?: string[];
6
+ value: string;
7
+ onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
8
+ onClear: () => void;
9
+ placeholder?: string;
4
10
  }
5
11
  declare const CESearchButton: React.FC<SearchButtonProps>;
6
12
  export default CESearchButton;
@@ -0,0 +1,26 @@
1
+ import { default as React } from 'react';
2
+ interface FieldConfig {
3
+ type: "text" | "checkbox";
4
+ label: string;
5
+ name: string;
6
+ width?: string;
7
+ height?: string;
8
+ inline?: boolean;
9
+ }
10
+ interface ButtonConfig {
11
+ label?: string;
12
+ visible?: boolean;
13
+ }
14
+ interface PageConfig {
15
+ fields: FieldConfig[];
16
+ }
17
+ interface PopupProps {
18
+ pages: PageConfig[];
19
+ onClose: () => void;
20
+ buttons?: {
21
+ cancel?: ButtonConfig;
22
+ submit?: ButtonConfig;
23
+ };
24
+ }
25
+ declare const ModulePopup: React.FC<PopupProps>;
26
+ export default ModulePopup;
package/dist/index.d.ts CHANGED
@@ -29,6 +29,7 @@ export { default as CERadioGroup } from './components/Common/RadioButton/CERadio
29
29
  export { default as CERadioButton } from './components/Common/RadioButton/CERadioButton';
30
30
  export { CERichTextEditor } from './components/Common/RichTextBox/CERichText';
31
31
  export { default as CETabView } from './components/Common/TabView/CETabView';
32
+ export { default as CETemplate } from './components/Common/Template/CETemplate';
32
33
  export { default as CETimePicker } from './components/Common/Timepicker/CETimePicker';
33
34
  export { default as TransferList } from './components/Common/TransferListNew/CETransferList';
34
35
  export { default as CETransferButton } from './components/Common/TransferListNew/CETransferButton';
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.15",
4
+ "version": "1.0.16",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/index.d.ts",