@syncfusion/ej2-navigations 23.1.36 → 23.1.40
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 +24 -0
- package/dist/ej2-navigations.min.js +3 -3
- package/dist/ej2-navigations.umd.min.js +3 -3
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +12 -6
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +16 -8
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +3 -3
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +9 -9
- package/src/accordion/accordion.js +4 -2
- package/src/common/menu-base.js +4 -1
- package/src/sidebar/sidebar.js +2 -1
- package/src/tab/tab.js +4 -3
- package/src/toolbar/toolbar.js +2 -1
- package/styles/material3-dark.css +1 -1
- package/styles/material3.css +1 -1
- package/styles/treeview/_layout.scss +4 -1
- package/styles/treeview/material3-dark.css +1 -1
- package/styles/treeview/material3.css +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 23.1.
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 -
|
|
3
|
+
* version : 23.1.40
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-navigations@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-navigations@
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@23.1.39",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-xaMj7KxztedAnDJH1rUulakMIWGgZhErIInx8VPQUqyQ/A22OWUZP2BaVD38Vv+wNYzdelRjzyfJ875rhrEHZA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-navigations",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"/@syncfusion/ej2-spreadsheet",
|
|
40
40
|
"/@syncfusion/ej2-vue-navigations"
|
|
41
41
|
],
|
|
42
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
43
|
-
"_shasum": "
|
|
42
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.1.39.tgz",
|
|
43
|
+
"_shasum": "f8a27c38f9eb57dee9dfe189204faef0791446af",
|
|
44
44
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
45
45
|
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
|
46
46
|
"author": {
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
},
|
|
52
52
|
"bundleDependencies": false,
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@syncfusion/ej2-base": "~23.1.
|
|
55
|
-
"@syncfusion/ej2-buttons": "~23.1.
|
|
54
|
+
"@syncfusion/ej2-base": "~23.1.38",
|
|
55
|
+
"@syncfusion/ej2-buttons": "~23.1.39",
|
|
56
56
|
"@syncfusion/ej2-data": "~23.1.36",
|
|
57
|
-
"@syncfusion/ej2-inputs": "~23.1.
|
|
57
|
+
"@syncfusion/ej2-inputs": "~23.1.40",
|
|
58
58
|
"@syncfusion/ej2-lists": "~23.1.36",
|
|
59
|
-
"@syncfusion/ej2-popups": "~23.1.
|
|
59
|
+
"@syncfusion/ej2-popups": "~23.1.38"
|
|
60
60
|
},
|
|
61
61
|
"deprecated": false,
|
|
62
62
|
"description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another",
|
|
@@ -161,6 +161,6 @@
|
|
|
161
161
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
162
162
|
},
|
|
163
163
|
"typings": "index.d.ts",
|
|
164
|
-
"version": "23.1.
|
|
164
|
+
"version": "23.1.40",
|
|
165
165
|
"sideEffects": false
|
|
166
166
|
}
|
|
@@ -651,9 +651,11 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
651
651
|
if (typeof (value) === 'string') {
|
|
652
652
|
ele.innerHTML = SanitizeHtmlHelper.sanitize(value);
|
|
653
653
|
}
|
|
654
|
-
else if (
|
|
654
|
+
else if (value instanceof (HTMLElement)) {
|
|
655
655
|
ele.appendChild(value);
|
|
656
|
-
|
|
656
|
+
if (this.trgtEle) {
|
|
657
|
+
ele.firstElementChild.style.display = '';
|
|
658
|
+
}
|
|
657
659
|
}
|
|
658
660
|
else {
|
|
659
661
|
templateFn = templateCompiler(value);
|
package/src/common/menu-base.js
CHANGED
|
@@ -1432,6 +1432,9 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
1432
1432
|
if (!cli.classList.contains(SEPARATOR)) {
|
|
1433
1433
|
this.showSubMenu = true;
|
|
1434
1434
|
var cul = cli.parentNode;
|
|
1435
|
+
if (isNullOrUndefined(cul)) {
|
|
1436
|
+
return;
|
|
1437
|
+
}
|
|
1435
1438
|
this.cliIdx = this.getIdx(cul, cli);
|
|
1436
1439
|
if (this.isMenu || !Browser.isDevice) {
|
|
1437
1440
|
var culIdx = this.isMenu ? Array.prototype.indexOf.call([wrapper].concat(this.getPopups()), closest(cul, '.' + 'e-' + this.getModuleName() + '-wrapper'))
|
|
@@ -2111,7 +2114,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
2111
2114
|
if (ishide && validUl === items[i]) {
|
|
2112
2115
|
ul.children[index].classList.add(HIDE);
|
|
2113
2116
|
}
|
|
2114
|
-
else {
|
|
2117
|
+
else if (!ishide && validUl === items[i]) {
|
|
2115
2118
|
ul.children[index].classList.remove(HIDE);
|
|
2116
2119
|
}
|
|
2117
2120
|
}
|
package/src/sidebar/sidebar.js
CHANGED
|
@@ -174,7 +174,8 @@ var Sidebar = /** @class */ (function (_super) {
|
|
|
174
174
|
this.show();
|
|
175
175
|
}
|
|
176
176
|
else if (!this.isOpen) {
|
|
177
|
-
addClass([this.element], CLOSE);
|
|
177
|
+
addClass([this.element], [CLOSE, DISABLEANIMATION]);
|
|
178
|
+
removeClass([this.element], DISABLEANIMATION);
|
|
178
179
|
}
|
|
179
180
|
};
|
|
180
181
|
Sidebar.prototype.checkType = function (val) {
|
package/src/tab/tab.js
CHANGED
|
@@ -311,6 +311,7 @@ var Tab = /** @class */ (function (_super) {
|
|
|
311
311
|
* @returns {void}
|
|
312
312
|
*/
|
|
313
313
|
Tab.prototype.render = function () {
|
|
314
|
+
var _this = this;
|
|
314
315
|
this.btnCls = this.createElement('span', { className: CLS_ICONS + ' ' + CLS_ICON_CLOSE, attrs: { title: this.title } });
|
|
315
316
|
this.tabId = this.element.id.length > 0 ? ('-' + this.element.id) : getRandomId();
|
|
316
317
|
this.renderContainer();
|
|
@@ -318,10 +319,10 @@ var Tab = /** @class */ (function (_super) {
|
|
|
318
319
|
this.initRender = false;
|
|
319
320
|
if (this.isReact && this.portals && this.portals.length > 0) {
|
|
320
321
|
this.renderReactTemplates(function () {
|
|
321
|
-
if (!isNOU(
|
|
322
|
-
|
|
322
|
+
if (!isNOU(_this.tbObj)) {
|
|
323
|
+
_this.tbObj.refreshOverflow();
|
|
323
324
|
}
|
|
324
|
-
|
|
325
|
+
_this.refreshActiveBorder();
|
|
325
326
|
});
|
|
326
327
|
}
|
|
327
328
|
};
|
package/src/toolbar/toolbar.js
CHANGED
|
@@ -683,13 +683,14 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
683
683
|
* @returns {void}
|
|
684
684
|
*/
|
|
685
685
|
Toolbar.prototype.render = function () {
|
|
686
|
+
var _this = this;
|
|
686
687
|
this.initialize();
|
|
687
688
|
this.renderControl();
|
|
688
689
|
this.wireEvents();
|
|
689
690
|
this.renderComplete();
|
|
690
691
|
if (this.isReact && this.portals && this.portals.length > 0) {
|
|
691
692
|
this.renderReactTemplates(function () {
|
|
692
|
-
|
|
693
|
+
_this.refreshOverflow();
|
|
693
694
|
});
|
|
694
695
|
}
|
|
695
696
|
};
|
package/styles/material3.css
CHANGED
|
@@ -634,7 +634,10 @@
|
|
|
634
634
|
display: inline-block;
|
|
635
635
|
line-height: $treeview-text-height;
|
|
636
636
|
margin: $treeview-text-margin;
|
|
637
|
-
@if $skin-name
|
|
637
|
+
@if $skin-name == 'Material3' {
|
|
638
|
+
min-height: $treeview-item-height;
|
|
639
|
+
}
|
|
640
|
+
@else if $skin-name != 'bootstrap4' {
|
|
638
641
|
min-height: $treeview-text-height;
|
|
639
642
|
}
|
|
640
643
|
@else if $skin-name == 'bootstrap4' {
|