File tree 5 files changed +16
-29
lines changed
5 files changed +16
-29
lines changed Original file line number Diff line number Diff line change @@ -26,24 +26,23 @@ const metadata = {
26
26
* <br><br>
27
27
* Available options are:
28
28
* <ul>
29
- * <li><code>List</code></li>
30
- * <li><code>Solid</code></li>
31
- * <li><code>Standard</code></li> (default)
29
+ * <li><code>Solid</code></li> (default)
32
30
* <li><code>Transparent</code></li>
31
+ * <li><code>List</code></li>
33
32
* </ul>
34
33
* @type {PageBackgroundDesign }
35
- * @defaultvalue "Standard "
34
+ * @defaultvalue "Solid "
36
35
* @public
37
36
*/
38
37
backgroundDesign : {
39
38
type : String ,
40
- defaultValue : PageBackgroundDesign . Standard ,
39
+ defaultValue : PageBackgroundDesign . Solid ,
41
40
} ,
42
41
43
42
/**
44
- * Disables vertical scrolling of page content.
45
- * If set to true, there will be no vertical scrolling at all.
46
- *
43
+ * Disables vertical scrolling of page content.
44
+ * If set to true, there will be no vertical scrolling at all.
45
+ *
47
46
* @type {Boolean }
48
47
* @defaultvalue false
49
48
* @public
@@ -65,8 +64,8 @@ const metadata = {
65
64
} ,
66
65
67
66
/**
68
- * Defines the footer visibility.
69
- *
67
+ * Defines the footer visibility.
68
+ *
70
69
* @type {Boolean }
71
70
* @defaultvalue false
72
71
* @public
Original file line number Diff line number Diff line change 60
60
}
61
61
62
62
/* BackgroundDesign */
63
- : host ([backgroundDesign = "Standard " ]) {
64
- background-color : var (--sapBackgroundColor );
63
+ : host ([background-design = "Solid " ]) {
64
+ background-color : var (--sapBackgroundColor );
65
65
}
66
66
67
- : host ([backgroundDesign = "Solid" ]) {
68
- background-color : var (--sapBackgroundColor );
69
- }
70
-
71
- : host ([backgroundDesign = "Transparent" ]) {
67
+ : host ([background-design = "Transparent" ]) {
72
68
background-color : transparent;
73
69
}
74
70
75
- : host ([backgroundDesign = "List" ]) {
71
+ : host ([background-design = "List" ]) {
76
72
background-color : var (--_ui5_page_list_bg );
77
73
}
78
74
Original file line number Diff line number Diff line change @@ -7,14 +7,6 @@ import DataType from "@ui5/webcomponents-base/dist/types/DataType.js";
7
7
*/
8
8
const PageBackgroundDesigns = {
9
9
10
- /**
11
- * Standard Page background color.
12
- *
13
- * @type {Standard }
14
- * @public
15
- */
16
- Standard : "Standard" ,
17
-
18
10
/**
19
11
* Page background color when a List is set as the Page content.
20
12
*
Original file line number Diff line number Diff line change 27
27
</ head >
28
28
29
29
< body style ="background-color: var(--sapBackgroundColor); "> </ body >
30
- < ui5-page id ="page " backgroundDesign ="List " floating-footer show-footer >
30
+ < ui5-page id ="page " background-design ="List " floating-footer show-footer >
31
31
< div slot ="header ">
32
32
< ui5-bar design ="Header ">
33
33
< ui5-button icon ="home " title ="Go home " slot ="startContent "> </ ui5-button >
Original file line number Diff line number Diff line change 19
19
< section >
20
20
< h3 > Page with floating footer</ h3 >
21
21
< div class ="snippet ">
22
- < ui5-page id ="page " style ="height: 700px; width: 500px " backgroundDesign ="List " floating-footer show-footer >
22
+ < ui5-page id ="page " style ="height: 700px; width: 500px " background-design ="List " floating-footer show-footer >
23
23
< div slot ="header ">
24
24
< ui5-bar design ="Header ">
25
25
< ui5-button icon ="home " title ="Go home " slot ="startContent "> </ ui5-button >
@@ -80,7 +80,7 @@ <h3>Page with floating footer</h3>
80
80
</ ui5-page >
81
81
</ div >
82
82
< pre class ="prettyprint lang-html "> < xmp >
83
- < ui5-page id ="page " backgroundDesign ="List " floating-footer show-footer >
83
+ < ui5-page id ="page " background-design ="List " floating-footer show-footer >
84
84
< div slot ="header ">
85
85
< ui5-bar design ="Header ">
86
86
< ui5-button icon ="home " title ="Go home " slot ="startContent "> </ ui5-button >
You can’t perform that action at this time.
0 commit comments