@devtron-labs/devtron-fe-common-lib 1.14.0-pre-0 → 1.14.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 (43) hide show
  1. package/dist/{@code-editor-Bk1EiJbr.js → @code-editor-Da2XaRcI.js} +8934 -9097
  2. package/dist/{@common-rjsf-N-B6bUkj.js → @common-rjsf-CK-nXKwn.js} +7 -7
  3. package/dist/{@framer-motion-u7P-WzAO.js → @framer-motion-DyOLEeMN.js} +1 -1
  4. package/dist/{@react-dates-B9MPAm_X.js → @react-dates-B7d8RWU9.js} +14 -14
  5. package/dist/{@react-select-BjvVd-sE.js → @react-select-Coo19Q6a.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-B8m_4lZW.js → @react-virtualized-sticky-tree-BPjPJDIR.js} +1 -1
  7. package/dist/{@vendor-BtL2Znh4.js → @vendor-D9q4wrnL.js} +10010 -10000
  8. package/dist/Common/Constants.d.ts +10 -0
  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/TippyCustomized.d.ts +1 -1
  12. package/dist/Common/Types.d.ts +6 -10
  13. package/dist/Common/index.d.ts +0 -1
  14. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +11 -11
  15. package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +4 -1
  16. package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
  17. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  18. package/dist/Shared/Components/FeatureDescription/types.d.ts +2 -5
  19. package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -3
  20. package/dist/Shared/Components/GenericInfoCard/types.d.ts +0 -13
  21. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  22. package/dist/Shared/Components/Header/types.d.ts +4 -5
  23. package/dist/Shared/Components/Icon/Icon.d.ts +0 -3
  24. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  25. package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
  26. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +2 -4
  27. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  28. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  29. package/dist/assets/@code-editor.css +1 -1
  30. package/dist/assets/ic-arrow-square-out.3d1a0d41.svg +19 -0
  31. package/dist/index.js +682 -686
  32. package/package.json +1 -1
  33. package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +0 -2
  34. package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +0 -2
  35. package/dist/Shared/DocLink/DocLink.d.ts +0 -2
  36. package/dist/Shared/DocLink/constants.d.ts +0 -91
  37. package/dist/Shared/DocLink/index.d.ts +0 -3
  38. package/dist/Shared/DocLink/types.d.ts +0 -11
  39. package/dist/Shared/DocLink/utils.d.ts +0 -2
  40. package/dist/assets/empty-create.661d9355.png +0 -0
  41. package/dist/assets/ic-app-template.82736707.svg +0 -23
  42. package/dist/assets/ic-devtron-app.a8b688d3.svg +0 -23
  43. package/dist/assets/ic-devtron-job.1b216232.svg +0 -10
@@ -5,6 +5,16 @@ export declare const DEVTRON_HOME_PAGE = "https://devtron.ai/";
5
5
  export declare const DOCUMENTATION_VERSION = "/v/v0.7";
6
6
  export declare const DISCORD_LINK = "https://discord.devtron.ai/";
7
7
  export declare const DEFAULT_JSON_SCHEMA_URI = "https://json-schema.org/draft/2020-12/schema";
8
+ export declare const DOCUMENTATION: {
9
+ APP_METRICS: string;
10
+ APP_TAGS: string;
11
+ APP_OVERVIEW_TAGS: string;
12
+ BLOB_STORAGE: string;
13
+ GLOBAL_CONFIG_BUILD_INFRA: string;
14
+ ENTERPRISE_LICENSE: string;
15
+ KUBE_CONFIG: string;
16
+ TENANT_INSTALLATION: string;
17
+ };
8
18
  export declare const PATTERNS: {
9
19
  STRING: RegExp;
10
20
  DECIMAL_NUMBERS: RegExp;
@@ -1,6 +1,6 @@
1
1
  import { ShortcutType } from './types';
2
2
  export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
3
- keys: ("R" | "Enter" | "Escape" | "." | "Alt" | "F" | "E" | "K" | "X" | "A" | "Home" | "End" | "Space" | "Control" | "Shift" | "Meta" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
3
+ keys: ("R" | "Alt" | "F" | "E" | "K" | "X" | "A" | "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" | "onChange" | "onBlur" | "onSubmit" | "target" | "onFocus" | "onError" | "autoComplete" | "method" | "action" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "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" | "method" | "action" | "tagName" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
@@ -1,2 +1,2 @@
1
1
  import { TippyCustomizedProps } from './Types';
2
- export declare const TippyCustomized: <T extends boolean = false>(props: TippyCustomizedProps<T>) => JSX.Element;
2
+ export declare const TippyCustomized: (props: TippyCustomizedProps) => JSX.Element;
@@ -3,7 +3,7 @@ import { TippyProps } from '@tippyjs/react';
3
3
  import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
4
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
5
5
  import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType } from '../Shared';
6
- import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, DOCUMENTATION, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
6
+ import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
7
7
  /**
8
8
  * Generic response type object with support for overriding the result type
9
9
  *
@@ -77,12 +77,7 @@ export interface CheckboxProps {
77
77
  dataTestId?: string;
78
78
  children?: ReactNode;
79
79
  }
80
- export type TippyWithBaseDocLinkTypes<T extends boolean> = {
81
- isExternalLink?: T;
82
- isEnterprise?: boolean;
83
- documentationLink?: T extends true ? string : keyof typeof DOCUMENTATION;
84
- };
85
- export type TippyCustomizedProps<T extends boolean> = Pick<TippyProps, 'appendTo'> & TippyWithBaseDocLinkTypes<T> & {
80
+ export interface TippyCustomizedProps extends Pick<TippyProps, 'appendTo'> {
86
81
  theme: TippyTheme;
87
82
  visible?: boolean;
88
83
  heading?: ReactNode | string;
@@ -107,13 +102,14 @@ export type TippyCustomizedProps<T extends boolean> = Pick<TippyProps, 'appendTo
107
102
  animation?: string;
108
103
  duration?: number;
109
104
  additionalContent?: ReactNode;
105
+ documentationLink?: string;
110
106
  documentationLinkText?: string;
111
107
  children: React.ReactElement<any>;
112
108
  disableClose?: boolean;
113
- };
114
- export interface InfoIconTippyProps<T extends boolean = false> extends Pick<TippyCustomizedProps<T>, 'heading' | 'infoText' | 'iconClass' | 'documentationLinkText' | 'additionalContent' | 'placement' | 'Icon' | 'headingInfo' | 'documentationLink' | 'isEnterprise' | 'isExternalLink'> {
109
+ }
110
+ export interface InfoIconTippyProps extends Pick<TippyCustomizedProps, 'heading' | 'infoText' | 'iconClass' | 'documentationLink' | 'documentationLinkText' | 'additionalContent' | 'placement' | 'Icon' | 'headingInfo'> {
115
111
  dataTestid?: string;
116
- children?: TippyCustomizedProps<T>['children'];
112
+ children?: TippyCustomizedProps['children'];
117
113
  iconClassName?: string;
118
114
  buttonPadding?: string;
119
115
  }
@@ -1,4 +1,3 @@
1
- export * from '../Shared/DocLink';
2
1
  export * from './AddCDButton';
3
2
  export * from './API';
4
3
  export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
@@ -23,26 +23,22 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
23
23
  role?: import('react').AriaRole;
24
24
  about?: string;
25
25
  is?: string;
26
- hidden?: boolean;
27
- prefix?: string;
28
- resource?: string;
29
- draggable?: boolean | "true" | "false";
30
- onClick?: import('react').MouseEventHandler<HTMLDivElement>;
31
- onChange?: import('react').FormEventHandler<HTMLDivElement>;
32
- onBlur?: import('react').FocusEventHandler<HTMLDivElement>;
33
- onSubmit?: import('react').FormEventHandler<HTMLDivElement>;
34
- dir?: string;
26
+ security?: string;
35
27
  onMouseEnter?: import('react').MouseEventHandler<HTMLDivElement>;
36
28
  "aria-describedby"?: string;
37
29
  "aria-errormessage"?: string;
38
30
  "aria-label"?: string;
39
31
  "aria-labelledby"?: string;
32
+ onClick?: import('react').MouseEventHandler<HTMLDivElement>;
40
33
  defaultChecked?: boolean;
41
34
  suppressContentEditableWarning?: boolean;
42
35
  suppressHydrationWarning?: boolean;
43
36
  accessKey?: string;
44
37
  contentEditable?: "inherit" | (boolean | "true" | "false");
45
38
  contextMenu?: string;
39
+ dir?: string;
40
+ draggable?: boolean | "true" | "false";
41
+ hidden?: boolean;
46
42
  lang?: string;
47
43
  placeholder?: string;
48
44
  spellCheck?: boolean | "true" | "false";
@@ -51,7 +47,9 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
51
47
  radioGroup?: string;
52
48
  datatype?: string;
53
49
  inlist?: any;
50
+ prefix?: string;
54
51
  property?: string;
52
+ resource?: string;
55
53
  typeof?: string;
56
54
  vocab?: string;
57
55
  autoCapitalize?: string;
@@ -63,7 +61,6 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
63
61
  itemID?: string;
64
62
  itemRef?: string;
65
63
  results?: number;
66
- security?: string;
67
64
  unselectable?: "on" | "off";
68
65
  inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal";
69
66
  "aria-activedescendant"?: string;
@@ -78,7 +75,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
78
75
  "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
79
76
  "aria-details"?: string;
80
77
  "aria-disabled"?: boolean | "true" | "false";
81
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup";
78
+ "aria-dropeffect"?: "link" | "none" | "popup" | "copy" | "execute" | "move";
82
79
  "aria-expanded"?: boolean | "true" | "false";
83
80
  "aria-flowto"?: string;
84
81
  "aria-grabbed"?: boolean | "true" | "false";
@@ -127,7 +124,9 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
127
124
  onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLDivElement>;
128
125
  onFocus?: import('react').FocusEventHandler<HTMLDivElement>;
129
126
  onFocusCapture?: import('react').FocusEventHandler<HTMLDivElement>;
127
+ onBlur?: import('react').FocusEventHandler<HTMLDivElement>;
130
128
  onBlurCapture?: import('react').FocusEventHandler<HTMLDivElement>;
129
+ onChange?: import('react').FormEventHandler<HTMLDivElement>;
131
130
  onChangeCapture?: import('react').FormEventHandler<HTMLDivElement>;
132
131
  onBeforeInput?: import('react').FormEventHandler<HTMLDivElement>;
133
132
  onBeforeInputCapture?: import('react').FormEventHandler<HTMLDivElement>;
@@ -135,6 +134,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
135
134
  onInputCapture?: import('react').FormEventHandler<HTMLDivElement>;
136
135
  onReset?: import('react').FormEventHandler<HTMLDivElement>;
137
136
  onResetCapture?: import('react').FormEventHandler<HTMLDivElement>;
137
+ onSubmit?: import('react').FormEventHandler<HTMLDivElement>;
138
138
  onSubmitCapture?: import('react').FormEventHandler<HTMLDivElement>;
139
139
  onInvalid?: import('react').FormEventHandler<HTMLDivElement>;
140
140
  onInvalidCapture?: import('react').FormEventHandler<HTMLDivElement>;
@@ -11,7 +11,10 @@ export declare enum WorkflowRunnerStatusDTO {
11
11
  QUEUED = "Queued",
12
12
  INITIATING = "Initiating",
13
13
  HEALTHY = "Healthy",
14
- DEGRADED = "Degraded"
14
+ DEGRADED = "Degraded",
15
+ MISSING = "Missing",
16
+ UNKNOWN = "Unknown",
17
+ SUSPENDED = "Suspended"
15
18
  }
16
19
  export interface ProcessUnableToFetchOrTimedOutStatusType {
17
20
  timelineData: DeploymentStatusBreakdownItemType;
@@ -1,2 +1,2 @@
1
1
  import { FeatureDescriptionModalProps } from './types';
2
- export declare const FeatureDescriptionModal: ({ title, renderDescriptionContent, closeModalText, docLink, closeModal, imageVariant, SVGImage, imageStyles, tabsConfig, isEnterprise, }: FeatureDescriptionModalProps) => JSX.Element;
2
+ export declare const FeatureDescriptionModal: ({ title, renderDescriptionContent, closeModalText, docLink, closeModal, imageVariant, SVGImage, imageStyles, tabsConfig, }: FeatureDescriptionModalProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { DescriptorProps } from './types';
2
- declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, showInfoIconTippy, docLinkText, dataTestId, additionalContent, showInfoIcon, tabsConfig, isEnterprise, }: DescriptorProps) => JSX.Element;
2
+ declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, showInfoIconTippy, docLinkText, dataTestId, additionalContent, showInfoIcon, tabsConfig, }: DescriptorProps) => JSX.Element;
3
3
  export default FeatureTitleWithInfo;
@@ -1,10 +1,9 @@
1
1
  import { default as React, ReactNode } from 'react';
2
- import { DocLinkProps } from '@Shared/DocLink/types';
3
2
  import { ImageType } from '../../../Common';
4
3
  import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
5
- interface BaseFeatureDescriptionModalProps<T extends boolean = false> {
4
+ interface BaseFeatureDescriptionModalProps {
6
5
  renderDescriptionContent?: () => ReactNode;
7
- docLink?: DocLinkProps<T>['docLinkKey'];
6
+ docLink?: string;
8
7
  imageVariant?: ImageType;
9
8
  SVGImage?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
10
9
  imageStyles?: React.CSSProperties;
@@ -34,7 +33,6 @@ export type FeatureDescriptionModalProps = {
34
33
  title: string;
35
34
  closeModalText?: string;
36
35
  closeModal?: () => void;
37
- isEnterprise?: boolean;
38
36
  } & ((BaseFeatureDescriptionModalProps & {
39
37
  tabsConfig?: never;
40
38
  }) | FeatureDescriptionModalWithTabsConfig);
@@ -55,6 +53,5 @@ export type DescriptorProps = ((Omit<FeatureDescriptionModalProps, 'tabsConfig'>
55
53
  * @default false
56
54
  */
57
55
  showInfoIcon?: boolean;
58
- isEnterprise?: boolean;
59
56
  };
60
57
  export {};
@@ -1,4 +1,2 @@
1
1
  export { default as GenericInfoCard } from './GenericInfoCard.component';
2
- export * from './GenericInfoCardListing';
3
- export { GenericInfoListSkeleton } from './GenericInfoListSkeleton';
4
- export { GenericInfoCardBorderVariant, type GenericInfoCardListingProps, type GenericInfoCardProps } from './types';
2
+ export { GenericInfoCardBorderVariant, type GenericInfoCardProps } from './types';
@@ -1,8 +1,5 @@
1
1
  import { MouseEventHandler, ReactElement } from 'react';
2
2
  import { LinkProps } from 'react-router-dom';
3
- import { GenericFilterEmptyStateProps } from '@Common/EmptyState/types';
4
- import { GenericEmptyStateType } from '../../../Common/Types';
5
- import { APIResponseHandlerProps } from '../APIResponseHandler';
6
3
  type BaseGenericInfoCardProps = {
7
4
  title: string;
8
5
  description: string;
@@ -26,14 +23,4 @@ export type GenericInfoCardProps = {
26
23
  } & Partial<Record<keyof BaseGenericInfoCardProps, never>>) | ({
27
24
  isLoading?: boolean;
28
25
  } & BaseGenericInfoCardProps));
29
- export interface GenericInfoCardListingProps extends Pick<GenericInfoCardProps, 'borderVariant'>, Pick<GenericFilterEmptyStateProps, 'handleClearFilters'> {
30
- list: (Pick<GenericInfoCardProps, 'Icon' | 'author' | 'description' | 'linkProps' | 'onClick' | 'title'> & Record<'id', string>)[];
31
- emptyStateConfig: Pick<GenericEmptyStateType, 'title' | 'subTitle' | 'image' | 'renderButton' | 'renderButton'>;
32
- searchKey?: string;
33
- reloadList: () => void;
34
- error?: APIResponseHandlerProps['error'];
35
- isLoading?: boolean;
36
- }
37
- export interface GenericInfoListSkeletonProps extends Partial<Pick<GenericInfoCardProps, 'borderVariant'>> {
38
- }
39
26
  export {};
@@ -1,3 +1,3 @@
1
1
  import { PageHeaderType } from './types';
2
- declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, showCloseButton, onClose, markAsBeta, tippyProps, isEnterprise, }: PageHeaderType) => JSX.Element;
2
+ declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, showCloseButton, onClose, markAsBeta, tippyProps, }: PageHeaderType) => JSX.Element;
3
3
  export default PageHeader;
@@ -1,12 +1,12 @@
1
1
  import { ModuleStatus } from '../../types';
2
- import { DOCUMENTATION, ResponseType, TippyCustomizedProps } from '../../../Common';
2
+ import { ResponseType, TippyCustomizedProps } from '../../../Common';
3
3
  import { ActionMenuProps } from '../ActionMenu';
4
4
  export declare enum InstallationType {
5
5
  OSS_KUBECTL = "oss_kubectl",
6
6
  OSS_HELM = "oss_helm",
7
7
  ENTERPRISE = "enterprise"
8
8
  }
9
- export interface PageHeaderType<T extends boolean = false> {
9
+ export interface PageHeaderType {
10
10
  headerName?: string;
11
11
  showTabs?: boolean;
12
12
  additionalHeaderInfo?: () => JSX.Element;
@@ -17,14 +17,13 @@ export interface PageHeaderType<T extends boolean = false> {
17
17
  showCloseButton?: boolean;
18
18
  onClose?: () => void;
19
19
  markAsBeta?: boolean;
20
- tippyProps?: Pick<TippyCustomizedProps<T>, 'additionalContent'> & {
20
+ tippyProps?: Pick<TippyCustomizedProps, 'additionalContent'> & {
21
21
  isTippyCustomized?: boolean;
22
- tippyRedirectLink?: keyof typeof DOCUMENTATION;
22
+ tippyRedirectLink?: string;
23
23
  TippyIcon?: React.FunctionComponent<any>;
24
24
  tippyMessage?: string;
25
25
  onClickTippyButton?: () => void;
26
26
  };
27
- isEnterprise?: boolean;
28
27
  }
29
28
  export interface ServerInfo {
30
29
  currentVersion: string;
@@ -6,7 +6,6 @@ export declare const iconMap: {
6
6
  'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
7
7
  'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
8
8
  'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
9
- 'ic-app-template': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
10
9
  'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
11
10
  'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
12
11
  'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -50,9 +49,7 @@ export declare const iconMap: {
50
49
  'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
51
50
  'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
51
  'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
53
- 'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
54
52
  'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
55
- 'ic-devtron-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
56
53
  'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
57
54
  'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
58
55
  'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -1,3 +1,3 @@
1
1
  import { InfoIconTippyProps } from '../../../Common/Types';
2
- declare const InfoIconTippy: <T extends boolean = false>({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, buttonPadding, isEnterprise, isExternalLink, }: InfoIconTippyProps<T>) => JSX.Element;
2
+ declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, buttonPadding, }: InfoIconTippyProps) => JSX.Element;
3
3
  export default InfoIconTippy;
@@ -1,3 +1,3 @@
1
1
  import { ModalSidebarPanelProps } from './types';
2
- declare const ModalSidebarPanel: ({ rootClassName, heading, icon, children, documentationLink, isEnterprise, }: ModalSidebarPanelProps) => JSX.Element;
2
+ declare const ModalSidebarPanel: ({ rootClassName, heading, icon, children, documentationLink, }: ModalSidebarPanelProps) => JSX.Element;
3
3
  export default ModalSidebarPanel;
@@ -1,10 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
- import { DocLinkProps } from '@Shared/DocLink/types';
3
- import { PageHeaderType } from '../Header/types';
4
- export interface ModalSidebarPanelProps<T extends boolean = false> extends Pick<PageHeaderType, 'isEnterprise'> {
2
+ export interface ModalSidebarPanelProps {
5
3
  rootClassName?: string;
6
4
  heading: string | null;
7
5
  icon?: JSX.Element;
8
6
  children?: ReactNode;
9
- documentationLink: DocLinkProps<T>['docLinkKey'];
7
+ documentationLink: string;
10
8
  }
@@ -87,6 +87,6 @@ export declare const getPopoverActualPositionAlignment: ({ position, alignment,
87
87
  triggerRect: DOMRect;
88
88
  popoverRect: DOMRect;
89
89
  }) => {
90
- fallbackPosition: "top" | "right" | "bottom" | "left";
90
+ fallbackPosition: "top" | "bottom" | "right" | "left";
91
91
  fallbackAlignment: "start" | "middle" | "end";
92
92
  };
@@ -1,7 +1,7 @@
1
1
  import { SEVERITIES } from './constants';
2
2
  import { GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, ScanResultDTO, SeveritiesDTO, VulnerabilityCountType } from './types';
3
3
  export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => {
4
- color: "var(--Y500)" | "var(--R700)" | "var(--R500)" | "var(--G500)" | "var(--N300)" | "var(--O500)";
4
+ color: "var(--R500)" | "var(--N300)" | "var(--O500)" | "var(--Y500)" | "var(--G500)" | "var(--R700)";
5
5
  label: "Unknown" | "Critical" | "High" | "Medium" | "Low" | "Failures" | "Successes" | "Exceptions";
6
6
  value: number;
7
7
  }[];