@syncfusion/ej2-navigations 20.3.60 → 20.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 (226) hide show
  1. package/.eslintrc.json +16 -1
  2. package/CHANGELOG.md +26 -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 +263 -212
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +260 -209
  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 +12 -12
  14. package/src/accordion/accordion.js +20 -19
  15. package/src/appbar/appbar-model.d.ts +15 -15
  16. package/src/appbar/appbar.d.ts +15 -15
  17. package/src/appbar/appbar.js +3 -3
  18. package/src/breadcrumb/breadcrumb-model.d.ts +1 -1
  19. package/src/breadcrumb/breadcrumb.js +10 -5
  20. package/src/carousel/carousel.js +10 -10
  21. package/src/common/menu-base.js +19 -12
  22. package/src/menu/menu.js +2 -2
  23. package/src/sidebar/sidebar.d.ts +1 -0
  24. package/src/sidebar/sidebar.js +6 -2
  25. package/src/tab/tab-model.d.ts +9 -0
  26. package/src/tab/tab.d.ts +9 -0
  27. package/src/tab/tab.js +28 -18
  28. package/src/toolbar/toolbar-model.d.ts +9 -0
  29. package/src/toolbar/toolbar.d.ts +11 -0
  30. package/src/toolbar/toolbar.js +132 -123
  31. package/src/treeview/treeview-model.d.ts +133 -45
  32. package/src/treeview/treeview.d.ts +135 -48
  33. package/src/treeview/treeview.js +30 -14
  34. package/styles/accordion/_bootstrap-dark-definition.scss +100 -0
  35. package/styles/accordion/_bootstrap-definition.scss +100 -0
  36. package/styles/accordion/_bootstrap4-definition.scss +95 -1
  37. package/styles/accordion/_bootstrap5-definition.scss +99 -3
  38. package/styles/accordion/_fabric-dark-definition.scss +100 -0
  39. package/styles/accordion/_fabric-definition.scss +100 -0
  40. package/styles/accordion/_fluent-definition.scss +98 -2
  41. package/styles/accordion/_fusionnew-definition.scss +99 -3
  42. package/styles/accordion/_highcontrast-definition.scss +98 -3
  43. package/styles/accordion/_highcontrast-light-definition.scss +98 -3
  44. package/styles/accordion/_layout.scss +25 -91
  45. package/styles/accordion/_material-dark-definition.scss +100 -0
  46. package/styles/accordion/_material-definition.scss +100 -0
  47. package/styles/accordion/_material3-definition.scss +99 -3
  48. package/styles/accordion/_tailwind-definition.scss +99 -2
  49. package/styles/accordion/_theme.scss +184 -345
  50. package/styles/accordion/bootstrap-dark.css +202 -16
  51. package/styles/accordion/bootstrap.css +202 -16
  52. package/styles/accordion/bootstrap4.css +171 -17
  53. package/styles/accordion/bootstrap5-dark.css +202 -13
  54. package/styles/accordion/bootstrap5.css +202 -13
  55. package/styles/accordion/fabric-dark.css +209 -11
  56. package/styles/accordion/fabric.css +209 -11
  57. package/styles/accordion/fluent-dark.css +217 -5
  58. package/styles/accordion/fluent.css +217 -5
  59. package/styles/accordion/highcontrast-light.css +186 -52
  60. package/styles/accordion/highcontrast.css +186 -52
  61. package/styles/accordion/material-dark.css +210 -16
  62. package/styles/accordion/material.css +209 -15
  63. package/styles/accordion/tailwind-dark.css +199 -8
  64. package/styles/accordion/tailwind.css +199 -8
  65. package/styles/bootstrap-dark.css +999 -145
  66. package/styles/bootstrap.css +986 -132
  67. package/styles/bootstrap4.css +888 -167
  68. package/styles/bootstrap5-dark.css +949 -179
  69. package/styles/bootstrap5.css +949 -179
  70. package/styles/context-menu/_layout.scss +0 -3
  71. package/styles/context-menu/bootstrap5-dark.css +0 -1
  72. package/styles/context-menu/bootstrap5.css +0 -1
  73. package/styles/context-menu/fluent-dark.css +0 -1
  74. package/styles/context-menu/fluent.css +0 -1
  75. package/styles/context-menu/tailwind-dark.css +0 -1
  76. package/styles/context-menu/tailwind.css +0 -1
  77. package/styles/fabric-dark.css +1068 -232
  78. package/styles/fabric.css +1067 -231
  79. package/styles/fluent-dark.css +1014 -123
  80. package/styles/fluent.css +1012 -121
  81. package/styles/h-scroll/_bootstrap-dark-definition.scss +8 -0
  82. package/styles/h-scroll/_bootstrap-definition.scss +8 -0
  83. package/styles/h-scroll/_bootstrap4-definition.scss +8 -0
  84. package/styles/h-scroll/_bootstrap5-definition.scss +8 -0
  85. package/styles/h-scroll/_fabric-dark-definition.scss +8 -0
  86. package/styles/h-scroll/_fabric-definition.scss +8 -0
  87. package/styles/h-scroll/_fluent-definition.scss +8 -0
  88. package/styles/h-scroll/_fusionnew-definition.scss +8 -0
  89. package/styles/h-scroll/_highcontrast-definition.scss +6 -1
  90. package/styles/h-scroll/_highcontrast-light-definition.scss +6 -1
  91. package/styles/h-scroll/_layout.scss +1 -4
  92. package/styles/h-scroll/_material-dark-definition.scss +8 -0
  93. package/styles/h-scroll/_material-definition.scss +8 -0
  94. package/styles/h-scroll/_material3-definition.scss +8 -0
  95. package/styles/h-scroll/_tailwind-definition.scss +8 -0
  96. package/styles/h-scroll/_theme.scss +12 -40
  97. package/styles/h-scroll/bootstrap-dark.css +13 -0
  98. package/styles/h-scroll/bootstrap.css +13 -0
  99. package/styles/h-scroll/bootstrap4.css +7 -0
  100. package/styles/h-scroll/bootstrap5-dark.css +12 -0
  101. package/styles/h-scroll/bootstrap5.css +12 -0
  102. package/styles/h-scroll/fabric-dark.css +15 -2
  103. package/styles/h-scroll/fabric.css +15 -2
  104. package/styles/h-scroll/fluent-dark.css +13 -0
  105. package/styles/h-scroll/fluent.css +13 -0
  106. package/styles/h-scroll/highcontrast-light.css +8 -7
  107. package/styles/h-scroll/highcontrast.css +10 -9
  108. package/styles/h-scroll/icons/_fabric-dark.scss +2 -2
  109. package/styles/h-scroll/icons/_fabric.scss +2 -2
  110. package/styles/h-scroll/icons/_highcontrast.scss +2 -2
  111. package/styles/h-scroll/material-dark.css +13 -2
  112. package/styles/h-scroll/material.css +13 -2
  113. package/styles/h-scroll/tailwind-dark.css +12 -0
  114. package/styles/h-scroll/tailwind.css +12 -0
  115. package/styles/highcontrast-light.css +918 -369
  116. package/styles/highcontrast.css +925 -370
  117. package/styles/material-dark.css +1184 -114
  118. package/styles/material.css +1162 -92
  119. package/styles/menu/_theme.scss +1 -1
  120. package/styles/menu/fluent-dark.css +1 -1
  121. package/styles/menu/fluent.css +1 -1
  122. package/styles/tab/_bootstrap-dark-definition.scss +271 -15
  123. package/styles/tab/_bootstrap-definition.scss +266 -9
  124. package/styles/tab/_bootstrap4-definition.scss +266 -9
  125. package/styles/tab/_bootstrap5-definition.scss +270 -13
  126. package/styles/tab/_fabric-dark-definition.scss +270 -13
  127. package/styles/tab/_fabric-definition.scss +270 -13
  128. package/styles/tab/_fluent-definition.scss +269 -12
  129. package/styles/tab/_fusionnew-definition.scss +268 -11
  130. package/styles/tab/_highcontrast-definition.scss +271 -14
  131. package/styles/tab/_highcontrast-light-definition.scss +271 -14
  132. package/styles/tab/_layout.scss +295 -988
  133. package/styles/tab/_material-dark-definition.scss +266 -9
  134. package/styles/tab/_material-definition.scss +266 -9
  135. package/styles/tab/_material3-definition.scss +268 -11
  136. package/styles/tab/_tailwind-definition.scss +267 -10
  137. package/styles/tab/_theme.scss +305 -843
  138. package/styles/tab/bootstrap-dark.css +587 -109
  139. package/styles/tab/bootstrap.css +574 -96
  140. package/styles/tab/bootstrap4.css +546 -114
  141. package/styles/tab/bootstrap5-dark.css +523 -134
  142. package/styles/tab/bootstrap5.css +523 -134
  143. package/styles/tab/fabric-dark.css +614 -199
  144. package/styles/tab/fabric.css +612 -197
  145. package/styles/tab/fluent-dark.css +546 -102
  146. package/styles/tab/fluent.css +546 -102
  147. package/styles/tab/highcontrast-light.css +520 -250
  148. package/styles/tab/highcontrast.css +520 -244
  149. package/styles/tab/icons/_bootstrap-dark.scss +0 -33
  150. package/styles/tab/icons/_bootstrap.scss +0 -33
  151. package/styles/tab/icons/_bootstrap4.scss +0 -26
  152. package/styles/tab/icons/_bootstrap5.scss +0 -37
  153. package/styles/tab/icons/_fabric-dark.scss +0 -33
  154. package/styles/tab/icons/_fabric.scss +0 -33
  155. package/styles/tab/icons/_fluent.scss +0 -33
  156. package/styles/tab/icons/_fusionnew.scss +0 -37
  157. package/styles/tab/icons/_highcontrast-light.scss +0 -37
  158. package/styles/tab/icons/_highcontrast.scss +0 -26
  159. package/styles/tab/icons/_material-dark.scss +0 -37
  160. package/styles/tab/icons/_material.scss +0 -37
  161. package/styles/tab/icons/_material3.scss +0 -37
  162. package/styles/tab/icons/_tailwind.scss +0 -37
  163. package/styles/tab/material-dark.css +705 -54
  164. package/styles/tab/material.css +705 -54
  165. package/styles/tab/tailwind-dark.css +706 -71
  166. package/styles/tab/tailwind.css +706 -71
  167. package/styles/tailwind-dark.css +1145 -99
  168. package/styles/tailwind.css +1144 -98
  169. package/styles/toolbar/_bootstrap-dark-definition.scss +93 -0
  170. package/styles/toolbar/_bootstrap-definition.scss +93 -0
  171. package/styles/toolbar/_bootstrap4-definition.scss +94 -1
  172. package/styles/toolbar/_bootstrap5-definition.scss +94 -8
  173. package/styles/toolbar/_fabric-dark-definition.scss +92 -3
  174. package/styles/toolbar/_fabric-definition.scss +92 -3
  175. package/styles/toolbar/_fluent-definition.scss +96 -8
  176. package/styles/toolbar/_fusionnew-definition.scss +94 -8
  177. package/styles/toolbar/_highcontrast-definition.scss +93 -4
  178. package/styles/toolbar/_highcontrast-light-definition.scss +93 -4
  179. package/styles/toolbar/_layout.scss +48 -177
  180. package/styles/toolbar/_material-dark-definition.scss +93 -0
  181. package/styles/toolbar/_material-definition.scss +93 -0
  182. package/styles/toolbar/_material3-definition.scss +94 -8
  183. package/styles/toolbar/_tailwind-definition.scss +94 -6
  184. package/styles/toolbar/_theme.scss +169 -278
  185. package/styles/toolbar/bootstrap-dark.css +196 -19
  186. package/styles/toolbar/bootstrap.css +196 -19
  187. package/styles/toolbar/bootstrap4.css +164 -36
  188. package/styles/toolbar/bootstrap5-dark.css +210 -29
  189. package/styles/toolbar/bootstrap5.css +210 -29
  190. package/styles/toolbar/fabric-dark.css +219 -9
  191. package/styles/toolbar/fabric.css +220 -10
  192. package/styles/toolbar/fluent-dark.css +233 -10
  193. package/styles/toolbar/fluent.css +233 -10
  194. package/styles/toolbar/highcontrast-light.css +199 -43
  195. package/styles/toolbar/highcontrast.css +200 -44
  196. package/styles/toolbar/material-dark.css +233 -19
  197. package/styles/toolbar/material.css +233 -19
  198. package/styles/toolbar/tailwind-dark.css +224 -15
  199. package/styles/toolbar/tailwind.css +223 -14
  200. package/styles/treeview/_material-definition.scss +1 -1
  201. package/styles/treeview/_theme.scss +11 -1
  202. package/styles/treeview/fluent-dark.css +2 -2
  203. package/styles/treeview/material.css +2 -2
  204. package/styles/treeview/tailwind.css +2 -2
  205. package/styles/v-scroll/_highcontrast-definition.scss +0 -1
  206. package/styles/v-scroll/_highcontrast-light-definition.scss +0 -1
  207. package/styles/v-scroll/_theme.scss +0 -26
  208. package/styles/v-scroll/bootstrap5-dark.css +2 -2
  209. package/styles/v-scroll/bootstrap5.css +2 -2
  210. package/styles/v-scroll/fabric-dark.css +2 -2
  211. package/styles/v-scroll/fabric.css +2 -2
  212. package/styles/v-scroll/fluent-dark.css +2 -2
  213. package/styles/v-scroll/fluent.css +2 -2
  214. package/styles/v-scroll/highcontrast-light.css +2 -14
  215. package/styles/v-scroll/highcontrast.css +2 -14
  216. package/styles/v-scroll/icons/_bootstrap5.scss +2 -2
  217. package/styles/v-scroll/icons/_fabric-dark.scss +2 -2
  218. package/styles/v-scroll/icons/_fabric.scss +2 -2
  219. package/styles/v-scroll/icons/_fluent.scss +2 -2
  220. package/styles/v-scroll/icons/_fusionnew.scss +2 -2
  221. package/styles/v-scroll/icons/_highcontrast-light.scss +2 -2
  222. package/styles/v-scroll/icons/_highcontrast.scss +2 -2
  223. package/styles/v-scroll/icons/_material3.scss +2 -2
  224. package/styles/v-scroll/icons/_tailwind.scss +2 -2
  225. package/styles/v-scroll/tailwind-dark.css +2 -2
  226. package/styles/v-scroll/tailwind.css +2 -2
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.3.60
3
+ * version : 20.4.40
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
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@20.3.58",
3
+ "_id": "@syncfusion/ej2-navigations@20.4.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-6zlMWTfYP/IRcf1CK3sICjk6Zg+39jGz4+vSd5hve/o67YQJgmN6VjyuTJfJZkaiygoz2rbykc8ezItSGi8F7g==",
5
+ "_integrity": "sha512-hdhNtScx4b09fDOS/62jwi0AT09DS34cSCYSj37SYSv4BkwgRUS3SlAluqZn7FvEuCnW79+yomInD3ThxcKUhw==",
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.3.58.tgz",
42
- "_shasum": "7a99612f52201c19882ab87cd6c9764d2f3645e2",
41
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.4.38.tgz",
42
+ "_shasum": "5b613ec9c84750d24aafe522ba9f815e5eceeadc",
43
43
  "_spec": "@syncfusion/ej2-navigations@*",
44
44
  "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
45
45
  "author": {
@@ -50,18 +50,18 @@
50
50
  },
51
51
  "bundleDependencies": false,
52
52
  "dependencies": {
53
- "@syncfusion/ej2-base": "~20.3.56",
54
- "@syncfusion/ej2-buttons": "~20.3.58",
55
- "@syncfusion/ej2-data": "~20.3.60",
56
- "@syncfusion/ej2-inputs": "~20.3.57",
57
- "@syncfusion/ej2-lists": "~20.3.56",
58
- "@syncfusion/ej2-popups": "~20.3.60"
53
+ "@syncfusion/ej2-base": "~20.4.40",
54
+ "@syncfusion/ej2-buttons": "~20.4.40",
55
+ "@syncfusion/ej2-data": "~20.4.40",
56
+ "@syncfusion/ej2-inputs": "~20.4.40",
57
+ "@syncfusion/ej2-lists": "~20.4.40",
58
+ "@syncfusion/ej2-popups": "~20.4.40"
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",
62
62
  "devDependencies": {},
63
63
  "es2015": "./dist/es6/ej2-navigations.es5.js",
64
- "homepage": "https://github.com/syncfusion/ej2-javascript-ui-controls#readme",
64
+ "homepage": "https://www.syncfusion.com/javascript-ui-controls",
65
65
  "keywords": [
66
66
  "ej2",
67
67
  "syncfusion",
@@ -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.3.60",
163
+ "version": "20.4.40",
164
164
  "sideEffects": false
165
165
  }
@@ -348,7 +348,7 @@ var Accordion = /** @class */ (function (_super) {
348
348
  }
349
349
  else {
350
350
  for (var i = 0; i < len; i++) {
351
- this.expandItem(true, this.initExpand[i]);
351
+ this.expandItem(true, this.initExpand[parseInt(i.toString(), 10)]);
352
352
  }
353
353
  }
354
354
  if (this.isReact) {
@@ -710,14 +710,15 @@ var Accordion = /** @class */ (function (_super) {
710
710
  if (this.isReact) {
711
711
  this.renderReactTemplates();
712
712
  }
713
- append(this.getItemTemplate()(this.dataSource[index], this, 'itemTemplate', this.element.id + '_itemTemplate', false), ctn);
713
+ append(this.getItemTemplate()(this.dataSource[parseInt(index.toString(), 10)], this, 'itemTemplate', this.element.id + '_itemTemplate', false), ctn);
714
714
  itemcnt.appendChild(ctn);
715
715
  }
716
716
  else {
717
- if (this.enableHtmlSanitizer && typeof (this.items[index].content)) {
718
- this.items[index].content = SanitizeHtmlHelper.sanitize(this.items[index].content);
717
+ if (this.enableHtmlSanitizer && typeof (this.items[parseInt(index.toString(), 10)].content)) {
718
+ this.items[parseInt(index.toString(), 10)].content =
719
+ SanitizeHtmlHelper.sanitize(this.items[parseInt(index.toString(), 10)].content);
719
720
  }
720
- itemcnt.appendChild(this.fetchElement(ctn, this.items[index].content, index, false));
721
+ itemcnt.appendChild(this.fetchElement(ctn, this.items[parseInt(index.toString(), 10)].content, index, false));
721
722
  }
722
723
  return itemcnt;
723
724
  };
@@ -964,7 +965,7 @@ var Accordion = /** @class */ (function (_super) {
964
965
  ele.appendChild(innerItemEle);
965
966
  }
966
967
  else {
967
- ele.insertBefore(innerItemEle, itemEle[itemIndex]);
968
+ ele.insertBefore(innerItemEle, itemEle[parseInt(itemIndex.toString(), 10)]);
968
969
  }
969
970
  EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'focus', _this.focusIn, _this);
970
971
  EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'blur', _this.focusOut, _this);
@@ -1000,7 +1001,7 @@ var Accordion = /** @class */ (function (_super) {
1000
1001
  this.clearTemplate(['headerTemplate', 'itemTemplate'], index);
1001
1002
  }
1002
1003
  var itemEle = this.getItemElements();
1003
- var ele = itemEle[index];
1004
+ var ele = itemEle[parseInt(index.toString(), 10)];
1004
1005
  var items = this.getItems();
1005
1006
  if (isNOU(ele)) {
1006
1007
  return;
@@ -1019,7 +1020,7 @@ var Accordion = /** @class */ (function (_super) {
1019
1020
  */
1020
1021
  Accordion.prototype.select = function (index) {
1021
1022
  var itemEle = this.getItemElements();
1022
- var ele = itemEle[index];
1023
+ var ele = itemEle[parseInt(index.toString(), 10)];
1023
1024
  if (isNOU(ele) || isNOU(select('.' + CLS_HEADER, ele))) {
1024
1025
  return;
1025
1026
  }
@@ -1035,7 +1036,7 @@ var Accordion = /** @class */ (function (_super) {
1035
1036
  */
1036
1037
  Accordion.prototype.hideItem = function (index, isHidden) {
1037
1038
  var itemEle = this.getItemElements();
1038
- var ele = itemEle[index];
1039
+ var ele = itemEle[parseInt(index.toString(), 10)];
1039
1040
  if (isNOU(ele)) {
1040
1041
  return;
1041
1042
  }
@@ -1059,7 +1060,7 @@ var Accordion = /** @class */ (function (_super) {
1059
1060
  */
1060
1061
  Accordion.prototype.enableItem = function (index, isEnable) {
1061
1062
  var itemEle = this.getItemElements();
1062
- var ele = itemEle[index];
1063
+ var ele = itemEle[parseInt(index.toString(), 10)];
1063
1064
  if (isNOU(ele)) {
1064
1065
  return;
1065
1066
  }
@@ -1111,7 +1112,7 @@ var Accordion = /** @class */ (function (_super) {
1111
1112
  }
1112
1113
  }
1113
1114
  else {
1114
- var ele = itemEle[index];
1115
+ var ele = itemEle[parseInt(index.toString(), 10)];
1115
1116
  if (isNOU(ele) || !ele.classList.contains(CLS_SLCT) || (ele.classList.contains(CLS_ACTIVE) && isExpand)) {
1116
1117
  return;
1117
1118
  }
@@ -1161,7 +1162,7 @@ var Accordion = /** @class */ (function (_super) {
1161
1162
  ctnElePos = this.element;
1162
1163
  }
1163
1164
  else {
1164
- ctnElePos = this.element.querySelectorAll('.' + CLS_ITEM)[index];
1165
+ ctnElePos = this.element.querySelectorAll('.' + CLS_ITEM)[parseInt(index.toString(), 10)];
1165
1166
  }
1166
1167
  this.templateEle.forEach(function (eleStr) {
1167
1168
  if (!isNOU(ctnElePos.querySelector(eleStr))) {
@@ -1172,7 +1173,7 @@ var Accordion = /** @class */ (function (_super) {
1172
1173
  Accordion.prototype.updateItem = function (item, index) {
1173
1174
  if (!isNOU(item)) {
1174
1175
  var items = this.getItems();
1175
- var itemObj = items[index];
1176
+ var itemObj = items[parseInt(index.toString(), 10)];
1176
1177
  items.splice(index, 1);
1177
1178
  this.restoreContent(index);
1178
1179
  detach(item);
@@ -1217,11 +1218,11 @@ var Accordion = /** @class */ (function (_super) {
1217
1218
  if (!(newProp.items instanceof Array && oldProp.items instanceof Array)) {
1218
1219
  var changedProp = Object.keys(newProp.items);
1219
1220
  for (var j = 0; j < changedProp.length; j++) {
1220
- var index = parseInt(Object.keys(newProp.items)[j], 10);
1221
- var property = Object.keys(newProp.items[index])[0];
1222
- var item = selectAll('.' + CLS_ITEM, this.element)[index];
1223
- var oldVal = Object(oldProp.items[index])[property];
1224
- var newVal = Object(newProp.items[index])[property];
1221
+ var index = parseInt(Object.keys(newProp.items)[parseInt(j.toString(), 10)], 10);
1222
+ var property = Object.keys(newProp.items[parseInt(index.toString(), 10)])[0];
1223
+ var item = selectAll('.' + CLS_ITEM, this.element)[parseInt(index.toString(), 10)];
1224
+ var oldVal = Object(oldProp.items[parseInt(index.toString(), 10)])["" + property];
1225
+ var newVal = Object(newProp.items[parseInt(index.toString(), 10)])["" + property];
1225
1226
  var temp = property;
1226
1227
  if (temp === 'header' || temp === 'iconCss' || temp === 'expanded' || ((temp === 'content') && (oldVal === ''))) {
1227
1228
  this.updateItem(item, index);
@@ -1235,7 +1236,7 @@ var Accordion = /** @class */ (function (_super) {
1235
1236
  }
1236
1237
  }
1237
1238
  if (property === 'visible' && !isNOU(item)) {
1238
- if (Object(newProp.items[index])[property] === false) {
1239
+ if (Object(newProp.items[parseInt(index.toString(), 10)])["" + property] === false) {
1239
1240
  item.classList.add(CLS_ITEMHIDE);
1240
1241
  }
1241
1242
  else {
@@ -8,21 +8,21 @@ import {ComponentModel} from '@syncfusion/ej2-base';
8
8
  export interface AppBarModel extends ComponentModel{
9
9
 
10
10
  /**
11
- * Specifies the mode of the AppBar that defines the AppBar height. The possible values for this property are as follows:
12
- * * Regular
13
- * * Prominent
14
- * * Dense
11
+ * Specifies the mode of the AppBar that defines the AppBar height. The possible values for this property are as follows:
12
+ * * Regular
13
+ * * Prominent
14
+ * * Dense
15
15
  *
16
- * @default 'Regular'
16
+ * @default 'Regular'
17
17
  */
18
18
  mode?: AppBarMode;
19
19
 
20
20
  /**
21
- * Specifies the position of the AppBar. The possible values for this property are as follows:
22
- * * Top
23
- * * Bottom
21
+ * Specifies the position of the AppBar. The possible values for this property are as follows:
22
+ * * Top
23
+ * * Bottom
24
24
  *
25
- * @default 'Top'
25
+ * @default 'Top'
26
26
  */
27
27
  position?: AppBarPosition;
28
28
 
@@ -49,13 +49,13 @@ export interface AppBarModel extends ComponentModel{
49
49
  htmlAttributes?: Record<string, string>;
50
50
 
51
51
  /**
52
- * Specifies the color mode that defines the color of the AppBar component. The possible values for this property are as follows:
53
- * * Light
54
- * * Dark
55
- * * Primary
56
- * * Inherit
52
+ * Specifies the color mode that defines the color of the AppBar component. The possible values for this property are as follows:
53
+ * * Light
54
+ * * Dark
55
+ * * Primary
56
+ * * Inherit
57
57
  *
58
- * @default 'Light'
58
+ * @default 'Light'
59
59
  */
60
60
  colorMode?: AppBarColor;
61
61
 
@@ -31,20 +31,20 @@ export declare type AppBarColor = 'Light' | 'Dark' | 'Primary' | 'Inherit';
31
31
  */
32
32
  export declare class AppBar extends Component<HTMLElement> implements INotifyPropertyChanged {
33
33
  /**
34
- * Specifies the mode of the AppBar that defines the AppBar height. The possible values for this property are as follows:
35
- * * Regular
36
- * * Prominent
37
- * * Dense
34
+ * Specifies the mode of the AppBar that defines the AppBar height. The possible values for this property are as follows:
35
+ * * Regular
36
+ * * Prominent
37
+ * * Dense
38
38
  *
39
- * @default 'Regular'
39
+ * @default 'Regular'
40
40
  */
41
41
  mode: AppBarMode;
42
42
  /**
43
- * Specifies the position of the AppBar. The possible values for this property are as follows:
44
- * * Top
45
- * * Bottom
43
+ * Specifies the position of the AppBar. The possible values for this property are as follows:
44
+ * * Top
45
+ * * Bottom
46
46
  *
47
- * @default 'Top'
47
+ * @default 'Top'
48
48
  */
49
49
  position: AppBarPosition;
50
50
  /**
@@ -67,13 +67,13 @@ export declare class AppBar extends Component<HTMLElement> implements INotifyPro
67
67
  */
68
68
  htmlAttributes: Record<string, string>;
69
69
  /**
70
- * Specifies the color mode that defines the color of the AppBar component. The possible values for this property are as follows:
71
- * * Light
72
- * * Dark
73
- * * Primary
74
- * * Inherit
70
+ * Specifies the color mode that defines the color of the AppBar component. The possible values for this property are as follows:
71
+ * * Light
72
+ * * Dark
73
+ * * Primary
74
+ * * Inherit
75
75
  *
76
- * @default 'Light'
76
+ * @default 'Light'
77
77
  */
78
78
  colorMode: AppBarColor;
79
79
  /**
@@ -127,7 +127,7 @@ var AppBar = /** @class */ (function (_super) {
127
127
  for (var _b = 0, keys_1 = keys; _b < keys_1.length; _b++) {
128
128
  var key = keys_1[_b];
129
129
  if (key === 'class') {
130
- removeClass([this.element], oldProp.htmlAttributes[key]);
130
+ removeClass([this.element], oldProp.htmlAttributes["" + key]);
131
131
  }
132
132
  else {
133
133
  this.element.removeAttribute(key);
@@ -157,10 +157,10 @@ var AppBar = /** @class */ (function (_super) {
157
157
  for (var _i = 0, keys_2 = keys; _i < keys_2.length; _i++) {
158
158
  var key = keys_2[_i];
159
159
  if (key === 'class') {
160
- addClass([element], attribute[key]);
160
+ addClass([element], attribute["" + key]);
161
161
  }
162
162
  else {
163
- element.setAttribute(key, attribute[key]);
163
+ element.setAttribute(key, attribute["" + key]);
164
164
  }
165
165
  }
166
166
  };
@@ -79,7 +79,7 @@ export interface BreadcrumbModel extends ComponentModel{
79
79
  * - Wrap: Wraps the items on multiple lines when the Breadcrumb’s width exceeds the container space.
80
80
  * - Scroll: Shows an HTML scroll bar when the Breadcrumb’s width exceeds the container space.
81
81
  * - None: Shows all the items on a single line.
82
- *
82
+ *
83
83
  * @default 'Menu'
84
84
  */
85
85
  overflowMode?: BreadcrumbOverflowMode;
@@ -231,11 +231,13 @@ var Breadcrumb = /** @class */ (function (_super) {
231
231
  }
232
232
  if (args.curData.isEmptyUrl) {
233
233
  args.item.children[0].removeAttribute('href');
234
- if ((!isLastItem || (isLastItem && _this.enableActiveItemNavigation)) && !(eventArgs.item.disabled || _this.disabled)) {
234
+ if ((!isLastItem || (isLastItem && _this.enableActiveItemNavigation)) && !(eventArgs.item.disabled
235
+ || _this.disabled)) {
235
236
  args.item.children[0].setAttribute(TABINDEX, '0');
236
237
  EventHandler.add(args.item.children[0], 'keydown', _this.keyDownHandler, _this);
237
238
  }
238
239
  }
240
+ args.item.removeAttribute('role');
239
241
  if (isLastItem) {
240
242
  args.item.setAttribute('data-active-item', '');
241
243
  }
@@ -245,7 +247,8 @@ var Breadcrumb = /** @class */ (function (_super) {
245
247
  }
246
248
  };
247
249
  for (var i = 0; i < len; (i % 2 && j_1++), i++) {
248
- isActiveItem = (this.activeItem && (this.activeItem === items[j_1].url || this.activeItem === items[j_1].text));
250
+ isActiveItem = (this.activeItem && (this.activeItem === items[j_1].url ||
251
+ this.activeItem === items[j_1].text));
249
252
  if (isCollasped && i > 1 && i < len - 2) {
250
253
  continue;
251
254
  }
@@ -271,7 +274,8 @@ var Breadcrumb = /** @class */ (function (_super) {
271
274
  else {
272
275
  isSingleLevel = true;
273
276
  }
274
- item = [extend({}, items[j_1].properties ? items[j_1].properties
277
+ item = [extend({}, items[j_1].properties ?
278
+ items[j_1].properties
275
279
  : items[j_1])];
276
280
  if (!item[0].url && !this.itemTemplate) {
277
281
  item = [extend({}, item[0], { isEmptyUrl: true, url: '#' })];
@@ -359,7 +363,8 @@ var Breadcrumb = /** @class */ (function (_super) {
359
363
  for (var i = 0; i < liElems.length - 2; i++) {
360
364
  if (liWidth > width) {
361
365
  maxItems = Math.ceil((i - 1) / 2) + ((this.overflowMode === 'Menu' && i <= 2) ? 0 : 1);
362
- if (((this.maxItems > maxItems && !(this.maxItems > -1 && maxItems == -1)) || this.maxItems == -1) && this._maxItems != maxItems) {
366
+ if (((this.maxItems > maxItems && !(this.maxItems > -1 && maxItems === -1)) ||
367
+ this.maxItems === -1) && this._maxItems !== maxItems) {
363
368
  this._maxItems = maxItems;
364
369
  this.initPvtProps();
365
370
  return this.reRenderItems();
@@ -402,7 +407,7 @@ var Breadcrumb = /** @class */ (function (_super) {
402
407
  };
403
408
  Breadcrumb.prototype.hasField = function (items, field) {
404
409
  for (var i = 0, len = items.length; i < len; i++) {
405
- if (items[i][field]) {
410
+ if (items[i]["" + field]) {
406
411
  return true;
407
412
  }
408
413
  }
@@ -557,15 +557,15 @@ var Carousel = /** @class */ (function (_super) {
557
557
  if (isNullOrUndefined(activeSlide) && this.showIndicators) {
558
558
  var activeIndicator = this.element.querySelector("." + CLS_INDICATOR_BAR + "." + CLS_ACTIVE);
559
559
  var activeIndex_1 = parseInt(activeIndicator.dataset.index, 10);
560
- addClass([allSlides[activeIndex_1]], CLS_ACTIVE);
560
+ addClass([allSlides[parseInt(activeIndex_1.toString(), 10)]], CLS_ACTIVE);
561
561
  return;
562
562
  }
563
563
  else if (isNullOrUndefined(activeSlide)) {
564
- addClass([allSlides[currentIndex]], CLS_ACTIVE);
564
+ addClass([allSlides[parseInt(currentIndex.toString(), 10)]], CLS_ACTIVE);
565
565
  return;
566
566
  }
567
567
  var activeIndex = parseInt(activeSlide.dataset.index, 10);
568
- var currentSlide = allSlides[currentIndex];
568
+ var currentSlide = allSlides[parseInt(currentIndex.toString(), 10)];
569
569
  var eventArgs = {
570
570
  currentIndex: activeIndex,
571
571
  nextIndex: currentIndex,
@@ -584,10 +584,10 @@ var Carousel = /** @class */ (function (_super) {
584
584
  attributes(args.nextSlide, { 'aria-hidden': 'false' });
585
585
  var slideIndicators = [].slice.call(_this.element.querySelectorAll("." + CLS_INDICATOR_BAR));
586
586
  if (slideIndicators.length > 0) {
587
- attributes(slideIndicators[activeIndex], { 'aria-current': 'false' });
588
- attributes(slideIndicators[currentIndex], { 'aria-current': 'true' });
587
+ attributes(slideIndicators[parseInt(activeIndex.toString(), 10)], { 'aria-current': 'false' });
588
+ attributes(slideIndicators[parseInt(currentIndex.toString(), 10)], { 'aria-current': 'true' });
589
589
  removeClass(slideIndicators, CLS_ACTIVE);
590
- addClass([slideIndicators[currentIndex]], CLS_ACTIVE);
590
+ addClass([slideIndicators[parseInt(currentIndex.toString(), 10)]], CLS_ACTIVE);
591
591
  }
592
592
  _this.slideChangedEventArgs = {
593
593
  currentIndex: args.nextIndex,
@@ -599,7 +599,7 @@ var Carousel = /** @class */ (function (_super) {
599
599
  };
600
600
  if (_this.partialVisible) {
601
601
  var container = _this.element.querySelector('.' + CLS_ITEMS);
602
- var slideWidth = allSlides[currentIndex].clientWidth;
602
+ var slideWidth = allSlides[parseInt(currentIndex.toString(), 10)].clientWidth;
603
603
  container.style.transitionProperty = 'transform';
604
604
  if (_this.loop) {
605
605
  if (_this.slideChangedEventArgs.currentIndex === 0 && _this.slideChangedEventArgs.slideDirection === 'Next') {
@@ -673,10 +673,10 @@ var Carousel = /** @class */ (function (_super) {
673
673
  for (var _i = 0, keys_1 = keys; _i < keys_1.length; _i++) {
674
674
  var key = keys_1[_i];
675
675
  if (key === 'class') {
676
- addClass([element], attribute[key]);
676
+ addClass([element], attribute["" + key]);
677
677
  }
678
678
  else {
679
- element.setAttribute(key, attribute[key]);
679
+ element.setAttribute(key, attribute["" + key]);
680
680
  }
681
681
  }
682
682
  };
@@ -791,7 +791,7 @@ var Carousel = /** @class */ (function (_super) {
791
791
  }
792
792
  };
793
793
  Carousel.prototype.swipeHandler = function (e) {
794
- if (this.element.classList.contains(CLS_HOVER)) {
794
+ if (this.element.classList.contains(CLS_HOVER) || isNullOrUndefined(this.slideItems) || this.slideItems.length <= 1) {
795
795
  return;
796
796
  }
797
797
  var direction = (e.swipeDirection === 'Right') ? 'Previous' : 'Next';
@@ -220,6 +220,7 @@ var MenuBase = /** @class */ (function (_super) {
220
220
  this.wireEvents();
221
221
  this.renderComplete();
222
222
  var wrapper = this.getWrapper();
223
+ // eslint-disable-next-line
223
224
  if (this.template && this.enableScrolling && (this.isReact || this.isAngular)) {
224
225
  requestAnimationFrame(function () {
225
226
  addScrolling(_this.createElement, wrapper, _this.element, 'hscroll', _this.enableRtl);
@@ -437,6 +438,14 @@ var MenuBase = /** @class */ (function (_super) {
437
438
  if (fliIdx === (e.action === DOWNARROW ? cul.childElementCount : -1)) {
438
439
  fliIdx = defaultIdx;
439
440
  }
441
+ if (cul.children[fliIdx].classList.contains(HIDE)) {
442
+ if (e.action === DOWNARROW && fliIdx === cul.childElementCount - 1) {
443
+ fliIdx = defaultIdx;
444
+ }
445
+ else if (e.action === UPARROW && fliIdx === 0) {
446
+ fliIdx = defaultIdx;
447
+ }
448
+ }
440
449
  }
441
450
  }
442
451
  var cli = cul.children[fliIdx];
@@ -606,6 +615,7 @@ var MenuBase = /** @class */ (function (_super) {
606
615
  _this.isCMenu = false;
607
616
  }
608
617
  if (_this.isMenu && trgtpopUp && popupId.length) {
618
+ // eslint-disable-next-line
609
619
  trgtliId = new RegExp('(.*)-ej2menu-' + _this.element.id + '-popup').exec(popupId)[1];
610
620
  closedLi = trgtpopUp.querySelector('[id="' + trgtliId + '"]');
611
621
  trgtLi = (liElem_1 && trgtpopUp.querySelector('[id="' + liElem_1.id + '"]'));
@@ -614,7 +624,7 @@ var MenuBase = /** @class */ (function (_super) {
614
624
  if (isOpen && _this.hamburgerMode && ulIndex && !(submenus.length)) {
615
625
  _this.afterCloseMenu(e);
616
626
  }
617
- else if (isOpen && !_this.hamburgerMode && _this.navIdx.length && closedLi && !trgtLi && _this.keyType !== "left") {
627
+ else if (isOpen && !_this.hamburgerMode && _this.navIdx.length && closedLi && !trgtLi && _this.keyType !== 'left') {
618
628
  var ele = (e && e.target.classList.contains('e-vscroll'))
619
629
  ? closest(e.target, '.e-menu-wrapper') : null;
620
630
  if (ele) {
@@ -655,7 +665,7 @@ var MenuBase = /** @class */ (function (_super) {
655
665
  if (sli_1) {
656
666
  sli_1.setAttribute('aria-expanded', 'false');
657
667
  sli_1.classList.remove(SELECTED);
658
- if (observedCloseArgs.isFocused && liElem_1 || _this.keyType === "left") {
668
+ if (observedCloseArgs.isFocused && liElem_1 || _this.keyType === 'left') {
659
669
  sli_1.classList.add(FOCUSED);
660
670
  sli_1.focus();
661
671
  }
@@ -928,6 +938,7 @@ var MenuBase = /** @class */ (function (_super) {
928
938
  _this.isNestedOrVertical ? _this.left - _this.popupWrapper.offsetWidth - _this.lItem.parentElement.offsetWidth + 2
929
939
  : _this.left - _this.popupWrapper.offsetWidth + _this.lItem.offsetWidth;
930
940
  }
941
+ // eslint-disable-next-line
931
942
  if (_this.template && (_this.isReact || _this.isAngular)) {
932
943
  requestAnimationFrame(function () {
933
944
  _this.collision();
@@ -1159,7 +1170,7 @@ var MenuBase = /** @class */ (function (_super) {
1159
1170
  itemCreated: function (args) {
1160
1171
  if (args.curData[_this.getField('separator', level)]) {
1161
1172
  args.item.classList.add(SEPARATOR);
1162
- args.item.removeAttribute('role');
1173
+ args.item.setAttribute('role', 'separator');
1163
1174
  }
1164
1175
  if (showIcon && !args.curData[args.fields.iconCss]
1165
1176
  && !args.curData[_this.getField('separator', level)]) {
@@ -1171,9 +1182,6 @@ var MenuBase = /** @class */ (function (_super) {
1171
1182
  args.item.appendChild(span);
1172
1183
  args.item.setAttribute('aria-haspopup', 'true');
1173
1184
  args.item.setAttribute('aria-expanded', 'false');
1174
- if (!_this.isMenu) {
1175
- args.item.removeAttribute('role');
1176
- }
1177
1185
  args.item.classList.add('e-menu-caret-icon');
1178
1186
  }
1179
1187
  if (_this.isMenu && _this.template) {
@@ -1185,6 +1193,7 @@ var MenuBase = /** @class */ (function (_super) {
1185
1193
  if (args.item.classList.contains('e-has-child')) {
1186
1194
  args.item.classList.remove('e-has-child');
1187
1195
  }
1196
+ args.item.removeAttribute('aria-level');
1188
1197
  }
1189
1198
  var eventArgs = { item: args.curData, element: args.item };
1190
1199
  _this.trigger('beforeItemRender', eventArgs);
@@ -1196,9 +1205,7 @@ var MenuBase = /** @class */ (function (_super) {
1196
1205
  }
1197
1206
  var ul = ListBase.createList(this.createElement, items, listBaseOptions, !this.template, this);
1198
1207
  ul.setAttribute('tabindex', '0');
1199
- if (this.isMenu) {
1200
- ul.setAttribute('role', 'menu');
1201
- }
1208
+ this.isMenu ? ul.setAttribute('role', 'menu') : ul.setAttribute('role', 'menubar');
1202
1209
  return ul;
1203
1210
  };
1204
1211
  MenuBase.prototype.moverHandler = function (e) {
@@ -1284,7 +1291,7 @@ var MenuBase = /** @class */ (function (_super) {
1284
1291
  };
1285
1292
  MenuBase.prototype.getField = function (propName, level) {
1286
1293
  if (level === void 0) { level = 0; }
1287
- var fieldName = this.fields[propName];
1294
+ var fieldName = this.fields["" + propName];
1288
1295
  return typeof fieldName === 'string' ? fieldName :
1289
1296
  (!fieldName[level] ? fieldName[fieldName.length - 1].toString()
1290
1297
  : fieldName[level].toString());
@@ -1302,7 +1309,7 @@ var MenuBase = /** @class */ (function (_super) {
1302
1309
  };
1303
1310
  MenuBase.prototype.hasField = function (items, field) {
1304
1311
  for (var i = 0, len = items.length; i < len; i++) {
1305
- if (items[i][field]) {
1312
+ if (items[i]["" + field]) {
1306
1313
  return true;
1307
1314
  }
1308
1315
  }
@@ -1843,7 +1850,7 @@ var MenuBase = /** @class */ (function (_super) {
1843
1850
  else {
1844
1851
  var ele = this.getWrapper().children[this.getIdx(this.getWrapper(), ul) - 1];
1845
1852
  if (this.currentTarget) {
1846
- if (!(this.currentTarget.classList.contains("e-numerictextbox") || this.currentTarget.classList.contains("e-textbox") || this.currentTarget.tagName === 'INPUT')) {
1853
+ if (!(this.currentTarget.classList.contains('e-numerictextbox') || this.currentTarget.classList.contains('e-textbox') || this.currentTarget.tagName === 'INPUT')) {
1847
1854
  if (ele) {
1848
1855
  ele.querySelector('.' + SELECTED).focus();
1849
1856
  }
package/src/menu/menu.js CHANGED
@@ -219,8 +219,8 @@ var Menu = /** @class */ (function (_super) {
219
219
  var i;
220
220
  var items = this.items;
221
221
  var pIdField = this.getField('parentId');
222
- if (item[pIdField]) {
223
- idx = this.getIndex(item[pIdField].toString(), true);
222
+ if (item["" + pIdField]) {
223
+ idx = this.getIndex(item["" + pIdField].toString(), true);
224
224
  for (i = 0; i < idx.length; i++) {
225
225
  if (!items[idx[i]].items) {
226
226
  items[idx[i]].items = [];
@@ -200,6 +200,7 @@ export declare class Sidebar extends Component<HTMLElement> implements INotifyPr
200
200
  * @event
201
201
  */
202
202
  destroyed: EmitType<Object>;
203
+ defaultBackdropDiv: any;
203
204
  constructor(options?: SidebarModel, element?: string | HTMLElement);
204
205
  protected preRender(): void;
205
206
  protected render(): void;
@@ -199,7 +199,7 @@ var Sidebar = /** @class */ (function (_super) {
199
199
  Sidebar.prototype.destroyBackDrop = function () {
200
200
  var sibling = document.querySelector('.e-main-content') || this.targetEle;
201
201
  if (this.target && this.showBackdrop && sibling) {
202
- removeClass([sibling], CONTEXTBACKDROP);
202
+ removeClass([this.defaultBackdropDiv], DEFAULTBACKDROP);
203
203
  }
204
204
  else if (this.showBackdrop && this.modal) {
205
205
  this.modal.style.display = 'none';
@@ -337,8 +337,12 @@ var Sidebar = /** @class */ (function (_super) {
337
337
  };
338
338
  Sidebar.prototype.createBackDrop = function () {
339
339
  if (this.target && this.showBackdrop && this.getState()) {
340
+ var targetString = this.target;
340
341
  var sibling = document.querySelector('.e-main-content') || this.targetEle;
341
- addClass([sibling], CONTEXTBACKDROP);
342
+ this.defaultBackdropDiv = this.createElement('div');
343
+ addClass([this.defaultBackdropDiv], DEFAULTBACKDROP);
344
+ setStyle(this.defaultBackdropDiv, { height: targetString.style.height });
345
+ sibling.appendChild(this.defaultBackdropDiv);
342
346
  }
343
347
  else if (this.showBackdrop && !this.modal && this.getState()) {
344
348
  this.modal = this.createElement('div');
@@ -139,6 +139,15 @@ export interface TabItemModel {
139
139
  */
140
140
  id?: string;
141
141
 
142
+ /**
143
+ * Specifies the tab order of the Tabs items. When positive values assigned, it allows to switch focus to the next/previous tabs items with Tab/ShiftTab keys.
144
+ * By default, user can able to switch between items only via arrow keys.
145
+ * If the value is set to 0 for all tabs items, then tab switches based on element order.
146
+ *
147
+ * @default -1
148
+ */
149
+ tabIndex?: number
150
+
142
151
  }
143
152
 
144
153
  /**
package/src/tab/tab.d.ts CHANGED
@@ -195,6 +195,14 @@ export declare class TabItem extends ChildProperty<TabItem> {
195
195
  * @default null
196
196
  */
197
197
  id: string;
198
+ /**
199
+ * Specifies the tab order of the Tabs items. When positive values assigned, it allows to switch focus to the next/previous tabs items with Tab/ShiftTab keys.
200
+ * By default, user can able to switch between items only via arrow keys.
201
+ * If the value is set to 0 for all tabs items, then tab switches based on element order.
202
+ *
203
+ * @default -1
204
+ */
205
+ tabIndex: number;
198
206
  }
199
207
  /**
200
208
  * Tab is a content panel to show multiple contents in a single space, one at a time.
@@ -547,6 +555,7 @@ export declare class Tab extends Component<HTMLElement> implements INotifyProper
547
555
  private spaceKeyDown;
548
556
  private keyHandler;
549
557
  private refreshItemVisibility;
558
+ private getIndexFromEle;
550
559
  private hoverHandler;
551
560
  private evalOnPropertyChangeItems;
552
561
  private initializeDrag;