@wise/dynamic-flow-client 0.4.0-beta-d2067b.7 → 0.4.0-beta-0489d0.8

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 CHANGED
@@ -19,6 +19,15 @@ npm install @wise/dynamic-flow-client
19
19
  pnpm install @wise/dynamic-flow-client
20
20
  ```
21
21
 
22
+ **Note:** Dynamic flow is exported in three formats, minified and unminified. Most bundlers will understand the formats declared in `package.json`, but should you need to, you can find each format in the `build` folder:
23
+
24
+ | Format | Minified | Unminified |
25
+ | ------------ | ----------------- | ------------- |
26
+ | Browser | `main.min.js` | `main.js` |
27
+ | Common JS | `main.cjs.min.js` | `main.cjs.js` |
28
+ | ESM | `main.esm.min.js` | `main.esm.js` |
29
+
30
+
22
31
  2. Install required peer dependencies (if not already installed). Please refer to setup instructions for `@transferwise/components` and `@transferwise/neptune-css` if installing up for the first time.
23
32
 
24
33
  ```
@@ -36,6 +45,8 @@ pnpm install @transferwise/components @transferwise/formatting @transferwise/ico
36
45
  ```
37
46
  **Note:** Keep in mind that some of these dependencies have their own peer dependencies. Don't forget to install those, for instance: `@transferwise/components` needs `@wise/art` and `@wise/components-theming`.
38
47
 
48
+ 3. Import the required CSS, and wrap the DynamicFlow component in the required design system providers.
49
+
39
50
  ```js
40
51
  // Should be imported once in your application
41
52
  import '@wise/dynamic-flow-client/build/main.css';