Skip to content

Commit

Permalink
chore: updated to the latest ui5-wc release
Browse files Browse the repository at this point in the history
  • Loading branch information
g-cheishvili committed Feb 6, 2024
1 parent f879ebd commit 0031b49
Show file tree
Hide file tree
Showing 7 changed files with 190 additions and 132 deletions.
2 changes: 1 addition & 1 deletion apps/playground/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h3>Radio</h3>
<section>
<button (click)="updateRadioFormModel()">radioControl.setValue("Option 1")</button>FormControl value: {{ radioControl.value }}, touched: {{ radioControl.touched }}<br>

<ui5-radio-button name="GroupA" text="Option 1" valueState="None" [value]="'Option 1'" [formControl]="radioControl"></ui5-radio-button>
<ui5-radio-button name="GroupA" text="Option 1" [value]="'Option 1'" [formControl]="radioControl"></ui5-radio-button>
<ui5-radio-button name="GroupA" text="Option 2" value="Option 2" [formControl]="radioControl" [checked]="true"></ui5-radio-button>
<ui5-radio-button name="GroupA" text="Option 3" value="Option 3" [formControl]="radioControl"></ui5-radio-button>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class FundamentalStylesDirectiveFile extends AngularGeneratedFile {
})
}

override getCode(): string {
override getCode(): Promise<string> {
return format([this.getImportsCode(), `
let counter = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2971,6 +2971,7 @@ import {
ShellBarNotificationsClickEventDetail,
ShellBarProductSwitchClickEventDetail,
ShellBarProfileClickEventDetail,
ShellBarSearchButtonEventDetail,
} from '@ui5/webcomponents-fiori/dist/ShellBar.js';
import {
ProxyInputs,
Expand All @@ -2996,6 +2997,7 @@ import {
'logo-click: ui5LogoClick',
'co-pilot-click: ui5CoPilotClick',
'menu-item-click: ui5MenuItemClick',
'search-button-click: ui5SearchButtonClick',
])
@ProxyMethods([
'onBeforeRendering',
Expand Down Expand Up @@ -3039,6 +3041,7 @@ import {
'ui5LogoClick',
'ui5CoPilotClick',
'ui5MenuItemClick',
'ui5SearchButtonClick',
],
})
class ShellBarComponent {
Expand Down Expand Up @@ -3155,6 +3158,11 @@ It supports the following fields:
<b>Note:</b> You can prevent closing of overflow popover by calling <code>event.preventDefault()</code>.
*/
ui5MenuItemClick!: EventEmitter<ShellBarMenuItemClickEventDetail>;
/**
Fired, when the search button is activated.
<b>Note:</b> You can prevent expanding/collapsing of the search field by calling <code>event.preventDefault()</code>.
*/
ui5SearchButtonClick!: EventEmitter<ShellBarSearchButtonEventDetail>;
private elementRef: ElementRef<ShellBar> = inject(ElementRef);
private zone = inject(NgZone);
Expand Down
Loading

0 comments on commit 0031b49

Please sign in to comment.