Closed jordanjones243 closed 4 weeks ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.
:white_check_mark: jason-capsule42
:x: semantic-release-bot
You have signed the CLA already but the status is still pending? Let us recheck it.
This pull request updates the auro-icon component to support theming and introduces several new features and changes. The main changes include:
The implementation focuses on enhancing the component's flexibility and aligning it with the latest design system guidelines.
Files | Changes |
---|---|
src/auro-icon.js demo/api.md apiExamples/customSvg.html |
Added support for custom SVG icons using the 'customSvg' attribute |
src/auro-icon.js src/color.scss apiExamples/visualState.html apiExamples/onDark.html |
Introduced new color variants: info, secondary, tertiary, and subtle |
src/auro-icon.js docs/api.md |
Deprecated the 'primary' attribute and removed the 'advisory' attribute |
src/color.scss src/tokens.scss src/style.scss |
Updated styling to use CSS custom properties for better theming support |
src/auro-icon.js src/baseIcon.js |
Refactored the component to improve customization and flexibility |
demo/api.md docs/api.md README.md CHANGELOG.md |
Updated documentation and examples to reflect the new changes |
test/auro-icon.test.js |
Added new tests for the new features and refactored existing tests |
package.json index.js |
Updated build configuration and dependencies |
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: #112
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
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
Move theming support from Beta to Main by introducing custom SVG support, adding new icon styles, and updating documentation and tests accordingly.
New Features:
customSvg
attribute, allowing users to render any SVG content within theauro-icon
component.Enhancements:
info
,secondary
,subtle
, andtertiary
to provide more styling options for icons.primary
icon style in favor of more specific style options.Documentation:
customSvg
attribute and additional icon styles.primary
icon style.Tests:
auro-icon
as a custom element with a custom name.advisory
style and update tests to reflect new icon styles.