@devtron-labs/devtron-fe-common-lib 1.16.0-pre-5 → 1.16.0-pre-7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/{@code-editor-BM7Pz0Tl.js → @code-editor-Cu2Ah_WS.js} +8391 -8117
  2. package/dist/{@common-rjsf-Blnhi_42.js → @common-rjsf-CsyEyBJe.js} +1 -1
  3. package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
  4. package/dist/Common/Constants.d.ts +2 -0
  5. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
  6. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +19 -0
  7. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  8. package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
  9. package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
  10. package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -0
  11. package/dist/Common/Hooks/useUrlFilters/types.d.ts +2 -1
  12. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
  13. package/dist/Common/Modals/VisibleModal.d.ts +1 -0
  14. package/dist/Common/Modals/VisibleModal2.d.ts +1 -0
  15. package/dist/Common/Pagination/constants.d.ts +4 -0
  16. package/dist/Common/Pagination/index.d.ts +1 -0
  17. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +35 -2
  18. package/dist/Pages/ResourceBrowser/constants.d.ts +14 -0
  19. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  20. package/dist/Pages/ResourceBrowser/types.d.ts +17 -0
  21. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  22. package/dist/Shared/Components/BulkSelection/types.d.ts +4 -9
  23. package/dist/Shared/Components/Button/Button.component.d.ts +376 -2
  24. package/dist/Shared/Components/Button/types.d.ts +4 -1
  25. package/dist/Shared/Components/Icon/Icon.d.ts +13 -0
  26. package/dist/Shared/Components/InfoBlock/constants.d.ts +2 -1
  27. package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
  28. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  29. package/dist/Shared/Components/Table/TableContent.d.ts +3 -0
  30. package/dist/Shared/Components/Table/constants.d.ts +1 -0
  31. package/dist/Shared/Components/Table/index.d.ts +1 -1
  32. package/dist/Shared/Components/Table/types.d.ts +47 -20
  33. package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +6 -1
  34. package/dist/Shared/Components/Table/utils.d.ts +5 -0
  35. package/dist/Shared/Components/index.d.ts +1 -0
  36. package/dist/Shared/Helpers.d.ts +2 -1
  37. package/dist/Shared/Providers/MainContextProvider/types.d.ts +2 -2
  38. package/dist/Shared/Services/types.d.ts +1 -0
  39. package/dist/Shared/types.d.ts +11 -1
  40. package/dist/assets/@code-editor.css +1 -1
  41. package/dist/assets/@common-rjsf.css +1 -1
  42. package/dist/assets/ic-bug.8a8dc1fc.svg +3 -0
  43. package/dist/assets/ic-check-all.fdea6b38.svg +5 -0
  44. package/dist/assets/ic-check-square.e355731d.svg +4 -0
  45. package/dist/assets/ic-clean-brush.c21cbe1e.svg +3 -0
  46. package/dist/assets/ic-container.92a4c33a.svg +3 -0
  47. package/dist/assets/ic-download.468a0cb7.svg +3 -0
  48. package/dist/assets/ic-file-code.0926d194.svg +3 -0
  49. package/dist/assets/ic-gavel.a3b064b5.svg +3 -0
  50. package/dist/assets/ic-info-filled-color.47953fcf.svg +8 -0
  51. package/dist/assets/ic-logs.d310db72.svg +3 -0
  52. package/dist/assets/{ic-minus.416da21b.svg → ic-minus.aac464f7.svg} +1 -1
  53. package/dist/assets/ic-pause-circle.f9405070.svg +3 -0
  54. package/dist/assets/ic-speedometer.3ecaae3b.svg +3 -0
  55. package/dist/assets/ic-two-cubes.056d1333.svg +3 -0
  56. package/dist/index.js +768 -755
  57. package/package.json +1 -1
  58. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +0 -3
  59. package/dist/assets/ic-check-all.0376437d.svg +0 -21
  60. package/dist/assets/ic-check-square.2a3d3fb9.svg +0 -20
  61. /package/dist/assets/{ic-container.4e1e6455.svg → ic-container-registry.4e1e6455.svg} +0 -0
@@ -1,4 +1,6 @@
1
- import { ButtonComponentType, ButtonProps } from './types';
1
+ import { TooltipProps } from '../../../Common/Tooltip';
2
+ import { ComponentSizeType } from '../../constants';
3
+ import { ButtonComponentType, ButtonStyleType, ButtonVariantType } from './types';
2
4
  /**
3
5
  * Generic component for Button.
4
6
  * Should be used in combination of variant, size and style.
@@ -63,5 +65,377 @@ import { ButtonComponentType, ButtonProps } from './types';
63
65
  * <Button icon={<ICCube />} ariaLabel="Label" />
64
66
  * ```
65
67
  */
66
- declare const Button: import('react').ForwardRefExoticComponent<ButtonProps<ButtonComponentType> & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
68
+ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
69
+ ref?: import('react').Ref<HTMLAnchorElement>;
70
+ component: ButtonComponentType.anchor;
71
+ linkProps?: never;
72
+ buttonProps?: never;
73
+ anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
74
+ onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
75
+ } & {
76
+ variant?: ButtonVariantType;
77
+ size?: ComponentSizeType;
78
+ style?: ButtonStyleType;
79
+ isLoading?: boolean;
80
+ dataTestId: string;
81
+ disabled?: boolean;
82
+ fullWidth?: boolean;
83
+ isOpacityHoverChild?: boolean;
84
+ triggerAutoClickTimestamp?: number | null;
85
+ } & {
86
+ showTooltip?: boolean;
87
+ tooltipProps: Omit<Extract<TooltipProps, {
88
+ alwaysShowTippyOnHover: boolean;
89
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
90
+ alwaysShowTippyOnHover?: boolean;
91
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
92
+ alwaysShowTippyOnHover?: never;
93
+ }>, "alwaysShowTippyOnHover">;
94
+ } & {
95
+ icon?: never;
96
+ ariaLabel?: never;
97
+ showAriaLabelInTippy?: never;
98
+ text: string;
99
+ startIcon?: import('react').ReactElement;
100
+ endIcon?: import('react').ReactElement;
101
+ fontWeight?: "bold" | "normal";
102
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
103
+ ref?: import('react').Ref<HTMLAnchorElement>;
104
+ component: ButtonComponentType.anchor;
105
+ linkProps?: never;
106
+ buttonProps?: never;
107
+ anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
108
+ onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
109
+ } & {
110
+ variant?: ButtonVariantType;
111
+ size?: ComponentSizeType;
112
+ style?: ButtonStyleType;
113
+ isLoading?: boolean;
114
+ dataTestId: string;
115
+ disabled?: boolean;
116
+ fullWidth?: boolean;
117
+ isOpacityHoverChild?: boolean;
118
+ triggerAutoClickTimestamp?: number | null;
119
+ } & {
120
+ showTooltip?: boolean;
121
+ tooltipProps: Omit<Extract<TooltipProps, {
122
+ alwaysShowTippyOnHover: boolean;
123
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
124
+ alwaysShowTippyOnHover?: boolean;
125
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
126
+ alwaysShowTippyOnHover?: never;
127
+ }>, "alwaysShowTippyOnHover">;
128
+ } & {
129
+ icon: import('react').ReactElement;
130
+ showAriaLabelInTippy?: boolean;
131
+ ariaLabel: string;
132
+ text?: never;
133
+ startIcon?: never;
134
+ endIcon?: never;
135
+ fontWeight?: never;
136
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
137
+ ref?: import('react').Ref<HTMLAnchorElement>;
138
+ component: ButtonComponentType.anchor;
139
+ linkProps?: never;
140
+ buttonProps?: never;
141
+ anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
142
+ onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
143
+ } & {
144
+ variant?: ButtonVariantType;
145
+ size?: ComponentSizeType;
146
+ style?: ButtonStyleType;
147
+ isLoading?: boolean;
148
+ dataTestId: string;
149
+ disabled?: boolean;
150
+ fullWidth?: boolean;
151
+ isOpacityHoverChild?: boolean;
152
+ triggerAutoClickTimestamp?: number | null;
153
+ } & {
154
+ showTooltip?: never;
155
+ tooltipProps?: never;
156
+ } & {
157
+ icon?: never;
158
+ ariaLabel?: never;
159
+ showAriaLabelInTippy?: never;
160
+ text: string;
161
+ startIcon?: import('react').ReactElement;
162
+ endIcon?: import('react').ReactElement;
163
+ fontWeight?: "bold" | "normal";
164
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
165
+ ref?: import('react').Ref<HTMLAnchorElement>;
166
+ component: ButtonComponentType.anchor;
167
+ linkProps?: never;
168
+ buttonProps?: never;
169
+ anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
170
+ onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
171
+ } & {
172
+ variant?: ButtonVariantType;
173
+ size?: ComponentSizeType;
174
+ style?: ButtonStyleType;
175
+ isLoading?: boolean;
176
+ dataTestId: string;
177
+ disabled?: boolean;
178
+ fullWidth?: boolean;
179
+ isOpacityHoverChild?: boolean;
180
+ triggerAutoClickTimestamp?: number | null;
181
+ } & {
182
+ showTooltip?: never;
183
+ tooltipProps?: never;
184
+ } & {
185
+ icon: import('react').ReactElement;
186
+ showAriaLabelInTippy?: boolean;
187
+ ariaLabel: string;
188
+ text?: never;
189
+ startIcon?: never;
190
+ endIcon?: never;
191
+ fontWeight?: never;
192
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
193
+ ref?: import('react').Ref<HTMLButtonElement>;
194
+ component?: ButtonComponentType.button;
195
+ buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
196
+ linkProps?: never;
197
+ anchorProps?: never;
198
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
199
+ } & {
200
+ variant?: ButtonVariantType;
201
+ size?: ComponentSizeType;
202
+ style?: ButtonStyleType;
203
+ isLoading?: boolean;
204
+ dataTestId: string;
205
+ disabled?: boolean;
206
+ fullWidth?: boolean;
207
+ isOpacityHoverChild?: boolean;
208
+ triggerAutoClickTimestamp?: number | null;
209
+ } & {
210
+ showTooltip?: boolean;
211
+ tooltipProps: Omit<Extract<TooltipProps, {
212
+ alwaysShowTippyOnHover: boolean;
213
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
214
+ alwaysShowTippyOnHover?: boolean;
215
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
216
+ alwaysShowTippyOnHover?: never;
217
+ }>, "alwaysShowTippyOnHover">;
218
+ } & {
219
+ icon?: never;
220
+ ariaLabel?: never;
221
+ showAriaLabelInTippy?: never;
222
+ text: string;
223
+ startIcon?: import('react').ReactElement;
224
+ endIcon?: import('react').ReactElement;
225
+ fontWeight?: "bold" | "normal";
226
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
227
+ ref?: import('react').Ref<HTMLButtonElement>;
228
+ component?: ButtonComponentType.button;
229
+ buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
230
+ linkProps?: never;
231
+ anchorProps?: never;
232
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
233
+ } & {
234
+ variant?: ButtonVariantType;
235
+ size?: ComponentSizeType;
236
+ style?: ButtonStyleType;
237
+ isLoading?: boolean;
238
+ dataTestId: string;
239
+ disabled?: boolean;
240
+ fullWidth?: boolean;
241
+ isOpacityHoverChild?: boolean;
242
+ triggerAutoClickTimestamp?: number | null;
243
+ } & {
244
+ showTooltip?: boolean;
245
+ tooltipProps: Omit<Extract<TooltipProps, {
246
+ alwaysShowTippyOnHover: boolean;
247
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
248
+ alwaysShowTippyOnHover?: boolean;
249
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
250
+ alwaysShowTippyOnHover?: never;
251
+ }>, "alwaysShowTippyOnHover">;
252
+ } & {
253
+ icon: import('react').ReactElement;
254
+ showAriaLabelInTippy?: boolean;
255
+ ariaLabel: string;
256
+ text?: never;
257
+ startIcon?: never;
258
+ endIcon?: never;
259
+ fontWeight?: never;
260
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
261
+ ref?: import('react').Ref<HTMLButtonElement>;
262
+ component?: ButtonComponentType.button;
263
+ buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
264
+ linkProps?: never;
265
+ anchorProps?: never;
266
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
267
+ } & {
268
+ variant?: ButtonVariantType;
269
+ size?: ComponentSizeType;
270
+ style?: ButtonStyleType;
271
+ isLoading?: boolean;
272
+ dataTestId: string;
273
+ disabled?: boolean;
274
+ fullWidth?: boolean;
275
+ isOpacityHoverChild?: boolean;
276
+ triggerAutoClickTimestamp?: number | null;
277
+ } & {
278
+ showTooltip?: never;
279
+ tooltipProps?: never;
280
+ } & {
281
+ icon?: never;
282
+ ariaLabel?: never;
283
+ showAriaLabelInTippy?: never;
284
+ text: string;
285
+ startIcon?: import('react').ReactElement;
286
+ endIcon?: import('react').ReactElement;
287
+ fontWeight?: "bold" | "normal";
288
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
289
+ ref?: import('react').Ref<HTMLButtonElement>;
290
+ component?: ButtonComponentType.button;
291
+ buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
292
+ linkProps?: never;
293
+ anchorProps?: never;
294
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
295
+ } & {
296
+ variant?: ButtonVariantType;
297
+ size?: ComponentSizeType;
298
+ style?: ButtonStyleType;
299
+ isLoading?: boolean;
300
+ dataTestId: string;
301
+ disabled?: boolean;
302
+ fullWidth?: boolean;
303
+ isOpacityHoverChild?: boolean;
304
+ triggerAutoClickTimestamp?: number | null;
305
+ } & {
306
+ showTooltip?: never;
307
+ tooltipProps?: never;
308
+ } & {
309
+ icon: import('react').ReactElement;
310
+ showAriaLabelInTippy?: boolean;
311
+ ariaLabel: string;
312
+ text?: never;
313
+ startIcon?: never;
314
+ endIcon?: never;
315
+ fontWeight?: never;
316
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
317
+ ref?: import('react').Ref<HTMLAnchorElement>;
318
+ component: ButtonComponentType.link;
319
+ linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
320
+ buttonProps?: never;
321
+ anchorProps?: never;
322
+ onClick?: import('react-router-dom').LinkProps["onClick"];
323
+ } & {
324
+ variant?: ButtonVariantType;
325
+ size?: ComponentSizeType;
326
+ style?: ButtonStyleType;
327
+ isLoading?: boolean;
328
+ dataTestId: string;
329
+ disabled?: boolean;
330
+ fullWidth?: boolean;
331
+ isOpacityHoverChild?: boolean;
332
+ triggerAutoClickTimestamp?: number | null;
333
+ } & {
334
+ showTooltip?: boolean;
335
+ tooltipProps: Omit<Extract<TooltipProps, {
336
+ alwaysShowTippyOnHover: boolean;
337
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
338
+ alwaysShowTippyOnHover?: boolean;
339
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
340
+ alwaysShowTippyOnHover?: never;
341
+ }>, "alwaysShowTippyOnHover">;
342
+ } & {
343
+ icon?: never;
344
+ ariaLabel?: never;
345
+ showAriaLabelInTippy?: never;
346
+ text: string;
347
+ startIcon?: import('react').ReactElement;
348
+ endIcon?: import('react').ReactElement;
349
+ fontWeight?: "bold" | "normal";
350
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
351
+ ref?: import('react').Ref<HTMLAnchorElement>;
352
+ component: ButtonComponentType.link;
353
+ linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
354
+ buttonProps?: never;
355
+ anchorProps?: never;
356
+ onClick?: import('react-router-dom').LinkProps["onClick"];
357
+ } & {
358
+ variant?: ButtonVariantType;
359
+ size?: ComponentSizeType;
360
+ style?: ButtonStyleType;
361
+ isLoading?: boolean;
362
+ dataTestId: string;
363
+ disabled?: boolean;
364
+ fullWidth?: boolean;
365
+ isOpacityHoverChild?: boolean;
366
+ triggerAutoClickTimestamp?: number | null;
367
+ } & {
368
+ showTooltip?: boolean;
369
+ tooltipProps: Omit<Extract<TooltipProps, {
370
+ alwaysShowTippyOnHover: boolean;
371
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
372
+ alwaysShowTippyOnHover?: boolean;
373
+ }>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
374
+ alwaysShowTippyOnHover?: never;
375
+ }>, "alwaysShowTippyOnHover">;
376
+ } & {
377
+ icon: import('react').ReactElement;
378
+ showAriaLabelInTippy?: boolean;
379
+ ariaLabel: string;
380
+ text?: never;
381
+ startIcon?: never;
382
+ endIcon?: never;
383
+ fontWeight?: never;
384
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
385
+ ref?: import('react').Ref<HTMLAnchorElement>;
386
+ component: ButtonComponentType.link;
387
+ linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
388
+ buttonProps?: never;
389
+ anchorProps?: never;
390
+ onClick?: import('react-router-dom').LinkProps["onClick"];
391
+ } & {
392
+ variant?: ButtonVariantType;
393
+ size?: ComponentSizeType;
394
+ style?: ButtonStyleType;
395
+ isLoading?: boolean;
396
+ dataTestId: string;
397
+ disabled?: boolean;
398
+ fullWidth?: boolean;
399
+ isOpacityHoverChild?: boolean;
400
+ triggerAutoClickTimestamp?: number | null;
401
+ } & {
402
+ showTooltip?: never;
403
+ tooltipProps?: never;
404
+ } & {
405
+ icon?: never;
406
+ ariaLabel?: never;
407
+ showAriaLabelInTippy?: never;
408
+ text: string;
409
+ startIcon?: import('react').ReactElement;
410
+ endIcon?: import('react').ReactElement;
411
+ fontWeight?: "bold" | "normal";
412
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
413
+ ref?: import('react').Ref<HTMLAnchorElement>;
414
+ component: ButtonComponentType.link;
415
+ linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
416
+ buttonProps?: never;
417
+ anchorProps?: never;
418
+ onClick?: import('react-router-dom').LinkProps["onClick"];
419
+ } & {
420
+ variant?: ButtonVariantType;
421
+ size?: ComponentSizeType;
422
+ style?: ButtonStyleType;
423
+ isLoading?: boolean;
424
+ dataTestId: string;
425
+ disabled?: boolean;
426
+ fullWidth?: boolean;
427
+ isOpacityHoverChild?: boolean;
428
+ triggerAutoClickTimestamp?: number | null;
429
+ } & {
430
+ showTooltip?: never;
431
+ tooltipProps?: never;
432
+ } & {
433
+ icon: import('react').ReactElement;
434
+ showAriaLabelInTippy?: boolean;
435
+ ariaLabel: string;
436
+ text?: never;
437
+ startIcon?: never;
438
+ endIcon?: never;
439
+ fontWeight?: never;
440
+ }, "style" | "text" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy">) & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
67
441
  export default Button;
@@ -1,4 +1,4 @@
1
- import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement } from 'react';
1
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement, Ref } from 'react';
2
2
  import { LinkProps } from 'react-router-dom';
3
3
  import { TooltipProps } from '../../../Common/Tooltip';
4
4
  import { ComponentSizeType } from '../../constants';
@@ -24,6 +24,7 @@ export declare enum ButtonComponentType {
24
24
  anchor = "anchor"
25
25
  }
26
26
  export type ButtonProps<ComponentType extends ButtonComponentType = ButtonComponentType.button> = (ComponentType extends ButtonComponentType.link ? {
27
+ ref?: Ref<HTMLAnchorElement>;
27
28
  component: ButtonComponentType.link;
28
29
  /**
29
30
  * Props for the link component
@@ -33,6 +34,7 @@ export type ButtonProps<ComponentType extends ButtonComponentType = ButtonCompon
33
34
  anchorProps?: never;
34
35
  onClick?: LinkProps['onClick'];
35
36
  } : ComponentType extends ButtonComponentType.anchor ? {
37
+ ref?: Ref<HTMLAnchorElement>;
36
38
  component: ButtonComponentType.anchor;
37
39
  linkProps?: never;
38
40
  buttonProps?: never;
@@ -44,6 +46,7 @@ export type ButtonProps<ComponentType extends ButtonComponentType = ButtonCompon
44
46
  anchorProps: Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'children' | 'styles' | 'className' | 'onClick'>;
45
47
  onClick?: AnchorHTMLAttributes<HTMLAnchorElement>['onClick'];
46
48
  } : {
49
+ ref?: Ref<HTMLButtonElement>;
47
50
  /**
48
51
  * Component to be rendered from the available options
49
52
  *
@@ -22,6 +22,7 @@ export declare const iconMap: {
22
22
  'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
23
23
  'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
24
24
  'ic-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
25
+ 'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
25
26
  'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
26
27
  'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
27
28
  'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -32,10 +33,13 @@ export declare const iconMap: {
32
33
  'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
33
34
  'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
34
35
  'ic-chat-circle-online': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
36
+ 'ic-check-all': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
37
+ 'ic-check-square': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
35
38
  'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
36
39
  'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
37
40
  'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
38
41
  'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
42
+ 'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
39
43
  'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
40
44
  'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
41
45
  'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -43,6 +47,7 @@ export declare const iconMap: {
43
47
  'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
44
48
  'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
45
49
  'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
50
+ 'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
46
51
  'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
47
52
  'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
48
53
  'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -63,6 +68,7 @@ export declare const iconMap: {
63
68
  'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
64
69
  'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
65
70
  'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
71
+ 'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
66
72
  'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
67
73
  'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
68
74
  'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -76,6 +82,7 @@ export declare const iconMap: {
76
82
  'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
77
83
  'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
78
84
  'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
85
+ 'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
79
86
  'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
80
87
  'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
81
88
  'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -85,6 +92,7 @@ export declare const iconMap: {
85
92
  'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
86
93
  'ic-folder-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
87
94
  'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
95
+ 'ic-gavel': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
88
96
  'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
89
97
  'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
90
98
  'ic-gift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -107,6 +115,7 @@ export declare const iconMap: {
107
115
  'ic-hibernate-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
108
116
  'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
109
117
  'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
118
+ 'ic-info-filled-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
110
119
  'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
111
120
  'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
112
121
  'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -124,6 +133,7 @@ export declare const iconMap: {
124
133
  'ic-linked-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
125
134
  'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
126
135
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
136
+ 'ic-logs': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
127
137
  'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
128
138
  'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
129
139
  'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -148,6 +158,7 @@ export declare const iconMap: {
148
158
  'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
149
159
  'ic-paper-plane': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
150
160
  'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
161
+ 'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
151
162
  'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
152
163
  'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
153
164
  'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -163,6 +174,7 @@ export declare const iconMap: {
163
174
  'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
164
175
  'ic-sparkle-ai-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
165
176
  'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
177
+ 'ic-speedometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
166
178
  'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
167
179
  'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
168
180
  'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -189,6 +201,7 @@ export declare const iconMap: {
189
201
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
190
202
  'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
191
203
  'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
204
+ 'ic-two-cubes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
192
205
  'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
193
206
  'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
194
207
  'ic-user-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -4,4 +4,5 @@ import { InfoBlockProps } from './types';
4
4
  export declare const VARIANT_TO_ICON_MAP: Record<InfoBlockVariant, InfoBlockProps['customIcon']>;
5
5
  export declare const CONTAINER_SIZE_TO_CLASS_MAP: Record<InfoBlockProps['size'], string>;
6
6
  export declare const SIZE_TO_ICON_CLASS_MAP: Record<InfoBlockProps['size'], string>;
7
- export declare const CONTAINER_SIZE_TO_BUTTON_SIZE: Record<InfoBlockProps['size'], ButtonProps['size']>;
7
+ export declare const CONTAINER_SIZE_TO_TEXT_BUTTON_SIZE: Record<InfoBlockProps['size'], ButtonProps['size']>;
8
+ export declare const CONTAINER_SIZE_TO_ICON_BUTTON_SIZE: Record<InfoBlockProps['size'], ButtonProps['size']>;
@@ -1,3 +1,3 @@
1
1
  import { BulkSelectionActionWidgetProps } from './types';
2
- declare const BulkSelectionActionWidget: ({ count, handleClearBulkSelection, parentRef, BulkActionsComponent, }: BulkSelectionActionWidgetProps) => JSX.Element;
2
+ declare const BulkSelectionActionWidget: ({ count, handleClearBulkSelection, parentRef, BulkActionsComponent, bulkActionsData, setBulkActionState, }: BulkSelectionActionWidgetProps) => JSX.Element;
3
3
  export default BulkSelectionActionWidget;
@@ -1,3 +1,3 @@
1
1
  import { InternalTableProps } from './types';
2
- declare const InternalTable: ({ filtersVariant, filterData, rows, getRows, columns, ViewWrapper, resizableConfig, emptyStateConfig, additionalProps, areColumnsConfigurable, filter, setVisibleColumns, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant, RowActionsOnHoverComponent, }: InternalTableProps) => JSX.Element;
2
+ declare const InternalTable: ({ filtersVariant, filterData, rows, getRows, columns, ViewWrapper, resizableConfig, emptyStateConfig, additionalProps, areColumnsConfigurable, filter, setVisibleColumns, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant, RowActionsOnHoverComponent, pageSizeOptions, clearFilters: userGivenUrlClearFilters, }: InternalTableProps) => JSX.Element;
3
3
  export default InternalTable;
@@ -0,0 +1,3 @@
1
+ import { TableContentProps } from './types';
2
+ declare const TableContent: ({ filterData, rows, resizableConfig, additionalProps, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant, RowActionsOnHoverComponent, pageSizeOptions, filteredRows, areFilteredRowsLoading, }: TableContentProps) => JSX.Element;
3
+ export default TableContent;
@@ -5,3 +5,4 @@ export declare const BULK_ACTION_GUTTER_LABEL = "bulk-action-gutter";
5
5
  export declare const EVENT_TARGET: EventTarget;
6
6
  export declare const DRAG_SELECTOR_IDENTIFIER = "table-drag-selector";
7
7
  export declare const SHIMMER_DUMMY_ARRAY: number[];
8
+ export declare const NO_ROWS_OR_GET_ROWS_ERROR: Error;
@@ -1,3 +1,3 @@
1
1
  export { default as Table } from './Table.component';
2
- export type { CellComponentProps as TableCellComponentProps, Column as TableColumnType, TableProps, ViewWrapperProps as TableViewWrapperProps, } from './types';
2
+ export type { BulkActionsComponentProps as TableBulkActionsComponentProps, BulkOperationModalProps as TableBulkOperationModalProps, CellComponentProps as TableCellComponentProps, Column as TableColumnType, TableProps, ViewWrapperProps as TableViewWrapperProps, } from './types';
3
3
  export { FiltersTypeEnum, PaginationEnum, SignalEnum as TableSignalEnum } from './types';