@brightspace-ui/core 3.254.1 → 3.254.2

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.
@@ -5,7 +5,6 @@ import { css, html, LitElement, nothing } from 'lit';
5
5
  import { cssSizes } from '../inputs/input-checkbox-styles.js';
6
6
  import { getComposedParent } from '../../helpers/dom.js';
7
7
  import { getFlag } from '../../helpers/flags.js';
8
- import { ifDefined } from 'lit/directives/if-defined.js';
9
8
  import { isPopoverSupported } from '../popover/popover-mixin.js';
10
9
  import { PageableMixin } from '../paging/pageable-mixin.js';
11
10
  import { PropertyRequiredMixin } from '../../mixins/property-required/property-required-mixin.js';
@@ -421,8 +420,6 @@ export class TableWrapper extends PropertyRequiredMixin(PageableMixin(SelectionM
421
420
 
422
421
  this.dirtyText = null;
423
422
  this.dirtyButtonText = null;
424
-
425
- this._excludeStickyColumnsFromScrollCalculations = getFlag('GAUD-9530-exclude-sticky-columns-from-scroll-calculations', false);
426
423
  }
427
424
 
428
425
  connectedCallback() {
@@ -461,7 +458,7 @@ export class TableWrapper extends PropertyRequiredMixin(PageableMixin(SelectionM
461
458
  return html`
462
459
  <slot name="controls" @slotchange="${this._handleControlsSlotChange}"></slot>
463
460
  ${this.stickyHeaders && this._controlsScrolled ? html`<div class="d2l-sticky-headers-backdrop"></div>` : nothing}
464
- ${useScrollWrapper ? html`<d2l-scroll-wrapper scroll-area-offset=${ifDefined(this._excludeStickyColumnsFromScrollCalculations ? this._stickyWidth : undefined)} .customScrollers="${this._tableScrollers}">${slot}</d2l-scroll-wrapper>` : slot}
461
+ ${useScrollWrapper ? html`<d2l-scroll-wrapper scroll-area-offset=${this._stickyWidth} .customScrollers="${this._tableScrollers}">${slot}</d2l-scroll-wrapper>` : slot}
465
462
  ${this._renderPagerContainer()}
466
463
  `;
467
464
  }
@@ -796,7 +793,7 @@ export class TableWrapper extends PropertyRequiredMixin(PageableMixin(SelectionM
796
793
  }
797
794
  if (headCell.hasAttribute('sticky')) stickyWidth += cellWidth;
798
795
  }
799
- if (this._excludeStickyColumnsFromScrollCalculations) this._stickyWidth = stickyWidth;
796
+ this._stickyWidth = stickyWidth;
800
797
  }
801
798
 
802
799
  _updateStickyAncestor(node, popoverOpened) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.254.1",
3
+ "version": "3.254.2",
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",