sequential-workflow-designer-react 0.5.2 → 0.5.4

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.
Files changed (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +6 -4
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![Sequential Workflow Designer for React](../.github/cover.png)
1
+ ![Sequential Workflow Designer for React](https://raw.githubusercontent.com/nocode-js/sequential-workflow-designer/main/.github/cover.png)
2
2
 
3
3
  # Sequential Workflow Designer for React
4
4
 
@@ -12,7 +12,7 @@ Install the following packages by [NPM](https://www.npmjs.com/) command:
12
12
 
13
13
  `npm i sequential-workflow-designer sequential-workflow-designer-react`
14
14
 
15
- Import CSS files:
15
+ Add CSS files to your app:
16
16
 
17
17
  ```tsx
18
18
  import 'sequential-workflow-designer/css/designer.css';
@@ -20,6 +20,8 @@ import 'sequential-workflow-designer/css/designer-light.css';
20
20
  import 'sequential-workflow-designer/css/designer-dark.css';
21
21
  ```
22
22
 
23
+ ## 🎬 Usage
24
+
23
25
  Import types:
24
26
 
25
27
  ```tsx
@@ -106,7 +108,7 @@ At the end attach the designer.
106
108
  />
107
109
  ```
108
110
 
109
- Check the [demo project](../demos/react-app/).
111
+ Check the [demo project](https://github.com/nocode-js/sequential-workflow-designer/tree/main/demos/react-app).
110
112
 
111
113
  ## 💡 License
112
114
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sequential-workflow-designer-react",
3
3
  "description": "React wrapper for Sequential Workflow Designer component.",
4
- "version": "0.5.2",
4
+ "version": "0.5.4",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
7
7
  "repository": {
@@ -29,8 +29,10 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "react": "^18.2.0",
32
- "react-dom": "^18.2.0",
33
- "sequential-workflow-designer": "^0.5.2"
32
+ "react-dom": "^18.2.0"
33
+ },
34
+ "peerDependencies": {
35
+ "sequential-workflow-designer": "^0.5.4"
34
36
  },
35
37
  "devDependencies": {
36
38
  "@typescript-eslint/eslint-plugin": "^5.47.0",
@@ -56,4 +58,4 @@
56
58
  "react",
57
59
  "reactjs"
58
60
  ]
59
- }
61
+ }