diff --git a/.babelrc.json b/.babelrc.json new file mode 100644 index 000000000..49b66ecb8 --- /dev/null +++ b/.babelrc.json @@ -0,0 +1,15 @@ +{ + "plugins": [ + [ "@babel/plugin-transform-react-jsx", { + "importSource": "preact", + "runtime": "automatic" + } ], + "inline-react-svg", + [ "module-resolver", { + "alias": { + "react": "preact/compat", + "react-dom": "preact/compat" + } + } ] + ] +} \ No newline at end of file diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a85a14956..c25ca06f5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -9,7 +9,6 @@ jobs: integration: [ true ] integration-deps: - diagram-js@11.9 bpmn-js@11.5 - - "@bpmn-io/properties-panel@3" include: - integration-deps: "" # as defined in package.json integration: false diff --git a/karma.config.js b/karma.config.js index ee0acf5d1..25553d81e 100644 --- a/karma.config.js +++ b/karma.config.js @@ -2,8 +2,7 @@ const path = require('path'); const { - DefinePlugin, - NormalModuleReplacementPlugin + DefinePlugin } = require('webpack'); const basePath = '.'; @@ -73,24 +72,15 @@ module.exports = function(karma) { use: { loader: 'babel-loader', options: { - plugins: [ - [ '@babel/plugin-transform-react-jsx', { - 'importSource': '@bpmn-io/properties-panel/preact', - 'runtime': 'automatic' - } ] - ].concat(coverage ? [ + plugins: coverage ? [ [ 'istanbul', { include: [ 'lib/**' ] } ] - ] : []) + ] : [] } } - }, - { - test: /\.svg$/, - use: [ 'react-svg-loader' ] } ] }, @@ -99,30 +89,7 @@ module.exports = function(karma) { // @barmac: process.env has to be defined to make @testing-library/preact work 'process.env': {} - }), - new NormalModuleReplacementPlugin( - /^preact(\/[^/]+)?$/, - function(resource) { - - const replMap = { - 'preact/hooks': path.resolve('node_modules/@bpmn-io/properties-panel/preact/hooks/dist/hooks.module.js'), - 'preact/jsx-runtime': path.resolve('node_modules/@bpmn-io/properties-panel/preact/jsx-runtime/dist/jsxRuntime.module.js'), - 'preact': path.resolve('node_modules/@bpmn-io/properties-panel/preact/dist/preact.module.js') - }; - - const replacement = replMap[resource.request]; - - if (!replacement) { - return; - } - - resource.request = replacement; - } - ), - new NormalModuleReplacementPlugin( - /^preact\/hooks/, - path.resolve('node_modules/@bpmn-io/properties-panel/preact/hooks/dist/hooks.module.js') - ) + }) ], resolve: { mainFields: [ @@ -130,11 +97,6 @@ module.exports = function(karma) { 'module', 'main' ], - alias: { - 'preact': '@bpmn-io/properties-panel/preact', - 'react': '@bpmn-io/properties-panel/preact/compat', - 'react-dom': '@bpmn-io/properties-panel/preact/compat' - }, modules: [ 'node_modules', absoluteBasePath diff --git a/package-lock.json b/package-lock.json index a76271cb8..94c2aa824 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,20 +1,22 @@ { "name": "bpmn-js-properties-panel", - "version": "5.5.0", + "version": "6.0.0-2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bpmn-js-properties-panel", - "version": "5.5.0", + "version": "6.0.0-2", "license": "MIT", "dependencies": { "@bpmn-io/extract-process-variables": "^0.8.0", + "@bpmn-io/properties-panel": "^4.0.0-2", "array-move": "^3.0.1", "classnames": "^2.3.1", "ids": "^1.0.5", "min-dash": "^4.1.1", "min-dom": "^4.1.0", + "preact": "^10.18.1", "preact-markup": "^2.1.1", "semver-compare": "^1.0.0", "uuid": "^9.0.0" @@ -24,7 +26,6 @@ "@babel/plugin-transform-react-jsx": "^7.22.15", "@bpmn-io/element-template-chooser": "^1.0.0", "@bpmn-io/element-templates-icons-renderer": "^0.3.0", - "@bpmn-io/properties-panel": "^3.11.0", "@bpmn-io/variable-resolver": "^1.2.0", "@rollup/plugin-alias": "^5.0.1", "@rollup/plugin-babel": "^6.0.4", @@ -34,7 +35,9 @@ "@testing-library/preact": "^3.2.3", "axe-core": "^4.8.2", "babel-loader": "^9.1.3", + "babel-plugin-inline-react-svg": "^2.0.2", "babel-plugin-istanbul": "^6.1.1", + "babel-plugin-module-resolver": "^5.0.0", "bpmn-js": "^14.0.0", "bpmn-js-create-append-anything": "^0.4.0", "bpmn-moddle": "^8.0.1", @@ -76,7 +79,6 @@ "node": "*" }, "peerDependencies": { - "@bpmn-io/properties-panel": ">= 3.7", "bpmn-js": ">= 11.5", "camunda-bpmn-js-behaviors": ">= 0.4", "diagram-js": ">= 11.9" @@ -543,7 +545,6 @@ "version": "0.1.0-alpha.2", "resolved": "https://registry.npmjs.org/@bpmn-io/cm-theme/-/cm-theme-0.1.0-alpha.2.tgz", "integrity": "sha512-ZILgiYzxk3KMvxplUXmdRFQo45/JehDPg5k9tWfehmzUOSE13ssyLPil8uCloMQnb3yyzyOWTjb/wzKXTHlFQw==", - "dev": true, "dependencies": { "@codemirror/language": "^6.3.1", "@codemirror/view": "^6.5.1", @@ -596,7 +597,6 @@ "version": "0.9.0", "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.9.0.tgz", "integrity": "sha512-MowGZGk9abAmsfXW4PAHZ+wjqzLCMPMrSUWkYBhUm09/k4kAiiPaXBkDJareaENHmjph8bvH6wLPVntQMNc2xw==", - "dev": true, "dependencies": { "@bpmn-io/feel-lint": "^0.2.0", "@codemirror/autocomplete": "^6.3.2", @@ -617,17 +617,15 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/@bpmn-io/feel-lint/-/feel-lint-0.2.0.tgz", "integrity": "sha512-Y1uMTEP87mAPijeBAyVae9oMMP/rymkqNJWZceC49uvVEmH+nCVz/qJarJDdfmqySThiYV6n+Yx/gzXs7FDrGw==", - "dev": true, "dependencies": { "@codemirror/language": "^6.8.0", "lezer-feel": "^1.0.1" } }, "node_modules/@bpmn-io/properties-panel": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-3.11.0.tgz", - "integrity": "sha512-MRKSz8D804ZwLxQ4qbTNqhfpDbgU/wzWAnAE+sNijZrKJIFjQMUF8jKEc7Wp0O6i9gIBTszCckZxjLFtoJa2uw==", - "dev": true, + "version": "4.0.0-2", + "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-4.0.0-2.tgz", + "integrity": "sha512-X782Yon/AwR01IBFXtbcJzMIB8EOa5IReEF0SEH3BB+3f5hpP/Uh42+iaHiJvXoLCj9UA6hUK1oZhWiAC2l4uQ==", "dependencies": { "@bpmn-io/feel-editor": "^0.9.0", "@codemirror/view": "^6.14.0", @@ -635,7 +633,8 @@ "feelers": "^1.1.0", "focus-trap": "^7.5.2", "min-dash": "^4.1.1", - "min-dom": "^4.0.3" + "min-dom": "^4.0.3", + "preact": "^10.18.1" }, "engines": { "node": "*" @@ -660,7 +659,6 @@ "version": "6.10.2", "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.10.2.tgz", "integrity": "sha512-3dCL7b0j2GdtZzWN5j7HDpRAJ26ip07R4NGYz7QYthIYMiX8I4E4TNrYcdTayPJGeVQtd/xe7lWU4XL7THFb/w==", - "dev": true, "dependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", @@ -678,7 +676,6 @@ "version": "6.3.0", "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.3.0.tgz", "integrity": "sha512-tFfcxRIlOWiQDFhjBSWJ10MxcvbCIsRr6V64SgrcaY0MwNk32cUOcCuNlWo8VjV4qRQCgNgUAnIeo0svkk4R5Q==", - "dev": true, "dependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.2.0", @@ -690,7 +687,6 @@ "version": "6.9.1", "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.9.1.tgz", "integrity": "sha512-lWRP3Y9IUdOms6DXuBpoWwjkR7yRmnS0hKYCbSfPz9v6Em1A1UCRujAkDiCrdYfs1Z0Eu4dGtwovNPStIfkgNA==", - "dev": true, "dependencies": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -704,7 +700,6 @@ "version": "6.4.2", "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.4.2.tgz", "integrity": "sha512-wzRkluWb1ptPKdzlsrbwwjYCPLgzU6N88YBAmlZi8WFyuiEduSd05MnJYNogzyc8rPK7pj6m95ptUApc8sHKVA==", - "dev": true, "dependencies": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -714,14 +709,12 @@ "node_modules/@codemirror/state": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.3.0.tgz", - "integrity": "sha512-5fIS19U46PEqczbBL6gBAtju9MFDT9TjIC/q2MYblHCEKiU8jhV3cRFhvQu5tQvbtxc5KLWxSnzMNh3ZqeaXVg==", - "dev": true + "integrity": "sha512-5fIS19U46PEqczbBL6gBAtju9MFDT9TjIC/q2MYblHCEKiU8jhV3cRFhvQu5tQvbtxc5KLWxSnzMNh3ZqeaXVg==" }, "node_modules/@codemirror/view": { "version": "6.21.3", "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.21.3.tgz", "integrity": "sha512-8l1aSQ6MygzL4Nx7GVYhucSXvW4jQd0F6Zm3v9Dg+6nZEfwzJVqi4C2zHfDljID+73gsQrWp9TgHc81xU15O4A==", - "dev": true, "dependencies": { "@codemirror/state": "^6.1.4", "style-mod": "^4.1.0", @@ -976,14 +969,12 @@ "node_modules/@lezer/common": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.1.0.tgz", - "integrity": "sha512-XPIN3cYDXsoJI/oDWoR2tD++juVrhgIago9xyKhZ7IhGlzdDM9QgC8D8saKNCz5pindGcznFr2HBSsEQSWnSjw==", - "dev": true + "integrity": "sha512-XPIN3cYDXsoJI/oDWoR2tD++juVrhgIago9xyKhZ7IhGlzdDM9QgC8D8saKNCz5pindGcznFr2HBSsEQSWnSjw==" }, "node_modules/@lezer/highlight": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.1.6.tgz", "integrity": "sha512-cmSJYa2us+r3SePpRCjN5ymCqCPv+zyXmDl0ciWtVaNiORT/MxM7ZgOMQZADD0o51qOaOg24qc/zBViOIwAjJg==", - "dev": true, "dependencies": { "@lezer/common": "^1.0.0" } @@ -992,7 +983,6 @@ "version": "1.3.13", "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.3.13.tgz", "integrity": "sha512-RLAbau/4uSzKgIKj96mI5WUtG1qtiR0Frn0Ei9zhPj8YOkHM+1Bb8SgdVvmR/aWJCFIzjo2KFnDiRZ75Xf5NdQ==", - "dev": true, "dependencies": { "@lezer/common": "^1.0.0" } @@ -1001,7 +991,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.1.0.tgz", "integrity": "sha512-JYOI6Lkqbl83semCANkO3CKbKc0pONwinyagBufWBm+k4yhIcqfCF8B8fpEpvJLmIy7CAfwiq7dQ/PzUZA340g==", - "dev": true, "dependencies": { "@lezer/common": "^1.0.0", "@lezer/highlight": "^1.0.0" @@ -1448,6 +1437,15 @@ "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", "dev": true }, + "node_modules/@trysound/sax": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz", + "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/@types/aria-query": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.2.tgz", @@ -2054,6 +2052,171 @@ "webpack": ">=5" } }, + "node_modules/babel-plugin-inline-react-svg": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/babel-plugin-inline-react-svg/-/babel-plugin-inline-react-svg-2.0.2.tgz", + "integrity": "sha512-iM9obPpCcdPE1EJE+UF+tni7CZ4q/OvdDm/TeBBHAYAEOqDcFd7fdnmym6OYAQMYfEpUnRYUYx2KxSUyo4cQxQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/parser": "^7.0.0", + "lodash.isplainobject": "^4.0.6", + "resolve": "^2.0.0-next.4", + "svgo": "^2.8.0" + }, + "engines": { + "node": ">=10.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/css-select": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", + "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.0.1", + "domhandler": "^4.3.1", + "domutils": "^2.8.0", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/css-tree": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", + "dev": true, + "dependencies": { + "mdn-data": "2.0.14", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", + "dev": true, + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/dom-serializer": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", + "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", + "dev": true, + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/domutils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "dev": true, + "dependencies": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/mdn-data": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", + "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", + "dev": true + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/resolve": { + "version": "2.0.0-next.5", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", + "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", + "dev": true, + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/babel-plugin-inline-react-svg/node_modules/svgo": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz", + "integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==", + "dev": true, + "dependencies": { + "@trysound/sax": "0.2.0", + "commander": "^7.2.0", + "css-select": "^4.1.3", + "css-tree": "^1.1.3", + "csso": "^4.2.0", + "picocolors": "^1.0.0", + "stable": "^0.1.8" + }, + "bin": { + "svgo": "bin/svgo" + }, + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/babel-plugin-istanbul": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", @@ -2070,6 +2233,62 @@ "node": ">=8" } }, + "node_modules/babel-plugin-module-resolver": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-module-resolver/-/babel-plugin-module-resolver-5.0.0.tgz", + "integrity": "sha512-g0u+/ChLSJ5+PzYwLwP8Rp8Rcfowz58TJNCe+L/ui4rpzE/mg//JVX0EWBUYoxaextqnwuGHzfGp2hh0PPV25Q==", + "dev": true, + "dependencies": { + "find-babel-config": "^2.0.0", + "glob": "^8.0.3", + "pkg-up": "^3.1.0", + "reselect": "^4.1.7", + "resolve": "^1.22.1" + }, + "engines": { + "node": ">= 16" + } + }, + "node_modules/babel-plugin-module-resolver/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/babel-plugin-module-resolver/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/babel-plugin-module-resolver/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/babel-plugin-react-svg": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/babel-plugin-react-svg/-/babel-plugin-react-svg-3.0.3.tgz", @@ -2777,8 +2996,7 @@ "node_modules/crelt": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz", - "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==", - "dev": true + "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==" }, "node_modules/cross-env": { "version": "7.0.3", @@ -3211,6 +3429,33 @@ "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", "dev": true }, + "node_modules/domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "dev": true, + "dependencies": { + "domelementtype": "^2.2.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domhandler/node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] + }, "node_modules/domify": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/domify/-/domify-1.4.1.tgz", @@ -4241,7 +4486,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/feelers/-/feelers-1.1.0.tgz", "integrity": "sha512-3XpmEOWeHVfxp3gAPy43f9nJpEp5scfuqRQllLThVAylEWCOQ/LCge/Br1yl/+bb+NOgirbrGkiLMbyJiF/wPw==", - "dev": true, "dependencies": { "@bpmn-io/cm-theme": "^0.1.0-alpha.2", "@bpmn-io/feel-lint": "^1.0.0", @@ -4267,7 +4511,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@bpmn-io/feel-lint/-/feel-lint-1.1.0.tgz", "integrity": "sha512-/StDR3LsWWo2lAEup9fLkH1fqXN3wSkvYBo4KzkQW3zp1QKhqI906bIz1ncmJXi6ao5wWH6YEdjvS1G906D9lQ==", - "dev": true, "dependencies": { "@codemirror/language": "^6.8.0", "lezer-feel": "^1.2.0" @@ -4280,7 +4523,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/feelin/-/feelin-1.2.0.tgz", "integrity": "sha512-1Puh3oUwpeUL8O2x2FFwDmBMjK33TsW9Y/8+7HzQ2VW7EDj5mcaylx15fiBfkzENalIcz+lOrzgwGzbCTI6Lyw==", - "dev": true, "dependencies": { "@lezer/lr": "^1.3.9", "lezer-feel": "^1.2.0", @@ -4377,6 +4619,19 @@ "node": ">= 0.6" } }, + "node_modules/find-babel-config": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/find-babel-config/-/find-babel-config-2.0.0.tgz", + "integrity": "sha512-dOKT7jvF3hGzlW60Gc3ONox/0rRZ/tz7WCil0bqA1In/3I8f1BctpXahRnEKDySZqci7u+dqq93sZST9fOJpFw==", + "dev": true, + "dependencies": { + "json5": "^2.1.1", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/find-cache-dir": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-4.0.0.tgz", @@ -4438,7 +4693,6 @@ "version": "7.5.2", "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.5.2.tgz", "integrity": "sha512-p6vGNNWLDGwJCiEjkSK6oERj/hEyI9ITsSwIUICBoKLlWiTWXJRfQibCwcoi50rTZdbi87qDtUlMCmQwsGSgPw==", - "dev": true, "dependencies": { "tabbable": "^6.2.0" } @@ -5824,7 +6078,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/lang-feel/-/lang-feel-1.0.0.tgz", "integrity": "sha512-lMicLS2eTvT7Hw5nDv2BAwjpebY0QP930CAKgglSt4TjqxIUIhSGYLV2KWdNjlSheL/0iDHkxJUH+ZG1Y1KRWg==", - "dev": true, "dependencies": { "@codemirror/autocomplete": "^6.8.1", "@codemirror/language": "^6.8.0", @@ -5851,7 +6104,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.2.0.tgz", "integrity": "sha512-OgSjIEAK0YCxhwkuB1qvhqv65XmZiqLGQv8mvMOVUAcdKE6W72VV/sQ9GTgCBkAnmyB1x16WuzNRpEwpJswkkQ==", - "dev": true, "dependencies": { "@lezer/highlight": "^1.1.6", "@lezer/lr": "^1.3.12" @@ -6094,7 +6346,6 @@ "version": "3.4.3", "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.4.3.tgz", "integrity": "sha512-tFWBiv3h7z+T/tDaoxA8rqTxy1CHV6gHS//QdaH4pulbq/JuBSGgQspQQqcgnwdAx6pNI7cmvz5Sv/addzHmUg==", - "dev": true, "engines": { "node": ">=12" } @@ -7229,10 +7480,68 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/pkg-up": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz", + "integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==", + "dev": true, + "dependencies": { + "find-up": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-up/node_modules/find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-up/node_modules/locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-up/node_modules/p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-up/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/preact": { - "version": "10.11.3", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.11.3.tgz", - "integrity": "sha512-eY93IVpod/zG3uMF22Unl8h9KkrcKIRs2EGar8hwLZZDU1lkjph303V9HZBwufh2s736U6VXuhD109LYqPoffg==", + "version": "10.18.1", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.18.1.tgz", + "integrity": "sha512-mKUD7RRkQQM6s7Rkmi7IFkoEHjuFqRQUaXamO61E6Nn7vqF/bo7EZCmSyrUnp2UWHw0O7XjZ2eeXis+m7tf4lg==", "funding": { "type": "opencollective", "url": "https://opencollective.com/preact" @@ -7677,6 +7986,12 @@ "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", "dev": true }, + "node_modules/reselect": { + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-4.1.8.tgz", + "integrity": "sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ==", + "dev": true + }, "node_modules/resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", @@ -8434,8 +8749,7 @@ "node_modules/style-mod": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.0.tgz", - "integrity": "sha512-Ca5ib8HrFn+f+0n4N4ScTIA9iTOQ7MaGS1ylHcoVqW9J7w2w8PzN6g9gKmTYgGEBH8e120+RCmhpje6jC5uGWA==", - "dev": true + "integrity": "sha512-Ca5ib8HrFn+f+0n4N4ScTIA9iTOQ7MaGS1ylHcoVqW9J7w2w8PzN6g9gKmTYgGEBH8e120+RCmhpje6jC5uGWA==" }, "node_modules/supports-color": { "version": "5.5.0", @@ -8492,8 +8806,7 @@ "node_modules/tabbable": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz", - "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==", - "dev": true + "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==" }, "node_modules/tapable": { "version": "2.2.1", @@ -8951,8 +9264,7 @@ "node_modules/w3c-keyname": { "version": "2.2.8", "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz", - "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==", - "dev": true + "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==" }, "node_modules/watchpack": { "version": "2.4.0", @@ -9652,7 +9964,6 @@ "version": "0.1.0-alpha.2", "resolved": "https://registry.npmjs.org/@bpmn-io/cm-theme/-/cm-theme-0.1.0-alpha.2.tgz", "integrity": "sha512-ZILgiYzxk3KMvxplUXmdRFQo45/JehDPg5k9tWfehmzUOSE13ssyLPil8uCloMQnb3yyzyOWTjb/wzKXTHlFQw==", - "dev": true, "requires": { "@codemirror/language": "^6.3.1", "@codemirror/view": "^6.5.1", @@ -9698,7 +10009,6 @@ "version": "0.9.0", "resolved": "https://registry.npmjs.org/@bpmn-io/feel-editor/-/feel-editor-0.9.0.tgz", "integrity": "sha512-MowGZGk9abAmsfXW4PAHZ+wjqzLCMPMrSUWkYBhUm09/k4kAiiPaXBkDJareaENHmjph8bvH6wLPVntQMNc2xw==", - "dev": true, "requires": { "@bpmn-io/feel-lint": "^0.2.0", "@codemirror/autocomplete": "^6.3.2", @@ -9716,17 +10026,15 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/@bpmn-io/feel-lint/-/feel-lint-0.2.0.tgz", "integrity": "sha512-Y1uMTEP87mAPijeBAyVae9oMMP/rymkqNJWZceC49uvVEmH+nCVz/qJarJDdfmqySThiYV6n+Yx/gzXs7FDrGw==", - "dev": true, "requires": { "@codemirror/language": "^6.8.0", "lezer-feel": "^1.0.1" } }, "@bpmn-io/properties-panel": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-3.11.0.tgz", - "integrity": "sha512-MRKSz8D804ZwLxQ4qbTNqhfpDbgU/wzWAnAE+sNijZrKJIFjQMUF8jKEc7Wp0O6i9gIBTszCckZxjLFtoJa2uw==", - "dev": true, + "version": "4.0.0-2", + "resolved": "https://registry.npmjs.org/@bpmn-io/properties-panel/-/properties-panel-4.0.0-2.tgz", + "integrity": "sha512-X782Yon/AwR01IBFXtbcJzMIB8EOa5IReEF0SEH3BB+3f5hpP/Uh42+iaHiJvXoLCj9UA6hUK1oZhWiAC2l4uQ==", "requires": { "@bpmn-io/feel-editor": "^0.9.0", "@codemirror/view": "^6.14.0", @@ -9734,7 +10042,8 @@ "feelers": "^1.1.0", "focus-trap": "^7.5.2", "min-dash": "^4.1.1", - "min-dom": "^4.0.3" + "min-dom": "^4.0.3", + "preact": "^10.18.1" } }, "@bpmn-io/variable-resolver": { @@ -9753,7 +10062,6 @@ "version": "6.10.2", "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.10.2.tgz", "integrity": "sha512-3dCL7b0j2GdtZzWN5j7HDpRAJ26ip07R4NGYz7QYthIYMiX8I4E4TNrYcdTayPJGeVQtd/xe7lWU4XL7THFb/w==", - "dev": true, "requires": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", @@ -9765,7 +10073,6 @@ "version": "6.3.0", "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.3.0.tgz", "integrity": "sha512-tFfcxRIlOWiQDFhjBSWJ10MxcvbCIsRr6V64SgrcaY0MwNk32cUOcCuNlWo8VjV4qRQCgNgUAnIeo0svkk4R5Q==", - "dev": true, "requires": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.2.0", @@ -9777,7 +10084,6 @@ "version": "6.9.1", "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.9.1.tgz", "integrity": "sha512-lWRP3Y9IUdOms6DXuBpoWwjkR7yRmnS0hKYCbSfPz9v6Em1A1UCRujAkDiCrdYfs1Z0Eu4dGtwovNPStIfkgNA==", - "dev": true, "requires": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -9791,7 +10097,6 @@ "version": "6.4.2", "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.4.2.tgz", "integrity": "sha512-wzRkluWb1ptPKdzlsrbwwjYCPLgzU6N88YBAmlZi8WFyuiEduSd05MnJYNogzyc8rPK7pj6m95ptUApc8sHKVA==", - "dev": true, "requires": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -9801,14 +10106,12 @@ "@codemirror/state": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.3.0.tgz", - "integrity": "sha512-5fIS19U46PEqczbBL6gBAtju9MFDT9TjIC/q2MYblHCEKiU8jhV3cRFhvQu5tQvbtxc5KLWxSnzMNh3ZqeaXVg==", - "dev": true + "integrity": "sha512-5fIS19U46PEqczbBL6gBAtju9MFDT9TjIC/q2MYblHCEKiU8jhV3cRFhvQu5tQvbtxc5KLWxSnzMNh3ZqeaXVg==" }, "@codemirror/view": { "version": "6.21.3", "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.21.3.tgz", "integrity": "sha512-8l1aSQ6MygzL4Nx7GVYhucSXvW4jQd0F6Zm3v9Dg+6nZEfwzJVqi4C2zHfDljID+73gsQrWp9TgHc81xU15O4A==", - "dev": true, "requires": { "@codemirror/state": "^6.1.4", "style-mod": "^4.1.0", @@ -10005,14 +10308,12 @@ "@lezer/common": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.1.0.tgz", - "integrity": "sha512-XPIN3cYDXsoJI/oDWoR2tD++juVrhgIago9xyKhZ7IhGlzdDM9QgC8D8saKNCz5pindGcznFr2HBSsEQSWnSjw==", - "dev": true + "integrity": "sha512-XPIN3cYDXsoJI/oDWoR2tD++juVrhgIago9xyKhZ7IhGlzdDM9QgC8D8saKNCz5pindGcznFr2HBSsEQSWnSjw==" }, "@lezer/highlight": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.1.6.tgz", "integrity": "sha512-cmSJYa2us+r3SePpRCjN5ymCqCPv+zyXmDl0ciWtVaNiORT/MxM7ZgOMQZADD0o51qOaOg24qc/zBViOIwAjJg==", - "dev": true, "requires": { "@lezer/common": "^1.0.0" } @@ -10021,7 +10322,6 @@ "version": "1.3.13", "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.3.13.tgz", "integrity": "sha512-RLAbau/4uSzKgIKj96mI5WUtG1qtiR0Frn0Ei9zhPj8YOkHM+1Bb8SgdVvmR/aWJCFIzjo2KFnDiRZ75Xf5NdQ==", - "dev": true, "requires": { "@lezer/common": "^1.0.0" } @@ -10030,7 +10330,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@lezer/markdown/-/markdown-1.1.0.tgz", "integrity": "sha512-JYOI6Lkqbl83semCANkO3CKbKc0pONwinyagBufWBm+k4yhIcqfCF8B8fpEpvJLmIy7CAfwiq7dQ/PzUZA340g==", - "dev": true, "requires": { "@lezer/common": "^1.0.0", "@lezer/highlight": "^1.0.0" @@ -10347,6 +10646,12 @@ "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", "dev": true }, + "@trysound/sax": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz", + "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==", + "dev": true + }, "@types/aria-query": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.2.tgz", @@ -10857,6 +11162,125 @@ "schema-utils": "^4.0.0" } }, + "babel-plugin-inline-react-svg": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/babel-plugin-inline-react-svg/-/babel-plugin-inline-react-svg-2.0.2.tgz", + "integrity": "sha512-iM9obPpCcdPE1EJE+UF+tni7CZ4q/OvdDm/TeBBHAYAEOqDcFd7fdnmym6OYAQMYfEpUnRYUYx2KxSUyo4cQxQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/parser": "^7.0.0", + "lodash.isplainobject": "^4.0.6", + "resolve": "^2.0.0-next.4", + "svgo": "^2.8.0" + }, + "dependencies": { + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true + }, + "css-select": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", + "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", + "dev": true, + "requires": { + "boolbase": "^1.0.0", + "css-what": "^6.0.1", + "domhandler": "^4.3.1", + "domutils": "^2.8.0", + "nth-check": "^2.0.1" + } + }, + "css-tree": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", + "dev": true, + "requires": { + "mdn-data": "2.0.14", + "source-map": "^0.6.1" + } + }, + "css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", + "dev": true + }, + "dom-serializer": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", + "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", + "dev": true, + "requires": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + } + }, + "domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true + }, + "domutils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "dev": true, + "requires": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + } + }, + "mdn-data": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", + "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", + "dev": true + }, + "nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "requires": { + "boolbase": "^1.0.0" + } + }, + "resolve": { + "version": "2.0.0-next.5", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", + "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", + "dev": true, + "requires": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "svgo": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz", + "integrity": "sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==", + "dev": true, + "requires": { + "@trysound/sax": "0.2.0", + "commander": "^7.2.0", + "css-select": "^4.1.3", + "css-tree": "^1.1.3", + "csso": "^4.2.0", + "picocolors": "^1.0.0", + "stable": "^0.1.8" + } + } + } + }, "babel-plugin-istanbul": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", @@ -10870,6 +11294,52 @@ "test-exclude": "^6.0.0" } }, + "babel-plugin-module-resolver": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-module-resolver/-/babel-plugin-module-resolver-5.0.0.tgz", + "integrity": "sha512-g0u+/ChLSJ5+PzYwLwP8Rp8Rcfowz58TJNCe+L/ui4rpzE/mg//JVX0EWBUYoxaextqnwuGHzfGp2hh0PPV25Q==", + "dev": true, + "requires": { + "find-babel-config": "^2.0.0", + "glob": "^8.0.3", + "pkg-up": "^3.1.0", + "reselect": "^4.1.7", + "resolve": "^1.22.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + } + }, + "minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, "babel-plugin-react-svg": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/babel-plugin-react-svg/-/babel-plugin-react-svg-3.0.3.tgz", @@ -11390,8 +11860,7 @@ "crelt": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz", - "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==", - "dev": true + "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==" }, "cross-env": { "version": "7.0.3", @@ -11734,6 +12203,23 @@ "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", "dev": true }, + "domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "dev": true, + "requires": { + "domelementtype": "^2.2.0" + }, + "dependencies": { + "domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true + } + } + }, "domify": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/domify/-/domify-1.4.1.tgz", @@ -12536,7 +13022,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/feelers/-/feelers-1.1.0.tgz", "integrity": "sha512-3XpmEOWeHVfxp3gAPy43f9nJpEp5scfuqRQllLThVAylEWCOQ/LCge/Br1yl/+bb+NOgirbrGkiLMbyJiF/wPw==", - "dev": true, "requires": { "@bpmn-io/cm-theme": "^0.1.0-alpha.2", "@bpmn-io/feel-lint": "^1.0.0", @@ -12559,7 +13044,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@bpmn-io/feel-lint/-/feel-lint-1.1.0.tgz", "integrity": "sha512-/StDR3LsWWo2lAEup9fLkH1fqXN3wSkvYBo4KzkQW3zp1QKhqI906bIz1ncmJXi6ao5wWH6YEdjvS1G906D9lQ==", - "dev": true, "requires": { "@codemirror/language": "^6.8.0", "lezer-feel": "^1.2.0" @@ -12571,7 +13055,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/feelin/-/feelin-1.2.0.tgz", "integrity": "sha512-1Puh3oUwpeUL8O2x2FFwDmBMjK33TsW9Y/8+7HzQ2VW7EDj5mcaylx15fiBfkzENalIcz+lOrzgwGzbCTI6Lyw==", - "dev": true, "requires": { "@lezer/lr": "^1.3.9", "lezer-feel": "^1.2.0", @@ -12652,6 +13135,16 @@ } } }, + "find-babel-config": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/find-babel-config/-/find-babel-config-2.0.0.tgz", + "integrity": "sha512-dOKT7jvF3hGzlW60Gc3ONox/0rRZ/tz7WCil0bqA1In/3I8f1BctpXahRnEKDySZqci7u+dqq93sZST9fOJpFw==", + "dev": true, + "requires": { + "json5": "^2.1.1", + "path-exists": "^4.0.0" + } + }, "find-cache-dir": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-4.0.0.tgz", @@ -12698,7 +13191,6 @@ "version": "7.5.2", "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.5.2.tgz", "integrity": "sha512-p6vGNNWLDGwJCiEjkSK6oERj/hEyI9ITsSwIUICBoKLlWiTWXJRfQibCwcoi50rTZdbi87qDtUlMCmQwsGSgPw==", - "dev": true, "requires": { "tabbable": "^6.2.0" } @@ -13699,7 +14191,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/lang-feel/-/lang-feel-1.0.0.tgz", "integrity": "sha512-lMicLS2eTvT7Hw5nDv2BAwjpebY0QP930CAKgglSt4TjqxIUIhSGYLV2KWdNjlSheL/0iDHkxJUH+ZG1Y1KRWg==", - "dev": true, "requires": { "@codemirror/autocomplete": "^6.8.1", "@codemirror/language": "^6.8.0", @@ -13723,7 +14214,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/lezer-feel/-/lezer-feel-1.2.0.tgz", "integrity": "sha512-OgSjIEAK0YCxhwkuB1qvhqv65XmZiqLGQv8mvMOVUAcdKE6W72VV/sQ9GTgCBkAnmyB1x16WuzNRpEwpJswkkQ==", - "dev": true, "requires": { "@lezer/highlight": "^1.1.6", "@lezer/lr": "^1.3.12" @@ -13915,8 +14405,7 @@ "luxon": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.4.3.tgz", - "integrity": "sha512-tFWBiv3h7z+T/tDaoxA8rqTxy1CHV6gHS//QdaH4pulbq/JuBSGgQspQQqcgnwdAx6pNI7cmvz5Sv/addzHmUg==", - "dev": true + "integrity": "sha512-tFWBiv3h7z+T/tDaoxA8rqTxy1CHV6gHS//QdaH4pulbq/JuBSGgQspQQqcgnwdAx6pNI7cmvz5Sv/addzHmUg==" }, "lz-string": { "version": "1.5.0", @@ -14752,10 +15241,55 @@ } } }, + "pkg-up": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz", + "integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + }, + "dependencies": { + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "dev": true + } + } + }, "preact": { - "version": "10.11.3", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.11.3.tgz", - "integrity": "sha512-eY93IVpod/zG3uMF22Unl8h9KkrcKIRs2EGar8hwLZZDU1lkjph303V9HZBwufh2s736U6VXuhD109LYqPoffg==" + "version": "10.18.1", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.18.1.tgz", + "integrity": "sha512-mKUD7RRkQQM6s7Rkmi7IFkoEHjuFqRQUaXamO61E6Nn7vqF/bo7EZCmSyrUnp2UWHw0O7XjZ2eeXis+m7tf4lg==" }, "preact-markup": { "version": "2.1.1", @@ -15082,6 +15616,12 @@ "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", "dev": true }, + "reselect": { + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-4.1.8.tgz", + "integrity": "sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ==", + "dev": true + }, "resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", @@ -15677,8 +16217,7 @@ "style-mod": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.0.tgz", - "integrity": "sha512-Ca5ib8HrFn+f+0n4N4ScTIA9iTOQ7MaGS1ylHcoVqW9J7w2w8PzN6g9gKmTYgGEBH8e120+RCmhpje6jC5uGWA==", - "dev": true + "integrity": "sha512-Ca5ib8HrFn+f+0n4N4ScTIA9iTOQ7MaGS1ylHcoVqW9J7w2w8PzN6g9gKmTYgGEBH8e120+RCmhpje6jC5uGWA==" }, "supports-color": { "version": "5.5.0", @@ -15719,8 +16258,7 @@ "tabbable": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz", - "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==", - "dev": true + "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==" }, "tapable": { "version": "2.2.1", @@ -16052,8 +16590,7 @@ "w3c-keyname": { "version": "2.2.8", "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz", - "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==", - "dev": true + "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==" }, "watchpack": { "version": "2.4.0", diff --git a/package.json b/package.json index d2e5d64b4..ead98d6a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bpmn-js-properties-panel", - "version": "5.5.0", + "version": "6.0.0-2", "description": "A simple properties panel for bpmn-js", "files": [ "dist" @@ -52,11 +52,13 @@ "license": "MIT", "dependencies": { "@bpmn-io/extract-process-variables": "^0.8.0", + "@bpmn-io/properties-panel": "^4.0.0-2", "array-move": "^3.0.1", "classnames": "^2.3.1", "ids": "^1.0.5", "min-dash": "^4.1.1", "min-dom": "^4.1.0", + "preact": "^10.18.1", "preact-markup": "^2.1.1", "semver-compare": "^1.0.0", "uuid": "^9.0.0" @@ -66,7 +68,6 @@ "@babel/plugin-transform-react-jsx": "^7.22.15", "@bpmn-io/element-template-chooser": "^1.0.0", "@bpmn-io/element-templates-icons-renderer": "^0.3.0", - "@bpmn-io/properties-panel": "^3.11.0", "@bpmn-io/variable-resolver": "^1.2.0", "@rollup/plugin-alias": "^5.0.1", "@rollup/plugin-babel": "^6.0.4", @@ -76,7 +77,9 @@ "@testing-library/preact": "^3.2.3", "axe-core": "^4.8.2", "babel-loader": "^9.1.3", + "babel-plugin-inline-react-svg": "^2.0.2", "babel-plugin-istanbul": "^6.1.1", + "babel-plugin-module-resolver": "^5.0.0", "bpmn-js": "^14.0.0", "bpmn-js-create-append-anything": "^0.4.0", "bpmn-moddle": "^8.0.1", @@ -115,7 +118,6 @@ "zeebe-bpmn-moddle": "^1.0.0" }, "peerDependencies": { - "@bpmn-io/properties-panel": ">= 3.7", "bpmn-js": ">= 11.5", "camunda-bpmn-js-behaviors": ">= 0.4", "diagram-js": ">= 11.9" diff --git a/rollup.config.mjs b/rollup.config.mjs index 4ba06865b..b8e977ace 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -1,9 +1,7 @@ -import alias from '@rollup/plugin-alias'; import babel from '@rollup/plugin-babel'; import commonjs from '@rollup/plugin-commonjs'; import copy from 'rollup-plugin-copy'; import json from '@rollup/plugin-json'; -import reactSvg from 'rollup-plugin-react-svg'; import resolve from '@rollup/plugin-node-resolve'; import { @@ -56,21 +54,8 @@ export default [ function pgl(plugins = []) { return [ ...plugins, - alias({ - entries: [ - { find: 'react', replacement: '@bpmn-io/properties-panel/preact/compat' }, - { find: 'preact', replacement: '@bpmn-io/properties-panel/preact' } - ] - }), - reactSvg(), babel({ - babelHelpers: 'bundled', - plugins: [ - [ '@babel/plugin-transform-react-jsx', { - 'importSource': '@bpmn-io/properties-panel/preact', - 'runtime': 'automatic' - } ] - ] + babelHelpers: 'bundled' }), json(), resolve({ diff --git a/src/context/BpmnPropertiesPanelContext.js b/src/context/BpmnPropertiesPanelContext.js index f72320a3a..e0a0514ff 100644 --- a/src/context/BpmnPropertiesPanelContext.js +++ b/src/context/BpmnPropertiesPanelContext.js @@ -1,6 +1,6 @@ import { createContext -} from '@bpmn-io/properties-panel/preact'; +} from 'preact'; const BpmnPropertiesPanelContext = createContext({ selectedElement: null, diff --git a/src/entries/ReferenceSelect.js b/src/entries/ReferenceSelect.js index 063eb6d13..c0080cef4 100644 --- a/src/entries/ReferenceSelect.js +++ b/src/entries/ReferenceSelect.js @@ -1,6 +1,6 @@ import { useEffect -} from '@bpmn-io/properties-panel/preact/hooks'; +} from 'preact/hooks'; import { query as domQuery diff --git a/src/hooks/useService.js b/src/hooks/useService.js index eddc3f6a6..4e1e1780c 100644 --- a/src/hooks/useService.js +++ b/src/hooks/useService.js @@ -1,6 +1,6 @@ import { useContext -} from '@bpmn-io/properties-panel/preact/hooks'; +} from 'preact/hooks'; import { BpmnPropertiesPanelContext } from '../context'; diff --git a/src/provider/HOCs/withTooltipContainer.js b/src/provider/HOCs/withTooltipContainer.js index cff2f94fb..0e0408b24 100644 --- a/src/provider/HOCs/withTooltipContainer.js +++ b/src/provider/HOCs/withTooltipContainer.js @@ -1,4 +1,4 @@ -import { useMemo } from '@bpmn-io/properties-panel/preact/hooks'; +import { useMemo } from 'preact/hooks'; import { useService } from '../../hooks'; export function withTooltipContainer(Component) { diff --git a/src/provider/HOCs/withVariableContext.js b/src/provider/HOCs/withVariableContext.js index 2f75bd1ce..0d44d173d 100644 --- a/src/provider/HOCs/withVariableContext.js +++ b/src/provider/HOCs/withVariableContext.js @@ -1,5 +1,5 @@ import { getVariablesForElement } from '@bpmn-io/extract-process-variables/zeebe'; -import { useEffect, useState } from '@bpmn-io/properties-panel/preact/hooks'; +import { useEffect, useState } from 'preact/hooks'; import { useService } from '../../hooks'; const fallbackResolver = { diff --git a/src/provider/camunda-platform/properties/ProcessVariablesProps.js b/src/provider/camunda-platform/properties/ProcessVariablesProps.js index 96457e0e8..09460aec5 100644 --- a/src/provider/camunda-platform/properties/ProcessVariablesProps.js +++ b/src/provider/camunda-platform/properties/ProcessVariablesProps.js @@ -25,7 +25,7 @@ import { } from '../../../hooks'; import { ListGroup } from '@bpmn-io/properties-panel'; -import { useEffect, useState } from '@bpmn-io/properties-panel/preact/hooks'; +import { useEffect, useState } from 'preact/hooks'; function ProcessVariablesEntry(props) { diff --git a/src/render/BpmnPropertiesPanel.js b/src/render/BpmnPropertiesPanel.js index ae3447c13..1d11cf6a1 100644 --- a/src/render/BpmnPropertiesPanel.js +++ b/src/render/BpmnPropertiesPanel.js @@ -3,7 +3,7 @@ import { useMemo, useEffect, useCallback -} from '@bpmn-io/properties-panel/preact/hooks'; +} from 'preact/hooks'; import { find, diff --git a/src/render/BpmnPropertiesPanelRenderer.js b/src/render/BpmnPropertiesPanelRenderer.js index f829588ae..c4104641e 100644 --- a/src/render/BpmnPropertiesPanelRenderer.js +++ b/src/render/BpmnPropertiesPanelRenderer.js @@ -7,7 +7,7 @@ import { import { render -} from '@bpmn-io/properties-panel/preact'; +} from 'preact'; import { domify, diff --git a/test/spec/extension/ExamplePropertiesProvider.js b/test/spec/extension/ExamplePropertiesProvider.js index 0dcf25445..dd82723f5 100644 --- a/test/spec/extension/ExamplePropertiesProvider.js +++ b/test/spec/extension/ExamplePropertiesProvider.js @@ -2,7 +2,7 @@ import { useState, useContext, useMemo -} from '@bpmn-io/properties-panel/preact/hooks'; +} from 'preact/hooks'; import { useService