Closed jason-capsule42 closed 2 months ago
This pull request refactors how the component registers the custom element, improving performance. The main changes include:
registerComponent
function with a utility method from the Auro Design System library.These changes streamline the component registration process and align it with the Auro Design System standards, potentially improving performance and maintainability.
Files | Changes |
---|---|
index.js test/auro-icon.test.js demo/index.html |
Replaced custom registerComponent function with RuntimeUtils.default.prototype.registerComponent |
src/auro-icon.js |
Removed default internal definition of 'auro-icon' custom element |
index.js test/auro-icon.test.js demo/index.html |
Updated import statements to include RuntimeUtils from Auro library |
src/auro-icon.js src/auro-alaska.js src/baseIcon.js |
Removed eslint-disable comments and unused variables |
eslint.config.mjs |
Added new ESLint configuration file using flat config format |
:tada: This PR is included in version 4.5.1-beta.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Alaska Airlines Pull Request
Type of change:
Please delete options that are not relevant.
Checklist:
By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team
Summary by Sourcery
Refactor the custom element registration to utilize RuntimeUtils, enhancing the modularity of the component registration process. Remove unnecessary eslint-disable comments and add a new ESLint configuration file to standardize code quality checks.
Enhancements:
Chores: