components
components copied to clipboard
feat: Allow button native element attributes to be set
Description
Allow button native attributes to be set.
Related links, issue #, if available: AWSUI-60858
How has this been tested?
New unit tests
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
- Changes include appropriate documentation updates.
-
Changes are backward-compatible if not indicated, see
CONTRIBUTING.md. -
Changes do not include unsupported browser features, see
CONTRIBUTING.md. - Changes were manually tested for accessibility, see accessibility guidelines.
Security
-
If the code handles URLs: all URLs are validated through the
checkSafeUrlfunction.
Testing
- Changes are covered with new/existing unit tests?
- Changes are covered with new/existing integration tests?
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.62%. Comparing base (
33bce10) to head (42c8b93). Report is 12 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #3552 +/- ##
========================================
Coverage 96.62% 96.62%
========================================
Files 817 818 +1
Lines 23800 23823 +23
Branches 7919 8351 +432
========================================
+ Hits 22996 23019 +23
+ Misses 797 750 -47
- Partials 7 54 +47
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.