@syncfusion/ej2-navigations 25.1.39 → 25.1.41
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 +26 -0
- 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 +31 -5
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +31 -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 +8 -8
- package/src/accordion/accordion.js +3 -2
- package/src/carousel/carousel.js +6 -1
- package/src/stepper/stepper.js +1 -1
- package/src/toolbar/toolbar.js +1 -1
- package/src/treeview/treeview.js +20 -0
- package/styles/bootstrap-dark.css +311 -296
- package/styles/bootstrap.css +311 -296
- package/styles/bootstrap4.css +311 -296
- package/styles/bootstrap5-dark.css +311 -296
- package/styles/bootstrap5.css +311 -296
- package/styles/fabric-dark.css +311 -296
- package/styles/fabric.css +311 -296
- package/styles/fluent-dark.css +311 -296
- package/styles/fluent.css +311 -296
- package/styles/highcontrast-light.css +311 -296
- package/styles/highcontrast.css +311 -296
- package/styles/material-dark.css +311 -296
- package/styles/material.css +311 -296
- package/styles/material3-dark.css +311 -296
- package/styles/material3.css +311 -296
- package/styles/stepper/_layout.scss +162 -242
- package/styles/stepper/_theme.scss +158 -184
- package/styles/stepper/bootstrap-dark.css +311 -296
- package/styles/stepper/bootstrap.css +311 -296
- package/styles/stepper/bootstrap4.css +311 -296
- package/styles/stepper/bootstrap5-dark.css +311 -296
- package/styles/stepper/bootstrap5.css +311 -296
- package/styles/stepper/fabric-dark.css +311 -296
- package/styles/stepper/fabric.css +311 -296
- package/styles/stepper/fluent-dark.css +311 -296
- package/styles/stepper/fluent.css +311 -296
- package/styles/stepper/highcontrast-light.css +311 -296
- package/styles/stepper/highcontrast.css +311 -296
- package/styles/stepper/material-dark.css +311 -296
- package/styles/stepper/material.css +311 -296
- package/styles/stepper/material3-dark.css +311 -296
- package/styles/stepper/material3.css +311 -296
- package/styles/stepper/tailwind-dark.css +311 -296
- package/styles/stepper/tailwind.css +311 -296
- package/styles/tailwind-dark.css +311 -296
- package/styles/tailwind.css +311 -296
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 25.1.
|
|
3
|
+
* version : 25.1.41
|
|
4
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
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-navigations@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-navigations@25.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@25.1.40",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-gjvaF71UXvSS3/YYQKpKnS6GewAeoZp8ABusFTkT9aK0qkc45eda4XXwWEQcTvzMZ1alF9frNXH0m5pLbo18yw==",
|
|
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.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-25.1.
|
|
43
|
-
"_shasum": "
|
|
42
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-25.1.40.tgz",
|
|
43
|
+
"_shasum": "7b6ad1d0de9babef59f0509fee0515cbb0f79843",
|
|
44
44
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
45
45
|
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
|
46
46
|
"author": {
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"@syncfusion/ej2-base": "~25.1.35",
|
|
55
55
|
"@syncfusion/ej2-buttons": "~25.1.39",
|
|
56
56
|
"@syncfusion/ej2-data": "~25.1.35",
|
|
57
|
-
"@syncfusion/ej2-inputs": "~25.1.
|
|
58
|
-
"@syncfusion/ej2-lists": "~25.1.
|
|
59
|
-
"@syncfusion/ej2-popups": "~25.1.
|
|
57
|
+
"@syncfusion/ej2-inputs": "~25.1.40",
|
|
58
|
+
"@syncfusion/ej2-lists": "~25.1.41",
|
|
59
|
+
"@syncfusion/ej2-popups": "~25.1.41"
|
|
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": "25.1.
|
|
164
|
+
"version": "25.1.41",
|
|
165
165
|
"sideEffects": false
|
|
166
166
|
}
|
|
@@ -565,13 +565,14 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
565
565
|
return innerEle;
|
|
566
566
|
}
|
|
567
567
|
if (item.header && this.angularnativeCondiCheck(item, 'header')) {
|
|
568
|
+
var header = item.header;
|
|
568
569
|
if (this.enableHtmlSanitizer && typeof (item.header) === 'string') {
|
|
569
|
-
|
|
570
|
+
header = SanitizeHtmlHelper.sanitize(item.header);
|
|
570
571
|
}
|
|
571
572
|
var ctnEle = this.headerEleGenerate();
|
|
572
573
|
var hdrEle = this.createElement('div', { className: CLS_HEADERCTN });
|
|
573
574
|
ctnEle.appendChild(hdrEle);
|
|
574
|
-
ctnEle.appendChild(this.fetchElement(hdrEle,
|
|
575
|
+
ctnEle.appendChild(this.fetchElement(hdrEle, header, index));
|
|
575
576
|
innerEle.appendChild(ctnEle);
|
|
576
577
|
}
|
|
577
578
|
var hdr = select('.' + CLS_HEADER, innerEle);
|
package/src/carousel/carousel.js
CHANGED
|
@@ -1097,7 +1097,12 @@ var Carousel = /** @class */ (function (_super) {
|
|
|
1097
1097
|
if (this.itemsContainer && this.itemsContainer.firstElementChild) {
|
|
1098
1098
|
var numOfItems = this.getNumOfItems();
|
|
1099
1099
|
var slideWidth = this.itemsContainer.firstElementChild.clientWidth;
|
|
1100
|
-
|
|
1100
|
+
if (this.loop) {
|
|
1101
|
+
this.itemsContainer.style.transform = this.getTranslateX(slideWidth, this.selectedIndex + numOfItems);
|
|
1102
|
+
}
|
|
1103
|
+
else {
|
|
1104
|
+
this.itemsContainer.style.transform = this.getTranslateX(slideWidth, this.selectedIndex);
|
|
1105
|
+
}
|
|
1101
1106
|
}
|
|
1102
1107
|
};
|
|
1103
1108
|
Carousel.prototype.wireEvents = function () {
|
package/src/stepper/stepper.js
CHANGED
|
@@ -928,7 +928,7 @@ var Stepper = /** @class */ (function (_super) {
|
|
|
928
928
|
case 'rightarrow':
|
|
929
929
|
case 'tab':
|
|
930
930
|
case 'shiftTab':
|
|
931
|
-
this.handleNavigation(this.enableRtl && this.element.classList.contains(HORIZSTEP) ? (e.action === 'leftarrow' || e.action === '
|
|
931
|
+
this.handleNavigation(this.enableRtl && this.element.classList.contains(HORIZSTEP) ? (e.action === 'leftarrow' || e.action === 'tab' || e.action === 'uparrow') : (e.action === 'rightarrow' || e.action === 'tab' || e.action === 'downarrow'), e);
|
|
932
932
|
break;
|
|
933
933
|
case 'space':
|
|
934
934
|
case 'enter':
|
package/src/toolbar/toolbar.js
CHANGED
|
@@ -639,7 +639,7 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
639
639
|
itemObj = tempItem;
|
|
640
640
|
}
|
|
641
641
|
var eventArgs = { originalEvent: e, item: itemObj };
|
|
642
|
-
var isClickBinded = (
|
|
642
|
+
var isClickBinded = itemObj && !isNOU(itemObj.click) && typeof itemObj.click == 'object' ? !isNOU(itemObj.click.observers) && itemObj.click.observers.length > 0 : !isNOU(itemObj) && !isNOU(itemObj.click);
|
|
643
643
|
if (isClickBinded) {
|
|
644
644
|
this.trigger('items[' + this.tbarEle.indexOf(clst) + '].click', eventArgs);
|
|
645
645
|
}
|
package/src/treeview/treeview.js
CHANGED
|
@@ -762,14 +762,23 @@ var TreeView = /** @class */ (function (_super) {
|
|
|
762
762
|
select('.' + CHECKBOXFRAME, checkboxEle).classList.add(CHECK);
|
|
763
763
|
e.item.setAttribute('aria-checked', 'true');
|
|
764
764
|
this.addCheck(e.item);
|
|
765
|
+
if (Browser.userAgent.indexOf("Edg") > -1) {
|
|
766
|
+
checkboxEle.setAttribute('aria-label', "checked");
|
|
767
|
+
}
|
|
765
768
|
}
|
|
766
769
|
else if (!isNOU(checkValue) && checkValue.toString() === 'true') {
|
|
767
770
|
select('.' + CHECKBOXFRAME, checkboxEle).classList.add(CHECK);
|
|
768
771
|
e.item.setAttribute('aria-checked', 'true');
|
|
769
772
|
this.addCheck(e.item);
|
|
773
|
+
if (Browser.userAgent.indexOf("Edg") > -1) {
|
|
774
|
+
checkboxEle.setAttribute('aria-label', "checked");
|
|
775
|
+
}
|
|
770
776
|
}
|
|
771
777
|
else {
|
|
772
778
|
e.item.setAttribute('aria-checked', 'false');
|
|
779
|
+
if (Browser.userAgent.indexOf("Edg") > -1) {
|
|
780
|
+
checkboxEle.setAttribute('aria-label', "unchecked");
|
|
781
|
+
}
|
|
773
782
|
}
|
|
774
783
|
var frame = select('.' + CHECKBOXFRAME, checkboxEle);
|
|
775
784
|
EventHandler.add(frame, 'mousedown', this.frameMouseHandler, this);
|
|
@@ -1304,6 +1313,17 @@ var TreeView = /** @class */ (function (_super) {
|
|
|
1304
1313
|
ariaState = state === 'check' ? 'true' : state === 'uncheck' ? 'false' : ariaState;
|
|
1305
1314
|
if (!isNOU(ariaState)) {
|
|
1306
1315
|
currLi.setAttribute('aria-checked', ariaState);
|
|
1316
|
+
if (Browser.userAgent.indexOf("Edg") > -1) {
|
|
1317
|
+
if (ariaState === 'true') {
|
|
1318
|
+
wrapper.setAttribute('aria-label', "checked");
|
|
1319
|
+
}
|
|
1320
|
+
else if (ariaState === 'false') {
|
|
1321
|
+
wrapper.setAttribute('aria-label', "unchecked");
|
|
1322
|
+
}
|
|
1323
|
+
else if (ariaState === 'mixed') {
|
|
1324
|
+
wrapper.setAttribute('aria-label', "indeterminate");
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1307
1327
|
}
|
|
1308
1328
|
if (isAdd) {
|
|
1309
1329
|
var data = [].concat([], this.checkActionNodes);
|