@brightspace-ui/core 3.28.0 → 3.28.1
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.
@@ -453,6 +453,9 @@ export class TableWrapper extends RtlMixin(PageableMixin(SelectionMixin(LitEleme
|
|
453
453
|
r.classList.toggle('d2l-table-row-first', r === firstRow);
|
454
454
|
r.classList.toggle('d2l-table-row-last', r === lastRow);
|
455
455
|
r.classList.toggle('d2l-table-selected-first', firstNonHeaderRow && isSelected);
|
456
|
+
if (r === lastRow) {
|
457
|
+
r.classList.remove('d2l-table-selected-previous');
|
458
|
+
}
|
456
459
|
|
457
460
|
Array.from(r.cells).forEach((c, index) => {
|
458
461
|
if (isHeader && !CSS.supports('selector(:has(a, b))')) this._checkSiblingSortableCells(c);
|
@@ -539,7 +542,6 @@ export class TableWrapper extends RtlMixin(PageableMixin(SelectionMixin(LitEleme
|
|
539
542
|
// observes mutations to <table>'s direct children and also
|
540
543
|
// its subtree (rows or cells added/removed to any descendant)
|
541
544
|
this._registerMutationObserver('_tableMutationObserver', this._handleTableChange.bind(this), this._table, {
|
542
|
-
attributes: true, /* required for legacy-Edge, otherwise attributeFilter throws a syntax error */
|
543
545
|
attributeFilter: ['selected'],
|
544
546
|
childList: true,
|
545
547
|
subtree: true
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.28.
|
3
|
+
"version": "3.28.1",
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
5
5
|
"type": "module",
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|