@devtron-labs/devtron-fe-common-lib 1.19.0-pre-6 → 1.19.1

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 (65) hide show
  1. package/dist/{@code-editor-C4ZrS_SZ.js → @code-editor-CIWrAu92.js} +8352 -8405
  2. package/dist/{@common-rjsf-CJeMTP5a.js → @common-rjsf-BtyeBkM1.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/types.d.ts +0 -1
  10. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  11. package/dist/Common/RJSF/Form.d.ts +1 -1
  12. package/dist/Common/RJSF/utils.d.ts +1 -1
  13. package/dist/Common/Types.d.ts +5 -13
  14. package/dist/Common/index.d.ts +0 -1
  15. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +8 -8
  16. package/dist/Shared/Components/Backdrop/types.d.ts +2 -11
  17. package/dist/Shared/Components/Button/Button.component.d.ts +68 -68
  18. package/dist/Shared/Components/CodeEditor/utils.d.ts +1 -1
  19. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  20. package/dist/Shared/Components/DTFocusTrap/types.d.ts +9 -0
  21. package/dist/Shared/Components/GenericModal/types.d.ts +1 -1
  22. package/dist/Shared/Components/Header/utils.d.ts +2 -2
  23. package/dist/Shared/Components/Icon/Icon.d.ts +1 -12
  24. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
  25. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
  26. package/dist/Shared/Components/License/constants.d.ts +1 -0
  27. package/dist/Shared/Components/License/types.d.ts +4 -2
  28. package/dist/Shared/Components/License/utils.d.ts +2 -2
  29. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  30. package/dist/Shared/Components/MaterialHistory/types.d.ts +2 -1
  31. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  32. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  33. package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
  34. package/dist/Shared/Components/Table/types.d.ts +4 -8
  35. package/dist/Shared/Components/Table/utils.d.ts +1 -1
  36. package/dist/Shared/Components/index.d.ts +0 -1
  37. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  38. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -31
  39. package/dist/Shared/Services/ToastManager/ToastContent.d.ts +1 -2
  40. package/dist/Shared/Services/ToastManager/constants.d.ts +2 -2
  41. package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +1 -1
  42. package/dist/Shared/Services/ToastManager/types.d.ts +3 -23
  43. package/dist/Shared/Services/app.service.d.ts +3 -3
  44. package/dist/Shared/types.d.ts +9 -2
  45. package/dist/assets/@code-editor.css +1 -1
  46. package/dist/assets/ic-upgrade-enterprise.49cbd888.svg +320 -0
  47. package/dist/index.js +899 -903
  48. package/package.json +1 -1
  49. package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +0 -27
  50. package/dist/Common/InteractiveCellText/index.d.ts +0 -2
  51. package/dist/Common/InteractiveCellText/types.d.ts +0 -10
  52. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +0 -3
  53. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +0 -1
  54. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +0 -4
  55. package/dist/assets/ic-diff-added.6ef6f938.svg +0 -3
  56. package/dist/assets/ic-diff-deleted.54eb24dd.svg +0 -3
  57. package/dist/assets/ic-diff-updated.294b925e.svg +0 -4
  58. package/dist/assets/ic-group-filter-applied.2cdb11e7.svg +0 -20
  59. package/dist/assets/ic-group-filter.ed1869f5.svg +0 -19
  60. package/dist/assets/ic-input.57281408.svg +0 -3
  61. package/dist/assets/ic-locked.dd40e181.svg +0 -3
  62. package/dist/assets/ic-storage.03f282b6.svg +0 -21
  63. package/dist/assets/ic-tag.5fdc7834.svg +0 -3
  64. package/dist/assets/ic-warning-fill.bfea8b38.svg +0 -4
  65. 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-C4ZrS_SZ.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-CIWrAu92.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';
@@ -27,7 +27,6 @@ export declare const KEYBOARD_KEYS_MAP: {
27
27
  readonly Delete: "⌦";
28
28
  readonly '.': ".";
29
29
  readonly Space: "Space";
30
- readonly '>': ">";
31
30
  };
32
31
  export type SupportedKeyboardKeysType = keyof typeof KEYBOARD_KEYS_MAP;
33
32
  export interface ShortcutType {
@@ -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>;
@@ -26,6 +26,9 @@ export interface ResponseType<T = any> {
26
26
  }
27
27
  export interface APIOptions {
28
28
  timeout?: number;
29
+ /**
30
+ * @deprecated Use abortController instead
31
+ */
29
32
  signal?: AbortSignal;
30
33
  abortControllerRef?: MutableRefObject<AbortController>;
31
34
  /**
@@ -138,29 +141,20 @@ export interface GenericEmptyStateType {
138
141
  export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'>, Pick<ErrorScreenManagerProps, 'reload' | 'redirectURL'> {
139
142
  code: number;
140
143
  redirectURL?: string;
141
- on404Redirect?: () => void;
142
144
  reload?: () => void;
143
145
  }
144
- export type ErrorScreenManagerProps = {
146
+ export interface ErrorScreenManagerProps {
145
147
  code?: number;
146
148
  imageType?: ImageType;
147
149
  reload?: (...args: any[]) => any;
148
150
  subtitle?: React.ReactChild;
149
151
  reloadClass?: string;
150
- } & ({
151
152
  /**
152
153
  * Would be used to redirect URL in case of 404
153
154
  * @default - APP_LIST
154
155
  */
155
156
  redirectURL?: string;
156
- on404Redirect?: never;
157
- } | {
158
- redirectURL?: never;
159
- on404Redirect: () => void;
160
- } | {
161
- redirectURL?: never;
162
- on404Redirect?: never;
163
- });
157
+ }
164
158
  export interface ErrorScreenNotAuthorizedProps {
165
159
  subtitle?: React.ReactChild;
166
160
  title?: string;
@@ -390,8 +384,6 @@ export interface CDMaterialListModalServiceUtilProps {
390
384
  artifactId?: number;
391
385
  artifactStatus?: string;
392
386
  disableDefaultSelection?: boolean;
393
- isExceptionUser: boolean;
394
- isApprovalConfigured: boolean;
395
387
  }
396
388
  export interface CDMaterialType {
397
389
  index: number;
@@ -25,7 +25,6 @@ export * from './Helper';
25
25
  export * from './Hooks';
26
26
  export * from './ImageTags';
27
27
  export * from './ImageTags.Types';
28
- export * from './InteractiveCellText';
29
28
  export * from './Markdown';
30
29
  export * from './Modals/Modal';
31
30
  export * from './Modals/VisibleModal';
@@ -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";
@@ -1,15 +1,6 @@
1
- import { MouseEvent, ReactNode, SyntheticEvent } from 'react';
1
+ import { MouseEvent, ReactNode } from 'react';
2
2
  import { DTFocusTrapType } from '../DTFocusTrap';
3
- export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus'> {
4
- /**
5
- * Callback function that gets triggered when the Escape key is pressed. \
6
- * Should be wrapped in useCallback to prevent unnecessary re-renders.
7
- * @example
8
- * const handleEscape = useCallback(() => {
9
- * // Handle escape key press
10
- * }, []);
11
- */
12
- onEscape: (e?: SyntheticEvent) => void;
3
+ export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus' | 'onEscape'> {
13
4
  /**
14
5
  * The content to be rendered within the backdrop component.
15
6
  */
@@ -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;
@@ -4,5 +4,5 @@ export declare const useFocusTrapControl: () => {
4
4
  disableFocusTrap: typeof noop;
5
5
  resumeFocusTrap: typeof noop;
6
6
  };
7
- declare const DTFocusTrap: ({ deactivateFocusOnEscape, children, initialFocus }: DTFocusTrapType) => JSX.Element;
7
+ declare const DTFocusTrap: ({ onEscape, deactivateFocusOnEscape, children, initialFocus, }: DTFocusTrapType) => JSX.Element;
8
8
  export default DTFocusTrap;
@@ -8,6 +8,15 @@ type FocusTargetValueOrFalse = FocusTargetValue | false;
8
8
  */
9
9
  type FocusTargetOrFalse = FocusTargetValueOrFalse | (() => FocusTargetValueOrFalse);
10
10
  export interface DTFocusTrapType {
11
+ /**
12
+ * Callback function that gets triggered when the Escape key is pressed. \
13
+ * Should be wrapped in useCallback to prevent unnecessary re-renders.
14
+ * @example
15
+ * const handleEscape = useCallback(() => {
16
+ * // Handle escape key press
17
+ * }, []);
18
+ */
19
+ onEscape: (e?: KeyboardEvent | MouseEvent) => void;
11
20
  /**
12
21
  * If focus should be deactivated on escape, pass false when escape is disabled or has no action
13
22
  * true for cases when we are closing modals or dialogs
@@ -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"];