pixel-react 1.6.5 → 1.6.7
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/lib/1fb4472b34e4fe07.css +1 -0
- package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +6 -0
- package/lib/StyleGuide/Typography/Typography.stories.d.ts +6 -0
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/Accordion.stories.d.ts +6 -0
- package/lib/components/Accordion/types.d.ts +12 -0
- package/lib/components/AddButton/AddButton.d.ts +5 -0
- package/lib/components/AddButton/AddButton.stories.d.ts +6 -0
- package/lib/components/AddButton/index.d.ts +1 -0
- package/lib/components/AddButton/types.d.ts +4 -0
- package/lib/components/AddResourceButton/AddButton.stories.d.ts +8 -0
- package/lib/components/AddVariables/AddVariables.d.ts +5 -0
- package/lib/components/AddVariables/index.d.ts +1 -0
- package/lib/components/AddVariables/types.d.ts +35 -0
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +7 -0
- package/lib/components/AppHeader/AppHeader.stories.d.ts +7 -0
- package/lib/components/AttachImage/AttachImage.stories.d.ts +7 -0
- package/lib/components/AttachmentButton/AttachmentButton.stories.d.ts +9 -0
- package/lib/components/Avatar/Avatar.stories.d.ts +10 -0
- package/lib/components/Button/Button.stories.d.ts +13 -0
- package/lib/components/Charts/BarChart/BarChart.stories.d.ts +6 -0
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +7 -0
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +6 -0
- package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +8 -0
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +7 -0
- package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +8 -0
- package/lib/components/Charts/PieChart/PieChart.stories.d.ts +7 -0
- package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +6 -0
- package/lib/components/Checkbox/Checkbox.stories.d.ts +8 -0
- package/lib/components/Checkbox/types.d.ts +4 -0
- package/lib/components/Chip/Chip.stories.d.ts +14 -0
- package/lib/components/Comment/Comments.d.ts +4 -0
- package/lib/components/Comment/comment/Comment.d.ts +11 -0
- package/lib/components/Comment/comment/useNode.d.ts +7 -0
- package/lib/components/Comment/index.d.ts +1 -0
- package/lib/components/Comment/type.d.ts +25 -0
- package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +6 -0
- package/lib/components/DatePicker/DatePicker.stories.d.ts +9 -0
- package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +6 -0
- package/lib/components/Drawer/Drawer.stories.d.ts +12 -0
- package/lib/components/EditTextField/EditTextField.stories.d.ts +10 -0
- package/lib/components/Editor/Editor.stories.d.ts +6 -0
- package/lib/components/Editor/constants.d.ts +1 -1
- package/lib/components/Editor/types.d.ts +10 -2
- package/lib/components/Excel/ExcelFile.stories.d.ts +6 -0
- package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +14 -0
- package/lib/components/ExcelFile/ColorBarSelector/ColorBarSelector.d.ts +8 -0
- package/lib/components/ExcelFile/ContextMenu/ContextMenu.d.ts +4 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/ActiveCell.d.ts +7 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Cell.d.ts +4 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Copied.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/CornerIndicator.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/DataEditor.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/DataViewer.d.ts +8 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/FloatingRect.d.ts +10 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/HeaderRow.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Row.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/RowIndicator.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Selected.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Spreadsheet.d.ts +80 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +174 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/areModelsEqual.d.ts +1 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/context.d.ts +8 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/engine.d.ts +22 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/formula.d.ts +17 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/index.d.ts +2 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-graph.d.ts +21 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-hash.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-set.d.ts +24 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/index.d.ts +13 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/matrix.d.ts +67 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/point-range.d.ts +22 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/point.d.ts +11 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +27 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/selection.d.ts +95 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/types.d.ts +178 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/use-dispatch.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/use-selector.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/util.d.ts +44 -0
- package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +19 -0
- package/lib/components/ExcelFile/ExcelFile.stories.d.ts +6 -0
- package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +12 -0
- package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +15 -0
- package/lib/components/ExcelFile/ImportExcelStyles.d.ts +24 -0
- package/lib/components/ExcelFile/Types.d.ts +129 -0
- package/lib/components/ExcelFile/index.d.ts +1 -0
- package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +7 -0
- package/lib/components/FF_Captcha/captcha.stories.d.ts +8 -0
- package/lib/components/FileDropzone/FileDropzone.stories.d.ts +8 -0
- package/lib/components/Form/Form.stories.d.ts +7 -0
- package/lib/components/GridLayout/GridLayout.stories.d.ts +8 -0
- package/lib/components/HighlightText/HighlightText.stories.d.ts +6 -0
- package/lib/components/Icon/Icon.stories.d.ts +8 -0
- package/lib/components/IconButton/IconButton.d.ts +1 -2
- package/lib/components/IconButton/IconButton.stories.d.ts +7 -0
- package/lib/components/IconButton/types.d.ts +1 -1
- package/lib/components/IconRadioGroup/IconRadioGroup.stories.d.ts +7 -0
- package/lib/components/Input/Input.d.ts +1 -1
- package/lib/components/Input/Input.stories.d.ts +9 -0
- package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +9 -0
- package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +13 -0
- package/lib/components/LazyLoad/LazyLoad.stories.d.ts +6 -0
- package/lib/components/MachineInputField/MachineInputField.stories.d.ts +6 -0
- package/lib/components/MenuOption/MenuOption.stories.d.ts +16 -0
- package/lib/components/MiniModal/MiniModal.stories.d.ts +10 -0
- package/lib/components/Modal/Modal.stories.d.ts +7 -0
- package/lib/components/ModulesChip/ModuleChip.stories.d.ts +6 -0
- package/lib/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +11 -0
- package/lib/components/NLPInput/NlpInput.stories.d.ts +7 -0
- package/lib/components/Paper/Paper.stories.d.ts +11 -0
- package/lib/components/PhoneInput/PhoneInput.d.ts +6 -0
- package/lib/components/PhoneInput/index.d.ts +1 -0
- package/lib/components/PhoneInput/types.d.ts +10 -0
- package/lib/components/PopUpModal/types.d.ts +1 -0
- package/lib/components/RadioButton/RadioButton.stories.d.ts +10 -0
- package/lib/components/RadioGroup/RadioGroup.stories.d.ts +9 -0
- package/lib/components/Search/Search.stories.d.ts +6 -0
- package/lib/components/Select/Select.stories.d.ts +14 -0
- package/lib/components/Select/components/Dropdown/Dropdown.d.ts +4 -0
- package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +17 -0
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +6 -0
- package/lib/components/StateDropdown/StateDropdown.stories.d.ts +10 -0
- package/lib/components/StatusButton/StatusButton.stories.d.ts +14 -0
- package/lib/components/StatusCard/StatusCard.stories.d.ts +11 -0
- package/lib/components/Table/Table.stories.d.ts +13 -0
- package/lib/components/TableTree/TableTree.stories.d.ts +7 -0
- package/lib/components/TableWithAccordion/TableWithAccordion.d.ts +5 -0
- package/lib/components/TableWithAccordion/data.d.ts +8 -0
- package/lib/components/TableWithAccordion/index.d.ts +1 -0
- package/lib/components/TableWithAccordion/types.d.ts +67 -0
- package/lib/components/Tabs/Tabs.stories.d.ts +9 -0
- package/lib/components/TextArea/Textarea.stories.d.ts +9 -0
- package/lib/components/Toast/Toast.stories.d.ts +6 -0
- package/lib/components/Toastify/Toastify.stories.d.ts +6 -0
- package/lib/components/Toggle/Toggle.stories.d.ts +12 -0
- package/lib/components/Tooltip/Tooltip.stories.d.ts +15 -0
- package/lib/components/Typography/Typography.stories.d.ts +10 -0
- package/lib/components/VariableInput/VariableInput.stories.d.ts +6 -0
- package/lib/index.d.ts +186 -12
- package/lib/index.esm.js +2842 -385
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +2846 -384
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/checkDuplicates/checkDuplicates.d.ts +1 -0
- package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +6 -0
- package/lib/utils/compareArrays/compareArrays.stories.d.ts +6 -0
- package/lib/utils/compareObjects/compareObjects.stories.d.ts +6 -0
- package/lib/utils/debounce/debounce.stories.d.ts +6 -0
- package/lib/utils/ffID/ffID.stories.d.ts +6 -0
- package/lib/utils/find/findAndInsert.d.ts +7 -0
- package/lib/utils/find/findAndInsert.stories.d.ts +7 -0
- package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +7 -0
- package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +6 -0
- package/lib/utils/getExtension/getExtension.stories.d.ts +6 -0
- package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +10 -0
- package/lib/utils/throttle/throttle.stories.d.ts +6 -0
- package/lib/utils/truncateText/truncateText.stories.d.ts +6 -0
- package/package.json +2 -1
- package/src/assets/Themes/BaseTheme.scss +9 -0
- package/src/assets/Themes/DarkTheme.scss +62 -41
- package/src/assets/icons/add_file.svg +4 -17
- package/src/assets/icons/add_variable.svg +11 -0
- package/src/assets/icons/approval_pending.svg +8 -8
- package/src/assets/icons/authorization.svg +4 -0
- package/src/assets/icons/capture_icon.svg +2 -5
- package/src/assets/icons/configuration.svg +3 -3
- package/src/assets/icons/defects.svg +8 -8
- package/src/assets/icons/depends_on_script.svg +7 -0
- package/src/assets/icons/element.svg +4 -4
- package/src/assets/icons/email_group.svg +3 -0
- package/src/assets/icons/executions_icon.svg +3 -0
- package/src/assets/icons/labels.svg +8 -0
- package/src/assets/icons/machine_disable_icon.svg +18 -0
- package/src/assets/icons/machine_enable_icon.svg +10 -0
- package/src/assets/icons/parameters.svg +3 -0
- package/src/assets/icons/pre_post_condition.svg +8 -0
- package/src/assets/icons/program_element.svg +8 -0
- package/src/assets/icons/project_element.svg +4 -4
- package/src/assets/icons/step_group.svg +10 -10
- package/src/assets/icons/suites_icon.svg +3 -0
- package/src/assets/icons/tap_icon.svg +3 -3
- package/src/assets/icons/test_data.svg +5 -0
- package/src/assets/icons/test_data_set.svg +7 -0
- package/src/assets/icons/variable.svg +3 -3
- package/src/assets/icons/variable_set.svg +5 -0
- package/src/assets/icons/web_service_icon.svg +3 -3
- package/src/components/Accordion/Accordion.stories.tsx +4 -0
- package/src/components/Accordion/Accordion.tsx +7 -1
- package/src/components/Accordion/types.ts +12 -0
- package/src/components/AddVariables/AddVariables.scss +14 -0
- package/src/components/AddVariables/AddVariables.stories.tsx +44 -0
- package/src/components/AddVariables/AddVariables.tsx +113 -0
- package/src/components/AddVariables/index.ts +1 -0
- package/src/components/AddVariables/types.ts +36 -0
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +1 -1
- package/src/components/AppHeader/AppHeader.scss +7 -1
- package/src/components/AppHeader/types.ts +8 -9
- package/src/components/Checkbox/Checkbox.scss +57 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +91 -15
- package/src/components/Checkbox/Checkbox.tsx +4 -1
- package/src/components/Checkbox/types.ts +4 -0
- package/src/components/Comment/Comments.scss +166 -0
- package/src/components/Comment/Comments.stories.tsx +212 -0
- package/src/components/Comment/Comments.tsx +51 -0
- package/src/components/Comment/comment/Comment.tsx +206 -0
- package/src/components/Comment/comment/useNode.ts +51 -0
- package/src/components/Comment/index.ts +1 -0
- package/src/components/Comment/type.ts +36 -0
- package/src/components/Drawer/Drawer.scss +2 -1
- package/src/components/Editor/Editor.stories.tsx +2 -2
- package/src/components/Editor/Editor.tsx +4 -2
- package/src/components/Editor/VariableDropdown.scss +8 -2
- package/src/components/Editor/VariableDropdown.tsx +15 -7
- package/src/components/Editor/constants.ts +1 -1
- package/src/components/Editor/types.ts +12 -2
- package/src/components/FieldSet/FieldSet.scss +2 -1
- package/src/components/FieldSet/FieldSet.stories.tsx +2 -1
- package/src/components/Icon/iconList.ts +29 -2
- package/src/components/IconButton/IconButton.stories.tsx +1 -0
- package/src/components/IconButton/IconButton.tsx +5 -8
- package/src/components/IconButton/types.ts +2 -2
- package/src/components/IconRadioGroup/IconRadioGroup.scss +2 -1
- package/src/components/Input/Input.tsx +99 -88
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +1 -1
- package/src/components/Modal/Modal.stories.tsx +2 -1
- package/src/components/MultiSelect/MultiSelect.scss +29 -0
- package/src/components/MultiSelect/MultiSelect.stories.tsx +19 -5
- package/src/components/MultiSelect/MultiSelect.tsx +29 -19
- package/src/components/PhoneInput/PhoneInput.d.ts +3 -0
- package/src/components/PhoneInput/PhoneInput.stories.tsx +95 -0
- package/src/components/PhoneInput/PhoneInput.tsx +90 -0
- package/src/components/PhoneInput/index.ts +1 -0
- package/src/components/PhoneInput/phoneInput.scss +3 -0
- package/src/components/PhoneInput/types.ts +10 -0
- package/src/components/PopUpModal/PopUpModal.stories.tsx +14 -13
- package/src/components/PopUpModal/PopUpModal.tsx +2 -1
- package/src/components/PopUpModal/types.ts +14 -13
- package/src/components/Select/Select.stories.tsx +2 -2
- package/src/components/TableWithAccordion/TableWithAccordion.scss +54 -0
- package/src/components/TableWithAccordion/TableWithAccordion.stories.tsx +94 -0
- package/src/components/TableWithAccordion/TableWithAccordion.tsx +174 -0
- package/src/components/TableWithAccordion/data.ts +37 -0
- package/src/components/TableWithAccordion/index.ts +1 -0
- package/src/components/TableWithAccordion/types.ts +70 -0
- package/src/components/Tabs/Tabs.scss +0 -1
- package/src/index.ts +12 -1
- package/src/utils/checkDuplicates/CheckDuplicates.stories.tsx +40 -0
- package/src/utils/checkDuplicates/checkDuplicates.ts +13 -0
- package/lib/components/TableTree/TableTree copy.d.ts +0 -25
package/lib/index.d.ts
CHANGED
@@ -273,12 +273,24 @@ interface AccordionProps {
|
|
273
273
|
* Info message to user for disabling accordion
|
274
274
|
*/
|
275
275
|
disableInfoMessage?: string;
|
276
|
+
/**
|
277
|
+
* Icon name for the Accordion state like expand and collapse
|
278
|
+
*/
|
279
|
+
accordionStateIconName?: string;
|
280
|
+
/**
|
281
|
+
* Accordion collapse and expand Icon width
|
282
|
+
*/
|
283
|
+
AccordionStateIconWidth: number;
|
284
|
+
/**
|
285
|
+
* Accordion collapse and expand Icon height
|
286
|
+
*/
|
287
|
+
AccordionStateIconHeight: number;
|
276
288
|
}
|
277
289
|
|
278
290
|
/**
|
279
291
|
* Accordion UI component
|
280
292
|
*/
|
281
|
-
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
293
|
+
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
282
294
|
|
283
295
|
type OptionValue$1 = any;
|
284
296
|
interface Option$3 {
|
@@ -315,7 +327,7 @@ interface MultiSelectProps {
|
|
315
327
|
onEnter?: (newOption: string) => void;
|
316
328
|
}
|
317
329
|
|
318
|
-
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount, placeholderForSearching, variant, onLabelPlusIconClick, onManageLabelsClick, className, highlightedMachine, onSelectButtonClick, labelAccessor, valueAccessor, withSelectButton, onEnter }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
|
330
|
+
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount: initialDisplayCount, placeholderForSearching, variant, onLabelPlusIconClick, onManageLabelsClick, className, highlightedMachine, onSelectButtonClick, labelAccessor, valueAccessor, withSelectButton, onEnter, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
|
319
331
|
|
320
332
|
interface ToasterProps {
|
321
333
|
/**Boolean value to handle state of toaster. */
|
@@ -610,7 +622,7 @@ interface InputProps {
|
|
610
622
|
isLabelRequired?: boolean;
|
611
623
|
}
|
612
624
|
|
613
|
-
declare const Input:
|
625
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
614
626
|
|
615
627
|
type Status$1 = {
|
616
628
|
status: 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'passed' | 'failed' | 'warning' | 'skipped';
|
@@ -936,7 +948,7 @@ interface MenuOptionProps {
|
|
936
948
|
|
937
949
|
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
|
938
950
|
|
939
|
-
interface DataProps {
|
951
|
+
interface DataProps$1 {
|
940
952
|
/**
|
941
953
|
* data for each row
|
942
954
|
*/
|
@@ -948,11 +960,11 @@ interface SelectedItemProps {
|
|
948
960
|
*/
|
949
961
|
[key: string]: string | number | boolean;
|
950
962
|
}
|
951
|
-
interface TableProps {
|
963
|
+
interface TableProps$1 {
|
952
964
|
/**
|
953
965
|
* Data for table
|
954
966
|
*/
|
955
|
-
data: Array<number | string | DataProps>;
|
967
|
+
data: Array<number | string | DataProps$1>;
|
956
968
|
/**
|
957
969
|
* Column details for table
|
958
970
|
*/
|
@@ -1035,7 +1047,7 @@ interface TableProps {
|
|
1035
1047
|
headerIconOnClick?: () => void;
|
1036
1048
|
}
|
1037
1049
|
|
1038
|
-
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, }: TableProps) => react_jsx_runtime.JSX.Element;
|
1050
|
+
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, }: TableProps$1) => react_jsx_runtime.JSX.Element;
|
1039
1051
|
|
1040
1052
|
/**
|
1041
1053
|
* Props for the Add Resource Button component.
|
@@ -1629,6 +1641,10 @@ interface CheckboxProps {
|
|
1629
1641
|
* For partially checked checkbox
|
1630
1642
|
*/
|
1631
1643
|
partial?: boolean;
|
1644
|
+
/**
|
1645
|
+
* For variant color
|
1646
|
+
*/
|
1647
|
+
variant?: 'passed' | 'failed' | 'warning' | 'skipped' | 'flaky';
|
1632
1648
|
}
|
1633
1649
|
|
1634
1650
|
declare const Checkbox: React__default.FC<CheckboxProps>;
|
@@ -1730,10 +1746,10 @@ interface IconButtonProps {
|
|
1730
1746
|
label: string;
|
1731
1747
|
iconName: string;
|
1732
1748
|
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
1733
|
-
ref?: React.
|
1749
|
+
ref?: React.Ref<HTMLButtonElement>;
|
1734
1750
|
}
|
1735
1751
|
|
1736
|
-
declare const IconButton:
|
1752
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
1737
1753
|
|
1738
1754
|
interface ModalProps {
|
1739
1755
|
isOpen: boolean;
|
@@ -2418,10 +2434,18 @@ interface dropdownPositionType {
|
|
2418
2434
|
left: number;
|
2419
2435
|
}
|
2420
2436
|
interface VariableDropdownProps {
|
2437
|
+
/**
|
2438
|
+
* Position whether absoloute or relative
|
2439
|
+
*/
|
2440
|
+
position: 'absolute' | 'relative';
|
2441
|
+
/**
|
2442
|
+
* Dropdown width
|
2443
|
+
*/
|
2444
|
+
width: string;
|
2421
2445
|
/**
|
2422
2446
|
* List of variables
|
2423
2447
|
*/
|
2424
|
-
optionsList:
|
2448
|
+
optionsList: DyanamicObj[];
|
2425
2449
|
/**
|
2426
2450
|
* Function to handle click on variable
|
2427
2451
|
*/
|
@@ -2429,7 +2453,7 @@ interface VariableDropdownProps {
|
|
2429
2453
|
/**
|
2430
2454
|
* Dropdown postion used for dropdown placement
|
2431
2455
|
*/
|
2432
|
-
dropdownPosition
|
2456
|
+
dropdownPosition?: dropdownPositionType;
|
2433
2457
|
}
|
2434
2458
|
|
2435
2459
|
declare const VariableDropdown: FC<VariableDropdownProps>;
|
@@ -2559,6 +2583,75 @@ interface CreateVariableProps {
|
|
2559
2583
|
|
2560
2584
|
declare const CreateVariableSlider: FC<CreateVariableProps>;
|
2561
2585
|
|
2586
|
+
interface ColumnProps {
|
2587
|
+
/**
|
2588
|
+
* column name
|
2589
|
+
*/
|
2590
|
+
header: string;
|
2591
|
+
/**
|
2592
|
+
* data key for particular column
|
2593
|
+
*/
|
2594
|
+
accessor: string;
|
2595
|
+
/**
|
2596
|
+
* className for a column
|
2597
|
+
*/
|
2598
|
+
className?: string;
|
2599
|
+
/**
|
2600
|
+
* width of a column
|
2601
|
+
*/
|
2602
|
+
width?: number;
|
2603
|
+
/**
|
2604
|
+
* data for the column
|
2605
|
+
*/
|
2606
|
+
cell?: (e: any) => JSX.Element | string | ReactNode;
|
2607
|
+
}
|
2608
|
+
interface DataProps {
|
2609
|
+
/**
|
2610
|
+
* data for each row
|
2611
|
+
*/
|
2612
|
+
[key: string]: any;
|
2613
|
+
}
|
2614
|
+
interface TableProps {
|
2615
|
+
/**
|
2616
|
+
* Column details for table
|
2617
|
+
*/
|
2618
|
+
tableMeta: Array<ColumnProps>;
|
2619
|
+
/**
|
2620
|
+
* Data for table
|
2621
|
+
*/
|
2622
|
+
tableData: Array<DataProps>;
|
2623
|
+
/**
|
2624
|
+
* Table type
|
2625
|
+
*/
|
2626
|
+
accordionType: 'row' | 'column';
|
2627
|
+
/**
|
2628
|
+
* Specific sentence to be displayed data not found
|
2629
|
+
*/
|
2630
|
+
noDataContent?: string | ReactNode;
|
2631
|
+
/**
|
2632
|
+
* withFixedHeader prop to have non-scrollable fixed accordion table header
|
2633
|
+
*/
|
2634
|
+
withFixedHeader?: boolean;
|
2635
|
+
/**
|
2636
|
+
* Height of the table in string
|
2637
|
+
*/
|
2638
|
+
height?: string;
|
2639
|
+
/**
|
2640
|
+
* Header type to have different background color
|
2641
|
+
*/
|
2642
|
+
headerType: 'default' | 'primary' | 'secondary';
|
2643
|
+
/**
|
2644
|
+
* Accordion collapse and expand Icon width
|
2645
|
+
*/
|
2646
|
+
TableAccordionStateIconWidth: number;
|
2647
|
+
/**
|
2648
|
+
* Accordion collapse and expand Icon height
|
2649
|
+
*/
|
2650
|
+
TableAccordionStateIconHeight: number;
|
2651
|
+
}
|
2652
|
+
|
2653
|
+
declare const TableWithAccordion: ({ tableMeta, tableData, accordionType, noDataContent, height, withFixedHeader, headerType, TableAccordionStateIconWidth, TableAccordionStateIconHeight, }: TableProps) => react_jsx_runtime.JSX.Element;
|
2654
|
+
|
2562
2655
|
type valueType$1 = any;
|
2563
2656
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
2564
2657
|
|
@@ -2686,6 +2779,33 @@ declare const ConnectingBranch: React__default.FC;
|
|
2686
2779
|
|
2687
2780
|
declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
|
2688
2781
|
|
2782
|
+
interface CommentType {
|
2783
|
+
id?: string | number;
|
2784
|
+
description?: string;
|
2785
|
+
createdBy?: string;
|
2786
|
+
modifiedBy?: string;
|
2787
|
+
createdByUname?: string;
|
2788
|
+
modifiedByUname?: string;
|
2789
|
+
createdOn?: string;
|
2790
|
+
modifiedOn?: string;
|
2791
|
+
name?: string;
|
2792
|
+
emailId?: string[];
|
2793
|
+
commentParentId?: string;
|
2794
|
+
comments: CommentType[];
|
2795
|
+
}
|
2796
|
+
type HandleAddComment = (newComment: CommentType, parentCommentId?: string) => void;
|
2797
|
+
type HandleEditComment = (commentId: string, updatedDescription: string) => void;
|
2798
|
+
type HandleDeleteComment = (commentId: string) => void;
|
2799
|
+
interface CommentsProps {
|
2800
|
+
commentsData: any;
|
2801
|
+
handleAddComment: HandleAddComment;
|
2802
|
+
handleEditComment: HandleEditComment;
|
2803
|
+
handleDeleteComment: HandleDeleteComment;
|
2804
|
+
onCommentsDataChange: (data: any) => void;
|
2805
|
+
}
|
2806
|
+
|
2807
|
+
declare const Comments: ({ commentsData, onCommentsDataChange, }: CommentsProps) => react_jsx_runtime.JSX.Element;
|
2808
|
+
|
2689
2809
|
declare const useFileDropzone: (options: DropzoneOptions) => DropzoneState;
|
2690
2810
|
|
2691
2811
|
interface PopUpModalProps {
|
@@ -2701,8 +2821,62 @@ interface PopUpModalProps {
|
|
2701
2821
|
secondButtonLabel: string;
|
2702
2822
|
buttonVariant: any;
|
2703
2823
|
border: string;
|
2824
|
+
colorForTitleMessage?: string;
|
2704
2825
|
}
|
2705
2826
|
|
2706
2827
|
declare const PopUpModal: FC<PopUpModalProps>;
|
2707
2828
|
|
2708
|
-
|
2829
|
+
type dynamicObject = {
|
2830
|
+
[key: string]: any;
|
2831
|
+
};
|
2832
|
+
interface AddVariableProps {
|
2833
|
+
/**
|
2834
|
+
* Label for the field
|
2835
|
+
*/
|
2836
|
+
label?: string;
|
2837
|
+
/**
|
2838
|
+
* List of variables
|
2839
|
+
*/
|
2840
|
+
variableList?: dynamicObject[];
|
2841
|
+
/**
|
2842
|
+
* Place holder for the input field
|
2843
|
+
*/
|
2844
|
+
placeholder?: string;
|
2845
|
+
/**
|
2846
|
+
* Function to handle input change
|
2847
|
+
* @param value
|
2848
|
+
* @returns
|
2849
|
+
*/
|
2850
|
+
onChange: (value: string) => void;
|
2851
|
+
/**
|
2852
|
+
* Function to handle create variable icon click
|
2853
|
+
*/
|
2854
|
+
onCreateVariableClick?: () => void;
|
2855
|
+
/**
|
2856
|
+
* Value of the input field
|
2857
|
+
*/
|
2858
|
+
value: string;
|
2859
|
+
/**
|
2860
|
+
* Width of the dropdown
|
2861
|
+
*/
|
2862
|
+
dropdownWidth?: string;
|
2863
|
+
}
|
2864
|
+
|
2865
|
+
declare const AddVariables: React__default.FC<AddVariableProps>;
|
2866
|
+
|
2867
|
+
declare const hasDuplicateFile: (array: any[], property: string) => boolean;
|
2868
|
+
|
2869
|
+
interface PhoneInputProps {
|
2870
|
+
country: string;
|
2871
|
+
value: string;
|
2872
|
+
onChange: (phone: string) => void;
|
2873
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
2874
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
2875
|
+
width?: string;
|
2876
|
+
placeholder?: string;
|
2877
|
+
isValid: any;
|
2878
|
+
}
|
2879
|
+
|
2880
|
+
declare const PhoneInputField: React__default.FC<PhoneInputProps>;
|
2881
|
+
|
2882
|
+
export { Accordion, AddButton as AddResourceButton, AddVariables, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BarChart, Button, Checkbox, Chip, Col, Comments, ConnectingBranch, Container, CreateVariableSlider, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PhoneInputField, PieChart, PopUpModal, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, TreeTable as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, VariableDropdown, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, throttle, toast, truncateText, useFileDropzone, useTheme };
|