-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(module:typography): add typography component #3119
Conversation
Deploy preview for ng-zorro-master ready! Built with commit 2c06ca9 |
Codecov Report
@@ Coverage Diff @@
## master #3119 +/- ##
==========================================
- Coverage 95.43% 95.42% -0.02%
==========================================
Files 686 698 +12
Lines 14091 14482 +391
Branches 1877 1913 +36
==========================================
+ Hits 13448 13819 +371
- Misses 229 237 +8
- Partials 414 426 +12
Continue to review full report at Codecov.
|
components/typography/demo/basic.ts
Outdated
@Component({ | ||
selector: 'nz-demo-typography-basic', | ||
template: ` | ||
<nz-typography> |
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.
should be <article nz-typography>
@Input() nzEllipsisRows = 1; | ||
@Input() nzType: 'secondary' | 'warning' | 'danger' | undefined; | ||
@Input() nzCopyText: string | undefined; | ||
@Output() readonly nzChange = new EventEmitter<string>(); |
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.
@Output() readonly nzChange = new EventEmitter<string>(); | |
@Output() readonly nzContentChange = new EventEmitter<string>(); |
@Input() nzCopyText: string | undefined; | ||
@Output() readonly nzChange = new EventEmitter<string>(); | ||
@Output() readonly nzCopy = new EventEmitter<string>(); | ||
@Output() readonly nzExpand = new EventEmitter<void>(); |
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.
@Output() readonly nzExpand = new EventEmitter<void>(); | |
@Output() readonly nzExpandChange = new EventEmitter<void>(); |
Co-Authored-By: vthinkxie <[email protected]>
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.
LGTM
* feat(module:typography): add typography component * test(module:typography): add test * style: fix lint * docs: add static path * test(module:typography): add test * docs: fix API * test(module:typography): fix ci test * test(module:typography): fix ci test * fix(module:typography): fix ellipsis content * Update components/components.less Co-Authored-By: vthinkxie <[email protected]>
* feat(module:typography): add typography component * test(module:typography): add test * style: fix lint * docs: add static path * test(module:typography): add test * docs: fix API * test(module:typography): fix ci test * test(module:typography): fix ci test * fix(module:typography): fix ellipsis content * Update components/components.less Co-Authored-By: vthinkxie <[email protected]>
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: #2777
What is the new behavior?
Does this PR introduce a breaking change?
Other information