pixel-react 1.1.1 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) 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/MultiSelect/MultiSelect.d.ts +1 -1
  11. package/lib/components/MultiSelect/MultiSelectTypes.d.ts +1 -1
  12. package/lib/components/NLPInput/NlpInput.d.ts +4 -0
  13. package/lib/components/NLPInput/NlpInput.stories.d.ts +7 -0
  14. package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.d.ts +19 -0
  15. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.d.ts +4 -0
  16. package/lib/components/NLPInput/index.d.ts +1 -0
  17. package/lib/components/NLPInput/type.d.ts +70 -0
  18. package/lib/components/Paper/Paper.d.ts +4 -0
  19. package/lib/components/Paper/Paper.stories.d.ts +11 -0
  20. package/lib/components/Paper/index.d.ts +1 -0
  21. package/lib/components/Paper/types.d.ts +15 -0
  22. package/lib/components/Table/Table.d.ts +1 -1
  23. package/lib/components/VariableInput/VariableInput.d.ts +4 -0
  24. package/lib/components/VariableInput/VariableInput.stories.d.ts +6 -0
  25. package/lib/components/VariableInput/index.d.ts +1 -0
  26. package/lib/components/VariableInput/types.d.ts +53 -0
  27. package/lib/index.css +404 -0
  28. package/lib/index.d.ts +187 -18
  29. package/lib/index.esm.css +404 -0
  30. package/lib/index.esm.js +7040 -762
  31. package/lib/index.esm.js.map +1 -1
  32. package/lib/index.js +7052 -761
  33. package/lib/index.js.map +1 -1
  34. package/lib/tsconfig.tsbuildinfo +1 -1
  35. package/lib/utils/ffID/ffID.stories.d.ts +1 -1
  36. package/lib/utils/ffID/ffid.d.ts +1 -2
  37. package/lib/utils/findAndInsert/findAndInsert.d.ts +7 -0
  38. package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +7 -0
  39. package/lib/utils/getEncryptedData/getEncryptedData.d.ts +1 -0
  40. package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +6 -0
  41. package/package.json +2 -1
  42. package/rollup.config.mjs +8 -2
  43. package/src/StyleGuide/ColorPalette/ColorPalette.tsx +2 -4
  44. package/src/StyleGuide/ColorPalette/colorPaletteList.ts +95 -20
  45. package/src/assets/Themes/BaseTheme.scss +4 -3
  46. package/src/assets/Themes/DarkTheme.scss +11 -8
  47. package/src/assets/icons/wswb_delete_icon.svg +4 -0
  48. package/src/assets/icons/wswb_plus_icon.svg +5 -0
  49. package/src/components/AllProjectsDropdown/AllProjectsDropdown.tsx +1 -1
  50. package/src/components/Button/index.ts +1 -1
  51. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +145 -0
  52. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +52 -0
  53. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +335 -0
  54. package/src/components/Charts/DashboardDonutChart/index.ts +1 -0
  55. package/src/components/Charts/DashboardDonutChart/types.ts +33 -0
  56. package/src/components/Charts/PieChart/PieChart.scss +39 -0
  57. package/src/components/Charts/PieChart/PieChart.stories.tsx +46 -0
  58. package/src/components/Charts/PieChart/PieChart.tsx +193 -0
  59. package/src/components/Charts/PieChart/index.ts +1 -0
  60. package/src/components/Charts/PieChart/types.ts +28 -0
  61. package/src/components/Icon/iconList.ts +6 -0
  62. package/src/components/Modal/modal.scss +1 -1
  63. package/src/components/MultiSelect/MultiSelect.stories.tsx +2 -3
  64. package/src/components/MultiSelect/MultiSelect.tsx +35 -23
  65. package/src/components/MultiSelect/MultiSelectTypes.ts +1 -1
  66. package/src/components/NLPInput/NLPInput.scss +246 -0
  67. package/src/components/NLPInput/NlpInput.stories.tsx +136 -0
  68. package/src/components/NLPInput/NlpInput.tsx +374 -0
  69. package/src/components/NLPInput/components/NlpDropDown/NlpDropDownType.ts +60 -0
  70. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +83 -0
  71. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.tsx +180 -0
  72. package/src/components/NLPInput/index.ts +1 -0
  73. package/src/components/NLPInput/type.tsx +124 -0
  74. package/src/components/Paper/Paper.scss +13 -0
  75. package/src/components/Paper/Paper.stories.tsx +77 -0
  76. package/src/components/Paper/Paper.tsx +14 -0
  77. package/src/components/Paper/index.ts +1 -0
  78. package/src/components/Paper/types.ts +19 -0
  79. package/src/components/Select/components/Dropdown/Dropdown.tsx +1 -1
  80. package/src/components/Table/Table.scss +5 -0
  81. package/src/components/Table/Table.stories.tsx +12 -0
  82. package/src/components/Table/Table.tsx +25 -14
  83. package/src/components/TextArea/Textarea.scss +1 -1
  84. package/src/components/VariableInput/VariableInput.scss +128 -0
  85. package/src/components/VariableInput/VariableInput.stories.tsx +32 -0
  86. package/src/components/VariableInput/VariableInput.tsx +352 -0
  87. package/src/components/VariableInput/index.ts +1 -0
  88. package/src/components/VariableInput/types.ts +56 -0
  89. package/src/index.ts +32 -2
  90. package/src/utils/ffID/ffID.stories.tsx +1 -1
  91. package/src/utils/ffID/ffid.ts +1 -3
  92. package/src/utils/getEncryptedData/getEncryptedData.stories.tsx +55 -0
  93. package/src/utils/getEncryptedData/getEncryptedData.ts +8 -0
  94. package/lib/components/AddButton/AddButton.d.ts +0 -5
  95. package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
  96. package/lib/components/AddButton/index.d.ts +0 -1
  97. package/lib/components/AddButton/types.d.ts +0 -4
  98. /package/src/utils/{find → findAndInsert}/findAndInsert.stories.tsx +0 -0
  99. /package/src/utils/{find → findAndInsert}/findAndInsert.ts +0 -0
package/lib/index.css ADDED
@@ -0,0 +1,404 @@
1
+ .button {
2
+ background-color: #71347b;
3
+ }
4
+ .ff-icon-container {
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ }
9
+
10
+ .ff-icon-click {
11
+ cursor: pointer;
12
+ padding: 5px;
13
+ box-sizing: content-box;
14
+ }
15
+ .ff-icon-click:hover {
16
+ border-radius: 50%;
17
+ background-color: #ffffff;
18
+ box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2509803922);
19
+ }
20
+ .ff-icon-click:hover > svg {
21
+ color: #71347b;
22
+ }
23
+
24
+ .ff-icon-disabled {
25
+ cursor: no-drop;
26
+ }
27
+ .ff-icon-disabled > svg {
28
+ color: #cfd1e2;
29
+ }
30
+ .ff-icon-disabled:hover {
31
+ box-shadow: none;
32
+ }
33
+ .ff-icon-disabled:hover > svg {
34
+ color: #cfd1e2;
35
+ }
36
+ @font-face {
37
+ font-family: "Montserrat-Medium", sans-serif;
38
+ src: local("Montserrat-Medium"), url(../../fonts/Montserrat/Montserrat-Medium.ttf) format("truetype");
39
+ }
40
+ @font-face {
41
+ font-family: "Montserrat-SemiBold", sans-serif;
42
+ src: local("Montserrat-SemiBold"), url(../../fonts/Montserrat/Montserrat-SemiBold.ttf) format("truetype");
43
+ }
44
+ @font-face {
45
+ font-family: "Poppins-Regular";
46
+ src: local("Poppins-Regular"), url(../../fonts/Poppins/Poppins-Regular.ttf) format("truetype");
47
+ }
48
+ @font-face {
49
+ font-family: "Poppins-Medium";
50
+ src: local("Poppins-Medium"), url(../../fonts/Poppins/Poppins-Medium.ttf) format("truetype");
51
+ }
52
+ @font-face {
53
+ font-family: "Poppins-SemiBold";
54
+ src: local("Poppins-SemiBold"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format("truetype");
55
+ }
56
+ @font-face {
57
+ font-family: "Poppins-Bold";
58
+ src: local("Poppins-Bold"), url(../../fonts/Poppins/Poppins-Bold.ttf) format("truetype");
59
+ }
60
+ .fontPoppinsRegularXLg {
61
+ font-family: Poppins-Regular !important;
62
+ font-size: 18px !important;
63
+ }
64
+
65
+ .fontPoppinsRegularLg {
66
+ font-family: Poppins-Regular !important;
67
+ font-size: 16px !important;
68
+ }
69
+
70
+ .fontPoppinsRegularMd {
71
+ font-family: Poppins-Regular !important;
72
+ font-size: 14px !important;
73
+ }
74
+
75
+ .fontPoppinsRegularSm {
76
+ font-family: Poppins-Regular !important;
77
+ font-size: 12px !important;
78
+ }
79
+
80
+ .fontPoppinsRegularXs {
81
+ font-family: Poppins-Regular !important;
82
+ font-size: 10px !important;
83
+ }
84
+
85
+ .fontPoppinsRegularXs8px {
86
+ font-family: Poppins-Regular !important;
87
+ font-size: 8px !important;
88
+ }
89
+
90
+ .fontPoppinsRegularXs9px {
91
+ font-family: Poppins-Regular !important;
92
+ font-size: 9px !important;
93
+ }
94
+
95
+ .fontPoppinsMediumPageSubHeader {
96
+ font-family: Poppins-Medium !important;
97
+ font-size: 26px !important;
98
+ }
99
+
100
+ .fontPoppinsMediumXX2 {
101
+ font-family: Poppins-Medium !important;
102
+ font-size: 22px !important;
103
+ }
104
+
105
+ .fontPoppinsMediumXXlg {
106
+ font-family: Poppins-Medium !important;
107
+ font-size: 20px !important;
108
+ }
109
+
110
+ .fontPoppinsMediumXXlg {
111
+ font-family: Poppins-Medium !important;
112
+ font-size: 20px !important;
113
+ }
114
+
115
+ .fontPoppinsMediumLg {
116
+ font-family: Poppins-Medium !important;
117
+ font-size: 16px !important;
118
+ }
119
+
120
+ .fontPoppinsMediumMd {
121
+ font-family: Poppins-Medium !important;
122
+ font-size: 14px !important;
123
+ }
124
+
125
+ .fontPoppinsMediumSm {
126
+ font-family: Poppins-Medium !important;
127
+ font-size: 12px !important;
128
+ }
129
+
130
+ .fontPoppinsMediumSm11 {
131
+ font-family: Poppins-Medium !important;
132
+ font-size: 11px !important;
133
+ }
134
+
135
+ .fontPoppinsMediumXs {
136
+ font-family: Poppins-Medium !important;
137
+ font-size: 10px !important;
138
+ }
139
+
140
+ .fontPoppinsMediumXs8px {
141
+ font-family: Poppins-Medium !important;
142
+ font-size: 8px !important;
143
+ }
144
+
145
+ .fontPoppinsMediumXs8px {
146
+ font-family: Poppins-Medium !important;
147
+ font-size: 8px !important;
148
+ }
149
+
150
+ .fontPoppinsSemibold-size-50 {
151
+ font-family: Poppins-SemiBold !important;
152
+ font-size: 50px !important;
153
+ }
154
+
155
+ .fontPoppinsSemibold-size-42 {
156
+ font-family: Poppins-SemiBold !important;
157
+ font-size: 42px !important;
158
+ }
159
+
160
+ .fontPoppinsSemiboldPageHeader {
161
+ font-family: Poppins-SemiBold !important;
162
+ font-size: 36px !important;
163
+ }
164
+
165
+ .fontPoppinsSemiboldAlertHeader {
166
+ font-family: Poppins-SemiBold !important;
167
+ font-size: 32px !important;
168
+ }
169
+
170
+ .fontPoppinsSemibold-size-28 {
171
+ font-family: Poppins-SemiBold !important;
172
+ font-size: 28px !important;
173
+ }
174
+
175
+ .fontPoppinsSemibold-size-26 {
176
+ font-family: Poppins-SemiBold !important;
177
+ font-size: 26px !important;
178
+ }
179
+
180
+ .fontPoppinsSemiboldPageSubHeader {
181
+ font-family: Poppins-SemiBold !important;
182
+ font-size: 24px !important;
183
+ }
184
+
185
+ .fontPoppinsSemiboldXX2 {
186
+ font-family: Poppins-SemiBold !important;
187
+ font-size: 22px !important;
188
+ }
189
+
190
+ .fontPoppinsSemiboldXXlg {
191
+ font-family: Poppins-SemiBold !important;
192
+ font-size: 20px !important;
193
+ }
194
+
195
+ .fontPoppinsSemiboldXlg {
196
+ font-family: Poppins-SemiBold !important;
197
+ font-size: 18px !important;
198
+ }
199
+
200
+ .fontPoppinsSemiboldLg {
201
+ font-family: Poppins-SemiBold !important;
202
+ font-size: 16px !important;
203
+ }
204
+
205
+ .fontPoppinsSemiboldMd {
206
+ font-family: Poppins-SemiBold !important;
207
+ font-size: 14px !important;
208
+ }
209
+
210
+ .fontPoppinsSemiboldSm {
211
+ font-family: Poppins-SemiBold !important;
212
+ font-size: 12px !important;
213
+ }
214
+
215
+ .fontPoppinsSemiboldSm11 {
216
+ font-family: Poppins-SemiBold !important;
217
+ font-size: 11px !important;
218
+ }
219
+
220
+ .fontPoppinsSemiboldXs {
221
+ font-family: Poppins-SemiBold !important;
222
+ font-size: 10px !important;
223
+ }
224
+
225
+ .fontPoppinsSemiboldXs9px {
226
+ font-family: Poppins-SemiBold !important;
227
+ font-size: 9px !important;
228
+ }
229
+
230
+ .fontPoppinsSemiboldXs8px {
231
+ font-family: Poppins-Medium !important;
232
+ font-size: 8px !important;
233
+ }
234
+
235
+ .fontPoppinsSemiboldXXs {
236
+ font-family: Poppins-SemiBold !important;
237
+ font-size: 8px !important;
238
+ }
239
+
240
+ .fontMontserratMediumXs {
241
+ font-family: Montserrat-Medium, sans-serif !important;
242
+ font-size: 10px !important;
243
+ }
244
+
245
+ .fontMontserratMediumSm {
246
+ font-family: Montserrat-Medium, sans-serif !important;
247
+ font-size: 12px !important;
248
+ }
249
+
250
+ .fontMontserratMediumMd {
251
+ font-family: Montserrat-Medium, sans-serif !important;
252
+ font-size: 14px !important;
253
+ }
254
+
255
+ .fontMontserratSemiboldXs {
256
+ font-family: Montserrat-SemiBold, sans-serif !important;
257
+ font-size: 10px !important;
258
+ }
259
+
260
+ .fontMontserratSemiboldSm {
261
+ font-family: Montserrat-SemiBold, sans-serif !important;
262
+ font-size: 12px !important;
263
+ }
264
+
265
+ .fontMontserratSemiboldMd {
266
+ font-family: Montserrat-SemiBold, sans-serif !important;
267
+ font-size: 14px !important;
268
+ }
269
+
270
+ .fontMontserratSemiboldLg {
271
+ font-family: Montserrat-SemiBold, sans-serif !important;
272
+ font-size: 16px !important;
273
+ }
274
+
275
+ .ff--switch-container {
276
+ position: relative;
277
+ display: flex;
278
+ align-items: center;
279
+ }
280
+ .ff--switch-container:disabled {
281
+ opacity: 0.7;
282
+ cursor: no-drop;
283
+ }
284
+ .ff--switch-container .ff--switch-checkbox {
285
+ height: 0;
286
+ width: 0;
287
+ display: none;
288
+ }
289
+ .ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label .ff--switch-button {
290
+ left: calc(100% - 19px);
291
+ right: -1px;
292
+ border: 1px solid #71347b;
293
+ background: #ffffff;
294
+ transition: all 0.3s;
295
+ box-shadow: 0px 0px 2px 0px #141a60;
296
+ }
297
+ .ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label .ff--switch-button .ff-check-symbol {
298
+ height: 6px;
299
+ width: 3px;
300
+ border-bottom: 2px solid #71347b;
301
+ border-right: 2px solid #71347b;
302
+ transform: rotate(45deg);
303
+ border-bottom-right-radius: 2px;
304
+ animation: checkmark 0.2s forwards;
305
+ transition: all 0.1s;
306
+ }
307
+ .ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label--primary {
308
+ background: #71347b;
309
+ transition: all 0.3s;
310
+ }
311
+ .ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label:disabled {
312
+ cursor: default;
313
+ color: rgba(113, 52, 123, 0.5019607843);
314
+ background: rgba(113, 52, 123, 0.5019607843);
315
+ }
316
+ .ff--switch-container .ff--switch-checkbox:disabled {
317
+ cursor: no-drop;
318
+ }
319
+ .ff--switch-container .ff--switch-label {
320
+ display: flex;
321
+ align-items: center;
322
+ justify-content: space-between;
323
+ cursor: pointer;
324
+ border-radius: 8px;
325
+ position: relative;
326
+ background: #cfd1e2;
327
+ transition: all 0.3s;
328
+ }
329
+ .ff--switch-container .ff--switch-label--disabled {
330
+ opacity: 0.5;
331
+ cursor: no-drop;
332
+ }
333
+ .ff--switch-container .ff--switch-label .ff--switch-button {
334
+ position: absolute;
335
+ left: 0;
336
+ width: 20px;
337
+ height: 20px;
338
+ border: 1px solid #cfd1e2;
339
+ display: flex;
340
+ background: #ffffff;
341
+ border-radius: 50%;
342
+ box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2509803922);
343
+ transition: all 0.3s;
344
+ align-items: center;
345
+ justify-content: center;
346
+ box-sizing: border-box;
347
+ }
348
+ .ff--switch-container .ff--switch-label .ff--switch-button .ff-wrong-symbol {
349
+ width: 8px;
350
+ height: 8px;
351
+ position: relative;
352
+ display: flex;
353
+ align-items: center;
354
+ justify-content: center;
355
+ }
356
+ .ff--switch-container .ff--switch-label .ff--switch-button .ff-wrong-symbol .ff-cross-line {
357
+ position: absolute;
358
+ width: 100%;
359
+ height: 2px;
360
+ background-color: #aeb0c0;
361
+ transition: all 0.3s;
362
+ animation: crossmark 0.2s forwards;
363
+ }
364
+ .ff--switch-container .ff--switch-label .ff--switch-button .ff-wrong-symbol .ff-cross-line:first-child {
365
+ transform: rotate(45deg);
366
+ }
367
+ .ff--switch-container .ff--switch-label .ff--switch-button .ff-wrong-symbol .ff-cross-line:last-child {
368
+ transform: rotate(-45deg);
369
+ }
370
+ .ff--switch-container .default {
371
+ width: 32px;
372
+ height: 14px;
373
+ }
374
+ @keyframes checkmark {
375
+ 0% {
376
+ height: 0;
377
+ width: 0;
378
+ opacity: 0;
379
+ }
380
+ 50% {
381
+ height: 3px;
382
+ width: 3px;
383
+ opacity: 1;
384
+ }
385
+ 100% {
386
+ height: 6px;
387
+ width: 3px;
388
+ opacity: 1;
389
+ }
390
+ }
391
+ @keyframes crossmark {
392
+ 0% {
393
+ width: 0;
394
+ opacity: 0;
395
+ }
396
+ 50% {
397
+ width: 50%;
398
+ opacity: 1;
399
+ }
400
+ 100% {
401
+ width: 100%;
402
+ opacity: 1;
403
+ }
404
+ }
package/lib/index.d.ts CHANGED
@@ -204,20 +204,20 @@ interface AccordionProps {
204
204
  */
205
205
  declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, }: AccordionProps) => react_jsx_runtime.JSX.Element;
206
206
 
207
- interface Option$2 {
207
+ interface Option$3 {
208
208
  label?: string;
209
209
  value?: string;
210
210
  accessor?: string;
211
211
  isChecked?: boolean;
212
212
  }
213
213
  interface MultiSelectProps {
214
- options: Option$2[];
214
+ options: Option$3[];
215
215
  type?: 'email' | 'text';
216
216
  label: string;
217
- selectedOptions?: Option$2[];
217
+ selectedOptions?: Option$3[];
218
218
  disabled?: boolean;
219
- onSearch?: (searchedKeyword: string) => void;
220
- onChange?: (selectedOptions: Option$2[]) => void;
219
+ onSearch?: (searchedKeyword: string, resultsLength: number) => void;
220
+ onChange?: (selectedOptions: Option$3[]) => void;
221
221
  acceptNewOption?: boolean;
222
222
  zIndex?: number;
223
223
  required?: boolean;
@@ -227,7 +227,7 @@ interface MultiSelectProps {
227
227
  displayCount?: boolean;
228
228
  }
229
229
 
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
+ declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
231
231
 
232
232
  interface ToasterProps {
233
233
  /**Boolean value to handle state of toaster. */
@@ -561,12 +561,12 @@ interface ExpandableMenuProps {
561
561
 
562
562
  declare const ExpandableMenu: React.FC<ExpandableMenuProps>;
563
563
 
564
- interface SelectProps {
564
+ interface SelectProps$1 {
565
565
  label?: string;
566
566
  showLabel?: boolean;
567
- optionsList: Option$1[];
568
- selectedOption?: Option$1;
569
- onChange: (option: Option$1) => void;
567
+ optionsList: Option$2[];
568
+ selectedOption?: Option$2;
569
+ onChange: (option: Option$2) => void;
570
570
  errorMsg?: string;
571
571
  className?: string;
572
572
  optionZIndex?: number;
@@ -579,13 +579,13 @@ interface SelectProps {
579
579
  */
580
580
  optionsRequired?: boolean;
581
581
  }
582
- interface Option$1 {
582
+ interface Option$2 {
583
583
  label: string | ReactNode;
584
584
  value: string;
585
585
  disabled?: boolean;
586
586
  }
587
587
 
588
- 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;
589
589
 
590
590
  interface TextareaProps {
591
591
  /**
@@ -880,7 +880,7 @@ interface TableProps {
880
880
  className?: string;
881
881
  }
882
882
 
883
- 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;
884
884
 
885
885
  /**
886
886
  * Props for the Add Resource Button component.
@@ -1060,7 +1060,7 @@ interface FormProps<T extends FieldValues> extends UseFormProps<T> {
1060
1060
  }
1061
1061
  declare const Form: <T extends FieldValues>({ onSubmit, children, ...rest }: FormProps<T>) => react_jsx_runtime.JSX.Element;
1062
1062
 
1063
- interface Option {
1063
+ interface Option$1 {
1064
1064
  label: string | ReactNode;
1065
1065
  value: string;
1066
1066
  }
@@ -1108,11 +1108,11 @@ interface InputWithDropdownProps {
1108
1108
  /**
1109
1109
  * Options for the select dropdown
1110
1110
  */
1111
- optionsList: Option[];
1111
+ optionsList: Option$1[];
1112
1112
  /**
1113
1113
  * Selected option for the select dropdown
1114
1114
  */
1115
- selectedOption?: Option;
1115
+ selectedOption?: Option$1;
1116
1116
  /**
1117
1117
  * onChange handler for input changes
1118
1118
  */
@@ -1120,7 +1120,7 @@ interface InputWithDropdownProps {
1120
1120
  /**
1121
1121
  * onChange handler for dropdown changes
1122
1122
  */
1123
- onDropdownChangeHandler?: (option: Option) => void;
1123
+ onDropdownChangeHandler?: (option: Option$1) => void;
1124
1124
  /**
1125
1125
  * onInputBlurHandler action for input field
1126
1126
  */
@@ -1462,8 +1462,76 @@ declare const DragAndDrop: {
1462
1462
  DNDUtilities: typeof DNDUtilities;
1463
1463
  };
1464
1464
 
1465
+ interface VariableInputProps {
1466
+ /**
1467
+ * Name | name of the input field
1468
+ */
1469
+ name: string;
1470
+ /**
1471
+ * Label | field label to be displayed
1472
+ */
1473
+ label: string;
1474
+ /**
1475
+ * value | input field value
1476
+ */
1477
+ value: string | null;
1478
+ /**
1479
+ * type to set color/style of the input field
1480
+ */
1481
+ type: 'text' | 'password' | 'number' | 'email' | 'url' | 'time';
1482
+ /**
1483
+ * error | If true, error message will be displayed
1484
+ */
1485
+ error?: boolean;
1486
+ /**
1487
+ * to disable the input field
1488
+ */
1489
+ disabled?: boolean;
1490
+ /**
1491
+ * if true, input field will be mandatory
1492
+ */
1493
+ required?: boolean;
1494
+ /**
1495
+ * placeholder for the input field
1496
+ */
1497
+ placeholder?: string;
1498
+ /**
1499
+ * classnames to style the input field
1500
+ */
1501
+ className?: string;
1502
+ /**
1503
+ * onChange, onKeyDown, onBlur, onFocus actions
1504
+ */
1505
+ onChange?: (value: string) => void | undefined;
1506
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
1507
+ onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
1508
+ onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
1509
+ /**
1510
+ * id to select the input field uniquely
1511
+ */
1512
+ id?: string;
1513
+ /**
1514
+ * list of variables
1515
+ */
1516
+ list?: string[];
1517
+ }
1518
+
1519
+ declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => react_jsx_runtime.JSX.Element;
1520
+
1465
1521
  declare const AllProjectsDropdown: () => react_jsx_runtime.JSX.Element;
1466
1522
 
1523
+ interface PieChartProps {
1524
+ radius: number;
1525
+ data: Array<{
1526
+ label: string;
1527
+ value: number;
1528
+ }>;
1529
+ colors: string[];
1530
+ chartBorder: boolean;
1531
+ }
1532
+
1533
+ declare const PieChart: React__default.FC<PieChartProps>;
1534
+
1467
1535
  interface AppHeaderProps {
1468
1536
  logoIconName: string;
1469
1537
  rightContent: ReactNode;
@@ -1492,6 +1560,43 @@ interface appHeaderQuickMenuItemProps {
1492
1560
 
1493
1561
  declare const AppHeader: React.FC<AppHeaderProps>;
1494
1562
 
1563
+ interface PaperProps {
1564
+ /**
1565
+ * The content of the component.
1566
+ */
1567
+ children?: React.ReactNode;
1568
+ /**
1569
+ * Override or extend the styles applied to the component.
1570
+ */
1571
+ className?: string;
1572
+ /**
1573
+ * If `true`, rounded corners are Enabled.
1574
+ * @default false
1575
+ */
1576
+ rounded?: boolean;
1577
+ }
1578
+
1579
+ declare const Paper: ({ children, className, rounded }: PaperProps) => react_jsx_runtime.JSX.Element;
1580
+
1581
+ type ChartItem = {
1582
+ key: string;
1583
+ value: number;
1584
+ color?: string;
1585
+ };
1586
+ type LegendType = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
1587
+ type DashboardDonutChartProps = {
1588
+ radius: number;
1589
+ lineWidth: number;
1590
+ statusValues: ChartItem[];
1591
+ legendDetailsType: string;
1592
+ isLegendDetails: boolean;
1593
+ gapAngle?: number;
1594
+ legendType: LegendType;
1595
+ showOnlyLabel: boolean;
1596
+ };
1597
+
1598
+ declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
1599
+
1495
1600
  interface RecaptchaProps extends Omit<ComponentProps<typeof ReCAPTCHA>, 'onChange'> {
1496
1601
  /**
1497
1602
  * Callback function that receives the verification token
@@ -1513,6 +1618,30 @@ interface RecaptchaProps extends Omit<ComponentProps<typeof ReCAPTCHA>, 'onChang
1513
1618
 
1514
1619
  declare const Recaptcha: React$1.ForwardRefExoticComponent<RecaptchaProps & React$1.RefAttributes<ReCAPTCHA>>;
1515
1620
 
1621
+ interface SelectProps {
1622
+ label?: string;
1623
+ showLabel?: boolean;
1624
+ optionsList: any[];
1625
+ selectedOption?: Option;
1626
+ onChange: (option: Option) => void;
1627
+ errorMsg?: string;
1628
+ className?: string;
1629
+ optionZIndex?: number;
1630
+ disabled?: boolean;
1631
+ borderRadius?: boolean;
1632
+ showBorder?: boolean;
1633
+ required?: boolean;
1634
+ }
1635
+ interface Option {
1636
+ displayName: string | ReactNode;
1637
+ projectId: string;
1638
+ nlpType: string;
1639
+ platform: string;
1640
+ disabled?: boolean;
1641
+ }
1642
+
1643
+ declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => react_jsx_runtime.JSX.Element;
1644
+
1516
1645
  type valueType$1 = any;
1517
1646
  declare const checkEmpty: (value: valueType$1) => boolean;
1518
1647
 
@@ -1520,4 +1649,44 @@ type valueType = File | string;
1520
1649
  declare const getExtension: (value: valueType) => string | undefined;
1521
1650
  declare const getExtensionWithPeriod: (value: valueType) => string;
1522
1651
 
1523
- 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, Recaptcha, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
1652
+ type AnyObject$1 = {
1653
+ id: number;
1654
+ [key: string]: any;
1655
+ };
1656
+ declare function findAndInsert<T extends AnyObject$1>(data: T[], key: keyof T, targetId: number, newEntry: T, insertPosition: 'above' | 'below' | 'replace', childrenKey?: string): {
1657
+ updatedArray: T[];
1658
+ } | null;
1659
+
1660
+ declare const ffid: () => string;
1661
+
1662
+ type Callback$1 = (...args: any[]) => void;
1663
+ interface DebouncedFunction extends Function {
1664
+ cancel: () => void;
1665
+ }
1666
+ declare const debounce: (func: Callback$1, delay: number) => DebouncedFunction;
1667
+
1668
+ /**
1669
+ * Compare two arrays for equality.
1670
+ * This function checks if both arrays contain the same elements in the same order,
1671
+ * including nested structures.
1672
+ *
1673
+ * @param arr1 - The first array to compare.
1674
+ * @param arr2 - The second array to compare.
1675
+ * @returns - A boolean indicating if the arrays are equal.
1676
+ */
1677
+ declare const compareArrays: (arr1: unknown[], arr2: unknown[]) => boolean;
1678
+
1679
+ type AnyObject = Record<string, unknown>;
1680
+ declare const compareObjects: (obj1: AnyObject | null, obj2: AnyObject | null) => boolean;
1681
+
1682
+ declare const getEncryptedData: (data: string, publicKey: string) => string | false;
1683
+
1684
+ type Callback = (...args: any[]) => void;
1685
+ interface ThrottledFunction extends Function {
1686
+ cancel: () => void;
1687
+ }
1688
+ declare const throttle: (func: Callback, limit: number) => ThrottledFunction;
1689
+
1690
+ declare const truncateText: (text: string, maxLength: number) => string;
1691
+
1692
+ export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button, Checkbox, Chip, Col, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, MenuOption, MiniModal, Modal, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, throttle, truncateText, useTheme };