@devtron-labs/devtron-fe-common-lib 1.19.0-beta-2 → 1.19.0-beta-4

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 (43) hide show
  1. package/dist/{@code-editor-CYgjiVvr.js → @code-editor-BeYNS9hk.js} +6188 -6198
  2. package/dist/{@common-rjsf-36XKtVoT.js → @common-rjsf-DWqvAUL7.js} +1 -1
  3. package/dist/Common/Common.service.d.ts +1 -1
  4. package/dist/Common/Constants.d.ts +0 -3
  5. package/dist/Common/ErrorPage.d.ts +1 -1
  6. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  7. package/dist/Common/Helper.d.ts +1 -1
  8. package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +0 -1
  9. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  10. package/dist/Common/RJSF/Form.d.ts +1 -1
  11. package/dist/Common/RJSF/utils.d.ts +1 -1
  12. package/dist/Common/Types.d.ts +2 -13
  13. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +8 -8
  14. package/dist/Shared/Components/Button/Button.component.d.ts +68 -68
  15. package/dist/Shared/Components/CodeEditor/utils.d.ts +1 -1
  16. package/dist/Shared/Components/GenericModal/types.d.ts +1 -1
  17. package/dist/Shared/Components/Header/utils.d.ts +2 -2
  18. package/dist/Shared/Components/Icon/Icon.d.ts +0 -9
  19. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
  20. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
  21. package/dist/Shared/Components/License/constants.d.ts +1 -0
  22. package/dist/Shared/Components/License/types.d.ts +4 -2
  23. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  24. package/dist/Shared/Components/MaterialHistory/types.d.ts +2 -1
  25. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  26. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  27. package/dist/Shared/Services/ToastManager/ToastContent.d.ts +1 -2
  28. package/dist/Shared/Services/ToastManager/constants.d.ts +2 -2
  29. package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +1 -1
  30. package/dist/Shared/Services/ToastManager/types.d.ts +3 -23
  31. package/dist/Shared/Services/app.service.d.ts +3 -3
  32. package/dist/Shared/types.d.ts +8 -1
  33. package/dist/assets/@code-editor.css +1 -1
  34. package/dist/index.js +899 -901
  35. package/package.json +1 -1
  36. package/dist/assets/ic-group-filter-applied.2cdb11e7.svg +0 -20
  37. package/dist/assets/ic-group-filter.ed1869f5.svg +0 -19
  38. package/dist/assets/ic-input.57281408.svg +0 -3
  39. package/dist/assets/ic-locked.dd40e181.svg +0 -3
  40. package/dist/assets/ic-storage.03f282b6.svg +0 -21
  41. package/dist/assets/ic-tag.5fdc7834.svg +0 -3
  42. package/dist/assets/ic-warning-fill.bfea8b38.svg +0 -4
  43. package/dist/assets/img-mechanical-operation.04a318d6.svg +0 -17
@@ -1,7 +1,7 @@
1
1
  import { j as n, au as T, aw as J, av as K } from "./@vendor-3ORIJA0h.js";
2
2
  import V, { useState as q, useEffect as Y, forwardRef as G, useMemo as E } from "react";
3
3
  import z, { getDefaultRegistry as Q } from "@rjsf/core";
4
- import { T as O, j as F, c as w, b as N, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-CYgjiVvr.js";
4
+ import { T as O, j as F, c as w, b as N, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-BeYNS9hk.js";
5
5
  import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as re, ADDITIONAL_PROPERTY_FLAG as L, errorId as se, englishStringTranslator as ae, TranslatableString as oe, titleId as le, canExpand as ie, deepEquals as ce } from "@rjsf/utils";
6
6
  import { ReactComponent as de } from "./assets/ic-add.cfaa779b.svg";
7
7
  import { ReactComponent as ue } from "./assets/ic-warning.ecf7ff97.svg";
@@ -18,7 +18,7 @@ export declare function extractImage(image: string): string;
18
18
  export declare function createGitCommitUrl(url: string, revision: string): string;
19
19
  export declare function fetchChartTemplateVersions(): Promise<ResponseType<any>>;
20
20
  export declare const getDefaultConfig: () => Promise<ResponseType>;
21
- export declare function getEnvironmentListMinPublic(includeAllowedDeploymentTypes?: boolean, options?: APIOptions): Promise<ResponseType<any>>;
21
+ export declare function getEnvironmentListMinPublic(includeAllowedDeploymentTypes?: boolean): Promise<ResponseType<any>>;
22
22
  export declare function getClusterListMin(): Promise<ResponseType<any>>;
23
23
  export declare const getResourceGroupListRaw: (clusterId: string) => Promise<ResponseType<ApiResourceType>>;
24
24
  export declare function getNamespaceListMin(clusterIdsCsv: string, abortControllerRef?: APIOptions['abortControllerRef']): Promise<EnvironmentListHelmResponse>;
@@ -1,4 +1,3 @@
1
- import { SelectPickerOptionType } from '../Shared/Components';
2
1
  export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
3
2
  export declare const Host: string;
4
3
  export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
@@ -365,5 +364,3 @@ export declare enum SSOProvider {
365
364
  oidc = "oidc",
366
365
  openshift = "openshift"
367
366
  }
368
- export declare const BULK_DEPLOY_LATEST_IMAGE_TAG: SelectPickerOptionType<string>;
369
- export declare const BULK_DEPLOY_ACTIVE_IMAGE_TAG: SelectPickerOptionType<string>;
@@ -1,3 +1,3 @@
1
1
  import { ErrorPageType } from './Types';
2
- declare const ErrorPage: ({ code, image, title, subTitle, imageType, redirectURL, reload, on404Redirect }: ErrorPageType) => JSX.Element;
2
+ declare const ErrorPage: ({ code, image, title, subTitle, imageType, redirectURL, reload }: ErrorPageType) => JSX.Element;
3
3
  export default ErrorPage;
@@ -1,3 +1,3 @@
1
1
  import { ErrorScreenManagerProps } from './Types';
2
- declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, redirectURL, on404Redirect, imageType, }: ErrorScreenManagerProps) => JSX.Element;
2
+ declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, redirectURL, imageType, }: ErrorScreenManagerProps) => JSX.Element;
3
3
  export default ErrorScreenManager;
@@ -10,7 +10,7 @@ interface ConditionalWrapper<T> {
10
10
  children: T;
11
11
  }
12
12
  export declare const ConditionalWrap: React.FC<ConditionalWrapper<any>>;
13
- export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 1 | -1 | 0;
13
+ export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 1 | 0 | -1;
14
14
  export declare const stopPropagation: (event: any) => void;
15
15
  export declare const preventDefault: (event: SyntheticEvent) => void;
16
16
  export declare function useThrottledEffect(callback: any, delay: any, deps?: any[]): void;
@@ -1,3 +1,2 @@
1
- export type { SupportedKeyboardKeysType } from './types';
2
1
  export { default as useRegisterShortcut } from './UseRegisterShortcut';
3
2
  export { default as UseRegisterShortcutProvider } from './UseRegisterShortcutProvider';
@@ -1,6 +1,6 @@
1
1
  import { ShortcutType } from './types';
2
2
  export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
3
- keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
3
+ keys: ("N" | "R" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "/" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "Enter" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
4
4
  id: string;
5
5
  };
6
6
  export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
@@ -1,3 +1,3 @@
1
1
  import { default as RJSF } from '@rjsf/core';
2
2
  import { FormProps } from './types';
3
- export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "tagName" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "acceptCharset" | "action" | "method" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
3
+ export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "acceptCharset" | "action" | "method" | "noValidate" | "tagName" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
@@ -13,7 +13,7 @@ export declare const getRedirectionProps: (url: string) => React.AnchorHTMLAttri
13
13
  /**
14
14
  * Infers the type for json schema from value type
15
15
  */
16
- export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
16
+ export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "null" | "array";
17
17
  export declare const conformPathToPointers: (path: string) => string;
18
18
  export declare const parseSchemaHiddenType: (hiddenSchema: HiddenType) => MetaHiddenType;
19
19
  export declare const getSchemaPathToUpdatePathMap: (schema: RJSFFormSchema) => Record<string, string>;
@@ -141,29 +141,20 @@ export interface GenericEmptyStateType {
141
141
  export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'>, Pick<ErrorScreenManagerProps, 'reload' | 'redirectURL'> {
142
142
  code: number;
143
143
  redirectURL?: string;
144
- on404Redirect?: () => void;
145
144
  reload?: () => void;
146
145
  }
147
- export type ErrorScreenManagerProps = {
146
+ export interface ErrorScreenManagerProps {
148
147
  code?: number;
149
148
  imageType?: ImageType;
150
149
  reload?: (...args: any[]) => any;
151
150
  subtitle?: React.ReactChild;
152
151
  reloadClass?: string;
153
- } & ({
154
152
  /**
155
153
  * Would be used to redirect URL in case of 404
156
154
  * @default - APP_LIST
157
155
  */
158
156
  redirectURL?: string;
159
- on404Redirect?: never;
160
- } | {
161
- redirectURL?: never;
162
- on404Redirect: () => void;
163
- } | {
164
- redirectURL?: never;
165
- on404Redirect?: never;
166
- });
157
+ }
167
158
  export interface ErrorScreenNotAuthorizedProps {
168
159
  subtitle?: React.ReactChild;
169
160
  title?: string;
@@ -393,8 +384,6 @@ export interface CDMaterialListModalServiceUtilProps {
393
384
  artifactId?: number;
394
385
  artifactStatus?: string;
395
386
  disableDefaultSelection?: boolean;
396
- isExceptionUser: boolean;
397
- isApprovalConfigured: boolean;
398
387
  }
399
388
  export interface CDMaterialType {
400
389
  index: number;
@@ -9,7 +9,7 @@ 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: import('react').MutableRefObject<RefObject<HTMLButtonElement | HTMLAnchorElement>[]>;
12
+ itemsRef: import('react').MutableRefObject<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
  };
@@ -26,16 +26,12 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
26
26
  about?: string;
27
27
  is?: string;
28
28
  security?: string;
29
- hidden?: boolean;
30
- prefix?: string;
31
- resource?: string;
32
- draggable?: boolean | "true" | "false";
33
- onClick?: import('react').MouseEventHandler<HTMLDivElement>;
34
29
  onMouseEnter?: import('react').MouseEventHandler<HTMLDivElement>;
35
30
  "aria-describedby"?: string;
36
31
  "aria-errormessage"?: string;
37
32
  "aria-label"?: string;
38
33
  "aria-labelledby"?: string;
34
+ onClick?: import('react').MouseEventHandler<HTMLDivElement>;
39
35
  defaultChecked?: boolean;
40
36
  suppressContentEditableWarning?: boolean;
41
37
  suppressHydrationWarning?: boolean;
@@ -43,6 +39,8 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
43
39
  contentEditable?: "inherit" | (boolean | "true" | "false");
44
40
  contextMenu?: string;
45
41
  dir?: string;
42
+ draggable?: boolean | "true" | "false";
43
+ hidden?: boolean;
46
44
  lang?: string;
47
45
  placeholder?: string;
48
46
  spellCheck?: boolean | "true" | "false";
@@ -51,7 +49,9 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
51
49
  radioGroup?: string;
52
50
  datatype?: string;
53
51
  inlist?: any;
52
+ prefix?: string;
54
53
  property?: string;
54
+ resource?: string;
55
55
  typeof?: string;
56
56
  vocab?: string;
57
57
  autoCapitalize?: string;
@@ -67,14 +67,14 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
67
67
  inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal";
68
68
  "aria-activedescendant"?: string;
69
69
  "aria-atomic"?: boolean | "true" | "false";
70
- "aria-autocomplete"?: "none" | "list" | "inline" | "both";
70
+ "aria-autocomplete"?: "list" | "none" | "inline" | "both";
71
71
  "aria-busy"?: boolean | "true" | "false";
72
72
  "aria-checked"?: boolean | "true" | "false" | "mixed";
73
73
  "aria-colcount"?: number;
74
74
  "aria-colindex"?: number;
75
75
  "aria-colspan"?: number;
76
76
  "aria-controls"?: string;
77
- "aria-current"?: boolean | "time" | "location" | "true" | "false" | "page" | "step" | "date";
77
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
78
78
  "aria-details"?: string;
79
79
  "aria-disabled"?: boolean | "true" | "false";
80
80
  "aria-dropeffect"?: "link" | "none" | "popup" | "copy" | "execute" | "move";
@@ -66,12 +66,12 @@ import { ButtonComponentType, ButtonStyleType, ButtonVariantType } from './types
66
66
  * ```
67
67
  */
68
68
  declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
69
- ref?: import('react').Ref<HTMLButtonElement>;
70
- component?: ButtonComponentType.button;
71
- buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
69
+ ref?: import('react').Ref<HTMLAnchorElement>;
70
+ component: ButtonComponentType.anchor;
72
71
  linkProps?: never;
73
- anchorProps?: never;
74
- onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
72
+ buttonProps?: never;
73
+ anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
74
+ onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
75
75
  } & {
76
76
  id?: string;
77
77
  variant?: ButtonVariantType;
@@ -100,13 +100,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
100
100
  startIcon?: import('react').ReactElement;
101
101
  endIcon?: import('react').ReactElement;
102
102
  fontWeight?: "bold" | "normal";
103
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
104
- ref?: import('react').Ref<HTMLButtonElement>;
105
- component?: ButtonComponentType.button;
106
- buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
103
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
104
+ ref?: import('react').Ref<HTMLAnchorElement>;
105
+ component: ButtonComponentType.anchor;
107
106
  linkProps?: never;
108
- anchorProps?: never;
109
- onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
107
+ buttonProps?: never;
108
+ anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
109
+ onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
110
110
  } & {
111
111
  id?: string;
112
112
  variant?: ButtonVariantType;
@@ -135,13 +135,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
135
135
  startIcon?: never;
136
136
  endIcon?: never;
137
137
  fontWeight?: never;
138
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
139
- ref?: import('react').Ref<HTMLButtonElement>;
140
- component?: ButtonComponentType.button;
141
- buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
138
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
139
+ ref?: import('react').Ref<HTMLAnchorElement>;
140
+ component: ButtonComponentType.anchor;
142
141
  linkProps?: never;
143
- anchorProps?: never;
144
- onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
142
+ buttonProps?: never;
143
+ anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
144
+ onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
145
145
  } & {
146
146
  id?: string;
147
147
  variant?: ButtonVariantType;
@@ -164,13 +164,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
164
164
  startIcon?: import('react').ReactElement;
165
165
  endIcon?: import('react').ReactElement;
166
166
  fontWeight?: "bold" | "normal";
167
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
168
- ref?: import('react').Ref<HTMLButtonElement>;
169
- component?: ButtonComponentType.button;
170
- buttonProps?: Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "children" | "styles" | "className" | "disabled" | "onClick">;
167
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
168
+ ref?: import('react').Ref<HTMLAnchorElement>;
169
+ component: ButtonComponentType.anchor;
171
170
  linkProps?: never;
172
- anchorProps?: never;
173
- onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
171
+ buttonProps?: never;
172
+ anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
173
+ onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
174
174
  } & {
175
175
  id?: string;
176
176
  variant?: ButtonVariantType;
@@ -193,13 +193,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
193
193
  startIcon?: never;
194
194
  endIcon?: never;
195
195
  fontWeight?: never;
196
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
197
- ref?: import('react').Ref<HTMLAnchorElement>;
198
- component: ButtonComponentType.link;
199
- linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
200
- buttonProps?: never;
196
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
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
201
  anchorProps?: never;
202
- onClick?: import('react-router-dom').LinkProps["onClick"];
202
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
203
203
  } & {
204
204
  id?: string;
205
205
  variant?: ButtonVariantType;
@@ -228,13 +228,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
228
228
  startIcon?: import('react').ReactElement;
229
229
  endIcon?: import('react').ReactElement;
230
230
  fontWeight?: "bold" | "normal";
231
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
232
- ref?: import('react').Ref<HTMLAnchorElement>;
233
- component: ButtonComponentType.link;
234
- linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
235
- buttonProps?: never;
231
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
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
236
  anchorProps?: never;
237
- onClick?: import('react-router-dom').LinkProps["onClick"];
237
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
238
238
  } & {
239
239
  id?: string;
240
240
  variant?: ButtonVariantType;
@@ -263,13 +263,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
263
263
  startIcon?: never;
264
264
  endIcon?: never;
265
265
  fontWeight?: never;
266
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
267
- ref?: import('react').Ref<HTMLAnchorElement>;
268
- component: ButtonComponentType.link;
269
- linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
270
- buttonProps?: never;
266
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
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
271
  anchorProps?: never;
272
- onClick?: import('react-router-dom').LinkProps["onClick"];
272
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
273
273
  } & {
274
274
  id?: string;
275
275
  variant?: ButtonVariantType;
@@ -292,13 +292,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
292
292
  startIcon?: import('react').ReactElement;
293
293
  endIcon?: import('react').ReactElement;
294
294
  fontWeight?: "bold" | "normal";
295
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
296
- ref?: import('react').Ref<HTMLAnchorElement>;
297
- component: ButtonComponentType.link;
298
- linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
299
- buttonProps?: never;
295
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
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
300
  anchorProps?: never;
301
- onClick?: import('react-router-dom').LinkProps["onClick"];
301
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
302
302
  } & {
303
303
  id?: string;
304
304
  variant?: ButtonVariantType;
@@ -321,13 +321,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
321
321
  startIcon?: never;
322
322
  endIcon?: never;
323
323
  fontWeight?: never;
324
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
324
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
325
325
  ref?: import('react').Ref<HTMLAnchorElement>;
326
- component: ButtonComponentType.anchor;
327
- linkProps?: never;
326
+ component: ButtonComponentType.link;
327
+ linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
328
328
  buttonProps?: never;
329
- anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
330
- onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
329
+ anchorProps?: never;
330
+ onClick?: import('react-router-dom').LinkProps["onClick"];
331
331
  } & {
332
332
  id?: string;
333
333
  variant?: ButtonVariantType;
@@ -356,13 +356,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
356
356
  startIcon?: import('react').ReactElement;
357
357
  endIcon?: import('react').ReactElement;
358
358
  fontWeight?: "bold" | "normal";
359
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
359
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
360
360
  ref?: import('react').Ref<HTMLAnchorElement>;
361
- component: ButtonComponentType.anchor;
362
- linkProps?: never;
361
+ component: ButtonComponentType.link;
362
+ linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
363
363
  buttonProps?: never;
364
- anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
365
- onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
364
+ anchorProps?: never;
365
+ onClick?: import('react-router-dom').LinkProps["onClick"];
366
366
  } & {
367
367
  id?: string;
368
368
  variant?: ButtonVariantType;
@@ -391,13 +391,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
391
391
  startIcon?: never;
392
392
  endIcon?: never;
393
393
  fontWeight?: never;
394
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
394
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
395
395
  ref?: import('react').Ref<HTMLAnchorElement>;
396
- component: ButtonComponentType.anchor;
397
- linkProps?: never;
396
+ component: ButtonComponentType.link;
397
+ linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
398
398
  buttonProps?: never;
399
- anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
400
- onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
399
+ anchorProps?: never;
400
+ onClick?: import('react-router-dom').LinkProps["onClick"];
401
401
  } & {
402
402
  id?: string;
403
403
  variant?: ButtonVariantType;
@@ -420,13 +420,13 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
420
420
  startIcon?: import('react').ReactElement;
421
421
  endIcon?: import('react').ReactElement;
422
422
  fontWeight?: "bold" | "normal";
423
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
423
+ }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "fullWidth" | "fontWeight" | "ariaLabel" | "icon" | "onClick" | "component" | "buttonProps" | "linkProps" | "anchorProps" | "isLoading" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy"> | Pick<{
424
424
  ref?: import('react').Ref<HTMLAnchorElement>;
425
- component: ButtonComponentType.anchor;
426
- linkProps?: never;
425
+ component: ButtonComponentType.link;
426
+ linkProps: Omit<import('react-router-dom').LinkProps, "children" | "styles" | "className" | "onClick">;
427
427
  buttonProps?: never;
428
- anchorProps: Omit<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "styles" | "className" | "onClick">;
429
- onClick?: import('react').AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
428
+ anchorProps?: never;
429
+ onClick?: import('react-router-dom').LinkProps["onClick"];
430
430
  } & {
431
431
  id?: string;
432
432
  variant?: ButtonVariantType;
@@ -449,5 +449,5 @@ declare const Button: import('react').ForwardRefExoticComponent<(Pick<{
449
449
  startIcon?: never;
450
450
  endIcon?: never;
451
451
  fontWeight?: never;
452
- }, "style" | "text" | "id" | "size" | "tooltipProps" | "dataTestId" | "disabled" | "startIcon" | "endIcon" | "variant" | "ariaLabel" | "icon" | "buttonProps" | "isLoading" | "onClick" | "fullWidth" | "fontWeight" | "component" | "linkProps" | "anchorProps" | "isOpacityHoverChild" | "triggerAutoClickTimestamp" | "showTooltip" | "showAriaLabelInTippy">) & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
452
+ }, "style" | "text" | "id" | "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>>;
453
453
  export default Button;
@@ -10,7 +10,7 @@ export declare const getUpdatedSearchMatchesCount: (newQuery: SearchQuery, view:
10
10
  current: number;
11
11
  };
12
12
  export declare const updateDiffMinimapValues: (view: MergeView, transactions: readonly Transaction[], side: "a" | "b") => void;
13
- export declare const getScanLimit: (lhsValue: string, value: string) => 10000 | 500 | 5000 | 15000 | 20000;
13
+ export declare const getScanLimit: (lhsValue: string, value: string) => 500 | 10000 | 5000 | 15000 | 20000;
14
14
  export declare const getFoldGutterElement: (open: boolean) => HTMLSpanElement;
15
15
  export declare const getReadOnlyElement: () => HTMLDivElement;
16
16
  export declare const getRevertControlButton: () => HTMLButtonElement;
@@ -11,7 +11,7 @@ export interface GenericModalProps extends Partial<Pick<BackdropProps, 'onEscape
11
11
  * Width of the modal (in pixels).
12
12
  * @default 600
13
13
  */
14
- width?: 500 | 600 | 800;
14
+ width?: 450 | 500 | 600 | 800;
15
15
  /**
16
16
  * Determines if the modal should close when the user clicks outside of it (on the backdrop).
17
17
  * @default false
@@ -2,7 +2,7 @@ import { HelpButtonActionMenuProps } from './types';
2
2
  export declare const getDateInMilliseconds: (days: any) => number;
3
3
  export declare const handlePostHogEventUpdate: (eventName: string) => Promise<void>;
4
4
  export declare const setActionWithExpiry: (key: string, days: number) => void;
5
- export declare const getHelpActionMenuOptions: ({ isEnterprise, isTrial, }: {
5
+ export declare const getHelpActionMenuOptions: ({ isEnterprise, isTrialOrFreemium, }: {
6
6
  isEnterprise: boolean;
7
- isTrial: boolean;
7
+ isTrialOrFreemium: boolean;
8
8
  }) => HelpButtonActionMenuProps["options"];
@@ -108,8 +108,6 @@ export declare const iconMap: {
108
108
  'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
109
109
  'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
110
110
  'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
111
- 'ic-group-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
112
- 'ic-group-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
113
111
  'ic-hand-pointing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
114
112
  'ic-heart-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
115
113
  'ic-heart-red-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -124,7 +122,6 @@ export declare const iconMap: {
124
122
  'ic-info-filled-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
125
123
  'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
126
124
  'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
127
- 'ic-input': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
128
125
  'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
129
126
  'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
130
127
  'ic-k3s': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -141,7 +138,6 @@ export declare const iconMap: {
141
138
  'ic-linked-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
142
139
  'ic-list-bullets': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
143
140
  'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
144
- 'ic-locked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
145
141
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
146
142
  'ic-logs': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
147
143
  'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -192,7 +188,6 @@ export declare const iconMap: {
192
188
  'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
193
189
  'ic-stamp': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
194
190
  'ic-stop-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
195
- 'ic-storage': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
196
191
  'ic-strategy-blue-green-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
197
192
  'ic-strategy-blue-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
198
193
  'ic-strategy-canary-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -204,7 +199,6 @@ export declare const iconMap: {
204
199
  'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
205
200
  'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
206
201
  'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
207
- 'ic-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
208
202
  'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
209
203
  'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
210
204
  'ic-terminal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -222,9 +216,6 @@ export declare const iconMap: {
222
216
  'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
223
217
  'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
224
218
  'ic-view-variable-toggle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
225
- 'ic-visibility-off': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
226
- 'ic-visibility-on': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
227
- 'ic-warning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
228
219
  'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
229
220
  'ic-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
230
221
  'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -1,6 +1,5 @@
1
1
  import { IllustrationBaseProps } from './types';
2
2
  export declare const illustrationMap: {
3
- 'img-mechanical-operation': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
4
3
  'img-code': string;
5
4
  'img-man-on-rocket': string;
6
5
  'img-no-result': string;
@@ -1,3 +1,3 @@
1
1
  import { DevtronLicenseCardProps } from './types';
2
- export declare const DevtronLicenseCard: ({ enterpriseName, licenseKey, licenseSuffix, expiryDate, licenseStatus, isTrial, ttl, appTheme, handleCopySuccess, }: DevtronLicenseCardProps) => JSX.Element;
2
+ export declare const DevtronLicenseCard: ({ enterpriseName, licenseKey, licenseSuffix, expiryDate, licenseStatus, isTrial, isFreemium, ttl, appTheme, handleCopySuccess, licenseStatusError, }: DevtronLicenseCardProps) => JSX.Element;
3
3
  export default DevtronLicenseCard;
@@ -0,0 +1 @@
1
+ export declare const ALLOWED_CLUSTER_IN_FREEMIUM = 2;
@@ -1,5 +1,5 @@
1
1
  import { AppThemeType } from '../../Providers';
2
- import { DevtronLicenseBaseDTO, DevtronLicenseDTO } from '../../types';
2
+ import { DevtronLicenseBaseDTO, DevtronLicenseDTO, LicenseErrorStruct } from '../../types';
3
3
  export declare enum LicenseStatus {
4
4
  ACTIVE = "ACTIVE",
5
5
  EXPIRED = "EXPIRED",
@@ -11,7 +11,9 @@ export type DevtronLicenseCardProps = {
11
11
  ttl: number;
12
12
  licenseStatus: LicenseStatus;
13
13
  isTrial: boolean;
14
+ isFreemium: boolean;
14
15
  appTheme: AppThemeType;
16
+ licenseStatusError: LicenseErrorStruct;
15
17
  } & ({
16
18
  licenseKey: string;
17
19
  handleCopySuccess?: () => void;
@@ -21,7 +23,7 @@ export type DevtronLicenseCardProps = {
21
23
  handleCopySuccess?: never;
22
24
  licenseSuffix: string;
23
25
  });
24
- export type DevtronLicenseInfo = Omit<DevtronLicenseCardProps, 'appTheme'> & Pick<DevtronLicenseDTO, 'fingerprint' | 'showLicenseData' | 'licenseStatusError'>;
26
+ export type DevtronLicenseInfo = Omit<DevtronLicenseCardProps, 'appTheme'> & Pick<DevtronLicenseDTO, 'fingerprint' | 'showLicenseData' | 'licenseStatusError' | 'moduleLimits'>;
25
27
  export interface ActivateLicenseDialogProps extends Pick<DevtronLicenseBaseDTO, 'fingerprint'> {
26
28
  enterpriseName: string;
27
29
  handleClose?: () => void;
@@ -1,3 +1,3 @@
1
1
  import { MaterialHistoryProps } from './types';
2
- declare const MaterialHistory: ({ material, pipelineName, selectCommit, isCommitInfoModal }: MaterialHistoryProps) => JSX.Element;
2
+ declare const MaterialHistory: ({ material, pipelineName, ciPipelineId, selectCommit, isCommitInfoModal, }: MaterialHistoryProps) => JSX.Element;
3
3
  export default MaterialHistory;
@@ -2,6 +2,7 @@ import { CIMaterialType } from '../../Services/app.types';
2
2
  export interface MaterialHistoryProps {
3
3
  material: CIMaterialType;
4
4
  pipelineName: string;
5
- selectCommit?: (commitId: string) => void;
5
+ ciPipelineId?: string;
6
+ selectCommit?: (materialId: string, commit: string, ciPipelineId?: string) => void;
6
7
  isCommitInfoModal?: boolean;
7
8
  }