@syncfusion/ej2-navigations 26.2.7 → 26.2.10

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 (109) hide show
  1. package/dist/ej2-navigations.min.js +2 -2
  2. package/dist/ej2-navigations.umd.min.js +2 -2
  3. package/dist/ej2-navigations.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-navigations.es2015.js +13 -3
  5. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es5.js +13 -3
  7. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  8. package/dist/global/ej2-navigations.min.js +2 -2
  9. package/dist/global/ej2-navigations.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +11 -11
  12. package/src/breadcrumb/breadcrumb.js +7 -1
  13. package/src/common/menu-base.d.ts +1 -0
  14. package/src/common/menu-base.js +6 -2
  15. package/styles/accordion/fluent2.css +3 -1031
  16. package/styles/accordion/material3-dark.css +1 -54
  17. package/styles/accordion/material3.css +2 -109
  18. package/styles/appbar/fluent2.css +3 -1031
  19. package/styles/appbar/material3-dark.css +1 -54
  20. package/styles/appbar/material3.css +2 -109
  21. package/styles/bootstrap-dark.css +2 -2
  22. package/styles/bootstrap.css +2 -2
  23. package/styles/bootstrap4.css +2 -2
  24. package/styles/bootstrap5-dark.css +2 -2
  25. package/styles/bootstrap5.css +2 -2
  26. package/styles/breadcrumb/fluent2.css +3 -1031
  27. package/styles/breadcrumb/material3-dark.css +1 -54
  28. package/styles/breadcrumb/material3.css +2 -109
  29. package/styles/carousel/fluent2.css +3 -1031
  30. package/styles/carousel/material3-dark.css +1 -54
  31. package/styles/carousel/material3.css +2 -109
  32. package/styles/context-menu/fluent2.css +3 -1031
  33. package/styles/context-menu/material3-dark.css +1 -54
  34. package/styles/context-menu/material3.css +2 -109
  35. package/styles/fabric-dark.css +2 -2
  36. package/styles/fabric.css +2 -2
  37. package/styles/fluent-dark.css +2 -2
  38. package/styles/fluent.css +2 -2
  39. package/styles/fluent2.css +10 -1035
  40. package/styles/h-scroll/fluent2.css +3 -1031
  41. package/styles/h-scroll/material3-dark.css +1 -54
  42. package/styles/h-scroll/material3.css +2 -109
  43. package/styles/highcontrast-light.css +2 -2
  44. package/styles/highcontrast.css +2 -2
  45. package/styles/material-dark.css +2 -2
  46. package/styles/material.css +2 -2
  47. package/styles/material3-dark.css +3 -56
  48. package/styles/material3.css +4 -111
  49. package/styles/menu/fluent2.css +3 -1031
  50. package/styles/menu/material3-dark.css +1 -54
  51. package/styles/menu/material3.css +2 -109
  52. package/styles/pager/_theme.scss +6 -0
  53. package/styles/pager/fluent2.css +6 -1031
  54. package/styles/pager/material3-dark.css +1 -54
  55. package/styles/pager/material3.css +2 -109
  56. package/styles/sidebar/fluent2.css +3 -1031
  57. package/styles/sidebar/material3-dark.css +1 -54
  58. package/styles/sidebar/material3.css +2 -109
  59. package/styles/stepper/fluent2.css +3 -1031
  60. package/styles/stepper/material3-dark.css +1 -54
  61. package/styles/stepper/material3.css +2 -109
  62. package/styles/tab/fluent2.css +3 -1031
  63. package/styles/tab/material3-dark.css +1 -54
  64. package/styles/tab/material3.css +2 -109
  65. package/styles/tailwind-dark.css +2 -2
  66. package/styles/tailwind.css +2 -2
  67. package/styles/toolbar/fluent2.css +3 -1031
  68. package/styles/toolbar/material3-dark.css +1 -54
  69. package/styles/toolbar/material3.css +2 -109
  70. package/styles/treeview/bootstrap-dark.css +2 -2
  71. package/styles/treeview/bootstrap.css +2 -2
  72. package/styles/treeview/bootstrap4.css +2 -2
  73. package/styles/treeview/bootstrap5-dark.css +2 -2
  74. package/styles/treeview/bootstrap5.css +2 -2
  75. package/styles/treeview/fabric-dark.css +2 -2
  76. package/styles/treeview/fabric.css +2 -2
  77. package/styles/treeview/fluent-dark.css +2 -2
  78. package/styles/treeview/fluent.css +2 -2
  79. package/styles/treeview/fluent2.css +5 -1033
  80. package/styles/treeview/highcontrast-light.css +2 -2
  81. package/styles/treeview/highcontrast.css +2 -2
  82. package/styles/treeview/icons/_bds.scss +2 -2
  83. package/styles/treeview/icons/_bootstrap-dark.scss +2 -2
  84. package/styles/treeview/icons/_bootstrap.scss +2 -2
  85. package/styles/treeview/icons/_bootstrap4.scss +2 -2
  86. package/styles/treeview/icons/_bootstrap5.3.scss +2 -2
  87. package/styles/treeview/icons/_bootstrap5.scss +2 -2
  88. package/styles/treeview/icons/_fabric-dark.scss +2 -2
  89. package/styles/treeview/icons/_fabric.scss +2 -2
  90. package/styles/treeview/icons/_fluent.scss +2 -2
  91. package/styles/treeview/icons/_fluent2.scss +2 -2
  92. package/styles/treeview/icons/_fusionnew.scss +2 -2
  93. package/styles/treeview/icons/_highcontrast-light.scss +2 -2
  94. package/styles/treeview/icons/_highcontrast.scss +2 -2
  95. package/styles/treeview/icons/_material-dark.scss +2 -2
  96. package/styles/treeview/icons/_material.scss +2 -2
  97. package/styles/treeview/icons/_material3.scss +2 -2
  98. package/styles/treeview/icons/_tailwind-dark.scss +2 -2
  99. package/styles/treeview/icons/_tailwind.scss +2 -2
  100. package/styles/treeview/material-dark.css +2 -2
  101. package/styles/treeview/material.css +2 -2
  102. package/styles/treeview/material3-dark.css +3 -56
  103. package/styles/treeview/material3.css +4 -111
  104. package/styles/treeview/tailwind-dark.css +2 -2
  105. package/styles/treeview/tailwind.css +2 -2
  106. package/styles/v-scroll/fluent2.css +3 -1031
  107. package/styles/v-scroll/material3-dark.css +1 -54
  108. package/styles/v-scroll/material3.css +2 -109
  109. package/hotfix/26.1.35_Vol2.txt +0 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 26.2.7
3
+ * version : 26.2.10
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@26.2.5",
3
+ "_id": "@syncfusion/ej2-navigations@26.2.8",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-xRmFvjAiyM59M2Dm/77DRWzv965jum7gbj26MHtwx6BLGnJY+HsCyiDcbnEU16XLoSU152Bg5z5CRvZ+4upUPQ==",
5
+ "_integrity": "sha512-fzOtGt5NdoJ7XAVw2QfpYotu6nUO+eM4i/n44ZfH/APKNoZxPhuJxx6UqqQIEnMTmwUZIhgTTLNJ03spq9Jx/A==",
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-26.2.5.tgz",
43
- "_shasum": "8b408cbd1174627852ceaa47dae2203f0047d559",
42
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-26.2.8.tgz",
43
+ "_shasum": "9b4f45c2b783a7a3858c57cb85fd0447e6ec15bb",
44
44
  "_spec": "@syncfusion/ej2-navigations@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
46
46
  "author": {
@@ -51,12 +51,12 @@
51
51
  },
52
52
  "bundleDependencies": false,
53
53
  "dependencies": {
54
- "@syncfusion/ej2-base": "~26.2.5",
55
- "@syncfusion/ej2-buttons": "~26.2.7",
56
- "@syncfusion/ej2-data": "~26.2.5",
57
- "@syncfusion/ej2-inputs": "~26.2.5",
58
- "@syncfusion/ej2-lists": "~26.2.5",
59
- "@syncfusion/ej2-popups": "~26.2.5"
54
+ "@syncfusion/ej2-base": "~26.2.10",
55
+ "@syncfusion/ej2-buttons": "~26.2.10",
56
+ "@syncfusion/ej2-data": "~26.2.10",
57
+ "@syncfusion/ej2-inputs": "~26.2.10",
58
+ "@syncfusion/ej2-lists": "~26.2.10",
59
+ "@syncfusion/ej2-popups": "~26.2.10"
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": "26.2.7",
164
+ "version": "26.2.10",
165
165
  "sideEffects": false
166
166
  }
@@ -517,6 +517,12 @@ var Breadcrumb = /** @class */ (function (_super) {
517
517
  }
518
518
  };
519
519
  Breadcrumb.prototype.reRenderItems = function () {
520
+ if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && this.popupObj.element.querySelector('.e-edit-template')) {
521
+ this.popupObj.hide();
522
+ this.popupObj.destroy();
523
+ this.isPopupCreated = false;
524
+ detach(this.popupObj.element);
525
+ }
520
526
  this.element.innerHTML = '';
521
527
  this.renderItems(this.items);
522
528
  };
@@ -606,7 +612,7 @@ var Breadcrumb = /** @class */ (function (_super) {
606
612
  this.popupObj.show();
607
613
  };
608
614
  Breadcrumb.prototype.documentClickHandler = function (e) {
609
- if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && !closest(e.target, DOT + MENUCLASS)) {
615
+ if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && !closest(e.target, DOT + MENUCLASS) && !closest(e.target, DOT + 'e-edit-template')) {
610
616
  this.popupObj.hide();
611
617
  this.popupObj.destroy();
612
618
  this.isPopupCreated = false;
@@ -173,6 +173,7 @@ export declare abstract class MenuBase extends Component<HTMLUListElement> imple
173
173
  private isClosed;
174
174
  private liTrgt;
175
175
  private isMenusClosed;
176
+ private isContextMenuClosed;
176
177
  private isCMenu;
177
178
  private pageX;
178
179
  private pageY;
@@ -640,6 +640,7 @@ var MenuBase = /** @class */ (function (_super) {
640
640
  detach(popupEle);
641
641
  }
642
642
  else {
643
+ _this.isContextMenuClosed = false;
643
644
  _this.toggleAnimation(ul_1, false);
644
645
  }
645
646
  closeArgs = { element: ul_1, parentItem: item_1, items: items_1 };
@@ -1041,6 +1042,7 @@ var MenuBase = /** @class */ (function (_super) {
1041
1042
  case 'none':
1042
1043
  _this.top = observedOpenArgs.top;
1043
1044
  _this.left = observedOpenArgs.left;
1045
+ _this.isContextMenuClosed = true;
1044
1046
  break;
1045
1047
  case 'hamburger':
1046
1048
  if (!observedOpenArgs.cancel) {
@@ -1533,7 +1535,9 @@ var MenuBase = /** @class */ (function (_super) {
1533
1535
  this.removeLIStateByClass([SELECTED], [wrapper]);
1534
1536
  }
1535
1537
  if (!cli || !cli.querySelector('.' + CARET)) {
1536
- this.closeMenu(null, e);
1538
+ if (!Browser.isIos || (Browser.isIos && !e.ctrlKey)) {
1539
+ this.closeMenu(null, e);
1540
+ }
1537
1541
  }
1538
1542
  }
1539
1543
  }
@@ -1966,7 +1970,7 @@ var MenuBase = /** @class */ (function (_super) {
1966
1970
  }
1967
1971
  };
1968
1972
  MenuBase.prototype.end = function (ul, isMenuOpen) {
1969
- if (isMenuOpen) {
1973
+ if (isMenuOpen && (this.isMenu || (!this.isMenu && this.isContextMenuClosed))) {
1970
1974
  if (this.isMenu || !Browser.isDevice) {
1971
1975
  ul.style.display = 'block';
1972
1976
  }