@devtron-labs/devtron-fe-common-lib 0.0.7-beta-4 → 0.0.7-beta-5
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
1
2
|
export interface DeleteDialogProps {
|
|
2
3
|
title: string;
|
|
3
4
|
description?: string;
|
|
@@ -23,7 +24,7 @@ export interface ConfirmationDialogIconType {
|
|
|
23
24
|
}
|
|
24
25
|
export interface ConfirmationDialogBodyType {
|
|
25
26
|
title: string;
|
|
26
|
-
subtitle?:
|
|
27
|
+
subtitle?: ReactNode;
|
|
27
28
|
children?: any;
|
|
28
29
|
}
|
|
29
30
|
export interface ConfirmationDialogButtonGroupType {
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export interface InfoColourBarType {
|
|
|
100
100
|
styles?: CSSProperties;
|
|
101
101
|
}
|
|
102
102
|
export interface ReloadType {
|
|
103
|
-
reload?: () => void;
|
|
103
|
+
reload?: (event?: any) => void;
|
|
104
104
|
className?: string;
|
|
105
105
|
}
|
|
106
106
|
export interface RadioGroupItemProps {
|
|
@@ -129,7 +129,7 @@ export interface PopupMenuType {
|
|
|
129
129
|
autoPosition?: boolean;
|
|
130
130
|
}
|
|
131
131
|
export interface PopupMenuButtonType {
|
|
132
|
-
children?:
|
|
132
|
+
children?: ReactNode;
|
|
133
133
|
disabled?: boolean;
|
|
134
134
|
rootClassName?: string;
|
|
135
135
|
tabIndex?: number;
|
|
@@ -137,15 +137,15 @@ export interface PopupMenuButtonType {
|
|
|
137
137
|
isKebab?: boolean;
|
|
138
138
|
}
|
|
139
139
|
export interface PopupMenuBodyType {
|
|
140
|
-
children?:
|
|
140
|
+
children?: ReactNode;
|
|
141
141
|
rootClassName?: string;
|
|
142
142
|
style?: React.CSSProperties;
|
|
143
143
|
autoWidth?: boolean;
|
|
144
144
|
preventWheelDisable?: boolean;
|
|
145
145
|
}
|
|
146
146
|
export interface ModalType {
|
|
147
|
-
style
|
|
148
|
-
children?:
|
|
147
|
+
style?: React.CSSProperties;
|
|
148
|
+
children?: ReactNode;
|
|
149
149
|
modal?: boolean;
|
|
150
150
|
rootClassName?: string;
|
|
151
151
|
onClick?: any;
|
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ReactNode } from "react"
|
|
2
|
+
|
|
1
3
|
export interface DeleteDialogProps {
|
|
2
4
|
title: string
|
|
3
5
|
description?: string
|
|
@@ -24,7 +26,7 @@ export interface ConfirmationDialogIconType {
|
|
|
24
26
|
}
|
|
25
27
|
export interface ConfirmationDialogBodyType {
|
|
26
28
|
title: string
|
|
27
|
-
subtitle?:
|
|
29
|
+
subtitle?: ReactNode
|
|
28
30
|
children?: any
|
|
29
31
|
}
|
|
30
32
|
export interface ConfirmationDialogButtonGroupType {
|
package/src/Common/Types.ts
CHANGED
|
@@ -109,7 +109,7 @@ export interface InfoColourBarType {
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
export interface ReloadType {
|
|
112
|
-
reload?: () => void
|
|
112
|
+
reload?: (event?: any) => void
|
|
113
113
|
className?: string
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -143,7 +143,7 @@ export interface PopupMenuType {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
export interface PopupMenuButtonType {
|
|
146
|
-
children?:
|
|
146
|
+
children?: ReactNode
|
|
147
147
|
disabled?: boolean
|
|
148
148
|
rootClassName?: string
|
|
149
149
|
tabIndex?: number
|
|
@@ -152,7 +152,7 @@ export interface PopupMenuButtonType {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
export interface PopupMenuBodyType {
|
|
155
|
-
children?:
|
|
155
|
+
children?: ReactNode
|
|
156
156
|
rootClassName?: string
|
|
157
157
|
style?: React.CSSProperties
|
|
158
158
|
autoWidth?: boolean
|
|
@@ -160,8 +160,8 @@ export interface PopupMenuBodyType {
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
export interface ModalType {
|
|
163
|
-
style
|
|
164
|
-
children?:
|
|
163
|
+
style?: React.CSSProperties
|
|
164
|
+
children?: ReactNode
|
|
165
165
|
modal?: boolean
|
|
166
166
|
rootClassName?: string
|
|
167
167
|
onClick?: any
|