@devtron-labs/devtron-fe-common-lib 1.16.0-pre-10 → 1.16.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.
- package/dist/{@code-editor-IalENjkh.js → @code-editor-CEmGYRXP.js} +9029 -9453
- package/dist/{@common-rjsf-ChkYseh5.js → @common-rjsf-qWtqbYmP.js} +6 -6
- package/dist/{@framer-motion-j6RIjEIR.js → @framer-motion-DAmKhMSi.js} +20 -20
- package/dist/{@moment-CGWt8tF2.js → @moment-C_WeV3Af.js} +1 -12
- package/dist/{@react-dates-BVyHiOGU.js → @react-dates-D5kydtW-.js} +2140 -2065
- package/dist/{@react-select-BQNFZu0Y.js → @react-select-Cmser7OI.js} +6 -6
- package/dist/{@react-virtualized-sticky-tree-CuElh0mS.js → @react-virtualized-sticky-tree-DMnFy9PE.js} +1 -1
- package/dist/{@vendor-DbxoIktR.js → @vendor-STJ9h0oI.js} +30333 -30600
- package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Common/Constants.d.ts +0 -2
- package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
- package/dist/Common/GenericDescription/types.d.ts +1 -4
- package/dist/Common/GenericDescription/utils.d.ts +0 -1
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -21
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
- package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/index.d.ts +0 -1
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +1 -2
- package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
- package/dist/Common/Modals/VisibleModal.d.ts +0 -1
- package/dist/Common/Modals/VisibleModal2.d.ts +0 -1
- package/dist/Common/Pagination/constants.d.ts +0 -4
- package/dist/Common/Pagination/index.d.ts +0 -1
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Common/Types.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +0 -1
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +0 -8
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +2 -35
- package/dist/Pages/ResourceBrowser/constants.d.ts +0 -13
- package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/types.d.ts +0 -17
- package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +3 -1
- package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +2 -1
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +9 -5
- package/dist/Shared/Components/AppStatusModal/service.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/types.d.ts +1 -2
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/index.d.ts +0 -1
- package/dist/Shared/Components/Backdrop/types.d.ts +2 -28
- package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +3 -0
- package/dist/Shared/Components/BulkSelection/types.d.ts +9 -4
- package/dist/Shared/Components/Button/Button.component.d.ts +2 -376
- package/dist/Shared/Components/Button/types.d.ts +3 -6
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -2
- package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +1 -1
- package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +1 -2
- package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +2 -7
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/types.d.ts +1 -1
- package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
- package/dist/Shared/Components/GettingStartedCard/types.d.ts +3 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +1 -1
- package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +3 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +1 -18
- package/dist/Shared/Components/InfoBlock/constants.d.ts +1 -2
- package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +1 -1
- package/dist/Shared/Components/Popover/types.d.ts +2 -3
- package/dist/Shared/Components/Popover/utils.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +7 -7
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +1 -1
- package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +2 -2
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
- package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
- package/dist/Shared/Components/Table/constants.d.ts +0 -1
- package/dist/Shared/Components/Table/index.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +21 -48
- package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +1 -6
- package/dist/Shared/Components/Table/utils.d.ts +0 -5
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +41 -75
- package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +0 -1
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +12 -10
- package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +2 -13
- package/dist/Shared/Components/index.d.ts +0 -3
- package/dist/Shared/Helpers.d.ts +2 -3
- package/dist/Shared/Hooks/useStickyEvent/constants.d.ts +2 -3
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
- package/dist/Shared/Providers/index.d.ts +2 -0
- package/dist/Shared/Providers/{MainContextProvider/types.d.ts → types.d.ts} +4 -4
- package/dist/Shared/Services/types.d.ts +0 -1
- package/dist/Shared/constants.d.ts +0 -1
- package/dist/Shared/types.d.ts +2 -15
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/@common-rjsf.css +1 -1
- package/dist/assets/change-source.abc9d12f.png +0 -0
- package/dist/assets/ic-check-all.0376437d.svg +21 -0
- package/dist/assets/ic-check-square.2a3d3fb9.svg +20 -0
- package/dist/assets/ic-ci-webhook.a2ab6db6.svg +42 -0
- package/dist/assets/{ic-minus.aac464f7.svg → ic-minus.416da21b.svg} +1 -1
- package/dist/assets/ic-source-build.7d776b10.svg +22 -0
- package/dist/assets/ic-source-job.a40f06cf.svg +26 -0
- package/dist/assets/ic-source-linked-build.f24ecbed.svg +24 -0
- package/dist/assets/ic-source-webhook.ee64a29a.svg +22 -0
- package/dist/assets/select-image-source.fb911f42.png +0 -0
- package/dist/index.d.ts +1 -6
- package/dist/index.js +838 -854
- package/package.json +7 -7
- package/dist/Shared/Components/Backdrop/utils.d.ts +0 -1
- package/dist/Shared/Components/Badge/Badge.d.ts +0 -3
- package/dist/Shared/Components/Badge/index.d.ts +0 -2
- package/dist/Shared/Components/Badge/types.d.ts +0 -18
- package/dist/Shared/Components/Badge/utils.d.ts +0 -7
- package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +0 -9
- package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +0 -6
- package/dist/Shared/Components/GenericModal/constants.d.ts +0 -2
- package/dist/Shared/Components/GenericModal/index.d.ts +0 -2
- package/dist/Shared/Components/GenericModal/types.d.ts +0 -37
- package/dist/Shared/Components/Security/SeverityChip.d.ts +0 -6
- package/dist/Shared/Components/Table/TableContent.d.ts +0 -3
- package/dist/Shared/Providers/MainContextProvider/index.d.ts +0 -3
- package/dist/assets/ic-bug.8a8dc1fc.svg +0 -3
- package/dist/assets/ic-check-all.fdea6b38.svg +0 -5
- package/dist/assets/ic-check-square.e355731d.svg +0 -4
- package/dist/assets/ic-clean-brush.c21cbe1e.svg +0 -3
- package/dist/assets/ic-container.92a4c33a.svg +0 -3
- package/dist/assets/ic-deploy-color.73a8df48.svg +0 -14
- package/dist/assets/ic-deploy-sync.6b1cf1b1.svg +0 -16
- package/dist/assets/ic-download.468a0cb7.svg +0 -3
- package/dist/assets/ic-file-code.0926d194.svg +0 -3
- package/dist/assets/ic-gavel.a3b064b5.svg +0 -3
- package/dist/assets/ic-git-branch.d6b3d950.svg +0 -3
- package/dist/assets/ic-info-filled-color.47953fcf.svg +0 -8
- package/dist/assets/ic-linked-build-color.d1df5ce1.svg +0 -7
- package/dist/assets/ic-logs.d310db72.svg +0 -3
- package/dist/assets/ic-pause-circle.f9405070.svg +0 -3
- package/dist/assets/ic-speedometer.3ecaae3b.svg +0 -3
- package/dist/assets/ic-two-cubes.056d1333.svg +0 -3
- package/dist/assets/ic-webhook.ffd8ded6.svg +0 -21
- package/dist/assets/workflow-options-modal-header.0444485e.svg +0 -38
- /package/dist/Shared/Providers/{MainContextProvider/MainContextProvider.d.ts → MainContextProvider.d.ts} +0 -0
- /package/dist/assets/{ic-container-registry.4e1e6455.svg → ic-container.4e1e6455.svg} +0 -0
@@ -1,6 +1,4 @@
|
|
1
|
-
import {
|
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<(
|
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
|
1
|
+
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement } from 'react';
|
2
2
|
import { LinkProps } from 'react-router-dom';
|
3
|
-
import { TooltipProps } from '
|
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
|
115
|
+
showTooltip: boolean;
|
119
116
|
/**
|
120
117
|
* Props for tooltip
|
121
118
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DeploymentConfigDiffProps } from '
|
1
|
+
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
2
2
|
import { History } from '../types';
|
3
3
|
import { DeploymentHistoryConfigDiffProps } from './types';
|
4
4
|
export declare const renderDeploymentHistoryConfig: (config: DeploymentConfigDiffProps["configList"], heading: string, pathname: string, hideDiffState: boolean) => JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
2
2
|
import { UseUrlFiltersReturnType } from '../../../../Common/Hooks';
|
3
|
-
import { DeploymentConfigDiffProps } from '
|
3
|
+
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
4
4
|
import { EnvResourceType } from '../../../Services';
|
5
5
|
import { History, HistoryLogsProps } from '../types';
|
6
6
|
export interface DeploymentHistoryConfigDiffQueryParams {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SelectPickerOptionType } from '
|
1
|
+
import { SelectPickerOptionType } from '@Shared/Components/SelectPicker';
|
2
2
|
import { DeploymentHistorySingleValue, History } from '../types';
|
3
3
|
import { DeploymentHistoryConfigDiffProps } from './types';
|
4
4
|
export declare const getPipelineDeployments: (triggerHistory: DeploymentHistoryConfigDiffProps["triggerHistory"]) => History[];
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { DeploymentStatusDetailBreakdownType } from './types';
|
2
|
-
declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, appDetails, rootClassName,
|
2
|
+
declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, appDetails, rootClassName, }: DeploymentStatusDetailBreakdownType) => JSX.Element;
|
3
3
|
export default DeploymentStatusDetailBreakdown;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react';
|
2
|
-
import { SupportedKeyboardKeysType } from '
|
2
|
+
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, TooltipProps, UserApprovalMetadataType, useScrollable } from '../../../Common';
|
4
4
|
import { DeploymentStageType } from '../../constants';
|
5
5
|
import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, DeploymentStrategyType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
@@ -402,7 +402,6 @@ export interface DeploymentStatusDetailBreakdownType {
|
|
402
402
|
*/
|
403
403
|
appDetails: AppDetails | null;
|
404
404
|
rootClassName?: string;
|
405
|
-
deploymentAppType: DeploymentAppTypes;
|
406
405
|
}
|
407
406
|
export interface DeploymentStatusDetailRowType extends Pick<DeploymentStatusDetailBreakdownType, 'appDetails'> {
|
408
407
|
type: DeploymentStatusTimelineType;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SupportedKeyboardKeysType } from '
|
1
|
+
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
2
2
|
export declare const PREVIOUS_MATCH_SHORTCUT_KEYS: SupportedKeyboardKeysType[];
|
3
3
|
export declare const NEXT_MATCH_SHORTCUT_KEYS: SupportedKeyboardKeysType[];
|
4
4
|
export declare const REPLACE_SHORTCUT_KEYS: SupportedKeyboardKeysType[];
|
@@ -6,6 +6,5 @@ export declare const WFR_STATUS_DTO_TO_DEPLOYMENT_STATUS_MAP: Readonly<Record<Wo
|
|
6
6
|
export declare const PROGRESSING_DEPLOYMENT_STATUS: Readonly<(typeof DEPLOYMENT_STATUS)[keyof typeof DEPLOYMENT_STATUS][]>;
|
7
7
|
export declare const SUCCESSFUL_DEPLOYMENT_STATUS: typeof PROGRESSING_DEPLOYMENT_STATUS;
|
8
8
|
export declare const FAILED_DEPLOYMENT_STATUS: typeof PROGRESSING_DEPLOYMENT_STATUS;
|
9
|
-
export declare const
|
10
|
-
export declare const PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER_FLUX: Readonly<DeploymentStatusTimelineType[]>;
|
9
|
+
export declare const PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER: Readonly<DeploymentStatusTimelineType[]>;
|
11
10
|
export declare const DEPLOYMENT_PHASES: Readonly<DeploymentPhaseType[]>;
|
@@ -1,25 +1,20 @@
|
|
1
|
-
import { DeploymentAppTypes } from '../../../Common/Types';
|
2
1
|
import { DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType } from '../../types';
|
3
2
|
/**
|
4
3
|
* @description
|
5
4
|
* This function processes the deployment status details data and returns a breakdown of the deployment status.
|
6
5
|
* Cases it handles:
|
7
6
|
* 1. If timelines are not present, say the case of helm deployment, we will parse the wfrStatus and put the status and basic deployment info [triggeredBy, deploymentStartedOn, deploymentFinishedOn] into the breakdown data and return it.
|
8
|
-
* 2. In case of
|
7
|
+
* 2. In case of gitops:
|
9
8
|
* - There are five timelines in chronological order:
|
10
9
|
* - Deployment Initiated
|
11
10
|
* - Git commit
|
12
11
|
* - ArgoCD Sync
|
13
12
|
* - Kubectl Apply
|
14
13
|
* - App Health
|
15
|
-
* In case of flux_cd
|
16
|
-
* - Deployment Initiated
|
17
|
-
* - Git commit
|
18
|
-
* - App Health
|
19
14
|
* - Basic flow is we traverse the timelines in order, if find the last status for that specific timeline from response by traversing the timelines in reverse order.
|
20
15
|
* - If element is found, we will parse the status and set the icon, display text, time, etc. for that timeline and set the next timeline to inprogress.
|
21
16
|
* - If element is not found, we will parse on basis of factors like:
|
22
17
|
* - If this timeline is not inprogress and deploymentStatus is progressing, we will set the current timeline to waiting.
|
23
18
|
* - In similar fashion based on the deploymentStatus we will set the icon and display text for the timeline.
|
24
19
|
*/
|
25
|
-
export declare const processDeploymentStatusDetailsData: (
|
20
|
+
export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
@@ -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 '
|
4
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
5
5
|
import { FileUploadProps } from '../FileUpload';
|
6
6
|
import { SelectPickerOptionType, SelectPickerProps, SelectPickerTextAreaProps } from '../SelectPicker';
|
7
7
|
/**
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { MouseEventHandler, ReactElement } from 'react';
|
2
2
|
import { LinkProps } from 'react-router-dom';
|
3
|
-
import { GenericFilterEmptyStateProps } from '
|
3
|
+
import { GenericFilterEmptyStateProps } from '@Common/EmptyState/types';
|
4
4
|
import { GenericEmptyStateType } from '../../../Common/Types';
|
5
5
|
import { APIResponseHandlerProps } from '../APIResponseHandler';
|
6
6
|
type BaseGenericInfoCardProps = {
|
@@ -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;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { HelpButtonProps } from './types';
|
2
|
-
export declare const HelpButton: ({ serverInfo, fetchingServerInfo, onClick
|
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",
|