@devtron-labs/devtron-fe-common-lib 0.1.8-beta-2 → 0.1.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.
- package/dist/Common/Helper.d.ts +0 -3
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +1 -1
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -2
- package/dist/Common/RJSF/types.d.ts +0 -12
- package/dist/Common/RJSF/utils.d.ts +2 -2
- package/dist/Common/index.d.ts +0 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-a4ee32ac.js → cssMode-84ca3e2c.js} +1 -1
- package/dist/{freemarker2-a8a05eec.js → freemarker2-141b6cdf.js} +1 -1
- package/dist/{handlebars-60e2a630.js → handlebars-51a2d1f1.js} +1 -1
- package/dist/{html-e4ae368f.js → html-72515273.js} +1 -1
- package/dist/{htmlMode-45af9cc5.js → htmlMode-141b2446.js} +1 -1
- package/dist/{index-1b29af8c.js → index-d866ee56.js} +27770 -29435
- package/dist/index.js +227 -230
- package/dist/{javascript-41790160.js → javascript-8a478693.js} +1 -1
- package/dist/{jsonMode-b3c90434.js → jsonMode-4c119d71.js} +1 -1
- package/dist/{liquid-752454c3.js → liquid-3e6ff2ec.js} +1 -1
- package/dist/{mdx-3737a76d.js → mdx-c337fa11.js} +1 -1
- package/dist/{python-63abe626.js → python-fa723189.js} +1 -1
- package/dist/{razor-da5d9543.js → razor-8a86821f.js} +1 -1
- package/dist/{tsMode-39be316b.js → tsMode-8f3da593.js} +1 -1
- package/dist/{typescript-8f59fda6.js → typescript-3e2d1791.js} +1 -1
- package/dist/{xml-aee32c03.js → xml-f309305e.js} +1 -1
- package/dist/{yaml-082aac40.js → yaml-8469c2d5.js} +1 -1
- package/package.json +2 -3
- package/dist/Common/Tippy.d.ts +0 -4
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -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,8 +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
97
|
/**
|
|
101
98
|
* Returns a debounced variant of the function
|
|
102
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
|
|
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 '
|
|
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']
|
|
28
|
+
export declare const getTippyWrapperWithContent: (content: any, placement?: React.ComponentProps<typeof Tippy>['placement']) => (children: any) => JSX.Element;
|
package/dist/Common/index.d.ts
CHANGED