feat(module:check-list): add check-list component#8969
Merged
Laffery merged 7 commits intoNG-ZORRO:masterfrom Feb 20, 2025
Merged
feat(module:check-list): add check-list component#8969Laffery merged 7 commits intoNG-ZORRO:masterfrom
Laffery merged 7 commits intoNG-ZORRO:masterfrom
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8969 +/- ##
==========================================
+ Coverage 91.94% 91.96% +0.01%
==========================================
Files 555 559 +4
Lines 19708 19741 +33
Branches 2946 2945 -1
==========================================
+ Hits 18121 18154 +33
Misses 1261 1261
Partials 326 326 ☔ View full report in Codecov by Sentry. |
725fc04 to
ded0fa4
Compare
This comment was marked as duplicate.
This comment was marked as duplicate.
ded0fa4 to
7c8889f
Compare
c08c341 to
9a2bb62
Compare
64e0fdc to
7fd13e8
Compare
Comment on lines
18
to
23
Collaborator
There was a problem hiding this comment.
- 优先使用
<ng-content>而不是传递 templateRef - 使用
<nz-icon>而不是<span nz-icon>
Suggested change
| @if (!!triggerRender) { | |
| <ng-container *nzStringTemplateOutlet="triggerRender">{{ triggerRender }}</ng-container> | |
| } @else { | |
| <span nz-icon nzType="check-circle" nzTheme="outline" class="ant-check-list-icon"></span> | |
| <div class="ant-check-list-description">{{ locale.checkList }}</div> | |
| } | |
| <ng-content> | |
| <nz-icon nzType="check-circle" nzTheme="outline" class="ant-check-list-icon" /> | |
| <div class="ant-check-list-description">{{ locale.checkList }}</div> | |
| </ng-content> |
7fd13e8 to
fc61703
Compare
feat(module:check-list): add check-list component
Laffery
reviewed
Feb 20, 2025
Collaborator
|
Now it's implemented with signal API. Would you like to take a look @HyperLife1119 ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information