@fluentui/web-components 3.2.0 → 3.2.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.
- package/CHANGELOG.md +11 -2
- package/custom-elements.json +16 -16
- package/dist/esm/tablist/tablist.base.js +10 -2
- package/dist/esm/tablist/tablist.base.js.map +1 -1
- package/dist/web-components-all.js +10 -2
- package/dist/web-components-all.min.js +7 -7
- package/dist/web-components.js +10 -2
- package/dist/web-components.min.js +11 -11
- package/package.json +1 -1
package/dist/web-components.js
CHANGED
|
@@ -11969,14 +11969,22 @@ class BaseTablist extends FASTElement {
|
|
|
11969
11969
|
}
|
|
11970
11970
|
/** @internal */
|
|
11971
11971
|
handleFocusIn(event) {
|
|
11972
|
-
|
|
11972
|
+
const target = event.target;
|
|
11973
|
+
if (!isTab(target) || target.disabled) {
|
|
11974
|
+
return;
|
|
11975
|
+
}
|
|
11976
|
+
this.activeid = target.id;
|
|
11973
11977
|
}
|
|
11974
11978
|
/** @internal */
|
|
11975
11979
|
handleClick(event) {
|
|
11976
11980
|
if (event.isTrusted) {
|
|
11977
11981
|
return;
|
|
11978
11982
|
}
|
|
11979
|
-
|
|
11983
|
+
const target = event.target;
|
|
11984
|
+
if (!isTab(target) || target.disabled) {
|
|
11985
|
+
return;
|
|
11986
|
+
}
|
|
11987
|
+
this.activeid = target.id;
|
|
11980
11988
|
}
|
|
11981
11989
|
changeTab(oldId, newId) {
|
|
11982
11990
|
const rootNode = this.getRootNode();
|