@devtron-labs/devtron-fe-common-lib 0.2.2-beta-16 → 0.2.2-beta-17
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/CodeEditor/types.d.ts +3 -21
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/Common/RJSF/constants.d.ts +5 -0
- package/dist/Common/RJSF/index.d.ts +1 -0
- package/dist/Common/Tooltip/types.d.ts +14 -4
- package/dist/Common/Types.d.ts +0 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-cc05e42c.js → cssMode-62ddc175.js} +1 -1
- package/dist/{freemarker2-f038f34b.js → freemarker2-308f0c51.js} +1 -1
- package/dist/{handlebars-d17aff7a.js → handlebars-bd7cc20f.js} +1 -1
- package/dist/{html-abdc7632.js → html-8e450585.js} +1 -1
- package/dist/{htmlMode-241ea80b.js → htmlMode-fcdbe206.js} +1 -1
- package/dist/{index-3b90d008.js → index-d00df9d3.js} +10312 -10307
- package/dist/index.js +338 -337
- package/dist/{javascript-3b51ab44.js → javascript-8bbb7ab0.js} +1 -1
- package/dist/{jsonMode-6def590c.js → jsonMode-1045eb56.js} +1 -1
- package/dist/{liquid-780f4ccf.js → liquid-0dd677cf.js} +1 -1
- package/dist/{mdx-d24ff632.js → mdx-bfdb8af8.js} +1 -1
- package/dist/{python-ff494aef.js → python-fcd3e584.js} +1 -1
- package/dist/{razor-b8dd0e97.js → razor-d9fdcf79.js} +1 -1
- package/dist/{tsMode-5243b163.js → tsMode-cb51e6e3.js} +1 -1
- package/dist/{typescript-f8b182ca.js → typescript-7749fc44.js} +1 -1
- package/dist/{xml-e016fbb8.js → xml-36d66a9a.js} +1 -1
- package/dist/{yaml-1cf2e58c.js → yaml-8553fb6c.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { XORProps } from '../Types';
|
|
2
1
|
import { MODES } from '../Constants';
|
|
3
2
|
|
|
4
3
|
export interface InformationBarProps {
|
|
@@ -6,7 +5,7 @@ export interface InformationBarProps {
|
|
|
6
5
|
className?: string;
|
|
7
6
|
children?: React.ReactNode;
|
|
8
7
|
}
|
|
9
|
-
interface
|
|
8
|
+
export interface CodeEditorInterface {
|
|
10
9
|
value?: string;
|
|
11
10
|
lineDecorationsWidth?: number;
|
|
12
11
|
responseType?: string;
|
|
@@ -20,6 +19,7 @@ interface CodeEditorBaseInterface {
|
|
|
20
19
|
readOnly?: boolean;
|
|
21
20
|
noParsing?: boolean;
|
|
22
21
|
inline?: boolean;
|
|
22
|
+
height?: number | string;
|
|
23
23
|
shebang?: string | JSX.Element;
|
|
24
24
|
diffView?: boolean;
|
|
25
25
|
loading?: boolean;
|
|
@@ -31,25 +31,8 @@ interface CodeEditorBaseInterface {
|
|
|
31
31
|
isKubernetes?: boolean;
|
|
32
32
|
cleanData?: boolean;
|
|
33
33
|
chartVersion?: any;
|
|
34
|
-
|
|
35
|
-
* Defines the minHeight of MonacoEditor in pixels or relative units
|
|
36
|
-
* @default 300
|
|
37
|
-
*/
|
|
38
|
-
minHeight?: number | string;
|
|
34
|
+
adjustEditorHeightToContent?: boolean;
|
|
39
35
|
}
|
|
40
|
-
interface CodeEditorXORProps {
|
|
41
|
-
/**
|
|
42
|
-
* Defines the height of MonacoEditor in pixels or relative units
|
|
43
|
-
* @default 300
|
|
44
|
-
*/
|
|
45
|
-
height: number | string;
|
|
46
|
-
/**
|
|
47
|
-
* If adjustEditorHeightToContent is true the Editor grows and shrinks by its content's height
|
|
48
|
-
* @default false
|
|
49
|
-
*/
|
|
50
|
-
adjustEditorHeightToContent: boolean;
|
|
51
|
-
}
|
|
52
|
-
export type CodeEditorInterface = CodeEditorBaseInterface & XORProps<'height', 'adjustEditorHeightToContent', CodeEditorXORProps>;
|
|
53
36
|
export interface CodeEditorHeaderInterface {
|
|
54
37
|
children?: any;
|
|
55
38
|
className?: string;
|
|
@@ -102,4 +85,3 @@ export declare enum CodeEditorActionTypes {
|
|
|
102
85
|
overrideLoading = "overrideLoading",
|
|
103
86
|
success = "success"
|
|
104
87
|
}
|
|
105
|
-
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { XORProps } from '../Types';
|
|
2
1
|
import { TippyProps } from '@tippyjs/react';
|
|
3
2
|
|
|
4
3
|
type BaseTooltipProps = {
|
|
@@ -6,14 +5,25 @@ type BaseTooltipProps = {
|
|
|
6
5
|
* If true, show tippy on truncate
|
|
7
6
|
* @default true
|
|
8
7
|
*/
|
|
9
|
-
showOnTruncate
|
|
8
|
+
showOnTruncate?: boolean;
|
|
10
9
|
/**
|
|
11
10
|
* If showOnTruncate is defined this prop doesn't work
|
|
12
11
|
* @default false
|
|
13
12
|
*/
|
|
14
|
-
alwaysShowTippyOnHover
|
|
13
|
+
alwaysShowTippyOnHover?: never;
|
|
14
|
+
} | {
|
|
15
|
+
/**
|
|
16
|
+
* If alwaysShowTippyOnHover is defined this prop doesn't work
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
showOnTruncate?: never;
|
|
20
|
+
/**
|
|
21
|
+
* If true, wrap with tippy irrespective of other options
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
alwaysShowTippyOnHover?: boolean;
|
|
15
25
|
};
|
|
16
|
-
export type TooltipProps =
|
|
26
|
+
export type TooltipProps = BaseTooltipProps & TippyProps & {
|
|
17
27
|
/**
|
|
18
28
|
* If true, apply dc__word-break-all
|
|
19
29
|
* @default true
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -816,5 +816,4 @@ export interface EnvironmentHelmResult {
|
|
|
816
816
|
allowedDeploymentTypes?: DeploymentAppTypes[];
|
|
817
817
|
}
|
|
818
818
|
export type EnvironmentListHelmResponse = ResponseType<EnvironmentListHelmResult[]>;
|
|
819
|
-
export type XORProps<P extends string, S extends string, T extends Record<P | S, any>> = (Partial<Record<P, never>> & Partial<Record<S, T[S]>>) | (Partial<Record<P, T[P]>> & Partial<Record<S, never>>);
|
|
820
819
|
export {};
|