cecomponent 1.0.196 → 1.0.197

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.
@@ -4,6 +4,7 @@ interface AutoCompleteProps {
4
4
  options: string[];
5
5
  value: string[];
6
6
  onChange: (val: string[]) => void;
7
+ placeholderText?: string;
7
8
  multiple?: boolean;
8
9
  showCheckboxes?: boolean;
9
10
  required?: boolean;
@@ -8,6 +8,7 @@ interface CEAutoCompleteSelectProps {
8
8
  options: Option[];
9
9
  value: string[];
10
10
  onChange: (val: string[]) => void;
11
+ placeholderText?: string;
11
12
  multiple?: boolean;
12
13
  showCheckboxes?: boolean;
13
14
  id?: string;
@@ -14,16 +14,8 @@ export interface CETextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElem
14
14
  rows?: number;
15
15
  minHeight?: number | string;
16
16
  width?: number | string;
17
- /**
18
- * validationType controls what characters are allowed in the input.
19
- * - 'number' -> digits only (0-9)
20
- * - 'alphanumeric' -> letters and digits
21
- * - 'alpha' -> letters only (A-Z, a-z)
22
- * - 'alphanumericWithSpecial' -> letters + digits + full set of special characters + spaces
23
- * - 'alphaWithoutSpecial' -> letters and spaces (no digits, no punctuation)
24
- *
25
- * Notes: This implementation strips disallowed characters on change.
26
- */
17
+ /** 🔥 NEW – zero-risk UI switch */
18
+ labelPosition?: "floating" | "top";
27
19
  validationType?: "number" | "alphanumeric" | "alpha" | "alphanumericWithSpecial" | "alphaWithoutSpecial";
28
20
  }
29
21
  declare const CEDynamicTextField: React.ForwardRefExoticComponent<CETextFieldProps & React.RefAttributes<HTMLInputElement>>;
@@ -1,3 +1,12 @@
1
1
  import { default as React } from 'react';
2
- declare const CEDataGridDynamicTable: React.FC;
2
+ interface CEDataGridDynamicTableProps {
3
+ columns?: number[];
4
+ rows?: number;
5
+ showHeader?: boolean;
6
+ showFooter?: boolean;
7
+ dataSource?: any[];
8
+ disabledRowColumn?: string;
9
+ disabledRowValues?: string[];
10
+ }
11
+ declare const CEDataGridDynamicTable: React.FC<CEDataGridDynamicTableProps>;
3
12
  export default CEDataGridDynamicTable;
@@ -13,6 +13,11 @@ interface HeadCell {
13
13
  interface CETableProps {
14
14
  rows: Row[];
15
15
  headCells: HeadCell[];
16
+ showHeader?: boolean;
17
+ showFooter?: boolean;
18
+ title?: string;
19
+ disabledRowColumn?: string;
20
+ disabledRowValues?: string[];
16
21
  }
17
- export default function CETable({ rows, headCells }: CETableProps): import("react/jsx-runtime").JSX.Element;
22
+ export default function CETable({ rows, headCells, showHeader, showFooter, title, disabledRowColumn, disabledRowValues, }: CETableProps): import("react/jsx-runtime").JSX.Element;
18
23
  export {};
package/dist/index.d.ts CHANGED
@@ -35,7 +35,7 @@ export { default as CEUserInfo } from './components/Common/Header/UserInfo';
35
35
  export { default as CEInputBox } from './components/Common/InputBox/CEInputTextBox';
36
36
  export { default as CEInputDropDown } from './components/Common/InputDropDown/InputDropDown';
37
37
  export { default as CELinearProgressBar } from './components/Common/LinearProgressBar/LinearBar';
38
- export { default as CEMenuBar } from './components/Common/Menu/CEMenubar';
38
+ export { default as CEMenuBar } from './components/Common/Menu/CEMenuBar';
39
39
  export { default as CEPagination } from './components/Common/Pagination/CEPagination';
40
40
  export { default as CERadioGroup } from './components/Common/RadioButton/CERadioButtonGroup';
41
41
  export { default as CERadioButton } from './components/Common/RadioButton/CERadioButton';
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.196",
4
+ "version": "1.0.197",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/idex.d.ts",