pixel-react 1.1.0 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.d.ts +5 -0
  3. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +7 -0
  4. package/lib/components/Charts/DashboardDonutChart/index.d.ts +1 -0
  5. package/lib/components/Charts/DashboardDonutChart/types.d.ts +21 -0
  6. package/lib/components/Charts/PieChart/PieChart.d.ts +5 -0
  7. package/lib/components/Charts/PieChart/PieChart.stories.d.ts +7 -0
  8. package/lib/components/Charts/PieChart/index.d.ts +1 -0
  9. package/lib/components/Charts/PieChart/types.d.ts +27 -0
  10. package/lib/components/FF_Captcha/Recaptcha.d.ts +5 -0
  11. package/lib/components/FF_Captcha/captcha.stories.d.ts +8 -0
  12. package/lib/components/FF_Captcha/types.d.ts +20 -0
  13. package/lib/components/MultiSelect/MultiSelect.d.ts +1 -1
  14. package/lib/components/MultiSelect/MultiSelectTypes.d.ts +1 -1
  15. package/lib/components/NLPInput/NlpInput.d.ts +4 -0
  16. package/lib/components/NLPInput/NlpInput.stories.d.ts +7 -0
  17. package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.d.ts +19 -0
  18. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.d.ts +4 -0
  19. package/lib/components/NLPInput/index.d.ts +1 -0
  20. package/lib/components/NLPInput/type.d.ts +70 -0
  21. package/lib/components/Table/Table.d.ts +1 -1
  22. package/lib/index.d.ts +96 -19
  23. package/lib/index.esm.js +2951 -249
  24. package/lib/index.esm.js.map +1 -1
  25. package/lib/index.js +2953 -247
  26. package/lib/index.js.map +1 -1
  27. package/lib/tsconfig.tsbuildinfo +1 -1
  28. package/lib/utils/getEncryptedData/getEncryptedData.d.ts +2 -0
  29. package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +6 -0
  30. package/package.json +6 -2
  31. package/src/StyleGuide/ColorPalette/ColorPalette.tsx +2 -4
  32. package/src/StyleGuide/ColorPalette/colorPaletteList.ts +95 -20
  33. package/src/assets/Themes/BaseTheme.scss +2 -3
  34. package/src/assets/Themes/DarkTheme.scss +9 -8
  35. package/src/assets/icons/wswb_delete_icon.svg +4 -0
  36. package/src/assets/icons/wswb_plus_icon.svg +5 -0
  37. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +145 -0
  38. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +52 -0
  39. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +335 -0
  40. package/src/components/Charts/DashboardDonutChart/index.ts +1 -0
  41. package/src/components/Charts/DashboardDonutChart/types.ts +33 -0
  42. package/src/components/Charts/PieChart/PieChart.scss +39 -0
  43. package/src/components/Charts/PieChart/PieChart.stories.tsx +46 -0
  44. package/src/components/Charts/PieChart/PieChart.tsx +193 -0
  45. package/src/components/Charts/PieChart/index.ts +1 -0
  46. package/src/components/Charts/PieChart/types.ts +28 -0
  47. package/src/components/FF_Captcha/Recaptcha.scss +11 -0
  48. package/src/components/FF_Captcha/Recaptcha.tsx +41 -0
  49. package/src/components/FF_Captcha/captcha.stories.tsx +40 -0
  50. package/src/components/FF_Captcha/index.ts +0 -0
  51. package/src/components/FF_Captcha/types.ts +22 -0
  52. package/src/components/Icon/iconList.ts +6 -0
  53. package/src/components/Modal/modal.scss +1 -1
  54. package/src/components/MultiSelect/MultiSelect.stories.tsx +2 -3
  55. package/src/components/MultiSelect/MultiSelect.tsx +35 -23
  56. package/src/components/MultiSelect/MultiSelectTypes.ts +1 -1
  57. package/src/components/NLPInput/NLPInput.scss +246 -0
  58. package/src/components/NLPInput/NlpInput.stories.tsx +136 -0
  59. package/src/components/NLPInput/NlpInput.tsx +374 -0
  60. package/src/components/NLPInput/components/NlpDropDown/NlpDropDownType.ts +60 -0
  61. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +83 -0
  62. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.tsx +180 -0
  63. package/src/components/NLPInput/index.ts +1 -0
  64. package/src/components/NLPInput/type.tsx +124 -0
  65. package/src/components/Table/Table.scss +5 -0
  66. package/src/components/Table/Table.stories.tsx +12 -0
  67. package/src/components/Table/Table.tsx +25 -14
  68. package/src/components/TextArea/Textarea.scss +1 -1
  69. package/src/index.ts +8 -1
  70. package/src/utils/getEncryptedData/getEncryptedData.stories.tsx +55 -0
  71. package/src/utils/getEncryptedData/getEncryptedData.ts +10 -0
  72. package/lib/components/AddButton/AddButton.d.ts +0 -5
  73. package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
  74. package/lib/components/AddButton/index.d.ts +0 -1
  75. package/lib/components/AddButton/types.d.ts +0 -4
Binary file
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { DashboardDonutChartProps } from './types';
3
+ import './DashBoardDonutChart.scss';
4
+ declare const DashboardDonutChart: React.FC<DashboardDonutChartProps>;
5
+ export default DashboardDonutChart;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react/*';
2
+ import DashboardDonutChart from './DashboardDonutChart';
3
+ declare const meta: Meta<typeof DashboardDonutChart>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof DashboardDonutChart>;
6
+ export declare const Default: Story;
7
+ export declare const MemoryLegend: Story;
@@ -0,0 +1 @@
1
+ export { default } from './DashboardDonutChart';
@@ -0,0 +1,21 @@
1
+ export type Status = 'passed' | 'failed' | 'warning' | 'skipped' | 'Passed' | 'Failed' | 'Skipped' | 'Warning';
2
+ export type StatusValue = {
3
+ status: Status;
4
+ value: number;
5
+ };
6
+ export type ChartItem = {
7
+ key: string;
8
+ value: number;
9
+ color?: string;
10
+ };
11
+ export type LegendType = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
12
+ export type DashboardDonutChartProps = {
13
+ radius: number;
14
+ lineWidth: number;
15
+ statusValues: ChartItem[];
16
+ legendDetailsType: string;
17
+ isLegendDetails: boolean;
18
+ gapAngle?: number;
19
+ legendType: LegendType;
20
+ showOnlyLabel: boolean;
21
+ };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './PieChart.scss';
3
+ import { PieChartProps } from './types';
4
+ declare const PieChart: React.FC<PieChartProps>;
5
+ export default PieChart;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import PieChart from './PieChart';
3
+ declare const meta: Meta<typeof PieChart>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof PieChart>;
6
+ export declare const PieChartDashBoard: Story;
7
+ export declare const PieChartDashBoardWithBorder: Story;
@@ -0,0 +1 @@
1
+ export { default } from './PieChart';
@@ -0,0 +1,27 @@
1
+ export type Status = {
2
+ status: 'Passed';
3
+ value: number;
4
+ };
5
+ export interface PieChartProps {
6
+ radius: number;
7
+ data: Array<{
8
+ label: string;
9
+ value: number;
10
+ }>;
11
+ colors: string[];
12
+ chartBorder: boolean;
13
+ }
14
+ export type ArcParams = {
15
+ x: number;
16
+ y: number;
17
+ radius: number;
18
+ startAngle: number;
19
+ endAngle: number;
20
+ };
21
+ export type ArcResult = string;
22
+ export type ArcAnglesResult = {
23
+ endAngle: number;
24
+ backgroundArcPath: string;
25
+ foregroundArcPath: string;
26
+ percentage: number;
27
+ };
@@ -0,0 +1,5 @@
1
+ import ReCAPTCHA from 'react-google-recaptcha';
2
+ import { RecaptchaProps } from './types';
3
+ import './Recaptcha.scss';
4
+ declare const Recaptcha: import("react").ForwardRefExoticComponent<RecaptchaProps & import("react").RefAttributes<ReCAPTCHA>>;
5
+ export default Recaptcha;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Recaptcha from './Recaptcha';
3
+ declare const meta: Meta<typeof Recaptcha>;
4
+ type Story = StoryObj<typeof Recaptcha>;
5
+ export declare const Default: Story;
6
+ export declare const WithError: Story;
7
+ export declare const WithCustomTheme: Story;
8
+ export default meta;
@@ -0,0 +1,20 @@
1
+ import { ComponentProps } from 'react';
2
+ import ReCAPTCHA from 'react-google-recaptcha';
3
+ export interface RecaptchaProps extends Omit<ComponentProps<typeof ReCAPTCHA>, 'onChange'> {
4
+ /**
5
+ * Callback function that receives the verification token
6
+ */
7
+ onVerify: (token: string | null) => void;
8
+ /**
9
+ * Optional CSS class name
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Optional error message to display
14
+ */
15
+ error?: string | null;
16
+ /**
17
+ * reCAPTCHA site key
18
+ */
19
+ sitekey: string;
20
+ }
@@ -1,4 +1,4 @@
1
1
  import './MultiSelect.scss';
2
2
  import { MultiSelectProps } from './MultiSelectTypes';
3
- declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default MultiSelect;
@@ -10,7 +10,7 @@ interface MultiSelectProps {
10
10
  label: string;
11
11
  selectedOptions?: Option[];
12
12
  disabled?: boolean;
13
- onSearch?: (searchedKeyword: string) => void;
13
+ onSearch?: (searchedKeyword: string, resultsLength: number) => void;
14
14
  onChange?: (selectedOptions: Option[]) => void;
15
15
  acceptNewOption?: boolean;
16
16
  zIndex?: number;
@@ -0,0 +1,4 @@
1
+ import { SelectProps } from './type';
2
+ import './NlpInput.scss';
3
+ declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default NlpInput;
@@ -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,19 @@
1
+ import { DrowdownPosition, Option } from '../../type';
2
+ export interface NlpDropDownListProps {
3
+ onSelectBlur: () => void;
4
+ onSelectOptionSelector: (option: Option) => void;
5
+ dropdownPosition: DrowdownPosition;
6
+ options?: Option[];
7
+ optionZIndex?: number;
8
+ inputRef?: React.RefObject<HTMLInputElement>;
9
+ label?: string;
10
+ hasError?: boolean;
11
+ errorMessage?: string;
12
+ disabled?: boolean;
13
+ }
14
+ export declare const nlpDropdownDefaultCSSData: {
15
+ margin: number;
16
+ optionHeight: number;
17
+ selectInputHeight: number;
18
+ dropDownWrapperPadding: number;
19
+ };
@@ -0,0 +1,4 @@
1
+ import { NlpDropDownListProps } from './NlpDropDownType';
2
+ import './NlpDropdown.scss';
3
+ declare const NlpDropdown: ({ onSelectBlur, onSelectOptionSelector, dropdownPosition, options, optionZIndex, inputRef, }: NlpDropDownListProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default NlpDropdown;
@@ -0,0 +1 @@
1
+ export { default } from './NlpInput';
@@ -0,0 +1,70 @@
1
+ import { ReactNode } from 'react';
2
+ export interface SelectProps {
3
+ label?: string;
4
+ showLabel?: boolean;
5
+ optionsList: any[];
6
+ selectedOption?: Option;
7
+ onChange: (option: Option) => void;
8
+ errorMsg?: string;
9
+ className?: string;
10
+ optionZIndex?: number;
11
+ disabled?: boolean;
12
+ borderRadius?: boolean;
13
+ showBorder?: boolean;
14
+ required?: boolean;
15
+ }
16
+ export interface DrowdownPosition {
17
+ positionX: number;
18
+ positionY: number;
19
+ width: number;
20
+ fromBottom: number;
21
+ }
22
+ export interface SelectState {
23
+ isInputFocused: boolean;
24
+ iconColor: string;
25
+ isIconClick: boolean;
26
+ showOptions: boolean;
27
+ options: any[];
28
+ option: string;
29
+ dropdownPosition: DrowdownPosition;
30
+ }
31
+ export type SelectAction = {
32
+ type: 'FOCUS_INPUT';
33
+ } | {
34
+ type: 'BLUR_INPUT';
35
+ payload: {
36
+ optionsList: Option[];
37
+ option: Option['projectId'];
38
+ };
39
+ } | {
40
+ type: 'MOUSE_ENTER';
41
+ } | {
42
+ type: 'MOUSE_LEAVE';
43
+ } | {
44
+ type: 'UPDATE_DROPDOWN_POSITION';
45
+ payload: {
46
+ positionX: number;
47
+ positionY: number;
48
+ width: number;
49
+ fromBottom: number;
50
+ };
51
+ } | {
52
+ type: 'UPDATE_OPTION';
53
+ payload: string;
54
+ } | {
55
+ type: 'UPDATE_OPTION_LIST';
56
+ payload: any[];
57
+ } | {
58
+ type: 'SHOW_ERROR';
59
+ payload: {
60
+ optionsList: any[];
61
+ option: Option['projectId'];
62
+ };
63
+ };
64
+ export interface Option {
65
+ displayName: string | ReactNode;
66
+ projectId: string;
67
+ nlpType: string;
68
+ platform: string;
69
+ disabled?: boolean;
70
+ }
@@ -1,4 +1,4 @@
1
1
  import './Table.scss';
2
2
  import { TableProps } from './Types';
3
- declare const Table: ({ data, columns, headerType, withFixedHeader, borderWithRadius, height, className, }: TableProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, height, className, }: TableProps) => import("react/jsx-runtime").JSX.Element | null;
4
4
  export default Table;
package/lib/index.d.ts CHANGED
@@ -1,12 +1,13 @@
1
1
  import * as LazyLoad from 'react-window';
2
2
  export { LazyLoad };
3
3
  import * as React$1 from 'react';
4
- import React__default, { ReactNode, FC, RefObject } from 'react';
4
+ import React__default, { ReactNode, FC, RefObject, ComponentProps } from 'react';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import { FieldValues, UseFormProps, SubmitHandler, FieldPath, FieldErrors } from 'react-hook-form';
7
7
  import * as DNDCore from '@dnd-kit/core';
8
8
  import * as DNDSortable from '@dnd-kit/sortable';
9
9
  import * as DNDUtilities from '@dnd-kit/utilities';
10
+ import ReCAPTCHA from 'react-google-recaptcha';
10
11
 
11
12
  interface ButtonProps$1 {
12
13
  /**
@@ -203,20 +204,20 @@ interface AccordionProps {
203
204
  */
204
205
  declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, }: AccordionProps) => react_jsx_runtime.JSX.Element;
205
206
 
206
- interface Option$2 {
207
+ interface Option$3 {
207
208
  label?: string;
208
209
  value?: string;
209
210
  accessor?: string;
210
211
  isChecked?: boolean;
211
212
  }
212
213
  interface MultiSelectProps {
213
- options: Option$2[];
214
+ options: Option$3[];
214
215
  type?: 'email' | 'text';
215
216
  label: string;
216
- selectedOptions?: Option$2[];
217
+ selectedOptions?: Option$3[];
217
218
  disabled?: boolean;
218
- onSearch?: (searchedKeyword: string) => void;
219
- onChange?: (selectedOptions: Option$2[]) => void;
219
+ onSearch?: (searchedKeyword: string, resultsLength: number) => void;
220
+ onChange?: (selectedOptions: Option$3[]) => void;
220
221
  acceptNewOption?: boolean;
221
222
  zIndex?: number;
222
223
  required?: boolean;
@@ -226,7 +227,7 @@ interface MultiSelectProps {
226
227
  displayCount?: boolean;
227
228
  }
228
229
 
229
- declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
230
+ declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
230
231
 
231
232
  interface ToasterProps {
232
233
  /**Boolean value to handle state of toaster. */
@@ -560,12 +561,12 @@ interface ExpandableMenuProps {
560
561
 
561
562
  declare const ExpandableMenu: React.FC<ExpandableMenuProps>;
562
563
 
563
- interface SelectProps {
564
+ interface SelectProps$1 {
564
565
  label?: string;
565
566
  showLabel?: boolean;
566
- optionsList: Option$1[];
567
- selectedOption?: Option$1;
568
- onChange: (option: Option$1) => void;
567
+ optionsList: Option$2[];
568
+ selectedOption?: Option$2;
569
+ onChange: (option: Option$2) => void;
569
570
  errorMsg?: string;
570
571
  className?: string;
571
572
  optionZIndex?: number;
@@ -578,13 +579,13 @@ interface SelectProps {
578
579
  */
579
580
  optionsRequired?: boolean;
580
581
  }
581
- interface Option$1 {
582
+ interface Option$2 {
582
583
  label: string | ReactNode;
583
584
  value: string;
584
585
  disabled?: boolean;
585
586
  }
586
587
 
587
- declare const Select: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, optionsRequired, }: SelectProps) => react_jsx_runtime.JSX.Element;
588
+ declare const Select: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, optionsRequired, }: SelectProps$1) => react_jsx_runtime.JSX.Element;
588
589
 
589
590
  interface TextareaProps {
590
591
  /**
@@ -879,7 +880,7 @@ interface TableProps {
879
880
  className?: string;
880
881
  }
881
882
 
882
- declare const Table: ({ data, columns, headerType, withFixedHeader, borderWithRadius, height, className, }: TableProps) => react_jsx_runtime.JSX.Element | null;
883
+ declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, height, className, }: TableProps) => react_jsx_runtime.JSX.Element | null;
883
884
 
884
885
  /**
885
886
  * Props for the Add Resource Button component.
@@ -1059,7 +1060,7 @@ interface FormProps<T extends FieldValues> extends UseFormProps<T> {
1059
1060
  }
1060
1061
  declare const Form: <T extends FieldValues>({ onSubmit, children, ...rest }: FormProps<T>) => react_jsx_runtime.JSX.Element;
1061
1062
 
1062
- interface Option {
1063
+ interface Option$1 {
1063
1064
  label: string | ReactNode;
1064
1065
  value: string;
1065
1066
  }
@@ -1107,11 +1108,11 @@ interface InputWithDropdownProps {
1107
1108
  /**
1108
1109
  * Options for the select dropdown
1109
1110
  */
1110
- optionsList: Option[];
1111
+ optionsList: Option$1[];
1111
1112
  /**
1112
1113
  * Selected option for the select dropdown
1113
1114
  */
1114
- selectedOption?: Option;
1115
+ selectedOption?: Option$1;
1115
1116
  /**
1116
1117
  * onChange handler for input changes
1117
1118
  */
@@ -1119,7 +1120,7 @@ interface InputWithDropdownProps {
1119
1120
  /**
1120
1121
  * onChange handler for dropdown changes
1121
1122
  */
1122
- onDropdownChangeHandler?: (option: Option) => void;
1123
+ onDropdownChangeHandler?: (option: Option$1) => void;
1123
1124
  /**
1124
1125
  * onInputBlurHandler action for input field
1125
1126
  */
@@ -1463,6 +1464,18 @@ declare const DragAndDrop: {
1463
1464
 
1464
1465
  declare const AllProjectsDropdown: () => react_jsx_runtime.JSX.Element;
1465
1466
 
1467
+ interface PieChartProps {
1468
+ radius: number;
1469
+ data: Array<{
1470
+ label: string;
1471
+ value: number;
1472
+ }>;
1473
+ colors: string[];
1474
+ chartBorder: boolean;
1475
+ }
1476
+
1477
+ declare const PieChart: React__default.FC<PieChartProps>;
1478
+
1466
1479
  interface AppHeaderProps {
1467
1480
  logoIconName: string;
1468
1481
  rightContent: ReactNode;
@@ -1491,6 +1504,70 @@ interface appHeaderQuickMenuItemProps {
1491
1504
 
1492
1505
  declare const AppHeader: React.FC<AppHeaderProps>;
1493
1506
 
1507
+ type ChartItem = {
1508
+ key: string;
1509
+ value: number;
1510
+ color?: string;
1511
+ };
1512
+ type LegendType = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
1513
+ type DashboardDonutChartProps = {
1514
+ radius: number;
1515
+ lineWidth: number;
1516
+ statusValues: ChartItem[];
1517
+ legendDetailsType: string;
1518
+ isLegendDetails: boolean;
1519
+ gapAngle?: number;
1520
+ legendType: LegendType;
1521
+ showOnlyLabel: boolean;
1522
+ };
1523
+
1524
+ declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
1525
+
1526
+ interface RecaptchaProps extends Omit<ComponentProps<typeof ReCAPTCHA>, 'onChange'> {
1527
+ /**
1528
+ * Callback function that receives the verification token
1529
+ */
1530
+ onVerify: (token: string | null) => void;
1531
+ /**
1532
+ * Optional CSS class name
1533
+ */
1534
+ className?: string;
1535
+ /**
1536
+ * Optional error message to display
1537
+ */
1538
+ error?: string | null;
1539
+ /**
1540
+ * reCAPTCHA site key
1541
+ */
1542
+ sitekey: string;
1543
+ }
1544
+
1545
+ declare const Recaptcha: React$1.ForwardRefExoticComponent<RecaptchaProps & React$1.RefAttributes<ReCAPTCHA>>;
1546
+
1547
+ interface SelectProps {
1548
+ label?: string;
1549
+ showLabel?: boolean;
1550
+ optionsList: any[];
1551
+ selectedOption?: Option;
1552
+ onChange: (option: Option) => void;
1553
+ errorMsg?: string;
1554
+ className?: string;
1555
+ optionZIndex?: number;
1556
+ disabled?: boolean;
1557
+ borderRadius?: boolean;
1558
+ showBorder?: boolean;
1559
+ required?: boolean;
1560
+ }
1561
+ interface Option {
1562
+ displayName: string | ReactNode;
1563
+ projectId: string;
1564
+ nlpType: string;
1565
+ platform: string;
1566
+ disabled?: boolean;
1567
+ }
1568
+
1569
+ declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => react_jsx_runtime.JSX.Element;
1570
+
1494
1571
  type valueType$1 = any;
1495
1572
  declare const checkEmpty: (value: valueType$1) => boolean;
1496
1573
 
@@ -1498,4 +1575,4 @@ type valueType = File | string;
1498
1575
  declare const getExtension: (value: valueType) => string | undefined;
1499
1576
  declare const getExtensionWithPeriod: (value: valueType) => string;
1500
1577
 
1501
- export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button, Checkbox, Chip, Col, Container, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, MenuOption, MiniModal, Modal, MultiSelect, RadialChart, RadioButton, RadioGroup, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
1578
+ 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, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };