@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.
- package/dist/Common/Drawer/Drawer.d.ts +1 -1
- package/dist/Common/Types.d.ts +2 -1
- package/dist/Common/utils.d.ts +1 -0
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +6 -1
- package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-CAt4DnsD.js → cssMode-D66JTW_V.js} +1 -1
- package/dist/{freemarker2-CCVDABCU.js → freemarker2-CY4JSAnd.js} +1 -1
- package/dist/{handlebars-dzB9tV-2.js → handlebars-BdiSWeoR.js} +1 -1
- package/dist/{html-Bx1dsYsP.js → html-Dox8CHQk.js} +1 -1
- package/dist/{htmlMode-BNc6Qhbv.js → htmlMode-DK5fOy44.js} +1 -1
- package/dist/{index-B5tIEL0E.js → index-BFMaIgeF.js} +18190 -18160
- package/dist/index.js +1 -1
- package/dist/{javascript-BH9ELM9O.js → javascript-BENpilKz.js} +1 -1
- package/dist/{jsonMode-BgB460Pj.js → jsonMode-CaV7ZBKe.js} +1 -1
- package/dist/{liquid-BHcQyo-3.js → liquid-DXpc-UyL.js} +1 -1
- package/dist/{mdx-BxzAvEjq.js → mdx-CTKVUr6n.js} +1 -1
- package/dist/{python-OPGRKNe-.js → python-Gh-QVJAm.js} +1 -1
- package/dist/{razor-Dp49O1vM.js → razor-CRsts3uU.js} +1 -1
- package/dist/{tsMode-R4jOEqyY.js → tsMode-Be0FzPJg.js} +1 -1
- package/dist/{typescript-CnQpn36u.js → typescript-BYQLkHCK.js} +1 -1
- package/dist/{xml-CMRI0x4K.js → xml-D4wjO4IJ.js} +1 -1
- package/dist/{yaml-hBfPBdAI.js → yaml-Ck4Ls2ov.js} +1 -1
- package/package.json +1 -1
|
@@ -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 {};
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -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>;
|