@brightspace-ui/core 3.205.2 → 3.206.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.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import '../colors/colors.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
|
-
import { getFlag } from '../../helpers/flags.js';
|
|
4
3
|
import { SkeletonMixin } from '../skeleton/skeleton-mixin.js';
|
|
5
4
|
|
|
6
5
|
const keyCodes = {
|
|
@@ -103,7 +102,6 @@ export const TabMixin = superclass => class extends SkeletonMixin(superclass) {
|
|
|
103
102
|
this.tabIndex = -1;
|
|
104
103
|
|
|
105
104
|
this._clicked = false;
|
|
106
|
-
this._noInitialSelectedEvent = getFlag('GAUD-8605-tab-no-initial-selected-event', true);
|
|
107
105
|
}
|
|
108
106
|
|
|
109
107
|
firstUpdated(changedProperties) {
|
|
@@ -128,7 +126,7 @@ export const TabMixin = superclass => class extends SkeletonMixin(superclass) {
|
|
|
128
126
|
|
|
129
127
|
if (changedProperties.has('selected')) {
|
|
130
128
|
this.ariaSelected = `${this.selected}`;
|
|
131
|
-
if (!this.#hasInitialized
|
|
129
|
+
if (!this.#hasInitialized) return; // Only fire events if selected changes after initial render
|
|
132
130
|
|
|
133
131
|
if (this.selected) {
|
|
134
132
|
/** Dispatched when a tab is selected */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.206.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",
|