@devtron-labs/devtron-fe-common-lib 0.3.5-beta-4 → 0.3.5-beta-5

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.
@@ -10,5 +10,5 @@ interface drawerInterface {
10
10
  parentClassName?: string;
11
11
  onEscape?: (e?: any) => void;
12
12
  }
13
- export declare const Drawer: ({ children, position, height, width, minWidth, maxWidth, parentClassName, onEscape, }: drawerInterface) => JSX.Element;
13
+ export declare const Drawer: ({ children, position, height, width, minWidth, maxWidth, parentClassName, onEscape, onClose, }: drawerInterface) => JSX.Element;
14
14
  export {};
@@ -1,4 +1,4 @@
1
1
  import { GitChangesType, LogResizeButtonType, ScrollerType } from './types';
2
- export declare const LogResizeButton: ({ onlyOnLogs, disableKeybindings, fullScreenView, setFullScreenView, }: LogResizeButtonType) => JSX.Element;
2
+ export declare const LogResizeButton: ({ fullScreenView, setFullScreenView }: LogResizeButtonType) => JSX.Element;
3
3
  export declare const Scroller: ({ scrollToTop, scrollToBottom, style }: ScrollerType) => JSX.Element;
4
4
  export declare const GitChanges: ({ gitTriggers, ciMaterials, artifact, userApprovalMetadata, triggeredByEmail, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, appliedFiltersTimestamp, promotionApprovalMetadata, selectedEnvironmentName, renderCIListHeader, }: GitChangesType) => JSX.Element;
@@ -14,8 +14,6 @@ export declare enum FetchIdDataStatus {
14
14
  SUSPEND = "SUSPEND"
15
15
  }
16
16
  export interface LogResizeButtonType {
17
- onlyOnLogs?: boolean;
18
- disableKeybindings?: boolean;
19
17
  fullScreenView: boolean;
20
18
  setFullScreenView: React.Dispatch<React.SetStateAction<boolean>>;
21
19
  }
@@ -51,6 +51,11 @@ export type TabProps = {
51
51
  * Text label for the tab.
52
52
  */
53
53
  label: string;
54
+ /**
55
+ * Description for the tab.
56
+ * @note - If passed as a `string[]`, it will be rendered with a bullet in-between strings.
57
+ */
58
+ description?: string | string[];
54
59
  /**
55
60
  * Icon component to be displayed in the tab.
56
61
  * This should be a functional component that renders an SVG.
@@ -92,7 +97,7 @@ export interface TabGroupProps {
92
97
  * Size of the tabs.
93
98
  * @default ComponentSizeType.large
94
99
  */
95
- size?: ComponentSizeType.large | ComponentSizeType.medium;
100
+ size?: ComponentSizeType.large | ComponentSizeType.medium | ComponentSizeType.xl;
96
101
  /**
97
102
  * Optional component to be rendered on the right side of the tab list.
98
103
  */
@@ -5,3 +5,4 @@ export declare const getClassNameBySizeMap: ({ hideTopPadding, alignActiveBorder
5
5
  badgeClassName: string;
6
6
  }>;
7
7
  export declare const getIconColorClassMap: ({ active }: Pick<TabProps, "active">) => Record<TabProps["iconType"], string>;
8
+ export declare const tabGroupClassMap: Record<TabGroupProps['size'], string>;