@teselagen/ui 0.4.17 → 0.4.19-beta.1
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/FormComponents/AbstractField.d.ts +1 -0
- package/FormComponents/index.d.ts +2 -7
- package/FormComponents/utils.d.ts +23 -0
- package/README.md +6 -0
- package/index.cjs.js +1684 -1682
- package/index.es.js +733 -731
- package/package.json +1 -2
- package/src/FormComponents/AbstractField.js +388 -0
- package/src/FormComponents/Uploader.js +1 -1
- package/src/FormComponents/index.js +60 -651
- package/src/FormComponents/utils.js +145 -0
- package/src/style.css +3 -0
- package/src/utils/menuUtils.js +0 -3
- package/style.css +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function withAbstractWrapper(ComponentToWrap: any, opts?: {}): (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { fieldRequired } from './utils';
|
|
2
2
|
import { default as React } from '../../../../node_modules/react';
|
|
3
|
+
/** RENDER UTILS */
|
|
3
4
|
export function generateField(component: any, opts: any): ({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
4
5
|
[x: string]: any;
|
|
5
6
|
name: any;
|
|
@@ -45,13 +46,7 @@ export function renderBlueprintRadioGroup({ input, options, onFieldSubmit, ...re
|
|
|
45
46
|
options: any;
|
|
46
47
|
onFieldSubmit: any;
|
|
47
48
|
}): import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
export
|
|
49
|
-
constructor(props: any);
|
|
50
|
-
constructor(props: any, context: any);
|
|
51
|
-
handleChange: (color: any) => void;
|
|
52
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
53
|
-
}
|
|
54
|
-
export function withAbstractWrapper(ComponentToWrap: any, opts?: {}): (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export function renderReactColorPicker(props: any): import("react/jsx-runtime").JSX.Element;
|
|
55
50
|
export function InputField({ name, isRequired, onFieldSubmit, noRedux, ...rest }: {
|
|
56
51
|
[x: string]: any;
|
|
57
52
|
name: any;
|
|
@@ -1,2 +1,25 @@
|
|
|
1
|
+
export function getIntent({ showErrorIfUntouched, meta: { touched, error, warning } }: {
|
|
2
|
+
showErrorIfUntouched: any;
|
|
3
|
+
meta: {
|
|
4
|
+
touched: any;
|
|
5
|
+
error: any;
|
|
6
|
+
warning: any;
|
|
7
|
+
};
|
|
8
|
+
}): "warning" | "danger" | undefined;
|
|
9
|
+
export function getIntentClass(...args: any[]): string;
|
|
10
|
+
export function removeUnwantedProps(props: any): any;
|
|
11
|
+
export function LabelWithTooltipInfo({ label, tooltipInfo, labelStyle }: {
|
|
12
|
+
label: any;
|
|
13
|
+
tooltipInfo: any;
|
|
14
|
+
labelStyle: any;
|
|
15
|
+
}): any;
|
|
16
|
+
export function getNewName(list: any, targetName: any): any;
|
|
1
17
|
export const REQUIRED_ERROR: "This field is required.";
|
|
2
18
|
export function fieldRequired(value: any): "This field is required." | undefined;
|
|
19
|
+
export function getOptions(options: any): any;
|
|
20
|
+
export function fakeWait(): Promise<any>;
|
|
21
|
+
export function getCheckboxOrSwitchOnChange({ beforeOnChange, input, onFieldSubmit }: {
|
|
22
|
+
beforeOnChange: any;
|
|
23
|
+
input: any;
|
|
24
|
+
onFieldSubmit: any;
|
|
25
|
+
}): (e: any, val: any) => Promise<void>;
|