@devtron-labs/devtron-fe-common-lib 1.16.0-beta-6 → 1.16.0-pre-0

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 (116) hide show
  1. package/dist/{@code-editor-uOMc_BUW.js → @code-editor-NdRFOYui.js} +8043 -8379
  2. package/dist/{@common-rjsf-DDiY22zr.js → @common-rjsf-BbpJlJFb.js} +2 -2
  3. package/dist/{@framer-motion-j6RIjEIR.js → @framer-motion-DjiCMNqQ.js} +1 -1
  4. package/dist/{@react-dates-BVyHiOGU.js → @react-dates-CfRo6n5e.js} +1 -1
  5. package/dist/{@react-select-BQNFZu0Y.js → @react-select-DNDV8S9D.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-CuElh0mS.js → @react-virtualized-sticky-tree-mXcyQzGx.js} +1 -1
  7. package/dist/{@vendor-DbxoIktR.js → @vendor-CA9d7Ztm.js} +19076 -19081
  8. package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
  9. package/dist/Common/Constants.d.ts +0 -2
  10. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
  11. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -19
  12. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  13. package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
  14. package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
  15. package/dist/Common/Hooks/useUrlFilters/index.d.ts +0 -1
  16. package/dist/Common/Hooks/useUrlFilters/types.d.ts +1 -2
  17. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
  18. package/dist/Common/Modals/VisibleModal.d.ts +0 -1
  19. package/dist/Common/Modals/VisibleModal2.d.ts +0 -1
  20. package/dist/Common/Pagination/constants.d.ts +0 -4
  21. package/dist/Common/Pagination/index.d.ts +0 -1
  22. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +0 -8
  23. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +2 -35
  24. package/dist/Pages/ResourceBrowser/constants.d.ts +0 -14
  25. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  26. package/dist/Pages/ResourceBrowser/types.d.ts +0 -17
  27. package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +3 -1
  28. package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +2 -1
  29. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
  30. package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
  31. package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +9 -5
  32. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  33. package/dist/Shared/Components/Backdrop/index.d.ts +0 -1
  34. package/dist/Shared/Components/Backdrop/types.d.ts +2 -28
  35. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  36. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +3 -0
  37. package/dist/Shared/Components/BulkSelection/types.d.ts +9 -4
  38. package/dist/Shared/Components/Button/Button.component.d.ts +2 -376
  39. package/dist/Shared/Components/Button/types.d.ts +3 -6
  40. package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
  41. package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
  42. package/dist/Shared/Components/GettingStartedCard/types.d.ts +3 -0
  43. package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
  44. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  45. package/dist/Shared/Components/Header/types.d.ts +3 -1
  46. package/dist/Shared/Components/Icon/Icon.d.ts +1 -18
  47. package/dist/Shared/Components/InfoBlock/constants.d.ts +1 -2
  48. package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +1 -1
  49. package/dist/Shared/Components/Popover/types.d.ts +2 -3
  50. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  51. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  52. package/dist/Shared/Components/SelectPicker/type.d.ts +2 -2
  53. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
  54. package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
  55. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  56. package/dist/Shared/Components/Table/constants.d.ts +0 -1
  57. package/dist/Shared/Components/Table/index.d.ts +1 -1
  58. package/dist/Shared/Components/Table/types.d.ts +20 -47
  59. package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +1 -6
  60. package/dist/Shared/Components/Table/utils.d.ts +0 -5
  61. package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -1
  62. package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
  63. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
  64. package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +41 -75
  65. package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +0 -1
  66. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +12 -10
  67. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +2 -13
  68. package/dist/Shared/Components/index.d.ts +0 -2
  69. package/dist/Shared/Helpers.d.ts +1 -2
  70. package/dist/Shared/Providers/index.d.ts +2 -0
  71. package/dist/Shared/Providers/{MainContextProvider/types.d.ts → types.d.ts} +4 -4
  72. package/dist/Shared/Services/types.d.ts +0 -1
  73. package/dist/Shared/types.d.ts +2 -13
  74. package/dist/assets/@code-editor.css +1 -1
  75. package/dist/assets/@common-rjsf.css +1 -1
  76. package/dist/assets/change-source.abc9d12f.png +0 -0
  77. package/dist/assets/ic-check-all.0376437d.svg +21 -0
  78. package/dist/assets/ic-check-square.2a3d3fb9.svg +20 -0
  79. package/dist/assets/ic-ci-webhook.a2ab6db6.svg +42 -0
  80. package/dist/assets/{ic-minus.aac464f7.svg → ic-minus.416da21b.svg} +1 -1
  81. package/dist/assets/ic-source-build.7d776b10.svg +22 -0
  82. package/dist/assets/ic-source-job.a40f06cf.svg +26 -0
  83. package/dist/assets/ic-source-linked-build.f24ecbed.svg +24 -0
  84. package/dist/assets/ic-source-webhook.ee64a29a.svg +22 -0
  85. package/dist/assets/select-image-source.fb911f42.png +0 -0
  86. package/dist/index.js +771 -786
  87. package/package.json +1 -2
  88. package/dist/Shared/Components/Backdrop/utils.d.ts +0 -1
  89. package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +0 -9
  90. package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +0 -6
  91. package/dist/Shared/Components/GenericModal/constants.d.ts +0 -2
  92. package/dist/Shared/Components/GenericModal/index.d.ts +0 -2
  93. package/dist/Shared/Components/GenericModal/types.d.ts +0 -37
  94. package/dist/Shared/Components/Table/TableContent.d.ts +0 -3
  95. package/dist/Shared/Providers/MainContextProvider/index.d.ts +0 -3
  96. package/dist/assets/ic-bug.8a8dc1fc.svg +0 -3
  97. package/dist/assets/ic-check-all.fdea6b38.svg +0 -5
  98. package/dist/assets/ic-check-square.e355731d.svg +0 -4
  99. package/dist/assets/ic-clean-brush.c21cbe1e.svg +0 -3
  100. package/dist/assets/ic-container.92a4c33a.svg +0 -3
  101. package/dist/assets/ic-deploy-color.73a8df48.svg +0 -14
  102. package/dist/assets/ic-deploy-sync.6b1cf1b1.svg +0 -16
  103. package/dist/assets/ic-download.468a0cb7.svg +0 -3
  104. package/dist/assets/ic-file-code.0926d194.svg +0 -3
  105. package/dist/assets/ic-gavel.a3b064b5.svg +0 -3
  106. package/dist/assets/ic-git-branch.d6b3d950.svg +0 -3
  107. package/dist/assets/ic-info-filled-color.47953fcf.svg +0 -8
  108. package/dist/assets/ic-linked-build-color.d1df5ce1.svg +0 -7
  109. package/dist/assets/ic-logs.d310db72.svg +0 -3
  110. package/dist/assets/ic-pause-circle.f9405070.svg +0 -3
  111. package/dist/assets/ic-speedometer.3ecaae3b.svg +0 -3
  112. package/dist/assets/ic-two-cubes.056d1333.svg +0 -3
  113. package/dist/assets/ic-webhook.ffd8ded6.svg +0 -21
  114. package/dist/assets/workflow-options-modal-header.0444485e.svg +0 -38
  115. /package/dist/Shared/Providers/{MainContextProvider/MainContextProvider.d.ts → MainContextProvider.d.ts} +0 -0
  116. /package/dist/assets/{ic-container-registry.4e1e6455.svg → ic-container.4e1e6455.svg} +0 -0
@@ -1,6 +1,4 @@
1
- import { TooltipProps } from '../../../Common/Tooltip';
2
- import { ComponentSizeType } from '../../constants';
3
- import { ButtonComponentType, ButtonStyleType, ButtonVariantType } from './types';
1
+ import { ButtonComponentType, ButtonProps } from './types';
4
2
  /**
5
3
  * Generic component for Button.
6
4
  * Should be used in combination of variant, size and style.
@@ -65,377 +63,5 @@ import { ButtonComponentType, ButtonStyleType, ButtonVariantType } from './types
65
63
  * <Button icon={<ICCube />} ariaLabel="Label" />
66
64
  * ```
67
65
  */
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>>;
66
+ declare const Button: import('react').ForwardRefExoticComponent<ButtonProps<ButtonComponentType> & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
441
67
  export default Button;
@@ -1,6 +1,6 @@
1
- import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement, Ref } from 'react';
1
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement } from 'react';
2
2
  import { LinkProps } from 'react-router-dom';
3
- import { TooltipProps } from '../../../Common/Tooltip';
3
+ import { TooltipProps } from '../../../Common/Tooltip/types';
4
4
  import { ComponentSizeType } from '../../constants';
5
5
  export declare enum ButtonVariantType {
6
6
  primary = "primary",
@@ -24,7 +24,6 @@ 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>;
28
27
  component: ButtonComponentType.link;
29
28
  /**
30
29
  * Props for the link component
@@ -34,7 +33,6 @@ export type ButtonProps<ComponentType extends ButtonComponentType = ButtonCompon
34
33
  anchorProps?: never;
35
34
  onClick?: LinkProps['onClick'];
36
35
  } : ComponentType extends ButtonComponentType.anchor ? {
37
- ref?: Ref<HTMLAnchorElement>;
38
36
  component: ButtonComponentType.anchor;
39
37
  linkProps?: never;
40
38
  buttonProps?: never;
@@ -46,7 +44,6 @@ export type ButtonProps<ComponentType extends ButtonComponentType = ButtonCompon
46
44
  anchorProps: Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'children' | 'styles' | 'className' | 'onClick'>;
47
45
  onClick?: AnchorHTMLAttributes<HTMLAnchorElement>['onClick'];
48
46
  } : {
49
- ref?: Ref<HTMLButtonElement>;
50
47
  /**
51
48
  * Component to be rendered from the available options
52
49
  *
@@ -115,7 +112,7 @@ export type ButtonProps<ComponentType extends ButtonComponentType = ButtonCompon
115
112
  /**
116
113
  * If true, the tooltip is shown for the button
117
114
  */
118
- showTooltip?: boolean;
115
+ showTooltip: boolean;
119
116
  /**
120
117
  * Props for tooltip
121
118
  */
@@ -1,7 +1,7 @@
1
1
  import { DetailedHTMLProps, ReactElement, ReactNode } from 'react';
2
2
  import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
3
3
  import { UseStateFiltersReturnType } from '../../../Common/Hooks';
4
- import { TooltipProps } from '../../../Common/Tooltip';
4
+ import { TooltipProps } from '../../../Common/Tooltip/types';
5
5
  import { FileUploadProps } from '../FileUpload';
6
6
  import { SelectPickerOptionType, SelectPickerProps, SelectPickerTextAreaProps } from '../SelectPicker';
7
7
  /**
@@ -1,3 +1,3 @@
1
1
  import { GettingStartedType } from './types';
2
- declare const GettingStartedCard: ({ hideGettingStartedCard }: GettingStartedType) => JSX.Element;
2
+ declare const GettingStartedCard: ({ className, hideGettingStartedCard }: GettingStartedType) => JSX.Element;
3
3
  export default GettingStartedCard;
@@ -8,5 +8,8 @@ export interface LoginCountType extends ResponseType {
8
8
  result?: LoginCount;
9
9
  }
10
10
  export interface GettingStartedType {
11
+ className: string;
12
+ showHelpCard: boolean;
11
13
  hideGettingStartedCard: (count?: string) => void;
14
+ loginCount: number;
12
15
  }
@@ -1,2 +1,2 @@
1
1
  import { HelpButtonProps } from './types';
2
- export declare const HelpButton: ({ serverInfo, fetchingServerInfo, onClick, hideGettingStartedCard }: HelpButtonProps) => JSX.Element;
2
+ export declare const HelpButton: ({ serverInfo, fetchingServerInfo, onClick }: HelpButtonProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { PageHeaderType } from './types';
2
- declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, tippyProps, }: PageHeaderType) => JSX.Element;
2
+ declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, showCloseButton, onClose, markAsBeta, tippyProps, }: PageHeaderType) => JSX.Element;
3
3
  export default PageHeader;
@@ -10,6 +10,9 @@ export interface PageHeaderType {
10
10
  isBreadcrumbs?: boolean;
11
11
  breadCrumbs?: () => JSX.Element;
12
12
  renderActionButtons?: () => JSX.Element;
13
+ showCloseButton?: boolean;
14
+ onClose?: () => void;
15
+ markAsBeta?: boolean;
13
16
  tippyProps?: Pick<TippyCustomizedProps<false>, 'additionalContent'> & {
14
17
  isTippyCustomized?: boolean;
15
18
  tippyRedirectLink?: keyof typeof DOCUMENTATION;
@@ -31,7 +34,6 @@ export interface HelpButtonProps {
31
34
  serverInfo: ServerInfo;
32
35
  fetchingServerInfo: boolean;
33
36
  onClick: () => void;
34
- hideGettingStartedCard: () => void;
35
37
  }
36
38
  export declare enum HelpMenuItems {
37
39
  GETTING_STARTED = "getting-started",
@@ -22,7 +22,6 @@ 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>>;
26
25
  'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
27
26
  'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
28
27
  'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -33,13 +32,11 @@ export declare const iconMap: {
33
32
  'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
34
33
  'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
35
34
  '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>>;
38
35
  'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
39
36
  'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
40
37
  'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
38
+ 'ic-ci-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
41
39
  'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
42
- 'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
43
40
  'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
44
41
  'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
45
42
  'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -47,7 +44,6 @@ export declare const iconMap: {
47
44
  'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
48
45
  'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
49
46
  'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
50
- 'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
51
47
  'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
48
  'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
53
49
  'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -58,8 +54,6 @@ export declare const iconMap: {
58
54
  'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
59
55
  'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
60
56
  'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
61
- 'ic-deploy-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
62
- 'ic-deploy-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
63
57
  'ic-devtron-ai': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
64
58
  'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
65
59
  'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -68,7 +62,6 @@ export declare const iconMap: {
68
62
  'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
69
63
  'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
70
64
  'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
71
- 'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
72
65
  'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
73
66
  'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
74
67
  'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -82,7 +75,6 @@ export declare const iconMap: {
82
75
  'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
83
76
  'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
84
77
  'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
85
- 'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
86
78
  'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
87
79
  'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
88
80
  'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -92,11 +84,9 @@ export declare const iconMap: {
92
84
  'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
93
85
  'ic-folder-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
94
86
  'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
95
- 'ic-gavel': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
96
87
  'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
97
88
  'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
98
89
  'ic-gift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
99
- 'ic-git-branch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
100
90
  'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
101
91
  'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
102
92
  'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -115,7 +105,6 @@ export declare const iconMap: {
115
105
  'ic-hibernate-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
116
106
  'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
117
107
  'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
118
- 'ic-info-filled-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
119
108
  'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
120
109
  'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
121
110
  'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -130,10 +119,8 @@ export declare const iconMap: {
130
119
  'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
131
120
  'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
132
121
  'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
133
- 'ic-linked-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
134
122
  'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
135
123
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
136
- 'ic-logs': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
137
124
  'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
138
125
  'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
139
126
  'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -158,7 +145,6 @@ export declare const iconMap: {
158
145
  'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
159
146
  'ic-paper-plane': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
160
147
  'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
161
- 'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
162
148
  'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
163
149
  'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
164
150
  'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -174,7 +160,6 @@ export declare const iconMap: {
174
160
  'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
175
161
  'ic-sparkle-ai-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
176
162
  'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
177
- 'ic-speedometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
178
163
  'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
179
164
  'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
180
165
  'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -201,7 +186,6 @@ export declare const iconMap: {
201
186
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
202
187
  'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
203
188
  'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
204
- 'ic-two-cubes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
205
189
  'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
206
190
  'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
207
191
  'ic-user-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -209,7 +193,6 @@ export declare const iconMap: {
209
193
  'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
210
194
  'ic-view-variable-toggle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
211
195
  'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
212
- 'ic-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
213
196
  'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
214
197
  'ic-world-globe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
215
198
  };
@@ -4,5 +4,4 @@ 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_TEXT_BUTTON_SIZE: Record<InfoBlockProps['size'], ButtonProps['size']>;
8
- export declare const CONTAINER_SIZE_TO_ICON_BUTTON_SIZE: Record<InfoBlockProps['size'], ButtonProps['size']>;
7
+ export declare const CONTAINER_SIZE_TO_BUTTON_SIZE: Record<InfoBlockProps['size'], ButtonProps['size']>;
@@ -1,4 +1,4 @@
1
- import { TooltipProps } from '../../../Common/Tooltip';
1
+ import { TooltipProps } from '../../../Common/Tooltip/types';
2
2
  export interface InvalidYAMLTippyWrapperProps {
3
3
  parsingError: string;
4
4
  restoreLastSavedYAML?: () => void;
@@ -1,6 +1,5 @@
1
1
  import { DetailedHTMLProps, KeyboardEvent, LegacyRef, MutableRefObject, ReactElement } from 'react';
2
2
  import { HTMLMotionProps } from 'framer-motion';
3
- import { BackdropProps } from '../Backdrop';
4
3
  import { ButtonProps } from '../Button';
5
4
  export interface UsePopoverProps {
6
5
  /**
@@ -75,9 +74,9 @@ export interface UsePopoverReturnType {
75
74
  };
76
75
  /**
77
76
  * Props to be spread onto the overlay element of the popover.
78
- * These props include backdrop properties.
77
+ * These props include standard HTML attributes for a `div` element.
79
78
  */
80
- overlayProps: Omit<BackdropProps, 'children'>;
79
+ overlayProps: DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
81
80
  /**
82
81
  * Props to be spread onto the popover element itself.
83
82
  * Includes motion-related props for animations and a `ref` to the popover's `div` element.