@devtron-labs/devtron-fe-common-lib 0.3.6-beta-7 → 0.3.7
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/Constants.d.ts +0 -1
- package/dist/Common/Drawer/Drawer.d.ts +1 -1
- package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Common/Tooltip/index.d.ts +0 -1
- package/dist/Common/Tooltip/types.d.ts +1 -37
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -54
- package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +2 -55
- package/dist/Shared/Components/CICDHistory/index.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -3
- package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +7 -0
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +24 -9
- package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-DstTJhy-.js → cssMode-DHrChzLI.js} +1 -1
- package/dist/{freemarker2-DgB_3RKl.js → freemarker2-Ctq5Dnmx.js} +1 -1
- package/dist/{handlebars-BR1B0k_p.js → handlebars-BVS4lLNS.js} +1 -1
- package/dist/{html-CXHZfzW7.js → html-PTkun63X.js} +1 -1
- package/dist/{htmlMode-N9_r1u28.js → htmlMode-FPlB0uVj.js} +1 -1
- package/dist/{index-DzlbVg2Z.js → index-CJxEE85N.js} +19017 -19020
- package/dist/index.js +371 -372
- package/dist/{javascript-DEAenlYo.js → javascript-CgZ-eJ-v.js} +1 -1
- package/dist/{jsonMode-3kAF9Tiw.js → jsonMode-DBr9Yx0h.js} +1 -1
- package/dist/{liquid-BYaY0GXQ.js → liquid-D3A5MQwP.js} +1 -1
- package/dist/{mdx-DHviYHHR.js → mdx-B3XOS1gR.js} +1 -1
- package/dist/{python-Ct4uQ9vb.js → python-D2yb3YGi.js} +1 -1
- package/dist/{razor-BNlEx6t3.js → razor-CSq74LWU.js} +1 -1
- package/dist/{tsMode-BOoV2N7e.js → tsMode-LIV1wEld.js} +1 -1
- package/dist/{typescript-Pno6d3D9.js → typescript-DZqgszhg.js} +1 -1
- package/dist/{xml-jOPO2HPx.js → xml-YxEeoAGH.js} +1 -1
- package/dist/{yaml-BTyZeoy0.js → yaml-BhRwG7-t.js} +1 -1
- package/package.json +1 -2
- package/dist/Common/Tooltip/ShortcutKeyComboTooltipContent.d.ts +0 -3
|
@@ -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,3 +1,3 @@
|
|
|
1
1
|
import { TooltipProps } from './types';
|
|
2
|
-
declare const Tooltip: ({
|
|
2
|
+
declare const Tooltip: ({ alwaysShowTippyOnHover, showOnTruncate, wordBreak, children: child, ...rest }: TooltipProps) => JSX.Element;
|
|
3
3
|
export default Tooltip;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import { TippyProps } from '@tippyjs/react';
|
|
2
|
-
export declare const KEYBOARD_KEYS_MAP: {
|
|
3
|
-
readonly Control: "⌘" | "Ctrl";
|
|
4
|
-
readonly Shift: "⇧";
|
|
5
|
-
readonly F: "F";
|
|
6
|
-
readonly E: "E";
|
|
7
|
-
};
|
|
8
|
-
export type SupportedKeyboardKeysType = keyof typeof KEYBOARD_KEYS_MAP;
|
|
9
2
|
type BaseTooltipProps = {
|
|
10
3
|
/**
|
|
11
4
|
* If true, show tippy on truncate
|
|
@@ -17,11 +10,6 @@ type BaseTooltipProps = {
|
|
|
17
10
|
* @default false
|
|
18
11
|
*/
|
|
19
12
|
alwaysShowTippyOnHover?: never;
|
|
20
|
-
/**
|
|
21
|
-
* If true, use the common styling for shortcuts
|
|
22
|
-
* @default false
|
|
23
|
-
*/
|
|
24
|
-
shortcutKeyCombo?: never;
|
|
25
13
|
} | {
|
|
26
14
|
/**
|
|
27
15
|
* If alwaysShowTippyOnHover is defined this prop doesn't work
|
|
@@ -30,33 +18,9 @@ type BaseTooltipProps = {
|
|
|
30
18
|
showOnTruncate?: never;
|
|
31
19
|
/**
|
|
32
20
|
* If true, wrap with tippy irrespective of other options
|
|
33
|
-
* @default true
|
|
34
|
-
*/
|
|
35
|
-
alwaysShowTippyOnHover?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* If true, use the common styling for shortcuts
|
|
38
21
|
* @default false
|
|
39
22
|
*/
|
|
40
|
-
|
|
41
|
-
} | {
|
|
42
|
-
/**
|
|
43
|
-
* If true, show tippy on truncate
|
|
44
|
-
* @default false
|
|
45
|
-
*/
|
|
46
|
-
showOnTruncate?: never;
|
|
47
|
-
/**
|
|
48
|
-
* If showOnTruncate is defined this prop doesn't work
|
|
49
|
-
* @default false
|
|
50
|
-
*/
|
|
51
|
-
alwaysShowTippyOnHover?: never;
|
|
52
|
-
/**
|
|
53
|
-
* If true, use the common styling for shortcuts
|
|
54
|
-
* @default true
|
|
55
|
-
*/
|
|
56
|
-
shortcutKeyCombo?: {
|
|
57
|
-
text: string;
|
|
58
|
-
combo: SupportedKeyboardKeysType[];
|
|
59
|
-
};
|
|
23
|
+
alwaysShowTippyOnHover?: boolean;
|
|
60
24
|
};
|
|
61
25
|
export type TooltipProps = BaseTooltipProps & TippyProps & {
|
|
62
26
|
/**
|
|
@@ -1,57 +1,4 @@
|
|
|
1
|
-
import { IWithShortcut } from 'react-keybind';
|
|
2
1
|
import { GitChangesType, LogResizeButtonType, ScrollerType } from './types';
|
|
3
|
-
export declare const LogResizeButton: {
|
|
4
|
-
new (props: Readonly<LogResizeButtonType & IWithShortcut>): {
|
|
5
|
-
render(): JSX.Element;
|
|
6
|
-
context: any;
|
|
7
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<LogResizeButtonType & IWithShortcut>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: (() => void) | undefined): void;
|
|
8
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
9
|
-
readonly props: Readonly<LogResizeButtonType & IWithShortcut> & Readonly<{
|
|
10
|
-
children?: import('react').ReactNode;
|
|
11
|
-
}>;
|
|
12
|
-
state: Readonly<{}>;
|
|
13
|
-
refs: {
|
|
14
|
-
[key: string]: import('react').ReactInstance;
|
|
15
|
-
};
|
|
16
|
-
componentDidMount?(): void;
|
|
17
|
-
shouldComponentUpdate?(nextProps: Readonly<LogResizeButtonType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
18
|
-
componentWillUnmount?(): void;
|
|
19
|
-
componentDidCatch?(error: Error, errorInfo: import('react').ErrorInfo): void;
|
|
20
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<LogResizeButtonType & IWithShortcut>, prevState: Readonly<{}>): any;
|
|
21
|
-
componentDidUpdate?(prevProps: Readonly<LogResizeButtonType & IWithShortcut>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
22
|
-
componentWillMount?(): void;
|
|
23
|
-
UNSAFE_componentWillMount?(): void;
|
|
24
|
-
componentWillReceiveProps?(nextProps: Readonly<LogResizeButtonType & IWithShortcut>, nextContext: any): void;
|
|
25
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<LogResizeButtonType & IWithShortcut>, nextContext: any): void;
|
|
26
|
-
componentWillUpdate?(nextProps: Readonly<LogResizeButtonType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): void;
|
|
27
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<LogResizeButtonType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): void;
|
|
28
|
-
};
|
|
29
|
-
new (props: LogResizeButtonType & IWithShortcut, context?: any): {
|
|
30
|
-
render(): JSX.Element;
|
|
31
|
-
context: any;
|
|
32
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<LogResizeButtonType & IWithShortcut>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: (() => void) | undefined): void;
|
|
33
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
34
|
-
readonly props: Readonly<LogResizeButtonType & IWithShortcut> & Readonly<{
|
|
35
|
-
children?: import('react').ReactNode;
|
|
36
|
-
}>;
|
|
37
|
-
state: Readonly<{}>;
|
|
38
|
-
refs: {
|
|
39
|
-
[key: string]: import('react').ReactInstance;
|
|
40
|
-
};
|
|
41
|
-
componentDidMount?(): void;
|
|
42
|
-
shouldComponentUpdate?(nextProps: Readonly<LogResizeButtonType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
43
|
-
componentWillUnmount?(): void;
|
|
44
|
-
componentDidCatch?(error: Error, errorInfo: import('react').ErrorInfo): void;
|
|
45
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<LogResizeButtonType & IWithShortcut>, prevState: Readonly<{}>): any;
|
|
46
|
-
componentDidUpdate?(prevProps: Readonly<LogResizeButtonType & IWithShortcut>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
47
|
-
componentWillMount?(): void;
|
|
48
|
-
UNSAFE_componentWillMount?(): void;
|
|
49
|
-
componentWillReceiveProps?(nextProps: Readonly<LogResizeButtonType & IWithShortcut>, nextContext: any): void;
|
|
50
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<LogResizeButtonType & IWithShortcut>, nextContext: any): void;
|
|
51
|
-
componentWillUpdate?(nextProps: Readonly<LogResizeButtonType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): void;
|
|
52
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<LogResizeButtonType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): void;
|
|
53
|
-
};
|
|
54
|
-
contextType?: import('react').Context<any> | undefined;
|
|
55
|
-
};
|
|
2
|
+
export declare const LogResizeButton: ({ fullScreenView, setFullScreenView }: LogResizeButtonType) => JSX.Element;
|
|
56
3
|
export declare const Scroller: ({ scrollToTop, scrollToBottom, style }: ScrollerType) => JSX.Element;
|
|
57
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;
|
|
@@ -1,56 +1,3 @@
|
|
|
1
|
-
import { IWithShortcut } from 'react-keybind';
|
|
2
1
|
import { LogsRendererType } from './types';
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
render(): JSX.Element;
|
|
6
|
-
context: any;
|
|
7
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<LogsRendererType & IWithShortcut>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: (() => void) | undefined): void;
|
|
8
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
9
|
-
readonly props: Readonly<LogsRendererType & IWithShortcut> & Readonly<{
|
|
10
|
-
children?: import('react').ReactNode;
|
|
11
|
-
}>;
|
|
12
|
-
state: Readonly<{}>;
|
|
13
|
-
refs: {
|
|
14
|
-
[key: string]: import('react').ReactInstance;
|
|
15
|
-
};
|
|
16
|
-
componentDidMount?(): void;
|
|
17
|
-
shouldComponentUpdate?(nextProps: Readonly<LogsRendererType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
18
|
-
componentWillUnmount?(): void;
|
|
19
|
-
componentDidCatch?(error: Error, errorInfo: import('react').ErrorInfo): void;
|
|
20
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<LogsRendererType & IWithShortcut>, prevState: Readonly<{}>): any;
|
|
21
|
-
componentDidUpdate?(prevProps: Readonly<LogsRendererType & IWithShortcut>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
22
|
-
componentWillMount?(): void;
|
|
23
|
-
UNSAFE_componentWillMount?(): void;
|
|
24
|
-
componentWillReceiveProps?(nextProps: Readonly<LogsRendererType & IWithShortcut>, nextContext: any): void;
|
|
25
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<LogsRendererType & IWithShortcut>, nextContext: any): void;
|
|
26
|
-
componentWillUpdate?(nextProps: Readonly<LogsRendererType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): void;
|
|
27
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<LogsRendererType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): void;
|
|
28
|
-
};
|
|
29
|
-
new (props: LogsRendererType & IWithShortcut, context?: any): {
|
|
30
|
-
render(): JSX.Element;
|
|
31
|
-
context: any;
|
|
32
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<LogsRendererType & IWithShortcut>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: (() => void) | undefined): void;
|
|
33
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
34
|
-
readonly props: Readonly<LogsRendererType & IWithShortcut> & Readonly<{
|
|
35
|
-
children?: import('react').ReactNode;
|
|
36
|
-
}>;
|
|
37
|
-
state: Readonly<{}>;
|
|
38
|
-
refs: {
|
|
39
|
-
[key: string]: import('react').ReactInstance;
|
|
40
|
-
};
|
|
41
|
-
componentDidMount?(): void;
|
|
42
|
-
shouldComponentUpdate?(nextProps: Readonly<LogsRendererType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
43
|
-
componentWillUnmount?(): void;
|
|
44
|
-
componentDidCatch?(error: Error, errorInfo: import('react').ErrorInfo): void;
|
|
45
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<LogsRendererType & IWithShortcut>, prevState: Readonly<{}>): any;
|
|
46
|
-
componentDidUpdate?(prevProps: Readonly<LogsRendererType & IWithShortcut>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
47
|
-
componentWillMount?(): void;
|
|
48
|
-
UNSAFE_componentWillMount?(): void;
|
|
49
|
-
componentWillReceiveProps?(nextProps: Readonly<LogsRendererType & IWithShortcut>, nextContext: any): void;
|
|
50
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<LogsRendererType & IWithShortcut>, nextContext: any): void;
|
|
51
|
-
componentWillUpdate?(nextProps: Readonly<LogsRendererType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): void;
|
|
52
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<LogsRendererType & IWithShortcut>, nextState: Readonly<{}>, nextContext: any): void;
|
|
53
|
-
};
|
|
54
|
-
contextType?: import('react').Context<any> | undefined;
|
|
55
|
-
};
|
|
56
|
-
export default _default;
|
|
2
|
+
export declare const LogsRenderer: ({ triggerDetails, isBlobStorageConfigured, parentType, fullScreenView, }: LogsRendererType) => JSX.Element;
|
|
3
|
+
export default LogsRenderer;
|
|
@@ -10,7 +10,7 @@ export * from './service';
|
|
|
10
10
|
export * from './History.components';
|
|
11
11
|
export * from './utils';
|
|
12
12
|
export * from './TriggerOutput';
|
|
13
|
-
export
|
|
13
|
+
export * from './LogsRenderer';
|
|
14
14
|
export * from './DeploymentHistoryDiff';
|
|
15
15
|
export * from './CiPipelineSourceConfig';
|
|
16
16
|
export * from './StatusFilterButtonComponent';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, ReactElement } from 'react';
|
|
2
|
-
import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps, useScrollable, SortingOrder
|
|
2
|
+
import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps, useScrollable, SortingOrder } from '../../../Common';
|
|
3
3
|
import { DeploymentStageType } from '../../constants';
|
|
4
4
|
import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType } from '../../types';
|
|
5
5
|
export declare enum HistoryComponentType {
|
|
@@ -14,8 +14,6 @@ export declare enum FetchIdDataStatus {
|
|
|
14
14
|
SUSPEND = "SUSPEND"
|
|
15
15
|
}
|
|
16
16
|
export interface LogResizeButtonType {
|
|
17
|
-
shortcutCombo?: SupportedKeyboardKeysType[];
|
|
18
|
-
showOnlyWhenPathIncludesLogs?: boolean;
|
|
19
17
|
fullScreenView: boolean;
|
|
20
18
|
setFullScreenView: React.Dispatch<React.SetStateAction<boolean>>;
|
|
21
19
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TabProps } from './TabGroup.types';
|
|
2
|
+
export declare const getTabIcon: ({ icon: Icon, showError, showWarning, className, }: Pick<TabProps, "showError" | "showWarning" | "icon"> & {
|
|
3
|
+
className: string;
|
|
4
|
+
}) => JSX.Element;
|
|
5
|
+
export declare const getTabBadge: (badge: TabProps["badge"], className: string) => JSX.Element;
|
|
6
|
+
export declare const getTabIndicator: (showIndicator: TabProps["showIndicator"]) => JSX.Element;
|
|
7
|
+
export declare const getTabDescription: (description: TabProps["description"]) => JSX.Element;
|
|
@@ -4,7 +4,7 @@ import { DataAttributes } from '../../types';
|
|
|
4
4
|
type TabComponentProps<TabTypeProps> = TabTypeProps & DataAttributes;
|
|
5
5
|
type ConditionalTabType = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Type of the tab, either `button`, `link`, `navLink` or `block`.
|
|
8
8
|
*/
|
|
9
9
|
tabType: 'button';
|
|
10
10
|
/**
|
|
@@ -17,7 +17,7 @@ type ConditionalTabType = {
|
|
|
17
17
|
active?: boolean;
|
|
18
18
|
} | {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Type of the tab, either `button`, `link`, `navLink` or `block`.
|
|
21
21
|
*/
|
|
22
22
|
tabType: 'navLink';
|
|
23
23
|
/**
|
|
@@ -27,10 +27,10 @@ type ConditionalTabType = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Active state is determined by matching the URL.
|
|
29
29
|
*/
|
|
30
|
-
active?: false;
|
|
30
|
+
active?: never | false;
|
|
31
31
|
} | {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Type of the tab, either `button`, `link`, `navLink` or `block`.
|
|
34
34
|
*/
|
|
35
35
|
tabType: 'link';
|
|
36
36
|
/**
|
|
@@ -41,6 +41,20 @@ type ConditionalTabType = {
|
|
|
41
41
|
* Indicates if the tab is currently active.
|
|
42
42
|
*/
|
|
43
43
|
active?: boolean;
|
|
44
|
+
} | {
|
|
45
|
+
/**
|
|
46
|
+
* Type of the tab, either `button`, `link`, `navLink` or `block`.
|
|
47
|
+
* @note When `tabType` is set to `block`, the tab becomes non-interactive. It won't be active and will not have hover states.
|
|
48
|
+
*/
|
|
49
|
+
tabType: 'block';
|
|
50
|
+
/**
|
|
51
|
+
* Props passed to div component.
|
|
52
|
+
*/
|
|
53
|
+
props?: TabComponentProps<Omit<React.ComponentProps<'div'>, 'className' | 'style'>>;
|
|
54
|
+
/**
|
|
55
|
+
* Indicates if the tab is currently active.
|
|
56
|
+
*/
|
|
57
|
+
active?: never | false;
|
|
44
58
|
};
|
|
45
59
|
export type TabProps = {
|
|
46
60
|
/**
|
|
@@ -51,15 +65,16 @@ export type TabProps = {
|
|
|
51
65
|
* Text label for the tab.
|
|
52
66
|
*/
|
|
53
67
|
label: string;
|
|
68
|
+
/**
|
|
69
|
+
* Description for the tab.
|
|
70
|
+
* @note - If passed as a `string[]`, it will be rendered with a bullet in-between strings.
|
|
71
|
+
*/
|
|
72
|
+
description?: string | string[];
|
|
54
73
|
/**
|
|
55
74
|
* Icon component to be displayed in the tab.
|
|
56
75
|
* This should be a functional component that renders an SVG.
|
|
57
76
|
*/
|
|
58
77
|
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
78
|
/**
|
|
64
79
|
* Badge number to be displayed on the tab, typically for notifications.
|
|
65
80
|
*/
|
|
@@ -92,7 +107,7 @@ export interface TabGroupProps {
|
|
|
92
107
|
* Size of the tabs.
|
|
93
108
|
* @default ComponentSizeType.large
|
|
94
109
|
*/
|
|
95
|
-
size?: ComponentSizeType.large | ComponentSizeType.medium;
|
|
110
|
+
size?: ComponentSizeType.large | ComponentSizeType.medium | ComponentSizeType.xl;
|
|
96
111
|
/**
|
|
97
112
|
* Optional component to be rendered on the right side of the tab list.
|
|
98
113
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TabGroupProps
|
|
1
|
+
import { TabGroupProps } from './TabGroup.types';
|
|
2
2
|
export declare const getClassNameBySizeMap: ({ hideTopPadding, alignActiveBorderWithContainer, }: Pick<TabGroupProps, "hideTopPadding" | "alignActiveBorderWithContainer">) => Record<TabGroupProps["size"], {
|
|
3
3
|
tabClassName: string;
|
|
4
4
|
iconClassName: string;
|
|
5
5
|
badgeClassName: string;
|
|
6
6
|
}>;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const tabGroupClassMap: Record<TabGroupProps['size'], string>;
|