File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class DashboardSection extends ControllerMixin(ElementMixin(PolylitMixin(LitElem
5353 grid-column: var(--_vaadin-dashboard-item-column);
5454 }
5555
56- ::slotted(vaadin-dashboard-cell ) {
56+ ::slotted(vaadin-dashboard-widget-wrapper ) {
5757 display: contents;
5858 }
5959
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class Dashboard extends DashboardLayoutMixin(ElementMixin(ThemableMixin(PolylitM
3939 return [
4040 super . styles ,
4141 css `
42- ::slotted(vaadin-dashboard-cell ) {
42+ ::slotted(vaadin-dashboard-widget-wrapper ) {
4343 display: contents;
4444 }
4545 ` ,
@@ -88,7 +88,7 @@ class Dashboard extends DashboardLayoutMixin(ElementMixin(ThemableMixin(PolylitM
8888 __itemsOrRendererChanged ( items , renderer ) {
8989 render ( this . __renderItemCells ( items || [ ] ) , this ) ;
9090
91- this . querySelectorAll ( 'vaadin-dashboard-cell ' ) . forEach ( ( cell ) => {
91+ this . querySelectorAll ( 'vaadin-dashboard-widget-wrapper ' ) . forEach ( ( cell ) => {
9292 if ( renderer ) {
9393 renderer ( cell , this , { item : cell . __item } ) ;
9494 } else {
@@ -110,10 +110,10 @@ class Dashboard extends DashboardLayoutMixin(ElementMixin(ThemableMixin(PolylitM
110110 </ vaadin-dashboard-section > ` ;
111111 }
112112
113- return html `< vaadin-dashboard-cell
113+ return html `< vaadin-dashboard-widget-wrapper
114114 .__item ="${ item } "
115115 style ="--vaadin-dashboard-item-colspan: ${ item . colspan } ; "
116- > </ vaadin-dashboard-cell > ` ;
116+ > </ vaadin-dashboard-widget-wrapper > ` ;
117117 } ) ;
118118 }
119119}
You can’t perform that action at this time.
0 commit comments