@devtron-labs/devtron-fe-common-lib 0.0.7-beta-5 → 0.0.7-beta-6

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.
@@ -11,6 +11,7 @@ export interface TagType {
11
11
  isInvalidKey?: boolean;
12
12
  isInvalidValue?: boolean;
13
13
  isSuggested?: boolean;
14
+ isPropagateDisabled?: boolean;
14
15
  }
15
16
  export interface TagErrorType {
16
17
  isValid: boolean;
@@ -1,13 +1,5 @@
1
1
  import { Component } from 'react';
2
- export interface DialogFormProps {
3
- className: string;
4
- title: string;
5
- isLoading: boolean;
6
- closeOnESC?: boolean;
7
- close: (event: any) => void;
8
- onSave: (event: any) => void;
9
- headerClassName?: string;
10
- }
2
+ import { DialogFormProps } from './Types';
11
3
  export declare class DialogForm extends Component<DialogFormProps> {
12
4
  constructor(props: any);
13
5
  componentDidMount(): void;
@@ -30,3 +30,12 @@ export interface ConfirmationDialogBodyType {
30
30
  export interface ConfirmationDialogButtonGroupType {
31
31
  children: any;
32
32
  }
33
+ export interface DialogFormProps {
34
+ className: string;
35
+ title: string;
36
+ isLoading: boolean;
37
+ closeOnESC?: boolean;
38
+ close: (event: any) => void;
39
+ onSave: (event: any) => void;
40
+ headerClassName?: string;
41
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.7-beta-5",
3
+ "version": "0.0.7-beta-6",
4
4
  "description": "Supporting common component library",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -11,6 +11,7 @@ export interface TagType {
11
11
  isInvalidKey?: boolean
12
12
  isInvalidValue?: boolean
13
13
  isSuggested?: boolean
14
+ isPropagateDisabled?: boolean
14
15
  }
15
16
 
16
17
  export interface TagErrorType {
@@ -2,19 +2,10 @@ import React, { Component, createContext } from 'react';
2
2
  import { VisibleModal } from '../Modals/VisibleModal';
3
3
  import close from '../../Assets/Icon/ic-cross.svg';
4
4
  import { Progressing } from '../Progressing'
5
+ import { DialogFormProps } from './Types';
5
6
  //TODO: may not need context
6
7
  const DialogFormContext = createContext({ title: '', isLoading: false, close: (event) => {}, onSave: (event) => {} });
7
8
 
8
- export interface DialogFormProps {
9
- className: string;
10
- title: string;
11
- isLoading: boolean;
12
- closeOnESC?: boolean;
13
- close: (event) => void;
14
- onSave: (event) => void;
15
- headerClassName?: string;
16
- }
17
-
18
9
  export class DialogForm extends Component<DialogFormProps> {
19
10
  constructor(props) {
20
11
  super(props);
@@ -32,3 +32,12 @@ export interface ConfirmationDialogBodyType {
32
32
  export interface ConfirmationDialogButtonGroupType {
33
33
  children: any
34
34
  }
35
+ export interface DialogFormProps {
36
+ className: string;
37
+ title: string;
38
+ isLoading: boolean;
39
+ closeOnESC?: boolean;
40
+ close: (event) => void;
41
+ onSave: (event) => void;
42
+ headerClassName?: string;
43
+ }