-
Notifications
You must be signed in to change notification settings - Fork 23
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
Deprecate standalone chip component #2391
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -7,6 +7,12 @@ import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular | |||||
changeDetection: ChangeDetectionStrategy.OnPush, | ||||||
}) | ||||||
export class ChipComponent { | ||||||
constructor() { | ||||||
console.warn( | ||||||
'DEPRECATION WARNING: `<kirby-chip>` will be removed from the API in an upcoming major version of Kirby.' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Consider being more specific, I think it makes the message a bit more helpful. |
||||||
); | ||||||
} | ||||||
|
||||||
@Input() text: string; | ||||||
|
||||||
@Input() | ||||||
|
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 we add a suggestion for migration to this issue? E.g. 'Use the kirby button component instead.'