@wise/dynamic-flow-client 3.20.0 → 3.20.2
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/main.js +74 -114
- package/build/main.min.js +1 -1
- package/build/main.mjs +74 -114
- package/build/types/legacy/jsonSchemaForm/allOfSchema/AllOfSchema.d.ts +0 -5
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/ArraySchema.d.ts +1 -6
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.d.ts +0 -6
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.d.ts +0 -6
- package/build/types/legacy/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.d.ts +1 -8
- package/build/types/legacy/jsonSchemaForm/controlFeedback/ControlFeedback.d.ts +0 -8
- package/build/types/legacy/jsonSchemaForm/objectSchema/ObjectSchema.d.ts +0 -6
- package/build/types/legacy/jsonSchemaForm/oneOfSchema/OneOfSchema.d.ts +0 -6
- package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.d.ts +0 -5
- package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.d.ts +0 -5
- package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.d.ts +0 -5
- package/build/types/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.d.ts +1 -4
- package/build/types/legacy/jsonSchemaForm/schemaFormControl/SchemaFormControl.d.ts +0 -9
- package/build/types/legacy/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.d.ts +0 -5
- package/package.json +17 -18
|
@@ -5,11 +5,6 @@ export declare const getErrorFromResponse: (errorProperty: string, response: {
|
|
|
5
5
|
validation?: Record<string, unknown>;
|
|
6
6
|
}) => unknown;
|
|
7
7
|
declare function PersistAsyncBasicSchema(props: PersistAsyncBasicSchemaProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare namespace PersistAsyncBasicSchema {
|
|
9
|
-
var defaultProps: {
|
|
10
|
-
required: boolean;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
8
|
type PersistAsyncBasicSchemaProps = Omit<GenericSchemaProps, 'schema'> & {
|
|
14
9
|
schema: Schema & {
|
|
15
10
|
persistAsync: PersistAsync;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import type { BlobSchema, PersistAsync, Schema } from '@wise/dynamic-flow-types';
|
|
2
2
|
import type { GenericSchemaProps } from '../../genericSchema/GenericSchema';
|
|
3
3
|
declare function PersistAsyncBlobSchema(props: PersistAsyncBlobSchemaProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare namespace PersistAsyncBlobSchema {
|
|
5
|
-
var defaultProps: {
|
|
6
|
-
required: boolean;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
4
|
type PersistAsyncBlobSchemaProps = Omit<GenericSchemaProps, 'model'> & {
|
|
10
5
|
schema: Schema & {
|
|
11
6
|
persistAsync: PersistAsync & {
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import { PromotedOneOfControlProps } from './PromotedOneOfControl';
|
|
2
|
-
declare const PromotedOneOfCheckboxControl:
|
|
3
|
-
(props: PromotedOneOfControlProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
defaultProps: {};
|
|
5
|
-
};
|
|
2
|
+
declare const PromotedOneOfCheckboxControl: (props: PromotedOneOfControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
3
|
export default PromotedOneOfCheckboxControl;
|
|
@@ -4,15 +4,6 @@ import type { OnChangeProps } from '../JsonSchemaForm';
|
|
|
4
4
|
export declare const getControlType: (schema: Schema) => (typeof FormControlType)[keyof typeof FormControlType] | undefined;
|
|
5
5
|
export declare const getStringSchemaControlType: ({ format, control, displayFormat, }: StringSchema) => (typeof FormControlType)[keyof typeof FormControlType] | undefined;
|
|
6
6
|
declare function SchemaFormControl(props: SchemaFormControlProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare namespace SchemaFormControl {
|
|
8
|
-
var defaultProps: {
|
|
9
|
-
value: null;
|
|
10
|
-
onFocus: null;
|
|
11
|
-
onBlur: null;
|
|
12
|
-
onSearchChange: null;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
7
|
export type SchemaFormControlProps = {
|
|
17
8
|
id: string;
|
|
18
9
|
value: BasicModel | null;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import type { BasicModel, ValidationAsyncSchema as ValidationAsyncSchemaType } from '@wise/dynamic-flow-types';
|
|
2
2
|
import type { GenericSchemaProps } from '../genericSchema/GenericSchema';
|
|
3
3
|
declare function ValidationAsyncSchema(props: ValidationAsyncSchemaProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare namespace ValidationAsyncSchema {
|
|
5
|
-
var defaultProps: {
|
|
6
|
-
required: boolean;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
4
|
export type ValidationAsyncSchemaProps = Omit<GenericSchemaProps, 'schema' | 'model' | 'errors'> & {
|
|
10
5
|
schema: ValidationAsyncSchemaType;
|
|
11
6
|
model: BasicModel | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client",
|
|
3
|
-
"version": "3.20.
|
|
3
|
+
"version": "3.20.2",
|
|
4
4
|
"description": "Dynamic Flow web client",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.min.js",
|
|
@@ -36,32 +36,31 @@
|
|
|
36
36
|
"@cfaester/enzyme-adapter-react-18": "0.8.0",
|
|
37
37
|
"@chromatic-com/storybook": "1.9.0",
|
|
38
38
|
"@formatjs/cli": "^6.2.12",
|
|
39
|
-
"@storybook/addon-a11y": "^8.3.
|
|
40
|
-
"@storybook/addon-actions": "^8.3.
|
|
41
|
-
"@storybook/addon-essentials": "^8.3.
|
|
42
|
-
"@storybook/addon-interactions": "^8.3.
|
|
43
|
-
"@storybook/addon-links": "^8.3.
|
|
39
|
+
"@storybook/addon-a11y": "^8.3.2",
|
|
40
|
+
"@storybook/addon-actions": "^8.3.2",
|
|
41
|
+
"@storybook/addon-essentials": "^8.3.2",
|
|
42
|
+
"@storybook/addon-interactions": "^8.3.2",
|
|
43
|
+
"@storybook/addon-links": "^8.3.2",
|
|
44
44
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
|
|
45
|
-
"@storybook/manager-api": "^8.3.
|
|
46
|
-
"@storybook/react": "^8.3.
|
|
47
|
-
"@storybook/react-webpack5": "^8.3.
|
|
48
|
-
"@storybook/test": "^8.3.
|
|
49
|
-
"@storybook/types": "^8.3.
|
|
45
|
+
"@storybook/manager-api": "^8.3.2",
|
|
46
|
+
"@storybook/react": "^8.3.2",
|
|
47
|
+
"@storybook/react-webpack5": "^8.3.2",
|
|
48
|
+
"@storybook/test": "^8.3.2",
|
|
49
|
+
"@storybook/types": "^8.3.2",
|
|
50
50
|
"@testing-library/dom": "10.4.0",
|
|
51
51
|
"@testing-library/jest-dom": "6.5.0",
|
|
52
52
|
"@testing-library/react": "16.0.1",
|
|
53
|
-
"@testing-library/react-hooks": "8.0.1",
|
|
54
53
|
"@testing-library/user-event": "14.5.2",
|
|
55
54
|
"@transferwise/components": "46.70.3",
|
|
56
55
|
"@transferwise/formatting": "^2.13.0",
|
|
57
|
-
"@transferwise/icons": "3.13.
|
|
56
|
+
"@transferwise/icons": "3.13.1",
|
|
58
57
|
"@transferwise/neptune-css": "14.18.0",
|
|
59
58
|
"@types/enzyme": "^3.10.18",
|
|
60
59
|
"@types/jest": "29.5.13",
|
|
61
|
-
"@types/react": "18.3.
|
|
60
|
+
"@types/react": "18.3.8",
|
|
62
61
|
"@types/react-dom": "18.3.0",
|
|
63
62
|
"@types/react-intl": "3.0.0",
|
|
64
|
-
"@wise/art": "2.
|
|
63
|
+
"@wise/art": "2.15.0",
|
|
65
64
|
"@wise/components-theming": "^1.6.0",
|
|
66
65
|
"babel-jest": "29.7.0",
|
|
67
66
|
"enzyme": "^3.11.0",
|
|
@@ -77,8 +76,8 @@
|
|
|
77
76
|
"postcss-import": "^15.1.0",
|
|
78
77
|
"react": "18.3.1",
|
|
79
78
|
"react-dom": "18.3.1",
|
|
80
|
-
"react-intl": "6.
|
|
81
|
-
"storybook": "^8.3.
|
|
79
|
+
"react-intl": "6.7.0",
|
|
80
|
+
"storybook": "^8.3.2",
|
|
82
81
|
"stylelint": "16.9.0",
|
|
83
82
|
"stylelint-config-standard": "36.0.1",
|
|
84
83
|
"stylelint-no-unsupported-browser-features": "8.0.1",
|
|
@@ -104,7 +103,7 @@
|
|
|
104
103
|
"nanoid": "5.0.7",
|
|
105
104
|
"react-webcam": "^7.2.0",
|
|
106
105
|
"screenfull": "^5.2.0",
|
|
107
|
-
"@wise/dynamic-flow-types": "2.
|
|
106
|
+
"@wise/dynamic-flow-types": "2.23.0"
|
|
108
107
|
},
|
|
109
108
|
"scripts": {
|
|
110
109
|
"dev": "pnpm build:visual-tests && storybook dev -p 3003",
|