@@ -20,10 +20,10 @@ export default class UieBoxDashboard extends LitElement {
2020 return html `
2121 <uui- box class= "red-outline" .headline = "test" >
2222 <h3 slot= "headline" class = "blue-outline spacing headline" >
23- The uui-box element
23+ this is a headline
2424 </ h3>
2525 <div slot= "header" class = "header purple-outline spacing" >
26- Other header content
26+ this is a header
2727 </ div>
2828 <div class= "header-actions pink-outline" slot = "header-actions" >
2929 <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 {
3838 <umb- code-block language= "HTML" > ${ this . renderBoxCodeExample ( ) } </ umb- code-block>
3939 <div>
4040 <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 .
4242 </ p>
4343 <p>
4444 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 {
8181
8282 renderHeaderSection ( ) {
8383 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>
9799 ` ;
98100 }
99101
@@ -119,7 +121,7 @@ export default class UieBoxDashboard extends LitElement {
119121 return html `
120122& lt;uui- box& gt;
121123 & lt;h3 slot= & quot ;headline& quot ;& gt ;
122- this is a title
124+ this is a headline
123125 & lt;/ h3& gt ;
124126 & lt;div slot= & quot ;header& quot ;& gt ;
125127 this is a header
@@ -164,9 +166,9 @@ export default class UieBoxDashboard extends LitElement {
164166
165167 renderHeaderSlotCodeExample ( ) {
166168 return html `
167- & lt;h3 slot= & quot ;header& quot ;& gt ;
169+ & lt;div slot= & quot ;header& quot ;& gt ;
168170 This is a header
169- & lt;/ h3 & gt ;
171+ & lt;/ div & gt ;
170172 `
171173 }
172174
0 commit comments