@devtron-labs/devtron-fe-common-lib 0.3.4 → 0.3.5-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.
@@ -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
- import { default as React, ReactNode, CSSProperties } from 'react';
1
+ import { default as React, ReactNode, CSSProperties, ReactElement } from 'react';
2
2
  import { Placement } from 'tippy.js';
3
3
  import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
4
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
@@ -620,6 +620,7 @@ export interface RegistryTypeDetailType {
620
620
  registryURL: InputDetailType;
621
621
  id: InputDetailType;
622
622
  password: InputDetailType;
623
+ startIcon: ReactElement;
623
624
  }
624
625
  export interface UseSearchString {
625
626
  queryParams: URLSearchParams;
@@ -0,0 +1 @@
1
+ export declare const getContainerRegistryIcon: (registryValue: string) => JSX.Element;
@@ -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>;