-
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
Deprecate standalone chip component #2391
Conversation
@@ -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 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.'
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
'DEPRECATION WARNING: `<kirby-chip>` will be removed from the API in an upcoming major version of Kirby.' | |
'DEPRECATION WARNING: `<kirby-chip>` will be removed from the API in Kirby v8.' |
Consider being more specific, I think it makes the message a bit more helpful.
Which issue does this PR close?
This PR closes #2341
What is the new behavior?
Does this PR introduce a breaking change?
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Reminders
Review
When the pull request has been approved it will be merged to
develop
by Team Kirby.