@brightspace-ui/core 3.86.3 → 3.86.4

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.
@@ -589,26 +589,23 @@ export class TableWrapper extends RtlMixin(PageableMixin(SelectionMixin(LitEleme
589
589
  }
590
590
 
591
591
  async _handleTableChange(mutationRecords) {
592
- const flag = window.D2L?.LP?.Web?.UI?.Flags.Flag('table-update-filter-GAUD-6955', true) ?? true;
593
592
  const updates = { count: true, classNames: true, sticky: true, syncWidths: true };
594
- if (flag) {
595
- if (mutationRecords) {
596
- for (const key in updates) updates[key] = false;
597
- for (const { type, removedNodes, addedNodes, target, attributeName } of mutationRecords) {
598
- if (type === 'attributes') {
599
- updates.classNames = attributeName === 'selected';
600
- continue;
601
- }
602
-
603
- updates.sticky ||= target.matches(SELECTORS.headers);
604
- const affectedNodes = [...removedNodes, ...addedNodes];
605
- for (const node of affectedNodes) {
606
- if (!(node instanceof Element)) continue;
607
- updates.classNames ||= node.matches('tr, td, th');
608
- updates.syncWidths ||= node.matches('tr');
609
- updates.sticky ||= node.matches(SELECTORS.headers);
610
- updates.count ||= node.matches(SELECTORS.items);
611
- }
593
+ if (mutationRecords) {
594
+ for (const key in updates) updates[key] = false;
595
+ for (const { type, removedNodes, addedNodes, target, attributeName } of mutationRecords) {
596
+ if (type === 'attributes') {
597
+ updates.classNames = attributeName === 'selected';
598
+ continue;
599
+ }
600
+
601
+ updates.sticky ||= target.matches(SELECTORS.headers);
602
+ const affectedNodes = [...removedNodes, ...addedNodes];
603
+ for (const node of affectedNodes) {
604
+ if (!(node instanceof Element)) continue;
605
+ updates.classNames ||= node.matches('tr, td, th');
606
+ updates.syncWidths ||= node.matches('tr');
607
+ updates.sticky ||= node.matches(SELECTORS.headers);
608
+ updates.count ||= node.matches(SELECTORS.items);
612
609
  }
613
610
  }
614
611
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.86.3",
3
+ "version": "3.86.4",
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",