16
16
}
17
17
</ script >
18
18
19
+ < script > delete Document . prototype . adoptedStyleSheets ; </ script >
20
+
19
21
< script src ="../../webcomponentsjs/webcomponents-loader.js "> </ script >
20
22
< script src ="../../resources/bundle.esm.js " type ="module "> </ script >
21
23
< script nomodule src ="../../resources/bundle.es5.js "> </ script >
37
39
< section class ="group ">
38
40
< h2 > Basic labels</ h2 >
39
41
< ui5-label id ="basic-label "> Basic Label</ ui5-label >
42
+ < ui5-label show-colon id ="basic-label2 "> Basic Label</ ui5-label >
43
+ < ui5-label required id ="basic-label2 "> Basic Label</ ui5-label >
44
+ < ui5-label show-colon required id ="basic-label3 "> Basic Label</ ui5-label >
45
+
46
+ < h2 > Basic long labels</ h2 >
47
+ < ui5-label id ="basic-label4 "> Start The quick brown fox jumps over the lazy sheep End</ ui5-label >
48
+ < ui5-label show-colon id ="basic-label5 "> Start The quick brown fox jumps over the lazy sheep End</ ui5-label >
49
+ < ui5-label required id ="basic-label6 "> Start The quick brown fox jumps over the lazy sheep End</ ui5-label >
50
+ < ui5-label show-colon required id ="basic-label6 "> Start The quick brown fox jumps over the lazy sheep End</ ui5-label >
51
+
52
+ < h2 > Basic long labels with predefined width</ h2 >
53
+ < ui5-label style ="width: 100px " id ="basic-label7 "> Start The quick brown fox jumps over the lazy sheep End</ ui5-label >
54
+ < ui5-label style ="width: 100px " show-colon id ="basic-label8 "> Start The quick brown fox jumps over the lazy sheep End</ ui5-label >
55
+ < ui5-label style ="width: 100px " required id ="basic-label8 "> Start The quick brown fox jumps over the lazy sheep End</ ui5-label >
56
+ < ui5-label style ="width: 100px " show-colon required id ="basic-label9 "> Start The quick brown fox jumps over the lazy sheep End</ ui5-label >
40
57
</ section >
41
58
< section class ="group ">
42
59
< h2 > Required labels</ h2 >
@@ -57,6 +74,10 @@ <h2>Wrapping label</h2>
57
74
58
75
</ section >
59
76
77
+ < h2 > Test show-colon not forcing truncation</ h2 >
78
+ < ui5-label id ="showColon-false "> Basic Label</ ui5-label >
79
+ < ui5-label show-colon id ="showColon-true "> Basic Label</ ui5-label >
80
+
60
81
< section class ="group ">
61
82
< h2 > label + input</ h2 >
62
83
< div style ="display: flex; align-items: center ">
0 commit comments