@syncfusion/ej2-navigations 25.1.40 → 25.1.42

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/ej2-navigations.min.js +2 -2
  3. package/dist/ej2-navigations.umd.min.js +2 -2
  4. package/dist/ej2-navigations.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-navigations.es2015.js +10 -4
  6. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  7. package/dist/es6/ej2-navigations.es5.js +10 -4
  8. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  9. package/dist/global/ej2-navigations.min.js +2 -2
  10. package/dist/global/ej2-navigations.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +8 -8
  13. package/src/carousel/carousel.js +6 -1
  14. package/src/common/menu-base.js +2 -1
  15. package/src/treeview/treeview.js +2 -2
  16. package/styles/bootstrap-dark.css +1 -0
  17. package/styles/bootstrap.css +1 -0
  18. package/styles/bootstrap4.css +1 -0
  19. package/styles/bootstrap5-dark.css +1 -0
  20. package/styles/bootstrap5.css +1 -0
  21. package/styles/fabric-dark.css +1 -0
  22. package/styles/fabric.css +1 -0
  23. package/styles/fluent-dark.css +1 -0
  24. package/styles/fluent.css +1 -0
  25. package/styles/highcontrast-light.css +1 -0
  26. package/styles/highcontrast.css +1 -0
  27. package/styles/material-dark.css +1 -0
  28. package/styles/material.css +1 -0
  29. package/styles/material3-dark.css +1 -0
  30. package/styles/material3.css +1 -0
  31. package/styles/tailwind-dark.css +1 -0
  32. package/styles/tailwind.css +1 -0
  33. package/styles/toolbar/_layout.scss +1 -0
  34. package/styles/toolbar/bootstrap-dark.css +1 -0
  35. package/styles/toolbar/bootstrap.css +1 -0
  36. package/styles/toolbar/bootstrap4.css +1 -0
  37. package/styles/toolbar/bootstrap5-dark.css +1 -0
  38. package/styles/toolbar/bootstrap5.css +1 -0
  39. package/styles/toolbar/fabric-dark.css +1 -0
  40. package/styles/toolbar/fabric.css +1 -0
  41. package/styles/toolbar/fluent-dark.css +1 -0
  42. package/styles/toolbar/fluent.css +1 -0
  43. package/styles/toolbar/highcontrast-light.css +1 -0
  44. package/styles/toolbar/highcontrast.css +1 -0
  45. package/styles/toolbar/material-dark.css +1 -0
  46. package/styles/toolbar/material.css +1 -0
  47. package/styles/toolbar/material3-dark.css +1 -0
  48. package/styles/toolbar/material3.css +1 -0
  49. package/styles/toolbar/tailwind-dark.css +1 -0
  50. package/styles/toolbar/tailwind.css +1 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 25.1.40
3
+ * version : 25.1.42
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.39",
3
+ "_id": "@syncfusion/ej2-navigations@25.1.41",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-b6ULde0kOnuY4A0Ho9X+1nkd6G+9vQQoZ/nApM1ctHx8/XVGU0XlFCKKBKCr4RQxIkGos9hZvY/TeAOplvjw1g==",
5
+ "_integrity": "sha512-v7d/MHlJbmOjwf5/wXAjmrW6cSlEFWMC/rUJfSf3oHQnzIMO2NxTAbyfhMF8V/T/AZ5seO34cnqZOLPrPULHDw==",
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.39.tgz",
43
- "_shasum": "5d3c7b780b12b3e7c73fe09c025c51d13b43e421",
42
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-25.1.41.tgz",
43
+ "_shasum": "b03f2f12c64f1452d9342932d8a8707f1ef04020",
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.40",
58
- "@syncfusion/ej2-lists": "~25.1.39",
59
- "@syncfusion/ej2-popups": "~25.1.39"
57
+ "@syncfusion/ej2-inputs": "~25.1.42",
58
+ "@syncfusion/ej2-lists": "~25.1.41",
59
+ "@syncfusion/ej2-popups": "~25.1.42"
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.40",
164
+ "version": "25.1.42",
165
165
  "sideEffects": false
166
166
  }
@@ -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
- this.itemsContainer.style.transform = this.getTranslateX(slideWidth, this.selectedIndex + numOfItems);
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 () {
@@ -1409,7 +1409,8 @@ var MenuBase = /** @class */ (function (_super) {
1409
1409
  return false;
1410
1410
  };
1411
1411
  MenuBase.prototype.menuHeaderClickHandler = function (e) {
1412
- if (closest(e.target, '.e-menu-wrapper').querySelector('ul.e-menu-parent').id !== this.element.id) {
1412
+ var menuWrapper = closest(e.target, '.e-menu-wrapper');
1413
+ if (menuWrapper && menuWrapper.querySelector('ul.e-menu-parent').id !== this.element.id) {
1413
1414
  return;
1414
1415
  }
1415
1416
  if (this.element.className.indexOf('e-hide-menu') > -1) {
@@ -1509,7 +1509,7 @@ var TreeView = /** @class */ (function (_super) {
1509
1509
  }
1510
1510
  };
1511
1511
  TreeView.prototype.clickHandler = function (event) {
1512
- var target = Browser.isDevice && !Browser.isIos ? document.elementFromPoint(event.originalEvent.changedTouches[0].clientX, event.originalEvent.changedTouches[0].clientY) : event.originalEvent.target;
1512
+ var target = Browser.isDevice && event.originalEvent.changedTouches && !Browser.isIos ? document.elementFromPoint(event.originalEvent.changedTouches[0].clientX, event.originalEvent.changedTouches[0].clientY) : event.originalEvent.target;
1513
1513
  EventHandler.remove(this.element, 'contextmenu', this.preventContextMenu);
1514
1514
  if (!target || this.dragStartAction) {
1515
1515
  return;
@@ -2155,7 +2155,7 @@ var TreeView = /** @class */ (function (_super) {
2155
2155
  this.expandOnType = (this.expandOn === 'Auto') ? (Browser.isDevice ? 'Click' : 'DblClick') : this.expandOn;
2156
2156
  };
2157
2157
  TreeView.prototype.expandHandler = function (e) {
2158
- var target = Browser.isDevice && !Browser.isIos ? document.elementFromPoint(e.originalEvent.changedTouches[0].clientX, e.originalEvent.changedTouches[0].clientY) : e.originalEvent.target;
2158
+ var target = Browser.isDevice && e.originalEvent.changedTouches && !Browser.isIos ? document.elementFromPoint(e.originalEvent.changedTouches[0].clientX, e.originalEvent.changedTouches[0].clientY) : e.originalEvent.target;
2159
2159
  if (!target || target.classList.contains(INPUT) || target.classList.contains(ROOT) ||
2160
2160
  target.classList.contains(PARENTITEM) || target.classList.contains(LISTITEM) ||
2161
2161
  target.classList.contains(ICON) || this.showCheckBox && closest(target, '.' + CHECKBOXWRAP)) {
@@ -1852,6 +1852,7 @@
1852
1852
  padding: 0 12px 0 15px;
1853
1853
  }
1854
1854
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1855
+ height: auto;
1855
1856
  min-width: 34px;
1856
1857
  padding: 0;
1857
1858
  }
@@ -1855,6 +1855,7 @@
1855
1855
  padding: 0 12px 0 15px;
1856
1856
  }
1857
1857
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1858
+ height: auto;
1858
1859
  min-width: 34px;
1859
1860
  padding: 0;
1860
1861
  }
@@ -1855,6 +1855,7 @@
1855
1855
  padding: 0 5px 0 4px;
1856
1856
  }
1857
1857
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1858
+ height: auto;
1858
1859
  min-width: 34px;
1859
1860
  padding: 0;
1860
1861
  }
@@ -1921,6 +1921,7 @@
1921
1921
  padding: 0 0 0 4px;
1922
1922
  }
1923
1923
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1924
+ height: 38px;
1924
1925
  min-width: 34px;
1925
1926
  padding: 0;
1926
1927
  }
@@ -1921,6 +1921,7 @@
1921
1921
  padding: 0 0 0 4px;
1922
1922
  }
1923
1923
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1924
+ height: 38px;
1924
1925
  min-width: 34px;
1925
1926
  padding: 0;
1926
1927
  }
@@ -1852,6 +1852,7 @@
1852
1852
  padding: 0 10px;
1853
1853
  }
1854
1854
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1855
+ height: auto;
1855
1856
  min-width: 34px;
1856
1857
  padding: 0;
1857
1858
  }
package/styles/fabric.css CHANGED
@@ -1854,6 +1854,7 @@
1854
1854
  padding: 0 10px;
1855
1855
  }
1856
1856
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1857
+ height: auto;
1857
1858
  min-width: 34px;
1858
1859
  padding: 0;
1859
1860
  }
@@ -1887,6 +1887,7 @@
1887
1887
  padding: 4px;
1888
1888
  }
1889
1889
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1890
+ height: auto;
1890
1891
  min-width: 34px;
1891
1892
  padding: 0;
1892
1893
  }
package/styles/fluent.css CHANGED
@@ -1887,6 +1887,7 @@
1887
1887
  padding: 4px;
1888
1888
  }
1889
1889
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1890
+ height: auto;
1890
1891
  min-width: 34px;
1891
1892
  padding: 0;
1892
1893
  }
@@ -1852,6 +1852,7 @@
1852
1852
  padding: 0 10px;
1853
1853
  }
1854
1854
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1855
+ height: auto;
1855
1856
  min-width: 34px;
1856
1857
  padding: 0;
1857
1858
  }
@@ -1854,6 +1854,7 @@
1854
1854
  padding: 0 10px;
1855
1855
  }
1856
1856
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1857
+ height: auto;
1857
1858
  min-width: 34px;
1858
1859
  padding: 0;
1859
1860
  }
@@ -1919,6 +1919,7 @@
1919
1919
  padding: 0;
1920
1920
  }
1921
1921
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1922
+ height: auto;
1922
1923
  min-width: 34px;
1923
1924
  padding: 0;
1924
1925
  }
@@ -1924,6 +1924,7 @@
1924
1924
  padding: 0;
1925
1925
  }
1926
1926
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1927
+ height: 36px;
1927
1928
  min-width: 34px;
1928
1929
  padding: 0;
1929
1930
  }
@@ -1990,6 +1990,7 @@
1990
1990
  padding: 0 0 0 8px;
1991
1991
  }
1992
1992
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
1993
+ height: 32px;
1993
1994
  min-width: 34px;
1994
1995
  padding: 0;
1995
1996
  }
@@ -2046,6 +2046,7 @@
2046
2046
  padding: 0 0 0 8px;
2047
2047
  }
2048
2048
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
2049
+ height: 32px;
2049
2050
  min-width: 34px;
2050
2051
  padding: 0;
2051
2052
  }
@@ -2011,6 +2011,7 @@
2011
2011
  padding: 0 0 0 4px;
2012
2012
  }
2013
2013
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
2014
+ height: 38px;
2014
2015
  min-width: 34px;
2015
2016
  padding: 0;
2016
2017
  }
@@ -2011,6 +2011,7 @@
2011
2011
  padding: 0 0 0 4px;
2012
2012
  }
2013
2013
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
2014
+ height: 38px;
2014
2015
  min-width: 34px;
2015
2016
  padding: 0;
2016
2017
  }
@@ -751,6 +751,7 @@
751
751
  }
752
752
 
753
753
  &:not(.e-separator) {
754
+ height: $tbar-item-height;
754
755
  min-width: 34px;
755
756
  padding: $tbar-item-pop-nrml-padding;
756
757
  }
@@ -620,6 +620,7 @@
620
620
  padding: 0 12px 0 15px;
621
621
  }
622
622
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
623
+ height: auto;
623
624
  min-width: 34px;
624
625
  padding: 0;
625
626
  }
@@ -621,6 +621,7 @@
621
621
  padding: 0 12px 0 15px;
622
622
  }
623
623
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
624
+ height: auto;
624
625
  min-width: 34px;
625
626
  padding: 0;
626
627
  }
@@ -621,6 +621,7 @@
621
621
  padding: 0 5px 0 4px;
622
622
  }
623
623
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
624
+ height: auto;
624
625
  min-width: 34px;
625
626
  padding: 0;
626
627
  }
@@ -632,6 +632,7 @@
632
632
  padding: 0 0 0 4px;
633
633
  }
634
634
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
635
+ height: 38px;
635
636
  min-width: 34px;
636
637
  padding: 0;
637
638
  }
@@ -632,6 +632,7 @@
632
632
  padding: 0 0 0 4px;
633
633
  }
634
634
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
635
+ height: 38px;
635
636
  min-width: 34px;
636
637
  padding: 0;
637
638
  }
@@ -620,6 +620,7 @@
620
620
  padding: 0 10px;
621
621
  }
622
622
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
623
+ height: auto;
623
624
  min-width: 34px;
624
625
  padding: 0;
625
626
  }
@@ -621,6 +621,7 @@
621
621
  padding: 0 10px;
622
622
  }
623
623
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
624
+ height: auto;
624
625
  min-width: 34px;
625
626
  padding: 0;
626
627
  }
@@ -631,6 +631,7 @@
631
631
  padding: 4px;
632
632
  }
633
633
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
634
+ height: auto;
634
635
  min-width: 34px;
635
636
  padding: 0;
636
637
  }
@@ -631,6 +631,7 @@
631
631
  padding: 4px;
632
632
  }
633
633
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
634
+ height: auto;
634
635
  min-width: 34px;
635
636
  padding: 0;
636
637
  }
@@ -620,6 +620,7 @@
620
620
  padding: 0 10px;
621
621
  }
622
622
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
623
+ height: auto;
623
624
  min-width: 34px;
624
625
  padding: 0;
625
626
  }
@@ -621,6 +621,7 @@
621
621
  padding: 0 10px;
622
622
  }
623
623
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
624
+ height: auto;
624
625
  min-width: 34px;
625
626
  padding: 0;
626
627
  }
@@ -647,6 +647,7 @@
647
647
  padding: 0;
648
648
  }
649
649
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
650
+ height: auto;
650
651
  min-width: 34px;
651
652
  padding: 0;
652
653
  }
@@ -650,6 +650,7 @@
650
650
  padding: 0;
651
651
  }
652
652
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
653
+ height: 36px;
653
654
  min-width: 34px;
654
655
  padding: 0;
655
656
  }
@@ -687,6 +687,7 @@
687
687
  padding: 0 0 0 8px;
688
688
  }
689
689
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
690
+ height: 32px;
690
691
  min-width: 34px;
691
692
  padding: 0;
692
693
  }
@@ -743,6 +743,7 @@
743
743
  padding: 0 0 0 8px;
744
744
  }
745
745
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
746
+ height: 32px;
746
747
  min-width: 34px;
747
748
  padding: 0;
748
749
  }
@@ -631,6 +631,7 @@
631
631
  padding: 0 0 0 4px;
632
632
  }
633
633
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
634
+ height: 38px;
634
635
  min-width: 34px;
635
636
  padding: 0;
636
637
  }
@@ -631,6 +631,7 @@
631
631
  padding: 0 0 0 4px;
632
632
  }
633
633
  .e-toolbar .e-toolbar-pop .e-toolbar-item:not(.e-separator) {
634
+ height: 38px;
634
635
  min-width: 34px;
635
636
  padding: 0;
636
637
  }