Closed sun-mota closed 1 week ago
This pull request adds a new static register
method to the AuroInput
class, simplifying the process of registering the component with a custom name. It also updates the documentation and demo to reflect this new functionality.
No diagrams generated as the changes look simple and do not need a visual representation.
Change | Details | Files |
---|---|---|
Add static register method to AuroInput class |
|
src/auro-input.js |
Update documentation to use new register method |
|
demo/index.md docs/partials/index.md |
Update demo to use new register method |
|
demo/index.html |
:tada: This PR is included in version 4.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: #342
Summary:
AuroInput.register
is to easily register the element without extra importingimport "@aurodesignsystem/auro-input"
will still register this element to<auro-input>
import { AuroInput } from '../src/auro-input.js
won't register this element untilAuroInput.register
gets calledType 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
Add a static 'register' method to the AuroInput class to facilitate the registration of custom elements, replacing the previous method of registration. Update documentation to guide users on using the new method for element registration.
New Features:
Enhancements:
Documentation: