@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.
@@ -1,16 +1,4 @@
1
1
  import React from 'react';
2
- interface RadioGroupInterface {
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
- import { Component } from 'react';
2
- import { RadioGroupItemProps, RadioGroupProps } from './Types';
3
- export declare class RadioGroupItem extends Component<RadioGroupItemProps> {
4
- render(): JSX.Element;
5
- }
6
- export declare class RadioGroup extends Component<RadioGroupProps> {
7
- render(): JSX.Element;
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;
@@ -0,0 +1,3 @@
1
+ import { RadioGroupItemProps } from './Types';
2
+ declare const RadioGroupItem: ({ value, disabled, children, dataTestId }: RadioGroupItemProps) => JSX.Element;
3
+ export default RadioGroupItem;
@@ -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[];
@@ -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 * from './RadioGroup';
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';