@syncfusion/ej2-navigations 19.3.54 → 19.4.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.
Files changed (256) hide show
  1. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +63 -0
  2. package/.github/PULL_REQUEST_TEMPLATE/feature.md +39 -0
  3. package/CHANGELOG.md +58 -0
  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 +525 -147
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +532 -148
  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/package.json +11 -12
  14. package/src/accordion/accordion-model.d.ts +5 -5
  15. package/src/accordion/accordion.d.ts +5 -5
  16. package/src/accordion/accordion.js +2 -19
  17. package/src/breadcrumb/breadcrumb-model.d.ts +23 -11
  18. package/src/breadcrumb/breadcrumb.d.ts +33 -10
  19. package/src/breadcrumb/breadcrumb.js +320 -78
  20. package/src/common/menu-base.js +2 -2
  21. package/src/common/v-scroll.js +1 -1
  22. package/src/sidebar/sidebar.js +4 -4
  23. package/src/tab/tab-model.d.ts +14 -6
  24. package/src/tab/tab.d.ts +26 -15
  25. package/src/tab/tab.js +56 -27
  26. package/src/toolbar/toolbar-model.d.ts +7 -7
  27. package/src/toolbar/toolbar.d.ts +6 -6
  28. package/src/toolbar/toolbar.js +81 -13
  29. package/src/treeview/treeview-model.d.ts +10 -0
  30. package/src/treeview/treeview.d.ts +13 -0
  31. package/src/treeview/treeview.js +68 -5
  32. package/styles/accordion/_bootstrap-dark-definition.scss +4 -0
  33. package/styles/accordion/_bootstrap-definition.scss +4 -0
  34. package/styles/accordion/_bootstrap4-definition.scss +4 -0
  35. package/styles/accordion/_bootstrap5-definition.scss +39 -35
  36. package/styles/accordion/_fabric-dark-definition.scss +4 -0
  37. package/styles/accordion/_fabric-definition.scss +4 -0
  38. package/styles/accordion/_fluent-definition.scss +85 -0
  39. package/styles/accordion/_highcontrast-definition.scss +5 -1
  40. package/styles/accordion/_highcontrast-light-definition.scss +4 -0
  41. package/styles/accordion/_layout.scss +6 -14
  42. package/styles/accordion/_material-dark-definition.scss +4 -0
  43. package/styles/accordion/_material-definition.scss +4 -0
  44. package/styles/accordion/_tailwind-definition.scss +83 -79
  45. package/styles/accordion/_theme.scss +12 -11
  46. package/styles/accordion/bootstrap4.css +1 -2
  47. package/styles/accordion/bootstrap5-dark.css +11 -2
  48. package/styles/accordion/bootstrap5.css +11 -2
  49. package/styles/accordion/highcontrast-light.css +0 -4
  50. package/styles/accordion/highcontrast.css +1 -5
  51. package/styles/accordion/icons/_fluent.scss +17 -0
  52. package/styles/accordion/icons/_tailwind.scss +17 -17
  53. package/styles/bootstrap-dark.css +317 -84
  54. package/styles/bootstrap.css +316 -83
  55. package/styles/bootstrap4.css +317 -76
  56. package/styles/bootstrap5-dark.css +339 -75
  57. package/styles/bootstrap5.css +341 -77
  58. package/styles/breadcrumb/_bootstrap-dark-definition.scss +14 -0
  59. package/styles/breadcrumb/_bootstrap-definition.scss +13 -0
  60. package/styles/breadcrumb/_bootstrap4-definition.scss +13 -0
  61. package/styles/breadcrumb/_bootstrap5-definition.scss +15 -2
  62. package/styles/breadcrumb/_fabric-dark-definition.scss +13 -0
  63. package/styles/breadcrumb/_fabric-definition.scss +13 -0
  64. package/styles/breadcrumb/_fluent-definition.scss +59 -0
  65. package/styles/breadcrumb/_highcontrast-definition.scss +13 -0
  66. package/styles/breadcrumb/_highcontrast-light-definition.scss +13 -0
  67. package/styles/breadcrumb/_layout.scss +171 -22
  68. package/styles/breadcrumb/_material-dark-definition.scss +13 -0
  69. package/styles/breadcrumb/_material-definition.scss +13 -0
  70. package/styles/breadcrumb/_tailwind-dark-definition.scss +13 -0
  71. package/styles/breadcrumb/_tailwind-definition.scss +13 -0
  72. package/styles/breadcrumb/_theme.scss +27 -8
  73. package/styles/breadcrumb/bootstrap-dark.css +194 -17
  74. package/styles/breadcrumb/bootstrap.css +194 -17
  75. package/styles/breadcrumb/bootstrap4.css +194 -17
  76. package/styles/breadcrumb/bootstrap5-dark.css +198 -24
  77. package/styles/breadcrumb/bootstrap5.css +198 -24
  78. package/styles/breadcrumb/fabric-dark.css +197 -20
  79. package/styles/breadcrumb/fabric.css +197 -20
  80. package/styles/breadcrumb/highcontrast-light.css +200 -22
  81. package/styles/breadcrumb/highcontrast.css +200 -22
  82. package/styles/breadcrumb/icons/_bootstrap-dark.scss +2 -1
  83. package/styles/breadcrumb/icons/_bootstrap.scss +2 -1
  84. package/styles/breadcrumb/icons/_bootstrap4.scss +2 -1
  85. package/styles/breadcrumb/icons/_bootstrap5.scss +2 -1
  86. package/styles/breadcrumb/icons/_fabric-dark.scss +2 -1
  87. package/styles/breadcrumb/icons/_fabric.scss +2 -1
  88. package/styles/breadcrumb/icons/_fluent.scss +25 -0
  89. package/styles/breadcrumb/icons/_highcontrast-light.scss +2 -1
  90. package/styles/breadcrumb/icons/_highcontrast.scss +2 -1
  91. package/styles/breadcrumb/icons/_material-dark.scss +2 -1
  92. package/styles/breadcrumb/icons/_material.scss +2 -1
  93. package/styles/breadcrumb/icons/_tailwind-dark.scss +2 -1
  94. package/styles/breadcrumb/icons/_tailwind.scss +2 -1
  95. package/styles/breadcrumb/material-dark.css +186 -13
  96. package/styles/breadcrumb/material.css +186 -13
  97. package/styles/breadcrumb/tailwind-dark.css +195 -22
  98. package/styles/breadcrumb/tailwind.css +195 -22
  99. package/styles/context-menu/_bootstrap-dark-definition.scss +1 -1
  100. package/styles/context-menu/_bootstrap-definition.scss +1 -1
  101. package/styles/context-menu/_bootstrap4-definition.scss +1 -1
  102. package/styles/context-menu/_bootstrap5-definition.scss +5 -5
  103. package/styles/context-menu/_fluent-definition.scss +52 -0
  104. package/styles/context-menu/_material-dark-definition.scss +1 -1
  105. package/styles/context-menu/_material-definition.scss +1 -1
  106. package/styles/context-menu/_tailwind-definition.scss +1 -1
  107. package/styles/context-menu/bootstrap-dark.css +1 -1
  108. package/styles/context-menu/bootstrap.css +1 -1
  109. package/styles/context-menu/bootstrap4.css +1 -1
  110. package/styles/context-menu/bootstrap5-dark.css +5 -5
  111. package/styles/context-menu/bootstrap5.css +6 -6
  112. package/styles/context-menu/icons/_fluent.scss +32 -0
  113. package/styles/context-menu/material-dark.css +1 -1
  114. package/styles/context-menu/material.css +1 -1
  115. package/styles/context-menu/tailwind-dark.css +1 -1
  116. package/styles/context-menu/tailwind.css +1 -1
  117. package/styles/fabric-dark.css +305 -41
  118. package/styles/fabric.css +308 -44
  119. package/styles/h-scroll/_fluent-definition.scss +78 -0
  120. package/styles/h-scroll/_tailwind-definition.scss +78 -78
  121. package/styles/h-scroll/_theme.scss +1 -1
  122. package/styles/h-scroll/bootstrap-dark.css +1 -1
  123. package/styles/h-scroll/bootstrap.css +1 -1
  124. package/styles/h-scroll/bootstrap4.css +1 -1
  125. package/styles/h-scroll/bootstrap5-dark.css +1 -1
  126. package/styles/h-scroll/bootstrap5.css +1 -1
  127. package/styles/h-scroll/fabric-dark.css +1 -1
  128. package/styles/h-scroll/fabric.css +1 -1
  129. package/styles/h-scroll/highcontrast-light.css +1 -1
  130. package/styles/h-scroll/highcontrast.css +1 -1
  131. package/styles/h-scroll/icons/_fluent.scss +49 -0
  132. package/styles/h-scroll/icons/_tailwind.scss +49 -49
  133. package/styles/h-scroll/material-dark.css +1 -1
  134. package/styles/h-scroll/material.css +1 -1
  135. package/styles/h-scroll/tailwind-dark.css +1 -1
  136. package/styles/h-scroll/tailwind.css +1 -1
  137. package/styles/highcontrast-light.css +317 -47
  138. package/styles/highcontrast.css +322 -52
  139. package/styles/material-dark.css +295 -32
  140. package/styles/material.css +296 -33
  141. package/styles/menu/_fluent-definition.scss +68 -0
  142. package/styles/menu/_layout.scss +1 -1
  143. package/styles/menu/_theme.scss +9 -0
  144. package/styles/menu/bootstrap-dark.css +1 -1
  145. package/styles/menu/bootstrap.css +1 -1
  146. package/styles/menu/bootstrap4.css +1 -1
  147. package/styles/menu/bootstrap5-dark.css +4 -4
  148. package/styles/menu/bootstrap5.css +5 -5
  149. package/styles/menu/icons/_fluent.scss +133 -0
  150. package/styles/menu/material-dark.css +1 -1
  151. package/styles/menu/material.css +1 -1
  152. package/styles/menu/tailwind-dark.css +1 -1
  153. package/styles/menu/tailwind.css +1 -1
  154. package/styles/sidebar/_bootstrap5-definition.scss +5 -5
  155. package/styles/sidebar/_fluent-definition.scss +5 -0
  156. package/styles/sidebar/_theme.scss +4 -2
  157. package/styles/sidebar/bootstrap5-dark.css +0 -1
  158. package/styles/sidebar/bootstrap5.css +0 -1
  159. package/styles/sidebar/tailwind-dark.css +0 -1
  160. package/styles/sidebar/tailwind.css +0 -1
  161. package/styles/tab/_bootstrap-dark-definition.scss +10 -1
  162. package/styles/tab/_bootstrap-definition.scss +10 -1
  163. package/styles/tab/_bootstrap4-definition.scss +9 -1
  164. package/styles/tab/_bootstrap5-definition.scss +401 -401
  165. package/styles/tab/_fabric-dark-definition.scss +10 -0
  166. package/styles/tab/_fabric-definition.scss +10 -0
  167. package/styles/tab/_fluent-definition.scss +409 -0
  168. package/styles/tab/_highcontrast-definition.scss +10 -0
  169. package/styles/tab/_highcontrast-light-definition.scss +10 -0
  170. package/styles/tab/_layout.scss +145 -0
  171. package/styles/tab/_material-dark-definition.scss +10 -0
  172. package/styles/tab/_material-definition.scss +10 -0
  173. package/styles/tab/_tailwind-definition.scss +431 -420
  174. package/styles/tab/_theme.scss +188 -113
  175. package/styles/tab/bootstrap-dark.css +43 -18
  176. package/styles/tab/bootstrap.css +42 -17
  177. package/styles/tab/bootstrap4.css +47 -28
  178. package/styles/tab/bootstrap5-dark.css +53 -30
  179. package/styles/tab/bootstrap5.css +53 -30
  180. package/styles/tab/fabric-dark.css +43 -20
  181. package/styles/tab/fabric.css +46 -23
  182. package/styles/tab/highcontrast-light.css +52 -19
  183. package/styles/tab/highcontrast.css +56 -23
  184. package/styles/tab/icons/_bootstrap-dark.scss +2 -2
  185. package/styles/tab/icons/_fabric-dark.scss +2 -2
  186. package/styles/tab/icons/_fluent.scss +140 -0
  187. package/styles/tab/icons/_tailwind.scss +140 -140
  188. package/styles/tab/material-dark.css +42 -15
  189. package/styles/tab/material.css +42 -15
  190. package/styles/tab/tailwind-dark.css +42 -17
  191. package/styles/tab/tailwind.css +42 -17
  192. package/styles/tailwind-dark.css +313 -50
  193. package/styles/tailwind.css +313 -50
  194. package/styles/toolbar/_bootstrap-dark-definition.scss +7 -1
  195. package/styles/toolbar/_bootstrap-definition.scss +7 -1
  196. package/styles/toolbar/_bootstrap4-definition.scss +8 -2
  197. package/styles/toolbar/_bootstrap5-definition.scss +104 -86
  198. package/styles/toolbar/_fabric-dark-definition.scss +7 -0
  199. package/styles/toolbar/_fabric-definition.scss +7 -0
  200. package/styles/toolbar/_fluent-definition.scss +149 -0
  201. package/styles/toolbar/_highcontrast-definition.scss +7 -0
  202. package/styles/toolbar/_highcontrast-light-definition.scss +7 -0
  203. package/styles/toolbar/_layout.scss +27 -72
  204. package/styles/toolbar/_material-dark-definition.scss +7 -1
  205. package/styles/toolbar/_material-definition.scss +7 -1
  206. package/styles/toolbar/_tailwind-definition.scss +149 -143
  207. package/styles/toolbar/_theme.scss +12 -15
  208. package/styles/toolbar/bootstrap-dark.css +17 -46
  209. package/styles/toolbar/bootstrap.css +17 -46
  210. package/styles/toolbar/bootstrap4.css +12 -26
  211. package/styles/toolbar/bootstrap5-dark.css +6 -7
  212. package/styles/toolbar/bootstrap5.css +6 -7
  213. package/styles/toolbar/fabric-dark.css +4 -0
  214. package/styles/toolbar/fabric.css +4 -0
  215. package/styles/toolbar/highcontrast-light.css +4 -1
  216. package/styles/toolbar/highcontrast.css +4 -1
  217. package/styles/toolbar/icons/_fluent.scss +16 -0
  218. package/styles/toolbar/icons/_tailwind.scss +16 -16
  219. package/styles/toolbar/material-dark.css +4 -1
  220. package/styles/toolbar/material.css +5 -2
  221. package/styles/toolbar/tailwind-dark.css +8 -6
  222. package/styles/toolbar/tailwind.css +8 -6
  223. package/styles/treeview/_bootstrap-dark-definition.scss +11 -0
  224. package/styles/treeview/_bootstrap-definition.scss +11 -0
  225. package/styles/treeview/_bootstrap4-definition.scss +11 -0
  226. package/styles/treeview/_bootstrap5-definition.scss +120 -109
  227. package/styles/treeview/_fabric-dark-definition.scss +11 -0
  228. package/styles/treeview/_fabric-definition.scss +11 -0
  229. package/styles/treeview/_fluent-definition.scss +120 -0
  230. package/styles/treeview/_highcontrast-definition.scss +11 -0
  231. package/styles/treeview/_highcontrast-light-definition.scss +11 -0
  232. package/styles/treeview/_layout.scss +116 -20
  233. package/styles/treeview/_material-dark-definition.scss +13 -0
  234. package/styles/treeview/_material-definition.scss +11 -0
  235. package/styles/treeview/_tailwind-definition.scss +12 -0
  236. package/styles/treeview/_theme.scss +5 -5
  237. package/styles/treeview/bootstrap-dark.css +60 -0
  238. package/styles/treeview/bootstrap.css +60 -0
  239. package/styles/treeview/bootstrap4.css +60 -0
  240. package/styles/treeview/bootstrap5-dark.css +61 -1
  241. package/styles/treeview/bootstrap5.css +61 -1
  242. package/styles/treeview/fabric-dark.css +60 -0
  243. package/styles/treeview/fabric.css +60 -0
  244. package/styles/treeview/highcontrast-light.css +60 -0
  245. package/styles/treeview/highcontrast.css +60 -0
  246. package/styles/treeview/icons/_bootstrap5.scss +43 -43
  247. package/styles/treeview/icons/_fluent.scss +43 -0
  248. package/styles/treeview/icons/_tailwind-dark.scss +43 -43
  249. package/styles/treeview/material-dark.css +60 -0
  250. package/styles/treeview/material.css +60 -0
  251. package/styles/treeview/tailwind-dark.css +65 -1
  252. package/styles/treeview/tailwind.css +65 -1
  253. package/styles/v-scroll/_fluent-definition.scss +49 -0
  254. package/styles/v-scroll/_tailwind-definition.scss +49 -49
  255. package/styles/v-scroll/icons/_fluent.scss +26 -0
  256. package/styles/v-scroll/icons/_tailwind.scss +26 -26
@@ -17,6 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
17
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
+ /* eslint-disable @typescript-eslint/no-explicit-any */
20
21
  import { Component, EventHandler, Property, Event } from '@syncfusion/ej2-base';
21
22
  import { addClass, removeClass, isVisible, closest, attributes, detach, classList, KeyboardEvents } from '@syncfusion/ej2-base';
22
23
  import { selectAll, setStyleAttribute as setStyle, select } from '@syncfusion/ej2-base';
@@ -1015,9 +1016,15 @@ var Toolbar = /** @class */ (function (_super) {
1015
1016
  };
1016
1017
  Toolbar.prototype.tbarPopupHandler = function (isOpen) {
1017
1018
  if (this.overflowMode === 'Extended') {
1018
- isOpen ? this.add(this.element, CLS_EXTENDEDPOPOPEN) : this.remove(this.element, CLS_EXTENDEDPOPOPEN);
1019
+ if (isOpen) {
1020
+ this.add(this.element, CLS_EXTENDEDPOPOPEN);
1021
+ }
1022
+ else {
1023
+ this.remove(this.element, CLS_EXTENDEDPOPOPEN);
1024
+ }
1019
1025
  }
1020
1026
  };
1027
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1021
1028
  Toolbar.prototype.popupOpen = function (e) {
1022
1029
  var popObj = this.popObj;
1023
1030
  if (!this.isVertical) {
@@ -1063,6 +1070,7 @@ var Toolbar = /** @class */ (function (_super) {
1063
1070
  popObj.refreshPosition();
1064
1071
  }
1065
1072
  };
1073
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1066
1074
  Toolbar.prototype.popupClose = function (e) {
1067
1075
  var element = this.element;
1068
1076
  var popupNav = element.querySelector('.' + CLS_TBARNAV);
@@ -1427,10 +1435,20 @@ var Toolbar = /** @class */ (function (_super) {
1427
1435
  var popWid = (this.isVertical ? popupNav.offsetHeight : popupNav.offsetWidth) + 'px';
1428
1436
  innerItem[2].removeAttribute('style');
1429
1437
  if (this.isVertical) {
1430
- this.enableRtl ? innerItem[2].style.top = popWid : innerItem[2].style.bottom = popWid;
1438
+ if (this.enableRtl) {
1439
+ innerItem[2].style.top = popWid;
1440
+ }
1441
+ else {
1442
+ innerItem[2].style.bottom = popWid;
1443
+ }
1431
1444
  }
1432
1445
  else {
1433
- this.enableRtl ? innerItem[2].style.left = popWid : innerItem[2].style.right = popWid;
1446
+ if (this.enableRtl) {
1447
+ innerItem[2].style.left = popWid;
1448
+ }
1449
+ else {
1450
+ innerItem[2].style.right = popWid;
1451
+ }
1434
1452
  }
1435
1453
  }
1436
1454
  if (tbarWid <= margin) {
@@ -1440,10 +1458,20 @@ var Toolbar = /** @class */ (function (_super) {
1440
1458
  innerItem[1].removeAttribute('style');
1441
1459
  var mrgn = ((!this.isVertical ? innerItem[0].offsetWidth : innerItem[0].offsetHeight) + value) + 'px';
1442
1460
  if (this.isVertical) {
1443
- this.enableRtl ? innerItem[1].style.marginBottom = mrgn : innerItem[1].style.marginTop = mrgn;
1461
+ if (this.enableRtl) {
1462
+ innerItem[1].style.marginBottom = mrgn;
1463
+ }
1464
+ else {
1465
+ innerItem[1].style.marginTop = mrgn;
1466
+ }
1444
1467
  }
1445
1468
  else {
1446
- this.enableRtl ? innerItem[1].style.marginRight = mrgn : innerItem[1].style.marginLeft = mrgn;
1469
+ if (this.enableRtl) {
1470
+ innerItem[1].style.marginRight = mrgn;
1471
+ }
1472
+ else {
1473
+ innerItem[1].style.marginLeft = mrgn;
1474
+ }
1447
1475
  }
1448
1476
  };
1449
1477
  Toolbar.prototype.tbarItemAlign = function (item, itemEle, pos) {
@@ -1513,7 +1541,12 @@ var Toolbar = /** @class */ (function (_super) {
1513
1541
  var keyVal;
1514
1542
  for (var i = 0; i < key.length; i++) {
1515
1543
  keyVal = key[i];
1516
- keyVal === 'class' ? this.add(element, attr[keyVal]) : element.setAttribute(keyVal, attr[keyVal]);
1544
+ if (keyVal === 'class') {
1545
+ this.add(element, attr[keyVal]);
1546
+ }
1547
+ else {
1548
+ element.setAttribute(keyVal, attr[keyVal]);
1549
+ }
1517
1550
  }
1518
1551
  };
1519
1552
  /**
@@ -1558,7 +1591,12 @@ var Toolbar = /** @class */ (function (_super) {
1558
1591
  }
1559
1592
  enable(isEnable, ele);
1560
1593
  }
1561
- isEnable ? removeClass(elements, CLS_DISABLE) : addClass(elements, CLS_DISABLE);
1594
+ if (isEnable) {
1595
+ removeClass(elements, CLS_DISABLE);
1596
+ }
1597
+ else {
1598
+ addClass(elements, CLS_DISABLE);
1599
+ }
1562
1600
  }
1563
1601
  else {
1564
1602
  if (typeof (elements) === 'number') {
@@ -1746,7 +1784,12 @@ var Toolbar = /** @class */ (function (_super) {
1746
1784
  }
1747
1785
  else if (itemType === 'Input') {
1748
1786
  var ele = this.createElement('input');
1749
- item.id ? (ele.id = item.id) : (ele.id = getUniqueID('tbr-ipt'));
1787
+ if (item.id) {
1788
+ ele.id = item.id;
1789
+ }
1790
+ else {
1791
+ ele.id = getUniqueID('tbr-ipt');
1792
+ }
1750
1793
  innerEle.appendChild(ele);
1751
1794
  eleObj.appendTo(ele);
1752
1795
  }
@@ -1759,7 +1802,12 @@ var Toolbar = /** @class */ (function (_super) {
1759
1802
  var textStr = item.text;
1760
1803
  var iconCss;
1761
1804
  var iconPos;
1762
- item.id ? (dom.id = item.id) : dom.id = getUniqueID('e-tbr-btn');
1805
+ if (item.id) {
1806
+ dom.id = item.id;
1807
+ }
1808
+ else {
1809
+ dom.id = getUniqueID('e-tbr-btn');
1810
+ }
1763
1811
  var btnTxt = this.createElement('span', { className: 'e-tbar-btn-text' });
1764
1812
  if (textStr) {
1765
1813
  btnTxt.innerHTML = this.enableHtmlSanitizer ? SanitizeHtmlHelper.sanitize(textStr) : textStr;
@@ -2027,12 +2075,27 @@ var Toolbar = /** @class */ (function (_super) {
2027
2075
  this.refreshOverflow();
2028
2076
  break;
2029
2077
  case 'enableRtl':
2030
- newProp.enableRtl ? this.add(tEle, CLS_RTL) : this.remove(tEle, CLS_RTL);
2078
+ if (newProp.enableRtl) {
2079
+ this.add(tEle, CLS_RTL);
2080
+ }
2081
+ else {
2082
+ this.remove(tEle, CLS_RTL);
2083
+ }
2031
2084
  if (!isNOU(this.scrollModule)) {
2032
- newProp.enableRtl ? this.add(this.scrollModule.element, CLS_RTL) : this.remove(this.scrollModule.element, CLS_RTL);
2085
+ if (newProp.enableRtl) {
2086
+ this.add(this.scrollModule.element, CLS_RTL);
2087
+ }
2088
+ else {
2089
+ this.remove(this.scrollModule.element, CLS_RTL);
2090
+ }
2033
2091
  }
2034
2092
  if (!isNOU(this.popObj)) {
2035
- newProp.enableRtl ? this.add(this.popObj.element, CLS_RTL) : this.remove(this.popObj.element, CLS_RTL);
2093
+ if (newProp.enableRtl) {
2094
+ this.add(this.popObj.element, CLS_RTL);
2095
+ }
2096
+ else {
2097
+ this.remove(this.popObj.element, CLS_RTL);
2098
+ }
2036
2099
  }
2037
2100
  if (this.tbarAlign) {
2038
2101
  this.itemPositioning();
@@ -2086,7 +2149,12 @@ var Toolbar = /** @class */ (function (_super) {
2086
2149
  ele = innerItems_1[eleIndex];
2087
2150
  }
2088
2151
  if (ele) {
2089
- value ? ele.classList.add(CLS_HIDDEN) : ele.classList.remove(CLS_HIDDEN);
2152
+ if (value) {
2153
+ ele.classList.add(CLS_HIDDEN);
2154
+ }
2155
+ else {
2156
+ ele.classList.remove(CLS_HIDDEN);
2157
+ }
2090
2158
  if (value && isNOU(this.element.getAttribute('tabindex')) && !ele.classList.contains(CLS_SEPARATOR)) {
2091
2159
  if (isNOU(ele.firstElementChild.getAttribute('tabindex'))) {
2092
2160
  ele.firstElementChild.setAttribute('tabindex', '-1');
@@ -185,6 +185,16 @@ export interface TreeViewModel extends ComponentModel{
185
185
  */
186
186
  allowMultiSelection?: boolean;
187
187
 
188
+ /**
189
+ * Enables or disables text wrapping when text exceeds the bounds in the TreeView node.
190
+ * When the allowTextWrap property is set to true, the TreeView node text content will wrap to the next line
191
+ * when it exceeds the width of the TreeView node.
192
+ * The TreeView node height will be adjusted automatically based on the TreeView node content.
193
+ *
194
+ * @default false
195
+ */
196
+ allowTextWrap?: boolean;
197
+
188
198
  /**
189
199
  * Specifies the type of animation applied on expanding and collapsing the nodes along with duration.
190
200
  *
@@ -515,6 +515,7 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
515
515
  private isOffline;
516
516
  private firstTap;
517
517
  private hasTemplate;
518
+ private isFirstRender;
518
519
  /**
519
520
  * Indicates whether the TreeView allows drag and drop of nodes. To drag and drop a node in
520
521
  * desktop, hold the mouse on the node, drag it to the target node and drop the node by releasing
@@ -546,6 +547,15 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
546
547
  * @default false
547
548
  */
548
549
  allowMultiSelection: boolean;
550
+ /**
551
+ * Enables or disables text wrapping when text exceeds the bounds in the TreeView node.
552
+ * When the allowTextWrap property is set to true, the TreeView node text content will wrap to the next line
553
+ * when it exceeds the width of the TreeView node.
554
+ * The TreeView node height will be adjusted automatically based on the TreeView node content.
555
+ *
556
+ * @default false
557
+ */
558
+ allowTextWrap: boolean;
549
559
  /**
550
560
  * Specifies the type of animation applied on expanding and collapsing the nodes along with duration.
551
561
  *
@@ -923,6 +933,9 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
923
933
  private removeCheck;
924
934
  private getCheckEvent;
925
935
  private finalize;
936
+ private setTextWrap;
937
+ private updateWrap;
938
+ private calculateWrap;
926
939
  private doExpandAction;
927
940
  private expandGivenNodes;
928
941
  private expandCallback;
@@ -36,6 +36,8 @@ var COLLAPSIBLE = 'e-icon-collapsible';
36
36
  var EXPANDABLE = 'e-icon-expandable';
37
37
  var LISTITEM = 'e-list-item';
38
38
  var LISTTEXT = 'e-list-text';
39
+ var LISTWRAP = 'e-text-wrap';
40
+ var IELISTWRAP = 'e-ie-wrap';
39
41
  var PARENTITEM = 'e-list-parent';
40
42
  var HOVER = 'e-hover';
41
43
  var ACTIVE = 'e-active';
@@ -207,6 +209,7 @@ var TreeView = /** @class */ (function (_super) {
207
209
  _this.isFieldChange = false;
208
210
  _this.changeDataSource = false;
209
211
  _this.hasTemplate = false;
212
+ _this.isFirstRender = false;
210
213
  _this.mouseDownStatus = false;
211
214
  return _this;
212
215
  }
@@ -332,6 +335,7 @@ var TreeView = /** @class */ (function (_super) {
332
335
  this.setCssClass(null, this.cssClass);
333
336
  this.setEnableRtl();
334
337
  this.setFullRow(this.fullRowSelect);
338
+ this.setTextWrap();
335
339
  this.nodeTemplateFn = this.templateComplier(this.nodeTemplate);
336
340
  };
337
341
  TreeView.prototype.setDisabledMode = function () {
@@ -1000,6 +1004,10 @@ var TreeView = /** @class */ (function (_super) {
1000
1004
  var id = childItems[i][this.fields.id] ? childItems[i][this.fields.id].toString() : null;
1001
1005
  if (this.checkedNodes.indexOf(id) !== -1) {
1002
1006
  this.checkedNodes.splice(this.checkedNodes.indexOf(id), 1);
1007
+ var ele = this.element.querySelector('[data-uid="' + id + '"]');
1008
+ if (ele) {
1009
+ this.changeState(ele, 'uncheck', null);
1010
+ }
1003
1011
  }
1004
1012
  }
1005
1013
  if (this.parentNodeCheck.indexOf(node) !== -1) {
@@ -1231,6 +1239,9 @@ var TreeView = /** @class */ (function (_super) {
1231
1239
  var _this = this;
1232
1240
  var eventArgs;
1233
1241
  var currLi = closest(wrapper, '.' + LISTITEM);
1242
+ if (wrapper === currLi) {
1243
+ wrapper = select('.' + CHECKBOXWRAP, currLi);
1244
+ }
1234
1245
  if (!isPrevent) {
1235
1246
  this.checkActionNodes = [];
1236
1247
  eventArgs = this.getCheckEvent(currLi, state, e);
@@ -1314,11 +1325,36 @@ var TreeView = /** @class */ (function (_super) {
1314
1325
  addClass([firstNode], FOCUS);
1315
1326
  this.updateIdAttr(null, firstNode);
1316
1327
  }
1328
+ if (this.allowTextWrap) {
1329
+ this.updateWrap();
1330
+ }
1317
1331
  this.renderReactTemplates();
1318
1332
  this.hasPid = this.rootData[0] ? this.rootData[0].hasOwnProperty(this.fields.parentID) : false;
1319
1333
  this.doExpandAction();
1320
1334
  }
1321
1335
  };
1336
+ TreeView.prototype.setTextWrap = function () {
1337
+ (this.allowTextWrap ? addClass : removeClass)([this.element], LISTWRAP);
1338
+ if (Browser.isIE) {
1339
+ (this.allowTextWrap ? addClass : removeClass)([this.element], IELISTWRAP);
1340
+ }
1341
+ };
1342
+ TreeView.prototype.updateWrap = function (ulEle) {
1343
+ if (!this.fullRowSelect) {
1344
+ return;
1345
+ }
1346
+ var liEle = ulEle ? selectAll('.' + LISTITEM, ulEle) : this.liList;
1347
+ var length = liEle.length;
1348
+ for (var i = 0; i < length; i++) {
1349
+ this.calculateWrap(liEle[i]);
1350
+ }
1351
+ };
1352
+ TreeView.prototype.calculateWrap = function (liEle) {
1353
+ var element = select('.' + FULLROW, liEle);
1354
+ if (element && element.nextElementSibling) {
1355
+ element.style.height = this.allowTextWrap ? element.nextElementSibling.offsetHeight + 'px' : '';
1356
+ }
1357
+ };
1322
1358
  TreeView.prototype.doExpandAction = function () {
1323
1359
  var eUids = this.expandedNodes;
1324
1360
  if (this.isInitalExpand && eUids.length > 0) {
@@ -1555,6 +1591,10 @@ var TreeView = /** @class */ (function (_super) {
1555
1591
  currLi.style.height = '';
1556
1592
  removeClass([icon], PROCESS);
1557
1593
  this.addExpand(currLi);
1594
+ if (this.allowTextWrap && this.isLoaded && this.isFirstRender) {
1595
+ this.updateWrap(currLi);
1596
+ this.isFirstRender = false;
1597
+ }
1558
1598
  if (this.isLoaded && this.expandArgs && !this.isRefreshed) {
1559
1599
  this.expandArgs = this.getExpandEvent(currLi, null);
1560
1600
  this.trigger('nodeExpanded', this.expandArgs);
@@ -2064,6 +2104,7 @@ var TreeView = /** @class */ (function (_super) {
2064
2104
  this.expandNode(currLi, icon);
2065
2105
  }
2066
2106
  else {
2107
+ this.isFirstRender = true;
2067
2108
  this.renderChildNodes(currLi, expandChild, callback);
2068
2109
  var liEles = selectAll('.' + LISTITEM, currLi);
2069
2110
  for (var i = 0; i < liEles.length; i++) {
@@ -2236,8 +2277,10 @@ var TreeView = /** @class */ (function (_super) {
2236
2277
  TreeView.prototype.nodeCheckingAction = function (checkWrap, isCheck, li, eventArgs, e) {
2237
2278
  if (this.checkedElement.indexOf(li.getAttribute('data-uid')) === -1) {
2238
2279
  this.checkedElement.push(li.getAttribute('data-uid'));
2239
- var child = this.getChildNodes(this.treeData, li.getAttribute('data-uid'));
2240
- (child !== null) ? this.allCheckNode(child, this.checkedElement, null, null, false) : child = null;
2280
+ if (this.autoCheck) {
2281
+ var child = this.getChildNodes(this.treeData, li.getAttribute('data-uid'));
2282
+ (child !== null) ? this.allCheckNode(child, this.checkedElement, null, null, false) : child = null;
2283
+ }
2241
2284
  }
2242
2285
  this.changeState(checkWrap, isCheck ? 'uncheck' : 'check', e, true);
2243
2286
  if (this.autoCheck) {
@@ -2403,11 +2446,17 @@ var TreeView = /** @class */ (function (_super) {
2403
2446
  if (newCheck.indexOf(childId.toString()) === -1 && isNOU(checked)) {
2404
2447
  newCheck.push(childId.toString());
2405
2448
  }
2449
+ var hierChildId = getValue(this.fields.child.toString(), child[length_1]);
2406
2450
  //Gets if any next level children are available for child nodes
2407
- if (getValue(this.fields.hasChildren, child[length_1]) === true ||
2408
- getValue(this.fields.child.toString(), child[length_1])) {
2451
+ if (getValue(this.fields.hasChildren, child[length_1]) === true || hierChildId) {
2409
2452
  var id = getValue(this.fields.id, child[length_1]);
2410
- var childId_1 = this.getChildNodes(this.treeData, id.toString());
2453
+ var childId_1 = void 0;
2454
+ if (this.dataType === 1) {
2455
+ childId_1 = this.getChildNodes(this.treeData, id.toString());
2456
+ }
2457
+ else {
2458
+ childId_1 = hierChildId;
2459
+ }
2411
2460
  if (childId_1) {
2412
2461
  (isNOU(validateCheck)) ? this.allCheckNode(childId_1, newCheck, checked, childCheck) :
2413
2462
  this.allCheckNode(childId_1, newCheck, checked, childCheck, validateCheck);
@@ -2752,6 +2801,9 @@ var TreeView = /** @class */ (function (_super) {
2752
2801
  removeClass([liEle], EDITING);
2753
2802
  txtEle.focus();
2754
2803
  }
2804
+ if (this.allowTextWrap) {
2805
+ this.calculateWrap(liEle);
2806
+ }
2755
2807
  };
2756
2808
  TreeView.prototype.getElement = function (ele) {
2757
2809
  if (isNOU(ele)) {
@@ -4348,6 +4400,10 @@ var TreeView = /** @class */ (function (_super) {
4348
4400
  this.setMultiSelect(this.allowMultiSelection);
4349
4401
  this.addMultiSelect(this.allowMultiSelection);
4350
4402
  break;
4403
+ case 'allowTextWrap':
4404
+ this.setTextWrap();
4405
+ this.updateWrap();
4406
+ break;
4351
4407
  case 'checkedNodes':
4352
4408
  if (this.showCheckBox) {
4353
4409
  this.checkedNodes = oldProp.checkedNodes;
@@ -4399,6 +4455,10 @@ var TreeView = /** @class */ (function (_super) {
4399
4455
  case 'fullRowSelect':
4400
4456
  this.setFullRow(this.fullRowSelect);
4401
4457
  this.addFullRow(this.fullRowSelect);
4458
+ if (this.allowTextWrap) {
4459
+ this.setTextWrap();
4460
+ this.updateWrap();
4461
+ }
4402
4462
  break;
4403
4463
  case 'loadOnDemand':
4404
4464
  if (this.loadOnDemand === false && !this.onLoaded) {
@@ -4838,6 +4898,9 @@ var TreeView = /** @class */ (function (_super) {
4838
4898
  __decorate([
4839
4899
  Property(false)
4840
4900
  ], TreeView.prototype, "allowMultiSelection", void 0);
4901
+ __decorate([
4902
+ Property(false)
4903
+ ], TreeView.prototype, "allowTextWrap", void 0);
4841
4904
  __decorate([
4842
4905
  Complex({}, NodeAnimationSettings)
4843
4906
  ], TreeView.prototype, "animation", void 0);
@@ -6,6 +6,7 @@ $acrdn-content-line-height: 1.5 !default;
6
6
  $acrdn-tab-highlight-color: rgba(0, 0, 0, 0) !default;
7
7
  $acrdn-border-size: $border-size !default;
8
8
  $acrdn-active-bg: $grey-88 !default;
9
+ $acrdn-active-bg-color: $acrdn-active-bg !default;
9
10
  $acrdn-item-select-bg: $grey-base !default;
10
11
  $acrdn-header-hover-bg: transparent !default;
11
12
  $acrdn-header-active-bg: transparent !default;
@@ -46,6 +47,8 @@ $acrdn-nrml-icn-minwidth: 24px !default;
46
47
  $acrdn-bgr-icn-minwidth: 24px !default;
47
48
  $acrdn-header-font-size: 16px !default;
48
49
  $acrdn-nest-header-font-size: 14px !default;
50
+ $acrdn-nest-header-content-font-size: $acrdn-nest-header-font-size !default;
51
+ $acrdn-nest-header-content-font-weight: normal !default;
49
52
  $acrdn-content-font-size: 14px !default;
50
53
  $acrdn-header-font-bgr-size: 16px !default;
51
54
  $acrdn-content-font-bgr-size: 14px !default;
@@ -59,6 +62,7 @@ $acrdn-font-family: 'Helvetica Neue' , 'Helvetica' , 'Arial' , 'sans-serif' !def
59
62
  $acrdn-selected-header-color: $grey-88 !default;
60
63
  $acrdn-default-border: $grey-99 !default;
61
64
  $acrdn-bg-color: $grey-base !default;
65
+ $acrdn-default-bg-color: $acrdn-bg-color !default;
62
66
  $acrdn-content-color: $grey-dark-font !default;
63
67
  $acrdn-header-focus-bg: transparent !default;
64
68
  $acrdn-header-font: lighten($brand-primary, 15%) !default;
@@ -6,8 +6,10 @@ $acrdn-icon-font-size: $font-size !default;
6
6
  $acrdn-content-line-height: 1.5 !default;
7
7
  $acrdn-tab-highlight-color: rgba(0, 0, 0, 0) !default;
8
8
  $acrdn-bg-color: $default-bg-color !default;
9
+ $acrdn-default-bg-color: $acrdn-bg-color !default;
9
10
  $acrdn-border-size: $border-size !default;
10
11
  $acrdn-active-bg: $default-bg-color !default;
12
+ $acrdn-active-bg-color: $acrdn-active-bg !default;
11
13
  $acrdn-header-font: $header-font-color !default;
12
14
  $acrdn-content-color: $content-font-color !default;
13
15
  $acrdn-icon-color: $header-icon-color !default;
@@ -58,6 +60,8 @@ $acrdn-nrml-icn-minwidth: 24px !default;
58
60
  $acrdn-bgr-icn-minwidth: 24px !default;
59
61
  $acrdn-header-font-size: 16px !default;
60
62
  $acrdn-nest-header-font-size: 14px !default;
63
+ $acrdn-nest-header-content-font-size: $acrdn-nest-header-font-size !default;
64
+ $acrdn-nest-header-content-font-weight: normal !default;
61
65
  $acrdn-content-font-size: 14px !default;
62
66
  $acrdn-header-font-bgr-size: 16px !default;
63
67
  $acrdn-content-font-bgr-size: 14px !default;
@@ -16,6 +16,7 @@ $acrdn-content-line-height: 1.5 !default;
16
16
  $acrdn-tab-highlight-color: rgba(0, 0, 0, 0) !default;
17
17
  $acrdn-border-size: $acrdn-border-size !default;
18
18
  $acrdn-active-bg: $acrdn-default-bg-color !default;
19
+ $acrdn-active-bg-color: $acrdn-active-bg !default;
19
20
  $acrdn-item-select-bg: $gray-100 !default;
20
21
  $acrdn-header-hover-bg: $gray-100 !default;
21
22
  $acrdn-header-active-bg: $gray-100 !default;
@@ -57,6 +58,8 @@ $acrdn-bgr-icn-minwidth: 24px !default;
57
58
  $acrdn-header-font-size: 14px !default;
58
59
  $acrdn-nest-header-font-size: 16px !default;
59
60
  $acrdn-content-font-size: 14px !default;
61
+ $acrdn-nest-header-content-font-size: $acrdn-content-font-size !default;
62
+ $acrdn-nest-header-content-font-weight: normal !default;
60
63
  $acrdn-header-font-bgr-size: 16px !default;
61
64
  $acrdn-content-font-bgr-size: 14px !default;
62
65
  $acrdn-nrml-header-icon-padding: 8px !default;
@@ -69,6 +72,7 @@ $acrdn-font-family: 'Helvetica Neue' , 'Helvetica' , 'Arial' , 'sans-serif' !def
69
72
  $acrdn-default-border: rgba(0, 0, 0, .13) !default;
70
73
  $acrdn-selected-header-color: $gray-100 !default;
71
74
  $acrdn-bg-color: $gray-100 !default;
75
+ $acrdn-default-bg-color: $acrdn-bg-color !default;
72
76
  $acrdn-content-color: $gray-900 !default;
73
77
  $acrdn-content-icon-color: $gray-700 !default;
74
78
  $acrdn-header-focus-bg: $gray-100 !default;
@@ -1,25 +1,31 @@
1
- //default
2
- /*! component's theme wise override bootstrap5-definitions and variables */
1
+ /*! Accordion's bootstrap5 theme wise override definitions and variables */
2
+ // sass-lint:disable-all
3
3
  $acrdn-skin: 'bootstrap5' !default;
4
- $acrdn-slct-header-font-weight: $font-weight-normal;
5
4
 
6
- $acrdn-border-radius: 4px !default;
7
- $acrdn-nrml-header-minheight: 38px !default;
8
- $acrdn-bgr-header-minheight: 48px !default;
9
- $acrdn-nrml-header-lineheight: 22px !default;
10
- $acrdn-bgr-header-lineheight: 24px !default;
11
- $acrdn-nrml-header-paddingpix: 16px !default;
12
- $acrdn-bgr-header-paddingpix: 16px !default;
5
+ // font definitions
13
6
  $acrdn-icon-font-size: $text-lg !default;
14
- $acrdn-content-line-height: 1.5 !default;
15
- $acrdn-tab-highlight-color: rgba(0, 0, 0, 0) !default;
7
+ $acrdn-slct-header-font-weight: $font-weight-normal;
8
+ $acrdn-header-font: $content-text-color !default;
9
+ $acrdn-nested-header-font: $content-text-color !default;
10
+ $acrdn-header-font-weight: $font-weight-normal !default;
11
+ $acrdn-header-font-size: $text-sm !default;
12
+ $acrdn-nest-header-font-size: $text-sm !default;
13
+ $acrdn-nest-header-content-font-size: $acrdn-nest-header-font-size !default;
14
+ $acrdn-nest-header-content-font-weight: normal !default;
15
+ $acrdn-content-font-size: $text-sm !default;
16
+ $acrdn-header-font-bgr-size: $text-base !default;
17
+ $acrdn-content-font-bgr-size: $text-base !default;
18
+ $acrdn-bgr-arrow-icon-font-size: 22px;
19
+ $acrdn-bgr-icon-font-size: 20px !default;
20
+ $acrdn-icon-font-size: 18px !default;
21
+ $acrdn-selected-header-font-color: $primary !default;
16
22
 
17
23
  // Header, Nested header and RTL mode Padding
18
24
  $acrdn-nest-nrml-header-padding: 8px 0 8px 26px !default;
19
25
  $acrdn-nest-bgr-header-padding: 12px 0 12px 28px !default;
20
26
  $acrdn-nest-second-nrml-header-padding: 8px 0 8px 38px !default;
21
27
  $acrdn-nest-second-bgr-header-padding: 12px 0 12px 40px !default;
22
- $acrdn-nrml-header-padding: 7px 12px !default;
28
+ $acrdn-nrml-header-padding: 7px 12px 3px !default;
23
29
  $acrdn-bgr-header-padding: 11px 17px !default;
24
30
  $acrdn-rtl-nrml-header-padding: 7px 12px !default;
25
31
  $acrdn-rtl-bgr-header-padding: 11px 17px !default;
@@ -40,42 +46,40 @@ $acrdn-rtl-nest-bgr-content-padding: 20px !default;
40
46
  $acrdn-rtl-nest-second-nrml-content-padding: 20px !default;
41
47
  $acrdn-rtl-nest-second-bgr-content-padding: 24px !default;
42
48
 
49
+ // dimension definitions
50
+ $acrdn-border-radius: 4px !default;
51
+ $acrdn-nrml-header-minheight: 38px !default;
52
+ $acrdn-bgr-header-minheight: 48px !default;
53
+ $acrdn-nrml-header-lineheight: 22px !default;
54
+ $acrdn-bgr-header-lineheight: 24px !default;
55
+ $acrdn-nrml-header-paddingpix: 16px !default;
56
+ $acrdn-bgr-header-paddingpix: 16px !default;
57
+ $acrdn-content-line-height: 1.5 !default;
43
58
  $acrdn-nrml-header-icon-padding: 8px !default;
44
59
  $acrdn-bgr-header-icon-padding: 12px !default;
45
60
  $acrdn-nrml-icn-minwidth: 22px !default;
46
61
  $acrdn-bgr-icn-minwidth: 24px !default;
62
+ $acrdn-selected-border-size: 1px !default;
63
+ $acrdn-item-padding-size: 0 !default;
64
+ $acrdn-selected-border-type: none !default;
65
+ $acrdn-border-type: solid !default;
66
+ $acrdn-border-size: 1px !default;
67
+
68
+ // color definitions
69
+ $acrdn-tab-highlight-color: rgba(0, 0, 0, 0) !default;
47
70
  $acrdn-active-bg: $content-bg-color !default;
48
71
  $acrdn-bg-color: $content-bg-color !default;
49
- $acrdn-selected-header-font-color: $primary !default;
72
+ $acrdn-default-bg-color: $acrdn-bg-color !default;
73
+ $acrdn-active-bg-color: $acrdn-active-bg !default;
50
74
  $acrdn-selected-header-color: $content-bg-color !default;
51
75
  $acrdn-icon-color: $icon-color !default;
52
76
  $acrdn-selected-icon-color: $primary !default;
53
77
  $acrdn-content-color: $content-text-color !default;
54
- $acrdn-header-font: $content-text-color !default;
55
- $acrdn-nested-header-font: $content-text-color !default;
56
- $acrdn-header-font-weight: $font-weight-normal !default;
57
- $acrdn-header-font-size: $text-sm !default;
58
- $acrdn-nest-header-font-size: $text-sm !default;
59
- $acrdn-content-font-size: $text-sm !default;
60
- $acrdn-header-font-bgr-size: $text-base !default;
61
- $acrdn-content-font-bgr-size: $text-base !default;
62
- $acrdn-selected-border-size: 1px !default;
63
- $acrdn-item-padding-size: 0 !default;
64
- $acrdn-selected-border-type: none !default;
65
78
  $acrdn-selected-border-color: $border-light !default;
66
- $acrdn-default-border: $acrdn-selected-border-color !default;
67
79
  $acrdn-header-focus-bg: $primary-lighter !default;
68
80
  $acrdn-header-hover-bg: $primary-lighter !default;
69
81
  $acrdn-header-active-bg: $primary-lighter !default;
70
82
  $acrdn-item-header-focus-border-color: $primary !default;
71
-
72
- $acrdn-border-type: solid !default;
73
- $acrdn-border-size: 1px !default;
74
- $acrdn-bgr-arrow-icon-font-size: 22px;
75
- $acrdn-bgr-icon-font-size: 20px !default;
76
- $acrdn-icon-font-size: 18px !default;
77
83
  $acrdn-icon-disable-color: $icon-color-disabled;
78
84
  $acrdn-text-disable-color: $content-text-color-disabled;
79
-
80
-
81
- //enddefault
85
+ $acrdn-default-border: $acrdn-selected-border-color !default;
@@ -5,16 +5,20 @@ $acrdn-icon-font-size: $font-size !default;
5
5
  $acrdn-header-font-bgr-size: 16px !default;
6
6
  $acrdn-content-font-bgr-size: 14px !default;
7
7
  $acrdn-nest-header-font-size: 14px !default;
8
+ $acrdn-nest-header-content-font-size: $acrdn-nest-header-font-size !default;
9
+ $acrdn-nest-header-content-font-weight: normal !default;
8
10
  $acrdn-bgr-icn-minwidth: 30px !default;
9
11
  $acrdn-slct-header-font-weight: normal !default;
10
12
  $acrdn-nrml-icn-minwidth: 24px !default;
11
13
  $acrdn-bg-color: $default-bg-color !default;
14
+ $acrdn-default-bg-color: $acrdn-bg-color !default;
12
15
  $acrdn-item-border-color: $neutral-white !default;
13
16
  $acrdn-item-header-border-color: $neutral-white !default;
14
17
  $acrdn-item-exp-hdr-focus-border-color: $neutral-secondary !default;
15
18
  $acrdn-content-line-height: 1.5 !default;
16
19
  $acrdn-tab-highlight-color: rgba(0, 0, 0, 0) !default;
17
20
  $acrdn-active-bg: $default-bg-color !default;
21
+ $acrdn-active-bg-color: $acrdn-active-bg !default;
18
22
  $acrdn-nested-header-font: $header-font-color !default;
19
23
  $acrdn-nrml-header-minheight: 40px !default;
20
24
  $acrdn-bgr-header-minheight: 50px !default;
@@ -4,6 +4,8 @@ $acrdn-skin: 'fabric' !default;
4
4
  $acrdn-header-font-bgr-size: 16px;
5
5
  $acrdn-content-font-bgr-size: 14px;
6
6
  $acrdn-nest-header-font-size: 14px;
7
+ $acrdn-nest-header-content-font-size: $acrdn-nest-header-font-size !default;
8
+ $acrdn-nest-header-content-font-weight: normal !default;
7
9
  $acrdn-bgr-icn-minwidth: 30px;
8
10
  $acrdn-slct-header-font-weight: normal;
9
11
  $acrdn-nrml-icn-minwidth: 24px;
@@ -15,7 +17,9 @@ $acrdn-icon-font-size: $font-size !default;
15
17
  $acrdn-content-line-height: 1.5 !default;
16
18
  $acrdn-tab-highlight-color: rgba(0, 0, 0, 0) !default;
17
19
  $acrdn-bg-color: $default-bg-color !default;
20
+ $acrdn-default-bg-color: $acrdn-bg-color !default;
18
21
  $acrdn-active-bg: $default-bg-color !default;
22
+ $acrdn-active-bg-color: $acrdn-active-bg !default;
19
23
  $acrdn-nested-header-font: $header-font-color !default;
20
24
 
21
25
  $acrdn-nrml-header-paddingpix: 12px !default;