diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 4ed3fba..0000000 --- a/.eslintrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": [ - "@aurodesignsystem/eslint-config" - ] -} diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..a0d3dea --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,13 @@ +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import js from "@eslint/js"; +import { FlatCompat } from "@eslint/eslintrc"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all +}); +export default [...compat.extends("@aurodesignsystem/eslint-config")]; diff --git a/package.json b/package.json index d3a2960..021e194 100644 --- a/package.json +++ b/package.json @@ -25,11 +25,11 @@ "@aurodesignsystem/auro-formvalidation": "^1.0.3", "@aurodesignsystem/auro-input": "^3.0.1", "@aurodesignsystem/auro-library": "^2.6.0", + "@aurodesignsystem/auro-menu": "^3.11.5", "chalk": "^5.3.0", "lit": "^3.1.4" }, "peerDependencies": { - "@aurodesignsystem/auro-menu": "^3.11.4", "@aurodesignsystem/design-tokens": "^4.3.1", "@aurodesignsystem/webcorestylesheets": "^5.0.6" }, diff --git a/src/auro-combobox.js b/src/auro-combobox.js index 934cfa4..3857b55 100644 --- a/src/auro-combobox.js +++ b/src/auro-combobox.js @@ -40,9 +40,9 @@ import styleCss from "./style-css.js"; * @slot - Default slot for the menu content. * @slot label - Defines the content of the label. * @slot helpText - Defines the content of the helpText. - * @fires auroCombobox-ready - Notifies that the component has finished initializing. - * @fires auroCombobox-valueSet - Notifies that the component has a new value set. - * @fires auroFormElement-validated - Notifies that the component value(s) have been validated. + * @event auroCombobox-ready - Notifies that the component has finished initializing. + * @event auroCombobox-valueSet - Notifies that the component has a new value set. + * @event auroFormElement-validated - Notifies that the component value(s) have been validated. */ // build the component class