pixel-react 1.7.5 → 1.7.6

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.
Files changed (148) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/lib/1fb4472b34e4fe07.css +1 -0
  3. package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +6 -0
  4. package/lib/StyleGuide/Typography/Typography.stories.d.ts +6 -0
  5. package/lib/components/Accordion/Accordion.stories.d.ts +6 -0
  6. package/lib/components/AddResourceButton/AddButton.stories.d.ts +8 -0
  7. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +7 -0
  8. package/lib/components/AppHeader/AppHeader.stories.d.ts +7 -0
  9. package/lib/components/AttachmentButton/AttachmentButton.stories.d.ts +9 -0
  10. package/lib/components/Avatar/Avatar.stories.d.ts +10 -0
  11. package/lib/components/Button/Button.stories.d.ts +13 -0
  12. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +7 -0
  13. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +6 -0
  14. package/lib/components/Charts/PieChart/PieChart.stories.d.ts +7 -0
  15. package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +6 -0
  16. package/lib/components/Checkbox/Checkbox.stories.d.ts +8 -0
  17. package/lib/components/Chip/Chip.stories.d.ts +14 -0
  18. package/lib/components/ConditionalDropdown/types.d.ts +1 -1
  19. package/lib/components/DatePicker/DatePicker.stories.d.ts +9 -0
  20. package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +6 -0
  21. package/lib/components/Drawer/Drawer.stories.d.ts +12 -0
  22. package/lib/components/ExcelFile/ColorBarselector/ColorBarSelector.d.ts +8 -0
  23. package/lib/components/ExcelFile/ExcelFile/Excel/ActiveCell.d.ts +7 -0
  24. package/lib/components/ExcelFile/ExcelFile/Excel/Cell.d.ts +4 -0
  25. package/lib/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.d.ts +5 -0
  26. package/lib/components/ExcelFile/ExcelFile/Excel/Copied.d.ts +3 -0
  27. package/lib/components/ExcelFile/ExcelFile/Excel/CornerIndicator.d.ts +5 -0
  28. package/lib/components/ExcelFile/ExcelFile/Excel/DataEditor.d.ts +5 -0
  29. package/lib/components/ExcelFile/ExcelFile/Excel/DataViewer.d.ts +8 -0
  30. package/lib/components/ExcelFile/ExcelFile/Excel/FloatingRect.d.ts +10 -0
  31. package/lib/components/ExcelFile/ExcelFile/Excel/HeaderRow.d.ts +3 -0
  32. package/lib/components/ExcelFile/ExcelFile/Excel/Row.d.ts +3 -0
  33. package/lib/components/ExcelFile/ExcelFile/Excel/RowIndicator.d.ts +5 -0
  34. package/lib/components/ExcelFile/ExcelFile/Excel/Selected.d.ts +3 -0
  35. package/lib/components/ExcelFile/ExcelFile/Excel/Spreadsheet.d.ts +80 -0
  36. package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +3 -0
  37. package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +174 -0
  38. package/lib/components/ExcelFile/ExcelFile/Excel/areModelsEqual.d.ts +1 -0
  39. package/lib/components/ExcelFile/ExcelFile/Excel/context.d.ts +8 -0
  40. package/lib/components/ExcelFile/ExcelFile/Excel/engine/engine.d.ts +22 -0
  41. package/lib/components/ExcelFile/ExcelFile/Excel/engine/formula.d.ts +17 -0
  42. package/lib/components/ExcelFile/ExcelFile/Excel/engine/index.d.ts +2 -0
  43. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-graph.d.ts +21 -0
  44. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-hash.d.ts +3 -0
  45. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-set.d.ts +24 -0
  46. package/lib/components/ExcelFile/ExcelFile/Excel/index.d.ts +13 -0
  47. package/lib/components/ExcelFile/ExcelFile/Excel/matrix.d.ts +67 -0
  48. package/lib/components/ExcelFile/ExcelFile/Excel/point-range.d.ts +22 -0
  49. package/lib/components/ExcelFile/ExcelFile/Excel/point.d.ts +11 -0
  50. package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +27 -0
  51. package/lib/components/ExcelFile/ExcelFile/Excel/selection.d.ts +95 -0
  52. package/lib/components/ExcelFile/ExcelFile/Excel/types.d.ts +178 -0
  53. package/lib/components/ExcelFile/ExcelFile/Excel/use-dispatch.d.ts +3 -0
  54. package/lib/components/ExcelFile/ExcelFile/Excel/use-selector.d.ts +3 -0
  55. package/lib/components/ExcelFile/ExcelFile/Excel/util.d.ts +44 -0
  56. package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +19 -0
  57. package/lib/components/ExcelFile/ExcelFile.stories.d.ts +6 -0
  58. package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +12 -0
  59. package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +15 -0
  60. package/lib/components/ExcelFile/Types.d.ts +129 -0
  61. package/lib/components/ExcelFile/index.d.ts +1 -0
  62. package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +7 -0
  63. package/lib/components/FF_Captcha/captcha.stories.d.ts +8 -0
  64. package/lib/components/FileDropzone/FileDropzone.stories.d.ts +8 -0
  65. package/lib/components/FileDropzone/types.d.ts +12 -4
  66. package/lib/components/Form/Form.stories.d.ts +7 -0
  67. package/lib/components/GridLayout/GridLayout.stories.d.ts +8 -0
  68. package/lib/components/HighlightText/HighlightText.stories.d.ts +6 -0
  69. package/lib/components/Icon/Icon.stories.d.ts +8 -0
  70. package/lib/components/IconButton/IconButton.stories.d.ts +7 -0
  71. package/lib/components/IconRadioGroup/IconRadioGroup.stories.d.ts +7 -0
  72. package/lib/components/Input/Input.stories.d.ts +9 -0
  73. package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +9 -0
  74. package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +11 -0
  75. package/lib/components/LazyLoad/LazyLoad.stories.d.ts +6 -0
  76. package/lib/components/MachineInputField/MachineInputField.stories.d.ts +6 -0
  77. package/lib/components/MenuOption/MenuOption.stories.d.ts +16 -0
  78. package/lib/components/MenuOption/types.d.ts +1 -1
  79. package/lib/components/MiniModal/MiniModal.stories.d.ts +10 -0
  80. package/lib/components/Modal/Modal.stories.d.ts +7 -0
  81. package/lib/components/ModulesChip/ModuleChip.stories.d.ts +6 -0
  82. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +10 -0
  83. package/lib/components/NLPInput/NlpInput.stories.d.ts +7 -0
  84. package/lib/components/Paper/Paper.stories.d.ts +11 -0
  85. package/lib/components/PopUpModal/types.d.ts +2 -1
  86. package/lib/components/RadioButton/RadioButton.stories.d.ts +10 -0
  87. package/lib/components/RadioGroup/RadioGroup.stories.d.ts +9 -0
  88. package/lib/components/Search/Search.stories.d.ts +6 -0
  89. package/lib/components/Select/Select.stories.d.ts +13 -0
  90. package/lib/components/Select/components/Dropdown/Dropdown.d.ts +4 -0
  91. package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +17 -0
  92. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +6 -0
  93. package/lib/components/StateDropdown/StateDropdown.stories.d.ts +10 -0
  94. package/lib/components/StatusButton/StatusButton.stories.d.ts +14 -0
  95. package/lib/components/Table/Table.stories.d.ts +13 -0
  96. package/lib/components/TableTree/TableTree.stories.d.ts +7 -0
  97. package/lib/components/Tabs/Tabs.stories.d.ts +9 -0
  98. package/lib/components/TextArea/Textarea.stories.d.ts +9 -0
  99. package/lib/components/Toast/Toast.stories.d.ts +6 -0
  100. package/lib/components/Toastify/Toastify.stories.d.ts +6 -0
  101. package/lib/components/Toggle/Toggle.stories.d.ts +12 -0
  102. package/lib/components/Tooltip/Tooltip.stories.d.ts +15 -0
  103. package/lib/components/Typography/Typography.stories.d.ts +10 -0
  104. package/lib/components/VariableInput/VariableInput.stories.d.ts +6 -0
  105. package/lib/index.d.ts +69 -63
  106. package/lib/index.esm.js +188 -253
  107. package/lib/index.esm.js.map +1 -1
  108. package/lib/index.js +188 -253
  109. package/lib/index.js.map +1 -1
  110. package/lib/tsconfig.tsbuildinfo +1 -1
  111. package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +6 -0
  112. package/lib/utils/compareArrays/compareArrays.stories.d.ts +6 -0
  113. package/lib/utils/compareObjects/compareObjects.stories.d.ts +6 -0
  114. package/lib/utils/debounce/debounce.stories.d.ts +6 -0
  115. package/lib/utils/ffID/ffID.stories.d.ts +6 -0
  116. package/lib/utils/find/findAndInsert.d.ts +7 -0
  117. package/lib/utils/find/findAndInsert.stories.d.ts +7 -0
  118. package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +7 -0
  119. package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +6 -0
  120. package/lib/utils/getExtension/getExtension.stories.d.ts +6 -0
  121. package/lib/utils/throttle/throttle.stories.d.ts +6 -0
  122. package/lib/utils/truncateText/truncateText.stories.d.ts +6 -0
  123. package/package.json +1 -1
  124. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +4 -0
  125. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +1 -1
  126. package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +1 -1
  127. package/src/components/ConditionalDropdown/types.ts +1 -1
  128. package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +8 -8
  129. package/src/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.tsx +1 -5
  130. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +4 -3
  131. package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +35 -27
  132. package/src/components/FileDropzone/Dropzone.tsx +3 -0
  133. package/src/components/FileDropzone/FileDropzone.scss +18 -0
  134. package/src/components/FileDropzone/FileDropzone.stories.tsx +75 -7
  135. package/src/components/FileDropzone/FileDropzone.tsx +2 -0
  136. package/src/components/FileDropzone/RadioFilePreview.tsx +7 -3
  137. package/src/components/FileDropzone/types.ts +13 -4
  138. package/src/components/MenuOption/MenuOption.stories.tsx +2 -3
  139. package/src/components/MenuOption/MenuOption.tsx +27 -29
  140. package/src/components/MenuOption/types.ts +1 -1
  141. package/src/components/PopUpModal/types.ts +4 -3
  142. package/src/components/Search/Search.stories.tsx +1 -2
  143. package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
  144. package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
  145. package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
  146. package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
  147. package/lib/components/TableTree/TableTree copy.d.ts +0 -25
  148. /package/lib/components/{Excel → ExcelFile}/ContextMenu/ContextMenu.d.ts +0 -0
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import ModuleChip from './ModuleChip';
3
+ declare const meta: Meta<typeof ModuleChip>;
4
+ type Story = StoryObj<typeof ModuleChip>;
5
+ export declare const Controlled: Story;
6
+ export default meta;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import MultiSelect from './MultiSelect';
3
+ declare const meta: Meta<typeof MultiSelect>;
4
+ type Story = StoryObj<typeof MultiSelect>;
5
+ export declare const Default: Story;
6
+ export declare const Default2: Story;
7
+ export declare const Default3: Story;
8
+ export declare const EmailGroup: Story;
9
+ export declare const Controlled: Story;
10
+ export default meta;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import NlpInput from './NlpInput';
3
+ declare const meta: Meta<typeof NlpInput>;
4
+ type Story = StoryObj<typeof NlpInput>;
5
+ export declare const Primary: Story;
6
+ export declare const Disable: Story;
7
+ export default meta;
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Paper from './Paper';
3
+ import './Paper.scss';
4
+ declare const meta: Meta<typeof Paper>;
5
+ type Story = StoryObj<typeof Paper>;
6
+ export declare const Default: Story;
7
+ export declare const PrimaryPaper: Story;
8
+ export declare const PaperWithLowShadow: Story;
9
+ export declare const PaperWithHighShadow: Story;
10
+ export declare const PaperWithRounded: Story;
11
+ export default meta;
@@ -5,7 +5,8 @@ export interface PopUpModalProps {
5
5
  titleMessage: string;
6
6
  subTitleMessage?: string;
7
7
  iconName: string;
8
- modalMessage: string;
8
+ modalMessage: string | React.ReactNode;
9
+ secondaryMessage?: string | React.ReactNode;
9
10
  firstButtonLabel?: string;
10
11
  secondButtonLabel: string;
11
12
  buttonVariant: any;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import RadioButton from './RadioButton';
3
+ declare const meta: Meta<typeof RadioButton>;
4
+ type Story = StoryObj<typeof RadioButton>;
5
+ export declare const Default: Story;
6
+ export declare const Checked: Story;
7
+ export declare const UncheckedDisabled: Story;
8
+ export declare const CheckedDisabled: Story;
9
+ export declare const WithoutLabel: Story;
10
+ export default meta;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import RadioGroup from './RadioGroup';
3
+ declare const meta: Meta<typeof RadioGroup>;
4
+ type Story = StoryObj<typeof RadioGroup>;
5
+ export declare const Controlled: Story;
6
+ export declare const WithDisabledOption: Story;
7
+ export declare const DisabledSelected: Story;
8
+ export declare const WithToolTipIcon: Story;
9
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Search from './Search';
3
+ declare const meta: Meta<typeof Search>;
4
+ type Story = StoryObj<typeof Search>;
5
+ export declare const Default: Story;
6
+ export default meta;
@@ -0,0 +1,13 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Select from './Select';
3
+ declare const meta: Meta<typeof Select>;
4
+ type Story = StoryObj<typeof Select>;
5
+ export declare const Primary: Story;
6
+ export declare const WithError: Story;
7
+ export declare const WithoutLabel: Story;
8
+ export declare const EmptyOptions: Story;
9
+ export declare const Disable: Story;
10
+ export declare const WithInitialValue: Story;
11
+ export declare const OptionSelection: Story;
12
+ export declare const CustomJSX: Story;
13
+ export default meta;
@@ -0,0 +1,4 @@
1
+ import { DropDownListProps } from './dropdownTypes';
2
+ import './Dropdown.scss';
3
+ declare const Dropdown: ({ onSelectBlur, onSelectOptionSelector, dropdownPosition, options, optionZIndex, inputRef, labelAccessor, }: DropDownListProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Dropdown;
@@ -0,0 +1,17 @@
1
+ import { DrowdownPosition, Option } from '../../types';
2
+ export interface DropDownListProps {
3
+ onSelectBlur: () => void;
4
+ onSelectOptionSelector: (option: Option) => void;
5
+ dropdownPosition: DrowdownPosition;
6
+ options?: Option[];
7
+ optionZIndex?: number;
8
+ inputRef?: React.RefObject<HTMLInputElement>;
9
+ labelAccessor?: string;
10
+ valueAccessor?: string;
11
+ }
12
+ export declare const dropdownDefaultCSSData: {
13
+ margin: number;
14
+ optionHeight: number;
15
+ selectInputHeight: number;
16
+ dropDownWrapperPadding: number;
17
+ };
@@ -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,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import StateDropdown from './StateDropdown';
3
+ declare const meta: Meta<typeof StateDropdown>;
4
+ type Story = StoryObj<typeof StateDropdown>;
5
+ export declare const Disable: Story;
6
+ export declare const Review: Story;
7
+ export declare const Reject: Story;
8
+ export declare const Approved: Story;
9
+ export declare const NewState: Story;
10
+ export default meta;
@@ -0,0 +1,14 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import StatusButton from './StatusButton';
3
+ declare const meta: Meta<typeof StatusButton>;
4
+ type Story = StoryObj<typeof StatusButton>;
5
+ export declare const Passed: Story;
6
+ export declare const Failed: Story;
7
+ export declare const Running: Story;
8
+ export declare const Terminated: Story;
9
+ export declare const Skipped: Story;
10
+ export declare const Warning: Story;
11
+ export declare const PartiallyExecuted: Story;
12
+ export declare const Aborted: Story;
13
+ export declare const NotExecuted: Story;
14
+ export default meta;
@@ -0,0 +1,13 @@
1
+ import { StoryObj, Meta } from '@storybook/react';
2
+ import Table from './Table';
3
+ declare const meta: Meta<typeof Table>;
4
+ type Story = StoryObj<typeof Table>;
5
+ export declare const Default: Story;
6
+ export declare const PrimaryHeaderTextColor: Story;
7
+ export declare const TableDataTextColor: Story;
8
+ export declare const PageTable: Story;
9
+ export declare const PrimaryHeader: Story;
10
+ export declare const FixedHeaderWithBorder: Story;
11
+ export declare const WithCheckBox: Story;
12
+ export declare const TableWithNoData: Story;
13
+ export default meta;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import TableTree from './TableTree';
3
+ import './TableTreeStories.scss';
4
+ declare const meta: Meta<typeof TableTree>;
5
+ type Story = StoryObj<typeof TableTree>;
6
+ export declare const Default: Story;
7
+ export default meta;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import Tabs from './Tabs';
3
+ declare const meta: Meta<typeof Tabs>;
4
+ type Story = StoryObj<typeof Tabs>;
5
+ export declare const DefaultTabs: Story;
6
+ export declare const CapsuleTabs: Story;
7
+ export declare const TabsWithDisabledTab: Story;
8
+ export declare const WithoutBorder: Story;
9
+ export default meta;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Textarea from './Textarea';
3
+ declare const meta: Meta<typeof Textarea>;
4
+ type Story = StoryObj<typeof Textarea>;
5
+ export declare const Default: Story;
6
+ export declare const Primary: Story;
7
+ export declare const Disabled: Story;
8
+ export declare const Controlled: Story;
9
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import Toaster from './Toast';
3
+ declare const meta: Meta<typeof Toaster>;
4
+ type Story = StoryObj<typeof Toaster>;
5
+ export declare const Controlled: Story;
6
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Toastify } from './Toastify';
3
+ declare const meta: Meta<typeof Toastify>;
4
+ type Story = StoryObj<typeof Toastify>;
5
+ export declare const Controlled: Story;
6
+ export default meta;
@@ -0,0 +1,12 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Toggle from './Toggle';
3
+ declare const meta: Meta<typeof Toggle>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Toggle>;
6
+ export declare const Default: Story;
7
+ export declare const Disabled: Story;
8
+ export declare const Checked: Story;
9
+ export declare const SmallSize: Story;
10
+ export declare const MediumSize: Story;
11
+ export declare const DynamicIconAndSize: Story;
12
+ export declare const Controlled: Story;
@@ -0,0 +1,15 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import Tooltip from './Tooltip';
3
+ declare const meta: Meta<typeof Tooltip>;
4
+ type Story = StoryObj<typeof Tooltip>;
5
+ export declare const Default: Story;
6
+ export declare const Controlled: Story;
7
+ export declare const Top: Story;
8
+ export declare const Left: Story;
9
+ export declare const Right: Story;
10
+ export declare const TopStart: Story;
11
+ export declare const TopEnd: Story;
12
+ export declare const BottomStart: Story;
13
+ export declare const BottomEnd: Story;
14
+ export declare const TooltipWithIcon: Story;
15
+ export default meta;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Typography from './Typography';
3
+ declare const meta: Meta<typeof Typography>;
4
+ type Story = StoryObj<typeof Typography>;
5
+ export declare const Docs: Story;
6
+ export declare const Regular12px: Story;
7
+ export declare const Medium12px: Story;
8
+ export declare const SemiBold14px: Story;
9
+ export declare const Bold14px: Story;
10
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import VariableInput from './VariableInput';
3
+ declare const meta: Meta<typeof VariableInput>;
4
+ type Story = StoryObj<typeof VariableInput>;
5
+ export declare const Default: Story;
6
+ export default meta;
package/lib/index.d.ts CHANGED
@@ -949,7 +949,7 @@ interface MenuOptionProps {
949
949
  * @optional
950
950
  */
951
951
  optionCardVariant?: 'primary';
952
- targetRef?: React.RefObject<HTMLElement>;
952
+ targetRef?: string | React.RefObject<HTMLElement>;
953
953
  }
954
954
 
955
955
  declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant, targetRef, }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
@@ -1099,6 +1099,62 @@ type DonutChartProps = {
1099
1099
 
1100
1100
  declare const DonutChart: React__default.FC<DonutChartProps>;
1101
1101
 
1102
+ type DynamicObj = {
1103
+ [key: string]: any;
1104
+ };
1105
+ interface CreateVariableProps {
1106
+ /**
1107
+ * Open Create variable Slider
1108
+ */
1109
+ isOpen: boolean;
1110
+ /**
1111
+ * Value for the variable name
1112
+ */
1113
+ variableName: string;
1114
+ /**
1115
+ * Value for the variable to be created
1116
+ */
1117
+ value: string;
1118
+ /**
1119
+ * List for the variable types
1120
+ */
1121
+ variableTypesList: DynamicObj[];
1122
+ /**
1123
+ * Selected variable type
1124
+ */
1125
+ selectedVariableType: DynamicObj;
1126
+ /**
1127
+ * Function to handle variable type change
1128
+ * @param option
1129
+ * @returns
1130
+ */
1131
+ onVariableTypeChange: (option: DynamicObj) => void;
1132
+ /**
1133
+ * Function to handle close
1134
+ */
1135
+ onClose?: () => void;
1136
+ /**
1137
+ * onChange of name
1138
+ */
1139
+ onNameChange: (value: string) => void;
1140
+ /**
1141
+ * onChange of value
1142
+ */
1143
+ onValueChange: (value: string) => void;
1144
+ /**
1145
+ * Hide value
1146
+ */
1147
+ hideValue: boolean;
1148
+ /**
1149
+ * onChange for hide value
1150
+ */
1151
+ onHideChange: (value: boolean) => void;
1152
+ /**
1153
+ * Function to handle submit
1154
+ */
1155
+ handleSubmit: () => void;
1156
+ }
1157
+
1102
1158
  interface RadioOption {
1103
1159
  label: string;
1104
1160
  value: string;
@@ -1185,11 +1241,11 @@ interface FileDropzoneProps {
1185
1241
  /**
1186
1242
  * Its the File Name of File Selected from Local File.
1187
1243
  **/
1188
- setSelectedFile?: (file: File | null) => void;
1244
+ setSelectedFile?: (file: File | DynamicObj | null) => void;
1189
1245
  /**
1190
1246
  * Its the File Name of File Selected from Local File.
1191
1247
  **/
1192
- selectedFile?: File | null;
1248
+ selectedFile?: File | DynamicObj | null;
1193
1249
  /**
1194
1250
  * Its the function which updates the Selected file from Local Directory.
1195
1251
  **/
@@ -1206,6 +1262,10 @@ interface FileDropzoneProps {
1206
1262
  * If isDisable is true not able to access the FileDropzone
1207
1263
  **/
1208
1264
  isDisable?: boolean;
1265
+ /**
1266
+ * Its the boolean value setted when the replace is clicked for TestData radio option .
1267
+ **/
1268
+ setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
1209
1269
  }
1210
1270
  interface FileError {
1211
1271
  message: string;
@@ -1250,11 +1310,12 @@ interface DroppableProps {
1250
1310
  selectedRadioOption?: Option;
1251
1311
  radioOptions?: RadioOption[];
1252
1312
  handleOptionChange?: (option: RadioOption) => void;
1253
- selectedFile?: File | null;
1254
- setSelectedFile?: (file: File | null) => void;
1313
+ selectedFile?: File | DynamicObj | null;
1314
+ setSelectedFile?: (file: File | DynamicObj | null) => void;
1255
1315
  handleFileChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
1256
1316
  handleRemoveFile?: () => void;
1257
1317
  isDisable?: boolean;
1318
+ setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
1258
1319
  }
1259
1320
  interface FilePreviewProps {
1260
1321
  file: File;
@@ -2618,62 +2679,6 @@ interface fieldSetProps {
2618
2679
 
2619
2680
  declare const FieldSet: FC<fieldSetProps>;
2620
2681
 
2621
- type DynamicObj = {
2622
- [key: string]: any;
2623
- };
2624
- interface CreateVariableProps {
2625
- /**
2626
- * Open Create variable Slider
2627
- */
2628
- isOpen: boolean;
2629
- /**
2630
- * Value for the variable name
2631
- */
2632
- variableName: string;
2633
- /**
2634
- * Value for the variable to be created
2635
- */
2636
- value: string;
2637
- /**
2638
- * List for the variable types
2639
- */
2640
- variableTypesList: DynamicObj[];
2641
- /**
2642
- * Selected variable type
2643
- */
2644
- selectedVariableType: DynamicObj;
2645
- /**
2646
- * Function to handle variable type change
2647
- * @param option
2648
- * @returns
2649
- */
2650
- onVariableTypeChange: (option: DynamicObj) => void;
2651
- /**
2652
- * Function to handle close
2653
- */
2654
- onClose?: () => void;
2655
- /**
2656
- * onChange of name
2657
- */
2658
- onNameChange: (value: string) => void;
2659
- /**
2660
- * onChange of value
2661
- */
2662
- onValueChange: (value: string) => void;
2663
- /**
2664
- * Hide value
2665
- */
2666
- hideValue: boolean;
2667
- /**
2668
- * onChange for hide value
2669
- */
2670
- onHideChange: (value: boolean) => void;
2671
- /**
2672
- * Function to handle submit
2673
- */
2674
- handleSubmit: () => void;
2675
- }
2676
-
2677
2682
  declare const CreateVariableSlider: FC<CreateVariableProps>;
2678
2683
 
2679
2684
  interface ColumnProps {
@@ -2928,7 +2933,8 @@ interface PopUpModalProps {
2928
2933
  titleMessage: string;
2929
2934
  subTitleMessage?: string;
2930
2935
  iconName: string;
2931
- modalMessage: string;
2936
+ modalMessage: string | React.ReactNode;
2937
+ secondaryMessage?: string | React.ReactNode;
2932
2938
  firstButtonLabel?: string;
2933
2939
  secondButtonLabel: string;
2934
2940
  buttonVariant: any;
@@ -2964,7 +2970,7 @@ interface ConditionalDropdownProps {
2964
2970
  /**
2965
2971
  * Function storing and updating the inputValue state
2966
2972
  */
2967
- setHashInputValue?: (value: dynamicObject | undefined) => void;
2973
+ setHashInputValue?: (value: File | dynamicObject | null) => void;
2968
2974
  /**
2969
2975
  * List of variables
2970
2976
  */