Skip to content

Commit

Permalink
Add deprecate text
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Apr 24, 2024
1 parent 0fcf6ae commit 0e67c7f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/badge/badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class BadgeDirective implements OnChanges, AfterViewInit {
/**
* Size of the badge, valid options are "large" and "xlarge".
* @group Props
* @deprecated
* @deprecated use badgeSize instead.
*/
@Input() public set size(value: 'large' | 'xlarge') {
this._size = value;
Expand Down Expand Up @@ -237,7 +237,7 @@ export class Badge {
/**
* Size of the badge, valid options are "large" and "xlarge".
* @group Props
* @deprecated
* @deprecated use badgeSize instead.
*/
@Input() public set size(value: 'large' | 'xlarge') {
this._size = value;
Expand Down
16 changes: 16 additions & 0 deletions src/app/showcase/doc/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4470,6 +4470,14 @@
"type": "\"large\" | \"xlarge\"",
"description": "Size of the badge, valid options are \"large\" and \"xlarge\"."
},
{
"name": "size",
"optional": false,
"readonly": false,
"type": "\"large\" | \"xlarge\"",
"description": "Size of the badge, valid options are \"large\" and \"xlarge\".",
"deprecated": "use badgeSize instead."
},
{
"name": "severity",
"optional": false,
Expand Down Expand Up @@ -4534,6 +4542,14 @@
"type": "boolean",
"default": "false",
"description": "When specified, disables the component."
},
{
"name": "size",
"optional": false,
"readonly": false,
"type": "\"large\" | \"xlarge\"",
"description": "Size of the badge, valid options are \"large\" and \"xlarge\".",
"deprecated": "use badgeSize instead."
}
]
}
Expand Down

0 comments on commit 0e67c7f

Please sign in to comment.