@syncfusion/ej2-navigations 28.1.41 → 28.2.3
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/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +9 -5
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +9 -5
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -11
- package/src/treeview/treeview.d.ts +1 -0
- package/src/treeview/treeview.js +9 -5
- package/styles/fluent-dark-lite.css +1 -3
- package/styles/fluent-dark.css +1 -3
- package/styles/fluent-lite.css +1 -3
- package/styles/fluent.css +1 -3
- package/styles/tab/_tailwind-definition.scss +1 -1
- package/styles/tab/tailwind-dark.css +4 -4
- package/styles/tab/tailwind.css +4 -4
- package/styles/tailwind-dark-lite.css +2 -2
- package/styles/tailwind-dark.css +4 -4
- package/styles/tailwind-lite.css +2 -2
- package/styles/tailwind.css +4 -4
- package/styles/treeview/_layout.scss +5 -5
- package/styles/treeview/fluent-dark.css +1 -3
- package/styles/treeview/fluent.css +1 -3
|
@@ -11822,11 +11822,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
|
|
|
11822
11822
|
if (!isNullOrUndefined(firstUl)) {
|
|
11823
11823
|
firstUl.setAttribute('role', treeAriaAttr.treeRole);
|
|
11824
11824
|
this.setMultiSelect(this.allowMultiSelection);
|
|
11825
|
-
|
|
11826
|
-
if (firstNode) {
|
|
11827
|
-
firstNode.setAttribute('tabindex', '0');
|
|
11828
|
-
this.updateIdAttr(null, firstNode);
|
|
11829
|
-
}
|
|
11825
|
+
this.setNodeFocusable();
|
|
11830
11826
|
if (this.allowTextWrap) {
|
|
11831
11827
|
this.updateWrap();
|
|
11832
11828
|
}
|
|
@@ -15521,6 +15517,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
|
|
|
15521
15517
|
}
|
|
15522
15518
|
this.groupedData = this.getGroupedData(this.treeData, this.fields.parentID);
|
|
15523
15519
|
}
|
|
15520
|
+
this.setNodeFocusable();
|
|
15524
15521
|
this.updateCheckedStateFromDS();
|
|
15525
15522
|
if (this.showCheckBox && dropLi) {
|
|
15526
15523
|
this.ensureParentCheckState(dropLi);
|
|
@@ -15918,6 +15915,13 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
|
|
|
15918
15915
|
this.doCheckBoxAction(nodes, false);
|
|
15919
15916
|
}
|
|
15920
15917
|
};
|
|
15918
|
+
TreeView.prototype.setNodeFocusable = function () {
|
|
15919
|
+
var firstNode = select('.' + LISTITEM, this.element);
|
|
15920
|
+
if (firstNode) {
|
|
15921
|
+
firstNode.setAttribute('tabindex', '0');
|
|
15922
|
+
this.updateIdAttr(null, firstNode);
|
|
15923
|
+
}
|
|
15924
|
+
};
|
|
15921
15925
|
var TreeView_1;
|
|
15922
15926
|
__decorate$8([
|
|
15923
15927
|
Property(false)
|