@devtron-labs/devtron-fe-common-lib 0.0.92-beta-2 → 0.0.92-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.
Files changed (34) hide show
  1. package/dist/Common/InfoColorBar/InfoColourbar.d.ts +1 -1
  2. package/dist/Common/RJSF/common/FieldRow.d.ts +1 -4
  3. package/dist/Common/RJSF/common/types.d.ts +1 -1
  4. package/dist/Common/RJSF/constants.d.ts +4 -1
  5. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
  6. package/dist/Common/RJSF/templates/TitleField.d.ts +1 -1
  7. package/dist/Common/RJSF/templates/index.d.ts +0 -1
  8. package/dist/Common/RJSF/utils.d.ts +3 -1
  9. package/dist/Common/Types.d.ts +0 -6
  10. package/dist/Shared/Components/index.d.ts +0 -1
  11. package/dist/assets/index.css +1 -1
  12. package/dist/{cssMode-85666277.js → cssMode-c12fc82c.js} +1 -1
  13. package/dist/{freemarker2-d14f3757.js → freemarker2-13bcce02.js} +1 -1
  14. package/dist/{handlebars-2b941877.js → handlebars-9d5b4ddd.js} +1 -1
  15. package/dist/{html-b78575b9.js → html-a33e70ef.js} +1 -1
  16. package/dist/{htmlMode-c293acb4.js → htmlMode-dccacf10.js} +1 -1
  17. package/dist/{index-a88e034a.js → index-ddb64f30.js} +13815 -13842
  18. package/dist/index.js +281 -282
  19. package/dist/{javascript-9732c945.js → javascript-aaaf29e8.js} +1 -1
  20. package/dist/{jsonMode-cbd86d48.js → jsonMode-da2c663f.js} +1 -1
  21. package/dist/{liquid-5277e511.js → liquid-c0e3c2ae.js} +1 -1
  22. package/dist/{mdx-6273e5a6.js → mdx-85529d5b.js} +1 -1
  23. package/dist/{python-aac0aa6c.js → python-c77c170d.js} +1 -1
  24. package/dist/{razor-803ac678.js → razor-ca39ff37.js} +1 -1
  25. package/dist/{tsMode-b0cb8d42.js → tsMode-139e075c.js} +1 -1
  26. package/dist/{typescript-dd808c1c.js → typescript-cab8c9fe.js} +1 -1
  27. package/dist/{xml-15f84b29.js → xml-8627e817.js} +1 -1
  28. package/dist/{yaml-c7bbff0a.js → yaml-71329abe.js} +1 -1
  29. package/package.json +1 -1
  30. package/dist/Common/RJSF/templates/Description.d.ts +0 -3
  31. package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +0 -4
  32. package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +0 -4
  33. package/dist/Shared/Components/IframeContainer/index.d.ts +0 -1
  34. package/dist/Shared/Components/IframeContainer/types.d.ts +0 -15
@@ -1,4 +1,4 @@
1
1
  import { InfoColourBarType } from '../Types';
2
2
 
3
- declare const InfoColourBar: ({ message, classname, Icon, iconClass, iconSize, renderActionButton, linkText, redirectLink, linkOnClick, linkClass, internalLink, styles, hideIcon }: InfoColourBarType) => JSX.Element;
3
+ declare const InfoColourBar: ({ message, classname, Icon, iconClass, iconSize, renderActionButton, linkText, redirectLink, linkOnClick, linkClass, internalLink, styles, }: InfoColourBarType) => JSX.Element;
4
4
  export default InfoColourBar;
@@ -1,6 +1,3 @@
1
- import { DO_NOT_SHOW_LABEL } from '../constants';
2
1
  import { FieldRowProps } from './types';
3
2
 
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;
3
+ export declare const FieldRowWithLabel: ({ showLabel, label, required, children, id, rawDescription, shouldAlignCenter, }: FieldRowProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { FieldTemplateProps } from '@rjsf/utils';
2
2
 
3
- export interface FieldRowProps extends Pick<FieldTemplateProps, 'children' | 'label' | 'required' | 'id'> {
3
+ export interface FieldRowProps extends Pick<FieldTemplateProps, 'children' | 'label' | 'required' | 'id' | 'rawDescription'> {
4
4
  showLabel?: boolean;
5
5
  /**
6
6
  * @default true
@@ -4,4 +4,7 @@ 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 DO_NOT_SHOW_LABEL: unique symbol;
7
+ export declare const ADD_BUTTON_WIDTH: {
8
+ MAX_WIDTH_VALUE: number;
9
+ MAX_WIDTH_CLASSNAME: string;
10
+ };
@@ -1,3 +1,3 @@
1
1
  import { IconButtonProps } from '@rjsf/utils';
2
2
 
3
- export declare const AddButton: ({ icon, iconType, registry, uiSchema, ...props }: IconButtonProps) => JSX.Element;
3
+ export declare const AddButton: ({ label, icon, iconType, registry, uiSchema, ...props }: IconButtonProps & Partial<Record<'label', string>>) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { TitleFieldProps } from '@rjsf/utils';
2
2
 
3
- export declare const TitleField: ({ id, title, required }: TitleFieldProps) => JSX.Element;
3
+ export declare const TitleField: ({ id, title, required, description }: TitleFieldProps & Partial<Record<'description', string>>) => JSX.Element;
@@ -2,7 +2,6 @@ export { ArrayFieldTemplate } from './ArrayFieldTemplate';
2
2
  export { ArrayFieldItemTemplate } from './ArrayFieldItemTemplate';
3
3
  export { BaseInput as BaseInputTemplate } from './BaseInput';
4
4
  export * from './ButtonTemplates';
5
- export { Description as DescriptionFieldTemplate } from './Description';
6
5
  export { Field as FieldTemplate } from './Field';
7
6
  export { FieldErrorTemplate } from './FieldErrorTemplate';
8
7
  export { ObjectFieldTemplate } from './ObjectFieldTemplate';
@@ -1,3 +1,4 @@
1
+ import { default as Tippy } from '@tippyjs/react';
1
2
  import { TranslatableString } from '@rjsf/utils';
2
3
 
3
4
  /**
@@ -12,7 +13,7 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
12
13
  valueContainer: (base: any, state: any) => any;
13
14
  loadingMessage: (base: any) => any;
14
15
  noOptionsMessage: (base: any) => any;
15
- multiValue: (base: any, state: any) => any;
16
+ multiValue: (base: any) => any;
16
17
  };
17
18
  /**
18
19
  * Returns the redirection props for a url
@@ -24,3 +25,4 @@ export declare const getRedirectionProps: (url: string) => import('react').Ancho
24
25
  * Infers the type for json schema from value type
25
26
  */
26
27
  export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
28
+ export declare const getTippyWrapperWithContent: (content: any, placement?: React.ComponentProps<typeof Tippy>['placement']) => (children: any) => JSX.Element;
@@ -156,12 +156,6 @@ export interface InfoColourBarType {
156
156
  linkClass?: string;
157
157
  internalLink?: boolean;
158
158
  styles?: CSSProperties;
159
- /**
160
- * If true, the icon is not shown
161
- *
162
- * @default false
163
- */
164
- hideIcon?: boolean;
165
159
  }
166
160
  export interface ReloadType {
167
161
  reload?: (event?: any) => void;
@@ -23,4 +23,3 @@ export * from './FeatureDescription';
23
23
  export * from './CICDHistory';
24
24
  export * from './GitCommitInfoGeneric';
25
25
  export * from './Error';
26
- export * from './IframeContainer';