Production version of the ContentLayout component.
Description
This PR submits the production version of the ContentLayout component. Previous usage was for internal purposes only.
How has this been tested?
Unit and Integration tests have been added for various rendering states and dynamic disabling of the overlap.
Documentation changes
[Do the changes include any API documentation changes?]
- [x] Yes, this change contains documentation changes.
Related Links
[Attach any related links/pull request for this change]
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
- [x] Changes are backward-compatible if not indicated, see
CONTRIBUTING.md. - [x] Changes do not include unsupported browser features, see
CONTRIBUTING.md. - [x] Changes were manually tested for accessibility, see [accessibility guidelines (https://cloudscape.design/foundation/core-principles/accessibility/).
Security
- [x] If the code handles URLs: all URLs are validated through the
checkSafeUrlfunction.
Testing
- [x] Changes are covered with new/existing unit tests?
- [x] 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
Merging #67 (60f5091) into main (b929541) will increase coverage by
0.01%. The diff coverage is100.00%.
@@ Coverage Diff @@
## main #67 +/- ##
==========================================
+ Coverage 92.55% 92.56% +0.01%
==========================================
Files 551 553 +2
Lines 15666 15688 +22
Branches 4303 4306 +3
==========================================
+ Hits 14500 14522 +22
Misses 1083 1083
Partials 83 83
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/content-layout/index.tsx | 100.00% <100.00%> (ø) |
|
| src/test-utils/dom/content-layout/index.ts | 100.00% <100.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.