File tree Expand file tree Collapse file tree 5 files changed +14
-6
lines changed
Expand file tree Collapse file tree 5 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,13 @@ layout: component
66---
77
88``` html:preview
9- <zn-tabs></zn-tabs>
9+
10+ <zn-tabs flush="" caption="Billing" default-uri="" header="" active="tab-7ee7c65c-349267" split-min="60"
11+ primary-caption="Navigation" secondary-caption="Content" store-ttl="0" master-id="349267">
12+
13+
14+
15+ </zn-tabs>
1016```
1117
1218## Examples
Original file line number Diff line number Diff line change @@ -80,8 +80,7 @@ export default class ZnPanel extends ZincElement {
8080 description ="${ this . description } ">
8181 ${ hasActionSlot ? html `
8282 < slot name ="actions " slot ="actions " class ="panel__header__actions "> </ slot > ` : null }
83- </ zn-header >
84- </ div > ` : null }
83+ </ zn-header > ` : null }
8584
8685 < div class ="panel__body ">
8786 < slot > </ slot >
Original file line number Diff line number Diff line change 1515 padding : var (--zn-sp-padding );
1616 gap : var (--zn-sp-gap );
1717 width : 100% ;
18- max-width : var (--zn-container-hd );
18+ // max-width: var(--zn-container-hd); don't worry about max width just yet
1919 margin : 0 auto ;
2020
2121 & --divide .sp--no-gap {
Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ export default class ZnTabs extends ZincElement {
4242 @property ( { attribute : 'master-id' , reflect : true } ) masterId : string ;
4343 @property ( { attribute : 'default-uri' , type : String , reflect : true } ) defaultUri = '' ;
4444
45- @property ( { attribute : 'caption' , type : String , reflect : true } ) caption = '' ;
45+ @property ( ) caption : string ;
46+
47+ @property ( ) description : string ;
48+
4649 @property ( { attribute : 'header' , type : String , reflect : true } ) header = '' ;
4750
4851 @property ( { attribute : 'active' , type : String , reflect : true } ) _current = '' ;
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ h1, h2 {
9393 #header :not (:empty ) {
9494 display : flex ;
9595 align-items : center ;
96- padding : var (--zn-spacing-medium ) var ( --zn-spacing-medium ) 0 ;
96+ padding : var (--zn-spacing-medium );
9797 gap : var (--zn-spacing-medium );
9898
9999 #actions ::slotted (* :not(.zn-tb-active )) {
You can’t perform that action at this time.
0 commit comments