pixel-react 1.5.3 → 1.5.5

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 (92) hide show
  1. package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
  2. package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
  3. package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
  4. package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
  5. package/lib/assets/utils/functionUtils.d.ts +7 -0
  6. package/lib/components/AddButton/AddButton.d.ts +5 -0
  7. package/lib/components/AddButton/AddButton.stories.d.ts +6 -0
  8. package/lib/components/AddButton/index.d.ts +1 -0
  9. package/lib/components/AddButton/types.d.ts +4 -0
  10. package/lib/components/AttachImage/AttachImage.stories.d.ts +7 -0
  11. package/lib/components/Charts/BarChart/BarChart.stories.d.ts +6 -0
  12. package/lib/components/Charts/DashboardDonutChart/types.d.ts +13 -3
  13. package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +8 -0
  14. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +7 -0
  15. package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +8 -0
  16. package/lib/components/Chip/types.d.ts +1 -1
  17. package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +6 -0
  18. package/lib/components/DownloadClient/DownloadClient.d.ts +4 -0
  19. package/lib/components/DownloadClient/index.d.ts +1 -0
  20. package/lib/components/DownloadClient/type.d.ts +35 -0
  21. package/lib/components/EditTextField/EditTextField.stories.d.ts +10 -0
  22. package/lib/components/Editor/Editor.stories.d.ts +6 -0
  23. package/lib/components/Editor/types.d.ts +1 -1
  24. package/lib/components/Excel/ContextMenu/ContextMenu.d.ts +4 -0
  25. package/lib/components/Excel/ExcelFile.stories.d.ts +6 -0
  26. package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +14 -0
  27. package/lib/components/ExcelFile/ImportExcelStyles.d.ts +24 -0
  28. package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +2 -0
  29. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
  30. package/lib/components/Select/Select.stories.d.ts +1 -0
  31. package/lib/components/StatusCard/StatusCard.stories.d.ts +11 -0
  32. package/lib/components/Toast/types.d.ts +1 -1
  33. package/lib/components/Toastify/Toastify.d.ts +1 -0
  34. package/lib/components/Toastify/types.d.ts +1 -1
  35. package/lib/index.d.ts +73 -50
  36. package/lib/index.esm.js +255 -102
  37. package/lib/index.esm.js.map +1 -1
  38. package/lib/index.js +255 -101
  39. package/lib/index.js.map +1 -1
  40. package/lib/tsconfig.tsbuildinfo +1 -1
  41. package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +10 -0
  42. package/package.json +1 -1
  43. package/src/assets/Themes/BaseTheme.scss +21 -4
  44. package/src/assets/Themes/DarkTheme.scss +18 -0
  45. package/src/assets/icons/Header_preset.svg +17 -12
  46. package/src/assets/icons/add_archive.svg +9 -0
  47. package/src/assets/icons/add_user.svg +9 -0
  48. package/src/assets/icons/alert.svg +17 -0
  49. package/src/assets/icons/approval_pending.svg +8 -8
  50. package/src/assets/icons/configuration.svg +3 -3
  51. package/src/assets/icons/defects.svg +8 -8
  52. package/src/assets/icons/element.svg +4 -4
  53. package/src/assets/icons/info_icon.svg +16 -3
  54. package/src/assets/icons/no_data.svg +13 -0
  55. package/src/assets/icons/project_element.svg +4 -4
  56. package/src/assets/icons/remove_user.svg +3 -0
  57. package/src/assets/icons/step_group.svg +10 -10
  58. package/src/assets/icons/variable.svg +3 -3
  59. package/src/assets/utils/functionUtils.ts +55 -1
  60. package/src/components/Accordion/Accordion.scss +3 -1
  61. package/src/components/Accordion/Accordion.tsx +17 -17
  62. package/src/components/AttachImage/AttachImage.scss +20 -17
  63. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +6 -7
  64. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +172 -29
  65. package/src/components/Charts/DashboardDonutChart/types.ts +14 -3
  66. package/src/components/Chip/Chip.scss +15 -1
  67. package/src/components/Chip/Chip.stories.tsx +30 -1
  68. package/src/components/Chip/types.ts +1 -1
  69. package/src/components/DownloadClient/DownloadClient.scss +80 -0
  70. package/src/components/DownloadClient/DownloadClient.stories.tsx +26 -0
  71. package/src/components/DownloadClient/DownloadClient.tsx +81 -0
  72. package/src/components/DownloadClient/index.ts +1 -0
  73. package/src/components/DownloadClient/type.ts +41 -0
  74. package/src/components/Editor/Editor.stories.tsx +17 -2
  75. package/src/components/Editor/VariableDropdown.scss +1 -0
  76. package/src/components/Editor/types.ts +1 -2
  77. package/src/components/FileDropzone/FileDropzone.scss +4 -3
  78. package/src/components/Form/Forms.tsx +1 -1
  79. package/src/components/Icon/iconList.ts +12 -2
  80. package/src/components/IconRadioGroup/IconRadioGroup.stories.tsx +2 -2
  81. package/src/components/IconRadioGroup/IconRadioGroup.tsx +0 -2
  82. package/src/components/StatusButton/StatusButton.scss +1 -1
  83. package/src/components/TableTree/TableTree.scss +44 -48
  84. package/src/components/TableTree/TableTree.tsx +17 -6
  85. package/src/components/Toast/Toast.stories.tsx +47 -83
  86. package/src/components/Toast/Toast.tsx +2 -1
  87. package/src/components/Toast/types.ts +1 -1
  88. package/src/components/Toastify/Toastify.stories.tsx +9 -9
  89. package/src/components/Toastify/Toastify.tsx +2 -0
  90. package/src/components/Toastify/types.ts +1 -1
  91. package/src/index.ts +2 -0
  92. /package/lib/components/ExcelFile/{ColorBarselector → ColorBarSelector}/ColorBarSelector.d.ts +0 -0
@@ -2,3 +2,10 @@ export declare const isFunction: (functionToCheck: any) => any;
2
2
  export declare const convertTo24Hour: (time12h: string) => string;
3
3
  export declare const convertTo12Hour: (time24: string) => string;
4
4
  export declare const isValid12HourTime: (timeString: string) => boolean;
5
+ export declare const UNIT_MULTIPLIERS: Record<string, number>;
6
+ export declare function normalizeStorageValue(value: string): {
7
+ normalizedValue: number;
8
+ unit: string;
9
+ value: number;
10
+ };
11
+ export declare function formatMemoryValue(valueInBytes: number): string;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './AddButton.scss';
3
+ import { AddButtonProps } from './types';
4
+ declare const AddButton: React.FC<AddButtonProps>;
5
+ export default AddButton;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import AddButton from './AddButton';
3
+ declare const meta: Meta<typeof AddButton>;
4
+ type Story = StoryObj<typeof AddButton>;
5
+ export declare const PrimaryAddButton: Story;
6
+ export default meta;
@@ -0,0 +1 @@
1
+ export { default } from './AddButton';
@@ -0,0 +1,4 @@
1
+ export interface AddButtonProps {
2
+ name: string;
3
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
4
+ }
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import AttachImage from './AttachImage';
3
+ import { AttachImageProps } from './types';
4
+ declare const meta: Meta<typeof AttachImage>;
5
+ export default meta;
6
+ type Story = StoryObj<AttachImageProps>;
7
+ export declare const Default: Story;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import BarChart from './BarChart';
3
+ declare const meta: Meta<typeof BarChart>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof BarChart>;
6
+ export declare const BarChartDashboard: Story;
@@ -5,9 +5,17 @@ export type StatusValue = {
5
5
  };
6
6
  export type ChartItem = {
7
7
  key: string;
8
- value: number;
8
+ value: string | number;
9
9
  color?: string;
10
10
  };
11
+ export type NormalizedChartItem = {
12
+ key: string;
13
+ value: number | string;
14
+ color?: string;
15
+ normalizedValue?: number;
16
+ unit?: string;
17
+ labelValue?: number;
18
+ };
11
19
  export type LegendType = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
12
20
  export type DashboardDonutChartProps = {
13
21
  radius: number;
@@ -17,7 +25,9 @@ export type DashboardDonutChartProps = {
17
25
  isLegendDetails: boolean;
18
26
  gapAngle?: number;
19
27
  legendType: LegendType;
20
- showOnlyLabel: boolean;
28
+ showOnlyLabel?: boolean;
21
29
  unit?: string;
22
- showUnit: boolean;
30
+ showUnit?: boolean;
31
+ labelFontSize?: number;
32
+ subLabelFontSize?: number;
23
33
  };
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import IconRadialChart from './IconRadialChart';
3
+ declare const meta: Meta<typeof IconRadialChart>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof IconRadialChart>;
6
+ export declare const Default: Story;
7
+ export declare const Mobile: Story;
8
+ export declare const WithoutIcon: Story;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import LineChart from './LineChart';
3
+ import { LineChartProps } from './types';
4
+ declare const meta: Meta<typeof LineChart>;
5
+ export default meta;
6
+ export declare const DefaultLineChart: StoryObj<LineChartProps>;
7
+ export declare const StatusLineChart: StoryObj<LineChartProps>;
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import MultiRadialChart from './MultiRadialChart';
3
+ declare const meta: Meta<typeof MultiRadialChart>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MultiRadialChart>;
6
+ export declare const Default: Story;
7
+ export declare const numberLegend: Story;
8
+ export declare const PillLegend: Story;
@@ -10,7 +10,7 @@ export interface ChipsProps {
10
10
  /**
11
11
  * The variant of the Chip.
12
12
  */
13
- variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom';
13
+ variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom' | 'public' | 'partial-public' | 'private' | 'disabled';
14
14
  /**
15
15
  * The callback function to be executed when the Chip is clicked.
16
16
  */
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import ConnectingBranch from './ConnectingBranch';
3
+ declare const meta: Meta<typeof ConnectingBranch>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ConnectingBranch>;
6
+ export declare const Default: Story;
@@ -0,0 +1,4 @@
1
+ import './DownloadClient.scss';
2
+ import { DownloadClientProps } from './type';
3
+ declare const DownloadClient: React.FC<DownloadClientProps>;
4
+ export default DownloadClient;
@@ -0,0 +1 @@
1
+ export * from './DownloadClient';
@@ -0,0 +1,35 @@
1
+ export interface DownloadClientProps {
2
+ /**
3
+ * Title of the popup.
4
+ */
5
+ title: string;
6
+ /**
7
+ * Description or body text of the popup.
8
+ */
9
+ description: string;
10
+ /**
11
+ * Callback for when the "Cancel" icon is clicked.
12
+ */
13
+ onCancel: () => void;
14
+ /**
15
+ * Callback for when the "Download for Windows" icon is clicked.
16
+ */
17
+ onDownloadWindows: () => void;
18
+ /**
19
+ * Callback for when the "Download for macOS" icon is clicked.
20
+ */
21
+ onDownloadMac: () => void;
22
+ /**
23
+ * Optional flag to control whether to display icons for download actions instead of buttons.
24
+ * Defaults to `false` for buttons.
25
+ */
26
+ showIcons?: boolean;
27
+ }
28
+ export interface DownloadClientProps {
29
+ onClose?: () => void;
30
+ onClickWindows: () => void;
31
+ onClickLinux: () => void;
32
+ onClickMac: () => void;
33
+ top?: string;
34
+ left?: string;
35
+ }
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import EditTextField from './EditTextField';
3
+ import '../../assets/styles/_colors.scss';
4
+ import './EditTextField.scss';
5
+ declare const meta: Meta<typeof EditTextField>;
6
+ type Story = StoryObj<typeof EditTextField>;
7
+ export declare const textFieldWithLabel: Story;
8
+ export declare const textFieldWithOutLabel: Story;
9
+ export declare const openTextField: Story;
10
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { EditorProps } from './types';
3
+ declare const meta: Meta<EditorProps>;
4
+ export default meta;
5
+ type Story = StoryObj<EditorProps>;
6
+ export declare const Default: Story;
@@ -35,7 +35,7 @@ export interface EditorProps {
35
35
  /**
36
36
  * onChange function to handle the input changes
37
37
  */
38
- handleChange: (value: string | undefined, _event: any) => {};
38
+ handleChange: (value: string | undefined, _event: any) => void;
39
39
  /**
40
40
  * Theme
41
41
  */
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './ContextMenu.scss';
3
+ declare const ContextMenu: React.FC<ContextMenuProps>;
4
+ export default ContextMenu;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import ExcelFile from './ExcelFile/ExcelFile';
3
+ declare const meta: Meta<typeof ExcelFile>;
4
+ type Story = StoryObj<typeof ExcelFile>;
5
+ export declare const Default: Story;
6
+ export default meta;
@@ -0,0 +1,14 @@
1
+ import { CellBase } from "./ExcelFile/Excel";
2
+ interface ChangeExcelStylesOptions {
3
+ sheetName: string;
4
+ styleType: string;
5
+ value: string;
6
+ selectedCell: {
7
+ row: number;
8
+ column: number;
9
+ }[];
10
+ }
11
+ export default function ChangeExcelStyles(setWorksheetsData: React.Dispatch<React.SetStateAction<{
12
+ [key: string]: Matrix<CellBase>;
13
+ }>>, options: ChangeExcelStylesOptions): void;
14
+ export {};
@@ -0,0 +1,24 @@
1
+ interface CellStyle {
2
+ color?: string;
3
+ backgroundColor?: string;
4
+ bold?: boolean;
5
+ italic?: boolean;
6
+ name?: string;
7
+ border: {
8
+ top: string;
9
+ bottom: string;
10
+ left: string;
11
+ right: string;
12
+ };
13
+ alignment: {
14
+ horizontal?: string;
15
+ vertical?: string;
16
+ wrapText?: boolean;
17
+ };
18
+ }
19
+ interface CellData {
20
+ style?: CellStyle;
21
+ }
22
+ type ImportExcelStylesData = Array<Array<CellData>>;
23
+ export default function ImportExcelStyles(data: ImportExcelStylesData | null): void;
24
+ export {};
@@ -6,6 +6,8 @@ declare const meta: Meta<typeof LabelEditTextField>;
6
6
  type Story = StoryObj<typeof LabelEditTextField>;
7
7
  export declare const textField: Story;
8
8
  export declare const textFieldWithOutLabel: Story;
9
+ export declare const openTextFieldWithOutLabel: Story;
9
10
  export declare const textFieldWithDropdown: Story;
10
11
  export declare const textFieldWithHighlight: Story;
12
+ export declare const openLabelEditTextField: Story;
11
13
  export default meta;
@@ -7,4 +7,5 @@ export declare const Default2: Story;
7
7
  export declare const Default3: Story;
8
8
  export declare const EmailGroup: Story;
9
9
  export declare const Controlled: Story;
10
+ export declare const Labels: Story;
10
11
  export default meta;
@@ -10,4 +10,5 @@ export declare const Disable: Story;
10
10
  export declare const WithInitialValue: Story;
11
11
  export declare const OptionSelection: Story;
12
12
  export declare const CustomJSX: Story;
13
+ export declare const updateOptionFromOutside: Story;
13
14
  export default meta;
@@ -0,0 +1,11 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import Card from './StatusCard';
3
+ import { CardProps } from './types';
4
+ declare const meta: Meta<typeof Card>;
5
+ export default meta;
6
+ type Story = StoryObj<CardProps>;
7
+ export declare const Passed: Story;
8
+ export declare const Failed: Story;
9
+ export declare const Warning: Story;
10
+ export declare const Skipped: Story;
11
+ export declare const Flaky: Story;
@@ -2,7 +2,7 @@ export interface ToasterProps {
2
2
  /**Boolean value to handle state of toaster. */
3
3
  isOpen: boolean;
4
4
  /**Variant for different type of toast message. */
5
- variant: 'success' | 'warning' | 'danger' | 'info' | 'confirm';
5
+ variant: 'success' | 'warning' | 'danger' | 'info' | 'confirm' | 'alert';
6
6
  /**Title of the toaster */
7
7
  toastTitle: string;
8
8
  /**Message for the toaster. */
@@ -6,4 +6,5 @@ export declare const toast: {
6
6
  error: (arg1: AcceptedType, arg2?: AcceptedType) => void;
7
7
  warning: (arg1: AcceptedType, arg2?: AcceptedType) => void;
8
8
  info: (arg1: AcceptedType, arg2?: AcceptedType) => void;
9
+ alert: (arg1: AcceptedType, arg2?: AcceptedType) => void;
9
10
  };
@@ -1,4 +1,4 @@
1
- export type Variant = 'success' | 'warning' | 'danger' | 'info' | 'confirm';
1
+ export type Variant = 'success' | 'warning' | 'danger' | 'info' | 'alert';
2
2
  export interface ToastProps {
3
3
  isOpen: boolean;
4
4
  variant: Variant;
package/lib/index.d.ts CHANGED
@@ -307,7 +307,7 @@ interface ToasterProps {
307
307
  /**Boolean value to handle state of toaster. */
308
308
  isOpen: boolean;
309
309
  /**Variant for different type of toast message. */
310
- variant: 'success' | 'warning' | 'danger' | 'info' | 'confirm';
310
+ variant: 'success' | 'warning' | 'danger' | 'info' | 'confirm' | 'alert';
311
311
  /**Title of the toaster */
312
312
  toastTitle: string;
313
313
  /**Message for the toaster. */
@@ -469,7 +469,7 @@ interface ChipsProps {
469
469
  /**
470
470
  * The variant of the Chip.
471
471
  */
472
- variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom';
472
+ variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom' | 'public' | 'partial-public' | 'private' | 'disabled';
473
473
  /**
474
474
  * The callback function to be executed when the Chip is clicked.
475
475
  */
@@ -1812,7 +1812,7 @@ declare const Paper: ({ children, className, rounded }: PaperProps) => react_jsx
1812
1812
 
1813
1813
  type ChartItem = {
1814
1814
  key: string;
1815
- value: number;
1815
+ value: string | number;
1816
1816
  color?: string;
1817
1817
  };
1818
1818
  type LegendType$1 = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
@@ -1824,9 +1824,11 @@ type DashboardDonutChartProps = {
1824
1824
  isLegendDetails: boolean;
1825
1825
  gapAngle?: number;
1826
1826
  legendType: LegendType$1;
1827
- showOnlyLabel: boolean;
1827
+ showOnlyLabel?: boolean;
1828
1828
  unit?: string;
1829
- showUnit: boolean;
1829
+ showUnit?: boolean;
1830
+ labelFontSize?: number;
1831
+ subLabelFontSize?: number;
1830
1832
  };
1831
1833
 
1832
1834
  declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
@@ -1997,6 +1999,7 @@ declare const toast: {
1997
1999
  error: (arg1: AcceptedType, arg2?: AcceptedType) => void;
1998
2000
  warning: (arg1: AcceptedType, arg2?: AcceptedType) => void;
1999
2001
  info: (arg1: AcceptedType, arg2?: AcceptedType) => void;
2002
+ alert: (arg1: AcceptedType, arg2?: AcceptedType) => void;
2000
2003
  };
2001
2004
 
2002
2005
  interface ToggleSwitchProps {
@@ -2204,6 +2207,70 @@ interface CardProps {
2204
2207
 
2205
2208
  declare const StatusCard: React__default.FC<CardProps>;
2206
2209
 
2210
+ interface DyanamicObj {
2211
+ [key: string]: any;
2212
+ }
2213
+ interface EditorProps {
2214
+ /**
2215
+ * Editor Content Type
2216
+ */
2217
+ language: 'javascript' | 'html' | 'json' | 'plain text' | 'xml';
2218
+ /**
2219
+ *
2220
+ *Width of the editor
2221
+ */
2222
+ width: string;
2223
+ /**
2224
+ * Height of the editor
2225
+ */
2226
+ height: string;
2227
+ /**
2228
+ * read only
2229
+ */
2230
+ readOnly?: boolean;
2231
+ /**
2232
+ * Variable options list
2233
+ */
2234
+ variableOptionsList?: [] | DyanamicObj[];
2235
+ /**
2236
+ *Value to set in the editor
2237
+ */
2238
+ value: string;
2239
+ /**
2240
+ *
2241
+ * setter function to set the value for the editor
2242
+ */
2243
+ setValue: (value: string) => void;
2244
+ /**
2245
+ * onChange function to handle the input changes
2246
+ */
2247
+ handleChange: (value: string | undefined, _event: any) => void;
2248
+ /**
2249
+ * Theme
2250
+ */
2251
+ theme?: 'light' | 'vs-dark';
2252
+ }
2253
+ interface dropdownPositionType {
2254
+ top: number;
2255
+ left: number;
2256
+ }
2257
+ interface VariableDropdownProps {
2258
+ /**
2259
+ * List of variables
2260
+ */
2261
+ optionsList: {}[];
2262
+ /**
2263
+ * Function to handle click on variable
2264
+ */
2265
+ onSelectVariable: (variable: object) => void;
2266
+ /**
2267
+ * Dropdown postion used for dropdown placement
2268
+ */
2269
+ dropdownPosition: dropdownPositionType;
2270
+ }
2271
+
2272
+ declare const VariableDropdown: FC<VariableDropdownProps>;
2273
+
2207
2274
  interface LineChartProps {
2208
2275
  data: any[];
2209
2276
  width: number;
@@ -2310,50 +2377,6 @@ interface MultiRadialChartProps {
2310
2377
 
2311
2378
  declare const MultiRadialChart: React__default.FC<MultiRadialChartProps>;
2312
2379
 
2313
- interface DyanamicObj {
2314
- [key: string]: any;
2315
- }
2316
- interface EditorProps {
2317
- /**
2318
- * Editor Content Type
2319
- */
2320
- language: 'javascript' | 'html' | 'json' | 'plain text' | 'xml';
2321
- /**
2322
- *
2323
- *Width of the editor
2324
- */
2325
- width: string;
2326
- /**
2327
- * Height of the editor
2328
- */
2329
- height: string;
2330
- /**
2331
- * read only
2332
- */
2333
- readOnly?: boolean;
2334
- /**
2335
- * Variable options list
2336
- */
2337
- variableOptionsList?: [] | DyanamicObj[];
2338
- /**
2339
- *Value to set in the editor
2340
- */
2341
- value: string;
2342
- /**
2343
- *
2344
- * setter function to set the value for the editor
2345
- */
2346
- setValue: (value: string) => void;
2347
- /**
2348
- * onChange function to handle the input changes
2349
- */
2350
- handleChange: (value: string | undefined, _event: any) => {};
2351
- /**
2352
- * Theme
2353
- */
2354
- theme?: 'light' | 'vs-dark';
2355
- }
2356
-
2357
2380
  declare const Editor: React$1.ForwardRefExoticComponent<EditorProps & React$1.RefAttributes<any>>;
2358
2381
 
2359
2382
  interface OperatingSystemInfo {
@@ -2391,4 +2414,4 @@ declare const ConnectingBranch: React__default.FC;
2391
2414
 
2392
2415
  declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
2393
2416
 
2394
- export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BarChart, Button, Checkbox, Chip, Col, ConnectingBranch, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FileDropzone, ForwardedForms as Form, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, saveFileFromBlob, throttle, toast, truncateText, useTheme };
2417
+ export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BarChart, Button, Checkbox, Chip, Col, ConnectingBranch, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FileDropzone, ForwardedForms as Form, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, VariableDropdown, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, saveFileFromBlob, throttle, toast, truncateText, useTheme };