@devtron-labs/devtron-fe-common-lib 1.7.1 → 1.7.2-beta-2

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 (35) hide show
  1. package/dist/{@code-editor-tea3spVD.js → @code-editor-C6vUQZWA.js} +3575 -3489
  2. package/dist/{@common-rjsf-CaHc69mf.js → @common-rjsf-Dz9zHsX6.js} +2 -2
  3. package/dist/{@framer-motion-C88ROIS4.js → @framer-motion-BCnBBNCY.js} +1 -1
  4. package/dist/{@react-dates-Ct1VA7V6.js → @react-dates-B3W7S3ht.js} +20 -20
  5. package/dist/{@react-select-qU4oRypC.js → @react-select-DSiYA_G3.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-DmvoaDNw.js → @react-virtualized-sticky-tree-DIgmxudW.js} +1 -1
  7. package/dist/{@vendor-C6rSXA7p.js → @vendor-C7-HiwfO.js} +4052 -4094
  8. package/dist/Common/Constants.d.ts +1 -0
  9. package/dist/Common/Helper.d.ts +1 -1
  10. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  11. package/dist/Common/InfoColorBar/InfoColourbar.d.ts +3 -0
  12. package/dist/Common/RJSF/Form.d.ts +1 -1
  13. package/dist/Common/Types.d.ts +3 -2
  14. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +4 -0
  15. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +1 -1
  16. package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
  17. package/dist/Shared/Components/CICDHistory/types.d.ts +8 -0
  18. package/dist/Shared/Components/FormFieldWrapper/types.d.ts +3 -27
  19. package/dist/Shared/Components/FormFieldWrapper/utils.d.ts +1 -2
  20. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -1
  21. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +18 -5
  22. package/dist/Shared/Components/InfoBlock/InfoBlock.component.d.ts +3 -0
  23. package/dist/Shared/Components/InfoBlock/constants.d.ts +5 -0
  24. package/dist/Shared/Components/InfoBlock/index.d.ts +2 -0
  25. package/dist/Shared/Components/InfoBlock/types.d.ts +40 -0
  26. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
  27. package/dist/Shared/Components/index.d.ts +1 -0
  28. package/dist/Shared/Helpers.d.ts +3 -1
  29. package/dist/Shared/Providers/types.d.ts +14 -0
  30. package/dist/Shared/Services/common.service.d.ts +2 -1
  31. package/dist/Shared/Services/types.d.ts +6 -0
  32. package/dist/Shared/Store/IndexStore.d.ts +1 -1
  33. package/dist/Shared/types.d.ts +27 -0
  34. package/dist/index.js +516 -510
  35. package/package.json +3 -3
@@ -117,6 +117,7 @@ export declare const ROUTES: {
117
117
  CD_TRIGGER_POST: string;
118
118
  DELETE_RESOURCE: string;
119
119
  NODE_CAPACITY: string;
120
+ ENVIRONMENT_DATA: string;
120
121
  };
121
122
  export declare enum KEY_VALUE {
122
123
  KEY = "key",
@@ -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): 0 | 1 | -1;
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,6 +1,6 @@
1
1
  import { ShortcutType } from './types';
2
2
  export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
3
- keys: ("Alt" | "F" | "E" | "R" | "K" | "Control" | "Shift" | "Meta" | "Escape" | "Enter")[];
3
+ keys: ("Escape" | "Control" | "Alt" | "F" | "E" | "R" | "K" | "Shift" | "Meta" | "Enter")[];
4
4
  id: string;
5
5
  };
6
6
  export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
@@ -1,3 +1,6 @@
1
1
  import { InfoColourBarType } from '../Types';
2
+ /**
3
+ * @deprecated Use InfoBlock instead
4
+ */
2
5
  declare const InfoColourBar: ({ message, classname, Icon, iconClass, iconSize, renderActionButton, linkText, redirectLink, linkOnClick, linkClass, internalLink, styles, hideIcon, textConfig, }: InfoColourBarType) => JSX.Element;
3
6
  export default InfoColourBar;
@@ -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, "name" | "id" | "children" | "className" | "disabled" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "target" | "action" | "method" | "autoComplete" | "tagName" | "noValidate" | "readonly" | "schema" | "uiSchema" | "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<unknown, import('json-schema').JSONSchema7, import('@rjsf/utils').GenericObjectType>>>;
3
+ export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "className" | "children" | "disabled" | "id" | "name" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "noValidate" | "tagName" | "readonly" | "schema" | "uiSchema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "action" | "enctype" | "method" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<unknown, import('json-schema').JSONSchema7, import('@rjsf/utils').GenericObjectType>>>;
@@ -2,7 +2,7 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
2
2
  import { TippyProps } from '@tippyjs/react';
3
3
  import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
4
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
5
- import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO } from '../Shared';
5
+ import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType } from '../Shared';
6
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
@@ -118,7 +118,7 @@ export interface GenericEmptyStateType {
118
118
  /**
119
119
  * @default 'column'
120
120
  */
121
- layout?: 'row' | 'column';
121
+ layout?: ComponentLayoutType;
122
122
  contentClassName?: string;
123
123
  }
124
124
  export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'>, Pick<ErrorScreenManagerProps, 'reload' | 'redirectURL'> {
@@ -158,6 +158,7 @@ interface InfoColourBarTextConfigType {
158
158
  * If given would be shown below the heading (if given)
159
159
  */
160
160
  description: string;
161
+ actionButtonConfig?: ButtonProps;
161
162
  }
162
163
  type InfoColourBarMessageProp = {
163
164
  message: ReactNode;
@@ -96,6 +96,10 @@ export interface SelectedChartDetailsType {
96
96
  selectedChartRefId: number;
97
97
  selectedChart: DeploymentChartVersionType;
98
98
  }
99
+ export declare enum PipelineMigratedFromType {
100
+ HELM_RELEASE = "helmRelease",
101
+ ARGO_APPLICATION = "argoApplication"
102
+ }
99
103
  interface EnvironmentConfigType {
100
104
  id: number;
101
105
  status: number;
@@ -28,7 +28,7 @@ export interface CustomTagType {
28
28
  }
29
29
  export declare enum ReleaseMode {
30
30
  NEW_DEPLOYMENT = "create",
31
- MIGRATE_HELM = "link"
31
+ MIGRATE_EXTERNAL_APPS = "link"
32
32
  }
33
33
  export interface CDFormType {
34
34
  name: string;
@@ -81,6 +81,6 @@ export declare const TERMINAL_STATUS_COLOR_CLASS_MAP: {
81
81
  readonly [x: string]: "cr-5" | "cg-5" | "co-5";
82
82
  };
83
83
  export declare const PROGRESSING_STATUS: {
84
- readonly [x: string]: "progressing" | "starting" | "initiating" | "queued" | "running";
84
+ readonly [x: string]: "running" | "progressing" | "starting" | "initiating" | "queued";
85
85
  };
86
86
  export declare const FAILED_WORKFLOW_STAGE_STATUS_MAP: Record<Extract<WorkflowStageStatusType, WorkflowStageStatusType.ABORTED | WorkflowStageStatusType.FAILED | WorkflowStageStatusType.TIMEOUT>, true>;
@@ -519,6 +519,14 @@ export interface StatusFilterButtonType {
519
519
  handleFilterClick?: (selectedFilter: string) => void;
520
520
  maxInlineFiltersCount?: number;
521
521
  }
522
+ export declare enum NodeStatusDTO {
523
+ Healthy = "Healthy",
524
+ Progressing = "Progressing",
525
+ Unknown = "Unknown",
526
+ Suspended = "Suspended",
527
+ Degraded = "Degraded",
528
+ Missing = "Missing"
529
+ }
522
530
  export declare enum NodeStatus {
523
531
  Degraded = "degraded",
524
532
  Healthy = "healthy",
@@ -1,4 +1,5 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
+ import { BorderConfigType, ComponentLayoutType } from '../../types';
2
3
  export type LabelOrAriaLabelType = {
3
4
  label: ReactNode;
4
5
  ariaLabel?: never;
@@ -18,7 +19,7 @@ export type FormFieldLabelProps = LabelOrAriaLabelType & {
18
19
  /**
19
20
  * Layout of the field
20
21
  */
21
- layout?: 'row' | 'column';
22
+ layout?: ComponentLayoutType;
22
23
  };
23
24
  export interface FormFieldInfoProps extends Pick<FormFieldLabelProps, 'inputId'> {
24
25
  /**
@@ -46,30 +47,5 @@ export interface FormFieldWrapperProps extends Pick<FormFieldLabelProps, 'label'
46
47
  */
47
48
  fullWidth?: boolean;
48
49
  children: ReactElement;
49
- borderRadiusConfig?: {
50
- /**
51
- * If false, the top border radius is not applied
52
- *
53
- * @default true
54
- */
55
- top?: boolean;
56
- /**
57
- * If false, the right border radius is not applied
58
- *
59
- * @default true
60
- */
61
- right?: boolean;
62
- /**
63
- * If false, the bottom border radius is not applied
64
- *
65
- * @default true
66
- */
67
- bottom?: boolean;
68
- /**
69
- * If false, the left border radius is not applied
70
- *
71
- * @default true
72
- */
73
- left?: boolean;
74
- };
50
+ borderRadiusConfig?: BorderConfigType;
75
51
  }
@@ -1,4 +1,4 @@
1
- import { FormFieldInfoProps, FormFieldLabelProps, FormFieldWrapperProps } from './types';
1
+ import { FormFieldInfoProps, FormFieldLabelProps } from './types';
2
2
  export declare const getFormErrorElementId: (inputId: FormFieldLabelProps["inputId"]) => string;
3
3
  export declare const getFormLabelElementId: (inputId: FormFieldLabelProps["inputId"]) => string;
4
4
  export declare const getFormHelperTextElementId: (inputId: FormFieldLabelProps["inputId"]) => string;
@@ -15,4 +15,3 @@ export declare const getFormFieldAriaAttributes: ({ inputId, label, ariaLabel, r
15
15
  'aria-describedby'?: string;
16
16
  'aria-required': boolean;
17
17
  };
18
- export declare const getFormFieldBorderClassName: (borderRadiusConfig?: FormFieldWrapperProps["borderRadiusConfig"]) => string;
@@ -1,3 +1,3 @@
1
1
  import { GenericSectionErrorStateProps } from './types';
2
- declare const GenericSectionErrorState: ({ reload, withBorder, title, subTitle, description, buttonText, rootClassName, useInfoIcon, }: GenericSectionErrorStateProps) => JSX.Element;
2
+ declare const GenericSectionErrorState: ({ reload, withBorder, title, subTitle, description, buttonText, rootClassName, useInfoIcon, progressingProps, }: GenericSectionErrorStateProps) => JSX.Element;
3
3
  export default GenericSectionErrorState;
@@ -1,4 +1,6 @@
1
- export interface GenericSectionErrorStateProps {
1
+ import { ReactNode } from 'react';
2
+ import { ProgressingProps } from '../../../Common/Types';
3
+ export type GenericSectionErrorStateProps = {
2
4
  /**
3
5
  * Handler for reloading the section
4
6
  */
@@ -16,11 +18,11 @@ export interface GenericSectionErrorStateProps {
16
18
  /**
17
19
  * @default 'We could not load the information on this page.'
18
20
  */
19
- subTitle?: string;
21
+ subTitle?: ReactNode;
20
22
  /**
21
23
  * @default 'Please reload or try again later'
22
24
  */
23
- description?: string;
25
+ description?: ReactNode;
24
26
  /**
25
27
  * @default 'Reload'
26
28
  */
@@ -29,10 +31,21 @@ export interface GenericSectionErrorStateProps {
29
31
  * to be applied on parent div
30
32
  */
31
33
  rootClassName?: string;
34
+ } & ({
35
+ /**
36
+ * If provided, would render the Progressing component with given props instead of error icon
37
+ */
38
+ progressingProps: ProgressingProps;
39
+ useInfoIcon?: never;
40
+ } | {
41
+ progressingProps?: never;
32
42
  /**
33
43
  * If true, info icon would be used instead of error
34
44
  *
35
45
  * @default false
36
46
  */
37
- useInfoIcon?: boolean;
38
- }
47
+ useInfoIcon: boolean;
48
+ } | {
49
+ progressingProps?: never;
50
+ useInfoIcon?: never;
51
+ });
@@ -0,0 +1,3 @@
1
+ import { InfoBlockProps } from './types';
2
+ declare const InfoBlock: ({ layout, variant, size, customIcon, buttonProps, heading, description, borderRadiusConfig, borderConfig, }: InfoBlockProps) => JSX.Element;
3
+ export default InfoBlock;
@@ -0,0 +1,5 @@
1
+ import { InfoBlockProps } from './types';
2
+ export declare const VARIANT_TO_BG_MAP: Record<InfoBlockProps['variant'], string>;
3
+ export declare const VARIANT_TO_ICON_MAP: Record<InfoBlockProps['variant'], InfoBlockProps['customIcon']>;
4
+ export declare const CONTAINER_SIZE_TO_CLASS_MAP: Record<InfoBlockProps['size'], string>;
5
+ export declare const SIZE_TO_ICON_CLASS_MAP: Record<InfoBlockProps['size'], string>;
@@ -0,0 +1,2 @@
1
+ export { default as InfoBlock } from './InfoBlock.component';
2
+ export * from './types';
@@ -0,0 +1,40 @@
1
+ import { ComponentSizeType } from '../../constants';
2
+ import { BorderConfigType, ComponentLayoutType } from '../../types';
3
+ import { ReactElement, ReactNode } from 'react';
4
+ import { ButtonProps } from '../Button';
5
+ export type InfoBlockProps = {
6
+ /**
7
+ * @default 'row'
8
+ */
9
+ layout?: ComponentLayoutType;
10
+ /**
11
+ * @default 'information'
12
+ */
13
+ variant?: 'error' | 'help' | 'information' | 'success' | 'warning';
14
+ /**
15
+ * @default ComponentSizeType.large
16
+ */
17
+ size?: Extract<ComponentSizeType, ComponentSizeType.large | ComponentSizeType.medium>;
18
+ /**
19
+ * If given would override the default icon derived from type
20
+ */
21
+ customIcon?: ReactElement;
22
+ buttonProps?: ButtonProps;
23
+ borderConfig?: BorderConfigType;
24
+ borderRadiusConfig?: BorderConfigType;
25
+ } & ({
26
+ /**
27
+ * If string, would apply h tag with necessary classes
28
+ */
29
+ heading: ReactNode;
30
+ /**
31
+ * If string, would apply p tag with necessary classes
32
+ */
33
+ description: ReactNode;
34
+ } | {
35
+ heading?: never;
36
+ description: ReactNode;
37
+ } | {
38
+ heading: ReactNode;
39
+ description?: never;
40
+ });
@@ -1,8 +1,8 @@
1
1
  import { ScanResultDTO, SeveritiesDTO, GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, VulnerabilityCountType } from './types';
2
2
  import { SEVERITIES } from './constants';
3
3
  export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => {
4
- color: "var(--N300)" | "var(--R700)" | "var(--R500)" | "var(--O500)" | "var(--Y500)" | "var(--G500)";
5
- label: "Critical" | "High" | "Medium" | "Low" | "Unknown" | "Failures" | "Successes" | "Exceptions";
4
+ color: "var(--G500)" | "var(--N300)" | "var(--R700)" | "var(--R500)" | "var(--O500)" | "var(--Y500)";
5
+ label: "Unknown" | "Critical" | "High" | "Medium" | "Low" | "Failures" | "Successes" | "Exceptions";
6
6
  value: number;
7
7
  }[];
8
8
  export declare const stringifySeverities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => string;
@@ -60,3 +60,4 @@ export * from './ThemeSwitcher';
60
60
  export * from './TargetPlatforms';
61
61
  export * from './UnsavedChanges';
62
62
  export * from './UnsavedChangesDialog';
63
+ export * from './InfoBlock';
@@ -4,7 +4,7 @@ import { Pair } from 'yaml';
4
4
  import { StrictRJSFSchema } from '@rjsf/utils';
5
5
  import { MaterialHistoryType } from '@Shared/Services/app.types';
6
6
  import { MaterialInfo, SortingOrder, UserApprovalConfigType, ApprovalConfigDataType, UserApprovalInfo } from '../Common';
7
- import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
7
+ import { BorderConfigType, GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
8
8
  import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
9
9
  interface HighlightSearchTextProps {
10
10
  /**
@@ -95,4 +95,6 @@ export declare const checkIfPathIsMatching: (currentPathName: string, customMess
95
95
  export declare const sanitizeTargetPlatforms: (targetPlatforms: TargetPlatformsDTO["targetPlatforms"]) => TargetPlatformItemDTO[];
96
96
  export declare const isAWSCodeCommitURL: (url?: string) => boolean;
97
97
  export declare const renderMaterialIcon: (url?: string) => JSX.Element;
98
+ export declare const deriveBorderRadiusClassFromConfig: (borderRadiusConfig?: BorderConfigType) => string;
99
+ export declare const deriveBorderClassFromConfig: (borderConfig?: BorderConfigType) => string;
98
100
  export {};
@@ -22,6 +22,20 @@ export interface MainContext {
22
22
  };
23
23
  isAirgapped: boolean;
24
24
  isSuperAdmin: boolean;
25
+ featureGitOpsFlags: {
26
+ /**
27
+ * Would define whether gitops (Global config tab) feature is enabled or not
28
+ */
29
+ isFeatureGitOpsEnabled: boolean;
30
+ /**
31
+ * Would define whether user can select allow custom repo in gitops global config
32
+ */
33
+ isFeatureUserDefinedGitOpsEnabled: boolean;
34
+ /**
35
+ * Feature flag for Migrate to devtron from argo cd
36
+ */
37
+ isFeatureArgoCdMigrationEnabled: boolean;
38
+ };
25
39
  isManifestScanningEnabled: boolean;
26
40
  }
27
41
  export interface MainContextProviderProps {
@@ -1,4 +1,5 @@
1
- import { GetPolicyApiUrlProps, GetResourceApiUrlProps } from './types';
1
+ import { EnvironmentDataValuesDTO, GetPolicyApiUrlProps, GetResourceApiUrlProps } from './types';
2
2
  export declare const getResourceApiUrl: <T>({ baseUrl, kind, version, suffix, queryParams }: GetResourceApiUrlProps<T>) => string;
3
3
  export declare const getPolicyApiUrl: <T>({ kind, version, queryParams, suffix }: GetPolicyApiUrlProps<T>) => string;
4
4
  export declare const saveCDPipeline: (request: any) => Promise<import('../../Common').ResponseType<any>>;
5
+ export declare const getEnvironmentData: () => Promise<import('../../Common').ResponseType<EnvironmentDataValuesDTO>>;
@@ -1,3 +1,4 @@
1
+ import { MainContext } from '../Providers';
1
2
  import { getUrlWithSearchParams } from '../../Common';
2
3
  import { PolicyKindType, ResourceKindType, ResourceVersionType } from '../types';
3
4
  export interface ClusterType {
@@ -28,4 +29,9 @@ export interface GetResourceApiUrlProps<T> extends BaseGetApiUrlProps<T, Resourc
28
29
  }
29
30
  export interface GetPolicyApiUrlProps<T> extends Omit<BaseGetApiUrlProps<T, PolicyKindType, ResourceVersionType>, 'baseUrl'> {
30
31
  }
32
+ export interface EnvironmentDataValuesDTO extends Pick<MainContext, 'featureGitOpsFlags'> {
33
+ isAirGapEnvironment: boolean;
34
+ isManifestScanningEnabled: boolean;
35
+ canOnlyViewPermittedEnvOrgLevel: boolean;
36
+ }
31
37
  export {};
@@ -1,6 +1,6 @@
1
1
  import { AppDetails, AppType, EnvDetails, Node, PodMetaData, iNode } from '../types';
2
2
  export declare function getiNodesByRootNodeWithChildNodes(_nodes: Array<Node>, rootNodes: Array<iNode>, podMetadata?: Array<PodMetaData>): Array<iNode>;
3
- export declare const reduceKindStatus: (aggregatedStatus: string, newStatus: string) => "healthy" | "progressing" | "degraded";
3
+ export declare const reduceKindStatus: (aggregatedStatus: string, newStatus: string) => "progressing" | "healthy" | "degraded";
4
4
  export declare function getiNodesByKindWithChildNodes(_nodes: Array<Node>, _kind: string): Array<iNode>;
5
5
  export declare function getPodsRootParentNameAndStatus(_nodes: Array<Node>): Array<[string, string]>;
6
6
  export declare const getPodsForRootNodeName: (_rootNode: string, _treeNodes: Array<Node>) => Array<iNode>;
@@ -824,4 +824,31 @@ export declare const TriggerType: {
824
824
  readonly Auto: "AUTOMATIC";
825
825
  readonly Manual: "MANUAL";
826
826
  };
827
+ export type ComponentLayoutType = 'row' | 'column';
828
+ export interface BorderConfigType {
829
+ /**
830
+ * If false, (border-radius/border)-top is not applied
831
+ *
832
+ * @default true
833
+ */
834
+ top?: boolean;
835
+ /**
836
+ * If false, (border-radius/border)-right is not applied
837
+ *
838
+ * @default true
839
+ */
840
+ right?: boolean;
841
+ /**
842
+ * If false, (border-radius/border)-bottom is not applied
843
+ *
844
+ * @default true
845
+ */
846
+ bottom?: boolean;
847
+ /**
848
+ * If false, (border-radius/border)-left is not applied
849
+ *
850
+ * @default true
851
+ */
852
+ left?: boolean;
853
+ }
827
854
  export {};