Skip to content

Commit

Permalink
update swd to 0.17.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4rtaz committed Nov 9, 2023
1 parent a3312c5 commit 6764267
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ import { Designer } from 'sequential-workflow-designer';

const designer = Designer.create(placeholder, startDefinition, {
editors: {
globalEditorProvider: editorProvider.createRootEditorProvider(),
rootEditorProvider: editorProvider.createRootEditorProvider(),
stepEditorProvider: editorProvider.createStepEditorProvider()
},
validator: {
Expand Down
2 changes: 1 addition & 1 deletion demos/webpack-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"xstate": "^4.38.2",
"sequential-workflow-model": "^0.2.0",
"sequential-workflow-designer": "^0.16.1",
"sequential-workflow-designer": "^0.17.0",
"sequential-workflow-machine": "^0.4.0",
"sequential-workflow-editor-model": "^0.11.0",
"sequential-workflow-editor": "^0.11.0"
Expand Down
2 changes: 1 addition & 1 deletion demos/webpack-app/public/assets/editors.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ input,
textarea {
font: 14px/1.3em Arial, Verdana, sans-serif;
}
.sqd-global-editor {
.sqd-root-editor {
padding: 10px;
line-height: 1.3em;
box-sizing: border-box;
Expand Down
2 changes: 1 addition & 1 deletion demos/webpack-app/public/assets/placement-restrictions.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ input,
textarea {
font: 14px/1.3em Arial, Verdana, sans-serif;
}
.sqd-global-editor {
.sqd-root-editor {
padding: 10px;
line-height: 1.3em;
box-sizing: border-box;
Expand Down
2 changes: 1 addition & 1 deletion demos/webpack-app/src/editors/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class App {
const designer = Designer.create(placeholder, editorProvider.activateDefinition(), {
controlBar: true,
editors: {
globalEditorProvider: () => {
rootEditorProvider: () => {
const editor = document.createElement('div');
editor.innerHTML =
'This demo showcases all the supported editors by the Sequential Workflow Editor. <a href="https://github.com/nocode-js/sequential-workflow-editor">GitHub</a>';
Expand Down
2 changes: 1 addition & 1 deletion demos/webpack-app/src/placement-restrictions/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class App {
Designer.create(placeholder, definition, {
controlBar: true,
editors: {
globalEditorProvider: () => {
rootEditorProvider: () => {
const editor = document.createElement('div');
editor.innerHTML =
'This example shows how to restrict the placement of steps. The write socket step can only be placed inside a socket step. <a href="https://github.com/nocode-js/sequential-workflow-editor">GitHub</a>';
Expand Down
2 changes: 1 addition & 1 deletion demos/webpack-app/src/playground/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class App {
const designer: Designer<MyDefinition> = Designer.create(placeholder, startState.definition, {
controlBar: true,
editors: {
globalEditorProvider: editorProvider.createRootEditorProvider(),
rootEditorProvider: editorProvider.createRootEditorProvider(),
stepEditorProvider: editorProvider.createStepEditorProvider()
},
validator: {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5163,10 +5163,10 @@ semver@^7.3.4, semver@^7.3.7, semver@^7.3.8:
dependencies:
lru-cache "^6.0.0"

sequential-workflow-designer@^0.16.1:
version "0.16.1"
resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.16.1.tgz#9c70627dab95022f53702d86c4fecbc50cd99a90"
integrity sha512-YGp6FD9GJmVFWr+d3ztENE72pp5Glvi6CCEVyZtmlghDY8tA+2C0RcHDYAvUeZg4ZIJyN8Y9Dlkzc/5LnJsEdA==
sequential-workflow-designer@^0.17.0:
version "0.17.0"
resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.17.0.tgz#fb126b4a45fef107ac54b041e116ddaca607e48f"
integrity sha512-RzKn99irxTqsLn84RkMp7Q6XnvVjufG3xTKUy89uSC9a4CgG0k70jL36zLXxpW7cGEjjzGK/LgIeQ9/kiUOInQ==
dependencies:
sequential-workflow-model "^0.2.0"

Expand Down

0 comments on commit 6764267

Please sign in to comment.