@devtron-labs/devtron-fe-common-lib 0.0.89-beta-1 → 0.0.89-beta-2

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,6 @@
1
+ import { DO_NOT_SHOW_LABEL } from '../constants';
1
2
  import { FieldRowProps } from './types';
2
3
 
3
- export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, shouldAlignCenter, }: FieldRowProps) => JSX.Element;
4
+ export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, shouldAlignCenter, }: Omit<FieldRowProps, "label"> & {
5
+ label: FieldRowProps['label'] | typeof DO_NOT_SHOW_LABEL;
6
+ }) => JSX.Element;
@@ -4,7 +4,4 @@ export declare const PLACEHOLDERS: {
4
4
  OBJECT_KEY: string;
5
5
  };
6
6
  export declare const DEFAULT_FIELD_TITLE = "Key not available";
7
- export declare const ADD_BUTTON_WIDTH: {
8
- MAX_WIDTH_VALUE: number;
9
- MAX_WIDTH_CLASSNAME: string;
10
- };
7
+ export declare const DO_NOT_SHOW_LABEL: unique symbol;
@@ -1,3 +1,3 @@
1
1
  import { IconButtonProps } from '@rjsf/utils';
2
2
 
3
- export declare const AddButton: ({ label, icon, iconType, registry, uiSchema, ...props }: IconButtonProps & Partial<Record<'label', string>>) => JSX.Element;
3
+ export declare const AddButton: ({ icon, iconType, registry, uiSchema, ...props }: IconButtonProps) => JSX.Element;
@@ -12,7 +12,7 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
12
12
  valueContainer: (base: any, state: any) => any;
13
13
  loadingMessage: (base: any) => any;
14
14
  noOptionsMessage: (base: any) => any;
15
- multiValue: (base: any) => any;
15
+ multiValue: (base: any, state: any) => any;
16
16
  };
17
17
  /**
18
18
  * Returns the redirection props for a url
@@ -24,4 +24,3 @@ export declare const getRedirectionProps: (url: string) => import('react').Ancho
24
24
  * Infers the type for json schema from value type
25
25
  */
26
26
  export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
27
- export declare const getTippyWrapperWithContent: (content: any) => (children: any) => JSX.Element;