pixel-react 1.8.2 → 1.8.3
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/.yarn/install-state.gz +0 -0
- package/lib/components/Input/types.d.ts +4 -0
- package/lib/components/LabelEditTextField/types.d.ts +2 -0
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +1 -0
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +1 -0
- package/lib/components/SequentialConnectingBranch/types.d.ts +1 -0
- package/lib/components/TableTree/types.d.ts +4 -4
- package/lib/index.d.ts +8 -1
- package/lib/index.esm.js +66 -69
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +66 -69
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/formData/ConvertFormDataToObject.d.ts +1 -0
- package/lib/validations/regex.d.ts +7 -1
- package/package.json +1 -1
- package/src/assets/Themes/BaseTheme.scss +2 -1
- package/src/assets/Themes/DarkTheme.scss +9 -0
- package/src/assets/icons/test_freshers_logo.svg +8 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +9 -2
- package/src/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.tsx +4 -1
- package/src/components/Icon/Icon.stories.tsx +56 -8
- package/src/components/Icon/iconList.ts +3 -1
- package/src/components/Input/Input.stories.tsx +12 -0
- package/src/components/Input/Input.tsx +3 -1
- package/src/components/Input/types.ts +4 -0
- package/src/components/InputWithDropdown/types.ts +1 -1
- package/src/components/LabelEditTextField/LabelEditTextField.scss +4 -0
- package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +2 -1
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +14 -10
- package/src/components/LabelEditTextField/types.ts +2 -0
- package/src/components/MachineInputField/MachineInputField.scss +5 -1
- package/src/components/MachineInputField/MachineInputField.tsx +1 -0
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +2 -0
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +65 -57
- package/src/components/SequentialConnectingBranch/components/Branches/types.ts +1 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +2 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +1 -0
- package/src/components/SequentialConnectingBranch/types.ts +5 -1
- package/src/components/TableTree/Components/TableCell.tsx +3 -3
- package/src/components/TableTree/TableTree.scss +0 -7
- package/src/components/TableTree/TableTree.tsx +3 -22
- package/src/components/TableTree/types.ts +4 -4
- package/src/utils/formData/ConvertFormDataToObject.stories.tsx +27 -0
- package/src/utils/formData/ConvertFormDataToObject.ts +14 -0
- package/src/utils/getExtension/getExtension.stories.tsx +1 -0
- package/src/validations/regex.stories.tsx +39 -0
- package/src/validations/regex.ts +19 -0
package/.yarn/install-state.gz
CHANGED
Binary file
|
@@ -62,6 +62,10 @@ export interface InputProps {
|
|
62
62
|
* if on, suggestion popup will be displayed
|
63
63
|
*/
|
64
64
|
autoComplete?: 'on' | 'off';
|
65
|
+
/**
|
66
|
+
* if true, input field is in autofocus state
|
67
|
+
*/
|
68
|
+
autoFocus?: boolean;
|
65
69
|
/**
|
66
70
|
* minimum and maximum values for the number type input field and their functions
|
67
71
|
*/
|
@@ -17,6 +17,7 @@ export interface LabelEditTextFieldTypes {
|
|
17
17
|
label?: string;
|
18
18
|
/** Initial text displayed in the input field. */
|
19
19
|
text?: string;
|
20
|
+
showText?: boolean;
|
20
21
|
/** Text to be highlighted within the displayed text, if provided. */
|
21
22
|
highlightText?: string;
|
22
23
|
/** Custom error message to be displayed, if applicable. */
|
@@ -42,6 +43,7 @@ export interface LabelEditTextFieldTypes {
|
|
42
43
|
onClick?: () => void;
|
43
44
|
/** Function called when every input character got changed */
|
44
45
|
onInputChange?: (newInputValue: string) => void;
|
46
|
+
className?: string;
|
45
47
|
tooltip?: {
|
46
48
|
tooltipTitle?: string;
|
47
49
|
tooltipPlacement?: string;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { BranchesProps } from './types';
|
2
2
|
import './Branches.scss';
|
3
|
-
declare const Branches: ({ machineInstances, rowIndex, machineColumnCount, machineColumnWidth, nextRowMachineInstance, previousRowMachineInstance, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const Branches: ({ machineInstances, rowIndex, machineColumnCount, machineColumnWidth, nextRowMachineInstance, previousRowMachineInstance, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, readOnly, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default Branches;
|
@@ -14,6 +14,7 @@ export interface BranchesProps {
|
|
14
14
|
scriptType?: string;
|
15
15
|
onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
|
16
16
|
projectType?: string;
|
17
|
+
readOnly: boolean;
|
17
18
|
}
|
18
19
|
export interface branchTypeProps {
|
19
20
|
currentBranch: ExecutionContext | undefined | {};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { ConnectingBranchesProps } from './types';
|
2
2
|
import './ConnectingBranches.scss';
|
3
|
-
declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, readOnly }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default ConnectingBranches;
|
@@ -12,7 +12,7 @@ export interface TableCellProps {
|
|
12
12
|
level: number;
|
13
13
|
selected: string[];
|
14
14
|
select: string | null;
|
15
|
-
onCheckBoxChange: (
|
15
|
+
onCheckBoxChange: (e: any, node: string[] | any) => void;
|
16
16
|
onToggleExpand: (node: any) => void;
|
17
17
|
parentSiblings: boolean[];
|
18
18
|
isLast: boolean | undefined;
|
@@ -27,7 +27,7 @@ export interface TableBodyProps {
|
|
27
27
|
select: string | null;
|
28
28
|
onRowClick: (e: any, node: any) => void;
|
29
29
|
onToggleExpand: (node: any) => void;
|
30
|
-
onCheckBoxChange: (
|
30
|
+
onCheckBoxChange: (e: any, node: string[] | any) => void;
|
31
31
|
}
|
32
32
|
export interface TableRowProps {
|
33
33
|
node: any;
|
@@ -37,7 +37,7 @@ export interface TableRowProps {
|
|
37
37
|
select: string | null;
|
38
38
|
onRowClick: (e: any, node: any) => void;
|
39
39
|
onToggleExpand: (node: any) => void;
|
40
|
-
onCheckBoxChange: (
|
40
|
+
onCheckBoxChange: (e: any, node: string[] | any) => void;
|
41
41
|
parentSiblings: boolean[];
|
42
42
|
isLast: boolean | undefined;
|
43
43
|
}
|
@@ -57,7 +57,7 @@ export interface TreeTableProps {
|
|
57
57
|
columnsData: Column[];
|
58
58
|
selected?: string[];
|
59
59
|
select?: 'radio' | 'checkbox' | 'none';
|
60
|
-
onChange?: (e: any, node: string[]) => void;
|
60
|
+
onChange?: (e: any, node: string[] | any) => void;
|
61
61
|
onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
|
62
62
|
onExpand?: (_isExpanded: boolean, node: string) => void;
|
63
63
|
loadMore?: (_direction?: string) => void;
|
package/lib/index.d.ts
CHANGED
@@ -684,6 +684,10 @@ interface InputProps {
|
|
684
684
|
* if on, suggestion popup will be displayed
|
685
685
|
*/
|
686
686
|
autoComplete?: 'on' | 'off';
|
687
|
+
/**
|
688
|
+
* if true, input field is in autofocus state
|
689
|
+
*/
|
690
|
+
autoFocus?: boolean;
|
687
691
|
/**
|
688
692
|
* minimum and maximum values for the number type input field and their functions
|
689
693
|
*/
|
@@ -1710,7 +1714,7 @@ interface TreeTableProps {
|
|
1710
1714
|
columnsData: Column[];
|
1711
1715
|
selected?: string[];
|
1712
1716
|
select?: 'radio' | 'checkbox' | 'none';
|
1713
|
-
onChange?: (e: any, node: string[]) => void;
|
1717
|
+
onChange?: (e: any, node: string[] | any) => void;
|
1714
1718
|
onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
|
1715
1719
|
onExpand?: (_isExpanded: boolean, node: string) => void;
|
1716
1720
|
loadMore?: (_direction?: string) => void;
|
@@ -2265,6 +2269,7 @@ interface SequentialConnectingBranchProps {
|
|
2265
2269
|
addInstanceLabel?: string;
|
2266
2270
|
scriptType?: string;
|
2267
2271
|
projectType?: string;
|
2272
|
+
readOnly?: boolean;
|
2268
2273
|
}
|
2269
2274
|
interface MachineInfo {
|
2270
2275
|
osName: string;
|
@@ -2391,6 +2396,7 @@ interface LabelEditTextFieldTypes$1 {
|
|
2391
2396
|
label?: string;
|
2392
2397
|
/** Initial text displayed in the input field. */
|
2393
2398
|
text?: string;
|
2399
|
+
showText?: boolean;
|
2394
2400
|
/** Text to be highlighted within the displayed text, if provided. */
|
2395
2401
|
highlightText?: string;
|
2396
2402
|
/** Custom error message to be displayed, if applicable. */
|
@@ -2416,6 +2422,7 @@ interface LabelEditTextFieldTypes$1 {
|
|
2416
2422
|
onClick?: () => void;
|
2417
2423
|
/** Function called when every input character got changed */
|
2418
2424
|
onInputChange?: (newInputValue: string) => void;
|
2425
|
+
className?: string;
|
2419
2426
|
tooltip?: {
|
2420
2427
|
tooltipTitle?: string;
|
2421
2428
|
tooltipPlacement?: string;
|