@devtron-labs/devtron-fe-common-lib 0.0.65 → 0.0.66-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/Common/RadioGroup/RadioGroup.d.ts +1 -13
- package/dist/Common/RadioGroup.d.ts +10 -8
- package/dist/Common/RadioGroupItem.d.ts +3 -0
- package/dist/Common/Types.d.ts +26 -0
- package/dist/Common/index.d.ts +2 -1
- package/dist/index.js +1599 -1619
- package/package.json +1 -1
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
name: string;
|
|
4
|
-
onChange: any;
|
|
5
|
-
className?: string;
|
|
6
|
-
initialTab: string;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
showTippy?: boolean;
|
|
9
|
-
tippyContent?: any;
|
|
10
|
-
dataTestId?: string;
|
|
11
|
-
}
|
|
12
|
-
interface RadioGroupComposition {
|
|
13
|
-
Radio?: React.FC<any>;
|
|
14
|
-
}
|
|
2
|
+
import { RadioGroupComposition, RadioGroupInterface } from '..';
|
|
15
3
|
declare const RadioGroup: React.FC<RadioGroupInterface> & RadioGroupComposition;
|
|
16
4
|
export default RadioGroup;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RadioGroupProps } from './Types';
|
|
3
|
+
export declare const RadioGroupContext: import("react").Context<{
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
+
}>;
|
|
9
|
+
declare const RadioGroup: ({ name, value, disabled, onChange, className, children }: RadioGroupProps) => JSX.Element;
|
|
10
|
+
export default RadioGroup;
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -134,8 +134,33 @@ export interface RadioGroupItemProps {
|
|
|
134
134
|
value: string;
|
|
135
135
|
dataTestId?: string;
|
|
136
136
|
disabled?: boolean;
|
|
137
|
+
children: ReactNode;
|
|
138
|
+
}
|
|
139
|
+
export interface RadioGroupInterface {
|
|
140
|
+
name: string;
|
|
141
|
+
onChange: any;
|
|
142
|
+
className?: string;
|
|
143
|
+
initialTab: string;
|
|
144
|
+
disabled: boolean;
|
|
145
|
+
children: ReactNode;
|
|
146
|
+
}
|
|
147
|
+
export interface RadioInterface {
|
|
148
|
+
children: ReactNode;
|
|
149
|
+
value: string;
|
|
150
|
+
className?: string;
|
|
151
|
+
showTippy?: boolean;
|
|
152
|
+
tippyContent?: any;
|
|
153
|
+
tippyPlacement?: string;
|
|
154
|
+
canSelect?: boolean;
|
|
155
|
+
isDisabled?: boolean;
|
|
156
|
+
tippyClass?: string;
|
|
157
|
+
dataTestId?: string;
|
|
158
|
+
}
|
|
159
|
+
export interface RadioGroupComposition {
|
|
160
|
+
Radio?: React.FC<any>;
|
|
137
161
|
}
|
|
138
162
|
export interface RadioGroupProps {
|
|
163
|
+
children: ReactNode;
|
|
139
164
|
value: string;
|
|
140
165
|
name: string;
|
|
141
166
|
disabled?: boolean;
|
|
@@ -341,6 +366,7 @@ export interface CommonNodeAttr {
|
|
|
341
366
|
};
|
|
342
367
|
appReleaseTagNames?: string[];
|
|
343
368
|
tagsEditable?: boolean;
|
|
369
|
+
isGitOpsRepoNotConfigured?: boolean;
|
|
344
370
|
deploymentAppCreated?: boolean;
|
|
345
371
|
isLast?: boolean;
|
|
346
372
|
downstreamEnvironments?: DownstreamNodesEnvironmentsType[];
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ export * from './Modals/VisibleModal';
|
|
|
14
14
|
export * from './Modals/VisibleModal2';
|
|
15
15
|
export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
|
|
16
16
|
export { default as BreadcrumbStore } from './BreadCrumb/BreadcrumbStore';
|
|
17
|
-
export
|
|
17
|
+
export { default as RadioGroup } from './RadioGroup';
|
|
18
|
+
export { default as RadioGroupItem } from './RadioGroupItem';
|
|
18
19
|
export { default as PopupMenu } from './PopupMenu';
|
|
19
20
|
export * from './TippyCustomized';
|
|
20
21
|
export * from './CustomTagSelector';
|