@devtron-labs/devtron-fe-common-lib 0.2.27 → 0.2.28-beta-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 (40) hide show
  1. package/dist/Shared/Components/Button/Button.component.d.ts +62 -0
  2. package/dist/Shared/Components/Button/constants.d.ts +5 -0
  3. package/dist/Shared/Components/Button/index.d.ts +2 -0
  4. package/dist/Shared/Components/Button/types.d.ts +100 -0
  5. package/dist/Shared/Components/Button/utils.d.ts +2 -0
  6. package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +5 -2
  7. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +2 -2
  8. package/dist/Shared/Components/DeploymentConfigDiff/{types.d.ts → DeploymentConfigDiff.types.d.ts} +27 -3
  9. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +9 -8
  10. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +1 -1
  11. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +2 -2
  12. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +2 -2
  13. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -1
  14. package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +2 -0
  15. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +111 -0
  16. package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +7 -0
  17. package/dist/Shared/Components/TabGroup/index.d.ts +2 -0
  18. package/dist/Shared/Components/index.d.ts +2 -0
  19. package/dist/Shared/Services/app.types.d.ts +7 -1
  20. package/dist/Shared/constants.d.ts +3 -1
  21. package/dist/Shared/types.d.ts +1 -0
  22. package/dist/assets/index.css +1 -1
  23. package/dist/{cssMode-QqXdZhG6.js → cssMode-x8378mRl.js} +1 -1
  24. package/dist/{freemarker2-BUM-ZyuW.js → freemarker2-BWsQwmW-.js} +1 -1
  25. package/dist/{handlebars-DnsDpZjH.js → handlebars-BDhqy8Pp.js} +1 -1
  26. package/dist/{html-CrqZKjj_.js → html-_nNQZvac.js} +1 -1
  27. package/dist/{htmlMode-DXIhiVyH.js → htmlMode-oL0lUZeW.js} +1 -1
  28. package/dist/{index-FMTFtR1h.js → index-BNnOSqx-.js} +20867 -20606
  29. package/dist/index.js +506 -501
  30. package/dist/{javascript-kNcdg9AC.js → javascript-BNxvYyZY.js} +1 -1
  31. package/dist/{jsonMode-BRTFdINU.js → jsonMode-CQuBEu2q.js} +1 -1
  32. package/dist/{liquid-D1NP_VnO.js → liquid-C_-ar4Ha.js} +1 -1
  33. package/dist/{mdx-CNnohuR-.js → mdx-BPqZssj9.js} +1 -1
  34. package/dist/{python-NBcvsOnT.js → python-CQlGPf4O.js} +1 -1
  35. package/dist/{razor-DR4arJeq.js → razor-V1NLlDSz.js} +1 -1
  36. package/dist/{tsMode-BEIDXJeE.js → tsMode-B8ealB6l.js} +1 -1
  37. package/dist/{typescript-C15RwDto.js → typescript-B67H0-4r.js} +1 -1
  38. package/dist/{xml-CT0Bc15w.js → xml-BBa31qjI.js} +1 -1
  39. package/dist/{yaml-xJdWLhuE.js → yaml-H2jvWEXT.js} +1 -1
  40. package/package.json +1 -1
@@ -0,0 +1,62 @@
1
+ import { ButtonProps } from './types';
2
+ /**
3
+ * Generic component for Button.
4
+ * Should be used in combination of variant, size and style.
5
+ *
6
+ * @example Default button
7
+ * ```tsx
8
+ * <Button text="Hello World" />
9
+ * ```
10
+ *
11
+ * @example Custom variant
12
+ * ```tsx
13
+ * <Button text="Hello World" variant={ButtonVariantType.secondary} />
14
+ * ```
15
+ *
16
+ * @example Custom size
17
+ * ```tsx
18
+ * <Button text="Hello World" size={ComponentSizeType.medium} />
19
+ * ```
20
+ *
21
+ * @example Custom style
22
+ * ```tsx
23
+ * <Button text="Hello World" style={ButtonStyleType.positive} />
24
+ * ```
25
+ *
26
+ * @example Disabled state
27
+ * ```tsx
28
+ * <Button text="Hello World" disabled />
29
+ * ```
30
+ *
31
+ * @example Loading state
32
+ * ```tsx
33
+ * <Button text="Hello World" isLoading />
34
+ * ```
35
+ *
36
+ * @example With start icon
37
+ * ```tsx
38
+ * <Button text="Hello World" startIcon={<ICCube />} />
39
+ * ```
40
+ *
41
+ * @example With end icon
42
+ * ```tsx
43
+ * <Button text="Hello World" endIcon={<ICCube />} />
44
+ * ```
45
+ *
46
+ * @example With tippy
47
+ * ```tsx
48
+ * <Button text="Hello World" showTippy tippyContent="Tippy content" />
49
+ * ```
50
+ *
51
+ * @example With onClick
52
+ * ```tsx
53
+ * <Button text="Hello World" onClick={noop} />
54
+ * ```
55
+ *
56
+ * @example Link component
57
+ * ```tsx
58
+ * <Button component={ButtonComponentType.link} linkProps={{ to: '#' }} />
59
+ * ```
60
+ */
61
+ declare const Button: ({ dataTestId, text, variant, size, style, startIcon, endIcon, disabled, isLoading, showTooltip, tooltipProps, ...props }: ButtonProps) => JSX.Element;
62
+ export default Button;
@@ -0,0 +1,5 @@
1
+ import { ProgressingProps } from '../../../Common/Types';
2
+ import { ButtonProps } from './types';
3
+ export declare const BUTTON_SIZE_TO_CLASS_NAME_MAP: Record<ButtonProps['size'], string>;
4
+ export declare const BUTTON_SIZE_TO_ICON_CLASS_NAME_MAP: Record<ButtonProps['size'], string>;
5
+ export declare const BUTTON_SIZE_TO_LOADER_SIZE_MAP: Record<ButtonProps['size'], ProgressingProps['size']>;
@@ -0,0 +1,2 @@
1
+ export { default as Button } from './Button.component';
2
+ export * from './types';
@@ -0,0 +1,100 @@
1
+ import { TooltipProps } from '@Common/Tooltip/types';
2
+ import { ComponentSizeType } from '../../constants';
3
+ import { ButtonHTMLAttributes, ReactElement } from 'react';
4
+ import { LinkProps } from 'react-router-dom';
5
+ export declare enum ButtonVariantType {
6
+ primary = "primary",
7
+ secondary = "secondary",
8
+ borderLess = "border-less",
9
+ text = "text"
10
+ }
11
+ export declare enum ButtonStyleType {
12
+ default = "default",
13
+ negative = "negative",
14
+ positive = "positive",
15
+ warning = "warning",
16
+ neutral = "neutral"
17
+ }
18
+ export declare enum ButtonComponentType {
19
+ button = "button",
20
+ link = "link"
21
+ }
22
+ export type ButtonProps = ({
23
+ /**
24
+ * Component to be rendered from the available options
25
+ *
26
+ * @default ButtonComponentType.button
27
+ */
28
+ component?: ButtonComponentType.button | never;
29
+ /**
30
+ * Props for the button component
31
+ */
32
+ buttonProps?: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'styles' | 'className' | 'disabled' | 'onClick'>;
33
+ linkProps?: never;
34
+ onClick?: ButtonHTMLAttributes<HTMLButtonElement>['onClick'];
35
+ } | {
36
+ component: ButtonComponentType.link;
37
+ /**
38
+ * Props for the link component
39
+ */
40
+ linkProps: Omit<LinkProps, 'children' | 'styles' | 'className' | 'onClick'>;
41
+ buttonProps?: never;
42
+ onClick?: LinkProps['onClick'];
43
+ }) & {
44
+ /**
45
+ * Variant of the button
46
+ *
47
+ * @default ButtonVariantType.primary
48
+ */
49
+ variant?: ButtonVariantType;
50
+ /**
51
+ * Size of the button
52
+ *
53
+ * @default ComponentSizeType.large
54
+ */
55
+ size?: ComponentSizeType;
56
+ /**
57
+ * Style to be applied on the button
58
+ *
59
+ * @default ButtonStyleType.default
60
+ */
61
+ style?: ButtonStyleType;
62
+ /**
63
+ * Text to be displayed in the button
64
+ */
65
+ text: string;
66
+ /**
67
+ * If provided, icon to be displayed at the start of the button
68
+ */
69
+ startIcon?: ReactElement;
70
+ /**
71
+ * If provided, icon to be displayed at the end of the button
72
+ */
73
+ endIcon?: ReactElement;
74
+ /**
75
+ * If true, the loading state is shown for the button with disabled
76
+ */
77
+ isLoading?: boolean;
78
+ /**
79
+ * Test id for the component
80
+ */
81
+ dataTestId: string;
82
+ /**
83
+ * If true, the button is disabled
84
+ *
85
+ * @default false
86
+ */
87
+ disabled?: boolean;
88
+ } & ({
89
+ /**
90
+ * If true, the tooltip is shown for the button
91
+ */
92
+ showTooltip: boolean;
93
+ /**
94
+ * Props for tooltip
95
+ */
96
+ tooltipProps: Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate'>;
97
+ } | {
98
+ showTooltip?: never;
99
+ tooltipProps?: never;
100
+ });
@@ -0,0 +1,2 @@
1
+ import { ButtonProps } from './types';
2
+ export declare const getButtonDerivedClass: ({ size, variant, style, isLoading, }: Pick<ButtonProps, "variant" | "size" | "style" | "isLoading">) => string;
@@ -1,5 +1,5 @@
1
1
  import { default as React, Component } from 'react';
2
- export interface ButtonProps {
2
+ export interface ButtonWithLoaderProps {
3
3
  disabled?: boolean;
4
4
  rootClassName: string;
5
5
  isLoading: boolean;
@@ -8,7 +8,10 @@ export interface ButtonProps {
8
8
  children?: React.ReactNode;
9
9
  type?: 'submit' | 'reset' | 'button';
10
10
  }
11
- export declare class ButtonWithLoader extends Component<ButtonProps> {
11
+ /**
12
+ * @deprecated use Button instead
13
+ */
14
+ export declare class ButtonWithLoader extends Component<ButtonWithLoaderProps> {
12
15
  constructor(props: any);
13
16
  clickHandler(event: any): void;
14
17
  render(): JSX.Element;
@@ -1,2 +1,2 @@
1
- import { DeploymentConfigDiffProps } from './types';
2
- export declare const DeploymentConfigDiff: ({ isLoading, configList, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, ...resProps }: DeploymentConfigDiffProps) => JSX.Element;
1
+ import { DeploymentConfigDiffProps } from './DeploymentConfigDiff.types';
2
+ export declare const DeploymentConfigDiff: ({ isLoading, configList, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, tabConfig, ...resProps }: DeploymentConfigDiffProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { SortingOrder } from '../../../Common/Constants';
2
- import { ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO } from '../../Services';
2
+ import { AppEnvDeploymentConfigDTO, ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, EnvResourceType, ManifestTemplateDTO } from '../../Services';
3
3
  import { DeploymentHistoryDetail } from '../CICDHistory';
4
4
  import { CollapsibleListConfig, CollapsibleListItem } from '../CollapsibleList';
5
5
  import { SelectPickerProps } from '../SelectPicker';
@@ -35,6 +35,11 @@ export interface DeploymentConfigDiffNavigationCollapsibleItem extends Pick<Coll
35
35
  }
36
36
  export interface DeploymentConfigDiffProps {
37
37
  isLoading?: boolean;
38
+ errorConfig?: {
39
+ error: boolean;
40
+ code: number;
41
+ reload: () => void;
42
+ };
38
43
  configList: DeploymentConfigListItem[];
39
44
  headerText?: string;
40
45
  scrollIntoViewId?: string;
@@ -52,10 +57,17 @@ export interface DeploymentConfigDiffProps {
52
57
  goBackURL?: string;
53
58
  navHeading: string;
54
59
  navHelpText?: string;
60
+ tabConfig?: {
61
+ tabs: {
62
+ value: string;
63
+ href: string;
64
+ }[];
65
+ onClick: (tab: string) => void;
66
+ };
55
67
  }
56
- export interface DeploymentConfigDiffNavigationProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'navList' | 'collapsibleNavList' | 'goBackURL' | 'navHeading' | 'navHelpText'> {
68
+ export interface DeploymentConfigDiffNavigationProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'navList' | 'collapsibleNavList' | 'goBackURL' | 'navHeading' | 'navHelpText' | 'tabConfig'> {
57
69
  }
58
- export interface DeploymentConfigDiffMainProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'headerText' | 'configList' | 'scrollIntoViewId' | 'selectorsConfig' | 'sortingConfig'> {
70
+ export interface DeploymentConfigDiffMainProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'errorConfig' | 'headerText' | 'configList' | 'scrollIntoViewId' | 'selectorsConfig' | 'sortingConfig'> {
59
71
  }
60
72
  export interface DeploymentConfigDiffAccordionProps extends Pick<CollapseProps, 'onTransitionEnd'> {
61
73
  id: string;
@@ -66,3 +78,15 @@ export interface DeploymentConfigDiffAccordionProps extends Pick<CollapseProps,
66
78
  onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
67
79
  }
68
80
  export type DiffHeadingDataType<DeploymentTemplate> = DeploymentTemplate extends true ? DeploymentTemplateDTO : ConfigMapSecretDataConfigDatumDTO;
81
+ export type AppEnvDeploymentConfigListParams<IsManifestView> = (IsManifestView extends true ? {
82
+ currentList: ManifestTemplateDTO;
83
+ compareList: ManifestTemplateDTO;
84
+ sortOrder?: never;
85
+ } : {
86
+ currentList: AppEnvDeploymentConfigDTO;
87
+ compareList: AppEnvDeploymentConfigDTO;
88
+ sortOrder?: SortingOrder;
89
+ }) & {
90
+ getNavItemHref: (resourceType: EnvResourceType, resourceName: string) => string;
91
+ isManifestView?: IsManifestView;
92
+ };
@@ -1,6 +1,5 @@
1
- import { SortingOrder } from '../../../Common/Constants';
2
- import { DeploymentConfigDiffProps } from '..';
3
- import { AppEnvDeploymentConfigDTO, ConfigMapSecretDataConfigDatumDTO, EnvResourceType, TemplateListDTO } from '../../Services/app.types';
1
+ import { AppEnvDeploymentConfigListParams, DeploymentConfigDiffProps } from '..';
2
+ import { ConfigMapSecretDataConfigDatumDTO, TemplateListDTO } from '../../Services/app.types';
4
3
  /**
5
4
  * Retrieves the draft data from the given configuration data object.
6
5
  *
@@ -19,14 +18,16 @@ export declare const mergeConfigDataArraysByName: (primaryArray: ConfigMapSecret
19
18
  /**
20
19
  * Generates a list of deployment configurations for application environments and identifies changes between the current and compare lists.
21
20
  *
22
- * @param currentList - The current deployment configuration list.
23
- * @param compareList - The deployment configuration list to compare against.
24
- * @param getNavItemHref - A function to generate navigation item URLs based on the resource type and resource name.
25
- * @param sortOrder - (Optional) The order in which to sort the deployment templates.
21
+ * @param params - An object containing the following properties:
22
+ * @param params.currentList - The current deployment configuration list.
23
+ * @param params.compareList - The deployment configuration list to compare against.
24
+ * @param params.getNavItemHref - A function to generate navigation item URLs based on the resource type and resource name.
25
+ * @param params.isManifestView - A boolean that, when true, modifies the output for a manifest view.
26
+ * @param params.sortOrder - (Optional) The order in which to sort the deployment templates.
26
27
  *
27
28
  * @returns An object containing the combined deployment configuration list, a collapsible navigation list, and a navigation list.
28
29
  */
29
- export declare const getAppEnvDeploymentConfigList: (currentList: AppEnvDeploymentConfigDTO, compareList: AppEnvDeploymentConfigDTO, getNavItemHref: (resourceType: EnvResourceType, resourceName: string) => string, sortOrder?: SortingOrder) => {
30
+ export declare const getAppEnvDeploymentConfigList: <ManifestView extends boolean = false>({ currentList, compareList, getNavItemHref, isManifestView, sortOrder, }: AppEnvDeploymentConfigListParams<ManifestView>) => {
30
31
  configList: DeploymentConfigDiffProps["configList"];
31
32
  navList: DeploymentConfigDiffProps["navList"];
32
33
  collapsibleNavList: DeploymentConfigDiffProps["collapsibleNavList"];
@@ -1,2 +1,2 @@
1
- import { DeploymentConfigDiffAccordionProps } from './types';
1
+ import { DeploymentConfigDiffAccordionProps } from './DeploymentConfigDiff.types';
2
2
  export declare const DeploymentConfigDiffAccordion: import('react').ForwardRefExoticComponent<DeploymentConfigDiffAccordionProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,2 +1,2 @@
1
- import { DeploymentConfigDiffMainProps } from './types';
2
- export declare const DeploymentConfigDiffMain: ({ isLoading, headerText, configList, selectorsConfig, sortingConfig, scrollIntoViewId, }: DeploymentConfigDiffMainProps) => JSX.Element;
1
+ import { DeploymentConfigDiffMainProps } from './DeploymentConfigDiff.types';
2
+ export declare const DeploymentConfigDiffMain: ({ isLoading, errorConfig, headerText, configList, selectorsConfig, sortingConfig, scrollIntoViewId, }: DeploymentConfigDiffMainProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { DeploymentConfigDiffNavigationProps } from './types';
2
- export declare const DeploymentConfigDiffNavigation: ({ isLoading, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, }: DeploymentConfigDiffNavigationProps) => JSX.Element;
1
+ import { DeploymentConfigDiffNavigationProps } from './DeploymentConfigDiff.types';
2
+ export declare const DeploymentConfigDiffNavigation: ({ isLoading, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, tabConfig, }: DeploymentConfigDiffNavigationProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  export * from './DeploymentConfigDiff.component';
2
- export * from './types';
2
+ export * from './DeploymentConfigDiff.types';
3
3
  export * from './DeploymentConfigDiff.utils';
@@ -0,0 +1,2 @@
1
+ import { TabGroupProps } from './TabGroup.types';
2
+ export declare const TabGroup: ({ tabs, size, rightComponent, alignActiveBorderWithContainer, hideTopPadding, }: TabGroupProps) => JSX.Element;
@@ -0,0 +1,111 @@
1
+ import { LinkProps, NavLinkProps } from 'react-router-dom';
2
+ import { ComponentSizeType } from '../../constants';
3
+ import { DataAttributes } from '../../types';
4
+ type TabComponentProps<TabTypeProps> = TabTypeProps & DataAttributes;
5
+ type ConditionalTabType = {
6
+ /**
7
+ * Type of the tab, either `button`, `link` or `navLink`.
8
+ */
9
+ tabType: 'button';
10
+ /**
11
+ * Props passed to button component.
12
+ */
13
+ props?: TabComponentProps<Omit<React.ComponentProps<'button'>, 'className' | 'style'>>;
14
+ /**
15
+ * Indicates if the tab is currently active.
16
+ */
17
+ active?: boolean;
18
+ } | {
19
+ /**
20
+ * Type of the tab, either `button`, `link` or `navLink`.
21
+ */
22
+ tabType: 'navLink';
23
+ /**
24
+ * Props passed to nav link component.
25
+ */
26
+ props: TabComponentProps<Omit<NavLinkProps, 'className' | 'style' | 'activeClassName'>>;
27
+ /**
28
+ * Active state is determined by matching the URL.
29
+ */
30
+ active?: false;
31
+ } | {
32
+ /**
33
+ * Type of the tab, either `button`, `link` or `navLink`.
34
+ */
35
+ tabType: 'link';
36
+ /**
37
+ * Props passed to link component.
38
+ */
39
+ props: TabComponentProps<Omit<LinkProps, 'className' | 'style'>>;
40
+ /**
41
+ * Indicates if the tab is currently active.
42
+ */
43
+ active?: boolean;
44
+ };
45
+ export type TabProps = {
46
+ /**
47
+ * Unique identifier for the tab.
48
+ */
49
+ id: string | number;
50
+ /**
51
+ * Text label for the tab.
52
+ */
53
+ label: string;
54
+ /**
55
+ * Icon component to be displayed in the tab.
56
+ * This should be a functional component that renders an SVG.
57
+ */
58
+ icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
59
+ /**
60
+ * Type of the icon, determining whether it uses a stroke or fill style.
61
+ */
62
+ iconType?: 'stroke' | 'fill';
63
+ /**
64
+ * Badge number to be displayed on the tab, typically for notifications.
65
+ */
66
+ badge?: number;
67
+ /**
68
+ * Indicates if an indicator should be shown on the tab.
69
+ */
70
+ showIndicator?: boolean;
71
+ /**
72
+ * Indicates if a warning state should be displayed on the tab.
73
+ * @note error state will take precedence over warning state.
74
+ */
75
+ showWarning?: boolean;
76
+ /**
77
+ * Indicates if an error state should be displayed on the tab.
78
+ * @note error state will take precedence over warning state.
79
+ */
80
+ showError?: boolean;
81
+ /**
82
+ * Disables the tab, preventing interaction and indicating an inactive state.
83
+ */
84
+ disabled?: boolean;
85
+ } & ConditionalTabType;
86
+ export interface TabGroupProps {
87
+ /**
88
+ * Array of tabs to be rendered.
89
+ */
90
+ tabs: TabProps[];
91
+ /**
92
+ * Size of the tabs.
93
+ * @default ComponentSizeType.large
94
+ */
95
+ size?: ComponentSizeType.large | ComponentSizeType.medium;
96
+ /**
97
+ * Optional component to be rendered on the right side of the tab list.
98
+ */
99
+ rightComponent?: React.ReactElement;
100
+ /**
101
+ * Set to `true` to align the active tab's border with the bottom border of the parent container.
102
+ * @default false
103
+ */
104
+ alignActiveBorderWithContainer?: boolean;
105
+ /**
106
+ * Determines if the top padding of the tab group should be hidden.
107
+ * @default false
108
+ */
109
+ hideTopPadding?: boolean;
110
+ }
111
+ export {};
@@ -0,0 +1,7 @@
1
+ import { TabGroupProps, TabProps } from './TabGroup.types';
2
+ export declare const getClassNameBySizeMap: ({ hideTopPadding, alignActiveBorderWithContainer, }: Pick<TabGroupProps, "hideTopPadding" | "alignActiveBorderWithContainer">) => Record<TabGroupProps["size"], {
3
+ tabClassName: string;
4
+ iconClassName: string;
5
+ badgeClassName: string;
6
+ }>;
7
+ export declare const getIconColorClassMap: ({ active }: Pick<TabProps, "active">) => Record<TabProps["iconType"], string>;
@@ -0,0 +1,2 @@
1
+ export * from './TabGroup.component';
2
+ export * from './TabGroup.types';
@@ -36,6 +36,8 @@ export * from './ShowMoreText';
36
36
  export * from './CollapsibleList';
37
37
  export * from './DeploymentConfigDiff';
38
38
  export * from './DetectBottom';
39
+ export * from './TabGroup';
39
40
  export * from './EditImageFormField';
40
41
  export * from './Collapse';
41
42
  export * from './FilterButton';
43
+ export * from './Button';
@@ -197,6 +197,11 @@ export interface TemplateListDTO {
197
197
  status?: string;
198
198
  pipelineId?: number;
199
199
  }
200
+ export interface ManifestTemplateDTO {
201
+ data: string;
202
+ resolvedData: string;
203
+ variableSnapshot: null;
204
+ }
200
205
  export declare enum DraftState {
201
206
  Init = 1,
202
207
  Discarded = 2,
@@ -206,6 +211,7 @@ export declare enum DraftState {
206
211
  export declare enum EnvResourceType {
207
212
  ConfigMap = "configmap",
208
213
  Secret = "secrets",
209
- DeploymentTemplate = "deployment-template"
214
+ DeploymentTemplate = "deployment-template",
215
+ Manifest = "manifest"
210
216
  }
211
217
  export {};
@@ -389,9 +389,11 @@ export declare const ANSI_UP_REGEX: RegExp;
389
389
  * Size variants for components
390
390
  */
391
391
  export declare enum ComponentSizeType {
392
+ xs = "xs",
392
393
  small = "small",
393
394
  medium = "medium",
394
- large = "large"
395
+ large = "large",
396
+ xl = "xl"
395
397
  }
396
398
  export declare const POP_UP_MENU_MODAL_ID = "popup";
397
399
  /**
@@ -570,6 +570,7 @@ export type BaseFilterQueryParams<T> = {
570
570
  */
571
571
  showAll?: boolean;
572
572
  } & SortingParams<T>;
573
+ export type DataAttributes = Record<`data-${string}`, unknown>;
573
574
  export interface RuntimeParamsListItemType extends KeyValueListType {
574
575
  id: number;
575
576
  }