@@ -20,10 +20,10 @@ export default class UieBoxDashboard extends LitElement {
20
20
return html `
21
21
<uui- box class= "red-outline" .headline = "test" >
22
22
<h3 slot= "headline" class = "blue-outline spacing headline" >
23
- The uui-box element
23
+ this is a headline
24
24
</ h3>
25
25
<div slot= "header" class = "header purple-outline spacing" >
26
- Other header content
26
+ this is a header
27
27
</ div>
28
28
<div class= "header-actions pink-outline" slot = "header-actions" >
29
29
<uui- butto n href= "https://uui.umbraco.com/?path=/docs/uui-box--docs" target = "_blank" look = "primary"
@@ -38,7 +38,7 @@ export default class UieBoxDashboard extends LitElement {
38
38
<umb- code-block language= "HTML" > ${ this . renderBoxCodeExample ( ) } </ umb- code-block>
39
39
<div>
40
40
<p>
41
- The uui-box has largely replaces the umb-box element form previous versions of Umbraco .
41
+ The uui-box has largely replaces the umb-box element from previous versions of Umbraco .
42
42
</ p>
43
43
<p>
44
44
The <span class= "red" > uui-box </ span> element (outlined in red) is used as a wrapper for
@@ -81,19 +81,21 @@ export default class UieBoxDashboard extends LitElement {
81
81
82
82
renderHeaderSection ( ) {
83
83
return html `
84
- <uui- box>
85
- <h3 slot= "header" >
86
- The uui-box header slot
87
- </ h3>
88
- <slot>
89
- <div>
90
- <umb- code-block language= "HTML" > ${ this . renderHeaderSlotCodeExample ( ) } </ umb- code-block>
91
- <p>
92
- The header slot is optional and is used to display additional content in the header of the box .
93
- </ p>
94
- </ div>
95
- </ slot>
96
- </ uui- box>
84
+ <uui- box>
85
+
86
+ <h3 slot= "headline" >
87
+ The uui-box header slot
88
+ </ h3>
89
+ <slot>
90
+ <div>
91
+ <umb- code-block language= "HTML" > ${ this . renderHeaderSlotCodeExample ( ) } </ umb- code-block>
92
+ <p>
93
+ The header slot is optional and is used to display additional content in the header of the
94
+ box .
95
+ </ p>
96
+ </ div>
97
+ </ slot>
98
+ </ uui- box>
97
99
` ;
98
100
}
99
101
@@ -119,7 +121,7 @@ export default class UieBoxDashboard extends LitElement {
119
121
return html `
120
122
& lt;uui- box& gt;
121
123
& lt;h3 slot= & quot ;headline& quot ;& gt ;
122
- this is a title
124
+ this is a headline
123
125
& lt;/ h3& gt ;
124
126
& lt;div slot= & quot ;header& quot ;& gt ;
125
127
this is a header
@@ -164,9 +166,9 @@ export default class UieBoxDashboard extends LitElement {
164
166
165
167
renderHeaderSlotCodeExample ( ) {
166
168
return html `
167
- & lt;h3 slot= & quot ;header& quot ;& gt ;
169
+ & lt;div slot= & quot ;header& quot ;& gt ;
168
170
This is a header
169
- & lt;/ h3 & gt ;
171
+ & lt;/ div & gt ;
170
172
`
171
173
}
172
174
0 commit comments