@kodaris/krubble-components 1.0.47 → 1.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1346,23 +1346,28 @@ const Te="important",Ee=" !"+Te,Ke=xe(class extends _e{constructor(e){if(super(e
1346
1346
  ></div>`:q}</div>
1347
1347
  `))}
1348
1348
  </div>
1349
- ${this._data.map(((e,t)=>I`
1350
- <div
1351
- class=${ke({row:!0,"row--clickable":!!this._def.rowClickable})}
1352
- @mousedown=${()=>this._handleRowMouseDown()}
1353
- @click=${()=>this._handleRowClick(e,t)}
1354
- >
1355
- ${this.getDisplayedColumns().map(((i,o)=>I`
1356
- <div
1357
- class=${ke(this._getCellClasses(i,o))}
1358
- style=${Ke(this._getCellStyle(i,o))}
1359
- data-column-id=${i.id}
1360
- >
1361
- ${this._renderCellContent(i,e,t)}
1362
- </div>
1363
- `))}
1364
- </div>
1365
- `))}
1349
+ ${this._data.map(((e,t)=>{const i=this.getDisplayedColumns().map(((i,o)=>I`
1350
+ <div
1351
+ class=${ke(this._getCellClasses(i,o))}
1352
+ style=${Ke(this._getCellStyle(i,o))}
1353
+ data-column-id=${i.id}
1354
+ >
1355
+ ${this._renderCellContent(i,e,t)}
1356
+ </div>
1357
+ `));return this._def.rowHref?I`
1358
+ <a
1359
+ href=${this._def.rowHref(e)}
1360
+ class=${ke({row:!0,"row--clickable":!0,"row--link":!0})}
1361
+ @mousedown=${()=>this._handleRowMouseDown()}
1362
+ @click=${()=>this._handleRowClick(e,t)}
1363
+ >${i}</a>
1364
+ `:I`
1365
+ <div
1366
+ class=${ke({row:!0,"row--clickable":!!this._def.rowClickable})}
1367
+ @mousedown=${()=>this._handleRowMouseDown()}
1368
+ @click=${()=>this._handleRowClick(e,t)}
1369
+ >${i}</div>
1370
+ `}))}
1366
1371
  </div>
1367
1372
  </div>
1368
1373
  </div>
@@ -1696,6 +1701,11 @@ const Te="important",Ee=" !"+Te,Ke=xe(class extends _e{constructor(e){if(super(e
1696
1701
  cursor: pointer;
1697
1702
  }
1698
1703
 
1704
+ .row--link {
1705
+ color: inherit;
1706
+ text-decoration: none;
1707
+ }
1708
+
1699
1709
  .header-row {
1700
1710
  display: contents;
1701
1711
  }