Skip to content

Commit

Permalink
docs: fix wrong since annotation and typos (#8243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas742 authored Feb 5, 2024
1 parent 5af60a2 commit c1976c5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions packages/main/src/Badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ import badgeCss from "./generated/themes/Badge.css.js";
* Fired when the user clicks on an interactive badge.
* <b>Note:</b> The event will be fired if the <code>interactive</code> property is <code>true</code>
* @public
* @since 1.20
* @since 1.22.0
*/
@event("click")
class Badge extends UI5Element {
/**
* Defines the design type of the component.
* @default "Set3"
* @public
* @since 1.20
* @since 1.22.0
*/
@property({ defaultValue: BadgeDesign.Set3 })
design!: `${BadgeDesign}`;
Expand All @@ -100,7 +100,7 @@ class Badge extends UI5Element {
* Defines if the default state icon is shown.
* @default false
* @public
* @since 1.20
* @since 1.22.0
*/
@property({ type: Boolean })
hideStateIcon!: boolean;
Expand All @@ -111,7 +111,7 @@ class Badge extends UI5Element {
* when <code>design</code> property is <code>BadgeDesign.Set3</code>
* @default false
* @public
* @since 1.20
* @since 1.22.0
*/
@property({ type: Boolean })
interactive!: boolean;
Expand All @@ -123,7 +123,7 @@ class Badge extends UI5Element {
*
* @default "None"
* @public
* @since 1.20
* @since 1.22.0
*/
@property({ type: WrappingType, defaultValue: WrappingType.None })
wrappingType!: `${WrappingType}`;
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/Button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class Button extends UI5Element implements IFormElement, IButton {
* <ul>
* <li><code>Dialog</code></li>
* <li><code>Grid</code></li>
* <li><code>Listbox</code></li>
* <li><code>ListBox</code></li>
* <li><code>Menu</code></li>
* <li><code>Tree</code></li>
* </ul>
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/Link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class Link extends UI5Element implements ITabbable {
* <ul>
* <li><code>Dialog</code></li>
* <li><code>Grid</code></li>
* <li><code>Listbox</code></li>
* <li><code>ListBox</code></li>
* <li><code>Menu</code></li>
* <li><code>Tree</code></li>
* </ul>
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/ToolbarButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class ToolbarButton extends ToolbarItem {
* <ul>
* <li><code>Dialog</code></li>
* <li><code>Grid</code></li>
* <li><code>Listbox</code></li>
* <li><code>ListBox</code></li>
* <li><code>Menu</code></li>
* <li><code>Tree</code></li>
* </ul>
Expand Down

0 comments on commit c1976c5

Please sign in to comment.