@brightspace-ui/core
Advanced tools
Comparing version 3.72.1 to 3.72.2
@@ -106,3 +106,3 @@ import '../table-col-sort-button.js'; | ||
<tr> | ||
<th scope="col" sticky><d2l-selection-select-all></d2l-selection-select-all></th> | ||
<td scope="col" sticky><d2l-selection-select-all></d2l-selection-select-all></td> | ||
${this._renderDoubleSortButton('City', 'Country')} | ||
@@ -120,3 +120,3 @@ <th scope="col" colspan="${columns.length + 1}" sticky> | ||
<tr> | ||
<th scope="col" sticky><d2l-selection-select-all></d2l-selection-select-all></th> | ||
<td scope="col" sticky><d2l-selection-select-all></d2l-selection-select-all></td> | ||
${this._renderDoubleSortButton('City', 'Country')} | ||
@@ -123,0 +123,0 @@ ${columns.map(columnHeading => this._renderSortButton(columnHeading))} |
@@ -90,3 +90,6 @@ import '../colors/colors.js'; | ||
.d2l-table > * > tr.d2l-table-header > th, | ||
.d2l-table > * > tr[header] > th { | ||
.d2l-table > * > tr[header] > th, | ||
.d2l-table > thead > tr > td, | ||
.d2l-table > * > tr.d2l-table-header > td, | ||
.d2l-table > * > tr[header] > td { | ||
background-color: var(--d2l-table-header-background-color); | ||
@@ -218,2 +221,3 @@ font-size: 0.7rem; | ||
d2l-table-wrapper[sticky-headers] .d2l-table > thead > tr > th, | ||
d2l-table-wrapper[sticky-headers] .d2l-table > thead > tr > td, | ||
d2l-table-wrapper[sticky-headers]:not([sticky-headers-scroll-wrapper]) .d2l-table > * > tr.d2l-table-header > *, | ||
@@ -229,2 +233,4 @@ d2l-table-wrapper[sticky-headers]:not([sticky-headers-scroll-wrapper]) .d2l-table > * > tr[header] > * { | ||
d2l-table-wrapper[sticky-headers] .d2l-table > thead > tr > th[sticky], | ||
d2l-table-wrapper[sticky-headers] .d2l-table > thead > tr > td.d2l-table-sticky-cell, | ||
d2l-table-wrapper[sticky-headers] .d2l-table > thead > tr > td[sticky], | ||
d2l-table-wrapper[sticky-headers]:not([sticky-headers-scroll-wrapper]) .d2l-table > * > tr.d2l-table-header > .d2l-table-sticky-cell, | ||
@@ -762,6 +768,6 @@ d2l-table-wrapper[sticky-headers]:not([sticky-headers-scroll-wrapper]) .d2l-table > * > tr.d2l-table-header > [sticky], | ||
const thTop = hasStickyControls ? `${rowTop}px` : `calc(${rowTop}px + var(--d2l-table-border-radius-sticky-offset, 0px))`; | ||
const ths = Array.from(r.querySelectorAll('th')); | ||
const ths = Array.from(r.querySelectorAll('th,td')); | ||
ths.forEach(th => th.style.top = thTop); | ||
const rowHeight = r.querySelector('th:not([rowspan])')?.offsetHeight || 0; | ||
const rowHeight = r.querySelector('th:not([rowspan]),td:not([rowspan])')?.offsetHeight || 0; | ||
rowTop += rowHeight; | ||
@@ -768,0 +774,0 @@ }); |
{ | ||
"name": "@brightspace-ui/core", | ||
"version": "3.72.1", | ||
"version": "3.72.2", | ||
"description": "A collection of accessible, free, open-source web components for building Brightspace applications", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6014208
65961
5977
18
52