@devtron-labs/devtron-fe-common-lib 0.1.9-beta-6 → 0.1.9-beta-8

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 (30) hide show
  1. package/dist/Common/Constants.d.ts +1 -0
  2. package/dist/Common/Helper.d.ts +0 -4
  3. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +1 -1
  4. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -2
  5. package/dist/Common/RJSF/types.d.ts +0 -12
  6. package/dist/Common/RJSF/utils.d.ts +2 -2
  7. package/dist/Common/Types.d.ts +1 -1
  8. package/dist/Common/index.d.ts +0 -1
  9. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  10. package/dist/Shared/Components/FeatureDescription/types.d.ts +7 -2
  11. package/dist/assets/index.css +1 -1
  12. package/dist/{cssMode-addaf625.js → cssMode-5f0d2182.js} +1 -1
  13. package/dist/{freemarker2-93af599a.js → freemarker2-a94b7149.js} +1 -1
  14. package/dist/{handlebars-d10b202a.js → handlebars-013435fd.js} +1 -1
  15. package/dist/{html-4ca3568b.js → html-00cf715e.js} +1 -1
  16. package/dist/{htmlMode-5159383b.js → htmlMode-bd4507eb.js} +1 -1
  17. package/dist/{index-833d5305.js → index-4efbd118.js} +28718 -30779
  18. package/dist/index.js +241 -245
  19. package/dist/{javascript-cd6afa36.js → javascript-c705b345.js} +1 -1
  20. package/dist/{jsonMode-02ab13b3.js → jsonMode-26eae535.js} +1 -1
  21. package/dist/{liquid-4250cd5a.js → liquid-e11cbdd2.js} +1 -1
  22. package/dist/{mdx-8d21f972.js → mdx-7218e01b.js} +1 -1
  23. package/dist/{python-272a3022.js → python-bc50c277.js} +1 -1
  24. package/dist/{razor-6a07b5ee.js → razor-83e5d36b.js} +1 -1
  25. package/dist/{tsMode-9f9aded0.js → tsMode-6592ff34.js} +1 -1
  26. package/dist/{typescript-a672008e.js → typescript-0eba56cb.js} +1 -1
  27. package/dist/{xml-cdff47fe.js → xml-e3b8d8d3.js} +1 -1
  28. package/dist/{yaml-6c9a80da.js → yaml-7263109e.js} +1 -1
  29. package/package.json +2 -3
  30. package/dist/Common/Tippy.d.ts +0 -4
@@ -9,6 +9,7 @@ export declare const DOCUMENTATION: {
9
9
  APP_TAGS: string;
10
10
  APP_OVERVIEW_TAGS: string;
11
11
  BLOB_STORAGE: string;
12
+ GLOBAL_CONFIG_BUILD_INFRA: string;
12
13
  };
13
14
  export declare const PATTERNS: {
14
15
  KUBERNETES_KEY_PREFIX: RegExp;
@@ -1,5 +1,4 @@
1
1
  import { default as React, SyntheticEvent } from 'react';
2
- import { JSONPathOptions } from 'jsonpath-plus';
3
2
  import { AsyncOptions, UseSearchString } from './Types';
4
3
  import { scrollableInterface } from '../Shared';
5
4
 
@@ -95,9 +94,6 @@ export declare const getRegexMatchPositions: (string: string, regex: RegExp) =>
95
94
  * @returns set of substrings
96
95
  */
97
96
  export declare const powerSetOfSubstringsFromStart: (strings: string[], regex: RegExp) => string[];
98
- export declare const convertJSONPointerToJSONPath: (pointer: string) => string;
99
- export declare const flatMapOfJSONPaths: (paths: string[], json: object, resultType?: JSONPathOptions['resultType']) => string[];
100
- export declare const applyCompareDiffOnUneditedDocument: (uneditedDocument: object, editedDocument: object) => object;
101
97
  /**
102
98
  * Returns a debounced variant of the function
103
99
  */
@@ -1,3 +1,3 @@
1
1
  import { ArrayFieldTemplateItemType } from '@rjsf/utils';
2
2
 
3
- export declare const ArrayFieldItemTemplate: ({ children, disabled, hasToolbar, hasRemove, index, onDropIndexClick, readonly, registry, uiSchema, }: ArrayFieldTemplateItemType) => JSX.Element;
3
+ export declare const ArrayFieldItemTemplate: ({ children, className, disabled, hasToolbar, hasRemove, index, onDropIndexClick, readonly, registry, uiSchema, }: ArrayFieldTemplateItemType) => JSX.Element;
@@ -1,4 +1,3 @@
1
1
  import { ObjectFieldTemplateProps } from '@rjsf/utils';
2
- import { RJSFFormSchema } from '../types';
3
2
 
4
- export declare const ObjectFieldTemplate: (props: ObjectFieldTemplateProps<any, RJSFFormSchema, any>) => JSX.Element;
3
+ export declare const ObjectFieldTemplate: (props: ObjectFieldTemplateProps) => JSX.Element;
@@ -1,16 +1,4 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { default as RJSFForm } from '@rjsf/core';
3
- import { StrictRJSFSchema } from '@rjsf/utils';
4
3
 
5
4
  export type FormProps = Omit<ComponentProps<typeof RJSFForm>, 'validator'>;
6
- interface Hidden {
7
- condition: boolean;
8
- match: string;
9
- }
10
- export interface RJSFFormSchema extends StrictRJSFSchema {
11
- properties: {
12
- [key: string]: RJSFFormSchema;
13
- };
14
- hidden: Hidden;
15
- }
16
- export {};
@@ -1,5 +1,5 @@
1
1
  import { TranslatableString } from '@rjsf/utils';
2
- import { default as Tippy } from '../Tippy';
2
+ import { default as Tippy } from '@tippyjs/react';
3
3
 
4
4
  /**
5
5
  * Override for the TranslatableString from RJSF
@@ -25,4 +25,4 @@ export declare const getRedirectionProps: (url: string) => import('react').Ancho
25
25
  * Infers the type for json schema from value type
26
26
  */
27
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'], truncateWidth?: number) => (children: any) => JSX.Element;
28
+ export declare const getTippyWrapperWithContent: (content: any, placement?: React.ComponentProps<typeof Tippy>['placement']) => (children: any) => JSX.Element;
@@ -77,7 +77,7 @@ export interface TippyCustomizedProps {
77
77
  iconSize?: number;
78
78
  onImageLoadError?: (e: any) => void;
79
79
  onClose?: () => void;
80
- infoText?: string;
80
+ infoText?: React.ReactNode;
81
81
  showCloseButton?: boolean;
82
82
  arrow?: boolean;
83
83
  interactive?: boolean;
@@ -54,4 +54,3 @@ export * from './GenericDescription';
54
54
  export * from './SegmentedBarChart';
55
55
  export * from './CodeEditor';
56
56
  export * from './AppStatus';
57
- export { default as Tippy } from './Tippy';
@@ -1,4 +1,4 @@
1
1
  import { DescriptorProps } from './types';
2
2
 
3
- declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, }: DescriptorProps) => JSX.Element;
3
+ declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, showInfoIconTippy, docLinkText, dataTestId, additionalContent, }: DescriptorProps) => JSX.Element;
4
4
  export default FeatureTitleWithInfo;
@@ -1,9 +1,10 @@
1
+ import { default as React, ReactNode } from 'react';
1
2
  import { ImageType } from '../../../Common';
2
3
  import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
3
4
 
4
5
  export interface FeatureDescriptionModalProps {
5
6
  title: string;
6
- renderDescriptionContent?: () => JSX.Element;
7
+ renderDescriptionContent?: () => ReactNode;
7
8
  closeModalText?: string;
8
9
  docLink?: string;
9
10
  closeModal?: () => void;
@@ -12,8 +13,12 @@ export interface FeatureDescriptionModalProps {
12
13
  imageStyles?: React.CSSProperties;
13
14
  }
14
15
  export interface DescriptorProps extends FeatureDescriptionModalProps {
15
- breadCrumbs: Breadcrumb[];
16
+ breadCrumbs?: Breadcrumb[];
16
17
  additionalContainerClasses?: string;
17
18
  iconClassName?: string;
18
19
  children?: React.ReactNode;
20
+ showInfoIconTippy?: boolean;
21
+ docLinkText?: string;
22
+ dataTestId?: string;
23
+ additionalContent?: ReactNode;
19
24
  }