@@ -580,7 +580,17 @@ For TNT illustrations:
580
580
As \`IllustratedMessage\` adapts itself around the \`Illustration\`, the other
581
581
elements of the component are displayed differently on the different breakpoints/illustration designs.
582
582
*/
583
- design ! : ' Auto' | ' Base' | ' Dot' | ' Spot' | ' Dialog' | ' Scene' ;
583
+ design ! :
584
+ | ' Auto'
585
+ | ' Base'
586
+ | ' Dot'
587
+ | ' Spot'
588
+ | ' Dialog'
589
+ | ' Scene'
590
+ | ' ExtraSmall'
591
+ | ' Small'
592
+ | ' Medium'
593
+ | ' Large' ;
584
594
/**
585
595
Defines the subtitle of the component.
586
596
@@ -1355,25 +1365,30 @@ exports[`Snapshot test Fiori Search Item should match the snapshot 1`] = `
1355
1365
import '@ui5/webcomponents-fiori/dist/SearchItem.js';
1356
1366
import SearchItem from '@ui5/webcomponents-fiori/dist/SearchItem.js';
1357
1367
import { ProxyInputs , ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1358
- @ProxyInputs(['text', 'icon', 'selected', 'scopeName'])
1368
+ @ProxyInputs(['text', 'description', ' icon', 'selected', 'scopeName'])
1359
1369
@ProxyOutputs(['delete: ui5Delete'])
1360
1370
@Component({
1361
1371
standalone : true ,
1362
1372
selector : ' ui5-search-item' ,
1363
1373
template : ' <ng-content></ng-content>' ,
1364
- inputs : [' text' , ' icon' , ' selected' , ' scopeName' ],
1374
+ inputs : [' text' , ' description ' , ' icon' , ' selected' , ' scopeName' ],
1365
1375
outputs : [' ui5Delete' ],
1366
1376
exportAs : ' ui5SearchItem' ,
1367
1377
} )
1368
1378
class SearchItemComponent {
1369
1379
/**
1370
1380
Defines the heading text of the search item.
1371
1381
*/
1372
- text ! : string ;
1382
+ text ! : string | undefined ;
1383
+ /**
1384
+ Defines the description that appears right under the item text, if available.
1385
+ */
1386
+ description ! : string | undefined ;
1373
1387
/**
1374
1388
Defines the icon name of the search item.
1389
+ **Note:** If provided, the image slot will be ignored.
1375
1390
*/
1376
- icon ! : string ;
1391
+ icon ! : string | undefined ;
1377
1392
/**
1378
1393
Defines whether the search item is selected.
1379
1394
*/
@@ -1899,8 +1914,8 @@ import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1899
1914
'notificationsCount',
1900
1915
'showNotifications',
1901
1916
'showProductSwitch',
1902
- 'accessibilityAttributes',
1903
1917
'showSearchField',
1918
+ 'accessibilityAttributes',
1904
1919
])
1905
1920
@ProxyOutputs([
1906
1921
'notifications-click: ui5NotificationsClick',
@@ -1924,8 +1939,8 @@ import { ProxyInputs, ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
1924
1939
' notificationsCount' ,
1925
1940
' showNotifications' ,
1926
1941
' showProductSwitch' ,
1927
- ' accessibilityAttributes' ,
1928
1942
' showSearchField' ,
1943
+ ' accessibilityAttributes' ,
1929
1944
],
1930
1945
outputs : [
1931
1946
' ui5NotificationsClick' ,
@@ -1981,6 +1996,13 @@ displayed in the notification icon top-right corner.
1981
1996
*/
1982
1997
@InputDecorator ({ transform: booleanAttribute })
1983
1998
showProductSwitch ! : boolean ;
1999
+ /**
2000
+ Defines, if the Search Field would be displayed when there is a valid \`searchField\` slot.
2001
+
2002
+ **Note:** By default the Search Field is not displayed.
2003
+ */
2004
+ @InputDecorator ({ transform: booleanAttribute })
2005
+ showSearchField ! : boolean ;
1984
2006
/**
1985
2007
Defines additional accessibility attributes on different areas of the component.
1986
2008
@@ -2012,13 +2034,6 @@ Accepts the following string values: \`dialog\`, \`grid\`, \`listbox\`, \`menu\`
2012
2034
Accepts any string.
2013
2035
*/
2014
2036
accessibilityAttributes ! : ShellBarAccessibilityAttributes ;
2015
- /**
2016
- Defines, if the Search Field would be displayed when there is a valid \`searchField\` slot.
2017
-
2018
- **Note:** By default the Search Field is not displayed.
2019
- */
2020
- @InputDecorator ({ transform: booleanAttribute })
2021
- showSearchField ! : boolean ;
2022
2037
2023
2038
/**
2024
2039
Fired, when the notification icon is activated.
@@ -2151,6 +2166,7 @@ exports[`Snapshot test Fiori Side Navigation Item should match the snapshot 1`]
2151
2166
} from '@angular/core';
2152
2167
import '@ui5/webcomponents-fiori/dist/SideNavigationItem.js';
2153
2168
import SideNavigationItem from '@ui5/webcomponents-fiori/dist/SideNavigationItem.js';
2169
+ import { SideNavigationItemClickEventDetail } from '@ui5/webcomponents-fiori/dist/SideNavigationItemBase.js';
2154
2170
import { SideNavigationItemAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/SideNavigationSelectableItemBase.js';
2155
2171
import { ProxyInputs , ProxyOutputs } from '@ui5/webcomponents-ngx/utils';
2156
2172
@ProxyInputs([
@@ -2278,7 +2294,7 @@ Accepts the following string values: \`dialog\`, \`grid\`, \`listbox\`, \`menu\`
2278
2294
/**
2279
2295
Fired when the component is activated either with a click/tap or by using the [Enter] or [Space] keys.
2280
2296
*/
2281
- ui5Click ! : EventEmitter <void >;
2297
+ ui5Click ! : EventEmitter <SideNavigationItemClickEventDetail >;
2282
2298
2283
2299
private elementRef: ElementRef<SideNavigationItem > = inject(ElementRef);
2284
2300
private zone = inject(NgZone);
@@ -2307,6 +2323,7 @@ exports[`Snapshot test Fiori Side Navigation Sub Item should match the snapshot
2307
2323
booleanAttribute ,
2308
2324
inject ,
2309
2325
} from '@angular/core';
2326
+ import { SideNavigationItemClickEventDetail } from '@ui5/webcomponents-fiori/dist/SideNavigationItemBase.js';
2310
2327
import { SideNavigationItemAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/SideNavigationSelectableItemBase.js';
2311
2328
import '@ui5/webcomponents-fiori/dist/SideNavigationSubItem.js';
2312
2329
import SideNavigationSubItem from '@ui5/webcomponents-fiori/dist/SideNavigationSubItem.js';
@@ -2429,7 +2446,7 @@ Accepts the following string values: \`dialog\`, \`grid\`, \`listbox\`, \`menu\`
2429
2446
/**
2430
2447
Fired when the component is activated either with a click/tap or by using the [Enter] or [Space] keys.
2431
2448
*/
2432
- ui5Click ! : EventEmitter <void >;
2449
+ ui5Click ! : EventEmitter <SideNavigationItemClickEventDetail >;
2433
2450
2434
2451
private elementRef: ElementRef<SideNavigationSubItem > = inject(ElementRef);
2435
2452
private zone = inject(NgZone);
0 commit comments