@devtron-labs/devtron-fe-common-lib 0.0.51-beta-2 → 0.0.51-beta-3

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.
@@ -64,4 +64,7 @@ export declare const RepositoryAction: {
64
64
  CHART_PULL: string;
65
65
  CHART_PUSH: string;
66
66
  };
67
- export declare const MAX_Z_INDEX = 2147483647;
67
+ export declare enum APPROVAL_MODAL_TYPE {
68
+ CONFIG = "CONFIG",
69
+ DEPLOYMENT = "DEPLOYMENT"
70
+ }
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { CustomInputProps } from './Types';
3
- export declare function CustomInput({ name, value, error, onChange, onFocus, label, type, disabled, labelClassName, placeholder, tabIndex, dataTestid, isRequiredField, autoFocus, rootClassName, autoComplete, helperText, handleOnBlur, readOnly, noTrim, ref, onKeyPress, defaultValue, onKeyDown, required, additionalErrorInfo }: CustomInputProps): JSX.Element;
3
+ export declare function CustomInput({ name, value, error, onChange, onFocus, label, type, disabled, labelClassName, placeholder, tabIndex, dataTestid, isRequiredField, autoFocus, rootClassName, autoComplete, helperText, handleOnBlur, readOnly, noTrim, ref, onKeyPress, defaultValue, onKeyDown, required, additionalErrorInfo, inputWrapClassname, }: CustomInputProps): JSX.Element;
@@ -26,4 +26,5 @@ export interface CustomInputProps {
26
26
  onKeyDown?: (e: any) => void;
27
27
  required?: boolean;
28
28
  additionalErrorInfo?: React.ReactNode;
29
+ inputWrapClassname?: string;
29
30
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { GenericEmptyStateType } from '../Types';
3
3
  import './emptyState.scss';
4
- declare function GenericEmptyState({ title, image, subTitle, isButtonAvailable, classname, styles, heightToDeduct, imageType, renderButton, imageClassName, children, SvgImage, noImage, layout, contentClassName }: GenericEmptyStateType): JSX.Element;
4
+ declare function GenericEmptyState({ title, image, subTitle, isButtonAvailable, classname, styles, heightToDeduct, imageType, renderButton, imageClassName, children, SvgImage, noImage, layout, contentClassName, }: GenericEmptyStateType): JSX.Element;
5
5
  export default GenericEmptyState;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridProps } from './types';
3
- export default function Grid({ container, spacing, item, xs, containerClass, itemClass, children, ...containerDivProps }: GridProps): JSX.Element;
3
+ export default function Grid({ container, spacing, item, xs, containerClass, itemClass, children, }: GridProps): JSX.Element;
@@ -1,5 +1,5 @@
1
- import { HTMLAttributes } from "react";
2
- export interface GridProps extends HTMLAttributes<HTMLDivElement> {
1
+ /// <reference types="react" />
2
+ export interface GridProps {
3
3
  container?: boolean;
4
4
  spacing?: number;
5
5
  item?: boolean;
@@ -1,3 +1,2 @@
1
1
  export { useSuperAdmin } from './UseSuperAdmin/UseSuperAdmin';
2
2
  export { useClickOutside } from './UseClickOutside/UseClickOutside';
3
- export { useWindowSize } from './UseWindowSize/UseWindowSize';
@@ -45,4 +45,3 @@ export * from './DevtronProgressing';
45
45
  export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
46
46
  export * from './AddCDButton';
47
47
  export * from './CustomInput';
48
- export * from './DraggableWrapper';