@syncfusion/ej2-navigations 19.3.53 → 19.4.38

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 +56 -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 +528 -150
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +535 -151
  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 -11
  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 +59 -30
  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 +340 -76
  57. package/styles/bootstrap5.css +342 -78
  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 +54 -31
  179. package/styles/tab/bootstrap5.css +54 -31
  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
@@ -0,0 +1,63 @@
1
+ ### Bug description
2
+
3
+ Clearly and concisely describe the problem or feature (this cannot be empty).
4
+
5
+ ### Root cause
6
+
7
+ Briefly describe the root cause and analysis of the problem.
8
+ If there is an internal discussion on the forum, provide the link.
9
+
10
+ ### Reason for not identifying earlier
11
+
12
+ Find how it was missed in our earlier testing and development by analysing the below checklist. This will help prevent similar mistakes in the future.
13
+
14
+ - [ ] Guidelines/documents are not followed
15
+
16
+ - Common guidelines / Core team guideline
17
+ - Specification document
18
+ - Requirement document
19
+
20
+ - [ ] Guidelines/documents are not given
21
+
22
+
23
+ - Common guidelines / Core team guideline
24
+ - Specification document
25
+ - Requirement document
26
+
27
+
28
+ ### Reason:
29
+ Mention any one or more reasons from the above points.
30
+
31
+ ### Action taken:
32
+
33
+ What action did you take to avoid this in future?
34
+
35
+ ### Related areas:
36
+
37
+ Is there any other related areas also to be addressed?
38
+
39
+
40
+ ### Is it a breaking issue?
41
+
42
+ If it is a breaking issue, provide the commit detail which caused this break.
43
+
44
+ ### Solution description
45
+
46
+ Describe your code changes in detail for reviewers.
47
+
48
+ ### Output screenshots
49
+
50
+ Post the output screenshots if an UI is affected or added due to this bug.
51
+
52
+ ### Areas affected and ensured
53
+
54
+ List the areas affected by your code changes.
55
+
56
+ ### Additional checklist
57
+
58
+ - Did you run the automation against your fix?
59
+ - Is there any API name change?
60
+ - Is there any existing behavior change of other features due to this code change?
61
+ - Does your new code introduce new warnings or binding errors?
62
+ - Does your code pass all FxCop and StyleCop rules?
63
+ - Did you record this case in the unit test or UI test?
@@ -0,0 +1,39 @@
1
+ ### Feature description
2
+
3
+ Clearly and concisely describe the problem or feature (this cannot be empty).
4
+
5
+ ### Analysis and design
6
+
7
+ If there is an external design, link to its project documentation area.
8
+ If there is an internal discussion on the forum, provide the link.
9
+
10
+ ### Solution description
11
+
12
+ Describe your code changes in detail for reviewers.
13
+
14
+ ### Output screenshots
15
+
16
+ Post the output screenshots if an UI is affected or added due to this feature.
17
+
18
+ ### Areas affected and ensured
19
+
20
+ List the areas are affected by your code changes.
21
+
22
+ ### Test cases
23
+
24
+ Provide the unit testing written file details to understand the use cases considered in this implementation.
25
+ If there is no TDD (if it’s not possible to follow), provide the UI automation script location and the Excel file that contains the use cases considered in this implementation.
26
+ Provide the test cases Excel file alone if the feature cannot be automated in any case.
27
+
28
+ ### Test bed sample location
29
+
30
+ Provide the test bed sample location where code reviewers can review the new feature’s behaviors. This depends on the CI process that your team follows. It can be from NPMCI, HockeyApp, staging site, local server, etc.
31
+
32
+ ### Additional checklist
33
+
34
+ - Did you run the automation against your fix?
35
+ - Is there any API name change?
36
+ - Is there any existing behavior change of other features due to this code change?
37
+ - Does your new code introduce new warnings or binding errors?
38
+ - Does your code pass all FxCop and StyleCop rules?
39
+ - Did you record this case in the unit test or UI test?
package/CHANGELOG.md CHANGED
@@ -2,6 +2,62 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### Tab
6
+
7
+ #### New Features
8
+
9
+ - `#I302394` - Provided support to maintain the active item in either tab header area or inside the popup.
10
+ - `#F166169` - Provided support to identify the tab select event raised by user interaction or programmatic way.
11
+
12
+ ### TreeView
13
+
14
+ #### New Features
15
+
16
+ - `#FB27518` - Provided support to wrap the TreeView node text when its text content exceeds the TreeView node width.
17
+
18
+ ### Breadcrumb
19
+
20
+ #### New Features
21
+
22
+ - Provided new types of overflow mode and as follows:
23
+
24
+ 1. **Menu**: Shows the number of breadcrumb items that can be accommodated within the container space, and creates a sub menu with the remaining items.
25
+ 2. **Wrap**: Wraps the items on multiple lines when the Breadcrumb’s width exceeds the container space.
26
+ 3. **Scroll**: Shows an HTML scroll bar when the Breadcrumb’s width exceeds the container space.
27
+ 4. **None**: Shows all the items on a single line.
28
+
29
+ - Provided `cancel` support in `beforeItemRender` event.
30
+
31
+ #### Breaking Changes
32
+
33
+ - Provided `disabled` property in Breadcrumb and Breadcrumb's Item instead of using CSS class `e-disabled`.
34
+ - Removed `width` property from Breadcrumb component, you can set `width` in the style attribute of CSS to breadcrumb's element or its parent element.
35
+
36
+ ## 19.3.57 (2021-12-07)
37
+
38
+ ### Sidebar
39
+
40
+ #### Bug Fixes
41
+
42
+ - `#I347551` - The issue with "The sidebar main content margin value changes when using Sidebar type as Over and dock support" has been fixed.
43
+
44
+ ## 19.3.56 (2021-12-02)
45
+
46
+ ### TreeView
47
+
48
+ #### Bug Fixes
49
+
50
+ - `#I342745` - The performance issue that occurred when selecting a node that was rendered with a huge data source has been resolved.
51
+
52
+ ## 19.3.54 (2021-11-17)
53
+
54
+ ### Tab
55
+
56
+ #### Bug Fixes
57
+
58
+ - `#I347014` - An issue with dynamic tab item navigation if scheduler is present on a page has been fixed.
59
+ - `#I296232` - The issue with "Script error occurs while updating the tab header text" has been resolved.
60
+
5
61
  ## 19.3.46 (2021-10-19)
6
62
 
7
63
  ### Tab