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.
- package/dist/ce-component-lib.css +1 -1
- package/dist/ce-component-lib.js +48 -45
- package/dist/ce-component-lib.mjs +897 -907
- package/dist/components/Common/CEAutoComplete/AutoCompleteInput.d.ts +1 -0
- package/dist/components/Common/CEAutoComplete/CEAutoCompleteSelect.d.ts +1 -0
- package/dist/components/Common/CEFieldComponet/DynamicTextField/DynamicTextField.d.ts +2 -10
- package/dist/components/Common/DataGrid/CEDataGridStyleTable.d.ts +10 -1
- package/dist/components/Common/DataGrid/CEDataTable.d.ts +6 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/components/Common/Menu/{CEMenubar.d.ts → CEMenuBar.d.ts} +0 -0
|
@@ -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
|
-
|
|
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
|
-
|
|
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/
|
|
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.
|
|
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",
|
|
File without changes
|