File tree 14 files changed +20
-20
lines changed
test/sap/ui/webcomponents/main
14 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 30
30
id =" {{ _id }} -popover"
31
31
allow-target-overlap =" {{ _popover.allowTargetOverlap }} "
32
32
placement-type =" {{ _popover.placementType }} "
33
- hide -header =" {{ _popover.hideHeader }} "
33
+ no -header =" {{ _popover.noHeader }} "
34
34
hide-arrow =" {{ _popover.hideArrow }} "
35
35
horizontal-align =" {{ _popover.horizontalAlign }} "
36
36
stay-open-on-scroll =" {{ _popover.stayOpenOnScroll }} "
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ class DatePicker extends UI5Element {
253
253
this . _popover = {
254
254
placementType : PopoverPlacementType . Bottom ,
255
255
horizontalAlign : PopoverHorizontalAlign . Left ,
256
- hideHeader : true ,
256
+ noHeader : true ,
257
257
hideArrow : true ,
258
258
allowTargetOverlap : true ,
259
259
stayOpenOnScroll : true ,
Original file line number Diff line number Diff line change 18
18
</span >
19
19
20
20
{{ #*inline " header" }}
21
- {{ #unless hideHeader }}
21
+ {{ #unless noHeader }}
22
22
<header >
23
23
{{ #if header }}
24
24
<div role =" heading" class =" sapMPopupHeader" >
Original file line number Diff line number Diff line change 30
30
{{ #if showSuggestions }}
31
31
<ui5-popover
32
32
placement-type =" Bottom"
33
- hide -header =" true"
33
+ no -header =" true"
34
34
hide-arrow =" true"
35
35
horizontal-align =" Stretch"
36
36
initial-focus =" {{ _id }} -inner" >
Original file line number Diff line number Diff line change 36
36
<ui5-popover
37
37
class =" ui5-multi-combobox-selected-items--popover"
38
38
horizontal-align =" Stretch"
39
- hide -header
39
+ no -header
40
40
?hide-arrow ={{ editable }}
41
41
placement-type =" Bottom" >
42
42
<ui5-list separators =" None" mode =" {{ selectedItemsListMode }} "
50
50
</ui5-popover >
51
51
52
52
<ui5-popover class =" ui5-multi-combobox-all-items--popover"
53
- hide -header
53
+ no -header
54
54
hide-arrow
55
55
horizontal-align =" Stretch"
56
56
initial-focus =" ui5-multi-combobox--input"
Original file line number Diff line number Diff line change 15
15
</span >
16
16
17
17
{{ #*inline " header" }}
18
- {{ #unless hideHeader }}
18
+ {{ #unless noHeader }}
19
19
<header >
20
20
{{ #if header }}
21
21
<div role =" toolbar" class =" sapMPopupHeader" >
Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ class Popover extends Popup {
471
471
472
472
let maxContentHeight = Math . round ( maxHeight ) ;
473
473
474
- if ( ! this . hideHeader ) {
474
+ if ( ! this . noHeader ) {
475
475
const headerDomRef = this . getPopupDomRef ( ) . querySelector ( ".sapMPopupHeader" ) ;
476
476
if ( headerDomRef ) {
477
477
maxContentHeight = Math . round ( maxHeight - headerDomRef . offsetHeight ) ;
@@ -649,7 +649,7 @@ class Popover extends Popup {
649
649
}
650
650
651
651
get headerId ( ) {
652
- return this . hideHeader ? undefined : `${ this . _id } -header` ;
652
+ return this . noHeader ? undefined : `${ this . _id } -header` ;
653
653
}
654
654
655
655
get focusHelper ( ) {
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ const metadata = {
68
68
* @defaultvalue false
69
69
* @public
70
70
*/
71
- hideHeader : {
71
+ noHeader : {
72
72
type : Boolean ,
73
73
} ,
74
74
/**
Original file line number Diff line number Diff line change 12
12
{{ #if items }}
13
13
<ui5-popover
14
14
placement-type =" Bottom"
15
- hide -header =" true"
15
+ no -header =" true"
16
16
hide-arrow =" true"
17
17
horizontal-align =" Stretch" >
18
18
<ui5-list separators =" None" >
Original file line number Diff line number Diff line change 28
28
</button >
29
29
{{ /if }}
30
30
31
- <ui5-popover class =" sapWCShellBarMenuPopover" hide -header placement-type =" Bottom" >
31
+ <ui5-popover class =" sapWCShellBarMenuPopover" no -header placement-type =" Bottom" >
32
32
<ui5-list separators =" None" mode =" SingleSelect" @ui5-itemPress ={{ _menuItemPress }} >
33
33
<slot name =" menuItems" ></slot >
34
34
</ui5-list >
75
75
</div >
76
76
</div >
77
77
78
- <ui5-popover class =" sapWCShellBarOverflowPopover" placement-type =" Bottom" horizontal-align =" {{ popoverHorizontalAlign }} " hide -header hide-arrow>
78
+ <ui5-popover class =" sapWCShellBarOverflowPopover" placement-type =" Bottom" horizontal-align =" {{ popoverHorizontalAlign }} " no -header hide-arrow>
79
79
<ui5-list separators =" None" @ui5-itemPress =" {{ _actionList.itemPress }} " >
80
80
{{ #each _hiddenIcons }}
81
81
<ui5-li
Original file line number Diff line number Diff line change 73
73
<ui5-popover
74
74
id =" {{ _id }} -overflowMenu"
75
75
hide-arrow
76
- hide -header
76
+ no -header
77
77
placement-type =" Bottom"
78
78
horizontal-align =" Right" >
79
79
<ui5-list @ui5-itemPress =" {{ _overflowList.click }} " >
Original file line number Diff line number Diff line change 66
66
< content id ="popover "> </ content >
67
67
</ div >
68
68
69
- < ui5-popover placement-type ="Bottom " horizontal-align ="Stretch " hide-arrow hide -header initial-focus ="input1 " class ="wcPopoverWithList ">
69
+ < ui5-popover placement-type ="Bottom " horizontal-align ="Stretch " hide-arrow no -header initial-focus ="input1 " class ="wcPopoverWithList ">
70
70
< ui5-list id ="myList " inset separators ="Inner " mode ="MultiSelect " footer-text ="Copyright " no-data-text ="No data ">
71
71
<!-- Header -->
72
72
< div style ="display: flex; align-items: center; " slot ="header ">
Original file line number Diff line number Diff line change 132
132
< ui5-li slot ="menuItems "> Application 5</ ui5-li >
133
133
</ ui5-shellbar >
134
134
135
- < ui5-popover id ="popover " hide -header placement-type ="Bottom ">
135
+ < ui5-popover id ="popover " no -header placement-type ="Bottom ">
136
136
< div class ="popover-header ">
137
137
< ui5-title style ="padding: 0.25rem 1rem 0rem 1rem "> John Doe</ ui5-title >
138
138
</ div >
148
148
</ div >
149
149
</ ui5-popover >
150
150
151
- < ui5-popover id ="app-list-popover " hide -header placement-type ="Bottom ">
151
+ < ui5-popover id ="app-list-popover " no -header placement-type ="Bottom ">
152
152
< ui5-list separators ="None ">
153
153
< ui5-li > Application 1</ ui5-li >
154
154
< ui5-li > Application 2</ ui5-li >
158
158
</ ui5-list >
159
159
</ ui5-popover >
160
160
161
- < ui5-popover id ="custom-item-popover " hide -header placement-type ="Bottom ">
161
+ < ui5-popover id ="custom-item-popover " no -header placement-type ="Bottom ">
162
162
< ui5-list separators ="None ">
163
163
< ui5-li id ="custom-item-1 " type ="Active "> Custom Popover Item 1</ ui5-li >
164
164
< ui5-li type ="Active "> Custom Popover Item 2</ ui5-li >
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ <h3>ShellBar</h3>
75
75
< ui5-li slot ="menuItems "> Application 5</ ui5-li >
76
76
</ ui5-shellbar >
77
77
78
- < ui5-popover id ="action-popover " hide -header placement-type ="Bottom ">
78
+ < ui5-popover id ="action-popover " no -header placement-type ="Bottom ">
79
79
< div class ="action-popover-header ">
80
80
< ui5-title style ="padding: 0.25rem 1rem 0rem 1rem "> An Kimura</ ui5-title >
81
81
</ div >
@@ -128,7 +128,7 @@ <h3>ShellBar</h3>
128
128
129
129
</ ui5-shellbar >
130
130
131
- < ui5-popover id ="popover " hide -header placement-type ="Bottom ">
131
+ < ui5-popover id ="popover " no -header placement-type ="Bottom ">
132
132
< div class ="popover-header ">
133
133
< ui5-title style ="padding: 0.25rem 1rem 0rem 1rem "> An Kimura</ ui5-title >
134
134
</ div >
You can’t perform that action at this time.
0 commit comments