Skip to content

Commit 1435fca

Browse files
authored
0.16.9. (#99)
* 0.16.9.
1 parent 48b4a4a commit 1435fca

25 files changed

+122
-44
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 0.16.9
2+
3+
This version adds a possibility to disable keyboard shortcuts. Additionally you may filter keyboard events handled by the designer.
4+
5+
```js
6+
// Disabled shortcuts
7+
const configuration = {
8+
keyboard: false,
9+
// ...
10+
};
11+
```
12+
113
## 0.16.8
214

315
Svelte package supports now native editors. If you want to use JavaScript/TypeScript code to create editors, you can do it now. Of course, you can still use Svelte components as editors.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ Add the below code to your head section in HTML document.
9696
```html
9797
<head>
9898
...
99-
<link href="https://cdn.jsdelivr.net/npm/[email protected].8/css/designer.css" rel="stylesheet">
100-
<link href="https://cdn.jsdelivr.net/npm/[email protected].8/css/designer-light.css" rel="stylesheet">
101-
<link href="https://cdn.jsdelivr.net/npm/[email protected].8/css/designer-dark.css" rel="stylesheet">
102-
<script src="https://cdn.jsdelivr.net/npm/[email protected].8/dist/index.umd.js"></script>
99+
<link href="https://cdn.jsdelivr.net/npm/[email protected].9/css/designer.css" rel="stylesheet">
100+
<link href="https://cdn.jsdelivr.net/npm/[email protected].9/css/designer-light.css" rel="stylesheet">
101+
<link href="https://cdn.jsdelivr.net/npm/[email protected].9/css/designer-dark.css" rel="stylesheet">
102+
<script src="https://cdn.jsdelivr.net/npm/[email protected].9/dist/index.umd.js"></script>
103103
```
104104

105105
Call the designer by:

angular/designer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sequential-workflow-designer-angular",
33
"description": "Angular wrapper for Sequential Workflow Designer component.",
4-
"version": "0.16.8",
4+
"version": "0.16.9",
55
"author": {
66
"name": "NoCode JS",
77
"url": "https://nocode-js.com/"
@@ -15,7 +15,7 @@
1515
"peerDependencies": {
1616
"@angular/common": "12 - 16",
1717
"@angular/core": "12 - 16",
18-
"sequential-workflow-designer": "^0.16.8"
18+
"sequential-workflow-designer": "^0.16.9"
1919
},
2020
"dependencies": {
2121
"tslib": "^2.3.0"

angular/designer/src/designer.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import {
2121
DesignerExtension,
2222
GlobalEditorContext,
2323
GlobalEditorProvider,
24+
KeyboardConfiguration,
2425
Step,
2526
StepEditorContext,
2627
StepEditorProvider,
@@ -70,6 +71,8 @@ export class DesignerComponent implements AfterViewInit, OnChanges, OnDestroy {
7071
public controlBar?: boolean;
7172
@Input('contextMenu')
7273
public contextMenu?: boolean;
74+
@Input('keyboard')
75+
public keyboard?: boolean | KeyboardConfiguration;
7376
@Input('extensions')
7477
public extensions?: DesignerExtension[];
7578
@Input('customActionHandler')
@@ -208,6 +211,7 @@ export class DesignerComponent implements AfterViewInit, OnChanges, OnDestroy {
208211
: false,
209212
controlBar: this.controlBar,
210213
contextMenu: this.contextMenu,
214+
keyboard: this.keyboard,
211215
extensions: this.extensions,
212216
isReadonly: this.isReadonly,
213217
uidGenerator: this.uidGenerator,

demos/angular-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This project contains a simple demo of using the `sequential-workflow-designer-angular` package.
44

5-
## 🚀 How to Run?
5+
## 🚀 How to Run Locally
66

77
1. Clone this repository.
88
2. Install dependencies: `yarn install`

demos/angular-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"@angular/platform-browser-dynamic": "^15.2.9",
2727
"@angular/router": "^15.2.9",
2828
"rxjs": "~7.8.0",
29-
"sequential-workflow-designer": "^0.16.8",
30-
"sequential-workflow-designer-angular": "^0.16.8",
29+
"sequential-workflow-designer": "^0.16.9",
30+
"sequential-workflow-designer-angular": "^0.16.9",
3131
"tslib": "^2.3.0",
3232
"zone.js": "~0.13.0"
3333
},

demos/angular-app/yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5956,17 +5956,17 @@ [email protected]:
59565956
range-parser "~1.2.1"
59575957
statuses "2.0.1"
59585958

5959-
sequential-workflow-designer-angular@^0.16.8:
5960-
version "0.16.8"
5961-
resolved "https://registry.yarnpkg.com/sequential-workflow-designer-angular/-/sequential-workflow-designer-angular-0.16.8.tgz#80fe67bda35e676c7823a86341a48ca318d92cc6"
5962-
integrity sha512-9ewvSBVQXQ9hnIilh+V8flCmF3ZjLmZgVrxEYGhJ5okYAOeAla8mbqr+c87YDacemPOd4FFRbgMDBptlcjtEmw==
5959+
sequential-workflow-designer-angular@^0.16.9:
5960+
version "0.16.9"
5961+
resolved "https://registry.yarnpkg.com/sequential-workflow-designer-angular/-/sequential-workflow-designer-angular-0.16.9.tgz#78d2ad7bd37435bc6c17845cab0f9f41629d4e5c"
5962+
integrity sha512-yxhTNoN5pXWpIRH2st0wv43ugsxUVgSZMy4zhHS7mOv5slDnOK2WByzJEsTRMteHk4FMFdjnSAX7+K2jTuX0mA==
59635963
dependencies:
59645964
tslib "^2.3.0"
59655965

5966-
sequential-workflow-designer@^0.16.8:
5967-
version "0.16.8"
5968-
resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.16.8.tgz#75c0d10bda354b9f31c40c65bb61474e1a91de9f"
5969-
integrity sha512-YinakcQ5lvI+otxFlDkH+IRCijXJDav6IeCPesvWPb0vjFy0G8xtfMDVHzY3rL5l4uWwQmzUIZg/xLxnnp7BFw==
5966+
sequential-workflow-designer@^0.16.9:
5967+
version "0.16.9"
5968+
resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.16.9.tgz#7fc328e131125945acd588d108d0b36c61a42293"
5969+
integrity sha512-OIktDfaA7NWVZ+AE27QrEXXDuAwrDzMP97dJAa9bUX3cH9EOVFVKg7OSz7qCuTaDDSkzfgX5PF1U6hMgo4CAmg==
59705970
dependencies:
59715971
sequential-workflow-model "^0.2.0"
59725972

demos/react-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This project contains a simple demo of using the `sequential-workflow-designer-react` package.
44

5-
## 🚀 How to Run?
5+
## 🚀 How to Run Locally
66

77
1. Clone this repository.
88
2. Install dependencies: `yarn install`

demos/react-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"dependencies": {
77
"react": "^18.2.0",
88
"react-dom": "^18.2.0",
9-
"sequential-workflow-designer": "^0.16.8",
10-
"sequential-workflow-designer-react": "^0.16.8"
9+
"sequential-workflow-designer": "^0.16.9",
10+
"sequential-workflow-designer-react": "^0.16.9"
1111
},
1212
"devDependencies": {
1313
"@types/jest": "^29.2.5",

demos/svelte-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This project contains a simple demo of using the `sequential-workflow-designer-svelte` package.
44

5-
## 🚀 How to Run?
5+
## 🚀 How to Run Locally
66

77
1. Clone this repository.
88
2. Install dependencies: `yarn install`

0 commit comments

Comments
 (0)