@wise/dynamic-flow-client-internal 0.3.1 → 0.3.3
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 +11455 -0
- package/build/main.min.js +31 -0
- package/build/types/dynamicFlow/DynamicFlow.d.ts +3 -0
- package/build/{index.d.ts → types/index.d.ts} +1 -3
- package/build/types/stories/DynamicFlow.story.d.ts +1 -0
- package/build/types/stories/EditableDynamicFlow.d.ts +5 -0
- package/build/types/stories/fixtureFetcher.d.ts +3 -0
- package/package.json +5 -4
- package/build/index.js +0 -16
- package/build/index.js.map +0 -1
|
@@ -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
2
|
export { fixtures, translations, makeFetcher, JsonSchemaForm, isValidSchema, } from '@wise/dynamic-flow-client';
|
|
3
|
+
export { DynamicFlow } from './dynamicFlow/DynamicFlow';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getObjectKeys: <T>(object: T) => (keyof T)[];
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
7
7
|
"style": "./build/main.css",
|
|
8
|
-
"type": "commonjs",
|
|
9
8
|
"sideEffects": [
|
|
10
9
|
"*.css"
|
|
11
10
|
],
|
|
@@ -52,6 +51,7 @@
|
|
|
52
51
|
"@wise/components-theming": "^0.7.5",
|
|
53
52
|
"babel-jest": "29.5.0",
|
|
54
53
|
"currency-flags": "4.0.7",
|
|
54
|
+
"esbuild": "0.17.19",
|
|
55
55
|
"eslint": "8.36.0",
|
|
56
56
|
"eslint-plugin-storybook": "0.6.12",
|
|
57
57
|
"jest": "29.5.0",
|
|
@@ -80,13 +80,14 @@
|
|
|
80
80
|
"react-intl": "^6"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@wise/dynamic-flow-client": "
|
|
83
|
+
"@wise/dynamic-flow-client": "0.4.2"
|
|
84
84
|
},
|
|
85
85
|
"prettier": "@transferwise/eslint-config/.prettierrc.js",
|
|
86
86
|
"scripts": {
|
|
87
87
|
"dev": "storybook dev -p 3005",
|
|
88
88
|
"build": "rm -rf build && npm-run-all build:*",
|
|
89
|
-
"build:
|
|
89
|
+
"build:types": "tsc --project ./tsconfig.types.json",
|
|
90
|
+
"build:js": "node ./scripts/build.mjs",
|
|
90
91
|
"build:css": "postcss src/main.css -o build/main.css",
|
|
91
92
|
"test": "pnpm test:once",
|
|
92
93
|
"test:once": "jest --config jest.config.js --env=jsdom",
|
package/build/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isValidSchema = exports.JsonSchemaForm = exports.makeFetcher = exports.translations = exports.fixtures = exports.DynamicFlow = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const dynamic_flow_client_1 = require("@wise/dynamic-flow-client");
|
|
6
|
-
const DynamicFlow = (props) => {
|
|
7
|
-
return (0, jsx_runtime_1.jsx)(dynamic_flow_client_1.DynamicFlow, Object.assign({}, props));
|
|
8
|
-
};
|
|
9
|
-
exports.DynamicFlow = DynamicFlow;
|
|
10
|
-
var dynamic_flow_client_2 = require("@wise/dynamic-flow-client");
|
|
11
|
-
Object.defineProperty(exports, "fixtures", { enumerable: true, get: function () { return dynamic_flow_client_2.fixtures; } });
|
|
12
|
-
Object.defineProperty(exports, "translations", { enumerable: true, get: function () { return dynamic_flow_client_2.translations; } });
|
|
13
|
-
Object.defineProperty(exports, "makeFetcher", { enumerable: true, get: function () { return dynamic_flow_client_2.makeFetcher; } });
|
|
14
|
-
Object.defineProperty(exports, "JsonSchemaForm", { enumerable: true, get: function () { return dynamic_flow_client_2.JsonSchemaForm; } });
|
|
15
|
-
Object.defineProperty(exports, "isValidSchema", { enumerable: true, get: function () { return dynamic_flow_client_2.isValidSchema; } });
|
|
16
|
-
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;;AAAA,mEAA6F;AAEtF,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAE,EAAE;IACrD,OAAO,uBAAC,iCAAe,oBAAK,KAAK,EAAI,CAAC;AACxC,CAAC,CAAC;AAFW,QAAA,WAAW,eAEtB;AAGF,iEAMmC;AALjC,+GAAA,QAAQ,OAAA;AACR,mHAAA,YAAY,OAAA;AACZ,kHAAA,WAAW,OAAA;AACX,qHAAA,cAAc,OAAA;AACd,oHAAA,aAAa,OAAA"}
|