-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release Beta to Main #130
Release Beta to Main #130
Conversation
This commit address the following updates: 1. add component level tokens for theming 2. Advisory variant has been removed. Warning variant is the intended replacement. 3. add classmap for label attribute 4. add customSvg attribute support #124 Changes to be committed: modified: README.md new file: apiExamples/customSvg.html modified: apiExamples/onDark.html modified: apiExamples/visualState.html new file: demo/alaska.html modified: demo/alaska.md modified: demo/api.md modified: docs/api.md modified: docs/partials/api.md modified: index.js modified: package-lock.json modified: package.json modified: src/auro-icon.js modified: src/baseIcon.js new file: src/color.scss deleted: src/iconStyle.scss modified: src/style.scss new file: src/tokens.scss modified: test/auro-icon.test.js
# [4.5.0-beta.1](v4.4.0...v4.5.0-beta.1) (2024-07-19) ### Features * update to support component theming ([c6fcdb3](c6fcdb3)), closes [#124](#124)
|
Reviewer's Guide by SourceryThis pull request introduces significant updates to the auro-icon component, enhancing its functionality and customization options. The changes include support for custom SVG icons, new icon styles, improved theme support, and updated documentation. The primary focus is on implementing these new features while maintaining backwards compatibility and improving the overall flexibility of the component. File-Level Changes
Tips
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jason-capsule42 - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider adding more unit tests to cover the new customSvg functionality and additional styling options.
- Ensure clear documentation and migration guide for the deprecation of the 'primary' attribute.
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟡 Testing: 5 issues found
- 🟢 Complexity: all looks good
- 🟡 Documentation: 1 issue found
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
@sourcery-ai review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jason-capsule42 - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟡 Testing: 5 issues found
- 🟢 Complexity: all looks good
- 🟡 Documentation: 1 issue found
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
3b2c762
to
791ee6a
Compare
🎉 This PR is included in version 4.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
||
.logo { | ||
color: var(--ds-color-brand-midnight-400, $ds-color-brand-midnight-400); | ||
} | ||
} | ||
|
||
:host([customSize]) { | ||
--auro-size-lg:100% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jason-capsule42 Hey, it looks like the missing semi-colon got copied over to the new file. So #128 is still a problem
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, #124, #128
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
Add support for custom SVG icons and new icon styles, enhance theme support, and update documentation and tests accordingly.
New Features:
customSvg
attribute, allowing users to render any SVG content within theauro-icon
component.info
,secondary
,subtle
, andtertiary
to enhance visual customization options.Enhancements:
primary
icon style in favor of more specific styles.Documentation:
customSvg
attribute and additional icon styles.Tests:
auro-icon
as a custom element with a custom name.