@syncfusion/ej2-navigations 20.4.48 → 20.4.51

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 (78) hide show
  1. package/CHANGELOG.md +18 -2
  2. package/GitLeaksReport.json +1 -0
  3. package/dist/ej2-navigations.min.js +2 -2
  4. package/dist/ej2-navigations.umd.min.js +2 -2
  5. package/dist/ej2-navigations.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es2015.js +48 -15
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +49 -15
  9. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  10. package/dist/global/ej2-navigations.min.js +2 -2
  11. package/dist/global/ej2-navigations.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/gitleaks-ci/gitleaks +0 -0
  14. package/gitleaks-ci.tar.gz +0 -0
  15. package/package.json +10 -10
  16. package/src/carousel/carousel.js +2 -4
  17. package/src/common/h-scroll.js +3 -0
  18. package/src/common/menu-base.js +4 -5
  19. package/src/toolbar/toolbar.js +1 -1
  20. package/src/treeview/treeview.d.ts +1 -0
  21. package/src/treeview/treeview.js +39 -5
  22. package/styles/accordion/_theme.scss +4 -4
  23. package/styles/accordion/bootstrap-dark.css +3 -3
  24. package/styles/accordion/bootstrap.css +3 -3
  25. package/styles/accordion/bootstrap4.css +3 -3
  26. package/styles/accordion/bootstrap5-dark.css +3 -3
  27. package/styles/accordion/bootstrap5.css +3 -3
  28. package/styles/accordion/fabric-dark.css +3 -3
  29. package/styles/accordion/fabric.css +3 -3
  30. package/styles/accordion/fluent-dark.css +3 -3
  31. package/styles/accordion/fluent.css +3 -3
  32. package/styles/accordion/highcontrast-light.css +3 -3
  33. package/styles/accordion/highcontrast.css +3 -3
  34. package/styles/accordion/material-dark.css +3 -3
  35. package/styles/accordion/material.css +3 -3
  36. package/styles/accordion/tailwind-dark.css +3 -3
  37. package/styles/accordion/tailwind.css +3 -3
  38. package/styles/bootstrap-dark.css +4 -3
  39. package/styles/bootstrap.css +4 -3
  40. package/styles/bootstrap4.css +5 -4
  41. package/styles/bootstrap5-dark.css +4 -3
  42. package/styles/bootstrap5.css +4 -3
  43. package/styles/context-menu/_fluent-definition.scss +1 -1
  44. package/styles/context-menu/_layout-mixin.scss +3 -1
  45. package/styles/context-menu/_layout.scss +3 -1
  46. package/styles/context-menu/fluent-dark.css +2 -16
  47. package/styles/context-menu/fluent.css +2 -16
  48. package/styles/fabric-dark.css +8 -7
  49. package/styles/fabric.css +8 -7
  50. package/styles/fluent-dark.css +12 -26
  51. package/styles/fluent.css +12 -26
  52. package/styles/highcontrast-light.css +4 -3
  53. package/styles/highcontrast.css +4 -3
  54. package/styles/material-dark.css +4 -3
  55. package/styles/material.css +4 -3
  56. package/styles/menu/_layout.scss +1 -0
  57. package/styles/menu/_theme.scss +1 -1
  58. package/styles/menu/bootstrap-dark.css +1 -0
  59. package/styles/menu/bootstrap.css +1 -0
  60. package/styles/menu/bootstrap4.css +1 -0
  61. package/styles/menu/bootstrap5-dark.css +1 -0
  62. package/styles/menu/bootstrap5.css +1 -0
  63. package/styles/menu/fabric-dark.css +5 -4
  64. package/styles/menu/fabric.css +5 -4
  65. package/styles/menu/fluent-dark.css +7 -7
  66. package/styles/menu/fluent.css +7 -7
  67. package/styles/menu/highcontrast-light.css +1 -0
  68. package/styles/menu/highcontrast.css +1 -0
  69. package/styles/menu/icons/_fabric-dark.scss +4 -4
  70. package/styles/menu/icons/_fabric.scss +4 -4
  71. package/styles/menu/material-dark.css +1 -0
  72. package/styles/menu/material.css +1 -0
  73. package/styles/menu/tailwind-dark.css +1 -0
  74. package/styles/menu/tailwind.css +1 -0
  75. package/styles/tailwind-dark.css +4 -3
  76. package/styles/tailwind.css +4 -3
  77. package/styles/treeview/_bootstrap4-definition.scss +1 -1
  78. package/styles/treeview/bootstrap4.css +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.4.48
3
+ * version : 20.4.51
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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
Binary file
Binary file
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@20.4.44",
3
+ "_id": "@syncfusion/ej2-navigations@20.4.49",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-WBZVEqEUCdzWUNFnD/qGx9OeZ55U7NUCJdnthrTgBQ7JETPKVpwB1xyOlT0NCEFmGvsOONlyJv9qWzzNs4wXTw==",
5
+ "_integrity": "sha512-rX8KgboFWrQ9npRnVSG+EDY7IbrsEI2NrKmq/EogWx5hsQrTbix1pxivr+eHxaz7YdpFZx4izzAL7dmBENJXZg==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -38,8 +38,8 @@
38
38
  "/@syncfusion/ej2-spreadsheet",
39
39
  "/@syncfusion/ej2-vue-navigations"
40
40
  ],
41
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.4.44.tgz",
42
- "_shasum": "47f1f4b77ec688da78a5579c24e16dfb92f9e606",
41
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.4.49.tgz",
42
+ "_shasum": "37c8a37b4c1c6c112ae6e12f2ccf4ee129538dbf",
43
43
  "_spec": "@syncfusion/ej2-navigations@*",
44
44
  "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
45
45
  "author": {
@@ -50,12 +50,12 @@
50
50
  },
51
51
  "bundleDependencies": false,
52
52
  "dependencies": {
53
- "@syncfusion/ej2-base": "~20.4.48",
54
- "@syncfusion/ej2-buttons": "~20.4.48",
53
+ "@syncfusion/ej2-base": "~20.4.51",
54
+ "@syncfusion/ej2-buttons": "~20.4.50",
55
55
  "@syncfusion/ej2-data": "~20.4.48",
56
- "@syncfusion/ej2-inputs": "~20.4.48",
57
- "@syncfusion/ej2-lists": "~20.4.48",
58
- "@syncfusion/ej2-popups": "~20.4.48"
56
+ "@syncfusion/ej2-inputs": "~20.4.51",
57
+ "@syncfusion/ej2-lists": "~20.4.50",
58
+ "@syncfusion/ej2-popups": "~20.4.51"
59
59
  },
60
60
  "deprecated": false,
61
61
  "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",
@@ -160,6 +160,6 @@
160
160
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
161
161
  },
162
162
  "typings": "index.d.ts",
163
- "version": "20.4.48",
163
+ "version": "20.4.51",
164
164
  "sideEffects": false
165
165
  }
@@ -616,17 +616,15 @@ var Carousel = /** @class */ (function (_super) {
616
616
  container.style.transform = "translateX(" + -(slideWidth) * (currentIndex) + "px)";
617
617
  }
618
618
  }
619
- var slideHeight;
620
619
  if (_this.animationEffect === 'Slide') {
621
620
  if (direction === 'Previous') {
622
621
  addClass([args.nextSlide], CLS_PREV_SLIDE);
623
- slideHeight = args.nextSlide.offsetHeight;
622
+ args.nextSlide.setAttribute('data-slide-height', args.nextSlide.offsetHeight.toString());
624
623
  addClass([args.currentSlide, args.nextSlide], CLS_TRANSITION_END);
625
624
  }
626
625
  else {
627
626
  addClass([args.nextSlide], CLS_NEXT_SLIDE);
628
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
629
- slideHeight = args.nextSlide.offsetHeight;
627
+ args.nextSlide.setAttribute('data-slide-height', args.nextSlide.offsetHeight.toString());
630
628
  addClass([args.currentSlide, args.nextSlide], CLS_TRANSITION_START);
631
629
  }
632
630
  }
@@ -349,6 +349,9 @@ var HScroll = /** @class */ (function (_super) {
349
349
  else {
350
350
  this.scrollEle.scrollLeft -= scrollVal;
351
351
  }
352
+ if (this.enableRtl && this.scrollEle.scrollLeft > 0) {
353
+ this.scrollEle.scrollLeft = 0;
354
+ }
352
355
  };
353
356
  HScroll.prototype.frameScrollRequest = function (scrollVal, action, isContinuous) {
354
357
  var _this = this;
@@ -1653,6 +1653,10 @@ var MenuBase = /** @class */ (function (_super) {
1653
1653
  var idx = void 0;
1654
1654
  var navIdx = void 0;
1655
1655
  var item = void 0;
1656
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1657
+ if (this_1.isReact && this_1.template) {
1658
+ this_1.clearTemplate(['template']);
1659
+ }
1656
1660
  if (!Object.keys(oldProp.items).length) {
1657
1661
  this_1.updateItem(this_1.element, this_1.items);
1658
1662
  if (this_1.enableScrolling && this_1.element.parentElement.classList.contains('e-custom-scroll')) {
@@ -1684,11 +1688,6 @@ var MenuBase = /** @class */ (function (_super) {
1684
1688
  navIdx.length = 0;
1685
1689
  }
1686
1690
  }
1687
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1688
- if (this_1.isReact && this_1.template) {
1689
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1690
- this_1.portals = [];
1691
- }
1692
1691
  break;
1693
1692
  }
1694
1693
  }
@@ -2125,7 +2125,7 @@ var Toolbar = /** @class */ (function (_super) {
2125
2125
  this.destroyMode();
2126
2126
  }
2127
2127
  var itemCol = [].slice.call(selectAll('.' + CLS_ITEMS + ' .' + CLS_ITEM, tEle));
2128
- if (this.isReact) {
2128
+ if (this.isReact && this.items[parseInt(index.toString(), 10)].template) {
2129
2129
  this.clearTemplate();
2130
2130
  }
2131
2131
  detach(itemCol[parseInt(index.toString(), 10)]);
@@ -1225,6 +1225,7 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
1225
1225
  private addSuccess;
1226
1226
  private dmFailure;
1227
1227
  private updatePreviousText;
1228
+ private getHierarchicalParentId;
1228
1229
  /**
1229
1230
  * Called internally if any of the property value changed.
1230
1231
  * @param {TreeView} newProp
@@ -4472,6 +4472,27 @@ var TreeView = /** @class */ (function (_super) {
4472
4472
  var txtEle = select('.' + LISTTEXT, liEle);
4473
4473
  this.updateText(liEle, txtEle, this.oldText, prevent);
4474
4474
  };
4475
+ TreeView.prototype.getHierarchicalParentId = function (node, data, parentsID) {
4476
+ var _this = this;
4477
+ var index = data.findIndex(function (data) { return data[_this.fields.id] && data[_this.fields.id].toString() === node; });
4478
+ if (index == -1) {
4479
+ for (var i = 0; i < data.length; i++) {
4480
+ var childItems = getValue(this.fields.child.toString(), data[i]);
4481
+ if (!isNOU(childItems)) {
4482
+ index = childItems.findIndex(function (data) { return data[_this.fields.id] && data[_this.fields.id].toString() === node; });
4483
+ if (index == -1) {
4484
+ this.getHierarchicalParentId(node, childItems, parentsID);
4485
+ }
4486
+ else {
4487
+ parentsID.push(data[i][this.fields.id].toString());
4488
+ this.getHierarchicalParentId(data[i][this.fields.id].toString(), this.treeData, parentsID);
4489
+ break;
4490
+ }
4491
+ }
4492
+ }
4493
+ }
4494
+ return parentsID;
4495
+ };
4475
4496
  /**
4476
4497
  * Called internally if any of the property value changed.
4477
4498
  * @param {TreeView} newProp
@@ -4741,13 +4762,26 @@ var TreeView = /** @class */ (function (_super) {
4741
4762
  * @param {string | Element} node - Specifies ID of TreeView node/TreeView nodes.
4742
4763
  */
4743
4764
  TreeView.prototype.ensureVisible = function (node) {
4765
+ var parentsId = [];
4766
+ if (this.dataType == 1) {
4767
+ var nodeData = this.getTreeData(node);
4768
+ while (nodeData.length != 0 && !isNOU(nodeData[0][this.fields.parentID])) {
4769
+ parentsId.push(nodeData[0][this.fields.parentID].toString());
4770
+ nodeData = this.getTreeData(nodeData[0][this.fields.parentID].toString());
4771
+ }
4772
+ }
4773
+ else if (this.dataType == 2) {
4774
+ parentsId = this.getHierarchicalParentId(node, this.treeData, parentsId).reverse();
4775
+ }
4776
+ this.expandAll(parentsId);
4744
4777
  var liEle = this.getElement(node);
4745
- if (isNOU(liEle)) {
4746
- return;
4778
+ if (!isNOU(liEle)) {
4779
+ if (typeof node == 'object') {
4780
+ var parents = this.parents(liEle, '.' + LISTITEM);
4781
+ this.expandAll(parents);
4782
+ }
4783
+ setTimeout(function () { liEle.scrollIntoView({ behavior: "smooth" }); }, 450);
4747
4784
  }
4748
- var parents = this.parents(liEle, '.' + LISTITEM);
4749
- this.expandAll(parents);
4750
- setTimeout(function () { liEle.scrollIntoView(true); }, 450);
4751
4785
  };
4752
4786
  /**
4753
4787
  * Expands all the collapsed TreeView nodes. You can expand the specific nodes by passing the array of collapsed nodes
@@ -8,16 +8,16 @@
8
8
  border: $acrdn-border-size $acrdn-border-type $acrdn-default-border;
9
9
  border-radius: $acrdn-border-radius;
10
10
 
11
- .e-active {
12
- background: $acrdn-active-bg-color;
13
- }
14
-
15
11
  .e-acrdn-item {
16
12
  border-color: $acrdn-item-border-color;
17
13
  border-style: $acrdn-item-border-nav-type;
18
14
  border-width: $acrdn-item-border-size;
19
15
  border-radius: $acrdn-item-border-radius;
20
16
 
17
+ &.e-active {
18
+ background: $acrdn-active-bg-color;
19
+ }
20
+
21
21
  &.e-select:last-child {
22
22
  border-bottom: $acrdn-item-select-last-child-border-bottom;
23
23
  border-radius: $acrdn-item-select-last-child-border-radius;
@@ -274,15 +274,15 @@
274
274
  border: 1px none #505050;
275
275
  border-radius: 0;
276
276
  }
277
- .e-accordion .e-active {
278
- background: #484848;
279
- }
280
277
  .e-accordion .e-acrdn-item {
281
278
  border-color: #505050;
282
279
  border-style: solid;
283
280
  border-width: 0;
284
281
  border-radius: 4px;
285
282
  }
283
+ .e-accordion .e-acrdn-item.e-active {
284
+ background: #484848;
285
+ }
286
286
  .e-accordion .e-acrdn-item.e-select:last-child {
287
287
  border-bottom: 1px solid #505050;
288
288
  border-radius: 4px;
@@ -275,15 +275,15 @@
275
275
  border: 1px none #ddd;
276
276
  border-radius: 0;
277
277
  }
278
- .e-accordion .e-active {
279
- background: #fff;
280
- }
281
278
  .e-accordion .e-acrdn-item {
282
279
  border-color: #ddd;
283
280
  border-style: solid;
284
281
  border-width: 0;
285
282
  border-radius: 4px;
286
283
  }
284
+ .e-accordion .e-acrdn-item.e-active {
285
+ background: #fff;
286
+ }
287
287
  .e-accordion .e-acrdn-item.e-select:last-child {
288
288
  border-bottom: 1px solid #ddd;
289
289
  border-radius: 4px;
@@ -274,15 +274,15 @@
274
274
  border: 1px solid rgba(0, 0, 0, 0.13);
275
275
  border-radius: 4px;
276
276
  }
277
- .e-accordion .e-active {
278
- background: #fff;
279
- }
280
277
  .e-accordion .e-acrdn-item {
281
278
  border-color: rgba(0, 0, 0, 0.13);
282
279
  border-style: solid;
283
280
  border-width: 0 0 1px 0;
284
281
  border-radius: 4px 4px 0 0;
285
282
  }
283
+ .e-accordion .e-acrdn-item.e-active {
284
+ background: #fff;
285
+ }
286
286
  .e-accordion .e-acrdn-item.e-select:last-child {
287
287
  border-bottom: 0;
288
288
  border-radius: 0 0 4px 4px;
@@ -276,15 +276,15 @@
276
276
  border: 1px solid #444c54;
277
277
  border-radius: 4px;
278
278
  }
279
- .e-accordion .e-active {
280
- background: #212529;
281
- }
282
279
  .e-accordion .e-acrdn-item {
283
280
  border-color: #444c54;
284
281
  border-style: solid;
285
282
  border-width: 0 0 1px 0;
286
283
  border-radius: 0;
287
284
  }
285
+ .e-accordion .e-acrdn-item.e-active {
286
+ background: #212529;
287
+ }
288
288
  .e-accordion .e-acrdn-item.e-select:last-child {
289
289
  border-bottom: 0;
290
290
  border-radius: 0;
@@ -276,15 +276,15 @@
276
276
  border: 1px solid #dee2e6;
277
277
  border-radius: 4px;
278
278
  }
279
- .e-accordion .e-active {
280
- background: #fff;
281
- }
282
279
  .e-accordion .e-acrdn-item {
283
280
  border-color: #dee2e6;
284
281
  border-style: solid;
285
282
  border-width: 0 0 1px 0;
286
283
  border-radius: 0;
287
284
  }
285
+ .e-accordion .e-acrdn-item.e-active {
286
+ background: #fff;
287
+ }
288
288
  .e-accordion .e-acrdn-item.e-select:last-child {
289
289
  border-bottom: 0;
290
290
  border-radius: 0;
@@ -274,15 +274,15 @@
274
274
  border: 1px solid #414040;
275
275
  border-radius: 0;
276
276
  }
277
- .e-accordion .e-active {
278
- background: #201f1f;
279
- }
280
277
  .e-accordion .e-acrdn-item {
281
278
  border-color: #201f1f;
282
279
  border-style: solid;
283
280
  border-width: 1px 0 1px 0;
284
281
  border-radius: 0;
285
282
  }
283
+ .e-accordion .e-acrdn-item.e-active {
284
+ background: #201f1f;
285
+ }
286
286
  .e-accordion .e-acrdn-item.e-select:last-child {
287
287
  border-bottom: 1px solid #201f1f;
288
288
  border-radius: 0;
@@ -275,15 +275,15 @@
275
275
  border: 1px solid #eaeaea;
276
276
  border-radius: 0;
277
277
  }
278
- .e-accordion .e-active {
279
- background: #fff;
280
- }
281
278
  .e-accordion .e-acrdn-item {
282
279
  border-color: #fff;
283
280
  border-style: solid;
284
281
  border-width: 1px 0 1px 0;
285
282
  border-radius: 0;
286
283
  }
284
+ .e-accordion .e-acrdn-item.e-active {
285
+ background: #fff;
286
+ }
287
287
  .e-accordion .e-acrdn-item.e-select:last-child {
288
288
  border-bottom: 1px solid #fff;
289
289
  border-radius: 0;
@@ -275,15 +275,15 @@
275
275
  border: 1px solid #292827;
276
276
  border-radius: 2px;
277
277
  }
278
- .e-accordion .e-active {
279
- background: #1b1a19;
280
- }
281
278
  .e-accordion .e-acrdn-item {
282
279
  border-color: #292827;
283
280
  border-style: solid;
284
281
  border-width: 0;
285
282
  border-radius: 0;
286
283
  }
284
+ .e-accordion .e-acrdn-item.e-active {
285
+ background: #1b1a19;
286
+ }
287
287
  .e-accordion .e-acrdn-item.e-select:last-child {
288
288
  border-bottom: 0;
289
289
  border-radius: 0;
@@ -275,15 +275,15 @@
275
275
  border: 1px solid #edebe9;
276
276
  border-radius: 2px;
277
277
  }
278
- .e-accordion .e-active {
279
- background: #fff;
280
- }
281
278
  .e-accordion .e-acrdn-item {
282
279
  border-color: #edebe9;
283
280
  border-style: solid;
284
281
  border-width: 0;
285
282
  border-radius: 0;
286
283
  }
284
+ .e-accordion .e-acrdn-item.e-active {
285
+ background: #fff;
286
+ }
287
287
  .e-accordion .e-acrdn-item.e-select:last-child {
288
288
  border-bottom: 0;
289
289
  border-radius: 0;
@@ -274,15 +274,15 @@
274
274
  border: 1px solid #757575;
275
275
  border-radius: 0;
276
276
  }
277
- .e-accordion .e-active {
278
- background: #ccc;
279
- }
280
277
  .e-accordion .e-acrdn-item {
281
278
  border-color: #757575;
282
279
  border-style: solid;
283
280
  border-width: 0;
284
281
  border-radius: 0;
285
282
  }
283
+ .e-accordion .e-acrdn-item.e-active {
284
+ background: #ccc;
285
+ }
286
286
  .e-accordion .e-acrdn-item.e-select:last-child {
287
287
  border-bottom: 0;
288
288
  border-radius: 0;
@@ -275,15 +275,15 @@
275
275
  border: 1px solid #969696;
276
276
  border-radius: 0;
277
277
  }
278
- .e-accordion .e-active {
279
- background: #000;
280
- }
281
278
  .e-accordion .e-acrdn-item {
282
279
  border-color: #969696;
283
280
  border-style: solid;
284
281
  border-width: 0;
285
282
  border-radius: 0;
286
283
  }
284
+ .e-accordion .e-acrdn-item.e-active {
285
+ background: #000;
286
+ }
287
287
  .e-accordion .e-acrdn-item.e-select:last-child {
288
288
  border-bottom: 0;
289
289
  border-radius: 0;
@@ -275,15 +275,15 @@
275
275
  border: 1px solid #616161;
276
276
  border-radius: 0;
277
277
  }
278
- .e-accordion .e-active {
279
- background: #303030;
280
- }
281
278
  .e-accordion .e-acrdn-item {
282
279
  border-color: #616161;
283
280
  border-style: solid;
284
281
  border-width: 0;
285
282
  border-radius: 0;
286
283
  }
284
+ .e-accordion .e-acrdn-item.e-active {
285
+ background: #303030;
286
+ }
287
287
  .e-accordion .e-acrdn-item.e-select:last-child {
288
288
  border-bottom: 1px solid transparent;
289
289
  border-radius: 0;
@@ -276,15 +276,15 @@
276
276
  border: 1px solid rgba(0, 0, 0, 0.12);
277
277
  border-radius: 0;
278
278
  }
279
- .e-accordion .e-active {
280
- background: #fff;
281
- }
282
279
  .e-accordion .e-acrdn-item {
283
280
  border-color: rgba(0, 0, 0, 0.12);
284
281
  border-style: solid;
285
282
  border-width: 0;
286
283
  border-radius: 0;
287
284
  }
285
+ .e-accordion .e-acrdn-item.e-active {
286
+ background: #fff;
287
+ }
288
288
  .e-accordion .e-acrdn-item.e-select:last-child {
289
289
  border-bottom: 1px solid transparent;
290
290
  border-radius: 0;
@@ -276,15 +276,15 @@
276
276
  border: 1px solid #4b5563;
277
277
  border-radius: 0;
278
278
  }
279
- .e-accordion .e-active {
280
- background: #1f2937;
281
- }
282
279
  .e-accordion .e-acrdn-item {
283
280
  border-color: #4b5563;
284
281
  border-style: solid;
285
282
  border-width: 0 0 1px 0;
286
283
  border-radius: 4px 4px 0 0;
287
284
  }
285
+ .e-accordion .e-acrdn-item.e-active {
286
+ background: #1f2937;
287
+ }
288
288
  .e-accordion .e-acrdn-item.e-select:last-child {
289
289
  border-bottom: 0;
290
290
  border-radius: 0 0 4px 4px;
@@ -276,15 +276,15 @@
276
276
  border: 1px solid #e5e7eb;
277
277
  border-radius: 0;
278
278
  }
279
- .e-accordion .e-active {
280
- background: #fff;
281
- }
282
279
  .e-accordion .e-acrdn-item {
283
280
  border-color: #e5e7eb;
284
281
  border-style: solid;
285
282
  border-width: 0 0 1px 0;
286
283
  border-radius: 4px 4px 0 0;
287
284
  }
285
+ .e-accordion .e-acrdn-item.e-active {
286
+ background: #fff;
287
+ }
288
288
  .e-accordion .e-acrdn-item.e-select:last-child {
289
289
  border-bottom: 0;
290
290
  border-radius: 0 0 4px 4px;
@@ -2774,15 +2774,15 @@
2774
2774
  border: 1px none #505050;
2775
2775
  border-radius: 0;
2776
2776
  }
2777
- .e-accordion .e-active {
2778
- background: #484848;
2779
- }
2780
2777
  .e-accordion .e-acrdn-item {
2781
2778
  border-color: #505050;
2782
2779
  border-style: solid;
2783
2780
  border-width: 0;
2784
2781
  border-radius: 4px;
2785
2782
  }
2783
+ .e-accordion .e-acrdn-item.e-active {
2784
+ background: #484848;
2785
+ }
2786
2786
  .e-accordion .e-acrdn-item.e-select:last-child {
2787
2787
  border-bottom: 1px solid #505050;
2788
2788
  border-radius: 4px;
@@ -8751,6 +8751,7 @@ ejs-sidebar {
8751
8751
  line-height: 42px;
8752
8752
  margin-right: 8px;
8753
8753
  text-align: center;
8754
+ margin-bottom: 4px;
8754
8755
  }
8755
8756
  .e-menu-wrapper ul .e-menu-item .e-caret,
8756
8757
  .e-menu-container ul .e-menu-item .e-caret {
@@ -2778,15 +2778,15 @@
2778
2778
  border: 1px none #ddd;
2779
2779
  border-radius: 0;
2780
2780
  }
2781
- .e-accordion .e-active {
2782
- background: #fff;
2783
- }
2784
2781
  .e-accordion .e-acrdn-item {
2785
2782
  border-color: #ddd;
2786
2783
  border-style: solid;
2787
2784
  border-width: 0;
2788
2785
  border-radius: 4px;
2789
2786
  }
2787
+ .e-accordion .e-acrdn-item.e-active {
2788
+ background: #fff;
2789
+ }
2790
2790
  .e-accordion .e-acrdn-item.e-select:last-child {
2791
2791
  border-bottom: 1px solid #ddd;
2792
2792
  border-radius: 4px;
@@ -8767,6 +8767,7 @@ ejs-sidebar {
8767
8767
  line-height: 40px;
8768
8768
  margin-right: 8px;
8769
8769
  text-align: center;
8770
+ margin-bottom: 4px;
8770
8771
  }
8771
8772
  .e-menu-wrapper ul .e-menu-item .e-caret,
8772
8773
  .e-menu-container ul .e-menu-item .e-caret {
@@ -2777,15 +2777,15 @@
2777
2777
  border: 1px solid rgba(0, 0, 0, 0.13);
2778
2778
  border-radius: 4px;
2779
2779
  }
2780
- .e-accordion .e-active {
2781
- background: #fff;
2782
- }
2783
2780
  .e-accordion .e-acrdn-item {
2784
2781
  border-color: rgba(0, 0, 0, 0.13);
2785
2782
  border-style: solid;
2786
2783
  border-width: 0 0 1px 0;
2787
2784
  border-radius: 4px 4px 0 0;
2788
2785
  }
2786
+ .e-accordion .e-acrdn-item.e-active {
2787
+ background: #fff;
2788
+ }
2789
2789
  .e-accordion .e-acrdn-item.e-select:last-child {
2790
2790
  border-bottom: 0;
2791
2791
  border-radius: 0 0 4px 4px;
@@ -8279,7 +8279,7 @@
8279
8279
  }
8280
8280
  .e-treeview.e-rtl .e-icon-collapsible,
8281
8281
  .e-treeview.e-rtl .e-icon-expandable {
8282
- margin: -0.5px -24px 0 0;
8282
+ margin: -0.5px -20px 0 0;
8283
8283
  }
8284
8284
  .e-treeview.e-rtl .e-sibling::before {
8285
8285
  right: 0;
@@ -8852,6 +8852,7 @@ ejs-sidebar {
8852
8852
  line-height: 30px;
8853
8853
  margin-right: 8px;
8854
8854
  text-align: center;
8855
+ margin-bottom: 4px;
8855
8856
  }
8856
8857
  .e-menu-wrapper ul .e-menu-item .e-caret,
8857
8858
  .e-menu-container ul .e-menu-item .e-caret {
@@ -2845,15 +2845,15 @@
2845
2845
  border: 1px solid #444c54;
2846
2846
  border-radius: 4px;
2847
2847
  }
2848
- .e-accordion .e-active {
2849
- background: #212529;
2850
- }
2851
2848
  .e-accordion .e-acrdn-item {
2852
2849
  border-color: #444c54;
2853
2850
  border-style: solid;
2854
2851
  border-width: 0 0 1px 0;
2855
2852
  border-radius: 0;
2856
2853
  }
2854
+ .e-accordion .e-acrdn-item.e-active {
2855
+ background: #212529;
2856
+ }
2857
2857
  .e-accordion .e-acrdn-item.e-select:last-child {
2858
2858
  border-bottom: 0;
2859
2859
  border-radius: 0;
@@ -8932,6 +8932,7 @@ ejs-sidebar {
8932
8932
  line-height: 32px;
8933
8933
  margin-right: 8px;
8934
8934
  text-align: center;
8935
+ margin-bottom: 4px;
8935
8936
  }
8936
8937
  .e-menu-wrapper ul .e-menu-item .e-caret,
8937
8938
  .e-menu-container ul .e-menu-item .e-caret {
@@ -2845,15 +2845,15 @@
2845
2845
  border: 1px solid #dee2e6;
2846
2846
  border-radius: 4px;
2847
2847
  }
2848
- .e-accordion .e-active {
2849
- background: #fff;
2850
- }
2851
2848
  .e-accordion .e-acrdn-item {
2852
2849
  border-color: #dee2e6;
2853
2850
  border-style: solid;
2854
2851
  border-width: 0 0 1px 0;
2855
2852
  border-radius: 0;
2856
2853
  }
2854
+ .e-accordion .e-acrdn-item.e-active {
2855
+ background: #fff;
2856
+ }
2857
2857
  .e-accordion .e-acrdn-item.e-select:last-child {
2858
2858
  border-bottom: 0;
2859
2859
  border-radius: 0;
@@ -8932,6 +8932,7 @@ ejs-sidebar {
8932
8932
  line-height: 32px;
8933
8933
  margin-right: 8px;
8934
8934
  text-align: center;
8935
+ margin-bottom: 4px;
8935
8936
  }
8936
8937
  .e-menu-wrapper ul .e-menu-item .e-caret,
8937
8938
  .e-menu-container ul .e-menu-item .e-caret {
@@ -11,7 +11,7 @@ $cmenu-caret-blank-icon: $text-base !default;
11
11
  $cmenu-caret-font-size: 16px !default;
12
12
  $cmenu-caret-icon: '\e7c2' !default;
13
13
  $cmenu-caret-icon-rtl: '\e7c1' !default;
14
- $cmenu-caret-li-padding: 24px !default;
14
+ $cmenu-caret-li-padding: 36px !default;
15
15
  $cmenu-caret-right: 7px !default;
16
16
  $cmenu-icon-margin-right: 8px !default;
17
17
  $cmenu-li-height: 36px !default;