pixel-react 1.1.4 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/lib/components/AddResourceButton/type.d.ts +1 -1
  3. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.d.ts +2 -1
  4. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +1 -0
  5. package/lib/components/AllProjectsDropdown/types.d.ts +10 -0
  6. package/lib/components/Button/Button.stories.d.ts +1 -0
  7. package/lib/components/Button/types.d.ts +1 -1
  8. package/lib/components/Drawer/Drawer.stories.d.ts +3 -0
  9. package/lib/components/Drawer/Types.d.ts +25 -1
  10. package/lib/components/Icon/Icon.d.ts +1 -1
  11. package/lib/components/MachineInputField/MachineInputField.d.ts +4 -0
  12. package/lib/components/MachineInputField/MachineInputField.stories.d.ts +6 -0
  13. package/lib/components/MachineInputField/index.d.ts +1 -0
  14. package/lib/components/MachineInputField/types.d.ts +11 -0
  15. package/lib/components/MenuOption/MenuOption.d.ts +1 -1
  16. package/lib/components/MenuOption/MenuOption.stories.d.ts +1 -0
  17. package/lib/components/MenuOption/types.d.ts +7 -0
  18. package/lib/components/Modal/types.d.ts +1 -0
  19. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.d.ts +4 -0
  20. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +6 -0
  21. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.d.ts +4 -0
  22. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/types.d.ts +3 -0
  23. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +4 -0
  24. package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +16 -0
  25. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +4 -0
  26. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +9 -0
  27. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.d.ts +4 -0
  28. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/types.d.ts +3 -0
  29. package/lib/components/SequentialConnectingBranch/index.d.ts +1 -0
  30. package/lib/components/SequentialConnectingBranch/types.d.ts +32 -0
  31. package/lib/components/TableTree/TableTree.d.ts +4 -2
  32. package/lib/components/Tabs/types.d.ts +1 -0
  33. package/lib/index.d.ts +103 -9
  34. package/lib/index.esm.js +890 -572
  35. package/lib/index.esm.js.map +1 -1
  36. package/lib/index.js +891 -571
  37. package/lib/index.js.map +1 -1
  38. package/lib/tsconfig.tsbuildinfo +1 -1
  39. package/package.json +1 -1
  40. package/rollup.config.mjs +5 -1
  41. package/src/assets/Themes/BaseTheme.scss +18 -2
  42. package/src/assets/Themes/DarkTheme.scss +11 -3
  43. package/src/assets/icons/add_locator.svg +5 -0
  44. package/src/assets/icons/android.svg +9 -0
  45. package/src/assets/icons/browser_stack.svg +9 -0
  46. package/src/assets/icons/chrome.svg +12 -0
  47. package/src/assets/icons/dataset_list.svg +3 -0
  48. package/src/assets/icons/drag_icon.svg +5 -0
  49. package/src/assets/icons/label_plus.svg +3 -0
  50. package/src/assets/icons/mac.svg +9 -0
  51. package/src/assets/icons/manual_locator.svg +8 -0
  52. package/src/assets/icons/windows.svg +6 -0
  53. package/src/assets/styles/_colors.scss +4 -4
  54. package/src/components/AddResourceButton/type.ts +1 -1
  55. package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +2 -2
  56. package/src/components/AllProjectsDropdown/AllProjectsDropdown.stories.tsx +99 -1
  57. package/src/components/AllProjectsDropdown/AllProjectsDropdown.tsx +30 -56
  58. package/src/components/AllProjectsDropdown/types.ts +10 -0
  59. package/src/components/Button/Button.scss +4 -0
  60. package/src/components/Button/Button.stories.tsx +7 -0
  61. package/src/components/Button/types.ts +2 -2
  62. package/src/components/Drawer/Drawer.scss +22 -11
  63. package/src/components/Drawer/Drawer.stories.tsx +41 -0
  64. package/src/components/Drawer/Drawer.tsx +67 -40
  65. package/src/components/Drawer/Types.ts +25 -1
  66. package/src/components/GridLayout/GridLayout.scss +0 -2
  67. package/src/components/GridLayout/GridLayout.tsx +15 -8
  68. package/src/components/Icon/Icon.tsx +39 -33
  69. package/src/components/Icon/iconList.ts +25 -6
  70. package/src/components/InputWithDropdown/InputWithDropdown.scss +1 -1
  71. package/src/components/InputWithDropdown/InputWithDropdown.tsx +2 -1
  72. package/src/components/MachineInputField/MachineInputField.scss +44 -0
  73. package/src/components/MachineInputField/MachineInputField.stories.tsx +32 -0
  74. package/src/components/MachineInputField/MachineInputField.tsx +71 -0
  75. package/src/components/MachineInputField/index.ts +1 -0
  76. package/src/components/MachineInputField/types.ts +12 -0
  77. package/src/components/MenuOption/MenuOption.scss +14 -0
  78. package/src/components/MenuOption/MenuOption.stories.tsx +21 -0
  79. package/src/components/MenuOption/MenuOption.tsx +5 -3
  80. package/src/components/MenuOption/types.ts +9 -0
  81. package/src/components/MiniModal/MiniModal.tsx +1 -1
  82. package/src/components/Modal/Modal.tsx +2 -0
  83. package/src/components/Modal/modal.scss +2 -2
  84. package/src/components/Modal/types.ts +1 -0
  85. package/src/components/Select/Select.tsx +2 -2
  86. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.scss +117 -0
  87. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.tsx +62 -0
  88. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +210 -0
  89. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.scss +51 -0
  90. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.tsx +107 -0
  91. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/types.ts +5 -0
  92. package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +184 -0
  93. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +203 -0
  94. package/src/components/SequentialConnectingBranch/components/Branches/types.ts +18 -0
  95. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.scss +3 -0
  96. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +66 -0
  97. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +10 -0
  98. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.scss +31 -0
  99. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.tsx +85 -0
  100. package/src/components/SequentialConnectingBranch/components/DatasetListModal/types.ts +4 -0
  101. package/src/components/SequentialConnectingBranch/index.ts +1 -0
  102. package/src/components/SequentialConnectingBranch/types.ts +42 -0
  103. package/src/components/TableTree/TableTree.stories.tsx +8 -1
  104. package/src/components/TableTree/TableTree.tsx +25 -3
  105. package/src/components/Tabs/Tabs.stories.tsx +24 -25
  106. package/src/components/Tabs/Tabs.tsx +3 -10
  107. package/src/components/Tabs/types.ts +7 -1
  108. package/src/index.ts +5 -6
  109. package/lib/components/AddButton/AddButton.d.ts +0 -5
  110. package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
  111. package/lib/components/AddButton/index.d.ts +0 -1
  112. package/lib/components/AddButton/types.d.ts +0 -4
  113. package/lib/utils/find/findAndInsert.d.ts +0 -7
  114. package/lib/utils/find/findAndInsert.stories.d.ts +0 -7
Binary file
@@ -30,7 +30,7 @@ export interface AddResourceButtonProps {
30
30
  /**
31
31
  * direction option: 'top' | 'right' | 'down'
32
32
  */
33
- direction: string | 'top' | 'right' | 'down';
33
+ direction: string;
34
34
  menuOptions: {
35
35
  label: string;
36
36
  value: string | string[];
@@ -1,3 +1,4 @@
1
1
  import './AllProjectsDropdown.scss';
2
- declare const AllProjectsDropdown: () => import("react/jsx-runtime").JSX.Element;
2
+ import { AllProjectsDropdownProps } from './types';
3
+ declare const AllProjectsDropdown: ({ onClick, options, selectedOption, }: AllProjectsDropdownProps) => import("react/jsx-runtime").JSX.Element;
3
4
  export default AllProjectsDropdown;
@@ -2,5 +2,6 @@ import type { Meta, StoryObj } from '@storybook/react';
2
2
  import AllProjectsDropdown from './AllProjectsDropdown';
3
3
  declare const meta: Meta<typeof AllProjectsDropdown>;
4
4
  type Story = StoryObj<typeof AllProjectsDropdown>;
5
+ export declare const Default: Story;
5
6
  export declare const PrimaryIconButton: Story;
6
7
  export default meta;
@@ -0,0 +1,10 @@
1
+ export interface optionsType {
2
+ label: string;
3
+ value: string;
4
+ iconName: string;
5
+ }
6
+ export interface AllProjectsDropdownProps {
7
+ options: optionsType[];
8
+ onClick: (option: optionsType) => void;
9
+ selectedOption: optionsType;
10
+ }
@@ -6,6 +6,7 @@ export declare const Primary: Story;
6
6
  export declare const Secondary: Story;
7
7
  export declare const Tertiary: Story;
8
8
  export declare const Delete: Story;
9
+ export declare const Warning: Story;
9
10
  export declare const PrimaryWithIcon: Story;
10
11
  export declare const SecondaryWithIcon: Story;
11
12
  export declare const TertiaryWithIcon: Story;
@@ -3,7 +3,7 @@ export interface ButtonProps {
3
3
  /**
4
4
  * Variant of the button
5
5
  */
6
- variant: 'primary' | 'secondary' | 'tertiary' | 'delete';
6
+ variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning';
7
7
  /**
8
8
  * What background color to use
9
9
  */
@@ -4,4 +4,7 @@ declare const meta: Meta<typeof Drawer>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Drawer>;
6
6
  export declare const Default: Story;
7
+ export declare const WithoutHeader: Story;
8
+ export declare const WithCustomHeader: Story;
9
+ export declare const WithCustomFooter: Story;
7
10
  export declare const Controlled: Story;
@@ -45,7 +45,7 @@ export interface DrawerProps {
45
45
  /**
46
46
  * Header title for the drawer
47
47
  */
48
- title: string | ReactNode;
48
+ title?: string | ReactNode;
49
49
  /**
50
50
  * To show the edit button on the header
51
51
  */
@@ -82,4 +82,28 @@ export interface DrawerProps {
82
82
  * footer Content
83
83
  */
84
84
  footerContent?: ReactNode;
85
+ /**
86
+ * To show or hide the header
87
+ */
88
+ showHeader?: boolean;
89
+ /**
90
+ * Custom back button icon
91
+ * The icon to display for the back button.
92
+ * If not provided, a default icon will be used.
93
+ */
94
+ backButtonIcon?: ReactNode;
95
+ /**
96
+ * Callback function when the close icon is clicked
97
+ */
98
+ onCloseIconClick?: () => void;
99
+ /**
100
+ * Custom header for the drawer, replacing the default header.
101
+ * If provided, this will render in place of the default header.
102
+ */
103
+ customHeader?: ReactNode;
104
+ /**
105
+ * Custom footer for the drawer, replacing the default footer.
106
+ * If provided, this will render in place of the default footer.
107
+ */
108
+ customFooter?: ReactNode;
85
109
  }
@@ -1,4 +1,4 @@
1
1
  import './Icons.scss';
2
2
  import { IconProps } from './types';
3
- declare const Icon: ({ name, height, width, onClick, color, hoverEffect, className, disabled, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ declare const Icon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<HTMLSpanElement>>;
4
4
  export default Icon;
@@ -0,0 +1,4 @@
1
+ import './MachineInputField.scss';
2
+ import { MachineInputFieldProps } from './types';
3
+ declare const MachineInputField: import("react").ForwardRefExoticComponent<MachineInputFieldProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ export default MachineInputField;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import MachineInputField from './MachineInputField';
3
+ declare const meta: Meta<typeof MachineInputField>;
4
+ type Story = StoryObj<typeof MachineInputField>;
5
+ export declare const Primary: Story;
6
+ export default meta;
@@ -0,0 +1 @@
1
+ export { default } from './MachineInputField';
@@ -0,0 +1,11 @@
1
+ export interface MachineType {
2
+ type: 'Local' | 'mac' | 'android' | 'Google Chrome';
3
+ label: string;
4
+ }
5
+ export interface MachineInputFieldProps {
6
+ width: string;
7
+ options: MachineType[];
8
+ runCount: number;
9
+ className?: string;
10
+ contentReverse?: boolean;
11
+ }
@@ -1,4 +1,4 @@
1
1
  import './MenuOption.scss';
2
2
  import { MenuOptionProps } from './types';
3
- declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, dropdownPlacement, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, }: MenuOptionProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, dropdownPlacement, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, }: MenuOptionProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default MenuOption;
@@ -12,4 +12,5 @@ export declare const MenuOptionPlacementTop: Story;
12
12
  export declare const MenuOptionPlacementDown: Story;
13
13
  export declare const MenuOptionPlacementLeft: Story;
14
14
  export declare const MenuOptionPlacementRight: Story;
15
+ export declare const MenuOptionCustom: Story;
15
16
  export default meta;
@@ -89,6 +89,13 @@ interface MenuOptionProps {
89
89
  * @type {function}
90
90
  * @optional
91
91
  */
92
+ variant?: 'dark' | 'light';
93
+ /**
94
+ * The variant of the menu option, either 'dark' or 'light'.
95
+ * @type {'dark' | 'light'}
96
+ * @default 'light'
97
+ * @optional
98
+ */
92
99
  onClick?: () => void;
93
100
  /**
94
101
  * Callback function triggered when an option is clicked.
@@ -25,4 +25,5 @@ export interface ModalProps {
25
25
  isFooterDisplayed: boolean;
26
26
  customWidth: string;
27
27
  customHeight?: string;
28
+ zIndex?: number;
28
29
  }
@@ -0,0 +1,4 @@
1
+ import './SequentialConnectingBranch.scss';
2
+ import { SequentialConnectingBranchProps } from './types';
3
+ declare const SequentialConnectingBranch: ({ machineInstances, machineColumnWidth, machineColumnCount, machineInstance, selectedMachine, machineOptionsList, onMachineSelectionChange, }: SequentialConnectingBranchProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default SequentialConnectingBranch;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import SequentialConnectingBranch from './SequentialConnectingBranch';
3
+ declare const meta: Meta<typeof SequentialConnectingBranch>;
4
+ type Story = StoryObj<typeof SequentialConnectingBranch>;
5
+ export declare const Primary: Story;
6
+ export default meta;
@@ -0,0 +1,4 @@
1
+ import './AddBrowserModal.scss';
2
+ import { AddBrowserModalProps } from './types';
3
+ declare const AddBrowserModal: import("react").ForwardRefExoticComponent<AddBrowserModalProps & import("react").RefAttributes<HTMLButtonElement>>;
4
+ export default AddBrowserModal;
@@ -0,0 +1,3 @@
1
+ export interface AddBrowserModalProps {
2
+ onUpdateAddBrowser: () => void;
3
+ }
@@ -0,0 +1,4 @@
1
+ import { BranchesProps } from './types';
2
+ import './Branches.scss';
3
+ declare const Branches: ({ machineInstances, rowIndex, machineColumnCount, machineColumnWidth, nextRowMachineInstance, previousRowMachineInstance, onAddBrowser, onDeleteBrowser, onAddRunBrowser, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Branches;
@@ -0,0 +1,16 @@
1
+ import { ExecutionContext } from '../../types';
2
+ export interface BranchesProps {
3
+ machineInstances: ExecutionContext[] | {}[];
4
+ rowIndex: number;
5
+ machineColumnCount: number;
6
+ machineColumnWidth: number;
7
+ nextRowMachineInstance?: ExecutionContext | {} | undefined;
8
+ previousRowMachineInstance?: ExecutionContext | {} | undefined;
9
+ onAddBrowser: () => void;
10
+ onDeleteBrowser: (id: string, runCount: number) => void;
11
+ onAddRunBrowser: (id: string) => void;
12
+ }
13
+ export interface branchTypeProps {
14
+ currentBranch: ExecutionContext | undefined | {};
15
+ nextBranch: ExecutionContext | undefined | {};
16
+ }
@@ -0,0 +1,4 @@
1
+ import { ConnectingBranchesProps } from './types';
2
+ import './ConnectingBranches.scss';
3
+ declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default ConnectingBranches;
@@ -0,0 +1,9 @@
1
+ import { ExecutionContext } from '../../types';
2
+ export interface ConnectingBranchesProps {
3
+ machineBranchInstances: ExecutionContext[] | {}[];
4
+ machineColumnCount: number;
5
+ machineColumnWidth: number;
6
+ onAddBrowser: () => void;
7
+ onDeleteBrowser: (id: string, runCount: number) => void;
8
+ onAddRunBrowser: (id: string) => void;
9
+ }
@@ -0,0 +1,4 @@
1
+ import './DatasetListModal.scss';
2
+ import { DatasetListModalProps } from './types';
3
+ declare const DatasetListModal: import("react").ForwardRefExoticComponent<DatasetListModalProps & import("react").RefAttributes<HTMLButtonElement>>;
4
+ export default DatasetListModal;
@@ -0,0 +1,3 @@
1
+ export interface DatasetListModalProps {
2
+ onUpdateDatasetList: () => void;
3
+ }
@@ -0,0 +1 @@
1
+ export { default } from './SequentialConnectingBranch';
@@ -0,0 +1,32 @@
1
+ import { Option } from '../Select/types';
2
+ export interface SequentialConnectingBranchProps {
3
+ machineInstances?: ExecutionContext[] | {}[];
4
+ machineColumnWidth?: number;
5
+ machineColumnCount?: number;
6
+ machineInstance: ExecutionContext;
7
+ selectedMachine?: string;
8
+ onMachineSelectionChange?: (selectedMachine: Option) => void;
9
+ machineOptionsList?: Option[];
10
+ }
11
+ export interface MachineInfo {
12
+ osName: string;
13
+ osVersion: string;
14
+ hostName: string;
15
+ }
16
+ export interface DeviceInfo {
17
+ }
18
+ export interface ExecutionContext {
19
+ id: string;
20
+ clientId: string;
21
+ runCount: number;
22
+ executionEnv?: 'Local';
23
+ browserName?: 'Local' | 'mac' | 'android' | 'Google Chrome';
24
+ browserVersion: string;
25
+ systemUrl: string;
26
+ machineInfo: MachineInfo;
27
+ deviceInfo: DeviceInfo[];
28
+ headless: boolean;
29
+ peVariableSetId: string;
30
+ globalVariableSetId: string;
31
+ testDataSetId: string;
32
+ }
@@ -12,10 +12,12 @@ interface ObjectProps {
12
12
  [key: string]: any;
13
13
  }
14
14
  interface TableTreeProps {
15
- withCheckBox: boolean;
15
+ select: 'checkbox' | 'radio' | 'none';
16
16
  columnsData: Array<ColumnDataProps>;
17
17
  treeData: Array<ObjectProps>;
18
18
  onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
19
+ onChange?: (e: any, node: any) => void;
20
+ selected: Array<string>;
19
21
  }
20
- declare const TableTree: ({ columnsData, treeData, withCheckBox, onClick, }: TableTreeProps) => import("react/jsx-runtime").JSX.Element;
22
+ declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, }: TableTreeProps) => import("react/jsx-runtime").JSX.Element;
21
23
  export default TableTree;
@@ -21,6 +21,7 @@ export interface TabsProps {
21
21
  * An array of tab objects containing label, component, and optional disabled status.
22
22
  */
23
23
  tabsData: {
24
+ id: string;
24
25
  label: string;
25
26
  component?: JSX.Element;
26
27
  disabled?: boolean;
package/lib/index.d.ts CHANGED
@@ -13,7 +13,7 @@ interface ButtonProps$1 {
13
13
  /**
14
14
  * Variant of the button
15
15
  */
16
- variant: 'primary' | 'secondary' | 'tertiary' | 'delete';
16
+ variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning';
17
17
  /**
18
18
  * What background color to use
19
19
  */
@@ -118,7 +118,7 @@ interface DrawerProps {
118
118
  /**
119
119
  * Header title for the drawer
120
120
  */
121
- title: string | ReactNode;
121
+ title?: string | ReactNode;
122
122
  /**
123
123
  * To show the edit button on the header
124
124
  */
@@ -155,6 +155,30 @@ interface DrawerProps {
155
155
  * footer Content
156
156
  */
157
157
  footerContent?: ReactNode;
158
+ /**
159
+ * To show or hide the header
160
+ */
161
+ showHeader?: boolean;
162
+ /**
163
+ * Custom back button icon
164
+ * The icon to display for the back button.
165
+ * If not provided, a default icon will be used.
166
+ */
167
+ backButtonIcon?: ReactNode;
168
+ /**
169
+ * Callback function when the close icon is clicked
170
+ */
171
+ onCloseIconClick?: () => void;
172
+ /**
173
+ * Custom header for the drawer, replacing the default header.
174
+ * If provided, this will render in place of the default header.
175
+ */
176
+ customHeader?: ReactNode;
177
+ /**
178
+ * Custom footer for the drawer, replacing the default footer.
179
+ * If provided, this will render in place of the default footer.
180
+ */
181
+ customFooter?: ReactNode;
158
182
  }
159
183
 
160
184
  declare const Drawer: FC<DrawerProps>;
@@ -170,7 +194,7 @@ interface IconProps {
170
194
  disabled?: boolean;
171
195
  }
172
196
 
173
- declare const Icon: ({ name, height, width, onClick, color, hoverEffect, className, disabled, ...props }: IconProps) => react_jsx_runtime.JSX.Element | null;
197
+ declare const Icon: React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<HTMLSpanElement>>;
174
198
 
175
199
  interface AccordionProps {
176
200
  /**
@@ -775,6 +799,13 @@ interface MenuOptionProps {
775
799
  * @type {function}
776
800
  * @optional
777
801
  */
802
+ variant?: 'dark' | 'light';
803
+ /**
804
+ * The variant of the menu option, either 'dark' or 'light'.
805
+ * @type {'dark' | 'light'}
806
+ * @default 'light'
807
+ * @optional
808
+ */
778
809
  onClick?: () => void;
779
810
  /**
780
811
  * Callback function triggered when an option is clicked.
@@ -803,7 +834,7 @@ interface MenuOptionProps {
803
834
  iconButtonBorderRadius?: number;
804
835
  }
805
836
 
806
- declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, dropdownPlacement, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
837
+ declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, dropdownPlacement, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
807
838
 
808
839
  interface DataProps {
809
840
  /**
@@ -897,7 +928,7 @@ interface AddResourceButtonProps {
897
928
  /**
898
929
  * direction option: 'top' | 'right' | 'down'
899
930
  */
900
- direction: string | 'top' | 'right' | 'down';
931
+ direction: string;
901
932
  menuOptions: {
902
933
  label: string;
903
934
  value: string | string[];
@@ -1256,18 +1287,21 @@ interface ObjectProps {
1256
1287
  [key: string]: any;
1257
1288
  }
1258
1289
  interface TableTreeProps {
1259
- withCheckBox: boolean;
1290
+ select: 'checkbox' | 'radio' | 'none';
1260
1291
  columnsData: Array<ColumnDataProps>;
1261
1292
  treeData: Array<ObjectProps>;
1262
1293
  onClick?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
1294
+ onChange?: (e: any, node: any) => void;
1295
+ selected: Array<string>;
1263
1296
  }
1264
- declare const TableTree: ({ columnsData, treeData, withCheckBox, onClick, }: TableTreeProps) => react_jsx_runtime.JSX.Element;
1297
+ declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, }: TableTreeProps) => react_jsx_runtime.JSX.Element;
1265
1298
 
1266
1299
  interface TabsProps {
1267
1300
  /**
1268
1301
  * An array of tab objects containing label, component, and optional disabled status.
1269
1302
  */
1270
1303
  tabsData: {
1304
+ id: string;
1271
1305
  label: string;
1272
1306
  component?: JSX.Element;
1273
1307
  disabled?: boolean;
@@ -1452,6 +1486,7 @@ interface ModalProps {
1452
1486
  isFooterDisplayed: boolean;
1453
1487
  customWidth: string;
1454
1488
  customHeight?: string;
1489
+ zIndex?: number;
1455
1490
  }
1456
1491
 
1457
1492
  declare const Modal: React__default.FC<ModalProps>;
@@ -1518,7 +1553,18 @@ interface VariableInputProps {
1518
1553
 
1519
1554
  declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => react_jsx_runtime.JSX.Element;
1520
1555
 
1521
- declare const AllProjectsDropdown: () => react_jsx_runtime.JSX.Element;
1556
+ interface optionsType {
1557
+ label: string;
1558
+ value: string;
1559
+ iconName: string;
1560
+ }
1561
+ interface AllProjectsDropdownProps {
1562
+ options: optionsType[];
1563
+ onClick: (option: optionsType) => void;
1564
+ selectedOption: optionsType;
1565
+ }
1566
+
1567
+ declare const AllProjectsDropdown: ({ onClick, options, selectedOption, }: AllProjectsDropdownProps) => react_jsx_runtime.JSX.Element;
1522
1568
 
1523
1569
  interface PieChartProps {
1524
1570
  radius: number;
@@ -1646,6 +1692,54 @@ interface Option {
1646
1692
 
1647
1693
  declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => react_jsx_runtime.JSX.Element;
1648
1694
 
1695
+ interface MachineType {
1696
+ type: 'Local' | 'mac' | 'android' | 'Google Chrome';
1697
+ label: string;
1698
+ }
1699
+ interface MachineInputFieldProps {
1700
+ width: string;
1701
+ options: MachineType[];
1702
+ runCount: number;
1703
+ className?: string;
1704
+ contentReverse?: boolean;
1705
+ }
1706
+
1707
+ declare const MachineInputField: React$1.ForwardRefExoticComponent<MachineInputFieldProps & React$1.RefAttributes<HTMLDivElement>>;
1708
+
1709
+ interface SequentialConnectingBranchProps {
1710
+ machineInstances?: ExecutionContext[] | {}[];
1711
+ machineColumnWidth?: number;
1712
+ machineColumnCount?: number;
1713
+ machineInstance: ExecutionContext;
1714
+ selectedMachine?: string;
1715
+ onMachineSelectionChange?: (selectedMachine: Option$2) => void;
1716
+ machineOptionsList?: Option$2[];
1717
+ }
1718
+ interface MachineInfo {
1719
+ osName: string;
1720
+ osVersion: string;
1721
+ hostName: string;
1722
+ }
1723
+ interface DeviceInfo {
1724
+ }
1725
+ interface ExecutionContext {
1726
+ id: string;
1727
+ clientId: string;
1728
+ runCount: number;
1729
+ executionEnv?: 'Local';
1730
+ browserName?: 'Local' | 'mac' | 'android' | 'Google Chrome';
1731
+ browserVersion: string;
1732
+ systemUrl: string;
1733
+ machineInfo: MachineInfo;
1734
+ deviceInfo: DeviceInfo[];
1735
+ headless: boolean;
1736
+ peVariableSetId: string;
1737
+ globalVariableSetId: string;
1738
+ testDataSetId: string;
1739
+ }
1740
+
1741
+ declare const SequentialConnectingBranch: ({ machineInstances, machineColumnWidth, machineColumnCount, machineInstance, selectedMachine, machineOptionsList, onMachineSelectionChange, }: SequentialConnectingBranchProps) => react_jsx_runtime.JSX.Element;
1742
+
1649
1743
  type valueType$1 = any;
1650
1744
  declare const checkEmpty: (value: valueType$1) => boolean;
1651
1745
 
@@ -1693,4 +1787,4 @@ declare const throttle: (func: Callback, limit: number) => ThrottledFunction;
1693
1787
 
1694
1788
  declare const truncateText: (text: string, maxLength: number) => string;
1695
1789
 
1696
- export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button, Checkbox, Chip, Col, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, MenuOption, MiniModal, Modal, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, throttle, truncateText, useTheme };
1790
+ export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button, Checkbox, Chip, Col, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, MachineInputField, MenuOption, MiniModal, Modal, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, throttle, truncateText, useTheme };