@wise/dynamic-flow-client 2.3.1 → 2.4.0
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/build/i18n/de.json +1 -0
- package/build/i18n/es.json +1 -0
- package/build/i18n/fr.json +1 -0
- package/build/i18n/hu.json +1 -0
- package/build/i18n/id.json +1 -0
- package/build/i18n/it.json +1 -0
- package/build/i18n/ja.json +1 -0
- package/build/i18n/pl.json +1 -0
- package/build/i18n/pt.json +1 -0
- package/build/i18n/ro.json +1 -0
- package/build/i18n/ru.json +1 -0
- package/build/i18n/th.json +1 -0
- package/build/i18n/tr.json +1 -0
- package/build/i18n/zh_CN.json +1 -0
- package/build/i18n/zh_HK.json +1 -0
- package/build/main.js +169 -133
- package/build/main.min.js +1 -1
- package/build/types/common/constants/FormControlType.d.ts +2 -0
- package/build/types/formControl/FormControl.d.ts +2 -0
- package/build/types/jsonSchemaForm/schemaFormControl/SchemaFormControl.d.ts +2 -1
- package/build/types/layout/utils/index.d.ts +1 -1
- package/build/types/revamp/wise/renderers/utils/layout-utils.d.ts +1 -1
- package/package.json +2 -2
|
@@ -2,11 +2,13 @@ export declare const FormControlType: {
|
|
|
2
2
|
RADIO: string;
|
|
3
3
|
CHECKBOX: string;
|
|
4
4
|
SELECT: string;
|
|
5
|
+
EMAIL: string;
|
|
5
6
|
FILE: string;
|
|
6
7
|
DATE: string;
|
|
7
8
|
DATETIME: string;
|
|
8
9
|
DATELOOKUP: string;
|
|
9
10
|
TEL: string;
|
|
11
|
+
NUMERIC: string;
|
|
10
12
|
NUMBER: string;
|
|
11
13
|
HIDDEN: string;
|
|
12
14
|
PASSWORD: string;
|
|
@@ -8,11 +8,13 @@ export default class FormControl extends PureComponent<FormControlProps, FormCon
|
|
|
8
8
|
RADIO: string;
|
|
9
9
|
CHECKBOX: string;
|
|
10
10
|
SELECT: string;
|
|
11
|
+
EMAIL: string;
|
|
11
12
|
FILE: string;
|
|
12
13
|
DATE: string;
|
|
13
14
|
DATETIME: string;
|
|
14
15
|
DATELOOKUP: string;
|
|
15
16
|
TEL: string;
|
|
17
|
+
NUMERIC: string;
|
|
16
18
|
NUMBER: string;
|
|
17
19
|
HIDDEN: string;
|
|
18
20
|
PASSWORD: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { BasicModel, Schema } from '@wise/dynamic-flow-types';
|
|
1
|
+
import { BasicModel, Schema, StringSchema } from '@wise/dynamic-flow-types';
|
|
2
2
|
import { FormControlType } from '../../common/constants';
|
|
3
3
|
export declare const getControlType: (schema: Schema) => (typeof FormControlType)[keyof typeof FormControlType] | undefined;
|
|
4
|
+
export declare const getStringSchemaControlType: ({ format, control, }: StringSchema) => (typeof FormControlType)[keyof typeof FormControlType] | undefined;
|
|
4
5
|
declare const SchemaFormControl: {
|
|
5
6
|
(props: SchemaFormControlProps): JSX.Element;
|
|
6
7
|
defaultProps: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Align, Size } from '@wise/dynamic-flow-types';
|
|
2
2
|
export { getNavigationOptionMedia } from './getNavigationOptionMedia';
|
|
3
|
-
declare const getMargin: (size: Size | undefined) => "" | "m-
|
|
3
|
+
declare const getMargin: (size: Size | undefined) => "" | "m-b-0" | "m-b-1" | "m-b-2" | "m-b-3" | "m-b-5";
|
|
4
4
|
declare const getTextAlignmentAndMargin: (component: {
|
|
5
5
|
align?: Align;
|
|
6
6
|
margin?: Size;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Align, Size } from '../../../renderers/types';
|
|
2
|
-
declare const getTopMargin: (size: Size) => "" | "m-t-
|
|
2
|
+
declare const getTopMargin: (size: Size) => "" | "m-t-2" | "m-t-0" | "m-t-1" | "m-t-3" | "m-t-5";
|
|
3
3
|
declare const getTextAlignmentAndTopMargin: (component: {
|
|
4
4
|
align: Align;
|
|
5
5
|
margin: Size;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Dynamic Flow web client",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.min.js",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"classnames": "2.3.2",
|
|
94
94
|
"react-webcam": "^7.1.1",
|
|
95
95
|
"screenfull": "^5.2.0",
|
|
96
|
-
"@wise/dynamic-flow-types": "2.0
|
|
96
|
+
"@wise/dynamic-flow-types": "2.1.0"
|
|
97
97
|
},
|
|
98
98
|
"prettier": "@transferwise/eslint-config/.prettierrc.js",
|
|
99
99
|
"scripts": {
|