diff --git a/package-lock.json b/package-lock.json index ab5c8c2fa2..8bcb0eafe0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46646,7 +46646,7 @@ "@oclif/errors": "^1.3.6", "@oclif/parser": "^3.8.8", "debug": "^4.3.4", - "globby": "^11.0.2", + "globby": "^11.1.0", "is-wsl": "^2.1.1", "tslib": "^2.3.1" }, @@ -46672,10 +46672,10 @@ "clean-stack": "^3.0.1", "cli-progress": "^3.10.0", "debug": "^4.3.4", - "ejs": "^3.1.8", + "ejs": "^3.1.6", "fs-extra": "^9.1.0", "get-package-type": "^0.1.0", - "globby": "^11.0.2", + "globby": "^11.1.0", "hyperlinker": "^1.0.0", "indent-string": "^4.0.0", "is-wsl": "^2.2.0", @@ -47028,7 +47028,7 @@ "@oclif/errors": "^1.3.3", "@oclif/parser": "^3.8.0", "debug": "^4.1.1", - "globby": "^11.0.2", + "globby": "^11.0.1", "is-wsl": "^2.1.1", "tslib": "^2.0.0" } @@ -47534,7 +47534,7 @@ "css-loader": "^3.6.0", "file-loader": "^6.2.0", "find-up": "^5.0.0", - "fork-ts-checker-webpack-plugin": "^6.0.4", + "fork-ts-checker-webpack-plugin": "^4.1.6", "glob": "^7.1.6", "glob-promise": "^3.4.0", "global": "^4.4.0", @@ -50091,7 +50091,7 @@ "@typescript-eslint/types": "5.40.0", "@typescript-eslint/visitor-keys": "5.40.0", "debug": "^4.3.4", - "globby": "^11.0.2", + "globby": "^11.1.0", "is-glob": "^4.0.3", "semver": "^7.3.7", "tsutils": "^3.21.0" @@ -51409,7 +51409,7 @@ "integrity": "sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA==", "dev": true, "requires": { - "browserslist": "^4.21.3", + "browserslist": "^4.12.0", "caniuse-lite": "^1.0.30001109", "normalize-range": "^0.1.2", "num2fraction": "^1.2.2", @@ -54206,7 +54206,7 @@ "integrity": "sha512-ovcyhs2DEBUIE0MGEKHP4olCUW/XYte3Vroyxuh38rD1wAO4dHohsovUC4eAOuzFxE6b+RXvBU3UZ9o0YhUTkA==", "dev": true, "requires": { - "browserslist": "^4.21.3" + "browserslist": "^4.21.4" } }, "core-js-pure": { @@ -54280,7 +54280,7 @@ "requires": { "arrify": "^2.0.1", "cp-file": "^7.0.0", - "globby": "^11.0.2", + "globby": "^9.2.0", "has-glob": "^1.0.0", "junk": "^3.1.0", "nested-error-stacks": "^2.1.0", @@ -55883,7 +55883,7 @@ "functional-red-black-tree": "^1.0.1", "glob-parent": "^6.0.1", "globals": "^13.15.0", - "globby": "^11.0.2", + "globby": "^11.1.0", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "import-fresh": "^3.0.0", @@ -68649,7 +68649,7 @@ "fs-extra": "^6.0.1", "get-stream": "^5.1.0", "glob": "^7.1.2", - "globby": "^11.0.2", + "globby": "^10.0.1", "http-call": "^5.1.2", "load-json-file": "^6.2.0", "pkg-dir": "^4.2.0", @@ -74342,7 +74342,7 @@ "consola": "^2.15.3", "dotenv": "^16.0.0", "dotenv-expand": "^8.0.2", - "ejs": "^3.1.8", + "ejs": "^3.1.6", "fast-glob": "^3.2.11", "fs-extra": "^10.0.1", "html-minifier-terser": "^6.1.0", diff --git a/packages/design-system/src/components/N8nActionDropdown/ActionDropdown.vue b/packages/design-system/src/components/N8nActionDropdown/ActionDropdown.vue index 0ae8705fed..894b08dcf4 100644 --- a/packages/design-system/src/components/N8nActionDropdown/ActionDropdown.vue +++ b/packages/design-system/src/components/N8nActionDropdown/ActionDropdown.vue @@ -1,7 +1,7 @@ @@ -36,11 +36,11 @@ export default Vue.extend({ RadioButton, }, methods: { - onClick(value: unknown) { - if (this.disabled) { + onClick(option: {label: string, value: string, disabled?: boolean}) { + if (this.disabled || option.disabled) { return; } - this.$emit('input', value); + this.$emit('input', option.value); }, }, }); diff --git a/packages/design-system/src/components/N8nText/Text.vue b/packages/design-system/src/components/N8nText/Text.vue index 1abc9c41ce..de22fef457 100644 --- a/packages/design-system/src/components/N8nText/Text.vue +++ b/packages/design-system/src/components/N8nText/Text.vue @@ -21,7 +21,7 @@ export default Vue.extend({ }, color: { type: String, - validator: (value: string): boolean => ['primary', 'text-dark', 'text-base', 'text-light', 'text-xlight', 'danger', 'success'].includes(value), + validator: (value: string): boolean => ['primary', 'text-dark', 'text-base', 'text-light', 'text-xlight', 'danger', 'success', 'warning'].includes(value), }, align: { type: String, @@ -126,6 +126,10 @@ export default Vue.extend({ color: var(--color-success); } +.warning { + color: var(--color-warning); +} + .align-left { text-align: left; } diff --git a/packages/editor-ui/src/App.vue b/packages/editor-ui/src/App.vue index a03bbf4d37..f9e40416bc 100644 --- a/packages/editor-ui/src/App.vue +++ b/packages/editor-ui/src/App.vue @@ -9,14 +9,16 @@ [$style.sidebarCollapsed]: sidebarMenuCollapsed }" > -