builders
builders copied to clipboard
feat: Add Components
Please describe the changes this PR makes and why it should be merged:
Adds SelectMenuComponent, ButtonComponent and ActionRow<T>
Status and versioning classification:
- Code changes have been tested, or there are no code changes
- I know how to update typings and have done so, or typings don't need updating
- This PR changes the library's interface (methods or parameters added)
Codecov Report
Merging #63 (d0b22b0) into main (b5d0b15) will not change coverage. The diff coverage is
100.00%.
@@ Coverage Diff @@
## main #63 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 21 27 +6
Lines 306 423 +117
Branches 42 51 +9
==========================================
+ Hits 306 423 +117
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/components/ActionRow.ts | 100.00% <100.00%> (ø) |
|
| src/components/Assertions.ts | 100.00% <100.00%> (ø) |
|
| src/components/Button.ts | 100.00% <100.00%> (ø) |
|
| src/components/Components.ts | 100.00% <100.00%> (ø) |
|
| src/components/selectMenu/SelectMenu.ts | 100.00% <100.00%> (ø) |
|
| src/components/selectMenu/SelectMenuOption.ts | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update b5d0b15...d0b22b0. Read the comment docs.