@wise/dynamic-flow-client-internal 0.2.0 → 0.3.0-beta-be3d8f.7
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/README.md +3 -3
- package/build/dynamicFlow/DynamicFlow.d.ts +3 -0
- package/build/dynamicFlow/DynamicFlow.js +16 -0
- package/build/index.d.ts +2 -4
- package/build/index.js +2 -17
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -23,15 +23,15 @@ pnpm install @wise/dynamic-flow-client-internal
|
|
|
23
23
|
|
|
24
24
|
```
|
|
25
25
|
# yarn
|
|
26
|
-
yarn add
|
|
26
|
+
yarn add react react-dom react-intl
|
|
27
27
|
yarn add @transferwise/components @transferwise/formatting @transferwise/icons @transferwise/neptune-css
|
|
28
28
|
|
|
29
29
|
# npm
|
|
30
|
-
npm install
|
|
30
|
+
npm install react react-dom react-intl
|
|
31
31
|
npm install @transferwise/components @transferwise/formatting @transferwise/icons @transferwise/neptune-css
|
|
32
32
|
|
|
33
33
|
# pnpm
|
|
34
|
-
pnpm install
|
|
34
|
+
pnpm install react react-dom react-intl
|
|
35
35
|
pnpm install @transferwise/components @transferwise/formatting @transferwise/icons @transferwise/neptune-css
|
|
36
36
|
```
|
|
37
37
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import { DynamicFlow as DynamicFlowCore } from '@wise/dynamic-flow-client';
|
|
14
|
+
export var DynamicFlow = function (props) {
|
|
15
|
+
return _jsx(DynamicFlowCore, __assign({}, props));
|
|
16
|
+
};
|
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DynamicFlowProps } from '@wise/dynamic-flow-client';
|
|
3
|
-
export declare const DynamicFlow: (props: DynamicFlowProps) => JSX.Element;
|
|
4
1
|
export type { DynamicFlowProps, Step } from '@wise/dynamic-flow-client';
|
|
5
|
-
export {
|
|
2
|
+
export { translations, makeFetcher, JsonSchemaForm, isValidSchema, } from '@wise/dynamic-flow-client';
|
|
3
|
+
export { DynamicFlow } from './dynamicFlow/DynamicFlow';
|
package/build/index.js
CHANGED
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { DynamicFlow as DynamicFlowCore } from '@wise/dynamic-flow-client';
|
|
14
|
-
export var DynamicFlow = function (props) {
|
|
15
|
-
return _jsx(DynamicFlowCore, __assign({}, props));
|
|
16
|
-
};
|
|
17
|
-
export { fixtures, translations, makeFetcher, JsonSchemaForm, isValidSchema, } from '@wise/dynamic-flow-client';
|
|
1
|
+
export { translations, makeFetcher, JsonSchemaForm, isValidSchema, } from '@wise/dynamic-flow-client';
|
|
2
|
+
export { DynamicFlow } from './dynamicFlow/DynamicFlow';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-beta-be3d8f.7",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -16,6 +16,20 @@
|
|
|
16
16
|
"fullname": "transferwise/dynamic-flow",
|
|
17
17
|
"url": "git+https://github.com/transferwise/dynamic-flow.git"
|
|
18
18
|
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "storybook dev -p 3005",
|
|
21
|
+
"build": "npm-run-all build:*",
|
|
22
|
+
"build:ts": "tsc --build ./tsconfig.build.json",
|
|
23
|
+
"build:css": "postcss src/main.css -o build/main.css",
|
|
24
|
+
"test": "pnpm test:once",
|
|
25
|
+
"test:once": "jest --config jest.config.js --env=jsdom",
|
|
26
|
+
"test:coverage": "jest --config jest.config.js --env=jsdom --coverage",
|
|
27
|
+
"test:watch": "pnpm test:once --watch",
|
|
28
|
+
"lint": "npm-run-all lint:ts lint:css",
|
|
29
|
+
"lint:ts": "eslint 'src/**/*.{js,jsx,ts,tsx}' --quiet",
|
|
30
|
+
"lint:css": "stylelint --allow-empty-input './src/**/*.css'",
|
|
31
|
+
"build-storybook": "storybook build -c .storybook"
|
|
32
|
+
},
|
|
19
33
|
"devDependencies": {
|
|
20
34
|
"@babel/core": "7.20.12",
|
|
21
35
|
"@babel/plugin-syntax-flow": "7.18.6",
|
|
@@ -81,19 +95,5 @@
|
|
|
81
95
|
"dependencies": {
|
|
82
96
|
"@wise/dynamic-flow-client": "^0.3.0"
|
|
83
97
|
},
|
|
84
|
-
"prettier": "@transferwise/eslint-config/.prettierrc.js"
|
|
85
|
-
|
|
86
|
-
"dev": "storybook dev -p 3005",
|
|
87
|
-
"build": "npm-run-all build:*",
|
|
88
|
-
"build:ts": "tsc --build ./tsconfig.build.json",
|
|
89
|
-
"build:css": "postcss src/main.css -o build/main.css",
|
|
90
|
-
"test": "pnpm test:once",
|
|
91
|
-
"test:once": "jest --config jest.config.js --env=jsdom",
|
|
92
|
-
"test:coverage": "jest --config jest.config.js --env=jsdom --coverage",
|
|
93
|
-
"test:watch": "pnpm test:once --watch",
|
|
94
|
-
"lint": "npm-run-all lint:ts lint:css",
|
|
95
|
-
"lint:ts": "eslint 'src/**/*.{js,jsx,ts,tsx}' --quiet",
|
|
96
|
-
"lint:css": "stylelint --allow-empty-input './src/**/*.css'",
|
|
97
|
-
"build-storybook": "storybook build -c .storybook"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
98
|
+
"prettier": "@transferwise/eslint-config/.prettierrc.js"
|
|
99
|
+
}
|