@wise/dynamic-flow-client 5.12.0 → 5.13.0-experimental-13d828c
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 +3 -0
- package/build/main.mjs +3 -0
- package/build/tsconfig.types.tsbuildinfo +1 -0
- package/build/types/domain/components/TextInputComponent.d.ts +2 -1
- package/build/types/domain/components/TextInputComponent.d.ts.map +1 -1
- package/build/types/domain/mappers/schema/persistAsyncSchemaToComponent.d.ts +1 -0
- package/build/types/domain/mappers/schema/persistAsyncSchemaToComponent.d.ts.map +1 -1
- package/build/types/domain/mappers/schema/stringSchemaToComponent/stringSchemaToTextInputComponent.d.ts.map +1 -1
- package/build/types/renderers/mappers/textInputComponentToProps.d.ts.map +1 -1
- package/package.json +25 -26
|
@@ -9,11 +9,12 @@ export type TextInputComponent = BaseInputComponent<string | null> & {
|
|
|
9
9
|
displayFormat?: string;
|
|
10
10
|
maxLength?: number;
|
|
11
11
|
minLength?: number;
|
|
12
|
+
pattern?: string;
|
|
12
13
|
suggestions?: Suggestions;
|
|
13
14
|
validationAsyncState: ValidationAsyncState;
|
|
14
15
|
onChange: (value: string | null) => void;
|
|
15
16
|
};
|
|
16
|
-
export declare const createTextInputComponent: (textInputProps: Pick<TextInputComponent, "uid" | "id" | "analyticsId" | "alert" | "autocapitalization" | "autoComplete" | "control" | "errors" | "description" | "disabled" | "displayFormat" | "help" | "hidden" | "maxLength" | "media" | "minLength" | "placeholder" | "required" | "suggestions" | "title" | "tags" | "value" | "validationAsyncState"> & {
|
|
17
|
+
export declare const createTextInputComponent: (textInputProps: Pick<TextInputComponent, "uid" | "id" | "analyticsId" | "alert" | "autocapitalization" | "autoComplete" | "control" | "errors" | "description" | "disabled" | "displayFormat" | "help" | "hidden" | "maxLength" | "media" | "minLength" | "pattern" | "placeholder" | "required" | "suggestions" | "title" | "tags" | "value" | "validationAsyncState"> & {
|
|
17
18
|
checks: IsInvalidCheck<string | null>[];
|
|
18
19
|
performValidationAsync: PerformValidationAsync | undefined;
|
|
19
20
|
schemaOnChange: SchemaOnChange | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/TextInputComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAE1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uDAAuD,CAAC;AACpG,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAIlB,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG;IACnE,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,gBAAgB,IAAI,CAClB,kBAAkB,EAChB,KAAK,GACL,IAAI,GACJ,aAAa,GACb,OAAO,GACP,oBAAoB,GACpB,cAAc,GACd,SAAS,GACT,QAAQ,GACR,aAAa,GACb,UAAU,GACV,eAAe,GACf,MAAM,GACN,QAAQ,GACR,WAAW,GACX,OAAO,GACP,WAAW,GACX,aAAa,GACb,UAAU,GACV,aAAa,GACb,OAAO,GACP,MAAM,GACN,OAAO,GACP,sBAAsB,CACzB,GAAG;IACF,MAAM,EAAE,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC;IACxC,sBAAsB,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC3D,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,iBAAiB,CAAC;CACzD,EACD,mBAAmB,iBAAiB,KACnC,kBAmFF,CAAC"}
|
|
1
|
+
{"version":3,"file":"TextInputComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/TextInputComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAE1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uDAAuD,CAAC;AACpG,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAIlB,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG;IACnE,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,gBAAgB,IAAI,CAClB,kBAAkB,EAChB,KAAK,GACL,IAAI,GACJ,aAAa,GACb,OAAO,GACP,oBAAoB,GACpB,cAAc,GACd,SAAS,GACT,QAAQ,GACR,aAAa,GACb,UAAU,GACV,eAAe,GACf,MAAM,GACN,QAAQ,GACR,WAAW,GACX,OAAO,GACP,WAAW,GACX,SAAS,GACT,aAAa,GACb,UAAU,GACV,aAAa,GACb,OAAO,GACP,MAAM,GACN,OAAO,GACP,sBAAsB,CACzB,GAAG;IACF,MAAM,EAAE,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC;IACxC,sBAAsB,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC3D,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,iBAAiB,CAAC;CACzD,EACD,mBAAmB,iBAAiB,KACnC,kBAmFF,CAAC"}
|
|
@@ -404,6 +404,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
404
404
|
displayFormat?: string;
|
|
405
405
|
maxLength?: number;
|
|
406
406
|
minLength?: number;
|
|
407
|
+
pattern?: string;
|
|
407
408
|
suggestions?: import("../../types").Suggestions;
|
|
408
409
|
validationAsyncState: import("../../types").ValidationAsyncState;
|
|
409
410
|
onChange: (value: string | null) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"persistAsyncSchemaToComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/schema/persistAsyncSchemaToComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CA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;;;;;;;;;;;;;;;;;;;;;;;;;EAsCzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stringSchemaToTextInputComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/domain/mappers/schema/stringSchemaToComponent/stringSchemaToTextInputComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAclE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAI/D,eAAO,MAAM,gCAAgC,GAC3C,mBAAmB,iBAAiB,GAAG;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,EAC/D,aAAa,WAAW,
|
|
1
|
+
{"version":3,"file":"stringSchemaToTextInputComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/domain/mappers/schema/stringSchemaToComponent/stringSchemaToTextInputComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAclE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAI/D,eAAO,MAAM,gCAAgC,GAC3C,mBAAmB,iBAAiB,GAAG;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,EAC/D,aAAa,WAAW,wEA6DzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textInputComponentToProps.d.ts","sourceRoot":"","sources":["../../../../src/renderers/mappers/textInputComponentToProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGjE,eAAO,MAAM,yBAAyB,GACpC,WAAW,kBAAkB,EAC7B,qBAAqB,mBAAmB,KACvC,
|
|
1
|
+
{"version":3,"file":"textInputComponentToProps.d.ts","sourceRoot":"","sources":["../../../../src/renderers/mappers/textInputComponentToProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGjE,eAAO,MAAM,yBAAyB,GACpC,WAAW,kBAAkB,EAC7B,qBAAqB,mBAAmB,KACvC,sBAWD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.13.0-experimental-13d828c",
|
|
4
4
|
"description": "Dynamic Flow web client",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -31,50 +31,49 @@
|
|
|
31
31
|
"url": "git+https://github.com/transferwise/dynamic-flow.git"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@chromatic-com/storybook": "
|
|
35
|
-
"@formatjs/cli": "^6.13.
|
|
36
|
-
"@storybook/addon-a11y": "^10.2.
|
|
37
|
-
"@storybook/addon-docs": "^10.2.
|
|
38
|
-
"@storybook/addon-links": "^10.2.
|
|
39
|
-
"@storybook/react-vite": "10.2.
|
|
34
|
+
"@chromatic-com/storybook": "5.0.1",
|
|
35
|
+
"@formatjs/cli": "^6.13.1",
|
|
36
|
+
"@storybook/addon-a11y": "^10.2.19",
|
|
37
|
+
"@storybook/addon-docs": "^10.2.19",
|
|
38
|
+
"@storybook/addon-links": "^10.2.19",
|
|
39
|
+
"@storybook/react-vite": "10.2.19",
|
|
40
40
|
"@testing-library/dom": "10.4.1",
|
|
41
41
|
"@testing-library/jest-dom": "6.9.1",
|
|
42
42
|
"@testing-library/react": "16.3.2",
|
|
43
43
|
"@testing-library/user-event": "14.6.1",
|
|
44
|
-
"@transferwise/components": "^46.
|
|
45
|
-
"@transferwise/formatting": "^2.13.
|
|
46
|
-
"@transferwise/icons": "4.
|
|
44
|
+
"@transferwise/components": "^46.132.0",
|
|
45
|
+
"@transferwise/formatting": "^2.13.7",
|
|
46
|
+
"@transferwise/icons": "4.3.0",
|
|
47
47
|
"@transferwise/navigation-ui": "4.42.3",
|
|
48
|
-
"@
|
|
49
|
-
"@types/
|
|
50
|
-
"@types/react": "
|
|
51
|
-
"@types/react-dom": "18.3.7",
|
|
48
|
+
"@types/node": "24.12.0",
|
|
49
|
+
"@types/react": "19.1.6",
|
|
50
|
+
"@types/react-dom": "19.1.6",
|
|
52
51
|
"@types/react-intl": "3.0.0",
|
|
53
|
-
"@vitejs/plugin-react": "5.
|
|
54
|
-
"@wise/art": "2.
|
|
52
|
+
"@vitejs/plugin-react": "5.2.0",
|
|
53
|
+
"@wise/art": "2.29.0",
|
|
55
54
|
"@wise/components-theming": "^1.10.1",
|
|
56
55
|
"esbuild": "0.27.0",
|
|
57
|
-
"eslint-plugin-storybook": "10.2.
|
|
58
|
-
"framer-motion": "^12.
|
|
56
|
+
"eslint-plugin-storybook": "10.2.19",
|
|
57
|
+
"framer-motion": "^12.36.0",
|
|
59
58
|
"jsdom-testing-mocks": "1.16.0",
|
|
60
59
|
"npm-run-all2": "8.0.4",
|
|
61
|
-
"postcss": "^8.5.
|
|
60
|
+
"postcss": "^8.5.8",
|
|
62
61
|
"postcss-cli": "^11.0.1",
|
|
63
62
|
"postcss-import": "^16.1.1",
|
|
64
|
-
"react": "
|
|
65
|
-
"react-dom": "
|
|
63
|
+
"react": "19.1.0",
|
|
64
|
+
"react-dom": "19.1.0",
|
|
66
65
|
"react-intl": "6.8.9",
|
|
67
|
-
"storybook": "^10.2.
|
|
66
|
+
"storybook": "^10.2.19",
|
|
68
67
|
"stylelint": "16.26.1",
|
|
69
68
|
"stylelint-config-standard": "36.0.1",
|
|
70
69
|
"stylelint-no-unsupported-browser-features": "8.1.1",
|
|
71
70
|
"stylelint-value-no-unknown-custom-properties": "6.1.1",
|
|
72
71
|
"tsx": "4.21.0",
|
|
73
72
|
"typescript": "5.9.3",
|
|
74
|
-
"vitest": "4.0
|
|
73
|
+
"vitest": "4.1.0",
|
|
75
74
|
"vitest-fetch-mock": "0.4.5",
|
|
76
|
-
"@wise/dynamic-flow-
|
|
77
|
-
"@wise/dynamic-flow-
|
|
75
|
+
"@wise/dynamic-flow-renderers": "0.0.0",
|
|
76
|
+
"@wise/dynamic-flow-fixtures": "0.0.1"
|
|
78
77
|
},
|
|
79
78
|
"peerDependencies": {
|
|
80
79
|
"@transferwise/components": "^46.104.0",
|
|
@@ -87,7 +86,7 @@
|
|
|
87
86
|
"react-intl": "^6 || ^7"
|
|
88
87
|
},
|
|
89
88
|
"dependencies": {
|
|
90
|
-
"@wise/dynamic-flow-types": "4.
|
|
89
|
+
"@wise/dynamic-flow-types": "4.12.0-experimental-13d828c"
|
|
91
90
|
},
|
|
92
91
|
"scripts": {
|
|
93
92
|
"dev": "EXCLUDE_VISUAL_TESTS=true pnpm storybook dev -p 3003",
|