@devtron-labs/devtron-fe-common-lib 1.6.11-beta-2 → 1.6.12-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/{@code-editor-BMC8pZqi.js → @code-editor-CrBxjFGI.js} +4950 -4975
- package/dist/{@common-rjsf-D1JK9twK.js → @common-rjsf-EHYp-ATI.js} +1 -1
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/Common/InfoColorBar/InfoColourbar.d.ts +0 -3
- package/dist/Common/Types.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/DeploymentCharts/types.d.ts +6 -8
- package/dist/Shared/Components/FormFieldWrapper/types.d.ts +1 -2
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +4 -1
- package/dist/Shared/validations.d.ts +1 -0
- package/dist/index.js +493 -493
- package/package.json +1 -1
- package/dist/Shared/Components/InfoBlock/InfoBlock.component.d.ts +0 -3
- package/dist/Shared/Components/InfoBlock/constants.d.ts +0 -3
- package/dist/Shared/Components/InfoBlock/index.d.ts +0 -2
- package/dist/Shared/Components/InfoBlock/types.d.ts +0 -38
package/package.json
CHANGED
@@ -1,38 +0,0 @@
|
|
1
|
-
import { ComponentSizeType } from '../../constants';
|
2
|
-
import { ComponentLayoutType } from '../../types';
|
3
|
-
import { ReactElement, ReactNode } from 'react';
|
4
|
-
import { ButtonProps } from '../Button';
|
5
|
-
export type InfoBlockProps = {
|
6
|
-
/**
|
7
|
-
* @default 'row'
|
8
|
-
*/
|
9
|
-
layout?: ComponentLayoutType;
|
10
|
-
/**
|
11
|
-
* @default 'information'
|
12
|
-
*/
|
13
|
-
variant?: 'error' | 'help' | 'information' | 'success' | 'warning';
|
14
|
-
/**
|
15
|
-
* @default ComponentSizeType.medium
|
16
|
-
*/
|
17
|
-
size?: Extract<ComponentSizeType, ComponentSizeType.large | ComponentSizeType.medium>;
|
18
|
-
/**
|
19
|
-
* If given would override the default icon derived from type
|
20
|
-
*/
|
21
|
-
customIcon?: ReactElement;
|
22
|
-
buttonProps?: ButtonProps;
|
23
|
-
} & ({
|
24
|
-
/**
|
25
|
-
* If string, would apply h tag with necessary classes
|
26
|
-
*/
|
27
|
-
heading: ReactNode;
|
28
|
-
/**
|
29
|
-
* If string, would apply p tag with necessary classes
|
30
|
-
*/
|
31
|
-
description: ReactNode;
|
32
|
-
} | {
|
33
|
-
heading?: never;
|
34
|
-
description: ReactNode;
|
35
|
-
} | {
|
36
|
-
heading: ReactNode;
|
37
|
-
description?: never;
|
38
|
-
});
|