@devtron-labs/devtron-fe-common-lib 1.22.8-beta-14 → 1.22.8-beta-15
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-BF03LosD.js → @code-editor-DkDR0mV2.js} +4777 -4773
- package/dist/{@common-rjsf-Dj7e6o3g.js → @common-rjsf-CIdmBwXG.js} +181 -181
- package/dist/@framer-motion-wap8UOQD.js +4959 -0
- package/dist/{@react-select-BDsfVQrM.js → @react-select-VU7Fmo9p.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-ByqEaVzu.js → @react-virtualized-sticky-tree-CAu3_TV1.js} +3 -3
- package/dist/{@vendor-BgJdIb1H.js → @vendor-WBEJ0Pz6.js} +129197 -81276
- package/dist/Common/API/reactQueryHooks.d.ts +1 -1
- package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +1 -0
- package/dist/Common/Drawer/Drawer.d.ts +2 -2
- package/dist/Common/EmptyState/GenericEmptyState.d.ts +1 -0
- package/dist/Common/GenericDescription/types.d.ts +1 -0
- package/dist/Common/Modals/VisibleModal.d.ts +0 -1
- package/dist/Common/Progressing.d.ts +1 -0
- package/dist/Common/RJSF/Form.d.ts +1 -2
- package/dist/Common/Types.d.ts +4 -3
- package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +1 -1
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +28 -13
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/types.d.ts +2 -0
- package/dist/Shared/Components/Button/Button.component.d.ts +2 -388
- package/dist/Shared/Components/CICDHistory/BuildAndTaskSummaryTooltipCard.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/GitTriggerList.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/types.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +0 -1
- package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
- package/dist/Shared/Components/DTFocusTrap/types.d.ts +0 -1
- package/dist/Shared/Components/ExportToCsv/types.d.ts +1 -0
- package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +1 -1
- package/dist/Shared/Components/GenericModal/types.d.ts +1 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +1 -0
- package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
- package/dist/Shared/Components/ImageWithFallback/types.d.ts +1 -1
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -0
- package/dist/Shared/Components/TreeView/types.d.ts +1 -1
- package/dist/Shared/Helpers.d.ts +1 -1
- package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +1 -1
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/@vendor.css +1 -1
- package/dist/index.d.ts +15 -13
- package/dist/index.js +4 -4
- package/package.json +19 -14
- package/dist/@framer-motion-DFkGgMz7.js +0 -3606
- package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +0 -80
- package/dist/assets/cmd-bar-visual.340d6226.webp +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QueryKey, UseMutationOptions, UseMutationResult, useQueryClient, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { ServerErrors } from '../ServerError';
|
|
3
3
|
import { ResponseType } from '../Types';
|
|
4
|
-
export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey =
|
|
4
|
+
export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = readonly unknown[], WrapWithResponseType extends boolean = true>(options: UseQueryOptions<WrapWithResponseType extends true ? ResponseType<TQueryFnData> : TQueryFnData, ServerErrors, TData, TQueryKey>) => UseQueryResult<TData, ServerErrors>;
|
|
5
5
|
export declare const useMutation: <TData = unknown, TVariables = void, TContext = unknown>(options: UseMutationOptions<ResponseType<TData>, ServerErrors, TVariables, TContext>) => UseMutationResult<ResponseType<TData>, ServerErrors, TVariables, TContext>;
|
|
6
6
|
export { useQueryClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CheckboxProps } from '../Types';
|
|
2
|
-
export declare const Checkbox:
|
|
2
|
+
export declare const Checkbox: ({ rootClassName, onClick, name, disabled, value, onChange, tabIndex, isChecked, id, dataTestId, children, ref, }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DTFocusTrapType } from '../../Shared/Components/DTFocusTrap';
|
|
2
|
-
export interface DrawerProps extends Pick<DTFocusTrapType, 'initialFocus'
|
|
2
|
+
export interface DrawerProps extends Pick<DTFocusTrapType, 'initialFocus'> {
|
|
3
3
|
position: 'left' | 'right' | 'bottom' | 'top';
|
|
4
4
|
children?: any;
|
|
5
5
|
backdrop?: boolean;
|
|
@@ -12,4 +12,4 @@ export interface DrawerProps extends Pick<DTFocusTrapType, 'initialFocus' | 'avo
|
|
|
12
12
|
onEscape?: (e?: any) => void;
|
|
13
13
|
disableTransition?: boolean;
|
|
14
14
|
}
|
|
15
|
-
export declare const Drawer: ({ children, position, height, width, minWidth, maxWidth, parentClassName, onEscape, onClose, disableTransition, initialFocus,
|
|
15
|
+
export declare const Drawer: ({ children, position, height, width, minWidth, maxWidth, parentClassName, onEscape, onClose, disableTransition, initialFocus, }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
1
2
|
import { GenericEmptyStateType } from '../Types';
|
|
2
3
|
declare const GenericEmptyState: ({ title, image, subTitle, isButtonAvailable, classname, styles, imageType, renderButton, imageClassName, children, SvgImage, noImage, layout, contentClassName, imageStyles, imgName, }: GenericEmptyStateType) => JSX.Element;
|
|
3
4
|
export default GenericEmptyState;
|
|
@@ -7,7 +7,6 @@ export declare class VisibleModal extends Component<PropsWithChildren<{
|
|
|
7
7
|
close?: (e?: any) => void;
|
|
8
8
|
onEscape?: (e?: any) => void;
|
|
9
9
|
initialFocus?: DTFocusTrapType['initialFocus'];
|
|
10
|
-
avoidFocusTrap?: boolean;
|
|
11
10
|
}>> {
|
|
12
11
|
constructor(props: any);
|
|
13
12
|
escFunction(): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ProgressingProps } from './Types';
|
|
2
|
+
import { JSX } from 'react';
|
|
2
3
|
export declare const Progressing: ({ pageLoader, size, theme, styles, fillColor }: ProgressingProps) => JSX.Element;
|
|
3
4
|
export declare const DetailsProgressing: ({ loadingText, size, fullHeight, styles, fillColor, children, }: ProgressingProps) => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { default as RJSF } from '@rjsf/core';
|
|
2
1
|
import { FormProps } from './types';
|
|
3
|
-
export declare const RJSFForm:
|
|
2
|
+
export declare const RJSFForm: ({ ref, ...props }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React, CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react';
|
|
1
|
+
import { default as React, CSSProperties, JSX, MutableRefObject, ReactElement, ReactNode, Ref } from 'react';
|
|
2
2
|
import { useLocation, useNavigate, useParams } from 'react-router-dom';
|
|
3
3
|
import { TippyProps } from '@tippyjs/react';
|
|
4
4
|
import { IllustrationName, SelectPickerOptionType } from '../Shared/Components';
|
|
@@ -83,6 +83,7 @@ export interface CheckboxProps {
|
|
|
83
83
|
dataTestId?: string;
|
|
84
84
|
error?: boolean;
|
|
85
85
|
children?: ReactNode;
|
|
86
|
+
ref?: Ref<HTMLLabelElement>;
|
|
86
87
|
}
|
|
87
88
|
export interface TippyWithBaseDocLinkTypes<T extends boolean> extends Pick<DocLinkProps<T>, 'isExternalLink' | 'openInNewTab'> {
|
|
88
89
|
documentationLink?: DocLinkProps<T>['docLinkKey'];
|
|
@@ -152,7 +153,7 @@ export type ErrorScreenManagerProps = {
|
|
|
152
153
|
code?: number;
|
|
153
154
|
imageType?: ImageType;
|
|
154
155
|
reload?: (...args: any[]) => any;
|
|
155
|
-
subtitle?: React.
|
|
156
|
+
subtitle?: React.ReactElement | number | string;
|
|
156
157
|
reloadClass?: string;
|
|
157
158
|
} & ({
|
|
158
159
|
/**
|
|
@@ -175,7 +176,7 @@ export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'ti
|
|
|
175
176
|
reload?: () => void;
|
|
176
177
|
}
|
|
177
178
|
export interface ErrorScreenNotAuthorizedProps {
|
|
178
|
-
subtitle?: React.
|
|
179
|
+
subtitle?: React.ReactElement | number | string;
|
|
179
180
|
title?: string;
|
|
180
181
|
}
|
|
181
182
|
export interface ReloadType {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dispatch, ReactElement, SetStateAction } from 'react';
|
|
1
|
+
import { Dispatch, JSX, ReactElement, SetStateAction } from 'react';
|
|
2
2
|
import { TabProps } from '../../Shared/Components';
|
|
3
3
|
import { InstallationClusterType } from '../../Shared/types';
|
|
4
4
|
import { NodeActionRequest } from './ResourceBrowser.Types';
|
|
@@ -9,13 +9,13 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
|
9
9
|
}[];
|
|
10
10
|
filteredOptions: import('./types').ActionMenuOptionType<T>[];
|
|
11
11
|
focusedIndex: number;
|
|
12
|
-
itemsRef:
|
|
12
|
+
itemsRef: RefObject<RefObject<HTMLAnchorElement | HTMLButtonElement>[]>;
|
|
13
13
|
triggerProps: import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
14
14
|
bounds: Pick<DOMRect, "left" | "top" | "height" | "width">;
|
|
15
15
|
};
|
|
16
16
|
overlayProps: Omit<import('..').BackdropProps, "children">;
|
|
17
17
|
popoverProps: {
|
|
18
|
-
|
|
18
|
+
ref?: import('react').Ref<HTMLDivElement>;
|
|
19
19
|
className?: string;
|
|
20
20
|
content?: string;
|
|
21
21
|
role?: import('react').AriaRole;
|
|
@@ -68,6 +68,10 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
|
68
68
|
results?: number;
|
|
69
69
|
security?: string;
|
|
70
70
|
unselectable?: "off" | "on";
|
|
71
|
+
popover?: "" | "auto" | "manual" | "hint";
|
|
72
|
+
popoverTargetAction?: "toggle" | "show" | "hide";
|
|
73
|
+
popoverTarget?: string;
|
|
74
|
+
inert?: boolean;
|
|
71
75
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
72
76
|
is?: string;
|
|
73
77
|
exportparts?: string;
|
|
@@ -140,18 +144,18 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
|
140
144
|
onFocusCapture?: import('react').FocusEventHandler<HTMLDivElement>;
|
|
141
145
|
onBlur?: import('react').FocusEventHandler<HTMLDivElement>;
|
|
142
146
|
onBlurCapture?: import('react').FocusEventHandler<HTMLDivElement>;
|
|
143
|
-
onChange?: import('react').
|
|
144
|
-
onChangeCapture?: import('react').
|
|
147
|
+
onChange?: import('react').ChangeEventHandler<HTMLDivElement, Element>;
|
|
148
|
+
onChangeCapture?: import('react').ChangeEventHandler<HTMLDivElement, Element>;
|
|
145
149
|
onBeforeInput?: import('react').InputEventHandler<HTMLDivElement>;
|
|
146
|
-
onBeforeInputCapture?: import('react').
|
|
147
|
-
onInput?: import('react').
|
|
148
|
-
onInputCapture?: import('react').
|
|
149
|
-
onReset?: import('react').
|
|
150
|
-
onResetCapture?: import('react').
|
|
151
|
-
onSubmit?: import('react').
|
|
152
|
-
onSubmitCapture?: import('react').
|
|
153
|
-
onInvalid?: import('react').
|
|
154
|
-
onInvalidCapture?: import('react').
|
|
150
|
+
onBeforeInputCapture?: import('react').InputEventHandler<HTMLDivElement>;
|
|
151
|
+
onInput?: import('react').InputEventHandler<HTMLDivElement>;
|
|
152
|
+
onInputCapture?: import('react').InputEventHandler<HTMLDivElement>;
|
|
153
|
+
onReset?: import('react').ReactEventHandler<HTMLDivElement>;
|
|
154
|
+
onResetCapture?: import('react').ReactEventHandler<HTMLDivElement>;
|
|
155
|
+
onSubmit?: import('react').SubmitEventHandler<HTMLDivElement>;
|
|
156
|
+
onSubmitCapture?: import('react').SubmitEventHandler<HTMLDivElement>;
|
|
157
|
+
onInvalid?: import('react').ReactEventHandler<HTMLDivElement>;
|
|
158
|
+
onInvalidCapture?: import('react').ReactEventHandler<HTMLDivElement>;
|
|
155
159
|
onLoad?: import('react').ReactEventHandler<HTMLDivElement>;
|
|
156
160
|
onLoadCapture?: import('react').ReactEventHandler<HTMLDivElement>;
|
|
157
161
|
onError?: import('react').ReactEventHandler<HTMLDivElement>;
|
|
@@ -267,6 +271,8 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
|
267
271
|
onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLDivElement>;
|
|
268
272
|
onScroll?: import('react').UIEventHandler<HTMLDivElement>;
|
|
269
273
|
onScrollCapture?: import('react').UIEventHandler<HTMLDivElement>;
|
|
274
|
+
onScrollEnd?: import('react').UIEventHandler<HTMLDivElement>;
|
|
275
|
+
onScrollEndCapture?: import('react').UIEventHandler<HTMLDivElement>;
|
|
270
276
|
onWheel?: import('react').WheelEventHandler<HTMLDivElement>;
|
|
271
277
|
onWheelCapture?: import('react').WheelEventHandler<HTMLDivElement>;
|
|
272
278
|
onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLDivElement>;
|
|
@@ -274,8 +280,17 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
|
274
280
|
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLDivElement>;
|
|
275
281
|
onAnimationIteration?: import('react').AnimationEventHandler<HTMLDivElement>;
|
|
276
282
|
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLDivElement>;
|
|
283
|
+
onToggle?: import('react').ToggleEventHandler<HTMLDivElement>;
|
|
284
|
+
onBeforeToggle?: import('react').ToggleEventHandler<HTMLDivElement>;
|
|
285
|
+
onTransitionCancel?: import('react').TransitionEventHandler<HTMLDivElement>;
|
|
286
|
+
onTransitionCancelCapture?: import('react').TransitionEventHandler<HTMLDivElement>;
|
|
277
287
|
onTransitionEnd?: import('react').TransitionEventHandler<HTMLDivElement>;
|
|
278
288
|
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLDivElement>;
|
|
289
|
+
onTransitionRun?: import('react').TransitionEventHandler<HTMLDivElement>;
|
|
290
|
+
onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLDivElement>;
|
|
291
|
+
onTransitionStart?: import('react').TransitionEventHandler<HTMLDivElement>;
|
|
292
|
+
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLDivElement>;
|
|
293
|
+
key?: import('react').Key;
|
|
279
294
|
} & import('framer-motion').MotionProps & {
|
|
280
295
|
ref: import('react').MutableRefObject<HTMLDivElement>;
|
|
281
296
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BackdropProps } from './types';
|
|
2
|
-
declare const Backdrop: ({ children, onEscape, onClick, hasClearBackground, onBackdropMount, deactivateFocusOnEscape, initialFocus, returnFocusOnDeactivate,
|
|
2
|
+
declare const Backdrop: ({ children, onEscape, onClick, hasClearBackground, onBackdropMount, deactivateFocusOnEscape, initialFocus, returnFocusOnDeactivate, }: BackdropProps) => import('react').ReactPortal;
|
|
3
3
|
export default Backdrop;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MouseEvent, ReactNode } from 'react';
|
|
2
2
|
import { DTFocusTrapType } from '../DTFocusTrap';
|
|
3
|
-
export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus' | 'onEscape' | 'returnFocusOnDeactivate'
|
|
3
|
+
export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus' | 'onEscape' | 'returnFocusOnDeactivate'> {
|
|
4
4
|
/**
|
|
5
5
|
* The content to be rendered within the backdrop component.
|
|
6
6
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BulkSelectionProps } from './types';
|
|
2
|
-
declare const BulkSelection:
|
|
2
|
+
declare const BulkSelection: ({ showPagination, disabled, showChevronDownIcon, selectAllIfNotPaginated, ref, }: BulkSelectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default BulkSelection;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Ref } from 'react';
|
|
1
2
|
import { CHECKBOX_VALUE } from '../../../Common';
|
|
2
3
|
export declare enum BulkSelectionEvents {
|
|
3
4
|
CLEAR_ALL_SELECTIONS = "CLEAR_ALL_SELECTIONS",
|
|
@@ -37,6 +38,7 @@ export interface BulkSelectionProps {
|
|
|
37
38
|
* Will act as checkbox instead of opening up popup if list is not paginated
|
|
38
39
|
*/
|
|
39
40
|
selectAllIfNotPaginated?: boolean;
|
|
41
|
+
ref?: Ref<HTMLLabelElement>;
|
|
40
42
|
}
|
|
41
43
|
export declare enum SelectAllDialogStatus {
|
|
42
44
|
OPEN = "OPEN",
|
|
@@ -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,389 +63,5 @@ import { ButtonComponentType, ButtonStyleType, ButtonVariantType } from './types
|
|
|
65
63
|
* <Button icon={<ICCube />} ariaLabel="Label" />
|
|
66
64
|
* ```
|
|
67
65
|
*/
|
|
68
|
-
declare const Button: import(
|
|
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
|
-
id?: string;
|
|
77
|
-
variant?: ButtonVariantType;
|
|
78
|
-
size?: ComponentSizeType;
|
|
79
|
-
style?: ButtonStyleType;
|
|
80
|
-
isLoading?: boolean;
|
|
81
|
-
dataTestId: string;
|
|
82
|
-
disabled?: boolean;
|
|
83
|
-
fullWidth?: boolean;
|
|
84
|
-
isOpacityHoverChild?: boolean;
|
|
85
|
-
triggerAutoClickTimestamp?: number | null;
|
|
86
|
-
} & {
|
|
87
|
-
showTooltip?: boolean;
|
|
88
|
-
tooltipProps: Omit<Extract<TooltipProps, {
|
|
89
|
-
alwaysShowTippyOnHover: boolean;
|
|
90
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
91
|
-
alwaysShowTippyOnHover?: boolean;
|
|
92
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
93
|
-
alwaysShowTippyOnHover?: never;
|
|
94
|
-
}>, "alwaysShowTippyOnHover">;
|
|
95
|
-
} & {
|
|
96
|
-
icon?: never;
|
|
97
|
-
ariaLabel?: never;
|
|
98
|
-
showAriaLabelInTippy?: never;
|
|
99
|
-
text: string;
|
|
100
|
-
startIcon?: import('react').ReactElement;
|
|
101
|
-
endIcon?: import('react').ReactElement;
|
|
102
|
-
fontWeight?: "bold" | "normal";
|
|
103
|
-
}, "ref"> | Omit<{
|
|
104
|
-
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
105
|
-
component: ButtonComponentType.anchor;
|
|
106
|
-
linkProps?: never;
|
|
107
|
-
buttonProps?: never;
|
|
108
|
-
anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
|
|
109
|
-
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
|
110
|
-
} & {
|
|
111
|
-
id?: string;
|
|
112
|
-
variant?: ButtonVariantType;
|
|
113
|
-
size?: ComponentSizeType;
|
|
114
|
-
style?: ButtonStyleType;
|
|
115
|
-
isLoading?: boolean;
|
|
116
|
-
dataTestId: string;
|
|
117
|
-
disabled?: boolean;
|
|
118
|
-
fullWidth?: boolean;
|
|
119
|
-
isOpacityHoverChild?: boolean;
|
|
120
|
-
triggerAutoClickTimestamp?: number | null;
|
|
121
|
-
} & {
|
|
122
|
-
showTooltip?: boolean;
|
|
123
|
-
tooltipProps: Omit<Extract<TooltipProps, {
|
|
124
|
-
alwaysShowTippyOnHover: boolean;
|
|
125
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
126
|
-
alwaysShowTippyOnHover?: boolean;
|
|
127
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
128
|
-
alwaysShowTippyOnHover?: never;
|
|
129
|
-
}>, "alwaysShowTippyOnHover">;
|
|
130
|
-
} & {
|
|
131
|
-
icon: import('react').ReactElement;
|
|
132
|
-
showAriaLabelInTippy?: boolean;
|
|
133
|
-
ariaLabel: string;
|
|
134
|
-
text?: never;
|
|
135
|
-
startIcon?: never;
|
|
136
|
-
endIcon?: never;
|
|
137
|
-
fontWeight?: never;
|
|
138
|
-
}, "ref"> | Omit<{
|
|
139
|
-
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
140
|
-
component: ButtonComponentType.anchor;
|
|
141
|
-
linkProps?: never;
|
|
142
|
-
buttonProps?: never;
|
|
143
|
-
anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
|
|
144
|
-
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
|
145
|
-
} & {
|
|
146
|
-
id?: string;
|
|
147
|
-
variant?: ButtonVariantType;
|
|
148
|
-
size?: ComponentSizeType;
|
|
149
|
-
style?: ButtonStyleType;
|
|
150
|
-
isLoading?: boolean;
|
|
151
|
-
dataTestId: string;
|
|
152
|
-
disabled?: boolean;
|
|
153
|
-
fullWidth?: boolean;
|
|
154
|
-
isOpacityHoverChild?: boolean;
|
|
155
|
-
triggerAutoClickTimestamp?: number | null;
|
|
156
|
-
} & {
|
|
157
|
-
showTooltip?: never;
|
|
158
|
-
tooltipProps?: never;
|
|
159
|
-
} & {
|
|
160
|
-
icon?: never;
|
|
161
|
-
ariaLabel?: never;
|
|
162
|
-
showAriaLabelInTippy?: never;
|
|
163
|
-
text: string;
|
|
164
|
-
startIcon?: import('react').ReactElement;
|
|
165
|
-
endIcon?: import('react').ReactElement;
|
|
166
|
-
fontWeight?: "bold" | "normal";
|
|
167
|
-
}, "ref"> | Omit<{
|
|
168
|
-
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
169
|
-
component: ButtonComponentType.anchor;
|
|
170
|
-
linkProps?: never;
|
|
171
|
-
buttonProps?: never;
|
|
172
|
-
anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
|
|
173
|
-
onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
|
|
174
|
-
} & {
|
|
175
|
-
id?: string;
|
|
176
|
-
variant?: ButtonVariantType;
|
|
177
|
-
size?: ComponentSizeType;
|
|
178
|
-
style?: ButtonStyleType;
|
|
179
|
-
isLoading?: boolean;
|
|
180
|
-
dataTestId: string;
|
|
181
|
-
disabled?: boolean;
|
|
182
|
-
fullWidth?: boolean;
|
|
183
|
-
isOpacityHoverChild?: boolean;
|
|
184
|
-
triggerAutoClickTimestamp?: number | null;
|
|
185
|
-
} & {
|
|
186
|
-
showTooltip?: never;
|
|
187
|
-
tooltipProps?: never;
|
|
188
|
-
} & {
|
|
189
|
-
icon: import('react').ReactElement;
|
|
190
|
-
showAriaLabelInTippy?: boolean;
|
|
191
|
-
ariaLabel: string;
|
|
192
|
-
text?: never;
|
|
193
|
-
startIcon?: never;
|
|
194
|
-
endIcon?: never;
|
|
195
|
-
fontWeight?: never;
|
|
196
|
-
}, "ref"> | Omit<{
|
|
197
|
-
ref?: import('react').Ref<HTMLButtonElement>;
|
|
198
|
-
component?: ButtonComponentType.button;
|
|
199
|
-
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
|
200
|
-
linkProps?: never;
|
|
201
|
-
anchorProps?: never;
|
|
202
|
-
onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
|
|
203
|
-
} & {
|
|
204
|
-
id?: string;
|
|
205
|
-
variant?: ButtonVariantType;
|
|
206
|
-
size?: ComponentSizeType;
|
|
207
|
-
style?: ButtonStyleType;
|
|
208
|
-
isLoading?: boolean;
|
|
209
|
-
dataTestId: string;
|
|
210
|
-
disabled?: boolean;
|
|
211
|
-
fullWidth?: boolean;
|
|
212
|
-
isOpacityHoverChild?: boolean;
|
|
213
|
-
triggerAutoClickTimestamp?: number | null;
|
|
214
|
-
} & {
|
|
215
|
-
showTooltip?: boolean;
|
|
216
|
-
tooltipProps: Omit<Extract<TooltipProps, {
|
|
217
|
-
alwaysShowTippyOnHover: boolean;
|
|
218
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
219
|
-
alwaysShowTippyOnHover?: boolean;
|
|
220
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
221
|
-
alwaysShowTippyOnHover?: never;
|
|
222
|
-
}>, "alwaysShowTippyOnHover">;
|
|
223
|
-
} & {
|
|
224
|
-
icon?: never;
|
|
225
|
-
ariaLabel?: never;
|
|
226
|
-
showAriaLabelInTippy?: never;
|
|
227
|
-
text: string;
|
|
228
|
-
startIcon?: import('react').ReactElement;
|
|
229
|
-
endIcon?: import('react').ReactElement;
|
|
230
|
-
fontWeight?: "bold" | "normal";
|
|
231
|
-
}, "ref"> | Omit<{
|
|
232
|
-
ref?: import('react').Ref<HTMLButtonElement>;
|
|
233
|
-
component?: ButtonComponentType.button;
|
|
234
|
-
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
|
235
|
-
linkProps?: never;
|
|
236
|
-
anchorProps?: never;
|
|
237
|
-
onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
|
|
238
|
-
} & {
|
|
239
|
-
id?: string;
|
|
240
|
-
variant?: ButtonVariantType;
|
|
241
|
-
size?: ComponentSizeType;
|
|
242
|
-
style?: ButtonStyleType;
|
|
243
|
-
isLoading?: boolean;
|
|
244
|
-
dataTestId: string;
|
|
245
|
-
disabled?: boolean;
|
|
246
|
-
fullWidth?: boolean;
|
|
247
|
-
isOpacityHoverChild?: boolean;
|
|
248
|
-
triggerAutoClickTimestamp?: number | null;
|
|
249
|
-
} & {
|
|
250
|
-
showTooltip?: boolean;
|
|
251
|
-
tooltipProps: Omit<Extract<TooltipProps, {
|
|
252
|
-
alwaysShowTippyOnHover: boolean;
|
|
253
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
254
|
-
alwaysShowTippyOnHover?: boolean;
|
|
255
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
256
|
-
alwaysShowTippyOnHover?: never;
|
|
257
|
-
}>, "alwaysShowTippyOnHover">;
|
|
258
|
-
} & {
|
|
259
|
-
icon: import('react').ReactElement;
|
|
260
|
-
showAriaLabelInTippy?: boolean;
|
|
261
|
-
ariaLabel: string;
|
|
262
|
-
text?: never;
|
|
263
|
-
startIcon?: never;
|
|
264
|
-
endIcon?: never;
|
|
265
|
-
fontWeight?: never;
|
|
266
|
-
}, "ref"> | Omit<{
|
|
267
|
-
ref?: import('react').Ref<HTMLButtonElement>;
|
|
268
|
-
component?: ButtonComponentType.button;
|
|
269
|
-
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
|
270
|
-
linkProps?: never;
|
|
271
|
-
anchorProps?: never;
|
|
272
|
-
onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
|
|
273
|
-
} & {
|
|
274
|
-
id?: string;
|
|
275
|
-
variant?: ButtonVariantType;
|
|
276
|
-
size?: ComponentSizeType;
|
|
277
|
-
style?: ButtonStyleType;
|
|
278
|
-
isLoading?: boolean;
|
|
279
|
-
dataTestId: string;
|
|
280
|
-
disabled?: boolean;
|
|
281
|
-
fullWidth?: boolean;
|
|
282
|
-
isOpacityHoverChild?: boolean;
|
|
283
|
-
triggerAutoClickTimestamp?: number | null;
|
|
284
|
-
} & {
|
|
285
|
-
showTooltip?: never;
|
|
286
|
-
tooltipProps?: never;
|
|
287
|
-
} & {
|
|
288
|
-
icon?: never;
|
|
289
|
-
ariaLabel?: never;
|
|
290
|
-
showAriaLabelInTippy?: never;
|
|
291
|
-
text: string;
|
|
292
|
-
startIcon?: import('react').ReactElement;
|
|
293
|
-
endIcon?: import('react').ReactElement;
|
|
294
|
-
fontWeight?: "bold" | "normal";
|
|
295
|
-
}, "ref"> | Omit<{
|
|
296
|
-
ref?: import('react').Ref<HTMLButtonElement>;
|
|
297
|
-
component?: ButtonComponentType.button;
|
|
298
|
-
buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
|
|
299
|
-
linkProps?: never;
|
|
300
|
-
anchorProps?: never;
|
|
301
|
-
onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
|
|
302
|
-
} & {
|
|
303
|
-
id?: string;
|
|
304
|
-
variant?: ButtonVariantType;
|
|
305
|
-
size?: ComponentSizeType;
|
|
306
|
-
style?: ButtonStyleType;
|
|
307
|
-
isLoading?: boolean;
|
|
308
|
-
dataTestId: string;
|
|
309
|
-
disabled?: boolean;
|
|
310
|
-
fullWidth?: boolean;
|
|
311
|
-
isOpacityHoverChild?: boolean;
|
|
312
|
-
triggerAutoClickTimestamp?: number | null;
|
|
313
|
-
} & {
|
|
314
|
-
showTooltip?: never;
|
|
315
|
-
tooltipProps?: never;
|
|
316
|
-
} & {
|
|
317
|
-
icon: import('react').ReactElement;
|
|
318
|
-
showAriaLabelInTippy?: boolean;
|
|
319
|
-
ariaLabel: string;
|
|
320
|
-
text?: never;
|
|
321
|
-
startIcon?: never;
|
|
322
|
-
endIcon?: never;
|
|
323
|
-
fontWeight?: never;
|
|
324
|
-
}, "ref"> | Omit<{
|
|
325
|
-
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
326
|
-
component: ButtonComponentType.link;
|
|
327
|
-
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
328
|
-
buttonProps?: never;
|
|
329
|
-
anchorProps?: never;
|
|
330
|
-
onClick?: import('react-router-dom').LinkProps["onClick"];
|
|
331
|
-
} & {
|
|
332
|
-
id?: string;
|
|
333
|
-
variant?: ButtonVariantType;
|
|
334
|
-
size?: ComponentSizeType;
|
|
335
|
-
style?: ButtonStyleType;
|
|
336
|
-
isLoading?: boolean;
|
|
337
|
-
dataTestId: string;
|
|
338
|
-
disabled?: boolean;
|
|
339
|
-
fullWidth?: boolean;
|
|
340
|
-
isOpacityHoverChild?: boolean;
|
|
341
|
-
triggerAutoClickTimestamp?: number | null;
|
|
342
|
-
} & {
|
|
343
|
-
showTooltip?: boolean;
|
|
344
|
-
tooltipProps: Omit<Extract<TooltipProps, {
|
|
345
|
-
alwaysShowTippyOnHover: boolean;
|
|
346
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
347
|
-
alwaysShowTippyOnHover?: boolean;
|
|
348
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
349
|
-
alwaysShowTippyOnHover?: never;
|
|
350
|
-
}>, "alwaysShowTippyOnHover">;
|
|
351
|
-
} & {
|
|
352
|
-
icon?: never;
|
|
353
|
-
ariaLabel?: never;
|
|
354
|
-
showAriaLabelInTippy?: never;
|
|
355
|
-
text: string;
|
|
356
|
-
startIcon?: import('react').ReactElement;
|
|
357
|
-
endIcon?: import('react').ReactElement;
|
|
358
|
-
fontWeight?: "bold" | "normal";
|
|
359
|
-
}, "ref"> | Omit<{
|
|
360
|
-
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
361
|
-
component: ButtonComponentType.link;
|
|
362
|
-
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
363
|
-
buttonProps?: never;
|
|
364
|
-
anchorProps?: never;
|
|
365
|
-
onClick?: import('react-router-dom').LinkProps["onClick"];
|
|
366
|
-
} & {
|
|
367
|
-
id?: string;
|
|
368
|
-
variant?: ButtonVariantType;
|
|
369
|
-
size?: ComponentSizeType;
|
|
370
|
-
style?: ButtonStyleType;
|
|
371
|
-
isLoading?: boolean;
|
|
372
|
-
dataTestId: string;
|
|
373
|
-
disabled?: boolean;
|
|
374
|
-
fullWidth?: boolean;
|
|
375
|
-
isOpacityHoverChild?: boolean;
|
|
376
|
-
triggerAutoClickTimestamp?: number | null;
|
|
377
|
-
} & {
|
|
378
|
-
showTooltip?: boolean;
|
|
379
|
-
tooltipProps: Omit<Extract<TooltipProps, {
|
|
380
|
-
alwaysShowTippyOnHover: boolean;
|
|
381
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
382
|
-
alwaysShowTippyOnHover?: boolean;
|
|
383
|
-
}>, "alwaysShowTippyOnHover"> | Omit<Extract<TooltipProps, {
|
|
384
|
-
alwaysShowTippyOnHover?: never;
|
|
385
|
-
}>, "alwaysShowTippyOnHover">;
|
|
386
|
-
} & {
|
|
387
|
-
icon: import('react').ReactElement;
|
|
388
|
-
showAriaLabelInTippy?: boolean;
|
|
389
|
-
ariaLabel: string;
|
|
390
|
-
text?: never;
|
|
391
|
-
startIcon?: never;
|
|
392
|
-
endIcon?: never;
|
|
393
|
-
fontWeight?: never;
|
|
394
|
-
}, "ref"> | Omit<{
|
|
395
|
-
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
396
|
-
component: ButtonComponentType.link;
|
|
397
|
-
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
398
|
-
buttonProps?: never;
|
|
399
|
-
anchorProps?: never;
|
|
400
|
-
onClick?: import('react-router-dom').LinkProps["onClick"];
|
|
401
|
-
} & {
|
|
402
|
-
id?: string;
|
|
403
|
-
variant?: ButtonVariantType;
|
|
404
|
-
size?: ComponentSizeType;
|
|
405
|
-
style?: ButtonStyleType;
|
|
406
|
-
isLoading?: boolean;
|
|
407
|
-
dataTestId: string;
|
|
408
|
-
disabled?: boolean;
|
|
409
|
-
fullWidth?: boolean;
|
|
410
|
-
isOpacityHoverChild?: boolean;
|
|
411
|
-
triggerAutoClickTimestamp?: number | null;
|
|
412
|
-
} & {
|
|
413
|
-
showTooltip?: never;
|
|
414
|
-
tooltipProps?: never;
|
|
415
|
-
} & {
|
|
416
|
-
icon?: never;
|
|
417
|
-
ariaLabel?: never;
|
|
418
|
-
showAriaLabelInTippy?: never;
|
|
419
|
-
text: string;
|
|
420
|
-
startIcon?: import('react').ReactElement;
|
|
421
|
-
endIcon?: import('react').ReactElement;
|
|
422
|
-
fontWeight?: "bold" | "normal";
|
|
423
|
-
}, "ref"> | Omit<{
|
|
424
|
-
ref?: import('react').Ref<HTMLAnchorElement>;
|
|
425
|
-
component: ButtonComponentType.link;
|
|
426
|
-
linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
|
|
427
|
-
buttonProps?: never;
|
|
428
|
-
anchorProps?: never;
|
|
429
|
-
onClick?: import('react-router-dom').LinkProps["onClick"];
|
|
430
|
-
} & {
|
|
431
|
-
id?: string;
|
|
432
|
-
variant?: ButtonVariantType;
|
|
433
|
-
size?: ComponentSizeType;
|
|
434
|
-
style?: ButtonStyleType;
|
|
435
|
-
isLoading?: boolean;
|
|
436
|
-
dataTestId: string;
|
|
437
|
-
disabled?: boolean;
|
|
438
|
-
fullWidth?: boolean;
|
|
439
|
-
isOpacityHoverChild?: boolean;
|
|
440
|
-
triggerAutoClickTimestamp?: number | null;
|
|
441
|
-
} & {
|
|
442
|
-
showTooltip?: never;
|
|
443
|
-
tooltipProps?: never;
|
|
444
|
-
} & {
|
|
445
|
-
icon: import('react').ReactElement;
|
|
446
|
-
showAriaLabelInTippy?: boolean;
|
|
447
|
-
ariaLabel: string;
|
|
448
|
-
text?: never;
|
|
449
|
-
startIcon?: never;
|
|
450
|
-
endIcon?: never;
|
|
451
|
-
fontWeight?: never;
|
|
452
|
-
}, "ref">) & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
66
|
+
declare const Button: ({ dataTestId, text, variant, size, style, fontWeight, startIcon, endIcon, disabled, isLoading, showTooltip, tooltipProps, icon, ariaLabel, showAriaLabelInTippy, fullWidth, isOpacityHoverChild, triggerAutoClickTimestamp, ref, ...props }: ButtonProps<ButtonComponentType>) => import("react/jsx-runtime").JSX.Element;
|
|
453
67
|
export default Button;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
1
2
|
import { BuildAndTaskSummaryTooltipCardProps } from './types';
|
|
2
3
|
declare const BuildAndTaskSummaryTooltipCard: import('react').MemoExoticComponent<({ workflowExecutionStages, triggeredByEmail, namespace, podName, stage, gitTriggers, ciMaterials, }: BuildAndTaskSummaryTooltipCardProps) => JSX.Element>;
|
|
3
4
|
export default BuildAndTaskSummaryTooltipCard;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
1
2
|
import { DeploymentSummaryTooltipCardType } from './types';
|
|
2
3
|
declare const GitTriggerList: import('react').MemoExoticComponent<({ ciMaterials, gitTriggers, addMarginTop, }: Pick<DeploymentSummaryTooltipCardType, "ciMaterials" | "gitTriggers"> & {
|
|
3
4
|
addMarginTop?: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
1
2
|
import { GitChangesType, LogResizeButtonType, ScrollerType } from './types';
|
|
2
3
|
export declare const LogResizeButton: ({ shortcutCombo, showOnlyWhenPathIncludesLogs, fullScreenView, setFullScreenView, }: LogResizeButtonType) => JSX.Element;
|
|
3
4
|
export declare const Scroller: ({ scrollToTop, scrollToBottom, style }: ScrollerType) => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
1
2
|
import { WorkerStatusType } from './types';
|
|
2
3
|
declare const WorkerStatus: import('react').MemoExoticComponent<({ message, podStatus, stage, workerPodName, finishedOn, clusterId, namespace, workerMessageContainerClassName, titleClassName, viewWorkerPodClassName, hideShowMoreMessageButton, children, }: WorkerStatusType) => JSX.Element | null>;
|
|
3
4
|
export default WorkerStatus;
|